import{K as a}from"./use-sync-BK1-NnSM.js";import{x as p}from"./index.ChWbkOli.entry.js";function l(i,f){for(var o=0;o<f.length;o++){const u=f[o];if(typeof u!="string"&&!Array.isArray(u)){for(const r in u)if(r!=="default"&&!(r in i)){const e=Object.getOwnPropertyDescriptor(u,r);e&&Object.defineProperty(i,r,e.get?e:{enumerable:!0,get:()=>u[r]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(i,f){(function(o){o(p())})(function(o){o.defineOption("autoRefresh",!1,function(e,t){e.state.autoRefresh&&(r(e,e.state.autoRefresh),e.state.autoRefresh=null),t&&e.display.wrapper.offsetHeight==0&&u(e,e.state.autoRefresh={delay:t.delay||250})});function u(e,t){function n(){e.display.wrapper.offsetHeight?(r(e,t),e.display.lastWrapHeight!=e.display.wrapper.clientHeight&&e.refresh()):t.timeout=setTimeout(n,t.delay)}t.timeout=setTimeout(n,t.delay),t.hurry=function(){clearTimeout(t.timeout),t.timeout=setTimeout(n,50)},o.on(window,"mouseup",t.hurry),o.on(window,"keyup",t.hurry)}function r(e,t){clearTimeout(t.timeout),o.off(window,"mouseup",t.hurry),o.off(window,"keyup",t.hurry)}})})();var s=y.exports;const h=a(s),g=l({__proto__:null,default:h},[s]);export{g as a};
