"use strict";(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[5257],{5257(e,t,n){n.r(t),n.d(t,{default:()=>s});var a=n(1609),l=n(6087),r=n(6723);const s=({field:e})=>{const t=(0,l.useRef)(),n=(0,l.useRef)();(0,l.useEffect)(()=>{n.current&&jQuery(n.current).timepicker({showButtonPanel:!0,oneLine:!0,controlType:"select",altFieldTimeOnly:!1})},[e.inline]);const s=e.prepend&&(0,a.createElement)("span",{className:"rwmb-input-group-text"},e.prepend),i=e.append&&(0,a.createElement)("span",{className:"rwmb-input-group-text"},e.append),p=(0,a.createElement)("input",{ref:t,type:"text",placeholder:e.placeholder,size:e.size,value:e.std||"",onChange:r.Zi});return(0,a.createElement)(a.Fragment,null,s||i?(0,a.createElement)("div",{className:"rwmb-input-group"},s,p,i):p,e.inline&&(0,a.createElement)("div",{ref:n,className:"rwmb-datetime-inline"}))}}}]);