'use client';'use strict';

var chunkQOC26J56_cjs = require('./chunk-QOC26J56.cjs');
var chunkWHYG63JU_cjs = require('./chunk-WHYG63JU.cjs');
var chunk4IQP4J4C_cjs = require('./chunk-4IQP4J4C.cjs');
var icons = require('@onbeam/icons');
var react = require('react');
var jsxRuntime = require('react/jsx-runtime');

var p=react.forwardRef(({value:r,onChange:m,...d},f)=>{let[c,u]=react.useState(""),i=e=>{u(e);let t=Number.parseInt(e)*60;Number.isNaN(t)||t<=0||m(t);};return jsxRuntime.jsx(chunk4IQP4J4C_cjs.a,{ref:f,value:c,onChange:e=>i(e.currentTarget.value),onBlur:()=>i(String(r/60)),placeholder:String(r/60),inputMode:"numeric",size:"sm",rightAddon:"minutes",label:jsxRuntime.jsxs(chunkQOC26J56_cjs.a,{children:[jsxRuntime.jsx("span",{children:"transaction deadline"}),jsxRuntime.jsx(chunkWHYG63JU_cjs.a,{width:250,label:"your transaction will revert if it is pending for more than this amount of minutes",children:jsxRuntime.jsx(icons.TooltipGreyIcon,{height:16,width:16})})]}),...d})});p.displayName="TransactionDeadlineSettings";

exports.a = p;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-2CA3R6GN.cjs.map