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