@loomhq/record-sdk
Advanced tools
Comparing version 3.7.1-draft to 3.7.1
@@ -12,4 +12,4 @@ (function(global, factory) { | ||
"use strict";var Ae=Object.create;var q=Object.defineProperty;var Ne=Object.getOwnPropertyDescriptor;var ke=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,ye=Object.prototype.hasOwnProperty;var Ce=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports),xe=(t,s)=>{for(var b in s)q(t,b,{get:s[b],enumerable:!0})},fe=(t,s,b,S)=>{if(s&&typeof s=="object"||typeof s=="function")for(let f of ke(s))!ye.call(t,f)&&f!==b&&q(t,f,{get:()=>s[f],enumerable:!(S=Ne(s,f))||S.enumerable});return t};var Pe=(t,s,b)=>(b=t!=null?Ae(Me(t)):{},fe(s||!t||!t.__esModule?q(b,"default",{value:t,enumerable:!0}):b,t)),Ue=t=>fe(q({},"__esModule",{value:!0}),t);var Ee=Ce((k,z)=>{(function(t,s){"use strict";var b="0.7.31",S="",f="?",y="function",g="undefined",X="object",C="string",De="major",r="model",o="name",e="type",i="vendor",a="version",_="architecture",O="console",l="mobile",n="tablet",E="smarttv",R="wearable",ne="embedded",Q=255,Z="Amazon",$="Apple",ce="ASUS",de="BlackBerry",D="Browser",x="Chrome",Ie="Edge",P="Firefox",U="Google",le="Huawei",J="LG",ee="Microsoft",me="Motorola",G="Opera",ie="Samsung",re="Sony",ue="Xiaomi",oe="Zebra",pe="Facebook",Oe=function(c,u){var d={};for(var w in c)u[w]&&u[w].length%2===0?d[w]=u[w].concat(c[w]):d[w]=c[w];return d},V=function(c){for(var u={},d=0;d<c.length;d++)u[c[d].toUpperCase()]=c[d];return u},we=function(c,u){return typeof c===C?T(u).indexOf(T(c))!==-1:!1},T=function(c){return c.toLowerCase()},Re=function(c){return typeof c===C?c.replace(/[^\d\.]/g,S).split(".")[0]:s},ae=function(c,u){if(typeof c===C)return c=c.replace(/^\s\s*/,S).replace(/\s\s*$/,S),typeof u===g?c:c.substring(0,Q)},A=function(c,u){for(var d=0,w,m,B,p,N,h;d<u.length&&!N;){var _e=u[d],Se=u[d+1];for(w=m=0;w<_e.length&&!N;)if(N=_e[w++].exec(c),N)for(B=0;B<Se.length;B++)h=N[++m],p=Se[B],typeof p===X&&p.length>0?p.length===2?typeof p[1]==y?this[p[0]]=p[1].call(this,h):this[p[0]]=p[1]:p.length===3?typeof p[1]===y&&!(p[1].exec&&p[1].test)?this[p[0]]=h?p[1].call(this,h,p[2]):s:this[p[0]]=h?h.replace(p[1],p[2]):s:p.length===4&&(this[p[0]]=h?p[3].call(this,h.replace(p[1],p[2])):s):this[p]=h||s;d+=2}},se=function(c,u){for(var d in u)if(typeof u[d]===X&&u[d].length>0){for(var w=0;w<u[d].length;w++)if(we(u[d][w],c))return d===f?s:d}else if(we(u[d],c))return d===f?s:d;return c},Te={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},be={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"},ve={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[a,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[a,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,a],[/opios[\/ ]+([\w\.]+)/i],[a,[o,G+" Mini"]],[/\bopr\/([\w\.]+)/i],[a,[o,G]],[/(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|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[o,a],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[a,[o,"UC"+D]],[/\bqbcore\/([\w\.]+)/i],[a,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[a,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[a,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[a,[o,"IE"]],[/yabrowser\/([\w\.]+)/i],[a,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],a],[/\bfocus\/([\w\.]+)/i],[a,[o,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[a,[o,G+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[a,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[a,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[a,[o,G+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[a,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[a,[o,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],a],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],a],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,a],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,pe],a],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,a],[/\bgsa\/([\w\.]+) .*safari\//i],[a,[o,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[a,[o,x+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,x+" WebView"],a],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[a,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,a],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[a,[o,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[a,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[a,se,Te]],[/(webkit|khtml)\/([\w\.]+)/i],[o,a],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],a],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[a,[o,P+" 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],[o,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,T]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,S,T]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,T]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[r,[i,ie],[e,n]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[r,[i,ie],[e,l]],[/\((ip(?:hone|od)[\w ]*);/i],[r,[i,$],[e,l]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[r,[i,$],[e,n]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[r,[i,le],[e,n]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[r,[i,le],[e,l]],[/\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)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[r,/_/g," "],[i,ue],[e,l]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[r,/_/g," "],[i,ue],[e,n]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[r,[i,"OPPO"],[e,l]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[r,[i,"Vivo"],[e,l]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[r,[i,"Realme"],[e,l]],[/\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],[r,[i,me],[e,l]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[r,[i,me],[e,n]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[r,[i,J],[e,n]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[r,[i,J],[e,l]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[r,[i,"Lenovo"],[e,n]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[r,/_/g," "],[i,"Nokia"],[e,l]],[/(pixel c)\b/i],[r,[i,U],[e,n]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[r,[i,U],[e,l]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[r,[i,re],[e,l]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[r,"Xperia Tablet"],[i,re],[e,n]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[r,[i,"OnePlus"],[e,l]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[r,[i,Z],[e,n]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[r,/(.+)/g,"Fire Phone $1"],[i,Z],[e,l]],[/(playbook);[-\w\),; ]+(rim)/i],[r,i,[e,n]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[r,[i,de],[e,l]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[r,[i,ce],[e,n]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[r,[i,ce],[e,l]],[/(nexus 9)/i],[r,[i,"HTC"],[e,n]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[i,[r,/_/g," "],[e,l]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[r,[i,"Acer"],[e,n]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[r,[i,"Meizu"],[e,l]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[r,[i,"Sharp"],[e,l]],[/(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],[i,r,[e,l]],[/(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],[i,r,[e,n]],[/(surface duo)/i],[r,[i,ee],[e,n]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[r,[i,"Fairphone"],[e,l]],[/(u304aa)/i],[r,[i,"AT&T"],[e,l]],[/\bsie-(\w*)/i],[r,[i,"Siemens"],[e,l]],[/\b(rct\w+) b/i],[r,[i,"RCA"],[e,n]],[/\b(venue[\d ]{2,7}) b/i],[r,[i,"Dell"],[e,n]],[/\b(q(?:mv|ta)\w+) b/i],[r,[i,"Verizon"],[e,n]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[r,[i,"Barnes & Noble"],[e,n]],[/\b(tm\d{3}\w+) b/i],[r,[i,"NuVision"],[e,n]],[/\b(k88) b/i],[r,[i,"ZTE"],[e,n]],[/\b(nx\d{3}j) b/i],[r,[i,"ZTE"],[e,l]],[/\b(gen\d{3}) b.+49h/i],[r,[i,"Swiss"],[e,l]],[/\b(zur\d{3}) b/i],[r,[i,"Swiss"],[e,n]],[/\b((zeki)?tb.*\b) b/i],[r,[i,"Zeki"],[e,n]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[i,"Dragon Touch"],r,[e,n]],[/\b(ns-?\w{0,9}) b/i],[r,[i,"Insignia"],[e,n]],[/\b((nxa|next)-?\w{0,9}) b/i],[r,[i,"NextBook"],[e,n]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[i,"Voice"],r,[e,l]],[/\b(lvtel\-)?(v1[12]) b/i],[[i,"LvTel"],r,[e,l]],[/\b(ph-1) /i],[r,[i,"Essential"],[e,l]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[r,[i,"Envizen"],[e,n]],[/\b(trio[-\w\. ]+) b/i],[r,[i,"MachSpeed"],[e,n]],[/\btu_(1491) b/i],[r,[i,"Rotor"],[e,n]],[/(shield[\w ]+) b/i],[r,[i,"Nvidia"],[e,n]],[/(sprint) (\w+)/i],[i,r,[e,l]],[/(kin\.[onetw]{3})/i],[[r,/\./g," "],[i,ee],[e,l]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[r,[i,oe],[e,n]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[r,[i,oe],[e,l]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[i,r,[e,O]],[/droid.+; (shield) bui/i],[r,[i,"Nvidia"],[e,O]],[/(playstation [345portablevi]+)/i],[r,[i,re],[e,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[r,[i,ee],[e,O]],[/smart-tv.+(samsung)/i],[i,[e,E]],[/hbbtv.+maple;(\d+)/i],[[r,/^/,"SmartTV"],[i,ie],[e,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[i,J],[e,E]],[/(apple) ?tv/i],[i,[r,$+" TV"],[e,E]],[/crkey/i],[[r,x+"cast"],[i,U],[e,E]],[/droid.+aft(\w)( bui|\))/i],[r,[i,Z],[e,E]],[/\(dtv[\);].+(aquos)/i],[r,[i,"Sharp"],[e,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[i,ae],[r,ae],[e,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[e,E]],[/((pebble))app/i],[i,r,[e,R]],[/droid.+; (glass) \d/i],[r,[i,U],[e,R]],[/droid.+; (wt63?0{2,3})\)/i],[r,[i,oe],[e,R]],[/(quest( 2)?)/i],[r,[i,pe],[e,R]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[i,[e,ne]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[r,[e,l]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[r,[e,n]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[e,n]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[e,l]],[/(android[-\w\. ]{0,9});.+buil/i],[r,[i,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[a,[o,Ie+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[a,[o,"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],[o,a],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[a,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,a],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[a,se,be]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[a,se,be]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[a,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,"Mac OS"],[a,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[a,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,a],[/\(bb(10);/i],[a,[o,de]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[a,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[a,[o,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[a,[o,"webOS"]],[/crkey\/([\d\.]+)/i],[a,[o,x+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[o,"Chromium OS"],a],[/(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],[o,a],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],a],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[o,a]]},v=function(c,u){if(typeof c===X&&(u=c,c=s),!(this instanceof v))return new v(c,u).getResult();var d=c||(typeof t!==g&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:S),w=u?Oe(ve,u):ve;return this.getBrowser=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.browser),m.major=Re(m.version),m},this.getCPU=function(){var m={};return m[_]=s,A.call(m,d,w.cpu),m},this.getDevice=function(){var m={};return m[i]=s,m[r]=s,m[e]=s,A.call(m,d,w.device),m},this.getEngine=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.engine),m},this.getOS=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.os),m},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 d},this.setUA=function(m){return d=typeof m===C&&m.length>Q?ae(m,Q):m,this},this.setUA(d),this};v.VERSION=b,v.BROWSER=V([o,a,De]),v.CPU=V([_]),v.DEVICE=V([r,i,e,O,l,E,n,R,ne]),v.ENGINE=v.OS=V([o,a]),typeof k!==g?(typeof z!==g&&z.exports&&(k=z.exports=v),k.UAParser=v):typeof define===y&&define.amd?define(function(){return v}):typeof t!==g&&(t.UAParser=v);var I=typeof t!==g&&(t.jQuery||t.Zepto);if(I&&!I.ua){var L=new v;I.ua=L.getResult(),I.ua.get=function(){return L.getUA()},I.ua.set=function(c){L.setUA(c);var u=L.getResult();for(var d in u)I.ua[d]=u[d]}}})(typeof window=="object"?window:k)});var ze={};xe(ze,{isSupported:()=>qe});module.exports=Ue(ze);var ge=Pe(Ee());var te=(t=>(t.Fatal="fatal",t.Error="error",t.Warning="warn",t.Info="info",t.Debug="debug",t))(te||{});var W="integrations.media-devices",Ge=W+".request_device_permissions",Xe=Ge+".failed",Qe=W+".has_media_device_permissions",Ze=W+".display_surface_selected";var M=W+".v2",F=M+".get_display_stream",$e=F+".start",Je=F+".finish",ei=F+".error",ii=F+".warning",Y=M+".get_audio_stream",ri=Y+".start",oi=Y+".finish",ai=Y+".error",si=Y+".warning",H=M+".get_camera_stream",ti=H+".start",ni=H+".finish",ci=H+".error",di=H+".warning",j=M+".query_device_permissions",li=j+".start",mi=j+".finish",ui=j+".error",pi=j+".warning",K=M+".trigger_device_permissions",wi=K+".start",bi=K+".finish",vi=K+".error",_i=K+".warning";var he=t=>{let s=navigator==null?void 0:navigator.mediaDevices;if(!(s!=null&&s.getUserMedia&&(s!=null&&s.getDisplayMedia))){let{userAgent:b}=navigator;return t({level:te.Warning,message:"Media Utilities: Environment does not have navigator.mediaDevices support",context:{mediaDevices:s,userAgent:b}}),!1}return!0};var Ve="3.7.1",Le=["Chrome","Chrome Headless","Edge","Brave"];var Be=t=>Le.includes(t.browserName||"")?t.thirdPartyCookieSupport?t.hasMediaStreamsSupport?{supported:!0,error:void 0}:{supported:!1,error:"no-media-streams-support"}:{supported:!1,error:"third-party-cookies-disabled"}:{supported:!1,error:"incompatible-browser"},qe=()=>{let{getBrowser:t}=new ge.default,{name:s,version:b}=t(),S=!0,f=he(g=>{console.warn("@loomhq/record-sdk: ",g)});return Be({loomSDKVersion:Ve,browserName:s,browserVersion:b,thirdPartyCookieSupport:S,hasMediaStreamsSupport:f})}; | ||
"use strict";var Ae=Object.create;var q=Object.defineProperty;var Ne=Object.getOwnPropertyDescriptor;var ke=Object.getOwnPropertyNames;var Me=Object.getPrototypeOf,ye=Object.prototype.hasOwnProperty;var Ce=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports),xe=(t,s)=>{for(var b in s)q(t,b,{get:s[b],enumerable:!0})},fe=(t,s,b,S)=>{if(s&&typeof s=="object"||typeof s=="function")for(let f of ke(s))!ye.call(t,f)&&f!==b&&q(t,f,{get:()=>s[f],enumerable:!(S=Ne(s,f))||S.enumerable});return t};var Pe=(t,s,b)=>(b=t!=null?Ae(Me(t)):{},fe(s||!t||!t.__esModule?q(b,"default",{value:t,enumerable:!0}):b,t)),Ue=t=>fe(q({},"__esModule",{value:!0}),t);var Ee=Ce((k,z)=>{(function(t,s){"use strict";var b="0.7.31",S="",f="?",y="function",g="undefined",X="object",C="string",De="major",r="model",o="name",e="type",i="vendor",a="version",_="architecture",O="console",l="mobile",n="tablet",E="smarttv",R="wearable",ne="embedded",Q=255,Z="Amazon",$="Apple",ce="ASUS",de="BlackBerry",D="Browser",x="Chrome",Ie="Edge",P="Firefox",U="Google",le="Huawei",J="LG",ee="Microsoft",me="Motorola",G="Opera",ie="Samsung",re="Sony",ue="Xiaomi",oe="Zebra",pe="Facebook",Oe=function(c,u){var d={};for(var w in c)u[w]&&u[w].length%2===0?d[w]=u[w].concat(c[w]):d[w]=c[w];return d},V=function(c){for(var u={},d=0;d<c.length;d++)u[c[d].toUpperCase()]=c[d];return u},we=function(c,u){return typeof c===C?T(u).indexOf(T(c))!==-1:!1},T=function(c){return c.toLowerCase()},Re=function(c){return typeof c===C?c.replace(/[^\d\.]/g,S).split(".")[0]:s},ae=function(c,u){if(typeof c===C)return c=c.replace(/^\s\s*/,S).replace(/\s\s*$/,S),typeof u===g?c:c.substring(0,Q)},A=function(c,u){for(var d=0,w,m,B,p,N,h;d<u.length&&!N;){var _e=u[d],Se=u[d+1];for(w=m=0;w<_e.length&&!N;)if(N=_e[w++].exec(c),N)for(B=0;B<Se.length;B++)h=N[++m],p=Se[B],typeof p===X&&p.length>0?p.length===2?typeof p[1]==y?this[p[0]]=p[1].call(this,h):this[p[0]]=p[1]:p.length===3?typeof p[1]===y&&!(p[1].exec&&p[1].test)?this[p[0]]=h?p[1].call(this,h,p[2]):s:this[p[0]]=h?h.replace(p[1],p[2]):s:p.length===4&&(this[p[0]]=h?p[3].call(this,h.replace(p[1],p[2])):s):this[p]=h||s;d+=2}},se=function(c,u){for(var d in u)if(typeof u[d]===X&&u[d].length>0){for(var w=0;w<u[d].length;w++)if(we(u[d][w],c))return d===f?s:d}else if(we(u[d],c))return d===f?s:d;return c},Te={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},be={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"},ve={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[a,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[a,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,a],[/opios[\/ ]+([\w\.]+)/i],[a,[o,G+" Mini"]],[/\bopr\/([\w\.]+)/i],[a,[o,G]],[/(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|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[o,a],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[a,[o,"UC"+D]],[/\bqbcore\/([\w\.]+)/i],[a,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[a,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[a,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[a,[o,"IE"]],[/yabrowser\/([\w\.]+)/i],[a,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],a],[/\bfocus\/([\w\.]+)/i],[a,[o,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[a,[o,G+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[a,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[a,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[a,[o,G+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[a,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[a,[o,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],a],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],a],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,a],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,pe],a],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,a],[/\bgsa\/([\w\.]+) .*safari\//i],[a,[o,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[a,[o,x+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,x+" WebView"],a],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[a,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,a],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[a,[o,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[a,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[a,se,Te]],[/(webkit|khtml)\/([\w\.]+)/i],[o,a],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],a],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[a,[o,P+" 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],[o,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,T]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,S,T]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,T]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[r,[i,ie],[e,n]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[r,[i,ie],[e,l]],[/\((ip(?:hone|od)[\w ]*);/i],[r,[i,$],[e,l]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[r,[i,$],[e,n]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[r,[i,le],[e,n]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[r,[i,le],[e,l]],[/\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)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[r,/_/g," "],[i,ue],[e,l]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[r,/_/g," "],[i,ue],[e,n]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[r,[i,"OPPO"],[e,l]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[r,[i,"Vivo"],[e,l]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[r,[i,"Realme"],[e,l]],[/\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],[r,[i,me],[e,l]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[r,[i,me],[e,n]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[r,[i,J],[e,n]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[r,[i,J],[e,l]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[r,[i,"Lenovo"],[e,n]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[r,/_/g," "],[i,"Nokia"],[e,l]],[/(pixel c)\b/i],[r,[i,U],[e,n]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[r,[i,U],[e,l]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[r,[i,re],[e,l]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[r,"Xperia Tablet"],[i,re],[e,n]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[r,[i,"OnePlus"],[e,l]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[r,[i,Z],[e,n]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[r,/(.+)/g,"Fire Phone $1"],[i,Z],[e,l]],[/(playbook);[-\w\),; ]+(rim)/i],[r,i,[e,n]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[r,[i,de],[e,l]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[r,[i,ce],[e,n]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[r,[i,ce],[e,l]],[/(nexus 9)/i],[r,[i,"HTC"],[e,n]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[i,[r,/_/g," "],[e,l]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[r,[i,"Acer"],[e,n]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[r,[i,"Meizu"],[e,l]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[r,[i,"Sharp"],[e,l]],[/(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],[i,r,[e,l]],[/(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],[i,r,[e,n]],[/(surface duo)/i],[r,[i,ee],[e,n]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[r,[i,"Fairphone"],[e,l]],[/(u304aa)/i],[r,[i,"AT&T"],[e,l]],[/\bsie-(\w*)/i],[r,[i,"Siemens"],[e,l]],[/\b(rct\w+) b/i],[r,[i,"RCA"],[e,n]],[/\b(venue[\d ]{2,7}) b/i],[r,[i,"Dell"],[e,n]],[/\b(q(?:mv|ta)\w+) b/i],[r,[i,"Verizon"],[e,n]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[r,[i,"Barnes & Noble"],[e,n]],[/\b(tm\d{3}\w+) b/i],[r,[i,"NuVision"],[e,n]],[/\b(k88) b/i],[r,[i,"ZTE"],[e,n]],[/\b(nx\d{3}j) b/i],[r,[i,"ZTE"],[e,l]],[/\b(gen\d{3}) b.+49h/i],[r,[i,"Swiss"],[e,l]],[/\b(zur\d{3}) b/i],[r,[i,"Swiss"],[e,n]],[/\b((zeki)?tb.*\b) b/i],[r,[i,"Zeki"],[e,n]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[i,"Dragon Touch"],r,[e,n]],[/\b(ns-?\w{0,9}) b/i],[r,[i,"Insignia"],[e,n]],[/\b((nxa|next)-?\w{0,9}) b/i],[r,[i,"NextBook"],[e,n]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[i,"Voice"],r,[e,l]],[/\b(lvtel\-)?(v1[12]) b/i],[[i,"LvTel"],r,[e,l]],[/\b(ph-1) /i],[r,[i,"Essential"],[e,l]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[r,[i,"Envizen"],[e,n]],[/\b(trio[-\w\. ]+) b/i],[r,[i,"MachSpeed"],[e,n]],[/\btu_(1491) b/i],[r,[i,"Rotor"],[e,n]],[/(shield[\w ]+) b/i],[r,[i,"Nvidia"],[e,n]],[/(sprint) (\w+)/i],[i,r,[e,l]],[/(kin\.[onetw]{3})/i],[[r,/\./g," "],[i,ee],[e,l]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[r,[i,oe],[e,n]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[r,[i,oe],[e,l]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[i,r,[e,O]],[/droid.+; (shield) bui/i],[r,[i,"Nvidia"],[e,O]],[/(playstation [345portablevi]+)/i],[r,[i,re],[e,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[r,[i,ee],[e,O]],[/smart-tv.+(samsung)/i],[i,[e,E]],[/hbbtv.+maple;(\d+)/i],[[r,/^/,"SmartTV"],[i,ie],[e,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[i,J],[e,E]],[/(apple) ?tv/i],[i,[r,$+" TV"],[e,E]],[/crkey/i],[[r,x+"cast"],[i,U],[e,E]],[/droid.+aft(\w)( bui|\))/i],[r,[i,Z],[e,E]],[/\(dtv[\);].+(aquos)/i],[r,[i,"Sharp"],[e,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[i,ae],[r,ae],[e,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[e,E]],[/((pebble))app/i],[i,r,[e,R]],[/droid.+; (glass) \d/i],[r,[i,U],[e,R]],[/droid.+; (wt63?0{2,3})\)/i],[r,[i,oe],[e,R]],[/(quest( 2)?)/i],[r,[i,pe],[e,R]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[i,[e,ne]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[r,[e,l]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[r,[e,n]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[e,n]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[e,l]],[/(android[-\w\. ]{0,9});.+buil/i],[r,[i,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[a,[o,Ie+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[a,[o,"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],[o,a],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[a,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,a],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[a,se,be]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[a,se,be]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[a,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,"Mac OS"],[a,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[a,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,a],[/\(bb(10);/i],[a,[o,de]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[a,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[a,[o,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[a,[o,"webOS"]],[/crkey\/([\d\.]+)/i],[a,[o,x+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[o,"Chromium OS"],a],[/(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],[o,a],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],a],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[o,a]]},v=function(c,u){if(typeof c===X&&(u=c,c=s),!(this instanceof v))return new v(c,u).getResult();var d=c||(typeof t!==g&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:S),w=u?Oe(ve,u):ve;return this.getBrowser=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.browser),m.major=Re(m.version),m},this.getCPU=function(){var m={};return m[_]=s,A.call(m,d,w.cpu),m},this.getDevice=function(){var m={};return m[i]=s,m[r]=s,m[e]=s,A.call(m,d,w.device),m},this.getEngine=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.engine),m},this.getOS=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.os),m},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 d},this.setUA=function(m){return d=typeof m===C&&m.length>Q?ae(m,Q):m,this},this.setUA(d),this};v.VERSION=b,v.BROWSER=V([o,a,De]),v.CPU=V([_]),v.DEVICE=V([r,i,e,O,l,E,n,R,ne]),v.ENGINE=v.OS=V([o,a]),typeof k!==g?(typeof z!==g&&z.exports&&(k=z.exports=v),k.UAParser=v):typeof define===y&&define.amd?define(function(){return v}):typeof t!==g&&(t.UAParser=v);var I=typeof t!==g&&(t.jQuery||t.Zepto);if(I&&!I.ua){var L=new v;I.ua=L.getResult(),I.ua.get=function(){return L.getUA()},I.ua.set=function(c){L.setUA(c);var u=L.getResult();for(var d in u)I.ua[d]=u[d]}}})(typeof window=="object"?window:k)});var ze={};xe(ze,{isSupported:()=>qe});module.exports=Ue(ze);var ge=Pe(Ee());var te=(t=>(t.Fatal="fatal",t.Error="error",t.Warning="warn",t.Info="info",t.Debug="debug",t))(te||{});var W="integrations.media-devices",Ge=W+".request_device_permissions",Xe=Ge+".failed",Qe=W+".has_media_device_permissions",Ze=W+".display_surface_selected";var M=W+".v2",F=M+".get_display_stream",$e=F+".start",Je=F+".finish",ei=F+".error",ii=F+".warning",Y=M+".get_audio_stream",ri=Y+".start",oi=Y+".finish",ai=Y+".error",si=Y+".warning",H=M+".get_camera_stream",ti=H+".start",ni=H+".finish",ci=H+".error",di=H+".warning",j=M+".query_device_permissions",li=j+".start",mi=j+".finish",ui=j+".error",pi=j+".warning",K=M+".trigger_device_permissions",wi=K+".start",bi=K+".finish",vi=K+".error",_i=K+".warning";var he=t=>{let s=navigator==null?void 0:navigator.mediaDevices;if(!(s!=null&&s.getUserMedia&&(s!=null&&s.getDisplayMedia))){let{userAgent:b}=navigator;return t({level:te.Warning,message:"Media Utilities: Environment does not have navigator.mediaDevices support",context:{mediaDevices:s,userAgent:b}}),!1}return!0};var Ve="2.2.0",Le=["Chrome","Chrome Headless","Edge","Brave"];var Be=t=>Le.includes(t.browserName||"")?t.thirdPartyCookieSupport?t.hasMediaStreamsSupport?{supported:!0,error:void 0}:{supported:!1,error:"no-media-streams-support"}:{supported:!1,error:"third-party-cookies-disabled"}:{supported:!1,error:"incompatible-browser"},qe=()=>{let{getBrowser:t}=new ge.default,{name:s,version:b}=t(),S=!0,f=he(g=>{console.warn("@loomhq/record-sdk: ",g)});return Be({loomSDKVersion:Ve,browserName:s,browserVersion:b,thirdPartyCookieSupport:S,hasMediaStreamsSupport:f})}; | ||
})); |
@@ -1,1 +0,1 @@ | ||
var Te=Object.create;var Se=Object.defineProperty;var Ae=Object.getOwnPropertyDescriptor;var Ne=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var ye=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var Ce=(t,s,v,S)=>{if(s&&typeof s=="object"||typeof s=="function")for(let f of Ne(s))!Me.call(t,f)&&f!==v&&Se(t,f,{get:()=>s[f],enumerable:!(S=Ae(s,f))||S.enumerable});return t};var xe=(t,s,v)=>(v=t!=null?Te(ke(t)):{},Ce(s||!t||!t.__esModule?Se(v,"default",{value:t,enumerable:!0}):v,t));var fe=ye((k,q)=>{(function(t,s){"use strict";var v="0.7.31",S="",f="?",y="function",g="undefined",K="object",C="string",ge="major",r="model",o="name",e="type",i="vendor",a="version",_="architecture",O="console",l="mobile",n="tablet",E="smarttv",R="wearable",te="embedded",X=255,Q="Amazon",Z="Apple",ne="ASUS",ce="BlackBerry",D="Browser",x="Chrome",De="Edge",P="Firefox",U="Google",de="Huawei",$="LG",J="Microsoft",le="Motorola",G="Opera",ee="Samsung",ie="Sony",me="Xiaomi",re="Zebra",ue="Facebook",Ie=function(c,u){var d={};for(var w in c)u[w]&&u[w].length%2===0?d[w]=u[w].concat(c[w]):d[w]=c[w];return d},V=function(c){for(var u={},d=0;d<c.length;d++)u[c[d].toUpperCase()]=c[d];return u},pe=function(c,u){return typeof c===C?T(u).indexOf(T(c))!==-1:!1},T=function(c){return c.toLowerCase()},Oe=function(c){return typeof c===C?c.replace(/[^\d\.]/g,S).split(".")[0]:s},oe=function(c,u){if(typeof c===C)return c=c.replace(/^\s\s*/,S).replace(/\s\s*$/,S),typeof u===g?c:c.substring(0,X)},A=function(c,u){for(var d=0,w,m,B,p,N,h;d<u.length&&!N;){var ve=u[d],_e=u[d+1];for(w=m=0;w<ve.length&&!N;)if(N=ve[w++].exec(c),N)for(B=0;B<_e.length;B++)h=N[++m],p=_e[B],typeof p===K&&p.length>0?p.length===2?typeof p[1]==y?this[p[0]]=p[1].call(this,h):this[p[0]]=p[1]:p.length===3?typeof p[1]===y&&!(p[1].exec&&p[1].test)?this[p[0]]=h?p[1].call(this,h,p[2]):s:this[p[0]]=h?h.replace(p[1],p[2]):s:p.length===4&&(this[p[0]]=h?p[3].call(this,h.replace(p[1],p[2])):s):this[p]=h||s;d+=2}},ae=function(c,u){for(var d in u)if(typeof u[d]===K&&u[d].length>0){for(var w=0;w<u[d].length;w++)if(pe(u[d][w],c))return d===f?s:d}else if(pe(u[d],c))return d===f?s:d;return c},Re={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},we={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"},be={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[a,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[a,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,a],[/opios[\/ ]+([\w\.]+)/i],[a,[o,G+" Mini"]],[/\bopr\/([\w\.]+)/i],[a,[o,G]],[/(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|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[o,a],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[a,[o,"UC"+D]],[/\bqbcore\/([\w\.]+)/i],[a,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[a,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[a,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[a,[o,"IE"]],[/yabrowser\/([\w\.]+)/i],[a,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],a],[/\bfocus\/([\w\.]+)/i],[a,[o,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[a,[o,G+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[a,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[a,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[a,[o,G+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[a,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[a,[o,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],a],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],a],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,a],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,ue],a],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,a],[/\bgsa\/([\w\.]+) .*safari\//i],[a,[o,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[a,[o,x+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,x+" WebView"],a],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[a,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,a],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[a,[o,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[a,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[a,ae,Re]],[/(webkit|khtml)\/([\w\.]+)/i],[o,a],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],a],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[a,[o,P+" 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],[o,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,T]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,S,T]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,T]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[r,[i,ee],[e,n]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[r,[i,ee],[e,l]],[/\((ip(?:hone|od)[\w ]*);/i],[r,[i,Z],[e,l]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[r,[i,Z],[e,n]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[r,[i,de],[e,n]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[r,[i,de],[e,l]],[/\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)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[r,/_/g," "],[i,me],[e,l]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[r,/_/g," "],[i,me],[e,n]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[r,[i,"OPPO"],[e,l]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[r,[i,"Vivo"],[e,l]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[r,[i,"Realme"],[e,l]],[/\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],[r,[i,le],[e,l]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[r,[i,le],[e,n]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[r,[i,$],[e,n]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[r,[i,$],[e,l]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[r,[i,"Lenovo"],[e,n]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[r,/_/g," "],[i,"Nokia"],[e,l]],[/(pixel c)\b/i],[r,[i,U],[e,n]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[r,[i,U],[e,l]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[r,[i,ie],[e,l]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[r,"Xperia Tablet"],[i,ie],[e,n]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[r,[i,"OnePlus"],[e,l]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[r,[i,Q],[e,n]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[r,/(.+)/g,"Fire Phone $1"],[i,Q],[e,l]],[/(playbook);[-\w\),; ]+(rim)/i],[r,i,[e,n]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[r,[i,ce],[e,l]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[r,[i,ne],[e,n]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[r,[i,ne],[e,l]],[/(nexus 9)/i],[r,[i,"HTC"],[e,n]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[i,[r,/_/g," "],[e,l]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[r,[i,"Acer"],[e,n]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[r,[i,"Meizu"],[e,l]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[r,[i,"Sharp"],[e,l]],[/(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],[i,r,[e,l]],[/(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],[i,r,[e,n]],[/(surface duo)/i],[r,[i,J],[e,n]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[r,[i,"Fairphone"],[e,l]],[/(u304aa)/i],[r,[i,"AT&T"],[e,l]],[/\bsie-(\w*)/i],[r,[i,"Siemens"],[e,l]],[/\b(rct\w+) b/i],[r,[i,"RCA"],[e,n]],[/\b(venue[\d ]{2,7}) b/i],[r,[i,"Dell"],[e,n]],[/\b(q(?:mv|ta)\w+) b/i],[r,[i,"Verizon"],[e,n]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[r,[i,"Barnes & Noble"],[e,n]],[/\b(tm\d{3}\w+) b/i],[r,[i,"NuVision"],[e,n]],[/\b(k88) b/i],[r,[i,"ZTE"],[e,n]],[/\b(nx\d{3}j) b/i],[r,[i,"ZTE"],[e,l]],[/\b(gen\d{3}) b.+49h/i],[r,[i,"Swiss"],[e,l]],[/\b(zur\d{3}) b/i],[r,[i,"Swiss"],[e,n]],[/\b((zeki)?tb.*\b) b/i],[r,[i,"Zeki"],[e,n]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[i,"Dragon Touch"],r,[e,n]],[/\b(ns-?\w{0,9}) b/i],[r,[i,"Insignia"],[e,n]],[/\b((nxa|next)-?\w{0,9}) b/i],[r,[i,"NextBook"],[e,n]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[i,"Voice"],r,[e,l]],[/\b(lvtel\-)?(v1[12]) b/i],[[i,"LvTel"],r,[e,l]],[/\b(ph-1) /i],[r,[i,"Essential"],[e,l]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[r,[i,"Envizen"],[e,n]],[/\b(trio[-\w\. ]+) b/i],[r,[i,"MachSpeed"],[e,n]],[/\btu_(1491) b/i],[r,[i,"Rotor"],[e,n]],[/(shield[\w ]+) b/i],[r,[i,"Nvidia"],[e,n]],[/(sprint) (\w+)/i],[i,r,[e,l]],[/(kin\.[onetw]{3})/i],[[r,/\./g," "],[i,J],[e,l]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[r,[i,re],[e,n]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[r,[i,re],[e,l]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[i,r,[e,O]],[/droid.+; (shield) bui/i],[r,[i,"Nvidia"],[e,O]],[/(playstation [345portablevi]+)/i],[r,[i,ie],[e,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[r,[i,J],[e,O]],[/smart-tv.+(samsung)/i],[i,[e,E]],[/hbbtv.+maple;(\d+)/i],[[r,/^/,"SmartTV"],[i,ee],[e,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[i,$],[e,E]],[/(apple) ?tv/i],[i,[r,Z+" TV"],[e,E]],[/crkey/i],[[r,x+"cast"],[i,U],[e,E]],[/droid.+aft(\w)( bui|\))/i],[r,[i,Q],[e,E]],[/\(dtv[\);].+(aquos)/i],[r,[i,"Sharp"],[e,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[i,oe],[r,oe],[e,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[e,E]],[/((pebble))app/i],[i,r,[e,R]],[/droid.+; (glass) \d/i],[r,[i,U],[e,R]],[/droid.+; (wt63?0{2,3})\)/i],[r,[i,re],[e,R]],[/(quest( 2)?)/i],[r,[i,ue],[e,R]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[i,[e,te]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[r,[e,l]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[r,[e,n]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[e,n]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[e,l]],[/(android[-\w\. ]{0,9});.+buil/i],[r,[i,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[a,[o,De+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[a,[o,"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],[o,a],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[a,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,a],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[a,ae,we]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[a,ae,we]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[a,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,"Mac OS"],[a,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[a,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,a],[/\(bb(10);/i],[a,[o,ce]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[a,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[a,[o,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[a,[o,"webOS"]],[/crkey\/([\d\.]+)/i],[a,[o,x+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[o,"Chromium OS"],a],[/(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],[o,a],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],a],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[o,a]]},b=function(c,u){if(typeof c===K&&(u=c,c=s),!(this instanceof b))return new b(c,u).getResult();var d=c||(typeof t!==g&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:S),w=u?Ie(be,u):be;return this.getBrowser=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.browser),m.major=Oe(m.version),m},this.getCPU=function(){var m={};return m[_]=s,A.call(m,d,w.cpu),m},this.getDevice=function(){var m={};return m[i]=s,m[r]=s,m[e]=s,A.call(m,d,w.device),m},this.getEngine=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.engine),m},this.getOS=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.os),m},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 d},this.setUA=function(m){return d=typeof m===C&&m.length>X?oe(m,X):m,this},this.setUA(d),this};b.VERSION=v,b.BROWSER=V([o,a,ge]),b.CPU=V([_]),b.DEVICE=V([r,i,e,O,l,E,n,R,te]),b.ENGINE=b.OS=V([o,a]),typeof k!==g?(typeof q!==g&&q.exports&&(k=q.exports=b),k.UAParser=b):typeof define===y&&define.amd?define(function(){return b}):typeof t!==g&&(t.UAParser=b);var I=typeof t!==g&&(t.jQuery||t.Zepto);if(I&&!I.ua){var L=new b;I.ua=L.getResult(),I.ua.get=function(){return L.getUA()},I.ua.set=function(c){L.setUA(c);var u=L.getResult();for(var d in u)I.ua[d]=u[d]}}})(typeof window=="object"?window:k)});var he=xe(fe());var se=(t=>(t.Fatal="fatal",t.Error="error",t.Warning="warn",t.Info="info",t.Debug="debug",t))(se||{});var z="integrations.media-devices",Pe=z+".request_device_permissions",Ye=Pe+".failed",He=z+".has_media_device_permissions",je=z+".display_surface_selected";var M=z+".v2",W=M+".get_display_stream",Ke=W+".start",Xe=W+".finish",Qe=W+".error",Ze=W+".warning",F=M+".get_audio_stream",$e=F+".start",Je=F+".finish",ei=F+".error",ii=F+".warning",Y=M+".get_camera_stream",ri=Y+".start",oi=Y+".finish",ai=Y+".error",si=Y+".warning",H=M+".query_device_permissions",ti=H+".start",ni=H+".finish",ci=H+".error",di=H+".warning",j=M+".trigger_device_permissions",li=j+".start",mi=j+".finish",ui=j+".error",pi=j+".warning";var Ee=t=>{let s=navigator==null?void 0:navigator.mediaDevices;if(!(s!=null&&s.getUserMedia&&(s!=null&&s.getDisplayMedia))){let{userAgent:v}=navigator;return t({level:se.Warning,message:"Media Utilities: Environment does not have navigator.mediaDevices support",context:{mediaDevices:s,userAgent:v}}),!1}return!0};var Ue="3.7.1",Ge=["Chrome","Chrome Headless","Edge","Brave"];var Ve=t=>Ge.includes(t.browserName||"")?t.thirdPartyCookieSupport?t.hasMediaStreamsSupport?{supported:!0,error:void 0}:{supported:!1,error:"no-media-streams-support"}:{supported:!1,error:"third-party-cookies-disabled"}:{supported:!1,error:"incompatible-browser"},_i=()=>{let{getBrowser:t}=new he.default,{name:s,version:v}=t(),S=!0,f=Ee(g=>{console.warn("@loomhq/record-sdk: ",g)});return Ve({loomSDKVersion:Ue,browserName:s,browserVersion:v,thirdPartyCookieSupport:S,hasMediaStreamsSupport:f})};export{_i as isSupported}; | ||
var Te=Object.create;var Se=Object.defineProperty;var Ae=Object.getOwnPropertyDescriptor;var Ne=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Me=Object.prototype.hasOwnProperty;var ye=(t,s)=>()=>(s||t((s={exports:{}}).exports,s),s.exports);var Ce=(t,s,v,S)=>{if(s&&typeof s=="object"||typeof s=="function")for(let f of Ne(s))!Me.call(t,f)&&f!==v&&Se(t,f,{get:()=>s[f],enumerable:!(S=Ae(s,f))||S.enumerable});return t};var xe=(t,s,v)=>(v=t!=null?Te(ke(t)):{},Ce(s||!t||!t.__esModule?Se(v,"default",{value:t,enumerable:!0}):v,t));var fe=ye((k,q)=>{(function(t,s){"use strict";var v="0.7.31",S="",f="?",y="function",g="undefined",K="object",C="string",ge="major",r="model",o="name",e="type",i="vendor",a="version",_="architecture",O="console",l="mobile",n="tablet",E="smarttv",R="wearable",te="embedded",X=255,Q="Amazon",Z="Apple",ne="ASUS",ce="BlackBerry",D="Browser",x="Chrome",De="Edge",P="Firefox",U="Google",de="Huawei",$="LG",J="Microsoft",le="Motorola",G="Opera",ee="Samsung",ie="Sony",me="Xiaomi",re="Zebra",ue="Facebook",Ie=function(c,u){var d={};for(var w in c)u[w]&&u[w].length%2===0?d[w]=u[w].concat(c[w]):d[w]=c[w];return d},V=function(c){for(var u={},d=0;d<c.length;d++)u[c[d].toUpperCase()]=c[d];return u},pe=function(c,u){return typeof c===C?T(u).indexOf(T(c))!==-1:!1},T=function(c){return c.toLowerCase()},Oe=function(c){return typeof c===C?c.replace(/[^\d\.]/g,S).split(".")[0]:s},oe=function(c,u){if(typeof c===C)return c=c.replace(/^\s\s*/,S).replace(/\s\s*$/,S),typeof u===g?c:c.substring(0,X)},A=function(c,u){for(var d=0,w,m,B,p,N,h;d<u.length&&!N;){var ve=u[d],_e=u[d+1];for(w=m=0;w<ve.length&&!N;)if(N=ve[w++].exec(c),N)for(B=0;B<_e.length;B++)h=N[++m],p=_e[B],typeof p===K&&p.length>0?p.length===2?typeof p[1]==y?this[p[0]]=p[1].call(this,h):this[p[0]]=p[1]:p.length===3?typeof p[1]===y&&!(p[1].exec&&p[1].test)?this[p[0]]=h?p[1].call(this,h,p[2]):s:this[p[0]]=h?h.replace(p[1],p[2]):s:p.length===4&&(this[p[0]]=h?p[3].call(this,h.replace(p[1],p[2])):s):this[p]=h||s;d+=2}},ae=function(c,u){for(var d in u)if(typeof u[d]===K&&u[d].length>0){for(var w=0;w<u[d].length;w++)if(pe(u[d][w],c))return d===f?s:d}else if(pe(u[d],c))return d===f?s:d;return c},Re={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},we={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"},be={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[a,[o,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[a,[o,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[o,a],[/opios[\/ ]+([\w\.]+)/i],[a,[o,G+" Mini"]],[/\bopr\/([\w\.]+)/i],[a,[o,G]],[/(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|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[o,a],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[a,[o,"UC"+D]],[/\bqbcore\/([\w\.]+)/i],[a,[o,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[a,[o,"WeChat"]],[/konqueror\/([\w\.]+)/i],[a,[o,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[a,[o,"IE"]],[/yabrowser\/([\w\.]+)/i],[a,[o,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[o,/(.+)/,"$1 Secure "+D],a],[/\bfocus\/([\w\.]+)/i],[a,[o,P+" Focus"]],[/\bopt\/([\w\.]+)/i],[a,[o,G+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[a,[o,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[a,[o,"Dolphin"]],[/coast\/([\w\.]+)/i],[a,[o,G+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[a,[o,"MIUI "+D]],[/fxios\/([-\w\.]+)/i],[a,[o,P]],[/\bqihu|(qi?ho?o?|360)browser/i],[[o,"360 "+D]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[o,/(.+)/,"$1 "+D],a],[/(comodo_dragon)\/([\w\.]+)/i],[[o,/_/g," "],a],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[o,a],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[o],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[o,ue],a],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[o,a],[/\bgsa\/([\w\.]+) .*safari\//i],[a,[o,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[a,[o,x+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[o,x+" WebView"],a],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[a,[o,"Android "+D]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[o,a],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[a,[o,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[a,o],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[o,[a,ae,Re]],[/(webkit|khtml)\/([\w\.]+)/i],[o,a],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[o,"Netscape"],a],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[a,[o,P+" 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],[o,a]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,T]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,S,T]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,T]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[r,[i,ee],[e,n]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[r,[i,ee],[e,l]],[/\((ip(?:hone|od)[\w ]*);/i],[r,[i,Z],[e,l]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[r,[i,Z],[e,n]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[r,[i,de],[e,n]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[r,[i,de],[e,l]],[/\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)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[r,/_/g," "],[i,me],[e,l]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[r,/_/g," "],[i,me],[e,n]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[r,[i,"OPPO"],[e,l]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[r,[i,"Vivo"],[e,l]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[r,[i,"Realme"],[e,l]],[/\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],[r,[i,le],[e,l]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[r,[i,le],[e,n]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[r,[i,$],[e,n]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[r,[i,$],[e,l]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[r,[i,"Lenovo"],[e,n]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[r,/_/g," "],[i,"Nokia"],[e,l]],[/(pixel c)\b/i],[r,[i,U],[e,n]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[r,[i,U],[e,l]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[r,[i,ie],[e,l]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[r,"Xperia Tablet"],[i,ie],[e,n]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[r,[i,"OnePlus"],[e,l]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[r,[i,Q],[e,n]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[r,/(.+)/g,"Fire Phone $1"],[i,Q],[e,l]],[/(playbook);[-\w\),; ]+(rim)/i],[r,i,[e,n]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[r,[i,ce],[e,l]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[r,[i,ne],[e,n]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[r,[i,ne],[e,l]],[/(nexus 9)/i],[r,[i,"HTC"],[e,n]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[i,[r,/_/g," "],[e,l]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[r,[i,"Acer"],[e,n]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[r,[i,"Meizu"],[e,l]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[r,[i,"Sharp"],[e,l]],[/(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],[i,r,[e,l]],[/(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],[i,r,[e,n]],[/(surface duo)/i],[r,[i,J],[e,n]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[r,[i,"Fairphone"],[e,l]],[/(u304aa)/i],[r,[i,"AT&T"],[e,l]],[/\bsie-(\w*)/i],[r,[i,"Siemens"],[e,l]],[/\b(rct\w+) b/i],[r,[i,"RCA"],[e,n]],[/\b(venue[\d ]{2,7}) b/i],[r,[i,"Dell"],[e,n]],[/\b(q(?:mv|ta)\w+) b/i],[r,[i,"Verizon"],[e,n]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[r,[i,"Barnes & Noble"],[e,n]],[/\b(tm\d{3}\w+) b/i],[r,[i,"NuVision"],[e,n]],[/\b(k88) b/i],[r,[i,"ZTE"],[e,n]],[/\b(nx\d{3}j) b/i],[r,[i,"ZTE"],[e,l]],[/\b(gen\d{3}) b.+49h/i],[r,[i,"Swiss"],[e,l]],[/\b(zur\d{3}) b/i],[r,[i,"Swiss"],[e,n]],[/\b((zeki)?tb.*\b) b/i],[r,[i,"Zeki"],[e,n]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[i,"Dragon Touch"],r,[e,n]],[/\b(ns-?\w{0,9}) b/i],[r,[i,"Insignia"],[e,n]],[/\b((nxa|next)-?\w{0,9}) b/i],[r,[i,"NextBook"],[e,n]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[i,"Voice"],r,[e,l]],[/\b(lvtel\-)?(v1[12]) b/i],[[i,"LvTel"],r,[e,l]],[/\b(ph-1) /i],[r,[i,"Essential"],[e,l]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[r,[i,"Envizen"],[e,n]],[/\b(trio[-\w\. ]+) b/i],[r,[i,"MachSpeed"],[e,n]],[/\btu_(1491) b/i],[r,[i,"Rotor"],[e,n]],[/(shield[\w ]+) b/i],[r,[i,"Nvidia"],[e,n]],[/(sprint) (\w+)/i],[i,r,[e,l]],[/(kin\.[onetw]{3})/i],[[r,/\./g," "],[i,J],[e,l]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[r,[i,re],[e,n]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[r,[i,re],[e,l]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[i,r,[e,O]],[/droid.+; (shield) bui/i],[r,[i,"Nvidia"],[e,O]],[/(playstation [345portablevi]+)/i],[r,[i,ie],[e,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[r,[i,J],[e,O]],[/smart-tv.+(samsung)/i],[i,[e,E]],[/hbbtv.+maple;(\d+)/i],[[r,/^/,"SmartTV"],[i,ee],[e,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[i,$],[e,E]],[/(apple) ?tv/i],[i,[r,Z+" TV"],[e,E]],[/crkey/i],[[r,x+"cast"],[i,U],[e,E]],[/droid.+aft(\w)( bui|\))/i],[r,[i,Q],[e,E]],[/\(dtv[\);].+(aquos)/i],[r,[i,"Sharp"],[e,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[i,oe],[r,oe],[e,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[e,E]],[/((pebble))app/i],[i,r,[e,R]],[/droid.+; (glass) \d/i],[r,[i,U],[e,R]],[/droid.+; (wt63?0{2,3})\)/i],[r,[i,re],[e,R]],[/(quest( 2)?)/i],[r,[i,ue],[e,R]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[i,[e,te]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[r,[e,l]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[r,[e,n]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[e,n]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[e,l]],[/(android[-\w\. ]{0,9});.+buil/i],[r,[i,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[a,[o,De+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[a,[o,"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],[o,a],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[a,o]],os:[[/microsoft (windows) (vista|xp)/i],[o,a],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[o,[a,ae,we]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[o,"Windows"],[a,ae,we]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[a,/_/g,"."],[o,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[o,"Mac OS"],[a,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[a,o],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[o,a],[/\(bb(10);/i],[a,[o,ce]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[a,[o,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[a,[o,P+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[a,[o,"webOS"]],[/crkey\/([\d\.]+)/i],[a,[o,x+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[o,"Chromium OS"],a],[/(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],[o,a],[/(sunos) ?([\w\.\d]*)/i],[[o,"Solaris"],a],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[o,a]]},b=function(c,u){if(typeof c===K&&(u=c,c=s),!(this instanceof b))return new b(c,u).getResult();var d=c||(typeof t!==g&&t.navigator&&t.navigator.userAgent?t.navigator.userAgent:S),w=u?Ie(be,u):be;return this.getBrowser=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.browser),m.major=Oe(m.version),m},this.getCPU=function(){var m={};return m[_]=s,A.call(m,d,w.cpu),m},this.getDevice=function(){var m={};return m[i]=s,m[r]=s,m[e]=s,A.call(m,d,w.device),m},this.getEngine=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.engine),m},this.getOS=function(){var m={};return m[o]=s,m[a]=s,A.call(m,d,w.os),m},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 d},this.setUA=function(m){return d=typeof m===C&&m.length>X?oe(m,X):m,this},this.setUA(d),this};b.VERSION=v,b.BROWSER=V([o,a,ge]),b.CPU=V([_]),b.DEVICE=V([r,i,e,O,l,E,n,R,te]),b.ENGINE=b.OS=V([o,a]),typeof k!==g?(typeof q!==g&&q.exports&&(k=q.exports=b),k.UAParser=b):typeof define===y&&define.amd?define(function(){return b}):typeof t!==g&&(t.UAParser=b);var I=typeof t!==g&&(t.jQuery||t.Zepto);if(I&&!I.ua){var L=new b;I.ua=L.getResult(),I.ua.get=function(){return L.getUA()},I.ua.set=function(c){L.setUA(c);var u=L.getResult();for(var d in u)I.ua[d]=u[d]}}})(typeof window=="object"?window:k)});var he=xe(fe());var se=(t=>(t.Fatal="fatal",t.Error="error",t.Warning="warn",t.Info="info",t.Debug="debug",t))(se||{});var z="integrations.media-devices",Pe=z+".request_device_permissions",Ye=Pe+".failed",He=z+".has_media_device_permissions",je=z+".display_surface_selected";var M=z+".v2",W=M+".get_display_stream",Ke=W+".start",Xe=W+".finish",Qe=W+".error",Ze=W+".warning",F=M+".get_audio_stream",$e=F+".start",Je=F+".finish",ei=F+".error",ii=F+".warning",Y=M+".get_camera_stream",ri=Y+".start",oi=Y+".finish",ai=Y+".error",si=Y+".warning",H=M+".query_device_permissions",ti=H+".start",ni=H+".finish",ci=H+".error",di=H+".warning",j=M+".trigger_device_permissions",li=j+".start",mi=j+".finish",ui=j+".error",pi=j+".warning";var Ee=t=>{let s=navigator==null?void 0:navigator.mediaDevices;if(!(s!=null&&s.getUserMedia&&(s!=null&&s.getDisplayMedia))){let{userAgent:v}=navigator;return t({level:se.Warning,message:"Media Utilities: Environment does not have navigator.mediaDevices support",context:{mediaDevices:s,userAgent:v}}),!1}return!0};var Ue="2.2.0",Ge=["Chrome","Chrome Headless","Edge","Brave"];var Ve=t=>Ge.includes(t.browserName||"")?t.thirdPartyCookieSupport?t.hasMediaStreamsSupport?{supported:!0,error:void 0}:{supported:!1,error:"no-media-streams-support"}:{supported:!1,error:"third-party-cookies-disabled"}:{supported:!1,error:"incompatible-browser"},_i=()=>{let{getBrowser:t}=new he.default,{name:s,version:v}=t(),S=!0,f=Ee(g=>{console.warn("@loomhq/record-sdk: ",g)});return Ve({loomSDKVersion:Ue,browserName:s,browserVersion:v,thirdPartyCookieSupport:S,hasMediaStreamsSupport:f})};export{_i as isSupported}; |
{ | ||
"name": "@loomhq/record-sdk", | ||
"description": "The Loom Software Development Kit", | ||
"version": "3.7.1-draft", | ||
"version": "3.7.1", | ||
"author": "@loomhq/platform", | ||
@@ -58,10 +58,10 @@ "dependencies": { | ||
"@loomhq/bundler": "1.2.0", | ||
"@loomhq/media-utilities": "2.1.23", | ||
"@loomhq/camera-bubble": "12.10.1", | ||
"@loomhq/enums": "2.3.22", | ||
"@loomhq/iframe-redux": "0.1.21", | ||
"@loomhq/media-utilities": "2.1.23", | ||
"@loomhq/sdk-background": "2.1.3", | ||
"@loomhq/outcomes": "2.1.56", | ||
"@loomhq/iframe-redux": "0.1.21", | ||
"@loomhq/sdk-store": "0.24.3", | ||
"@loomhq/enums": "2.3.22", | ||
"@loomhq/third-party-cookie-check": "2.0.19", | ||
"@loomhq/sdk-store": "0.24.3", | ||
"@loomhq/tsconfig": "1.0.8" | ||
@@ -68,0 +68,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
2033697
7979
1