(()=>{"use strict";var e={n:n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return e.d(t,{a:t}),t},d:(n,t)=>{for(var i in t)e.o(t,i)&&!e.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:t[i]})},o:(e,n)=>Object.prototype.hasOwnProperty.call(e,n)};const n=jQuery;var t=e.n(n);Shiny;var i=new Shiny.InputBinding;t().extend(i,{find:function(e){return t()(e).find(".sw-time-input")},getValue:function(e){return e.value},setValue:function(e,n){e.value=n},subscribe:function(e,n){t()(e).on("change.timeInputBinding",(function(e){n()}))},unsubscribe:function(e){t()(e).off(".timeInputBinding")},receiveMessage:function(e,n){if(n.hasOwnProperty("label")){var i=t()("#"+e.id+"-label");!function(e,n){if(void 0!==e){if(1!==n.length)throw new Error("labelNode must be of length 1");Array.isArray(e)&&0===e.length?n.addClass("shiny-label-null"):(n.html(e),n.removeClass("shiny-label-null"))}}(n.label,i)}n.hasOwnProperty("value")&&this.setValue(e,n.value),n.hasOwnProperty("min")&&(e.min=n.min),n.hasOwnProperty("max")&&(e.max=n.max),n.hasOwnProperty("step")&&(e.step=n.step),t()(e).trigger("change")},getState:function(e){return{label:this._getLabelNode(e).text(),value:e.value,placeholder:e.placeholder}},getRatePolicy:function(){return{policy:"debounce",delay:250}},_getLabelNode:function(e){return t()(e).parent().find('label[for="'+Shiny.$escape(e.id)+'"]')}}),Shiny.inputBindings.register(i,"shinyWidgets.timeInput")})();