"use strict";(globalThis.webpackChunkcomplianz_gdpr=globalThis.webpackChunkcomplianz_gdpr||[]).push([[9855],{69855:(e,t,u)=>{u.r(t),u.d(t,{default:()=>r});var a=u(86087),n=u(10790);const r=(0,a.memo)(({value:e,onChange:t,required:u,disabled:r,id:i,name:s})=>{const l=i||s,[p,c]=(0,a.useState)("");return(0,a.useEffect)(()=>{e||(e=0),c(e)},[]),(0,a.useEffect)(()=>{if(e===p)return;const u=setTimeout(()=>{t(p)},500);return()=>{clearTimeout(u)}},[p]),(0,n.jsx)("div",{className:"cmplz-input-group cmplz-text-input-group",children:(0,n.jsx)("input",{type:"number",id:l,name:s,value:p,onChange:e=>(e=>{c(e)})(e.target.value),required:u,disabled:r,className:"cmplz-text-input-group__input"})})})}}]);