{"ast":null,"code":"import _objectSpread from \"C:/Users/user/Desktop/02portreact/node_modules/@babel/runtime/helpers/esm/objectSpread2.js\";\nimport _objectWithoutProperties from \"C:/Users/user/Desktop/02portreact/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nimport _slicedToArray from \"C:/Users/user/Desktop/02portreact/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nvar _excluded = [\"__scopeSwitch\", \"name\", \"checked\", \"defaultChecked\", \"required\", \"disabled\", \"value\", \"onCheckedChange\"],\n  _excluded2 = [\"__scopeSwitch\"],\n  _excluded3 = [\"control\", \"checked\", \"bubbles\"];\nimport $irPIl$babelruntimehelpersesmextends from \"@babel/runtime/helpers/esm/extends\";\nimport { forwardRef as $irPIl$forwardRef, useState as $irPIl$useState, useRef as $irPIl$useRef, createElement as $irPIl$createElement, useEffect as $irPIl$useEffect } from \"react\";\nimport { composeEventHandlers as $irPIl$composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs as $irPIl$useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope as $irPIl$createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState as $irPIl$useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious as $irPIl$usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize as $irPIl$useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive as $irPIl$Primitive } from \"@radix-ui/react-primitive\";\n\n/* -------------------------------------------------------------------------------------------------\n * Switch\n * -----------------------------------------------------------------------------------------------*/\nvar $6be4966fd9bbc698$var$SWITCH_NAME = 'Switch';\nvar _$irPIl$createContext = $irPIl$createContextScope($6be4966fd9bbc698$var$SWITCH_NAME),\n  _$irPIl$createContext2 = _slicedToArray(_$irPIl$createContext, 2),\n  $6be4966fd9bbc698$var$createSwitchContext = _$irPIl$createContext2[0],\n  $6be4966fd9bbc698$export$cf7f5f17f69cbd43 = _$irPIl$createContext2[1];\nvar _$6be4966fd9bbc698$va = $6be4966fd9bbc698$var$createSwitchContext($6be4966fd9bbc698$var$SWITCH_NAME),\n  _$6be4966fd9bbc698$va2 = _slicedToArray(_$6be4966fd9bbc698$va, 2),\n  $6be4966fd9bbc698$var$SwitchProvider = _$6be4966fd9bbc698$va2[0],\n  $6be4966fd9bbc698$var$useSwitchContext = _$6be4966fd9bbc698$va2[1];\nvar $6be4966fd9bbc698$export$b5d5cf8927ab7262 = /*#__PURE__*/$irPIl$forwardRef(function (props, forwardedRef) {\n  var __scopeSwitch = props.__scopeSwitch,\n    name = props.name,\n    checkedProp = props.checked,\n    defaultChecked = props.defaultChecked,\n    required = props.required,\n    disabled = props.disabled,\n    _props$value = props.value,\n    value = _props$value === void 0 ? 'on' : _props$value,\n    onCheckedChange = props.onCheckedChange,\n    switchProps = _objectWithoutProperties(props, _excluded);\n  var _$irPIl$useState = $irPIl$useState(null),\n    _$irPIl$useState2 = _slicedToArray(_$irPIl$useState, 2),\n    button = _$irPIl$useState2[0],\n    setButton = _$irPIl$useState2[1];\n  var composedRefs = $irPIl$useComposedRefs(forwardedRef, function (node) {\n    return setButton(node);\n  });\n  var hasConsumerStoppedPropagationRef = $irPIl$useRef(false); // We set this to true by default so that events bubble to forms without JS (SSR)\n  var isFormControl = button ? Boolean(button.closest('form')) : true;\n  var _$irPIl$useControllab = $irPIl$useControllableState({\n      prop: checkedProp,\n      defaultProp: defaultChecked,\n      onChange: onCheckedChange\n    }),\n    _$irPIl$useControllab2 = _slicedToArray(_$irPIl$useControllab, 2),\n    _$irPIl$useControllab3 = _$irPIl$useControllab2[0],\n    checked = _$irPIl$useControllab3 === void 0 ? false : _$irPIl$useControllab3,\n    setChecked = _$irPIl$useControllab2[1];\n  return /*#__PURE__*/$irPIl$createElement($6be4966fd9bbc698$var$SwitchProvider, {\n    scope: __scopeSwitch,\n    checked: checked,\n    disabled: disabled\n  }, /*#__PURE__*/$irPIl$createElement($irPIl$Primitive.button, $irPIl$babelruntimehelpersesmextends({\n    type: \"button\",\n    role: \"switch\",\n    \"aria-checked\": checked,\n    \"aria-required\": required,\n    \"data-state\": $6be4966fd9bbc698$var$getState(checked),\n    \"data-disabled\": disabled ? '' : undefined,\n    disabled: disabled,\n    value: value\n  }, switchProps, {\n    ref: composedRefs,\n    onClick: $irPIl$composeEventHandlers(props.onClick, function (event) {\n      setChecked(function (prevChecked) {\n        return !prevChecked;\n      });\n      if (isFormControl) {\n        hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(); // if switch is in a form, stop propagation from the button so that we only propagate\n        // one click event (from the input). We propagate changes from an input so that native\n        // form validation works and form events reflect switch updates.\n        if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n      }\n    })\n  })), isFormControl && /*#__PURE__*/$irPIl$createElement($6be4966fd9bbc698$var$BubbleInput, {\n    control: button,\n    bubbles: !hasConsumerStoppedPropagationRef.current,\n    name: name,\n    value: value,\n    checked: checked,\n    required: required,\n    disabled: disabled // We transform because the input is absolutely positioned but we have\n    ,\n\n    style: {\n      transform: 'translateX(-100%)'\n    }\n  }));\n});\n/*#__PURE__*/\nObject.assign($6be4966fd9bbc698$export$b5d5cf8927ab7262, {\n  displayName: $6be4966fd9bbc698$var$SWITCH_NAME\n});\n/* -------------------------------------------------------------------------------------------------\n * SwitchThumb\n * -----------------------------------------------------------------------------------------------*/\nvar $6be4966fd9bbc698$var$THUMB_NAME = 'SwitchThumb';\nvar $6be4966fd9bbc698$export$4d07bf653ea69106 = /*#__PURE__*/$irPIl$forwardRef(function (props, forwardedRef) {\n  var __scopeSwitch = props.__scopeSwitch,\n    thumbProps = _objectWithoutProperties(props, _excluded2);\n  var context = $6be4966fd9bbc698$var$useSwitchContext($6be4966fd9bbc698$var$THUMB_NAME, __scopeSwitch);\n  return /*#__PURE__*/$irPIl$createElement($irPIl$Primitive.span, $irPIl$babelruntimehelpersesmextends({\n    \"data-state\": $6be4966fd9bbc698$var$getState(context.checked),\n    \"data-disabled\": context.disabled ? '' : undefined\n  }, thumbProps, {\n    ref: forwardedRef\n  }));\n});\n/*#__PURE__*/\nObject.assign($6be4966fd9bbc698$export$4d07bf653ea69106, {\n  displayName: $6be4966fd9bbc698$var$THUMB_NAME\n});\n/* ---------------------------------------------------------------------------------------------- */\nvar $6be4966fd9bbc698$var$BubbleInput = function $6be4966fd9bbc698$var$BubbleInput(props) {\n  var control = props.control,\n    checked = props.checked,\n    _props$bubbles = props.bubbles,\n    bubbles = _props$bubbles === void 0 ? true : _props$bubbles,\n    inputProps = _objectWithoutProperties(props, _excluded3);\n  var ref = $irPIl$useRef(null);\n  var prevChecked = $irPIl$usePrevious(checked);\n  var controlSize = $irPIl$useSize(control); // Bubble checked change to parents (e.g form change event)\n  $irPIl$useEffect(function () {\n    var input = ref.current;\n    var inputProto = window.HTMLInputElement.prototype;\n    var descriptor = Object.getOwnPropertyDescriptor(inputProto, 'checked');\n    var setChecked = descriptor.set;\n    if (prevChecked !== checked && setChecked) {\n      var event = new Event('click', {\n        bubbles: bubbles\n      });\n      setChecked.call(input, checked);\n      input.dispatchEvent(event);\n    }\n  }, [prevChecked, checked, bubbles]);\n  return /*#__PURE__*/$irPIl$createElement(\"input\", $irPIl$babelruntimehelpersesmextends({\n    type: \"checkbox\",\n    \"aria-hidden\": true,\n    defaultChecked: checked\n  }, inputProps, {\n    tabIndex: -1,\n    ref: ref,\n    style: _objectSpread(_objectSpread(_objectSpread({}, props.style), controlSize), {}, {\n      position: 'absolute',\n      pointerEvents: 'none',\n      opacity: 0,\n      margin: 0\n    })\n  }));\n};\nfunction $6be4966fd9bbc698$var$getState(checked) {\n  return checked ? 'checked' : 'unchecked';\n}\nvar $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5cf8927ab7262;\nvar $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;\nexport { $6be4966fd9bbc698$export$cf7f5f17f69cbd43 as createSwitchScope, $6be4966fd9bbc698$export$b5d5cf8927ab7262 as Switch, $6be4966fd9bbc698$export$4d07bf653ea69106 as SwitchThumb, $6be4966fd9bbc698$export$be92b6f5f03c0fe9 as Root, $6be4966fd9bbc698$export$6521433ed15a34db as Thumb };","map":{"version":3,"names":["$6be4966fd9bbc698$var$SWITCH_NAME","_$irPIl$createContext","$irPIl$createContextScope","_$irPIl$createContext2","_slicedToArray","$6be4966fd9bbc698$var$createSwitchContext","$6be4966fd9bbc698$export$cf7f5f17f69cbd43","_$6be4966fd9bbc698$va","_$6be4966fd9bbc698$va2","$6be4966fd9bbc698$var$SwitchProvider","$6be4966fd9bbc698$var$useSwitchContext","$6be4966fd9bbc698$export$b5d5cf8927ab7262","$irPIl$forwardRef","props","forwardedRef","__scopeSwitch","name","checkedProp","checked","defaultChecked","required","disabled","value","_props$value","onCheckedChange","switchProps","_objectWithoutProperties","_excluded","_$irPIl$useState","$irPIl$useState","_$irPIl$useState2","button","setButton","composedRefs","$irPIl$useComposedRefs","node","hasConsumerStoppedPropagationRef","$irPIl$useRef","isFormControl","Boolean","closest","_$irPIl$useControllab","$irPIl$useControllableState","prop","defaultProp","onChange","_$irPIl$useControllab2","_$irPIl$useControllab3","setChecked","$irPIl$createElement","scope","$irPIl$Primitive","$irPIl$babelruntimehelpersesmextends","type","role","$6be4966fd9bbc698$var$getState","undefined","ref","onClick","$irPIl$composeEventHandlers","event","prevChecked","current","isPropagationStopped","stopPropagation","$6be4966fd9bbc698$var$BubbleInput","control","bubbles","style","transform","Object","assign","displayName","$6be4966fd9bbc698$var$THUMB_NAME","$6be4966fd9bbc698$export$4d07bf653ea69106","thumbProps","_excluded2","context","span","BubbleInput","_props$bubbles","inputProps","_excluded3","$irPIl$usePrevious","controlSize","$irPIl$useSize","$irPIl$useEffect","input","inputProto","window","HTMLInputElement","prototype","descriptor","getOwnPropertyDescriptor","set","Event","call","dispatchEvent","tabIndex","_objectSpread","position","pointerEvents","opacity","margin","getState","$6be4966fd9bbc698$export$be92b6f5f03c0fe9","$6be4966fd9bbc698$export$6521433ed15a34db"],"sources":["C:\\Users\\user\\Desktop\\02portreact\\node_modules\\@radix-ui\\react-switch\\dist\\packages\\react\\switch\\src\\index.ts","C:\\Users\\user\\Desktop\\02portreact\\node_modules\\@radix-ui\\react-switch\\dist\\packages\\react\\switch\\src\\Switch.tsx"],"sourcesContent":["export {\n  createSwitchScope,\n  //\n  Switch,\n  SwitchThumb,\n  //\n  Root,\n  Thumb,\n} from './Switch';\nexport type { SwitchProps, SwitchThumbProps } from './Switch';\n","import * as React from 'react';\nimport { composeEventHandlers } from '@radix-ui/primitive';\nimport { useComposedRefs } from '@radix-ui/react-compose-refs';\nimport { createContextScope } from '@radix-ui/react-context';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport { usePrevious } from '@radix-ui/react-use-previous';\nimport { useSize } from '@radix-ui/react-use-size';\nimport { Primitive } from '@radix-ui/react-primitive';\n\nimport type * as Radix from '@radix-ui/react-primitive';\nimport type { Scope } from '@radix-ui/react-context';\n\n/* -------------------------------------------------------------------------------------------------\n * Switch\n * -----------------------------------------------------------------------------------------------*/\n\nconst SWITCH_NAME = 'Switch';\n\ntype ScopedProps<P> = P & { __scopeSwitch?: Scope };\nconst [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\n\ntype SwitchContextValue = { checked: boolean; disabled?: boolean };\nconst [SwitchProvider, useSwitchContext] = createSwitchContext<SwitchContextValue>(SWITCH_NAME);\n\ntype SwitchElement = React.ElementRef<typeof Primitive.button>;\ntype PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;\ninterface SwitchProps extends PrimitiveButtonProps {\n  checked?: boolean;\n  defaultChecked?: boolean;\n  required?: boolean;\n  onCheckedChange?(checked: boolean): void;\n}\n\nconst Switch = React.forwardRef<SwitchElement, SwitchProps>(\n  (props: ScopedProps<SwitchProps>, forwardedRef) => {\n    const {\n      __scopeSwitch,\n      name,\n      checked: checkedProp,\n      defaultChecked,\n      required,\n      disabled,\n      value = 'on',\n      onCheckedChange,\n      ...switchProps\n    } = props;\n    const [button, setButton] = React.useState<HTMLButtonElement | null>(null);\n    const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n    const hasConsumerStoppedPropagationRef = React.useRef(false);\n    // We set this to true by default so that events bubble to forms without JS (SSR)\n    const isFormControl = button ? Boolean(button.closest('form')) : true;\n    const [checked = false, setChecked] = useControllableState({\n      prop: checkedProp,\n      defaultProp: defaultChecked,\n      onChange: onCheckedChange,\n    });\n\n    return (\n      <SwitchProvider scope={__scopeSwitch} checked={checked} disabled={disabled}>\n        <Primitive.button\n          type=\"button\"\n          role=\"switch\"\n          aria-checked={checked}\n          aria-required={required}\n          data-state={getState(checked)}\n          data-disabled={disabled ? '' : undefined}\n          disabled={disabled}\n          value={value}\n          {...switchProps}\n          ref={composedRefs}\n          onClick={composeEventHandlers(props.onClick, (event) => {\n            setChecked((prevChecked) => !prevChecked);\n            if (isFormControl) {\n              hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n              // if switch is in a form, stop propagation from the button so that we only propagate\n              // one click event (from the input). We propagate changes from an input so that native\n              // form validation works and form events reflect switch updates.\n              if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n            }\n          })}\n        />\n        {isFormControl && (\n          <BubbleInput\n            control={button}\n            bubbles={!hasConsumerStoppedPropagationRef.current}\n            name={name}\n            value={value}\n            checked={checked}\n            required={required}\n            disabled={disabled}\n            // We transform because the input is absolutely positioned but we have\n            // rendered it **after** the button. This pulls it back to sit on top\n            // of the button.\n            style={{ transform: 'translateX(-100%)' }}\n          />\n        )}\n      </SwitchProvider>\n    );\n  }\n);\n\nSwitch.displayName = SWITCH_NAME;\n\n/* -------------------------------------------------------------------------------------------------\n * SwitchThumb\n * -----------------------------------------------------------------------------------------------*/\n\nconst THUMB_NAME = 'SwitchThumb';\n\ntype SwitchThumbElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface SwitchThumbProps extends PrimitiveSpanProps {}\n\nconst SwitchThumb = React.forwardRef<SwitchThumbElement, SwitchThumbProps>(\n  (props: ScopedProps<SwitchThumbProps>, forwardedRef) => {\n    const { __scopeSwitch, ...thumbProps } = props;\n    const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n    return (\n      <Primitive.span\n        data-state={getState(context.checked)}\n        data-disabled={context.disabled ? '' : undefined}\n        {...thumbProps}\n        ref={forwardedRef}\n      />\n    );\n  }\n);\n\nSwitchThumb.displayName = THUMB_NAME;\n\n/* ---------------------------------------------------------------------------------------------- */\n\ntype InputProps = Radix.ComponentPropsWithoutRef<'input'>;\ninterface BubbleInputProps extends Omit<InputProps, 'checked'> {\n  checked: boolean;\n  control: HTMLElement | null;\n  bubbles: boolean;\n}\n\nconst BubbleInput = (props: BubbleInputProps) => {\n  const { control, checked, bubbles = true, ...inputProps } = props;\n  const ref = React.useRef<HTMLInputElement>(null);\n  const prevChecked = usePrevious(checked);\n  const controlSize = useSize(control);\n\n  // Bubble checked change to parents (e.g form change event)\n  React.useEffect(() => {\n    const input = ref.current!;\n    const inputProto = window.HTMLInputElement.prototype;\n    const descriptor = Object.getOwnPropertyDescriptor(inputProto, 'checked') as PropertyDescriptor;\n    const setChecked = descriptor.set;\n    if (prevChecked !== checked && setChecked) {\n      const event = new Event('click', { bubbles });\n      setChecked.call(input, checked);\n      input.dispatchEvent(event);\n    }\n  }, [prevChecked, checked, bubbles]);\n\n  return (\n    <input\n      type=\"checkbox\"\n      aria-hidden\n      defaultChecked={checked}\n      {...inputProps}\n      tabIndex={-1}\n      ref={ref}\n      style={{\n        ...props.style,\n        ...controlSize,\n        position: 'absolute',\n        pointerEvents: 'none',\n        opacity: 0,\n        margin: 0,\n      }}\n    />\n  );\n};\n\nfunction getState(checked: boolean) {\n  return checked ? 'checked' : 'unchecked';\n}\n\nconst Root = Switch;\nconst Thumb = SwitchThumb;\n\nexport {\n  createSwitchScope,\n  //\n  Switch,\n  SwitchThumb,\n  //\n  Root,\n  Thumb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