vendor: 4,336 bytes, lines 1-14
1 2 // Merge in the client-visible compile-time environment. 3 window.process = { 4 ...window.process, 5 env: { 6 ...window.process?.env, 7 ...({"CI_COMMIT":"1f0db7f827f1d79edb03b7ca557f6729e7da95cb","CI_PIPELINE_ID":"4aaa4592-c12d-4dbe-81c7-aae7c092e38e","GOOGLE_CLOUD_PROJECT":"marketing-web-platform","DEPLOYMENT_TYPE":"production","NODE_ENV":"production","PREVIEW":"false","SITE_CONFIG":"snap"}) 8 } 9 }; 10 11 // Stop crashing when certain node libraries are imported. 12 window.global = window.global ?? {}; 13 14import{a as fe,d as Ke,f as Qe,g as v,h as Xe,i as Ze,k as ei,l as ii,m as pe,n as ve,o as he,p as ti}from"./chunk-CMUW3F64.mjs";import"./chunk-SXNTNO3F.mjs";import{f as Ye}from"./chunk-HDJWQ64U.mjs";import"./chunk-FSGK63SD.mjs";import"./chunk-HM4GBHPA.mjs";import"./chunk-YQ5KKLWY.mjs";import"./chunk-THU2VYMJ.mjs";import"./chunk-ZMBY44O3.mjs";import"./chunk-B5LUKU2Z.mjs";import{k as Je}from"./chunk-DEYQT3IT.mjs";import{b as Ki,d as Qi}from"./chunk-5FWEU5MQ.mjs";var oi=Ki((P,Z)=>{"use strict";(function(e,i){"use strict";var s="1.0.37",w="",y="?",k="function",h="undefined",ne="object",G="string",Re="major",o="model",a="name",t="type",r="vendor",n="version",T="architecture",B="console",u="mobile",b="tablet",S="smarttv",O="wearable",se="embedded",le=500,W="Amazon",I="Apple",Pe="ASUS",Me="BlackBerry",z="Browser",H="Chrome",$i="Edge",$="Firefox",V="Google",Le="Huawei",ce="LG",de="Microsoft",Fe="Motorola",J="Opera",Y="Samsung",qe="Sharp",K="Sony",ue="Xiaomi",be="Zebra",De="Facebook",je="Chromium OS",Ge="Mac OS",Vi=function(g,f){var d={};for(var p in g)f[p]&&f[p].length%2===0?d[p]=f[p].concat(g[p]):d[p]=g[p];return d},Q=function(g){for(var f={},d=0;d<g.length;d++)f[g[d].toUpperCase()]=g[d];return f},We=function(g,f){return typeof g===G?N(f).indexOf(N(g))!==-1:!1},N=function(g){return g.toLowerCase()},Ji=function(g){return typeof g===G?g.replace(/[^\d\.]/g,w).split(".")[0]:i},ge=function(g,f){if(typeof g===G)return g=g.replace(/^\s\s*/,w),typeof f===h?g:g.substring(0,le)},R=function(g,f){for(var d=0,p,x,A,m,c,_;d<f.length&&!c;){var me=f[d],Ve=f[d+1];for(p=x=0;p<me.length&&!c&&me[p];)if(c=me[p++].exec(g),c)for(A=0;A<Ve.length;A++)_=c[++x],m=Ve[A],typeof m===ne&&m.length>0?m.length===2?typeof m[1]==k?this[m[0]]=m[1].call(this,_):this[m[0]]=m[1]:m.length===3?typeof m[1]===k&&!(m[1].exec&&m[1].test)?this[m[0]]=_?m[1].call(this,_,m[2]):i:this[m[0]]=_?_.replace(m[1],m[2]):i:m.length===4&&(this[m[0]]=_?m[3].call(this,_.replace(m[1],m[2])):i):this[m]=_||i;d+=2}},we=function(g,f){for(var d in f)if(typeof f[d]===ne&&f[d].length>0){for(var p=0;p<f[d].length;p++)if(We(f[d][p],g))return d===y?i:d}else if(We(f[d],g))return d===y?i:d;return g},Yi={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},He={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"},$e={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[n,[a,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[n,[a,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[a,n],[/opios[\/ ]+([\w\.]+)/i],[n,[a,J+" Mini"]],[/\bopr\/([\w\.]+)/i],[n,[a,J]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[n,[a,"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],[a,n],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[n,[a,"UC"+z]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[n,[a,"WeChat"]],[/konqueror\/([\w\.]+)/i],[n,[a,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[n,[a,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[n,[a,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[n,[a,"Smart Lenovo "+z]],[/(avast|avg)\/([\w\.]+)/i],[[a,/(.+)/,"$1 Secure "+z],n],[/\bfocus\/([\w\.]+)/i],[n,[a,$+" Focus"]],[/\bopt\/([\w\.]+)/i],[n,[a,J
vendor: 4,180 bytes, line 14
14+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[n,[a,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[n,[a,"Dolphin"]],[/coast\/([\w\.]+)/i],[n,[a,J+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[n,[a,"MIUI "+z]],[/fxios\/([-\w\.]+)/i],[n,[a,$]],[/\bqihu|(qi?ho?o?|360)browser/i],[[a,"360 "+z]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[a,/(.+)/,"$1 "+z],n],[/samsungbrowser\/([\w\.]+)/i],[n,[a,Y+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[a,/_/g," "],n],[/metasr[\/ ]?([\d\.]+)/i],[n,[a,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[a,"Sogou Mobile"],n],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[a,n],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[a],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[a,De],n],[/(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],[a,n],[/\bgsa\/([\w\.]+) .*safari\//i],[n,[a,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[n,[a,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[n,[a,H+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[a,H+" WebView"],n],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[n,[a,"Android "+z]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[a,n],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[n,[a,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[n,a],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[a,[n,we,Yi]],[/(webkit|khtml)\/([\w\.]+)/i],[a,n],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[a,"Netscape"],n],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[n,[a,$+" 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],[a,n],[/(cobalt)\/([\w\.]+)/i],[a,[n,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[T,"amd64"]],[/(ia32(?=;))/i],[[T,N]],[/((?:i[346]|x)86)[;\)]/i],[[T,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[T,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[T,"armhf"]],[/windows (ce|mobile); ppc;/i],[[T,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[T,/ower/,w,N]],[/(sun4\w)[;\)]/i],[[T,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[T,N]]],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],[o,[r,Y],[t,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[o,[r,Y],[t,u]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[o,[r,I],[t,u]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[o,[r,I],[t,b]],[/(macintosh);/i],[o,[r,I]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[o,[r,qe],[t,u]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[o,[r,Le],[t,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[o,[r,Le],[t,u]],[/\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],[[o,/_/g," "],[r,ue],[t,u]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[o,/_/g," "],[r,ue],[t,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[o,[r,"OPPO"],[t,u]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[o,[r,"Vivo"],[t,u]],[/\b(rmx[1-3]\d{3})(?: bui|;
vendor: 4,315 bytes, line 14
14|\))/i],[o,[r,"Realme"],[t,u]],[/\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],[o,[r,Fe],[t,u]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[o,[r,Fe],[t,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[o,[r,ce],[t,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[o,[r,ce],[t,u]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[o,[r,"Lenovo"],[t,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[o,/_/g," "],[r,"Nokia"],[t,u]],[/(pixel c)\b/i],[o,[r,V],[t,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[o,[r,V],[t,u]],[/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],[o,[r,K],[t,u]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[o,"Xperia Tablet"],[r,K],[t,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[o,[r,"OnePlus"],[t,u]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[o,[r,W],[t,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[o,/(.+)/g,"Fire Phone $1"],[r,W],[t,u]],[/(playbook);[-\w\),; ]+(rim)/i],[o,r,[t,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[o,[r,Me],[t,u]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[o,[r,Pe],[t,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[o,[r,Pe],[t,u]],[/(nexus 9)/i],[o,[r,"HTC"],[t,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[r,[o,/_/g," "],[t,u]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[o,[r,"Acer"],[t,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[o,[r,"Meizu"],[t,u]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[o,[r,"Ulefone"],[t,u]],[/(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],[r,o,[t,u]],[/(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],[r,o,[t,b]],[/(surface duo)/i],[o,[r,de],[t,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[o,[r,"Fairphone"],[t,u]],[/(u304aa)/i],[o,[r,"AT&T"],[t,u]],[/\bsie-(\w*)/i],[o,[r,"Siemens"],[t,u]],[/\b(rct\w+) b/i],[o,[r,"RCA"],[t,b]],[/\b(venue[\d ]{2,7}) b/i],[o,[r,"Dell"],[t,b]],[/\b(q(?:mv|ta)\w+) b/i],[o,[r,"Verizon"],[t,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[o,[r,"Barnes & Noble"],[t,b]],[/\b(tm\d{3}\w+) b/i],[o,[r,"NuVision"],[t,b]],[/\b(k88) b/i],[o,[r,"ZTE"],[t,b]],[/\b(nx\d{3}j) b/i],[o,[r,"ZTE"],[t,u]],[/\b(gen\d{3}) b.+49h/i],[o,[r,"Swiss"],[t,u]],[/\b(zur\d{3}) b/i],[o,[r,"Swiss"],[t,b]],[/\b((zeki)?tb.*\b) b/i],[o,[r,"Zeki"],[t,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[r,"Dragon Touch"],o,[t,b]],[/\b(ns-?\w{0,9}) b/i],[o,[r,"Insignia"],[t,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[o,[r,"NextBook"],[t,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[r,"Voice"],o,[t,u]],[/\b(lvtel\-)?(v1[12]) b/i],[[r,"LvTel"],o,[t,u]],[/\b(ph-1) /i],[o,[r,"Essential"],[t,u]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[o,[r,"Envizen"],[t,b]],[/\b(trio[-\w\. ]+) b/i],[o,[r,"MachSpeed"],[t,b]],[/\btu_(1491) b/i],[o,[r,"Rotor"],[t,b]],[/(shield[\w ]+) b/i],[o,[r,"Nvidia"],[t,b]],[/(sprint) (\w+)/i],[r,o,[t,u]],[/(kin\.[onetw]{3})/i],[[o,/\./g," "],[r,de],[t,u]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[o,[r,be],[t,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[o,[r,be],[t,u]],[/smart-tv.+(samsung)/i],[r,[t,S]],[/hbbtv.+maple;(\d+)/i],[[o,/^/,"SmartTV"],[r,Y],[t,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[r,ce],[t,S]],[/(apple) ?tv/i],[r,[o,I+" TV"],[t,S]],[/crkey/i],[[o,H+"cast"],[r,V],[t,S]],[/droid.+aft(\w+)( bui|\))/i],[o,[r,W],[t,S]],[/\
vendor: 5,383 bytes, line 14
14(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[o,[r,qe],[t,S]],[/(bravia[\w ]+)( bui|\))/i],[o,[r,K],[t,S]],[/(mitv-\w{5}) bui/i],[o,[r,ue],[t,S]],[/Hbbtv.*(technisat) (.*);/i],[r,o,[t,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[r,ge],[o,ge],[t,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[t,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[r,o,[t,B]],[/droid.+; (shield) bui/i],[o,[r,"Nvidia"],[t,B]],[/(playstation [345portablevi]+)/i],[o,[r,K],[t,B]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[o,[r,de],[t,B]],[/((pebble))app/i],[r,o,[t,O]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[o,[r,I],[t,O]],[/droid.+; (glass) \d/i],[o,[r,V],[t,O]],[/droid.+; (wt63?0{2,3})\)/i],[o,[r,be],[t,O]],[/(quest( 2| pro)?)/i],[o,[r,De],[t,O]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[r,[t,se]],[/(aeobc)\b/i],[o,[r,W],[t,se]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[o,[t,u]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[o,[t,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[t,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[t,u]],[/(android[-\w\. ]{0,9});.+buil/i],[o,[r,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[n,[a,$i+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[n,[a,"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],[a,n],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[n,a]],os:[[/microsoft (windows) (vista|xp)/i],[a,n],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[a,[n,we,He]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[n,we,He],[a,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[n,/_/g,"."],[a,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[a,Ge],[n,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[n,a],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[a,n],[/\(bb(10);/i],[n,[a,Me]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[n,[a,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[n,[a,$+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[n,[a,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[n,[a,"watchOS"]],[/crkey\/([\d\.]+)/i],[n,[a,H+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[a,je],n],[/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],[a,n],[/(sunos) ?([\w\.\d]*)/i],[[a,"Solaris"],n],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[a,n]]},E=function(g,f){if(typeof g===ne&&(f=g,g=i),!(this instanceof E))return new E(g,f).getResult();var d=typeof e!==h&&e.navigator?e.navigator:i,p=g||(d&&d.userAgent?d.userAgent:w),x=d&&d.userAgentData?d.userAgentData:i,A=f?Vi($e,f):$e,m=d&&d.userAgent==p;return this.getBrowser=function(){var c={};return c[a]=i,c[n]=i,R.call(c,p,A.browser),c[Re]=Ji(c[n]),m&&d&&d.brave&&typeof d.brave.isBrave==k&&(c[a]="Brave"),c},this.getCPU=function(){var c={};return c[T]=i,R.call(c,p,A.cpu),c},this.getDevice=function(){var c={};return c[r]=i,c[o]=i,c[t]=i,R.call(c,p,A.device),m&&!c[t]&&x&&x.mobile&&(c[t]=u),m&&c[o]=="Macintosh"&&d&&typeof d.standalone!==h&&d.maxTouchPoints&&d.maxTouchPoints>2&&(c[o]="iPad",c[t]=b),c},this.getEngine=function(){var c={};return c[a]=i,c[n]=i,R.call(c,p,A.engine),c},this.getOS=function(){var c={};return c[a]=i,c[n]=i,R.call(c,p,A.os),m&&!c[a]&&x&&x.platform!="Unknown"&&(c[a]=x.platform.replace(/chrome os/i,je).replace(/macos/i,Ge)),c},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 p},this.setUA=function(c){return p=typeof c===G&&c.length>le?ge(c,le):c,this},this.setUA(p),this};E.VERSION=s,E.BROWSER=Q([a,n,Re]),E.CPU=Q([T]),E.DEVICE=Q([o,r,t,B,u,S,b,O,se]),E.ENGINE=E.OS=Q([a,n]),typeof P!==h?(typeof Z!==h&&Z.exports&&(P=Z.exports=E),P.UAParser=E):typeof define===k&&define.amd?define(function(){return E}):typeof e!==h&&(e.UAParser=E);var C=typeof e!==h&&(e.jQuery||e.Zepto);if(C&&!C.ua){var X=new E;C.ua=X.getResult(),C.ua.get=function(){return X.getUA()},C.ua.set=function(g){X.setUA(g);var f=X.getResult();for(var d in f)C.ua[d]=f[d]}}})(typeof window=="object"?window:P)});
14var fi=Qi(oi(),1);var Xi=Math.floor,Zi=Math.random;function et(e,i){return e+Xi(Zi()*(i-e+1))}var ri=et;var it=parseFloat,tt=Math.min,ot=Math.random;function rt(e,i,s){if(s&&typeof s!="boolean"&&Je(e,i,s)&&(i=s=void 0),s===void 0&&(typeof i=="boolean"?(s=i,i=void 0):typeof e=="boolean"&&(s=e,e=void 0)),e===void 0&&i===void 0?(e=0,i=1):(e=fe(e),i===void 0?(i=e,e=0):i=fe(i)),e>i){var w=e;e=i,i=w}if(s||e%1||i%1){var y=ot();return tt(e+y*(i-e+it("1e-"+((y+"").length-1))),i)}return ri(e,i)}var ai=rt;var at=Object.defineProperty,l=(e,i)=>at(e,"name",{value:i,configurable:!0}),Se;function gi(e){Se=e}l(gi,"setAppEnvironment");function D(){if(!Se)throw new Error("appEnvironment not set: was Blizzard initialized?");return Se}l(D,"getAppEnvironment");var Ee;function wi(e){Ee=e}l(wi,"setCollectionMode");function xe(){if(!Ee)throw new Error("collectionMode not set: was Blizzard initialized?");return Ee}l(xe,"getCollectionMode");var Te;function mi(e){Te=e}l(mi,"setOriginOverride");function ze(e){if(!Te)return e;let i=new URL(e),{origin:s}=new URL(Te);return e.replace(i.origin,s)}l(ze,"applyOriginOverride");var nt=v("session"),Ae;function _e(){return Ae===void 0&&Oe("COLD"),Ae}l(_e,"getSessionProperties");function Oe(e){let i={sessionId:Ze(),appStartupType:e};nt.debug("Started new Blizzard session:",i),Ae=i}l(Oe,"startNewSession");function pi(e){return e.getTime()/1e3}l(pi,"dateToBlizzardTimestamp");var st=v("eventMetadata");function vi(e,i){return{event_name:e,client_ts:pi(i),device_connectivity:hi(),connection_download_bandwidth_bps:yi()}}l(vi,"getEventMetadata");function hi(){switch(self.navigator?.connection?.type){case"bluetooth":return"BLUETOOTH";case"cellular":return"MOBILE";case"wifi":return"WIFI";case"ethernet":return"ETHERNET";case"none":return"UNREACHABLE";default:return}}l(hi,"getConnectivityType");function yi(){if(self.navigator?.connection?.downlink)return BigInt(Math.floor(self.navigator.connection.downlink*1024*1024))}l(yi,"getBandwidthBps");function ki(){let e;if(document.referrer)try{e=new URL(document.referrer).origin}catch(i){st.warn("Failed to parse referrer: ",document.referrer,i)}return e}l(ki,"getReferrer");function Si(){return D().appBuild==="PROD"?"":D()?.appBuild}l(Si,"getAppBuild");var Ei=l(e=>e.user_agent!==void 0,"isFrameStart"),ni;async function Ti(){let e=await _i;si??(si=Ai());let i={...si,client_id:he(),session_id:_e()?.sessionId,app_startup_type:_e()?.appStartupType,blizzard_web_session_id:pe(),user_guid:e??void 0};return Ke(ni,i)?null:(ni=i,i)}l(Ti,"getFrameStart");var lt={"MAC OS":"OSX"},si;function Ai(){let e=new fi.default,i=e.getOS().name?.toUpperCase(),s=i?lt[i]||i:void 0;return{user_agent:e.getUA(),locale:Qe(),os_type:s,os_version:s,app_type:D().appType,app_build:Si(),app_version:D().appVersion,browser:e.getBrowser().name,browser_version:e.getBrowser().version,device_model:e.getDevice().model,domain:self.location.hostname,referrer:ki()}}l(Ai,"getPartialFrameStart");var _i=Promise.resolve(null);function xi(e){_i=e}l(xi,"setUserGuidPromise");function Ce(e){return!!e&&"eventName"in e}l(Ce,"isEvent");var te=[];function ct(e,i){let s={observer:e,types:i};return te.push(s),()=>{te.splice(te.indexOf(s),1)}}l(ct,"registerDebugObserver");function j(e){te.forEach(({observer:i,types:s})=>{(s?.includes(e.type)??!0)&&i(e)})}l(j,"logDebugAction");function zi(e){return JSON.stringify(L(e))}l(zi,"stringifyBlizzardJsonArray");function L(e){if(typeof e=="bigint")return e.toString();if(Array.isArray(e))return e.map(i=>L(i));if(typeof e=="object"&&e!==null){let i={};for(let[s,w]of Object.entries(e))w!==null&&(typeof w=="object"&&!Array.isArray(w)?Object.assign(i,L(w)):i[s]=L(w));return i}return e}l(L,"transformForBlizzard");var dt="https://staging-us-central1-gcp.api.snapchat.com/web-analytics/web",ut="https://us-central1-gcp.api.snapchat.com/web-analytics/web",Oi="application/json; charset=UTF-8",bt=[400,401,403],gt=l(e=>new Promise(i=>setTimeout(i,e)),"sleep");async function Ue(e,i){let s=performance.now();try{return await e()}finally{let w=Math.round(performance.now()-s);wt.debug(`${i}=${w}ms`)}}l(Ue,"timed");var wt=v("timed");async function Be(e,i={}){let s=1,w=!1;do{let y=typeof i=="function"?i():i;
14w&&(y.keepalive=!1);let k;if(!y.signal){let h=new AbortController;k=setTimeout(()=>h.abort(),pt),y.signal=h.signal}try{let h=await Ue(()=>fetch(e,Ye(y,["onStatus"])),"network_request_latency_ms");if(await y?.onStatus?.(h.status),h.ok)return h;ee.warn("Request failed",h.status,h.statusText)}catch(h){ee.warn("fetch error",h),y.keepalive&&(ee.debug("Received an error while keepalive was enabled, retrying without keepalive",h),w=!0)}finally{k&&clearTimeout(k)}if(s<li){let h=mt(s);ee.debug(`Retrying after ${h}ms...`),await gt(h)}}while(s++<li);return null}l(Be,"fetchRetry");var ee=v("fetchRetry"),mt=l(e=>e===1?0:ai(0,ft*2**(e-2)),"calculateBackoff"),li=10,ft=250,pt=150*1e3,ci=v("getScaToken"),ie,ye=void 0;async function Ci(e){if(ye&&!e)return ye;if(ie&&!e)return ie;ie=Ui();let i=await ie;return ye=i,i}l(Ci,"getScaToken");async function Ui(){ci.debug("Retrieving new SCA token");let e=Bi(),i=await Be(e,{method:"POST",headers:{"Content-Type":Oi}});if(!i)throw new Error("Failed to retrieve authentication token");let{token:s}=await i.json();if(!s)throw new Error("Missing toklen in response");return ci.debug("Retrieved SCA token"),s}l(Ui,"fetchScaToken");function Bi(){return`${Ie()}/init_client`}l(Bi,"getInitClientUrl");var vt=(e=>(e.SNAPCHAT_COM="snapchat-com-metrics",e))(vt||{}),di="/web-analytics-v2/web",ht={"snapchat-com-metrics":{stagingUrl:`https://staging-gcp.api.snapchat.com${di}`,prodUrl:`https://gcp.api.snapchat.com${di}`}};function Ii(e){let i=ht[e],s=xe()==="STAGE"?i.stagingUrl:i.prodUrl;return ze(s)}l(Ii,"getAuthBaseUrl");var ui=v("authState"),yt=(e=>(e[e.AUTHENTICATED=0]="AUTHENTICATED",e[e.UNAUTHENTICATED=1]="UNAUTHENTICATED",e[e.UNKNOWN=2]="UNKNOWN",e))(yt||{}),kt=Object.freeze({authStatus:2}),St=Object.freeze({authStatus:1}),oe=void 0,F=void 0;function Ni(e){if(e===null){ui.debug("Setting no-op unauthenticated clientAuthProvider"),F=Promise.resolve(St),oe=null;return}oe=e.ssoClientId,F=new Promise(i=>{e.authState.subscribe(s=>{ui.debug("Got new authState:",s),s!==kt&&(i(s),F=Promise.resolve(s))})})}l(Ni,"initializeAuthState");async function Ri(){if(!F)throw new Error("getAuthState called before setClientAuthProvider, was initBlizzard called?");return F}l(Ri,"getAuthState");function Pi(){if(oe===void 0)throw new Error("getSsoClientId called before setClientAuthProvider, was initBlizzard called?");return oe}l(Pi,"getSsoClientId");async function re(e){let i;try{i=await Mi(e)}catch(s){Li.error("Failed to get upload config: ",s),i=void 0}return i}l(re,"tryToGetUploadConfig");async function Mi(e){let i=await Ri(),s=Pi(),w=s&&i.ssoToken&&i.authStatus===0;if(e&&w)return Li.info("SSO tokens cannot be refreshed - if provider does not provide a new one asynchronously this may be an issue with the provider"),e;let y=w?`Bearer ${i.ssoToken}`:`SCA ${await Ci(!!e)}`;return{baseUrl:w?Ii(s):Ie(),credentials:w?"include":"same-origin",authorizationHeader:y}}l(Mi,"getUploadConfig");function Ie(){let e=xe()==="STAGE"?dt:ut;return ze(e)}l(Ie,"getUnauthenticatedBaseUrl");var Li=v("uploadConfig");async function Fi(e){let i=zi(e);await qi(i,Oi,e.length),j({type:"EventsUploaded",events:e})}l(Fi,"transmitJsonEvents");async function qi(e,i,s){M.debug(`Uploading ${s} event(s)... [${i}]`);let w=await re();if(!w){M.error("Failed to get upload config after several attempts. Discarding upload attempt.");return}await Be(`${w.baseUrl}/events`,()=>({method:"POST",headers:{"Content-Type":i,Authorization:w.authorizationHeader,"X-Blizzard-Upload-Timestamp":`${Date.now()}`},body:e,credentials:w.credentials,keepalive:!0,onStatus:l(async k=>{bt.includes(k)&&(M.info("Auth failure, attempting to refresh authentication..."),w=await re(w)??w)},"onStatus")}))?M.debug(`Uploaded ${s} event(s)`):M.error("Failed to upload events after retries, discarding upload attempt.")}l(qi,"upload");var M=v("transmit"),U,Et=(U=class{constructor(i){this.sequenceId=1,this.logQueueName=i,this.log=v(`jsonQueue.${i}`)}async append(i){if(Ei(i))this.log.trace("Saw new FrameStart, copying for this queue"),this.lastFrameStart={...i,log_queue_name:this.logQueueName};else if(Ce(i)){if(this.lastFrameStart===void 0)throw new Error("Event before FrameStart");let s={...i.data,...i.metadata,...this.lastFrameStart,log_queue_sequence_id:this.sequenceId++};await Fi([s])}else throw new Error(`Illegal item: ${i}`)}},l(U,"JsonLogQueue"),U),Tt=new Et("w"),q=v("logEvent"),Yt=l(()=>Di,"logTypedEvent"),ae=0;async function Di(e){if(!Ne)throw new Error("initBlizzard must be called prior to calling logEvent");let i=[],s=new Date;q.info("Logging event",e.event_name,e);let w=Ti();i.push(w);let y=vi(e.event_name,s),k={eventName:e.event_name,metadata:y,data:e};i.push(k),j({type:"EventLogged",event:k}),ae>i.length&&q.debug(`#logEvent: Pending items: ${ae}`),await ji(i)}l(Di,"logEvent");async function ji(e){let i=await Promise.all(e);for(let s of i)ae--,s!==null&&(Ei(s)?(q.info("Enqueuing a new FrameStart",s),j({type:"FrameStartEnqueued",frameStart:s})):Ce(s)&&(q.debug("Enqueuing an event",s),j({type:"EventEnqueued",event:s})),await Gi().append(s),q.debug(`#enqueueItems: ${ae} remaining`))}l(ji,"enqueueItems");function Gi(){return Tt}l(Gi,"getLogQueue");var Ne=!1;function Wi(){Ne=!0}l(Wi,"setInitCalled");var bi=v("initBlizzard");async function At(e){if(Ne)throw new Error("initBlizzard should not be called multiple times");bi.info("Initializing Blizzard",e),Wi(),Xe(!!e.debugLoggingEnabled),ei(!e.cookiesDisabled),e.cookiesArgs?.customDomain&&ii(e.cookiesArgs.customDomain),e.cookiesArgs?.expireDays&&ti(e.cookiesArgs.expireDays),ve(),gi(e.appEnvironment),wi(e.mode??"PROD"),mi(e.overrideOrigin),Ni(e.clientAuthProvider??null),e.userGuid&&xi(e.userGuid),await Ue(async()=>{await e.userGuid,await re(),bi.info("Blizzard initialized")},"init_duration_millis")}l(At,"initBlizzard");var _t=(e=>(e.STAGE="STAGE",e.PROD="PROD",e))(_t||{}),Hi=v("lifecycle"),ke=!0;function xt(e){let i=e?.hasFocus??document.hasFocus();Hi.info("Blizzard - #onOpen",ke?"(cold start)":"(warm start)",i?"(foreground)":"(background)"),ke?ke=!1:Oe("WARM")}l(xt,"onPageOpen");function zt(){Hi.info("Blizzard - #onClose")}l(zt,"onPageClose");export{yt as AuthStatus,_t as CollectionMode,vt as SsoClientId,St as UNAUTH_STATE,kt as UNSET_AUTH_STATE,he as getClientId,pe as getWebSessionId,At as initBlizzard,Di as logEvent,Yt as logTypedEvent,zt as onPageClose,xt as onPageOpen,ct as registerDebugObserver,ve as saveWebSessionIdWhenActive,St as unauthState,kt as unsetAuthState};
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.