1!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define(["exports"],i):i((e="undefined"!=typeof globalThis?globalThis:e||self).MiQ={})}(this,function(e){"use strict";var i="undefined"!=typeof document?document.currentScript:null;function t(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)e[n]=t[n]}return e}var n=function e(i,n){function o(e,o,r){if("undefined"!=typeof document){"number"==typeof(r=t({},n,r)).expires&&(r.expires=new Date(Date.now()+864e5*r.expires)),r.expires&&(r.expires=r.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in r)r[s]&&(a+="; "+s,!0!==r[s]&&(a+="="+r[s].split(";")[0]));return document.cookie=e+"="+i.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],n={},o=0;o<t.length;o++){var r=t[o].split("="),a=r.slice(1).join("=");try{var s=decodeURIComponent(r[0]);if(n[s]=i.read(a,s),e===s)break}catch(c){}}return e?n[e]:n}},remove:function(e,i){o(e,"",t({},i,{expires:-1}))},withAttributes:function(i){return e(this.converter,t({},this.attributes,i))},withConverter:function(i){return e(t({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(i)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const o=[];for(let pe=0;pe<256;++pe)o.push((pe+256).toString(16).slice(1));let r;const a=new Uint8Array(16);const s={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function c(e,i,t){const n=(e=e||{}).random??e.rng?.()??function(){if(!r){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");r=crypto.getRandomValues.bind(crypto)}return r(a)}();if(n.length<16)throw new Error("Random bytes length must be >= 16");return n[6]=15&n[6]|64,n[8]=63&n[8]|128,function(e,i=0){return(o[e[i+0]]+o[e[i+1]]+o[e[i+2]]+o[e[i+3]]+"-"+o[e[i+4]]+o[e[i+5]]+"-"+o[e[i+6]]+o[e[i+7]]+"-"+o[e[i+8]]+o[e[i+9]]+"-"+o[e[i+10]]+o[e[i+11]]+o[e[i+12]]+o[e[i+13]]+o[e[i+14]]+o[e[i+15]]).toLowerCase()}(n)}function d(e,i,t){return s.randomUUID&&!e?s.randomUUID():c(e)}const l=e=>{if("undefined"==typeof window)throw new Error("This helper can only be used in web-based environments");const i=`LOCAL_STORAGE_ID_${e}`;return()=>{const e=window.localStorage.getItem(i);if(null==e){const e=d();return window.localStorage.setItem(i,e),e}return e}},u=e=>{if("undefined"==typeof window)throw new Error("This helper can only be used in web-based environments");const i=`SESSION_STORAGE_ID_${e}`;return()=>{const e=window.sessionStorage.getItem(i);if(null==e){const e=d();return window.sessionStorage.setItem(i,e),e}return e}};var w,m={exports:{}};var b,p,f=(w||(w=1,b=m,p=m.exports,function(e,i){var t="function",n="undefined",o="object",r="string",a="major",s="model",c="name",d="type",l="vendor",u="version",w="architecture",m="console",f="mobile",g="tablet",h="smarttv",v="wearable",y="embedded",k="Amazon",x="Apple",S="ASUS",I="BlackBerry",P="Browser",E="Chrome",C="Firefox",T="Google",O="Huawei",U="LG",A="Microsoft",z="Motorola",N="Opera",D="Samsung",j="Sharp",M="Sony",q="Xiaomi",R="Zebra",L="Facebook",B="Chromium OS",H="Mac OS",X=function(e){for(var i={},t=0;t<e.length;t++)i[e[t].toUpperCase()]=e[t];return i},V=function(e,i){return typeof e===r&&-1!==F(i).indexOf(F(e))},F=function(e){return e.toLowerCase()},G=function(e,i){if(typeof e===r)return e=e.replace(/^\s\s*/,""),typeof i===n?e:e.substring(0,500)},Q=function(e,n){for(var r,a,s,c,d,l,u=0;u<n.length&&!d;){var w=n[u],m=n[u+1];for(r=a=0;r<w.length&&!d&&w[r];)if(d=w[r++].exec(e))for(s=0;s<m.length;s++)l=d[++a],typeof(c=m[s])===o&&c.length>0?2===c.length?typeof c[1]==t?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==t||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):i:this[c[0]]=l?c[1].call(this,l,c[2]):i:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):i):this[c]=l||i;u+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===o&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(V(t[n][r],e))return"?"===n?i:n}else if(V(t[n],e))return"?"===n?i:n;return e},Z={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"},K={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[u,[c,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[u,[c,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[c,u],[/opios[\/ ]+([\w\.]+)/i],[u,[c,N+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[u,[c,N+" GX"]],[/\bopr\/([\w\.]+)/i],[u,[c,N]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[u,[c,"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],[c,u],[/\bddg\/([\w\.]+)/i],[u,[c,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[u,[c,"UC"+P]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[u,[c,"WeChat"]],[/konqueror\/([\w\.]+)/i],[u,[c,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[u,[c,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[u,[c,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[u,[c,"
1Smart Lenovo "+P]],[/(avast|avg)\/([\w\.]+)/i],[[c,/(.+)/,"$1 Secure "+P],u],[/\bfocus\/([\w\.]+)/i],[u,[c,C+" Focus"]],[/\bopt\/([\w\.]+)/i],[u,[c,N+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[u,[c,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[u,[c,"Dolphin"]],[/coast\/([\w\.]+)/i],[u,[c,N+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[u,[c,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[u,[c,C]],[/\bqihu|(qi?ho?o?|360)browser/i],[[c,"360 "+P]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[c,/(.+)/,"$1 "+P],u],[/samsungbrowser\/([\w\.]+)/i],[u,[c,D+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[c,/_/g," "],u],[/metasr[\/ ]?([\d\.]+)/i],[u,[c,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[c,"Sogou Mobile"],u],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[c,u],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[c],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[c,L],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,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[c,u],[/\bgsa\/([\w\.]+) .*safari\//i],[u,[c,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[u,[c,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[u,[c,E+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[c,E+" WebView"],u],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[u,[c,"Android "+P]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[c,u],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[u,[c,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[u,c],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[c,[u,J,{"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],[c,u],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[c,"Netscape"],u],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[u,[c,C+" 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],[c,u],[/(cobalt)\/([\w\.]+)/i],[c,[u,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[w,"amd64"]],[/(ia32(?=;))/i],[[w,F]],[/((?:i[346]|x)86)[;\)]/i],[[w,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[w,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[w,"armhf"]],[/windows (ce|mobile); ppc;/i],[[w,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[w,/ower/,"",F]],[/(sun4\w)[;\)]/i],[[w,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[w,F]]],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],[s,[l,D],[d,g]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[s,[l,D],[d,f]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[s,[l,x],[d,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[s,[l,x],[d,g]],[/(macintosh);/i],[s,[l,x]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[s,[l,j],[d,f]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[s,[l,O],[d,g]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[s,[l,O],[d,f]],[/\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],[[s,/_/g," "],[l,q],[d,f]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[s,/_/g," "],[l,q],[d,g]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[s,[l,"OPPO"],[d,f]],[/\b(opd2\d{3}a?) bui/i],[s,[l,"OPPO"],[d,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[s,[l,"Vivo"],[d,f]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[s,[l,"Realme"],[d,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],[s,[l,z],[d,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[s,[l,z],[d,g]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[s,[l,U],[d,g]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[s,[l,U],[d,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[s,[l,"Lenovo"],[d,g]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[s,/_/g," "],[l,"Nokia"],[d,f]],[/(pixel c)\b/i],[s,[l,T],[d,g]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[s,[l,T],[d,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],[s,[l,M],[d,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[s,"Xperia Tablet"],[l,M],[d,g]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[s,[l,"OnePlus"],[d,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[s,[l,k],[d,g]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[s,/(.+)/g,"Fire Phone $1"],[l,k],[d,f]],[/(playbook);[-\w\),; ]+(rim)/i],[s,l,[d,g]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10;
vendor: 5,258 bytes, line 1
1 (\w+)/i],[s,[l,I],[d,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[s,[l,S],[d,g]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[s,[l,S],[d,f]],[/(nexus 9)/i],[s,[l,"HTC"],[d,g]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[l,[s,/_/g," "],[d,f]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[s,[l,"Acer"],[d,g]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[s,[l,"Meizu"],[d,f]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[s,[l,"Ulefone"],[d,f]],[/(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],[l,s,[d,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],[l,s,[d,g]],[/(surface duo)/i],[s,[l,A],[d,g]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[s,[l,"Fairphone"],[d,f]],[/(u304aa)/i],[s,[l,"AT&T"],[d,f]],[/\bsie-(\w*)/i],[s,[l,"Siemens"],[d,f]],[/\b(rct\w+) b/i],[s,[l,"RCA"],[d,g]],[/\b(venue[\d ]{2,7}) b/i],[s,[l,"Dell"],[d,g]],[/\b(q(?:mv|ta)\w+) b/i],[s,[l,"Verizon"],[d,g]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[s,[l,"Barnes & Noble"],[d,g]],[/\b(tm\d{3}\w+) b/i],[s,[l,"NuVision"],[d,g]],[/\b(k88) b/i],[s,[l,"ZTE"],[d,g]],[/\b(nx\d{3}j) b/i],[s,[l,"ZTE"],[d,f]],[/\b(gen\d{3}) b.+49h/i],[s,[l,"Swiss"],[d,f]],[/\b(zur\d{3}) b/i],[s,[l,"Swiss"],[d,g]],[/\b((zeki)?tb.*\b) b/i],[s,[l,"Zeki"],[d,g]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[l,"Dragon Touch"],s,[d,g]],[/\b(ns-?\w{0,9}) b/i],[s,[l,"Insignia"],[d,g]],[/\b((nxa|next)-?\w{0,9}) b/i],[s,[l,"NextBook"],[d,g]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[l,"Voice"],s,[d,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[l,"LvTel"],s,[d,f]],[/\b(ph-1) /i],[s,[l,"Essential"],[d,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[s,[l,"Envizen"],[d,g]],[/\b(trio[-\w\. ]+) b/i],[s,[l,"MachSpeed"],[d,g]],[/\btu_(1491) b/i],[s,[l,"Rotor"],[d,g]],[/(shield[\w ]+) b/i],[s,[l,"Nvidia"],[d,g]],[/(sprint) (\w+)/i],[l,s,[d,f]],[/(kin\.[onetw]{3})/i],[[s,/\./g," "],[l,A],[d,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[s,[l,R],[d,g]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[s,[l,R],[d,f]],[/smart-tv.+(samsung)/i],[l,[d,h]],[/hbbtv.+maple;(\d+)/i],[[s,/^/,"SmartTV"],[l,D],[d,h]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[l,U],[d,h]],[/(apple) ?tv/i],[l,[s,x+" TV"],[d,h]],[/crkey/i],[[s,E+"cast"],[l,T],[d,h]],[/droid.+aft(\w+)( bui|\))/i],[s,[l,k],[d,h]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[s,[l,j],[d,h]],[/(bravia[\w ]+)( bui|\))/i],[s,[l,M],[d,h]],[/(mitv-\w{5}) bui/i],[s,[l,q],[d,h]],[/Hbbtv.*(technisat) (.*);/i],[l,s,[d,h]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[l,G],[s,G],[d,h]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,h]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[l,s,[d,m]],[/droid.+; (shield) bui/i],[s,[l,"Nvidia"],[d,m]],[/(playstation [345portablevi]+)/i],[s,[l,M],[d,m]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[s,[l,A],[d,m]],[/((pebble))app/i],[l,s,[d,v]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[s,[l,x],[d,v]],[/droid.+; (glass) \d/i],[s,[l,T],[d,v]],[/droid.+; (wt63?0{2,3})\)/i],[s,[l,R],[d,v]],[/(quest( \d| pro)?)/i],[s,[l,L],[d,v]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[l,[d,y]],[/(aeobc)\b/i],[s,[l,k],[d,y]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[s,[d,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[s,[d,g]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,g]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,f]],[/(android[-\w\. ]{0,9});.+buil/i],[s,[l,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[u,[c,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[u,[c,"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],[c,u],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[u,c]],os:[[/microsoft (windows) (vista|xp)/i],[c,u],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[c,[u,J,Z]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[u,J,Z],[c,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[u,/_/g,"."],[c,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[c,H],[u,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[u,c],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[c,u],[/\(bb(10);/i],[u,[c,I]],[/(?:symbian ?os|symbos|s60(?=;
1)|series60)[-\/ ]?([\w\.]*)/i],[u,[c,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[u,[c,C+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[u,[c,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[u,[c,"watchOS"]],[/crkey\/([\d\.]+)/i],[u,[c,E+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[c,B],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],[c,u],[/(sunos) ?([\w\.\d]*)/i],[[c,"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],[c,u]]},W=function(m,b){if(typeof m===o&&(b=m,m=i),!(this instanceof W))return new W(m,b).getResult();var p=typeof e!==n&&e.navigator?e.navigator:i,h=m||(p&&p.userAgent?p.userAgent:""),v=p&&p.userAgentData?p.userAgentData:i,y=b?function(e,i){var t={};for(var n in e)i[n]&&i[n].length%2==0?t[n]=i[n].concat(e[n]):t[n]=e[n];return t}(K,b):K,k=p&&p.userAgent==h;return this.getBrowser=function(){var e,n={};return n[c]=i,n[u]=i,Q.call(n,h,y.browser),n[a]=typeof(e=n[u])===r?e.replace(/[^\d\.]/g,"").split(".")[0]:i,k&&p&&p.brave&&typeof p.brave.isBrave==t&&(n[c]="Brave"),n},this.getCPU=function(){var e={};return e[w]=i,Q.call(e,h,y.cpu),e},this.getDevice=function(){var e={};return e[l]=i,e[s]=i,e[d]=i,Q.call(e,h,y.device),k&&!e[d]&&v&&v.mobile&&(e[d]=f),k&&"Macintosh"==e[s]&&p&&typeof p.standalone!==n&&p.maxTouchPoints&&p.maxTouchPoints>2&&(e[s]="iPad",e[d]=g),e},this.getEngine=function(){var e={};return e[c]=i,e[u]=i,Q.call(e,h,y.engine),e},this.getOS=function(){var e={};return e[c]=i,e[u]=i,Q.call(e,h,y.os),k&&!e[c]&&v&&v.platform&&"Unknown"!=v.platform&&(e[c]=v.platform.replace(/chrome os/i,B).replace(/macos/i,H)),e},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 h},this.setUA=function(e){return h=typeof e===r&&e.length>500?G(e,500):e,this},this.setUA(h),this};W.BROWSER=X([c,u,a]),W.CPU=X([w]),W.DEVICE=X([s,l,d,m,f,h,g,v,y]),W.ENGINE=W.OS=X([c,u]),b.exports&&(p=b.exports=W),p.UAParser=W;var $=typeof e!==n&&(e.jQuery||e.Zepto);if($&&!$.ua){var Y=new W;$.ua=Y.getResult(),$.ua.get=function(){return Y.getUA()},$.ua.set=function(e){Y.setUA(e);var i=Y.getResult();for(var t in i)$.ua[t]=i[t]}}}("object"==typeof window?window:m.exports)),m.exports);const g=(e=new Date)=>{const i=new Date(e.getFullYear(),0,1).getTimezoneOffset(),t=new Date(e.getFullYear(),6,1).getTimezoneOffset();return Math.max(i,t)!==e.getTimezoneOffset()};const h={ping:"ping_web"};function v(e){const i=function(e){return{start:()=>{if("undefined"==typeof window)throw new Error("Ping is not supported in this environment");if(null===window.sessionStorage.getItem("PICOX_PING")){window.sessionStorage.setItem("PICOX_PING",d());const i={ping_type:"tab_created"};e(h.ping,i)}}}}(e);return{start:()=>{i.start()}}}const y=(e,i)=>{const t=l(e),o=u(e),r=((e,i)=>{if("undefined"==typeof window)throw new Error("This helper can only be used in web-based environments");const t=`COOKIE_ID_${e}`;return()=>{const e=n.get(t)??d();return n.set(t,e,{expires:365,domain:i}),e}})(e,i);return{currentIdentifiers:()=>({local_storage_id:t(),session_storage_id:o(),cookie_storage_id:r()})}};function k(e){return e instanceof Error&&"code"in e}const x=(e,i=()=>new Date)=>({sendEvents:async(t,n)=>{if(0===t.length)return n;let o;try{o=JSON.stringify({events:t,delta:n.delta,last_event_timestamp:n.last_event_timestamp,request_timestamp:i().toISOString()})}catch(s){throw e.logger.error(`Failed to serialize events: ${s}`),function(e){const i=new Error(e);return i.code="PicoXSerializationError",i}("SerializationError")}const r=await fetch(e.endpoint,{method:"POST",headers:{"X-Pico-Auth":e.identificationToken,"X-Pico-Is-Development":e.isDevelopment?"true":"false","Content-Type":"application/json"},body:o});
1if(200!==r.status){if(e.logger.error(`Received invalid response: ${r.status}`),400<=r.status&&r.status<500)throw function(e){const i=new Error(e);return i.code="PicoXClientError",i}("ClientError");throw function(e){const i=new Error(e);return i.code="PicoXServerError",i}("ServerError")}const a=await r.json();return{delta:a.delta??0,last_event_timestamp:a.last_event_timestamp??null}}}),S="events",I="event_timestamp",P=async(e,i,t,n)=>new Promise((o,r)=>{const a=e.transaction(i,"readwrite").objectStore(i).put(n,t);a.onerror=()=>{r(a.error)},a.onsuccess=()=>{o()}}),E=async(e,i,t,n,o)=>new Promise((r,a)=>{const s=e.transaction(i,"readonly").objectStore(i).index(t).openCursor(null,o),c=[];s.onerror=()=>{a(s.error)},s.onsuccess=()=>{const e=s.result;e&&c.length<n?(c.push(e.value),e.continue()):r(c)}}),C=async(e,i)=>new Promise((t,n)=>{const o=e.transaction(i,"readonly").objectStore(i).count();o.onerror=()=>{n(o.error)},o.onsuccess=()=>{t(o.result)}}),T=async(e,i,t)=>new Promise((n,o)=>{const r=e.transaction(i,"readwrite").objectStore(i),a=[];t.forEach(e=>{const i=r.delete(e);a.push(new Promise((e,t)=>{i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e()}}))}),Promise.all(a).then(()=>n()).catch(o)}),O=async e=>(async(e,i,t)=>new Promise((n,o)=>{const r=indexedDB.open(e,i);r.onerror=()=>{o(r.error)},r.onsuccess=()=>{n(r.result)},r.onupgradeneeded=()=>{const e=r.result;t(e)}}))(e,1,e=>{if(!e.objectStoreNames.contains(S)){e.createObjectStore(S).createIndex(I,"event_timestamp")}}),U=async(e,i)=>i&&(e=>{try{return e.transaction([S],"readwrite"),!0}catch(i){return"InvalidStateError"!==i.name}})(i)?i:i=await O(e),A="picoXSendEvents";class z{constructor(){this.mutex=Promise.resolve()}async run(e){return new Promise((i,t)=>{this.mutex=this.mutex.then(async()=>{try{i(await e())}catch(n){t(n)}})})}}const N=(e,i,t)=>{let n=!1,o=0,r=null,a=t.syncIntervalMilliseconds,s={delta:0,last_event_timestamp:null};const c=new z,d=async()=>{let n=[];return c.run(async()=>{o++;try{if(n=await e.retrieveEvents(t.eventsBatchSize),!n||0===n.length)return o=0,void(a=t.syncIntervalMilliseconds);const r=await i.sendEvents(n,s);return await l(r,n)}catch(r){return t.logger.error(`Event sync operation failed: ${r}`),function(e){return k(e)&&"PicoXClientError"===e.code}(r)||function(e){return k(e)&&"PicoXSerializationError"===e.code}(r)?await l(s,n):void(a=(({baseInterval:e,currentAttempt:i,maxInterval:t})=>{const n=t,o=e*Math.pow(2,Math.min(i-1,64));return Math.random()*Math.min(n,o)})({baseInterval:t.retryBaseInterval,currentAttempt:o,maxInterval:t.maxExponentialBackoffInterval}))}finally{u()}})},l=async(i,n)=>{await e.removeEvents(n),o=0,s=i,a=t.syncIntervalMilliseconds,0===t.syncIntervalMilliseconds&&n.length===t.eventsBatchSize&&(a=1)},u=()=>{if(n){if("undefined"==typeof window)throw new Error("Scheduler timeout not supported in this environment");r=window.setTimeout(d,a)}};return{configuration:t,startScheduling:()=>n?Promise.resolve():(n=!0,t.webLockApiRunner(A,d)),stopScheduling:()=>{n=!1,r&&(window.clearTimeout(r),r=null),a=t.syncIntervalMilliseconds}}},D={additionalContext:()=>({}),additionalIdentifiers:()=>({}),cookieDomain:"https://api.picox.bendingspoons.com",endpoint:"https://api.picox.bendingspoons.com/v1/events",dbName:"picox",eventsBatchSize:100,eventProcessors:[],isDevelopment:!1,logger:{debug:()=>{},error:()=>{},info:()=>{},trace:()=>{},warn:()=>{}},maxEventsStored:1e4,maxExponentialBackoffInterval:3e5,sdkVersion:"[email protected]",retryBaseInterval:2e3,syncIntervalMilliseconds:2e3,targetEventsNumberAfterClearingSpace:1e3,webLockApiRunner:async(e,i)=>{window.navigator.locks.request(e,async()=>(await i(),new Promise(()=>{})))},identifiersSuffix:"PICOX_ID"},j=async e=>{const i=(e=>({...D,...e}))(e),t=await(async e=>{const i=await O(e.dbName),t=async t=>{const n=t.map(e=>e.event_id),o=await U(e.dbName,i);await T(o,S,n)};return{storeEvent:async n=>{const o=await U(e.dbName,i),r=await C(o,S);if(r>=e.maxEventsStored){const i=r-e.targetEventsNumberAfterClearingSpace,n=await E(o,S,I,i,"next");await t(n)}await P(o,S,n.event_id,n)},retrieveEvents:async t=>{const n=await U(e.dbName,i);return await E(n,S,I,t,"next")},removeEvents:t}})(i),n=x(i),o=N(t,n,i),r=y(i.identifiersSuffix,i.cookieDomain),a=(e=>({currentContext:i=>{if("undefined"==typeof window)throw new Error("ContextProvider is not available in the server");const t=new f.UAParser(window.navigator.userAgent).getResult(),n=Intl.DateTimeFormat().resolvedOptions(),o=e.sdkVersion,r=t.browser.name??null,a=t.os.name??null,s=t.os.version??null,c=t.device.type??"desktop",d=window.navigator.language,l=n.locale,w=g(i),m=n.timeZone,b=60*i.getTimezoneOffset();return{device_browser:r,device_os:a,device_os_version:s,device_type:c,language:d,locale:l,session_id:u("PICOX_SESSION_ID")(),sdk_version:o,timezone_daylight_saving:w,timezone_name:m,timezone_seconds:b}}}))(i),s=async(e,n)=>{const o=new Date,s={...r.currentIdentifiers(),...i.additionalIdentifiers()},c={...a.currentContext(o),...i.additionalContext()};let l={event_id:d(),event_name:e,payload:n,identifiers:s,context:c,event_timestamp:o};for(const t of i.eventProcessors)if(l=t.processEvent(l),!l)return;await t.storeEvent(l)},c=v(s);return o.startScheduling(),c.start(),{track:s}};let M=null;const q=()=>{const{referrer:e}=(()=>
1{if(M)return{...M};try{const e=localStorage.getItem("miq_campaign_attribution");if(!e)return{};const i=JSON.parse(e)||{};return M=i,i}catch{return{}}})();if(e)return new URL(e).hostname},R="utmParameters",L=["v","gclid","fbclid","ttclid","t_s","t_cid","t_cname","t_agid","t_agname","t_crid","t_crname","t_match_type","t_network","t_device","t_gcid","msclid","t_validation"];async function B(e,i){const t={...e},n=(()=>{const e=q();return!!e&&/google|bing|duckduckgo|ecosia|yahoo|yandex|baidu/.test(e)})(),o=e.t_s||i.t_s;if(t.t_network||i.t_network||!n||o||(t.t_network="seo"),!t.t_wsource){const e=q();e&&(t.t_wsource=e)}if(!t.t_lp){const e=window.location.href;t.t_lp=e}return t.t_lsid=await l("mileiq_marketing_web")(),t}async function H(){const e=function(){const e=window.URLSearchParams?Array.from(new URLSearchParams(window.location.search).entries()):[],i={};return e.forEach(([e,t])=>{L.includes(e)&&(i[e]=t||void 0)}),X(i)}(),i=V(localStorage.getItem(R)),t=V(sessionStorage.getItem(R)),n=Object.keys(e).length>0?e:t,o=await B(n,i);sessionStorage.setItem(R,JSON.stringify(o));const r=Object.keys(o).length>0?o:i;return localStorage.setItem(R,JSON.stringify(r)),[o,r]}const X=e=>function(e,i){const t={};return Object.entries(e).forEach(([e,n])=>{i(n,e)||(t[e]=n)}),t}(e,e=>void 0===e);function V(e,i=void 0){if(!e)return{};try{const t=JSON.parse(e,i);return t instanceof Object?t:{}}catch{return{}}}let F,G=null,Q=null;const J={identificationToken:"c233adf3-d100-46d8-a0fc-826bf6bf6daa",additionalIdentifiers:()=>({username:F||null}),isDevelopment:"mileiq.com"!=window.location.hostname,cookieDomain:"mileiq.com"==window.location.hostname?".mileiq.com":".mileiq.dev"};async function Z(e){return e&&(F=e),G||(Q||(Q=j({...J}).then(e=>(G=e,console.warn("[PicoX] Successfully initialized"),e)).catch(e=>{throw Q=null,console.error("[PicoX] Initialization failed:",e),e}),Q.then(async e=>{const[i,t]=await H();e.track("utm_params_tracked",{persistent:t,landing_page_info:i}),console.warn("[PicoX] Successfully tracked utm params")}),Q))}async function K(){return Z()}const W=Object.freeze(Object.defineProperty({__proto__:null,getPicoX:K,initializeOrUpdatePicoXIfNeeded:Z,trackPicoXEvent:(e,i)=>{try{K().then(t=>{t.track(e,i)})}catch(t){console.error("[PicoX] Failed to track event:",e,t)}}},Symbol.toStringTag,{value:"Module"}));function Y(e){if("undefined"==typeof document)return;const i=`; ${document.cookie}`.split(`; ${e}=`);return 2===i.length?i.pop()?.split(";").shift():void 0}function ee(e,i,t=365){if("undefined"==typeof document)return;const n=new Date;n.setTime(n.getTime()+24*t*60*60*1e3);const o=`expires=${n.toUTCString()}`;document.cookie=`${e}=${i};${o};Domain=.mileiq.com;Path=/`}const ie=Object.freeze(Object.defineProperty({__proto__:null,ENV:function(){return"undefined"==typeof window||location.hostname.includes("dash-local.mileiq.com")||location.hostname.includes("localhost")||location.hostname.includes("127.0.0.1")||!location.hostname.includes("mileiq.com")?"dev":"prod"},ScriptLoader:class{constructor({srcUrl:e,autoInit:i=!0,async:t=!0}){e&&"undefined"!=typeof document&&(this.script=document.createElement("script"),this.script.src=e,this.script.async=t,i&&this.init())}async _load(){if("undefined"!=typeof document&&this.script)return document.head.appendChild(this.script),new Promise((e,i)=>{this.script&&(this.script.onload=e,this.script.onerror=i)})}
1async init(){return this._load().catch(console.error)}},getCookie:Y,getTrackingAttributesFromUrl:function(){if("undefined"==typeof window)return{utmSource:"",utmCampaign:"",utmContent:"",utmId:"",utmMedium:"",utmTerm:"",metaAudience:"",gaHsaAcc:"",gaHsaNet:"",gaHsaVersion:"",gaHsaCampaign:"",gaHsaGroup:"",gaHsaAd:"",gaHsaSrc:"",gaHsaTarget:"",gaHsaKeyword:"",gaHsaMatchtype:""};const e=new URLSearchParams(window.location.search),i=(i,t="")=>(e.get(i)||t).toLowerCase();return{utmSource:i("utm_source"),utmCampaign:i("utm_campaign"),utmContent:i("utm_content"),utmId:i("utm_id"),utmMedium:i("utm_medium"),utmTerm:i("utm_term"),metaAudience:i("meta_audience"),gaHsaAcc:i("hsa_acc"),gaHsaNet:i("hsa_net"),gaHsaVersion:i("hsa_ver"),gaHsaCampaign:i("hsa_cam"),gaHsaGroup:i("hsa_grp"),gaHsaAd:i("hsa_ad"),gaHsaSrc:i("hsa_src"),gaHsaTarget:i("hsa_tgt"),gaHsaKeyword:i("hsa_kw"),gaHsaMatchtype:i("hsa_mt")}},setCookie:ee,waitCheck:(e=1e4,i)=>Promise.race([new Promise(e=>{const t=()=>{const n=i();n?e(n):setTimeout(t,50)};t()}),new Promise(i=>setTimeout(()=>i(!1),e))])},Symbol.toStringTag,{value:"Module"})),te={get env(){return"undefined"==typeof window||location.hostname.includes("dash-local.mileiq.com")||location.hostname.includes("localhost")||location.hostname.includes("127.0.0.1")||!location.hostname.includes("mileiq.com")?"dev":"prod"},get version(){return void 0!=={url:"undefined"==typeof document&&"undefined"==typeof location?require("url").pathToFileURL(__filename).href:"undefined"==typeof document?location.href:i&&"SCRIPT"===i.tagName.toUpperCase()&&i.src||new URL("miq-scripts.js",document.baseURI).href}?"0.1.0":"unknown"},get isMobileDevice(){return"undefined"!=typeof navigator&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},get isUserLoggedIn(){const e=Y("user_logged_in");return"true"===e||"1"===e}},ne="miq_logger_enabled",oe="dev"===te.env||"true"===Y(ne),re={disableLogger:()=>{ee(ne,"false")},enableLogger:()=>{ee(ne,"true")},...{info:(...e)=>{oe&&console.info(`MiQ::Logs:${e[0]}`,...e.slice(1))},warn:(...e)=>{oe&&console.warn(`MiQ::Logs:${e[0]}`,...e.slice(1))},error:(...e)=>{oe&&console.error(`MiQ::Logs:${e[0]}`,...e.slice(1))},debug:(...e)=>{oe&&console.debug(`MiQ::Logs:${e[0]}`,...e.slice(1))}}},ae="impact_clickId",se="impact_anon_id",ce="irclickid";function de(e){const i=new we(e);console.error(i)}function le(){return new URLSearchParams(window.location.search).get(ce)||(Y(ae)??null)}function ue(){let e=Y(se);return e||(e=`anon_${crypto.randomUUID()}`,ee(se,e)),e}class we extends Error{constructor(e){super(e),this.name="ImpactIntegrationError",this.errorClass="Impact Integration Error"}}const me=Object.freeze(Object.defineProperty({__proto__:null,getImpactClickId:le,trackImpactPageLoad:async function(){const e=le();if(!e)return;const i={CampaignId:27542,EventDate:(new Date).toISOString(),PageUrl:window.location.href,ClickId:e,CustomerId:ue()};try{const e=await fetch("https://trkapi.impact.com/PageLoad",{headers:{"content-type":"application/json"},body:JSON.stringify(i),method:"POST"}),t=await e.json();200==e.status?ee(ae,t.clickId):de(JSON.stringify(t))}catch(t){de(t.message)}}},Symbol.toStringTag,{value:"Module"})),be={Configs:te,Logger:re,Utils:ie,Impact:me,PicoX:W};"undefined"!=typeof window&&(window.MiQ={...window.MiQ||{},...be}),e.Configs=te,e.Impact=me,e.Logger=re,e.PicoX=W,e.Utils=ie,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}); 2//# sourceMappingURL=miq-scripts.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.