iboot-http-client 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,7 +29,7 @@ const xr = {
29
29
  ignore: "pid,hostname",
30
30
  messageFormat: "{msg}",
31
31
  singleLine: !0
32
- }), k = Kt({
32
+ }), L = Kt({
33
33
  name: process.env.APP_NAME ?? "iBoot",
34
34
  level: process.env.APP_ENV === "production" ? "info" : "debug",
35
35
  nestedKey: "payload"
@@ -672,7 +672,7 @@ function ar() {
672
672
  edge: "edge",
673
673
  experimentalEdge: "experimental-edge",
674
674
  nodejs: "nodejs"
675
- }, L = {
675
+ }, k = {
676
676
  /**
677
677
  * The layer for the shared code between the client and server bundles.
678
678
  */
@@ -718,33 +718,33 @@ function ar() {
718
718
  */
719
719
  appRouteHandler: "app-route-handler"
720
720
  }, pe = {
721
- ...L,
721
+ ...k,
722
722
  GROUP: {
723
723
  serverOnly: [
724
- L.reactServerComponents,
725
- L.actionBrowser,
726
- L.appMetadataRoute,
727
- L.appRouteHandler,
728
- L.instrument
724
+ k.reactServerComponents,
725
+ k.actionBrowser,
726
+ k.appMetadataRoute,
727
+ k.appRouteHandler,
728
+ k.instrument
729
729
  ],
730
730
  clientOnly: [
731
- L.serverSideRendering,
732
- L.appPagesBrowser
731
+ k.serverSideRendering,
732
+ k.appPagesBrowser
733
733
  ],
734
734
  nonClientServerTarget: [
735
735
  // middleware and pages api
736
- L.middleware,
737
- L.api
736
+ k.middleware,
737
+ k.api
738
738
  ],
739
739
  app: [
740
- L.reactServerComponents,
741
- L.actionBrowser,
742
- L.appMetadataRoute,
743
- L.appRouteHandler,
744
- L.serverSideRendering,
745
- L.appPagesBrowser,
746
- L.shared,
747
- L.instrument
740
+ k.reactServerComponents,
741
+ k.actionBrowser,
742
+ k.appMetadataRoute,
743
+ k.appRouteHandler,
744
+ k.serverSideRendering,
745
+ k.appPagesBrowser,
746
+ k.shared,
747
+ k.instrument
748
748
  ]
749
749
  }
750
750
  }, me = {
@@ -1419,7 +1419,7 @@ function pr() {
1419
1419
  return Nt || (Nt = 1, (() => {
1420
1420
  var o = { 226: function(n, s) {
1421
1421
  (function(u, r) {
1422
- var d = "1.0.35", _ = "", c = "?", m = "function", b = "undefined", R = "object", y = "string", I = "major", l = "model", g = "name", h = "type", p = "vendor", E = "version", a = "architecture", v = "console", f = "mobile", w = "tablet", P = "smarttv", N = "wearable", M = "embedded", D = 350, H = "Amazon", j = "Apple", J = "ASUS", Q = "BlackBerry", F = "Browser", z = "Chrome", ie = "Edge", V = "Firefox", Z = "Google", de = "Huawei", oe = "LG", se = "Microsoft", he = "Motorola", ee = "Opera", ae = "Samsung", fe = "Sharp", te = "Sony", ue = "Xiaomi", L = "Zebra", pe = "Facebook", me = "Chromium OS", _e = "Mac OS", ge = function(T, x) {
1422
+ var d = "1.0.35", _ = "", c = "?", m = "function", b = "undefined", R = "object", y = "string", I = "major", l = "model", g = "name", h = "type", p = "vendor", E = "version", a = "architecture", v = "console", f = "mobile", w = "tablet", P = "smarttv", N = "wearable", M = "embedded", D = 350, H = "Amazon", j = "Apple", J = "ASUS", Q = "BlackBerry", F = "Browser", z = "Chrome", ie = "Edge", V = "Firefox", Z = "Google", de = "Huawei", oe = "LG", se = "Microsoft", he = "Motorola", ee = "Opera", ae = "Samsung", fe = "Sharp", te = "Sony", ue = "Xiaomi", k = "Zebra", pe = "Facebook", me = "Chromium OS", _e = "Mac OS", ge = function(T, x) {
1423
1423
  var A = {};
1424
1424
  for (var C in T)
1425
1425
  x[C] && x[C].length % 2 === 0 ? A[C] = x[C].concat(T[C]) : A[C] = T[C];
@@ -1455,7 +1455,7 @@ function pr() {
1455
1455
  } else if (nt(x[A], T))
1456
1456
  return A === c ? r : A;
1457
1457
  return T;
1458
- }, Vt = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, it = { 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" }, ot = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [E, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [E, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, E], [/opios[\/ ]+([\w\.]+)/i], [E, [g, ee + " Mini"]], [/\bopr\/([\w\.]+)/i], [E, [g, ee]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\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], [g, E], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [E, [g, "UC" + F]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [E, [g, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [E, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [E, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [E, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [E, [g, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + F], E], [/\bfocus\/([\w\.]+)/i], [E, [g, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [E, [g, ee + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [E, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [E, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [E, [g, ee + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [E, [g, "MIUI " + F]], [/fxios\/([-\w\.]+)/i], [E, [g, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[g, "360 " + F]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1 " + F], E], [/(comodo_dragon)\/([\w\.]+)/i], [[g, /_/g, " "], E], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [g, E], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, pe], E], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [g, E], [/\bgsa\/([\w\.]+) .*safari\//i], [E, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [E, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [E, [g, z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, z + " WebView"], E], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [E, [g, "Android " + F]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, E], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [E, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [E, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [E, Pe, Vt]], [/(webkit|khtml)\/([\w\.]+)/i], [g, E], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], E], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [E, [g, V + " 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], [g, E], [/(cobalt)\/([\w\.]+)/i], [g, [E, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[a, "amd64"]], [/(ia32(?=;))/i], [[a, ce]], [/((?:i[346]|x)86)[;\)]/i], [[a, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[a, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[a, "armhf"]], [/windows (ce|mobile); ppc;/i], [[a, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[a, /ower/, _, ce]], [/(sun4\w)[;\)]/i], [[a, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[a, ce]]], 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], [l, [p, ae], [h, w]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [p, ae], [h, f]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [p, j], [h, f]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [p, j], [h, w]], [/(macintosh);/i], [l, [p, j]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [p, fe], [h, f]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [p, de], [h, w]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [p, de], [h, f]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [p, ue], [h, f]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [p, ue], [h, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [p, "OPPO"], [h, f]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [p, "Vivo"], [h, f]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [l, [p, "Realme"], [h, f]], [/\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], [l, [p, he], [h, f]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [p, he], [h, w]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [p, oe], [h, w]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [p, oe], [h, f]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [p, "Lenovo"], [h, w]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [p, "Nokia"], [h, f]], [/(pixel c)\b/i], [l, [p, Z], [h, w]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [p, Z], [h, f]], [/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], [l, [p, te], [h, f]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [p, te], [h, w]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [p, "OnePlus"], [h, f]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [p, H], [h, w]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [p, H], [h, f]], [/(playbook);[-\w\),; ]+(rim)/i], [l, p, [h, w]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [p, Q], [h, f]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [p, J], [h, w]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [p, J], [h, f]], [/(nexus 9)/i], [l, [p, "HTC"], [h, w]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [p, [l, /_/g, " "], [h, f]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [p, "Acer"], [h, w]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [p, "Meizu"], [h, f]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [p, l, [h, f]], [/(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], [p, l, [h, w]], [/(surface duo)/i], [l, [p, se], [h, w]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [p, "Fairphone"], [h, f]], [/(u304aa)/i], [l, [p, "AT&T"], [h, f]], [/\bsie-(\w*)/i], [l, [p, "Siemens"], [h, f]], [/\b(rct\w+) b/i], [l, [p, "RCA"], [h, w]], [/\b(venue[\d ]{2,7}) b/i], [l, [p, "Dell"], [h, w]], [/\b(q(?:mv|ta)\w+) b/i], [l, [p, "Verizon"], [h, w]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [p, "Barnes & Noble"], [h, w]], [/\b(tm\d{3}\w+) b/i], [l, [p, "NuVision"], [h, w]], [/\b(k88) b/i], [l, [p, "ZTE"], [h, w]], [/\b(nx\d{3}j) b/i], [l, [p, "ZTE"], [h, f]], [/\b(gen\d{3}) b.+49h/i], [l, [p, "Swiss"], [h, f]], [/\b(zur\d{3}) b/i], [l, [p, "Swiss"], [h, w]], [/\b((zeki)?tb.*\b) b/i], [l, [p, "Zeki"], [h, w]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[p, "Dragon Touch"], l, [h, w]], [/\b(ns-?\w{0,9}) b/i], [l, [p, "Insignia"], [h, w]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [p, "NextBook"], [h, w]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[p, "Voice"], l, [h, f]], [/\b(lvtel\-)?(v1[12]) b/i], [[p, "LvTel"], l, [h, f]], [/\b(ph-1) /i], [l, [p, "Essential"], [h, f]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [p, "Envizen"], [h, w]], [/\b(trio[-\w\. ]+) b/i], [l, [p, "MachSpeed"], [h, w]], [/\btu_(1491) b/i], [l, [p, "Rotor"], [h, w]], [/(shield[\w ]+) b/i], [l, [p, "Nvidia"], [h, w]], [/(sprint) (\w+)/i], [p, l, [h, f]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [p, se], [h, f]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [p, L], [h, w]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [p, L], [h, f]], [/smart-tv.+(samsung)/i], [p, [h, P]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [p, ae], [h, P]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[p, oe], [h, P]], [/(apple) ?tv/i], [p, [l, j + " TV"], [h, P]], [/crkey/i], [[l, z + "cast"], [p, Z], [h, P]], [/droid.+aft(\w)( bui|\))/i], [l, [p, H], [h, P]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [p, fe], [h, P]], [/(bravia[\w ]+)( bui|\))/i], [l, [p, te], [h, P]], [/(mitv-\w{5}) bui/i], [l, [p, ue], [h, P]], [/Hbbtv.*(technisat) (.*);/i], [p, l, [h, P]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[p, Re], [l, Re], [h, P]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[h, P]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [p, l, [h, v]], [/droid.+; (shield) bui/i], [l, [p, "Nvidia"], [h, v]], [/(playstation [345portablevi]+)/i], [l, [p, te], [h, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [p, se], [h, v]], [/((pebble))app/i], [p, l, [h, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [p, j], [h, N]], [/droid.+; (glass) \d/i], [l, [p, Z], [h, N]], [/droid.+; (wt63?0{2,3})\)/i], [l, [p, L], [h, N]], [/(quest( 2| pro)?)/i], [l, [p, pe], [h, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [p, [h, M]], [/(aeobc)\b/i], [l, [p, H], [h, M]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [l, [h, f]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [h, w]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[h, w]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[h, f]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [p, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [E, [g, ie + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [E, [g, "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], [g, E], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [E, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, E], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [g, [E, Pe, it]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[g, "Windows"], [E, Pe, it]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[E, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, _e], [E, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [E, g], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [g, E], [/\(bb(10);/i], [E, [g, Q]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [E, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [E, [g, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [E, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [E, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [E, [g, z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, me], E], [/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], [g, E], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], E], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, E]] }, q = function(T, x) {
1458
+ }, Vt = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, it = { 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" }, ot = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [E, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [E, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, E], [/opios[\/ ]+([\w\.]+)/i], [E, [g, ee + " Mini"]], [/\bopr\/([\w\.]+)/i], [E, [g, ee]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i, /(ba?idubrowser)[\/ ]?([\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], [g, E], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [E, [g, "UC" + F]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i], [E, [g, "WeChat(Win) Desktop"]], [/micromessenger\/([\w\.]+)/i], [E, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [E, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [E, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [E, [g, "Yandex"]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + F], E], [/\bfocus\/([\w\.]+)/i], [E, [g, V + " Focus"]], [/\bopt\/([\w\.]+)/i], [E, [g, ee + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [E, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [E, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [E, [g, ee + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [E, [g, "MIUI " + F]], [/fxios\/([-\w\.]+)/i], [E, [g, V]], [/\bqihu|(qi?ho?o?|360)browser/i], [[g, "360 " + F]], [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1 " + F], E], [/(comodo_dragon)\/([\w\.]+)/i], [[g, /_/g, " "], E], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i], [g, E], [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i], [g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, pe], E], [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram)[\/ ]([-\w\.]+)/i], [g, E], [/\bgsa\/([\w\.]+) .*safari\//i], [E, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [E, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [E, [g, z + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, z + " WebView"], E], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [E, [g, "Android " + F]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, E], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [E, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [E, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [E, Pe, Vt]], [/(webkit|khtml)\/([\w\.]+)/i], [g, E], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], E], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [E, [g, V + " 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], [g, E], [/(cobalt)\/([\w\.]+)/i], [g, [E, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[a, "amd64"]], [/(ia32(?=;))/i], [[a, ce]], [/((?:i[346]|x)86)[;\)]/i], [[a, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[a, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[a, "armhf"]], [/windows (ce|mobile); ppc;/i], [[a, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[a, /ower/, _, ce]], [/(sun4\w)[;\)]/i], [[a, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[a, ce]]], 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], [l, [p, ae], [h, w]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [l, [p, ae], [h, f]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [l, [p, j], [h, f]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [l, [p, j], [h, w]], [/(macintosh);/i], [l, [p, j]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [l, [p, fe], [h, f]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [l, [p, de], [h, w]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [l, [p, de], [h, f]], [/\b(poco[\w ]+)(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[l, /_/g, " "], [p, ue], [h, f]], [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[l, /_/g, " "], [p, ue], [h, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [l, [p, "OPPO"], [h, f]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [l, [p, "Vivo"], [h, f]], [/\b(rmx[12]\d{3})(?: bui|;|\))/i], [l, [p, "Realme"], [h, f]], [/\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], [l, [p, he], [h, f]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [l, [p, he], [h, w]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [l, [p, oe], [h, w]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [l, [p, oe], [h, f]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [l, [p, "Lenovo"], [h, w]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[l, /_/g, " "], [p, "Nokia"], [h, f]], [/(pixel c)\b/i], [l, [p, Z], [h, w]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [l, [p, Z], [h, f]], [/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], [l, [p, te], [h, f]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[l, "Xperia Tablet"], [p, te], [h, w]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [l, [p, "OnePlus"], [h, f]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [l, [p, H], [h, w]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[l, /(.+)/g, "Fire Phone $1"], [p, H], [h, f]], [/(playbook);[-\w\),; ]+(rim)/i], [l, p, [h, w]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [l, [p, Q], [h, f]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [l, [p, J], [h, w]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [l, [p, J], [h, f]], [/(nexus 9)/i], [l, [p, "HTC"], [h, w]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [p, [l, /_/g, " "], [h, f]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [l, [p, "Acer"], [h, w]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [l, [p, "Meizu"], [h, f]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [p, l, [h, f]], [/(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], [p, l, [h, w]], [/(surface duo)/i], [l, [p, se], [h, w]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [l, [p, "Fairphone"], [h, f]], [/(u304aa)/i], [l, [p, "AT&T"], [h, f]], [/\bsie-(\w*)/i], [l, [p, "Siemens"], [h, f]], [/\b(rct\w+) b/i], [l, [p, "RCA"], [h, w]], [/\b(venue[\d ]{2,7}) b/i], [l, [p, "Dell"], [h, w]], [/\b(q(?:mv|ta)\w+) b/i], [l, [p, "Verizon"], [h, w]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [l, [p, "Barnes & Noble"], [h, w]], [/\b(tm\d{3}\w+) b/i], [l, [p, "NuVision"], [h, w]], [/\b(k88) b/i], [l, [p, "ZTE"], [h, w]], [/\b(nx\d{3}j) b/i], [l, [p, "ZTE"], [h, f]], [/\b(gen\d{3}) b.+49h/i], [l, [p, "Swiss"], [h, f]], [/\b(zur\d{3}) b/i], [l, [p, "Swiss"], [h, w]], [/\b((zeki)?tb.*\b) b/i], [l, [p, "Zeki"], [h, w]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[p, "Dragon Touch"], l, [h, w]], [/\b(ns-?\w{0,9}) b/i], [l, [p, "Insignia"], [h, w]], [/\b((nxa|next)-?\w{0,9}) b/i], [l, [p, "NextBook"], [h, w]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[p, "Voice"], l, [h, f]], [/\b(lvtel\-)?(v1[12]) b/i], [[p, "LvTel"], l, [h, f]], [/\b(ph-1) /i], [l, [p, "Essential"], [h, f]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [l, [p, "Envizen"], [h, w]], [/\b(trio[-\w\. ]+) b/i], [l, [p, "MachSpeed"], [h, w]], [/\btu_(1491) b/i], [l, [p, "Rotor"], [h, w]], [/(shield[\w ]+) b/i], [l, [p, "Nvidia"], [h, w]], [/(sprint) (\w+)/i], [p, l, [h, f]], [/(kin\.[onetw]{3})/i], [[l, /\./g, " "], [p, se], [h, f]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [l, [p, k], [h, w]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [l, [p, k], [h, f]], [/smart-tv.+(samsung)/i], [p, [h, P]], [/hbbtv.+maple;(\d+)/i], [[l, /^/, "SmartTV"], [p, ae], [h, P]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[p, oe], [h, P]], [/(apple) ?tv/i], [p, [l, j + " TV"], [h, P]], [/crkey/i], [[l, z + "cast"], [p, Z], [h, P]], [/droid.+aft(\w)( bui|\))/i], [l, [p, H], [h, P]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [l, [p, fe], [h, P]], [/(bravia[\w ]+)( bui|\))/i], [l, [p, te], [h, P]], [/(mitv-\w{5}) bui/i], [l, [p, ue], [h, P]], [/Hbbtv.*(technisat) (.*);/i], [p, l, [h, P]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[p, Re], [l, Re], [h, P]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[h, P]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [p, l, [h, v]], [/droid.+; (shield) bui/i], [l, [p, "Nvidia"], [h, v]], [/(playstation [345portablevi]+)/i], [l, [p, te], [h, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [l, [p, se], [h, v]], [/((pebble))app/i], [p, l, [h, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [l, [p, j], [h, N]], [/droid.+; (glass) \d/i], [l, [p, Z], [h, N]], [/droid.+; (wt63?0{2,3})\)/i], [l, [p, k], [h, N]], [/(quest( 2| pro)?)/i], [l, [p, pe], [h, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [p, [h, M]], [/(aeobc)\b/i], [l, [p, H], [h, M]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i], [l, [h, f]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [l, [h, w]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[h, w]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[h, f]], [/(android[-\w\. ]{0,9});.+buil/i], [l, [p, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [E, [g, ie + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [E, [g, "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], [g, E], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [E, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, E], [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i], [g, [E, Pe, it]], [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[g, "Windows"], [E, Pe, it]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /ios;fbsv\/([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[E, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, _e], [E, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [E, g], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [g, E], [/\(bb(10);/i], [E, [g, Q]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [E, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [E, [g, V + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [E, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [E, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [E, [g, z + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, me], E], [/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], [g, E], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], E], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, E]] }, q = function(T, x) {
1459
1459
  if (typeof T === R && (x = T, T = r), !(this instanceof q))
1460
1460
  return new q(T, x).getResult();
1461
1461
  var A = typeof u !== b && u.navigator ? u.navigator : r, C = T || (A && A.userAgent ? A.userAgent : _), K = A && A.userAgentData ? A.userAgentData : r, B = x ? ge(ot, x) : ot, O = A && A.userAgent == C;
@@ -1595,11 +1595,11 @@ class kr {
1595
1595
  let i, n;
1596
1596
  if (e.method !== "GET") {
1597
1597
  const r = e.headers.get(W) || "";
1598
- if (k.debug({ "content-type": r }, "Content-Type"), r.includes(G.applicationJson))
1598
+ if (L.debug({ "content-type": r }, "Content-Type"), r.includes(G.applicationJson))
1599
1599
  try {
1600
1600
  i = await e.json();
1601
1601
  } catch {
1602
- k.warn("request body is null!");
1602
+ L.warn("request body is null!");
1603
1603
  }
1604
1604
  else if (r.includes(G.multipartFormData))
1605
1605
  n = await e.formData();
@@ -1611,7 +1611,7 @@ class kr {
1611
1611
  const s = e.headers, u = {};
1612
1612
  return e.cookies.getAll().forEach((r) => {
1613
1613
  u[r.name] = r.value;
1614
- }), k.debug({ body: i, formData: n }, "NextJsAdapter.parseRequest"), {
1614
+ }), i && L.debug(i, "NextJsAdapter.parseRequest"), n && L.debug(n, "NextJsAdapter.parseRequest"), {
1615
1615
  url: t,
1616
1616
  headers: s,
1617
1617
  body: i,
@@ -1676,9 +1676,9 @@ class Ur {
1676
1676
  if (!s || s.length === 0)
1677
1677
  return this.createErrorResponse(404, "API not found");
1678
1678
  let u;
1679
- if ((s.startsWith("admin/") || s.startsWith("api/")) && (u = Rr(e.cookies), k.debug(u, "token"), !u || u.username.length === 0 || u.token.length === 0))
1679
+ if ((s.startsWith("admin/") || s.startsWith("api/")) && (u = Rr(e.cookies), L.debug(u, "token"), !u || u.username.length === 0 || u.token.length === 0))
1680
1680
  return this.createErrorResponse(409, "Authentication required");
1681
- k.debug({ hostUrl: s, token: u }, "processRequest");
1681
+ L.debug({ hostUrl: s, token: u }, "processRequest");
1682
1682
  const r = e.clone(), d = r.method;
1683
1683
  if (d === "GET") {
1684
1684
  const _ = et(t.toString(), ["m"]), c = await this.http.get({
@@ -1691,7 +1691,7 @@ class Ur {
1691
1691
  let _;
1692
1692
  const c = e.headers.get(W) || "";
1693
1693
  if (c.includes(G.applicationJson) || c.includes(G.applicationXwwwFormUrlencoded))
1694
- _ = e.body;
1694
+ e.body && (_ = { ...e.body });
1695
1695
  else if (c.includes(G.multipartFormData)) {
1696
1696
  const b = c.match(/boundary=([^\s;]+)/);
1697
1697
  if (!b)
@@ -1790,7 +1790,7 @@ const br = "zh-CN", Gt = "_device_id_key", Bt = "_current_website_key", Dt = "Ge
1790
1790
  const d = n[r];
1791
1791
  d && (i[r] = d);
1792
1792
  }
1793
- k.info({
1793
+ L.info({
1794
1794
  url: t,
1795
1795
  headers: i
1796
1796
  }, "GET");
@@ -1801,14 +1801,14 @@ const br = "zh-CN", Gt = "_device_id_key", Bt = "_current_website_key", Dt = "Ge
1801
1801
  });
1802
1802
  if (s.ok) {
1803
1803
  const r = Object.fromEntries(s.headers.entries()), d = { ...await s.json(), headers: r };
1804
- return k.debug(d, "GET_RESULT"), d;
1804
+ return L.debug(d, "GET_RESULT"), d;
1805
1805
  }
1806
1806
  const u = {
1807
1807
  code: s.status,
1808
1808
  success: !1,
1809
1809
  msg: s.statusText
1810
1810
  };
1811
- return k.error(u), u;
1811
+ return L.error(u), u;
1812
1812
  }, Wt = async (o, e) => {
1813
1813
  const t = e?.data ?? {}, i = e?.headers;
1814
1814
  let n;
@@ -1818,7 +1818,7 @@ const br = "zh-CN", Gt = "_device_id_key", Bt = "_current_website_key", Dt = "Ge
1818
1818
  const c = i[_];
1819
1819
  c && u.set(_, c);
1820
1820
  }
1821
- k.info({
1821
+ L.info({
1822
1822
  url: o,
1823
1823
  headers: u
1824
1824
  }, "POST");
@@ -1829,14 +1829,14 @@ const br = "zh-CN", Gt = "_device_id_key", Bt = "_current_website_key", Dt = "Ge
1829
1829
  });
1830
1830
  if (r.ok) {
1831
1831
  const _ = Object.fromEntries(r.headers.entries()), c = { ...await r.json(), headers: _ };
1832
- return k.debug(c, "POST_RESULT"), c;
1832
+ return L.debug(c, "POST_RESULT"), c;
1833
1833
  }
1834
1834
  const d = {
1835
1835
  code: r.status,
1836
1836
  success: !1,
1837
1837
  msg: r.statusText
1838
1838
  };
1839
- return k.error(d), d;
1839
+ return L.error(d), d;
1840
1840
  }, Mr = async (o, e) => {
1841
1841
  const t = await Er(o, e);
1842
1842
  if (t.success)
@@ -1950,7 +1950,7 @@ class Sr {
1950
1950
  websiteId;
1951
1951
  websiteNo;
1952
1952
  constructor(e) {
1953
- process.env.APP_ENV === "production" || k.warn("This is currently a development environment!"), this.baseUrl = process.env.APP_BASEURL, this.apiKey = process.env.APP_APIKEY, this.userFrom = process.env.APP_USERFROM ?? "1", this.helloMethod = e.helloURL ?? "", this.userType = e.userType ?? jt.TYPE_MGT, this.deviceId = e.deviceId ?? ut(10), this.lang = e.lang ?? br, this.websiteId = e.websiteId, this.websiteNo = e.websiteNo;
1953
+ process.env.APP_ENV === "production" || L.warn("This is currently a development environment!"), this.baseUrl = process.env.APP_BASEURL, this.apiKey = process.env.APP_APIKEY, this.userFrom = process.env.APP_USERFROM ?? "1", this.helloMethod = e.helloURL ?? "", this.userType = e.userType ?? jt.TYPE_MGT, this.deviceId = e.deviceId ?? ut(10), this.lang = e.lang ?? br, this.websiteId = e.websiteId, this.websiteNo = e.websiteNo;
1954
1954
  }
1955
1955
  encrypt(e) {
1956
1956
  const t = ne.enc.Utf8.parse(this.apiKey);
@@ -2024,7 +2024,7 @@ class Sr {
2024
2024
  params: s,
2025
2025
  md5: u
2026
2026
  };
2027
- return k.debug(r, "API_SIGN"), u;
2027
+ return L.debug(r, "API_SIGN"), u;
2028
2028
  }
2029
2029
  //eslint-disable-next-line @typescript-eslint/no-explicit-any
2030
2030
  assemblyParameter(e, t) {
@@ -2055,7 +2055,7 @@ class Sr {
2055
2055
  url: e,
2056
2056
  headers: t
2057
2057
  };
2058
- k.debug(i, "HELLO");
2058
+ L.debug(i, "HELLO");
2059
2059
  const n = await fetch(e, {
2060
2060
  method: "GET",
2061
2061
  headers: t,
@@ -2064,7 +2064,7 @@ class Sr {
2064
2064
  });
2065
2065
  if (n.ok) {
2066
2066
  const s = await n.json();
2067
- return k.debug(s.data, "HELLO RESULT"), s.data;
2067
+ return L.debug(s.data, "HELLO RESULT"), s.data;
2068
2068
  }
2069
2069
  throw new Error("hello iBoot error!");
2070
2070
  }
@@ -2087,7 +2087,7 @@ class Sr {
2087
2087
  url: d,
2088
2088
  headers: r
2089
2089
  };
2090
- k.info(_, "GET");
2090
+ L.info(_, "GET");
2091
2091
  const c = await fetch(d, {
2092
2092
  method: "GET",
2093
2093
  headers: r,
@@ -2096,18 +2096,18 @@ class Sr {
2096
2096
  });
2097
2097
  if (c.ok) {
2098
2098
  const b = Object.fromEntries(c.headers.entries()), R = { ...await c.json(), headers: b };
2099
- return k.debug(R, "GET_RESULT"), R;
2099
+ return L.debug(R, "GET_RESULT"), R;
2100
2100
  }
2101
2101
  const m = {
2102
2102
  code: c.status,
2103
2103
  success: !1,
2104
2104
  msg: c.statusText
2105
2105
  };
2106
- return k.error(m), m;
2106
+ return L.error(m), m;
2107
2107
  }
2108
2108
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2109
2109
  async post({ url: e, data: t, token: i, cache: n = "default" }) {
2110
- const s = { ...t }, u = s.buffer ?? void 0, r = s.boundary ?? void 0;
2110
+ const s = t ? { ...t } : {}, u = s.buffer ?? void 0, r = s.boundary ?? void 0;
2111
2111
  u && delete s.buffer, r && delete s.boundary;
2112
2112
  const d = this.assemblyParameter(s), _ = this.convertUrlParameter(d), c = await this.assemblyHeader({ urlParams: _, token: i });
2113
2113
  u && r && (c[W] = `multipart/form-data; boundary=${r}`);
@@ -2116,7 +2116,7 @@ class Sr {
2116
2116
  headers: c,
2117
2117
  params: d
2118
2118
  };
2119
- k.info(b, "POST");
2119
+ L.info(b, "POST");
2120
2120
  const R = u ? `${m}?${_}` : m, y = await fetch(R, {
2121
2121
  method: "POST",
2122
2122
  headers: c,
@@ -2126,14 +2126,14 @@ class Sr {
2126
2126
  });
2127
2127
  if (y.ok) {
2128
2128
  const l = Object.fromEntries(y.headers.entries()), g = { ...await y.json(), headers: l };
2129
- return k.debug(g, "POST_RESULT"), g;
2129
+ return L.debug(g, "POST_RESULT"), g;
2130
2130
  }
2131
2131
  const I = {
2132
2132
  code: y.status,
2133
2133
  success: !1,
2134
2134
  msg: y.statusText
2135
2135
  };
2136
- return k.error(I), I;
2136
+ return L.error(I), I;
2137
2137
  }
2138
2138
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
2139
2139
  async stream({ url: e, data: t, token: i }) {
@@ -2149,7 +2149,7 @@ class Sr {
2149
2149
  headers: d,
2150
2150
  params: u
2151
2151
  };
2152
- k.info(m, "STREAM");
2152
+ L.info(m, "STREAM");
2153
2153
  const b = await fetch(c, {
2154
2154
  method: "POST",
2155
2155
  headers: d,
@@ -2190,7 +2190,7 @@ export {
2190
2190
  jr as iPost,
2191
2191
  qr as iPostSuccess,
2192
2192
  at as isArray,
2193
- k as logger,
2193
+ L as logger,
2194
2194
  Wt as post,
2195
2195
  ut as randomString,
2196
2196
  Dr as setClientRequestHeader,