module.exports = "(function(e,n,r){var o=r(5894),i=r(8641);function a(e){if((e=(e||\"\").toLowerCase())in u)return e;var n=o.keys(u);return o.find(n,(function(n){var r=u[n];return o.includes(r,e)}))||\"unknown\"}function t(e,n,r){return n||(\"unknown\"===e?\"unknown\":r?\"mobile\":\"desktop_laptop\")}n.parseUA=function(e){var n=new i(e),r=n.getBrowser(),o=n.getOS(),u=n.getDevice(),w=(o.name||\"unknown\").toLowerCase(),l=(r.name||\"unknown\").toLowerCase(),d=s(u.type,l,w);return{browser:{id:a(r.name),version:r.version},platform:{name:w,version:o.version},device:{model:c[u.model]||\"unknown\",type:t(l,u.type,d),isMobile:d}}};var s=function(e,n,r){if(o.includes([\"mobile\",\"tablet\"],e)||o.includes([\"opera mini\"],n))return!0;return!!o.includes([\"android\",\"blackberry\",\"ios\",\"windows phone\"],r)},u={gc:[\"chrome\",\"chromium\",\"silk\",\"yandex\",\"maxthon\",\"chrome webview\"],edge:[\"edge\"],ie:[\"internet explorer\",\"iemobile\"],ff:[\"firefox\",\"iceweasel\"],opera:[\"opera\",\"opera mini\",\"opera tablet\"],safari:[\"safari\",\"mobile safari\",\"webkit\"],ucbrowser:[\"uc browser\"]},c={iPhone:\"iphone\",iPad:\"ipad\"}})";