import{a as i}from"./chunk-OTSTEYZJ.js";var t=()=>{if(i!==void 0)return i.Capacitor};var n,r;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(n||(n={})),(function(e){e.Body="body",e.Ionic="ionic",e.Native="native",e.None="none"})(r||(r={}));var l={getEngine(){let e=t();if(e!=null&&e.isPluginAvailable("Keyboard"))return e.Plugins.Keyboard},getResizeMode(){let e=this.getEngine();return e!=null&&e.getResizeMode?e.getResizeMode().catch(o=>{if(o.code!==n.Unimplemented)throw o}):Promise.resolve(void 0)}};export{t as a,r as b,l as c};
