"use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkILBP4CTUcjs = require('./chunk-ILBP4CTU.cjs');




var _chunkZ6EUSUADcjs = require('./chunk-Z6EUSUAD.cjs');

// src/components/SecretInput.tsx
var _react = require('react');
var _jsxruntime = require('@emotion/react/jsx-runtime');
function SecretInput(_a) {
  var rest = _chunkZ6EUSUADcjs.__objRest.call(void 0, _a, []);
  const [showSecret, setShowSecret] = _react.useState.call(void 0, false);
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, 
    _chunkILBP4CTUcjs.TextInput,
    _chunkZ6EUSUADcjs.__spreadProps.call(void 0, _chunkZ6EUSUADcjs.__spreadValues.call(void 0, {}, rest), {
      type: showSecret ? void 0 : "password",
      onClickIcon: () => setShowSecret(!showSecret),
      icon: {
        name: showSecret ? "NotEye" : "Eye",
        width: 16
      }
    })
  );
}



exports.SecretInput = SecretInput;
