"use strict";(globalThis["webpackChunk_[name]"]=globalThis["webpackChunk_[name]"]||[]).push([[707],{707(e,t,a){a.r(t),a.d(t,{default:()=>r});var u=a(609),l=a(430),n=a(790);const r=function(e){const t=(0,u.useRef)(null);return(0,u.useEffect)(()=>{const a=t.current,u=(0,l.A)(a,{enableTime:!0,minDate:e.min,maxDate:e.max,time_24hr:e.time_24hr,defaultDate:e.value});return()=>{u?.destroy()}},[e.max,e.min,e.time_24hr,e.value]),(0,n.jsx)("input",{ref:t,type:"text",...e.attrs,placeholder:e.placeholder,defaultValue:e.value})}}}]);