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