{"ast":null,"code":"import $3TiJz$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport { useState as $3TiJz$useState, useCallback as $3TiJz$useCallback, createElement as $3TiJz$createElement, forwardRef as $3TiJz$forwardRef, useRef as $3TiJz$useRef, useEffect as $3TiJz$useEffect, Fragment as $3TiJz$Fragment } from \"react\";\nimport { composeEventHandlers as $3TiJz$composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createContextScope as $3TiJz$createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive as $3TiJz$Primitive } from \"@radix-ui/react-primitive\";\nimport { createMenuScope as $3TiJz$createMenuScope, Root as $3TiJz$Root, Anchor as $3TiJz$Anchor, Portal as $3TiJz$Portal, Content as $3TiJz$Content, Group as $3TiJz$Group, Label as $3TiJz$Label, Item as $3TiJz$Item, CheckboxItem as $3TiJz$CheckboxItem, RadioGroup as $3TiJz$RadioGroup, RadioItem as $3TiJz$RadioItem, ItemIndicator as $3TiJz$ItemIndicator, Separator as $3TiJz$Separator, Arrow as $3TiJz$Arrow, Sub as $3TiJz$Sub, SubTrigger as $3TiJz$SubTrigger, SubContent as $3TiJz$SubContent } from \"@radix-ui/react-menu\";\nimport { useCallbackRef as $3TiJz$useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState as $3TiJz$useControllableState } from \"@radix-ui/react-use-controllable-state\";\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenu\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$CONTEXT_MENU_NAME = 'ContextMenu';\nconst [$1b0217ee4a91d156$var$createContextMenuContext, $1b0217ee4a91d156$export$1059331f43ddcc82] = $3TiJz$createContextScope($1b0217ee4a91d156$var$CONTEXT_MENU_NAME, [$3TiJz$createMenuScope]);\nconst $1b0217ee4a91d156$var$useMenuScope = $3TiJz$createMenuScope();\nconst [$1b0217ee4a91d156$var$ContextMenuProvider, $1b0217ee4a91d156$var$useContextMenuContext] = $1b0217ee4a91d156$var$createContextMenuContext($1b0217ee4a91d156$var$CONTEXT_MENU_NAME);\nconst $1b0217ee4a91d156$export$8dc6765e8be191c7 = props => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    children: children,\n    onOpenChange: onOpenChange,\n    dir: dir,\n    modal = true\n  } = props;\n  const [open1, setOpen] = $3TiJz$useState(false);\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  const handleOpenChangeProp = $3TiJz$useCallbackRef(onOpenChange);\n  const handleOpenChange = $3TiJz$useCallback(open => {\n    setOpen(open);\n    handleOpenChangeProp(open);\n  }, [handleOpenChangeProp]);\n  return /*#__PURE__*/$3TiJz$createElement($1b0217ee4a91d156$var$ContextMenuProvider, {\n    scope: __scopeContextMenu,\n    open: open1,\n    onOpenChange: handleOpenChange,\n    modal: modal\n  }, /*#__PURE__*/$3TiJz$createElement($3TiJz$Root, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n    dir: dir,\n    open: open1,\n    onOpenChange: handleOpenChange,\n    modal: modal\n  }), children));\n};\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$8dc6765e8be191c7, {\n  displayName: $1b0217ee4a91d156$var$CONTEXT_MENU_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuTrigger\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$TRIGGER_NAME = 'ContextMenuTrigger';\nconst $1b0217ee4a91d156$export$be6fc7b1d5b0beb9 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    disabled = false,\n    ...triggerProps\n  } = props;\n  const context = $1b0217ee4a91d156$var$useContextMenuContext($1b0217ee4a91d156$var$TRIGGER_NAME, __scopeContextMenu);\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  const pointRef = $3TiJz$useRef({\n    x: 0,\n    y: 0\n  });\n  const virtualRef = $3TiJz$useRef({\n    getBoundingClientRect: () => DOMRect.fromRect({\n      width: 0,\n      height: 0,\n      ...pointRef.current\n    })\n  });\n  const longPressTimerRef = $3TiJz$useRef(0);\n  const clearLongPress = $3TiJz$useCallback(() => window.clearTimeout(longPressTimerRef.current), []);\n  const handleOpen = event => {\n    pointRef.current = {\n      x: event.clientX,\n      y: event.clientY\n    };\n    context.onOpenChange(true);\n  };\n  $3TiJz$useEffect(() => clearLongPress, [clearLongPress]);\n  $3TiJz$useEffect(() => void (disabled && clearLongPress()), [disabled, clearLongPress]);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Fragment, null, /*#__PURE__*/$3TiJz$createElement($3TiJz$Anchor, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n    virtualRef: virtualRef\n  })), /*#__PURE__*/$3TiJz$createElement($3TiJz$Primitive.span, $3TiJz$babelruntimehelpersesmextends({\n    \"data-state\": context.open ? 'open' : 'closed',\n    \"data-disabled\": disabled ? '' : undefined\n  }, triggerProps, {\n    ref: forwardedRef // prevent iOS context menu from appearing\n    ,\n\n    style: {\n      WebkitTouchCallout: 'none',\n      ...props.style\n    } // if trigger is disabled, enable the native Context Menu\n    ,\n\n    onContextMenu: disabled ? props.onContextMenu : $3TiJz$composeEventHandlers(props.onContextMenu, event => {\n      // clearing the long press here because some platforms already support\n      // long press to trigger a `contextmenu` event\n      clearLongPress();\n      handleOpen(event);\n      event.preventDefault();\n    }),\n    onPointerDown: disabled ? props.onPointerDown : $3TiJz$composeEventHandlers(props.onPointerDown, $1b0217ee4a91d156$var$whenTouchOrPen(event => {\n      // clear the long press here in case there's multiple touch points\n      clearLongPress();\n      longPressTimerRef.current = window.setTimeout(() => handleOpen(event), 700);\n    })),\n    onPointerMove: disabled ? props.onPointerMove : $3TiJz$composeEventHandlers(props.onPointerMove, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress)),\n    onPointerCancel: disabled ? props.onPointerCancel : $3TiJz$composeEventHandlers(props.onPointerCancel, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress)),\n    onPointerUp: disabled ? props.onPointerUp : $3TiJz$composeEventHandlers(props.onPointerUp, $1b0217ee4a91d156$var$whenTouchOrPen(clearLongPress))\n  })));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$be6fc7b1d5b0beb9, {\n  displayName: $1b0217ee4a91d156$var$TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuPortal\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$PORTAL_NAME = 'ContextMenuPortal';\nconst $1b0217ee4a91d156$export$14afd0be83e45060 = props => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...portalProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Portal, $3TiJz$babelruntimehelpersesmextends({}, menuScope, portalProps));\n};\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$14afd0be83e45060, {\n  displayName: $1b0217ee4a91d156$var$PORTAL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuContent\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$CONTENT_NAME = 'ContextMenuContent';\nconst $1b0217ee4a91d156$export$572205900c9369e = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...contentProps\n  } = props;\n  const context = $1b0217ee4a91d156$var$useContextMenuContext($1b0217ee4a91d156$var$CONTENT_NAME, __scopeContextMenu);\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  const hasInteractedOutsideRef = $3TiJz$useRef(false);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Content, $3TiJz$babelruntimehelpersesmextends({}, menuScope, contentProps, {\n    ref: forwardedRef,\n    side: \"right\",\n    sideOffset: 2,\n    align: \"start\",\n    onCloseAutoFocus: event => {\n      var _props$onCloseAutoFoc;\n      (_props$onCloseAutoFoc = props.onCloseAutoFocus) === null || _props$onCloseAutoFoc === void 0 || _props$onCloseAutoFoc.call(props, event);\n      if (!event.defaultPrevented && hasInteractedOutsideRef.current) event.preventDefault();\n      hasInteractedOutsideRef.current = false;\n    },\n    onInteractOutside: event => {\n      var _props$onInteractOuts;\n      (_props$onInteractOuts = props.onInteractOutside) === null || _props$onInteractOuts === void 0 || _props$onInteractOuts.call(props, event);\n      if (!event.defaultPrevented && !context.modal) hasInteractedOutsideRef.current = true;\n    },\n    style: {\n      ...props.style,\n      '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n      '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n      '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n      '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n      '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)'\n    }\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$572205900c9369e, {\n  displayName: $1b0217ee4a91d156$var$CONTENT_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuGroup\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$GROUP_NAME = 'ContextMenuGroup';\nconst $1b0217ee4a91d156$export$9860523b0fcdd664 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...groupProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Group, $3TiJz$babelruntimehelpersesmextends({}, menuScope, groupProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$9860523b0fcdd664, {\n  displayName: $1b0217ee4a91d156$var$GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuLabel\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$LABEL_NAME = 'ContextMenuLabel';\nconst $1b0217ee4a91d156$export$d4b9d3b609a10742 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...labelProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Label, $3TiJz$babelruntimehelpersesmextends({}, menuScope, labelProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$d4b9d3b609a10742, {\n  displayName: $1b0217ee4a91d156$var$LABEL_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItem\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$ITEM_NAME = 'ContextMenuItem';\nconst $1b0217ee4a91d156$export$16a26dc176a49100 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...itemProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Item, $3TiJz$babelruntimehelpersesmextends({}, menuScope, itemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$16a26dc176a49100, {\n  displayName: $1b0217ee4a91d156$var$ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuCheckboxItem\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME = 'ContextMenuCheckboxItem';\nconst $1b0217ee4a91d156$export$b6adbe51d5d8b7ec = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...checkboxItemProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$CheckboxItem, $3TiJz$babelruntimehelpersesmextends({}, menuScope, checkboxItemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$b6adbe51d5d8b7ec, {\n  displayName: $1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioGroup\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$RADIO_GROUP_NAME = 'ContextMenuRadioGroup';\nconst $1b0217ee4a91d156$export$db5c89af5ed9aa07 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...radioGroupProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$RadioGroup, $3TiJz$babelruntimehelpersesmextends({}, menuScope, radioGroupProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$db5c89af5ed9aa07, {\n  displayName: $1b0217ee4a91d156$var$RADIO_GROUP_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioItem\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$RADIO_ITEM_NAME = 'ContextMenuRadioItem';\nconst $1b0217ee4a91d156$export$8a727d09a7d9bfc2 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...radioItemProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$RadioItem, $3TiJz$babelruntimehelpersesmextends({}, menuScope, radioItemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$8a727d09a7d9bfc2, {\n  displayName: $1b0217ee4a91d156$var$RADIO_ITEM_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItemIndicator\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$INDICATOR_NAME = 'ContextMenuItemIndicator';\nconst $1b0217ee4a91d156$export$9ed8194dee42d94b = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...itemIndicatorProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$ItemIndicator, $3TiJz$babelruntimehelpersesmextends({}, menuScope, itemIndicatorProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$9ed8194dee42d94b, {\n  displayName: $1b0217ee4a91d156$var$INDICATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSeparator\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$SEPARATOR_NAME = 'ContextMenuSeparator';\nconst $1b0217ee4a91d156$export$8d6b009fadfe1207 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...separatorProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Separator, $3TiJz$babelruntimehelpersesmextends({}, menuScope, separatorProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$8d6b009fadfe1207, {\n  displayName: $1b0217ee4a91d156$var$SEPARATOR_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuArrow\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$ARROW_NAME = 'ContextMenuArrow';\nconst $1b0217ee4a91d156$export$f47d0a58228a61e2 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...arrowProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Arrow, $3TiJz$babelruntimehelpersesmextends({}, menuScope, arrowProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$f47d0a58228a61e2, {\n  displayName: $1b0217ee4a91d156$var$ARROW_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSub\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$SUB_NAME = 'ContextMenuSub';\nconst $1b0217ee4a91d156$export$5bc21d1c00c4b201 = props => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    children: children,\n    onOpenChange: onOpenChange,\n    open: openProp,\n    defaultOpen: defaultOpen\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  const [open, setOpen] = $3TiJz$useControllableState({\n    prop: openProp,\n    defaultProp: defaultOpen,\n    onChange: onOpenChange\n  });\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$Sub, $3TiJz$babelruntimehelpersesmextends({}, menuScope, {\n    open: open,\n    onOpenChange: setOpen\n  }), children);\n};\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$5bc21d1c00c4b201, {\n  displayName: $1b0217ee4a91d156$var$SUB_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubTrigger\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$SUB_TRIGGER_NAME = 'ContextMenuSubTrigger';\nconst $1b0217ee4a91d156$export$30b2b5c64556d316 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...triggerItemProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$SubTrigger, $3TiJz$babelruntimehelpersesmextends({}, menuScope, triggerItemProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$30b2b5c64556d316, {\n  displayName: $1b0217ee4a91d156$var$SUB_TRIGGER_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubContent\n * -----------------------------------------------------------------------------------------------*/\nconst $1b0217ee4a91d156$var$SUB_CONTENT_NAME = 'ContextMenuSubContent';\nconst $1b0217ee4a91d156$export$2c967063bd2dc512 = /*#__PURE__*/$3TiJz$forwardRef((props, forwardedRef) => {\n  const {\n    __scopeContextMenu: __scopeContextMenu,\n    ...subContentProps\n  } = props;\n  const menuScope = $1b0217ee4a91d156$var$useMenuScope(__scopeContextMenu);\n  return /*#__PURE__*/$3TiJz$createElement($3TiJz$SubContent, $3TiJz$babelruntimehelpersesmextends({}, menuScope, subContentProps, {\n    ref: forwardedRef,\n    style: {\n      ...props.style,\n      '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n      '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n      '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n      '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n      '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)'\n    }\n  }));\n});\n/*#__PURE__*/\nObject.assign($1b0217ee4a91d156$export$2c967063bd2dc512, {\n  displayName: $1b0217ee4a91d156$var$SUB_CONTENT_NAME\n});\n/* -----------------------------------------------------------------------------------------------*/\nfunction $1b0217ee4a91d156$var$whenTouchOrPen(handler) {\n  return event => event.pointerType !== 'mouse' ? handler(event) : undefined;\n}\nconst $1b0217ee4a91d156$export$be92b6f5f03c0fe9 = $1b0217ee4a91d156$export$8dc6765e8be191c7;\nconst $1b0217ee4a91d156$export$41fb9f06171c75f4 = $1b0217ee4a91d156$export$be6fc7b1d5b0beb9;\nconst $1b0217ee4a91d156$export$602eac185826482c = $1b0217ee4a91d156$export$14afd0be83e45060;\nconst $1b0217ee4a91d156$export$7c6e2c02157bb7d2 = $1b0217ee4a91d156$export$572205900c9369e;\nconst $1b0217ee4a91d156$export$eb2fcfdbd7ba97d4 = $1b0217ee4a91d156$export$9860523b0fcdd664;\nconst $1b0217ee4a91d156$export$b04be29aa201d4f5 = $1b0217ee4a91d156$export$d4b9d3b609a10742;\nconst $1b0217ee4a91d156$export$6d08773d2e66f8f2 = $1b0217ee4a91d156$export$16a26dc176a49100;\nconst $1b0217ee4a91d156$export$16ce288f89fa631c = $1b0217ee4a91d156$export$b6adbe51d5d8b7ec;\nconst $1b0217ee4a91d156$export$a98f0dcb43a68a25 = $1b0217ee4a91d156$export$db5c89af5ed9aa07;\nconst $1b0217ee4a91d156$export$371ab307eab489c0 = $1b0217ee4a91d156$export$8a727d09a7d9bfc2;\nconst $1b0217ee4a91d156$export$c3468e2714d175fa = $1b0217ee4a91d156$export$9ed8194dee42d94b;\nconst $1b0217ee4a91d156$export$1ff3c3f08ae963c0 = $1b0217ee4a91d156$export$8d6b009fadfe1207;\nconst $1b0217ee4a91d156$export$21b07c8f274aebd5 = $1b0217ee4a91d156$export$f47d0a58228a61e2;\nconst $1b0217ee4a91d156$export$d7a01e11500dfb6f = $1b0217ee4a91d156$export$5bc21d1c00c4b201;\nconst $1b0217ee4a91d156$export$2ea8a7a591ac5eac = $1b0217ee4a91d156$export$30b2b5c64556d316;\nconst $1b0217ee4a91d156$export$6d4de93b380beddf = $1b0217ee4a91d156$export$2c967063bd2dc512;\nexport { $1b0217ee4a91d156$export$1059331f43ddcc82 as createContextMenuScope, $1b0217ee4a91d156$export$8dc6765e8be191c7 as ContextMenu, $1b0217ee4a91d156$export$be6fc7b1d5b0beb9 as ContextMenuTrigger, $1b0217ee4a91d156$export$14afd0be83e45060 as ContextMenuPortal, $1b0217ee4a91d156$export$572205900c9369e as ContextMenuContent, $1b0217ee4a91d156$export$9860523b0fcdd664 as ContextMenuGroup, $1b0217ee4a91d156$export$d4b9d3b609a10742 as ContextMenuLabel, $1b0217ee4a91d156$export$16a26dc176a49100 as ContextMenuItem, $1b0217ee4a91d156$export$b6adbe51d5d8b7ec as ContextMenuCheckboxItem, $1b0217ee4a91d156$export$db5c89af5ed9aa07 as ContextMenuRadioGroup, $1b0217ee4a91d156$export$8a727d09a7d9bfc2 as ContextMenuRadioItem, $1b0217ee4a91d156$export$9ed8194dee42d94b as ContextMenuItemIndicator, $1b0217ee4a91d156$export$8d6b009fadfe1207 as ContextMenuSeparator, $1b0217ee4a91d156$export$f47d0a58228a61e2 as ContextMenuArrow, $1b0217ee4a91d156$export$5bc21d1c00c4b201 as ContextMenuSub, $1b0217ee4a91d156$export$30b2b5c64556d316 as ContextMenuSubTrigger, $1b0217ee4a91d156$export$2c967063bd2dc512 as ContextMenuSubContent, $1b0217ee4a91d156$export$be92b6f5f03c0fe9 as Root, $1b0217ee4a91d156$export$41fb9f06171c75f4 as Trigger, $1b0217ee4a91d156$export$602eac185826482c as Portal, $1b0217ee4a91d156$export$7c6e2c02157bb7d2 as Content, $1b0217ee4a91d156$export$eb2fcfdbd7ba97d4 as Group, $1b0217ee4a91d156$export$b04be29aa201d4f5 as Label, $1b0217ee4a91d156$export$6d08773d2e66f8f2 as Item, $1b0217ee4a91d156$export$16ce288f89fa631c as CheckboxItem, $1b0217ee4a91d156$export$a98f0dcb43a68a25 as RadioGroup, $1b0217ee4a91d156$export$371ab307eab489c0 as RadioItem, $1b0217ee4a91d156$export$c3468e2714d175fa as ItemIndicator, $1b0217ee4a91d156$export$1ff3c3f08ae963c0 as Separator, $1b0217ee4a91d156$export$21b07c8f274aebd5 as Arrow, $1b0217ee4a91d156$export$d7a01e11500dfb6f as Sub, $1b0217ee4a91d156$export$2ea8a7a591ac5eac as SubTrigger, $1b0217ee4a91d156$export$6d4de93b380beddf as SubContent };","map":{"version":3,"names":["$1b0217ee4a91d156$var$CONTEXT_MENU_NAME","$1b0217ee4a91d156$var$createContextMenuContext","$1b0217ee4a91d156$export$1059331f43ddcc82","$3TiJz$createContextScope","$3TiJz$createMenuScope","$1b0217ee4a91d156$var$useMenuScope","$1b0217ee4a91d156$var$ContextMenuProvider","$1b0217ee4a91d156$var$useContextMenuContext","$1b0217ee4a91d156$export$8dc6765e8be191c7","props","__scopeContextMenu","children","onOpenChange","dir","modal","open1","setOpen","$3TiJz$useState","menuScope","handleOpenChangeProp","$3TiJz$useCallbackRef","handleOpenChange","$3TiJz$useCallback","open","$3TiJz$createElement","scope","$3TiJz$Root","$3TiJz$babelruntimehelpersesmextends","Object","assign","displayName","$1b0217ee4a91d156$var$TRIGGER_NAME","$1b0217ee4a91d156$export$be6fc7b1d5b0beb9","$3TiJz$forwardRef","forwardedRef","disabled","triggerProps","context","pointRef","$3TiJz$useRef","x","y","virtualRef","getBoundingClientRect","DOMRect","fromRect","width","height","current","longPressTimerRef","clearLongPress","window","clearTimeout","handleOpen","event","clientX","clientY","$3TiJz$useEffect","$3TiJz$Fragment","$3TiJz$Anchor","$3TiJz$Primitive","span","undefined","ref","style","WebkitTouchCallout","onContextMenu","$3TiJz$composeEventHandlers","preventDefault","onPointerDown","$1b0217ee4a91d156$var$whenTouchOrPen","setTimeout","onPointerMove","onPointerCancel","onPointerUp","$1b0217ee4a91d156$var$PORTAL_NAME","$1b0217ee4a91d156$export$14afd0be83e45060","portalProps","$3TiJz$Portal","$1b0217ee4a91d156$var$CONTENT_NAME","$1b0217ee4a91d156$export$572205900c9369e","contentProps","hasInteractedOutsideRef","$3TiJz$Content","side","sideOffset","align","onCloseAutoFocus","_props$onCloseAutoFoc","call","defaultPrevented","onInteractOutside","_props$onInteractOuts","$1b0217ee4a91d156$var$GROUP_NAME","$1b0217ee4a91d156$export$9860523b0fcdd664","groupProps","$3TiJz$Group","$1b0217ee4a91d156$var$LABEL_NAME","$1b0217ee4a91d156$export$d4b9d3b609a10742","labelProps","$3TiJz$Label","$1b0217ee4a91d156$var$ITEM_NAME","$1b0217ee4a91d156$export$16a26dc176a49100","itemProps","$3TiJz$Item","$1b0217ee4a91d156$var$CHECKBOX_ITEM_NAME","$1b0217ee4a91d156$export$b6adbe51d5d8b7ec","checkboxItemProps","$3TiJz$CheckboxItem","$1b0217ee4a91d156$var$RADIO_GROUP_NAME","$1b0217ee4a91d156$export$db5c89af5ed9aa07","radioGroupProps","$3TiJz$RadioGroup","$1b0217ee4a91d156$var$RADIO_ITEM_NAME","$1b0217ee4a91d156$export$8a727d09a7d9bfc2","radioItemProps","$3TiJz$RadioItem","$1b0217ee4a91d156$var$INDICATOR_NAME","$1b0217ee4a91d156$export$9ed8194dee42d94b","itemIndicatorProps","$3TiJz$ItemIndicator","$1b0217ee4a91d156$var$SEPARATOR_NAME","$1b0217ee4a91d156$export$8d6b009fadfe1207","separatorProps","$3TiJz$Separator","$1b0217ee4a91d156$var$ARROW_NAME","$1b0217ee4a91d156$export$f47d0a58228a61e2","arrowProps","$3TiJz$Arrow","$1b0217ee4a91d156$var$SUB_NAME","$1b0217ee4a91d156$export$5bc21d1c00c4b201","openProp","defaultOpen","$3TiJz$useControllableState","prop","defaultProp","onChange","$3TiJz$Sub","$1b0217ee4a91d156$var$SUB_TRIGGER_NAME","$1b0217ee4a91d156$export$30b2b5c64556d316","triggerItemProps","$3TiJz$SubTrigger","$1b0217ee4a91d156$var$SUB_CONTENT_NAME","$1b0217ee4a91d156$export$2c967063bd2dc512","subContentProps","$3TiJz$SubContent","whenTouchOrPen","handler","pointerType","$1b0217ee4a91d156$export$be92b6f5f03c0fe9","$1b0217ee4a91d156$export$41fb9f06171c75f4","$1b0217ee4a91d156$export$602eac185826482c","$1b0217ee4a91d156$export$7c6e2c02157bb7d2","$1b0217ee4a91d156$export$eb2fcfdbd7ba97d4","$1b0217ee4a91d156$export$b04be29aa201d4f5","$1b0217ee4a91d156$export$6d08773d2e66f8f2","$1b0217ee4a91d156$export$16ce288f89fa631c","$1b0217ee4a91d156$export$a98f0dcb43a68a25","$1b0217ee4a91d156$export$371ab307eab489c0","$1b0217ee4a91d156$export$c3468e2714d175fa","$1b0217ee4a91d156$export$1ff3c3f08ae963c0","$1b0217ee4a91d156$export$21b07c8f274aebd5","$1b0217ee4a91d156$export$d7a01e11500dfb6f","$1b0217ee4a91d156$export$2ea8a7a591ac5eac","$1b0217ee4a91d156$export$6d4de93b380beddf"],"sources":["C:\\Users\\user\\Desktop\\portreact\\node_modules\\@radix-ui\\react-context-menu\\dist\\packages\\react\\context-menu\\src\\index.ts","C:\\Users\\user\\Desktop\\portreact\\node_modules\\@radix-ui\\react-context-menu\\dist\\packages\\react\\context-menu\\src\\ContextMenu.tsx"],"sourcesContent":["export {\n  createContextMenuScope,\n  //\n  ContextMenu,\n  ContextMenuTrigger,\n  ContextMenuPortal,\n  ContextMenuContent,\n  ContextMenuGroup,\n  ContextMenuLabel,\n  ContextMenuItem,\n  ContextMenuCheckboxItem,\n  ContextMenuRadioGroup,\n  ContextMenuRadioItem,\n  ContextMenuItemIndicator,\n  ContextMenuSeparator,\n  ContextMenuArrow,\n  ContextMenuSub,\n  ContextMenuSubTrigger,\n  ContextMenuSubContent,\n  //\n  Root,\n  Trigger,\n  Portal,\n  Content,\n  Group,\n  Label,\n  Item,\n  CheckboxItem,\n  RadioGroup,\n  RadioItem,\n  ItemIndicator,\n  Separator,\n  Arrow,\n  Sub,\n  SubTrigger,\n  SubContent,\n} from './ContextMenu';\nexport type {\n  ContextMenuProps,\n  ContextMenuTriggerProps,\n  ContextMenuPortalProps,\n  ContextMenuContentProps,\n  ContextMenuGroupProps,\n  ContextMenuLabelProps,\n  ContextMenuItemProps,\n  ContextMenuCheckboxItemProps,\n  ContextMenuRadioGroupProps,\n  ContextMenuRadioItemProps,\n  ContextMenuItemIndicatorProps,\n  ContextMenuSeparatorProps,\n  ContextMenuArrowProps,\n  ContextMenuSubProps,\n  ContextMenuSubTriggerProps,\n  ContextMenuSubContentProps,\n} from './ContextMenu';\n","import * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { createContextScope } from '@radix-ui/react-context';\nimport { Primitive } from '@radix-ui/react-primitive';\nimport * as MenuPrimitive from '@radix-ui/react-menu';\nimport { createMenuScope } from '@radix-ui/react-menu';\nimport { useCallbackRef } from '@radix-ui/react-use-callback-ref';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\n\nimport type * as Radix from '@radix-ui/react-primitive';\nimport type { Scope } from '@radix-ui/react-context';\n\ntype Direction = 'ltr' | 'rtl';\ntype Point = { x: number; y: number };\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenu\n * -----------------------------------------------------------------------------------------------*/\n\nconst CONTEXT_MENU_NAME = 'ContextMenu';\n\ntype ScopedProps<P> = P & { __scopeContextMenu?: Scope };\nconst [createContextMenuContext, createContextMenuScope] = createContextScope(CONTEXT_MENU_NAME, [\n  createMenuScope,\n]);\nconst useMenuScope = createMenuScope();\n\ntype ContextMenuContextValue = {\n  open: boolean;\n  onOpenChange(open: boolean): void;\n  modal: boolean;\n};\n\nconst [ContextMenuProvider, useContextMenuContext] =\n  createContextMenuContext<ContextMenuContextValue>(CONTEXT_MENU_NAME);\n\ninterface ContextMenuProps {\n  children?: React.ReactNode;\n  onOpenChange?(open: boolean): void;\n  dir?: Direction;\n  modal?: boolean;\n}\n\nconst ContextMenu: React.FC<ContextMenuProps> = (props: ScopedProps<ContextMenuProps>) => {\n  const { __scopeContextMenu, children, onOpenChange, dir, modal = true } = props;\n  const [open, setOpen] = React.useState(false);\n  const menuScope = useMenuScope(__scopeContextMenu);\n  const handleOpenChangeProp = useCallbackRef(onOpenChange);\n\n  const handleOpenChange = React.useCallback(\n    (open: boolean) => {\n      setOpen(open);\n      handleOpenChangeProp(open);\n    },\n    [handleOpenChangeProp]\n  );\n\n  return (\n    <ContextMenuProvider\n      scope={__scopeContextMenu}\n      open={open}\n      onOpenChange={handleOpenChange}\n      modal={modal}\n    >\n      <MenuPrimitive.Root\n        {...menuScope}\n        dir={dir}\n        open={open}\n        onOpenChange={handleOpenChange}\n        modal={modal}\n      >\n        {children}\n      </MenuPrimitive.Root>\n    </ContextMenuProvider>\n  );\n};\n\nContextMenu.displayName = CONTEXT_MENU_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuTrigger\n * -----------------------------------------------------------------------------------------------*/\n\nconst TRIGGER_NAME = 'ContextMenuTrigger';\n\ntype ContextMenuTriggerElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface ContextMenuTriggerProps extends PrimitiveSpanProps {\n  disabled?: boolean;\n}\n\nconst ContextMenuTrigger = React.forwardRef<ContextMenuTriggerElement, ContextMenuTriggerProps>(\n  (props: ScopedProps<ContextMenuTriggerProps>, forwardedRef) => {\n    const { __scopeContextMenu, disabled = false, ...triggerProps } = props;\n    const context = useContextMenuContext(TRIGGER_NAME, __scopeContextMenu);\n    const menuScope = useMenuScope(__scopeContextMenu);\n    const pointRef = React.useRef<Point>({ x: 0, y: 0 });\n    const virtualRef = React.useRef({\n      getBoundingClientRect: () => DOMRect.fromRect({ width: 0, height: 0, ...pointRef.current }),\n    });\n    const longPressTimerRef = React.useRef(0);\n    const clearLongPress = React.useCallback(\n      () => window.clearTimeout(longPressTimerRef.current),\n      []\n    );\n    const handleOpen = (event: React.MouseEvent | React.PointerEvent) => {\n      pointRef.current = { x: event.clientX, y: event.clientY };\n      context.onOpenChange(true);\n    };\n\n    React.useEffect(() => clearLongPress, [clearLongPress]);\n    React.useEffect(() => void (disabled && clearLongPress()), [disabled, clearLongPress]);\n\n    return (\n      <>\n        <MenuPrimitive.Anchor {...menuScope} virtualRef={virtualRef} />\n        <Primitive.span\n          data-state={context.open ? 'open' : 'closed'}\n          data-disabled={disabled ? '' : undefined}\n          {...triggerProps}\n          ref={forwardedRef}\n          // prevent iOS context menu from appearing\n          style={{ WebkitTouchCallout: 'none', ...props.style }}\n          // if trigger is disabled, enable the native Context Menu\n          onContextMenu={\n            disabled\n              ? props.onContextMenu\n              : composeEventHandlers(props.onContextMenu, (event) => {\n                  // clearing the long press here because some platforms already support\n                  // long press to trigger a `contextmenu` event\n                  clearLongPress();\n                  handleOpen(event);\n                  event.preventDefault();\n                })\n          }\n          onPointerDown={\n            disabled\n              ? props.onPointerDown\n              : composeEventHandlers(\n                  props.onPointerDown,\n                  whenTouchOrPen((event) => {\n                    // clear the long press here in case there's multiple touch points\n                    clearLongPress();\n                    longPressTimerRef.current = window.setTimeout(() => handleOpen(event), 700);\n                  })\n                )\n          }\n          onPointerMove={\n            disabled\n              ? props.onPointerMove\n              : composeEventHandlers(props.onPointerMove, whenTouchOrPen(clearLongPress))\n          }\n          onPointerCancel={\n            disabled\n              ? props.onPointerCancel\n              : composeEventHandlers(props.onPointerCancel, whenTouchOrPen(clearLongPress))\n          }\n          onPointerUp={\n            disabled\n              ? props.onPointerUp\n              : composeEventHandlers(props.onPointerUp, whenTouchOrPen(clearLongPress))\n          }\n        />\n      </>\n    );\n  }\n);\n\nContextMenuTrigger.displayName = TRIGGER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuPortal\n * -----------------------------------------------------------------------------------------------*/\n\nconst PORTAL_NAME = 'ContextMenuPortal';\n\ntype MenuPortalProps = React.ComponentPropsWithoutRef<typeof MenuPrimitive.Portal>;\ninterface ContextMenuPortalProps extends MenuPortalProps {}\n\nconst ContextMenuPortal: React.FC<ContextMenuPortalProps> = (\n  props: ScopedProps<ContextMenuPortalProps>\n) => {\n  const { __scopeContextMenu, ...portalProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.Portal {...menuScope} {...portalProps} />;\n};\n\nContextMenuPortal.displayName = PORTAL_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuContent\n * -----------------------------------------------------------------------------------------------*/\n\nconst CONTENT_NAME = 'ContextMenuContent';\n\ntype ContextMenuContentElement = React.ElementRef<typeof MenuPrimitive.Content>;\ntype MenuContentProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Content>;\ninterface ContextMenuContentProps\n  extends Omit<MenuContentProps, 'onEntryFocus' | 'side' | 'sideOffset' | 'align'> {}\n\nconst ContextMenuContent = React.forwardRef<ContextMenuContentElement, ContextMenuContentProps>(\n  (props: ScopedProps<ContextMenuContentProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...contentProps } = props;\n    const context = useContextMenuContext(CONTENT_NAME, __scopeContextMenu);\n    const menuScope = useMenuScope(__scopeContextMenu);\n    const hasInteractedOutsideRef = React.useRef(false);\n\n    return (\n      <MenuPrimitive.Content\n        {...menuScope}\n        {...contentProps}\n        ref={forwardedRef}\n        side=\"right\"\n        sideOffset={2}\n        align=\"start\"\n        onCloseAutoFocus={(event) => {\n          props.onCloseAutoFocus?.(event);\n\n          if (!event.defaultPrevented && hasInteractedOutsideRef.current) {\n            event.preventDefault();\n          }\n\n          hasInteractedOutsideRef.current = false;\n        }}\n        onInteractOutside={(event) => {\n          props.onInteractOutside?.(event);\n\n          if (!event.defaultPrevented && !context.modal) hasInteractedOutsideRef.current = true;\n        }}\n        style={{\n          ...props.style,\n          // re-namespace exposed content custom properties\n          ...{\n            '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n            '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n            '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n            '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n            '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)',\n          },\n        }}\n      />\n    );\n  }\n);\n\nContextMenuContent.displayName = CONTENT_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuGroup\n * -----------------------------------------------------------------------------------------------*/\n\nconst GROUP_NAME = 'ContextMenuGroup';\n\ntype ContextMenuGroupElement = React.ElementRef<typeof MenuPrimitive.Group>;\ntype MenuGroupProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;\ninterface ContextMenuGroupProps extends MenuGroupProps {}\n\nconst ContextMenuGroup = React.forwardRef<ContextMenuGroupElement, ContextMenuGroupProps>(\n  (props: ScopedProps<ContextMenuGroupProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...groupProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Group {...menuScope} {...groupProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuGroup.displayName = GROUP_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuLabel\n * -----------------------------------------------------------------------------------------------*/\n\nconst LABEL_NAME = 'ContextMenuLabel';\n\ntype ContextMenuLabelElement = React.ElementRef<typeof MenuPrimitive.Label>;\ntype MenuLabelProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;\ninterface ContextMenuLabelProps extends MenuLabelProps {}\n\nconst ContextMenuLabel = React.forwardRef<ContextMenuLabelElement, ContextMenuLabelProps>(\n  (props: ScopedProps<ContextMenuLabelProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...labelProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Label {...menuScope} {...labelProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuLabel.displayName = LABEL_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst ITEM_NAME = 'ContextMenuItem';\n\ntype ContextMenuItemElement = React.ElementRef<typeof MenuPrimitive.Item>;\ntype MenuItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Item>;\ninterface ContextMenuItemProps extends MenuItemProps {}\n\nconst ContextMenuItem = React.forwardRef<ContextMenuItemElement, ContextMenuItemProps>(\n  (props: ScopedProps<ContextMenuItemProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...itemProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Item {...menuScope} {...itemProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuItem.displayName = ITEM_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuCheckboxItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst CHECKBOX_ITEM_NAME = 'ContextMenuCheckboxItem';\n\ntype ContextMenuCheckboxItemElement = React.ElementRef<typeof MenuPrimitive.CheckboxItem>;\ntype MenuCheckboxItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.CheckboxItem>;\ninterface ContextMenuCheckboxItemProps extends MenuCheckboxItemProps {}\n\nconst ContextMenuCheckboxItem = React.forwardRef<\n  ContextMenuCheckboxItemElement,\n  ContextMenuCheckboxItemProps\n>((props: ScopedProps<ContextMenuCheckboxItemProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...checkboxItemProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.CheckboxItem {...menuScope} {...checkboxItemProps} ref={forwardedRef} />;\n});\n\nContextMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioGroup\n * -----------------------------------------------------------------------------------------------*/\n\nconst RADIO_GROUP_NAME = 'ContextMenuRadioGroup';\n\ntype ContextMenuRadioGroupElement = React.ElementRef<typeof MenuPrimitive.RadioGroup>;\ntype MenuRadioGroupProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioGroup>;\ninterface ContextMenuRadioGroupProps extends MenuRadioGroupProps {}\n\nconst ContextMenuRadioGroup = React.forwardRef<\n  ContextMenuRadioGroupElement,\n  ContextMenuRadioGroupProps\n>((props: ScopedProps<ContextMenuRadioGroupProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...radioGroupProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.RadioGroup {...menuScope} {...radioGroupProps} ref={forwardedRef} />;\n});\n\nContextMenuRadioGroup.displayName = RADIO_GROUP_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuRadioItem\n * -----------------------------------------------------------------------------------------------*/\n\nconst RADIO_ITEM_NAME = 'ContextMenuRadioItem';\n\ntype ContextMenuRadioItemElement = React.ElementRef<typeof MenuPrimitive.RadioItem>;\ntype MenuRadioItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioItem>;\ninterface ContextMenuRadioItemProps extends MenuRadioItemProps {}\n\nconst ContextMenuRadioItem = React.forwardRef<\n  ContextMenuRadioItemElement,\n  ContextMenuRadioItemProps\n>((props: ScopedProps<ContextMenuRadioItemProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...radioItemProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.RadioItem {...menuScope} {...radioItemProps} ref={forwardedRef} />;\n});\n\nContextMenuRadioItem.displayName = RADIO_ITEM_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuItemIndicator\n * -----------------------------------------------------------------------------------------------*/\n\nconst INDICATOR_NAME = 'ContextMenuItemIndicator';\n\ntype ContextMenuItemIndicatorElement = React.ElementRef<typeof MenuPrimitive.ItemIndicator>;\ntype MenuItemIndicatorProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.ItemIndicator>;\ninterface ContextMenuItemIndicatorProps extends MenuItemIndicatorProps {}\n\nconst ContextMenuItemIndicator = React.forwardRef<\n  ContextMenuItemIndicatorElement,\n  ContextMenuItemIndicatorProps\n>((props: ScopedProps<ContextMenuItemIndicatorProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...itemIndicatorProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.ItemIndicator {...menuScope} {...itemIndicatorProps} ref={forwardedRef} />;\n});\n\nContextMenuItemIndicator.displayName = INDICATOR_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSeparator\n * -----------------------------------------------------------------------------------------------*/\n\nconst SEPARATOR_NAME = 'ContextMenuSeparator';\n\ntype ContextMenuSeparatorElement = React.ElementRef<typeof MenuPrimitive.Separator>;\ntype MenuSeparatorProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;\ninterface ContextMenuSeparatorProps extends MenuSeparatorProps {}\n\nconst ContextMenuSeparator = React.forwardRef<\n  ContextMenuSeparatorElement,\n  ContextMenuSeparatorProps\n>((props: ScopedProps<ContextMenuSeparatorProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...separatorProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.Separator {...menuScope} {...separatorProps} ref={forwardedRef} />;\n});\n\nContextMenuSeparator.displayName = SEPARATOR_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuArrow\n * -----------------------------------------------------------------------------------------------*/\n\nconst ARROW_NAME = 'ContextMenuArrow';\n\ntype ContextMenuArrowElement = React.ElementRef<typeof MenuPrimitive.Arrow>;\ntype MenuArrowProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Arrow>;\ninterface ContextMenuArrowProps extends MenuArrowProps {}\n\nconst ContextMenuArrow = React.forwardRef<ContextMenuArrowElement, ContextMenuArrowProps>(\n  (props: ScopedProps<ContextMenuArrowProps>, forwardedRef) => {\n    const { __scopeContextMenu, ...arrowProps } = props;\n    const menuScope = useMenuScope(__scopeContextMenu);\n    return <MenuPrimitive.Arrow {...menuScope} {...arrowProps} ref={forwardedRef} />;\n  }\n);\n\nContextMenuArrow.displayName = ARROW_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSub\n * -----------------------------------------------------------------------------------------------*/\n\nconst SUB_NAME = 'ContextMenuSub';\n\ninterface ContextMenuSubProps {\n  children?: React.ReactNode;\n  open?: boolean;\n  defaultOpen?: boolean;\n  onOpenChange?(open: boolean): void;\n}\n\nconst ContextMenuSub: React.FC<ContextMenuSubProps> = (props: ScopedProps<ContextMenuSubProps>) => {\n  const { __scopeContextMenu, children, onOpenChange, open: openProp, defaultOpen } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  const [open, setOpen] = useControllableState({\n    prop: openProp,\n    defaultProp: defaultOpen,\n    onChange: onOpenChange,\n  });\n\n  return (\n    <MenuPrimitive.Sub {...menuScope} open={open} onOpenChange={setOpen}>\n      {children}\n    </MenuPrimitive.Sub>\n  );\n};\n\nContextMenuSub.displayName = SUB_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubTrigger\n * -----------------------------------------------------------------------------------------------*/\n\nconst SUB_TRIGGER_NAME = 'ContextMenuSubTrigger';\n\ntype ContextMenuSubTriggerElement = React.ElementRef<typeof MenuPrimitive.SubTrigger>;\ntype MenuSubTriggerProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.SubTrigger>;\ninterface ContextMenuSubTriggerProps extends MenuSubTriggerProps {}\n\nconst ContextMenuSubTrigger = React.forwardRef<\n  ContextMenuSubTriggerElement,\n  ContextMenuSubTriggerProps\n>((props: ScopedProps<ContextMenuSubTriggerProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...triggerItemProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n  return <MenuPrimitive.SubTrigger {...menuScope} {...triggerItemProps} ref={forwardedRef} />;\n});\n\nContextMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * ContextMenuSubContent\n * -----------------------------------------------------------------------------------------------*/\n\nconst SUB_CONTENT_NAME = 'ContextMenuSubContent';\n\ntype ContextMenuSubContentElement = React.ElementRef<typeof MenuPrimitive.Content>;\ntype MenuSubContentProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.SubContent>;\ninterface ContextMenuSubContentProps extends MenuSubContentProps {}\n\nconst ContextMenuSubContent = React.forwardRef<\n  ContextMenuSubContentElement,\n  ContextMenuSubContentProps\n>((props: ScopedProps<ContextMenuSubContentProps>, forwardedRef) => {\n  const { __scopeContextMenu, ...subContentProps } = props;\n  const menuScope = useMenuScope(__scopeContextMenu);\n\n  return (\n    <MenuPrimitive.SubContent\n      {...menuScope}\n      {...subContentProps}\n      ref={forwardedRef}\n      style={{\n        ...props.style,\n        // re-namespace exposed content custom properties\n        ...{\n          '--radix-context-menu-content-transform-origin': 'var(--radix-popper-transform-origin)',\n          '--radix-context-menu-content-available-width': 'var(--radix-popper-available-width)',\n          '--radix-context-menu-content-available-height': 'var(--radix-popper-available-height)',\n          '--radix-context-menu-trigger-width': 'var(--radix-popper-anchor-width)',\n          '--radix-context-menu-trigger-height': 'var(--radix-popper-anchor-height)',\n        },\n      }}\n    />\n  );\n});\n\nContextMenuSubContent.displayName = SUB_CONTENT_NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nfunction whenTouchOrPen<E>(handler: React.PointerEventHandler<E>): React.PointerEventHandler<E> {\n  return (event) => (event.pointerType !== 'mouse' ? handler(event) : undefined);\n}\n\nconst Root = ContextMenu;\nconst Trigger = ContextMenuTrigger;\nconst Portal = ContextMenuPortal;\nconst Content = ContextMenuContent;\nconst Group = ContextMenuGroup;\nconst Label = ContextMenuLabel;\nconst Item = ContextMenuItem;\nconst CheckboxItem = ContextMenuCheckboxItem;\nconst RadioGroup = ContextMenuRadioGroup;\nconst RadioItem = ContextMenuRadioItem;\nconst ItemIndicator = ContextMenuItemIndicator;\nconst Separator = ContextMenuSeparator;\nconst Arrow = ContextMenuArrow;\nconst Sub = ContextMenuSub;\nconst SubTrigger = ContextMenuSubTrigger;\nconst SubContent = ContextMenuSubContent;\n\nexport {\n  createContextMenuScope,\n  //\n  ContextMenu,\n  ContextMenuTrigger,\n  ContextMenuPortal,\n  ContextMenuContent,\n  ContextMenuGroup,\n  ContextMenuLabel,\n  ContextMenuItem,\n  ContextMenuCheckboxItem,\n  ContextMenuRadioGroup,\n  ContextMenuRadioItem,\n  ContextMenuItemIndicator,\n  ContextMenuSeparator,\n  ContextMenuArrow,\n  ContextMenuSub,\n  ContextMenuSubTrigger,\n  ContextMenuSubContent,\n  //\n  Root,\n  Trigger,\n  Portal,\n  Content,\n  Group,\n  Label,\n  Item,\n  CheckboxItem,\n  RadioGroup,\n  RadioItem,\n  ItemIndicator,\n  Separator,\n  Arrow,\n  Sub,\n  SubTrigger,\n  SubContent,\n};\nexport type {\n  ContextMenuProps,\n  ContextMenuTriggerProps,\n  ContextMenuPortalProps,\n  ContextMenuContentProps,\n  ContextMenuGroupProps,\n  ContextMenuLabelProps,\n  ContextMenuItemProps,\n  ContextMenuCheckboxItemProps,\n  ContextMenuRadioGroupProps,\n  ContextMenuRadioItemProps,\n  ContextMenuItemIndicatorProps,\n  ContextMenuSeparatorProps,\n  ContextMenuArrowProps,\n  ContextMenuSubProps,\n  ContextMenuSubTriggerProps,\n  ContextMenuSubContentProps,\n};\n"],"mappings":";;;;;;;;;ACeA;;;AAIA,MAAMA,uCAAiB,GAAG,aAA1B;AAGA,MAAM,CAACC,8CAAD,EAA2BC,yCAA3B,IAAqDC,yBAAkB,CAACH,uCAAD,EAAoB,CAC/FI,sBAD+F,CAApB,CAA7E;AAGA,MAAMC,kCAAY,GAAGD,sBAAe,EAApC;AAQA,MAAM,CAACE,yCAAD,EAAsBC,2CAAtB,IACJN,8CAAwB,CAA0BD,uCAA1B,CAD1B;AAUA,MAAMQ,yCAAuC,GAAIC,KAAD,IAA0C;EACxF,MAAM;wBAAEC,kBAAF;cAAsBC,QAAtB;kBAAgCC,YAAhC;SAA8CC,GAA9C;IAAmDC,KAAK,GAAG;EAAR,CAAnD,GAAoEL,KAA1E;EACA,MAAM,CAACM,KAAD,EAAOC,OAAP,IAAkBC,eAAA,CAAe,KAAf,CAAxB;EACA,MAAMC,SAAS,GAAGb,kCAAY,CAACK,kBAAD,CAA9B;EACA,MAAMS,oBAAoB,GAAGC,qBAAc,CAACR,YAAD,CAA3C;EAEA,MAAMS,gBAAgB,GAAGC,kBAAA,CACtBC,IAAD,IAAmB;IACjBP,OAAO,CAACO,IAAD,CAAP;IACAJ,oBAAoB,CAACI,IAAD,CAApB;GAH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