1 |
- import{c as i}from"../como-admin-web/como-admin-web.4290f457.js";var e,o,a={exports:{}};e=a,o=a.exports,function(i,a){var r="function",n="undefined",t="object",s="string",b="major",w="model",d="name",l="type",c="vendor",u="version",m="architecture",p="console",h="mobile",f="tablet",v="smarttv",g="wearable",x="embedded",k="Amazon",y="Apple",_="ASUS",T="BlackBerry",S="Browser",q="Chrome",z="Firefox",N="Google",A="Huawei",E="LG",C="Microsoft",O="Motorola",U="Opera",j="Samsung",M="Sharp",R="Sony",B="Xiaomi",P="Zebra",V="Facebook",D="Chromium OS",I="Mac OS",L=function(i){for(var e={},o=0;o<i.length;o++)e[i[o].toUpperCase()]=i[o];return e},F=function(i,e){return typeof i===s&&-1!==G(e).indexOf(G(i))},G=function(i){return i.toLowerCase()},H=function(i,e){if(typeof i===s)return i=i.replace(/^\s\s*/,""),typeof e===n?i:i.substring(0,500)},Z=function(i,e){for(var o,n,s,b,w,d,l=0;l<e.length&&!w;){var c=e[l],u=e[l+1];for(o=n=0;o<c.length&&!w&&c[o];)if(w=c[o++].exec(i))for(s=0;s<u.length;s++)d=w[++n],typeof(b=u[s])===t&&b.length>0?2===b.length?typeof b[1]==r?this[b[0]]=b[1].call(this,d):this[b[0]]=b[1]:3===b.length?typeof b[1]!==r||b[1].exec&&b[1].test?this[b[0]]=d?d.replace(b[1],b[2]):a:this[b[0]]=d?b[1].call(this,d,b[2]):a:4===b.length&&(this[b[0]]=d?b[3].call(this,d.replace(b[1],b[2])):a):this[b]=d||a;l+=2}},W=function(i,e){for(var o in e)if(typeof e[o]===t&&e[o].length>0){for(var r=0;r<e[o].length;r++)if(F(e[o][r],i))return"?"===o?a:o}else if(F(e[o],i))return"?"===o?a:o;return i},$={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},X={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[u,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[u,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,u],[/opios[\/ ]+([\w\.]+)/i],[u,[d,U+" Mini"]],[/\bopr\/([\w\.]+)/i],[u,[d,U]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[u,[d,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[d,u],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[u,[d,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[u,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[u,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[u,[d,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[u,[d,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[u,[d,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure "+S],u],[/\bfocus\/([\w\.]+)/i],[u,[d,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[u,[d,U+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[u,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[u,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[u,[d,U+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[u,[d,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[u,[d,z]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 "+S]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 "+S],u],[/samsungbrowser\/([\w\.]+)/i],[u,[d,j+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],u],[/metasr[\/ ]?([\d\.]+)/i],[u,[d,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[d,"Sogou Mobile"],u],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[d,u],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,V],u],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[d,u],[/\bgsa\/([\w\.]+) .*safari\//i],[u,[d,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[u,[d,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[u,[d,q+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,q+" WebView"],u],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[u,[d,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,u],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[u,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[u,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[u,W,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,u],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],u],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[u,[d,z+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[d,u],[/(cobalt)\/([\w\.]+)/i],[d,[u,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,G]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[w,[c,j],[l,f]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[w,[c,j],[l,h]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[w,[c,y],[l,h]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[w,[c,y],[l,f]],[/(macintosh);/i],[w,[c,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[w,[c,M],[l,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[w,[c,A],[l,f]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[w,[c,A],[l,h]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[w,/_/g," "],[c,B],[l,h]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[w,/_/g," "],[c,B],[l,f]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[w,[c,"OPPO"],[l,h]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[w,[c,"Vivo"],[l,h]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[w,[c,"Realme"],[l,h]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[w,[c,O],[l,h]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[w,[c,O],[l,f]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[w,[c,E],[l,f]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[w,[c,E],[l,h]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[w,[c,"Lenovo"],[l,f]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[w,/_/g," "],[c,"Nokia"],[l,h]],[/(pixel c)\b/i],[w,[c,N],[l,f]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[w,[c,N],[l,h]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[w,[c,R],[l,h]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[w,"Xperia Tablet"],[c,R],[l,f]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[w,[c,"OnePlus"],[l,h]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[w,[c,k],[l,f]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[w,/(.+)/g,"Fire Phone $1"],[c,k],[l,h]],[/(playbook);[-\w\),; ]+(rim)/i],[w,c,[l,f]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[w,[c,T],[l,h]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[w,[c,_],[l,f]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[w,[c,_],[l,h]],[/(nexus 9)/i],[w,[c,"HTC"],[l,f]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[c,[w,/_/g," "],[l,h]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[w,[c,"Acer"],[l,f]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[w,[c,"Meizu"],[l,h]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[w,[c,"Ulefone"],[l,h]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[c,w,[l,h]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[c,w,[l,f]],[/(surface duo)/i],[w,[c,C],[l,f]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[w,[c,"Fairphone"],[l,h]],[/(u304aa)/i],[w,[c,"AT&T"],[l,h]],[/\bsie-(\w*)/i],[w,[c,"Siemens"],[l,h]],[/\b(rct\w+) b/i],[w,[c,"RCA"],[l,f]],[/\b(venue[\d ]{2,7}) b/i],[w,[c,"Dell"],[l,f]],[/\b(q(?:mv|ta)\w+) b/i],[w,[c,"Verizon"],[l,f]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[w,[c,"Barnes & Noble"],[l,f]],[/\b(tm\d{3}\w+) b/i],[w,[c,"NuVision"],[l,f]],[/\b(k88) b/i],[w,[c,"ZTE"],[l,f]],[/\b(nx\d{3}j) b/i],[w,[c,"ZTE"],[l,h]],[/\b(gen\d{3}) b.+49h/i],[w,[c,"Swiss"],[l,h]],[/\b(zur\d{3}) b/i],[w,[c,"Swiss"],[l,f]],[/\b((zeki)?tb.*\b) b/i],[w,[c,"Zeki"],[l,f]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[c,"Dragon Touch"],w,[l,f]],[/\b(ns-?\w{0,9}) b/i],[w,[c,"Insignia"],[l,f]],[/\b((nxa|next)-?\w{0,9}) b/i],[w,[c,"NextBook"],[l,f]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[c,"Voice"],w,[l,h]],[/\b(lvtel\-)?(v1[12]) b/i],[[c,"LvTel"],w,[l,h]],[/\b(ph-1) /i],[w,[c,"Essential"],[l,h]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[w,[c,"Envizen"],[l,f]],[/\b(trio[-\w\. ]+) b/i],[w,[c,"MachSpeed"],[l,f]],[/\btu_(1491) b/i],[w,[c,"Rotor"],[l,f]],[/(shield[\w ]+) b/i],[w,[c,"Nvidia"],[l,f]],[/(sprint) (\w+)/i],[c,w,[l,h]],[/(kin\.[onetw]{3})/i],[[w,/\./g," "],[c,C],[l,h]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[w,[c,P],[l,f]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[w,[c,P],[l,h]],[/smart-tv.+(samsung)/i],[c,[l,v]],[/hbbtv.+maple;(\d+)/i],[[w,/^/,"SmartTV"],[c,j],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[c,E],[l,v]],[/(apple) ?tv/i],[c,[w,y+" TV"],[l,v]],[/crkey/i],[[w,q+"cast"],[c,N],[l,v]],[/droid.+aft(\w+)( bui|\))/i],[w,[c,k],[l,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[w,[c,M],[l,v]],[/(bravia[\w ]+)( bui|\))/i],[w,[c,R],[l,v]],[/(mitv-\w{5}) bui/i],[w,[c,B],[l,v]],[/Hbbtv.*(technisat) (.*);/i],[c,w,[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[c,H],[w,H],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[c,w,[l,p]],[/droid.+; (shield) bui/i],[w,[c,"Nvidia"],[l,p]],[/(playstation [345portablevi]+)/i],[w,[c,R],[l,p]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[w,[c,C],[l,p]],[/((pebble))app/i],[c,w,[l,g]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[w,[c,y],[l,g]],[/droid.+; (glass) \d/i],[w,[c,N],[l,g]],[/droid.+; (wt63?0{2,3})\)/i],[w,[c,P],[l,g]],[/(quest( 2| pro)?)/i],[w,[c,V],[l,g]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[c,[l,x]],[/(aeobc)\b/i],[w,[c,k],[l,x]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[w,[l,h]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[w,[l,f]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,f]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,h]],[/(android[-\w\. ]{0,9});.+buil/i],[w,[c,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[u,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[u,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[d,u],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[u,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,u],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[d,[u,W,$]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,W,$],[d,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[u,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,I],[u,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[u,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,u],[/\(bb(10);/i],[u,[d,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[u,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[u,[d,z+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[u,[d,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[u,[d,"watchOS"]],[/crkey\/([\d\.]+)/i],[u,[d,q+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[d,D],u],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,u],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],u],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[d,u]]},K=function(e,o){if(typeof e===t&&(o=e,e=a),!(this instanceof K))return new K(e,o).getResult();var p=typeof i!==n&&i.navigator?i.navigator:a,v=e||(p&&p.userAgent?p.userAgent:""),g=p&&p.userAgentData?p.userAgentData:a,x=o?function(i,e){var o={};for(var a in i)e[a]&&e[a].length%2==0?o[a]=e[a].concat(i[a]):o[a]=i[a];return o}(X,o):X,k=p&&p.userAgent==v;return this.getBrowser=function(){var i,e={};return e[d]=a,e[u]=a,Z.call(e,v,x.browser),e[b]=typeof(i=e[u])===s?i.replace(/[^\d\.]/g,"").split(".")[0]:a,k&&p&&p.brave&&typeof p.brave.isBrave==r&&(e[d]="Brave"),e},this.getCPU=function(){var i={};return i[m]=a,Z.call(i,v,x.cpu),i},this.getDevice=function(){var i={};return i[c]=a,i[w]=a,i[l]=a,Z.call(i,v,x.device),k&&!i[l]&&g&&g.mobile&&(i[l]=h),k&&"Macintosh"==i[w]&&p&&typeof p.standalone!==n&&p.maxTouchPoints&&p.maxTouchPoints>2&&(i[w]="iPad",i[l]=f),i},this.getEngine=function(){var i={};return i[d]=a,i[u]=a,Z.call(i,v,x.engine),i},this.getOS=function(){var i={};return i[d]=a,i[u]=a,Z.call(i,v,x.os),k&&!i[d]&&g&&"Unknown"!=g.platform&&(i[d]=g.platform.replace(/chrome os/i,D).replace(/macos/i,I)),i},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return v},this.setUA=function(i){return v=typeof i===s&&i.length>500?H(i,500):i,this},this.setUA(v),this};K.VERSION="0.7.37",K.BROWSER=L([d,u,b]),K.CPU=L([m]),K.DEVICE=L([w,c,l,p,h,v,f,g,x]),K.ENGINE=K.OS=L([d,u]),e.exports&&(o=e.exports=K),o.UAParser=K;var Q=typeof i!==n&&(i.jQuery||i.Zepto);if(Q&&!Q.ua){var Y=new K;Q.ua=Y.getResult(),Q.ua.get=function(){return Y.getUA()},Q.ua.set=function(i){Y.setUA(i);var e=Y.getResult();for(var o in e)Q.ua[o]=e[o]}}}("object"==typeof window?window:i);export{a as u};
|