@elementor/editor-controls 3.33.0-247 → 3.33.0-249

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.mjs CHANGED
@@ -1174,7 +1174,7 @@ var StrokeControl = createControl(() => {
1174
1174
  var Control = forwardRef3(({ bind, label, children }, ref) => /* @__PURE__ */ React21.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React21.createElement(Grid2, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref }, /* @__PURE__ */ React21.createElement(Grid2, { item: true, xs: 6 }, /* @__PURE__ */ React21.createElement(ControlFormLabel, null, label)), /* @__PURE__ */ React21.createElement(Grid2, { item: true, xs: 6 }, children))));
1175
1175
 
1176
1176
  // src/controls/box-shadow-repeater-control.tsx
1177
- import * as React37 from "react";
1177
+ import * as React39 from "react";
1178
1178
  import { useRef as useRef4 } from "react";
1179
1179
  import { boxShadowPropTypeUtil, shadowPropTypeUtil } from "@elementor/editor-props";
1180
1180
  import { FormLabel as FormLabel2, Grid as Grid4, styled as styled4, UnstableColorIndicator } from "@elementor/ui";
@@ -1351,61 +1351,11 @@ var ConditionalToolTip = ({
1351
1351
  content
1352
1352
  }) => enable && content ? /* @__PURE__ */ React23.createElement(Infotip, { placement: "right", color: "secondary", content }, children) : children;
1353
1353
 
1354
- // src/components/control-repeater/header/header.tsx
1355
- import * as React26 from "react";
1356
- import { Box as Box3, Stack as Stack4, Typography as Typography2 } from "@elementor/ui";
1357
-
1358
- // src/control-adornments/control-adornments.tsx
1354
+ // src/components/control-repeater/items/items-container.tsx
1359
1355
  import * as React25 from "react";
1360
1356
 
1361
- // src/control-adornments/control-adornments-context.tsx
1357
+ // src/components/repeater/sortable.tsx
1362
1358
  import * as React24 from "react";
1363
- import { createContext as createContext8, useContext as useContext7 } from "react";
1364
- var Context2 = createContext8(null);
1365
- var ControlAdornmentsProvider = ({ children, items: items2 }) => /* @__PURE__ */ React24.createElement(Context2.Provider, { value: { items: items2 } }, children);
1366
- var useControlAdornments = () => {
1367
- const context = useContext7(Context2);
1368
- return context?.items ?? [];
1369
- };
1370
-
1371
- // src/control-adornments/control-adornments.tsx
1372
- function ControlAdornments({
1373
- customContext
1374
- }) {
1375
- const items2 = useControlAdornments();
1376
- if (items2?.length === 0) {
1377
- return null;
1378
- }
1379
- return /* @__PURE__ */ React25.createElement(React25.Fragment, null, items2.map(({ Adornment, id }) => /* @__PURE__ */ React25.createElement(Adornment, { key: id, customContext })));
1380
- }
1381
-
1382
- // src/components/control-repeater/header/header.tsx
1383
- var Header = React26.forwardRef(
1384
- ({
1385
- label,
1386
- children,
1387
- adornment: Adornment = ControlAdornments
1388
- }, ref) => {
1389
- return /* @__PURE__ */ React26.createElement(
1390
- Stack4,
1391
- {
1392
- direction: "row",
1393
- alignItems: "center",
1394
- gap: 1,
1395
- sx: { marginInlineEnd: -0.75, py: 0.25 },
1396
- ref
1397
- },
1398
- /* @__PURE__ */ React26.createElement(Box3, { display: "flex", alignItems: "center", gap: 1, sx: { flexGrow: 1 } }, /* @__PURE__ */ React26.createElement(Typography2, { component: "label", variant: "caption", color: "text.secondary", sx: { lineHeight: 1 } }, label), /* @__PURE__ */ React26.createElement(Adornment, null)),
1399
- children
1400
- );
1401
- }
1402
- );
1403
-
1404
- // src/components/control-repeater/items/items-container.tsx
1405
- import * as React28 from "react";
1406
-
1407
- // src/components/sortable.tsx
1408
- import * as React27 from "react";
1409
1359
  import { GripVerticalIcon } from "@elementor/icons";
1410
1360
  import {
1411
1361
  Divider,
@@ -1417,10 +1367,10 @@ import {
1417
1367
  } from "@elementor/ui";
1418
1368
  import { __ as __6 } from "@wordpress/i18n";
1419
1369
  var SortableProvider = (props) => {
1420
- return /* @__PURE__ */ React27.createElement(List, { sx: { p: 0, my: -0.5, mx: 0 } }, /* @__PURE__ */ React27.createElement(UnstableSortableProvider, { restrictAxis: true, disableDragOverlay: false, variant: "static", ...props }));
1370
+ return /* @__PURE__ */ React24.createElement(List, { sx: { p: 0, my: -0.5, mx: 0 } }, /* @__PURE__ */ React24.createElement(UnstableSortableProvider, { restrictAxis: true, disableDragOverlay: false, variant: "static", ...props }));
1421
1371
  };
1422
1372
  var SortableItem = ({ id, children, disabled }) => {
1423
- return /* @__PURE__ */ React27.createElement(
1373
+ return /* @__PURE__ */ React24.createElement(
1424
1374
  UnstableSortableItem,
1425
1375
  {
1426
1376
  id,
@@ -1433,7 +1383,7 @@ var SortableItem = ({ id, children, disabled }) => {
1433
1383
  showDropIndication,
1434
1384
  dropIndicationStyle
1435
1385
  }) => {
1436
- return /* @__PURE__ */ React27.createElement(StyledListItem, { ...itemProps, style: itemStyle, tabIndex: -1 }, !disabled && /* @__PURE__ */ React27.createElement(SortableTrigger, { ...triggerProps, style: triggerStyle }), children, showDropIndication && /* @__PURE__ */ React27.createElement(StyledDivider, { style: dropIndicationStyle }));
1386
+ return /* @__PURE__ */ React24.createElement(StyledListItem, { ...itemProps, style: itemStyle, tabIndex: -1 }, !disabled && /* @__PURE__ */ React24.createElement(SortableTrigger, { ...triggerProps, style: triggerStyle }), children, showDropIndication && /* @__PURE__ */ React24.createElement(StyledDivider, { style: dropIndicationStyle }));
1437
1387
  }
1438
1388
  }
1439
1389
  );
@@ -1468,7 +1418,7 @@ var StyledListItem = styled3(ListItem)`
1468
1418
  }
1469
1419
  }
1470
1420
  `;
1471
- var SortableTrigger = (props) => /* @__PURE__ */ React27.createElement(
1421
+ var SortableTrigger = (props) => /* @__PURE__ */ React24.createElement(
1472
1422
  "div",
1473
1423
  {
1474
1424
  ...props,
@@ -1477,7 +1427,7 @@ var SortableTrigger = (props) => /* @__PURE__ */ React27.createElement(
1477
1427
  tabIndex: 0,
1478
1428
  "aria-label": __6("Drag item", "elementor")
1479
1429
  },
1480
- /* @__PURE__ */ React27.createElement(GripVerticalIcon, { fontSize: "tiny" })
1430
+ /* @__PURE__ */ React24.createElement(GripVerticalIcon, { fontSize: "tiny" })
1481
1431
  );
1482
1432
  var StyledDivider = styled3(Divider)`
1483
1433
  height: 0px;
@@ -1514,17 +1464,35 @@ var ItemsContainer = ({
1514
1464
  })
1515
1465
  );
1516
1466
  };
1517
- return /* @__PURE__ */ React28.createElement(React28.Fragment, null, /* @__PURE__ */ React28.createElement(SortableProvider, { value: keys, onChange: onChangeOrder }, keys.map((key, index) => {
1467
+ return /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement(SortableProvider, { value: keys, onChange: onChangeOrder }, keys.map((key, index) => {
1518
1468
  const value = items2[index].item;
1519
- return /* @__PURE__ */ React28.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React28.createElement(ItemContext.Provider, { value: { index, value } }, children));
1469
+ return /* @__PURE__ */ React25.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React25.createElement(ItemContext.Provider, { value: { index, value } }, children));
1520
1470
  })));
1521
1471
  };
1522
1472
 
1523
1473
  // src/components/control-repeater/items/item.tsx
1524
- import * as React29 from "react";
1525
- import { bindTrigger as bindTrigger2, UnstableTag } from "@elementor/ui";
1474
+ import * as React27 from "react";
1475
+ import { bindTrigger as bindTrigger2 } from "@elementor/ui";
1526
1476
  import { __ as __7 } from "@wordpress/i18n";
1527
1477
 
1478
+ // src/components/repeater/repeater-tag.tsx
1479
+ import * as React26 from "react";
1480
+ import { forwardRef as forwardRef4 } from "react";
1481
+ import { UnstableTag } from "@elementor/ui";
1482
+ var RepeaterTag = forwardRef4((props, ref) => {
1483
+ return /* @__PURE__ */ React26.createElement(
1484
+ UnstableTag,
1485
+ {
1486
+ ref,
1487
+ fullWidth: true,
1488
+ showActionsOnHover: true,
1489
+ variant: "outlined",
1490
+ sx: { minHeight: (theme) => theme.spacing(3.5) },
1491
+ ...props
1492
+ }
1493
+ );
1494
+ });
1495
+
1528
1496
  // src/components/control-repeater/locations.ts
1529
1497
  import { createLocation, createReplaceableLocation } from "@elementor/locations";
1530
1498
  var { Slot: RepeaterItemIconSlot, inject: injectIntoRepeaterItemIcon } = createReplaceableLocation();
@@ -1533,9 +1501,8 @@ var { Slot: RepeaterItemActionsSlot, inject: injectIntoRepeaterItemActions } = c
1533
1501
 
1534
1502
  // src/components/control-repeater/items/item.tsx
1535
1503
  var Item = ({ Label: Label3, Icon, actions }) => {
1536
- const { items: items2, popoverState, setRowRef, openItemIndex, setOpenItemIndex, index = -1, value } = useRepeaterContext();
1504
+ const { popoverState, setRowRef, openItemIndex, setOpenItemIndex, index = -1, value } = useRepeaterContext();
1537
1505
  const triggerProps = bindTrigger2(popoverState);
1538
- const key = items2[index].key ?? -1;
1539
1506
  const onClick = (ev) => {
1540
1507
  triggerProps.onClick(ev);
1541
1508
  setOpenItemIndex(index);
@@ -1547,38 +1514,32 @@ var Item = ({ Label: Label3, Icon, actions }) => {
1547
1514
  setRowRef(ref);
1548
1515
  popoverState.setAnchorEl(ref);
1549
1516
  };
1550
- return /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement(
1551
- UnstableTag,
1517
+ return /* @__PURE__ */ React27.createElement(
1518
+ RepeaterTag,
1552
1519
  {
1553
- key,
1554
- disabled: false,
1555
- label: /* @__PURE__ */ React29.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React29.createElement(Label3, { value })),
1556
- showActionsOnHover: true,
1557
- fullWidth: true,
1558
1520
  ref: setRef,
1559
- variant: "outlined",
1521
+ label: /* @__PURE__ */ React27.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React27.createElement(Label3, { value })),
1560
1522
  "aria-label": __7("Open item", "elementor"),
1561
- sx: { minHeight: (theme) => theme.spacing(3.5) },
1562
1523
  ...triggerProps,
1563
1524
  onClick,
1564
- startIcon: /* @__PURE__ */ React29.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React29.createElement(Icon, { value })),
1565
- actions: /* @__PURE__ */ React29.createElement(React29.Fragment, null, /* @__PURE__ */ React29.createElement(RepeaterItemActionsSlot, { index: index ?? -1 }), actions)
1525
+ startIcon: /* @__PURE__ */ React27.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React27.createElement(Icon, { value })),
1526
+ actions: /* @__PURE__ */ React27.createElement(React27.Fragment, null, /* @__PURE__ */ React27.createElement(RepeaterItemActionsSlot, { index: index ?? -1 }), actions)
1566
1527
  }
1567
- ));
1528
+ );
1568
1529
  };
1569
1530
 
1570
1531
  // src/components/control-repeater/control-repeater.tsx
1571
- import * as React30 from "react";
1532
+ import * as React28 from "react";
1572
1533
  var ControlRepeater = ({
1573
1534
  children,
1574
1535
  initial,
1575
1536
  propTypeUtil
1576
1537
  }) => {
1577
- return /* @__PURE__ */ React30.createElement(SectionContent, null, /* @__PURE__ */ React30.createElement(RepeaterContextProvider, { initial, propTypeUtil }, children));
1538
+ return /* @__PURE__ */ React28.createElement(SectionContent, null, /* @__PURE__ */ React28.createElement(RepeaterContextProvider, { initial, propTypeUtil }, children));
1578
1539
  };
1579
1540
 
1580
1541
  // src/components/control-repeater/actions/disable-item-action.tsx
1581
- import * as React31 from "react";
1542
+ import * as React29 from "react";
1582
1543
  import { EyeIcon, EyeOffIcon } from "@elementor/icons";
1583
1544
  import { IconButton as IconButton2, Tooltip } from "@elementor/ui";
1584
1545
  import { __ as __8 } from "@wordpress/i18n";
@@ -1598,11 +1559,11 @@ var DisableItemAction = () => {
1598
1559
  }
1599
1560
  updateItem(self, index);
1600
1561
  };
1601
- return /* @__PURE__ */ React31.createElement(Tooltip, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React31.createElement(IconButton2, { size: SIZE3, onClick, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React31.createElement(EyeOffIcon, { fontSize: SIZE3 }) : /* @__PURE__ */ React31.createElement(EyeIcon, { fontSize: SIZE3 })));
1562
+ return /* @__PURE__ */ React29.createElement(Tooltip, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React29.createElement(IconButton2, { size: SIZE3, onClick, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React29.createElement(EyeOffIcon, { fontSize: SIZE3 }) : /* @__PURE__ */ React29.createElement(EyeIcon, { fontSize: SIZE3 })));
1602
1563
  };
1603
1564
 
1604
1565
  // src/components/control-repeater/actions/duplicate-item-action.tsx
1605
- import * as React32 from "react";
1566
+ import * as React30 from "react";
1606
1567
  import { CopyIcon } from "@elementor/icons";
1607
1568
  import { IconButton as IconButton3, Tooltip as Tooltip2 } from "@elementor/ui";
1608
1569
  import { __ as __9 } from "@wordpress/i18n";
@@ -1617,11 +1578,11 @@ var DuplicateItemAction = () => {
1617
1578
  const newItem = structuredClone(items2[index]?.item);
1618
1579
  addItem(ev, { item: newItem, index: index + 1 });
1619
1580
  };
1620
- return /* @__PURE__ */ React32.createElement(Tooltip2, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React32.createElement(IconButton3, { size: SIZE4, onClick, "aria-label": duplicateLabel }, /* @__PURE__ */ React32.createElement(CopyIcon, { fontSize: SIZE4 })));
1581
+ return /* @__PURE__ */ React30.createElement(Tooltip2, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React30.createElement(IconButton3, { size: SIZE4, onClick, "aria-label": duplicateLabel }, /* @__PURE__ */ React30.createElement(CopyIcon, { fontSize: SIZE4 })));
1621
1582
  };
1622
1583
 
1623
1584
  // src/components/control-repeater/actions/remove-item-action.tsx
1624
- import * as React33 from "react";
1585
+ import * as React31 from "react";
1625
1586
  import { XIcon } from "@elementor/icons";
1626
1587
  import { IconButton as IconButton4, Tooltip as Tooltip3 } from "@elementor/ui";
1627
1588
  import { __ as __10 } from "@wordpress/i18n";
@@ -1633,12 +1594,34 @@ var RemoveItemAction = () => {
1633
1594
  }
1634
1595
  const removeLabel = __10("Remove", "elementor");
1635
1596
  const onClick = () => removeItem(index);
1636
- return /* @__PURE__ */ React33.createElement(Tooltip3, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React33.createElement(IconButton4, { size: SIZE5, onClick, "aria-label": removeLabel }, /* @__PURE__ */ React33.createElement(XIcon, { fontSize: SIZE5 })));
1597
+ return /* @__PURE__ */ React31.createElement(Tooltip3, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React31.createElement(IconButton4, { size: SIZE5, onClick, "aria-label": removeLabel }, /* @__PURE__ */ React31.createElement(XIcon, { fontSize: SIZE5 })));
1598
+ };
1599
+
1600
+ // src/components/control-repeater/items/edit-item-popover.tsx
1601
+ import * as React33 from "react";
1602
+ import { bindPopover as bindPopover2, Box as Box3 } from "@elementor/ui";
1603
+
1604
+ // src/components/repeater/repeater-popover.tsx
1605
+ import * as React32 from "react";
1606
+ import { Popover as Popover2 } from "@elementor/ui";
1607
+ var RepeaterPopover = ({ children, width, ...props }) => {
1608
+ return /* @__PURE__ */ React32.createElement(
1609
+ Popover2,
1610
+ {
1611
+ disablePortal: true,
1612
+ anchorOrigin: { vertical: "bottom", horizontal: "left" },
1613
+ slotProps: {
1614
+ paper: {
1615
+ sx: { mt: 0.5, width }
1616
+ }
1617
+ },
1618
+ ...props
1619
+ },
1620
+ children
1621
+ );
1637
1622
  };
1638
1623
 
1639
1624
  // src/components/control-repeater/items/edit-item-popover.tsx
1640
- import * as React34 from "react";
1641
- import { bindPopover as bindPopover2, Box as Box4, Popover as Popover2 } from "@elementor/ui";
1642
1625
  var EditItemPopover = ({ children }) => {
1643
1626
  const { popoverState, openItemIndex, isOpen, rowRef, setOpenItemIndex, setRowRef } = useRepeaterContext();
1644
1627
  if (!isOpen || !rowRef) {
@@ -1649,59 +1632,96 @@ var EditItemPopover = ({ children }) => {
1649
1632
  popoverState.setAnchorEl(null);
1650
1633
  setOpenItemIndex(EMPTY_OPEN_ITEM);
1651
1634
  };
1652
- return /* @__PURE__ */ React34.createElement(
1653
- Popover2,
1654
- {
1655
- disablePortal: true,
1656
- slotProps: {
1657
- paper: {
1658
- sx: { mt: 0.5, width: rowRef.offsetWidth }
1659
- }
1660
- },
1661
- anchorOrigin: { vertical: "bottom", horizontal: "left" },
1662
- ...bindPopover2(popoverState),
1663
- onClose
1664
- },
1665
- /* @__PURE__ */ React34.createElement(PropKeyProvider, { bind: String(openItemIndex) }, /* @__PURE__ */ React34.createElement(Box4, null, children))
1666
- );
1635
+ return /* @__PURE__ */ React33.createElement(RepeaterPopover, { width: rowRef.offsetWidth, ...bindPopover2(popoverState), onClose }, /* @__PURE__ */ React33.createElement(PropKeyProvider, { bind: String(openItemIndex) }, /* @__PURE__ */ React33.createElement(Box3, null, children)));
1667
1636
  };
1668
1637
 
1669
1638
  // src/components/popover-content.tsx
1670
- import * as React35 from "react";
1671
- import { Stack as Stack5 } from "@elementor/ui";
1672
- var PopoverContent = ({ gap = 1.5, children, ...props }) => /* @__PURE__ */ React35.createElement(Stack5, { ...props, gap }, children);
1639
+ import * as React34 from "react";
1640
+ import { Stack as Stack4 } from "@elementor/ui";
1641
+ var PopoverContent = ({ gap = 1.5, children, ...props }) => /* @__PURE__ */ React34.createElement(Stack4, { ...props, gap }, children);
1673
1642
 
1674
1643
  // src/components/popover-grid-container.tsx
1675
1644
  import { forwardRef as forwardRef5 } from "react";
1676
- import * as React36 from "react";
1645
+ import * as React35 from "react";
1677
1646
  import { Grid as Grid3 } from "@elementor/ui";
1678
1647
  var PopoverGridContainer = forwardRef5(
1679
- ({ gap = 1.5, alignItems = "center", flexWrap = "nowrap", children }, ref) => /* @__PURE__ */ React36.createElement(Grid3, { container: true, gap, alignItems, flexWrap, ref }, children)
1648
+ ({ gap = 1.5, alignItems = "center", flexWrap = "nowrap", children }, ref) => /* @__PURE__ */ React35.createElement(Grid3, { container: true, gap, alignItems, flexWrap, ref }, children)
1649
+ );
1650
+
1651
+ // src/components/repeater/repeater-header.tsx
1652
+ import * as React38 from "react";
1653
+ import { forwardRef as forwardRef6 } from "react";
1654
+ import { Box as Box4, Stack as Stack5, Typography as Typography2 } from "@elementor/ui";
1655
+
1656
+ // src/control-adornments/control-adornments.tsx
1657
+ import * as React37 from "react";
1658
+
1659
+ // src/control-adornments/control-adornments-context.tsx
1660
+ import * as React36 from "react";
1661
+ import { createContext as createContext8, useContext as useContext7 } from "react";
1662
+ var Context2 = createContext8(null);
1663
+ var ControlAdornmentsProvider = ({ children, items: items2 }) => /* @__PURE__ */ React36.createElement(Context2.Provider, { value: { items: items2 } }, children);
1664
+ var useControlAdornments = () => {
1665
+ const context = useContext7(Context2);
1666
+ return context?.items ?? [];
1667
+ };
1668
+
1669
+ // src/control-adornments/control-adornments.tsx
1670
+ function ControlAdornments({
1671
+ customContext
1672
+ }) {
1673
+ const items2 = useControlAdornments();
1674
+ if (items2?.length === 0) {
1675
+ return null;
1676
+ }
1677
+ return /* @__PURE__ */ React37.createElement(React37.Fragment, null, items2.map(({ Adornment, id }) => /* @__PURE__ */ React37.createElement(Adornment, { key: id, customContext })));
1678
+ }
1679
+
1680
+ // src/components/repeater/repeater-header.tsx
1681
+ var RepeaterHeader = forwardRef6(
1682
+ ({
1683
+ label,
1684
+ children,
1685
+ adornment: Adornment = ControlAdornments
1686
+ }, ref) => {
1687
+ return /* @__PURE__ */ React38.createElement(
1688
+ Stack5,
1689
+ {
1690
+ direction: "row",
1691
+ alignItems: "center",
1692
+ gap: 1,
1693
+ sx: { marginInlineEnd: -0.75, py: 0.25 },
1694
+ ref
1695
+ },
1696
+ /* @__PURE__ */ React38.createElement(Box4, { display: "flex", alignItems: "center", gap: 1, sx: { flexGrow: 1 } }, /* @__PURE__ */ React38.createElement(Typography2, { component: "label", variant: "caption", color: "text.secondary", sx: { lineHeight: 1 } }, label), /* @__PURE__ */ React38.createElement(Adornment, null)),
1697
+ children
1698
+ );
1699
+ }
1680
1700
  );
1681
1701
 
1682
1702
  // src/controls/box-shadow-repeater-control.tsx
1683
1703
  var BoxShadowRepeaterControl = createControl(() => {
1684
1704
  const { propType, value, setValue, disabled } = useBoundProp(boxShadowPropTypeUtil);
1685
- return /* @__PURE__ */ React37.createElement(PropProvider, { propType, value, setValue, isDisabled: () => disabled }, /* @__PURE__ */ React37.createElement(ControlRepeater, { initial: initialShadow, propTypeUtil: boxShadowPropTypeUtil }, /* @__PURE__ */ React37.createElement(Header, { label: __11("Box shadow", "elementor") }, /* @__PURE__ */ React37.createElement(TooltipAddItemAction, { newItemIndex: 0, disabled, ariaLabel: "Box shadow" })), /* @__PURE__ */ React37.createElement(ItemsContainer, null, /* @__PURE__ */ React37.createElement(
1705
+ return /* @__PURE__ */ React39.createElement(PropProvider, { propType, value, setValue, isDisabled: () => disabled }, /* @__PURE__ */ React39.createElement(ControlRepeater, { initial: initialShadow, propTypeUtil: boxShadowPropTypeUtil }, /* @__PURE__ */ React39.createElement(RepeaterHeader, { label: __11("Box shadow", "elementor") }, /* @__PURE__ */ React39.createElement(TooltipAddItemAction, { newItemIndex: 0, disabled, ariaLabel: "Box shadow" })), /* @__PURE__ */ React39.createElement(ItemsContainer, null, /* @__PURE__ */ React39.createElement(
1686
1706
  Item,
1687
1707
  {
1688
1708
  Icon: ItemIcon,
1689
1709
  Label: ItemLabel,
1690
- actions: /* @__PURE__ */ React37.createElement(React37.Fragment, null, /* @__PURE__ */ React37.createElement(DuplicateItemAction, null), /* @__PURE__ */ React37.createElement(DisableItemAction, null), /* @__PURE__ */ React37.createElement(RemoveItemAction, null))
1710
+ actions: /* @__PURE__ */ React39.createElement(React39.Fragment, null, /* @__PURE__ */ React39.createElement(DuplicateItemAction, null), /* @__PURE__ */ React39.createElement(DisableItemAction, null), /* @__PURE__ */ React39.createElement(RemoveItemAction, null))
1691
1711
  }
1692
- )), /* @__PURE__ */ React37.createElement(EditItemPopover, null, /* @__PURE__ */ React37.createElement(Content, null))));
1712
+ )), /* @__PURE__ */ React39.createElement(EditItemPopover, null, /* @__PURE__ */ React39.createElement(Content, null))));
1693
1713
  });
1694
1714
  var StyledUnstableColorIndicator = styled4(UnstableColorIndicator)(({ theme }) => ({
1695
1715
  height: "1rem",
1696
1716
  width: "1rem",
1697
1717
  borderRadius: `${theme.shape.borderRadius / 2}px`
1698
1718
  }));
1699
- var ItemIcon = ({ value }) => /* @__PURE__ */ React37.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: value.value.color?.value });
1719
+ var ItemIcon = ({ value }) => /* @__PURE__ */ React39.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: value.value.color?.value });
1700
1720
  var Content = () => {
1701
1721
  const context = useBoundProp(shadowPropTypeUtil);
1702
1722
  const rowRef = [useRef4(null), useRef4(null)];
1703
1723
  const { rowRef: anchorEl } = useRepeaterContext();
1704
- return /* @__PURE__ */ React37.createElement(PropProvider, { ...context }, /* @__PURE__ */ React37.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React37.createElement(PopoverGridContainer, null, /* @__PURE__ */ React37.createElement(Control2, { bind: "color", label: __11("Color", "elementor") }, /* @__PURE__ */ React37.createElement(ColorControl, { anchorEl })), /* @__PURE__ */ React37.createElement(Control2, { bind: "position", label: __11("Position", "elementor"), sx: { overflow: "hidden" } }, /* @__PURE__ */ React37.createElement(
1724
+ return /* @__PURE__ */ React39.createElement(PropProvider, { ...context }, /* @__PURE__ */ React39.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React39.createElement(PopoverGridContainer, null, /* @__PURE__ */ React39.createElement(Control2, { bind: "color", label: __11("Color", "elementor") }, /* @__PURE__ */ React39.createElement(ColorControl, { anchorEl })), /* @__PURE__ */ React39.createElement(Control2, { bind: "position", label: __11("Position", "elementor"), sx: { overflow: "hidden" } }, /* @__PURE__ */ React39.createElement(
1705
1725
  SelectControl,
1706
1726
  {
1707
1727
  options: [
@@ -1709,14 +1729,14 @@ var Content = () => {
1709
1729
  { label: __11("Outset", "elementor"), value: null }
1710
1730
  ]
1711
1731
  }
1712
- ))), /* @__PURE__ */ React37.createElement(PopoverGridContainer, { ref: rowRef[0] }, /* @__PURE__ */ React37.createElement(Control2, { bind: "hOffset", label: __11("Horizontal", "elementor") }, /* @__PURE__ */ React37.createElement(SizeControl, { anchorRef: rowRef[0] })), /* @__PURE__ */ React37.createElement(Control2, { bind: "vOffset", label: __11("Vertical", "elementor") }, /* @__PURE__ */ React37.createElement(SizeControl, { anchorRef: rowRef[0] }))), /* @__PURE__ */ React37.createElement(PopoverGridContainer, { ref: rowRef[1] }, /* @__PURE__ */ React37.createElement(Control2, { bind: "blur", label: __11("Blur", "elementor") }, /* @__PURE__ */ React37.createElement(SizeControl, { anchorRef: rowRef[1] })), /* @__PURE__ */ React37.createElement(Control2, { bind: "spread", label: __11("Spread", "elementor") }, /* @__PURE__ */ React37.createElement(SizeControl, { anchorRef: rowRef[1] })))));
1732
+ ))), /* @__PURE__ */ React39.createElement(PopoverGridContainer, { ref: rowRef[0] }, /* @__PURE__ */ React39.createElement(Control2, { bind: "hOffset", label: __11("Horizontal", "elementor") }, /* @__PURE__ */ React39.createElement(SizeControl, { anchorRef: rowRef[0] })), /* @__PURE__ */ React39.createElement(Control2, { bind: "vOffset", label: __11("Vertical", "elementor") }, /* @__PURE__ */ React39.createElement(SizeControl, { anchorRef: rowRef[0] }))), /* @__PURE__ */ React39.createElement(PopoverGridContainer, { ref: rowRef[1] }, /* @__PURE__ */ React39.createElement(Control2, { bind: "blur", label: __11("Blur", "elementor") }, /* @__PURE__ */ React39.createElement(SizeControl, { anchorRef: rowRef[1] })), /* @__PURE__ */ React39.createElement(Control2, { bind: "spread", label: __11("Spread", "elementor") }, /* @__PURE__ */ React39.createElement(SizeControl, { anchorRef: rowRef[1] })))));
1713
1733
  };
1714
1734
  var Control2 = ({
1715
1735
  label,
1716
1736
  bind,
1717
1737
  children,
1718
1738
  sx
1719
- }) => /* @__PURE__ */ React37.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React37.createElement(Grid4, { item: true, xs: 6, sx }, /* @__PURE__ */ React37.createElement(Grid4, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React37.createElement(Grid4, { item: true, xs: 12 }, /* @__PURE__ */ React37.createElement(FormLabel2, { size: "tiny" }, label)), /* @__PURE__ */ React37.createElement(Grid4, { item: true, xs: 12 }, children))));
1739
+ }) => /* @__PURE__ */ React39.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React39.createElement(Grid4, { item: true, xs: 6, sx }, /* @__PURE__ */ React39.createElement(Grid4, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React39.createElement(Grid4, { item: true, xs: 12 }, /* @__PURE__ */ React39.createElement(FormLabel2, { size: "tiny" }, label)), /* @__PURE__ */ React39.createElement(Grid4, { item: true, xs: 12 }, children))));
1720
1740
  var ItemLabel = ({ value }) => {
1721
1741
  const { position, hOffset, vOffset, blur, spread } = value.value;
1722
1742
  const { size: blurSize = "", unit: blurUnit = "" } = blur?.value || {};
@@ -1735,7 +1755,7 @@ var ItemLabel = ({ value }) => {
1735
1755
  }
1736
1756
  return !size ? CUSTOM_SIZE_LABEL : size;
1737
1757
  }).join(" ");
1738
- return /* @__PURE__ */ React37.createElement("span", { style: { textTransform: "capitalize" } }, positionLabel, ": ", sizes);
1758
+ return /* @__PURE__ */ React39.createElement("span", { style: { textTransform: "capitalize" } }, positionLabel, ": ", sizes);
1739
1759
  };
1740
1760
  var initialShadow = {
1741
1761
  $$type: "shadow",
@@ -1765,7 +1785,7 @@ var initialShadow = {
1765
1785
  };
1766
1786
 
1767
1787
  // src/controls/filter-control/filter-repeater-control.tsx
1768
- import * as React46 from "react";
1788
+ import * as React48 from "react";
1769
1789
  import {
1770
1790
  backdropFilterPropTypeUtil,
1771
1791
  filterPropTypeUtil
@@ -1773,7 +1793,7 @@ import {
1773
1793
  import { __ as __16 } from "@wordpress/i18n";
1774
1794
 
1775
1795
  // src/controls/filter-control/context/filter-config-context.tsx
1776
- import * as React38 from "react";
1796
+ import * as React40 from "react";
1777
1797
  import { createContext as createContext9, useContext as useContext8, useMemo as useMemo3 } from "react";
1778
1798
  import { cssFilterFunctionPropUtil } from "@elementor/editor-props";
1779
1799
 
@@ -1889,7 +1909,7 @@ function FilterConfigProvider({ children }) {
1889
1909
  getInitialValue: () => config.blur.defaultValue
1890
1910
  };
1891
1911
  }, [propContext.propType]);
1892
- return /* @__PURE__ */ React38.createElement(FilterConfigContext.Provider, { value: contextValue }, children);
1912
+ return /* @__PURE__ */ React40.createElement(FilterConfigContext.Provider, { value: contextValue }, children);
1893
1913
  }
1894
1914
  function useFilterConfig() {
1895
1915
  const context = useContext8(FilterConfigContext);
@@ -1900,7 +1920,7 @@ function useFilterConfig() {
1900
1920
  }
1901
1921
 
1902
1922
  // src/controls/filter-control/filter-content.tsx
1903
- import * as React41 from "react";
1923
+ import * as React43 from "react";
1904
1924
  import {
1905
1925
  cssFilterFunctionPropUtil as cssFilterFunctionPropUtil2
1906
1926
  } from "@elementor/editor-props";
@@ -1908,7 +1928,7 @@ import { Grid as Grid7 } from "@elementor/ui";
1908
1928
  import { __ as __15 } from "@wordpress/i18n";
1909
1929
 
1910
1930
  // src/controls/filter-control/drop-shadow/drop-shadow-item-content.tsx
1911
- import * as React39 from "react";
1931
+ import * as React41 from "react";
1912
1932
  import { useRef as useRef5 } from "react";
1913
1933
  import { dropShadowFilterPropTypeUtil } from "@elementor/editor-props";
1914
1934
  import { Grid as Grid5 } from "@elementor/ui";
@@ -1938,7 +1958,7 @@ var items = [
1938
1958
  var DropShadowItemContent = ({ anchorEl }) => {
1939
1959
  const context = useBoundProp(dropShadowFilterPropTypeUtil);
1940
1960
  const rowRefs = [useRef5(null), useRef5(null)];
1941
- return /* @__PURE__ */ React39.createElement(PropProvider, { ...context }, items.map((item) => /* @__PURE__ */ React39.createElement(PopoverGridContainer, { key: item.bind, ref: rowRefs[item.rowIndex] ?? null }, /* @__PURE__ */ React39.createElement(PropKeyProvider, { bind: item.bind }, /* @__PURE__ */ React39.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlFormLabel, null, item.label)), /* @__PURE__ */ React39.createElement(Grid5, { item: true, xs: 6 }, item.bind === "color" ? /* @__PURE__ */ React39.createElement(ColorControl, { anchorEl }) : /* @__PURE__ */ React39.createElement(
1961
+ return /* @__PURE__ */ React41.createElement(PropProvider, { ...context }, items.map((item) => /* @__PURE__ */ React41.createElement(PopoverGridContainer, { key: item.bind, ref: rowRefs[item.rowIndex] ?? null }, /* @__PURE__ */ React41.createElement(PropKeyProvider, { bind: item.bind }, /* @__PURE__ */ React41.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React41.createElement(ControlFormLabel, null, item.label)), /* @__PURE__ */ React41.createElement(Grid5, { item: true, xs: 6 }, item.bind === "color" ? /* @__PURE__ */ React41.createElement(ColorControl, { anchorEl }) : /* @__PURE__ */ React41.createElement(
1942
1962
  SizeControl,
1943
1963
  {
1944
1964
  anchorRef: rowRefs[item.rowIndex],
@@ -1951,7 +1971,7 @@ var DropShadowItemContent = ({ anchorEl }) => {
1951
1971
 
1952
1972
  // src/controls/filter-control/single-size/single-size-item-content.tsx
1953
1973
  import { useRef as useRef6 } from "react";
1954
- import * as React40 from "react";
1974
+ import * as React42 from "react";
1955
1975
  import {
1956
1976
  blurFilterPropTypeUtil,
1957
1977
  colorToneFilterPropTypeUtil,
@@ -1970,7 +1990,7 @@ var SingleSizeItemContent = ({ filterFunc }) => {
1970
1990
  const { getFilterFunctionConfig } = useFilterConfig();
1971
1991
  const { valueName, filterFunctionGroup } = getFilterFunctionConfig(filterFunc);
1972
1992
  const context = useBoundProp(propTypeMap[filterFunctionGroup]);
1973
- return /* @__PURE__ */ React40.createElement(PropProvider, { ...context }, /* @__PURE__ */ React40.createElement(PropKeyProvider, { bind: filterFunctionGroup }, /* @__PURE__ */ React40.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React40.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React40.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(ControlFormLabel, null, valueName)), /* @__PURE__ */ React40.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(SizeControl, { anchorRef: rowRef, enablePropTypeUnits: true, isRepeaterControl: true }))))));
1993
+ return /* @__PURE__ */ React42.createElement(PropProvider, { ...context }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: filterFunctionGroup }, /* @__PURE__ */ React42.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React42.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React42.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlFormLabel, null, valueName)), /* @__PURE__ */ React42.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(SizeControl, { anchorRef: rowRef, enablePropTypeUnits: true, isRepeaterControl: true }))))));
1974
1994
  };
1975
1995
 
1976
1996
  // src/controls/filter-control/filter-content.tsx
@@ -1988,7 +2008,7 @@ var FilterContent = () => {
1988
2008
  }
1989
2009
  propContext.setValue(newValue);
1990
2010
  };
1991
- return /* @__PURE__ */ React41.createElement(PropProvider, { ...propContext, setValue: handleValueChange }, /* @__PURE__ */ React41.createElement(PropKeyProvider, { bind: "css-filter-func" }, /* @__PURE__ */ React41.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React41.createElement(PopoverGridContainer, null, /* @__PURE__ */ React41.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React41.createElement(ControlFormLabel, null, __15("Filter", "elementor"))), /* @__PURE__ */ React41.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React41.createElement(PropKeyProvider, { bind: "func" }, /* @__PURE__ */ React41.createElement(SelectControl, { options: filterOptions })))), /* @__PURE__ */ React41.createElement(PropKeyProvider, { bind: "args" }, /* @__PURE__ */ React41.createElement(FilterValueContent, null)))));
2011
+ return /* @__PURE__ */ React43.createElement(PropProvider, { ...propContext, setValue: handleValueChange }, /* @__PURE__ */ React43.createElement(PropKeyProvider, { bind: "css-filter-func" }, /* @__PURE__ */ React43.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React43.createElement(PopoverGridContainer, null, /* @__PURE__ */ React43.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(ControlFormLabel, null, __15("Filter", "elementor"))), /* @__PURE__ */ React43.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(PropKeyProvider, { bind: "func" }, /* @__PURE__ */ React43.createElement(SelectControl, { options: filterOptions })))), /* @__PURE__ */ React43.createElement(PropKeyProvider, { bind: "args" }, /* @__PURE__ */ React43.createElement(FilterValueContent, null)))));
1992
2012
  };
1993
2013
  var FilterValueContent = () => {
1994
2014
  const { openItemIndex, items: items2 } = useRepeaterContext();
@@ -1996,19 +2016,19 @@ var FilterValueContent = () => {
1996
2016
  const filterFunc = currentItem.item.value.func.value;
1997
2017
  const isDropShadow = filterFunc === "drop-shadow";
1998
2018
  if (isDropShadow) {
1999
- return /* @__PURE__ */ React41.createElement(DropShadowItemContent, null);
2019
+ return /* @__PURE__ */ React43.createElement(DropShadowItemContent, null);
2000
2020
  }
2001
- return /* @__PURE__ */ React41.createElement(SingleSizeItemContent, { filterFunc });
2021
+ return /* @__PURE__ */ React43.createElement(SingleSizeItemContent, { filterFunc });
2002
2022
  };
2003
2023
 
2004
2024
  // src/controls/filter-control/filter-icon.tsx
2005
- import * as React42 from "react";
2025
+ import * as React44 from "react";
2006
2026
  import { styled as styled5, UnstableColorIndicator as UnstableColorIndicator2 } from "@elementor/ui";
2007
2027
  var FilterIcon = ({ value }) => {
2008
2028
  if (value.value.func.value !== "drop-shadow") {
2009
2029
  return null;
2010
2030
  }
2011
- return /* @__PURE__ */ React42.createElement(
2031
+ return /* @__PURE__ */ React44.createElement(
2012
2032
  StyledUnstableColorIndicator2,
2013
2033
  {
2014
2034
  size: "inherit",
@@ -2022,10 +2042,10 @@ var StyledUnstableColorIndicator2 = styled5(UnstableColorIndicator2)(({ theme })
2022
2042
  }));
2023
2043
 
2024
2044
  // src/controls/filter-control/filter-label.tsx
2025
- import * as React45 from "react";
2045
+ import * as React47 from "react";
2026
2046
 
2027
2047
  // src/controls/filter-control/drop-shadow/drop-shadow-item-label.tsx
2028
- import * as React43 from "react";
2048
+ import * as React45 from "react";
2029
2049
  import { Box as Box5 } from "@elementor/ui";
2030
2050
  var DropShadowItemLabel = ({ value }) => {
2031
2051
  const values = value.value.args.value;
@@ -2033,11 +2053,11 @@ var DropShadowItemLabel = ({ value }) => {
2033
2053
  const labels = keys.map(
2034
2054
  (key) => values[key]?.value?.unit !== "custom" ? `${values[key]?.value?.size ?? 0}${values[key]?.value?.unit ?? "px"}` : values[key]?.value?.size || CUSTOM_SIZE_LABEL
2035
2055
  );
2036
- return /* @__PURE__ */ React43.createElement(Box5, { component: "span" }, /* @__PURE__ */ React43.createElement(Box5, { component: "span", style: { textTransform: "capitalize" } }, "Drop shadow:"), ` ${labels.join(" ")}`);
2056
+ return /* @__PURE__ */ React45.createElement(Box5, { component: "span" }, /* @__PURE__ */ React45.createElement(Box5, { component: "span", style: { textTransform: "capitalize" } }, "Drop shadow:"), ` ${labels.join(" ")}`);
2037
2057
  };
2038
2058
 
2039
2059
  // src/controls/filter-control/single-size/single-size-item-label.tsx
2040
- import * as React44 from "react";
2060
+ import * as React46 from "react";
2041
2061
  import { Box as Box6 } from "@elementor/ui";
2042
2062
  var SingleSizeItemLabel = ({ value }) => {
2043
2063
  const { func, args } = value.value;
@@ -2045,16 +2065,16 @@ var SingleSizeItemLabel = ({ value }) => {
2045
2065
  const { defaultValue } = getFilterFunctionConfig(func.value ?? "");
2046
2066
  const defaultUnit = defaultValue.value.args.value?.size?.value?.unit ?? lengthUnits[0];
2047
2067
  const { unit, size } = args.value.size?.value ?? { unit: defaultUnit, size: 0 };
2048
- const label = /* @__PURE__ */ React44.createElement(Box6, { component: "span", style: { textTransform: "capitalize" } }, func.value ?? "", ":");
2049
- return /* @__PURE__ */ React44.createElement(Box6, { component: "span" }, label, " " + (unit !== "custom" ? `${size ?? 0}${unit ?? defaultUnit}` : size || CUSTOM_SIZE_LABEL));
2068
+ const label = /* @__PURE__ */ React46.createElement(Box6, { component: "span", style: { textTransform: "capitalize" } }, func.value ?? "", ":");
2069
+ return /* @__PURE__ */ React46.createElement(Box6, { component: "span" }, label, " " + (unit !== "custom" ? `${size ?? 0}${unit ?? defaultUnit}` : size || CUSTOM_SIZE_LABEL));
2050
2070
  };
2051
2071
 
2052
2072
  // src/controls/filter-control/filter-label.tsx
2053
2073
  var FilterLabel = ({ value }) => {
2054
2074
  if (value.value.func.value === "drop-shadow") {
2055
- return /* @__PURE__ */ React45.createElement(DropShadowItemLabel, { value });
2075
+ return /* @__PURE__ */ React47.createElement(DropShadowItemLabel, { value });
2056
2076
  }
2057
- return /* @__PURE__ */ React45.createElement(SingleSizeItemLabel, { value });
2077
+ return /* @__PURE__ */ React47.createElement(SingleSizeItemLabel, { value });
2058
2078
  };
2059
2079
 
2060
2080
  // src/controls/filter-control/filter-repeater-control.tsx
@@ -2071,7 +2091,7 @@ var FILTER_CONFIG = {
2071
2091
  var FilterRepeaterControl = createControl(({ filterPropName = "filter" }) => {
2072
2092
  const { propTypeUtil, label } = ensureFilterConfig(filterPropName);
2073
2093
  const { propType, value: filterValues, setValue } = useBoundProp(propTypeUtil);
2074
- return /* @__PURE__ */ React46.createElement(FilterConfigProvider, null, /* @__PURE__ */ React46.createElement(PropProvider, { propType, value: filterValues, setValue }, /* @__PURE__ */ React46.createElement(
2094
+ return /* @__PURE__ */ React48.createElement(FilterConfigProvider, null, /* @__PURE__ */ React48.createElement(PropProvider, { propType, value: filterValues, setValue }, /* @__PURE__ */ React48.createElement(
2075
2095
  Repeater,
2076
2096
  {
2077
2097
  propTypeUtil,
@@ -2082,20 +2102,20 @@ var FilterRepeaterControl = createControl(({ filterPropName = "filter" }) => {
2082
2102
  });
2083
2103
  var Repeater = ({ propTypeUtil, label, filterPropName }) => {
2084
2104
  const { getInitialValue } = useFilterConfig();
2085
- return /* @__PURE__ */ React46.createElement(ControlRepeater, { initial: getInitialValue(), propTypeUtil }, /* @__PURE__ */ React46.createElement(Header, { label }, /* @__PURE__ */ React46.createElement(
2105
+ return /* @__PURE__ */ React48.createElement(ControlRepeater, { initial: getInitialValue(), propTypeUtil }, /* @__PURE__ */ React48.createElement(RepeaterHeader, { label }, /* @__PURE__ */ React48.createElement(
2086
2106
  TooltipAddItemAction,
2087
2107
  {
2088
2108
  newItemIndex: 0,
2089
2109
  ariaLabel: filterPropName === "backdrop-filter" ? "backdrop filter" : "filter"
2090
2110
  }
2091
- )), /* @__PURE__ */ React46.createElement(ItemsContainer, null, /* @__PURE__ */ React46.createElement(
2111
+ )), /* @__PURE__ */ React48.createElement(ItemsContainer, null, /* @__PURE__ */ React48.createElement(
2092
2112
  Item,
2093
2113
  {
2094
2114
  Label: FilterLabel,
2095
2115
  Icon: FilterIcon,
2096
- actions: /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(DuplicateItemAction, null), /* @__PURE__ */ React46.createElement(DisableItemAction, null), /* @__PURE__ */ React46.createElement(RemoveItemAction, null))
2116
+ actions: /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(DuplicateItemAction, null), /* @__PURE__ */ React48.createElement(DisableItemAction, null), /* @__PURE__ */ React48.createElement(RemoveItemAction, null))
2097
2117
  }
2098
- )), /* @__PURE__ */ React46.createElement(EditItemPopover, null, /* @__PURE__ */ React46.createElement(FilterContent, null)));
2118
+ )), /* @__PURE__ */ React48.createElement(EditItemPopover, null, /* @__PURE__ */ React48.createElement(FilterContent, null)));
2099
2119
  };
2100
2120
  function ensureFilterConfig(name) {
2101
2121
  if (name && name in FILTER_CONFIG) {
@@ -2105,7 +2125,7 @@ function ensureFilterConfig(name) {
2105
2125
  }
2106
2126
 
2107
2127
  // src/controls/select-control-wrapper.tsx
2108
- import * as React47 from "react";
2128
+ import * as React49 from "react";
2109
2129
  import { useEffect as useEffect4, useState as useState6 } from "react";
2110
2130
  var getOffCanvasElements = () => {
2111
2131
  const extendedWindow = window;
@@ -2137,16 +2157,16 @@ var useDynamicOptions = (collectionId, initialOptions) => {
2137
2157
  var SelectControlWrapper = createControl(
2138
2158
  ({ collectionId, options, ...props }) => {
2139
2159
  const actualOptions = useDynamicOptions(collectionId, options);
2140
- return /* @__PURE__ */ React47.createElement(SelectControl, { options: actualOptions, ...props });
2160
+ return /* @__PURE__ */ React49.createElement(SelectControl, { options: actualOptions, ...props });
2141
2161
  }
2142
2162
  );
2143
2163
 
2144
2164
  // src/controls/toggle-control.tsx
2145
- import * as React51 from "react";
2165
+ import * as React53 from "react";
2146
2166
  import { stringPropTypeUtil as stringPropTypeUtil4 } from "@elementor/editor-props";
2147
2167
 
2148
2168
  // src/components/control-toggle-button-group.tsx
2149
- import * as React49 from "react";
2169
+ import * as React51 from "react";
2150
2170
  import { useEffect as useEffect5, useMemo as useMemo4, useRef as useRef7, useState as useState7 } from "react";
2151
2171
  import { ChevronDownIcon } from "@elementor/icons";
2152
2172
  import {
@@ -2161,14 +2181,14 @@ import {
2161
2181
  } from "@elementor/ui";
2162
2182
 
2163
2183
  // src/components/conditional-tooltip.tsx
2164
- import * as React48 from "react";
2184
+ import * as React50 from "react";
2165
2185
  import { Tooltip as Tooltip4 } from "@elementor/ui";
2166
2186
  var ConditionalTooltip = ({
2167
2187
  showTooltip,
2168
2188
  children,
2169
2189
  label
2170
2190
  }) => {
2171
- return showTooltip && label ? /* @__PURE__ */ React48.createElement(Tooltip4, { title: label, disableFocusListener: true, placement: "top" }, children) : children;
2191
+ return showTooltip && label ? /* @__PURE__ */ React50.createElement(Tooltip4, { title: label, disableFocusListener: true, placement: "top" }, children) : children;
2172
2192
  };
2173
2193
 
2174
2194
  // src/components/control-toggle-button-group.tsx
@@ -2243,7 +2263,7 @@ var ControlToggleButtonGroup = ({
2243
2263
  return [];
2244
2264
  };
2245
2265
  const placeholderArray = getPlaceholderArray(placeholder);
2246
- return /* @__PURE__ */ React49.createElement(ControlActions, null, /* @__PURE__ */ React49.createElement(
2266
+ return /* @__PURE__ */ React51.createElement(ControlActions, null, /* @__PURE__ */ React51.createElement(
2247
2267
  StyledToggleButtonGroup,
2248
2268
  {
2249
2269
  justify,
@@ -2260,14 +2280,14 @@ var ControlToggleButtonGroup = ({
2260
2280
  },
2261
2281
  fixedItems.map(({ label, value: buttonValue, renderContent: Content3, showTooltip }) => {
2262
2282
  const isPlaceholder = placeholderArray.length > 0 && placeholderArray.includes(buttonValue) && (shouldShowExclusivePlaceholder || shouldShowNonExclusivePlaceholder);
2263
- return /* @__PURE__ */ React49.createElement(
2283
+ return /* @__PURE__ */ React51.createElement(
2264
2284
  ConditionalTooltip,
2265
2285
  {
2266
2286
  key: buttonValue,
2267
2287
  label,
2268
2288
  showTooltip: showTooltip || false
2269
2289
  },
2270
- /* @__PURE__ */ React49.createElement(
2290
+ /* @__PURE__ */ React51.createElement(
2271
2291
  StyledToggleButton,
2272
2292
  {
2273
2293
  value: buttonValue,
@@ -2276,11 +2296,11 @@ var ControlToggleButtonGroup = ({
2276
2296
  fullWidth,
2277
2297
  isPlaceholder
2278
2298
  },
2279
- /* @__PURE__ */ React49.createElement(Content3, { size })
2299
+ /* @__PURE__ */ React51.createElement(Content3, { size })
2280
2300
  )
2281
2301
  );
2282
2302
  }),
2283
- menuItems.length && exclusive && /* @__PURE__ */ React49.createElement(
2303
+ menuItems.length && exclusive && /* @__PURE__ */ React51.createElement(
2284
2304
  SplitButtonGroup,
2285
2305
  {
2286
2306
  size,
@@ -2314,7 +2334,7 @@ var SplitButtonGroup = ({
2314
2334
  const shouldRemove = newValue === value;
2315
2335
  onChange(shouldRemove ? null : newValue);
2316
2336
  };
2317
- return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(
2337
+ return /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(
2318
2338
  ToggleButton,
2319
2339
  {
2320
2340
  value: previewButton.value,
@@ -2328,7 +2348,7 @@ var SplitButtonGroup = ({
2328
2348
  ref: menuButtonRef
2329
2349
  },
2330
2350
  previewButton.renderContent({ size })
2331
- ), /* @__PURE__ */ React49.createElement(
2351
+ ), /* @__PURE__ */ React51.createElement(
2332
2352
  ToggleButton,
2333
2353
  {
2334
2354
  size,
@@ -2339,8 +2359,8 @@ var SplitButtonGroup = ({
2339
2359
  ref: menuButtonRef,
2340
2360
  value: "__chevron-icon-button__"
2341
2361
  },
2342
- /* @__PURE__ */ React49.createElement(ChevronDownIcon, { fontSize: size })
2343
- ), /* @__PURE__ */ React49.createElement(
2362
+ /* @__PURE__ */ React51.createElement(ChevronDownIcon, { fontSize: size })
2363
+ ), /* @__PURE__ */ React51.createElement(
2344
2364
  Menu2,
2345
2365
  {
2346
2366
  open: isMenuOpen,
@@ -2358,14 +2378,14 @@ var SplitButtonGroup = ({
2358
2378
  mt: 0.5
2359
2379
  }
2360
2380
  },
2361
- items2.map(({ label, value: buttonValue }) => /* @__PURE__ */ React49.createElement(
2381
+ items2.map(({ label, value: buttonValue }) => /* @__PURE__ */ React51.createElement(
2362
2382
  MenuItem,
2363
2383
  {
2364
2384
  key: buttonValue,
2365
2385
  selected: buttonValue === value,
2366
2386
  onClick: () => onMenuItemClick(buttonValue)
2367
2387
  },
2368
- /* @__PURE__ */ React49.createElement(ListItemText, null, /* @__PURE__ */ React49.createElement(Typography3, { sx: { fontSize: "14px" } }, label))
2388
+ /* @__PURE__ */ React51.createElement(ListItemText, null, /* @__PURE__ */ React51.createElement(Typography3, { sx: { fontSize: "14px" } }, label))
2369
2389
  ))
2370
2390
  ));
2371
2391
  };
@@ -2383,7 +2403,7 @@ var usePreviewButton = (items2, value) => {
2383
2403
  };
2384
2404
 
2385
2405
  // src/utils/convert-toggle-options-to-atomic.tsx
2386
- import * as React50 from "react";
2406
+ import * as React52 from "react";
2387
2407
  import * as Icons from "@elementor/icons";
2388
2408
  var convertToggleOptionsToAtomic = (options) => {
2389
2409
  return options.map((option) => {
@@ -2394,7 +2414,7 @@ var convertToggleOptionsToAtomic = (options) => {
2394
2414
  label: option.label,
2395
2415
  renderContent: ({ size }) => {
2396
2416
  if (IconComponent) {
2397
- return /* @__PURE__ */ React50.createElement(IconComponent, { fontSize: size });
2417
+ return /* @__PURE__ */ React52.createElement(IconComponent, { fontSize: size });
2398
2418
  }
2399
2419
  return option.label;
2400
2420
  },
@@ -2430,7 +2450,7 @@ var ToggleControl = createControl(
2430
2450
  size,
2431
2451
  placeholder
2432
2452
  };
2433
- return exclusive ? /* @__PURE__ */ React51.createElement(
2453
+ return exclusive ? /* @__PURE__ */ React53.createElement(
2434
2454
  ControlToggleButtonGroup,
2435
2455
  {
2436
2456
  ...toggleButtonGroupProps,
@@ -2439,7 +2459,7 @@ var ToggleControl = createControl(
2439
2459
  disabled,
2440
2460
  exclusive: true
2441
2461
  }
2442
- ) : /* @__PURE__ */ React51.createElement(
2462
+ ) : /* @__PURE__ */ React53.createElement(
2443
2463
  ControlToggleButtonGroup,
2444
2464
  {
2445
2465
  ...toggleButtonGroupProps,
@@ -2453,7 +2473,7 @@ var ToggleControl = createControl(
2453
2473
  );
2454
2474
 
2455
2475
  // src/controls/number-control.tsx
2456
- import * as React52 from "react";
2476
+ import * as React54 from "react";
2457
2477
  import { numberPropTypeUtil } from "@elementor/editor-props";
2458
2478
  import { InputAdornment as InputAdornment3 } from "@elementor/ui";
2459
2479
  var isEmptyOrNaN = (value) => value === null || value === void 0 || value === "" || Number.isNaN(Number(value));
@@ -2484,7 +2504,7 @@ var NumberControl = createControl(
2484
2504
  }
2485
2505
  setValue(updatedValue, void 0, { validation: () => isInputValid });
2486
2506
  };
2487
- return /* @__PURE__ */ React52.createElement(ControlActions, null, /* @__PURE__ */ React52.createElement(
2507
+ return /* @__PURE__ */ React54.createElement(ControlActions, null, /* @__PURE__ */ React54.createElement(
2488
2508
  NumberInput,
2489
2509
  {
2490
2510
  size: "tiny",
@@ -2497,7 +2517,7 @@ var NumberControl = createControl(
2497
2517
  placeholder: labelPlaceholder ?? (isEmptyOrNaN(placeholder) ? "" : String(placeholder)),
2498
2518
  inputProps: { step, min },
2499
2519
  InputProps: {
2500
- startAdornment: startIcon ? /* @__PURE__ */ React52.createElement(InputAdornment3, { position: "start", disabled }, startIcon) : void 0
2520
+ startAdornment: startIcon ? /* @__PURE__ */ React54.createElement(InputAdornment3, { position: "start", disabled }, startIcon) : void 0
2501
2521
  }
2502
2522
  }
2503
2523
  ));
@@ -2505,17 +2525,17 @@ var NumberControl = createControl(
2505
2525
  );
2506
2526
 
2507
2527
  // src/controls/equal-unequal-sizes-control.tsx
2508
- import * as React54 from "react";
2528
+ import * as React56 from "react";
2509
2529
  import { useId as useId2, useRef as useRef8 } from "react";
2510
2530
  import { sizePropTypeUtil as sizePropTypeUtil3 } from "@elementor/editor-props";
2511
2531
  import { bindPopover as bindPopover3, bindToggle, Grid as Grid8, Popover as Popover3, Stack as Stack7, ToggleButton as ToggleButton2, Tooltip as Tooltip5, usePopupState as usePopupState4 } from "@elementor/ui";
2512
2532
  import { __ as __17 } from "@wordpress/i18n";
2513
2533
 
2514
2534
  // src/components/control-label.tsx
2515
- import * as React53 from "react";
2535
+ import * as React55 from "react";
2516
2536
  import { Stack as Stack6 } from "@elementor/ui";
2517
2537
  var ControlLabel = ({ children, ...props }) => {
2518
- return /* @__PURE__ */ React53.createElement(Stack6, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React53.createElement(ControlFormLabel, { ...props }, children), /* @__PURE__ */ React53.createElement(ControlAdornments, null));
2538
+ return /* @__PURE__ */ React55.createElement(Stack6, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React55.createElement(ControlFormLabel, { ...props }, children), /* @__PURE__ */ React55.createElement(ControlAdornments, null));
2519
2539
  };
2520
2540
 
2521
2541
  // src/controls/equal-unequal-sizes-control.tsx
@@ -2574,13 +2594,13 @@ function EqualUnequalSizesControl({
2574
2594
  };
2575
2595
  const isShowingGeneralIndicator = !popupState.isOpen;
2576
2596
  const isMixed = !!multiSizeValue;
2577
- return /* @__PURE__ */ React54.createElement(React54.Fragment, null, /* @__PURE__ */ React54.createElement(Grid8, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React54.createElement(Grid8, { item: true, xs: 6 }, !isShowingGeneralIndicator ? /* @__PURE__ */ React54.createElement(ControlFormLabel, null, label) : /* @__PURE__ */ React54.createElement(ControlLabel, null, label)), /* @__PURE__ */ React54.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(Stack7, { direction: "row", alignItems: "center", gap: 1 }, /* @__PURE__ */ React54.createElement(
2597
+ return /* @__PURE__ */ React56.createElement(React56.Fragment, null, /* @__PURE__ */ React56.createElement(Grid8, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React56.createElement(Grid8, { item: true, xs: 6 }, !isShowingGeneralIndicator ? /* @__PURE__ */ React56.createElement(ControlFormLabel, null, label) : /* @__PURE__ */ React56.createElement(ControlLabel, null, label)), /* @__PURE__ */ React56.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(Stack7, { direction: "row", alignItems: "center", gap: 1 }, /* @__PURE__ */ React56.createElement(
2578
2598
  SizeControl,
2579
2599
  {
2580
2600
  placeholder: isMixed ? __17("Mixed", "elementor") : void 0,
2581
2601
  anchorRef: rowRefs[0]
2582
2602
  }
2583
- ), /* @__PURE__ */ React54.createElement(Tooltip5, { title: tooltipLabel, placement: "top" }, /* @__PURE__ */ React54.createElement(
2603
+ ), /* @__PURE__ */ React56.createElement(Tooltip5, { title: tooltipLabel, placement: "top" }, /* @__PURE__ */ React56.createElement(
2584
2604
  ToggleButton2,
2585
2605
  {
2586
2606
  size: "tiny",
@@ -2591,7 +2611,7 @@ function EqualUnequalSizesControl({
2591
2611
  "aria-label": tooltipLabel
2592
2612
  },
2593
2613
  icon
2594
- ))))), /* @__PURE__ */ React54.createElement(
2614
+ ))))), /* @__PURE__ */ React56.createElement(
2595
2615
  Popover3,
2596
2616
  {
2597
2617
  disablePortal: true,
@@ -2609,7 +2629,7 @@ function EqualUnequalSizesControl({
2609
2629
  paper: { sx: { mt: 0.5, width: rowRefs[0].current?.getBoundingClientRect().width } }
2610
2630
  }
2611
2631
  },
2612
- /* @__PURE__ */ React54.createElement(
2632
+ /* @__PURE__ */ React56.createElement(
2613
2633
  PropProvider,
2614
2634
  {
2615
2635
  propType: multiSizePropType,
@@ -2617,16 +2637,16 @@ function EqualUnequalSizesControl({
2617
2637
  setValue: setNestedProp,
2618
2638
  isDisabled: () => multiSizeDisabled
2619
2639
  },
2620
- /* @__PURE__ */ React54.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React54.createElement(PopoverGridContainer, { ref: rowRefs[1] }, /* @__PURE__ */ React54.createElement(MultiSizeValueControl, { item: items2[0], rowRef: rowRefs[1] }), /* @__PURE__ */ React54.createElement(MultiSizeValueControl, { item: items2[1], rowRef: rowRefs[1] })), /* @__PURE__ */ React54.createElement(PopoverGridContainer, { ref: rowRefs[2] }, /* @__PURE__ */ React54.createElement(MultiSizeValueControl, { item: items2[2], rowRef: rowRefs[2] }), /* @__PURE__ */ React54.createElement(MultiSizeValueControl, { item: items2[3], rowRef: rowRefs[2] })))
2640
+ /* @__PURE__ */ React56.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React56.createElement(PopoverGridContainer, { ref: rowRefs[1] }, /* @__PURE__ */ React56.createElement(MultiSizeValueControl, { item: items2[0], rowRef: rowRefs[1] }), /* @__PURE__ */ React56.createElement(MultiSizeValueControl, { item: items2[1], rowRef: rowRefs[1] })), /* @__PURE__ */ React56.createElement(PopoverGridContainer, { ref: rowRefs[2] }, /* @__PURE__ */ React56.createElement(MultiSizeValueControl, { item: items2[2], rowRef: rowRefs[2] }), /* @__PURE__ */ React56.createElement(MultiSizeValueControl, { item: items2[3], rowRef: rowRefs[2] })))
2621
2641
  )
2622
2642
  ));
2623
2643
  }
2624
2644
  var MultiSizeValueControl = ({ item, rowRef }) => {
2625
- return /* @__PURE__ */ React54.createElement(PropKeyProvider, { bind: item.bind }, /* @__PURE__ */ React54.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(Grid8, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React54.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React54.createElement(ControlLabel, null, item.label)), /* @__PURE__ */ React54.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React54.createElement(SizeControl, { startIcon: item.icon, anchorRef: rowRef })))));
2645
+ return /* @__PURE__ */ React56.createElement(PropKeyProvider, { bind: item.bind }, /* @__PURE__ */ React56.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(Grid8, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React56.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React56.createElement(ControlLabel, null, item.label)), /* @__PURE__ */ React56.createElement(Grid8, { item: true, xs: 12 }, /* @__PURE__ */ React56.createElement(SizeControl, { startIcon: item.icon, anchorRef: rowRef })))));
2626
2646
  };
2627
2647
 
2628
2648
  // src/controls/linked-dimensions-control.tsx
2629
- import * as React55 from "react";
2649
+ import * as React57 from "react";
2630
2650
  import { useRef as useRef9 } from "react";
2631
2651
  import { dimensionsPropTypeUtil, sizePropTypeUtil as sizePropTypeUtil4 } from "@elementor/editor-props";
2632
2652
  import { DetachIcon, LinkIcon, SideBottomIcon, SideLeftIcon, SideRightIcon, SideTopIcon } from "@elementor/icons";
@@ -2673,7 +2693,7 @@ var LinkedDimensionsControl = ({
2673
2693
  const linkedLabel = __18("Link %s", "elementor").replace("%s", tooltipLabel);
2674
2694
  const unlinkedLabel = __18("Unlink %s", "elementor").replace("%s", tooltipLabel);
2675
2695
  const disabled = sizeDisabled || dimensionsDisabled;
2676
- return /* @__PURE__ */ React55.createElement(
2696
+ return /* @__PURE__ */ React57.createElement(
2677
2697
  PropProvider,
2678
2698
  {
2679
2699
  propType,
@@ -2682,7 +2702,7 @@ var LinkedDimensionsControl = ({
2682
2702
  placeholder: dimensionsPlaceholder,
2683
2703
  isDisabled: () => disabled
2684
2704
  },
2685
- /* @__PURE__ */ React55.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(ControlFormLabel, null, label), /* @__PURE__ */ React55.createElement(Tooltip6, { title: isLinked ? unlinkedLabel : linkedLabel, placement: "top" }, /* @__PURE__ */ React55.createElement(
2705
+ /* @__PURE__ */ React57.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(ControlFormLabel, null, label), /* @__PURE__ */ React57.createElement(Tooltip6, { title: isLinked ? unlinkedLabel : linkedLabel, placement: "top" }, /* @__PURE__ */ React57.createElement(
2686
2706
  StyledToggleButton,
2687
2707
  {
2688
2708
  "aria-label": isLinked ? unlinkedLabel : linkedLabel,
@@ -2694,9 +2714,9 @@ var LinkedDimensionsControl = ({
2694
2714
  disabled,
2695
2715
  isPlaceholder: hasPlaceholders
2696
2716
  },
2697
- /* @__PURE__ */ React55.createElement(LinkedIcon, { fontSize: "tiny" })
2717
+ /* @__PURE__ */ React57.createElement(LinkedIcon, { fontSize: "tiny" })
2698
2718
  ))),
2699
- getCssDimensionProps(isSiteRtl).map((row, index) => /* @__PURE__ */ React55.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap", key: index, ref: gridRowRefs[index] }, row.map(({ icon, ...props }) => /* @__PURE__ */ React55.createElement(Grid9, { container: true, gap: 0.75, alignItems: "center", key: props.bind }, /* @__PURE__ */ React55.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React55.createElement(Label, { ...props })), /* @__PURE__ */ React55.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React55.createElement(
2719
+ getCssDimensionProps(isSiteRtl).map((row, index) => /* @__PURE__ */ React57.createElement(Stack8, { direction: "row", gap: 2, flexWrap: "nowrap", key: index, ref: gridRowRefs[index] }, row.map(({ icon, ...props }) => /* @__PURE__ */ React57.createElement(Grid9, { container: true, gap: 0.75, alignItems: "center", key: props.bind }, /* @__PURE__ */ React57.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React57.createElement(Label, { ...props })), /* @__PURE__ */ React57.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React57.createElement(
2700
2720
  Control3,
2701
2721
  {
2702
2722
  bind: props.bind,
@@ -2718,7 +2738,7 @@ var Control3 = ({
2718
2738
  min
2719
2739
  }) => {
2720
2740
  if (isLinked) {
2721
- return /* @__PURE__ */ React55.createElement(
2741
+ return /* @__PURE__ */ React57.createElement(
2722
2742
  SizeControl,
2723
2743
  {
2724
2744
  startIcon,
@@ -2728,7 +2748,7 @@ var Control3 = ({
2728
2748
  }
2729
2749
  );
2730
2750
  }
2731
- return /* @__PURE__ */ React55.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React55.createElement(
2751
+ return /* @__PURE__ */ React57.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React57.createElement(
2732
2752
  SizeControl,
2733
2753
  {
2734
2754
  startIcon,
@@ -2739,7 +2759,7 @@ var Control3 = ({
2739
2759
  ));
2740
2760
  };
2741
2761
  var Label = ({ label, bind }) => {
2742
- return /* @__PURE__ */ React55.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React55.createElement(ControlLabel, null, label));
2762
+ return /* @__PURE__ */ React57.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React57.createElement(ControlLabel, null, label));
2743
2763
  };
2744
2764
  function getCssDimensionProps(isSiteRtl) {
2745
2765
  return [
@@ -2747,38 +2767,38 @@ function getCssDimensionProps(isSiteRtl) {
2747
2767
  {
2748
2768
  bind: "block-start",
2749
2769
  label: __18("Top", "elementor"),
2750
- icon: /* @__PURE__ */ React55.createElement(SideTopIcon, { fontSize: "tiny" })
2770
+ icon: /* @__PURE__ */ React57.createElement(SideTopIcon, { fontSize: "tiny" })
2751
2771
  },
2752
2772
  {
2753
2773
  bind: "inline-end",
2754
2774
  label: isSiteRtl ? __18("Left", "elementor") : __18("Right", "elementor"),
2755
- icon: isSiteRtl ? /* @__PURE__ */ React55.createElement(SideLeftIcon, { fontSize: "tiny" }) : /* @__PURE__ */ React55.createElement(SideRightIcon, { fontSize: "tiny" })
2775
+ icon: isSiteRtl ? /* @__PURE__ */ React57.createElement(SideLeftIcon, { fontSize: "tiny" }) : /* @__PURE__ */ React57.createElement(SideRightIcon, { fontSize: "tiny" })
2756
2776
  }
2757
2777
  ],
2758
2778
  [
2759
2779
  {
2760
2780
  bind: "block-end",
2761
2781
  label: __18("Bottom", "elementor"),
2762
- icon: /* @__PURE__ */ React55.createElement(SideBottomIcon, { fontSize: "tiny" })
2782
+ icon: /* @__PURE__ */ React57.createElement(SideBottomIcon, { fontSize: "tiny" })
2763
2783
  },
2764
2784
  {
2765
2785
  bind: "inline-start",
2766
2786
  label: isSiteRtl ? __18("Right", "elementor") : __18("Left", "elementor"),
2767
- icon: isSiteRtl ? /* @__PURE__ */ React55.createElement(SideRightIcon, { fontSize: "tiny" }) : /* @__PURE__ */ React55.createElement(SideLeftIcon, { fontSize: "tiny" })
2787
+ icon: isSiteRtl ? /* @__PURE__ */ React57.createElement(SideRightIcon, { fontSize: "tiny" }) : /* @__PURE__ */ React57.createElement(SideLeftIcon, { fontSize: "tiny" })
2768
2788
  }
2769
2789
  ]
2770
2790
  ];
2771
2791
  }
2772
2792
 
2773
2793
  // src/controls/font-family-control/font-family-control.tsx
2774
- import * as React57 from "react";
2794
+ import * as React59 from "react";
2775
2795
  import { stringPropTypeUtil as stringPropTypeUtil5 } from "@elementor/editor-props";
2776
2796
  import { ChevronDownIcon as ChevronDownIcon2, TextIcon } from "@elementor/icons";
2777
2797
  import { bindPopover as bindPopover4, bindTrigger as bindTrigger3, Popover as Popover4, UnstableTag as UnstableTag2, usePopupState as usePopupState5 } from "@elementor/ui";
2778
2798
  import { __ as __20 } from "@wordpress/i18n";
2779
2799
 
2780
2800
  // src/components/item-selector.tsx
2781
- import * as React56 from "react";
2801
+ import * as React58 from "react";
2782
2802
  import { useCallback, useEffect as useEffect6, useState as useState8 } from "react";
2783
2803
  import { PopoverBody, PopoverHeader as PopoverHeader2, PopoverMenuList, SearchField } from "@elementor/editor-ui";
2784
2804
  import { Box as Box7, Divider as Divider2, Link, Stack as Stack9, Typography as Typography4 } from "@elementor/ui";
@@ -2826,7 +2846,7 @@ var ItemSelector = ({
2826
2846
  setSearchValue("");
2827
2847
  onClose();
2828
2848
  };
2829
- return /* @__PURE__ */ React56.createElement(PopoverBody, { width: sectionWidth, id }, /* @__PURE__ */ React56.createElement(PopoverHeader2, { title, onClose: handleClose, icon: /* @__PURE__ */ React56.createElement(IconComponent, { fontSize: "tiny" }) }), /* @__PURE__ */ React56.createElement(
2849
+ return /* @__PURE__ */ React58.createElement(PopoverBody, { width: sectionWidth, id }, /* @__PURE__ */ React58.createElement(PopoverHeader2, { title, onClose: handleClose, icon: /* @__PURE__ */ React58.createElement(IconComponent, { fontSize: "tiny" }) }), /* @__PURE__ */ React58.createElement(
2830
2850
  SearchField,
2831
2851
  {
2832
2852
  value: searchValue,
@@ -2834,7 +2854,7 @@ var ItemSelector = ({
2834
2854
  placeholder: __19("Search", "elementor"),
2835
2855
  id: id + "-search"
2836
2856
  }
2837
- ), /* @__PURE__ */ React56.createElement(Divider2, null), filteredItemsList.length > 0 ? /* @__PURE__ */ React56.createElement(
2857
+ ), /* @__PURE__ */ React58.createElement(Divider2, null), filteredItemsList.length > 0 ? /* @__PURE__ */ React58.createElement(
2838
2858
  ItemList,
2839
2859
  {
2840
2860
  itemListItems: filteredItemsList,
@@ -2844,7 +2864,7 @@ var ItemSelector = ({
2844
2864
  itemStyle,
2845
2865
  onDebounce
2846
2866
  }
2847
- ) : /* @__PURE__ */ React56.createElement(
2867
+ ) : /* @__PURE__ */ React58.createElement(
2848
2868
  Stack9,
2849
2869
  {
2850
2870
  alignItems: "center",
@@ -2854,16 +2874,16 @@ var ItemSelector = ({
2854
2874
  gap: 1.5,
2855
2875
  overflow: "hidden"
2856
2876
  },
2857
- /* @__PURE__ */ React56.createElement(IconComponent, { fontSize: "large" }),
2858
- /* @__PURE__ */ React56.createElement(Box7, { sx: { maxWidth: 160, overflow: "hidden" } }, /* @__PURE__ */ React56.createElement(Typography4, { align: "center", variant: "subtitle2", color: "text.secondary" }, __19("Sorry, nothing matched", "elementor")), /* @__PURE__ */ React56.createElement(
2877
+ /* @__PURE__ */ React58.createElement(IconComponent, { fontSize: "large" }),
2878
+ /* @__PURE__ */ React58.createElement(Box7, { sx: { maxWidth: 160, overflow: "hidden" } }, /* @__PURE__ */ React58.createElement(Typography4, { align: "center", variant: "subtitle2", color: "text.secondary" }, __19("Sorry, nothing matched", "elementor")), /* @__PURE__ */ React58.createElement(
2859
2879
  Typography4,
2860
2880
  {
2861
2881
  variant: "subtitle2",
2862
2882
  color: "text.secondary",
2863
2883
  sx: { display: "flex", width: "100%", justifyContent: "center" }
2864
2884
  },
2865
- /* @__PURE__ */ React56.createElement("span", null, "\u201C"),
2866
- /* @__PURE__ */ React56.createElement(
2885
+ /* @__PURE__ */ React58.createElement("span", null, "\u201C"),
2886
+ /* @__PURE__ */ React58.createElement(
2867
2887
  Box7,
2868
2888
  {
2869
2889
  component: "span",
@@ -2871,9 +2891,9 @@ var ItemSelector = ({
2871
2891
  },
2872
2892
  searchValue
2873
2893
  ),
2874
- /* @__PURE__ */ React56.createElement("span", null, "\u201D.")
2894
+ /* @__PURE__ */ React58.createElement("span", null, "\u201D.")
2875
2895
  )),
2876
- /* @__PURE__ */ React56.createElement(
2896
+ /* @__PURE__ */ React58.createElement(
2877
2897
  Typography4,
2878
2898
  {
2879
2899
  align: "center",
@@ -2882,7 +2902,7 @@ var ItemSelector = ({
2882
2902
  sx: { display: "flex", flexDirection: "column" }
2883
2903
  },
2884
2904
  __19("Try something else.", "elementor"),
2885
- /* @__PURE__ */ React56.createElement(
2905
+ /* @__PURE__ */ React58.createElement(
2886
2906
  Link,
2887
2907
  {
2888
2908
  color: "secondary",
@@ -2914,7 +2934,7 @@ var ItemList = ({
2914
2934
  });
2915
2935
  }, 100);
2916
2936
  const memoizedItemStyle = useCallback((item) => itemStyle(item), [itemStyle]);
2917
- return /* @__PURE__ */ React56.createElement(
2937
+ return /* @__PURE__ */ React58.createElement(
2918
2938
  PopoverMenuList,
2919
2939
  {
2920
2940
  items: itemListItems,
@@ -2950,19 +2970,19 @@ var FontFamilyControl = createControl(
2950
2970
  } = useBoundProp(stringPropTypeUtil5);
2951
2971
  const popoverState = usePopupState5({ variant: "popover" });
2952
2972
  const isShowingPlaceholder = !fontFamily && placeholder;
2953
- const mapFontSubs = React57.useMemo(() => {
2973
+ const mapFontSubs = React59.useMemo(() => {
2954
2974
  return fontFamilies.map(({ label, fonts }) => ({
2955
2975
  label,
2956
2976
  items: fonts
2957
2977
  }));
2958
2978
  }, [fontFamilies]);
2959
- return /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(ControlActions, null, /* @__PURE__ */ React57.createElement(
2979
+ return /* @__PURE__ */ React59.createElement(React59.Fragment, null, /* @__PURE__ */ React59.createElement(ControlActions, null, /* @__PURE__ */ React59.createElement(
2960
2980
  UnstableTag2,
2961
2981
  {
2962
2982
  id: "font-family-control",
2963
2983
  variant: "outlined",
2964
2984
  label: fontFamily || placeholder,
2965
- endIcon: /* @__PURE__ */ React57.createElement(ChevronDownIcon2, { fontSize: "tiny" }),
2985
+ endIcon: /* @__PURE__ */ React59.createElement(ChevronDownIcon2, { fontSize: "tiny" }),
2966
2986
  ...bindTrigger3(popoverState),
2967
2987
  fullWidth: true,
2968
2988
  disabled,
@@ -2974,7 +2994,7 @@ var FontFamilyControl = createControl(
2974
2994
  textTransform: "capitalize"
2975
2995
  } : void 0
2976
2996
  }
2977
- )), /* @__PURE__ */ React57.createElement(
2997
+ )), /* @__PURE__ */ React59.createElement(
2978
2998
  Popover4,
2979
2999
  {
2980
3000
  disablePortal: true,
@@ -2984,7 +3004,7 @@ var FontFamilyControl = createControl(
2984
3004
  sx: { my: 1.5 },
2985
3005
  ...bindPopover4(popoverState)
2986
3006
  },
2987
- /* @__PURE__ */ React57.createElement(
3007
+ /* @__PURE__ */ React59.createElement(
2988
3008
  ItemSelector,
2989
3009
  {
2990
3010
  id: "font-family-selector",
@@ -3004,14 +3024,14 @@ var FontFamilyControl = createControl(
3004
3024
  );
3005
3025
 
3006
3026
  // src/controls/url-control.tsx
3007
- import * as React58 from "react";
3027
+ import * as React60 from "react";
3008
3028
  import { urlPropTypeUtil } from "@elementor/editor-props";
3009
3029
  import { TextField as TextField5 } from "@elementor/ui";
3010
3030
  var UrlControl = createControl(
3011
3031
  ({ placeholder, ariaLabel }) => {
3012
3032
  const { value, setValue, disabled } = useBoundProp(urlPropTypeUtil);
3013
3033
  const handleChange = (event) => setValue(event.target.value);
3014
- return /* @__PURE__ */ React58.createElement(ControlActions, null, /* @__PURE__ */ React58.createElement(
3034
+ return /* @__PURE__ */ React60.createElement(ControlActions, null, /* @__PURE__ */ React60.createElement(
3015
3035
  TextField5,
3016
3036
  {
3017
3037
  size: "tiny",
@@ -3029,7 +3049,7 @@ var UrlControl = createControl(
3029
3049
  );
3030
3050
 
3031
3051
  // src/controls/link-control.tsx
3032
- import * as React63 from "react";
3052
+ import * as React65 from "react";
3033
3053
  import { useState as useState10 } from "react";
3034
3054
  import { getLinkInLinkRestriction } from "@elementor/editor-elements";
3035
3055
  import { linkPropTypeUtil } from "@elementor/editor-props";
@@ -3039,7 +3059,7 @@ import { Collapse, Grid as Grid10, IconButton as IconButton6, Stack as Stack10 }
3039
3059
  import { __ as __23 } from "@wordpress/i18n";
3040
3060
 
3041
3061
  // src/components/restricted-link-infotip.tsx
3042
- import * as React59 from "react";
3062
+ import * as React61 from "react";
3043
3063
  import { selectElement } from "@elementor/editor-elements";
3044
3064
  import { InfoCircleFilledIcon } from "@elementor/icons";
3045
3065
  import { Alert, AlertAction, AlertTitle, Box as Box8, Infotip as Infotip2, Link as Link2 } from "@elementor/ui";
@@ -3066,12 +3086,12 @@ var RestrictedLinkInfotip = ({
3066
3086
  selectElement(elementId);
3067
3087
  }
3068
3088
  };
3069
- const content = /* @__PURE__ */ React59.createElement(
3089
+ const content = /* @__PURE__ */ React61.createElement(
3070
3090
  Alert,
3071
3091
  {
3072
3092
  color: "secondary",
3073
- icon: /* @__PURE__ */ React59.createElement(InfoCircleFilledIcon, null),
3074
- action: /* @__PURE__ */ React59.createElement(
3093
+ icon: /* @__PURE__ */ React61.createElement(InfoCircleFilledIcon, null),
3094
+ action: /* @__PURE__ */ React61.createElement(
3075
3095
  AlertAction,
3076
3096
  {
3077
3097
  sx: { width: "fit-content" },
@@ -3082,10 +3102,10 @@ var RestrictedLinkInfotip = ({
3082
3102
  __21("Take me there", "elementor")
3083
3103
  )
3084
3104
  },
3085
- /* @__PURE__ */ React59.createElement(AlertTitle, null, __21("Nested links", "elementor")),
3086
- /* @__PURE__ */ React59.createElement(Box8, { component: "span" }, INFOTIP_CONTENT[reason ?? "descendant"], " ", /* @__PURE__ */ React59.createElement(Link2, { href: learnMoreButton.href, target: "_blank", color: "info.main" }, learnMoreButton.label))
3105
+ /* @__PURE__ */ React61.createElement(AlertTitle, null, __21("Nested links", "elementor")),
3106
+ /* @__PURE__ */ React61.createElement(Box8, { component: "span" }, INFOTIP_CONTENT[reason ?? "descendant"], " ", /* @__PURE__ */ React61.createElement(Link2, { href: learnMoreButton.href, target: "_blank", color: "info.main" }, learnMoreButton.label))
3087
3107
  );
3088
- return shouldRestrict && isVisible ? /* @__PURE__ */ React59.createElement(
3108
+ return shouldRestrict && isVisible ? /* @__PURE__ */ React61.createElement(
3089
3109
  Infotip2,
3090
3110
  {
3091
3111
  placement: "right",
@@ -3093,12 +3113,12 @@ var RestrictedLinkInfotip = ({
3093
3113
  color: "secondary",
3094
3114
  slotProps: { popper: { sx: { width: 300 } } }
3095
3115
  },
3096
- /* @__PURE__ */ React59.createElement(Box8, null, children)
3097
- ) : /* @__PURE__ */ React59.createElement(React59.Fragment, null, children);
3116
+ /* @__PURE__ */ React61.createElement(Box8, null, children)
3117
+ ) : /* @__PURE__ */ React61.createElement(React61.Fragment, null, children);
3098
3118
  };
3099
3119
 
3100
3120
  // src/controls/query-control.tsx
3101
- import * as React61 from "react";
3121
+ import * as React63 from "react";
3102
3122
  import { useMemo as useMemo6, useState as useState9 } from "react";
3103
3123
  import { numberPropTypeUtil as numberPropTypeUtil2, stringPropTypeUtil as stringPropTypeUtil6, urlPropTypeUtil as urlPropTypeUtil2 } from "@elementor/editor-props";
3104
3124
  import { httpService as httpService2 } from "@elementor/http-client";
@@ -3107,8 +3127,8 @@ import { debounce as debounce2 } from "@elementor/utils";
3107
3127
  import { __ as __22 } from "@wordpress/i18n";
3108
3128
 
3109
3129
  // src/components/autocomplete.tsx
3110
- import * as React60 from "react";
3111
- import { forwardRef as forwardRef6 } from "react";
3130
+ import * as React62 from "react";
3131
+ import { forwardRef as forwardRef7 } from "react";
3112
3132
  import { XIcon as XIcon2 } from "@elementor/icons";
3113
3133
  import {
3114
3134
  Autocomplete as AutocompleteBase,
@@ -3117,7 +3137,7 @@ import {
3117
3137
  InputAdornment as InputAdornment4,
3118
3138
  TextField as TextField6
3119
3139
  } from "@elementor/ui";
3120
- var Autocomplete = forwardRef6((props, ref) => {
3140
+ var Autocomplete = forwardRef7((props, ref) => {
3121
3141
  const {
3122
3142
  options,
3123
3143
  onOptionChange,
@@ -3138,7 +3158,7 @@ var Autocomplete = forwardRef6((props, ref) => {
3138
3158
  const valueLength = value?.toString()?.length ?? 0;
3139
3159
  const meetsMinLength = valueLength >= minInputLength;
3140
3160
  const shouldOpen = meetsMinLength && (allowCustomValues ? optionKeys.length > 0 : true);
3141
- return /* @__PURE__ */ React60.createElement(
3161
+ return /* @__PURE__ */ React62.createElement(
3142
3162
  AutocompleteBase,
3143
3163
  {
3144
3164
  ...restProps,
@@ -3159,8 +3179,8 @@ var Autocomplete = forwardRef6((props, ref) => {
3159
3179
  groupBy: isCategorizedOptionPool(options) ? (optionId) => findMatchingOption(options, optionId)?.groupLabel || optionId : void 0,
3160
3180
  isOptionEqualToValue,
3161
3181
  filterOptions: () => optionKeys,
3162
- renderOption: (optionProps, optionId) => /* @__PURE__ */ React60.createElement(Box9, { component: "li", ...optionProps, key: optionProps.id }, findMatchingOption(options, optionId)?.label ?? optionId),
3163
- renderInput: (params) => /* @__PURE__ */ React60.createElement(
3182
+ renderOption: (optionProps, optionId) => /* @__PURE__ */ React62.createElement(Box9, { component: "li", ...optionProps, key: optionProps.id }, findMatchingOption(options, optionId)?.label ?? optionId),
3183
+ renderInput: (params) => /* @__PURE__ */ React62.createElement(
3164
3184
  TextInput,
3165
3185
  {
3166
3186
  params,
@@ -3187,7 +3207,7 @@ var TextInput = ({
3187
3207
  const onChange = (event) => {
3188
3208
  handleChange(event.target.value);
3189
3209
  };
3190
- return /* @__PURE__ */ React60.createElement(
3210
+ return /* @__PURE__ */ React62.createElement(
3191
3211
  TextField6,
3192
3212
  {
3193
3213
  ...params,
@@ -3201,8 +3221,8 @@ var TextInput = ({
3201
3221
  },
3202
3222
  InputProps: {
3203
3223
  ...params.InputProps,
3204
- startAdornment: startAdornment ? /* @__PURE__ */ React60.createElement(InputAdornment4, { position: "start" }, startAdornment) : params.InputProps.startAdornment,
3205
- endAdornment: /* @__PURE__ */ React60.createElement(ClearButton, { params, allowClear, handleChange })
3224
+ startAdornment: startAdornment ? /* @__PURE__ */ React62.createElement(InputAdornment4, { position: "start" }, startAdornment) : params.InputProps.startAdornment,
3225
+ endAdornment: /* @__PURE__ */ React62.createElement(ClearButton, { params, allowClear, handleChange })
3206
3226
  }
3207
3227
  }
3208
3228
  );
@@ -3211,7 +3231,7 @@ var ClearButton = ({
3211
3231
  allowClear,
3212
3232
  handleChange,
3213
3233
  params
3214
- }) => /* @__PURE__ */ React60.createElement(InputAdornment4, { position: "end" }, allowClear && /* @__PURE__ */ React60.createElement(IconButton5, { size: params.size, onClick: () => handleChange(null), sx: { cursor: "pointer" } }, /* @__PURE__ */ React60.createElement(XIcon2, { fontSize: params.size })));
3234
+ }) => /* @__PURE__ */ React62.createElement(InputAdornment4, { position: "end" }, allowClear && /* @__PURE__ */ React62.createElement(IconButton5, { size: params.size, onClick: () => handleChange(null), sx: { cursor: "pointer" } }, /* @__PURE__ */ React62.createElement(XIcon2, { fontSize: params.size })));
3215
3235
  function findMatchingOption(options, optionId = null) {
3216
3236
  const formattedOption = (optionId || "").toString();
3217
3237
  return options.find(({ id }) => formattedOption === id.toString());
@@ -3295,13 +3315,13 @@ var QueryControl = createControl((props) => {
3295
3315
  ),
3296
3316
  [url]
3297
3317
  );
3298
- return /* @__PURE__ */ React61.createElement(ControlActions, null, /* @__PURE__ */ React61.createElement(
3318
+ return /* @__PURE__ */ React63.createElement(ControlActions, null, /* @__PURE__ */ React63.createElement(
3299
3319
  Autocomplete,
3300
3320
  {
3301
3321
  options,
3302
3322
  allowCustomValues,
3303
3323
  placeholder: normalizedPlaceholder,
3304
- startAdornment: /* @__PURE__ */ React61.createElement(SearchIcon, { fontSize: "tiny" }),
3324
+ startAdornment: /* @__PURE__ */ React63.createElement(SearchIcon, { fontSize: "tiny" }),
3305
3325
  value: value?.value?.id?.value || value?.value,
3306
3326
  onOptionChange,
3307
3327
  onTextChange,
@@ -3343,7 +3363,7 @@ function generateFirstLoadedOption(unionValue) {
3343
3363
  }
3344
3364
 
3345
3365
  // src/controls/switch-control.tsx
3346
- import * as React62 from "react";
3366
+ import * as React64 from "react";
3347
3367
  import { booleanPropTypeUtil } from "@elementor/editor-props";
3348
3368
  import { Box as Box10, Switch } from "@elementor/ui";
3349
3369
  var SwitchControl = createControl(() => {
@@ -3351,7 +3371,7 @@ var SwitchControl = createControl(() => {
3351
3371
  const handleChange = (event) => {
3352
3372
  setValue(event.target.checked);
3353
3373
  };
3354
- return /* @__PURE__ */ React62.createElement(Box10, { sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React62.createElement(
3374
+ return /* @__PURE__ */ React64.createElement(Box10, { sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React64.createElement(
3355
3375
  Switch,
3356
3376
  {
3357
3377
  checked: !!value,
@@ -3407,7 +3427,7 @@ var LinkControl = createControl((props) => {
3407
3427
  } : null;
3408
3428
  setLinkSessionValue({ ...linkSessionValue, value: valueToSave });
3409
3429
  };
3410
- return /* @__PURE__ */ React63.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React63.createElement(Stack10, { gap: 1.5 }, /* @__PURE__ */ React63.createElement(
3430
+ return /* @__PURE__ */ React65.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React65.createElement(Stack10, { gap: 1.5 }, /* @__PURE__ */ React65.createElement(
3411
3431
  Stack10,
3412
3432
  {
3413
3433
  direction: "row",
@@ -3417,8 +3437,8 @@ var LinkControl = createControl((props) => {
3417
3437
  marginInlineEnd: -0.75
3418
3438
  }
3419
3439
  },
3420
- /* @__PURE__ */ React63.createElement(ControlFormLabel, null, label),
3421
- /* @__PURE__ */ React63.createElement(RestrictedLinkInfotip, { isVisible: !isActive, linkInLinkRestriction }, /* @__PURE__ */ React63.createElement(
3440
+ /* @__PURE__ */ React65.createElement(ControlFormLabel, null, label),
3441
+ /* @__PURE__ */ React65.createElement(RestrictedLinkInfotip, { isVisible: !isActive, linkInLinkRestriction }, /* @__PURE__ */ React65.createElement(
3422
3442
  ToggleIconControl,
3423
3443
  {
3424
3444
  disabled: shouldDisableAddingLink,
@@ -3427,7 +3447,7 @@ var LinkControl = createControl((props) => {
3427
3447
  label: __23("Toggle link", "elementor")
3428
3448
  }
3429
3449
  ))
3430
- ), /* @__PURE__ */ React63.createElement(Collapse, { in: isActive, timeout: "auto", unmountOnExit: true }, /* @__PURE__ */ React63.createElement(Stack10, { gap: 1.5 }, /* @__PURE__ */ React63.createElement(PropKeyProvider, { bind: "destination" }, /* @__PURE__ */ React63.createElement(
3450
+ ), /* @__PURE__ */ React65.createElement(Collapse, { in: isActive, timeout: "auto", unmountOnExit: true }, /* @__PURE__ */ React65.createElement(Stack10, { gap: 1.5 }, /* @__PURE__ */ React65.createElement(PropKeyProvider, { bind: "destination" }, /* @__PURE__ */ React65.createElement(
3431
3451
  QueryControl,
3432
3452
  {
3433
3453
  queryOptions,
@@ -3437,14 +3457,14 @@ var LinkControl = createControl((props) => {
3437
3457
  onSetValue: onSaveValueToSession,
3438
3458
  ariaLabel: ariaLabel || label
3439
3459
  }
3440
- )), /* @__PURE__ */ React63.createElement(PropKeyProvider, { bind: "isTargetBlank" }, /* @__PURE__ */ React63.createElement(Grid10, { container: true, alignItems: "center", flexWrap: "nowrap", justifyContent: "space-between" }, /* @__PURE__ */ React63.createElement(Grid10, { item: true }, /* @__PURE__ */ React63.createElement(ControlFormLabel, null, __23("Open in a new tab", "elementor"))), /* @__PURE__ */ React63.createElement(Grid10, { item: true, sx: { marginInlineEnd: -1 } }, /* @__PURE__ */ React63.createElement(SwitchControl, null))))))));
3460
+ )), /* @__PURE__ */ React65.createElement(PropKeyProvider, { bind: "isTargetBlank" }, /* @__PURE__ */ React65.createElement(Grid10, { container: true, alignItems: "center", flexWrap: "nowrap", justifyContent: "space-between" }, /* @__PURE__ */ React65.createElement(Grid10, { item: true }, /* @__PURE__ */ React65.createElement(ControlFormLabel, null, __23("Open in a new tab", "elementor"))), /* @__PURE__ */ React65.createElement(Grid10, { item: true, sx: { marginInlineEnd: -1 } }, /* @__PURE__ */ React65.createElement(SwitchControl, null))))))));
3441
3461
  });
3442
3462
  var ToggleIconControl = ({ disabled, active, onIconClick, label }) => {
3443
- return /* @__PURE__ */ React63.createElement(IconButton6, { size: SIZE6, onClick: onIconClick, "aria-label": label, disabled }, active ? /* @__PURE__ */ React63.createElement(MinusIcon, { fontSize: SIZE6 }) : /* @__PURE__ */ React63.createElement(PlusIcon2, { fontSize: SIZE6 }));
3463
+ return /* @__PURE__ */ React65.createElement(IconButton6, { size: SIZE6, onClick: onIconClick, "aria-label": label, disabled }, active ? /* @__PURE__ */ React65.createElement(MinusIcon, { fontSize: SIZE6 }) : /* @__PURE__ */ React65.createElement(PlusIcon2, { fontSize: SIZE6 }));
3444
3464
  };
3445
3465
 
3446
3466
  // src/controls/html-tag-control.tsx
3447
- import * as React65 from "react";
3467
+ import * as React67 from "react";
3448
3468
  import { getElementLabel } from "@elementor/editor-elements";
3449
3469
  import { stringPropTypeUtil as stringPropTypeUtil7 } from "@elementor/editor-props";
3450
3470
  import { MenuListItem as MenuListItem3 } from "@elementor/editor-ui";
@@ -3452,17 +3472,17 @@ import { Select as Select2, styled as styled7, Typography as Typography5 } from
3452
3472
  import { __ as __24 } from "@wordpress/i18n";
3453
3473
 
3454
3474
  // src/components/conditional-control-infotip.tsx
3455
- import * as React64 from "react";
3475
+ import * as React66 from "react";
3456
3476
  import { InfoAlert } from "@elementor/editor-ui";
3457
3477
  import { AlertTitle as AlertTitle2, Box as Box11, Infotip as Infotip3, useTheme as useTheme2 } from "@elementor/ui";
3458
3478
  import { DirectionProvider } from "@elementor/ui";
3459
3479
  var DEFAULT_COLOR = "secondary";
3460
- var ConditionalControlInfotip = React64.forwardRef(
3480
+ var ConditionalControlInfotip = React66.forwardRef(
3461
3481
  ({ children, title, description, alertProps, infotipProps, ...props }, ref) => {
3462
3482
  const theme = useTheme2();
3463
3483
  const isUiRtl = "rtl" === theme.direction;
3464
3484
  const isEnabled = props.isEnabled && (title || description);
3465
- return /* @__PURE__ */ React64.createElement(Box11, { ref }, isEnabled ? /* @__PURE__ */ React64.createElement(DirectionProvider, { rtl: isUiRtl }, /* @__PURE__ */ React64.createElement(
3485
+ return /* @__PURE__ */ React66.createElement(Box11, { ref }, isEnabled ? /* @__PURE__ */ React66.createElement(DirectionProvider, { rtl: isUiRtl }, /* @__PURE__ */ React66.createElement(
3466
3486
  Infotip3,
3467
3487
  {
3468
3488
  placement: "right",
@@ -3480,14 +3500,14 @@ var ConditionalControlInfotip = React64.forwardRef(
3480
3500
  }
3481
3501
  },
3482
3502
  ...infotipProps,
3483
- content: /* @__PURE__ */ React64.createElement(
3503
+ content: /* @__PURE__ */ React66.createElement(
3484
3504
  InfoAlert,
3485
3505
  {
3486
3506
  color: DEFAULT_COLOR,
3487
3507
  sx: { width: 300, px: 1.5, py: 2 },
3488
3508
  ...alertProps
3489
3509
  },
3490
- /* @__PURE__ */ React64.createElement(Box11, { sx: { flexDirection: "column", display: "flex", gap: 0.5 } }, /* @__PURE__ */ React64.createElement(AlertTitle2, null, title), /* @__PURE__ */ React64.createElement(Box11, null, description))
3510
+ /* @__PURE__ */ React66.createElement(Box11, { sx: { flexDirection: "column", display: "flex", gap: 0.5 } }, /* @__PURE__ */ React66.createElement(AlertTitle2, null, title), /* @__PURE__ */ React66.createElement(Box11, null, description))
3491
3511
  )
3492
3512
  },
3493
3513
  children
@@ -3523,10 +3543,10 @@ var HtmlTagControl = createControl(({ options, onChange, fallbackLabels = {} })
3523
3543
  }
3524
3544
  const placeholderOption = findOptionByValue(placeholder);
3525
3545
  const displayText = placeholderOption?.label || placeholder;
3526
- return /* @__PURE__ */ React65.createElement(Typography5, { component: "span", variant: "caption", color: "text.tertiary" }, displayText);
3546
+ return /* @__PURE__ */ React67.createElement(Typography5, { component: "span", variant: "caption", color: "text.tertiary" }, displayText);
3527
3547
  };
3528
3548
  const findOptionByValue = (searchValue) => options.find((opt) => opt.value === searchValue);
3529
- return /* @__PURE__ */ React65.createElement(ControlActions, null, /* @__PURE__ */ React65.createElement(ConditionalControlInfotip, { ...infoTipProps }, /* @__PURE__ */ React65.createElement(
3549
+ return /* @__PURE__ */ React67.createElement(ControlActions, null, /* @__PURE__ */ React67.createElement(ConditionalControlInfotip, { ...infoTipProps }, /* @__PURE__ */ React67.createElement(
3530
3550
  StyledSelect,
3531
3551
  {
3532
3552
  sx: { overflow: "hidden", cursor: disabled ? "not-allowed" : void 0 },
@@ -3538,12 +3558,12 @@ var HtmlTagControl = createControl(({ options, onChange, fallbackLabels = {} })
3538
3558
  disabled,
3539
3559
  fullWidth: true
3540
3560
  },
3541
- options.map(({ label, ...props }) => /* @__PURE__ */ React65.createElement(MenuListItem3, { key: props.value, ...props, value: props.value ?? "" }, label))
3561
+ options.map(({ label, ...props }) => /* @__PURE__ */ React67.createElement(MenuListItem3, { key: props.value, ...props, value: props.value ?? "" }, label))
3542
3562
  )));
3543
3563
  });
3544
3564
 
3545
3565
  // src/controls/gap-control.tsx
3546
- import * as React66 from "react";
3566
+ import * as React68 from "react";
3547
3567
  import { useRef as useRef10 } from "react";
3548
3568
  import { layoutDirectionPropTypeUtil, sizePropTypeUtil as sizePropTypeUtil5 } from "@elementor/editor-props";
3549
3569
  import { DetachIcon as DetachIcon2, LinkIcon as LinkIcon2 } from "@elementor/icons";
@@ -3575,7 +3595,7 @@ var GapControl = ({ label }) => {
3575
3595
  const linkedLabel = __25("Link %s", "elementor").replace("%s", tooltipLabel);
3576
3596
  const unlinkedLabel = __25("Unlink %s", "elementor").replace("%s", tooltipLabel);
3577
3597
  const disabled = sizeDisabled || directionDisabled;
3578
- return /* @__PURE__ */ React66.createElement(PropProvider, { propType, value: directionValue, setValue: setDirectionValue }, /* @__PURE__ */ React66.createElement(Stack11, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React66.createElement(ControlLabel, null, label), /* @__PURE__ */ React66.createElement(Tooltip7, { title: isLinked ? unlinkedLabel : linkedLabel, placement: "top" }, /* @__PURE__ */ React66.createElement(
3598
+ return /* @__PURE__ */ React68.createElement(PropProvider, { propType, value: directionValue, setValue: setDirectionValue }, /* @__PURE__ */ React68.createElement(Stack11, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React68.createElement(ControlLabel, null, label), /* @__PURE__ */ React68.createElement(Tooltip7, { title: isLinked ? unlinkedLabel : linkedLabel, placement: "top" }, /* @__PURE__ */ React68.createElement(
3579
3599
  ToggleButton3,
3580
3600
  {
3581
3601
  "aria-label": isLinked ? unlinkedLabel : linkedLabel,
@@ -3586,8 +3606,8 @@ var GapControl = ({ label }) => {
3586
3606
  onChange: onLinkToggle,
3587
3607
  disabled
3588
3608
  },
3589
- /* @__PURE__ */ React66.createElement(LinkedIcon, { fontSize: "tiny" })
3590
- ))), /* @__PURE__ */ React66.createElement(Stack11, { direction: "row", gap: 2, flexWrap: "nowrap", ref: stackRef }, /* @__PURE__ */ React66.createElement(Grid11, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React66.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React66.createElement(ControlFormLabel, null, __25("Column", "elementor"))), /* @__PURE__ */ React66.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React66.createElement(Control4, { bind: "column", isLinked, anchorRef: stackRef }))), /* @__PURE__ */ React66.createElement(Grid11, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React66.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React66.createElement(ControlFormLabel, null, __25("Row", "elementor"))), /* @__PURE__ */ React66.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React66.createElement(Control4, { bind: "row", isLinked, anchorRef: stackRef })))));
3609
+ /* @__PURE__ */ React68.createElement(LinkedIcon, { fontSize: "tiny" })
3610
+ ))), /* @__PURE__ */ React68.createElement(Stack11, { direction: "row", gap: 2, flexWrap: "nowrap", ref: stackRef }, /* @__PURE__ */ React68.createElement(Grid11, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React68.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(ControlFormLabel, null, __25("Column", "elementor"))), /* @__PURE__ */ React68.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(Control4, { bind: "column", isLinked, anchorRef: stackRef }))), /* @__PURE__ */ React68.createElement(Grid11, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React68.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(ControlFormLabel, null, __25("Row", "elementor"))), /* @__PURE__ */ React68.createElement(Grid11, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(Control4, { bind: "row", isLinked, anchorRef: stackRef })))));
3591
3611
  };
3592
3612
  var Control4 = ({
3593
3613
  bind,
@@ -3595,13 +3615,13 @@ var Control4 = ({
3595
3615
  anchorRef
3596
3616
  }) => {
3597
3617
  if (isLinked) {
3598
- return /* @__PURE__ */ React66.createElement(SizeControl, { anchorRef });
3618
+ return /* @__PURE__ */ React68.createElement(SizeControl, { anchorRef });
3599
3619
  }
3600
- return /* @__PURE__ */ React66.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React66.createElement(SizeControl, { anchorRef }));
3620
+ return /* @__PURE__ */ React68.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React68.createElement(SizeControl, { anchorRef }));
3601
3621
  };
3602
3622
 
3603
3623
  // src/controls/aspect-ratio-control.tsx
3604
- import * as React67 from "react";
3624
+ import * as React69 from "react";
3605
3625
  import { useEffect as useEffect7, useState as useState11 } from "react";
3606
3626
  import { stringPropTypeUtil as stringPropTypeUtil8 } from "@elementor/editor-props";
3607
3627
  import { MenuListItem as MenuListItem4 } from "@elementor/editor-ui";
@@ -3668,7 +3688,7 @@ var AspectRatioControl = createControl(({ label }) => {
3668
3688
  setAspectRatioValue(`${customWidth}/${newHeight}`);
3669
3689
  }
3670
3690
  };
3671
- return /* @__PURE__ */ React67.createElement(ControlActions, null, /* @__PURE__ */ React67.createElement(Stack12, { direction: "column", gap: 2 }, /* @__PURE__ */ React67.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React67.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(ControlLabel, null, label)), /* @__PURE__ */ React67.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(
3691
+ return /* @__PURE__ */ React69.createElement(ControlActions, null, /* @__PURE__ */ React69.createElement(Stack12, { direction: "column", gap: 2 }, /* @__PURE__ */ React69.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React69.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(ControlLabel, null, label)), /* @__PURE__ */ React69.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(
3672
3692
  Select3,
3673
3693
  {
3674
3694
  size: "tiny",
@@ -3680,9 +3700,9 @@ var AspectRatioControl = createControl(({ label }) => {
3680
3700
  fullWidth: true
3681
3701
  },
3682
3702
  [...RATIO_OPTIONS, { label: __26("Custom", "elementor"), value: CUSTOM_RATIO }].map(
3683
- ({ label: optionLabel, ...props }) => /* @__PURE__ */ React67.createElement(MenuListItem4, { key: props.value, ...props, value: props.value ?? "" }, optionLabel)
3703
+ ({ label: optionLabel, ...props }) => /* @__PURE__ */ React69.createElement(MenuListItem4, { key: props.value, ...props, value: props.value ?? "" }, optionLabel)
3684
3704
  )
3685
- ))), isCustom && /* @__PURE__ */ React67.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React67.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(
3705
+ ))), isCustom && /* @__PURE__ */ React69.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React69.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(
3686
3706
  TextField7,
3687
3707
  {
3688
3708
  size: "tiny",
@@ -3692,10 +3712,10 @@ var AspectRatioControl = createControl(({ label }) => {
3692
3712
  value: customWidth,
3693
3713
  onChange: handleCustomWidthChange,
3694
3714
  InputProps: {
3695
- startAdornment: /* @__PURE__ */ React67.createElement(ArrowsMoveHorizontalIcon, { fontSize: "tiny" })
3715
+ startAdornment: /* @__PURE__ */ React69.createElement(ArrowsMoveHorizontalIcon, { fontSize: "tiny" })
3696
3716
  }
3697
3717
  }
3698
- )), /* @__PURE__ */ React67.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(
3718
+ )), /* @__PURE__ */ React69.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(
3699
3719
  TextField7,
3700
3720
  {
3701
3721
  size: "tiny",
@@ -3705,14 +3725,14 @@ var AspectRatioControl = createControl(({ label }) => {
3705
3725
  value: customHeight,
3706
3726
  onChange: handleCustomHeightChange,
3707
3727
  InputProps: {
3708
- startAdornment: /* @__PURE__ */ React67.createElement(ArrowsMoveVerticalIcon, { fontSize: "tiny" })
3728
+ startAdornment: /* @__PURE__ */ React69.createElement(ArrowsMoveVerticalIcon, { fontSize: "tiny" })
3709
3729
  }
3710
3730
  }
3711
3731
  )))));
3712
3732
  });
3713
3733
 
3714
3734
  // src/controls/svg-media-control.tsx
3715
- import * as React69 from "react";
3735
+ import * as React71 from "react";
3716
3736
  import { useState as useState13 } from "react";
3717
3737
  import { useCurrentUserCapabilities } from "@elementor/editor-current-user";
3718
3738
  import { imageSrcPropTypeUtil as imageSrcPropTypeUtil2 } from "@elementor/editor-props";
@@ -3722,7 +3742,7 @@ import { useWpMediaAttachment as useWpMediaAttachment2, useWpMediaFrame as useWp
3722
3742
  import { __ as __28 } from "@wordpress/i18n";
3723
3743
 
3724
3744
  // src/components/enable-unfiltered-modal.tsx
3725
- import * as React68 from "react";
3745
+ import * as React70 from "react";
3726
3746
  import { useState as useState12 } from "react";
3727
3747
  import {
3728
3748
  Button as Button3,
@@ -3767,9 +3787,9 @@ var EnableUnfilteredModal = (props) => {
3767
3787
  }
3768
3788
  };
3769
3789
  const dialogProps = { ...props, isPending, handleEnable, isError, onClose };
3770
- return /* @__PURE__ */ React68.createElement(AdminDialog, { ...dialogProps });
3790
+ return /* @__PURE__ */ React70.createElement(AdminDialog, { ...dialogProps });
3771
3791
  };
3772
- var AdminDialog = ({ open, onClose, handleEnable, isPending, isError }) => /* @__PURE__ */ React68.createElement(Dialog, { open, maxWidth: "sm", onClose: () => onClose(false) }, /* @__PURE__ */ React68.createElement(DialogHeader, { logo: false }, /* @__PURE__ */ React68.createElement(DialogTitle, null, ADMIN_TITLE_TEXT)), /* @__PURE__ */ React68.createElement(Divider3, null), /* @__PURE__ */ React68.createElement(DialogContent, null, /* @__PURE__ */ React68.createElement(DialogContentText, null, isError ? /* @__PURE__ */ React68.createElement(React68.Fragment, null, ADMIN_FAILED_CONTENT_TEXT_PT1, " ", /* @__PURE__ */ React68.createElement("br", null), " ", ADMIN_FAILED_CONTENT_TEXT_PT2) : ADMIN_CONTENT_TEXT)), /* @__PURE__ */ React68.createElement(DialogActions, null, /* @__PURE__ */ React68.createElement(Button3, { size: "medium", color: "secondary", onClick: () => onClose(false) }, __27("Cancel", "elementor")), /* @__PURE__ */ React68.createElement(
3792
+ var AdminDialog = ({ open, onClose, handleEnable, isPending, isError }) => /* @__PURE__ */ React70.createElement(Dialog, { open, maxWidth: "sm", onClose: () => onClose(false) }, /* @__PURE__ */ React70.createElement(DialogHeader, { logo: false }, /* @__PURE__ */ React70.createElement(DialogTitle, null, ADMIN_TITLE_TEXT)), /* @__PURE__ */ React70.createElement(Divider3, null), /* @__PURE__ */ React70.createElement(DialogContent, null, /* @__PURE__ */ React70.createElement(DialogContentText, null, isError ? /* @__PURE__ */ React70.createElement(React70.Fragment, null, ADMIN_FAILED_CONTENT_TEXT_PT1, " ", /* @__PURE__ */ React70.createElement("br", null), " ", ADMIN_FAILED_CONTENT_TEXT_PT2) : ADMIN_CONTENT_TEXT)), /* @__PURE__ */ React70.createElement(DialogActions, null, /* @__PURE__ */ React70.createElement(Button3, { size: "medium", color: "secondary", onClick: () => onClose(false) }, __27("Cancel", "elementor")), /* @__PURE__ */ React70.createElement(
3773
3793
  Button3,
3774
3794
  {
3775
3795
  size: "medium",
@@ -3778,7 +3798,7 @@ var AdminDialog = ({ open, onClose, handleEnable, isPending, isError }) => /* @_
3778
3798
  color: "primary",
3779
3799
  disabled: isPending
3780
3800
  },
3781
- isPending ? /* @__PURE__ */ React68.createElement(CircularProgress2, { size: 24 }) : __27("Enable", "elementor")
3801
+ isPending ? /* @__PURE__ */ React70.createElement(CircularProgress2, { size: 24 }) : __27("Enable", "elementor")
3782
3802
  )));
3783
3803
 
3784
3804
  // src/controls/svg-media-control.tsx
@@ -3844,10 +3864,10 @@ var SvgMediaControl = createControl(() => {
3844
3864
  };
3845
3865
  const infotipProps = {
3846
3866
  title: __28("Sorry, you can't upload that file yet.", "elementor"),
3847
- description: /* @__PURE__ */ React69.createElement(React69.Fragment, null, __28("To upload them anyway, ask the site administrator to enable unfiltered", "elementor"), /* @__PURE__ */ React69.createElement("br", null), __28("file uploads.", "elementor")),
3867
+ description: /* @__PURE__ */ React71.createElement(React71.Fragment, null, __28("To upload them anyway, ask the site administrator to enable unfiltered", "elementor"), /* @__PURE__ */ React71.createElement("br", null), __28("file uploads.", "elementor")),
3848
3868
  isEnabled: !canManageOptions
3849
3869
  };
3850
- return /* @__PURE__ */ React69.createElement(Stack13, { gap: 1 }, /* @__PURE__ */ React69.createElement(EnableUnfilteredModal, { open: unfilteredModalOpenState, onClose: onCloseUnfilteredModal }), /* @__PURE__ */ React69.createElement(ControlActions, null, /* @__PURE__ */ React69.createElement(StyledCard, { variant: "outlined" }, /* @__PURE__ */ React69.createElement(StyledCardMediaContainer, null, isFetching ? /* @__PURE__ */ React69.createElement(CircularProgress3, { role: "progressbar" }) : /* @__PURE__ */ React69.createElement(
3870
+ return /* @__PURE__ */ React71.createElement(Stack13, { gap: 1 }, /* @__PURE__ */ React71.createElement(EnableUnfilteredModal, { open: unfilteredModalOpenState, onClose: onCloseUnfilteredModal }), /* @__PURE__ */ React71.createElement(ControlActions, null, /* @__PURE__ */ React71.createElement(StyledCard, { variant: "outlined" }, /* @__PURE__ */ React71.createElement(StyledCardMediaContainer, null, isFetching ? /* @__PURE__ */ React71.createElement(CircularProgress3, { role: "progressbar" }) : /* @__PURE__ */ React71.createElement(
3851
3871
  CardMedia2,
3852
3872
  {
3853
3873
  component: "img",
@@ -3855,7 +3875,7 @@ var SvgMediaControl = createControl(() => {
3855
3875
  alt: __28("Preview SVG", "elementor"),
3856
3876
  sx: { maxHeight: "140px", width: "50px" }
3857
3877
  }
3858
- )), /* @__PURE__ */ React69.createElement(
3878
+ )), /* @__PURE__ */ React71.createElement(
3859
3879
  CardOverlay2,
3860
3880
  {
3861
3881
  sx: {
@@ -3864,7 +3884,7 @@ var SvgMediaControl = createControl(() => {
3864
3884
  }
3865
3885
  }
3866
3886
  },
3867
- /* @__PURE__ */ React69.createElement(Stack13, { gap: 1 }, /* @__PURE__ */ React69.createElement(
3887
+ /* @__PURE__ */ React71.createElement(Stack13, { gap: 1 }, /* @__PURE__ */ React71.createElement(
3868
3888
  Button4,
3869
3889
  {
3870
3890
  size: "tiny",
@@ -3873,13 +3893,13 @@ var SvgMediaControl = createControl(() => {
3873
3893
  onClick: () => handleClick(MODE_BROWSE)
3874
3894
  },
3875
3895
  __28("Select SVG", "elementor")
3876
- ), /* @__PURE__ */ React69.createElement(ConditionalControlInfotip, { ...infotipProps }, /* @__PURE__ */ React69.createElement("span", null, /* @__PURE__ */ React69.createElement(ThemeProvider, { colorScheme: canManageOptions ? "light" : "dark" }, /* @__PURE__ */ React69.createElement(
3896
+ ), /* @__PURE__ */ React71.createElement(ConditionalControlInfotip, { ...infotipProps }, /* @__PURE__ */ React71.createElement("span", null, /* @__PURE__ */ React71.createElement(ThemeProvider, { colorScheme: canManageOptions ? "light" : "dark" }, /* @__PURE__ */ React71.createElement(
3877
3897
  Button4,
3878
3898
  {
3879
3899
  size: "tiny",
3880
3900
  variant: "text",
3881
3901
  color: "inherit",
3882
- startIcon: /* @__PURE__ */ React69.createElement(UploadIcon2, null),
3902
+ startIcon: /* @__PURE__ */ React71.createElement(UploadIcon2, null),
3883
3903
  disabled: canManageOptions ? false : true,
3884
3904
  onClick: () => canManageOptions && handleClick(MODE_UPLOAD)
3885
3905
  },
@@ -3889,13 +3909,13 @@ var SvgMediaControl = createControl(() => {
3889
3909
  });
3890
3910
 
3891
3911
  // src/controls/background-control/background-control.tsx
3892
- import * as React76 from "react";
3912
+ import * as React78 from "react";
3893
3913
  import { backgroundPropTypeUtil } from "@elementor/editor-props";
3894
3914
  import { Grid as Grid17 } from "@elementor/ui";
3895
3915
  import { __ as __34 } from "@wordpress/i18n";
3896
3916
 
3897
3917
  // src/controls/background-control/background-overlay/background-overlay-repeater-control.tsx
3898
- import * as React75 from "react";
3918
+ import * as React77 from "react";
3899
3919
  import {
3900
3920
  backgroundColorOverlayPropTypeUtil as backgroundColorOverlayPropTypeUtil2,
3901
3921
  backgroundImageOverlayPropTypeUtil as backgroundImageOverlayPropTypeUtil2,
@@ -3911,7 +3931,7 @@ import { parseEnv } from "@elementor/env";
3911
3931
  var { env } = parseEnv("@elementor/editor-controls");
3912
3932
 
3913
3933
  // src/controls/background-control/background-gradient-color-control.tsx
3914
- import * as React70 from "react";
3934
+ import * as React72 from "react";
3915
3935
  import {
3916
3936
  backgroundGradientOverlayPropTypeUtil,
3917
3937
  colorPropTypeUtil as colorPropTypeUtil2,
@@ -3958,7 +3978,7 @@ var BackgroundGradientColorControl = createControl(() => {
3958
3978
  positions: positions?.value.split(" ")
3959
3979
  };
3960
3980
  };
3961
- return /* @__PURE__ */ React70.createElement(
3981
+ return /* @__PURE__ */ React72.createElement(
3962
3982
  UnstableGradientBox,
3963
3983
  {
3964
3984
  sx: { width: "auto", padding: 1.5 },
@@ -3983,7 +4003,7 @@ var initialBackgroundGradientOverlay = backgroundGradientOverlayPropTypeUtil.cre
3983
4003
  });
3984
4004
 
3985
4005
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-attachment.tsx
3986
- import * as React71 from "react";
4006
+ import * as React73 from "react";
3987
4007
  import { PinIcon, PinnedOffIcon } from "@elementor/icons";
3988
4008
  import { Grid as Grid13 } from "@elementor/ui";
3989
4009
  import { __ as __29 } from "@wordpress/i18n";
@@ -3991,22 +4011,22 @@ var attachmentControlOptions = [
3991
4011
  {
3992
4012
  value: "fixed",
3993
4013
  label: __29("Fixed", "elementor"),
3994
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(PinIcon, { fontSize: size }),
4014
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(PinIcon, { fontSize: size }),
3995
4015
  showTooltip: true
3996
4016
  },
3997
4017
  {
3998
4018
  value: "scroll",
3999
4019
  label: __29("Scroll", "elementor"),
4000
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(PinnedOffIcon, { fontSize: size }),
4020
+ renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(PinnedOffIcon, { fontSize: size }),
4001
4021
  showTooltip: true
4002
4022
  }
4003
4023
  ];
4004
4024
  var BackgroundImageOverlayAttachment = () => {
4005
- return /* @__PURE__ */ React71.createElement(PopoverGridContainer, null, /* @__PURE__ */ React71.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React71.createElement(ControlFormLabel, null, __29("Attachment", "elementor"))), /* @__PURE__ */ React71.createElement(Grid13, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React71.createElement(ToggleControl, { options: attachmentControlOptions })));
4025
+ return /* @__PURE__ */ React73.createElement(PopoverGridContainer, null, /* @__PURE__ */ React73.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React73.createElement(ControlFormLabel, null, __29("Attachment", "elementor"))), /* @__PURE__ */ React73.createElement(Grid13, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React73.createElement(ToggleControl, { options: attachmentControlOptions })));
4006
4026
  };
4007
4027
 
4008
4028
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-position.tsx
4009
- import * as React72 from "react";
4029
+ import * as React74 from "react";
4010
4030
  import { useRef as useRef11 } from "react";
4011
4031
  import { backgroundImagePositionOffsetPropTypeUtil, stringPropTypeUtil as stringPropTypeUtil10 } from "@elementor/editor-props";
4012
4032
  import { MenuListItem as MenuListItem5 } from "@elementor/editor-ui";
@@ -4038,7 +4058,7 @@ var BackgroundImageOverlayPosition = () => {
4038
4058
  stringPropContext.setValue(value);
4039
4059
  }
4040
4060
  };
4041
- return /* @__PURE__ */ React72.createElement(Grid14, { container: true, spacing: 1.5 }, /* @__PURE__ */ React72.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React72.createElement(PopoverGridContainer, null, /* @__PURE__ */ React72.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React72.createElement(ControlFormLabel, null, __30("Position", "elementor"))), /* @__PURE__ */ React72.createElement(Grid14, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React72.createElement(ControlActions, null, /* @__PURE__ */ React72.createElement(
4061
+ return /* @__PURE__ */ React74.createElement(Grid14, { container: true, spacing: 1.5 }, /* @__PURE__ */ React74.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React74.createElement(PopoverGridContainer, null, /* @__PURE__ */ React74.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(ControlFormLabel, null, __30("Position", "elementor"))), /* @__PURE__ */ React74.createElement(Grid14, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end", overflow: "hidden" } }, /* @__PURE__ */ React74.createElement(ControlActions, null, /* @__PURE__ */ React74.createElement(
4042
4062
  Select4,
4043
4063
  {
4044
4064
  fullWidth: true,
@@ -4047,18 +4067,18 @@ var BackgroundImageOverlayPosition = () => {
4047
4067
  disabled: stringPropContext.disabled,
4048
4068
  value: (backgroundImageOffsetContext.value ? "custom" : stringPropContext.value) ?? ""
4049
4069
  },
4050
- backgroundPositionOptions.map(({ label, value }) => /* @__PURE__ */ React72.createElement(MenuListItem5, { key: value, value: value ?? "" }, label))
4051
- ))))), isCustom ? /* @__PURE__ */ React72.createElement(PropProvider, { ...backgroundImageOffsetContext }, /* @__PURE__ */ React72.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React72.createElement(Grid14, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React72.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React72.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React72.createElement(
4070
+ backgroundPositionOptions.map(({ label, value }) => /* @__PURE__ */ React74.createElement(MenuListItem5, { key: value, value: value ?? "" }, label))
4071
+ ))))), isCustom ? /* @__PURE__ */ React74.createElement(PropProvider, { ...backgroundImageOffsetContext }, /* @__PURE__ */ React74.createElement(Grid14, { item: true, xs: 12 }, /* @__PURE__ */ React74.createElement(Grid14, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React74.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React74.createElement(
4052
4072
  SizeControl,
4053
4073
  {
4054
- startIcon: /* @__PURE__ */ React72.createElement(LetterXIcon, { fontSize: "tiny" }),
4074
+ startIcon: /* @__PURE__ */ React74.createElement(LetterXIcon, { fontSize: "tiny" }),
4055
4075
  anchorRef: rowRef,
4056
4076
  min: -Number.MAX_SAFE_INTEGER
4057
4077
  }
4058
- ))), /* @__PURE__ */ React72.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React72.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React72.createElement(
4078
+ ))), /* @__PURE__ */ React74.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React74.createElement(
4059
4079
  SizeControl,
4060
4080
  {
4061
- startIcon: /* @__PURE__ */ React72.createElement(LetterYIcon, { fontSize: "tiny" }),
4081
+ startIcon: /* @__PURE__ */ React74.createElement(LetterYIcon, { fontSize: "tiny" }),
4062
4082
  anchorRef: rowRef,
4063
4083
  min: -Number.MAX_SAFE_INTEGER
4064
4084
  }
@@ -4066,7 +4086,7 @@ var BackgroundImageOverlayPosition = () => {
4066
4086
  };
4067
4087
 
4068
4088
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-repeat.tsx
4069
- import * as React73 from "react";
4089
+ import * as React75 from "react";
4070
4090
  import { DotsHorizontalIcon, DotsVerticalIcon, GridDotsIcon, XIcon as XIcon3 } from "@elementor/icons";
4071
4091
  import { Grid as Grid15 } from "@elementor/ui";
4072
4092
  import { __ as __31 } from "@wordpress/i18n";
@@ -4074,34 +4094,34 @@ var repeatControlOptions = [
4074
4094
  {
4075
4095
  value: "repeat",
4076
4096
  label: __31("Repeat", "elementor"),
4077
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(GridDotsIcon, { fontSize: size }),
4097
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(GridDotsIcon, { fontSize: size }),
4078
4098
  showTooltip: true
4079
4099
  },
4080
4100
  {
4081
4101
  value: "repeat-x",
4082
4102
  label: __31("Repeat-x", "elementor"),
4083
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(DotsHorizontalIcon, { fontSize: size }),
4103
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(DotsHorizontalIcon, { fontSize: size }),
4084
4104
  showTooltip: true
4085
4105
  },
4086
4106
  {
4087
4107
  value: "repeat-y",
4088
4108
  label: __31("Repeat-y", "elementor"),
4089
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(DotsVerticalIcon, { fontSize: size }),
4109
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(DotsVerticalIcon, { fontSize: size }),
4090
4110
  showTooltip: true
4091
4111
  },
4092
4112
  {
4093
4113
  value: "no-repeat",
4094
4114
  label: __31("No-repeat", "elementor"),
4095
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(XIcon3, { fontSize: size }),
4115
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(XIcon3, { fontSize: size }),
4096
4116
  showTooltip: true
4097
4117
  }
4098
4118
  ];
4099
4119
  var BackgroundImageOverlayRepeat = () => {
4100
- return /* @__PURE__ */ React73.createElement(PopoverGridContainer, null, /* @__PURE__ */ React73.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React73.createElement(ControlFormLabel, null, __31("Repeat", "elementor"))), /* @__PURE__ */ React73.createElement(Grid15, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React73.createElement(ToggleControl, { options: repeatControlOptions })));
4120
+ return /* @__PURE__ */ React75.createElement(PopoverGridContainer, null, /* @__PURE__ */ React75.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React75.createElement(ControlFormLabel, null, __31("Repeat", "elementor"))), /* @__PURE__ */ React75.createElement(Grid15, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React75.createElement(ToggleControl, { options: repeatControlOptions })));
4101
4121
  };
4102
4122
 
4103
4123
  // src/controls/background-control/background-overlay/background-image-overlay/background-image-overlay-size.tsx
4104
- import * as React74 from "react";
4124
+ import * as React76 from "react";
4105
4125
  import { useRef as useRef12 } from "react";
4106
4126
  import { backgroundImageSizeScalePropTypeUtil, stringPropTypeUtil as stringPropTypeUtil11 } from "@elementor/editor-props";
4107
4127
  import {
@@ -4118,25 +4138,25 @@ var sizeControlOptions = [
4118
4138
  {
4119
4139
  value: "auto",
4120
4140
  label: __32("Auto", "elementor"),
4121
- renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(LetterAIcon, { fontSize: size }),
4141
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(LetterAIcon, { fontSize: size }),
4122
4142
  showTooltip: true
4123
4143
  },
4124
4144
  {
4125
4145
  value: "cover",
4126
4146
  label: __32("Cover", "elementor"),
4127
- renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(ArrowsMaximizeIcon, { fontSize: size }),
4147
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(ArrowsMaximizeIcon, { fontSize: size }),
4128
4148
  showTooltip: true
4129
4149
  },
4130
4150
  {
4131
4151
  value: "contain",
4132
4152
  label: __32("Contain", "elementor"),
4133
- renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(ArrowBarBothIcon, { fontSize: size }),
4153
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(ArrowBarBothIcon, { fontSize: size }),
4134
4154
  showTooltip: true
4135
4155
  },
4136
4156
  {
4137
4157
  value: "custom",
4138
4158
  label: __32("Custom", "elementor"),
4139
- renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(PencilIcon, { fontSize: size }),
4159
+ renderContent: ({ size }) => /* @__PURE__ */ React76.createElement(PencilIcon, { fontSize: size }),
4140
4160
  showTooltip: true
4141
4161
  }
4142
4162
  ];
@@ -4152,7 +4172,7 @@ var BackgroundImageOverlaySize = () => {
4152
4172
  stringPropContext.setValue(size);
4153
4173
  }
4154
4174
  };
4155
- return /* @__PURE__ */ React74.createElement(Grid16, { container: true, spacing: 1.5 }, /* @__PURE__ */ React74.createElement(Grid16, { item: true, xs: 12 }, /* @__PURE__ */ React74.createElement(PopoverGridContainer, null, /* @__PURE__ */ React74.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(ControlFormLabel, null, __32("Size", "elementor"))), /* @__PURE__ */ React74.createElement(Grid16, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React74.createElement(
4175
+ return /* @__PURE__ */ React76.createElement(Grid16, { container: true, spacing: 1.5 }, /* @__PURE__ */ React76.createElement(Grid16, { item: true, xs: 12 }, /* @__PURE__ */ React76.createElement(PopoverGridContainer, null, /* @__PURE__ */ React76.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(ControlFormLabel, null, __32("Size", "elementor"))), /* @__PURE__ */ React76.createElement(Grid16, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React76.createElement(
4156
4176
  ControlToggleButtonGroup,
4157
4177
  {
4158
4178
  exclusive: true,
@@ -4161,17 +4181,17 @@ var BackgroundImageOverlaySize = () => {
4161
4181
  disabled: stringPropContext.disabled,
4162
4182
  value: backgroundImageScaleContext.value ? "custom" : stringPropContext.value
4163
4183
  }
4164
- )))), isCustom ? /* @__PURE__ */ React74.createElement(PropProvider, { ...backgroundImageScaleContext }, /* @__PURE__ */ React74.createElement(Grid16, { item: true, xs: 12, ref: rowRef }, /* @__PURE__ */ React74.createElement(PopoverGridContainer, null, /* @__PURE__ */ React74.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(PropKeyProvider, { bind: "width" }, /* @__PURE__ */ React74.createElement(
4184
+ )))), isCustom ? /* @__PURE__ */ React76.createElement(PropProvider, { ...backgroundImageScaleContext }, /* @__PURE__ */ React76.createElement(Grid16, { item: true, xs: 12, ref: rowRef }, /* @__PURE__ */ React76.createElement(PopoverGridContainer, null, /* @__PURE__ */ React76.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(PropKeyProvider, { bind: "width" }, /* @__PURE__ */ React76.createElement(
4165
4185
  SizeControl,
4166
4186
  {
4167
- startIcon: /* @__PURE__ */ React74.createElement(ArrowsMoveHorizontalIcon2, { fontSize: "tiny" }),
4187
+ startIcon: /* @__PURE__ */ React76.createElement(ArrowsMoveHorizontalIcon2, { fontSize: "tiny" }),
4168
4188
  extendedOptions: ["auto"],
4169
4189
  anchorRef: rowRef
4170
4190
  }
4171
- ))), /* @__PURE__ */ React74.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(PropKeyProvider, { bind: "height" }, /* @__PURE__ */ React74.createElement(
4191
+ ))), /* @__PURE__ */ React76.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(PropKeyProvider, { bind: "height" }, /* @__PURE__ */ React76.createElement(
4172
4192
  SizeControl,
4173
4193
  {
4174
- startIcon: /* @__PURE__ */ React74.createElement(ArrowsMoveVerticalIcon2, { fontSize: "tiny" }),
4194
+ startIcon: /* @__PURE__ */ React76.createElement(ArrowsMoveVerticalIcon2, { fontSize: "tiny" }),
4175
4195
  extendedOptions: ["auto"],
4176
4196
  anchorRef: rowRef
4177
4197
  }
@@ -4279,22 +4299,22 @@ var backgroundResolutionOptions = [
4279
4299
  ];
4280
4300
  var BackgroundOverlayRepeaterControl = createControl(() => {
4281
4301
  const { propType, value: overlayValues, setValue } = useBoundProp(backgroundOverlayPropTypeUtil);
4282
- return /* @__PURE__ */ React75.createElement(PropProvider, { propType, value: overlayValues, setValue }, /* @__PURE__ */ React75.createElement(
4302
+ return /* @__PURE__ */ React77.createElement(PropProvider, { propType, value: overlayValues, setValue }, /* @__PURE__ */ React77.createElement(
4283
4303
  ControlRepeater,
4284
4304
  {
4285
4305
  initial: getInitialBackgroundOverlay(),
4286
4306
  propTypeUtil: backgroundOverlayPropTypeUtil
4287
4307
  },
4288
- /* @__PURE__ */ React75.createElement(Header, { label: __33("Overlay", "elementor") }, /* @__PURE__ */ React75.createElement(TooltipAddItemAction, { newItemIndex: 0 })),
4289
- /* @__PURE__ */ React75.createElement(ItemsContainer, null, /* @__PURE__ */ React75.createElement(
4308
+ /* @__PURE__ */ React77.createElement(RepeaterHeader, { label: __33("Overlay", "elementor") }, /* @__PURE__ */ React77.createElement(TooltipAddItemAction, { newItemIndex: 0 })),
4309
+ /* @__PURE__ */ React77.createElement(ItemsContainer, null, /* @__PURE__ */ React77.createElement(
4290
4310
  Item,
4291
4311
  {
4292
4312
  Icon: ItemIcon2,
4293
4313
  Label: ItemLabel2,
4294
- actions: /* @__PURE__ */ React75.createElement(React75.Fragment, null, /* @__PURE__ */ React75.createElement(DuplicateItemAction, null), /* @__PURE__ */ React75.createElement(DisableItemAction, null), /* @__PURE__ */ React75.createElement(RemoveItemAction, null))
4314
+ actions: /* @__PURE__ */ React77.createElement(React77.Fragment, null, /* @__PURE__ */ React77.createElement(DuplicateItemAction, null), /* @__PURE__ */ React77.createElement(DisableItemAction, null), /* @__PURE__ */ React77.createElement(RemoveItemAction, null))
4295
4315
  }
4296
4316
  )),
4297
- /* @__PURE__ */ React75.createElement(EditItemPopover, null, /* @__PURE__ */ React75.createElement(ItemContent, null))
4317
+ /* @__PURE__ */ React77.createElement(EditItemPopover, null, /* @__PURE__ */ React77.createElement(ItemContent, null))
4298
4318
  ));
4299
4319
  });
4300
4320
  var ItemContent = () => {
@@ -4304,7 +4324,7 @@ var ItemContent = () => {
4304
4324
  gradient: initialBackgroundGradientOverlay.value
4305
4325
  });
4306
4326
  const { rowRef } = useRepeaterContext();
4307
- return /* @__PURE__ */ React75.createElement(Box12, { sx: { width: "100%" } }, /* @__PURE__ */ React75.createElement(Box12, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React75.createElement(
4327
+ return /* @__PURE__ */ React77.createElement(Box12, { sx: { width: "100%" } }, /* @__PURE__ */ React77.createElement(Box12, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React77.createElement(
4308
4328
  Tabs,
4309
4329
  {
4310
4330
  size: "small",
@@ -4312,19 +4332,19 @@ var ItemContent = () => {
4312
4332
  ...getTabsProps(),
4313
4333
  "aria-label": __33("Background Overlay", "elementor")
4314
4334
  },
4315
- /* @__PURE__ */ React75.createElement(Tab, { label: __33("Image", "elementor"), ...getTabProps("image") }),
4316
- /* @__PURE__ */ React75.createElement(Tab, { label: __33("Gradient", "elementor"), ...getTabProps("gradient") }),
4317
- /* @__PURE__ */ React75.createElement(Tab, { label: __33("Color", "elementor"), ...getTabProps("color") })
4318
- )), /* @__PURE__ */ React75.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("image") }, /* @__PURE__ */ React75.createElement(PopoverContent, null, /* @__PURE__ */ React75.createElement(ImageOverlayContent, null))), /* @__PURE__ */ React75.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("gradient") }, /* @__PURE__ */ React75.createElement(BackgroundGradientColorControl, null)), /* @__PURE__ */ React75.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("color") }, /* @__PURE__ */ React75.createElement(PopoverContent, null, /* @__PURE__ */ React75.createElement(ColorOverlayContent, { anchorEl: rowRef }))));
4335
+ /* @__PURE__ */ React77.createElement(Tab, { label: __33("Image", "elementor"), ...getTabProps("image") }),
4336
+ /* @__PURE__ */ React77.createElement(Tab, { label: __33("Gradient", "elementor"), ...getTabProps("gradient") }),
4337
+ /* @__PURE__ */ React77.createElement(Tab, { label: __33("Color", "elementor"), ...getTabProps("color") })
4338
+ )), /* @__PURE__ */ React77.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("image") }, /* @__PURE__ */ React77.createElement(PopoverContent, null, /* @__PURE__ */ React77.createElement(ImageOverlayContent, null))), /* @__PURE__ */ React77.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("gradient") }, /* @__PURE__ */ React77.createElement(BackgroundGradientColorControl, null)), /* @__PURE__ */ React77.createElement(TabPanel, { sx: { p: 1.5 }, ...getTabPanelProps("color") }, /* @__PURE__ */ React77.createElement(PopoverContent, null, /* @__PURE__ */ React77.createElement(ColorOverlayContent, { anchorEl: rowRef }))));
4319
4339
  };
4320
4340
  var ItemIcon2 = ({ value }) => {
4321
4341
  switch (value.$$type) {
4322
4342
  case "background-image-overlay":
4323
- return /* @__PURE__ */ React75.createElement(ItemIconImage, { value });
4343
+ return /* @__PURE__ */ React77.createElement(ItemIconImage, { value });
4324
4344
  case "background-color-overlay":
4325
- return /* @__PURE__ */ React75.createElement(ItemIconColor, { value });
4345
+ return /* @__PURE__ */ React77.createElement(ItemIconColor, { value });
4326
4346
  case "background-gradient-overlay":
4327
- return /* @__PURE__ */ React75.createElement(ItemIconGradient, { value });
4347
+ return /* @__PURE__ */ React77.createElement(ItemIconGradient, { value });
4328
4348
  default:
4329
4349
  return null;
4330
4350
  }
@@ -4337,11 +4357,11 @@ var extractColorFrom = (prop) => {
4337
4357
  };
4338
4358
  var ItemIconColor = ({ value: prop }) => {
4339
4359
  const color = extractColorFrom(prop);
4340
- return /* @__PURE__ */ React75.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: color });
4360
+ return /* @__PURE__ */ React77.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: color });
4341
4361
  };
4342
4362
  var ItemIconImage = ({ value }) => {
4343
4363
  const { imageUrl } = useImage(value);
4344
- return /* @__PURE__ */ React75.createElement(
4364
+ return /* @__PURE__ */ React77.createElement(
4345
4365
  CardMedia3,
4346
4366
  {
4347
4367
  image: imageUrl,
@@ -4356,41 +4376,41 @@ var ItemIconImage = ({ value }) => {
4356
4376
  };
4357
4377
  var ItemIconGradient = ({ value }) => {
4358
4378
  const gradient = getGradientValue(value);
4359
- return /* @__PURE__ */ React75.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: gradient });
4379
+ return /* @__PURE__ */ React77.createElement(StyledUnstableColorIndicator3, { size: "inherit", component: "span", value: gradient });
4360
4380
  };
4361
4381
  var ItemLabel2 = ({ value }) => {
4362
4382
  switch (value.$$type) {
4363
4383
  case "background-image-overlay":
4364
- return /* @__PURE__ */ React75.createElement(ItemLabelImage, { value });
4384
+ return /* @__PURE__ */ React77.createElement(ItemLabelImage, { value });
4365
4385
  case "background-color-overlay":
4366
- return /* @__PURE__ */ React75.createElement(ItemLabelColor, { value });
4386
+ return /* @__PURE__ */ React77.createElement(ItemLabelColor, { value });
4367
4387
  case "background-gradient-overlay":
4368
- return /* @__PURE__ */ React75.createElement(ItemLabelGradient, { value });
4388
+ return /* @__PURE__ */ React77.createElement(ItemLabelGradient, { value });
4369
4389
  default:
4370
4390
  return null;
4371
4391
  }
4372
4392
  };
4373
4393
  var ItemLabelColor = ({ value: prop }) => {
4374
4394
  const color = extractColorFrom(prop);
4375
- return /* @__PURE__ */ React75.createElement("span", null, color);
4395
+ return /* @__PURE__ */ React77.createElement("span", null, color);
4376
4396
  };
4377
4397
  var ItemLabelImage = ({ value }) => {
4378
4398
  const { imageTitle } = useImage(value);
4379
- return /* @__PURE__ */ React75.createElement("span", null, imageTitle);
4399
+ return /* @__PURE__ */ React77.createElement("span", null, imageTitle);
4380
4400
  };
4381
4401
  var ItemLabelGradient = ({ value }) => {
4382
4402
  if (value.value.type.value === "linear") {
4383
- return /* @__PURE__ */ React75.createElement("span", null, __33("Linear Gradient", "elementor"));
4403
+ return /* @__PURE__ */ React77.createElement("span", null, __33("Linear Gradient", "elementor"));
4384
4404
  }
4385
- return /* @__PURE__ */ React75.createElement("span", null, __33("Radial Gradient", "elementor"));
4405
+ return /* @__PURE__ */ React77.createElement("span", null, __33("Radial Gradient", "elementor"));
4386
4406
  };
4387
4407
  var ColorOverlayContent = ({ anchorEl }) => {
4388
4408
  const propContext = useBoundProp(backgroundColorOverlayPropTypeUtil2);
4389
- return /* @__PURE__ */ React75.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React75.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React75.createElement(ColorControl, { anchorEl })));
4409
+ return /* @__PURE__ */ React77.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React77.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React77.createElement(ColorControl, { anchorEl })));
4390
4410
  };
4391
4411
  var ImageOverlayContent = () => {
4392
4412
  const propContext = useBoundProp(backgroundImageOverlayPropTypeUtil2);
4393
- return /* @__PURE__ */ React75.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React75.createElement(PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React75.createElement(ImageControl, { sizes: backgroundResolutionOptions })), /* @__PURE__ */ React75.createElement(PropKeyProvider, { bind: "position" }, /* @__PURE__ */ React75.createElement(BackgroundImageOverlayPosition, null)), /* @__PURE__ */ React75.createElement(PropKeyProvider, { bind: "repeat" }, /* @__PURE__ */ React75.createElement(BackgroundImageOverlayRepeat, null)), /* @__PURE__ */ React75.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React75.createElement(BackgroundImageOverlaySize, null)), /* @__PURE__ */ React75.createElement(PropKeyProvider, { bind: "attachment" }, /* @__PURE__ */ React75.createElement(BackgroundImageOverlayAttachment, null)));
4413
+ return /* @__PURE__ */ React77.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React77.createElement(PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React77.createElement(ImageControl, { sizes: backgroundResolutionOptions })), /* @__PURE__ */ React77.createElement(PropKeyProvider, { bind: "position" }, /* @__PURE__ */ React77.createElement(BackgroundImageOverlayPosition, null)), /* @__PURE__ */ React77.createElement(PropKeyProvider, { bind: "repeat" }, /* @__PURE__ */ React77.createElement(BackgroundImageOverlayRepeat, null)), /* @__PURE__ */ React77.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React77.createElement(BackgroundImageOverlaySize, null)), /* @__PURE__ */ React77.createElement(PropKeyProvider, { bind: "attachment" }, /* @__PURE__ */ React77.createElement(BackgroundImageOverlayAttachment, null)));
4394
4414
  };
4395
4415
  var StyledUnstableColorIndicator3 = styled9(UnstableColorIndicator3)(({ theme }) => ({
4396
4416
  height: "1rem",
@@ -4438,17 +4458,17 @@ var colorLabel = __34("Color", "elementor");
4438
4458
  var clipLabel = __34("Clipping", "elementor");
4439
4459
  var BackgroundControl = createControl(() => {
4440
4460
  const propContext = useBoundProp(backgroundPropTypeUtil);
4441
- return /* @__PURE__ */ React76.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React76.createElement(PropKeyProvider, { bind: "background-overlay" }, /* @__PURE__ */ React76.createElement(BackgroundOverlayRepeaterControl, null)), /* @__PURE__ */ React76.createElement(BackgroundColorField, null), /* @__PURE__ */ React76.createElement(BackgroundClipField, null));
4461
+ return /* @__PURE__ */ React78.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React78.createElement(PropKeyProvider, { bind: "background-overlay" }, /* @__PURE__ */ React78.createElement(BackgroundOverlayRepeaterControl, null)), /* @__PURE__ */ React78.createElement(BackgroundColorField, null), /* @__PURE__ */ React78.createElement(BackgroundClipField, null));
4442
4462
  });
4443
4463
  var BackgroundColorField = () => {
4444
- return /* @__PURE__ */ React76.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React76.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React76.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(ControlLabel, null, colorLabel)), /* @__PURE__ */ React76.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(ColorControl, null))));
4464
+ return /* @__PURE__ */ React78.createElement(PropKeyProvider, { bind: "color" }, /* @__PURE__ */ React78.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React78.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React78.createElement(ControlLabel, null, colorLabel)), /* @__PURE__ */ React78.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React78.createElement(ColorControl, null))));
4445
4465
  };
4446
4466
  var BackgroundClipField = () => {
4447
- return /* @__PURE__ */ React76.createElement(PropKeyProvider, { bind: "clip" }, /* @__PURE__ */ React76.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React76.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(ControlLabel, null, clipLabel)), /* @__PURE__ */ React76.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(SelectControl, { options: clipOptions }))));
4467
+ return /* @__PURE__ */ React78.createElement(PropKeyProvider, { bind: "clip" }, /* @__PURE__ */ React78.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React78.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React78.createElement(ControlLabel, null, clipLabel)), /* @__PURE__ */ React78.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React78.createElement(SelectControl, { options: clipOptions }))));
4448
4468
  };
4449
4469
 
4450
4470
  // src/controls/repeatable-control.tsx
4451
- import * as React77 from "react";
4471
+ import * as React79 from "react";
4452
4472
  import { useMemo as useMemo7 } from "react";
4453
4473
  import { createArrayPropUtils } from "@elementor/editor-props";
4454
4474
  import { Box as Box13 } from "@elementor/ui";
@@ -4495,13 +4515,13 @@ var RepeatableControl = createControl(
4495
4515
  [childControlConfig, placeholder, patternLabel]
4496
4516
  );
4497
4517
  const { propType, value, setValue } = useBoundProp(childArrayPropTypeUtil);
4498
- return /* @__PURE__ */ React77.createElement(PropProvider, { propType, value, setValue }, /* @__PURE__ */ React77.createElement(RepeatableControlContext.Provider, { value: contextValue }, /* @__PURE__ */ React77.createElement(
4518
+ return /* @__PURE__ */ React79.createElement(PropProvider, { propType, value, setValue }, /* @__PURE__ */ React79.createElement(RepeatableControlContext.Provider, { value: contextValue }, /* @__PURE__ */ React79.createElement(
4499
4519
  ControlRepeater,
4500
4520
  {
4501
4521
  initial: childPropTypeUtil.create(initialValues || null),
4502
4522
  propTypeUtil: childArrayPropTypeUtil
4503
4523
  },
4504
- /* @__PURE__ */ React77.createElement(Header, { label: repeaterLabel }, /* @__PURE__ */ React77.createElement(
4524
+ /* @__PURE__ */ React79.createElement(RepeaterHeader, { label: repeaterLabel }, /* @__PURE__ */ React79.createElement(
4505
4525
  TooltipAddItemAction,
4506
4526
  {
4507
4527
  ...addItemTooltipProps,
@@ -4509,22 +4529,22 @@ var RepeatableControl = createControl(
4509
4529
  ariaLabel: repeaterLabel
4510
4530
  }
4511
4531
  )),
4512
- /* @__PURE__ */ React77.createElement(ItemsContainer, { isSortable: false }, /* @__PURE__ */ React77.createElement(
4532
+ /* @__PURE__ */ React79.createElement(ItemsContainer, { isSortable: false }, /* @__PURE__ */ React79.createElement(
4513
4533
  Item,
4514
4534
  {
4515
4535
  Icon: ItemIcon3,
4516
4536
  Label: ItemLabel3,
4517
- actions: /* @__PURE__ */ React77.createElement(React77.Fragment, null, showDuplicate && /* @__PURE__ */ React77.createElement(DuplicateItemAction, null), showToggle && /* @__PURE__ */ React77.createElement(DisableItemAction, null), /* @__PURE__ */ React77.createElement(RemoveItemAction, null))
4537
+ actions: /* @__PURE__ */ React79.createElement(React79.Fragment, null, showDuplicate && /* @__PURE__ */ React79.createElement(DuplicateItemAction, null), showToggle && /* @__PURE__ */ React79.createElement(DisableItemAction, null), /* @__PURE__ */ React79.createElement(RemoveItemAction, null))
4518
4538
  }
4519
4539
  )),
4520
- /* @__PURE__ */ React77.createElement(EditItemPopover, null, /* @__PURE__ */ React77.createElement(Content2, null))
4540
+ /* @__PURE__ */ React79.createElement(EditItemPopover, null, /* @__PURE__ */ React79.createElement(Content2, null))
4521
4541
  )));
4522
4542
  }
4523
4543
  );
4524
- var ItemIcon3 = () => /* @__PURE__ */ React77.createElement(React77.Fragment, null);
4544
+ var ItemIcon3 = () => /* @__PURE__ */ React79.createElement(React79.Fragment, null);
4525
4545
  var Content2 = () => {
4526
4546
  const { component: ChildControl, props = {} } = useRepeatableControlContext();
4527
- return /* @__PURE__ */ React77.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React77.createElement(PopoverGridContainer, null, /* @__PURE__ */ React77.createElement(ChildControl, { ...props })));
4547
+ return /* @__PURE__ */ React79.createElement(PopoverContent, { p: 1.5 }, /* @__PURE__ */ React79.createElement(PopoverGridContainer, null, /* @__PURE__ */ React79.createElement(ChildControl, { ...props })));
4528
4548
  };
4529
4549
  var interpolate = (template, data) => {
4530
4550
  if (!data) {
@@ -4600,7 +4620,7 @@ var ItemLabel3 = ({ value }) => {
4600
4620
  const showPlaceholder = shouldShowPlaceholder(patternLabel, value);
4601
4621
  const label = showPlaceholder ? placeholder : interpolate(patternLabel, value);
4602
4622
  const color = showPlaceholder ? "text.tertiary" : "text.primary";
4603
- return /* @__PURE__ */ React77.createElement(Box13, { component: "span", color }, label);
4623
+ return /* @__PURE__ */ React79.createElement(Box13, { component: "span", color }, label);
4604
4624
  };
4605
4625
  var getAllProperties = (pattern) => {
4606
4626
  const properties = pattern.match(PLACEHOLDER_REGEX)?.map((match) => match.slice(2, -1)) || [];
@@ -4608,7 +4628,7 @@ var getAllProperties = (pattern) => {
4608
4628
  };
4609
4629
 
4610
4630
  // src/controls/key-value-control.tsx
4611
- import * as React78 from "react";
4631
+ import * as React80 from "react";
4612
4632
  import { useMemo as useMemo8, useState as useState14 } from "react";
4613
4633
  import {
4614
4634
  isTransformable,
@@ -4698,14 +4718,14 @@ var KeyValueControl = createControl((props = {}) => {
4698
4718
  });
4699
4719
  }
4700
4720
  };
4701
- return /* @__PURE__ */ React78.createElement(PropProvider, { ...propContext, value, setValue: handleChange }, /* @__PURE__ */ React78.createElement(Grid18, { container: true, gap: 1.5 }, /* @__PURE__ */ React78.createElement(Grid18, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React78.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, keyLabel), /* @__PURE__ */ React78.createElement(PropKeyProvider, { bind: "key" }, /* @__PURE__ */ React78.createElement(
4721
+ return /* @__PURE__ */ React80.createElement(PropProvider, { ...propContext, value, setValue: handleChange }, /* @__PURE__ */ React80.createElement(Grid18, { container: true, gap: 1.5 }, /* @__PURE__ */ React80.createElement(Grid18, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React80.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, keyLabel), /* @__PURE__ */ React80.createElement(PropKeyProvider, { bind: "key" }, /* @__PURE__ */ React80.createElement(
4702
4722
  TextControl,
4703
4723
  {
4704
4724
  inputValue: props.escapeHtml ? escapeHtmlAttr(sessionState.key) : sessionState.key,
4705
4725
  error: !!keyError,
4706
4726
  helperText: keyHelper
4707
4727
  }
4708
- )), !!keyError && /* @__PURE__ */ React78.createElement(FormHelperText, { error: true }, keyError)), /* @__PURE__ */ React78.createElement(Grid18, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React78.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, valueLabel), /* @__PURE__ */ React78.createElement(PropKeyProvider, { bind: "value" }, /* @__PURE__ */ React78.createElement(
4728
+ )), !!keyError && /* @__PURE__ */ React80.createElement(FormHelperText, { error: true }, keyError)), /* @__PURE__ */ React80.createElement(Grid18, { item: true, xs: 12, display: "flex", flexDirection: "column" }, /* @__PURE__ */ React80.createElement(FormLabel3, { size: "tiny", sx: { pb: 1 } }, valueLabel), /* @__PURE__ */ React80.createElement(PropKeyProvider, { bind: "value" }, /* @__PURE__ */ React80.createElement(
4709
4729
  TextControl,
4710
4730
  {
4711
4731
  inputValue: props.escapeHtml ? escapeHtmlAttr(sessionState.value) : sessionState.value,
@@ -4713,11 +4733,11 @@ var KeyValueControl = createControl((props = {}) => {
4713
4733
  inputDisabled: !!keyError,
4714
4734
  helperText: valueHelper
4715
4735
  }
4716
- )), !!valueError && /* @__PURE__ */ React78.createElement(FormHelperText, { error: true }, valueError))));
4736
+ )), !!valueError && /* @__PURE__ */ React80.createElement(FormHelperText, { error: true }, valueError))));
4717
4737
  });
4718
4738
 
4719
4739
  // src/controls/position-control.tsx
4720
- import * as React79 from "react";
4740
+ import * as React81 from "react";
4721
4741
  import { positionPropTypeUtil, stringPropTypeUtil as stringPropTypeUtil13 } from "@elementor/editor-props";
4722
4742
  import { MenuListItem as MenuListItem6 } from "@elementor/editor-ui";
4723
4743
  import { LetterXIcon as LetterXIcon2, LetterYIcon as LetterYIcon2 } from "@elementor/icons";
@@ -4747,7 +4767,7 @@ var PositionControl = () => {
4747
4767
  stringPropContext.setValue(value);
4748
4768
  }
4749
4769
  };
4750
- return /* @__PURE__ */ React79.createElement(Grid19, { container: true, spacing: 1.5 }, /* @__PURE__ */ React79.createElement(Grid19, { item: true, xs: 12 }, /* @__PURE__ */ React79.createElement(Grid19, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React79.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React79.createElement(ControlFormLabel, null, __36("Object position", "elementor"))), /* @__PURE__ */ React79.createElement(Grid19, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React79.createElement(
4770
+ return /* @__PURE__ */ React81.createElement(Grid19, { container: true, spacing: 1.5 }, /* @__PURE__ */ React81.createElement(Grid19, { item: true, xs: 12 }, /* @__PURE__ */ React81.createElement(Grid19, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React81.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React81.createElement(ControlFormLabel, null, __36("Object position", "elementor"))), /* @__PURE__ */ React81.createElement(Grid19, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React81.createElement(
4751
4771
  Select5,
4752
4772
  {
4753
4773
  size: "tiny",
@@ -4756,24 +4776,24 @@ var PositionControl = () => {
4756
4776
  onChange: handlePositionChange,
4757
4777
  fullWidth: true
4758
4778
  },
4759
- positionOptions.map(({ label, value }) => /* @__PURE__ */ React79.createElement(MenuListItem6, { key: value, value: value ?? "" }, label))
4760
- )))), isCustom && /* @__PURE__ */ React79.createElement(PropProvider, { ...positionContext }, /* @__PURE__ */ React79.createElement(Grid19, { item: true, xs: 12 }, /* @__PURE__ */ React79.createElement(Grid19, { container: true, spacing: 1.5 }, /* @__PURE__ */ React79.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React79.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React79.createElement(
4779
+ positionOptions.map(({ label, value }) => /* @__PURE__ */ React81.createElement(MenuListItem6, { key: value, value: value ?? "" }, label))
4780
+ )))), isCustom && /* @__PURE__ */ React81.createElement(PropProvider, { ...positionContext }, /* @__PURE__ */ React81.createElement(Grid19, { item: true, xs: 12 }, /* @__PURE__ */ React81.createElement(Grid19, { container: true, spacing: 1.5 }, /* @__PURE__ */ React81.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React81.createElement(PropKeyProvider, { bind: "x" }, /* @__PURE__ */ React81.createElement(
4761
4781
  SizeControl,
4762
4782
  {
4763
- startIcon: /* @__PURE__ */ React79.createElement(LetterXIcon2, { fontSize: "tiny" }),
4783
+ startIcon: /* @__PURE__ */ React81.createElement(LetterXIcon2, { fontSize: "tiny" }),
4764
4784
  min: -Number.MAX_SAFE_INTEGER
4765
4785
  }
4766
- ))), /* @__PURE__ */ React79.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React79.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React79.createElement(
4786
+ ))), /* @__PURE__ */ React81.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React81.createElement(PropKeyProvider, { bind: "y" }, /* @__PURE__ */ React81.createElement(
4767
4787
  SizeControl,
4768
4788
  {
4769
- startIcon: /* @__PURE__ */ React79.createElement(LetterYIcon2, { fontSize: "tiny" }),
4789
+ startIcon: /* @__PURE__ */ React81.createElement(LetterYIcon2, { fontSize: "tiny" }),
4770
4790
  min: -Number.MAX_SAFE_INTEGER
4771
4791
  }
4772
4792
  )))))));
4773
4793
  };
4774
4794
 
4775
4795
  // src/controls/transform-control/transform-repeater-control.tsx
4776
- import * as React92 from "react";
4796
+ import * as React94 from "react";
4777
4797
  import { useRef as useRef21 } from "react";
4778
4798
  import { transformFunctionsPropTypeUtil, transformPropTypeUtil } from "@elementor/editor-props";
4779
4799
  import { AdjustmentsIcon as AdjustmentsIcon2, InfoCircleFilledIcon as InfoCircleFilledIcon2 } from "@elementor/icons";
@@ -4832,12 +4852,12 @@ var initialSkewValue = skewTransformPropTypeUtil.create({
4832
4852
  });
4833
4853
 
4834
4854
  // src/controls/transform-control/transform-content.tsx
4835
- import * as React86 from "react";
4855
+ import * as React88 from "react";
4836
4856
  import { Box as Box14, Tab as Tab2, TabPanel as TabPanel2, Tabs as Tabs2 } from "@elementor/ui";
4837
4857
  import { __ as __41 } from "@wordpress/i18n";
4838
4858
 
4839
4859
  // src/controls/transform-control/functions/move.tsx
4840
- import * as React81 from "react";
4860
+ import * as React83 from "react";
4841
4861
  import { useRef as useRef14 } from "react";
4842
4862
  import { moveTransformPropTypeUtil } from "@elementor/editor-props";
4843
4863
  import { ArrowDownLeftIcon, ArrowDownSmallIcon, ArrowRightIcon } from "@elementor/icons";
@@ -4845,11 +4865,11 @@ import { Grid as Grid21 } from "@elementor/ui";
4845
4865
  import { __ as __37 } from "@wordpress/i18n";
4846
4866
 
4847
4867
  // src/controls/transform-control/functions/axis-row.tsx
4848
- import * as React80 from "react";
4868
+ import * as React82 from "react";
4849
4869
  import { Grid as Grid20 } from "@elementor/ui";
4850
4870
  var AxisRow = ({ label, bind, startIcon, anchorRef, units: units2, variant = "angle" }) => {
4851
4871
  const safeId = label.replace(/\s+/g, "-").toLowerCase();
4852
- return /* @__PURE__ */ React80.createElement(Grid20, { item: true, xs: 12 }, /* @__PURE__ */ React80.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React80.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React80.createElement(ControlLabel, { htmlFor: safeId }, label)), /* @__PURE__ */ React80.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React80.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React80.createElement(
4872
+ return /* @__PURE__ */ React82.createElement(Grid20, { item: true, xs: 12 }, /* @__PURE__ */ React82.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React82.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React82.createElement(ControlLabel, { htmlFor: safeId }, label)), /* @__PURE__ */ React82.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React82.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React82.createElement(
4853
4873
  SizeControl,
4854
4874
  {
4855
4875
  anchorRef,
@@ -4868,26 +4888,26 @@ var moveAxisControls = [
4868
4888
  {
4869
4889
  label: __37("Move X", "elementor"),
4870
4890
  bind: "x",
4871
- startIcon: /* @__PURE__ */ React81.createElement(ArrowRightIcon, { fontSize: "tiny" }),
4891
+ startIcon: /* @__PURE__ */ React83.createElement(ArrowRightIcon, { fontSize: "tiny" }),
4872
4892
  units: ["px", "%", "em", "rem", "vw"]
4873
4893
  },
4874
4894
  {
4875
4895
  label: __37("Move Y", "elementor"),
4876
4896
  bind: "y",
4877
- startIcon: /* @__PURE__ */ React81.createElement(ArrowDownSmallIcon, { fontSize: "tiny" }),
4897
+ startIcon: /* @__PURE__ */ React83.createElement(ArrowDownSmallIcon, { fontSize: "tiny" }),
4878
4898
  units: ["px", "%", "em", "rem", "vh"]
4879
4899
  },
4880
4900
  {
4881
4901
  label: __37("Move Z", "elementor"),
4882
4902
  bind: "z",
4883
- startIcon: /* @__PURE__ */ React81.createElement(ArrowDownLeftIcon, { fontSize: "tiny" }),
4903
+ startIcon: /* @__PURE__ */ React83.createElement(ArrowDownLeftIcon, { fontSize: "tiny" }),
4884
4904
  units: ["px", "%", "em", "rem", "vw", "vh"]
4885
4905
  }
4886
4906
  ];
4887
4907
  var Move = () => {
4888
4908
  const context = useBoundProp(moveTransformPropTypeUtil);
4889
4909
  const rowRefs = [useRef14(null), useRef14(null), useRef14(null)];
4890
- return /* @__PURE__ */ React81.createElement(Grid21, { container: true, spacing: 1.5 }, /* @__PURE__ */ React81.createElement(PropProvider, { ...context }, /* @__PURE__ */ React81.createElement(PropKeyProvider, { bind: TransformFunctionKeys.move }, moveAxisControls.map((control, index) => /* @__PURE__ */ React81.createElement(
4910
+ return /* @__PURE__ */ React83.createElement(Grid21, { container: true, spacing: 1.5 }, /* @__PURE__ */ React83.createElement(PropProvider, { ...context }, /* @__PURE__ */ React83.createElement(PropKeyProvider, { bind: TransformFunctionKeys.move }, moveAxisControls.map((control, index) => /* @__PURE__ */ React83.createElement(
4891
4911
  AxisRow,
4892
4912
  {
4893
4913
  key: control.bind,
@@ -4900,7 +4920,7 @@ var Move = () => {
4900
4920
  };
4901
4921
 
4902
4922
  // src/controls/transform-control/functions/rotate.tsx
4903
- import * as React82 from "react";
4923
+ import * as React84 from "react";
4904
4924
  import { useRef as useRef15 } from "react";
4905
4925
  import { rotateTransformPropTypeUtil as rotateTransformPropTypeUtil2 } from "@elementor/editor-props";
4906
4926
  import { Arrow360Icon, RotateClockwiseIcon } from "@elementor/icons";
@@ -4910,24 +4930,24 @@ var rotateAxisControls = [
4910
4930
  {
4911
4931
  label: __38("Rotate X", "elementor"),
4912
4932
  bind: "x",
4913
- startIcon: /* @__PURE__ */ React82.createElement(Arrow360Icon, { fontSize: "tiny" })
4933
+ startIcon: /* @__PURE__ */ React84.createElement(Arrow360Icon, { fontSize: "tiny" })
4914
4934
  },
4915
4935
  {
4916
4936
  label: __38("Rotate Y", "elementor"),
4917
4937
  bind: "y",
4918
- startIcon: /* @__PURE__ */ React82.createElement(Arrow360Icon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
4938
+ startIcon: /* @__PURE__ */ React84.createElement(Arrow360Icon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
4919
4939
  },
4920
4940
  {
4921
4941
  label: __38("Rotate Z", "elementor"),
4922
4942
  bind: "z",
4923
- startIcon: /* @__PURE__ */ React82.createElement(RotateClockwiseIcon, { fontSize: "tiny" })
4943
+ startIcon: /* @__PURE__ */ React84.createElement(RotateClockwiseIcon, { fontSize: "tiny" })
4924
4944
  }
4925
4945
  ];
4926
4946
  var rotateUnits = ["deg", "rad", "grad", "turn"];
4927
4947
  var Rotate = () => {
4928
4948
  const context = useBoundProp(rotateTransformPropTypeUtil2);
4929
4949
  const rowRefs = [useRef15(null), useRef15(null), useRef15(null)];
4930
- return /* @__PURE__ */ React82.createElement(Grid22, { container: true, spacing: 1.5 }, /* @__PURE__ */ React82.createElement(PropProvider, { ...context }, /* @__PURE__ */ React82.createElement(PropKeyProvider, { bind: TransformFunctionKeys.rotate }, rotateAxisControls.map((control, index) => /* @__PURE__ */ React82.createElement(
4950
+ return /* @__PURE__ */ React84.createElement(Grid22, { container: true, spacing: 1.5 }, /* @__PURE__ */ React84.createElement(PropProvider, { ...context }, /* @__PURE__ */ React84.createElement(PropKeyProvider, { bind: TransformFunctionKeys.rotate }, rotateAxisControls.map((control, index) => /* @__PURE__ */ React84.createElement(
4931
4951
  AxisRow,
4932
4952
  {
4933
4953
  key: control.bind,
@@ -4939,7 +4959,7 @@ var Rotate = () => {
4939
4959
  };
4940
4960
 
4941
4961
  // src/controls/transform-control/functions/scale.tsx
4942
- import * as React84 from "react";
4962
+ import * as React86 from "react";
4943
4963
  import { useRef as useRef16 } from "react";
4944
4964
  import { scaleTransformPropTypeUtil as scaleTransformPropTypeUtil2 } from "@elementor/editor-props";
4945
4965
  import { ArrowDownLeftIcon as ArrowDownLeftIcon2, ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowRightIcon as ArrowRightIcon2 } from "@elementor/icons";
@@ -4947,10 +4967,10 @@ import { Grid as Grid24 } from "@elementor/ui";
4947
4967
  import { __ as __39 } from "@wordpress/i18n";
4948
4968
 
4949
4969
  // src/controls/transform-control/functions/scale-axis-row.tsx
4950
- import * as React83 from "react";
4970
+ import * as React85 from "react";
4951
4971
  import { Grid as Grid23 } from "@elementor/ui";
4952
4972
  var ScaleAxisRow = ({ label, bind, startIcon, anchorRef }) => {
4953
- return /* @__PURE__ */ React83.createElement(Grid23, { item: true, xs: 12 }, /* @__PURE__ */ React83.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React83.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React83.createElement(ControlLabel, null, label)), /* @__PURE__ */ React83.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React83.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React83.createElement(NumberControl, { step: 0.1, placeholder: "1", startIcon })))));
4973
+ return /* @__PURE__ */ React85.createElement(Grid23, { item: true, xs: 12 }, /* @__PURE__ */ React85.createElement(PopoverGridContainer, { ref: anchorRef }, /* @__PURE__ */ React85.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React85.createElement(ControlLabel, null, label)), /* @__PURE__ */ React85.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React85.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React85.createElement(NumberControl, { step: 0.1, placeholder: "1", startIcon })))));
4954
4974
  };
4955
4975
 
4956
4976
  // src/controls/transform-control/functions/scale.tsx
@@ -4958,27 +4978,27 @@ var scaleAxisControls = [
4958
4978
  {
4959
4979
  label: __39("Scale X", "elementor"),
4960
4980
  bind: "x",
4961
- startIcon: /* @__PURE__ */ React84.createElement(ArrowRightIcon2, { fontSize: "tiny" })
4981
+ startIcon: /* @__PURE__ */ React86.createElement(ArrowRightIcon2, { fontSize: "tiny" })
4962
4982
  },
4963
4983
  {
4964
4984
  label: __39("Scale Y", "elementor"),
4965
4985
  bind: "y",
4966
- startIcon: /* @__PURE__ */ React84.createElement(ArrowDownSmallIcon2, { fontSize: "tiny" })
4986
+ startIcon: /* @__PURE__ */ React86.createElement(ArrowDownSmallIcon2, { fontSize: "tiny" })
4967
4987
  },
4968
4988
  {
4969
4989
  label: __39("Scale Z", "elementor"),
4970
4990
  bind: "z",
4971
- startIcon: /* @__PURE__ */ React84.createElement(ArrowDownLeftIcon2, { fontSize: "tiny" })
4991
+ startIcon: /* @__PURE__ */ React86.createElement(ArrowDownLeftIcon2, { fontSize: "tiny" })
4972
4992
  }
4973
4993
  ];
4974
4994
  var Scale = () => {
4975
4995
  const context = useBoundProp(scaleTransformPropTypeUtil2);
4976
4996
  const rowRefs = [useRef16(null), useRef16(null), useRef16(null)];
4977
- return /* @__PURE__ */ React84.createElement(Grid24, { container: true, spacing: 1.5 }, /* @__PURE__ */ React84.createElement(PropProvider, { ...context }, /* @__PURE__ */ React84.createElement(PropKeyProvider, { bind: TransformFunctionKeys.scale }, scaleAxisControls.map((control, index) => /* @__PURE__ */ React84.createElement(ScaleAxisRow, { key: control.bind, ...control, anchorRef: rowRefs[index] })))));
4997
+ return /* @__PURE__ */ React86.createElement(Grid24, { container: true, spacing: 1.5 }, /* @__PURE__ */ React86.createElement(PropProvider, { ...context }, /* @__PURE__ */ React86.createElement(PropKeyProvider, { bind: TransformFunctionKeys.scale }, scaleAxisControls.map((control, index) => /* @__PURE__ */ React86.createElement(ScaleAxisRow, { key: control.bind, ...control, anchorRef: rowRefs[index] })))));
4978
4998
  };
4979
4999
 
4980
5000
  // src/controls/transform-control/functions/skew.tsx
4981
- import * as React85 from "react";
5001
+ import * as React87 from "react";
4982
5002
  import { useRef as useRef17 } from "react";
4983
5003
  import { skewTransformPropTypeUtil as skewTransformPropTypeUtil2 } from "@elementor/editor-props";
4984
5004
  import { ArrowLeftIcon, ArrowRightIcon as ArrowRightIcon3 } from "@elementor/icons";
@@ -4988,19 +5008,19 @@ var skewAxisControls = [
4988
5008
  {
4989
5009
  label: __40("Skew X", "elementor"),
4990
5010
  bind: "x",
4991
- startIcon: /* @__PURE__ */ React85.createElement(ArrowRightIcon3, { fontSize: "tiny" })
5011
+ startIcon: /* @__PURE__ */ React87.createElement(ArrowRightIcon3, { fontSize: "tiny" })
4992
5012
  },
4993
5013
  {
4994
5014
  label: __40("Skew Y", "elementor"),
4995
5015
  bind: "y",
4996
- startIcon: /* @__PURE__ */ React85.createElement(ArrowLeftIcon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
5016
+ startIcon: /* @__PURE__ */ React87.createElement(ArrowLeftIcon, { fontSize: "tiny", style: { transform: "scaleX(-1) rotate(-90deg)" } })
4997
5017
  }
4998
5018
  ];
4999
5019
  var skewUnits = ["deg", "rad", "grad", "turn"];
5000
5020
  var Skew = () => {
5001
5021
  const context = useBoundProp(skewTransformPropTypeUtil2);
5002
5022
  const rowRefs = [useRef17(null), useRef17(null), useRef17(null)];
5003
- return /* @__PURE__ */ React85.createElement(Grid25, { container: true, spacing: 1.5 }, /* @__PURE__ */ React85.createElement(PropProvider, { ...context }, /* @__PURE__ */ React85.createElement(PropKeyProvider, { bind: TransformFunctionKeys.skew }, skewAxisControls.map((control, index) => /* @__PURE__ */ React85.createElement(
5023
+ return /* @__PURE__ */ React87.createElement(Grid25, { container: true, spacing: 1.5 }, /* @__PURE__ */ React87.createElement(PropProvider, { ...context }, /* @__PURE__ */ React87.createElement(PropKeyProvider, { bind: TransformFunctionKeys.skew }, skewAxisControls.map((control, index) => /* @__PURE__ */ React87.createElement(
5004
5024
  AxisRow,
5005
5025
  {
5006
5026
  key: control.bind,
@@ -5105,7 +5125,7 @@ var TransformContent = () => {
5105
5125
  rotate: initialRotateValue.value,
5106
5126
  skew: initialSkewValue.value
5107
5127
  });
5108
- return /* @__PURE__ */ React86.createElement(PopoverContent, null, /* @__PURE__ */ React86.createElement(Box14, { sx: { width: "100%" } }, /* @__PURE__ */ React86.createElement(Box14, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React86.createElement(
5128
+ return /* @__PURE__ */ React88.createElement(PopoverContent, null, /* @__PURE__ */ React88.createElement(Box14, { sx: { width: "100%" } }, /* @__PURE__ */ React88.createElement(Box14, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React88.createElement(
5109
5129
  Tabs2,
5110
5130
  {
5111
5131
  size: "small",
@@ -5118,33 +5138,33 @@ var TransformContent = () => {
5118
5138
  ...getTabsProps(),
5119
5139
  "aria-label": __41("Transform", "elementor")
5120
5140
  },
5121
- /* @__PURE__ */ React86.createElement(Tab2, { label: __41("Move", "elementor"), ...getTabProps(TransformFunctionKeys.move) }),
5122
- /* @__PURE__ */ React86.createElement(Tab2, { label: __41("Scale", "elementor"), ...getTabProps(TransformFunctionKeys.scale) }),
5123
- /* @__PURE__ */ React86.createElement(Tab2, { label: __41("Rotate", "elementor"), ...getTabProps(TransformFunctionKeys.rotate) }),
5124
- /* @__PURE__ */ React86.createElement(Tab2, { label: __41("Skew", "elementor"), ...getTabProps(TransformFunctionKeys.skew) })
5125
- )), /* @__PURE__ */ React86.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.move) }, /* @__PURE__ */ React86.createElement(Move, null)), /* @__PURE__ */ React86.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.scale) }, /* @__PURE__ */ React86.createElement(Scale, null)), /* @__PURE__ */ React86.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.rotate) }, /* @__PURE__ */ React86.createElement(Rotate, null)), /* @__PURE__ */ React86.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.skew) }, /* @__PURE__ */ React86.createElement(Skew, null))));
5141
+ /* @__PURE__ */ React88.createElement(Tab2, { label: __41("Move", "elementor"), ...getTabProps(TransformFunctionKeys.move) }),
5142
+ /* @__PURE__ */ React88.createElement(Tab2, { label: __41("Scale", "elementor"), ...getTabProps(TransformFunctionKeys.scale) }),
5143
+ /* @__PURE__ */ React88.createElement(Tab2, { label: __41("Rotate", "elementor"), ...getTabProps(TransformFunctionKeys.rotate) }),
5144
+ /* @__PURE__ */ React88.createElement(Tab2, { label: __41("Skew", "elementor"), ...getTabProps(TransformFunctionKeys.skew) })
5145
+ )), /* @__PURE__ */ React88.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.move) }, /* @__PURE__ */ React88.createElement(Move, null)), /* @__PURE__ */ React88.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.scale) }, /* @__PURE__ */ React88.createElement(Scale, null)), /* @__PURE__ */ React88.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.rotate) }, /* @__PURE__ */ React88.createElement(Rotate, null)), /* @__PURE__ */ React88.createElement(TabPanel2, { sx: { p: 1.5 }, ...getTabPanelProps(TransformFunctionKeys.skew) }, /* @__PURE__ */ React88.createElement(Skew, null))));
5126
5146
  };
5127
5147
 
5128
5148
  // src/controls/transform-control/transform-icon.tsx
5129
- import * as React87 from "react";
5149
+ import * as React89 from "react";
5130
5150
  import { ArrowAutofitHeightIcon, ArrowsMaximizeIcon as ArrowsMaximizeIcon2, RotateClockwise2Icon, SkewXIcon } from "@elementor/icons";
5131
5151
  var TransformIcon = ({ value }) => {
5132
5152
  switch (value.$$type) {
5133
5153
  case TransformFunctionKeys.move:
5134
- return /* @__PURE__ */ React87.createElement(ArrowsMaximizeIcon2, { fontSize: "tiny" });
5154
+ return /* @__PURE__ */ React89.createElement(ArrowsMaximizeIcon2, { fontSize: "tiny" });
5135
5155
  case TransformFunctionKeys.scale:
5136
- return /* @__PURE__ */ React87.createElement(ArrowAutofitHeightIcon, { fontSize: "tiny" });
5156
+ return /* @__PURE__ */ React89.createElement(ArrowAutofitHeightIcon, { fontSize: "tiny" });
5137
5157
  case TransformFunctionKeys.rotate:
5138
- return /* @__PURE__ */ React87.createElement(RotateClockwise2Icon, { fontSize: "tiny" });
5158
+ return /* @__PURE__ */ React89.createElement(RotateClockwise2Icon, { fontSize: "tiny" });
5139
5159
  case TransformFunctionKeys.skew:
5140
- return /* @__PURE__ */ React87.createElement(SkewXIcon, { fontSize: "tiny" });
5160
+ return /* @__PURE__ */ React89.createElement(SkewXIcon, { fontSize: "tiny" });
5141
5161
  default:
5142
5162
  return null;
5143
5163
  }
5144
5164
  };
5145
5165
 
5146
5166
  // src/controls/transform-control/transform-label.tsx
5147
- import * as React88 from "react";
5167
+ import * as React90 from "react";
5148
5168
  import { Box as Box15 } from "@elementor/ui";
5149
5169
  import { __ as __42 } from "@wordpress/i18n";
5150
5170
  var formatLabel = (value, functionType) => {
@@ -5162,30 +5182,30 @@ var TransformLabel = (props) => {
5162
5182
  const { $$type, value } = props.value;
5163
5183
  switch ($$type) {
5164
5184
  case TransformFunctionKeys.move:
5165
- return /* @__PURE__ */ React88.createElement(Label2, { label: __42("Move", "elementor"), value: formatLabel(value, "move") });
5185
+ return /* @__PURE__ */ React90.createElement(Label2, { label: __42("Move", "elementor"), value: formatLabel(value, "move") });
5166
5186
  case TransformFunctionKeys.scale:
5167
- return /* @__PURE__ */ React88.createElement(Label2, { label: __42("Scale", "elementor"), value: formatLabel(value, "scale") });
5187
+ return /* @__PURE__ */ React90.createElement(Label2, { label: __42("Scale", "elementor"), value: formatLabel(value, "scale") });
5168
5188
  case TransformFunctionKeys.rotate:
5169
- return /* @__PURE__ */ React88.createElement(Label2, { label: __42("Rotate", "elementor"), value: formatLabel(value, "rotate") });
5189
+ return /* @__PURE__ */ React90.createElement(Label2, { label: __42("Rotate", "elementor"), value: formatLabel(value, "rotate") });
5170
5190
  case TransformFunctionKeys.skew:
5171
- return /* @__PURE__ */ React88.createElement(Label2, { label: __42("Skew", "elementor"), value: formatLabel(value, "skew") });
5191
+ return /* @__PURE__ */ React90.createElement(Label2, { label: __42("Skew", "elementor"), value: formatLabel(value, "skew") });
5172
5192
  default:
5173
5193
  return "";
5174
5194
  }
5175
5195
  };
5176
5196
  var Label2 = ({ label, value }) => {
5177
- return /* @__PURE__ */ React88.createElement(Box15, { component: "span" }, label, ": ", value);
5197
+ return /* @__PURE__ */ React90.createElement(Box15, { component: "span" }, label, ": ", value);
5178
5198
  };
5179
5199
 
5180
5200
  // src/controls/transform-control/transform-settings-control.tsx
5181
- import * as React91 from "react";
5201
+ import * as React93 from "react";
5182
5202
  import { PopoverHeader as PopoverHeader3 } from "@elementor/editor-ui";
5183
5203
  import { AdjustmentsIcon } from "@elementor/icons";
5184
5204
  import { bindPopover as bindPopover5, Box as Box16, Divider as Divider4, Popover as Popover5 } from "@elementor/ui";
5185
5205
  import { __ as __45 } from "@wordpress/i18n";
5186
5206
 
5187
5207
  // src/controls/transform-control/transform-base-controls/children-perspective-control.tsx
5188
- import * as React89 from "react";
5208
+ import * as React91 from "react";
5189
5209
  import { perspectiveOriginPropTypeUtil } from "@elementor/editor-props";
5190
5210
  import { Grid as Grid26, Stack as Stack14 } from "@elementor/ui";
5191
5211
  import { __ as __43 } from "@wordpress/i18n";
@@ -5208,21 +5228,21 @@ var CHILDREN_PERSPECTIVE_FIELDS = [
5208
5228
  }
5209
5229
  ];
5210
5230
  var ChildrenPerspectiveControl = () => {
5211
- return /* @__PURE__ */ React89.createElement(Stack14, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React89.createElement(ControlFormLabel, null, __43("Children perspective", "elementor")), /* @__PURE__ */ React89.createElement(PerspectiveControl, null), /* @__PURE__ */ React89.createElement(PerspectiveOriginControl, null));
5231
+ return /* @__PURE__ */ React91.createElement(Stack14, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React91.createElement(ControlFormLabel, null, __43("Children perspective", "elementor")), /* @__PURE__ */ React91.createElement(PerspectiveControl, null), /* @__PURE__ */ React91.createElement(PerspectiveOriginControl, null));
5212
5232
  };
5213
- var PerspectiveControl = () => /* @__PURE__ */ React89.createElement(PropKeyProvider, { bind: "perspective" }, /* @__PURE__ */ React89.createElement(ControlFields, { control: PERSPECTIVE_CONTROL_FIELD, key: PERSPECTIVE_CONTROL_FIELD.bind }));
5214
- var PerspectiveOriginControl = () => /* @__PURE__ */ React89.createElement(PropKeyProvider, { bind: "perspective-origin" }, /* @__PURE__ */ React89.createElement(PerspectiveOriginControlProvider, null));
5233
+ var PerspectiveControl = () => /* @__PURE__ */ React91.createElement(PropKeyProvider, { bind: "perspective" }, /* @__PURE__ */ React91.createElement(ControlFields, { control: PERSPECTIVE_CONTROL_FIELD, key: PERSPECTIVE_CONTROL_FIELD.bind }));
5234
+ var PerspectiveOriginControl = () => /* @__PURE__ */ React91.createElement(PropKeyProvider, { bind: "perspective-origin" }, /* @__PURE__ */ React91.createElement(PerspectiveOriginControlProvider, null));
5215
5235
  var PerspectiveOriginControlProvider = () => {
5216
5236
  const context = useBoundProp(perspectiveOriginPropTypeUtil);
5217
- return /* @__PURE__ */ React89.createElement(PropProvider, { ...context }, CHILDREN_PERSPECTIVE_FIELDS.map((control) => /* @__PURE__ */ React89.createElement(PropKeyProvider, { bind: control.bind, key: control.bind }, /* @__PURE__ */ React89.createElement(ControlFields, { control }))));
5237
+ return /* @__PURE__ */ React91.createElement(PropProvider, { ...context }, CHILDREN_PERSPECTIVE_FIELDS.map((control) => /* @__PURE__ */ React91.createElement(PropKeyProvider, { bind: control.bind, key: control.bind }, /* @__PURE__ */ React91.createElement(ControlFields, { control }))));
5218
5238
  };
5219
5239
  var ControlFields = ({ control }) => {
5220
- const rowRef = React89.useRef(null);
5221
- return /* @__PURE__ */ React89.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React89.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React89.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React89.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React89.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef, disableCustom: true })));
5240
+ const rowRef = React91.useRef(null);
5241
+ return /* @__PURE__ */ React91.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React91.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React91.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React91.createElement(Grid26, { item: true, xs: 6 }, /* @__PURE__ */ React91.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef, disableCustom: true })));
5222
5242
  };
5223
5243
 
5224
5244
  // src/controls/transform-control/transform-base-controls/transform-origin-control.tsx
5225
- import * as React90 from "react";
5245
+ import * as React92 from "react";
5226
5246
  import { transformOriginPropTypeUtil } from "@elementor/editor-props";
5227
5247
  import { Grid as Grid27, Stack as Stack15 } from "@elementor/ui";
5228
5248
  import { __ as __44 } from "@wordpress/i18n";
@@ -5246,12 +5266,12 @@ var TRANSFORM_ORIGIN_FIELDS = [
5246
5266
  }
5247
5267
  ];
5248
5268
  var TransformOriginControl = () => {
5249
- return /* @__PURE__ */ React90.createElement(Stack15, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React90.createElement(ControlFormLabel, null, __44("Transform", "elementor")), TRANSFORM_ORIGIN_FIELDS.map((control) => /* @__PURE__ */ React90.createElement(ControlFields2, { control, key: control.bind })));
5269
+ return /* @__PURE__ */ React92.createElement(Stack15, { direction: "column", spacing: 1.5 }, /* @__PURE__ */ React92.createElement(ControlFormLabel, null, __44("Transform", "elementor")), TRANSFORM_ORIGIN_FIELDS.map((control) => /* @__PURE__ */ React92.createElement(ControlFields2, { control, key: control.bind })));
5250
5270
  };
5251
5271
  var ControlFields2 = ({ control }) => {
5252
5272
  const context = useBoundProp(transformOriginPropTypeUtil);
5253
- const rowRef = React90.useRef(null);
5254
- return /* @__PURE__ */ React90.createElement(PropProvider, { ...context }, /* @__PURE__ */ React90.createElement(PropKeyProvider, { bind: control.bind }, /* @__PURE__ */ React90.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React90.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React90.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React90.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React90.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef, disableCustom: true })))));
5273
+ const rowRef = React92.useRef(null);
5274
+ return /* @__PURE__ */ React92.createElement(PropProvider, { ...context }, /* @__PURE__ */ React92.createElement(PropKeyProvider, { bind: control.bind }, /* @__PURE__ */ React92.createElement(PopoverGridContainer, { ref: rowRef }, /* @__PURE__ */ React92.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React92.createElement(ControlFormLabel, null, control.label)), /* @__PURE__ */ React92.createElement(Grid27, { item: true, xs: 6 }, /* @__PURE__ */ React92.createElement(SizeControl, { variant: "length", units: control.units, anchorRef: rowRef, disableCustom: true })))));
5255
5275
  };
5256
5276
 
5257
5277
  // src/controls/transform-control/transform-settings-control.tsx
@@ -5264,7 +5284,7 @@ var TransformSettingsControl = ({
5264
5284
  ...popupState,
5265
5285
  anchorEl: anchorRef.current ?? void 0
5266
5286
  });
5267
- return /* @__PURE__ */ React91.createElement(
5287
+ return /* @__PURE__ */ React93.createElement(
5268
5288
  Popover5,
5269
5289
  {
5270
5290
  disablePortal: true,
@@ -5279,16 +5299,16 @@ var TransformSettingsControl = ({
5279
5299
  },
5280
5300
  ...popupProps
5281
5301
  },
5282
- /* @__PURE__ */ React91.createElement(
5302
+ /* @__PURE__ */ React93.createElement(
5283
5303
  PopoverHeader3,
5284
5304
  {
5285
5305
  title: __45("Transform settings", "elementor"),
5286
5306
  onClose: popupState.close,
5287
- icon: /* @__PURE__ */ React91.createElement(AdjustmentsIcon, { fontSize: SIZE7 })
5307
+ icon: /* @__PURE__ */ React93.createElement(AdjustmentsIcon, { fontSize: SIZE7 })
5288
5308
  }
5289
5309
  ),
5290
- /* @__PURE__ */ React91.createElement(Divider4, null),
5291
- /* @__PURE__ */ React91.createElement(PopoverContent, { sx: { px: 2, py: 1.5 } }, /* @__PURE__ */ React91.createElement(PropKeyProvider, { bind: "transform-origin" }, /* @__PURE__ */ React91.createElement(TransformOriginControl, null)), /* @__PURE__ */ React91.createElement(Box16, { sx: { my: 0.5 } }, /* @__PURE__ */ React91.createElement(Divider4, null)), /* @__PURE__ */ React91.createElement(ChildrenPerspectiveControl, null))
5310
+ /* @__PURE__ */ React93.createElement(Divider4, null),
5311
+ /* @__PURE__ */ React93.createElement(PopoverContent, { sx: { px: 2, py: 1.5 } }, /* @__PURE__ */ React93.createElement(PropKeyProvider, { bind: "transform-origin" }, /* @__PURE__ */ React93.createElement(TransformOriginControl, null)), /* @__PURE__ */ React93.createElement(Box16, { sx: { my: 0.5 } }, /* @__PURE__ */ React93.createElement(Divider4, null)), /* @__PURE__ */ React93.createElement(ChildrenPerspectiveControl, null))
5292
5312
  );
5293
5313
  };
5294
5314
 
@@ -5298,17 +5318,17 @@ var TransformRepeaterControl = createControl(() => {
5298
5318
  const context = useBoundProp(transformPropTypeUtil);
5299
5319
  const headerRef = useRef21(null);
5300
5320
  const popupState = usePopupState6({ variant: "popover" });
5301
- return /* @__PURE__ */ React92.createElement(PropProvider, { ...context }, /* @__PURE__ */ React92.createElement(TransformSettingsControl, { popupState, anchorRef: headerRef }), /* @__PURE__ */ React92.createElement(PropKeyProvider, { bind: "transform-functions" }, /* @__PURE__ */ React92.createElement(Repeater2, { headerRef, propType: context.propType, popupState })));
5321
+ return /* @__PURE__ */ React94.createElement(PropProvider, { ...context }, /* @__PURE__ */ React94.createElement(TransformSettingsControl, { popupState, anchorRef: headerRef }), /* @__PURE__ */ React94.createElement(PropKeyProvider, { bind: "transform-functions" }, /* @__PURE__ */ React94.createElement(Repeater2, { headerRef, propType: context.propType, popupState })));
5302
5322
  });
5303
- var ToolTip = /* @__PURE__ */ React92.createElement(
5323
+ var ToolTip = /* @__PURE__ */ React94.createElement(
5304
5324
  Box17,
5305
5325
  {
5306
5326
  component: "span",
5307
5327
  "aria-label": void 0,
5308
5328
  sx: { display: "flex", gap: 0.5, p: 2, width: 320, borderRadius: 1 }
5309
5329
  },
5310
- /* @__PURE__ */ React92.createElement(InfoCircleFilledIcon2, { sx: { color: "secondary.main" } }),
5311
- /* @__PURE__ */ React92.createElement(Typography6, { variant: "body2", color: "text.secondary", fontSize: "14px" }, __46("You can use each kind of transform only once per element.", "elementor"))
5330
+ /* @__PURE__ */ React94.createElement(InfoCircleFilledIcon2, { sx: { color: "secondary.main" } }),
5331
+ /* @__PURE__ */ React94.createElement(Typography6, { variant: "body2", color: "text.secondary", fontSize: "14px" }, __46("You can use each kind of transform only once per element.", "elementor"))
5312
5332
  );
5313
5333
  var Repeater2 = ({
5314
5334
  headerRef,
@@ -5322,21 +5342,21 @@ var Repeater2 = ({
5322
5342
  return availableValues.find((value) => !transformValues?.some((item) => item.$$type === value.$$type));
5323
5343
  };
5324
5344
  const shouldDisableAddItem = !getInitialValue();
5325
- return /* @__PURE__ */ React92.createElement(PropProvider, { ...transformFunctionsContext }, /* @__PURE__ */ React92.createElement(
5345
+ return /* @__PURE__ */ React94.createElement(PropProvider, { ...transformFunctionsContext }, /* @__PURE__ */ React94.createElement(
5326
5346
  ControlRepeater,
5327
5347
  {
5328
5348
  initial: getInitialValue() ?? initialTransformValue,
5329
5349
  propTypeUtil: transformFunctionsPropTypeUtil
5330
5350
  },
5331
- /* @__PURE__ */ React92.createElement(
5332
- Header,
5351
+ /* @__PURE__ */ React94.createElement(
5352
+ RepeaterHeader,
5333
5353
  {
5334
5354
  label: __46("Transform", "elementor"),
5335
- adornment: () => /* @__PURE__ */ React92.createElement(ControlAdornments, { customContext: { path: ["transform"], propType } }),
5355
+ adornment: () => /* @__PURE__ */ React94.createElement(ControlAdornments, { customContext: { path: ["transform"], propType } }),
5336
5356
  ref: headerRef
5337
5357
  },
5338
- /* @__PURE__ */ React92.createElement(TransformBasePopoverTrigger, { popupState, repeaterBindKey: bind }),
5339
- /* @__PURE__ */ React92.createElement(
5358
+ /* @__PURE__ */ React94.createElement(TransformBasePopoverTrigger, { popupState, repeaterBindKey: bind }),
5359
+ /* @__PURE__ */ React94.createElement(
5340
5360
  TooltipAddItemAction,
5341
5361
  {
5342
5362
  disabled: shouldDisableAddItem,
@@ -5346,15 +5366,15 @@ var Repeater2 = ({
5346
5366
  }
5347
5367
  )
5348
5368
  ),
5349
- /* @__PURE__ */ React92.createElement(ItemsContainer, null, /* @__PURE__ */ React92.createElement(
5369
+ /* @__PURE__ */ React94.createElement(ItemsContainer, null, /* @__PURE__ */ React94.createElement(
5350
5370
  Item,
5351
5371
  {
5352
5372
  Icon: TransformIcon,
5353
5373
  Label: TransformLabel,
5354
- actions: /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(DisableItemAction, null), /* @__PURE__ */ React92.createElement(RemoveItemAction, null))
5374
+ actions: /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(DisableItemAction, null), /* @__PURE__ */ React94.createElement(RemoveItemAction, null))
5355
5375
  }
5356
5376
  )),
5357
- /* @__PURE__ */ React92.createElement(EditItemPopover, null, /* @__PURE__ */ React92.createElement(TransformContent, null))
5377
+ /* @__PURE__ */ React94.createElement(EditItemPopover, null, /* @__PURE__ */ React94.createElement(TransformContent, null))
5358
5378
  ));
5359
5379
  };
5360
5380
  var TransformBasePopoverTrigger = ({
@@ -5363,11 +5383,11 @@ var TransformBasePopoverTrigger = ({
5363
5383
  }) => {
5364
5384
  const { bind } = useBoundProp();
5365
5385
  const titleLabel = __46("Transform settings", "elementor");
5366
- return bind !== repeaterBindKey ? null : /* @__PURE__ */ React92.createElement(Tooltip8, { title: titleLabel, placement: "top" }, /* @__PURE__ */ React92.createElement(IconButton7, { size: SIZE8, "aria-label": titleLabel, ...bindTrigger4(popupState) }, /* @__PURE__ */ React92.createElement(AdjustmentsIcon2, { fontSize: SIZE8 })));
5386
+ return bind !== repeaterBindKey ? null : /* @__PURE__ */ React94.createElement(Tooltip8, { title: titleLabel, placement: "top" }, /* @__PURE__ */ React94.createElement(IconButton7, { size: SIZE8, "aria-label": titleLabel, ...bindTrigger4(popupState) }, /* @__PURE__ */ React94.createElement(AdjustmentsIcon2, { fontSize: SIZE8 })));
5367
5387
  };
5368
5388
 
5369
5389
  // src/controls/transition-control/transition-repeater-control.tsx
5370
- import * as React95 from "react";
5390
+ import * as React97 from "react";
5371
5391
  import { useEffect as useEffect8, useMemo as useMemo10, useState as useState15 } from "react";
5372
5392
  import { createArrayPropUtils as createArrayPropUtils2, selectionSizePropTypeUtil as selectionSizePropTypeUtil2 } from "@elementor/editor-props";
5373
5393
  import { InfoCircleFilledIcon as InfoCircleFilledIcon3 } from "@elementor/icons";
@@ -5375,7 +5395,7 @@ import { Alert as Alert2, AlertTitle as AlertTitle3, Box as Box19, Typography as
5375
5395
  import { __ as __49 } from "@wordpress/i18n";
5376
5396
 
5377
5397
  // src/controls/selection-size-control.tsx
5378
- import * as React93 from "react";
5398
+ import * as React95 from "react";
5379
5399
  import { useMemo as useMemo9, useRef as useRef22 } from "react";
5380
5400
  import { selectionSizePropTypeUtil } from "@elementor/editor-props";
5381
5401
  import { Grid as Grid28 } from "@elementor/ui";
@@ -5401,7 +5421,7 @@ var SelectionSizeControl = createControl(
5401
5421
  }
5402
5422
  }, [value, sizeConfigMap]);
5403
5423
  const SelectionComponent = selectionConfig.component;
5404
- return /* @__PURE__ */ React93.createElement(PropProvider, { value, setValue, propType }, /* @__PURE__ */ React93.createElement(Grid28, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React93.createElement(Grid28, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React93.createElement(ControlFormLabel, null, selectionLabel)), /* @__PURE__ */ React93.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React93.createElement(PropKeyProvider, { bind: "selection" }, /* @__PURE__ */ React93.createElement(SelectionComponent, { ...selectionConfig.props }))), currentSizeConfig && /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(Grid28, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React93.createElement(ControlFormLabel, { htmlFor: sizeFieldId }, sizeLabel)), /* @__PURE__ */ React93.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React93.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React93.createElement(
5424
+ return /* @__PURE__ */ React95.createElement(PropProvider, { value, setValue, propType }, /* @__PURE__ */ React95.createElement(Grid28, { container: true, spacing: 1.5, ref: rowRef }, /* @__PURE__ */ React95.createElement(Grid28, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React95.createElement(ControlFormLabel, null, selectionLabel)), /* @__PURE__ */ React95.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "selection" }, /* @__PURE__ */ React95.createElement(SelectionComponent, { ...selectionConfig.props }))), currentSizeConfig && /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(Grid28, { item: true, xs: 6, sx: { display: "flex", alignItems: "center" } }, /* @__PURE__ */ React95.createElement(ControlFormLabel, { htmlFor: sizeFieldId }, sizeLabel)), /* @__PURE__ */ React95.createElement(Grid28, { item: true, xs: 6 }, /* @__PURE__ */ React95.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React95.createElement(
5405
5425
  SizeControl,
5406
5426
  {
5407
5427
  anchorRef: rowRef,
@@ -5463,7 +5483,7 @@ function subscribeToTransitionEvent() {
5463
5483
  }
5464
5484
 
5465
5485
  // src/controls/transition-control/transition-selector.tsx
5466
- import * as React94 from "react";
5486
+ import * as React96 from "react";
5467
5487
  import { useRef as useRef23 } from "react";
5468
5488
  import { keyValuePropTypeUtil as keyValuePropTypeUtil2 } from "@elementor/editor-props";
5469
5489
  import { ChevronDownIcon as ChevronDownIcon3, VariationsIcon } from "@elementor/icons";
@@ -5538,16 +5558,16 @@ var TransitionSelector = ({
5538
5558
  left: rect.right + 36
5539
5559
  };
5540
5560
  };
5541
- return /* @__PURE__ */ React94.createElement(Box18, { ref: defaultRef }, /* @__PURE__ */ React94.createElement(
5561
+ return /* @__PURE__ */ React96.createElement(Box18, { ref: defaultRef }, /* @__PURE__ */ React96.createElement(
5542
5562
  UnstableTag3,
5543
5563
  {
5544
5564
  variant: "outlined",
5545
5565
  label: transitionLabel,
5546
- endIcon: /* @__PURE__ */ React94.createElement(ChevronDownIcon3, { fontSize: "tiny" }),
5566
+ endIcon: /* @__PURE__ */ React96.createElement(ChevronDownIcon3, { fontSize: "tiny" }),
5547
5567
  ...bindTrigger5(popoverState),
5548
5568
  fullWidth: true
5549
5569
  }
5550
- ), /* @__PURE__ */ React94.createElement(
5570
+ ), /* @__PURE__ */ React96.createElement(
5551
5571
  Popover6,
5552
5572
  {
5553
5573
  disablePortal: true,
@@ -5558,7 +5578,7 @@ var TransitionSelector = ({
5558
5578
  anchorOrigin: { vertical: "top", horizontal: "right" },
5559
5579
  transformOrigin: { vertical: "top", horizontal: "left" }
5560
5580
  },
5561
- /* @__PURE__ */ React94.createElement(
5581
+ /* @__PURE__ */ React96.createElement(
5562
5582
  ItemSelector,
5563
5583
  {
5564
5584
  itemsList: getItemList(),
@@ -5612,7 +5632,7 @@ function getChildControlConfig(recentlyUsedList, disabledItems) {
5612
5632
  props: getSelectionSizeProps(recentlyUsedList, disabledItems)
5613
5633
  };
5614
5634
  }
5615
- var disableAddItemTooltipContent = /* @__PURE__ */ React95.createElement(
5635
+ var disableAddItemTooltipContent = /* @__PURE__ */ React97.createElement(
5616
5636
  Alert2,
5617
5637
  {
5618
5638
  sx: {
@@ -5620,10 +5640,10 @@ var disableAddItemTooltipContent = /* @__PURE__ */ React95.createElement(
5620
5640
  gap: 0.5
5621
5641
  },
5622
5642
  color: "secondary",
5623
- icon: /* @__PURE__ */ React95.createElement(InfoCircleFilledIcon3, null)
5643
+ icon: /* @__PURE__ */ React97.createElement(InfoCircleFilledIcon3, null)
5624
5644
  },
5625
- /* @__PURE__ */ React95.createElement(AlertTitle3, null, __49("Transitions", "elementor")),
5626
- /* @__PURE__ */ React95.createElement(Box19, { component: "span" }, /* @__PURE__ */ React95.createElement(Typography7, { variant: "body2" }, __49("Switch to 'Normal' state to add a transition.", "elementor")))
5645
+ /* @__PURE__ */ React97.createElement(AlertTitle3, null, __49("Transitions", "elementor")),
5646
+ /* @__PURE__ */ React97.createElement(Box19, { component: "span" }, /* @__PURE__ */ React97.createElement(Typography7, { variant: "body2" }, __49("Switch to 'Normal' state to add a transition.", "elementor")))
5627
5647
  );
5628
5648
  subscribeToTransitionEvent();
5629
5649
  var getTransitionLabel = (item) => {
@@ -5669,7 +5689,7 @@ var TransitionRepeaterControl = createControl(
5669
5689
  }, [recentlyUsedListGetter]);
5670
5690
  const allPropertiesUsed = value?.length === transitionProperties.length;
5671
5691
  const isAddItemDisabled = !currentStyleIsNormal || allPropertiesUsed;
5672
- return /* @__PURE__ */ React95.createElement(
5692
+ return /* @__PURE__ */ React97.createElement(
5673
5693
  RepeatableControl,
5674
5694
  {
5675
5695
  label: __49("Transitions", "elementor"),
@@ -5692,7 +5712,7 @@ var TransitionRepeaterControl = createControl(
5692
5712
  );
5693
5713
 
5694
5714
  // src/controls/date-time-control.tsx
5695
- import * as React96 from "react";
5715
+ import * as React98 from "react";
5696
5716
  import * as dayjs from "dayjs";
5697
5717
  import { isTransformable as isTransformable2, stringPropTypeUtil as stringPropTypeUtil14 } from "@elementor/editor-props";
5698
5718
  import { DateTimePropTypeUtil } from "@elementor/editor-props";
@@ -5740,7 +5760,7 @@ var DateTimeControl = createControl(({ inputDisabled }) => {
5740
5760
  const base = dayjs.default();
5741
5761
  return base.hour(h).minute(m).second(0).millisecond(0);
5742
5762
  };
5743
- return /* @__PURE__ */ React96.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React96.createElement(ControlActions, null, /* @__PURE__ */ React96.createElement(LocalizationProvider, null, /* @__PURE__ */ React96.createElement(Box20, { display: "flex", gap: 1, alignItems: "center" }, /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "date" }, /* @__PURE__ */ React96.createElement(
5763
+ return /* @__PURE__ */ React98.createElement(PropProvider, { ...propContext, value, setValue }, /* @__PURE__ */ React98.createElement(ControlActions, null, /* @__PURE__ */ React98.createElement(LocalizationProvider, null, /* @__PURE__ */ React98.createElement(Box20, { display: "flex", gap: 1, alignItems: "center" }, /* @__PURE__ */ React98.createElement(PropKeyProvider, { bind: "date" }, /* @__PURE__ */ React98.createElement(
5744
5764
  DatePicker,
5745
5765
  {
5746
5766
  value: parseDateValue(stringPropTypeUtil14.extract(value?.date)),
@@ -5752,7 +5772,7 @@ var DateTimeControl = createControl(({ inputDisabled }) => {
5752
5772
  openPickerIcon: { fontSize: "tiny" }
5753
5773
  }
5754
5774
  }
5755
- )), /* @__PURE__ */ React96.createElement(PropKeyProvider, { bind: "time" }, /* @__PURE__ */ React96.createElement(
5775
+ )), /* @__PURE__ */ React98.createElement(PropKeyProvider, { bind: "time" }, /* @__PURE__ */ React98.createElement(
5756
5776
  TimePicker,
5757
5777
  {
5758
5778
  value: parseTimeValue(stringPropTypeUtil14.extract(value?.time)),
@@ -5768,11 +5788,11 @@ var DateTimeControl = createControl(({ inputDisabled }) => {
5768
5788
  });
5769
5789
 
5770
5790
  // src/controls/inline-editing-control.tsx
5771
- import * as React98 from "react";
5791
+ import * as React100 from "react";
5772
5792
  import { htmlPropTypeUtil } from "@elementor/editor-props";
5773
5793
 
5774
5794
  // src/components/inline-editor.tsx
5775
- import * as React97 from "react";
5795
+ import * as React99 from "react";
5776
5796
  import { Box as Box21 } from "@elementor/ui";
5777
5797
  import Bold from "@tiptap/extension-bold";
5778
5798
  import Document from "@tiptap/extension-document";
@@ -5782,7 +5802,7 @@ import Strike from "@tiptap/extension-strike";
5782
5802
  import Text from "@tiptap/extension-text";
5783
5803
  import Underline from "@tiptap/extension-underline";
5784
5804
  import { EditorContent, useEditor } from "@tiptap/react";
5785
- var InlineEditor = React97.forwardRef(
5805
+ var InlineEditor = React99.forwardRef(
5786
5806
  ({ value, setValue, attributes = {}, sx }, ref) => {
5787
5807
  const editor = useEditor({
5788
5808
  extensions: [
@@ -5805,7 +5825,7 @@ var InlineEditor = React97.forwardRef(
5805
5825
  content: value,
5806
5826
  onUpdate: ({ editor: updatedEditor }) => setValue(updatedEditor.getHTML())
5807
5827
  });
5808
- return /* @__PURE__ */ React97.createElement(
5828
+ return /* @__PURE__ */ React99.createElement(
5809
5829
  Box21,
5810
5830
  {
5811
5831
  ref,
@@ -5833,7 +5853,7 @@ var InlineEditor = React97.forwardRef(
5833
5853
  },
5834
5854
  ...attributes
5835
5855
  },
5836
- /* @__PURE__ */ React97.createElement(EditorContent, { editor })
5856
+ /* @__PURE__ */ React99.createElement(EditorContent, { editor })
5837
5857
  );
5838
5858
  }
5839
5859
  );
@@ -5842,21 +5862,21 @@ var InlineEditor = React97.forwardRef(
5842
5862
  var InlineEditingControl = createControl(() => {
5843
5863
  const { value, setValue } = useBoundProp(htmlPropTypeUtil);
5844
5864
  const handleChange = (newValue) => setValue(newValue);
5845
- return /* @__PURE__ */ React98.createElement(ControlActions, null, /* @__PURE__ */ React98.createElement(InlineEditor, { value: value || "", setValue: handleChange }));
5865
+ return /* @__PURE__ */ React100.createElement(ControlActions, null, /* @__PURE__ */ React100.createElement(InlineEditor, { value: value || "", setValue: handleChange }));
5846
5866
  });
5847
5867
 
5848
5868
  // src/components/icon-buttons/clear-icon-button.tsx
5849
- import * as React99 from "react";
5869
+ import * as React101 from "react";
5850
5870
  import { BrushBigIcon } from "@elementor/icons";
5851
5871
  import { IconButton as IconButton8, styled as styled10, Tooltip as Tooltip9 } from "@elementor/ui";
5852
5872
  var CustomIconButton = styled10(IconButton8)(({ theme }) => ({
5853
5873
  width: theme.spacing(2.5),
5854
5874
  height: theme.spacing(2.5)
5855
5875
  }));
5856
- var ClearIconButton = ({ tooltipText, onClick, disabled, size = "tiny" }) => /* @__PURE__ */ React99.createElement(Tooltip9, { title: tooltipText, placement: "top", disableInteractive: true }, /* @__PURE__ */ React99.createElement(CustomIconButton, { "aria-label": tooltipText, size, onClick, disabled }, /* @__PURE__ */ React99.createElement(BrushBigIcon, { fontSize: size })));
5876
+ var ClearIconButton = ({ tooltipText, onClick, disabled, size = "tiny" }) => /* @__PURE__ */ React101.createElement(Tooltip9, { title: tooltipText, placement: "top", disableInteractive: true }, /* @__PURE__ */ React101.createElement(CustomIconButton, { "aria-label": tooltipText, size, onClick, disabled }, /* @__PURE__ */ React101.createElement(BrushBigIcon, { fontSize: size })));
5857
5877
 
5858
- // src/components/repeater.tsx
5859
- import * as React100 from "react";
5878
+ // src/components/repeater/repeater.tsx
5879
+ import * as React102 from "react";
5860
5880
  import { useEffect as useEffect9, useState as useState16 } from "react";
5861
5881
  import { CopyIcon as CopyIcon2, EyeIcon as EyeIcon2, EyeOffIcon as EyeOffIcon2, PlusIcon as PlusIcon3, XIcon as XIcon4 } from "@elementor/icons";
5862
5882
  import {
@@ -5864,11 +5884,7 @@ import {
5864
5884
  bindTrigger as bindTrigger6,
5865
5885
  Box as Box22,
5866
5886
  IconButton as IconButton9,
5867
- Popover as Popover7,
5868
- Stack as Stack16,
5869
5887
  Tooltip as Tooltip10,
5870
- Typography as Typography8,
5871
- UnstableTag as UnstableTag4,
5872
5888
  usePopupState as usePopupState8
5873
5889
  } from "@elementor/ui";
5874
5890
  import { __ as __50 } from "@wordpress/i18n";
@@ -5884,8 +5900,7 @@ var Repeater3 = ({
5884
5900
  setValues: setRepeaterValues,
5885
5901
  showDuplicate = true,
5886
5902
  showToggle = true,
5887
- isSortable = true,
5888
- collectionPropUtil
5903
+ isSortable = true
5889
5904
  }) => {
5890
5905
  const [openItem, setOpenItem] = useState16(EMPTY_OPEN_ITEM2);
5891
5906
  const [items2, setItems] = useSyncExternalState({
@@ -5966,50 +5981,37 @@ var Repeater3 = ({
5966
5981
  { action: { type: "reorder", payload: { ...meta } } }
5967
5982
  );
5968
5983
  };
5969
- return /* @__PURE__ */ React100.createElement(SectionContent, { gap: 2 }, /* @__PURE__ */ React100.createElement(
5970
- Stack16,
5984
+ return /* @__PURE__ */ React102.createElement(SectionContent, { gap: 2 }, /* @__PURE__ */ React102.createElement(RepeaterHeader, { label, adornment: ControlAdornments }, /* @__PURE__ */ React102.createElement(
5985
+ IconButton9,
5971
5986
  {
5972
- direction: "row",
5973
- justifyContent: "start",
5974
- alignItems: "center",
5975
- gap: 1,
5976
- sx: { marginInlineEnd: -0.75 }
5987
+ size: SIZE9,
5988
+ sx: { ml: "auto" },
5989
+ disabled,
5990
+ onClick: addRepeaterItem,
5991
+ "aria-label": __50("Add item", "elementor")
5977
5992
  },
5978
- /* @__PURE__ */ React100.createElement(Typography8, { component: "label", variant: "caption", color: "text.secondary" }, label),
5979
- /* @__PURE__ */ React100.createElement(ControlAdornments, null),
5980
- /* @__PURE__ */ React100.createElement(
5981
- IconButton9,
5982
- {
5983
- size: SIZE9,
5984
- sx: { ml: "auto" },
5985
- disabled,
5986
- onClick: addRepeaterItem,
5987
- "aria-label": __50("Add item", "elementor")
5988
- },
5989
- /* @__PURE__ */ React100.createElement(PlusIcon3, { fontSize: SIZE9 })
5990
- )
5991
- ), 0 < uniqueKeys.length && /* @__PURE__ */ React100.createElement(SortableProvider, { value: uniqueKeys, onChange: onChangeOrder }, uniqueKeys.map((key, index) => {
5993
+ /* @__PURE__ */ React102.createElement(PlusIcon3, { fontSize: SIZE9 })
5994
+ )), 0 < uniqueKeys.length && /* @__PURE__ */ React102.createElement(SortableProvider, { value: uniqueKeys, onChange: onChangeOrder }, uniqueKeys.map((key, index) => {
5992
5995
  const value = items2[index];
5993
5996
  if (!value) {
5994
5997
  return null;
5995
5998
  }
5996
- return /* @__PURE__ */ React100.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React100.createElement(
5999
+ return /* @__PURE__ */ React102.createElement(SortableItem, { id: key, key: `sortable-${key}`, disabled: !isSortable }, /* @__PURE__ */ React102.createElement(
5997
6000
  RepeaterItem,
5998
6001
  {
5999
6002
  disabled,
6000
6003
  propDisabled: value?.disabled,
6001
- label: /* @__PURE__ */ React100.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React100.createElement(itemSettings.Label, { value, index })),
6002
- startIcon: /* @__PURE__ */ React100.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React100.createElement(itemSettings.Icon, { value })),
6004
+ label: /* @__PURE__ */ React102.createElement(RepeaterItemLabelSlot, { value }, /* @__PURE__ */ React102.createElement(itemSettings.Label, { value, index })),
6005
+ startIcon: /* @__PURE__ */ React102.createElement(RepeaterItemIconSlot, { value }, /* @__PURE__ */ React102.createElement(itemSettings.Icon, { value })),
6003
6006
  removeItem: () => removeRepeaterItem(index),
6004
6007
  duplicateItem: () => duplicateRepeaterItem(index),
6005
6008
  toggleDisableItem: () => toggleDisableRepeaterItem(index),
6006
6009
  openOnMount: openOnAdd && openItem === key,
6007
6010
  onOpen: () => setOpenItem(EMPTY_OPEN_ITEM2),
6008
6011
  showDuplicate,
6009
- showToggle,
6010
- collectionPropUtil
6012
+ showToggle
6011
6013
  },
6012
- (props) => /* @__PURE__ */ React100.createElement(
6014
+ (props) => /* @__PURE__ */ React102.createElement(
6013
6015
  itemSettings.Content,
6014
6016
  {
6015
6017
  ...props,
@@ -6033,44 +6035,24 @@ var RepeaterItem = ({
6033
6035
  onOpen,
6034
6036
  showDuplicate,
6035
6037
  showToggle,
6036
- disabled,
6037
- collectionPropUtil
6038
+ disabled
6038
6039
  }) => {
6039
- const [anchorEl, setAnchorEl] = useState16(null);
6040
6040
  const { popoverState, popoverProps, ref, setRef } = usePopover(openOnMount, onOpen);
6041
6041
  const duplicateLabel = __50("Duplicate", "elementor");
6042
6042
  const toggleLabel = propDisabled ? __50("Show", "elementor") : __50("Hide", "elementor");
6043
6043
  const removeLabel = __50("Remove", "elementor");
6044
- return /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(
6045
- UnstableTag4,
6044
+ return /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(
6045
+ RepeaterTag,
6046
6046
  {
6047
6047
  disabled,
6048
6048
  label,
6049
- showActionsOnHover: true,
6050
- fullWidth: true,
6051
6049
  ref: setRef,
6052
- variant: "outlined",
6053
6050
  "aria-label": __50("Open item", "elementor"),
6054
6051
  ...bindTrigger6(popoverState),
6055
6052
  startIcon,
6056
- actions: /* @__PURE__ */ React100.createElement(React100.Fragment, null, showDuplicate && /* @__PURE__ */ React100.createElement(Tooltip10, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React100.createElement(IconButton9, { size: SIZE9, onClick: duplicateItem, "aria-label": duplicateLabel }, /* @__PURE__ */ React100.createElement(CopyIcon2, { fontSize: SIZE9 }))), showToggle && /* @__PURE__ */ React100.createElement(Tooltip10, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React100.createElement(IconButton9, { size: SIZE9, onClick: toggleDisableItem, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React100.createElement(EyeOffIcon2, { fontSize: SIZE9 }) : /* @__PURE__ */ React100.createElement(EyeIcon2, { fontSize: SIZE9 }))), /* @__PURE__ */ React100.createElement(Tooltip10, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React100.createElement(IconButton9, { size: SIZE9, onClick: removeItem, "aria-label": removeLabel }, /* @__PURE__ */ React100.createElement(XIcon4, { fontSize: SIZE9 }))))
6053
+ actions: /* @__PURE__ */ React102.createElement(React102.Fragment, null, showDuplicate && /* @__PURE__ */ React102.createElement(Tooltip10, { title: duplicateLabel, placement: "top" }, /* @__PURE__ */ React102.createElement(IconButton9, { size: SIZE9, onClick: duplicateItem, "aria-label": duplicateLabel }, /* @__PURE__ */ React102.createElement(CopyIcon2, { fontSize: SIZE9 }))), showToggle && /* @__PURE__ */ React102.createElement(Tooltip10, { title: toggleLabel, placement: "top" }, /* @__PURE__ */ React102.createElement(IconButton9, { size: SIZE9, onClick: toggleDisableItem, "aria-label": toggleLabel }, propDisabled ? /* @__PURE__ */ React102.createElement(EyeOffIcon2, { fontSize: SIZE9 }) : /* @__PURE__ */ React102.createElement(EyeIcon2, { fontSize: SIZE9 }))), /* @__PURE__ */ React102.createElement(Tooltip10, { title: removeLabel, placement: "top" }, /* @__PURE__ */ React102.createElement(IconButton9, { size: SIZE9, onClick: removeItem, "aria-label": removeLabel }, /* @__PURE__ */ React102.createElement(XIcon4, { fontSize: SIZE9 }))))
6057
6054
  }
6058
- ), /* @__PURE__ */ React100.createElement(
6059
- Popover7,
6060
- {
6061
- disablePortal: true,
6062
- slotProps: {
6063
- paper: {
6064
- ref: setAnchorEl,
6065
- sx: { mt: 0.5, width: ref?.getBoundingClientRect().width }
6066
- }
6067
- },
6068
- anchorOrigin: { vertical: "bottom", horizontal: "left" },
6069
- ...popoverProps,
6070
- anchorEl: ref
6071
- },
6072
- /* @__PURE__ */ React100.createElement(Box22, null, children({ anchorEl, collectionPropUtil }))
6073
- ));
6055
+ ), /* @__PURE__ */ React102.createElement(RepeaterPopover, { width: ref?.getBoundingClientRect().width, ...popoverProps, anchorEl: ref }, /* @__PURE__ */ React102.createElement(Box22, null, children({ anchorEl: ref }))));
6074
6056
  };
6075
6057
  var usePopover = (openOnMount, onOpen) => {
6076
6058
  const [ref, setRef] = useState16(null);