UNPKG

@getontime/cli

Version:

Time keeping for live events

2 lines 1.21 kB
System.register(["./jsx-runtime-legacy-DMkDNnVj.js","./NavigationMenu-legacy-AAR54e_T.js"],function(e,t){var n,d,r,s;return e("t",function(e,t=["INPUT","TEXTAREA","SELECT"],n=!1){(0,s.useEffect)(()=>{const d=d=>{e.forEach(([e,s,a={preventDefault:!0,usePhysicalKeys:!1}])=>{r(e,a.usePhysicalKeys)(d)&&function(e,t,n=!1){return!(e.target instanceof HTMLElement)||(n||!e.target.isContentEditable)&&!t.includes(e.target.tagName)}(d,t,n)&&(a.preventDefault&&d.preventDefault(),s(d))})};return document.documentElement.addEventListener("keydown",d),()=>document.documentElement.removeEventListener("keydown",d)},[e])}),{setters:[function(e){n=e.a,d=e.n},function(e){r=e.b}],execute:function(){!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"f14ad0099eab1969fdd065b56af5fdd3cf530de6"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fb11443b-5290-43d8-963c-2445d567c15c",e._sentryDebugIdIdentifier="sentry-dbid-fb11443b-5290-43d8-963c-2445d567c15c")}catch(e){}}(),s=n(d(),1)}}}); //# sourceMappingURL=use-hotkeys-legacy-D0havt6H.js.map