"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }"use client";
var _chunkEY5IIETTcjs = require('./chunk-EY5IIETT.cjs');var _chunkZJDXJT76cjs = require('./chunk-ZJDXJT76.cjs');var _chunk5KRCPBZRcjs = require('./chunk-5KRCPBZR.cjs');var _chunk3CNSKST2cjs = require('./chunk-3CNSKST2.cjs');var _chunk5NXYDZPPcjs = require('./chunk-5NXYDZPP.cjs');var _react = require('react');var _clsx = require('clsx'); var _clsx2 = _interopRequireDefault(_clsx);var d=_chunk3CNSKST2cjs.m.call(void 0, (0, _chunkEY5IIETTcjs.e))(({theme:r})=>_chunk5NXYDZPPcjs.p`
    border-radius: 50%;

    &:hover {
      & .${_chunkEY5IIETTcjs.d.input}::before {
        background-color: ${r.palette.teal[900]};
      }
    }

    &.${_chunkEY5IIETTcjs.d.disabled} {
      & .${_chunkEY5IIETTcjs.d.input}::before {
        background-color: ${r.palette.tealOpaque[300]};
      }
    }
  `),f=_chunk3CNSKST2cjs.m.call(void 0, "input")(({theme:r})=>_chunk5NXYDZPPcjs.p`
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: transparent;
    cursor: inherit;
    -webkit-appearance: none;
    appearance: none;

    &:focus {
      outline: 0;
    }

    &::before {
      width: 50%;
      height: 50%;
      background-color: ${r.palette.teal[700]};
      border-radius: 50%;
      transform: scale(0);
      transition: ${r.transitions.create("transform")};
      content: "";
    }

    &:checked {
      &::before {
        transform: scale(1);
      }
    }
  `);var _jsxruntime = require('react/jsx-runtime');var b=_react.forwardRef.call(void 0, ({className:r,name:h,value:g,...a},x)=>{let{checked:k,disabled:R,focusVisible:$,getInputProps:w,readOnly:y}=_chunkZJDXJT76cjs.a.call(void 0, a),S=_chunk5KRCPBZRcjs.i.call(void 0, x),W=_chunk5KRCPBZRcjs.d.call(void 0, a),s=_chunkEY5IIETTcjs.c.call(void 0, {checked:k,disabled:R,focusVisible:$,readOnly:y});return _jsxruntime.jsx.call(void 0, d,{className:_clsx2.default.call(void 0, r,s.root),children:_jsxruntime.jsx.call(void 0, f,{...w(),...W,className:_clsx2.default.call(void 0, s.input),name:h,ref:S,type:"radio",value:g})})});b.displayName="Radio";var A=b;exports.a = A;
