@elementor/editor-editing-panel 4.1.0-808 → 4.1.0-809

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
@@ -287,8 +287,8 @@ var import_react6 = require("react");
287
287
  var import_ui2 = require("@elementor/ui");
288
288
 
289
289
  // src/components/creatable-autocomplete/autocomplete-option-internal-properties.ts
290
- function addGroupToOptions(options12, pluralEntityName) {
291
- return options12.map((option) => {
290
+ function addGroupToOptions(options13, pluralEntityName) {
291
+ return options13.map((option) => {
292
292
  return {
293
293
  ...option,
294
294
  _group: `Existing ${pluralEntityName ?? "options"}`
@@ -302,7 +302,7 @@ function removeInternalKeys(option) {
302
302
 
303
303
  // src/components/creatable-autocomplete/use-autocomplete-change.ts
304
304
  function useAutocompleteChange(params) {
305
- const { options: options12, onSelect, createOption, setInputValue, closeDropdown } = params;
305
+ const { options: options13, onSelect, createOption, setInputValue, closeDropdown } = params;
306
306
  if (!onSelect && !createOption) {
307
307
  return;
308
308
  }
@@ -330,7 +330,7 @@ function useAutocompleteChange(params) {
330
330
  // User pressed "Enter" after typing input. The input is either matching existing option or a new option to create.
331
331
  case "createOption": {
332
332
  const inputValue = changedOption;
333
- const matchingOption = options12.find(
333
+ const matchingOption = options13.find(
334
334
  (option) => option.label.toLocaleLowerCase() === inputValue.toLocaleLowerCase()
335
335
  );
336
336
  if (matchingOption) {
@@ -432,7 +432,7 @@ function useCreateOption(params) {
432
432
  // src/components/creatable-autocomplete/use-filter-options.ts
433
433
  var import_ui = require("@elementor/ui");
434
434
  function useFilterOptions(parameters) {
435
- const { options: options12, selected, onCreate, entityName } = parameters;
435
+ const { options: options13, selected, onCreate, entityName } = parameters;
436
436
  const filter = (0, import_ui.createFilterOptions)();
437
437
  const filterOptions = (optionList, params) => {
438
438
  const selectedValues = selected.map((option) => option.value);
@@ -440,7 +440,7 @@ function useFilterOptions(parameters) {
440
440
  optionList.filter((option) => !selectedValues.includes(option.value)),
441
441
  params
442
442
  );
443
- const isExisting = options12.some((option) => params.inputValue === option.label);
443
+ const isExisting = options13.some((option) => params.inputValue === option.label);
444
444
  const allowCreate = Boolean(onCreate) && params.inputValue !== "" && !selectedValues.includes(params.inputValue) && !isExisting;
445
445
  if (allowCreate) {
446
446
  filteredOptions.unshift({
@@ -461,7 +461,7 @@ var MIN_INPUT_LENGTH = 2;
461
461
  var CreatableAutocomplete = React5.forwardRef(CreatableAutocompleteInner);
462
462
  function CreatableAutocompleteInner({
463
463
  selected,
464
- options: options12,
464
+ options: options13,
465
465
  entityName,
466
466
  onSelect,
467
467
  placeholder,
@@ -474,8 +474,8 @@ function CreatableAutocompleteInner({
474
474
  const { open, openDropdown, closeDropdown } = useOpenState(props.open);
475
475
  const { createOption, loading } = useCreateOption({ onCreate, validate, setInputValue, setError, closeDropdown });
476
476
  const [internalOptions, internalSelected] = (0, import_react6.useMemo)(
477
- () => [options12, selected].map((optionsArr) => addGroupToOptions(optionsArr, entityName?.plural)),
478
- [options12, selected, entityName?.plural]
477
+ () => [options13, selected].map((optionsArr) => addGroupToOptions(optionsArr, entityName?.plural)),
478
+ [options13, selected, entityName?.plural]
479
479
  );
480
480
  const handleChange = useAutocompleteChange({
481
481
  options: internalOptions,
@@ -484,7 +484,7 @@ function CreatableAutocompleteInner({
484
484
  setInputValue,
485
485
  closeDropdown
486
486
  });
487
- const filterOptions = useFilterOptions({ options: options12, selected, onCreate, entityName });
487
+ const filterOptions = useFilterOptions({ options: options13, selected, onCreate, entityName });
488
488
  const isCreatable = Boolean(onCreate);
489
489
  const freeSolo = isCreatable || inputValue.length < MIN_INPUT_LENGTH || void 0;
490
490
  return /* @__PURE__ */ React5.createElement(
@@ -1283,13 +1283,13 @@ var EMPTY_OPTION = {
1283
1283
  };
1284
1284
  var { Slot: ClassSelectorActionsSlot, inject: injectIntoClassSelectorActions } = (0, import_locations2.createLocation)();
1285
1285
  function CssClassSelector() {
1286
- const options12 = useOptions();
1286
+ const options13 = useOptions();
1287
1287
  const { id: activeId, setId: setActiveId } = useStyle();
1288
1288
  const autocompleteRef = (0, import_react10.useRef)(null);
1289
1289
  const [renameError, setRenameError] = (0, import_react10.useState)(null);
1290
1290
  const handleSelect = useHandleSelect();
1291
1291
  const { create, validate, entityName } = useCreateAction();
1292
- const appliedOptions = useAppliedOptions(options12);
1292
+ const appliedOptions = useAppliedOptions(options13);
1293
1293
  const active = appliedOptions.find((option) => option.value === activeId) ?? EMPTY_OPTION;
1294
1294
  const showPlaceholder = appliedOptions.every(({ fixed }) => fixed);
1295
1295
  const { userCan } = (0, import_editor_styles_repository9.useUserStylesCapability)();
@@ -1310,7 +1310,7 @@ function CssClassSelector() {
1310
1310
  ref: autocompleteRef,
1311
1311
  size: "tiny",
1312
1312
  placeholder: showPlaceholder ? (0, import_i18n6.__)("Type class name", "elementor") : void 0,
1313
- options: options12,
1313
+ options: options13,
1314
1314
  selected: appliedOptions,
1315
1315
  entityName,
1316
1316
  onSelect: handleSelect,
@@ -1439,10 +1439,10 @@ function useCreateAction() {
1439
1439
  function hasReachedLimit(provider) {
1440
1440
  return provider.actions.all().length >= provider.limit;
1441
1441
  }
1442
- function useAppliedOptions(options12) {
1442
+ function useAppliedOptions(options13) {
1443
1443
  const currentClassesProp = useClassesProp();
1444
1444
  const appliedIds = usePanelElementSetting(currentClassesProp)?.value ?? [];
1445
- const appliedOptions = options12.filter((option) => option.value && appliedIds.includes(option.value));
1445
+ const appliedOptions = options13.filter((option) => option.value && appliedIds.includes(option.value));
1446
1446
  const hasElementsProviderStyleApplied = appliedOptions.some(
1447
1447
  (option) => option.provider && (0, import_editor_styles_repository9.isElementsStylesProvider)(option.provider)
1448
1448
  );
@@ -1815,17 +1815,17 @@ var hasInheritedCustomCss = (style, meta) => {
1815
1815
  };
1816
1816
 
1817
1817
  // src/components/editing-panel.tsx
1818
- var React82 = __toESM(require("react"));
1819
- var import_editor_controls49 = require("@elementor/editor-controls");
1818
+ var React85 = __toESM(require("react"));
1819
+ var import_editor_controls52 = require("@elementor/editor-controls");
1820
1820
  var import_editor_elements13 = require("@elementor/editor-elements");
1821
1821
  var import_editor_panels = require("@elementor/editor-panels");
1822
1822
  var import_editor_ui8 = require("@elementor/editor-ui");
1823
- var import_icons21 = require("@elementor/icons");
1823
+ var import_icons23 = require("@elementor/icons");
1824
1824
  var import_locations4 = require("@elementor/locations");
1825
1825
  var import_menus = require("@elementor/menus");
1826
1826
  var import_session9 = require("@elementor/session");
1827
- var import_ui36 = require("@elementor/ui");
1828
- var import_i18n56 = require("@wordpress/i18n");
1827
+ var import_ui39 = require("@elementor/ui");
1828
+ var import_i18n59 = require("@wordpress/i18n");
1829
1829
 
1830
1830
  // src/editing-panel-replacement-registry.tsx
1831
1831
  var registry = /* @__PURE__ */ new Map();
@@ -1847,12 +1847,12 @@ function EditorPanelErrorFallback() {
1847
1847
  }
1848
1848
 
1849
1849
  // src/components/editing-panel-tabs.tsx
1850
- var import_react35 = require("react");
1851
- var React81 = __toESM(require("react"));
1850
+ var import_react37 = require("react");
1851
+ var React84 = __toESM(require("react"));
1852
1852
  var import_editor_elements12 = require("@elementor/editor-elements");
1853
- var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
1854
- var import_ui35 = require("@elementor/ui");
1855
- var import_i18n55 = require("@wordpress/i18n");
1853
+ var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
1854
+ var import_ui38 = require("@elementor/ui");
1855
+ var import_i18n58 = require("@wordpress/i18n");
1856
1856
 
1857
1857
  // src/contexts/scroll-context.tsx
1858
1858
  var React14 = __toESM(require("react"));
@@ -2472,14 +2472,14 @@ function isControl(control) {
2472
2472
  }
2473
2473
 
2474
2474
  // src/components/style-tab.tsx
2475
- var React80 = __toESM(require("react"));
2476
- var import_react34 = require("react");
2475
+ var React83 = __toESM(require("react"));
2476
+ var import_react36 = require("react");
2477
2477
  var import_editor_props14 = require("@elementor/editor-props");
2478
2478
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2479
2479
  var import_locations3 = require("@elementor/locations");
2480
2480
  var import_session8 = require("@elementor/session");
2481
- var import_ui34 = require("@elementor/ui");
2482
- var import_i18n54 = require("@wordpress/i18n");
2481
+ var import_ui37 = require("@elementor/ui");
2482
+ var import_i18n57 = require("@wordpress/i18n");
2483
2483
 
2484
2484
  // src/contexts/styles-inheritance-context.tsx
2485
2485
  var React24 = __toESM(require("react"));
@@ -3215,10 +3215,11 @@ var EffectsSection = () => {
3215
3215
  };
3216
3216
 
3217
3217
  // src/components/style-sections/layout-section/layout-section.tsx
3218
- var React50 = __toESM(require("react"));
3219
- var import_editor_controls25 = require("@elementor/editor-controls");
3218
+ var React53 = __toESM(require("react"));
3219
+ var import_editor_controls28 = require("@elementor/editor-controls");
3220
3220
  var import_editor_elements11 = require("@elementor/editor-elements");
3221
- var import_i18n28 = require("@wordpress/i18n");
3221
+ var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
3222
+ var import_i18n31 = require("@wordpress/i18n");
3222
3223
 
3223
3224
  // src/hooks/use-computed-style.ts
3224
3225
  var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
@@ -3470,7 +3471,9 @@ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React42.creat
3470
3471
 
3471
3472
  // src/components/style-sections/layout-section/display-field.tsx
3472
3473
  var React43 = __toESM(require("react"));
3474
+ var import_react23 = require("react");
3473
3475
  var import_editor_controls18 = require("@elementor/editor-controls");
3476
+ var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
3474
3477
  var import_i18n21 = require("@wordpress/i18n");
3475
3478
  var DISPLAY_LABEL = (0, import_i18n21.__)("Display", "elementor");
3476
3479
  var displayFieldItems = [
@@ -3487,15 +3490,15 @@ var displayFieldItems = [
3487
3490
  showTooltip: true
3488
3491
  },
3489
3492
  {
3490
- value: "inline-block",
3491
- renderContent: () => (0, import_i18n21.__)("In-blk", "elementor"),
3492
- label: (0, import_i18n21.__)("Inline-block", "elementor"),
3493
+ value: "grid",
3494
+ renderContent: () => (0, import_i18n21.__)("Grid", "elementor"),
3495
+ label: (0, import_i18n21.__)("Grid", "elementor"),
3493
3496
  showTooltip: true
3494
3497
  },
3495
3498
  {
3496
- value: "none",
3497
- renderContent: () => (0, import_i18n21.__)("None", "elementor"),
3498
- label: (0, import_i18n21.__)("None", "elementor"),
3499
+ value: "inline-block",
3500
+ renderContent: () => (0, import_i18n21.__)("In-blk", "elementor"),
3501
+ label: (0, import_i18n21.__)("Inline-block", "elementor"),
3499
3502
  showTooltip: true
3500
3503
  },
3501
3504
  {
@@ -3503,11 +3506,22 @@ var displayFieldItems = [
3503
3506
  renderContent: () => (0, import_i18n21.__)("In-flx", "elementor"),
3504
3507
  label: (0, import_i18n21.__)("Inline-flex", "elementor"),
3505
3508
  showTooltip: true
3509
+ },
3510
+ {
3511
+ value: "none",
3512
+ renderContent: () => (0, import_i18n21.__)("None", "elementor"),
3513
+ label: (0, import_i18n21.__)("None", "elementor"),
3514
+ showTooltip: true
3506
3515
  }
3507
3516
  ];
3508
3517
  var DisplayField = () => {
3509
3518
  const placeholder = useDisplayPlaceholderValue();
3510
- 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 })));
3519
+ const isGridActive = (0, import_editor_v1_adapters7.isExperimentActive)("e_css_grid");
3520
+ const items3 = (0, import_react23.useMemo)(
3521
+ () => isGridActive ? displayFieldItems : displayFieldItems.filter((item) => item.value !== "grid"),
3522
+ [isGridActive]
3523
+ );
3524
+ 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: items3, maxItems: 4, fullWidth: true })));
3511
3525
  };
3512
3526
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3513
3527
 
@@ -3523,8 +3537,8 @@ var options3 = [
3523
3537
  value: "row",
3524
3538
  label: (0, import_i18n22.__)("Row", "elementor"),
3525
3539
  renderContent: ({ size }) => {
3526
- const StartIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowRightIcon);
3527
- return /* @__PURE__ */ React44.createElement(StartIcon5, { fontSize: size });
3540
+ const StartIcon7 = (0, import_ui26.withDirection)(import_icons8.ArrowRightIcon);
3541
+ return /* @__PURE__ */ React44.createElement(StartIcon7, { fontSize: size });
3528
3542
  },
3529
3543
  showTooltip: true
3530
3544
  },
@@ -3538,8 +3552,8 @@ var options3 = [
3538
3552
  value: "row-reverse",
3539
3553
  label: (0, import_i18n22.__)("Reversed row", "elementor"),
3540
3554
  renderContent: ({ size }) => {
3541
- const EndIcon5 = (0, import_ui26.withDirection)(import_icons8.ArrowLeftIcon);
3542
- return /* @__PURE__ */ React44.createElement(EndIcon5, { fontSize: size });
3555
+ const EndIcon6 = (0, import_ui26.withDirection)(import_icons8.ArrowLeftIcon);
3556
+ return /* @__PURE__ */ React44.createElement(EndIcon6, { fontSize: size });
3543
3557
  },
3544
3558
  showTooltip: true
3545
3559
  },
@@ -3556,7 +3570,7 @@ var FlexDirectionField = () => {
3556
3570
 
3557
3571
  // src/components/style-sections/layout-section/flex-order-field.tsx
3558
3572
  var React45 = __toESM(require("react"));
3559
- var import_react23 = require("react");
3573
+ var import_react24 = require("react");
3560
3574
  var import_editor_controls20 = require("@elementor/editor-controls");
3561
3575
  var import_icons9 = require("@elementor/icons");
3562
3576
  var import_ui27 = require("@elementor/ui");
@@ -3604,15 +3618,15 @@ function FlexOrderFieldContent() {
3604
3618
  });
3605
3619
  const { placeholder } = (0, import_editor_controls20.useBoundProp)();
3606
3620
  const placeholderValue = placeholder;
3607
- const currentGroup = (0, import_react23.useMemo)(() => getGroupControlValue(order?.value ?? null), [order]);
3608
- const [activeGroup, setActiveGroup] = (0, import_react23.useState)(currentGroup);
3609
- const [customLocked, setCustomLocked] = (0, import_react23.useState)(false);
3610
- (0, import_react23.useEffect)(() => {
3621
+ const currentGroup = (0, import_react24.useMemo)(() => getGroupControlValue(order?.value ?? null), [order]);
3622
+ const [activeGroup, setActiveGroup] = (0, import_react24.useState)(currentGroup);
3623
+ const [customLocked, setCustomLocked] = (0, import_react24.useState)(false);
3624
+ (0, import_react24.useEffect)(() => {
3611
3625
  if (!customLocked) {
3612
3626
  setActiveGroup(currentGroup);
3613
3627
  }
3614
3628
  }, [currentGroup, customLocked]);
3615
- (0, import_react23.useEffect)(() => {
3629
+ (0, import_react24.useEffect)(() => {
3616
3630
  if (order === null) {
3617
3631
  setCustomLocked(false);
3618
3632
  }
@@ -3672,7 +3686,7 @@ var getGroupControlValue = (order) => {
3672
3686
 
3673
3687
  // src/components/style-sections/layout-section/flex-size-field.tsx
3674
3688
  var React46 = __toESM(require("react"));
3675
- var import_react24 = require("react");
3689
+ var import_react25 = require("react");
3676
3690
  var import_editor_controls21 = require("@elementor/editor-controls");
3677
3691
  var import_editor_props13 = require("@elementor/editor-props");
3678
3692
  var import_icons10 = require("@elementor/icons");
@@ -3708,15 +3722,15 @@ var FlexSizeFieldContent = () => {
3708
3722
  });
3709
3723
  const { placeholder } = (0, import_editor_controls21.useBoundProp)();
3710
3724
  const flexValues = extractFlexValues(value);
3711
- const currentGroup = (0, import_react24.useMemo)(() => getActiveGroup(flexValues), [flexValues]);
3712
- const [activeGroup, setActiveGroup] = (0, import_react24.useState)(currentGroup);
3713
- const [customLocked, setCustomLocked] = (0, import_react24.useState)(false);
3714
- (0, import_react24.useEffect)(() => {
3725
+ const currentGroup = (0, import_react25.useMemo)(() => getActiveGroup(flexValues), [flexValues]);
3726
+ const [activeGroup, setActiveGroup] = (0, import_react25.useState)(currentGroup);
3727
+ const [customLocked, setCustomLocked] = (0, import_react25.useState)(false);
3728
+ (0, import_react25.useEffect)(() => {
3715
3729
  if (!customLocked) {
3716
3730
  setActiveGroup(currentGroup);
3717
3731
  }
3718
3732
  }, [currentGroup, customLocked]);
3719
- (0, import_react24.useEffect)(() => {
3733
+ (0, import_react25.useEffect)(() => {
3720
3734
  if (value === null) {
3721
3735
  setCustomLocked(false);
3722
3736
  }
@@ -3779,7 +3793,7 @@ var createFlexValueForGroup = (group, flexValue) => {
3779
3793
  return null;
3780
3794
  };
3781
3795
  var FlexCustomField = () => {
3782
- const flexBasisRowRef = (0, import_react24.useRef)(null);
3796
+ const flexBasisRowRef = (0, import_react25.useRef)(null);
3783
3797
  const context = (0, import_editor_controls21.useBoundProp)(import_editor_props13.flexPropTypeUtil);
3784
3798
  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 })))));
3785
3799
  };
@@ -3813,111 +3827,277 @@ var GapControlField = () => {
3813
3827
  return /* @__PURE__ */ React47.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React47.createElement(import_editor_controls22.GapControl, { label: GAPS_LABEL }));
3814
3828
  };
3815
3829
 
3816
- // src/components/style-sections/layout-section/justify-content-field.tsx
3830
+ // src/components/style-sections/layout-section/grid-auto-flow-field.tsx
3817
3831
  var React48 = __toESM(require("react"));
3818
3832
  var import_editor_controls23 = require("@elementor/editor-controls");
3819
3833
  var import_icons11 = require("@elementor/icons");
3820
3834
  var import_ui28 = require("@elementor/ui");
3821
3835
  var import_i18n26 = require("@wordpress/i18n");
3822
- var JUSTIFY_CONTENT_LABEL = (0, import_i18n26.__)("Justify content", "elementor");
3823
- var StartIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyTopIcon);
3824
- var EndIcon4 = (0, import_ui28.withDirection)(import_icons11.JustifyBottomIcon);
3836
+ var AUTO_FLOW_LABEL = (0, import_i18n26.__)("Auto flow", "elementor");
3837
+ var DENSE_LABEL = (0, import_i18n26.__)("Dense", "elementor");
3838
+ var StartIcon4 = (0, import_ui28.withDirection)(import_icons11.ArrowRightIcon);
3839
+ var directionOptions = [
3840
+ {
3841
+ value: "row",
3842
+ label: (0, import_i18n26.__)("Row", "elementor"),
3843
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(StartIcon4, { fontSize: size }),
3844
+ showTooltip: true
3845
+ },
3846
+ {
3847
+ value: "column",
3848
+ label: (0, import_i18n26.__)("Column", "elementor"),
3849
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
3850
+ showTooltip: true
3851
+ }
3852
+ ];
3853
+ var parseAutoFlow = (value) => {
3854
+ if (!value) {
3855
+ return { direction: "row", dense: false };
3856
+ }
3857
+ const dense = value.includes("dense");
3858
+ const direction = value.replace(/\s*dense\s*/, "").trim();
3859
+ return { direction: direction || "row", dense };
3860
+ };
3861
+ var composeAutoFlow = (direction, dense) => {
3862
+ return dense ? `${direction} dense` : direction;
3863
+ };
3864
+ var GridAutoFlowFieldContent = () => {
3865
+ const { value, setValue } = useStylesField("grid-auto-flow", {
3866
+ history: { propDisplayName: AUTO_FLOW_LABEL }
3867
+ });
3868
+ const { direction, dense } = parseAutoFlow(value?.value ?? null);
3869
+ const handleDirectionChange = (newDirection) => {
3870
+ if (!newDirection) {
3871
+ return;
3872
+ }
3873
+ setValue({ $$type: "string", value: composeAutoFlow(newDirection, dense) });
3874
+ };
3875
+ const handleDenseToggle = () => {
3876
+ setValue({ $$type: "string", value: composeAutoFlow(direction, !dense) });
3877
+ };
3878
+ return /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React48.createElement(import_ui28.Grid, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React48.createElement(import_ui28.Grid, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React48.createElement(
3879
+ import_editor_controls23.ControlToggleButtonGroup,
3880
+ {
3881
+ items: directionOptions,
3882
+ value: direction,
3883
+ onChange: handleDirectionChange,
3884
+ exclusive: true,
3885
+ fullWidth: true
3886
+ }
3887
+ )), /* @__PURE__ */ React48.createElement(import_ui28.Grid, { item: true }, /* @__PURE__ */ React48.createElement(import_ui28.Tooltip, { title: DENSE_LABEL }, /* @__PURE__ */ React48.createElement(
3888
+ import_ui28.ToggleButton,
3889
+ {
3890
+ value: "dense",
3891
+ selected: dense,
3892
+ onChange: handleDenseToggle,
3893
+ size: "tiny",
3894
+ "aria-label": DENSE_LABEL
3895
+ },
3896
+ /* @__PURE__ */ React48.createElement(import_icons11.LayoutDashboardIcon, { fontSize: "tiny" })
3897
+ )))));
3898
+ };
3899
+ var GridAutoFlowField = () => /* @__PURE__ */ React48.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(GridAutoFlowFieldContent, null)));
3900
+
3901
+ // src/components/style-sections/layout-section/grid-justify-items-field.tsx
3902
+ var React49 = __toESM(require("react"));
3903
+ var import_editor_controls24 = require("@elementor/editor-controls");
3904
+ var import_icons12 = require("@elementor/icons");
3905
+ var import_ui29 = require("@elementor/ui");
3906
+ var import_i18n27 = require("@wordpress/i18n");
3907
+ var JUSTIFY_ITEMS_LABEL = (0, import_i18n27.__)("Justify items", "elementor");
3908
+ var StartIcon5 = (0, import_ui29.withDirection)(import_icons12.LayoutAlignLeftIcon);
3909
+ var EndIcon4 = (0, import_ui29.withDirection)(import_icons12.LayoutAlignRightIcon);
3910
+ var options4 = [
3911
+ {
3912
+ value: "start",
3913
+ label: (0, import_i18n27.__)("Start", "elementor"),
3914
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(StartIcon5, { fontSize: size }),
3915
+ showTooltip: true
3916
+ },
3917
+ {
3918
+ value: "center",
3919
+ label: (0, import_i18n27.__)("Center", "elementor"),
3920
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.LayoutAlignCenterIcon, { fontSize: size }),
3921
+ showTooltip: true
3922
+ },
3923
+ {
3924
+ value: "end",
3925
+ label: (0, import_i18n27.__)("End", "elementor"),
3926
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(EndIcon4, { fontSize: size }),
3927
+ showTooltip: true
3928
+ },
3929
+ {
3930
+ value: "stretch",
3931
+ label: (0, import_i18n27.__)("Stretch", "elementor"),
3932
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.LayoutDistributeVerticalIcon, { fontSize: size }),
3933
+ showTooltip: true
3934
+ }
3935
+ ];
3936
+ var GridJustifyItemsField = () => /* @__PURE__ */ React49.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React49.createElement(import_editor_controls24.ToggleControl, { options: options4 }))));
3937
+
3938
+ // src/components/style-sections/layout-section/grid-size-field.tsx
3939
+ var React50 = __toESM(require("react"));
3940
+ var import_react26 = require("react");
3941
+ var import_editor_controls25 = require("@elementor/editor-controls");
3942
+ var import_ui30 = require("@elementor/ui");
3943
+ var import_i18n28 = require("@wordpress/i18n");
3944
+ var FR = "fr";
3945
+ var CUSTOM2 = "custom";
3946
+ var UNITS = [FR, CUSTOM2];
3947
+ var REPEAT_FR_PATTERN = /^repeat\(\s*(\d+)\s*,\s*1fr\s*\)$/;
3948
+ var cssToTrackValue = (css) => {
3949
+ if (!css) {
3950
+ return null;
3951
+ }
3952
+ const match = css.match(REPEAT_FR_PATTERN);
3953
+ if (match) {
3954
+ return { size: parseInt(match[1], 10), unit: FR };
3955
+ }
3956
+ return { size: css, unit: CUSTOM2 };
3957
+ };
3958
+ var trackValueToCss = (trackValue) => {
3959
+ if (!trackValue || trackValue.size === "" || trackValue.size === null) {
3960
+ return null;
3961
+ }
3962
+ if (trackValue.unit === FR) {
3963
+ return `repeat(${trackValue.size}, 1fr)`;
3964
+ }
3965
+ return String(trackValue.size);
3966
+ };
3967
+ var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React50.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React50.createElement(GridTrackFieldContent, { cssProp, label }));
3968
+ var GridTrackFieldContent = ({ cssProp, label }) => {
3969
+ const { value, setValue } = useStylesField(cssProp, {
3970
+ history: { propDisplayName: label }
3971
+ });
3972
+ const anchorRef = (0, import_react26.useRef)(null);
3973
+ const trackValue = cssToTrackValue(value?.value ?? null);
3974
+ const handleChange = (newValue) => {
3975
+ const css = trackValueToCss(newValue);
3976
+ setValue(css ? { $$type: "string", value: css } : null);
3977
+ };
3978
+ return /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React50.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React50.createElement(
3979
+ import_editor_controls25.SizeComponent,
3980
+ {
3981
+ units: UNITS,
3982
+ value: trackValue ?? { size: NaN, unit: FR },
3983
+ defaultUnit: FR,
3984
+ setValue: handleChange,
3985
+ onBlur: () => {
3986
+ },
3987
+ min: 1,
3988
+ anchorRef
3989
+ }
3990
+ )));
3991
+ };
3992
+ var GridSizeFields = () => /* @__PURE__ */ React50.createElement(import_ui30.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(import_ui30.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(GridTrackField, { cssProp: "grid-template-columns", label: (0, import_i18n28.__)("Columns", "elementor") })), /* @__PURE__ */ React50.createElement(import_ui30.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(GridTrackField, { cssProp: "grid-template-rows", label: (0, import_i18n28.__)("Rows", "elementor") })));
3993
+
3994
+ // src/components/style-sections/layout-section/justify-content-field.tsx
3995
+ var React51 = __toESM(require("react"));
3996
+ var import_editor_controls26 = require("@elementor/editor-controls");
3997
+ var import_icons13 = require("@elementor/icons");
3998
+ var import_ui31 = require("@elementor/ui");
3999
+ var import_i18n29 = require("@wordpress/i18n");
4000
+ var JUSTIFY_CONTENT_LABEL = (0, import_i18n29.__)("Justify content", "elementor");
4001
+ var StartIcon6 = (0, import_ui31.withDirection)(import_icons13.JustifyTopIcon);
4002
+ var EndIcon5 = (0, import_ui31.withDirection)(import_icons13.JustifyBottomIcon);
3825
4003
  var iconProps4 = {
3826
4004
  isClockwise: true,
3827
4005
  offset: -90
3828
4006
  };
3829
- var options4 = [
4007
+ var options5 = [
3830
4008
  {
3831
4009
  value: "flex-start",
3832
- label: (0, import_i18n26.__)("Start", "elementor"),
3833
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
4010
+ label: (0, import_i18n29.__)("Start", "elementor"),
4011
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
3834
4012
  showTooltip: true
3835
4013
  },
3836
4014
  {
3837
4015
  value: "center",
3838
- label: (0, import_i18n26.__)("Center", "elementor"),
3839
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyCenterIcon, size, ...iconProps4 }),
4016
+ label: (0, import_i18n29.__)("Center", "elementor"),
4017
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: import_icons13.JustifyCenterIcon, size, ...iconProps4 }),
3840
4018
  showTooltip: true
3841
4019
  },
3842
4020
  {
3843
4021
  value: "flex-end",
3844
- label: (0, import_i18n26.__)("End", "elementor"),
3845
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
4022
+ label: (0, import_i18n29.__)("End", "elementor"),
4023
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
3846
4024
  showTooltip: true
3847
4025
  },
3848
4026
  {
3849
4027
  value: "space-between",
3850
- label: (0, import_i18n26.__)("Space between", "elementor"),
3851
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
4028
+ label: (0, import_i18n29.__)("Space between", "elementor"),
4029
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3852
4030
  showTooltip: true
3853
4031
  },
3854
4032
  {
3855
4033
  value: "space-around",
3856
- label: (0, import_i18n26.__)("Space around", "elementor"),
3857
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
4034
+ label: (0, import_i18n29.__)("Space around", "elementor"),
4035
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3858
4036
  showTooltip: true
3859
4037
  },
3860
4038
  {
3861
4039
  value: "space-evenly",
3862
- label: (0, import_i18n26.__)("Space evenly", "elementor"),
3863
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons11.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
4040
+ label: (0, import_i18n29.__)("Space evenly", "elementor"),
4041
+ renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: import_icons13.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3864
4042
  showTooltip: true
3865
4043
  }
3866
4044
  ];
3867
- 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 }))));
4045
+ var JustifyContentField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React51.createElement(import_editor_controls26.ToggleControl, { options: options5, fullWidth: true }))));
3868
4046
 
3869
4047
  // src/components/style-sections/layout-section/wrap-field.tsx
3870
- var React49 = __toESM(require("react"));
3871
- var import_editor_controls24 = require("@elementor/editor-controls");
3872
- var import_icons12 = require("@elementor/icons");
3873
- var import_i18n27 = require("@wordpress/i18n");
3874
- var FLEX_WRAP_LABEL = (0, import_i18n27.__)("Wrap", "elementor");
3875
- var options5 = [
4048
+ var React52 = __toESM(require("react"));
4049
+ var import_editor_controls27 = require("@elementor/editor-controls");
4050
+ var import_icons14 = require("@elementor/icons");
4051
+ var import_i18n30 = require("@wordpress/i18n");
4052
+ var FLEX_WRAP_LABEL = (0, import_i18n30.__)("Wrap", "elementor");
4053
+ var options6 = [
3876
4054
  {
3877
4055
  value: "nowrap",
3878
- label: (0, import_i18n27.__)("No wrap", "elementor"),
3879
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowRightIcon, { fontSize: size }),
4056
+ label: (0, import_i18n30.__)("No wrap", "elementor"),
4057
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons14.ArrowRightIcon, { fontSize: size }),
3880
4058
  showTooltip: true
3881
4059
  },
3882
4060
  {
3883
4061
  value: "wrap",
3884
- label: (0, import_i18n27.__)("Wrap", "elementor"),
3885
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowBackIcon, { fontSize: size }),
4062
+ label: (0, import_i18n30.__)("Wrap", "elementor"),
4063
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons14.ArrowBackIcon, { fontSize: size }),
3886
4064
  showTooltip: true
3887
4065
  },
3888
4066
  {
3889
4067
  value: "wrap-reverse",
3890
- label: (0, import_i18n27.__)("Reversed wrap", "elementor"),
3891
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowForwardIcon, { fontSize: size }),
4068
+ label: (0, import_i18n30.__)("Reversed wrap", "elementor"),
4069
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons14.ArrowForwardIcon, { fontSize: size }),
3892
4070
  showTooltip: true
3893
4071
  }
3894
4072
  ];
3895
4073
  var WrapField = () => {
3896
- 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 }))));
4074
+ return /* @__PURE__ */ React52.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React52.createElement(UiProviders, null, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React52.createElement(import_editor_controls27.ToggleControl, { options: options6 }))));
3897
4075
  };
3898
4076
 
3899
4077
  // src/components/style-sections/layout-section/layout-section.tsx
3900
- var DISPLAY_LABEL2 = (0, import_i18n28.__)("Display", "elementor");
3901
- var FLEX_WRAP_LABEL2 = (0, import_i18n28.__)("Flex wrap", "elementor");
4078
+ var DISPLAY_LABEL2 = (0, import_i18n31.__)("Display", "elementor");
4079
+ var FLEX_WRAP_LABEL2 = (0, import_i18n31.__)("Flex wrap", "elementor");
3902
4080
  var LayoutSection = () => {
3903
4081
  const { value: display } = useStylesField("display", {
3904
4082
  history: { propDisplayName: DISPLAY_LABEL2 }
3905
4083
  });
3906
4084
  const displayPlaceholder = useDisplayPlaceholderValue();
3907
4085
  const isDisplayFlex = shouldDisplayFlexFields(display, displayPlaceholder);
4086
+ const isDisplayGrid = "grid" === (display?.value ?? displayPlaceholder?.value);
3908
4087
  const { element } = useElement();
3909
4088
  const parent = (0, import_editor_elements11.useParentElement)(element.id);
3910
4089
  const parentStyle = useComputedStyle(parent?.id || null);
3911
4090
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
3912
- 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 }));
4091
+ return /* @__PURE__ */ React53.createElement(SectionContent, null, /* @__PURE__ */ React53.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React53.createElement(FlexFields, null), (0, import_editor_v1_adapters8.isExperimentActive)("e_css_grid") && isDisplayGrid && /* @__PURE__ */ React53.createElement(GridFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React53.createElement(FlexChildFields, { parentStyleDirection }));
3913
4092
  };
3914
4093
  var FlexFields = () => {
3915
4094
  const { value: flexWrap } = useStylesField("flex-wrap", {
3916
4095
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
3917
4096
  });
3918
- 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));
4097
+ return /* @__PURE__ */ React53.createElement(React53.Fragment, null, /* @__PURE__ */ React53.createElement(FlexDirectionField, null), /* @__PURE__ */ React53.createElement(JustifyContentField, null), /* @__PURE__ */ React53.createElement(AlignItemsField, null), /* @__PURE__ */ React53.createElement(PanelDivider, null), /* @__PURE__ */ React53.createElement(GapControlField, null), /* @__PURE__ */ React53.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React53.createElement(AlignContentField, null));
3919
4098
  };
3920
- 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));
4099
+ var GridFields = () => /* @__PURE__ */ React53.createElement(React53.Fragment, null, /* @__PURE__ */ React53.createElement(GridSizeFields, null), /* @__PURE__ */ React53.createElement(GridAutoFlowField, null), /* @__PURE__ */ React53.createElement(PanelDivider, null), /* @__PURE__ */ React53.createElement(GapControlField, null), /* @__PURE__ */ React53.createElement(PanelDivider, null), /* @__PURE__ */ React53.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React53.createElement(AlignItemsField, null));
4100
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React53.createElement(React53.Fragment, null, /* @__PURE__ */ React53.createElement(PanelDivider, null), /* @__PURE__ */ React53.createElement(import_editor_controls28.ControlFormLabel, null, (0, import_i18n31.__)("Flex child", "elementor")), /* @__PURE__ */ React53.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React53.createElement(FlexOrderField, null), /* @__PURE__ */ React53.createElement(FlexSizeField, null));
3921
4101
  var shouldDisplayFlexFields = (display, local) => {
3922
4102
  const value = display?.value ?? local?.value;
3923
4103
  if (!value) {
@@ -3927,39 +4107,39 @@ var shouldDisplayFlexFields = (display, local) => {
3927
4107
  };
3928
4108
 
3929
4109
  // src/components/style-sections/position-section/position-section.tsx
3930
- var React55 = __toESM(require("react"));
3931
- var import_react27 = require("react");
4110
+ var React58 = __toESM(require("react"));
4111
+ var import_react29 = require("react");
3932
4112
  var import_session7 = require("@elementor/session");
3933
- var import_i18n33 = require("@wordpress/i18n");
4113
+ var import_i18n36 = require("@wordpress/i18n");
3934
4114
 
3935
4115
  // src/components/style-sections/position-section/dimensions-field.tsx
3936
- var React51 = __toESM(require("react"));
3937
- var import_react25 = require("react");
3938
- var import_editor_controls26 = require("@elementor/editor-controls");
3939
- var import_icons13 = require("@elementor/icons");
3940
- var import_ui29 = require("@elementor/ui");
3941
- var import_i18n29 = require("@wordpress/i18n");
3942
- var InlineStartIcon2 = (0, import_ui29.withDirection)(import_icons13.SideLeftIcon);
3943
- var InlineEndIcon2 = (0, import_ui29.withDirection)(import_icons13.SideRightIcon);
4116
+ var React54 = __toESM(require("react"));
4117
+ var import_react27 = require("react");
4118
+ var import_editor_controls29 = require("@elementor/editor-controls");
4119
+ var import_icons15 = require("@elementor/icons");
4120
+ var import_ui32 = require("@elementor/ui");
4121
+ var import_i18n32 = require("@wordpress/i18n");
4122
+ var InlineStartIcon2 = (0, import_ui32.withDirection)(import_icons15.SideLeftIcon);
4123
+ var InlineEndIcon2 = (0, import_ui32.withDirection)(import_icons15.SideRightIcon);
3944
4124
  var sideIcons = {
3945
- "inset-block-start": /* @__PURE__ */ React51.createElement(import_icons13.SideTopIcon, { fontSize: "tiny" }),
3946
- "inset-block-end": /* @__PURE__ */ React51.createElement(import_icons13.SideBottomIcon, { fontSize: "tiny" }),
3947
- "inset-inline-start": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3948
- "inset-inline-end": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4125
+ "inset-block-start": /* @__PURE__ */ React54.createElement(import_icons15.SideTopIcon, { fontSize: "tiny" }),
4126
+ "inset-block-end": /* @__PURE__ */ React54.createElement(import_icons15.SideBottomIcon, { fontSize: "tiny" }),
4127
+ "inset-inline-start": /* @__PURE__ */ React54.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4128
+ "inset-inline-end": /* @__PURE__ */ React54.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3949
4129
  };
3950
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Right", "elementor") : (0, import_i18n29.__)("Left", "elementor");
3951
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n29.__)("Left", "elementor") : (0, import_i18n29.__)("Right", "elementor");
4130
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n32.__)("Right", "elementor") : (0, import_i18n32.__)("Left", "elementor");
4131
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n32.__)("Left", "elementor") : (0, import_i18n32.__)("Right", "elementor");
3952
4132
  var DimensionsField = () => {
3953
4133
  const { isSiteRtl } = useDirection();
3954
- const rowRefs = [(0, import_react25.useRef)(null), (0, import_react25.useRef)(null)];
3955
- return /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n29.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React51.createElement(
4134
+ const rowRefs = [(0, import_react27.useRef)(null), (0, import_react27.useRef)(null)];
4135
+ return /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(import_ui32.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React54.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n32.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React54.createElement(
3956
4136
  DimensionField,
3957
4137
  {
3958
4138
  side: "inset-inline-end",
3959
4139
  label: getInlineEndLabel(isSiteRtl),
3960
4140
  rowRef: rowRefs[0]
3961
4141
  }
3962
- )), /* @__PURE__ */ React51.createElement(import_ui29.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n29.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React51.createElement(
4142
+ )), /* @__PURE__ */ React54.createElement(import_ui32.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React54.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n32.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React54.createElement(
3963
4143
  DimensionField,
3964
4144
  {
3965
4145
  side: "inset-inline-start",
@@ -3972,8 +4152,8 @@ var DimensionField = ({
3972
4152
  side,
3973
4153
  label,
3974
4154
  rowRef
3975
- }) => /* @__PURE__ */ React51.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React51.createElement(import_ui29.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(import_ui29.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(
3976
- import_editor_controls26.SizeControl,
4155
+ }) => /* @__PURE__ */ React54.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React54.createElement(import_ui32.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React54.createElement(import_ui32.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React54.createElement(ControlLabel, null, label)), /* @__PURE__ */ React54.createElement(import_ui32.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React54.createElement(
4156
+ import_editor_controls29.SizeControl,
3977
4157
  {
3978
4158
  startIcon: sideIcons[side],
3979
4159
  extendedOptions: ["auto"],
@@ -3983,46 +4163,46 @@ var DimensionField = ({
3983
4163
  ))));
3984
4164
 
3985
4165
  // src/components/style-sections/position-section/offset-field.tsx
3986
- var React52 = __toESM(require("react"));
3987
- var import_react26 = require("react");
3988
- var import_editor_controls27 = require("@elementor/editor-controls");
3989
- var import_i18n30 = require("@wordpress/i18n");
3990
- var OFFSET_LABEL = (0, import_i18n30.__)("Anchor offset", "elementor");
3991
- var UNITS = ["px", "em", "rem", "vw", "vh"];
4166
+ var React55 = __toESM(require("react"));
4167
+ var import_react28 = require("react");
4168
+ var import_editor_controls30 = require("@elementor/editor-controls");
4169
+ var import_i18n33 = require("@wordpress/i18n");
4170
+ var OFFSET_LABEL = (0, import_i18n33.__)("Anchor offset", "elementor");
4171
+ var UNITS2 = ["px", "em", "rem", "vw", "vh"];
3992
4172
  var OffsetField = () => {
3993
- const rowRef = (0, import_react26.useRef)(null);
3994
- 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 })));
4173
+ const rowRef = (0, import_react28.useRef)(null);
4174
+ return /* @__PURE__ */ React55.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React55.createElement(import_editor_controls30.SizeControl, { units: UNITS2, anchorRef: rowRef })));
3995
4175
  };
3996
4176
 
3997
4177
  // src/components/style-sections/position-section/position-field.tsx
3998
- var React53 = __toESM(require("react"));
3999
- var import_editor_controls28 = require("@elementor/editor-controls");
4000
- var import_i18n31 = require("@wordpress/i18n");
4001
- var POSITION_LABEL = (0, import_i18n31.__)("Position", "elementor");
4178
+ var React56 = __toESM(require("react"));
4179
+ var import_editor_controls31 = require("@elementor/editor-controls");
4180
+ var import_i18n34 = require("@wordpress/i18n");
4181
+ var POSITION_LABEL = (0, import_i18n34.__)("Position", "elementor");
4002
4182
  var positionOptions = [
4003
- { label: (0, import_i18n31.__)("Static", "elementor"), value: "static" },
4004
- { label: (0, import_i18n31.__)("Relative", "elementor"), value: "relative" },
4005
- { label: (0, import_i18n31.__)("Absolute", "elementor"), value: "absolute" },
4006
- { label: (0, import_i18n31.__)("Fixed", "elementor"), value: "fixed" },
4007
- { label: (0, import_i18n31.__)("Sticky", "elementor"), value: "sticky" }
4183
+ { label: (0, import_i18n34.__)("Static", "elementor"), value: "static" },
4184
+ { label: (0, import_i18n34.__)("Relative", "elementor"), value: "relative" },
4185
+ { label: (0, import_i18n34.__)("Absolute", "elementor"), value: "absolute" },
4186
+ { label: (0, import_i18n34.__)("Fixed", "elementor"), value: "fixed" },
4187
+ { label: (0, import_i18n34.__)("Sticky", "elementor"), value: "sticky" }
4008
4188
  ];
4009
4189
  var PositionField = ({ onChange }) => {
4010
- 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 })));
4190
+ return /* @__PURE__ */ React56.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React56.createElement(import_editor_controls31.SelectControl, { options: positionOptions, onChange })));
4011
4191
  };
4012
4192
 
4013
4193
  // src/components/style-sections/position-section/z-index-field.tsx
4014
- var React54 = __toESM(require("react"));
4015
- var import_editor_controls29 = require("@elementor/editor-controls");
4016
- var import_i18n32 = require("@wordpress/i18n");
4017
- var Z_INDEX_LABEL = (0, import_i18n32.__)("Z-index", "elementor");
4194
+ var React57 = __toESM(require("react"));
4195
+ var import_editor_controls32 = require("@elementor/editor-controls");
4196
+ var import_i18n35 = require("@wordpress/i18n");
4197
+ var Z_INDEX_LABEL = (0, import_i18n35.__)("Z-index", "elementor");
4018
4198
  var ZIndexField = () => {
4019
- 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)));
4199
+ return /* @__PURE__ */ React57.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React57.createElement(import_editor_controls32.NumberControl, null)));
4020
4200
  };
4021
4201
 
4022
4202
  // src/components/style-sections/position-section/position-section.tsx
4023
4203
  var POSITION_STATIC = "static";
4024
- var POSITION_LABEL2 = (0, import_i18n33.__)("Position", "elementor");
4025
- var DIMENSIONS_LABEL = (0, import_i18n33.__)("Dimensions", "elementor");
4204
+ var POSITION_LABEL2 = (0, import_i18n36.__)("Position", "elementor");
4205
+ var DIMENSIONS_LABEL = (0, import_i18n36.__)("Dimensions", "elementor");
4026
4206
  var POSITION_DEPENDENT_PROP_NAMES = [
4027
4207
  "inset-block-start",
4028
4208
  "inset-block-end",
@@ -4043,7 +4223,7 @@ var PositionSection = () => {
4043
4223
  });
4044
4224
  const { values: positionDependentValues, setValues: setPositionDependentValues } = useStylesFields([...POSITION_DEPENDENT_PROP_NAMES]);
4045
4225
  const [dimensionsValuesFromHistory, updateDimensionsHistory, clearDimensionsHistory] = usePersistDimensions();
4046
- const clearPositionDependentProps = (0, import_react27.useCallback)(() => {
4226
+ const clearPositionDependentProps = (0, import_react29.useCallback)(() => {
4047
4227
  const dimensions = {
4048
4228
  "inset-block-start": positionDependentValues?.["inset-block-start"],
4049
4229
  "inset-block-end": positionDependentValues?.["inset-block-end"],
@@ -4057,9 +4237,9 @@ var PositionSection = () => {
4057
4237
  setPositionDependentValues(CLEARED_POSITION_DEPENDENT_VALUES, meta);
4058
4238
  }
4059
4239
  }, [positionDependentValues, updateDimensionsHistory, setPositionDependentValues]);
4060
- const clearPositionDependentPropsRef = (0, import_react27.useRef)(clearPositionDependentProps);
4240
+ const clearPositionDependentPropsRef = (0, import_react29.useRef)(clearPositionDependentProps);
4061
4241
  clearPositionDependentPropsRef.current = clearPositionDependentProps;
4062
- (0, import_react27.useEffect)(() => {
4242
+ (0, import_react29.useEffect)(() => {
4063
4243
  if (positionValue?.value === POSITION_STATIC || positionValue === null) {
4064
4244
  clearPositionDependentPropsRef.current();
4065
4245
  }
@@ -4079,7 +4259,7 @@ var PositionSection = () => {
4079
4259
  }
4080
4260
  };
4081
4261
  const isNotStatic = positionValue && positionValue?.value !== POSITION_STATIC;
4082
- 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));
4262
+ return /* @__PURE__ */ React58.createElement(SectionContent, null, /* @__PURE__ */ React58.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React58.createElement(React58.Fragment, null, /* @__PURE__ */ React58.createElement(DimensionsField, null), /* @__PURE__ */ React58.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React58.createElement(PanelDivider, null), /* @__PURE__ */ React58.createElement(OffsetField, null));
4083
4263
  };
4084
4264
  var usePersistDimensions = () => {
4085
4265
  const { id: styleDefID, meta } = useStyle();
@@ -4089,26 +4269,26 @@ var usePersistDimensions = () => {
4089
4269
  };
4090
4270
 
4091
4271
  // src/components/style-sections/size-section/size-section.tsx
4092
- var React60 = __toESM(require("react"));
4093
- var import_react28 = require("react");
4094
- var import_editor_controls32 = require("@elementor/editor-controls");
4095
- var import_ui31 = require("@elementor/ui");
4096
- var import_i18n37 = require("@wordpress/i18n");
4272
+ var React63 = __toESM(require("react"));
4273
+ var import_react30 = require("react");
4274
+ var import_editor_controls35 = require("@elementor/editor-controls");
4275
+ var import_ui34 = require("@elementor/ui");
4276
+ var import_i18n40 = require("@wordpress/i18n");
4097
4277
 
4098
4278
  // src/components/style-tab-collapsible-content.tsx
4099
- var React57 = __toESM(require("react"));
4279
+ var React60 = __toESM(require("react"));
4100
4280
  var import_editor_ui6 = require("@elementor/editor-ui");
4101
4281
 
4102
4282
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4103
- var React56 = __toESM(require("react"));
4283
+ var React59 = __toESM(require("react"));
4104
4284
  var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
4105
- var import_ui30 = require("@elementor/ui");
4106
- var import_i18n34 = require("@wordpress/i18n");
4285
+ var import_ui33 = require("@elementor/ui");
4286
+ var import_i18n37 = require("@wordpress/i18n");
4107
4287
  var StylesInheritanceSectionIndicators = ({ fields }) => {
4108
4288
  const { id, meta, provider } = useStyle();
4109
4289
  const snapshot = useStylesInheritanceSnapshot();
4110
4290
  if (fields.includes("custom_css")) {
4111
- return /* @__PURE__ */ React56.createElement(CustomCssIndicator, null);
4291
+ return /* @__PURE__ */ React59.createElement(CustomCssIndicator, null);
4112
4292
  }
4113
4293
  const snapshotFields = Object.fromEntries(
4114
4294
  Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
@@ -4117,9 +4297,9 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4117
4297
  if (!hasValues && !hasOverrides) {
4118
4298
  return null;
4119
4299
  }
4120
- const hasValueLabel = (0, import_i18n34.__)("Has effective styles", "elementor");
4121
- const hasOverridesLabel = (0, import_i18n34.__)("Has overridden styles", "elementor");
4122
- return /* @__PURE__ */ React56.createElement(import_ui30.Tooltip, { title: (0, import_i18n34.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React56.createElement(import_ui30.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React56.createElement(
4300
+ const hasValueLabel = (0, import_i18n37.__)("Has effective styles", "elementor");
4301
+ const hasOverridesLabel = (0, import_i18n37.__)("Has overridden styles", "elementor");
4302
+ return /* @__PURE__ */ React59.createElement(import_ui33.Tooltip, { title: (0, import_i18n37.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React59.createElement(import_ui33.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React59.createElement(
4123
4303
  StyleIndicator,
4124
4304
  {
4125
4305
  getColor: getStylesProviderThemeColor(provider.getKey()),
@@ -4127,7 +4307,7 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4127
4307
  role: "listitem",
4128
4308
  "aria-label": hasValueLabel
4129
4309
  }
4130
- ), hasOverrides && /* @__PURE__ */ React56.createElement(
4310
+ ), hasOverrides && /* @__PURE__ */ React59.createElement(
4131
4311
  StyleIndicator,
4132
4312
  {
4133
4313
  isOverridden: true,
@@ -4167,59 +4347,59 @@ function getCurrentStyleFromChain(chain, styleId, meta) {
4167
4347
 
4168
4348
  // src/components/style-tab-collapsible-content.tsx
4169
4349
  var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4170
- return /* @__PURE__ */ React57.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4350
+ return /* @__PURE__ */ React60.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4171
4351
  };
4172
4352
  function getStylesInheritanceIndicators(fields) {
4173
4353
  if (fields.length === 0) {
4174
4354
  return null;
4175
4355
  }
4176
- return (isOpen) => !isOpen ? /* @__PURE__ */ React57.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4356
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React60.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4177
4357
  }
4178
4358
 
4179
4359
  // src/components/style-sections/size-section/object-fit-field.tsx
4180
- var React58 = __toESM(require("react"));
4181
- var import_editor_controls30 = require("@elementor/editor-controls");
4182
- var import_i18n35 = require("@wordpress/i18n");
4183
- var OBJECT_FIT_LABEL = (0, import_i18n35.__)("Object fit", "elementor");
4360
+ var React61 = __toESM(require("react"));
4361
+ var import_editor_controls33 = require("@elementor/editor-controls");
4362
+ var import_i18n38 = require("@wordpress/i18n");
4363
+ var OBJECT_FIT_LABEL = (0, import_i18n38.__)("Object fit", "elementor");
4184
4364
  var positionOptions2 = [
4185
- { label: (0, import_i18n35.__)("Fill", "elementor"), value: "fill" },
4186
- { label: (0, import_i18n35.__)("Cover", "elementor"), value: "cover" },
4187
- { label: (0, import_i18n35.__)("Contain", "elementor"), value: "contain" },
4188
- { label: (0, import_i18n35.__)("None", "elementor"), value: "none" },
4189
- { label: (0, import_i18n35.__)("Scale down", "elementor"), value: "scale-down" }
4365
+ { label: (0, import_i18n38.__)("Fill", "elementor"), value: "fill" },
4366
+ { label: (0, import_i18n38.__)("Cover", "elementor"), value: "cover" },
4367
+ { label: (0, import_i18n38.__)("Contain", "elementor"), value: "contain" },
4368
+ { label: (0, import_i18n38.__)("None", "elementor"), value: "none" },
4369
+ { label: (0, import_i18n38.__)("Scale down", "elementor"), value: "scale-down" }
4190
4370
  ];
4191
4371
  var ObjectFitField = () => {
4192
- 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 })));
4372
+ return /* @__PURE__ */ React61.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls33.SelectControl, { options: positionOptions2 })));
4193
4373
  };
4194
4374
 
4195
4375
  // src/components/style-sections/size-section/overflow-field.tsx
4196
- var React59 = __toESM(require("react"));
4197
- var import_editor_controls31 = require("@elementor/editor-controls");
4198
- var import_icons14 = require("@elementor/icons");
4199
- var import_i18n36 = require("@wordpress/i18n");
4200
- var OVERFLOW_LABEL = (0, import_i18n36.__)("Overflow", "elementor");
4201
- var options6 = [
4376
+ var React62 = __toESM(require("react"));
4377
+ var import_editor_controls34 = require("@elementor/editor-controls");
4378
+ var import_icons16 = require("@elementor/icons");
4379
+ var import_i18n39 = require("@wordpress/i18n");
4380
+ var OVERFLOW_LABEL = (0, import_i18n39.__)("Overflow", "elementor");
4381
+ var options7 = [
4202
4382
  {
4203
4383
  value: "visible",
4204
- label: (0, import_i18n36.__)("Visible", "elementor"),
4205
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeIcon, { fontSize: size }),
4384
+ label: (0, import_i18n39.__)("Visible", "elementor"),
4385
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(import_icons16.EyeIcon, { fontSize: size }),
4206
4386
  showTooltip: true
4207
4387
  },
4208
4388
  {
4209
4389
  value: "hidden",
4210
- label: (0, import_i18n36.__)("Hidden", "elementor"),
4211
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.EyeOffIcon, { fontSize: size }),
4390
+ label: (0, import_i18n39.__)("Hidden", "elementor"),
4391
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(import_icons16.EyeOffIcon, { fontSize: size }),
4212
4392
  showTooltip: true
4213
4393
  },
4214
4394
  {
4215
4395
  value: "auto",
4216
- label: (0, import_i18n36.__)("Auto", "elementor"),
4217
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons14.LetterAIcon, { fontSize: size }),
4396
+ label: (0, import_i18n39.__)("Auto", "elementor"),
4397
+ renderContent: ({ size }) => /* @__PURE__ */ React62.createElement(import_icons16.LetterAIcon, { fontSize: size }),
4218
4398
  showTooltip: true
4219
4399
  }
4220
4400
  ];
4221
4401
  var OverflowField = () => {
4222
- 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 })));
4402
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React62.createElement(import_editor_controls34.ToggleControl, { options: options7 })));
4223
4403
  };
4224
4404
 
4225
4405
  // src/components/style-sections/size-section/size-section.tsx
@@ -4227,98 +4407,98 @@ var CssSizeProps = [
4227
4407
  [
4228
4408
  {
4229
4409
  bind: "width",
4230
- label: (0, import_i18n37.__)("Width", "elementor")
4410
+ label: (0, import_i18n40.__)("Width", "elementor")
4231
4411
  },
4232
4412
  {
4233
4413
  bind: "height",
4234
- label: (0, import_i18n37.__)("Height", "elementor")
4414
+ label: (0, import_i18n40.__)("Height", "elementor")
4235
4415
  }
4236
4416
  ],
4237
4417
  [
4238
4418
  {
4239
4419
  bind: "min-width",
4240
- label: (0, import_i18n37.__)("Min width", "elementor")
4420
+ label: (0, import_i18n40.__)("Min width", "elementor")
4241
4421
  },
4242
4422
  {
4243
4423
  bind: "min-height",
4244
- label: (0, import_i18n37.__)("Min height", "elementor")
4424
+ label: (0, import_i18n40.__)("Min height", "elementor")
4245
4425
  }
4246
4426
  ],
4247
4427
  [
4248
4428
  {
4249
4429
  bind: "max-width",
4250
- label: (0, import_i18n37.__)("Max width", "elementor")
4430
+ label: (0, import_i18n40.__)("Max width", "elementor")
4251
4431
  },
4252
4432
  {
4253
4433
  bind: "max-height",
4254
- label: (0, import_i18n37.__)("Max height", "elementor")
4434
+ label: (0, import_i18n40.__)("Max height", "elementor")
4255
4435
  }
4256
4436
  ]
4257
4437
  ];
4258
- var ASPECT_RATIO_LABEL = (0, import_i18n37.__)("Aspect Ratio", "elementor");
4438
+ var ASPECT_RATIO_LABEL = (0, import_i18n40.__)("Aspect Ratio", "elementor");
4259
4439
  var SizeSection = () => {
4260
- const gridRowRefs = [(0, import_react28.useRef)(null), (0, import_react28.useRef)(null), (0, import_react28.useRef)(null)];
4261
- return /* @__PURE__ */ React60.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React60.createElement(import_ui31.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React60.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_ui31.Stack, null, /* @__PURE__ */ React60.createElement(OverflowField, null)), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React60.createElement(import_ui31.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React60.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls32.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ObjectFitField, null), /* @__PURE__ */ React60.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n37.__)("Object position", "elementor") }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.PositionControl, null))))));
4440
+ const gridRowRefs = [(0, import_react30.useRef)(null), (0, import_react30.useRef)(null), (0, import_react30.useRef)(null)];
4441
+ return /* @__PURE__ */ React63.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React63.createElement(import_ui34.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React63.createElement(import_ui34.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React63.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React63.createElement(PanelDivider, null), /* @__PURE__ */ React63.createElement(import_ui34.Stack, null, /* @__PURE__ */ React63.createElement(OverflowField, null)), /* @__PURE__ */ React63.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React63.createElement(import_ui34.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React63.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React63.createElement(import_editor_controls35.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React63.createElement(PanelDivider, null), /* @__PURE__ */ React63.createElement(ObjectFitField, null), /* @__PURE__ */ React63.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n40.__)("Object position", "elementor") }, /* @__PURE__ */ React63.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React63.createElement(import_editor_controls35.PositionControl, null))))));
4262
4442
  };
4263
4443
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4264
- return /* @__PURE__ */ React60.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, label)), /* @__PURE__ */ React60.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4444
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React63.createElement(import_ui34.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React63.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React63.createElement(ControlLabel, null, label)), /* @__PURE__ */ React63.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React63.createElement(import_editor_controls35.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4265
4445
  };
4266
4446
 
4267
4447
  // src/components/style-sections/spacing-section/spacing-section.tsx
4268
- var React61 = __toESM(require("react"));
4269
- var import_editor_controls33 = require("@elementor/editor-controls");
4270
- var import_i18n38 = require("@wordpress/i18n");
4271
- var MARGIN_LABEL = (0, import_i18n38.__)("Margin", "elementor");
4272
- var PADDING_LABEL = (0, import_i18n38.__)("Padding", "elementor");
4448
+ var React64 = __toESM(require("react"));
4449
+ var import_editor_controls36 = require("@elementor/editor-controls");
4450
+ var import_i18n41 = require("@wordpress/i18n");
4451
+ var MARGIN_LABEL = (0, import_i18n41.__)("Margin", "elementor");
4452
+ var PADDING_LABEL = (0, import_i18n41.__)("Padding", "elementor");
4273
4453
  var SpacingSection = () => {
4274
4454
  const { isSiteRtl } = useDirection();
4275
- return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React61.createElement(
4276
- import_editor_controls33.LinkedDimensionsControl,
4455
+ return /* @__PURE__ */ React64.createElement(SectionContent, null, /* @__PURE__ */ React64.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React64.createElement(
4456
+ import_editor_controls36.LinkedDimensionsControl,
4277
4457
  {
4278
4458
  label: MARGIN_LABEL,
4279
4459
  isSiteRtl,
4280
4460
  min: -Number.MAX_SAFE_INTEGER
4281
4461
  }
4282
- )), /* @__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 })));
4462
+ )), /* @__PURE__ */ React64.createElement(PanelDivider, null), /* @__PURE__ */ React64.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React64.createElement(import_editor_controls36.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4283
4463
  };
4284
4464
 
4285
4465
  // src/components/style-sections/typography-section/typography-section.tsx
4286
- var React78 = __toESM(require("react"));
4466
+ var React81 = __toESM(require("react"));
4287
4467
 
4288
4468
  // src/components/style-sections/typography-section/column-count-field.tsx
4289
- var React62 = __toESM(require("react"));
4290
- var import_editor_controls34 = require("@elementor/editor-controls");
4291
- var import_i18n39 = require("@wordpress/i18n");
4292
- var COLUMN_COUNT_LABEL = (0, import_i18n39.__)("Columns", "elementor");
4469
+ var React65 = __toESM(require("react"));
4470
+ var import_editor_controls37 = require("@elementor/editor-controls");
4471
+ var import_i18n42 = require("@wordpress/i18n");
4472
+ var COLUMN_COUNT_LABEL = (0, import_i18n42.__)("Columns", "elementor");
4293
4473
  var ColumnCountField = () => {
4294
- 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 })));
4474
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls37.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4295
4475
  };
4296
4476
 
4297
4477
  // src/components/style-sections/typography-section/column-gap-field.tsx
4298
- var React63 = __toESM(require("react"));
4299
- var import_react29 = require("react");
4300
- var import_editor_controls35 = require("@elementor/editor-controls");
4301
- var import_i18n40 = require("@wordpress/i18n");
4302
- var COLUMN_GAP_LABEL = (0, import_i18n40.__)("Column gap", "elementor");
4478
+ var React66 = __toESM(require("react"));
4479
+ var import_react31 = require("react");
4480
+ var import_editor_controls38 = require("@elementor/editor-controls");
4481
+ var import_i18n43 = require("@wordpress/i18n");
4482
+ var COLUMN_GAP_LABEL = (0, import_i18n43.__)("Column gap", "elementor");
4303
4483
  var ColumnGapField = () => {
4304
- const rowRef = (0, import_react29.useRef)(null);
4305
- 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 })));
4484
+ const rowRef = (0, import_react31.useRef)(null);
4485
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React66.createElement(import_editor_controls38.SizeControl, { anchorRef: rowRef })));
4306
4486
  };
4307
4487
 
4308
4488
  // src/components/style-sections/typography-section/font-family-field.tsx
4309
- var React64 = __toESM(require("react"));
4310
- var import_editor_controls36 = require("@elementor/editor-controls");
4489
+ var React67 = __toESM(require("react"));
4490
+ var import_editor_controls39 = require("@elementor/editor-controls");
4311
4491
  var import_editor_ui7 = require("@elementor/editor-ui");
4312
- var import_i18n41 = require("@wordpress/i18n");
4313
- var FONT_FAMILY_LABEL = (0, import_i18n41.__)("Font family", "elementor");
4492
+ var import_i18n44 = require("@wordpress/i18n");
4493
+ var FONT_FAMILY_LABEL = (0, import_i18n44.__)("Font family", "elementor");
4314
4494
  var FontFamilyField = () => {
4315
- const fontFamilies = (0, import_editor_controls36.useFontFamilies)();
4495
+ const fontFamilies = (0, import_editor_controls39.useFontFamilies)();
4316
4496
  const sectionWidth = (0, import_editor_ui7.useSectionWidth)();
4317
4497
  if (fontFamilies.length === 0) {
4318
4498
  return null;
4319
4499
  }
4320
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React64.createElement(
4321
- import_editor_controls36.FontFamilyControl,
4500
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React67.createElement(
4501
+ import_editor_controls39.FontFamilyControl,
4322
4502
  {
4323
4503
  fontFamilies,
4324
4504
  sectionWidth,
@@ -4328,198 +4508,198 @@ var FontFamilyField = () => {
4328
4508
  };
4329
4509
 
4330
4510
  // src/components/style-sections/typography-section/font-size-field.tsx
4331
- var React65 = __toESM(require("react"));
4332
- var import_react30 = require("react");
4333
- var import_editor_controls37 = require("@elementor/editor-controls");
4334
- var import_i18n42 = require("@wordpress/i18n");
4335
- var FONT_SIZE_LABEL = (0, import_i18n42.__)("Font size", "elementor");
4511
+ var React68 = __toESM(require("react"));
4512
+ var import_react32 = require("react");
4513
+ var import_editor_controls40 = require("@elementor/editor-controls");
4514
+ var import_i18n45 = require("@wordpress/i18n");
4515
+ var FONT_SIZE_LABEL = (0, import_i18n45.__)("Font size", "elementor");
4336
4516
  var FontSizeField = () => {
4337
- const rowRef = (0, import_react30.useRef)(null);
4338
- 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 })));
4517
+ const rowRef = (0, import_react32.useRef)(null);
4518
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React68.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React68.createElement(import_editor_controls40.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4339
4519
  };
4340
4520
 
4341
4521
  // src/components/style-sections/typography-section/font-style-field.tsx
4342
- var React66 = __toESM(require("react"));
4343
- var import_editor_controls38 = require("@elementor/editor-controls");
4344
- var import_icons15 = require("@elementor/icons");
4345
- var import_i18n43 = require("@wordpress/i18n");
4346
- var FONT_STYLE_LABEL = (0, import_i18n43.__)("Font style", "elementor");
4347
- var options7 = [
4522
+ var React69 = __toESM(require("react"));
4523
+ var import_editor_controls41 = require("@elementor/editor-controls");
4524
+ var import_icons17 = require("@elementor/icons");
4525
+ var import_i18n46 = require("@wordpress/i18n");
4526
+ var FONT_STYLE_LABEL = (0, import_i18n46.__)("Font style", "elementor");
4527
+ var options8 = [
4348
4528
  {
4349
4529
  value: "normal",
4350
- label: (0, import_i18n43.__)("Normal", "elementor"),
4351
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.MinusIcon, { fontSize: size }),
4530
+ label: (0, import_i18n46.__)("Normal", "elementor"),
4531
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons17.MinusIcon, { fontSize: size }),
4352
4532
  showTooltip: true
4353
4533
  },
4354
4534
  {
4355
4535
  value: "italic",
4356
- label: (0, import_i18n43.__)("Italic", "elementor"),
4357
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons15.ItalicIcon, { fontSize: size }),
4536
+ label: (0, import_i18n46.__)("Italic", "elementor"),
4537
+ renderContent: ({ size }) => /* @__PURE__ */ React69.createElement(import_icons17.ItalicIcon, { fontSize: size }),
4358
4538
  showTooltip: true
4359
4539
  }
4360
4540
  ];
4361
4541
  var FontStyleField = () => {
4362
- 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 })));
4542
+ return /* @__PURE__ */ React69.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls41.ToggleControl, { options: options8 })));
4363
4543
  };
4364
4544
 
4365
4545
  // src/components/style-sections/typography-section/font-weight-field.tsx
4366
- var React67 = __toESM(require("react"));
4367
- var import_editor_controls39 = require("@elementor/editor-controls");
4368
- var import_i18n44 = require("@wordpress/i18n");
4369
- var FONT_WEIGHT_LABEL = (0, import_i18n44.__)("Font weight", "elementor");
4546
+ var React70 = __toESM(require("react"));
4547
+ var import_editor_controls42 = require("@elementor/editor-controls");
4548
+ var import_i18n47 = require("@wordpress/i18n");
4549
+ var FONT_WEIGHT_LABEL = (0, import_i18n47.__)("Font weight", "elementor");
4370
4550
  var fontWeightOptions = [
4371
- { value: "100", label: (0, import_i18n44.__)("100 - Thin", "elementor") },
4372
- { value: "200", label: (0, import_i18n44.__)("200 - Extra light", "elementor") },
4373
- { value: "300", label: (0, import_i18n44.__)("300 - Light", "elementor") },
4374
- { value: "400", label: (0, import_i18n44.__)("400 - Normal", "elementor") },
4375
- { value: "500", label: (0, import_i18n44.__)("500 - Medium", "elementor") },
4376
- { value: "600", label: (0, import_i18n44.__)("600 - Semi bold", "elementor") },
4377
- { value: "700", label: (0, import_i18n44.__)("700 - Bold", "elementor") },
4378
- { value: "800", label: (0, import_i18n44.__)("800 - Extra bold", "elementor") },
4379
- { value: "900", label: (0, import_i18n44.__)("900 - Black", "elementor") }
4551
+ { value: "100", label: (0, import_i18n47.__)("100 - Thin", "elementor") },
4552
+ { value: "200", label: (0, import_i18n47.__)("200 - Extra light", "elementor") },
4553
+ { value: "300", label: (0, import_i18n47.__)("300 - Light", "elementor") },
4554
+ { value: "400", label: (0, import_i18n47.__)("400 - Normal", "elementor") },
4555
+ { value: "500", label: (0, import_i18n47.__)("500 - Medium", "elementor") },
4556
+ { value: "600", label: (0, import_i18n47.__)("600 - Semi bold", "elementor") },
4557
+ { value: "700", label: (0, import_i18n47.__)("700 - Bold", "elementor") },
4558
+ { value: "800", label: (0, import_i18n47.__)("800 - Extra bold", "elementor") },
4559
+ { value: "900", label: (0, import_i18n47.__)("900 - Black", "elementor") }
4380
4560
  ];
4381
4561
  var FontWeightField = () => {
4382
- 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 })));
4562
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls42.SelectControl, { options: fontWeightOptions })));
4383
4563
  };
4384
4564
 
4385
4565
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
4386
- var React68 = __toESM(require("react"));
4387
- var import_react31 = require("react");
4388
- var import_editor_controls40 = require("@elementor/editor-controls");
4389
- var import_i18n45 = require("@wordpress/i18n");
4390
- var LETTER_SPACING_LABEL = (0, import_i18n45.__)("Letter spacing", "elementor");
4566
+ var React71 = __toESM(require("react"));
4567
+ var import_react33 = require("react");
4568
+ var import_editor_controls43 = require("@elementor/editor-controls");
4569
+ var import_i18n48 = require("@wordpress/i18n");
4570
+ var LETTER_SPACING_LABEL = (0, import_i18n48.__)("Letter spacing", "elementor");
4391
4571
  var LetterSpacingField = () => {
4392
- const rowRef = (0, import_react31.useRef)(null);
4393
- 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 })));
4572
+ const rowRef = (0, import_react33.useRef)(null);
4573
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React71.createElement(import_editor_controls43.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4394
4574
  };
4395
4575
 
4396
4576
  // src/components/style-sections/typography-section/line-height-field.tsx
4397
- var React69 = __toESM(require("react"));
4398
- var import_react32 = require("react");
4399
- var import_editor_controls41 = require("@elementor/editor-controls");
4400
- var import_i18n46 = require("@wordpress/i18n");
4401
- var LINE_HEIGHT_LABEL = (0, import_i18n46.__)("Line height", "elementor");
4577
+ var React72 = __toESM(require("react"));
4578
+ var import_react34 = require("react");
4579
+ var import_editor_controls44 = require("@elementor/editor-controls");
4580
+ var import_i18n49 = require("@wordpress/i18n");
4581
+ var LINE_HEIGHT_LABEL = (0, import_i18n49.__)("Line height", "elementor");
4402
4582
  var LineHeightField = () => {
4403
- const rowRef = (0, import_react32.useRef)(null);
4404
- 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 })));
4583
+ const rowRef = (0, import_react34.useRef)(null);
4584
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React72.createElement(import_editor_controls44.SizeControl, { anchorRef: rowRef })));
4405
4585
  };
4406
4586
 
4407
4587
  // src/components/style-sections/typography-section/text-alignment-field.tsx
4408
- var React70 = __toESM(require("react"));
4409
- var import_editor_controls42 = require("@elementor/editor-controls");
4410
- var import_icons16 = require("@elementor/icons");
4411
- var import_ui32 = require("@elementor/ui");
4412
- var import_i18n47 = require("@wordpress/i18n");
4413
- var TEXT_ALIGNMENT_LABEL = (0, import_i18n47.__)("Text align", "elementor");
4414
- var AlignStartIcon = (0, import_ui32.withDirection)(import_icons16.AlignLeftIcon);
4415
- var AlignEndIcon = (0, import_ui32.withDirection)(import_icons16.AlignRightIcon);
4416
- var options8 = [
4588
+ var React73 = __toESM(require("react"));
4589
+ var import_editor_controls45 = require("@elementor/editor-controls");
4590
+ var import_icons18 = require("@elementor/icons");
4591
+ var import_ui35 = require("@elementor/ui");
4592
+ var import_i18n50 = require("@wordpress/i18n");
4593
+ var TEXT_ALIGNMENT_LABEL = (0, import_i18n50.__)("Text align", "elementor");
4594
+ var AlignStartIcon = (0, import_ui35.withDirection)(import_icons18.AlignLeftIcon);
4595
+ var AlignEndIcon = (0, import_ui35.withDirection)(import_icons18.AlignRightIcon);
4596
+ var options9 = [
4417
4597
  {
4418
4598
  value: "start",
4419
- label: (0, import_i18n47.__)("Start", "elementor"),
4420
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignStartIcon, { fontSize: size }),
4599
+ label: (0, import_i18n50.__)("Start", "elementor"),
4600
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(AlignStartIcon, { fontSize: size }),
4421
4601
  showTooltip: true
4422
4602
  },
4423
4603
  {
4424
4604
  value: "center",
4425
- label: (0, import_i18n47.__)("Center", "elementor"),
4426
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignCenterIcon, { fontSize: size }),
4605
+ label: (0, import_i18n50.__)("Center", "elementor"),
4606
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.AlignCenterIcon, { fontSize: size }),
4427
4607
  showTooltip: true
4428
4608
  },
4429
4609
  {
4430
4610
  value: "end",
4431
- label: (0, import_i18n47.__)("End", "elementor"),
4432
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignEndIcon, { fontSize: size }),
4611
+ label: (0, import_i18n50.__)("End", "elementor"),
4612
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(AlignEndIcon, { fontSize: size }),
4433
4613
  showTooltip: true
4434
4614
  },
4435
4615
  {
4436
4616
  value: "justify",
4437
- label: (0, import_i18n47.__)("Justify", "elementor"),
4438
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons16.AlignJustifiedIcon, { fontSize: size }),
4617
+ label: (0, import_i18n50.__)("Justify", "elementor"),
4618
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.AlignJustifiedIcon, { fontSize: size }),
4439
4619
  showTooltip: true
4440
4620
  }
4441
4621
  ];
4442
4622
  var TextAlignmentField = () => {
4443
- 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 }))));
4623
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React73.createElement(UiProviders, null, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React73.createElement(import_editor_controls45.ToggleControl, { options: options9 }))));
4444
4624
  };
4445
4625
 
4446
4626
  // src/components/style-sections/typography-section/text-color-field.tsx
4447
- var React71 = __toESM(require("react"));
4448
- var import_editor_controls43 = require("@elementor/editor-controls");
4449
- var import_i18n48 = require("@wordpress/i18n");
4450
- var TEXT_COLOR_LABEL = (0, import_i18n48.__)("Text color", "elementor");
4627
+ var React74 = __toESM(require("react"));
4628
+ var import_editor_controls46 = require("@elementor/editor-controls");
4629
+ var import_i18n51 = require("@wordpress/i18n");
4630
+ var TEXT_COLOR_LABEL = (0, import_i18n51.__)("Text color", "elementor");
4451
4631
  var TextColorField = () => {
4452
- 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" })));
4632
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React74.createElement(import_editor_controls46.ColorControl, { id: "text-color-control" })));
4453
4633
  };
4454
4634
 
4455
4635
  // src/components/style-sections/typography-section/text-decoration-field.tsx
4456
- var React72 = __toESM(require("react"));
4457
- var import_editor_controls44 = require("@elementor/editor-controls");
4458
- var import_icons17 = require("@elementor/icons");
4459
- var import_i18n49 = require("@wordpress/i18n");
4460
- var TEXT_DECORATION_LABEL = (0, import_i18n49.__)("Line decoration", "elementor");
4461
- var options9 = [
4636
+ var React75 = __toESM(require("react"));
4637
+ var import_editor_controls47 = require("@elementor/editor-controls");
4638
+ var import_icons19 = require("@elementor/icons");
4639
+ var import_i18n52 = require("@wordpress/i18n");
4640
+ var TEXT_DECORATION_LABEL = (0, import_i18n52.__)("Line decoration", "elementor");
4641
+ var options10 = [
4462
4642
  {
4463
4643
  value: "none",
4464
- label: (0, import_i18n49.__)("None", "elementor"),
4465
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.MinusIcon, { fontSize: size }),
4644
+ label: (0, import_i18n52.__)("None", "elementor"),
4645
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons19.MinusIcon, { fontSize: size }),
4466
4646
  showTooltip: true,
4467
4647
  exclusive: true
4468
4648
  },
4469
4649
  {
4470
4650
  value: "underline",
4471
- label: (0, import_i18n49.__)("Underline", "elementor"),
4472
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.UnderlineIcon, { fontSize: size }),
4651
+ label: (0, import_i18n52.__)("Underline", "elementor"),
4652
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons19.UnderlineIcon, { fontSize: size }),
4473
4653
  showTooltip: true
4474
4654
  },
4475
4655
  {
4476
4656
  value: "line-through",
4477
- label: (0, import_i18n49.__)("Line-through", "elementor"),
4478
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.StrikethroughIcon, { fontSize: size }),
4657
+ label: (0, import_i18n52.__)("Line-through", "elementor"),
4658
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons19.StrikethroughIcon, { fontSize: size }),
4479
4659
  showTooltip: true
4480
4660
  },
4481
4661
  {
4482
4662
  value: "overline",
4483
- label: (0, import_i18n49.__)("Overline", "elementor"),
4484
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons17.OverlineIcon, { fontSize: size }),
4663
+ label: (0, import_i18n52.__)("Overline", "elementor"),
4664
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons19.OverlineIcon, { fontSize: size }),
4485
4665
  showTooltip: true
4486
4666
  }
4487
4667
  ];
4488
- 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 })));
4668
+ var TextDecorationField = () => /* @__PURE__ */ React75.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React75.createElement(import_editor_controls47.ToggleControl, { options: options10, exclusive: false })));
4489
4669
 
4490
4670
  // src/components/style-sections/typography-section/text-direction-field.tsx
4491
- var React73 = __toESM(require("react"));
4492
- var import_editor_controls45 = require("@elementor/editor-controls");
4493
- var import_icons18 = require("@elementor/icons");
4494
- var import_i18n50 = require("@wordpress/i18n");
4495
- var TEXT_DIRECTION_LABEL = (0, import_i18n50.__)("Direction", "elementor");
4496
- var options10 = [
4671
+ var React76 = __toESM(require("react"));
4672
+ var import_editor_controls48 = require("@elementor/editor-controls");
4673
+ var import_icons20 = require("@elementor/icons");
4674
+ var import_i18n53 = require("@wordpress/i18n");
4675
+ var TEXT_DIRECTION_LABEL = (0, import_i18n53.__)("Direction", "elementor");
4676
+ var options11 = [
4497
4677
  {
4498
4678
  value: "ltr",
4499
- label: (0, import_i18n50.__)("Left to right", "elementor"),
4500
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionLtrIcon, { fontSize: size }),
4679
+ label: (0, import_i18n53.__)("Left to right", "elementor"),
4680
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.TextDirectionLtrIcon, { fontSize: size }),
4501
4681
  showTooltip: true
4502
4682
  },
4503
4683
  {
4504
4684
  value: "rtl",
4505
- label: (0, import_i18n50.__)("Right to left", "elementor"),
4506
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons18.TextDirectionRtlIcon, { fontSize: size }),
4685
+ label: (0, import_i18n53.__)("Right to left", "elementor"),
4686
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.TextDirectionRtlIcon, { fontSize: size }),
4507
4687
  showTooltip: true
4508
4688
  }
4509
4689
  ];
4510
4690
  var TextDirectionField = () => {
4511
- 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 })));
4691
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React76.createElement(import_editor_controls48.ToggleControl, { options: options11 })));
4512
4692
  };
4513
4693
 
4514
4694
  // src/components/style-sections/typography-section/text-stroke-field.tsx
4515
- var React75 = __toESM(require("react"));
4516
- var import_editor_controls46 = require("@elementor/editor-controls");
4517
- var import_i18n51 = require("@wordpress/i18n");
4695
+ var React78 = __toESM(require("react"));
4696
+ var import_editor_controls49 = require("@elementor/editor-controls");
4697
+ var import_i18n54 = require("@wordpress/i18n");
4518
4698
 
4519
4699
  // src/components/add-or-remove-content.tsx
4520
- var React74 = __toESM(require("react"));
4521
- var import_icons19 = require("@elementor/icons");
4522
- var import_ui33 = require("@elementor/ui");
4700
+ var React77 = __toESM(require("react"));
4701
+ var import_icons21 = require("@elementor/icons");
4702
+ var import_ui36 = require("@elementor/ui");
4523
4703
  var SIZE = "tiny";
4524
4704
  var AddOrRemoveContent = ({
4525
4705
  isAdded,
@@ -4529,8 +4709,8 @@ var AddOrRemoveContent = ({
4529
4709
  disabled,
4530
4710
  renderLabel
4531
4711
  }) => {
4532
- return /* @__PURE__ */ React74.createElement(SectionContent, null, /* @__PURE__ */ React74.createElement(
4533
- import_ui33.Stack,
4712
+ return /* @__PURE__ */ React77.createElement(SectionContent, null, /* @__PURE__ */ React77.createElement(
4713
+ import_ui36.Stack,
4534
4714
  {
4535
4715
  direction: "row",
4536
4716
  sx: {
@@ -4540,8 +4720,8 @@ var AddOrRemoveContent = ({
4540
4720
  }
4541
4721
  },
4542
4722
  renderLabel(),
4543
- isAdded ? /* @__PURE__ */ React74.createElement(import_ui33.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React74.createElement(import_ui33.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React74.createElement(import_icons19.PlusIcon, { fontSize: SIZE }))
4544
- ), /* @__PURE__ */ React74.createElement(import_ui33.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React74.createElement(SectionContent, null, children)));
4723
+ isAdded ? /* @__PURE__ */ React77.createElement(import_ui36.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React77.createElement(import_icons21.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React77.createElement(import_ui36.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React77.createElement(import_icons21.PlusIcon, { fontSize: SIZE }))
4724
+ ), /* @__PURE__ */ React77.createElement(import_ui36.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React77.createElement(SectionContent, null, children)));
4545
4725
  };
4546
4726
 
4547
4727
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -4561,7 +4741,7 @@ var initTextStroke = {
4561
4741
  }
4562
4742
  }
4563
4743
  };
4564
- var TEXT_STROKE_LABEL = (0, import_i18n51.__)("Text stroke", "elementor");
4744
+ var TEXT_STROKE_LABEL = (0, import_i18n54.__)("Text stroke", "elementor");
4565
4745
  var TextStrokeField = () => {
4566
4746
  const { value, setValue, canEdit } = useStylesField("stroke", {
4567
4747
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -4573,67 +4753,67 @@ var TextStrokeField = () => {
4573
4753
  setValue(null);
4574
4754
  };
4575
4755
  const hasTextStroke = Boolean(value);
4576
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React75.createElement(
4756
+ return /* @__PURE__ */ React78.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React78.createElement(
4577
4757
  AddOrRemoveContent,
4578
4758
  {
4579
4759
  isAdded: hasTextStroke,
4580
4760
  onAdd: addTextStroke,
4581
4761
  onRemove: removeTextStroke,
4582
4762
  disabled: !canEdit,
4583
- renderLabel: () => /* @__PURE__ */ React75.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4763
+ renderLabel: () => /* @__PURE__ */ React78.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
4584
4764
  },
4585
- /* @__PURE__ */ React75.createElement(import_editor_controls46.StrokeControl, null)
4765
+ /* @__PURE__ */ React78.createElement(import_editor_controls49.StrokeControl, null)
4586
4766
  ));
4587
4767
  };
4588
4768
 
4589
4769
  // src/components/style-sections/typography-section/transform-field.tsx
4590
- var React76 = __toESM(require("react"));
4591
- var import_editor_controls47 = require("@elementor/editor-controls");
4592
- var import_icons20 = require("@elementor/icons");
4593
- var import_i18n52 = require("@wordpress/i18n");
4594
- var TEXT_TRANSFORM_LABEL = (0, import_i18n52.__)("Text transform", "elementor");
4595
- var options11 = [
4770
+ var React79 = __toESM(require("react"));
4771
+ var import_editor_controls50 = require("@elementor/editor-controls");
4772
+ var import_icons22 = require("@elementor/icons");
4773
+ var import_i18n55 = require("@wordpress/i18n");
4774
+ var TEXT_TRANSFORM_LABEL = (0, import_i18n55.__)("Text transform", "elementor");
4775
+ var options12 = [
4596
4776
  {
4597
4777
  value: "none",
4598
- label: (0, import_i18n52.__)("None", "elementor"),
4599
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.MinusIcon, { fontSize: size }),
4778
+ label: (0, import_i18n55.__)("None", "elementor"),
4779
+ renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.MinusIcon, { fontSize: size }),
4600
4780
  showTooltip: true
4601
4781
  },
4602
4782
  {
4603
4783
  value: "capitalize",
4604
- label: (0, import_i18n52.__)("Capitalize", "elementor"),
4605
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseIcon, { fontSize: size }),
4784
+ label: (0, import_i18n55.__)("Capitalize", "elementor"),
4785
+ renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.LetterCaseIcon, { fontSize: size }),
4606
4786
  showTooltip: true
4607
4787
  },
4608
4788
  {
4609
4789
  value: "uppercase",
4610
- label: (0, import_i18n52.__)("Uppercase", "elementor"),
4611
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseUpperIcon, { fontSize: size }),
4790
+ label: (0, import_i18n55.__)("Uppercase", "elementor"),
4791
+ renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.LetterCaseUpperIcon, { fontSize: size }),
4612
4792
  showTooltip: true
4613
4793
  },
4614
4794
  {
4615
4795
  value: "lowercase",
4616
- label: (0, import_i18n52.__)("Lowercase", "elementor"),
4617
- renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(import_icons20.LetterCaseLowerIcon, { fontSize: size }),
4796
+ label: (0, import_i18n55.__)("Lowercase", "elementor"),
4797
+ renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.LetterCaseLowerIcon, { fontSize: size }),
4618
4798
  showTooltip: true
4619
4799
  }
4620
4800
  ];
4621
- 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 })));
4801
+ var TransformField = () => /* @__PURE__ */ React79.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React79.createElement(import_editor_controls50.ToggleControl, { options: options12 })));
4622
4802
 
4623
4803
  // src/components/style-sections/typography-section/word-spacing-field.tsx
4624
- var React77 = __toESM(require("react"));
4625
- var import_react33 = require("react");
4626
- var import_editor_controls48 = require("@elementor/editor-controls");
4627
- var import_i18n53 = require("@wordpress/i18n");
4628
- var WORD_SPACING_LABEL = (0, import_i18n53.__)("Word spacing", "elementor");
4804
+ var React80 = __toESM(require("react"));
4805
+ var import_react35 = require("react");
4806
+ var import_editor_controls51 = require("@elementor/editor-controls");
4807
+ var import_i18n56 = require("@wordpress/i18n");
4808
+ var WORD_SPACING_LABEL = (0, import_i18n56.__)("Word spacing", "elementor");
4629
4809
  var WordSpacingField = () => {
4630
- const rowRef = (0, import_react33.useRef)(null);
4631
- 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 })));
4810
+ const rowRef = (0, import_react35.useRef)(null);
4811
+ return /* @__PURE__ */ React80.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React80.createElement(import_editor_controls51.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
4632
4812
  };
4633
4813
 
4634
4814
  // src/components/style-sections/typography-section/typography-section.tsx
4635
4815
  var TypographySection = () => {
4636
- 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(
4816
+ return /* @__PURE__ */ React81.createElement(SectionContent, null, /* @__PURE__ */ React81.createElement(FontFamilyField, null), /* @__PURE__ */ React81.createElement(FontWeightField, null), /* @__PURE__ */ React81.createElement(FontSizeField, null), /* @__PURE__ */ React81.createElement(PanelDivider, null), /* @__PURE__ */ React81.createElement(TextAlignmentField, null), /* @__PURE__ */ React81.createElement(TextColorField, null), /* @__PURE__ */ React81.createElement(
4637
4817
  StyleTabCollapsibleContent,
4638
4818
  {
4639
4819
  fields: [
@@ -4648,18 +4828,18 @@ var TypographySection = () => {
4648
4828
  "stroke"
4649
4829
  ]
4650
4830
  },
4651
- /* @__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))
4831
+ /* @__PURE__ */ React81.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React81.createElement(LineHeightField, null), /* @__PURE__ */ React81.createElement(LetterSpacingField, null), /* @__PURE__ */ React81.createElement(WordSpacingField, null), /* @__PURE__ */ React81.createElement(ColumnCountField, null), /* @__PURE__ */ React81.createElement(ColumnGapField, null), /* @__PURE__ */ React81.createElement(PanelDivider, null), /* @__PURE__ */ React81.createElement(TextDecorationField, null), /* @__PURE__ */ React81.createElement(TransformField, null), /* @__PURE__ */ React81.createElement(TextDirectionField, null), /* @__PURE__ */ React81.createElement(FontStyleField, null), /* @__PURE__ */ React81.createElement(TextStrokeField, null))
4652
4832
  ));
4653
4833
  };
4654
4834
 
4655
4835
  // src/components/style-tab-section.tsx
4656
- var React79 = __toESM(require("react"));
4836
+ var React82 = __toESM(require("react"));
4657
4837
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4658
4838
  const { component, name, title, action } = section;
4659
4839
  const tabDefaults = useDefaultPanelSettings();
4660
- const SectionComponent = component || (() => /* @__PURE__ */ React79.createElement(React79.Fragment, null));
4840
+ const SectionComponent = component || (() => /* @__PURE__ */ React82.createElement(React82.Fragment, null));
4661
4841
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
4662
- return /* @__PURE__ */ React79.createElement(
4842
+ return /* @__PURE__ */ React82.createElement(
4663
4843
  Section,
4664
4844
  {
4665
4845
  title,
@@ -4668,7 +4848,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
4668
4848
  unmountOnExit,
4669
4849
  action
4670
4850
  },
4671
- /* @__PURE__ */ React79.createElement(SectionComponent, null)
4851
+ /* @__PURE__ */ React82.createElement(SectionComponent, null)
4672
4852
  );
4673
4853
  };
4674
4854
 
@@ -4685,12 +4865,12 @@ var stickyHeaderStyles = {
4685
4865
  var StyleTab = () => {
4686
4866
  const currentClassesProp = useCurrentClassesProp();
4687
4867
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp ?? "");
4688
- const [activeStyleState, setActiveStyleState] = (0, import_react34.useState)(null);
4868
+ const [activeStyleState, setActiveStyleState] = (0, import_react36.useState)(null);
4689
4869
  const breakpoint = (0, import_editor_responsive3.useActiveBreakpoint)();
4690
4870
  if (!currentClassesProp) {
4691
4871
  return null;
4692
4872
  }
4693
- return /* @__PURE__ */ React80.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React80.createElement(
4873
+ return /* @__PURE__ */ React83.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React83.createElement(
4694
4874
  StyleProvider,
4695
4875
  {
4696
4876
  meta: { breakpoint, state: activeStyleState },
@@ -4701,13 +4881,13 @@ var StyleTab = () => {
4701
4881
  },
4702
4882
  setMetaState: setActiveStyleState
4703
4883
  },
4704
- /* @__PURE__ */ React80.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React80.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React80.createElement(ClassesHeader, null, /* @__PURE__ */ React80.createElement(CssClassSelector, null), /* @__PURE__ */ React80.createElement(import_ui34.Divider, null)), /* @__PURE__ */ React80.createElement(SectionsList, null, /* @__PURE__ */ React80.createElement(
4884
+ /* @__PURE__ */ React83.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React83.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React83.createElement(ClassesHeader, null, /* @__PURE__ */ React83.createElement(CssClassSelector, null), /* @__PURE__ */ React83.createElement(import_ui37.Divider, null)), /* @__PURE__ */ React83.createElement(SectionsList, null, /* @__PURE__ */ React83.createElement(
4705
4885
  StyleTabSection,
4706
4886
  {
4707
4887
  section: {
4708
4888
  component: LayoutSection,
4709
4889
  name: "Layout",
4710
- title: (0, import_i18n54.__)("Layout", "elementor")
4890
+ title: (0, import_i18n57.__)("Layout", "elementor")
4711
4891
  },
4712
4892
  fields: [
4713
4893
  "display",
@@ -4720,23 +4900,23 @@ var StyleTab = () => {
4720
4900
  "gap"
4721
4901
  ]
4722
4902
  }
4723
- ), /* @__PURE__ */ React80.createElement(
4903
+ ), /* @__PURE__ */ React83.createElement(
4724
4904
  StyleTabSection,
4725
4905
  {
4726
4906
  section: {
4727
4907
  component: SpacingSection,
4728
4908
  name: "Spacing",
4729
- title: (0, import_i18n54.__)("Spacing", "elementor")
4909
+ title: (0, import_i18n57.__)("Spacing", "elementor")
4730
4910
  },
4731
4911
  fields: ["margin", "padding"]
4732
4912
  }
4733
- ), /* @__PURE__ */ React80.createElement(
4913
+ ), /* @__PURE__ */ React83.createElement(
4734
4914
  StyleTabSection,
4735
4915
  {
4736
4916
  section: {
4737
4917
  component: SizeSection,
4738
4918
  name: "Size",
4739
- title: (0, import_i18n54.__)("Size", "elementor")
4919
+ title: (0, import_i18n57.__)("Size", "elementor")
4740
4920
  },
4741
4921
  fields: [
4742
4922
  "width",
@@ -4750,23 +4930,23 @@ var StyleTab = () => {
4750
4930
  "object-fit"
4751
4931
  ]
4752
4932
  }
4753
- ), /* @__PURE__ */ React80.createElement(
4933
+ ), /* @__PURE__ */ React83.createElement(
4754
4934
  StyleTabSection,
4755
4935
  {
4756
4936
  section: {
4757
4937
  component: PositionSection,
4758
4938
  name: "Position",
4759
- title: (0, import_i18n54.__)("Position", "elementor")
4939
+ title: (0, import_i18n57.__)("Position", "elementor")
4760
4940
  },
4761
4941
  fields: ["position", "z-index", "scroll-margin-top"]
4762
4942
  }
4763
- ), /* @__PURE__ */ React80.createElement(
4943
+ ), /* @__PURE__ */ React83.createElement(
4764
4944
  StyleTabSection,
4765
4945
  {
4766
4946
  section: {
4767
4947
  component: TypographySection,
4768
4948
  name: "Typography",
4769
- title: (0, import_i18n54.__)("Typography", "elementor")
4949
+ title: (0, import_i18n57.__)("Typography", "elementor")
4770
4950
  },
4771
4951
  fields: [
4772
4952
  "font-family",
@@ -4785,33 +4965,33 @@ var StyleTab = () => {
4785
4965
  "stroke"
4786
4966
  ]
4787
4967
  }
4788
- ), /* @__PURE__ */ React80.createElement(
4968
+ ), /* @__PURE__ */ React83.createElement(
4789
4969
  StyleTabSection,
4790
4970
  {
4791
4971
  section: {
4792
4972
  component: BackgroundSection,
4793
4973
  name: "Background",
4794
- title: (0, import_i18n54.__)("Background", "elementor")
4974
+ title: (0, import_i18n57.__)("Background", "elementor")
4795
4975
  },
4796
4976
  fields: ["background"]
4797
4977
  }
4798
- ), /* @__PURE__ */ React80.createElement(
4978
+ ), /* @__PURE__ */ React83.createElement(
4799
4979
  StyleTabSection,
4800
4980
  {
4801
4981
  section: {
4802
4982
  component: BorderSection,
4803
4983
  name: "Border",
4804
- title: (0, import_i18n54.__)("Border", "elementor")
4984
+ title: (0, import_i18n57.__)("Border", "elementor")
4805
4985
  },
4806
4986
  fields: ["border-radius", "border-width", "border-color", "border-style"]
4807
4987
  }
4808
- ), /* @__PURE__ */ React80.createElement(
4988
+ ), /* @__PURE__ */ React83.createElement(
4809
4989
  StyleTabSection,
4810
4990
  {
4811
4991
  section: {
4812
4992
  component: EffectsSection,
4813
4993
  name: "Effects",
4814
- title: (0, import_i18n54.__)("Effects", "elementor")
4994
+ title: (0, import_i18n57.__)("Effects", "elementor")
4815
4995
  },
4816
4996
  fields: [
4817
4997
  "mix-blend-mode",
@@ -4824,12 +5004,12 @@ var StyleTab = () => {
4824
5004
  "transition"
4825
5005
  ]
4826
5006
  }
4827
- ), /* @__PURE__ */ React80.createElement(StyleTabSlot, null)), /* @__PURE__ */ React80.createElement(import_ui34.Box, { sx: { height: "150px" } })))
5007
+ ), /* @__PURE__ */ React83.createElement(StyleTabSlot, null)), /* @__PURE__ */ React83.createElement(import_ui37.Box, { sx: { height: "150px" } })))
4828
5008
  ));
4829
5009
  };
4830
5010
  function ClassesHeader({ children }) {
4831
5011
  const scrollDirection = useScrollDirection();
4832
- return /* @__PURE__ */ React80.createElement(import_ui34.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5012
+ return /* @__PURE__ */ React83.createElement(import_ui37.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4833
5013
  }
4834
5014
  function useCurrentClassesProp() {
4835
5015
  const { elementType } = useElement();
@@ -4848,20 +5028,20 @@ var EditingPanelTabs = () => {
4848
5028
  return (
4849
5029
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
4850
5030
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
4851
- /* @__PURE__ */ React81.createElement(import_react35.Fragment, { key: element.id }, /* @__PURE__ */ React81.createElement(PanelTabContent, null))
5031
+ /* @__PURE__ */ React84.createElement(import_react37.Fragment, { key: element.id }, /* @__PURE__ */ React84.createElement(PanelTabContent, null))
4852
5032
  );
4853
5033
  };
4854
5034
  var PanelTabContent = () => {
4855
5035
  const { element } = useElement();
4856
5036
  const editorDefaults = useDefaultPanelSettings();
4857
5037
  const defaultComponentTab = editorDefaults.defaultTab;
4858
- const isInteractionsActive = (0, import_editor_v1_adapters7.isExperimentActive)("e_interactions");
5038
+ const isInteractionsActive = (0, import_editor_v1_adapters9.isExperimentActive)("e_interactions");
4859
5039
  const isPromotedElement = !!(0, import_editor_elements12.getWidgetsCache)()?.[element.type]?.meta?.is_pro_promotion;
4860
5040
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
4861
5041
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
4862
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui35.useTabs)(currentTab);
4863
- return /* @__PURE__ */ React81.createElement(ScrollProvider, null, /* @__PURE__ */ React81.createElement(import_ui35.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React81.createElement(import_ui35.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React81.createElement(
4864
- import_ui35.Tabs,
5042
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui38.useTabs)(currentTab);
5043
+ return /* @__PURE__ */ React84.createElement(ScrollProvider, null, /* @__PURE__ */ React84.createElement(import_ui38.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React84.createElement(import_ui38.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React84.createElement(
5044
+ import_ui38.Tabs,
4865
5045
  {
4866
5046
  variant: "fullWidth",
4867
5047
  size: "small",
@@ -4872,10 +5052,10 @@ var PanelTabContent = () => {
4872
5052
  setCurrentTab(newValue);
4873
5053
  }
4874
5054
  },
4875
- !isPromotedElement && /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("General", "elementor"), ...getTabProps("settings") }),
4876
- /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("Style", "elementor"), ...getTabProps("style") }),
4877
- isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui35.Tab, { label: (0, import_i18n55.__)("Interactions", "elementor"), ...getTabProps("interactions") })
4878
- ), /* @__PURE__ */ React81.createElement(import_ui35.Divider, null)), !isPromotedElement && /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React81.createElement(SettingsTab, null)), /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React81.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React81.createElement(import_ui35.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React81.createElement(InteractionsTab, null))));
5055
+ !isPromotedElement && /* @__PURE__ */ React84.createElement(import_ui38.Tab, { label: (0, import_i18n58.__)("General", "elementor"), ...getTabProps("settings") }),
5056
+ /* @__PURE__ */ React84.createElement(import_ui38.Tab, { label: (0, import_i18n58.__)("Style", "elementor"), ...getTabProps("style") }),
5057
+ isInteractionsActive && /* @__PURE__ */ React84.createElement(import_ui38.Tab, { label: (0, import_i18n58.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5058
+ ), /* @__PURE__ */ React84.createElement(import_ui38.Divider, null)), !isPromotedElement && /* @__PURE__ */ React84.createElement(import_ui38.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React84.createElement(SettingsTab, null)), /* @__PURE__ */ React84.createElement(import_ui38.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React84.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React84.createElement(import_ui38.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React84.createElement(InteractionsTab, null))));
4879
5059
  };
4880
5060
 
4881
5061
  // src/components/editing-panel.tsx
@@ -4883,28 +5063,28 @@ var { Slot: PanelHeaderTopSlot, inject: injectIntoPanelHeaderTop } = (0, import_
4883
5063
  var { useMenuItems } = import_menus.controlActionsMenu;
4884
5064
  var EditingPanel = () => {
4885
5065
  const { element, elementType, settings } = (0, import_editor_elements13.useSelectedElementSettings)();
4886
- const controlReplacements = (0, import_editor_controls49.getControlReplacements)();
5066
+ const controlReplacements = (0, import_editor_controls52.getControlReplacements)();
4887
5067
  const menuItems = useMenuItems().default;
4888
5068
  if (!element || !elementType) {
4889
5069
  return null;
4890
5070
  }
4891
- const panelTitle = (0, import_i18n56.__)("Edit %s", "elementor").replace("%s", elementType.title);
5071
+ const panelTitle = (0, import_i18n59.__)("Edit %s", "elementor").replace("%s", elementType.title);
4892
5072
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
4893
- 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)));
5073
+ let panelContent = /* @__PURE__ */ React85.createElement(React85.Fragment, null, /* @__PURE__ */ React85.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React85.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React85.createElement(import_icons23.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React85.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React85.createElement(EditingPanelTabs, null)));
4894
5074
  if (ReplacementComponent) {
4895
- panelContent = /* @__PURE__ */ React82.createElement(ReplacementComponent, null);
5075
+ panelContent = /* @__PURE__ */ React85.createElement(ReplacementComponent, null);
4896
5076
  }
4897
- return /* @__PURE__ */ React82.createElement(import_ui36.ErrorBoundary, { fallback: /* @__PURE__ */ React82.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React82.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React82.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React82.createElement(import_editor_controls49.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React82.createElement(import_editor_controls49.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React82.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React82.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React82.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5077
+ return /* @__PURE__ */ React85.createElement(import_ui39.ErrorBoundary, { fallback: /* @__PURE__ */ React85.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React85.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React85.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React85.createElement(import_editor_controls52.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React85.createElement(import_editor_controls52.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React85.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React85.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React85.createElement(PanelHeaderTopSlot, null), panelContent)))))));
4898
5078
  };
4899
5079
 
4900
5080
  // src/init.ts
4901
5081
  var import_editor = require("@elementor/editor");
4902
5082
  var import_editor_panels3 = require("@elementor/editor-panels");
4903
- var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
5083
+ var import_editor_v1_adapters13 = require("@elementor/editor-v1-adapters");
4904
5084
 
4905
5085
  // src/hooks/use-open-editor-panel.ts
4906
- var import_react36 = require("react");
4907
- var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
5086
+ var import_react38 = require("react");
5087
+ var import_editor_v1_adapters10 = require("@elementor/editor-v1-adapters");
4908
5088
 
4909
5089
  // src/panel.ts
4910
5090
  var import_editor_panels2 = require("@elementor/editor-panels");
@@ -4927,8 +5107,8 @@ var isAtomicWidgetSelected = () => {
4927
5107
  // src/hooks/use-open-editor-panel.ts
4928
5108
  var useOpenEditorPanel = () => {
4929
5109
  const { open } = usePanelActions();
4930
- (0, import_react36.useEffect)(() => {
4931
- return (0, import_editor_v1_adapters8.__privateListenTo)((0, import_editor_v1_adapters8.commandStartEvent)("panel/editor/open"), () => {
5110
+ (0, import_react38.useEffect)(() => {
5111
+ return (0, import_editor_v1_adapters10.__privateListenTo)((0, import_editor_v1_adapters10.commandStartEvent)("panel/editor/open"), () => {
4932
5112
  if (isAtomicWidgetSelected()) {
4933
5113
  open();
4934
5114
  }
@@ -4943,24 +5123,24 @@ var EditingPanelHooks = () => {
4943
5123
  };
4944
5124
 
4945
5125
  // src/components/promotions/init.tsx
4946
- var import_editor_controls51 = require("@elementor/editor-controls");
5126
+ var import_editor_controls54 = require("@elementor/editor-controls");
4947
5127
 
4948
5128
  // src/components/promotions/custom-css.tsx
4949
- var React83 = __toESM(require("react"));
4950
- var import_react37 = require("react");
4951
- var import_editor_controls50 = require("@elementor/editor-controls");
4952
- var import_i18n57 = require("@wordpress/i18n");
5129
+ var React86 = __toESM(require("react"));
5130
+ var import_react39 = require("react");
5131
+ var import_editor_controls53 = require("@elementor/editor-controls");
5132
+ var import_i18n60 = require("@wordpress/i18n");
4953
5133
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
4954
5134
  var CustomCssSection = () => {
4955
- const triggerRef = (0, import_react37.useRef)(null);
4956
- return /* @__PURE__ */ React83.createElement(
5135
+ const triggerRef = (0, import_react39.useRef)(null);
5136
+ return /* @__PURE__ */ React86.createElement(
4957
5137
  StyleTabSection,
4958
5138
  {
4959
5139
  section: {
4960
5140
  name: "Custom CSS",
4961
- title: (0, import_i18n57.__)("Custom CSS", "elementor"),
5141
+ title: (0, import_i18n60.__)("Custom CSS", "elementor"),
4962
5142
  action: {
4963
- component: /* @__PURE__ */ React83.createElement(import_editor_controls50.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5143
+ component: /* @__PURE__ */ React86.createElement(import_editor_controls53.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
4964
5144
  onClick: () => triggerRef.current?.toggle()
4965
5145
  }
4966
5146
  }
@@ -4976,19 +5156,19 @@ var init = () => {
4976
5156
  options: { overwrite: true }
4977
5157
  });
4978
5158
  if (!window.elementorPro) {
4979
- controlsRegistry.register("attributes", import_editor_controls51.AttributesControl, "two-columns");
4980
- controlsRegistry.register("display-conditions", import_editor_controls51.DisplayConditionsControl, "two-columns");
5159
+ controlsRegistry.register("attributes", import_editor_controls54.AttributesControl, "two-columns");
5160
+ controlsRegistry.register("display-conditions", import_editor_controls54.DisplayConditionsControl, "two-columns");
4981
5161
  }
4982
5162
  };
4983
5163
 
4984
5164
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
4985
- var React84 = __toESM(require("react"));
4986
- var import_editor_controls53 = require("@elementor/editor-controls");
5165
+ var React87 = __toESM(require("react"));
5166
+ var import_editor_controls56 = require("@elementor/editor-controls");
4987
5167
  var import_editor_elements17 = require("@elementor/editor-elements");
4988
5168
  var import_editor_props16 = require("@elementor/editor-props");
4989
- var import_icons22 = require("@elementor/icons");
4990
- var import_ui37 = require("@elementor/ui");
4991
- var import_i18n59 = require("@wordpress/i18n");
5169
+ var import_icons24 = require("@elementor/icons");
5170
+ var import_ui40 = require("@elementor/ui");
5171
+ var import_i18n62 = require("@wordpress/i18n");
4992
5172
 
4993
5173
  // src/controls-registry/element-controls/get-element-by-type.ts
4994
5174
  var import_editor_elements15 = require("@elementor/editor-elements");
@@ -5004,14 +5184,14 @@ var getElementByType = (elementId, type) => {
5004
5184
  };
5005
5185
 
5006
5186
  // src/controls-registry/element-controls/tabs-control/use-actions.ts
5007
- var import_editor_controls52 = require("@elementor/editor-controls");
5187
+ var import_editor_controls55 = require("@elementor/editor-controls");
5008
5188
  var import_editor_elements16 = require("@elementor/editor-elements");
5009
5189
  var import_editor_props15 = require("@elementor/editor-props");
5010
- var import_i18n58 = require("@wordpress/i18n");
5190
+ var import_i18n61 = require("@wordpress/i18n");
5011
5191
  var TAB_ELEMENT_TYPE = "e-tab";
5012
5192
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
5013
5193
  var useActions = () => {
5014
- const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls52.useBoundProp)(import_editor_props15.numberPropTypeUtil);
5194
+ const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls55.useBoundProp)(import_editor_props15.numberPropTypeUtil);
5015
5195
  const defaultActiveTab = value ?? 0;
5016
5196
  const duplicateItem = ({
5017
5197
  items: items3,
@@ -5030,7 +5210,7 @@ var useActions = () => {
5030
5210
  }
5031
5211
  (0, import_editor_elements16.duplicateElements)({
5032
5212
  elementIds: [tabId, tabContentId],
5033
- title: (0, import_i18n58.__)("Duplicate Tab", "elementor"),
5213
+ title: (0, import_i18n61.__)("Duplicate Tab", "elementor"),
5034
5214
  onDuplicateElements: () => {
5035
5215
  if (newDefault !== defaultActiveTab) {
5036
5216
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -5067,7 +5247,7 @@ var useActions = () => {
5067
5247
  defaultActiveTab
5068
5248
  });
5069
5249
  (0, import_editor_elements16.moveElements)({
5070
- title: (0, import_i18n58.__)("Reorder Tabs", "elementor"),
5250
+ title: (0, import_i18n61.__)("Reorder Tabs", "elementor"),
5071
5251
  moves: [
5072
5252
  {
5073
5253
  element: movedElement,
@@ -5101,7 +5281,7 @@ var useActions = () => {
5101
5281
  defaultActiveTab
5102
5282
  });
5103
5283
  (0, import_editor_elements16.removeElements)({
5104
- title: (0, import_i18n58.__)("Tabs", "elementor"),
5284
+ title: (0, import_i18n61.__)("Tabs", "elementor"),
5105
5285
  elementIds: items3.flatMap(({ item, index }) => {
5106
5286
  const tabId = item.id;
5107
5287
  const tabContentContainer = (0, import_editor_elements16.getContainer)(tabContentAreaId);
@@ -5136,7 +5316,7 @@ var useActions = () => {
5136
5316
  items3.forEach(({ index }) => {
5137
5317
  const position = index + 1;
5138
5318
  (0, import_editor_elements16.createElements)({
5139
- title: (0, import_i18n58.__)("Tabs", "elementor"),
5319
+ title: (0, import_i18n61.__)("Tabs", "elementor"),
5140
5320
  elements: [
5141
5321
  {
5142
5322
  container: tabContentArea,
@@ -5205,7 +5385,7 @@ var calculateDefaultOnDuplicate = ({
5205
5385
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5206
5386
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5207
5387
  var TabsControl = ({ label }) => {
5208
- return /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(TabsControlContent, { label }));
5388
+ return /* @__PURE__ */ React87.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n62.__)("Tabs", "elementor") }, /* @__PURE__ */ React87.createElement(TabsControlContent, { label }));
5209
5389
  };
5210
5390
  var TabsControlContent = ({ label }) => {
5211
5391
  const { element } = useElement();
@@ -5249,8 +5429,8 @@ var TabsControlContent = ({ label }) => {
5249
5429
  });
5250
5430
  }
5251
5431
  };
5252
- return /* @__PURE__ */ React84.createElement(
5253
- import_editor_controls53.Repeater,
5432
+ return /* @__PURE__ */ React87.createElement(
5433
+ import_editor_controls56.Repeater,
5254
5434
  {
5255
5435
  showToggle: false,
5256
5436
  values: repeaterValues,
@@ -5269,27 +5449,27 @@ var TabsControlContent = ({ label }) => {
5269
5449
  };
5270
5450
  var ItemLabel = ({ value, index }) => {
5271
5451
  const elementTitle = value?.title;
5272
- return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React84.createElement("span", null, elementTitle), /* @__PURE__ */ React84.createElement(ItemDefaultTab, { index }));
5452
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React87.createElement("span", null, elementTitle), /* @__PURE__ */ React87.createElement(ItemDefaultTab, { index }));
5273
5453
  };
5274
5454
  var ItemDefaultTab = ({ index }) => {
5275
- const { value: defaultItem } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5455
+ const { value: defaultItem } = (0, import_editor_controls56.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5276
5456
  const isDefault = defaultItem === index;
5277
5457
  if (!isDefault) {
5278
5458
  return null;
5279
5459
  }
5280
- return /* @__PURE__ */ React84.createElement(import_ui37.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n59.__)("Default", "elementor") });
5460
+ return /* @__PURE__ */ React87.createElement(import_ui40.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n62.__)("Default", "elementor") });
5281
5461
  };
5282
5462
  var ItemContent = ({ value, index }) => {
5283
5463
  if (!value.id) {
5284
5464
  return null;
5285
5465
  }
5286
- return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React84.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React84.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n59.__)("Tabs", "elementor") }, /* @__PURE__ */ React84.createElement(DefaultTabControl, { tabIndex: index })));
5466
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React87.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React87.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n62.__)("Tabs", "elementor") }, /* @__PURE__ */ React87.createElement(DefaultTabControl, { tabIndex: index })));
5287
5467
  };
5288
5468
  var DefaultTabControl = ({ tabIndex }) => {
5289
- const { value, setValue } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5469
+ const { value, setValue } = (0, import_editor_controls56.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5290
5470
  const isDefault = value === tabIndex;
5291
- return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Set as default tab", "elementor")), /* @__PURE__ */ React84.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React84.createElement(
5292
- import_ui37.Switch,
5471
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React87.createElement(import_editor_controls56.ControlFormLabel, null, (0, import_i18n62.__)("Set as default tab", "elementor")), /* @__PURE__ */ React87.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React87.createElement(
5472
+ import_ui40.Switch,
5293
5473
  {
5294
5474
  size: "small",
5295
5475
  checked: isDefault,
@@ -5306,8 +5486,8 @@ var DefaultTabControl = ({ tabIndex }) => {
5306
5486
  var TabLabelControl = ({ elementId }) => {
5307
5487
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5308
5488
  const label = editorSettings?.title ?? "";
5309
- return /* @__PURE__ */ React84.createElement(import_ui37.Stack, { gap: 1 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n59.__)("Tab name", "elementor")), /* @__PURE__ */ React84.createElement(
5310
- import_ui37.TextField,
5489
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { gap: 1 }, /* @__PURE__ */ React87.createElement(import_editor_controls56.ControlFormLabel, null, (0, import_i18n62.__)("Tab name", "elementor")), /* @__PURE__ */ React87.createElement(
5490
+ import_ui40.TextField,
5311
5491
  {
5312
5492
  size: "tiny",
5313
5493
  value: label,
@@ -5327,22 +5507,22 @@ var ConditionalTooltip = ({
5327
5507
  if (!showTooltip) {
5328
5508
  return children;
5329
5509
  }
5330
- return /* @__PURE__ */ React84.createElement(
5331
- import_ui37.Infotip,
5510
+ return /* @__PURE__ */ React87.createElement(
5511
+ import_ui40.Infotip,
5332
5512
  {
5333
5513
  arrow: false,
5334
- content: /* @__PURE__ */ React84.createElement(
5335
- import_ui37.Alert,
5514
+ content: /* @__PURE__ */ React87.createElement(
5515
+ import_ui40.Alert,
5336
5516
  {
5337
5517
  color: "secondary",
5338
- icon: /* @__PURE__ */ React84.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5518
+ icon: /* @__PURE__ */ React87.createElement(import_icons24.InfoCircleFilledIcon, { fontSize: "tiny" }),
5339
5519
  size: "small",
5340
5520
  sx: { width: 288 }
5341
5521
  },
5342
- /* @__PURE__ */ React84.createElement(import_ui37.Typography, { variant: "body2" }, (0, import_i18n59.__)("To change the default tab, simply set another tab as default.", "elementor"))
5522
+ /* @__PURE__ */ React87.createElement(import_ui40.Typography, { variant: "body2" }, (0, import_i18n62.__)("To change the default tab, simply set another tab as default.", "elementor"))
5343
5523
  )
5344
5524
  },
5345
- /* @__PURE__ */ React84.createElement("span", null, children)
5525
+ /* @__PURE__ */ React87.createElement("span", null, children)
5346
5526
  );
5347
5527
  };
5348
5528
 
@@ -5360,27 +5540,27 @@ var registerElementControls = () => {
5360
5540
 
5361
5541
  // src/dynamics/init.ts
5362
5542
  var import_editor_canvas3 = require("@elementor/editor-canvas");
5363
- var import_editor_controls60 = require("@elementor/editor-controls");
5543
+ var import_editor_controls63 = require("@elementor/editor-controls");
5364
5544
  var import_menus2 = require("@elementor/menus");
5365
5545
 
5366
5546
  // src/dynamics/components/background-control-dynamic-tag.tsx
5367
- var React85 = __toESM(require("react"));
5368
- var import_editor_controls55 = require("@elementor/editor-controls");
5547
+ var React88 = __toESM(require("react"));
5548
+ var import_editor_controls58 = require("@elementor/editor-controls");
5369
5549
  var import_editor_props18 = require("@elementor/editor-props");
5370
- var import_icons23 = require("@elementor/icons");
5550
+ var import_icons25 = require("@elementor/icons");
5371
5551
 
5372
5552
  // src/dynamics/hooks/use-dynamic-tag.ts
5373
- var import_react40 = require("react");
5553
+ var import_react42 = require("react");
5374
5554
 
5375
5555
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
5376
- var import_react39 = require("react");
5377
- var import_editor_controls54 = require("@elementor/editor-controls");
5556
+ var import_react41 = require("react");
5557
+ var import_editor_controls57 = require("@elementor/editor-controls");
5378
5558
 
5379
5559
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
5380
- var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
5560
+ var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
5381
5561
 
5382
5562
  // src/hooks/use-license-config.ts
5383
- var import_react38 = require("react");
5563
+ var import_react40 = require("react");
5384
5564
  var config = { expired: false };
5385
5565
  var listeners = /* @__PURE__ */ new Set();
5386
5566
  function setLicenseConfig(newConfig) {
@@ -5395,12 +5575,12 @@ function subscribe(listener) {
5395
5575
  return () => listeners.delete(listener);
5396
5576
  }
5397
5577
  function useLicenseConfig() {
5398
- return (0, import_react38.useSyncExternalStore)(subscribe, getLicenseConfig, getLicenseConfig);
5578
+ return (0, import_react40.useSyncExternalStore)(subscribe, getLicenseConfig, getLicenseConfig);
5399
5579
  }
5400
5580
 
5401
5581
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
5402
5582
  var getAtomicDynamicTags = (shouldFilterByLicense = true) => {
5403
- const { atomicDynamicTags } = (0, import_editor_v1_adapters9.getElementorConfig)();
5583
+ const { atomicDynamicTags } = (0, import_editor_v1_adapters11.getElementorConfig)();
5404
5584
  if (!atomicDynamicTags) {
5405
5585
  return null;
5406
5586
  }
@@ -5423,7 +5603,7 @@ var filterByLicense = (tags) => {
5423
5603
 
5424
5604
  // src/dynamics/utils.ts
5425
5605
  var import_editor_props17 = require("@elementor/editor-props");
5426
- var import_editor_v1_adapters10 = require("@elementor/editor-v1-adapters");
5606
+ var import_editor_v1_adapters12 = require("@elementor/editor-v1-adapters");
5427
5607
  var import_schema = require("@elementor/schema");
5428
5608
  var DYNAMIC_PROP_TYPE_KEY = "dynamic";
5429
5609
  var dynamicPropTypeUtil = (0, import_editor_props17.createPropUtils)(
@@ -5435,7 +5615,7 @@ var dynamicPropTypeUtil = (0, import_editor_props17.createPropUtils)(
5435
5615
  })
5436
5616
  );
5437
5617
  var isDynamicTagSupported = (tagName) => {
5438
- return !!(0, import_editor_v1_adapters10.getElementorConfig)()?.atomicDynamicTags?.tags?.[tagName];
5618
+ return !!(0, import_editor_v1_adapters12.getElementorConfig)()?.atomicDynamicTags?.tags?.[tagName];
5439
5619
  };
5440
5620
  var isDynamicPropType = (prop) => prop.key === DYNAMIC_PROP_TYPE_KEY;
5441
5621
  var getDynamicPropType = (propType) => {
@@ -5458,13 +5638,13 @@ var useAllPropDynamicTags = () => {
5458
5638
  };
5459
5639
  var usePropDynamicTagsInternal = (filterByLicense2) => {
5460
5640
  let categories = [];
5461
- const { propType } = (0, import_editor_controls54.useBoundProp)();
5641
+ const { propType } = (0, import_editor_controls57.useBoundProp)();
5462
5642
  if (propType) {
5463
5643
  const propDynamicType = getDynamicPropType(propType);
5464
5644
  categories = propDynamicType?.settings.categories || [];
5465
5645
  }
5466
5646
  const categoriesKey = categories.join();
5467
- return (0, import_react39.useMemo)(
5647
+ return (0, import_react41.useMemo)(
5468
5648
  () => getDynamicTagsByCategories(categories, filterByLicense2),
5469
5649
  // eslint-disable-next-line react-hooks/exhaustive-deps
5470
5650
  [categoriesKey, filterByLicense2]
@@ -5498,33 +5678,33 @@ var getDynamicTagsByCategories = (categories, filterByLicense2) => {
5498
5678
  // src/dynamics/hooks/use-dynamic-tag.ts
5499
5679
  var useDynamicTag = (tagName) => {
5500
5680
  const dynamicTags = useAllPropDynamicTags();
5501
- return (0, import_react40.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
5681
+ return (0, import_react42.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
5502
5682
  };
5503
5683
 
5504
5684
  // src/dynamics/components/background-control-dynamic-tag.tsx
5505
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React85.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5685
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React88.createElement(import_icons25.DatabaseIcon, { fontSize: "tiny" });
5506
5686
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5507
- const context = (0, import_editor_controls55.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5508
- 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 })));
5687
+ const context = (0, import_editor_controls58.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5688
+ return /* @__PURE__ */ React88.createElement(import_editor_controls58.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React88.createElement(import_editor_controls58.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React88.createElement(Wrapper2, { rawValue: value.value })));
5509
5689
  };
5510
5690
  var Wrapper2 = ({ rawValue }) => {
5511
- const { propType } = (0, import_editor_controls55.useBoundProp)();
5691
+ const { propType } = (0, import_editor_controls58.useBoundProp)();
5512
5692
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
5513
- 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 })));
5693
+ return /* @__PURE__ */ React88.createElement(import_editor_controls58.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React88.createElement(import_editor_controls58.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React88.createElement(Content, { rawValue: rawValue.image })));
5514
5694
  };
5515
5695
  var Content = ({ rawValue }) => {
5516
5696
  const src = rawValue.value.src;
5517
5697
  const dynamicTag = useDynamicTag(src.value.name || "");
5518
- return /* @__PURE__ */ React85.createElement(React85.Fragment, null, dynamicTag?.label);
5698
+ return /* @__PURE__ */ React88.createElement(React88.Fragment, null, dynamicTag?.label);
5519
5699
  };
5520
5700
 
5521
5701
  // src/dynamics/components/dynamic-selection-control.tsx
5522
- var React89 = __toESM(require("react"));
5523
- var import_editor_controls58 = require("@elementor/editor-controls");
5702
+ var React92 = __toESM(require("react"));
5703
+ var import_editor_controls61 = require("@elementor/editor-controls");
5524
5704
  var import_editor_ui10 = require("@elementor/editor-ui");
5525
- var import_icons25 = require("@elementor/icons");
5526
- var import_ui39 = require("@elementor/ui");
5527
- var import_i18n61 = require("@wordpress/i18n");
5705
+ var import_icons27 = require("@elementor/icons");
5706
+ var import_ui42 = require("@elementor/ui");
5707
+ var import_i18n64 = require("@wordpress/i18n");
5528
5708
 
5529
5709
  // src/hooks/use-persist-dynamic-value.ts
5530
5710
  var import_session10 = require("@elementor/session");
@@ -5535,12 +5715,12 @@ var usePersistDynamicValue = (propKey) => {
5535
5715
  };
5536
5716
 
5537
5717
  // src/dynamics/dynamic-control.tsx
5538
- var React87 = __toESM(require("react"));
5539
- var import_editor_controls56 = require("@elementor/editor-controls");
5718
+ var React90 = __toESM(require("react"));
5719
+ var import_editor_controls59 = require("@elementor/editor-controls");
5540
5720
 
5541
5721
  // src/dynamics/components/dynamic-conditional-control.tsx
5542
- var React86 = __toESM(require("react"));
5543
- var import_react41 = require("react");
5722
+ var React89 = __toESM(require("react"));
5723
+ var import_react43 = require("react");
5544
5724
  var import_editor_props19 = require("@elementor/editor-props");
5545
5725
  var DynamicConditionalControl = ({
5546
5726
  children,
@@ -5548,7 +5728,7 @@ var DynamicConditionalControl = ({
5548
5728
  propsSchema,
5549
5729
  dynamicSettings
5550
5730
  }) => {
5551
- const defaults = (0, import_react41.useMemo)(() => {
5731
+ const defaults = (0, import_react43.useMemo)(() => {
5552
5732
  if (!propsSchema) {
5553
5733
  return {};
5554
5734
  }
@@ -5558,7 +5738,7 @@ var DynamicConditionalControl = ({
5558
5738
  return result;
5559
5739
  }, {});
5560
5740
  }, [propsSchema]);
5561
- const convertedSettings = (0, import_react41.useMemo)(() => {
5741
+ const convertedSettings = (0, import_react43.useMemo)(() => {
5562
5742
  if (!dynamicSettings) {
5563
5743
  return {};
5564
5744
  }
@@ -5577,19 +5757,19 @@ var DynamicConditionalControl = ({
5577
5757
  {}
5578
5758
  );
5579
5759
  }, [dynamicSettings]);
5580
- const effectiveSettings = (0, import_react41.useMemo)(() => {
5760
+ const effectiveSettings = (0, import_react43.useMemo)(() => {
5581
5761
  return { ...defaults, ...convertedSettings };
5582
5762
  }, [defaults, convertedSettings]);
5583
5763
  if (!propType?.dependencies?.terms.length) {
5584
- return /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5764
+ return /* @__PURE__ */ React89.createElement(React89.Fragment, null, children);
5585
5765
  }
5586
5766
  const isHidden = !(0, import_editor_props19.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
5587
- return isHidden ? null : /* @__PURE__ */ React86.createElement(React86.Fragment, null, children);
5767
+ return isHidden ? null : /* @__PURE__ */ React89.createElement(React89.Fragment, null, children);
5588
5768
  };
5589
5769
 
5590
5770
  // src/dynamics/dynamic-control.tsx
5591
5771
  var DynamicControl = ({ bind, children }) => {
5592
- const { value, setValue } = (0, import_editor_controls56.useBoundProp)(dynamicPropTypeUtil);
5772
+ const { value, setValue } = (0, import_editor_controls59.useBoundProp)(dynamicPropTypeUtil);
5593
5773
  const { name = "", group = "", settings } = value ?? {};
5594
5774
  const dynamicTag = useDynamicTag(name);
5595
5775
  if (!dynamicTag) {
@@ -5609,7 +5789,7 @@ var DynamicControl = ({ bind, children }) => {
5609
5789
  });
5610
5790
  };
5611
5791
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
5612
- 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(
5792
+ return /* @__PURE__ */ React90.createElement(import_editor_controls59.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React90.createElement(import_editor_controls59.PropKeyProvider, { bind }, /* @__PURE__ */ React90.createElement(
5613
5793
  DynamicConditionalControl,
5614
5794
  {
5615
5795
  propType: dynamicPropType,
@@ -5621,32 +5801,32 @@ var DynamicControl = ({ bind, children }) => {
5621
5801
  };
5622
5802
 
5623
5803
  // src/dynamics/components/dynamic-selection.tsx
5624
- var React88 = __toESM(require("react"));
5625
- var import_react42 = require("react");
5626
- var import_editor_controls57 = require("@elementor/editor-controls");
5804
+ var React91 = __toESM(require("react"));
5805
+ var import_react44 = require("react");
5806
+ var import_editor_controls60 = require("@elementor/editor-controls");
5627
5807
  var import_editor_ui9 = require("@elementor/editor-ui");
5628
- var import_icons24 = require("@elementor/icons");
5629
- var import_ui38 = require("@elementor/ui");
5630
- var import_i18n60 = require("@wordpress/i18n");
5808
+ var import_icons26 = require("@elementor/icons");
5809
+ var import_ui41 = require("@elementor/ui");
5810
+ var import_i18n63 = require("@wordpress/i18n");
5631
5811
  var SIZE2 = "tiny";
5632
5812
  var PROMO_TEXT_WIDTH = 170;
5633
5813
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
5634
5814
  var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew-modal/";
5635
5815
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
5636
- const [searchValue, setSearchValue] = (0, import_react42.useState)("");
5816
+ const [searchValue, setSearchValue] = (0, import_react44.useState)("");
5637
5817
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
5638
- const theme = (0, import_ui38.useTheme)();
5639
- const { value: anyValue } = (0, import_editor_controls57.useBoundProp)();
5640
- const { bind, value: dynamicValue, setValue } = (0, import_editor_controls57.useBoundProp)(dynamicPropTypeUtil);
5818
+ const theme = (0, import_ui41.useTheme)();
5819
+ const { value: anyValue } = (0, import_editor_controls60.useBoundProp)();
5820
+ const { bind, value: dynamicValue, setValue } = (0, import_editor_controls60.useBoundProp)(dynamicPropTypeUtil);
5641
5821
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
5642
5822
  const isCurrentValueDynamic = !!dynamicValue;
5643
- const options12 = useFilteredOptions(searchValue);
5644
- const hasNoDynamicTags = !options12.length && !searchValue.trim();
5645
- (0, import_react42.useEffect)(() => {
5823
+ const options13 = useFilteredOptions(searchValue);
5824
+ const hasNoDynamicTags = !options13.length && !searchValue.trim();
5825
+ (0, import_react44.useEffect)(() => {
5646
5826
  if (hasNoDynamicTags) {
5647
- (0, import_editor_controls57.trackViewPromotion)({ target_name: "dynamic_tags" });
5827
+ (0, import_editor_controls60.trackViewPromotion)({ target_name: "dynamic_tags" });
5648
5828
  } else if (expired) {
5649
- (0, import_editor_controls57.trackViewPromotion)({ target_name: "dynamic_tags" });
5829
+ (0, import_editor_controls60.trackViewPromotion)({ target_name: "dynamic_tags" });
5650
5830
  }
5651
5831
  }, [hasNoDynamicTags, expired]);
5652
5832
  const handleSearch = (value) => {
@@ -5656,11 +5836,11 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5656
5836
  if (!isCurrentValueDynamic) {
5657
5837
  updatePropValueHistory(anyValue);
5658
5838
  }
5659
- const selectedOption = options12.flatMap(([, items3]) => items3).find((item) => item.value === value);
5839
+ const selectedOption = options13.flatMap(([, items3]) => items3).find((item) => item.value === value);
5660
5840
  setValue({ name: value, group: selectedOption?.group ?? "", settings: { label: selectedOption?.label } });
5661
5841
  closePopover();
5662
5842
  };
5663
- const virtualizedItems = options12.flatMap(([category, items3]) => [
5843
+ const virtualizedItems = options13.flatMap(([category, items3]) => [
5664
5844
  {
5665
5845
  type: "category",
5666
5846
  value: category,
@@ -5674,19 +5854,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5674
5854
  ]);
5675
5855
  const getPopOverContent = () => {
5676
5856
  if (hasNoDynamicTags) {
5677
- return /* @__PURE__ */ React88.createElement(NoDynamicTags, null);
5857
+ return /* @__PURE__ */ React91.createElement(NoDynamicTags, null);
5678
5858
  }
5679
5859
  if (expired) {
5680
- return /* @__PURE__ */ React88.createElement(ExpiredDynamicTags, null);
5860
+ return /* @__PURE__ */ React91.createElement(ExpiredDynamicTags, null);
5681
5861
  }
5682
- return /* @__PURE__ */ React88.createElement(import_react42.Fragment, null, /* @__PURE__ */ React88.createElement(
5862
+ return /* @__PURE__ */ React91.createElement(import_react44.Fragment, null, /* @__PURE__ */ React91.createElement(
5683
5863
  import_editor_ui9.SearchField,
5684
5864
  {
5685
5865
  value: searchValue,
5686
5866
  onSearch: handleSearch,
5687
- placeholder: (0, import_i18n60.__)("Search dynamic tags\u2026", "elementor")
5867
+ placeholder: (0, import_i18n63.__)("Search dynamic tags\u2026", "elementor")
5688
5868
  }
5689
- ), /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5869
+ ), /* @__PURE__ */ React91.createElement(import_ui41.Divider, null), /* @__PURE__ */ React91.createElement(
5690
5870
  import_editor_ui9.PopoverMenuList,
5691
5871
  {
5692
5872
  items: virtualizedItems,
@@ -5694,21 +5874,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
5694
5874
  onClose: closePopover,
5695
5875
  selectedValue: dynamicValue?.name,
5696
5876
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
5697
- noResultsComponent: /* @__PURE__ */ React88.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5877
+ noResultsComponent: /* @__PURE__ */ React91.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
5698
5878
  }
5699
5879
  ));
5700
5880
  };
5701
- return /* @__PURE__ */ React88.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n60.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React88.createElement(
5881
+ return /* @__PURE__ */ React91.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n63.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React91.createElement(
5702
5882
  import_editor_ui9.PopoverHeader,
5703
5883
  {
5704
- title: (0, import_i18n60.__)("Dynamic tags", "elementor"),
5884
+ title: (0, import_i18n63.__)("Dynamic tags", "elementor"),
5705
5885
  onClose: closePopover,
5706
- icon: /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE2 })
5886
+ icon: /* @__PURE__ */ React91.createElement(import_icons26.DatabaseIcon, { fontSize: SIZE2 })
5707
5887
  }
5708
5888
  ), getPopOverContent());
5709
5889
  };
5710
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElement(
5711
- import_ui38.Stack,
5890
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React91.createElement(
5891
+ import_ui41.Stack,
5712
5892
  {
5713
5893
  gap: 1,
5714
5894
  alignItems: "center",
@@ -5718,12 +5898,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React88.createElem
5718
5898
  color: "text.secondary",
5719
5899
  sx: { pb: 3.5 }
5720
5900
  },
5721
- /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5722
- /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React88.createElement("br", null), "\u201C", searchValue, "\u201D."),
5723
- /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n60.__)("Try something else.", "elementor"), /* @__PURE__ */ React88.createElement(import_ui38.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n60.__)("Clear & try again", "elementor")))
5901
+ /* @__PURE__ */ React91.createElement(import_icons26.DatabaseIcon, { fontSize: "large" }),
5902
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n63.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React91.createElement("br", null), "\u201C", searchValue, "\u201D."),
5903
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n63.__)("Try something else.", "elementor"), /* @__PURE__ */ React91.createElement(import_ui41.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n63.__)("Clear & try again", "elementor")))
5724
5904
  );
5725
- var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5726
- import_ui38.Stack,
5905
+ var NoDynamicTags = () => /* @__PURE__ */ React91.createElement(React91.Fragment, null, /* @__PURE__ */ React91.createElement(import_ui41.Divider, null), /* @__PURE__ */ React91.createElement(
5906
+ import_ui41.Stack,
5727
5907
  {
5728
5908
  gap: 1,
5729
5909
  alignItems: "center",
@@ -5733,20 +5913,20 @@ var NoDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment
5733
5913
  color: "text.secondary",
5734
5914
  sx: { pb: 3.5 }
5735
5915
  },
5736
- /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5737
- /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Streamline your workflow with dynamic tags", "elementor")),
5738
- /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Upgrade now to display your content dynamically.", "elementor")),
5739
- /* @__PURE__ */ React88.createElement(
5916
+ /* @__PURE__ */ React91.createElement(import_icons26.DatabaseIcon, { fontSize: "large" }),
5917
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n63.__)("Streamline your workflow with dynamic tags", "elementor")),
5918
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n63.__)("Upgrade now to display your content dynamically.", "elementor")),
5919
+ /* @__PURE__ */ React91.createElement(
5740
5920
  import_editor_ui9.CtaButton,
5741
5921
  {
5742
5922
  size: "small",
5743
5923
  href: PRO_DYNAMIC_TAGS_URL,
5744
- onClick: () => (0, import_editor_controls57.trackUpgradePromotionClick)({ target_name: "dynamic_tags" })
5924
+ onClick: () => (0, import_editor_controls60.trackUpgradePromotionClick)({ target_name: "dynamic_tags" })
5745
5925
  }
5746
5926
  )
5747
5927
  ));
5748
- var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fragment, null, /* @__PURE__ */ React88.createElement(import_ui38.Divider, null), /* @__PURE__ */ React88.createElement(
5749
- import_ui38.Stack,
5928
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React91.createElement(React91.Fragment, null, /* @__PURE__ */ React91.createElement(import_ui41.Divider, null), /* @__PURE__ */ React91.createElement(
5929
+ import_ui41.Stack,
5750
5930
  {
5751
5931
  gap: 1,
5752
5932
  alignItems: "center",
@@ -5756,22 +5936,22 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React88.createElement(React88.Fra
5756
5936
  color: "text.secondary",
5757
5937
  sx: { pb: 3.5 }
5758
5938
  },
5759
- /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5760
- /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n60.__)("Unlock your Dynamic tags again", "elementor")),
5761
- /* @__PURE__ */ React88.createElement(import_ui38.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n60.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5762
- /* @__PURE__ */ React88.createElement(
5939
+ /* @__PURE__ */ React91.createElement(import_icons26.DatabaseIcon, { fontSize: "large" }),
5940
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n63.__)("Unlock your Dynamic tags again", "elementor")),
5941
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n63.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
5942
+ /* @__PURE__ */ React91.createElement(
5763
5943
  import_editor_ui9.CtaButton,
5764
5944
  {
5765
5945
  size: "small",
5766
5946
  href: RENEW_DYNAMIC_TAGS_URL,
5767
- onClick: () => (0, import_editor_controls57.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
5768
- children: (0, import_i18n60.__)("Renew Now", "elementor")
5947
+ onClick: () => (0, import_editor_controls60.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
5948
+ children: (0, import_i18n63.__)("Renew Now", "elementor")
5769
5949
  }
5770
5950
  )
5771
5951
  ));
5772
5952
  var useFilteredOptions = (searchValue) => {
5773
5953
  const dynamicTags = usePropDynamicTags();
5774
- const options12 = dynamicTags.reduce((categories, { name, label, group }) => {
5954
+ const options13 = dynamicTags.reduce((categories, { name, label, group }) => {
5775
5955
  const isVisible = label.toLowerCase().includes(searchValue.trim().toLowerCase());
5776
5956
  if (!isVisible) {
5777
5957
  return categories;
@@ -5782,15 +5962,15 @@ var useFilteredOptions = (searchValue) => {
5782
5962
  categories.get(group)?.push({ label, group, value: name });
5783
5963
  return categories;
5784
5964
  }, /* @__PURE__ */ new Map());
5785
- return [...options12];
5965
+ return [...options13];
5786
5966
  };
5787
5967
 
5788
5968
  // src/dynamics/components/dynamic-selection-control.tsx
5789
5969
  var SIZE3 = "tiny";
5790
5970
  var tagsWithoutTabs = ["popup"];
5791
5971
  var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5792
- const { setValue: setAnyValue, propType } = (0, import_editor_controls58.useBoundProp)();
5793
- const { bind, value } = (0, import_editor_controls58.useBoundProp)(dynamicPropTypeUtil);
5972
+ const { setValue: setAnyValue, propType } = (0, import_editor_controls61.useBoundProp)();
5973
+ const { bind, value } = (0, import_editor_controls61.useBoundProp)(dynamicPropTypeUtil);
5794
5974
  const { expired: readonly } = useLicenseConfig();
5795
5975
  const originalPropType = createTopLevelObjectType({
5796
5976
  schema: {
@@ -5798,11 +5978,11 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5798
5978
  }
5799
5979
  });
5800
5980
  const [propValueFromHistory] = usePersistDynamicValue(bind);
5801
- const selectionPopoverState = (0, import_ui39.usePopupState)({ variant: "popover" });
5981
+ const selectionPopoverState = (0, import_ui42.usePopupState)({ variant: "popover" });
5802
5982
  const { name: tagName = "" } = value;
5803
5983
  const dynamicTag = useDynamicTag(tagName);
5804
5984
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
5805
- 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 })));
5985
+ return /* @__PURE__ */ React92.createElement(import_editor_controls61.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React92.createElement(import_editor_controls61.PropKeyProvider, { bind }, /* @__PURE__ */ React92.createElement(OriginalControl, { ...props })));
5806
5986
  }
5807
5987
  const removeDynamicTag = () => {
5808
5988
  setAnyValue(propValueFromHistory ?? null);
@@ -5810,26 +5990,26 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5810
5990
  if (!dynamicTag) {
5811
5991
  throw new Error(`Dynamic tag ${tagName} not found`);
5812
5992
  }
5813
- return /* @__PURE__ */ React89.createElement(import_ui39.Box, null, /* @__PURE__ */ React89.createElement(
5814
- import_ui39.UnstableTag,
5993
+ return /* @__PURE__ */ React92.createElement(import_ui42.Box, null, /* @__PURE__ */ React92.createElement(
5994
+ import_ui42.UnstableTag,
5815
5995
  {
5816
5996
  fullWidth: true,
5817
5997
  showActionsOnHover: true,
5818
5998
  label: dynamicTag.label,
5819
- startIcon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 }),
5820
- ...(0, import_ui39.bindTrigger)(selectionPopoverState),
5821
- actions: /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React89.createElement(
5822
- import_ui39.IconButton,
5999
+ startIcon: /* @__PURE__ */ React92.createElement(import_icons27.DatabaseIcon, { fontSize: SIZE3 }),
6000
+ ...(0, import_ui42.bindTrigger)(selectionPopoverState),
6001
+ actions: /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React92.createElement(
6002
+ import_ui42.IconButton,
5823
6003
  {
5824
6004
  size: SIZE3,
5825
6005
  onClick: removeDynamicTag,
5826
- "aria-label": (0, import_i18n61.__)("Remove dynamic value", "elementor")
6006
+ "aria-label": (0, import_i18n64.__)("Remove dynamic value", "elementor")
5827
6007
  },
5828
- /* @__PURE__ */ React89.createElement(import_icons25.XIcon, { fontSize: SIZE3 })
6008
+ /* @__PURE__ */ React92.createElement(import_icons27.XIcon, { fontSize: SIZE3 })
5829
6009
  ))
5830
6010
  }
5831
- ), /* @__PURE__ */ React89.createElement(
5832
- import_ui39.Popover,
6011
+ ), /* @__PURE__ */ React92.createElement(
6012
+ import_ui42.Popover,
5833
6013
  {
5834
6014
  disablePortal: true,
5835
6015
  disableScrollLock: true,
@@ -5838,31 +6018,31 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
5838
6018
  PaperProps: {
5839
6019
  sx: { my: 1 }
5840
6020
  },
5841
- ...(0, import_ui39.bindPopover)(selectionPopoverState)
6021
+ ...(0, import_ui42.bindPopover)(selectionPopoverState)
5842
6022
  },
5843
- /* @__PURE__ */ React89.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React89.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6023
+ /* @__PURE__ */ React92.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n64.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React92.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
5844
6024
  ));
5845
6025
  };
5846
6026
  var DynamicSettingsPopover = ({
5847
6027
  dynamicTag,
5848
6028
  disabled = false
5849
6029
  }) => {
5850
- const popupState = (0, import_ui39.usePopupState)({ variant: "popover" });
6030
+ const popupState = (0, import_ui42.usePopupState)({ variant: "popover" });
5851
6031
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
5852
6032
  if (!hasDynamicSettings) {
5853
6033
  return null;
5854
6034
  }
5855
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(
5856
- import_ui39.IconButton,
6035
+ return /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(
6036
+ import_ui42.IconButton,
5857
6037
  {
5858
6038
  size: SIZE3,
5859
6039
  disabled,
5860
- ...!disabled && (0, import_ui39.bindTrigger)(popupState),
5861
- "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor")
6040
+ ...!disabled && (0, import_ui42.bindTrigger)(popupState),
6041
+ "aria-label": (0, import_i18n64.__)("Dynamic settings", "elementor")
5862
6042
  },
5863
- /* @__PURE__ */ React89.createElement(import_icons25.SettingsIcon, { fontSize: SIZE3 })
5864
- ), /* @__PURE__ */ React89.createElement(
5865
- import_ui39.Popover,
6043
+ /* @__PURE__ */ React92.createElement(import_icons27.SettingsIcon, { fontSize: SIZE3 })
6044
+ ), /* @__PURE__ */ React92.createElement(
6045
+ import_ui42.Popover,
5866
6046
  {
5867
6047
  disablePortal: true,
5868
6048
  disableScrollLock: true,
@@ -5871,45 +6051,45 @@ var DynamicSettingsPopover = ({
5871
6051
  PaperProps: {
5872
6052
  sx: { my: 1 }
5873
6053
  },
5874
- ...(0, import_ui39.bindPopover)(popupState)
6054
+ ...(0, import_ui42.bindPopover)(popupState)
5875
6055
  },
5876
- /* @__PURE__ */ React89.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n61.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React89.createElement(
6056
+ /* @__PURE__ */ React92.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n64.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React92.createElement(
5877
6057
  import_editor_ui10.PopoverHeader,
5878
6058
  {
5879
6059
  title: dynamicTag.label,
5880
6060
  onClose: popupState.close,
5881
- icon: /* @__PURE__ */ React89.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE3 })
6061
+ icon: /* @__PURE__ */ React92.createElement(import_icons27.DatabaseIcon, { fontSize: SIZE3 })
5882
6062
  }
5883
- ), /* @__PURE__ */ React89.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6063
+ ), /* @__PURE__ */ React92.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5884
6064
  ));
5885
6065
  };
5886
6066
  var DynamicSettings = ({ controls, tagName }) => {
5887
6067
  const tabs = controls.filter(({ type }) => type === "section");
5888
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui39.useTabs)(0);
6068
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui42.useTabs)(0);
5889
6069
  if (!tabs.length) {
5890
6070
  return null;
5891
6071
  }
5892
6072
  if (tagsWithoutTabs.includes(tagName)) {
5893
6073
  const singleTab = tabs[0];
5894
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(import_ui39.Divider, null), /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6074
+ return /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(import_ui42.Divider, null), /* @__PURE__ */ React92.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5895
6075
  }
5896
- return /* @__PURE__ */ React89.createElement(React89.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React89.createElement(import_ui39.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React89.createElement(
5897
- import_ui39.Tab,
6076
+ return /* @__PURE__ */ React92.createElement(React92.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React92.createElement(import_ui42.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React92.createElement(
6077
+ import_ui42.Tab,
5898
6078
  {
5899
6079
  key: index,
5900
6080
  label: value.label,
5901
6081
  sx: { px: 1, py: 0.5 },
5902
6082
  ...getTabProps(index)
5903
6083
  }
5904
- ))), /* @__PURE__ */ React89.createElement(import_ui39.Divider, null), tabs.map(({ value }, index) => {
5905
- return /* @__PURE__ */ React89.createElement(
5906
- import_ui39.TabPanel,
6084
+ ))), /* @__PURE__ */ React92.createElement(import_ui42.Divider, null), tabs.map(({ value }, index) => {
6085
+ return /* @__PURE__ */ React92.createElement(
6086
+ import_ui42.TabPanel,
5907
6087
  {
5908
6088
  key: index,
5909
6089
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
5910
6090
  ...getTabPanelProps(index)
5911
6091
  },
5912
- /* @__PURE__ */ React89.createElement(ControlsItemsStack, { items: value.items })
6092
+ /* @__PURE__ */ React92.createElement(ControlsItemsStack, { items: value.items })
5913
6093
  );
5914
6094
  }));
5915
6095
  };
@@ -5951,11 +6131,11 @@ var Control2 = ({ control }) => {
5951
6131
  display: "grid",
5952
6132
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
5953
6133
  } : {};
5954
- return /* @__PURE__ */ React89.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React89.createElement(import_ui39.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React89.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React89.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React89.createElement(Control, { type: control.type, props: controlProps }))));
6134
+ return /* @__PURE__ */ React92.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React92.createElement(import_ui42.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React92.createElement(import_ui42.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(import_editor_controls61.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React92.createElement(import_ui42.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(Control, { type: control.type, props: controlProps }))));
5955
6135
  };
5956
6136
  function ControlsItemsStack({ items: items3 }) {
5957
- return /* @__PURE__ */ React89.createElement(import_ui39.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5958
- (item) => item.type === "control" ? /* @__PURE__ */ React89.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6137
+ return /* @__PURE__ */ React92.createElement(import_ui42.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6138
+ (item) => item.type === "control" ? /* @__PURE__ */ React92.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5959
6139
  ));
5960
6140
  }
5961
6141
 
@@ -6008,34 +6188,34 @@ function getDynamicValue(name, settings) {
6008
6188
  }
6009
6189
 
6010
6190
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
6011
- var React90 = __toESM(require("react"));
6012
- var import_editor_controls59 = require("@elementor/editor-controls");
6013
- var import_icons26 = require("@elementor/icons");
6014
- var import_i18n62 = require("@wordpress/i18n");
6191
+ var React93 = __toESM(require("react"));
6192
+ var import_editor_controls62 = require("@elementor/editor-controls");
6193
+ var import_icons28 = require("@elementor/icons");
6194
+ var import_i18n65 = require("@wordpress/i18n");
6015
6195
  var usePropDynamicAction = () => {
6016
- const { propType } = (0, import_editor_controls59.useBoundProp)();
6196
+ const { propType } = (0, import_editor_controls62.useBoundProp)();
6017
6197
  const visible = !!propType && supportsDynamic(propType);
6018
6198
  return {
6019
6199
  visible,
6020
- icon: import_icons26.DatabaseIcon,
6021
- title: (0, import_i18n62.__)("Dynamic tags", "elementor"),
6022
- content: ({ close }) => /* @__PURE__ */ React90.createElement(DynamicSelection, { close })
6200
+ icon: import_icons28.DatabaseIcon,
6201
+ title: (0, import_i18n65.__)("Dynamic tags", "elementor"),
6202
+ content: ({ close }) => /* @__PURE__ */ React93.createElement(DynamicSelection, { close })
6023
6203
  };
6024
6204
  };
6025
6205
 
6026
6206
  // src/dynamics/init.ts
6027
6207
  var { registerPopoverAction } = import_menus2.controlActionsMenu;
6028
6208
  var init2 = () => {
6029
- (0, import_editor_controls60.registerControlReplacement)({
6209
+ (0, import_editor_controls63.registerControlReplacement)({
6030
6210
  component: DynamicSelectionControl,
6031
6211
  condition: ({ value }) => isDynamicPropValue(value)
6032
6212
  });
6033
- (0, import_editor_controls60.injectIntoRepeaterItemLabel)({
6213
+ (0, import_editor_controls63.injectIntoRepeaterItemLabel)({
6034
6214
  id: "dynamic-background-image",
6035
6215
  condition: ({ value }) => isDynamicPropValue(value.value?.image?.value?.src),
6036
6216
  component: BackgroundControlDynamicTagLabel
6037
6217
  });
6038
- (0, import_editor_controls60.injectIntoRepeaterItemIcon)({
6218
+ (0, import_editor_controls63.injectIntoRepeaterItemIcon)({
6039
6219
  id: "dynamic-background-image",
6040
6220
  condition: ({ value }) => isDynamicPropValue(value.value?.image?.value?.src),
6041
6221
  component: BackgroundControlDynamicTagIcon
@@ -6050,11 +6230,11 @@ var init2 = () => {
6050
6230
  };
6051
6231
 
6052
6232
  // src/reset-style-props.tsx
6053
- var import_editor_controls61 = require("@elementor/editor-controls");
6233
+ var import_editor_controls64 = require("@elementor/editor-controls");
6054
6234
  var import_editor_variables2 = require("@elementor/editor-variables");
6055
- var import_icons27 = require("@elementor/icons");
6235
+ var import_icons29 = require("@elementor/icons");
6056
6236
  var import_menus3 = require("@elementor/menus");
6057
- var import_i18n63 = require("@wordpress/i18n");
6237
+ var import_i18n66 = require("@wordpress/i18n");
6058
6238
 
6059
6239
  // src/utils/is-equal.ts
6060
6240
  function isEqual(a, b) {
@@ -6110,7 +6290,7 @@ function initResetStyleProps() {
6110
6290
  }
6111
6291
  function useResetStyleValueProps() {
6112
6292
  const isStyle = useIsStyle();
6113
- const { value, resetValue, propType } = (0, import_editor_controls61.useBoundProp)();
6293
+ const { value, resetValue, propType } = (0, import_editor_controls64.useBoundProp)();
6114
6294
  const hasValue = value !== null && value !== void 0;
6115
6295
  const hasInitial = propType.initial_value !== void 0 && propType.initial_value !== null;
6116
6296
  const isRequired = !!propType.settings?.required;
@@ -6130,44 +6310,44 @@ function useResetStyleValueProps() {
6130
6310
  const visible = calculateVisibility();
6131
6311
  return {
6132
6312
  visible,
6133
- title: (0, import_i18n63.__)("Clear", "elementor"),
6134
- icon: import_icons27.BrushBigIcon,
6313
+ title: (0, import_i18n66.__)("Clear", "elementor"),
6314
+ icon: import_icons29.BrushBigIcon,
6135
6315
  onClick: () => resetValue()
6136
6316
  };
6137
6317
  }
6138
6318
 
6139
6319
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6140
- var React96 = __toESM(require("react"));
6141
- var import_editor_controls62 = require("@elementor/editor-controls");
6320
+ var React99 = __toESM(require("react"));
6321
+ var import_editor_controls65 = require("@elementor/editor-controls");
6142
6322
  var import_editor_props21 = require("@elementor/editor-props");
6143
6323
  var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
6144
- var import_i18n67 = require("@wordpress/i18n");
6324
+ var import_i18n70 = require("@wordpress/i18n");
6145
6325
 
6146
6326
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6147
- var React95 = __toESM(require("react"));
6148
- var import_react44 = require("react");
6327
+ var React98 = __toESM(require("react"));
6328
+ var import_react46 = require("react");
6149
6329
  var import_editor_canvas5 = require("@elementor/editor-canvas");
6150
6330
  var import_editor_ui11 = require("@elementor/editor-ui");
6151
- var import_ui44 = require("@elementor/ui");
6152
- var import_i18n66 = require("@wordpress/i18n");
6331
+ var import_ui47 = require("@elementor/ui");
6332
+ var import_i18n69 = require("@wordpress/i18n");
6153
6333
 
6154
6334
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6155
- var import_react43 = require("react");
6335
+ var import_react45 = require("react");
6156
6336
  var import_editor_canvas4 = require("@elementor/editor-canvas");
6157
6337
  var import_editor_styles8 = require("@elementor/editor-styles");
6158
6338
  var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6159
- var import_i18n64 = require("@wordpress/i18n");
6339
+ var import_i18n67 = require("@wordpress/i18n");
6160
6340
  var MAXIMUM_ITEMS = 2;
6161
6341
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6162
- const [items3, setItems] = (0, import_react43.useState)([]);
6163
- (0, import_react43.useEffect)(() => {
6342
+ const [items3, setItems] = (0, import_react45.useState)([]);
6343
+ (0, import_react45.useEffect)(() => {
6164
6344
  (async () => {
6165
6345
  const normalizedItems = await Promise.all(
6166
6346
  inheritanceChain.filter(({ style }) => style).map((item, index) => normalizeInheritanceItem(item, index, bind, resolve))
6167
6347
  );
6168
6348
  const validItems = normalizedItems.map((item) => ({
6169
6349
  ...item,
6170
- displayLabel: import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n64.__)("Base", "elementor")
6350
+ displayLabel: import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n67.__)("Base", "elementor")
6171
6351
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6172
6352
  setItems(validItems);
6173
6353
  })();
@@ -6211,7 +6391,7 @@ var getTransformedValue = async (item, bind, resolve) => {
6211
6391
  }
6212
6392
  });
6213
6393
  const value = result?.[bind] ?? result;
6214
- if ((0, import_react43.isValidElement)(value)) {
6394
+ if ((0, import_react45.isValidElement)(value)) {
6215
6395
  return value;
6216
6396
  }
6217
6397
  if (typeof value === "object") {
@@ -6224,20 +6404,20 @@ var getTransformedValue = async (item, bind, resolve) => {
6224
6404
  };
6225
6405
 
6226
6406
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6227
- var React91 = __toESM(require("react"));
6407
+ var React94 = __toESM(require("react"));
6228
6408
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6229
- var import_icons28 = require("@elementor/icons");
6230
- var import_ui40 = require("@elementor/ui");
6409
+ var import_icons30 = require("@elementor/icons");
6410
+ var import_ui43 = require("@elementor/ui");
6231
6411
  var SIZE4 = "tiny";
6232
6412
  var DEFAULT_BREAKPOINT3 = "desktop";
6233
6413
  var breakpointIconMap = {
6234
- widescreen: import_icons28.WidescreenIcon,
6235
- desktop: import_icons28.DesktopIcon,
6236
- laptop: import_icons28.LaptopIcon,
6237
- tablet_extra: import_icons28.TabletLandscapeIcon,
6238
- tablet: import_icons28.TabletPortraitIcon,
6239
- mobile_extra: import_icons28.MobileLandscapeIcon,
6240
- mobile: import_icons28.MobilePortraitIcon
6414
+ widescreen: import_icons30.WidescreenIcon,
6415
+ desktop: import_icons30.DesktopIcon,
6416
+ laptop: import_icons30.LaptopIcon,
6417
+ tablet_extra: import_icons30.TabletLandscapeIcon,
6418
+ tablet: import_icons30.TabletPortraitIcon,
6419
+ mobile_extra: import_icons30.MobileLandscapeIcon,
6420
+ mobile: import_icons30.MobilePortraitIcon
6241
6421
  };
6242
6422
  var BreakpointIcon = ({ breakpoint }) => {
6243
6423
  const breakpoints = (0, import_editor_responsive4.useBreakpoints)();
@@ -6247,21 +6427,21 @@ var BreakpointIcon = ({ breakpoint }) => {
6247
6427
  return null;
6248
6428
  }
6249
6429
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6250
- return /* @__PURE__ */ React91.createElement(import_ui40.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React91.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6430
+ return /* @__PURE__ */ React94.createElement(import_ui43.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React94.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6251
6431
  };
6252
6432
 
6253
6433
  // src/styles-inheritance/components/infotip/label-chip.tsx
6254
- var React92 = __toESM(require("react"));
6434
+ var React95 = __toESM(require("react"));
6255
6435
  var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
6256
- var import_icons29 = require("@elementor/icons");
6257
- var import_ui41 = require("@elementor/ui");
6258
- var import_i18n65 = require("@wordpress/i18n");
6436
+ var import_icons31 = require("@elementor/icons");
6437
+ var import_ui44 = require("@elementor/ui");
6438
+ var import_i18n68 = require("@wordpress/i18n");
6259
6439
  var SIZE5 = "tiny";
6260
6440
  var LabelChip = ({ displayLabel, provider }) => {
6261
6441
  const isBaseStyle = provider === import_editor_styles_repository16.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6262
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React92.createElement(import_ui41.Tooltip, { title: (0, import_i18n65.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React92.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6263
- return /* @__PURE__ */ React92.createElement(
6264
- import_ui41.Chip,
6442
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React95.createElement(import_ui44.Tooltip, { title: (0, import_i18n68.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React95.createElement(import_icons31.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6443
+ return /* @__PURE__ */ React95.createElement(
6444
+ import_ui44.Chip,
6265
6445
  {
6266
6446
  label: displayLabel,
6267
6447
  size: SIZE5,
@@ -6286,11 +6466,11 @@ var LabelChip = ({ displayLabel, provider }) => {
6286
6466
  };
6287
6467
 
6288
6468
  // src/styles-inheritance/components/infotip/value-component.tsx
6289
- var React93 = __toESM(require("react"));
6290
- var import_ui42 = require("@elementor/ui");
6469
+ var React96 = __toESM(require("react"));
6470
+ var import_ui45 = require("@elementor/ui");
6291
6471
  var ValueComponent = ({ index, value }) => {
6292
- return /* @__PURE__ */ React93.createElement(import_ui42.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React93.createElement(
6293
- import_ui42.Typography,
6472
+ return /* @__PURE__ */ React96.createElement(import_ui45.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React96.createElement(
6473
+ import_ui45.Typography,
6294
6474
  {
6295
6475
  variant: "caption",
6296
6476
  color: "text.tertiary",
@@ -6311,9 +6491,9 @@ var ValueComponent = ({ index, value }) => {
6311
6491
  };
6312
6492
 
6313
6493
  // src/styles-inheritance/components/infotip/action-icons.tsx
6314
- var React94 = __toESM(require("react"));
6315
- var import_ui43 = require("@elementor/ui");
6316
- var ActionIcons = () => /* @__PURE__ */ React94.createElement(import_ui43.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6494
+ var React97 = __toESM(require("react"));
6495
+ var import_ui46 = require("@elementor/ui");
6496
+ var ActionIcons = () => /* @__PURE__ */ React97.createElement(import_ui46.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6317
6497
 
6318
6498
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6319
6499
  var SECTION_PADDING_INLINE = 32;
@@ -6326,8 +6506,8 @@ var StylesInheritanceInfotip = ({
6326
6506
  children,
6327
6507
  isDisabled
6328
6508
  }) => {
6329
- const [showInfotip, setShowInfotip] = (0, import_react44.useState)(false);
6330
- const triggerRef = (0, import_react44.useRef)(null);
6509
+ const [showInfotip, setShowInfotip] = (0, import_react46.useState)(false);
6510
+ const triggerRef = (0, import_react46.useRef)(null);
6331
6511
  const toggleInfotip = () => {
6332
6512
  if (isDisabled) {
6333
6513
  return;
@@ -6342,15 +6522,15 @@ var StylesInheritanceInfotip = ({
6342
6522
  };
6343
6523
  const key = path.join(".");
6344
6524
  const sectionWidth = (0, import_editor_ui11.useSectionWidth)();
6345
- const resolve = (0, import_react44.useMemo)(() => {
6525
+ const resolve = (0, import_react46.useMemo)(() => {
6346
6526
  return (0, import_editor_canvas5.createPropsResolver)({
6347
6527
  transformers: import_editor_canvas5.stylesInheritanceTransformersRegistry,
6348
6528
  schema: { [key]: propType }
6349
6529
  });
6350
6530
  }, [key, propType]);
6351
6531
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6352
- const infotipContent = /* @__PURE__ */ React95.createElement(import_ui44.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React95.createElement(
6353
- import_ui44.Card,
6532
+ const infotipContent = /* @__PURE__ */ React98.createElement(import_ui47.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React98.createElement(
6533
+ import_ui47.Card,
6354
6534
  {
6355
6535
  elevation: 0,
6356
6536
  sx: {
@@ -6362,8 +6542,8 @@ var StylesInheritanceInfotip = ({
6362
6542
  flexDirection: "column"
6363
6543
  }
6364
6544
  },
6365
- /* @__PURE__ */ React95.createElement(
6366
- import_ui44.Box,
6545
+ /* @__PURE__ */ React98.createElement(
6546
+ import_ui47.Box,
6367
6547
  {
6368
6548
  sx: {
6369
6549
  position: "sticky",
@@ -6372,10 +6552,10 @@ var StylesInheritanceInfotip = ({
6372
6552
  backgroundColor: "background.paper"
6373
6553
  }
6374
6554
  },
6375
- /* @__PURE__ */ React95.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n66.__)("Style origin", "elementor"), onClose: closeInfotip })
6555
+ /* @__PURE__ */ React98.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n69.__)("Style origin", "elementor"), onClose: closeInfotip })
6376
6556
  ),
6377
- /* @__PURE__ */ React95.createElement(
6378
- import_ui44.CardContent,
6557
+ /* @__PURE__ */ React98.createElement(
6558
+ import_ui47.CardContent,
6379
6559
  {
6380
6560
  sx: {
6381
6561
  display: "flex",
@@ -6388,39 +6568,39 @@ var StylesInheritanceInfotip = ({
6388
6568
  }
6389
6569
  }
6390
6570
  },
6391
- /* @__PURE__ */ React95.createElement(import_ui44.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6392
- return /* @__PURE__ */ React95.createElement(
6393
- import_ui44.Box,
6571
+ /* @__PURE__ */ React98.createElement(import_ui47.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6572
+ return /* @__PURE__ */ React98.createElement(
6573
+ import_ui47.Box,
6394
6574
  {
6395
6575
  key: item.id,
6396
6576
  display: "flex",
6397
6577
  gap: 0.5,
6398
6578
  role: "listitem",
6399
- "aria-label": (0, import_i18n66.__)("Inheritance item: %s", "elementor").replace(
6579
+ "aria-label": (0, import_i18n69.__)("Inheritance item: %s", "elementor").replace(
6400
6580
  "%s",
6401
6581
  item.displayLabel
6402
6582
  )
6403
6583
  },
6404
- /* @__PURE__ */ React95.createElement(
6405
- import_ui44.Box,
6584
+ /* @__PURE__ */ React98.createElement(
6585
+ import_ui47.Box,
6406
6586
  {
6407
6587
  display: "flex",
6408
6588
  gap: 0.5,
6409
6589
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
6410
6590
  },
6411
- /* @__PURE__ */ React95.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6412
- /* @__PURE__ */ React95.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6413
- /* @__PURE__ */ React95.createElement(ValueComponent, { index, value: item.value })
6591
+ /* @__PURE__ */ React98.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
6592
+ /* @__PURE__ */ React98.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
6593
+ /* @__PURE__ */ React98.createElement(ValueComponent, { index, value: item.value })
6414
6594
  ),
6415
- /* @__PURE__ */ React95.createElement(ActionIcons, null)
6595
+ /* @__PURE__ */ React98.createElement(ActionIcons, null)
6416
6596
  );
6417
6597
  }))
6418
6598
  )
6419
6599
  ));
6420
6600
  if (isDisabled) {
6421
- return /* @__PURE__ */ React95.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6601
+ return /* @__PURE__ */ React98.createElement(import_ui47.Box, { sx: { display: "inline-flex" } }, children);
6422
6602
  }
6423
- return /* @__PURE__ */ React95.createElement(import_ui44.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React95.createElement(
6603
+ return /* @__PURE__ */ React98.createElement(import_ui47.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React98.createElement(
6424
6604
  TooltipOrInfotip,
6425
6605
  {
6426
6606
  showInfotip,
@@ -6428,8 +6608,8 @@ var StylesInheritanceInfotip = ({
6428
6608
  infotipContent,
6429
6609
  isDisabled
6430
6610
  },
6431
- /* @__PURE__ */ React95.createElement(
6432
- import_ui44.IconButton,
6611
+ /* @__PURE__ */ React98.createElement(
6612
+ import_ui47.IconButton,
6433
6613
  {
6434
6614
  onClick: toggleInfotip,
6435
6615
  "aria-label": label,
@@ -6448,11 +6628,11 @@ function TooltipOrInfotip({
6448
6628
  isDisabled
6449
6629
  }) {
6450
6630
  if (isDisabled) {
6451
- return /* @__PURE__ */ React95.createElement(import_ui44.Box, { sx: { display: "inline-flex" } }, children);
6631
+ return /* @__PURE__ */ React98.createElement(import_ui47.Box, { sx: { display: "inline-flex" } }, children);
6452
6632
  }
6453
6633
  if (showInfotip) {
6454
- return /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(
6455
- import_ui44.Backdrop,
6634
+ return /* @__PURE__ */ React98.createElement(React98.Fragment, null, /* @__PURE__ */ React98.createElement(
6635
+ import_ui47.Backdrop,
6456
6636
  {
6457
6637
  open: showInfotip,
6458
6638
  onClick: onClose,
@@ -6461,8 +6641,8 @@ function TooltipOrInfotip({
6461
6641
  zIndex: (theme) => theme.zIndex.modal - 1
6462
6642
  }
6463
6643
  }
6464
- ), /* @__PURE__ */ React95.createElement(
6465
- import_ui44.Infotip,
6644
+ ), /* @__PURE__ */ React98.createElement(
6645
+ import_ui47.Infotip,
6466
6646
  {
6467
6647
  placement: "top-end",
6468
6648
  content: infotipContent,
@@ -6473,20 +6653,20 @@ function TooltipOrInfotip({
6473
6653
  children
6474
6654
  ));
6475
6655
  }
6476
- return /* @__PURE__ */ React95.createElement(import_ui44.Tooltip, { title: (0, import_i18n66.__)("Style origin", "elementor"), placement: "top" }, children);
6656
+ return /* @__PURE__ */ React98.createElement(import_ui47.Tooltip, { title: (0, import_i18n69.__)("Style origin", "elementor"), placement: "top" }, children);
6477
6657
  }
6478
6658
 
6479
6659
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6480
6660
  var StylesInheritanceIndicator = ({
6481
6661
  customContext
6482
6662
  }) => {
6483
- const context = (0, import_editor_controls62.useBoundProp)();
6663
+ const context = (0, import_editor_controls65.useBoundProp)();
6484
6664
  const { path, propType } = customContext || context;
6485
6665
  const inheritanceChain = useStylesInheritanceChain(path);
6486
6666
  if (!path || !inheritanceChain.length) {
6487
6667
  return null;
6488
6668
  }
6489
- return /* @__PURE__ */ React96.createElement(Indicator, { inheritanceChain, path, propType });
6669
+ return /* @__PURE__ */ React99.createElement(Indicator, { inheritanceChain, path, propType });
6490
6670
  };
6491
6671
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6492
6672
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -6502,7 +6682,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6502
6682
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
6503
6683
  isOverridden: hasValue && !isFinalValue ? true : void 0
6504
6684
  };
6505
- return /* @__PURE__ */ React96.createElement(
6685
+ return /* @__PURE__ */ React99.createElement(
6506
6686
  StylesInheritanceInfotip,
6507
6687
  {
6508
6688
  inheritanceChain,
@@ -6511,17 +6691,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
6511
6691
  label,
6512
6692
  isDisabled
6513
6693
  },
6514
- /* @__PURE__ */ React96.createElement(StyleIndicator, { ...styleIndicatorProps })
6694
+ /* @__PURE__ */ React99.createElement(StyleIndicator, { ...styleIndicatorProps })
6515
6695
  );
6516
6696
  };
6517
6697
  var getLabel = ({ isFinalValue, hasValue }) => {
6518
6698
  if (isFinalValue) {
6519
- return (0, import_i18n67.__)("This is the final value", "elementor");
6699
+ return (0, import_i18n70.__)("This is the final value", "elementor");
6520
6700
  }
6521
6701
  if (hasValue) {
6522
- return (0, import_i18n67.__)("This value is overridden by another style", "elementor");
6702
+ return (0, import_i18n70.__)("This value is overridden by another style", "elementor");
6523
6703
  }
6524
- return (0, import_i18n67.__)("This has value from another style", "elementor");
6704
+ return (0, import_i18n70.__)("This has value from another style", "elementor");
6525
6705
  };
6526
6706
 
6527
6707
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -6542,7 +6722,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
6542
6722
  ]);
6543
6723
 
6544
6724
  // src/styles-inheritance/transformers/array-transformer.tsx
6545
- var React97 = __toESM(require("react"));
6725
+ var React100 = __toESM(require("react"));
6546
6726
  var import_editor_canvas6 = require("@elementor/editor-canvas");
6547
6727
  var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) => {
6548
6728
  if (!values || values.length === 0) {
@@ -6552,18 +6732,18 @@ var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) =>
6552
6732
  if (allStrings) {
6553
6733
  return values.join(" ");
6554
6734
  }
6555
- return /* @__PURE__ */ React97.createElement(React97.Fragment, null, values.map((item, index) => /* @__PURE__ */ React97.createElement(React97.Fragment, { key: index }, index > 0 && " ", item)));
6735
+ return /* @__PURE__ */ React100.createElement(React100.Fragment, null, values.map((item, index) => /* @__PURE__ */ React100.createElement(React100.Fragment, { key: index }, index > 0 && " ", item)));
6556
6736
  });
6557
6737
 
6558
6738
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6559
- var React98 = __toESM(require("react"));
6739
+ var React101 = __toESM(require("react"));
6560
6740
  var import_editor_canvas7 = require("@elementor/editor-canvas");
6561
- var import_ui45 = require("@elementor/ui");
6562
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React98.createElement(import_ui45.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(ItemLabelColor, { value })));
6741
+ var import_ui48 = require("@elementor/ui");
6742
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React101.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(ItemLabelColor, { value })));
6563
6743
  var ItemLabelColor = ({ value: { color } }) => {
6564
- return /* @__PURE__ */ React98.createElement("span", null, color);
6744
+ return /* @__PURE__ */ React101.createElement("span", null, color);
6565
6745
  };
6566
- var StyledUnstableColorIndicator = (0, import_ui45.styled)(import_ui45.UnstableColorIndicator)(({ theme }) => ({
6746
+ var StyledUnstableColorIndicator = (0, import_ui48.styled)(import_ui48.UnstableColorIndicator)(({ theme }) => ({
6567
6747
  width: "1em",
6568
6748
  height: "1em",
6569
6749
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6572,20 +6752,20 @@ var StyledUnstableColorIndicator = (0, import_ui45.styled)(import_ui45.UnstableC
6572
6752
  }));
6573
6753
 
6574
6754
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6575
- var React99 = __toESM(require("react"));
6755
+ var React102 = __toESM(require("react"));
6576
6756
  var import_editor_canvas8 = require("@elementor/editor-canvas");
6577
- var import_ui46 = require("@elementor/ui");
6578
- var import_i18n68 = require("@wordpress/i18n");
6579
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React99.createElement(import_ui46.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React99.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React99.createElement(ItemLabelGradient, { value })));
6757
+ var import_ui49 = require("@elementor/ui");
6758
+ var import_i18n71 = require("@wordpress/i18n");
6759
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React102.createElement(import_ui49.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React102.createElement(ItemLabelGradient, { value })));
6580
6760
  var ItemIconGradient = ({ value }) => {
6581
6761
  const gradient = getGradientValue(value);
6582
- return /* @__PURE__ */ React99.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6762
+ return /* @__PURE__ */ React102.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
6583
6763
  };
6584
6764
  var ItemLabelGradient = ({ value }) => {
6585
6765
  if (value.type === "linear") {
6586
- return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Linear gradient", "elementor"));
6766
+ return /* @__PURE__ */ React102.createElement("span", null, (0, import_i18n71.__)("Linear gradient", "elementor"));
6587
6767
  }
6588
- return /* @__PURE__ */ React99.createElement("span", null, (0, import_i18n68.__)("Radial gradient", "elementor"));
6768
+ return /* @__PURE__ */ React102.createElement("span", null, (0, import_i18n71.__)("Radial gradient", "elementor"));
6589
6769
  };
6590
6770
  var getGradientValue = (gradient) => {
6591
6771
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -6596,16 +6776,16 @@ var getGradientValue = (gradient) => {
6596
6776
  };
6597
6777
 
6598
6778
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
6599
- var React100 = __toESM(require("react"));
6779
+ var React103 = __toESM(require("react"));
6600
6780
  var import_editor_canvas9 = require("@elementor/editor-canvas");
6601
6781
  var import_editor_ui12 = require("@elementor/editor-ui");
6602
- var import_ui47 = require("@elementor/ui");
6782
+ var import_ui50 = require("@elementor/ui");
6603
6783
  var import_wp_media = require("@elementor/wp-media");
6604
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React100.createElement(import_ui47.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React100.createElement(ItemIconImage, { value }), /* @__PURE__ */ React100.createElement(ItemLabelImage, { value })));
6784
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React103.createElement(import_ui50.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React103.createElement(ItemIconImage, { value }), /* @__PURE__ */ React103.createElement(ItemLabelImage, { value })));
6605
6785
  var ItemIconImage = ({ value }) => {
6606
6786
  const { imageUrl } = useImage(value);
6607
- return /* @__PURE__ */ React100.createElement(
6608
- import_ui47.CardMedia,
6787
+ return /* @__PURE__ */ React103.createElement(
6788
+ import_ui50.CardMedia,
6609
6789
  {
6610
6790
  image: imageUrl,
6611
6791
  sx: (theme) => ({
@@ -6620,7 +6800,7 @@ var ItemIconImage = ({ value }) => {
6620
6800
  };
6621
6801
  var ItemLabelImage = ({ value }) => {
6622
6802
  const { imageTitle } = useImage(value);
6623
- return /* @__PURE__ */ React100.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React100.createElement("span", null, imageTitle));
6803
+ return /* @__PURE__ */ React103.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React103.createElement("span", null, imageTitle));
6624
6804
  };
6625
6805
  var useImage = (image) => {
6626
6806
  let imageTitle, imageUrl = null;
@@ -6645,7 +6825,7 @@ var getFileExtensionFromFilename = (filename) => {
6645
6825
  };
6646
6826
 
6647
6827
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
6648
- var React101 = __toESM(require("react"));
6828
+ var React104 = __toESM(require("react"));
6649
6829
  var import_editor_canvas10 = require("@elementor/editor-canvas");
6650
6830
  var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value) => {
6651
6831
  if (!value) {
@@ -6655,20 +6835,20 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
6655
6835
  const colorValue = color || "#000000";
6656
6836
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
6657
6837
  const positionValue = position || "outset";
6658
- return /* @__PURE__ */ React101.createElement(React101.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
6838
+ return /* @__PURE__ */ React104.createElement(React104.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
6659
6839
  });
6660
6840
 
6661
6841
  // src/styles-inheritance/transformers/color-transformer.tsx
6662
- var React102 = __toESM(require("react"));
6842
+ var React105 = __toESM(require("react"));
6663
6843
  var import_editor_canvas11 = require("@elementor/editor-canvas");
6664
- var import_ui48 = require("@elementor/ui");
6844
+ var import_ui51 = require("@elementor/ui");
6665
6845
  function isValidCSSColor(value) {
6666
6846
  if (!value.trim()) {
6667
6847
  return false;
6668
6848
  }
6669
6849
  return CSS.supports("color", value.trim());
6670
6850
  }
6671
- var StyledColorIndicator = (0, import_ui48.styled)(import_ui48.UnstableColorIndicator)(({ theme }) => ({
6851
+ var StyledColorIndicator = (0, import_ui51.styled)(import_ui51.UnstableColorIndicator)(({ theme }) => ({
6672
6852
  width: "1em",
6673
6853
  height: "1em",
6674
6854
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6679,14 +6859,14 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
6679
6859
  if (!isValidCSSColor(value)) {
6680
6860
  return value;
6681
6861
  }
6682
- return /* @__PURE__ */ React102.createElement(import_ui48.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React102.createElement("span", null, value));
6862
+ return /* @__PURE__ */ React105.createElement(import_ui51.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React105.createElement("span", null, value));
6683
6863
  });
6684
6864
 
6685
6865
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
6686
6866
  var import_editor_canvas12 = require("@elementor/editor-canvas");
6687
6867
  var createRepeaterToItemsTransformer = (originalTransformer) => {
6688
- return (0, import_editor_canvas12.createTransformer)((value, options12) => {
6689
- const stringResult = originalTransformer(value, options12);
6868
+ return (0, import_editor_canvas12.createTransformer)((value, options13) => {
6869
+ const stringResult = originalTransformer(value, options13);
6690
6870
  if (!stringResult || typeof stringResult !== "string") {
6691
6871
  return stringResult;
6692
6872
  }
@@ -6762,7 +6942,7 @@ function init4() {
6762
6942
  init();
6763
6943
  }
6764
6944
  var blockV1Panel = () => {
6765
- (0, import_editor_v1_adapters11.blockCommand)({
6945
+ (0, import_editor_v1_adapters13.blockCommand)({
6766
6946
  command: "panel/editor/open",
6767
6947
  condition: isAtomicWidgetSelected
6768
6948
  });