text: (function(){var r=function(e){return e instanceof r?e:this instanceof r?void(this._wrapped=e):new r(e)};r.userAgent=null;var n=["setUserAgent","getUserAgent","isAny","isWindows","isIOS","getDevice"];if(r.setUserAgent=function(e){this.userAgent=e},r.getUserAgent=function(){return this.userAgent},r.isBlackBerryPlayBook=function(){return this.getUserAgent().match(/PlayBook/i)},r.isAndroid=function(){return this.getUserAgent().match(/Android/i)},r.isBlackBerry=function(){return this.getUserAgent().match(/BlackBerry/i)},r.isBlackBerry10=function(){return this.getUserAgent().match(/BB10/i)},r.isIOS=function(){return this.isIPhone()||this.isIPad()||this.isIPod()},r.isIPhone=function(){return this.getUserAgent().match(/iPhone/i)},r.isIPad=function(){return this.getUserAgent().match(/iPad/i)},r.isIPod=function(){return this.getUserAgent().match(/iPod/i)},r.isOpera=function(){return this.getUserAgent().match(/Opera Mini/i)},r.isWindows=function(){return this.isWindowsDesktop()||this.isWindowsMobile()},r.isWindowsMobile=function(){return this.getUserAgent().match(/IEMobile/i)},r.isWindowsDesktop=function(){return this.getUserAgent().match(/WPDesktop/i)},r.isFireFox=function(){return this.getUserAgent().match(/Firefox/i)},r.isNexus=function(){return this.getUserAgent().match(/Nexus/i)},r.isKindleFire=function(){return this.getUserAgent().match(/Kindle Fire/i)},r.isPalm=function(){return this.getUserAgent().match(/PalmSource|Palm/i)},r.isAny=function(){var e=!1,t=Object.getOwnPropertyNames(r).filter(function(e){return"function"==typeof r[e]});for(var n in t)if("setUserAgent"!==t[n]&&"getUserAgent"!==t[n]&&"isAny"!==t[n]&&"isWindows"!==t[n]&&"isIOS"!==t[n]&&r[t[n]]()){e=!0;break}return e},r.getDevice=function(){var e=Object.getOwnPropertyNames(r).filter(function(e){return"function"==typeof r[e]});for(var t in e)if(!n.includes(e[t])&&r[e[t]]())return r[e[t]]();return!1},"function"!=typeof window&&"object"!=typeof window||r.setUserAgent(navigator.userAgent),"undefined"!=typeof exports){var e=function(e){return(e=void 0===e||e)?function(e,t,n){var i=e.headers["user-agent"]||"";r.setUserAgent(i),e.mobile=r,"function"==typeof t.locals?t.locals({mobile:r}):t.locals.mobile=r,n()}:r};"undefined"!=typeof module&&module.exports&&(exports=module.exports=e),exports=e}else this.mobile=r}).call(this);