import{b as t}from"./p-e680e7e4.js";class i{get isPortrait(){return!(!t.hasWindow||!window.matchMedia)&&window.matchMedia("(orientation: portrait)").matches}get isLandscape(){return!t.hasWindow||!window.matchMedia||window.matchMedia("(orientation: landscape)").matches}toObject(){return{landscape:this.isLandscape,portrait:this.isPortrait}}}class r{constructor(){this.orientation=new i}get isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|OperaMini/i.test(t.userAgent)}get hasTouchScreen(){return!(!t.hasWindow||!t.hasNavigator||!("ontouchstart"in window)&&!navigator.msMaxTouchPoints)}}const e=new r;export{r as B,e as b}