@elementor/editor-editing-panel 4.2.0-903 → 4.2.0-905

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
@@ -1919,17 +1919,17 @@ var hasInheritedCustomCss = (style, meta) => {
1919
1919
  };
1920
1920
 
1921
1921
  // src/components/editing-panel.tsx
1922
- var React89 = __toESM(require("react"));
1923
- var import_editor_controls55 = require("@elementor/editor-controls");
1922
+ var React90 = __toESM(require("react"));
1923
+ var import_editor_controls56 = require("@elementor/editor-controls");
1924
1924
  var import_editor_elements13 = require("@elementor/editor-elements");
1925
1925
  var import_editor_panels = require("@elementor/editor-panels");
1926
1926
  var import_editor_ui8 = require("@elementor/editor-ui");
1927
- var import_icons26 = require("@elementor/icons");
1927
+ var import_icons27 = require("@elementor/icons");
1928
1928
  var import_locations4 = require("@elementor/locations");
1929
1929
  var import_menus = require("@elementor/menus");
1930
1930
  var import_session9 = require("@elementor/session");
1931
- var import_ui43 = require("@elementor/ui");
1932
- var import_i18n63 = require("@wordpress/i18n");
1931
+ var import_ui44 = require("@elementor/ui");
1932
+ var import_i18n64 = require("@wordpress/i18n");
1933
1933
 
1934
1934
  // src/editing-panel-replacement-registry.tsx
1935
1935
  var registry = /* @__PURE__ */ new Map();
@@ -1951,12 +1951,12 @@ function EditorPanelErrorFallback() {
1951
1951
  }
1952
1952
 
1953
1953
  // src/components/editing-panel-tabs.tsx
1954
- var import_react38 = require("react");
1955
- var React88 = __toESM(require("react"));
1954
+ var import_react39 = require("react");
1955
+ var React89 = __toESM(require("react"));
1956
1956
  var import_editor_elements12 = require("@elementor/editor-elements");
1957
1957
  var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
1958
- var import_ui42 = require("@elementor/ui");
1959
- var import_i18n62 = require("@wordpress/i18n");
1958
+ var import_ui43 = require("@elementor/ui");
1959
+ var import_i18n63 = require("@wordpress/i18n");
1960
1960
 
1961
1961
  // src/contexts/scroll-context.tsx
1962
1962
  var React15 = __toESM(require("react"));
@@ -2564,9 +2564,10 @@ var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType]
2564
2564
  // src/components/control-label.tsx
2565
2565
  var React22 = __toESM(require("react"));
2566
2566
  var import_editor_controls3 = require("@elementor/editor-controls");
2567
+ var import_icons4 = require("@elementor/icons");
2567
2568
  var import_ui14 = require("@elementor/ui");
2568
- var ControlLabel = ({ children }) => {
2569
- return /* @__PURE__ */ React22.createElement(import_ui14.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlFormLabel, null, children), /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlAdornments, null));
2569
+ var ControlLabel = ({ children, infoTooltip }) => {
2570
+ return /* @__PURE__ */ React22.createElement(import_ui14.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlFormLabel, null, children), infoTooltip && /* @__PURE__ */ React22.createElement(import_ui14.Tooltip, { title: infoTooltip, placement: "top" }, /* @__PURE__ */ React22.createElement(import_icons4.InfoCircleIcon, { fontSize: "tiny" })), /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlAdornments, null));
2570
2571
  };
2571
2572
 
2572
2573
  // src/components/settings-control.tsx
@@ -2676,14 +2677,14 @@ function isControlHiddenByDependencies(control, propsSchema, settings) {
2676
2677
  }
2677
2678
 
2678
2679
  // src/components/style-tab.tsx
2679
- var React87 = __toESM(require("react"));
2680
- var import_react37 = require("react");
2680
+ var React88 = __toESM(require("react"));
2681
+ var import_react38 = require("react");
2681
2682
  var import_editor_props15 = require("@elementor/editor-props");
2682
2683
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2683
2684
  var import_locations3 = require("@elementor/locations");
2684
2685
  var import_session8 = require("@elementor/session");
2685
- var import_ui41 = require("@elementor/ui");
2686
- var import_i18n61 = require("@wordpress/i18n");
2686
+ var import_ui42 = require("@elementor/ui");
2687
+ var import_i18n62 = require("@wordpress/i18n");
2687
2688
 
2688
2689
  // src/contexts/styles-inheritance-context.tsx
2689
2690
  var React25 = __toESM(require("react"));
@@ -3199,42 +3200,26 @@ var import_i18n11 = require("@wordpress/i18n");
3199
3200
  var React29 = __toESM(require("react"));
3200
3201
  var import_ui17 = require("@elementor/ui");
3201
3202
  var StylesFieldLayout = React29.forwardRef((props, ref) => {
3202
- const { direction = "row", children, label } = props;
3203
+ const { direction = "row", children, label, infoTooltip } = props;
3203
3204
  const LayoutComponent = direction === "row" ? Row : Column;
3204
- return /* @__PURE__ */ React29.createElement(LayoutComponent, { label, ref, children });
3205
+ return /* @__PURE__ */ React29.createElement(LayoutComponent, { label, infoTooltip, ref, children });
3206
+ });
3207
+ var Row = React29.forwardRef(({ label, children, infoTooltip }, ref) => {
3208
+ return /* @__PURE__ */ React29.createElement(import_ui17.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref, "aria-label": `${label} control` }, /* @__PURE__ */ React29.createElement(import_ui17.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React29.createElement(ControlLabel, { infoTooltip }, label)), /* @__PURE__ */ React29.createElement(
3209
+ import_ui17.Grid,
3210
+ {
3211
+ item: true,
3212
+ xs: 6,
3213
+ sx: (theme) => ({
3214
+ width: `calc(50% - ${theme.spacing(2)})`
3215
+ })
3216
+ },
3217
+ children
3218
+ ));
3219
+ });
3220
+ var Column = React29.forwardRef(({ label, children, infoTooltip }, ref) => {
3221
+ return /* @__PURE__ */ React29.createElement(import_ui17.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React29.createElement(ControlLabel, { infoTooltip }, label), children);
3205
3222
  });
3206
- var Row = React29.forwardRef(
3207
- ({ label, children }, ref) => {
3208
- return /* @__PURE__ */ React29.createElement(
3209
- import_ui17.Grid,
3210
- {
3211
- container: true,
3212
- gap: 2,
3213
- alignItems: "center",
3214
- flexWrap: "nowrap",
3215
- ref,
3216
- "aria-label": `${label} control`
3217
- },
3218
- /* @__PURE__ */ React29.createElement(import_ui17.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React29.createElement(ControlLabel, null, label)),
3219
- /* @__PURE__ */ React29.createElement(
3220
- import_ui17.Grid,
3221
- {
3222
- item: true,
3223
- xs: 6,
3224
- sx: (theme) => ({
3225
- width: `calc(50% - ${theme.spacing(2)})`
3226
- })
3227
- },
3228
- children
3229
- )
3230
- );
3231
- }
3232
- );
3233
- var Column = React29.forwardRef(
3234
- ({ label, children }, ref) => {
3235
- return /* @__PURE__ */ React29.createElement(import_ui17.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React29.createElement(ControlLabel, null, label), children);
3236
- }
3237
- );
3238
3223
 
3239
3224
  // src/components/style-sections/border-section/border-color-field.tsx
3240
3225
  var BORDER_COLOR_LABEL = (0, import_i18n11.__)("Border color", "elementor");
@@ -3244,7 +3229,7 @@ var BorderColorField = () => /* @__PURE__ */ React30.createElement(StylesField,
3244
3229
  var React32 = __toESM(require("react"));
3245
3230
  var import_editor_controls9 = require("@elementor/editor-controls");
3246
3231
  var import_editor_props11 = require("@elementor/editor-props");
3247
- var import_icons4 = require("@elementor/icons");
3232
+ var import_icons5 = require("@elementor/icons");
3248
3233
  var import_ui20 = require("@elementor/ui");
3249
3234
  var import_i18n12 = require("@wordpress/i18n");
3250
3235
 
@@ -3267,10 +3252,10 @@ var UiProviders = ({ children }) => {
3267
3252
 
3268
3253
  // src/components/style-sections/border-section/border-radius-field.tsx
3269
3254
  var BORDER_RADIUS_LABEL = (0, import_i18n12.__)("Border radius", "elementor");
3270
- var StartStartIcon = (0, import_ui20.withDirection)(import_icons4.RadiusTopLeftIcon);
3271
- var StartEndIcon = (0, import_ui20.withDirection)(import_icons4.RadiusTopRightIcon);
3272
- var EndStartIcon = (0, import_ui20.withDirection)(import_icons4.RadiusBottomLeftIcon);
3273
- var EndEndIcon = (0, import_ui20.withDirection)(import_icons4.RadiusBottomRightIcon);
3255
+ var StartStartIcon = (0, import_ui20.withDirection)(import_icons5.RadiusTopLeftIcon);
3256
+ var StartEndIcon = (0, import_ui20.withDirection)(import_icons5.RadiusTopRightIcon);
3257
+ var EndStartIcon = (0, import_ui20.withDirection)(import_icons5.RadiusBottomLeftIcon);
3258
+ var EndEndIcon = (0, import_ui20.withDirection)(import_icons5.RadiusBottomRightIcon);
3274
3259
  var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n12.__)("Top right", "elementor") : (0, import_i18n12.__)("Top left", "elementor");
3275
3260
  var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n12.__)("Border top right radius", "elementor") : (0, import_i18n12.__)("Border top left radius", "elementor");
3276
3261
  var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n12.__)("Top left", "elementor") : (0, import_i18n12.__)("Top right", "elementor");
@@ -3312,7 +3297,7 @@ var BorderRadiusField = () => {
3312
3297
  {
3313
3298
  items: getCorners(isSiteRtl),
3314
3299
  label: BORDER_RADIUS_LABEL,
3315
- icon: /* @__PURE__ */ React32.createElement(import_icons4.BorderCornersIcon, { fontSize: "tiny" }),
3300
+ icon: /* @__PURE__ */ React32.createElement(import_icons5.BorderCornersIcon, { fontSize: "tiny" }),
3316
3301
  tooltipLabel: (0, import_i18n12.__)("Adjust corners", "elementor"),
3317
3302
  multiSizePropTypeUtil: import_editor_props11.borderRadiusPropTypeUtil
3318
3303
  }
@@ -3341,17 +3326,17 @@ var BorderStyleField = () => /* @__PURE__ */ React33.createElement(StylesField,
3341
3326
  var React34 = __toESM(require("react"));
3342
3327
  var import_editor_controls11 = require("@elementor/editor-controls");
3343
3328
  var import_editor_props12 = require("@elementor/editor-props");
3344
- var import_icons5 = require("@elementor/icons");
3329
+ var import_icons6 = require("@elementor/icons");
3345
3330
  var import_ui21 = require("@elementor/ui");
3346
3331
  var import_i18n14 = require("@wordpress/i18n");
3347
3332
  var BORDER_WIDTH_LABEL = (0, import_i18n14.__)("Border width", "elementor");
3348
- var InlineStartIcon = (0, import_ui21.withDirection)(import_icons5.SideRightIcon);
3349
- var InlineEndIcon = (0, import_ui21.withDirection)(import_icons5.SideLeftIcon);
3333
+ var InlineStartIcon = (0, import_ui21.withDirection)(import_icons6.SideRightIcon);
3334
+ var InlineEndIcon = (0, import_ui21.withDirection)(import_icons6.SideLeftIcon);
3350
3335
  var getEdges = (isSiteRtl) => [
3351
3336
  {
3352
3337
  label: (0, import_i18n14.__)("Top", "elementor"),
3353
3338
  ariaLabel: (0, import_i18n14.__)("Border top width", "elementor"),
3354
- icon: /* @__PURE__ */ React34.createElement(import_icons5.SideTopIcon, { fontSize: "tiny" }),
3339
+ icon: /* @__PURE__ */ React34.createElement(import_icons6.SideTopIcon, { fontSize: "tiny" }),
3355
3340
  bind: "block-start"
3356
3341
  },
3357
3342
  {
@@ -3363,7 +3348,7 @@ var getEdges = (isSiteRtl) => [
3363
3348
  {
3364
3349
  label: (0, import_i18n14.__)("Bottom", "elementor"),
3365
3350
  ariaLabel: (0, import_i18n14.__)("Border bottom width", "elementor"),
3366
- icon: /* @__PURE__ */ React34.createElement(import_icons5.SideBottomIcon, { fontSize: "tiny" }),
3351
+ icon: /* @__PURE__ */ React34.createElement(import_icons6.SideBottomIcon, { fontSize: "tiny" }),
3367
3352
  bind: "block-end"
3368
3353
  },
3369
3354
  {
@@ -3380,7 +3365,7 @@ var BorderWidthField = () => {
3380
3365
  {
3381
3366
  items: getEdges(isSiteRtl),
3382
3367
  label: BORDER_WIDTH_LABEL,
3383
- icon: /* @__PURE__ */ React34.createElement(import_icons5.SideAllIcon, { fontSize: "tiny" }),
3368
+ icon: /* @__PURE__ */ React34.createElement(import_icons6.SideAllIcon, { fontSize: "tiny" }),
3384
3369
  tooltipLabel: (0, import_i18n14.__)("Adjust borders", "elementor"),
3385
3370
  multiSizePropTypeUtil: import_editor_props12.borderWidthPropTypeUtil
3386
3371
  }
@@ -3496,11 +3481,11 @@ var EffectsSection = () => {
3496
3481
  };
3497
3482
 
3498
3483
  // src/components/style-sections/layout-section/layout-section.tsx
3499
- var React57 = __toESM(require("react"));
3500
- var import_editor_controls31 = require("@elementor/editor-controls");
3484
+ var React60 = __toESM(require("react"));
3485
+ var import_editor_controls32 = require("@elementor/editor-controls");
3501
3486
  var import_editor_elements11 = require("@elementor/editor-elements");
3502
3487
  var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
3503
- var import_i18n35 = require("@wordpress/i18n");
3488
+ var import_i18n37 = require("@wordpress/i18n");
3504
3489
 
3505
3490
  // src/hooks/use-computed-style.ts
3506
3491
  var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
@@ -3526,19 +3511,100 @@ function useComputedStyle(elementId) {
3526
3511
  );
3527
3512
  }
3528
3513
 
3529
- // src/components/style-sections/layout-section/align-content-field.tsx
3514
+ // src/components/style-tab-collapsible-content.tsx
3530
3515
  var React41 = __toESM(require("react"));
3531
- var import_editor_controls15 = require("@elementor/editor-controls");
3532
- var import_icons6 = require("@elementor/icons");
3533
- var import_ui24 = require("@elementor/ui");
3534
- var import_i18n19 = require("@wordpress/i18n");
3516
+ var import_editor_ui6 = require("@elementor/editor-ui");
3535
3517
 
3536
- // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3518
+ // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
3537
3519
  var React40 = __toESM(require("react"));
3538
- var import_react23 = require("react");
3520
+ var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
3539
3521
  var import_ui23 = require("@elementor/ui");
3540
3522
  var import_i18n18 = require("@wordpress/i18n");
3541
- var FLEX_DIRECTION_LABEL = (0, import_i18n18.__)("Flex direction", "elementor");
3523
+ var StylesInheritanceSectionIndicators = ({ fields }) => {
3524
+ const { id, meta, provider } = useStyle();
3525
+ const snapshot = useStylesInheritanceSnapshot();
3526
+ if (fields.includes("custom_css")) {
3527
+ return /* @__PURE__ */ React40.createElement(CustomCssIndicator, null);
3528
+ }
3529
+ const snapshotFields = Object.fromEntries(
3530
+ Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
3531
+ );
3532
+ const { hasValues, hasOverrides } = getIndicators(snapshotFields, id ?? "", meta);
3533
+ if (!hasValues && !hasOverrides) {
3534
+ return null;
3535
+ }
3536
+ const hasValueLabel = (0, import_i18n18.__)("Has effective styles", "elementor");
3537
+ const hasOverridesLabel = (0, import_i18n18.__)("Has overridden styles", "elementor");
3538
+ return /* @__PURE__ */ React40.createElement(import_ui23.Tooltip, { title: (0, import_i18n18.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React40.createElement(import_ui23.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React40.createElement(
3539
+ StyleIndicator,
3540
+ {
3541
+ getColor: getStylesProviderThemeColor(provider.getKey()),
3542
+ "data-variant": (0, import_editor_styles_repository17.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
3543
+ role: "listitem",
3544
+ "aria-label": hasValueLabel
3545
+ }
3546
+ ), hasOverrides && /* @__PURE__ */ React40.createElement(
3547
+ StyleIndicator,
3548
+ {
3549
+ isOverridden: true,
3550
+ "data-variant": "overridden",
3551
+ role: "listitem",
3552
+ "aria-label": hasOverridesLabel
3553
+ }
3554
+ )));
3555
+ };
3556
+ function getIndicators(snapshotFields, styleId, meta) {
3557
+ let hasValues = false;
3558
+ let hasOverrides = false;
3559
+ Object.values(snapshotFields).forEach((inheritanceChain) => {
3560
+ const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
3561
+ if (!currentStyle) {
3562
+ return;
3563
+ }
3564
+ const [actualStyle] = inheritanceChain;
3565
+ if (currentStyle === actualStyle) {
3566
+ hasValues = true;
3567
+ } else {
3568
+ hasOverrides = true;
3569
+ }
3570
+ });
3571
+ return { hasValues, hasOverrides };
3572
+ }
3573
+ function getCurrentStyleFromChain(chain, styleId, meta) {
3574
+ return chain.find(
3575
+ ({
3576
+ style: { id },
3577
+ variant: {
3578
+ meta: { breakpoint, state }
3579
+ }
3580
+ }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
3581
+ );
3582
+ }
3583
+
3584
+ // src/components/style-tab-collapsible-content.tsx
3585
+ var StyleTabCollapsibleContent = ({ fields = [], children }) => {
3586
+ return /* @__PURE__ */ React41.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3587
+ };
3588
+ function getStylesInheritanceIndicators(fields) {
3589
+ if (fields.length === 0) {
3590
+ return null;
3591
+ }
3592
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React41.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3593
+ }
3594
+
3595
+ // src/components/style-sections/layout-section/align-content-field.tsx
3596
+ var React43 = __toESM(require("react"));
3597
+ var import_editor_controls15 = require("@elementor/editor-controls");
3598
+ var import_icons7 = require("@elementor/icons");
3599
+ var import_ui25 = require("@elementor/ui");
3600
+ var import_i18n20 = require("@wordpress/i18n");
3601
+
3602
+ // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3603
+ var React42 = __toESM(require("react"));
3604
+ var import_react23 = require("react");
3605
+ var import_ui24 = require("@elementor/ui");
3606
+ var import_i18n19 = require("@wordpress/i18n");
3607
+ var FLEX_DIRECTION_LABEL = (0, import_i18n19.__)("Flex direction", "elementor");
3542
3608
  var CLOCKWISE_ANGLES = {
3543
3609
  row: 0,
3544
3610
  column: 90,
@@ -3560,13 +3626,13 @@ var RotatedIcon = ({
3560
3626
  }) => {
3561
3627
  const rotate = (0, import_react23.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3562
3628
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3563
- return /* @__PURE__ */ React40.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3629
+ return /* @__PURE__ */ React42.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3564
3630
  };
3565
3631
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3566
3632
  const { value: direction } = useStylesField("flex-direction", {
3567
3633
  history: { propDisplayName: FLEX_DIRECTION_LABEL }
3568
3634
  });
3569
- const isRtl = "rtl" === (0, import_ui23.useTheme)().direction;
3635
+ const isRtl = "rtl" === (0, import_ui24.useTheme)().direction;
3570
3636
  const rotationMultiplier = isRtl ? -1 : 1;
3571
3637
  const angleMap = isClockwise ? CLOCKWISE_ANGLES : COUNTER_CLOCKWISE_ANGLES;
3572
3638
  const currentDirection = direction?.value || "row";
@@ -3581,9 +3647,9 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3581
3647
  };
3582
3648
 
3583
3649
  // src/components/style-sections/layout-section/align-content-field.tsx
3584
- var ALIGN_CONTENT_LABEL = (0, import_i18n19.__)("Align content", "elementor");
3585
- var StartIcon = (0, import_ui24.withDirection)(import_icons6.JustifyTopIcon);
3586
- var EndIcon = (0, import_ui24.withDirection)(import_icons6.JustifyBottomIcon);
3650
+ var ALIGN_CONTENT_LABEL = (0, import_i18n20.__)("Align content", "elementor");
3651
+ var StartIcon = (0, import_ui25.withDirection)(import_icons7.JustifyTopIcon);
3652
+ var EndIcon = (0, import_ui25.withDirection)(import_icons7.JustifyBottomIcon);
3587
3653
  var iconProps = {
3588
3654
  isClockwise: false,
3589
3655
  offset: 0,
@@ -3592,52 +3658,52 @@ var iconProps = {
3592
3658
  var options = [
3593
3659
  {
3594
3660
  value: "start",
3595
- label: (0, import_i18n19.__)("Start", "elementor"),
3596
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3661
+ label: (0, import_i18n20.__)("Start", "elementor"),
3662
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3597
3663
  showTooltip: true
3598
3664
  },
3599
3665
  {
3600
3666
  value: "center",
3601
- label: (0, import_i18n19.__)("Center", "elementor"),
3602
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifyCenterIcon, size, ...iconProps }),
3667
+ label: (0, import_i18n20.__)("Center", "elementor"),
3668
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifyCenterIcon, size, ...iconProps }),
3603
3669
  showTooltip: true
3604
3670
  },
3605
3671
  {
3606
3672
  value: "end",
3607
- label: (0, import_i18n19.__)("End", "elementor"),
3608
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3673
+ label: (0, import_i18n20.__)("End", "elementor"),
3674
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3609
3675
  showTooltip: true
3610
3676
  },
3611
3677
  {
3612
3678
  value: "space-between",
3613
- label: (0, import_i18n19.__)("Space between", "elementor"),
3614
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3679
+ label: (0, import_i18n20.__)("Space between", "elementor"),
3680
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3615
3681
  showTooltip: true
3616
3682
  },
3617
3683
  {
3618
3684
  value: "space-around",
3619
- label: (0, import_i18n19.__)("Space around", "elementor"),
3620
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3685
+ label: (0, import_i18n20.__)("Space around", "elementor"),
3686
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3621
3687
  showTooltip: true
3622
3688
  },
3623
3689
  {
3624
3690
  value: "space-evenly",
3625
- label: (0, import_i18n19.__)("Space evenly", "elementor"),
3626
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifyDistributeVerticalIcon, size, ...iconProps }),
3691
+ label: (0, import_i18n20.__)("Space evenly", "elementor"),
3692
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifyDistributeVerticalIcon, size, ...iconProps }),
3627
3693
  showTooltip: true
3628
3694
  }
3629
3695
  ];
3630
- var AlignContentField = () => /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React41.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3696
+ var AlignContentField = () => /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React43.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3631
3697
 
3632
3698
  // src/components/style-sections/layout-section/align-items-field.tsx
3633
- var React42 = __toESM(require("react"));
3699
+ var React44 = __toESM(require("react"));
3634
3700
  var import_editor_controls16 = require("@elementor/editor-controls");
3635
- var import_icons7 = require("@elementor/icons");
3636
- var import_ui25 = require("@elementor/ui");
3637
- var import_i18n20 = require("@wordpress/i18n");
3638
- var ALIGN_ITEMS_LABEL = (0, import_i18n20.__)("Align items", "elementor");
3639
- var StartIcon2 = (0, import_ui25.withDirection)(import_icons7.LayoutAlignLeftIcon);
3640
- var EndIcon2 = (0, import_ui25.withDirection)(import_icons7.LayoutAlignRightIcon);
3701
+ var import_icons8 = require("@elementor/icons");
3702
+ var import_ui26 = require("@elementor/ui");
3703
+ var import_i18n21 = require("@wordpress/i18n");
3704
+ var ALIGN_ITEMS_LABEL = (0, import_i18n21.__)("Align items", "elementor");
3705
+ var StartIcon2 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignLeftIcon);
3706
+ var EndIcon2 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignRightIcon);
3641
3707
  var iconProps2 = {
3642
3708
  isClockwise: false,
3643
3709
  offset: 90
@@ -3645,56 +3711,56 @@ var iconProps2 = {
3645
3711
  var options2 = [
3646
3712
  {
3647
3713
  value: "start",
3648
- label: (0, import_i18n20.__)("Start", "elementor"),
3649
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3714
+ label: (0, import_i18n21.__)("Start", "elementor"),
3715
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3650
3716
  showTooltip: true
3651
3717
  },
3652
3718
  {
3653
3719
  value: "center",
3654
- label: (0, import_i18n20.__)("Center", "elementor"),
3655
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: import_icons7.LayoutAlignCenterIcon, size, ...iconProps2 }),
3720
+ label: (0, import_i18n21.__)("Center", "elementor"),
3721
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: import_icons8.LayoutAlignCenterIcon, size, ...iconProps2 }),
3656
3722
  showTooltip: true
3657
3723
  },
3658
3724
  {
3659
3725
  value: "end",
3660
- label: (0, import_i18n20.__)("End", "elementor"),
3661
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3726
+ label: (0, import_i18n21.__)("End", "elementor"),
3727
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3662
3728
  showTooltip: true
3663
3729
  },
3664
3730
  {
3665
3731
  value: "stretch",
3666
- label: (0, import_i18n20.__)("Stretch", "elementor"),
3667
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: import_icons7.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3732
+ label: (0, import_i18n21.__)("Stretch", "elementor"),
3733
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: import_icons8.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3668
3734
  showTooltip: true
3669
3735
  }
3670
3736
  ];
3671
3737
  var AlignItemsField = () => {
3672
- return /* @__PURE__ */ React42.createElement(UiProviders, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React42.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3738
+ return /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React44.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3673
3739
  };
3674
3740
 
3675
3741
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3676
- var React43 = __toESM(require("react"));
3742
+ var React45 = __toESM(require("react"));
3677
3743
  var import_editor_controls17 = require("@elementor/editor-controls");
3678
- var import_icons8 = require("@elementor/icons");
3679
- var import_ui26 = require("@elementor/ui");
3680
- var import_i18n21 = require("@wordpress/i18n");
3681
- var ALIGN_SELF_LABEL = (0, import_i18n21.__)("Align self", "elementor");
3744
+ var import_icons9 = require("@elementor/icons");
3745
+ var import_ui27 = require("@elementor/ui");
3746
+ var import_i18n22 = require("@wordpress/i18n");
3747
+ var ALIGN_SELF_LABEL = (0, import_i18n22.__)("Align self", "elementor");
3682
3748
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3683
3749
  row: 90,
3684
3750
  "row-reverse": 90,
3685
3751
  column: 0,
3686
3752
  "column-reverse": 0
3687
3753
  };
3688
- var StartIcon3 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignLeftIcon);
3689
- var EndIcon3 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignRightIcon);
3754
+ var StartIcon3 = (0, import_ui27.withDirection)(import_icons9.LayoutAlignLeftIcon);
3755
+ var EndIcon3 = (0, import_ui27.withDirection)(import_icons9.LayoutAlignRightIcon);
3690
3756
  var iconProps3 = {
3691
3757
  isClockwise: false
3692
3758
  };
3693
3759
  var getOptions = (parentStyleDirection) => [
3694
3760
  {
3695
3761
  value: "start",
3696
- label: (0, import_i18n21.__)("Start", "elementor"),
3697
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3762
+ label: (0, import_i18n22.__)("Start", "elementor"),
3763
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3698
3764
  RotatedIcon,
3699
3765
  {
3700
3766
  icon: StartIcon3,
@@ -3707,11 +3773,11 @@ var getOptions = (parentStyleDirection) => [
3707
3773
  },
3708
3774
  {
3709
3775
  value: "center",
3710
- label: (0, import_i18n21.__)("Center", "elementor"),
3711
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3776
+ label: (0, import_i18n22.__)("Center", "elementor"),
3777
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3712
3778
  RotatedIcon,
3713
3779
  {
3714
- icon: import_icons8.LayoutAlignCenterIcon,
3780
+ icon: import_icons9.LayoutAlignCenterIcon,
3715
3781
  size,
3716
3782
  offset: ALIGN_SELF_CHILD_OFFSET_MAP[parentStyleDirection],
3717
3783
  ...iconProps3
@@ -3721,8 +3787,8 @@ var getOptions = (parentStyleDirection) => [
3721
3787
  },
3722
3788
  {
3723
3789
  value: "end",
3724
- label: (0, import_i18n21.__)("End", "elementor"),
3725
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3790
+ label: (0, import_i18n22.__)("End", "elementor"),
3791
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3726
3792
  RotatedIcon,
3727
3793
  {
3728
3794
  icon: EndIcon3,
@@ -3735,11 +3801,11 @@ var getOptions = (parentStyleDirection) => [
3735
3801
  },
3736
3802
  {
3737
3803
  value: "stretch",
3738
- label: (0, import_i18n21.__)("Stretch", "elementor"),
3739
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3804
+ label: (0, import_i18n22.__)("Stretch", "elementor"),
3805
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3740
3806
  RotatedIcon,
3741
3807
  {
3742
- icon: import_icons8.LayoutDistributeVerticalIcon,
3808
+ icon: import_icons9.LayoutDistributeVerticalIcon,
3743
3809
  size,
3744
3810
  offset: ALIGN_SELF_CHILD_OFFSET_MAP[parentStyleDirection],
3745
3811
  ...iconProps3
@@ -3748,96 +3814,96 @@ var getOptions = (parentStyleDirection) => [
3748
3814
  showTooltip: true
3749
3815
  }
3750
3816
  ];
3751
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React43.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3817
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React45.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React45.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3752
3818
 
3753
3819
  // src/components/style-sections/layout-section/align-self-grid-child-field.tsx
3754
- var React44 = __toESM(require("react"));
3820
+ var React46 = __toESM(require("react"));
3755
3821
  var import_editor_controls18 = require("@elementor/editor-controls");
3756
- var import_icons9 = require("@elementor/icons");
3757
- var import_i18n22 = require("@wordpress/i18n");
3758
- var ALIGN_SELF_LABEL2 = (0, import_i18n22.__)("Align self", "elementor");
3822
+ var import_icons10 = require("@elementor/icons");
3823
+ var import_i18n23 = require("@wordpress/i18n");
3824
+ var ALIGN_SELF_LABEL2 = (0, import_i18n23.__)("Align self", "elementor");
3759
3825
  var ALIGN_SELF_CHILD_OFFSET_MAP2 = {
3760
3826
  row: 0,
3761
3827
  column: -90
3762
3828
  };
3763
- var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React44.createElement(import_editor_controls18.ToggleControl, { options: getOptions2(parentStyleDirection ?? "row") }))));
3829
+ var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React46.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React46.createElement(import_editor_controls18.ToggleControl, { options: getOptions2(parentStyleDirection ?? "row") }))));
3764
3830
  var RotatedIcon2 = ({
3765
3831
  icon: Icon,
3766
3832
  size,
3767
3833
  offset
3768
- }) => /* @__PURE__ */ React44.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3834
+ }) => /* @__PURE__ */ React46.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3769
3835
  var getOptions2 = (parentStyleDirection) => {
3770
3836
  const offset = ALIGN_SELF_CHILD_OFFSET_MAP2[parentStyleDirection.replace("dense", "").trim()];
3771
3837
  return [
3772
3838
  {
3773
3839
  value: "start",
3774
- label: (0, import_i18n22.__)("Start", "elementor"),
3775
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.JustifyTopIcon, size, offset }),
3840
+ label: (0, import_i18n23.__)("Start", "elementor"),
3841
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.JustifyTopIcon, size, offset }),
3776
3842
  showTooltip: true
3777
3843
  },
3778
3844
  {
3779
3845
  value: "center",
3780
- label: (0, import_i18n22.__)("Center", "elementor"),
3781
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.JustifyCenterIcon, size, offset }),
3846
+ label: (0, import_i18n23.__)("Center", "elementor"),
3847
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.JustifyCenterIcon, size, offset }),
3782
3848
  showTooltip: true
3783
3849
  },
3784
3850
  {
3785
3851
  value: "end",
3786
- label: (0, import_i18n22.__)("End", "elementor"),
3787
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.JustifyBottomIcon, size, offset }),
3852
+ label: (0, import_i18n23.__)("End", "elementor"),
3853
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.JustifyBottomIcon, size, offset }),
3788
3854
  showTooltip: true
3789
3855
  },
3790
3856
  {
3791
3857
  value: "stretch",
3792
- label: (0, import_i18n22.__)("Stretch", "elementor"),
3793
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.LayoutDistributeVerticalIcon, size, offset }),
3858
+ label: (0, import_i18n23.__)("Stretch", "elementor"),
3859
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.LayoutDistributeVerticalIcon, size, offset }),
3794
3860
  showTooltip: true
3795
3861
  }
3796
3862
  ];
3797
3863
  };
3798
3864
 
3799
3865
  // src/components/style-sections/layout-section/display-field.tsx
3800
- var React45 = __toESM(require("react"));
3866
+ var React47 = __toESM(require("react"));
3801
3867
  var import_react24 = require("react");
3802
3868
  var import_editor_controls19 = require("@elementor/editor-controls");
3803
3869
  var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
3804
- var import_i18n23 = require("@wordpress/i18n");
3805
- var DISPLAY_LABEL = (0, import_i18n23.__)("Display", "elementor");
3870
+ var import_i18n24 = require("@wordpress/i18n");
3871
+ var DISPLAY_LABEL = (0, import_i18n24.__)("Display", "elementor");
3806
3872
  var displayFieldItems = [
3807
3873
  {
3808
3874
  value: "block",
3809
- renderContent: () => (0, import_i18n23.__)("Block", "elementor"),
3810
- label: (0, import_i18n23.__)("Block", "elementor"),
3875
+ renderContent: () => (0, import_i18n24.__)("Block", "elementor"),
3876
+ label: (0, import_i18n24.__)("Block", "elementor"),
3811
3877
  showTooltip: true
3812
3878
  },
3813
3879
  {
3814
3880
  value: "flex",
3815
- renderContent: () => (0, import_i18n23.__)("Flex", "elementor"),
3816
- label: (0, import_i18n23.__)("Flex", "elementor"),
3881
+ renderContent: () => (0, import_i18n24.__)("Flex", "elementor"),
3882
+ label: (0, import_i18n24.__)("Flex", "elementor"),
3817
3883
  showTooltip: true
3818
3884
  },
3819
3885
  {
3820
3886
  value: "grid",
3821
- renderContent: () => (0, import_i18n23.__)("Grid", "elementor"),
3822
- label: (0, import_i18n23.__)("Grid", "elementor"),
3887
+ renderContent: () => (0, import_i18n24.__)("Grid", "elementor"),
3888
+ label: (0, import_i18n24.__)("Grid", "elementor"),
3823
3889
  showTooltip: true
3824
3890
  },
3825
3891
  {
3826
3892
  value: "none",
3827
- renderContent: () => (0, import_i18n23.__)("None", "elementor"),
3828
- label: (0, import_i18n23.__)("None", "elementor"),
3893
+ renderContent: () => (0, import_i18n24.__)("None", "elementor"),
3894
+ label: (0, import_i18n24.__)("None", "elementor"),
3829
3895
  showTooltip: true
3830
3896
  },
3831
3897
  {
3832
3898
  value: "inline-block",
3833
- renderContent: () => (0, import_i18n23.__)("In-blk", "elementor"),
3834
- label: (0, import_i18n23.__)("Inline-block", "elementor"),
3899
+ renderContent: () => (0, import_i18n24.__)("In-blk", "elementor"),
3900
+ label: (0, import_i18n24.__)("Inline-block", "elementor"),
3835
3901
  showTooltip: true
3836
3902
  },
3837
3903
  {
3838
3904
  value: "inline-flex",
3839
- renderContent: () => (0, import_i18n23.__)("In-flx", "elementor"),
3840
- label: (0, import_i18n23.__)("Inline-flex", "elementor"),
3905
+ renderContent: () => (0, import_i18n24.__)("In-flx", "elementor"),
3906
+ label: (0, import_i18n24.__)("Inline-flex", "elementor"),
3841
3907
  showTooltip: true
3842
3908
  }
3843
3909
  ];
@@ -3848,61 +3914,61 @@ var DisplayField = () => {
3848
3914
  () => isGridActive ? displayFieldItems : displayFieldItems.filter((item) => item.value !== "grid"),
3849
3915
  [isGridActive]
3850
3916
  );
3851
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React45.createElement(import_editor_controls19.ToggleControl, { options: items3, maxItems: 4, fullWidth: true })));
3917
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React47.createElement(import_editor_controls19.ToggleControl, { options: items3, maxItems: 4, fullWidth: true })));
3852
3918
  };
3853
3919
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3854
3920
 
3855
3921
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3856
- var React46 = __toESM(require("react"));
3922
+ var React48 = __toESM(require("react"));
3857
3923
  var import_editor_controls20 = require("@elementor/editor-controls");
3858
- var import_icons10 = require("@elementor/icons");
3859
- var import_ui27 = require("@elementor/ui");
3860
- var import_i18n24 = require("@wordpress/i18n");
3861
- var FLEX_DIRECTION_LABEL2 = (0, import_i18n24.__)("Direction", "elementor");
3924
+ var import_icons11 = require("@elementor/icons");
3925
+ var import_ui28 = require("@elementor/ui");
3926
+ var import_i18n25 = require("@wordpress/i18n");
3927
+ var FLEX_DIRECTION_LABEL2 = (0, import_i18n25.__)("Direction", "elementor");
3862
3928
  var options3 = [
3863
3929
  {
3864
3930
  value: "row",
3865
- label: (0, import_i18n24.__)("Row", "elementor"),
3931
+ label: (0, import_i18n25.__)("Row", "elementor"),
3866
3932
  renderContent: ({ size }) => {
3867
- const StartIcon7 = (0, import_ui27.withDirection)(import_icons10.ArrowRightIcon);
3868
- return /* @__PURE__ */ React46.createElement(StartIcon7, { fontSize: size });
3933
+ const StartIcon7 = (0, import_ui28.withDirection)(import_icons11.ArrowRightIcon);
3934
+ return /* @__PURE__ */ React48.createElement(StartIcon7, { fontSize: size });
3869
3935
  },
3870
3936
  showTooltip: true
3871
3937
  },
3872
3938
  {
3873
3939
  value: "column",
3874
- label: (0, import_i18n24.__)("Column", "elementor"),
3875
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ArrowDownSmallIcon, { fontSize: size }),
3940
+ label: (0, import_i18n25.__)("Column", "elementor"),
3941
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
3876
3942
  showTooltip: true
3877
3943
  },
3878
3944
  {
3879
3945
  value: "row-reverse",
3880
- label: (0, import_i18n24.__)("Reversed row", "elementor"),
3946
+ label: (0, import_i18n25.__)("Reversed row", "elementor"),
3881
3947
  renderContent: ({ size }) => {
3882
- const EndIcon6 = (0, import_ui27.withDirection)(import_icons10.ArrowLeftIcon);
3883
- return /* @__PURE__ */ React46.createElement(EndIcon6, { fontSize: size });
3948
+ const EndIcon6 = (0, import_ui28.withDirection)(import_icons11.ArrowLeftIcon);
3949
+ return /* @__PURE__ */ React48.createElement(EndIcon6, { fontSize: size });
3884
3950
  },
3885
3951
  showTooltip: true
3886
3952
  },
3887
3953
  {
3888
3954
  value: "column-reverse",
3889
- label: (0, import_i18n24.__)("Reversed column", "elementor"),
3890
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ArrowUpSmallIcon, { fontSize: size }),
3955
+ label: (0, import_i18n25.__)("Reversed column", "elementor"),
3956
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
3891
3957
  showTooltip: true
3892
3958
  }
3893
3959
  ];
3894
3960
  var FlexDirectionField = () => {
3895
- return /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React46.createElement(import_editor_controls20.ToggleControl, { options: options3 }))));
3961
+ return /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React48.createElement(import_editor_controls20.ToggleControl, { options: options3 }))));
3896
3962
  };
3897
3963
 
3898
3964
  // src/components/style-sections/layout-section/flex-order-field.tsx
3899
- var React47 = __toESM(require("react"));
3965
+ var React49 = __toESM(require("react"));
3900
3966
  var import_react25 = require("react");
3901
3967
  var import_editor_controls21 = require("@elementor/editor-controls");
3902
- var import_icons11 = require("@elementor/icons");
3903
- var import_ui28 = require("@elementor/ui");
3904
- var import_i18n25 = require("@wordpress/i18n");
3905
- var ORDER_LABEL = (0, import_i18n25.__)("Order", "elementor");
3968
+ var import_icons12 = require("@elementor/icons");
3969
+ var import_ui29 = require("@elementor/ui");
3970
+ var import_i18n26 = require("@wordpress/i18n");
3971
+ var ORDER_LABEL = (0, import_i18n26.__)("Order", "elementor");
3906
3972
  var FIRST_DEFAULT_VALUE = -99999;
3907
3973
  var LAST_DEFAULT_VALUE = 99999;
3908
3974
  var FIRST = "first";
@@ -3915,25 +3981,25 @@ var orderValueMap = {
3915
3981
  var items = [
3916
3982
  {
3917
3983
  value: FIRST,
3918
- label: (0, import_i18n25.__)("First", "elementor"),
3919
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
3984
+ label: (0, import_i18n26.__)("First", "elementor"),
3985
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowUpSmallIcon, { fontSize: size }),
3920
3986
  showTooltip: true
3921
3987
  },
3922
3988
  {
3923
3989
  value: LAST,
3924
- label: (0, import_i18n25.__)("Last", "elementor"),
3925
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
3990
+ label: (0, import_i18n26.__)("Last", "elementor"),
3991
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowDownSmallIcon, { fontSize: size }),
3926
3992
  showTooltip: true
3927
3993
  },
3928
3994
  {
3929
3995
  value: CUSTOM,
3930
- label: (0, import_i18n25.__)("Custom", "elementor"),
3931
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons11.PencilIcon, { fontSize: size }),
3996
+ label: (0, import_i18n26.__)("Custom", "elementor"),
3997
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.PencilIcon, { fontSize: size }),
3932
3998
  showTooltip: true
3933
3999
  }
3934
4000
  ];
3935
4001
  var FlexOrderField = () => {
3936
- return /* @__PURE__ */ React47.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(FlexOrderFieldContent, null))));
4002
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(FlexOrderFieldContent, null))));
3937
4003
  };
3938
4004
  function FlexOrderFieldContent() {
3939
4005
  const {
@@ -3978,7 +4044,7 @@ function FlexOrderFieldContent() {
3978
4044
  };
3979
4045
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
3980
4046
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
3981
- return /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React47.createElement(
4047
+ return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React49.createElement(
3982
4048
  import_editor_controls21.ControlToggleButtonGroup,
3983
4049
  {
3984
4050
  items,
@@ -3988,7 +4054,7 @@ function FlexOrderFieldContent() {
3988
4054
  placeholder: groupPlaceholder,
3989
4055
  disabled: !canEdit
3990
4056
  }
3991
- )), isCustomVisible && /* @__PURE__ */ React47.createElement(import_ui28.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, (0, import_i18n25.__)("Custom order", "elementor"))), /* @__PURE__ */ React47.createElement(import_ui28.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(
4057
+ )), isCustomVisible && /* @__PURE__ */ React49.createElement(import_ui29.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(import_ui29.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(ControlLabel, null, (0, import_i18n26.__)("Custom order", "elementor"))), /* @__PURE__ */ React49.createElement(import_ui29.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React49.createElement(
3992
4058
  import_editor_controls21.NumberControl,
3993
4059
  {
3994
4060
  min: FIRST_DEFAULT_VALUE + 1,
@@ -4012,36 +4078,36 @@ var getGroupControlValue = (order) => {
4012
4078
  };
4013
4079
 
4014
4080
  // src/components/style-sections/layout-section/flex-size-field.tsx
4015
- var React48 = __toESM(require("react"));
4081
+ var React50 = __toESM(require("react"));
4016
4082
  var import_react26 = require("react");
4017
4083
  var import_editor_controls22 = require("@elementor/editor-controls");
4018
4084
  var import_editor_props13 = require("@elementor/editor-props");
4019
- var import_icons12 = require("@elementor/icons");
4020
- var import_i18n26 = require("@wordpress/i18n");
4021
- var FLEX_SIZE_LABEL = (0, import_i18n26.__)("Flex Size", "elementor");
4085
+ var import_icons13 = require("@elementor/icons");
4086
+ var import_i18n27 = require("@wordpress/i18n");
4087
+ var FLEX_SIZE_LABEL = (0, import_i18n27.__)("Flex Size", "elementor");
4022
4088
  var DEFAULT = 1;
4023
4089
  var items2 = [
4024
4090
  {
4025
4091
  value: "flex-grow",
4026
- label: (0, import_i18n26.__)("Grow", "elementor"),
4027
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ExpandIcon, { fontSize: size }),
4092
+ label: (0, import_i18n27.__)("Grow", "elementor"),
4093
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.ExpandIcon, { fontSize: size }),
4028
4094
  showTooltip: true
4029
4095
  },
4030
4096
  {
4031
4097
  value: "flex-shrink",
4032
- label: (0, import_i18n26.__)("Shrink", "elementor"),
4033
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ShrinkIcon, { fontSize: size }),
4098
+ label: (0, import_i18n27.__)("Shrink", "elementor"),
4099
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.ShrinkIcon, { fontSize: size }),
4034
4100
  showTooltip: true
4035
4101
  },
4036
4102
  {
4037
4103
  value: "custom",
4038
- label: (0, import_i18n26.__)("Custom", "elementor"),
4039
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.PencilIcon, { fontSize: size }),
4104
+ label: (0, import_i18n27.__)("Custom", "elementor"),
4105
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.PencilIcon, { fontSize: size }),
4040
4106
  showTooltip: true
4041
4107
  }
4042
4108
  ];
4043
4109
  var FlexSizeField = () => {
4044
- return /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(SectionContent, null, /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React48.createElement(FlexSizeFieldContent, null))));
4110
+ return /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React50.createElement(FlexSizeFieldContent, null))));
4045
4111
  };
4046
4112
  var FlexSizeFieldContent = () => {
4047
4113
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -4070,7 +4136,7 @@ var FlexSizeFieldContent = () => {
4070
4136
  };
4071
4137
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
4072
4138
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
4073
- return /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React48.createElement(
4139
+ return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React50.createElement(
4074
4140
  import_editor_controls22.ControlToggleButtonGroup,
4075
4141
  {
4076
4142
  value: activeGroup ?? null,
@@ -4080,7 +4146,7 @@ var FlexSizeFieldContent = () => {
4080
4146
  items: items2,
4081
4147
  exclusive: true
4082
4148
  }
4083
- )), isCustomVisible && /* @__PURE__ */ React48.createElement(FlexCustomField, null));
4149
+ )), isCustomVisible && /* @__PURE__ */ React50.createElement(FlexCustomField, null));
4084
4150
  };
4085
4151
  function extractFlexValues(source) {
4086
4152
  return {
@@ -4122,7 +4188,7 @@ var createFlexValueForGroup = (group, flexValue) => {
4122
4188
  var FlexCustomField = () => {
4123
4189
  const flexBasisRowRef = (0, import_react26.useRef)(null);
4124
4190
  const context = (0, import_editor_controls22.useBoundProp)(import_editor_props13.flexPropTypeUtil);
4125
- return /* @__PURE__ */ React48.createElement(import_editor_controls22.PropProvider, { ...context }, /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: (0, import_i18n26.__)("Grow", "elementor") }, /* @__PURE__ */ React48.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: (0, import_i18n26.__)("Shrink", "elementor") }, /* @__PURE__ */ React48.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: (0, import_i18n26.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React48.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4191
+ return /* @__PURE__ */ React50.createElement(import_editor_controls22.PropProvider, { ...context }, /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: (0, import_i18n27.__)("Grow", "elementor") }, /* @__PURE__ */ React50.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React50.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: (0, import_i18n27.__)("Shrink", "elementor") }, /* @__PURE__ */ React50.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React50.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: (0, import_i18n27.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React50.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React50.createElement(import_editor_controls22.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4126
4192
  };
4127
4193
  var getActiveGroup = ({
4128
4194
  grow,
@@ -4146,34 +4212,34 @@ var getActiveGroup = ({
4146
4212
  };
4147
4213
 
4148
4214
  // src/components/style-sections/layout-section/gap-control-field.tsx
4149
- var React49 = __toESM(require("react"));
4215
+ var React51 = __toESM(require("react"));
4150
4216
  var import_editor_controls23 = require("@elementor/editor-controls");
4151
- var import_i18n27 = require("@wordpress/i18n");
4152
- var GAPS_LABEL = (0, import_i18n27.__)("Gaps", "elementor");
4217
+ var import_i18n28 = require("@wordpress/i18n");
4218
+ var GAPS_LABEL = (0, import_i18n28.__)("Gaps", "elementor");
4153
4219
  var GapControlField = () => {
4154
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React49.createElement(import_editor_controls23.GapControl, { label: GAPS_LABEL }));
4220
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React51.createElement(import_editor_controls23.GapControl, { label: GAPS_LABEL }));
4155
4221
  };
4156
4222
 
4157
4223
  // src/components/style-sections/layout-section/grid-auto-flow-field.tsx
4158
- var React50 = __toESM(require("react"));
4224
+ var React52 = __toESM(require("react"));
4159
4225
  var import_editor_controls24 = require("@elementor/editor-controls");
4160
- var import_icons13 = require("@elementor/icons");
4161
- var import_ui29 = require("@elementor/ui");
4162
- var import_i18n28 = require("@wordpress/i18n");
4163
- var AUTO_FLOW_LABEL = (0, import_i18n28.__)("Auto flow", "elementor");
4164
- var DENSE_LABEL = (0, import_i18n28.__)("Dense", "elementor");
4165
- var StartIcon4 = (0, import_ui29.withDirection)(import_icons13.ArrowRightIcon);
4226
+ var import_icons14 = require("@elementor/icons");
4227
+ var import_ui30 = require("@elementor/ui");
4228
+ var import_i18n29 = require("@wordpress/i18n");
4229
+ var AUTO_FLOW_LABEL = (0, import_i18n29.__)("Auto flow", "elementor");
4230
+ var DENSE_LABEL = (0, import_i18n29.__)("Dense", "elementor");
4231
+ var StartIcon4 = (0, import_ui30.withDirection)(import_icons14.ArrowRightIcon);
4166
4232
  var directionOptions = [
4167
4233
  {
4168
4234
  value: "row",
4169
- label: (0, import_i18n28.__)("Row", "elementor"),
4170
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(StartIcon4, { fontSize: size }),
4235
+ label: (0, import_i18n29.__)("Row", "elementor"),
4236
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(StartIcon4, { fontSize: size }),
4171
4237
  showTooltip: true
4172
4238
  },
4173
4239
  {
4174
4240
  value: "column",
4175
- label: (0, import_i18n28.__)("Column", "elementor"),
4176
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.ArrowDownSmallIcon, { fontSize: size }),
4241
+ label: (0, import_i18n29.__)("Column", "elementor"),
4242
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons14.ArrowDownSmallIcon, { fontSize: size }),
4177
4243
  showTooltip: true
4178
4244
  }
4179
4245
  ];
@@ -4202,7 +4268,7 @@ var GridAutoFlowFieldContent = () => {
4202
4268
  const handleDenseToggle = () => {
4203
4269
  setValue({ $$type: "string", value: composeAutoFlow(direction, !dense) });
4204
4270
  };
4205
- return /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React50.createElement(
4271
+ return /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React52.createElement(import_ui30.Grid, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React52.createElement(import_ui30.Grid, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React52.createElement(
4206
4272
  import_editor_controls24.ControlToggleButtonGroup,
4207
4273
  {
4208
4274
  items: directionOptions,
@@ -4211,8 +4277,8 @@ var GridAutoFlowFieldContent = () => {
4211
4277
  exclusive: true,
4212
4278
  fullWidth: true
4213
4279
  }
4214
- )), /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true }, /* @__PURE__ */ React50.createElement(import_ui29.Tooltip, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React50.createElement(
4215
- import_ui29.ToggleButton,
4280
+ )), /* @__PURE__ */ React52.createElement(import_ui30.Grid, { item: true }, /* @__PURE__ */ React52.createElement(import_ui30.Tooltip, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React52.createElement(
4281
+ import_ui30.ToggleButton,
4216
4282
  {
4217
4283
  value: "dense",
4218
4284
  selected: dense,
@@ -4220,63 +4286,109 @@ var GridAutoFlowFieldContent = () => {
4220
4286
  size: "tiny",
4221
4287
  "aria-label": DENSE_LABEL
4222
4288
  },
4223
- /* @__PURE__ */ React50.createElement(import_icons13.LayoutDashboardIcon, { fontSize: "tiny" })
4289
+ /* @__PURE__ */ React52.createElement(import_icons14.LayoutDashboardIcon, { fontSize: "tiny" })
4224
4290
  )))));
4225
4291
  };
4226
- var GridAutoFlowField = () => /* @__PURE__ */ React50.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(GridAutoFlowFieldContent, null)));
4292
+ var GridAutoFlowField = () => /* @__PURE__ */ React52.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React52.createElement(UiProviders, null, /* @__PURE__ */ React52.createElement(GridAutoFlowFieldContent, null)));
4227
4293
 
4228
- // src/components/style-sections/layout-section/grid-justify-items-field.tsx
4229
- var React51 = __toESM(require("react"));
4294
+ // src/components/style-sections/layout-section/grid-auto-track-fields.tsx
4295
+ var React53 = __toESM(require("react"));
4296
+ var import_react27 = require("react");
4230
4297
  var import_editor_controls25 = require("@elementor/editor-controls");
4231
- var import_icons14 = require("@elementor/icons");
4232
- var import_ui30 = require("@elementor/ui");
4233
- var import_i18n29 = require("@wordpress/i18n");
4234
- var JUSTIFY_ITEMS_LABEL = (0, import_i18n29.__)("Justify items", "elementor");
4235
- var StartIcon5 = (0, import_ui30.withDirection)(import_icons14.LayoutAlignLeftIcon);
4236
- var EndIcon4 = (0, import_ui30.withDirection)(import_icons14.LayoutAlignRightIcon);
4298
+ var import_ui31 = require("@elementor/ui");
4299
+ var import_i18n30 = require("@wordpress/i18n");
4300
+ var DEFAULT_UNIT = "fr";
4301
+ var AUTO_ROWS_LABEL = (0, import_i18n30.__)("Auto rows", "elementor");
4302
+ var AUTO_COLUMNS_LABEL = (0, import_i18n30.__)("Auto columns", "elementor");
4303
+ var AUTO_ROWS_TOOLTIP = (0, import_i18n30.__)(
4304
+ "Set the size for new rows created automatically when content exceeds the defined grid.",
4305
+ "elementor"
4306
+ );
4307
+ var AUTO_COLUMNS_TOOLTIP = (0, import_i18n30.__)(
4308
+ "Set the size for new columns created automatically when content exceeds the defined grid.",
4309
+ "elementor"
4310
+ );
4311
+ var GridAutoTrackField = ({ bind, infoTooltip, label, rowRef }) => /* @__PURE__ */ React53.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { infoTooltip, label, ref: rowRef }, /* @__PURE__ */ React53.createElement(
4312
+ import_editor_controls25.SizeControl,
4313
+ {
4314
+ enablePropTypeUnits: true,
4315
+ defaultUnit: DEFAULT_UNIT,
4316
+ anchorRef: rowRef
4317
+ }
4318
+ )));
4319
+ var GridAutoTrackFields = () => {
4320
+ const rowRef = (0, import_react27.useRef)(null);
4321
+ return /* @__PURE__ */ React53.createElement(import_ui31.Stack, { gap: 2, pt: 2, ref: rowRef }, /* @__PURE__ */ React53.createElement(
4322
+ GridAutoTrackField,
4323
+ {
4324
+ bind: "grid-auto-rows",
4325
+ infoTooltip: AUTO_ROWS_TOOLTIP,
4326
+ label: AUTO_ROWS_LABEL,
4327
+ rowRef
4328
+ }
4329
+ ), /* @__PURE__ */ React53.createElement(
4330
+ GridAutoTrackField,
4331
+ {
4332
+ bind: "grid-auto-columns",
4333
+ infoTooltip: AUTO_COLUMNS_TOOLTIP,
4334
+ label: AUTO_COLUMNS_LABEL,
4335
+ rowRef
4336
+ }
4337
+ ));
4338
+ };
4339
+
4340
+ // src/components/style-sections/layout-section/grid-justify-items-field.tsx
4341
+ var React54 = __toESM(require("react"));
4342
+ var import_editor_controls26 = require("@elementor/editor-controls");
4343
+ var import_icons15 = require("@elementor/icons");
4344
+ var import_ui32 = require("@elementor/ui");
4345
+ var import_i18n31 = require("@wordpress/i18n");
4346
+ var JUSTIFY_ITEMS_LABEL = (0, import_i18n31.__)("Justify items", "elementor");
4347
+ var StartIcon5 = (0, import_ui32.withDirection)(import_icons15.LayoutAlignLeftIcon);
4348
+ var EndIcon4 = (0, import_ui32.withDirection)(import_icons15.LayoutAlignRightIcon);
4237
4349
  var options4 = [
4238
4350
  {
4239
4351
  value: "start",
4240
- label: (0, import_i18n29.__)("Start", "elementor"),
4241
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(StartIcon5, { fontSize: size }),
4352
+ label: (0, import_i18n31.__)("Start", "elementor"),
4353
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(StartIcon5, { fontSize: size }),
4242
4354
  showTooltip: true
4243
4355
  },
4244
4356
  {
4245
4357
  value: "center",
4246
- label: (0, import_i18n29.__)("Center", "elementor"),
4247
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons14.LayoutAlignCenterIcon, { fontSize: size }),
4358
+ label: (0, import_i18n31.__)("Center", "elementor"),
4359
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(import_icons15.LayoutAlignCenterIcon, { fontSize: size }),
4248
4360
  showTooltip: true
4249
4361
  },
4250
4362
  {
4251
4363
  value: "end",
4252
- label: (0, import_i18n29.__)("End", "elementor"),
4253
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(EndIcon4, { fontSize: size }),
4364
+ label: (0, import_i18n31.__)("End", "elementor"),
4365
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(EndIcon4, { fontSize: size }),
4254
4366
  showTooltip: true
4255
4367
  },
4256
4368
  {
4257
4369
  value: "stretch",
4258
- label: (0, import_i18n29.__)("Stretch", "elementor"),
4259
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons14.LayoutDistributeVerticalIcon, { fontSize: size }),
4370
+ label: (0, import_i18n31.__)("Stretch", "elementor"),
4371
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(import_icons15.LayoutDistributeVerticalIcon, { fontSize: size }),
4260
4372
  showTooltip: true
4261
4373
  }
4262
4374
  ];
4263
- var GridJustifyItemsField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React51.createElement(import_editor_controls25.ToggleControl, { options: options4 }))));
4375
+ var GridJustifyItemsField = () => /* @__PURE__ */ React54.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React54.createElement(import_editor_controls26.ToggleControl, { options: options4 }))));
4264
4376
 
4265
4377
  // src/components/style-sections/layout-section/grid-outline-field.tsx
4266
- var React52 = __toESM(require("react"));
4267
- var import_editor_controls26 = require("@elementor/editor-controls");
4268
- var import_i18n30 = require("@wordpress/i18n");
4269
- var GRID_OUTLINE_LABEL = (0, import_i18n30.__)("Show Grid Outline", "elementor");
4378
+ var React55 = __toESM(require("react"));
4379
+ var import_editor_controls27 = require("@elementor/editor-controls");
4380
+ var import_i18n32 = require("@wordpress/i18n");
4381
+ var GRID_OUTLINE_LABEL = (0, import_i18n32.__)("Show Grid Outline", "elementor");
4270
4382
  var GridOutlineField = () => {
4271
- return /* @__PURE__ */ React52.createElement(SettingsField, { bind: "grid_outline", propDisplayName: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React52.createElement(import_editor_controls26.SwitchControl, null)));
4383
+ return /* @__PURE__ */ React55.createElement(SettingsField, { bind: "grid_outline", propDisplayName: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React55.createElement(import_editor_controls27.SwitchControl, null)));
4272
4384
  };
4273
4385
 
4274
4386
  // src/components/style-sections/layout-section/grid-size-field.tsx
4275
- var React53 = __toESM(require("react"));
4276
- var import_react27 = require("react");
4277
- var import_editor_controls27 = require("@elementor/editor-controls");
4278
- var import_ui31 = require("@elementor/ui");
4279
- var import_i18n31 = require("@wordpress/i18n");
4387
+ var React56 = __toESM(require("react"));
4388
+ var import_react28 = require("react");
4389
+ var import_editor_controls28 = require("@elementor/editor-controls");
4390
+ var import_ui33 = require("@elementor/ui");
4391
+ var import_i18n33 = require("@wordpress/i18n");
4280
4392
 
4281
4393
  // src/components/style-sections/layout-section/utils/grid-track-value.ts
4282
4394
  var import_editor_props14 = require("@elementor/editor-props");
@@ -4370,9 +4482,9 @@ var unitOf = (v, fallback = FR) => {
4370
4482
  };
4371
4483
 
4372
4484
  // src/components/style-sections/layout-section/grid-size-field.tsx
4373
- var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React53.createElement(import_editor_controls27.ControlActions, null, children);
4374
- var GridTrackSizeInput = (0, import_editor_controls27.createControl)((props) => /* @__PURE__ */ React53.createElement(
4375
- import_editor_controls27.SizeComponent,
4485
+ var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React56.createElement(import_editor_controls28.ControlActions, null, children);
4486
+ var GridTrackSizeInput = (0, import_editor_controls28.createControl)((props) => /* @__PURE__ */ React56.createElement(
4487
+ import_editor_controls28.SizeComponent,
4376
4488
  {
4377
4489
  units: UNITS,
4378
4490
  value: props.value,
@@ -4390,8 +4502,8 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4390
4502
  const { value, setValue } = useStylesField(cssProp, {
4391
4503
  history: { propDisplayName: label }
4392
4504
  });
4393
- const { placeholder: inheritedPlaceholder } = (0, import_editor_controls27.useBoundProp)();
4394
- const anchorRef = (0, import_react27.useRef)(null);
4505
+ const { placeholder: inheritedPlaceholder } = (0, import_editor_controls28.useBoundProp)();
4506
+ const anchorRef = (0, import_react28.useRef)(null);
4395
4507
  const local = parseValue(value);
4396
4508
  const inherited = parseValue(inheritedPlaceholder);
4397
4509
  const displayValue = local.kind !== "empty" ? toSizeInput(local) : toSizeInput(EMPTY, unitOf(inherited));
@@ -4403,7 +4515,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4403
4515
  }
4404
4516
  setValue(toPropValue(next));
4405
4517
  };
4406
- return /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React53.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React53.createElement(
4518
+ return /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React56.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React56.createElement(
4407
4519
  GridTrackSizeInput,
4408
4520
  {
4409
4521
  value: displayValue,
@@ -4413,29 +4525,29 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4413
4525
  }
4414
4526
  )));
4415
4527
  };
4416
- var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React53.createElement(UiProviders, null, /* @__PURE__ */ React53.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React53.createElement(GridTrackFieldContent, { cssProp, label })));
4417
- var GridSizeFields = () => /* @__PURE__ */ React53.createElement(import_ui31.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(GridTrackField, { cssProp: "grid-template-columns", label: (0, import_i18n31.__)("Columns", "elementor") })), /* @__PURE__ */ React53.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(GridTrackField, { cssProp: "grid-template-rows", label: (0, import_i18n31.__)("Rows", "elementor") })));
4528
+ var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React56.createElement(GridTrackFieldContent, { cssProp, label })));
4529
+ var GridSizeFields = () => /* @__PURE__ */ React56.createElement(import_ui33.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(GridTrackField, { cssProp: "grid-template-columns", label: (0, import_i18n33.__)("Columns", "elementor") })), /* @__PURE__ */ React56.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(GridTrackField, { cssProp: "grid-template-rows", label: (0, import_i18n33.__)("Rows", "elementor") })));
4418
4530
 
4419
4531
  // src/components/style-sections/layout-section/grid-span-field.tsx
4420
- var React54 = __toESM(require("react"));
4421
- var import_editor_controls28 = require("@elementor/editor-controls");
4422
- var import_ui32 = require("@elementor/ui");
4423
- var import_i18n32 = require("@wordpress/i18n");
4532
+ var React57 = __toESM(require("react"));
4533
+ var import_editor_controls29 = require("@elementor/editor-controls");
4534
+ var import_ui34 = require("@elementor/ui");
4535
+ var import_i18n34 = require("@wordpress/i18n");
4424
4536
  var GridSpanFieldContent = ({ label }) => {
4425
- return /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React54.createElement(import_editor_controls28.GridSpanControl, null));
4537
+ return /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React57.createElement(import_editor_controls29.GridSpanControl, null));
4426
4538
  };
4427
- var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React54.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(GridSpanFieldContent, { cssProp, label })));
4428
- var GridSpanFields = () => /* @__PURE__ */ React54.createElement(import_ui32.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(GridSpanField, { cssProp: "grid-column", label: (0, import_i18n32.__)("Grid column", "elementor") })), /* @__PURE__ */ React54.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(GridSpanField, { cssProp: "grid-row", label: (0, import_i18n32.__)("Grid row", "elementor") })));
4539
+ var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React57.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React57.createElement(UiProviders, null, /* @__PURE__ */ React57.createElement(GridSpanFieldContent, { cssProp, label })));
4540
+ var GridSpanFields = () => /* @__PURE__ */ React57.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridSpanField, { cssProp: "grid-column", label: (0, import_i18n34.__)("Grid column", "elementor") })), /* @__PURE__ */ React57.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridSpanField, { cssProp: "grid-row", label: (0, import_i18n34.__)("Grid row", "elementor") })));
4429
4541
 
4430
4542
  // src/components/style-sections/layout-section/justify-content-field.tsx
4431
- var React55 = __toESM(require("react"));
4432
- var import_editor_controls29 = require("@elementor/editor-controls");
4433
- var import_icons15 = require("@elementor/icons");
4434
- var import_ui33 = require("@elementor/ui");
4435
- var import_i18n33 = require("@wordpress/i18n");
4436
- var JUSTIFY_CONTENT_LABEL = (0, import_i18n33.__)("Justify content", "elementor");
4437
- var StartIcon6 = (0, import_ui33.withDirection)(import_icons15.JustifyTopIcon);
4438
- var EndIcon5 = (0, import_ui33.withDirection)(import_icons15.JustifyBottomIcon);
4543
+ var React58 = __toESM(require("react"));
4544
+ var import_editor_controls30 = require("@elementor/editor-controls");
4545
+ var import_icons16 = require("@elementor/icons");
4546
+ var import_ui35 = require("@elementor/ui");
4547
+ var import_i18n35 = require("@wordpress/i18n");
4548
+ var JUSTIFY_CONTENT_LABEL = (0, import_i18n35.__)("Justify content", "elementor");
4549
+ var StartIcon6 = (0, import_ui35.withDirection)(import_icons16.JustifyTopIcon);
4550
+ var EndIcon5 = (0, import_ui35.withDirection)(import_icons16.JustifyBottomIcon);
4439
4551
  var iconProps4 = {
4440
4552
  isClockwise: true,
4441
4553
  offset: -90
@@ -4443,76 +4555,76 @@ var iconProps4 = {
4443
4555
  var options5 = [
4444
4556
  {
4445
4557
  value: "flex-start",
4446
- label: (0, import_i18n33.__)("Start", "elementor"),
4447
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4558
+ label: (0, import_i18n35.__)("Start", "elementor"),
4559
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4448
4560
  showTooltip: true
4449
4561
  },
4450
4562
  {
4451
4563
  value: "center",
4452
- label: (0, import_i18n33.__)("Center", "elementor"),
4453
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifyCenterIcon, size, ...iconProps4 }),
4564
+ label: (0, import_i18n35.__)("Center", "elementor"),
4565
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifyCenterIcon, size, ...iconProps4 }),
4454
4566
  showTooltip: true
4455
4567
  },
4456
4568
  {
4457
4569
  value: "flex-end",
4458
- label: (0, import_i18n33.__)("End", "elementor"),
4459
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4570
+ label: (0, import_i18n35.__)("End", "elementor"),
4571
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4460
4572
  showTooltip: true
4461
4573
  },
4462
4574
  {
4463
4575
  value: "space-between",
4464
- label: (0, import_i18n33.__)("Space between", "elementor"),
4465
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
4576
+ label: (0, import_i18n35.__)("Space between", "elementor"),
4577
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
4466
4578
  showTooltip: true
4467
4579
  },
4468
4580
  {
4469
4581
  value: "space-around",
4470
- label: (0, import_i18n33.__)("Space around", "elementor"),
4471
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
4582
+ label: (0, import_i18n35.__)("Space around", "elementor"),
4583
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
4472
4584
  showTooltip: true
4473
4585
  },
4474
4586
  {
4475
4587
  value: "space-evenly",
4476
- label: (0, import_i18n33.__)("Space evenly", "elementor"),
4477
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
4588
+ label: (0, import_i18n35.__)("Space evenly", "elementor"),
4589
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
4478
4590
  showTooltip: true
4479
4591
  }
4480
4592
  ];
4481
- var JustifyContentField = () => /* @__PURE__ */ React55.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React55.createElement(UiProviders, null, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React55.createElement(import_editor_controls29.ToggleControl, { options: options5, fullWidth: true }))));
4593
+ var JustifyContentField = () => /* @__PURE__ */ React58.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React58.createElement(import_editor_controls30.ToggleControl, { options: options5, fullWidth: true }))));
4482
4594
 
4483
4595
  // src/components/style-sections/layout-section/wrap-field.tsx
4484
- var React56 = __toESM(require("react"));
4485
- var import_editor_controls30 = require("@elementor/editor-controls");
4486
- var import_icons16 = require("@elementor/icons");
4487
- var import_i18n34 = require("@wordpress/i18n");
4488
- var FLEX_WRAP_LABEL = (0, import_i18n34.__)("Wrap", "elementor");
4596
+ var React59 = __toESM(require("react"));
4597
+ var import_editor_controls31 = require("@elementor/editor-controls");
4598
+ var import_icons17 = require("@elementor/icons");
4599
+ var import_i18n36 = require("@wordpress/i18n");
4600
+ var FLEX_WRAP_LABEL = (0, import_i18n36.__)("Wrap", "elementor");
4489
4601
  var options6 = [
4490
4602
  {
4491
4603
  value: "nowrap",
4492
- label: (0, import_i18n34.__)("No wrap", "elementor"),
4493
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons16.ArrowRightIcon, { fontSize: size }),
4604
+ label: (0, import_i18n36.__)("No wrap", "elementor"),
4605
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons17.ArrowRightIcon, { fontSize: size }),
4494
4606
  showTooltip: true
4495
4607
  },
4496
4608
  {
4497
4609
  value: "wrap",
4498
- label: (0, import_i18n34.__)("Wrap", "elementor"),
4499
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons16.ArrowBackIcon, { fontSize: size }),
4610
+ label: (0, import_i18n36.__)("Wrap", "elementor"),
4611
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons17.ArrowBackIcon, { fontSize: size }),
4500
4612
  showTooltip: true
4501
4613
  },
4502
4614
  {
4503
4615
  value: "wrap-reverse",
4504
- label: (0, import_i18n34.__)("Reversed wrap", "elementor"),
4505
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons16.ArrowForwardIcon, { fontSize: size }),
4616
+ label: (0, import_i18n36.__)("Reversed wrap", "elementor"),
4617
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons17.ArrowForwardIcon, { fontSize: size }),
4506
4618
  showTooltip: true
4507
4619
  }
4508
4620
  ];
4509
4621
  var WrapField = () => {
4510
- return /* @__PURE__ */ React56.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React56.createElement(import_editor_controls30.ToggleControl, { options: options6 }))));
4622
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React59.createElement(UiProviders, null, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls31.ToggleControl, { options: options6 }))));
4511
4623
  };
4512
4624
 
4513
4625
  // src/components/style-sections/layout-section/layout-section.tsx
4514
- var DISPLAY_LABEL2 = (0, import_i18n35.__)("Display", "elementor");
4515
- var FLEX_WRAP_LABEL2 = (0, import_i18n35.__)("Flex wrap", "elementor");
4626
+ var DISPLAY_LABEL2 = (0, import_i18n37.__)("Display", "elementor");
4627
+ var FLEX_WRAP_LABEL2 = (0, import_i18n37.__)("Flex wrap", "elementor");
4516
4628
  var DEFAULT_PARENT_FLOW_DIRECTION = "row";
4517
4629
  var LayoutSection = () => {
4518
4630
  const { value: display } = useStylesField("display", {
@@ -4534,17 +4646,17 @@ var LayoutSection = () => {
4534
4646
  }
4535
4647
  return DEFAULT_PARENT_FLOW_DIRECTION;
4536
4648
  };
4537
- return /* @__PURE__ */ React57.createElement(SectionContent, null, /* @__PURE__ */ React57.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React57.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React57.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isGridExperimentActive && isDisplayGrid && /* @__PURE__ */ React57.createElement(GridFields, null), isGridExperimentActive && "grid" === parentStyle?.display && /* @__PURE__ */ React57.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4649
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React60.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React60.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isGridExperimentActive && isDisplayGrid && /* @__PURE__ */ React60.createElement(GridFields, null), isGridExperimentActive && "grid" === parentStyle?.display && /* @__PURE__ */ React60.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4538
4650
  };
4539
4651
  var FlexFields = () => {
4540
4652
  const { value: flexWrap } = useStylesField("flex-wrap", {
4541
4653
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
4542
4654
  });
4543
- return /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(FlexDirectionField, null), /* @__PURE__ */ React57.createElement(JustifyContentField, null), /* @__PURE__ */ React57.createElement(AlignItemsField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GapControlField, null), /* @__PURE__ */ React57.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React57.createElement(AlignContentField, null));
4655
+ return /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(FlexDirectionField, null), /* @__PURE__ */ React60.createElement(JustifyContentField, null), /* @__PURE__ */ React60.createElement(AlignItemsField, null), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GapControlField, null), /* @__PURE__ */ React60.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React60.createElement(AlignContentField, null));
4544
4656
  };
4545
- var GridFields = () => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(GridOutlineField, null), /* @__PURE__ */ React57.createElement(GridSizeFields, null), /* @__PURE__ */ React57.createElement(GridAutoFlowField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GapControlField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React57.createElement(AlignItemsField, null));
4546
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(import_editor_controls31.ControlFormLabel, null, (0, import_i18n35.__)("Flex child", "elementor")), /* @__PURE__ */ React57.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React57.createElement(FlexOrderField, null), /* @__PURE__ */ React57.createElement(FlexSizeField, null));
4547
- var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(import_editor_controls31.ControlFormLabel, null, (0, import_i18n35.__)("Grid child", "elementor")), /* @__PURE__ */ React57.createElement(GridSpanFields, null), /* @__PURE__ */ React57.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React57.createElement(FlexOrderField, null));
4657
+ var GridFields = () => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(GridOutlineField, null), /* @__PURE__ */ React60.createElement(GridSizeFields, null), /* @__PURE__ */ React60.createElement(GridAutoFlowField, null), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["grid-auto-rows", "grid-auto-columns"] }, /* @__PURE__ */ React60.createElement(GridAutoTrackFields, null)), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GapControlField, null), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React60.createElement(AlignItemsField, null));
4658
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_editor_controls32.ControlFormLabel, null, (0, import_i18n37.__)("Flex child", "elementor")), /* @__PURE__ */ React60.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React60.createElement(FlexOrderField, null), /* @__PURE__ */ React60.createElement(FlexSizeField, null));
4659
+ var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_editor_controls32.ControlFormLabel, null, (0, import_i18n37.__)("Grid child", "elementor")), /* @__PURE__ */ React60.createElement(GridSpanFields, null), /* @__PURE__ */ React60.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React60.createElement(FlexOrderField, null));
4548
4660
  var shouldDisplayFlexFields = (display, local) => {
4549
4661
  const value = display?.value ?? local?.value;
4550
4662
  if (!value) {
@@ -4554,40 +4666,40 @@ var shouldDisplayFlexFields = (display, local) => {
4554
4666
  };
4555
4667
 
4556
4668
  // src/components/style-sections/position-section/position-section.tsx
4557
- var React62 = __toESM(require("react"));
4558
- var import_react30 = require("react");
4669
+ var React65 = __toESM(require("react"));
4670
+ var import_react31 = require("react");
4559
4671
  var import_session7 = require("@elementor/session");
4560
- var import_ui36 = require("@elementor/ui");
4561
- var import_i18n40 = require("@wordpress/i18n");
4672
+ var import_ui38 = require("@elementor/ui");
4673
+ var import_i18n42 = require("@wordpress/i18n");
4562
4674
 
4563
4675
  // src/components/style-sections/position-section/dimensions-field.tsx
4564
- var React58 = __toESM(require("react"));
4565
- var import_react28 = require("react");
4566
- var import_editor_controls32 = require("@elementor/editor-controls");
4567
- var import_icons17 = require("@elementor/icons");
4568
- var import_ui34 = require("@elementor/ui");
4569
- var import_i18n36 = require("@wordpress/i18n");
4570
- var InlineStartIcon2 = (0, import_ui34.withDirection)(import_icons17.SideLeftIcon);
4571
- var InlineEndIcon2 = (0, import_ui34.withDirection)(import_icons17.SideRightIcon);
4676
+ var React61 = __toESM(require("react"));
4677
+ var import_react29 = require("react");
4678
+ var import_editor_controls33 = require("@elementor/editor-controls");
4679
+ var import_icons18 = require("@elementor/icons");
4680
+ var import_ui36 = require("@elementor/ui");
4681
+ var import_i18n38 = require("@wordpress/i18n");
4682
+ var InlineStartIcon2 = (0, import_ui36.withDirection)(import_icons18.SideLeftIcon);
4683
+ var InlineEndIcon2 = (0, import_ui36.withDirection)(import_icons18.SideRightIcon);
4572
4684
  var sideIcons = {
4573
- "inset-block-start": /* @__PURE__ */ React58.createElement(import_icons17.SideTopIcon, { fontSize: "tiny" }),
4574
- "inset-block-end": /* @__PURE__ */ React58.createElement(import_icons17.SideBottomIcon, { fontSize: "tiny" }),
4575
- "inset-inline-start": /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4576
- "inset-inline-end": /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4685
+ "inset-block-start": /* @__PURE__ */ React61.createElement(import_icons18.SideTopIcon, { fontSize: "tiny" }),
4686
+ "inset-block-end": /* @__PURE__ */ React61.createElement(import_icons18.SideBottomIcon, { fontSize: "tiny" }),
4687
+ "inset-inline-start": /* @__PURE__ */ React61.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4688
+ "inset-inline-end": /* @__PURE__ */ React61.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4577
4689
  };
4578
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n36.__)("Right", "elementor") : (0, import_i18n36.__)("Left", "elementor");
4579
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n36.__)("Left", "elementor") : (0, import_i18n36.__)("Right", "elementor");
4690
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n38.__)("Right", "elementor") : (0, import_i18n38.__)("Left", "elementor");
4691
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n38.__)("Left", "elementor") : (0, import_i18n38.__)("Right", "elementor");
4580
4692
  var DimensionsField = () => {
4581
4693
  const { isSiteRtl } = useDirection();
4582
- const rowRefs = [(0, import_react28.useRef)(null), (0, import_react28.useRef)(null)];
4583
- return /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(import_ui34.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React58.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n36.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React58.createElement(
4694
+ const rowRefs = [(0, import_react29.useRef)(null), (0, import_react29.useRef)(null)];
4695
+ return /* @__PURE__ */ React61.createElement(UiProviders, null, /* @__PURE__ */ React61.createElement(import_ui36.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React61.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n38.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React61.createElement(
4584
4696
  DimensionField,
4585
4697
  {
4586
4698
  side: "inset-inline-end",
4587
4699
  label: getInlineEndLabel(isSiteRtl),
4588
4700
  rowRef: rowRefs[0]
4589
4701
  }
4590
- )), /* @__PURE__ */ React58.createElement(import_ui34.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React58.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n36.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React58.createElement(
4702
+ )), /* @__PURE__ */ React61.createElement(import_ui36.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React61.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n38.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React61.createElement(
4591
4703
  DimensionField,
4592
4704
  {
4593
4705
  side: "inset-inline-start",
@@ -4600,8 +4712,8 @@ var DimensionField = ({
4600
4712
  side,
4601
4713
  label,
4602
4714
  rowRef
4603
- }) => /* @__PURE__ */ React58.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React58.createElement(import_ui34.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React58.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React58.createElement(ControlLabel, null, label)), /* @__PURE__ */ React58.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React58.createElement(
4604
- import_editor_controls32.SizeControl,
4715
+ }) => /* @__PURE__ */ React61.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React61.createElement(import_ui36.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React61.createElement(import_ui36.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React61.createElement(ControlLabel, null, label)), /* @__PURE__ */ React61.createElement(import_ui36.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React61.createElement(
4716
+ import_editor_controls33.SizeControl,
4605
4717
  {
4606
4718
  startIcon: sideIcons[side],
4607
4719
  extendedOptions: ["auto"],
@@ -4611,62 +4723,62 @@ var DimensionField = ({
4611
4723
  ))));
4612
4724
 
4613
4725
  // src/components/style-sections/position-section/offset-field.tsx
4614
- var React59 = __toESM(require("react"));
4615
- var import_react29 = require("react");
4616
- var import_editor_controls33 = require("@elementor/editor-controls");
4617
- var import_i18n37 = require("@wordpress/i18n");
4618
- var OFFSET_LABEL = (0, import_i18n37.__)("Anchor offset", "elementor");
4726
+ var React62 = __toESM(require("react"));
4727
+ var import_react30 = require("react");
4728
+ var import_editor_controls34 = require("@elementor/editor-controls");
4729
+ var import_i18n39 = require("@wordpress/i18n");
4730
+ var OFFSET_LABEL = (0, import_i18n39.__)("Anchor offset", "elementor");
4619
4731
  var UNITS2 = ["px", "em", "rem", "vw", "vh"];
4620
4732
  var OffsetField = () => {
4621
- const rowRef = (0, import_react29.useRef)(null);
4622
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React59.createElement(import_editor_controls33.SizeControl, { units: UNITS2, anchorRef: rowRef })));
4733
+ const rowRef = (0, import_react30.useRef)(null);
4734
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React62.createElement(import_editor_controls34.SizeControl, { units: UNITS2, anchorRef: rowRef })));
4623
4735
  };
4624
4736
 
4625
4737
  // src/components/style-sections/position-section/position-field.tsx
4626
- var React60 = __toESM(require("react"));
4627
- var import_editor_controls34 = require("@elementor/editor-controls");
4628
- var import_i18n38 = require("@wordpress/i18n");
4629
- var POSITION_LABEL = (0, import_i18n38.__)("Position", "elementor");
4738
+ var React63 = __toESM(require("react"));
4739
+ var import_editor_controls35 = require("@elementor/editor-controls");
4740
+ var import_i18n40 = require("@wordpress/i18n");
4741
+ var POSITION_LABEL = (0, import_i18n40.__)("Position", "elementor");
4630
4742
  var positionOptions = [
4631
- { label: (0, import_i18n38.__)("Static", "elementor"), value: "static" },
4632
- { label: (0, import_i18n38.__)("Relative", "elementor"), value: "relative" },
4633
- { label: (0, import_i18n38.__)("Absolute", "elementor"), value: "absolute" },
4634
- { label: (0, import_i18n38.__)("Fixed", "elementor"), value: "fixed" },
4635
- { label: (0, import_i18n38.__)("Sticky", "elementor"), value: "sticky" }
4743
+ { label: (0, import_i18n40.__)("Static", "elementor"), value: "static" },
4744
+ { label: (0, import_i18n40.__)("Relative", "elementor"), value: "relative" },
4745
+ { label: (0, import_i18n40.__)("Absolute", "elementor"), value: "absolute" },
4746
+ { label: (0, import_i18n40.__)("Fixed", "elementor"), value: "fixed" },
4747
+ { label: (0, import_i18n40.__)("Sticky", "elementor"), value: "sticky" }
4636
4748
  ];
4637
4749
  var PositionField = () => {
4638
- return /* @__PURE__ */ React60.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React60.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls34.SelectControl, { options: positionOptions })));
4750
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React63.createElement(import_editor_controls35.SelectControl, { options: positionOptions })));
4639
4751
  };
4640
4752
 
4641
4753
  // src/components/style-sections/position-section/z-index-field.tsx
4642
- var React61 = __toESM(require("react"));
4643
- var import_editor_controls35 = require("@elementor/editor-controls");
4644
- var import_icons18 = require("@elementor/icons");
4645
- var import_ui35 = require("@elementor/ui");
4646
- var import_i18n39 = require("@wordpress/i18n");
4647
- var Z_INDEX_LABEL = (0, import_i18n39.__)("Z-index", "elementor");
4754
+ var React64 = __toESM(require("react"));
4755
+ var import_editor_controls36 = require("@elementor/editor-controls");
4756
+ var import_icons19 = require("@elementor/icons");
4757
+ var import_ui37 = require("@elementor/ui");
4758
+ var import_i18n41 = require("@wordpress/i18n");
4759
+ var Z_INDEX_LABEL = (0, import_i18n41.__)("Z-index", "elementor");
4648
4760
  var ZIndexField = ({ disabled }) => {
4649
- const StyleField = /* @__PURE__ */ React61.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls35.NumberControl, { disabled })));
4650
- const content = /* @__PURE__ */ React61.createElement(import_ui35.Alert, { color: "secondary", icon: /* @__PURE__ */ React61.createElement(import_icons18.InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React61.createElement(import_ui35.AlertTitle, null, (0, import_i18n39.__)("Z-index", "elementor")), /* @__PURE__ */ React61.createElement(import_ui35.Box, { component: "span" }, (0, import_i18n39.__)(
4761
+ const StyleField = /* @__PURE__ */ React64.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React64.createElement(import_editor_controls36.NumberControl, { disabled })));
4762
+ const content = /* @__PURE__ */ React64.createElement(import_ui37.Alert, { color: "secondary", icon: /* @__PURE__ */ React64.createElement(import_icons19.InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React64.createElement(import_ui37.AlertTitle, null, (0, import_i18n41.__)("Z-index", "elementor")), /* @__PURE__ */ React64.createElement(import_ui37.Box, { component: "span" }, (0, import_i18n41.__)(
4651
4763
  "z-index only works on positioned elements. Change position to relative, absolute, or fixed to enable layering.",
4652
4764
  "elementor"
4653
4765
  )));
4654
- return disabled ? /* @__PURE__ */ React61.createElement(
4655
- import_ui35.Infotip,
4766
+ return disabled ? /* @__PURE__ */ React64.createElement(
4767
+ import_ui37.Infotip,
4656
4768
  {
4657
4769
  placement: "right",
4658
4770
  content,
4659
4771
  color: "secondary",
4660
4772
  slotProps: { popper: { sx: { width: 300 } } }
4661
4773
  },
4662
- /* @__PURE__ */ React61.createElement(import_ui35.Box, null, StyleField)
4663
- ) : /* @__PURE__ */ React61.createElement(React61.Fragment, null, StyleField);
4774
+ /* @__PURE__ */ React64.createElement(import_ui37.Box, null, StyleField)
4775
+ ) : /* @__PURE__ */ React64.createElement(React64.Fragment, null, StyleField);
4664
4776
  };
4665
4777
 
4666
4778
  // src/components/style-sections/position-section/position-section.tsx
4667
4779
  var POSITION_STATIC = "static";
4668
- var POSITION_LABEL2 = (0, import_i18n40.__)("Position", "elementor");
4669
- var DIMENSIONS_LABEL = (0, import_i18n40.__)("Dimensions", "elementor");
4780
+ var POSITION_LABEL2 = (0, import_i18n42.__)("Position", "elementor");
4781
+ var DIMENSIONS_LABEL = (0, import_i18n42.__)("Dimensions", "elementor");
4670
4782
  var DEPENDENT_PROP_NAMES = [
4671
4783
  "inset-block-start",
4672
4784
  "inset-block-end",
@@ -4676,10 +4788,10 @@ var DEPENDENT_PROP_NAMES = [
4676
4788
  ];
4677
4789
  var PositionSection = () => {
4678
4790
  const { value: position } = useStylesField("position", withHistoryLabel(POSITION_LABEL2));
4679
- const positionPrevRef = (0, import_react30.useRef)(position);
4791
+ const positionPrevRef = (0, import_react31.useRef)(position);
4680
4792
  const { values: dependentValues, setValues: setDependentValues } = useStylesFields(DEPENDENT_PROP_NAMES);
4681
4793
  const [savedDependentValues, saveToHistory, clearHistory] = usePersistDimensions();
4682
- (0, import_react30.useEffect)(() => {
4794
+ (0, import_react31.useEffect)(() => {
4683
4795
  if (position && position?.value === POSITION_STATIC && hasDependentValues(dependentValues)) {
4684
4796
  saveToHistory(extractDimensions(dependentValues));
4685
4797
  }
@@ -4692,7 +4804,7 @@ var PositionSection = () => {
4692
4804
  }
4693
4805
  positionPrevRef.current = position;
4694
4806
  }, [position?.value]);
4695
- return /* @__PURE__ */ React62.createElement(StyledSectionContent, null, /* @__PURE__ */ React62.createElement(PositionField, null), /* @__PURE__ */ React62.createElement(DimensionsField, null), /* @__PURE__ */ React62.createElement(ZIndexField, { disabled: !position || position?.value === POSITION_STATIC }), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(OffsetField, null));
4807
+ return /* @__PURE__ */ React65.createElement(StyledSectionContent, null, /* @__PURE__ */ React65.createElement(PositionField, null), /* @__PURE__ */ React65.createElement(DimensionsField, null), /* @__PURE__ */ React65.createElement(ZIndexField, { disabled: !position || position?.value === POSITION_STATIC }), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(OffsetField, null));
4696
4808
  };
4697
4809
  var usePersistDimensions = () => {
4698
4810
  const { id: styleDefID, meta } = useStyle();
@@ -4720,7 +4832,7 @@ var extractDimensions = (values) => {
4720
4832
  };
4721
4833
  }, {});
4722
4834
  };
4723
- var StyledSectionContent = (0, import_ui36.styled)(SectionContent, {
4835
+ var StyledSectionContent = (0, import_ui38.styled)(SectionContent, {
4724
4836
  shouldForwardProp: (prop) => prop !== "gap"
4725
4837
  })(({ gap = 2, theme }) => ({
4726
4838
  gap: 0,
@@ -4742,137 +4854,56 @@ var StyledSectionContent = (0, import_ui36.styled)(SectionContent, {
4742
4854
  }));
4743
4855
 
4744
4856
  // src/components/style-sections/size-section/size-section.tsx
4745
- var React67 = __toESM(require("react"));
4746
- var import_react31 = require("react");
4747
- var import_editor_controls38 = require("@elementor/editor-controls");
4748
- var import_ui38 = require("@elementor/ui");
4749
- var import_i18n44 = require("@wordpress/i18n");
4750
-
4751
- // src/components/style-tab-collapsible-content.tsx
4752
- var React64 = __toESM(require("react"));
4753
- var import_editor_ui6 = require("@elementor/editor-ui");
4754
-
4755
- // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4756
- var React63 = __toESM(require("react"));
4757
- var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
4758
- var import_ui37 = require("@elementor/ui");
4759
- var import_i18n41 = require("@wordpress/i18n");
4760
- var StylesInheritanceSectionIndicators = ({ fields }) => {
4761
- const { id, meta, provider } = useStyle();
4762
- const snapshot = useStylesInheritanceSnapshot();
4763
- if (fields.includes("custom_css")) {
4764
- return /* @__PURE__ */ React63.createElement(CustomCssIndicator, null);
4765
- }
4766
- const snapshotFields = Object.fromEntries(
4767
- Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
4768
- );
4769
- const { hasValues, hasOverrides } = getIndicators(snapshotFields, id ?? "", meta);
4770
- if (!hasValues && !hasOverrides) {
4771
- return null;
4772
- }
4773
- const hasValueLabel = (0, import_i18n41.__)("Has effective styles", "elementor");
4774
- const hasOverridesLabel = (0, import_i18n41.__)("Has overridden styles", "elementor");
4775
- return /* @__PURE__ */ React63.createElement(import_ui37.Tooltip, { title: (0, import_i18n41.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React63.createElement(import_ui37.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React63.createElement(
4776
- StyleIndicator,
4777
- {
4778
- getColor: getStylesProviderThemeColor(provider.getKey()),
4779
- "data-variant": (0, import_editor_styles_repository17.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
4780
- role: "listitem",
4781
- "aria-label": hasValueLabel
4782
- }
4783
- ), hasOverrides && /* @__PURE__ */ React63.createElement(
4784
- StyleIndicator,
4785
- {
4786
- isOverridden: true,
4787
- "data-variant": "overridden",
4788
- role: "listitem",
4789
- "aria-label": hasOverridesLabel
4790
- }
4791
- )));
4792
- };
4793
- function getIndicators(snapshotFields, styleId, meta) {
4794
- let hasValues = false;
4795
- let hasOverrides = false;
4796
- Object.values(snapshotFields).forEach((inheritanceChain) => {
4797
- const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
4798
- if (!currentStyle) {
4799
- return;
4800
- }
4801
- const [actualStyle] = inheritanceChain;
4802
- if (currentStyle === actualStyle) {
4803
- hasValues = true;
4804
- } else {
4805
- hasOverrides = true;
4806
- }
4807
- });
4808
- return { hasValues, hasOverrides };
4809
- }
4810
- function getCurrentStyleFromChain(chain, styleId, meta) {
4811
- return chain.find(
4812
- ({
4813
- style: { id },
4814
- variant: {
4815
- meta: { breakpoint, state }
4816
- }
4817
- }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
4818
- );
4819
- }
4820
-
4821
- // src/components/style-tab-collapsible-content.tsx
4822
- var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4823
- return /* @__PURE__ */ React64.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4824
- };
4825
- function getStylesInheritanceIndicators(fields) {
4826
- if (fields.length === 0) {
4827
- return null;
4828
- }
4829
- return (isOpen) => !isOpen ? /* @__PURE__ */ React64.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4830
- }
4857
+ var React68 = __toESM(require("react"));
4858
+ var import_react32 = require("react");
4859
+ var import_editor_controls39 = require("@elementor/editor-controls");
4860
+ var import_ui39 = require("@elementor/ui");
4861
+ var import_i18n45 = require("@wordpress/i18n");
4831
4862
 
4832
4863
  // src/components/style-sections/size-section/object-fit-field.tsx
4833
- var React65 = __toESM(require("react"));
4834
- var import_editor_controls36 = require("@elementor/editor-controls");
4835
- var import_i18n42 = require("@wordpress/i18n");
4836
- var OBJECT_FIT_LABEL = (0, import_i18n42.__)("Object fit", "elementor");
4864
+ var React66 = __toESM(require("react"));
4865
+ var import_editor_controls37 = require("@elementor/editor-controls");
4866
+ var import_i18n43 = require("@wordpress/i18n");
4867
+ var OBJECT_FIT_LABEL = (0, import_i18n43.__)("Object fit", "elementor");
4837
4868
  var positionOptions2 = [
4838
- { label: (0, import_i18n42.__)("Fill", "elementor"), value: "fill" },
4839
- { label: (0, import_i18n42.__)("Cover", "elementor"), value: "cover" },
4840
- { label: (0, import_i18n42.__)("Contain", "elementor"), value: "contain" },
4841
- { label: (0, import_i18n42.__)("None", "elementor"), value: "none" },
4842
- { label: (0, import_i18n42.__)("Scale down", "elementor"), value: "scale-down" }
4869
+ { label: (0, import_i18n43.__)("Fill", "elementor"), value: "fill" },
4870
+ { label: (0, import_i18n43.__)("Cover", "elementor"), value: "cover" },
4871
+ { label: (0, import_i18n43.__)("Contain", "elementor"), value: "contain" },
4872
+ { label: (0, import_i18n43.__)("None", "elementor"), value: "none" },
4873
+ { label: (0, import_i18n43.__)("Scale down", "elementor"), value: "scale-down" }
4843
4874
  ];
4844
4875
  var ObjectFitField = () => {
4845
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls36.SelectControl, { options: positionOptions2 })));
4876
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls37.SelectControl, { options: positionOptions2 })));
4846
4877
  };
4847
4878
 
4848
4879
  // src/components/style-sections/size-section/overflow-field.tsx
4849
- var React66 = __toESM(require("react"));
4850
- var import_editor_controls37 = require("@elementor/editor-controls");
4851
- var import_icons19 = require("@elementor/icons");
4852
- var import_i18n43 = require("@wordpress/i18n");
4853
- var OVERFLOW_LABEL = (0, import_i18n43.__)("Overflow", "elementor");
4880
+ var React67 = __toESM(require("react"));
4881
+ var import_editor_controls38 = require("@elementor/editor-controls");
4882
+ var import_icons20 = require("@elementor/icons");
4883
+ var import_i18n44 = require("@wordpress/i18n");
4884
+ var OVERFLOW_LABEL = (0, import_i18n44.__)("Overflow", "elementor");
4854
4885
  var options7 = [
4855
4886
  {
4856
4887
  value: "visible",
4857
- label: (0, import_i18n43.__)("Visible", "elementor"),
4858
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons19.EyeIcon, { fontSize: size }),
4888
+ label: (0, import_i18n44.__)("Visible", "elementor"),
4889
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(import_icons20.EyeIcon, { fontSize: size }),
4859
4890
  showTooltip: true
4860
4891
  },
4861
4892
  {
4862
4893
  value: "hidden",
4863
- label: (0, import_i18n43.__)("Hidden", "elementor"),
4864
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons19.EyeOffIcon, { fontSize: size }),
4894
+ label: (0, import_i18n44.__)("Hidden", "elementor"),
4895
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(import_icons20.EyeOffIcon, { fontSize: size }),
4865
4896
  showTooltip: true
4866
4897
  },
4867
4898
  {
4868
4899
  value: "auto",
4869
- label: (0, import_i18n43.__)("Auto", "elementor"),
4870
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons19.LetterAIcon, { fontSize: size }),
4900
+ label: (0, import_i18n44.__)("Auto", "elementor"),
4901
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(import_icons20.LetterAIcon, { fontSize: size }),
4871
4902
  showTooltip: true
4872
4903
  }
4873
4904
  ];
4874
4905
  var OverflowField = () => {
4875
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls37.ToggleControl, { options: options7 })));
4906
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React67.createElement(import_editor_controls38.ToggleControl, { options: options7 })));
4876
4907
  };
4877
4908
 
4878
4909
  // src/components/style-sections/size-section/size-section.tsx
@@ -4880,98 +4911,98 @@ var CssSizeProps = [
4880
4911
  [
4881
4912
  {
4882
4913
  bind: "width",
4883
- label: (0, import_i18n44.__)("Width", "elementor")
4914
+ label: (0, import_i18n45.__)("Width", "elementor")
4884
4915
  },
4885
4916
  {
4886
4917
  bind: "height",
4887
- label: (0, import_i18n44.__)("Height", "elementor")
4918
+ label: (0, import_i18n45.__)("Height", "elementor")
4888
4919
  }
4889
4920
  ],
4890
4921
  [
4891
4922
  {
4892
4923
  bind: "min-width",
4893
- label: (0, import_i18n44.__)("Min width", "elementor")
4924
+ label: (0, import_i18n45.__)("Min width", "elementor")
4894
4925
  },
4895
4926
  {
4896
4927
  bind: "min-height",
4897
- label: (0, import_i18n44.__)("Min height", "elementor")
4928
+ label: (0, import_i18n45.__)("Min height", "elementor")
4898
4929
  }
4899
4930
  ],
4900
4931
  [
4901
4932
  {
4902
4933
  bind: "max-width",
4903
- label: (0, import_i18n44.__)("Max width", "elementor")
4934
+ label: (0, import_i18n45.__)("Max width", "elementor")
4904
4935
  },
4905
4936
  {
4906
4937
  bind: "max-height",
4907
- label: (0, import_i18n44.__)("Max height", "elementor")
4938
+ label: (0, import_i18n45.__)("Max height", "elementor")
4908
4939
  }
4909
4940
  ]
4910
4941
  ];
4911
- var ASPECT_RATIO_LABEL = (0, import_i18n44.__)("Aspect Ratio", "elementor");
4942
+ var ASPECT_RATIO_LABEL = (0, import_i18n45.__)("Aspect Ratio", "elementor");
4912
4943
  var SizeSection = () => {
4913
- const gridRowRefs = [(0, import_react31.useRef)(null), (0, import_react31.useRef)(null), (0, import_react31.useRef)(null)];
4914
- return /* @__PURE__ */ React67.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React67.createElement(import_ui38.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React67.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(import_ui38.Stack, null, /* @__PURE__ */ React67.createElement(OverflowField, null)), /* @__PURE__ */ React67.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React67.createElement(import_ui38.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React67.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React67.createElement(import_editor_controls38.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(ObjectFitField, null), /* @__PURE__ */ React67.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n44.__)("Object position", "elementor") }, /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(import_editor_controls38.PositionControl, null))))));
4944
+ const gridRowRefs = [(0, import_react32.useRef)(null), (0, import_react32.useRef)(null), (0, import_react32.useRef)(null)];
4945
+ return /* @__PURE__ */ React68.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React68.createElement(import_ui39.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React68.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(import_ui39.Stack, null, /* @__PURE__ */ React68.createElement(OverflowField, null)), /* @__PURE__ */ React68.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React68.createElement(import_ui39.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React68.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React68.createElement(import_editor_controls39.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(ObjectFitField, null), /* @__PURE__ */ React68.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n45.__)("Object position", "elementor") }, /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React68.createElement(import_editor_controls39.PositionControl, null))))));
4915
4946
  };
4916
4947
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4917
- return /* @__PURE__ */ React67.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React67.createElement(import_ui38.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(ControlLabel, null, label)), /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(import_editor_controls38.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4948
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React68.createElement(import_ui39.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(ControlLabel, null, label)), /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(import_editor_controls39.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4918
4949
  };
4919
4950
 
4920
4951
  // src/components/style-sections/spacing-section/spacing-section.tsx
4921
- var React68 = __toESM(require("react"));
4922
- var import_editor_controls39 = require("@elementor/editor-controls");
4923
- var import_i18n45 = require("@wordpress/i18n");
4924
- var MARGIN_LABEL = (0, import_i18n45.__)("Margin", "elementor");
4925
- var PADDING_LABEL = (0, import_i18n45.__)("Padding", "elementor");
4952
+ var React69 = __toESM(require("react"));
4953
+ var import_editor_controls40 = require("@elementor/editor-controls");
4954
+ var import_i18n46 = require("@wordpress/i18n");
4955
+ var MARGIN_LABEL = (0, import_i18n46.__)("Margin", "elementor");
4956
+ var PADDING_LABEL = (0, import_i18n46.__)("Padding", "elementor");
4926
4957
  var SpacingSection = () => {
4927
4958
  const { isSiteRtl } = useDirection();
4928
- return /* @__PURE__ */ React68.createElement(SectionContent, null, /* @__PURE__ */ React68.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React68.createElement(
4929
- import_editor_controls39.LinkedDimensionsControl,
4959
+ return /* @__PURE__ */ React69.createElement(SectionContent, null, /* @__PURE__ */ React69.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React69.createElement(
4960
+ import_editor_controls40.LinkedDimensionsControl,
4930
4961
  {
4931
4962
  label: MARGIN_LABEL,
4932
4963
  isSiteRtl,
4933
4964
  min: -Number.MAX_SAFE_INTEGER
4934
4965
  }
4935
- )), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React68.createElement(import_editor_controls39.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4966
+ )), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls40.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4936
4967
  };
4937
4968
 
4938
4969
  // src/components/style-sections/typography-section/typography-section.tsx
4939
- var React85 = __toESM(require("react"));
4970
+ var React86 = __toESM(require("react"));
4940
4971
 
4941
4972
  // src/components/style-sections/typography-section/column-count-field.tsx
4942
- var React69 = __toESM(require("react"));
4943
- var import_editor_controls40 = require("@elementor/editor-controls");
4944
- var import_i18n46 = require("@wordpress/i18n");
4945
- var COLUMN_COUNT_LABEL = (0, import_i18n46.__)("Columns", "elementor");
4973
+ var React70 = __toESM(require("react"));
4974
+ var import_editor_controls41 = require("@elementor/editor-controls");
4975
+ var import_i18n47 = require("@wordpress/i18n");
4976
+ var COLUMN_COUNT_LABEL = (0, import_i18n47.__)("Columns", "elementor");
4946
4977
  var ColumnCountField = () => {
4947
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls40.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4978
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls41.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4948
4979
  };
4949
4980
 
4950
4981
  // src/components/style-sections/typography-section/column-gap-field.tsx
4951
- var React70 = __toESM(require("react"));
4952
- var import_react32 = require("react");
4953
- var import_editor_controls41 = require("@elementor/editor-controls");
4954
- var import_i18n47 = require("@wordpress/i18n");
4955
- var COLUMN_GAP_LABEL = (0, import_i18n47.__)("Column gap", "elementor");
4982
+ var React71 = __toESM(require("react"));
4983
+ var import_react33 = require("react");
4984
+ var import_editor_controls42 = require("@elementor/editor-controls");
4985
+ var import_i18n48 = require("@wordpress/i18n");
4986
+ var COLUMN_GAP_LABEL = (0, import_i18n48.__)("Column gap", "elementor");
4956
4987
  var ColumnGapField = () => {
4957
- const rowRef = (0, import_react32.useRef)(null);
4958
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React70.createElement(import_editor_controls41.SizeControl, { anchorRef: rowRef })));
4988
+ const rowRef = (0, import_react33.useRef)(null);
4989
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React71.createElement(import_editor_controls42.SizeControl, { anchorRef: rowRef })));
4959
4990
  };
4960
4991
 
4961
4992
  // src/components/style-sections/typography-section/font-family-field.tsx
4962
- var React71 = __toESM(require("react"));
4963
- var import_editor_controls42 = require("@elementor/editor-controls");
4993
+ var React72 = __toESM(require("react"));
4994
+ var import_editor_controls43 = require("@elementor/editor-controls");
4964
4995
  var import_editor_ui7 = require("@elementor/editor-ui");
4965
- var import_i18n48 = require("@wordpress/i18n");
4966
- var FONT_FAMILY_LABEL = (0, import_i18n48.__)("Font family", "elementor");
4996
+ var import_i18n49 = require("@wordpress/i18n");
4997
+ var FONT_FAMILY_LABEL = (0, import_i18n49.__)("Font family", "elementor");
4967
4998
  var FontFamilyField = () => {
4968
- const fontFamilies = (0, import_editor_controls42.useFontFamilies)();
4999
+ const fontFamilies = (0, import_editor_controls43.useFontFamilies)();
4969
5000
  const sectionWidth = (0, import_editor_ui7.useSectionWidth)();
4970
5001
  if (fontFamilies.length === 0) {
4971
5002
  return null;
4972
5003
  }
4973
- return /* @__PURE__ */ React71.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React71.createElement(
4974
- import_editor_controls42.FontFamilyControl,
5004
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React72.createElement(
5005
+ import_editor_controls43.FontFamilyControl,
4975
5006
  {
4976
5007
  fontFamilies,
4977
5008
  sectionWidth,
@@ -4981,198 +5012,198 @@ var FontFamilyField = () => {
4981
5012
  };
4982
5013
 
4983
5014
  // src/components/style-sections/typography-section/font-size-field.tsx
4984
- var React72 = __toESM(require("react"));
4985
- var import_react33 = require("react");
4986
- var import_editor_controls43 = require("@elementor/editor-controls");
4987
- var import_i18n49 = require("@wordpress/i18n");
4988
- var FONT_SIZE_LABEL = (0, import_i18n49.__)("Font size", "elementor");
5015
+ var React73 = __toESM(require("react"));
5016
+ var import_react34 = require("react");
5017
+ var import_editor_controls44 = require("@elementor/editor-controls");
5018
+ var import_i18n50 = require("@wordpress/i18n");
5019
+ var FONT_SIZE_LABEL = (0, import_i18n50.__)("Font size", "elementor");
4989
5020
  var FontSizeField = () => {
4990
- const rowRef = (0, import_react33.useRef)(null);
4991
- return /* @__PURE__ */ React72.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React72.createElement(import_editor_controls43.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
5021
+ const rowRef = (0, import_react34.useRef)(null);
5022
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React73.createElement(import_editor_controls44.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4992
5023
  };
4993
5024
 
4994
5025
  // src/components/style-sections/typography-section/font-style-field.tsx
4995
- var React73 = __toESM(require("react"));
4996
- var import_editor_controls44 = require("@elementor/editor-controls");
4997
- var import_icons20 = require("@elementor/icons");
4998
- var import_i18n50 = require("@wordpress/i18n");
4999
- var FONT_STYLE_LABEL = (0, import_i18n50.__)("Font style", "elementor");
5026
+ var React74 = __toESM(require("react"));
5027
+ var import_editor_controls45 = require("@elementor/editor-controls");
5028
+ var import_icons21 = require("@elementor/icons");
5029
+ var import_i18n51 = require("@wordpress/i18n");
5030
+ var FONT_STYLE_LABEL = (0, import_i18n51.__)("Font style", "elementor");
5000
5031
  var options8 = [
5001
5032
  {
5002
5033
  value: "normal",
5003
- label: (0, import_i18n50.__)("Normal", "elementor"),
5004
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons20.MinusIcon, { fontSize: size }),
5034
+ label: (0, import_i18n51.__)("Normal", "elementor"),
5035
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.MinusIcon, { fontSize: size }),
5005
5036
  showTooltip: true
5006
5037
  },
5007
5038
  {
5008
5039
  value: "italic",
5009
- label: (0, import_i18n50.__)("Italic", "elementor"),
5010
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons20.ItalicIcon, { fontSize: size }),
5040
+ label: (0, import_i18n51.__)("Italic", "elementor"),
5041
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.ItalicIcon, { fontSize: size }),
5011
5042
  showTooltip: true
5012
5043
  }
5013
5044
  ];
5014
5045
  var FontStyleField = () => {
5015
- return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React73.createElement(import_editor_controls44.ToggleControl, { options: options8 })));
5046
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React74.createElement(import_editor_controls45.ToggleControl, { options: options8 })));
5016
5047
  };
5017
5048
 
5018
5049
  // src/components/style-sections/typography-section/font-weight-field.tsx
5019
- var React74 = __toESM(require("react"));
5020
- var import_editor_controls45 = require("@elementor/editor-controls");
5021
- var import_i18n51 = require("@wordpress/i18n");
5022
- var FONT_WEIGHT_LABEL = (0, import_i18n51.__)("Font weight", "elementor");
5050
+ var React75 = __toESM(require("react"));
5051
+ var import_editor_controls46 = require("@elementor/editor-controls");
5052
+ var import_i18n52 = require("@wordpress/i18n");
5053
+ var FONT_WEIGHT_LABEL = (0, import_i18n52.__)("Font weight", "elementor");
5023
5054
  var fontWeightOptions = [
5024
- { value: "100", label: (0, import_i18n51.__)("100 - Thin", "elementor") },
5025
- { value: "200", label: (0, import_i18n51.__)("200 - Extra light", "elementor") },
5026
- { value: "300", label: (0, import_i18n51.__)("300 - Light", "elementor") },
5027
- { value: "400", label: (0, import_i18n51.__)("400 - Normal", "elementor") },
5028
- { value: "500", label: (0, import_i18n51.__)("500 - Medium", "elementor") },
5029
- { value: "600", label: (0, import_i18n51.__)("600 - Semi bold", "elementor") },
5030
- { value: "700", label: (0, import_i18n51.__)("700 - Bold", "elementor") },
5031
- { value: "800", label: (0, import_i18n51.__)("800 - Extra bold", "elementor") },
5032
- { value: "900", label: (0, import_i18n51.__)("900 - Black", "elementor") }
5055
+ { value: "100", label: (0, import_i18n52.__)("100 - Thin", "elementor") },
5056
+ { value: "200", label: (0, import_i18n52.__)("200 - Extra light", "elementor") },
5057
+ { value: "300", label: (0, import_i18n52.__)("300 - Light", "elementor") },
5058
+ { value: "400", label: (0, import_i18n52.__)("400 - Normal", "elementor") },
5059
+ { value: "500", label: (0, import_i18n52.__)("500 - Medium", "elementor") },
5060
+ { value: "600", label: (0, import_i18n52.__)("600 - Semi bold", "elementor") },
5061
+ { value: "700", label: (0, import_i18n52.__)("700 - Bold", "elementor") },
5062
+ { value: "800", label: (0, import_i18n52.__)("800 - Extra bold", "elementor") },
5063
+ { value: "900", label: (0, import_i18n52.__)("900 - Black", "elementor") }
5033
5064
  ];
5034
5065
  var FontWeightField = () => {
5035
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React74.createElement(import_editor_controls45.SelectControl, { options: fontWeightOptions })));
5066
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React75.createElement(import_editor_controls46.SelectControl, { options: fontWeightOptions })));
5036
5067
  };
5037
5068
 
5038
5069
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
5039
- var React75 = __toESM(require("react"));
5040
- var import_react34 = require("react");
5041
- var import_editor_controls46 = require("@elementor/editor-controls");
5042
- var import_i18n52 = require("@wordpress/i18n");
5043
- var LETTER_SPACING_LABEL = (0, import_i18n52.__)("Letter spacing", "elementor");
5044
- var LetterSpacingField = () => {
5045
- const rowRef = (0, import_react34.useRef)(null);
5046
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React75.createElement(import_editor_controls46.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5047
- };
5048
-
5049
- // src/components/style-sections/typography-section/line-height-field.tsx
5050
5070
  var React76 = __toESM(require("react"));
5051
5071
  var import_react35 = require("react");
5052
5072
  var import_editor_controls47 = require("@elementor/editor-controls");
5053
5073
  var import_i18n53 = require("@wordpress/i18n");
5054
- var LINE_HEIGHT_LABEL = (0, import_i18n53.__)("Line height", "elementor");
5055
- var LineHeightField = () => {
5074
+ var LETTER_SPACING_LABEL = (0, import_i18n53.__)("Letter spacing", "elementor");
5075
+ var LetterSpacingField = () => {
5056
5076
  const rowRef = (0, import_react35.useRef)(null);
5057
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(import_editor_controls47.SizeControl, { anchorRef: rowRef })));
5077
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(import_editor_controls47.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5058
5078
  };
5059
5079
 
5060
- // src/components/style-sections/typography-section/text-alignment-field.tsx
5080
+ // src/components/style-sections/typography-section/line-height-field.tsx
5061
5081
  var React77 = __toESM(require("react"));
5082
+ var import_react36 = require("react");
5062
5083
  var import_editor_controls48 = require("@elementor/editor-controls");
5063
- var import_icons21 = require("@elementor/icons");
5064
- var import_ui39 = require("@elementor/ui");
5065
5084
  var import_i18n54 = require("@wordpress/i18n");
5066
- var TEXT_ALIGNMENT_LABEL = (0, import_i18n54.__)("Text align", "elementor");
5067
- var AlignStartIcon = (0, import_ui39.withDirection)(import_icons21.AlignLeftIcon);
5068
- var AlignEndIcon = (0, import_ui39.withDirection)(import_icons21.AlignRightIcon);
5085
+ var LINE_HEIGHT_LABEL = (0, import_i18n54.__)("Line height", "elementor");
5086
+ var LineHeightField = () => {
5087
+ const rowRef = (0, import_react36.useRef)(null);
5088
+ return /* @__PURE__ */ React77.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(import_editor_controls48.SizeControl, { anchorRef: rowRef })));
5089
+ };
5090
+
5091
+ // src/components/style-sections/typography-section/text-alignment-field.tsx
5092
+ var React78 = __toESM(require("react"));
5093
+ var import_editor_controls49 = require("@elementor/editor-controls");
5094
+ var import_icons22 = require("@elementor/icons");
5095
+ var import_ui40 = require("@elementor/ui");
5096
+ var import_i18n55 = require("@wordpress/i18n");
5097
+ var TEXT_ALIGNMENT_LABEL = (0, import_i18n55.__)("Text align", "elementor");
5098
+ var AlignStartIcon = (0, import_ui40.withDirection)(import_icons22.AlignLeftIcon);
5099
+ var AlignEndIcon = (0, import_ui40.withDirection)(import_icons22.AlignRightIcon);
5069
5100
  var options9 = [
5070
5101
  {
5071
5102
  value: "start",
5072
- label: (0, import_i18n54.__)("Start", "elementor"),
5073
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignStartIcon, { fontSize: size }),
5103
+ label: (0, import_i18n55.__)("Start", "elementor"),
5104
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignStartIcon, { fontSize: size }),
5074
5105
  showTooltip: true
5075
5106
  },
5076
5107
  {
5077
5108
  value: "center",
5078
- label: (0, import_i18n54.__)("Center", "elementor"),
5079
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.AlignCenterIcon, { fontSize: size }),
5109
+ label: (0, import_i18n55.__)("Center", "elementor"),
5110
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons22.AlignCenterIcon, { fontSize: size }),
5080
5111
  showTooltip: true
5081
5112
  },
5082
5113
  {
5083
5114
  value: "end",
5084
- label: (0, import_i18n54.__)("End", "elementor"),
5085
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignEndIcon, { fontSize: size }),
5115
+ label: (0, import_i18n55.__)("End", "elementor"),
5116
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignEndIcon, { fontSize: size }),
5086
5117
  showTooltip: true
5087
5118
  },
5088
5119
  {
5089
5120
  value: "justify",
5090
- label: (0, import_i18n54.__)("Justify", "elementor"),
5091
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.AlignJustifiedIcon, { fontSize: size }),
5121
+ label: (0, import_i18n55.__)("Justify", "elementor"),
5122
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons22.AlignJustifiedIcon, { fontSize: size }),
5092
5123
  showTooltip: true
5093
5124
  }
5094
5125
  ];
5095
5126
  var TextAlignmentField = () => {
5096
- return /* @__PURE__ */ React77.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React77.createElement(UiProviders, null, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React77.createElement(import_editor_controls48.ToggleControl, { options: options9 }))));
5127
+ return /* @__PURE__ */ React78.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React78.createElement(UiProviders, null, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React78.createElement(import_editor_controls49.ToggleControl, { options: options9 }))));
5097
5128
  };
5098
5129
 
5099
5130
  // src/components/style-sections/typography-section/text-color-field.tsx
5100
- var React78 = __toESM(require("react"));
5101
- var import_editor_controls49 = require("@elementor/editor-controls");
5102
- var import_i18n55 = require("@wordpress/i18n");
5103
- var TEXT_COLOR_LABEL = (0, import_i18n55.__)("Text color", "elementor");
5131
+ var React79 = __toESM(require("react"));
5132
+ var import_editor_controls50 = require("@elementor/editor-controls");
5133
+ var import_i18n56 = require("@wordpress/i18n");
5134
+ var TEXT_COLOR_LABEL = (0, import_i18n56.__)("Text color", "elementor");
5104
5135
  var TextColorField = () => {
5105
- return /* @__PURE__ */ React78.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React78.createElement(import_editor_controls49.ColorControl, { id: "text-color-control" })));
5136
+ return /* @__PURE__ */ React79.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React79.createElement(import_editor_controls50.ColorControl, { id: "text-color-control" })));
5106
5137
  };
5107
5138
 
5108
5139
  // src/components/style-sections/typography-section/text-decoration-field.tsx
5109
- var React79 = __toESM(require("react"));
5110
- var import_editor_controls50 = require("@elementor/editor-controls");
5111
- var import_icons22 = require("@elementor/icons");
5112
- var import_i18n56 = require("@wordpress/i18n");
5113
- var TEXT_DECORATION_LABEL = (0, import_i18n56.__)("Line decoration", "elementor");
5140
+ var React80 = __toESM(require("react"));
5141
+ var import_editor_controls51 = require("@elementor/editor-controls");
5142
+ var import_icons23 = require("@elementor/icons");
5143
+ var import_i18n57 = require("@wordpress/i18n");
5144
+ var TEXT_DECORATION_LABEL = (0, import_i18n57.__)("Line decoration", "elementor");
5114
5145
  var options10 = [
5115
5146
  {
5116
5147
  value: "none",
5117
- label: (0, import_i18n56.__)("None", "elementor"),
5118
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.MinusIcon, { fontSize: size }),
5148
+ label: (0, import_i18n57.__)("None", "elementor"),
5149
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.MinusIcon, { fontSize: size }),
5119
5150
  showTooltip: true,
5120
5151
  exclusive: true
5121
5152
  },
5122
5153
  {
5123
5154
  value: "underline",
5124
- label: (0, import_i18n56.__)("Underline", "elementor"),
5125
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.UnderlineIcon, { fontSize: size }),
5155
+ label: (0, import_i18n57.__)("Underline", "elementor"),
5156
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.UnderlineIcon, { fontSize: size }),
5126
5157
  showTooltip: true
5127
5158
  },
5128
5159
  {
5129
5160
  value: "line-through",
5130
- label: (0, import_i18n56.__)("Line-through", "elementor"),
5131
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.StrikethroughIcon, { fontSize: size }),
5161
+ label: (0, import_i18n57.__)("Line-through", "elementor"),
5162
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.StrikethroughIcon, { fontSize: size }),
5132
5163
  showTooltip: true
5133
5164
  },
5134
5165
  {
5135
5166
  value: "overline",
5136
- label: (0, import_i18n56.__)("Overline", "elementor"),
5137
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.OverlineIcon, { fontSize: size }),
5167
+ label: (0, import_i18n57.__)("Overline", "elementor"),
5168
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.OverlineIcon, { fontSize: size }),
5138
5169
  showTooltip: true
5139
5170
  }
5140
5171
  ];
5141
- var TextDecorationField = () => /* @__PURE__ */ React79.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React79.createElement(import_editor_controls50.ToggleControl, { options: options10, exclusive: false })));
5172
+ var TextDecorationField = () => /* @__PURE__ */ React80.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React80.createElement(import_editor_controls51.ToggleControl, { options: options10, exclusive: false })));
5142
5173
 
5143
5174
  // src/components/style-sections/typography-section/text-direction-field.tsx
5144
- var React80 = __toESM(require("react"));
5145
- var import_editor_controls51 = require("@elementor/editor-controls");
5146
- var import_icons23 = require("@elementor/icons");
5147
- var import_i18n57 = require("@wordpress/i18n");
5148
- var TEXT_DIRECTION_LABEL = (0, import_i18n57.__)("Direction", "elementor");
5175
+ var React81 = __toESM(require("react"));
5176
+ var import_editor_controls52 = require("@elementor/editor-controls");
5177
+ var import_icons24 = require("@elementor/icons");
5178
+ var import_i18n58 = require("@wordpress/i18n");
5179
+ var TEXT_DIRECTION_LABEL = (0, import_i18n58.__)("Direction", "elementor");
5149
5180
  var options11 = [
5150
5181
  {
5151
5182
  value: "ltr",
5152
- label: (0, import_i18n57.__)("Left to right", "elementor"),
5153
- renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.TextDirectionLtrIcon, { fontSize: size }),
5183
+ label: (0, import_i18n58.__)("Left to right", "elementor"),
5184
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.TextDirectionLtrIcon, { fontSize: size }),
5154
5185
  showTooltip: true
5155
5186
  },
5156
5187
  {
5157
5188
  value: "rtl",
5158
- label: (0, import_i18n57.__)("Right to left", "elementor"),
5159
- renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.TextDirectionRtlIcon, { fontSize: size }),
5189
+ label: (0, import_i18n58.__)("Right to left", "elementor"),
5190
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.TextDirectionRtlIcon, { fontSize: size }),
5160
5191
  showTooltip: true
5161
5192
  }
5162
5193
  ];
5163
5194
  var TextDirectionField = () => {
5164
- return /* @__PURE__ */ React80.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React80.createElement(import_editor_controls51.ToggleControl, { options: options11 })));
5195
+ return /* @__PURE__ */ React81.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React81.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React81.createElement(import_editor_controls52.ToggleControl, { options: options11 })));
5165
5196
  };
5166
5197
 
5167
5198
  // src/components/style-sections/typography-section/text-stroke-field.tsx
5168
- var React82 = __toESM(require("react"));
5169
- var import_editor_controls52 = require("@elementor/editor-controls");
5170
- var import_i18n58 = require("@wordpress/i18n");
5199
+ var React83 = __toESM(require("react"));
5200
+ var import_editor_controls53 = require("@elementor/editor-controls");
5201
+ var import_i18n59 = require("@wordpress/i18n");
5171
5202
 
5172
5203
  // src/components/add-or-remove-content.tsx
5173
- var React81 = __toESM(require("react"));
5174
- var import_icons24 = require("@elementor/icons");
5175
- var import_ui40 = require("@elementor/ui");
5204
+ var React82 = __toESM(require("react"));
5205
+ var import_icons25 = require("@elementor/icons");
5206
+ var import_ui41 = require("@elementor/ui");
5176
5207
  var SIZE = "tiny";
5177
5208
  var AddOrRemoveContent = ({
5178
5209
  isAdded,
@@ -5182,8 +5213,8 @@ var AddOrRemoveContent = ({
5182
5213
  disabled,
5183
5214
  renderLabel
5184
5215
  }) => {
5185
- return /* @__PURE__ */ React81.createElement(SectionContent, null, /* @__PURE__ */ React81.createElement(
5186
- import_ui40.Stack,
5216
+ return /* @__PURE__ */ React82.createElement(SectionContent, null, /* @__PURE__ */ React82.createElement(
5217
+ import_ui41.Stack,
5187
5218
  {
5188
5219
  direction: "row",
5189
5220
  sx: {
@@ -5193,8 +5224,8 @@ var AddOrRemoveContent = ({
5193
5224
  }
5194
5225
  },
5195
5226
  renderLabel(),
5196
- isAdded ? /* @__PURE__ */ React81.createElement(import_ui40.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React81.createElement(import_icons24.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React81.createElement(import_ui40.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React81.createElement(import_icons24.PlusIcon, { fontSize: SIZE }))
5197
- ), /* @__PURE__ */ React81.createElement(import_ui40.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React81.createElement(SectionContent, null, children)));
5227
+ isAdded ? /* @__PURE__ */ React82.createElement(import_ui41.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React82.createElement(import_icons25.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React82.createElement(import_ui41.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React82.createElement(import_icons25.PlusIcon, { fontSize: SIZE }))
5228
+ ), /* @__PURE__ */ React82.createElement(import_ui41.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React82.createElement(SectionContent, null, children)));
5198
5229
  };
5199
5230
 
5200
5231
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -5214,7 +5245,7 @@ var initTextStroke = {
5214
5245
  }
5215
5246
  }
5216
5247
  };
5217
- var TEXT_STROKE_LABEL = (0, import_i18n58.__)("Text stroke", "elementor");
5248
+ var TEXT_STROKE_LABEL = (0, import_i18n59.__)("Text stroke", "elementor");
5218
5249
  var TextStrokeField = () => {
5219
5250
  const { value, setValue, canEdit } = useStylesField("stroke", {
5220
5251
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -5226,67 +5257,67 @@ var TextStrokeField = () => {
5226
5257
  setValue(null);
5227
5258
  };
5228
5259
  const hasTextStroke = Boolean(value);
5229
- return /* @__PURE__ */ React82.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React82.createElement(
5260
+ return /* @__PURE__ */ React83.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React83.createElement(
5230
5261
  AddOrRemoveContent,
5231
5262
  {
5232
5263
  isAdded: hasTextStroke,
5233
5264
  onAdd: addTextStroke,
5234
5265
  onRemove: removeTextStroke,
5235
5266
  disabled: !canEdit,
5236
- renderLabel: () => /* @__PURE__ */ React82.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5267
+ renderLabel: () => /* @__PURE__ */ React83.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5237
5268
  },
5238
- /* @__PURE__ */ React82.createElement(import_editor_controls52.StrokeControl, null)
5269
+ /* @__PURE__ */ React83.createElement(import_editor_controls53.StrokeControl, null)
5239
5270
  ));
5240
5271
  };
5241
5272
 
5242
5273
  // src/components/style-sections/typography-section/transform-field.tsx
5243
- var React83 = __toESM(require("react"));
5244
- var import_editor_controls53 = require("@elementor/editor-controls");
5245
- var import_icons25 = require("@elementor/icons");
5246
- var import_i18n59 = require("@wordpress/i18n");
5247
- var TEXT_TRANSFORM_LABEL = (0, import_i18n59.__)("Text transform", "elementor");
5274
+ var React84 = __toESM(require("react"));
5275
+ var import_editor_controls54 = require("@elementor/editor-controls");
5276
+ var import_icons26 = require("@elementor/icons");
5277
+ var import_i18n60 = require("@wordpress/i18n");
5278
+ var TEXT_TRANSFORM_LABEL = (0, import_i18n60.__)("Text transform", "elementor");
5248
5279
  var options12 = [
5249
5280
  {
5250
5281
  value: "none",
5251
- label: (0, import_i18n59.__)("None", "elementor"),
5252
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.MinusIcon, { fontSize: size }),
5282
+ label: (0, import_i18n60.__)("None", "elementor"),
5283
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.MinusIcon, { fontSize: size }),
5253
5284
  showTooltip: true
5254
5285
  },
5255
5286
  {
5256
5287
  value: "capitalize",
5257
- label: (0, import_i18n59.__)("Capitalize", "elementor"),
5258
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.LetterCaseIcon, { fontSize: size }),
5288
+ label: (0, import_i18n60.__)("Capitalize", "elementor"),
5289
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.LetterCaseIcon, { fontSize: size }),
5259
5290
  showTooltip: true
5260
5291
  },
5261
5292
  {
5262
5293
  value: "uppercase",
5263
- label: (0, import_i18n59.__)("Uppercase", "elementor"),
5264
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.LetterCaseUpperIcon, { fontSize: size }),
5294
+ label: (0, import_i18n60.__)("Uppercase", "elementor"),
5295
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.LetterCaseUpperIcon, { fontSize: size }),
5265
5296
  showTooltip: true
5266
5297
  },
5267
5298
  {
5268
5299
  value: "lowercase",
5269
- label: (0, import_i18n59.__)("Lowercase", "elementor"),
5270
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.LetterCaseLowerIcon, { fontSize: size }),
5300
+ label: (0, import_i18n60.__)("Lowercase", "elementor"),
5301
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.LetterCaseLowerIcon, { fontSize: size }),
5271
5302
  showTooltip: true
5272
5303
  }
5273
5304
  ];
5274
- var TransformField = () => /* @__PURE__ */ React83.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React83.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React83.createElement(import_editor_controls53.ToggleControl, { options: options12 })));
5305
+ var TransformField = () => /* @__PURE__ */ React84.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React84.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React84.createElement(import_editor_controls54.ToggleControl, { options: options12 })));
5275
5306
 
5276
5307
  // src/components/style-sections/typography-section/word-spacing-field.tsx
5277
- var React84 = __toESM(require("react"));
5278
- var import_react36 = require("react");
5279
- var import_editor_controls54 = require("@elementor/editor-controls");
5280
- var import_i18n60 = require("@wordpress/i18n");
5281
- var WORD_SPACING_LABEL = (0, import_i18n60.__)("Word spacing", "elementor");
5308
+ var React85 = __toESM(require("react"));
5309
+ var import_react37 = require("react");
5310
+ var import_editor_controls55 = require("@elementor/editor-controls");
5311
+ var import_i18n61 = require("@wordpress/i18n");
5312
+ var WORD_SPACING_LABEL = (0, import_i18n61.__)("Word spacing", "elementor");
5282
5313
  var WordSpacingField = () => {
5283
- const rowRef = (0, import_react36.useRef)(null);
5284
- return /* @__PURE__ */ React84.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React84.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React84.createElement(import_editor_controls54.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5314
+ const rowRef = (0, import_react37.useRef)(null);
5315
+ return /* @__PURE__ */ React85.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React85.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React85.createElement(import_editor_controls55.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5285
5316
  };
5286
5317
 
5287
5318
  // src/components/style-sections/typography-section/typography-section.tsx
5288
5319
  var TypographySection = () => {
5289
- return /* @__PURE__ */ React85.createElement(SectionContent, null, /* @__PURE__ */ React85.createElement(FontFamilyField, null), /* @__PURE__ */ React85.createElement(FontWeightField, null), /* @__PURE__ */ React85.createElement(FontSizeField, null), /* @__PURE__ */ React85.createElement(PanelDivider, null), /* @__PURE__ */ React85.createElement(TextAlignmentField, null), /* @__PURE__ */ React85.createElement(TextColorField, null), /* @__PURE__ */ React85.createElement(
5320
+ return /* @__PURE__ */ React86.createElement(SectionContent, null, /* @__PURE__ */ React86.createElement(FontFamilyField, null), /* @__PURE__ */ React86.createElement(FontWeightField, null), /* @__PURE__ */ React86.createElement(FontSizeField, null), /* @__PURE__ */ React86.createElement(PanelDivider, null), /* @__PURE__ */ React86.createElement(TextAlignmentField, null), /* @__PURE__ */ React86.createElement(TextColorField, null), /* @__PURE__ */ React86.createElement(
5290
5321
  StyleTabCollapsibleContent,
5291
5322
  {
5292
5323
  fields: [
@@ -5301,18 +5332,18 @@ var TypographySection = () => {
5301
5332
  "stroke"
5302
5333
  ]
5303
5334
  },
5304
- /* @__PURE__ */ React85.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React85.createElement(LineHeightField, null), /* @__PURE__ */ React85.createElement(LetterSpacingField, null), /* @__PURE__ */ React85.createElement(WordSpacingField, null), /* @__PURE__ */ React85.createElement(ColumnCountField, null), /* @__PURE__ */ React85.createElement(ColumnGapField, null), /* @__PURE__ */ React85.createElement(PanelDivider, null), /* @__PURE__ */ React85.createElement(TextDecorationField, null), /* @__PURE__ */ React85.createElement(TransformField, null), /* @__PURE__ */ React85.createElement(TextDirectionField, null), /* @__PURE__ */ React85.createElement(FontStyleField, null), /* @__PURE__ */ React85.createElement(TextStrokeField, null))
5335
+ /* @__PURE__ */ React86.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React86.createElement(LineHeightField, null), /* @__PURE__ */ React86.createElement(LetterSpacingField, null), /* @__PURE__ */ React86.createElement(WordSpacingField, null), /* @__PURE__ */ React86.createElement(ColumnCountField, null), /* @__PURE__ */ React86.createElement(ColumnGapField, null), /* @__PURE__ */ React86.createElement(PanelDivider, null), /* @__PURE__ */ React86.createElement(TextDecorationField, null), /* @__PURE__ */ React86.createElement(TransformField, null), /* @__PURE__ */ React86.createElement(TextDirectionField, null), /* @__PURE__ */ React86.createElement(FontStyleField, null), /* @__PURE__ */ React86.createElement(TextStrokeField, null))
5305
5336
  ));
5306
5337
  };
5307
5338
 
5308
5339
  // src/components/style-tab-section.tsx
5309
- var React86 = __toESM(require("react"));
5340
+ var React87 = __toESM(require("react"));
5310
5341
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5311
5342
  const { component, name, title, action } = section;
5312
5343
  const tabDefaults = useDefaultPanelSettings();
5313
- const SectionComponent = component || (() => /* @__PURE__ */ React86.createElement(React86.Fragment, null));
5344
+ const SectionComponent = component || (() => /* @__PURE__ */ React87.createElement(React87.Fragment, null));
5314
5345
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
5315
- return /* @__PURE__ */ React86.createElement(
5346
+ return /* @__PURE__ */ React87.createElement(
5316
5347
  Section,
5317
5348
  {
5318
5349
  title,
@@ -5321,7 +5352,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5321
5352
  unmountOnExit,
5322
5353
  action
5323
5354
  },
5324
- /* @__PURE__ */ React86.createElement(SectionComponent, null)
5355
+ /* @__PURE__ */ React87.createElement(SectionComponent, null)
5325
5356
  );
5326
5357
  };
5327
5358
 
@@ -5338,12 +5369,12 @@ var stickyHeaderStyles = {
5338
5369
  var StyleTab = () => {
5339
5370
  const currentClassesProp = useCurrentClassesProp();
5340
5371
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp ?? "");
5341
- const [activeStyleState, setActiveStyleState] = (0, import_react37.useState)(null);
5372
+ const [activeStyleState, setActiveStyleState] = (0, import_react38.useState)(null);
5342
5373
  const breakpoint = (0, import_editor_responsive3.useActiveBreakpoint)();
5343
5374
  if (!currentClassesProp) {
5344
5375
  return null;
5345
5376
  }
5346
- return /* @__PURE__ */ React87.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React87.createElement(
5377
+ return /* @__PURE__ */ React88.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React88.createElement(
5347
5378
  StyleProvider,
5348
5379
  {
5349
5380
  meta: { breakpoint, state: activeStyleState },
@@ -5354,13 +5385,13 @@ var StyleTab = () => {
5354
5385
  },
5355
5386
  setMetaState: setActiveStyleState
5356
5387
  },
5357
- /* @__PURE__ */ React87.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React87.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React87.createElement(ClassesHeader, null, /* @__PURE__ */ React87.createElement(CssClassSelector, null), /* @__PURE__ */ React87.createElement(import_ui41.Divider, null)), /* @__PURE__ */ React87.createElement(SectionsList, null, /* @__PURE__ */ React87.createElement(
5388
+ /* @__PURE__ */ React88.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React88.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React88.createElement(ClassesHeader, null, /* @__PURE__ */ React88.createElement(CssClassSelector, null), /* @__PURE__ */ React88.createElement(import_ui42.Divider, null)), /* @__PURE__ */ React88.createElement(SectionsList, null, /* @__PURE__ */ React88.createElement(
5358
5389
  StyleTabSection,
5359
5390
  {
5360
5391
  section: {
5361
5392
  component: LayoutSection,
5362
5393
  name: "Layout",
5363
- title: (0, import_i18n61.__)("Layout", "elementor")
5394
+ title: (0, import_i18n62.__)("Layout", "elementor")
5364
5395
  },
5365
5396
  fields: [
5366
5397
  "display",
@@ -5373,26 +5404,28 @@ var StyleTab = () => {
5373
5404
  "gap",
5374
5405
  "order",
5375
5406
  "grid-column",
5376
- "grid-row"
5407
+ "grid-row",
5408
+ "grid-auto-rows",
5409
+ "grid-auto-columns"
5377
5410
  ]
5378
5411
  }
5379
- ), /* @__PURE__ */ React87.createElement(
5412
+ ), /* @__PURE__ */ React88.createElement(
5380
5413
  StyleTabSection,
5381
5414
  {
5382
5415
  section: {
5383
5416
  component: SpacingSection,
5384
5417
  name: "Spacing",
5385
- title: (0, import_i18n61.__)("Spacing", "elementor")
5418
+ title: (0, import_i18n62.__)("Spacing", "elementor")
5386
5419
  },
5387
5420
  fields: ["margin", "padding"]
5388
5421
  }
5389
- ), /* @__PURE__ */ React87.createElement(
5422
+ ), /* @__PURE__ */ React88.createElement(
5390
5423
  StyleTabSection,
5391
5424
  {
5392
5425
  section: {
5393
5426
  component: SizeSection,
5394
5427
  name: "Size",
5395
- title: (0, import_i18n61.__)("Size", "elementor")
5428
+ title: (0, import_i18n62.__)("Size", "elementor")
5396
5429
  },
5397
5430
  fields: [
5398
5431
  "width",
@@ -5406,23 +5439,23 @@ var StyleTab = () => {
5406
5439
  "object-fit"
5407
5440
  ]
5408
5441
  }
5409
- ), /* @__PURE__ */ React87.createElement(
5442
+ ), /* @__PURE__ */ React88.createElement(
5410
5443
  StyleTabSection,
5411
5444
  {
5412
5445
  section: {
5413
5446
  component: PositionSection,
5414
5447
  name: "Position",
5415
- title: (0, import_i18n61.__)("Position", "elementor")
5448
+ title: (0, import_i18n62.__)("Position", "elementor")
5416
5449
  },
5417
5450
  fields: ["position", "z-index", "scroll-margin-top"]
5418
5451
  }
5419
- ), /* @__PURE__ */ React87.createElement(
5452
+ ), /* @__PURE__ */ React88.createElement(
5420
5453
  StyleTabSection,
5421
5454
  {
5422
5455
  section: {
5423
5456
  component: TypographySection,
5424
5457
  name: "Typography",
5425
- title: (0, import_i18n61.__)("Typography", "elementor")
5458
+ title: (0, import_i18n62.__)("Typography", "elementor")
5426
5459
  },
5427
5460
  fields: [
5428
5461
  "font-family",
@@ -5441,33 +5474,33 @@ var StyleTab = () => {
5441
5474
  "stroke"
5442
5475
  ]
5443
5476
  }
5444
- ), /* @__PURE__ */ React87.createElement(
5477
+ ), /* @__PURE__ */ React88.createElement(
5445
5478
  StyleTabSection,
5446
5479
  {
5447
5480
  section: {
5448
5481
  component: BackgroundSection,
5449
5482
  name: "Background",
5450
- title: (0, import_i18n61.__)("Background", "elementor")
5483
+ title: (0, import_i18n62.__)("Background", "elementor")
5451
5484
  },
5452
5485
  fields: ["background"]
5453
5486
  }
5454
- ), /* @__PURE__ */ React87.createElement(
5487
+ ), /* @__PURE__ */ React88.createElement(
5455
5488
  StyleTabSection,
5456
5489
  {
5457
5490
  section: {
5458
5491
  component: BorderSection,
5459
5492
  name: "Border",
5460
- title: (0, import_i18n61.__)("Border", "elementor")
5493
+ title: (0, import_i18n62.__)("Border", "elementor")
5461
5494
  },
5462
5495
  fields: ["border-radius", "border-width", "border-color", "border-style"]
5463
5496
  }
5464
- ), /* @__PURE__ */ React87.createElement(
5497
+ ), /* @__PURE__ */ React88.createElement(
5465
5498
  StyleTabSection,
5466
5499
  {
5467
5500
  section: {
5468
5501
  component: EffectsSection,
5469
5502
  name: "Effects",
5470
- title: (0, import_i18n61.__)("Effects", "elementor")
5503
+ title: (0, import_i18n62.__)("Effects", "elementor")
5471
5504
  },
5472
5505
  fields: [
5473
5506
  "mix-blend-mode",
@@ -5480,12 +5513,12 @@ var StyleTab = () => {
5480
5513
  "transition"
5481
5514
  ]
5482
5515
  }
5483
- ), /* @__PURE__ */ React87.createElement(StyleTabSlot, null)), /* @__PURE__ */ React87.createElement(import_ui41.Box, { sx: { height: "150px" } })))
5516
+ ), /* @__PURE__ */ React88.createElement(StyleTabSlot, null)), /* @__PURE__ */ React88.createElement(import_ui42.Box, { sx: { height: "150px" } })))
5484
5517
  ));
5485
5518
  };
5486
5519
  function ClassesHeader({ children }) {
5487
5520
  const scrollDirection = useScrollDirection();
5488
- return /* @__PURE__ */ React87.createElement(import_ui41.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5521
+ return /* @__PURE__ */ React88.createElement(import_ui42.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5489
5522
  }
5490
5523
  function useCurrentClassesProp() {
5491
5524
  const { elementType } = useElement();
@@ -5504,7 +5537,7 @@ var EditingPanelTabs = () => {
5504
5537
  return (
5505
5538
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
5506
5539
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
5507
- /* @__PURE__ */ React88.createElement(import_react38.Fragment, { key: element.id }, /* @__PURE__ */ React88.createElement(PanelTabContent, null))
5540
+ /* @__PURE__ */ React89.createElement(import_react39.Fragment, { key: element.id }, /* @__PURE__ */ React89.createElement(PanelTabContent, null))
5508
5541
  );
5509
5542
  };
5510
5543
  var PanelTabContent = () => {
@@ -5515,9 +5548,9 @@ var PanelTabContent = () => {
5515
5548
  const isPromotedElement = !!(0, import_editor_elements12.getWidgetsCache)()?.[element.type]?.meta?.is_pro_promotion;
5516
5549
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
5517
5550
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
5518
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui42.useTabs)(currentTab);
5519
- return /* @__PURE__ */ React88.createElement(ScrollProvider, null, /* @__PURE__ */ React88.createElement(import_ui42.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React88.createElement(import_ui42.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React88.createElement(
5520
- import_ui42.Tabs,
5551
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui43.useTabs)(currentTab);
5552
+ return /* @__PURE__ */ React89.createElement(ScrollProvider, null, /* @__PURE__ */ React89.createElement(import_ui43.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React89.createElement(import_ui43.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React89.createElement(
5553
+ import_ui43.Tabs,
5521
5554
  {
5522
5555
  variant: "fullWidth",
5523
5556
  size: "small",
@@ -5528,10 +5561,10 @@ var PanelTabContent = () => {
5528
5561
  setCurrentTab(newValue);
5529
5562
  }
5530
5563
  },
5531
- !isPromotedElement && /* @__PURE__ */ React88.createElement(import_ui42.Tab, { label: (0, import_i18n62.__)("General", "elementor"), ...getTabProps("settings") }),
5532
- /* @__PURE__ */ React88.createElement(import_ui42.Tab, { label: (0, import_i18n62.__)("Style", "elementor"), ...getTabProps("style") }),
5533
- isInteractionsActive && /* @__PURE__ */ React88.createElement(import_ui42.Tab, { label: (0, import_i18n62.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5534
- ), /* @__PURE__ */ React88.createElement(import_ui42.Divider, null)), !isPromotedElement && /* @__PURE__ */ React88.createElement(import_ui42.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React88.createElement(SettingsTab, null)), /* @__PURE__ */ React88.createElement(import_ui42.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React88.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React88.createElement(import_ui42.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React88.createElement(InteractionsTab, null))));
5564
+ !isPromotedElement && /* @__PURE__ */ React89.createElement(import_ui43.Tab, { label: (0, import_i18n63.__)("General", "elementor"), ...getTabProps("settings") }),
5565
+ /* @__PURE__ */ React89.createElement(import_ui43.Tab, { label: (0, import_i18n63.__)("Style", "elementor"), ...getTabProps("style") }),
5566
+ isInteractionsActive && /* @__PURE__ */ React89.createElement(import_ui43.Tab, { label: (0, import_i18n63.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5567
+ ), /* @__PURE__ */ React89.createElement(import_ui43.Divider, null)), !isPromotedElement && /* @__PURE__ */ React89.createElement(import_ui43.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React89.createElement(SettingsTab, null)), /* @__PURE__ */ React89.createElement(import_ui43.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React89.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React89.createElement(import_ui43.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React89.createElement(InteractionsTab, null))));
5535
5568
  };
5536
5569
 
5537
5570
  // src/components/editing-panel.tsx
@@ -5539,18 +5572,18 @@ var { Slot: PanelHeaderTopSlot, inject: injectIntoPanelHeaderTop } = (0, import_
5539
5572
  var { useMenuItems } = import_menus.controlActionsMenu;
5540
5573
  var EditingPanel = () => {
5541
5574
  const { element, elementType, settings } = (0, import_editor_elements13.useSelectedElementSettings)();
5542
- const controlReplacements = (0, import_editor_controls55.getControlReplacements)();
5575
+ const controlReplacements = (0, import_editor_controls56.getControlReplacements)();
5543
5576
  const menuItems = useMenuItems().default;
5544
5577
  if (!element || !elementType) {
5545
5578
  return null;
5546
5579
  }
5547
- const panelTitle = (0, import_i18n63.__)("Edit %s", "elementor").replace("%s", elementType.title);
5580
+ const panelTitle = (0, import_i18n64.__)("Edit %s", "elementor").replace("%s", elementType.title);
5548
5581
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
5549
- let panelContent = /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React89.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React89.createElement(import_icons26.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React89.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React89.createElement(EditingPanelTabs, null)));
5582
+ let panelContent = /* @__PURE__ */ React90.createElement(React90.Fragment, null, /* @__PURE__ */ React90.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React90.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React90.createElement(import_icons27.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React90.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React90.createElement(EditingPanelTabs, null)));
5550
5583
  if (ReplacementComponent) {
5551
- panelContent = /* @__PURE__ */ React89.createElement(ReplacementComponent, null);
5584
+ panelContent = /* @__PURE__ */ React90.createElement(ReplacementComponent, null);
5552
5585
  }
5553
- return /* @__PURE__ */ React89.createElement(import_ui43.ErrorBoundary, { fallback: /* @__PURE__ */ React89.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React89.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React89.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React89.createElement(import_editor_controls55.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React89.createElement(import_editor_controls55.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React89.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React89.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React89.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5586
+ return /* @__PURE__ */ React90.createElement(import_ui44.ErrorBoundary, { fallback: /* @__PURE__ */ React90.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React90.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React90.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React90.createElement(import_editor_controls56.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React90.createElement(import_editor_controls56.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React90.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React90.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React90.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5554
5587
  };
5555
5588
 
5556
5589
  // src/init.ts
@@ -5559,7 +5592,7 @@ var import_editor_panels3 = require("@elementor/editor-panels");
5559
5592
  var import_editor_v1_adapters13 = require("@elementor/editor-v1-adapters");
5560
5593
 
5561
5594
  // src/hooks/use-open-editor-panel.ts
5562
- var import_react39 = require("react");
5595
+ var import_react40 = require("react");
5563
5596
  var import_editor_v1_adapters10 = require("@elementor/editor-v1-adapters");
5564
5597
 
5565
5598
  // src/panel.ts
@@ -5583,7 +5616,7 @@ var isAtomicWidgetSelected = () => {
5583
5616
  // src/hooks/use-open-editor-panel.ts
5584
5617
  var useOpenEditorPanel = () => {
5585
5618
  const { open } = usePanelActions();
5586
- (0, import_react39.useEffect)(() => {
5619
+ (0, import_react40.useEffect)(() => {
5587
5620
  return (0, import_editor_v1_adapters10.__privateListenTo)((0, import_editor_v1_adapters10.commandStartEvent)("panel/editor/open"), () => {
5588
5621
  if (isAtomicWidgetSelected()) {
5589
5622
  open();
@@ -5599,24 +5632,24 @@ var EditingPanelHooks = () => {
5599
5632
  };
5600
5633
 
5601
5634
  // src/components/promotions/init.tsx
5602
- var import_editor_controls57 = require("@elementor/editor-controls");
5635
+ var import_editor_controls58 = require("@elementor/editor-controls");
5603
5636
 
5604
5637
  // src/components/promotions/custom-css.tsx
5605
- var React90 = __toESM(require("react"));
5606
- var import_react40 = require("react");
5607
- var import_editor_controls56 = require("@elementor/editor-controls");
5608
- var import_i18n64 = require("@wordpress/i18n");
5638
+ var React91 = __toESM(require("react"));
5639
+ var import_react41 = require("react");
5640
+ var import_editor_controls57 = require("@elementor/editor-controls");
5641
+ var import_i18n65 = require("@wordpress/i18n");
5609
5642
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
5610
5643
  var CustomCssSection = () => {
5611
- const triggerRef = (0, import_react40.useRef)(null);
5612
- return /* @__PURE__ */ React90.createElement(
5644
+ const triggerRef = (0, import_react41.useRef)(null);
5645
+ return /* @__PURE__ */ React91.createElement(
5613
5646
  StyleTabSection,
5614
5647
  {
5615
5648
  section: {
5616
5649
  name: "Custom CSS",
5617
- title: (0, import_i18n64.__)("Custom CSS", "elementor"),
5650
+ title: (0, import_i18n65.__)("Custom CSS", "elementor"),
5618
5651
  action: {
5619
- component: /* @__PURE__ */ React90.createElement(import_editor_controls56.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5652
+ component: /* @__PURE__ */ React91.createElement(import_editor_controls57.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5620
5653
  onClick: () => triggerRef.current?.toggle()
5621
5654
  }
5622
5655
  }
@@ -5632,19 +5665,19 @@ var init = () => {
5632
5665
  options: { overwrite: true }
5633
5666
  });
5634
5667
  if (!window.elementorPro) {
5635
- controlsRegistry.register("attributes", import_editor_controls57.AttributesControl, "two-columns");
5636
- controlsRegistry.register("display-conditions", import_editor_controls57.DisplayConditionsControl, "two-columns");
5668
+ controlsRegistry.register("attributes", import_editor_controls58.AttributesControl, "two-columns");
5669
+ controlsRegistry.register("display-conditions", import_editor_controls58.DisplayConditionsControl, "two-columns");
5637
5670
  }
5638
5671
  };
5639
5672
 
5640
5673
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
5641
- var React91 = __toESM(require("react"));
5642
- var import_editor_controls59 = require("@elementor/editor-controls");
5674
+ var React92 = __toESM(require("react"));
5675
+ var import_editor_controls60 = require("@elementor/editor-controls");
5643
5676
  var import_editor_elements17 = require("@elementor/editor-elements");
5644
5677
  var import_editor_props17 = require("@elementor/editor-props");
5645
- var import_icons27 = require("@elementor/icons");
5646
- var import_ui44 = require("@elementor/ui");
5647
- var import_i18n66 = require("@wordpress/i18n");
5678
+ var import_icons28 = require("@elementor/icons");
5679
+ var import_ui45 = require("@elementor/ui");
5680
+ var import_i18n67 = require("@wordpress/i18n");
5648
5681
 
5649
5682
  // src/controls-registry/element-controls/get-element-by-type.ts
5650
5683
  var import_editor_elements15 = require("@elementor/editor-elements");
@@ -5660,14 +5693,14 @@ var getElementByType = (elementId, type) => {
5660
5693
  };
5661
5694
 
5662
5695
  // src/controls-registry/element-controls/tabs-control/use-actions.ts
5663
- var import_editor_controls58 = require("@elementor/editor-controls");
5696
+ var import_editor_controls59 = require("@elementor/editor-controls");
5664
5697
  var import_editor_elements16 = require("@elementor/editor-elements");
5665
5698
  var import_editor_props16 = require("@elementor/editor-props");
5666
- var import_i18n65 = require("@wordpress/i18n");
5699
+ var import_i18n66 = require("@wordpress/i18n");
5667
5700
  var TAB_ELEMENT_TYPE = "e-tab";
5668
5701
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
5669
5702
  var useActions = () => {
5670
- const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls58.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5703
+ const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls59.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5671
5704
  const defaultActiveTab = value ?? 0;
5672
5705
  const duplicateItem = ({
5673
5706
  items: items3,
@@ -5686,7 +5719,7 @@ var useActions = () => {
5686
5719
  }
5687
5720
  (0, import_editor_elements16.duplicateElements)({
5688
5721
  elementIds: [tabId, tabContentId],
5689
- title: (0, import_i18n65.__)("Duplicate Tab", "elementor"),
5722
+ title: (0, import_i18n66.__)("Duplicate Tab", "elementor"),
5690
5723
  onDuplicateElements: () => {
5691
5724
  if (newDefault !== defaultActiveTab) {
5692
5725
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -5723,7 +5756,7 @@ var useActions = () => {
5723
5756
  defaultActiveTab
5724
5757
  });
5725
5758
  (0, import_editor_elements16.moveElements)({
5726
- title: (0, import_i18n65.__)("Reorder Tabs", "elementor"),
5759
+ title: (0, import_i18n66.__)("Reorder Tabs", "elementor"),
5727
5760
  moves: [
5728
5761
  {
5729
5762
  element: movedElement,
@@ -5757,7 +5790,7 @@ var useActions = () => {
5757
5790
  defaultActiveTab
5758
5791
  });
5759
5792
  (0, import_editor_elements16.removeElements)({
5760
- title: (0, import_i18n65.__)("Tabs", "elementor"),
5793
+ title: (0, import_i18n66.__)("Tabs", "elementor"),
5761
5794
  elementIds: items3.flatMap(({ item, index }) => {
5762
5795
  const tabId = item.id;
5763
5796
  const tabContentContainer = (0, import_editor_elements16.getContainer)(tabContentAreaId);
@@ -5792,7 +5825,7 @@ var useActions = () => {
5792
5825
  items3.forEach(({ index }) => {
5793
5826
  const position = index + 1;
5794
5827
  (0, import_editor_elements16.createElements)({
5795
- title: (0, import_i18n65.__)("Tabs", "elementor"),
5828
+ title: (0, import_i18n66.__)("Tabs", "elementor"),
5796
5829
  elements: [
5797
5830
  {
5798
5831
  container: tabContentArea,
@@ -5861,7 +5894,7 @@ var calculateDefaultOnDuplicate = ({
5861
5894
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5862
5895
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5863
5896
  var TabsControl = ({ label }) => {
5864
- return /* @__PURE__ */ React91.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n66.__)("Tabs", "elementor") }, /* @__PURE__ */ React91.createElement(TabsControlContent, { label }));
5897
+ return /* @__PURE__ */ React92.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n67.__)("Tabs", "elementor") }, /* @__PURE__ */ React92.createElement(TabsControlContent, { label }));
5865
5898
  };
5866
5899
  var TabsControlContent = ({ label }) => {
5867
5900
  const { element } = useElement();
@@ -5905,8 +5938,8 @@ var TabsControlContent = ({ label }) => {
5905
5938
  });
5906
5939
  }
5907
5940
  };
5908
- return /* @__PURE__ */ React91.createElement(
5909
- import_editor_controls59.Repeater,
5941
+ return /* @__PURE__ */ React92.createElement(
5942
+ import_editor_controls60.Repeater,
5910
5943
  {
5911
5944
  showToggle: false,
5912
5945
  values: repeaterValues,
@@ -5925,27 +5958,27 @@ var TabsControlContent = ({ label }) => {
5925
5958
  };
5926
5959
  var ItemLabel = ({ value, index }) => {
5927
5960
  const elementTitle = value?.title;
5928
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React91.createElement("span", null, elementTitle), /* @__PURE__ */ React91.createElement(ItemDefaultTab, { index }));
5961
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React92.createElement("span", null, elementTitle), /* @__PURE__ */ React92.createElement(ItemDefaultTab, { index }));
5929
5962
  };
5930
5963
  var ItemDefaultTab = ({ index }) => {
5931
- const { value: defaultItem } = (0, import_editor_controls59.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5964
+ const { value: defaultItem } = (0, import_editor_controls60.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5932
5965
  const isDefault = defaultItem === index;
5933
5966
  if (!isDefault) {
5934
5967
  return null;
5935
5968
  }
5936
- return /* @__PURE__ */ React91.createElement(import_ui44.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n66.__)("Default", "elementor") });
5969
+ return /* @__PURE__ */ React92.createElement(import_ui45.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n67.__)("Default", "elementor") });
5937
5970
  };
5938
5971
  var ItemContent = ({ value, index }) => {
5939
5972
  if (!value.id) {
5940
5973
  return null;
5941
5974
  }
5942
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React91.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React91.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n66.__)("Tabs", "elementor") }, /* @__PURE__ */ React91.createElement(DefaultTabControl, { tabIndex: index })));
5975
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React92.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React92.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n67.__)("Tabs", "elementor") }, /* @__PURE__ */ React92.createElement(DefaultTabControl, { tabIndex: index })));
5943
5976
  };
5944
5977
  var DefaultTabControl = ({ tabIndex }) => {
5945
- const { value, setValue } = (0, import_editor_controls59.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5978
+ const { value, setValue } = (0, import_editor_controls60.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5946
5979
  const isDefault = value === tabIndex;
5947
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React91.createElement(import_editor_controls59.ControlFormLabel, null, (0, import_i18n66.__)("Set as default tab", "elementor")), /* @__PURE__ */ React91.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React91.createElement(
5948
- import_ui44.Switch,
5980
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React92.createElement(import_editor_controls60.ControlFormLabel, null, (0, import_i18n67.__)("Set as default tab", "elementor")), /* @__PURE__ */ React92.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React92.createElement(
5981
+ import_ui45.Switch,
5949
5982
  {
5950
5983
  size: "small",
5951
5984
  checked: isDefault,
@@ -5962,8 +5995,8 @@ var DefaultTabControl = ({ tabIndex }) => {
5962
5995
  var TabLabelControl = ({ elementId }) => {
5963
5996
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5964
5997
  const label = editorSettings?.title ?? "";
5965
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { gap: 1 }, /* @__PURE__ */ React91.createElement(import_editor_controls59.ControlFormLabel, null, (0, import_i18n66.__)("Tab name", "elementor")), /* @__PURE__ */ React91.createElement(
5966
- import_ui44.TextField,
5998
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { gap: 1 }, /* @__PURE__ */ React92.createElement(import_editor_controls60.ControlFormLabel, null, (0, import_i18n67.__)("Tab name", "elementor")), /* @__PURE__ */ React92.createElement(
5999
+ import_ui45.TextField,
5967
6000
  {
5968
6001
  size: "tiny",
5969
6002
  value: label,
@@ -5983,22 +6016,22 @@ var ConditionalTooltip = ({
5983
6016
  if (!showTooltip) {
5984
6017
  return children;
5985
6018
  }
5986
- return /* @__PURE__ */ React91.createElement(
5987
- import_ui44.Infotip,
6019
+ return /* @__PURE__ */ React92.createElement(
6020
+ import_ui45.Infotip,
5988
6021
  {
5989
6022
  arrow: false,
5990
- content: /* @__PURE__ */ React91.createElement(
5991
- import_ui44.Alert,
6023
+ content: /* @__PURE__ */ React92.createElement(
6024
+ import_ui45.Alert,
5992
6025
  {
5993
6026
  color: "secondary",
5994
- icon: /* @__PURE__ */ React91.createElement(import_icons27.InfoCircleFilledIcon, { fontSize: "tiny" }),
6027
+ icon: /* @__PURE__ */ React92.createElement(import_icons28.InfoCircleFilledIcon, { fontSize: "tiny" }),
5995
6028
  size: "small",
5996
6029
  sx: { width: 288 }
5997
6030
  },
5998
- /* @__PURE__ */ React91.createElement(import_ui44.Typography, { variant: "body2" }, (0, import_i18n66.__)("To change the default tab, simply set another tab as default.", "elementor"))
6031
+ /* @__PURE__ */ React92.createElement(import_ui45.Typography, { variant: "body2" }, (0, import_i18n67.__)("To change the default tab, simply set another tab as default.", "elementor"))
5999
6032
  )
6000
6033
  },
6001
- /* @__PURE__ */ React91.createElement("span", null, children)
6034
+ /* @__PURE__ */ React92.createElement("span", null, children)
6002
6035
  );
6003
6036
  };
6004
6037
 
@@ -6016,27 +6049,27 @@ var registerElementControls = () => {
6016
6049
 
6017
6050
  // src/dynamics/init.ts
6018
6051
  var import_editor_canvas3 = require("@elementor/editor-canvas");
6019
- var import_editor_controls66 = require("@elementor/editor-controls");
6052
+ var import_editor_controls67 = require("@elementor/editor-controls");
6020
6053
  var import_menus2 = require("@elementor/menus");
6021
6054
 
6022
6055
  // src/dynamics/components/background-control-dynamic-tag.tsx
6023
- var React92 = __toESM(require("react"));
6024
- var import_editor_controls61 = require("@elementor/editor-controls");
6056
+ var React93 = __toESM(require("react"));
6057
+ var import_editor_controls62 = require("@elementor/editor-controls");
6025
6058
  var import_editor_props19 = require("@elementor/editor-props");
6026
- var import_icons28 = require("@elementor/icons");
6059
+ var import_icons29 = require("@elementor/icons");
6027
6060
 
6028
6061
  // src/dynamics/hooks/use-dynamic-tag.ts
6029
- var import_react43 = require("react");
6062
+ var import_react44 = require("react");
6030
6063
 
6031
6064
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
6032
- var import_react42 = require("react");
6033
- var import_editor_controls60 = require("@elementor/editor-controls");
6065
+ var import_react43 = require("react");
6066
+ var import_editor_controls61 = require("@elementor/editor-controls");
6034
6067
 
6035
6068
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
6036
6069
  var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
6037
6070
 
6038
6071
  // src/hooks/use-license-config.ts
6039
- var import_react41 = require("react");
6072
+ var import_react42 = require("react");
6040
6073
  var config = { expired: false };
6041
6074
  var listeners = /* @__PURE__ */ new Set();
6042
6075
  function setLicenseConfig(newConfig) {
@@ -6051,7 +6084,7 @@ function subscribe(listener) {
6051
6084
  return () => listeners.delete(listener);
6052
6085
  }
6053
6086
  function useLicenseConfig() {
6054
- return (0, import_react41.useSyncExternalStore)(subscribe, getLicenseConfig, getLicenseConfig);
6087
+ return (0, import_react42.useSyncExternalStore)(subscribe, getLicenseConfig, getLicenseConfig);
6055
6088
  }
6056
6089
 
6057
6090
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
@@ -6114,13 +6147,13 @@ var useAllPropDynamicTags = () => {
6114
6147
  };
6115
6148
  var usePropDynamicTagsInternal = (filterByLicense2) => {
6116
6149
  let categories = [];
6117
- const { propType } = (0, import_editor_controls60.useBoundProp)();
6150
+ const { propType } = (0, import_editor_controls61.useBoundProp)();
6118
6151
  if (propType) {
6119
6152
  const propDynamicType = getDynamicPropType(propType);
6120
6153
  categories = propDynamicType?.settings.categories || [];
6121
6154
  }
6122
6155
  const categoriesKey = categories.join();
6123
- return (0, import_react42.useMemo)(
6156
+ return (0, import_react43.useMemo)(
6124
6157
  () => getDynamicTagsByCategories(categories, filterByLicense2),
6125
6158
  // eslint-disable-next-line react-hooks/exhaustive-deps
6126
6159
  [categoriesKey, filterByLicense2]
@@ -6154,33 +6187,33 @@ var getDynamicTagsByCategories = (categories, filterByLicense2) => {
6154
6187
  // src/dynamics/hooks/use-dynamic-tag.ts
6155
6188
  var useDynamicTag = (tagName) => {
6156
6189
  const dynamicTags = useAllPropDynamicTags();
6157
- return (0, import_react43.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
6190
+ return (0, import_react44.useMemo)(() => dynamicTags.find((tag) => tag.name === tagName) ?? null, [dynamicTags, tagName]);
6158
6191
  };
6159
6192
 
6160
6193
  // src/dynamics/components/background-control-dynamic-tag.tsx
6161
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React92.createElement(import_icons28.DatabaseIcon, { fontSize: "tiny" });
6194
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React93.createElement(import_icons29.DatabaseIcon, { fontSize: "tiny" });
6162
6195
  var BackgroundControlDynamicTagLabel = ({ value }) => {
6163
- const context = (0, import_editor_controls61.useBoundProp)(import_editor_props19.backgroundImageOverlayPropTypeUtil);
6164
- return /* @__PURE__ */ React92.createElement(import_editor_controls61.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React92.createElement(import_editor_controls61.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React92.createElement(Wrapper2, { rawValue: value.value })));
6196
+ const context = (0, import_editor_controls62.useBoundProp)(import_editor_props19.backgroundImageOverlayPropTypeUtil);
6197
+ return /* @__PURE__ */ React93.createElement(import_editor_controls62.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React93.createElement(import_editor_controls62.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React93.createElement(Wrapper2, { rawValue: value.value })));
6165
6198
  };
6166
6199
  var Wrapper2 = ({ rawValue }) => {
6167
- const { propType } = (0, import_editor_controls61.useBoundProp)();
6200
+ const { propType } = (0, import_editor_controls62.useBoundProp)();
6168
6201
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
6169
- return /* @__PURE__ */ React92.createElement(import_editor_controls61.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React92.createElement(import_editor_controls61.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React92.createElement(Content, { rawValue: rawValue.image })));
6202
+ return /* @__PURE__ */ React93.createElement(import_editor_controls62.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React93.createElement(import_editor_controls62.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React93.createElement(Content, { rawValue: rawValue.image })));
6170
6203
  };
6171
6204
  var Content = ({ rawValue }) => {
6172
6205
  const src = rawValue.value.src;
6173
6206
  const dynamicTag = useDynamicTag(src.value.name || "");
6174
- return /* @__PURE__ */ React92.createElement(React92.Fragment, null, dynamicTag?.label);
6207
+ return /* @__PURE__ */ React93.createElement(React93.Fragment, null, dynamicTag?.label);
6175
6208
  };
6176
6209
 
6177
6210
  // src/dynamics/components/dynamic-selection-control.tsx
6178
- var React96 = __toESM(require("react"));
6179
- var import_editor_controls64 = require("@elementor/editor-controls");
6211
+ var React97 = __toESM(require("react"));
6212
+ var import_editor_controls65 = require("@elementor/editor-controls");
6180
6213
  var import_editor_ui10 = require("@elementor/editor-ui");
6181
- var import_icons30 = require("@elementor/icons");
6182
- var import_ui46 = require("@elementor/ui");
6183
- var import_i18n68 = require("@wordpress/i18n");
6214
+ var import_icons31 = require("@elementor/icons");
6215
+ var import_ui47 = require("@elementor/ui");
6216
+ var import_i18n69 = require("@wordpress/i18n");
6184
6217
 
6185
6218
  // src/hooks/use-persist-dynamic-value.ts
6186
6219
  var import_session10 = require("@elementor/session");
@@ -6191,12 +6224,12 @@ var usePersistDynamicValue = (propKey) => {
6191
6224
  };
6192
6225
 
6193
6226
  // src/dynamics/dynamic-control.tsx
6194
- var React94 = __toESM(require("react"));
6195
- var import_editor_controls62 = require("@elementor/editor-controls");
6227
+ var React95 = __toESM(require("react"));
6228
+ var import_editor_controls63 = require("@elementor/editor-controls");
6196
6229
 
6197
6230
  // src/dynamics/components/dynamic-conditional-control.tsx
6198
- var React93 = __toESM(require("react"));
6199
- var import_react44 = require("react");
6231
+ var React94 = __toESM(require("react"));
6232
+ var import_react45 = require("react");
6200
6233
  var import_editor_props20 = require("@elementor/editor-props");
6201
6234
  var DynamicConditionalControl = ({
6202
6235
  children,
@@ -6204,7 +6237,7 @@ var DynamicConditionalControl = ({
6204
6237
  propsSchema,
6205
6238
  dynamicSettings
6206
6239
  }) => {
6207
- const defaults = (0, import_react44.useMemo)(() => {
6240
+ const defaults = (0, import_react45.useMemo)(() => {
6208
6241
  if (!propsSchema) {
6209
6242
  return {};
6210
6243
  }
@@ -6214,7 +6247,7 @@ var DynamicConditionalControl = ({
6214
6247
  return result;
6215
6248
  }, {});
6216
6249
  }, [propsSchema]);
6217
- const convertedSettings = (0, import_react44.useMemo)(() => {
6250
+ const convertedSettings = (0, import_react45.useMemo)(() => {
6218
6251
  if (!dynamicSettings) {
6219
6252
  return {};
6220
6253
  }
@@ -6233,19 +6266,19 @@ var DynamicConditionalControl = ({
6233
6266
  {}
6234
6267
  );
6235
6268
  }, [dynamicSettings]);
6236
- const effectiveSettings = (0, import_react44.useMemo)(() => {
6269
+ const effectiveSettings = (0, import_react45.useMemo)(() => {
6237
6270
  return { ...defaults, ...convertedSettings };
6238
6271
  }, [defaults, convertedSettings]);
6239
6272
  if (!propType?.dependencies?.terms.length) {
6240
- return /* @__PURE__ */ React93.createElement(React93.Fragment, null, children);
6273
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, children);
6241
6274
  }
6242
6275
  const isHidden = !(0, import_editor_props20.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
6243
- return isHidden ? null : /* @__PURE__ */ React93.createElement(React93.Fragment, null, children);
6276
+ return isHidden ? null : /* @__PURE__ */ React94.createElement(React94.Fragment, null, children);
6244
6277
  };
6245
6278
 
6246
6279
  // src/dynamics/dynamic-control.tsx
6247
6280
  var DynamicControl = ({ bind, children }) => {
6248
- const { value, setValue } = (0, import_editor_controls62.useBoundProp)(dynamicPropTypeUtil);
6281
+ const { value, setValue } = (0, import_editor_controls63.useBoundProp)(dynamicPropTypeUtil);
6249
6282
  const { name = "", group = "", settings } = value ?? {};
6250
6283
  const dynamicTag = useDynamicTag(name);
6251
6284
  if (!dynamicTag) {
@@ -6265,7 +6298,7 @@ var DynamicControl = ({ bind, children }) => {
6265
6298
  });
6266
6299
  };
6267
6300
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
6268
- return /* @__PURE__ */ React94.createElement(import_editor_controls62.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React94.createElement(import_editor_controls62.PropKeyProvider, { bind }, /* @__PURE__ */ React94.createElement(
6301
+ return /* @__PURE__ */ React95.createElement(import_editor_controls63.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React95.createElement(import_editor_controls63.PropKeyProvider, { bind }, /* @__PURE__ */ React95.createElement(
6269
6302
  DynamicConditionalControl,
6270
6303
  {
6271
6304
  propType: dynamicPropType,
@@ -6277,32 +6310,32 @@ var DynamicControl = ({ bind, children }) => {
6277
6310
  };
6278
6311
 
6279
6312
  // src/dynamics/components/dynamic-selection.tsx
6280
- var React95 = __toESM(require("react"));
6281
- var import_react45 = require("react");
6282
- var import_editor_controls63 = require("@elementor/editor-controls");
6313
+ var React96 = __toESM(require("react"));
6314
+ var import_react46 = require("react");
6315
+ var import_editor_controls64 = require("@elementor/editor-controls");
6283
6316
  var import_editor_ui9 = require("@elementor/editor-ui");
6284
- var import_icons29 = require("@elementor/icons");
6285
- var import_ui45 = require("@elementor/ui");
6286
- var import_i18n67 = require("@wordpress/i18n");
6317
+ var import_icons30 = require("@elementor/icons");
6318
+ var import_ui46 = require("@elementor/ui");
6319
+ var import_i18n68 = require("@wordpress/i18n");
6287
6320
  var SIZE2 = "tiny";
6288
6321
  var PROMO_TEXT_WIDTH = 170;
6289
6322
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
6290
6323
  var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew-modal/";
6291
6324
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
6292
- const [searchValue, setSearchValue] = (0, import_react45.useState)("");
6325
+ const [searchValue, setSearchValue] = (0, import_react46.useState)("");
6293
6326
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
6294
- const theme = (0, import_ui45.useTheme)();
6295
- const { value: anyValue } = (0, import_editor_controls63.useBoundProp)();
6296
- const { bind, value: dynamicValue, setValue } = (0, import_editor_controls63.useBoundProp)(dynamicPropTypeUtil);
6327
+ const theme = (0, import_ui46.useTheme)();
6328
+ const { value: anyValue } = (0, import_editor_controls64.useBoundProp)();
6329
+ const { bind, value: dynamicValue, setValue } = (0, import_editor_controls64.useBoundProp)(dynamicPropTypeUtil);
6297
6330
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
6298
6331
  const isCurrentValueDynamic = !!dynamicValue;
6299
6332
  const options13 = useFilteredOptions(searchValue);
6300
6333
  const hasNoDynamicTags = !options13.length && !searchValue.trim();
6301
- (0, import_react45.useEffect)(() => {
6334
+ (0, import_react46.useEffect)(() => {
6302
6335
  if (hasNoDynamicTags) {
6303
- (0, import_editor_controls63.trackViewPromotion)({ target_name: "dynamic_tags" });
6336
+ (0, import_editor_controls64.trackViewPromotion)({ target_name: "dynamic_tags" });
6304
6337
  } else if (expired) {
6305
- (0, import_editor_controls63.trackViewPromotion)({ target_name: "dynamic_tags" });
6338
+ (0, import_editor_controls64.trackViewPromotion)({ target_name: "dynamic_tags" });
6306
6339
  }
6307
6340
  }, [hasNoDynamicTags, expired]);
6308
6341
  const handleSearch = (value) => {
@@ -6330,19 +6363,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6330
6363
  ]);
6331
6364
  const getPopOverContent = () => {
6332
6365
  if (hasNoDynamicTags) {
6333
- return /* @__PURE__ */ React95.createElement(NoDynamicTags, null);
6366
+ return /* @__PURE__ */ React96.createElement(NoDynamicTags, null);
6334
6367
  }
6335
6368
  if (expired) {
6336
- return /* @__PURE__ */ React95.createElement(ExpiredDynamicTags, null);
6369
+ return /* @__PURE__ */ React96.createElement(ExpiredDynamicTags, null);
6337
6370
  }
6338
- return /* @__PURE__ */ React95.createElement(import_react45.Fragment, null, /* @__PURE__ */ React95.createElement(
6371
+ return /* @__PURE__ */ React96.createElement(import_react46.Fragment, null, /* @__PURE__ */ React96.createElement(
6339
6372
  import_editor_ui9.SearchField,
6340
6373
  {
6341
6374
  value: searchValue,
6342
6375
  onSearch: handleSearch,
6343
- placeholder: (0, import_i18n67.__)("Search dynamic tags\u2026", "elementor")
6376
+ placeholder: (0, import_i18n68.__)("Search dynamic tags\u2026", "elementor")
6344
6377
  }
6345
- ), /* @__PURE__ */ React95.createElement(import_ui45.Divider, null), /* @__PURE__ */ React95.createElement(
6378
+ ), /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(
6346
6379
  import_editor_ui9.PopoverMenuList,
6347
6380
  {
6348
6381
  items: virtualizedItems,
@@ -6350,21 +6383,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6350
6383
  onClose: closePopover,
6351
6384
  selectedValue: dynamicValue?.name,
6352
6385
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
6353
- noResultsComponent: /* @__PURE__ */ React95.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
6386
+ noResultsComponent: /* @__PURE__ */ React96.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
6354
6387
  }
6355
6388
  ));
6356
6389
  };
6357
- return /* @__PURE__ */ React95.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n67.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React95.createElement(
6390
+ return /* @__PURE__ */ React96.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n68.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React96.createElement(
6358
6391
  import_editor_ui9.PopoverHeader,
6359
6392
  {
6360
- title: (0, import_i18n67.__)("Dynamic tags", "elementor"),
6393
+ title: (0, import_i18n68.__)("Dynamic tags", "elementor"),
6361
6394
  onClose: closePopover,
6362
- icon: /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: SIZE2 })
6395
+ icon: /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: SIZE2 })
6363
6396
  }
6364
6397
  ), getPopOverContent());
6365
6398
  };
6366
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React95.createElement(
6367
- import_ui45.Stack,
6399
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React96.createElement(
6400
+ import_ui46.Stack,
6368
6401
  {
6369
6402
  gap: 1,
6370
6403
  alignItems: "center",
@@ -6374,12 +6407,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React95.createElem
6374
6407
  color: "text.secondary",
6375
6408
  sx: { pb: 3.5 }
6376
6409
  },
6377
- /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: "large" }),
6378
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n67.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React95.createElement("br", null), "\u201C", searchValue, "\u201D."),
6379
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n67.__)("Try something else.", "elementor"), /* @__PURE__ */ React95.createElement(import_ui45.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n67.__)("Clear & try again", "elementor")))
6410
+ /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: "large" }),
6411
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n68.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React96.createElement("br", null), "\u201C", searchValue, "\u201D."),
6412
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n68.__)("Try something else.", "elementor"), /* @__PURE__ */ React96.createElement(import_ui46.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n68.__)("Clear & try again", "elementor")))
6380
6413
  );
6381
- var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(import_ui45.Divider, null), /* @__PURE__ */ React95.createElement(
6382
- import_ui45.Stack,
6414
+ var NoDynamicTags = () => /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(
6415
+ import_ui46.Stack,
6383
6416
  {
6384
6417
  gap: 1,
6385
6418
  alignItems: "center",
@@ -6389,20 +6422,20 @@ var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment
6389
6422
  color: "text.secondary",
6390
6423
  sx: { pb: 3.5 }
6391
6424
  },
6392
- /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: "large" }),
6393
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n67.__)("Streamline your workflow with dynamic tags", "elementor")),
6394
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n67.__)("Upgrade now to display your content dynamically.", "elementor")),
6395
- /* @__PURE__ */ React95.createElement(
6425
+ /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: "large" }),
6426
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n68.__)("Streamline your workflow with dynamic tags", "elementor")),
6427
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n68.__)("Upgrade now to display your content dynamically.", "elementor")),
6428
+ /* @__PURE__ */ React96.createElement(
6396
6429
  import_editor_ui9.CtaButton,
6397
6430
  {
6398
6431
  size: "small",
6399
6432
  href: PRO_DYNAMIC_TAGS_URL,
6400
- onClick: () => (0, import_editor_controls63.trackUpgradePromotionClick)({ target_name: "dynamic_tags" })
6433
+ onClick: () => (0, import_editor_controls64.trackUpgradePromotionClick)({ target_name: "dynamic_tags" })
6401
6434
  }
6402
6435
  )
6403
6436
  ));
6404
- var ExpiredDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(import_ui45.Divider, null), /* @__PURE__ */ React95.createElement(
6405
- import_ui45.Stack,
6437
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(
6438
+ import_ui46.Stack,
6406
6439
  {
6407
6440
  gap: 1,
6408
6441
  alignItems: "center",
@@ -6412,16 +6445,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fra
6412
6445
  color: "text.secondary",
6413
6446
  sx: { pb: 3.5 }
6414
6447
  },
6415
- /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: "large" }),
6416
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n67.__)("Unlock your Dynamic tags again", "elementor")),
6417
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n67.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6418
- /* @__PURE__ */ React95.createElement(
6448
+ /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: "large" }),
6449
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n68.__)("Unlock your Dynamic tags again", "elementor")),
6450
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n68.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6451
+ /* @__PURE__ */ React96.createElement(
6419
6452
  import_editor_ui9.CtaButton,
6420
6453
  {
6421
6454
  size: "small",
6422
6455
  href: RENEW_DYNAMIC_TAGS_URL,
6423
- onClick: () => (0, import_editor_controls63.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
6424
- children: (0, import_i18n67.__)("Renew Now", "elementor")
6456
+ onClick: () => (0, import_editor_controls64.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
6457
+ children: (0, import_i18n68.__)("Renew Now", "elementor")
6425
6458
  }
6426
6459
  )
6427
6460
  ));
@@ -6445,8 +6478,8 @@ var useFilteredOptions = (searchValue) => {
6445
6478
  var SIZE3 = "tiny";
6446
6479
  var tagsWithoutTabs = ["popup"];
6447
6480
  var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6448
- const { setValue: setAnyValue, propType } = (0, import_editor_controls64.useBoundProp)();
6449
- const { bind, value } = (0, import_editor_controls64.useBoundProp)(dynamicPropTypeUtil);
6481
+ const { setValue: setAnyValue, propType } = (0, import_editor_controls65.useBoundProp)();
6482
+ const { bind, value } = (0, import_editor_controls65.useBoundProp)(dynamicPropTypeUtil);
6450
6483
  const { expired: readonly } = useLicenseConfig();
6451
6484
  const originalPropType = createTopLevelObjectType({
6452
6485
  schema: {
@@ -6454,11 +6487,11 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6454
6487
  }
6455
6488
  });
6456
6489
  const [propValueFromHistory] = usePersistDynamicValue(bind);
6457
- const selectionPopoverState = (0, import_ui46.usePopupState)({ variant: "popover" });
6490
+ const selectionPopoverState = (0, import_ui47.usePopupState)({ variant: "popover" });
6458
6491
  const { name: tagName = "" } = value;
6459
6492
  const dynamicTag = useDynamicTag(tagName);
6460
6493
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
6461
- return /* @__PURE__ */ React96.createElement(import_editor_controls64.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React96.createElement(import_editor_controls64.PropKeyProvider, { bind }, /* @__PURE__ */ React96.createElement(OriginalControl, { ...props })));
6494
+ return /* @__PURE__ */ React97.createElement(import_editor_controls65.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React97.createElement(import_editor_controls65.PropKeyProvider, { bind }, /* @__PURE__ */ React97.createElement(OriginalControl, { ...props })));
6462
6495
  }
6463
6496
  const removeDynamicTag = () => {
6464
6497
  setAnyValue(propValueFromHistory ?? null);
@@ -6466,26 +6499,26 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6466
6499
  if (!dynamicTag) {
6467
6500
  throw new Error(`Dynamic tag ${tagName} not found`);
6468
6501
  }
6469
- return /* @__PURE__ */ React96.createElement(import_ui46.Box, null, /* @__PURE__ */ React96.createElement(
6470
- import_ui46.UnstableTag,
6502
+ return /* @__PURE__ */ React97.createElement(import_ui47.Box, null, /* @__PURE__ */ React97.createElement(
6503
+ import_ui47.UnstableTag,
6471
6504
  {
6472
6505
  fullWidth: true,
6473
6506
  showActionsOnHover: true,
6474
6507
  label: dynamicTag.label,
6475
- startIcon: /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: SIZE3 }),
6476
- ...(0, import_ui46.bindTrigger)(selectionPopoverState),
6477
- actions: /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React96.createElement(
6478
- import_ui46.IconButton,
6508
+ startIcon: /* @__PURE__ */ React97.createElement(import_icons31.DatabaseIcon, { fontSize: SIZE3 }),
6509
+ ...(0, import_ui47.bindTrigger)(selectionPopoverState),
6510
+ actions: /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React97.createElement(
6511
+ import_ui47.IconButton,
6479
6512
  {
6480
6513
  size: SIZE3,
6481
6514
  onClick: removeDynamicTag,
6482
- "aria-label": (0, import_i18n68.__)("Remove dynamic value", "elementor")
6515
+ "aria-label": (0, import_i18n69.__)("Remove dynamic value", "elementor")
6483
6516
  },
6484
- /* @__PURE__ */ React96.createElement(import_icons30.XIcon, { fontSize: SIZE3 })
6517
+ /* @__PURE__ */ React97.createElement(import_icons31.XIcon, { fontSize: SIZE3 })
6485
6518
  ))
6486
6519
  }
6487
- ), /* @__PURE__ */ React96.createElement(
6488
- import_ui46.Popover,
6520
+ ), /* @__PURE__ */ React97.createElement(
6521
+ import_ui47.Popover,
6489
6522
  {
6490
6523
  disablePortal: true,
6491
6524
  disableScrollLock: true,
@@ -6494,31 +6527,31 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6494
6527
  PaperProps: {
6495
6528
  sx: { my: 1 }
6496
6529
  },
6497
- ...(0, import_ui46.bindPopover)(selectionPopoverState)
6530
+ ...(0, import_ui47.bindPopover)(selectionPopoverState)
6498
6531
  },
6499
- /* @__PURE__ */ React96.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n68.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React96.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6532
+ /* @__PURE__ */ React97.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n69.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React97.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6500
6533
  ));
6501
6534
  };
6502
6535
  var DynamicSettingsPopover = ({
6503
6536
  dynamicTag,
6504
6537
  disabled = false
6505
6538
  }) => {
6506
- const popupState = (0, import_ui46.usePopupState)({ variant: "popover" });
6539
+ const popupState = (0, import_ui47.usePopupState)({ variant: "popover" });
6507
6540
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
6508
6541
  if (!hasDynamicSettings) {
6509
6542
  return null;
6510
6543
  }
6511
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(
6512
- import_ui46.IconButton,
6544
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(
6545
+ import_ui47.IconButton,
6513
6546
  {
6514
6547
  size: SIZE3,
6515
6548
  disabled,
6516
- ...!disabled && (0, import_ui46.bindTrigger)(popupState),
6517
- "aria-label": (0, import_i18n68.__)("Dynamic settings", "elementor")
6549
+ ...!disabled && (0, import_ui47.bindTrigger)(popupState),
6550
+ "aria-label": (0, import_i18n69.__)("Dynamic settings", "elementor")
6518
6551
  },
6519
- /* @__PURE__ */ React96.createElement(import_icons30.SettingsIcon, { fontSize: SIZE3 })
6520
- ), /* @__PURE__ */ React96.createElement(
6521
- import_ui46.Popover,
6552
+ /* @__PURE__ */ React97.createElement(import_icons31.SettingsIcon, { fontSize: SIZE3 })
6553
+ ), /* @__PURE__ */ React97.createElement(
6554
+ import_ui47.Popover,
6522
6555
  {
6523
6556
  disablePortal: true,
6524
6557
  disableScrollLock: true,
@@ -6527,45 +6560,45 @@ var DynamicSettingsPopover = ({
6527
6560
  PaperProps: {
6528
6561
  sx: { my: 1 }
6529
6562
  },
6530
- ...(0, import_ui46.bindPopover)(popupState)
6563
+ ...(0, import_ui47.bindPopover)(popupState)
6531
6564
  },
6532
- /* @__PURE__ */ React96.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n68.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React96.createElement(
6565
+ /* @__PURE__ */ React97.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n69.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React97.createElement(
6533
6566
  import_editor_ui10.PopoverHeader,
6534
6567
  {
6535
6568
  title: dynamicTag.label,
6536
6569
  onClose: popupState.close,
6537
- icon: /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: SIZE3 })
6570
+ icon: /* @__PURE__ */ React97.createElement(import_icons31.DatabaseIcon, { fontSize: SIZE3 })
6538
6571
  }
6539
- ), /* @__PURE__ */ React96.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6572
+ ), /* @__PURE__ */ React97.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6540
6573
  ));
6541
6574
  };
6542
6575
  var DynamicSettings = ({ controls, tagName }) => {
6543
6576
  const tabs = controls.filter(({ type }) => type === "section");
6544
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui46.useTabs)(0);
6577
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui47.useTabs)(0);
6545
6578
  if (!tabs.length) {
6546
6579
  return null;
6547
6580
  }
6548
6581
  if (tagsWithoutTabs.includes(tagName)) {
6549
6582
  const singleTab = tabs[0];
6550
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6583
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(import_ui47.Divider, null), /* @__PURE__ */ React97.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6551
6584
  }
6552
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React96.createElement(import_ui46.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React96.createElement(
6553
- import_ui46.Tab,
6585
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React97.createElement(import_ui47.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React97.createElement(
6586
+ import_ui47.Tab,
6554
6587
  {
6555
6588
  key: index,
6556
6589
  label: value.label,
6557
6590
  sx: { px: 1, py: 0.5 },
6558
6591
  ...getTabProps(index)
6559
6592
  }
6560
- ))), /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), tabs.map(({ value }, index) => {
6561
- return /* @__PURE__ */ React96.createElement(
6562
- import_ui46.TabPanel,
6593
+ ))), /* @__PURE__ */ React97.createElement(import_ui47.Divider, null), tabs.map(({ value }, index) => {
6594
+ return /* @__PURE__ */ React97.createElement(
6595
+ import_ui47.TabPanel,
6563
6596
  {
6564
6597
  key: index,
6565
6598
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
6566
6599
  ...getTabPanelProps(index)
6567
6600
  },
6568
- /* @__PURE__ */ React96.createElement(ControlsItemsStack, { items: value.items })
6601
+ /* @__PURE__ */ React97.createElement(ControlsItemsStack, { items: value.items })
6569
6602
  );
6570
6603
  }));
6571
6604
  };
@@ -6607,11 +6640,11 @@ var Control2 = ({ control }) => {
6607
6640
  display: "grid",
6608
6641
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
6609
6642
  } : {};
6610
- return /* @__PURE__ */ React96.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React96.createElement(import_ui46.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React96.createElement(import_ui46.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React96.createElement(import_editor_controls64.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React96.createElement(import_ui46.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React96.createElement(Control, { type: control.type, props: controlProps }))));
6643
+ return /* @__PURE__ */ React97.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React97.createElement(import_ui47.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React97.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React97.createElement(import_editor_controls65.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React97.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React97.createElement(Control, { type: control.type, props: controlProps }))));
6611
6644
  };
6612
6645
  function ControlsItemsStack({ items: items3 }) {
6613
- return /* @__PURE__ */ React96.createElement(import_ui46.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6614
- (item) => item.type === "control" ? /* @__PURE__ */ React96.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6646
+ return /* @__PURE__ */ React97.createElement(import_ui47.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6647
+ (item) => item.type === "control" ? /* @__PURE__ */ React97.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6615
6648
  ));
6616
6649
  }
6617
6650
 
@@ -6667,34 +6700,34 @@ function getDynamicValue(name, settings) {
6667
6700
  }
6668
6701
 
6669
6702
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
6670
- var React97 = __toESM(require("react"));
6671
- var import_editor_controls65 = require("@elementor/editor-controls");
6672
- var import_icons31 = require("@elementor/icons");
6673
- var import_i18n69 = require("@wordpress/i18n");
6703
+ var React98 = __toESM(require("react"));
6704
+ var import_editor_controls66 = require("@elementor/editor-controls");
6705
+ var import_icons32 = require("@elementor/icons");
6706
+ var import_i18n70 = require("@wordpress/i18n");
6674
6707
  var usePropDynamicAction = () => {
6675
- const { propType } = (0, import_editor_controls65.useBoundProp)();
6708
+ const { propType } = (0, import_editor_controls66.useBoundProp)();
6676
6709
  const visible = !!propType && supportsDynamic(propType);
6677
6710
  return {
6678
6711
  visible,
6679
- icon: import_icons31.DatabaseIcon,
6680
- title: (0, import_i18n69.__)("Dynamic tags", "elementor"),
6681
- content: ({ close }) => /* @__PURE__ */ React97.createElement(DynamicSelection, { close })
6712
+ icon: import_icons32.DatabaseIcon,
6713
+ title: (0, import_i18n70.__)("Dynamic tags", "elementor"),
6714
+ content: ({ close }) => /* @__PURE__ */ React98.createElement(DynamicSelection, { close })
6682
6715
  };
6683
6716
  };
6684
6717
 
6685
6718
  // src/dynamics/init.ts
6686
6719
  var { registerPopoverAction } = import_menus2.controlActionsMenu;
6687
6720
  var init2 = () => {
6688
- (0, import_editor_controls66.registerControlReplacement)({
6721
+ (0, import_editor_controls67.registerControlReplacement)({
6689
6722
  component: DynamicSelectionControl,
6690
6723
  condition: ({ value }) => isDynamicPropValue(value)
6691
6724
  });
6692
- (0, import_editor_controls66.injectIntoRepeaterItemLabel)({
6725
+ (0, import_editor_controls67.injectIntoRepeaterItemLabel)({
6693
6726
  id: "dynamic-background-image",
6694
6727
  condition: ({ value }) => isDynamicPropValue(value.value?.image?.value?.src),
6695
6728
  component: BackgroundControlDynamicTagLabel
6696
6729
  });
6697
- (0, import_editor_controls66.injectIntoRepeaterItemIcon)({
6730
+ (0, import_editor_controls67.injectIntoRepeaterItemIcon)({
6698
6731
  id: "dynamic-background-image",
6699
6732
  condition: ({ value }) => isDynamicPropValue(value.value?.image?.value?.src),
6700
6733
  component: BackgroundControlDynamicTagIcon
@@ -6709,11 +6742,11 @@ var init2 = () => {
6709
6742
  };
6710
6743
 
6711
6744
  // src/reset-style-props.tsx
6712
- var import_editor_controls67 = require("@elementor/editor-controls");
6745
+ var import_editor_controls68 = require("@elementor/editor-controls");
6713
6746
  var import_editor_variables2 = require("@elementor/editor-variables");
6714
- var import_icons32 = require("@elementor/icons");
6747
+ var import_icons33 = require("@elementor/icons");
6715
6748
  var import_menus3 = require("@elementor/menus");
6716
- var import_i18n70 = require("@wordpress/i18n");
6749
+ var import_i18n71 = require("@wordpress/i18n");
6717
6750
 
6718
6751
  // src/utils/is-equal.ts
6719
6752
  function isEqual(a, b) {
@@ -6769,7 +6802,7 @@ function initResetStyleProps() {
6769
6802
  }
6770
6803
  function useResetStyleValueProps() {
6771
6804
  const isStyle = useIsStyle();
6772
- const { value, resetValue, propType } = (0, import_editor_controls67.useBoundProp)();
6805
+ const { value, resetValue, propType } = (0, import_editor_controls68.useBoundProp)();
6773
6806
  const hasValue = value !== null && value !== void 0;
6774
6807
  const hasInitial = propType.initial_value !== void 0 && propType.initial_value !== null;
6775
6808
  const isRequired = !!propType.settings?.required;
@@ -6789,44 +6822,44 @@ function useResetStyleValueProps() {
6789
6822
  const visible = calculateVisibility();
6790
6823
  return {
6791
6824
  visible,
6792
- title: (0, import_i18n70.__)("Clear", "elementor"),
6793
- icon: import_icons32.BrushBigIcon,
6825
+ title: (0, import_i18n71.__)("Clear", "elementor"),
6826
+ icon: import_icons33.BrushBigIcon,
6794
6827
  onClick: () => resetValue()
6795
6828
  };
6796
6829
  }
6797
6830
 
6798
6831
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6799
- var React103 = __toESM(require("react"));
6800
- var import_editor_controls68 = require("@elementor/editor-controls");
6832
+ var React104 = __toESM(require("react"));
6833
+ var import_editor_controls69 = require("@elementor/editor-controls");
6801
6834
  var import_editor_props22 = require("@elementor/editor-props");
6802
6835
  var import_editor_styles_repository20 = require("@elementor/editor-styles-repository");
6803
- var import_i18n74 = require("@wordpress/i18n");
6836
+ var import_i18n75 = require("@wordpress/i18n");
6804
6837
 
6805
6838
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6806
- var React102 = __toESM(require("react"));
6807
- var import_react47 = require("react");
6839
+ var React103 = __toESM(require("react"));
6840
+ var import_react48 = require("react");
6808
6841
  var import_editor_canvas5 = require("@elementor/editor-canvas");
6809
6842
  var import_editor_ui11 = require("@elementor/editor-ui");
6810
- var import_ui51 = require("@elementor/ui");
6811
- var import_i18n73 = require("@wordpress/i18n");
6843
+ var import_ui52 = require("@elementor/ui");
6844
+ var import_i18n74 = require("@wordpress/i18n");
6812
6845
 
6813
6846
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6814
- var import_react46 = require("react");
6847
+ var import_react47 = require("react");
6815
6848
  var import_editor_canvas4 = require("@elementor/editor-canvas");
6816
6849
  var import_editor_styles8 = require("@elementor/editor-styles");
6817
6850
  var import_editor_styles_repository18 = require("@elementor/editor-styles-repository");
6818
- var import_i18n71 = require("@wordpress/i18n");
6851
+ var import_i18n72 = require("@wordpress/i18n");
6819
6852
  var MAXIMUM_ITEMS = 2;
6820
6853
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6821
- const [items3, setItems] = (0, import_react46.useState)([]);
6822
- (0, import_react46.useEffect)(() => {
6854
+ const [items3, setItems] = (0, import_react47.useState)([]);
6855
+ (0, import_react47.useEffect)(() => {
6823
6856
  (async () => {
6824
6857
  const normalizedItems = await Promise.all(
6825
6858
  inheritanceChain.filter(({ style }) => style).map((item, index) => normalizeInheritanceItem(item, index, bind, resolve))
6826
6859
  );
6827
6860
  const validItems = normalizedItems.map((item) => ({
6828
6861
  ...item,
6829
- displayLabel: import_editor_styles_repository18.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n71.__)("Base", "elementor")
6862
+ displayLabel: import_editor_styles_repository18.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n72.__)("Base", "elementor")
6830
6863
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6831
6864
  setItems(validItems);
6832
6865
  })();
@@ -6870,7 +6903,7 @@ var getTransformedValue = async (item, bind, resolve) => {
6870
6903
  }
6871
6904
  });
6872
6905
  const value = result?.[bind] ?? result;
6873
- if ((0, import_react46.isValidElement)(value)) {
6906
+ if ((0, import_react47.isValidElement)(value)) {
6874
6907
  return value;
6875
6908
  }
6876
6909
  if (typeof value === "object") {
@@ -6883,20 +6916,20 @@ var getTransformedValue = async (item, bind, resolve) => {
6883
6916
  };
6884
6917
 
6885
6918
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6886
- var React98 = __toESM(require("react"));
6919
+ var React99 = __toESM(require("react"));
6887
6920
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6888
- var import_icons33 = require("@elementor/icons");
6889
- var import_ui47 = require("@elementor/ui");
6921
+ var import_icons34 = require("@elementor/icons");
6922
+ var import_ui48 = require("@elementor/ui");
6890
6923
  var SIZE4 = "tiny";
6891
6924
  var DEFAULT_BREAKPOINT3 = "desktop";
6892
6925
  var breakpointIconMap = {
6893
- widescreen: import_icons33.WidescreenIcon,
6894
- desktop: import_icons33.DesktopIcon,
6895
- laptop: import_icons33.LaptopIcon,
6896
- tablet_extra: import_icons33.TabletLandscapeIcon,
6897
- tablet: import_icons33.TabletPortraitIcon,
6898
- mobile_extra: import_icons33.MobileLandscapeIcon,
6899
- mobile: import_icons33.MobilePortraitIcon
6926
+ widescreen: import_icons34.WidescreenIcon,
6927
+ desktop: import_icons34.DesktopIcon,
6928
+ laptop: import_icons34.LaptopIcon,
6929
+ tablet_extra: import_icons34.TabletLandscapeIcon,
6930
+ tablet: import_icons34.TabletPortraitIcon,
6931
+ mobile_extra: import_icons34.MobileLandscapeIcon,
6932
+ mobile: import_icons34.MobilePortraitIcon
6900
6933
  };
6901
6934
  var BreakpointIcon = ({ breakpoint }) => {
6902
6935
  const breakpoints = (0, import_editor_responsive4.useBreakpoints)();
@@ -6906,21 +6939,21 @@ var BreakpointIcon = ({ breakpoint }) => {
6906
6939
  return null;
6907
6940
  }
6908
6941
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6909
- return /* @__PURE__ */ React98.createElement(import_ui47.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React98.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6942
+ return /* @__PURE__ */ React99.createElement(import_ui48.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React99.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6910
6943
  };
6911
6944
 
6912
6945
  // src/styles-inheritance/components/infotip/label-chip.tsx
6913
- var React99 = __toESM(require("react"));
6946
+ var React100 = __toESM(require("react"));
6914
6947
  var import_editor_styles_repository19 = require("@elementor/editor-styles-repository");
6915
- var import_icons34 = require("@elementor/icons");
6916
- var import_ui48 = require("@elementor/ui");
6917
- var import_i18n72 = require("@wordpress/i18n");
6948
+ var import_icons35 = require("@elementor/icons");
6949
+ var import_ui49 = require("@elementor/ui");
6950
+ var import_i18n73 = require("@wordpress/i18n");
6918
6951
  var SIZE5 = "tiny";
6919
6952
  var LabelChip = ({ displayLabel, provider }) => {
6920
6953
  const isBaseStyle = provider === import_editor_styles_repository19.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6921
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React99.createElement(import_ui48.Tooltip, { title: (0, import_i18n72.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React99.createElement(import_icons34.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6922
- return /* @__PURE__ */ React99.createElement(
6923
- import_ui48.Chip,
6954
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React100.createElement(import_ui49.Tooltip, { title: (0, import_i18n73.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React100.createElement(import_icons35.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6955
+ return /* @__PURE__ */ React100.createElement(
6956
+ import_ui49.Chip,
6924
6957
  {
6925
6958
  label: displayLabel,
6926
6959
  size: SIZE5,
@@ -6945,11 +6978,11 @@ var LabelChip = ({ displayLabel, provider }) => {
6945
6978
  };
6946
6979
 
6947
6980
  // src/styles-inheritance/components/infotip/value-component.tsx
6948
- var React100 = __toESM(require("react"));
6949
- var import_ui49 = require("@elementor/ui");
6981
+ var React101 = __toESM(require("react"));
6982
+ var import_ui50 = require("@elementor/ui");
6950
6983
  var ValueComponent = ({ index, value }) => {
6951
- return /* @__PURE__ */ React100.createElement(import_ui49.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React100.createElement(
6952
- import_ui49.Typography,
6984
+ return /* @__PURE__ */ React101.createElement(import_ui50.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React101.createElement(
6985
+ import_ui50.Typography,
6953
6986
  {
6954
6987
  variant: "caption",
6955
6988
  color: "text.tertiary",
@@ -6970,9 +7003,9 @@ var ValueComponent = ({ index, value }) => {
6970
7003
  };
6971
7004
 
6972
7005
  // src/styles-inheritance/components/infotip/action-icons.tsx
6973
- var React101 = __toESM(require("react"));
6974
- var import_ui50 = require("@elementor/ui");
6975
- var ActionIcons = () => /* @__PURE__ */ React101.createElement(import_ui50.Box, { display: "flex", gap: 0.5, alignItems: "center" });
7006
+ var React102 = __toESM(require("react"));
7007
+ var import_ui51 = require("@elementor/ui");
7008
+ var ActionIcons = () => /* @__PURE__ */ React102.createElement(import_ui51.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6976
7009
 
6977
7010
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6978
7011
  var SECTION_PADDING_INLINE = 32;
@@ -6985,8 +7018,8 @@ var StylesInheritanceInfotip = ({
6985
7018
  children,
6986
7019
  isDisabled
6987
7020
  }) => {
6988
- const [showInfotip, setShowInfotip] = (0, import_react47.useState)(false);
6989
- const triggerRef = (0, import_react47.useRef)(null);
7021
+ const [showInfotip, setShowInfotip] = (0, import_react48.useState)(false);
7022
+ const triggerRef = (0, import_react48.useRef)(null);
6990
7023
  const toggleInfotip = () => {
6991
7024
  if (isDisabled) {
6992
7025
  return;
@@ -7001,15 +7034,15 @@ var StylesInheritanceInfotip = ({
7001
7034
  };
7002
7035
  const key = path.join(".");
7003
7036
  const sectionWidth = (0, import_editor_ui11.useSectionWidth)();
7004
- const resolve = (0, import_react47.useMemo)(() => {
7037
+ const resolve = (0, import_react48.useMemo)(() => {
7005
7038
  return (0, import_editor_canvas5.createPropsResolver)({
7006
7039
  transformers: import_editor_canvas5.stylesInheritanceTransformersRegistry,
7007
7040
  schema: { [key]: propType }
7008
7041
  });
7009
7042
  }, [key, propType]);
7010
7043
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
7011
- const infotipContent = /* @__PURE__ */ React102.createElement(import_ui51.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React102.createElement(
7012
- import_ui51.Card,
7044
+ const infotipContent = /* @__PURE__ */ React103.createElement(import_ui52.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React103.createElement(
7045
+ import_ui52.Card,
7013
7046
  {
7014
7047
  elevation: 0,
7015
7048
  sx: {
@@ -7021,8 +7054,8 @@ var StylesInheritanceInfotip = ({
7021
7054
  flexDirection: "column"
7022
7055
  }
7023
7056
  },
7024
- /* @__PURE__ */ React102.createElement(
7025
- import_ui51.Box,
7057
+ /* @__PURE__ */ React103.createElement(
7058
+ import_ui52.Box,
7026
7059
  {
7027
7060
  sx: {
7028
7061
  position: "sticky",
@@ -7031,10 +7064,10 @@ var StylesInheritanceInfotip = ({
7031
7064
  backgroundColor: "background.paper"
7032
7065
  }
7033
7066
  },
7034
- /* @__PURE__ */ React102.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n73.__)("Style origin", "elementor"), onClose: closeInfotip })
7067
+ /* @__PURE__ */ React103.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n74.__)("Style origin", "elementor"), onClose: closeInfotip })
7035
7068
  ),
7036
- /* @__PURE__ */ React102.createElement(
7037
- import_ui51.CardContent,
7069
+ /* @__PURE__ */ React103.createElement(
7070
+ import_ui52.CardContent,
7038
7071
  {
7039
7072
  sx: {
7040
7073
  display: "flex",
@@ -7047,39 +7080,39 @@ var StylesInheritanceInfotip = ({
7047
7080
  }
7048
7081
  }
7049
7082
  },
7050
- /* @__PURE__ */ React102.createElement(import_ui51.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
7051
- return /* @__PURE__ */ React102.createElement(
7052
- import_ui51.Box,
7083
+ /* @__PURE__ */ React103.createElement(import_ui52.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
7084
+ return /* @__PURE__ */ React103.createElement(
7085
+ import_ui52.Box,
7053
7086
  {
7054
7087
  key: item.id,
7055
7088
  display: "flex",
7056
7089
  gap: 0.5,
7057
7090
  role: "listitem",
7058
- "aria-label": (0, import_i18n73.__)("Inheritance item: %s", "elementor").replace(
7091
+ "aria-label": (0, import_i18n74.__)("Inheritance item: %s", "elementor").replace(
7059
7092
  "%s",
7060
7093
  item.displayLabel
7061
7094
  )
7062
7095
  },
7063
- /* @__PURE__ */ React102.createElement(
7064
- import_ui51.Box,
7096
+ /* @__PURE__ */ React103.createElement(
7097
+ import_ui52.Box,
7065
7098
  {
7066
7099
  display: "flex",
7067
7100
  gap: 0.5,
7068
7101
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
7069
7102
  },
7070
- /* @__PURE__ */ React102.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
7071
- /* @__PURE__ */ React102.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
7072
- /* @__PURE__ */ React102.createElement(ValueComponent, { index, value: item.value })
7103
+ /* @__PURE__ */ React103.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
7104
+ /* @__PURE__ */ React103.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
7105
+ /* @__PURE__ */ React103.createElement(ValueComponent, { index, value: item.value })
7073
7106
  ),
7074
- /* @__PURE__ */ React102.createElement(ActionIcons, null)
7107
+ /* @__PURE__ */ React103.createElement(ActionIcons, null)
7075
7108
  );
7076
7109
  }))
7077
7110
  )
7078
7111
  ));
7079
7112
  if (isDisabled) {
7080
- return /* @__PURE__ */ React102.createElement(import_ui51.Box, { sx: { display: "inline-flex" } }, children);
7113
+ return /* @__PURE__ */ React103.createElement(import_ui52.Box, { sx: { display: "inline-flex" } }, children);
7081
7114
  }
7082
- return /* @__PURE__ */ React102.createElement(import_ui51.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React102.createElement(
7115
+ return /* @__PURE__ */ React103.createElement(import_ui52.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React103.createElement(
7083
7116
  TooltipOrInfotip,
7084
7117
  {
7085
7118
  showInfotip,
@@ -7087,8 +7120,8 @@ var StylesInheritanceInfotip = ({
7087
7120
  infotipContent,
7088
7121
  isDisabled
7089
7122
  },
7090
- /* @__PURE__ */ React102.createElement(
7091
- import_ui51.IconButton,
7123
+ /* @__PURE__ */ React103.createElement(
7124
+ import_ui52.IconButton,
7092
7125
  {
7093
7126
  onClick: toggleInfotip,
7094
7127
  "aria-label": label,
@@ -7107,11 +7140,11 @@ function TooltipOrInfotip({
7107
7140
  isDisabled
7108
7141
  }) {
7109
7142
  if (isDisabled) {
7110
- return /* @__PURE__ */ React102.createElement(import_ui51.Box, { sx: { display: "inline-flex" } }, children);
7143
+ return /* @__PURE__ */ React103.createElement(import_ui52.Box, { sx: { display: "inline-flex" } }, children);
7111
7144
  }
7112
7145
  if (showInfotip) {
7113
- return /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(
7114
- import_ui51.Backdrop,
7146
+ return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(
7147
+ import_ui52.Backdrop,
7115
7148
  {
7116
7149
  open: showInfotip,
7117
7150
  onClick: onClose,
@@ -7120,8 +7153,8 @@ function TooltipOrInfotip({
7120
7153
  zIndex: (theme) => theme.zIndex.modal - 1
7121
7154
  }
7122
7155
  }
7123
- ), /* @__PURE__ */ React102.createElement(
7124
- import_ui51.Infotip,
7156
+ ), /* @__PURE__ */ React103.createElement(
7157
+ import_ui52.Infotip,
7125
7158
  {
7126
7159
  placement: "top-end",
7127
7160
  content: infotipContent,
@@ -7132,20 +7165,20 @@ function TooltipOrInfotip({
7132
7165
  children
7133
7166
  ));
7134
7167
  }
7135
- return /* @__PURE__ */ React102.createElement(import_ui51.Tooltip, { title: (0, import_i18n73.__)("Style origin", "elementor"), placement: "top" }, children);
7168
+ return /* @__PURE__ */ React103.createElement(import_ui52.Tooltip, { title: (0, import_i18n74.__)("Style origin", "elementor"), placement: "top" }, children);
7136
7169
  }
7137
7170
 
7138
7171
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
7139
7172
  var StylesInheritanceIndicator = ({
7140
7173
  customContext
7141
7174
  }) => {
7142
- const context = (0, import_editor_controls68.useBoundProp)();
7175
+ const context = (0, import_editor_controls69.useBoundProp)();
7143
7176
  const { path, propType } = customContext || context;
7144
7177
  const inheritanceChain = useStylesInheritanceChain(path);
7145
7178
  if (!path || !inheritanceChain.length) {
7146
7179
  return null;
7147
7180
  }
7148
- return /* @__PURE__ */ React103.createElement(Indicator, { inheritanceChain, path, propType });
7181
+ return /* @__PURE__ */ React104.createElement(Indicator, { inheritanceChain, path, propType });
7149
7182
  };
7150
7183
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7151
7184
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -7161,7 +7194,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7161
7194
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
7162
7195
  isOverridden: hasValue && !isFinalValue ? true : void 0
7163
7196
  };
7164
- return /* @__PURE__ */ React103.createElement(
7197
+ return /* @__PURE__ */ React104.createElement(
7165
7198
  StylesInheritanceInfotip,
7166
7199
  {
7167
7200
  inheritanceChain,
@@ -7170,17 +7203,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7170
7203
  label,
7171
7204
  isDisabled
7172
7205
  },
7173
- /* @__PURE__ */ React103.createElement(StyleIndicator, { ...styleIndicatorProps })
7206
+ /* @__PURE__ */ React104.createElement(StyleIndicator, { ...styleIndicatorProps })
7174
7207
  );
7175
7208
  };
7176
7209
  var getLabel = ({ isFinalValue, hasValue }) => {
7177
7210
  if (isFinalValue) {
7178
- return (0, import_i18n74.__)("This is the final value", "elementor");
7211
+ return (0, import_i18n75.__)("This is the final value", "elementor");
7179
7212
  }
7180
7213
  if (hasValue) {
7181
- return (0, import_i18n74.__)("This value is overridden by another style", "elementor");
7214
+ return (0, import_i18n75.__)("This value is overridden by another style", "elementor");
7182
7215
  }
7183
- return (0, import_i18n74.__)("This has value from another style", "elementor");
7216
+ return (0, import_i18n75.__)("This has value from another style", "elementor");
7184
7217
  };
7185
7218
 
7186
7219
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -7201,7 +7234,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
7201
7234
  ]);
7202
7235
 
7203
7236
  // src/styles-inheritance/transformers/array-transformer.tsx
7204
- var React104 = __toESM(require("react"));
7237
+ var React105 = __toESM(require("react"));
7205
7238
  var import_editor_canvas6 = require("@elementor/editor-canvas");
7206
7239
  var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) => {
7207
7240
  if (!values || values.length === 0) {
@@ -7211,18 +7244,18 @@ var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) =>
7211
7244
  if (allStrings) {
7212
7245
  return values.join(" ");
7213
7246
  }
7214
- return /* @__PURE__ */ React104.createElement(React104.Fragment, null, values.map((item, index) => /* @__PURE__ */ React104.createElement(React104.Fragment, { key: index }, index > 0 && " ", item)));
7247
+ return /* @__PURE__ */ React105.createElement(React105.Fragment, null, values.map((item, index) => /* @__PURE__ */ React105.createElement(React105.Fragment, { key: index }, index > 0 && " ", item)));
7215
7248
  });
7216
7249
 
7217
7250
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
7218
- var React105 = __toESM(require("react"));
7251
+ var React106 = __toESM(require("react"));
7219
7252
  var import_editor_canvas7 = require("@elementor/editor-canvas");
7220
- var import_ui52 = require("@elementor/ui");
7221
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React105.createElement(import_ui52.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(ItemLabelColor, { value })));
7253
+ var import_ui53 = require("@elementor/ui");
7254
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React106.createElement(import_ui53.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React106.createElement(ItemLabelColor, { value })));
7222
7255
  var ItemLabelColor = ({ value: { color } }) => {
7223
- return /* @__PURE__ */ React105.createElement("span", null, color);
7256
+ return /* @__PURE__ */ React106.createElement("span", null, color);
7224
7257
  };
7225
- var StyledUnstableColorIndicator = (0, import_ui52.styled)(import_ui52.UnstableColorIndicator)(({ theme }) => ({
7258
+ var StyledUnstableColorIndicator = (0, import_ui53.styled)(import_ui53.UnstableColorIndicator)(({ theme }) => ({
7226
7259
  width: "1em",
7227
7260
  height: "1em",
7228
7261
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -7231,20 +7264,20 @@ var StyledUnstableColorIndicator = (0, import_ui52.styled)(import_ui52.UnstableC
7231
7264
  }));
7232
7265
 
7233
7266
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
7234
- var React106 = __toESM(require("react"));
7267
+ var React107 = __toESM(require("react"));
7235
7268
  var import_editor_canvas8 = require("@elementor/editor-canvas");
7236
- var import_ui53 = require("@elementor/ui");
7237
- var import_i18n75 = require("@wordpress/i18n");
7238
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React106.createElement(import_ui53.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React106.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React106.createElement(ItemLabelGradient, { value })));
7269
+ var import_ui54 = require("@elementor/ui");
7270
+ var import_i18n76 = require("@wordpress/i18n");
7271
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React107.createElement(import_ui54.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React107.createElement(ItemLabelGradient, { value })));
7239
7272
  var ItemIconGradient = ({ value }) => {
7240
7273
  const gradient = getGradientValue(value);
7241
- return /* @__PURE__ */ React106.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
7274
+ return /* @__PURE__ */ React107.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
7242
7275
  };
7243
7276
  var ItemLabelGradient = ({ value }) => {
7244
7277
  if (value.type === "linear") {
7245
- return /* @__PURE__ */ React106.createElement("span", null, (0, import_i18n75.__)("Linear gradient", "elementor"));
7278
+ return /* @__PURE__ */ React107.createElement("span", null, (0, import_i18n76.__)("Linear gradient", "elementor"));
7246
7279
  }
7247
- return /* @__PURE__ */ React106.createElement("span", null, (0, import_i18n75.__)("Radial gradient", "elementor"));
7280
+ return /* @__PURE__ */ React107.createElement("span", null, (0, import_i18n76.__)("Radial gradient", "elementor"));
7248
7281
  };
7249
7282
  var getGradientValue = (gradient) => {
7250
7283
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -7255,16 +7288,16 @@ var getGradientValue = (gradient) => {
7255
7288
  };
7256
7289
 
7257
7290
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
7258
- var React107 = __toESM(require("react"));
7291
+ var React108 = __toESM(require("react"));
7259
7292
  var import_editor_canvas9 = require("@elementor/editor-canvas");
7260
7293
  var import_editor_ui12 = require("@elementor/editor-ui");
7261
- var import_ui54 = require("@elementor/ui");
7294
+ var import_ui55 = require("@elementor/ui");
7262
7295
  var import_wp_media = require("@elementor/wp-media");
7263
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React107.createElement(import_ui54.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(ItemIconImage, { value }), /* @__PURE__ */ React107.createElement(ItemLabelImage, { value })));
7296
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React108.createElement(import_ui55.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React108.createElement(ItemIconImage, { value }), /* @__PURE__ */ React108.createElement(ItemLabelImage, { value })));
7264
7297
  var ItemIconImage = ({ value }) => {
7265
7298
  const { imageUrl } = useImage(value);
7266
- return /* @__PURE__ */ React107.createElement(
7267
- import_ui54.CardMedia,
7299
+ return /* @__PURE__ */ React108.createElement(
7300
+ import_ui55.CardMedia,
7268
7301
  {
7269
7302
  image: imageUrl,
7270
7303
  sx: (theme) => ({
@@ -7279,7 +7312,7 @@ var ItemIconImage = ({ value }) => {
7279
7312
  };
7280
7313
  var ItemLabelImage = ({ value }) => {
7281
7314
  const { imageTitle } = useImage(value);
7282
- return /* @__PURE__ */ React107.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React107.createElement("span", null, imageTitle));
7315
+ return /* @__PURE__ */ React108.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React108.createElement("span", null, imageTitle));
7283
7316
  };
7284
7317
  var useImage = (image) => {
7285
7318
  let imageTitle, imageUrl = null;
@@ -7304,7 +7337,7 @@ var getFileExtensionFromFilename = (filename) => {
7304
7337
  };
7305
7338
 
7306
7339
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
7307
- var React108 = __toESM(require("react"));
7340
+ var React109 = __toESM(require("react"));
7308
7341
  var import_editor_canvas10 = require("@elementor/editor-canvas");
7309
7342
  var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value) => {
7310
7343
  if (!value) {
@@ -7314,20 +7347,20 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
7314
7347
  const colorValue = color || "#000000";
7315
7348
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
7316
7349
  const positionValue = position || "outset";
7317
- return /* @__PURE__ */ React108.createElement(React108.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
7350
+ return /* @__PURE__ */ React109.createElement(React109.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
7318
7351
  });
7319
7352
 
7320
7353
  // src/styles-inheritance/transformers/color-transformer.tsx
7321
- var React109 = __toESM(require("react"));
7354
+ var React110 = __toESM(require("react"));
7322
7355
  var import_editor_canvas11 = require("@elementor/editor-canvas");
7323
- var import_ui55 = require("@elementor/ui");
7356
+ var import_ui56 = require("@elementor/ui");
7324
7357
  function isValidCSSColor(value) {
7325
7358
  if (!value.trim()) {
7326
7359
  return false;
7327
7360
  }
7328
7361
  return CSS.supports("color", value.trim());
7329
7362
  }
7330
- var StyledColorIndicator = (0, import_ui55.styled)(import_ui55.UnstableColorIndicator)(({ theme }) => ({
7363
+ var StyledColorIndicator = (0, import_ui56.styled)(import_ui56.UnstableColorIndicator)(({ theme }) => ({
7331
7364
  width: "1em",
7332
7365
  height: "1em",
7333
7366
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -7338,7 +7371,7 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
7338
7371
  if (!isValidCSSColor(value)) {
7339
7372
  return value;
7340
7373
  }
7341
- return /* @__PURE__ */ React109.createElement(import_ui55.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React109.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React109.createElement("span", null, value));
7374
+ return /* @__PURE__ */ React110.createElement(import_ui56.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React110.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React110.createElement("span", null, value));
7342
7375
  });
7343
7376
 
7344
7377
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx