UNPKG

clientjs

Version:

Device information and digital fingerprinting written in pure JavaScript.

6 lines 38.9 kB
!function(e,i){if("object"==typeof exports&&"object"==typeof module)module.exports=i();else if("function"==typeof define&&define.amd)define([],i);else{var t=i();for(var n in t)("object"==typeof exports?exports:e)[n]=t[n]}}(this,(function(){return function(e){var i={};function t(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,i){if(1&i&&(e=t(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var r in e)t.d(n,r,function(i){return e[i]}.bind(null,r));return n},t.n=function(e){var i=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},t.p="",t(t.s=13)}([function(e,i,t){"use strict";var n,r,o=t(1)(),a=t(3),s=t(4),l=t(6),u=function(){var e=new s;return n=e.getResult(),r=new l,this};u.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return n},getFingerprint:function(){var e="|",i=n.ua,t=this.getScreenPrint(),r=this.getPlugins(),o=this.getFonts(),s=this.isLocalStorage(),l=this.isSessionStorage(),u=this.getTimeZone(),c=this.getLanguage(),d=this.getSystemLanguage(),f=this.isCookie(),p=this.getCanvasPrint();return a(i+e+t+e+r+e+o+e+s+e+l+e+u+e+c+e+d+e+f+e+p,256)},getCustomFingerprint:function(){for(var e="|",i="",t=0;t<arguments.length;t++)i+=arguments[t]+e;return a(i,256)},getUserAgent:function(){return n.ua},getUserAgentLowerCase:function(){return n.ua.toLowerCase()},getBrowser:function(){return n.browser.name},getBrowserVersion:function(){return n.browser.version},getBrowserMajorVersion:function(){return n.browser.major},isIE:function(){return/IE/i.test(n.browser.name)},isChrome:function(){return/Chrome/i.test(n.browser.name)},isFirefox:function(){return/Firefox/i.test(n.browser.name)},isSafari:function(){return/Safari/i.test(n.browser.name)},isMobileSafari:function(){return/Mobile\sSafari/i.test(n.browser.name)},isOpera:function(){return/Opera/i.test(n.browser.name)},getEngine:function(){return n.engine.name},getEngineVersion:function(){return n.engine.version},getOS:function(){return n.os.name},getOSVersion:function(){return n.os.version},isWindows:function(){return/Windows/i.test(n.os.name)},isMac:function(){return/Mac/i.test(n.os.name)},isLinux:function(){return/Linux/i.test(n.os.name)},isUbuntu:function(){return/Ubuntu/i.test(n.os.name)},isSolaris:function(){return/Solaris/i.test(n.os.name)},getDevice:function(){return n.device.model},getDeviceType:function(){return n.device.type},getDeviceVendor:function(){return n.device.vendor},getCPU:function(){return n.cpu.architecture},isMobile:function(){var e=n.ua||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4))},isMobileMajor:function(){return this.isMobileAndroid()||this.isMobileBlackBerry()||this.isMobileIOS()||this.isMobileOpera()||this.isMobileWindows()},isMobileAndroid:function(){return!!n.ua.match(/Android/i)},isMobileOpera:function(){return!!n.ua.match(/Opera Mini/i)},isMobileWindows:function(){return!!n.ua.match(/IEMobile/i)},isMobileBlackBerry:function(){return!!n.ua.match(/BlackBerry/i)},isMobileIOS:function(){return!!n.ua.match(/iPhone|iPad|iPod/i)},isIphone:function(){return!!n.ua.match(/iPhone/i)},isIpad:function(){return!!n.ua.match(/iPad/i)},isIpod:function(){return!!n.ua.match(/iPod/i)},getScreenPrint:function(){return"Current Resolution: "+this.getCurrentResolution()+", Available Resolution: "+this.getAvailableResolution()+", Color Depth: "+this.getColorDepth()+", Device XDPI: "+this.getDeviceXDPI()+", Device YDPI: "+this.getDeviceYDPI()},getColorDepth:function(){return screen.colorDepth},getCurrentResolution:function(){return screen.width+"x"+screen.height},getAvailableResolution:function(){return screen.availWidth+"x"+screen.availHeight},getDeviceXDPI:function(){return screen.deviceXDPI},getDeviceYDPI:function(){return screen.deviceYDPI},getPlugins:function(){for(var e="",i=0;i<navigator.plugins.length;i++)i==navigator.plugins.length-1?e+=navigator.plugins[i].name:e+=navigator.plugins[i].name+", ";return e},isJava:function(){return navigator.javaEnabled()},getJavaVersion:function(){throw new Error("Please use client.java.js or client.js if you need this functionality!")},isFlash:function(){return!!navigator.plugins["Shockwave Flash"]},getFlashVersion:function(){throw new Error("Please use client.flash.js or client.js if you need this functionality!")},isSilverlight:function(){return!!navigator.plugins["Silverlight Plug-In"]},getSilverlightVersion:function(){return this.isSilverlight()?navigator.plugins["Silverlight Plug-In"].description:""},isMimeTypes:function(){return!(!navigator.mimeTypes||!navigator.mimeTypes.length)},getMimeTypes:function(){var e="";if(navigator.mimeTypes)for(var i=0;i<navigator.mimeTypes.length;i++)i==navigator.mimeTypes.length-1?e+=navigator.mimeTypes[i].description:e+=navigator.mimeTypes[i].description+", ";return e},isFont:function(e){return r.detect(e)},getFonts:function(){for(var e=["Abadi MT Condensed Light","Adobe Fangsong Std","Adobe Hebrew","Adobe Ming Std","Agency FB","Aharoni","Andalus","Angsana New","AngsanaUPC","Aparajita","Arab","Arabic Transparent","Arabic Typesetting","Arial Baltic","Arial Black","Arial CE","Arial CYR","Arial Greek","Arial TUR","Arial","Batang","BatangChe","Bauhaus 93","Bell MT","Bitstream Vera Serif","Bodoni MT","Bookman Old Style","Braggadocio","Broadway","Browallia New","BrowalliaUPC","Calibri Light","Calibri","Californian FB","Cambria Math","Cambria","Candara","Castellar","Casual","Centaur","Century Gothic","Chalkduster","Colonna MT","Comic Sans MS","Consolas","Constantia","Copperplate Gothic Light","Corbel","Cordia New","CordiaUPC","Courier New Baltic","Courier New CE","Courier New CYR","Courier New Greek","Courier New TUR","Courier New","DFKai-SB","DaunPenh","David","DejaVu LGC Sans Mono","Desdemona","DilleniaUPC","DokChampa","Dotum","DotumChe","Ebrima","Engravers MT","Eras Bold ITC","Estrangelo Edessa","EucrosiaUPC","Euphemia","Eurostile","FangSong","Forte","FrankRuehl","Franklin Gothic Heavy","Franklin Gothic Medium","FreesiaUPC","French Script MT","Gabriola","Gautami","Georgia","Gigi","Gisha","Goudy Old Style","Gulim","GulimChe","GungSeo","Gungsuh","GungsuhChe","Haettenschweiler","Harrington","Hei S","HeiT","Heisei Kaku Gothic","Hiragino Sans GB","Impact","Informal Roman","IrisUPC","Iskoola Pota","JasmineUPC","KacstOne","KaiTi","Kalinga","Kartika","Khmer UI","Kino MT","KodchiangUPC","Kokila","Kozuka Gothic Pr6N","Lao UI","Latha","Leelawadee","Levenim MT","LilyUPC","Lohit Gujarati","Loma","Lucida Bright","Lucida Console","Lucida Fax","Lucida Sans Unicode","MS Gothic","MS Mincho","MS PGothic","MS PMincho","MS Reference Sans Serif","MS UI Gothic","MV Boli","Magneto","Malgun Gothic","Mangal","Marlett","Matura MT Script Capitals","Meiryo UI","Meiryo","Menlo","Microsoft Himalaya","Microsoft JhengHei","Microsoft New Tai Lue","Microsoft PhagsPa","Microsoft Sans Serif","Microsoft Tai Le","Microsoft Uighur","Microsoft YaHei","Microsoft Yi Baiti","MingLiU","MingLiU-ExtB","MingLiU_HKSCS","MingLiU_HKSCS-ExtB","Miriam Fixed","Miriam","Mongolian Baiti","MoolBoran","NSimSun","Narkisim","News Gothic MT","Niagara Solid","Nyala","PMingLiU","PMingLiU-ExtB","Palace Script MT","Palatino Linotype","Papyrus","Perpetua","Plantagenet Cherokee","Playbill","Prelude Bold","Prelude Condensed Bold","Prelude Condensed Medium","Prelude Medium","PreludeCompressedWGL Black","PreludeCompressedWGL Bold","PreludeCompressedWGL Light","PreludeCompressedWGL Medium","PreludeCondensedWGL Black","PreludeCondensedWGL Bold","PreludeCondensedWGL Light","PreludeCondensedWGL Medium","PreludeWGL Black","PreludeWGL Bold","PreludeWGL Light","PreludeWGL Medium","Raavi","Rachana","Rockwell","Rod","Sakkal Majalla","Sawasdee","Script MT Bold","Segoe Print","Segoe Script","Segoe UI Light","Segoe UI Semibold","Segoe UI Symbol","Segoe UI","Shonar Bangla","Showcard Gothic","Shruti","SimHei","SimSun","SimSun-ExtB","Simplified Arabic Fixed","Simplified Arabic","Snap ITC","Sylfaen","Symbol","Tahoma","Times New Roman Baltic","Times New Roman CE","Times New Roman CYR","Times New Roman Greek","Times New Roman TUR","Times New Roman","TlwgMono","Traditional Arabic","Trebuchet MS","Tunga","Tw Cen MT Condensed Extra Bold","Ubuntu","Umpush","Univers","Utopia","Utsaah","Vani","Verdana","Vijaya","Vladimir Script","Vrinda","Webdings","Wide Latin","Wingdings"],i="",t=0;t<e.length;t++)r.detect(e[t])&&(i+=t==e.length-1?e[t]:e[t]+", ");return i},isLocalStorage:function(){try{return!!o.localStorage}catch(e){return!0}},isSessionStorage:function(){try{return!!o.sessionStorage}catch(e){return!0}},isCookie:function(){return navigator.cookieEnabled},getTimeZone:function(){var e,i;return e=new Date,(i=String(-e.getTimezoneOffset()/60))<0?"-"+("0"+(i*=-1)).slice(-2):"+"+("0"+i).slice(-2)},getLanguage:function(){return navigator.language},getSystemLanguage:function(){return navigator.systemLanguage||window.navigator.language},isCanvas:function(){var e=document.createElement("canvas");try{return!(!e.getContext||!e.getContext("2d"))}catch(i){return!1}},getCanvasPrint:function(){var e,i=document.createElement("canvas");try{e=i.getContext("2d")}catch(n){return""}var t="ClientJS,org <canvas> 1.0";return e.textBaseline="top",e.font="14px 'Arial'",e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(125,1,62,20),e.fillStyle="#069",e.fillText(t,2,15),e.fillStyle="rgba(102, 204, 0, 0.7)",e.fillText(t,4,17),i.toDataURL()}},i.ClientJS=u},function(e,i,t){"use strict";var n=t(2);e.exports=function(){return"object"==typeof global&&global&&global.Math===Math&&global.Array===Array?global:n}},function(e,i,t){"use strict";"undefined"!=typeof self?e.exports=self:"undefined"!=typeof window?e.exports=window:e.exports=Function("return this")()},function(e,i,t){e.exports=function(e,i){var t,n,r,o,a,s,l,u;for(t=3&e.length,n=e.length-t,r=i,a=3432918353,s=461845907,u=0;u<n;)l=255&e.charCodeAt(u)|(255&e.charCodeAt(++u))<<8|(255&e.charCodeAt(++u))<<16|(255&e.charCodeAt(++u))<<24,++u,r=27492+(65535&(o=5*(65535&(r=(r^=l=(65535&(l=(l=(65535&l)*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295)<<13|r>>>19))+((5*(r>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(l=0,t){case 3:l^=(255&e.charCodeAt(u+2))<<16;case 2:l^=(255&e.charCodeAt(u+1))<<8;case 1:r^=l=(65535&(l=(l=(65535&(l^=255&e.charCodeAt(u)))*a+(((l>>>16)*a&65535)<<16)&4294967295)<<15|l>>>17))*s+(((l>>>16)*s&65535)<<16)&4294967295}return r^=e.length,r=2246822507*(65535&(r^=r>>>16))+((2246822507*(r>>>16)&65535)<<16)&4294967295,r=3266489909*(65535&(r^=r>>>13))+((3266489909*(r>>>16)&65535)<<16)&4294967295,(r^=r>>>16)>>>0}},function(e,i,t){var n;!function(r,o){"use strict";var a="function",s="undefined",l="object",u="string",c="model",d="name",f="type",p="vendor",b="version",m="architecture",w="console",g="mobile",h="tablet",v="smarttv",y="wearable",S="embedded",C="Amazon",x="Apple",k="ASUS",M="BlackBerry",T="Firefox",P="Google",A="Huawei",B="LG",E="Microsoft",L="Motorola",N="Opera",U="Samsung",j="Sony",O="Xiaomi",I="Zebra",F="Facebook",R=function(e){var i={};for(var t in e)i[e[t].toUpperCase()]=e[t];return i},G=function(e,i){return typeof e===u&&-1!==D(i).indexOf(D(e))},D=function(e){return e.toLowerCase()},_=function(e,i){if(typeof e===u)return e=e.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof i===s?e:e.substring(0,255)},V=function(e,i){for(var t,n,r,s,u,c,d=0;d<i.length&&!u;){var f=i[d],p=i[d+1];for(t=n=0;t<f.length&&!u;)if(u=f[t++].exec(e))for(r=0;r<p.length;r++)c=u[++n],typeof(s=p[r])===l&&s.length>0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):o:this[s[0]]=c?s[1].call(this,c,s[2]):o:4==s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):o):this[s]=c||o;d+=2}},z=function(e,i){for(var t in i)if(typeof i[t]===l&&i[t].length>0){for(var n=0;n<i[t].length;n++)if(G(i[t][n],e))return"?"===t?o:t}else if(G(i[t],e))return"?"===t?o:t;return e},W={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"},q={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[b,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[b,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,b],[/opios[\/ ]+([\w\.]+)/i],[b,[d,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[b,[d,N]],[/(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],[d,b],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[b,[d,"UCBrowser"]],[/\bqbcore\/([\w\.]+)/i],[b,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[b,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[b,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[b,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[b,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],b],[/\bfocus\/([\w\.]+)/i],[b,[d,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[b,[d,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[b,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[b,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[b,[d,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[b,[d,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[b,[d,T]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 Browser"]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],b],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],b],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[d,b],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,F],b],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[d,b],[/\bgsa\/([\w\.]+) .*safari\//i],[b,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[b,[d,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],b],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[b,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,b],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[b,[d,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[b,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[b,z,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,b],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],b],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[b,[d,"Firefox 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],[d,b]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,D]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",D]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,D]]],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],[c,[p,U],[f,h]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[c,[p,U],[f,g]],[/\((ip(?:hone|od)[\w ]*);/i],[c,[p,x],[f,g]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[c,[p,x],[f,h]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[c,[p,A],[f,h]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}-[atu]?[ln][01259x][012359][an]?)\b(?!.+d\/s)/i],[c,[p,A],[f,g]],[/\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],[[c,/_/g," "],[p,O],[f,g]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[c,/_/g," "],[p,O],[f,h]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[c,[p,"OPPO"],[f,g]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[c,[p,"Vivo"],[f,g]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[c,[p,"Realme"],[f,g]],[/\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],[c,[p,L],[f,g]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[c,[p,L],[f,h]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[c,[p,B],[f,h]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[c,[p,B],[f,g]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[c,[p,"Lenovo"],[f,h]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[c,/_/g," "],[p,"Nokia"],[f,g]],[/(pixel c)\b/i],[c,[p,P],[f,h]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[c,[p,P],[f,g]],[/droid.+ ([c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[c,[p,j],[f,g]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[c,"Xperia Tablet"],[p,j],[f,h]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[c,[p,"OnePlus"],[f,g]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[c,[p,C],[f,h]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[c,/(.+)/g,"Fire Phone $1"],[p,C],[f,g]],[/(playbook);[-\w\),; ]+(rim)/i],[c,p,[f,h]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[c,[p,M],[f,g]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[c,[p,k],[f,h]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[c,[p,k],[f,g]],[/(nexus 9)/i],[c,[p,"HTC"],[f,h]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[p,[c,/_/g," "],[f,g]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[c,[p,"Acer"],[f,h]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[c,[p,"Meizu"],[f,g]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[c,[p,"Sharp"],[f,g]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[p,c,[f,g]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[p,c,[f,h]],[/(surface duo)/i],[c,[p,E],[f,h]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[c,[p,"Fairphone"],[f,g]],[/(u304aa)/i],[c,[p,"AT&T"],[f,g]],[/\bsie-(\w*)/i],[c,[p,"Siemens"],[f,g]],[/\b(rct\w+) b/i],[c,[p,"RCA"],[f,h]],[/\b(venue[\d ]{2,7}) b/i],[c,[p,"Dell"],[f,h]],[/\b(q(?:mv|ta)\w+) b/i],[c,[p,"Verizon"],[f,h]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[c,[p,"Barnes & Noble"],[f,h]],[/\b(tm\d{3}\w+) b/i],[c,[p,"NuVision"],[f,h]],[/\b(k88) b/i],[c,[p,"ZTE"],[f,h]],[/\b(nx\d{3}j) b/i],[c,[p,"ZTE"],[f,g]],[/\b(gen\d{3}) b.+49h/i],[c,[p,"Swiss"],[f,g]],[/\b(zur\d{3}) b/i],[c,[p,"Swiss"],[f,h]],[/\b((zeki)?tb.*\b) b/i],[c,[p,"Zeki"],[f,h]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[p,"Dragon Touch"],c,[f,h]],[/\b(ns-?\w{0,9}) b/i],[c,[p,"Insignia"],[f,h]],[/\b((nxa|next)-?\w{0,9}) b/i],[c,[p,"NextBook"],[f,h]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[p,"Voice"],c,[f,g]],[/\b(lvtel\-)?(v1[12]) b/i],[[p,"LvTel"],c,[f,g]],[/\b(ph-1) /i],[c,[p,"Essential"],[f,g]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[c,[p,"Envizen"],[f,h]],[/\b(trio[-\w\. ]+) b/i],[c,[p,"MachSpeed"],[f,h]],[/\btu_(1491) b/i],[c,[p,"Rotor"],[f,h]],[/(shield[\w ]+) b/i],[c,[p,"Nvidia"],[f,h]],[/(sprint) (\w+)/i],[p,c,[f,g]],[/(kin\.[onetw]{3})/i],[[c,/\./g," "],[p,E],[f,g]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[c,[p,I],[f,h]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[c,[p,I],[f,g]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[p,c,[f,w]],[/droid.+; (shield) bui/i],[c,[p,"Nvidia"],[f,w]],[/(playstation [345portablevi]+)/i],[c,[p,j],[f,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[c,[p,E],[f,w]],[/smart-tv.+(samsung)/i],[p,[f,v]],[/hbbtv.+maple;(\d+)/i],[[c,/^/,"SmartTV"],[p,U],[f,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[p,B],[f,v]],[/(apple) ?tv/i],[p,[c,"Apple TV"],[f,v]],[/crkey/i],[[c,"Chromecast"],[p,P],[f,v]],[/droid.+aft(\w)( bui|\))/i],[c,[p,C],[f,v]],[/\(dtv[\);].+(aquos)/i],[c,[p,"Sharp"],[f,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[p,_],[c,_],[f,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[f,v]],[/((pebble))app/i],[p,c,[f,y]],[/droid.+; (glass) \d/i],[c,[p,P],[f,y]],[/droid.+; (wt63?0{2,3})\)/i],[c,[p,I],[f,y]],[/(quest( 2)?)/i],[c,[p,F],[f,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[p,[f,S]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[c,[f,g]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[c,[f,h]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[f,h]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[f,g]],[/(android[-\w\. ]{0,9});.+buil/i],[c,[p,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[b,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[b,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[d,b],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[b,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,b],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[d,[b,z,W]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,"Windows"],[b,z,W]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[b,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,"Mac OS"],[b,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[b,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,b],[/\(bb(10);/i],[b,[d,M]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[b,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[b,[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[b,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[b,[d,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[d,"Chromium OS"],b],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,b],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],b],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[d,b]]},H=function(e,i){if(typeof e===l&&(i=e,e=o),!(this instanceof H))return new H(e,i).getResult();var t=e||(typeof r!==s&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),n=i?function(e,i){var t={};for(var n in e)i[n]&&i[n].length%2==0?t[n]=i[n].concat(e[n]):t[n]=e[n];return t}(q,i):q;return this.getBrowser=function(){var e,i={};return i.name=o,i.version=o,V.call(i,t,n.browser),i.major=typeof(e=i.version)===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,i},this.getCPU=function(){var e={};return e.architecture=o,V.call(e,t,n.cpu),e},this.getDevice=function(){var e={};return e.vendor=o,e.model=o,e.type=o,V.call(e,t,n.device),e},this.getEngine=function(){var e={};return e.name=o,e.version=o,V.call(e,t,n.engine),e},this.getOS=function(){var e={};return e.name=o,e.version=o,V.call(e,t,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return t},this.setUA=function(e){return t=typeof e===u&&e.length>255?_(e,255):e,this},this.setUA(t),this};H.VERSION="0.7.30",H.BROWSER=R([d,b,"major"]),H.CPU=R([m]),H.DEVICE=R([c,p,f,w,g,v,h,y,S]),H.ENGINE=H.OS=R([d,b]),typeof i!==s?(typeof e!==s&&e.exports&&(i=e.exports=H),i.UAParser=H):t(5)?(n=function(){return H}.call(i,t,i,e))===o||(e.exports=n):typeof r!==s&&(r.UAParser=H);var $=typeof r!==s&&(r.jQuery||r.Zepto);if($&&!$.ua){var K=new H;$.ua=K.getResult(),$.ua.get=function(){return K.getUA()},$.ua.set=function(e){K.setUA(e);var i=K.getResult();for(var t in i)$.ua[t]=i[t]}}}("object"==typeof window?window:this)},function(e,i){(function(i){e.exports=i}).call(this,{})},function(e,i){e.exports=function(){var e=["monospace","sans-serif","serif"],i=document.getElementsByTagName("body")[0],t=document.createElement("span");t.style.fontSize="72px",t.innerHTML="mmmmmmmmmmlli";var n={},r={};for(var o in e)t.style.fontFamily=e[o],i.appendChild(t),n[e[o]]=t.offsetWidth,r[e[o]]=t.offsetHeight,i.removeChild(t);this.detect=function(o){var a=!1;for(var s in e){t.style.fontFamily=o+","+e[s],i.appendChild(t);var l=t.offsetWidth!=n[e[s]]||t.offsetHeight!=r[e[s]];i.removeChild(t),a=a||l}return a}}},function(e,i){"function"==typeof Object.create?e.exports=function(e,i){i&&(e.super_=i,e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,i){if(i){e.super_=i;var t=function(){};t.prototype=i.prototype,e.prototype=new t,e.prototype.constructor=e}}},,,function(e,i,t){"use strict";var n=t(11);e.exports=function(){if(this.isFlash()){var e=n.getFlashPlayerVersion();return e.major+"."+e.minor+"."+e.release}return""}},function(e,i){ /*! SWFObject v2.3.20130521 <http://github.com/swfobject/swfobject> is released under the MIT License <http://www.opensource.org/licenses/mit-license.php> */ var t,n,r,o,a,s,l="undefined",u="object",c="Shockwave Flash",d="application/x-shockwave-flash",f="SWFObjectExprInst",p="onreadystatechange",b=window,m=document,w=navigator,g=!1,h=[],v=[],y=[],S=[],C=!1,x=!1,k=!0,M=!1,T=function(){var e=typeof m.getElementById!==l&&typeof m.getElementsByTagName!==l&&typeof m.createElement!==l,i=w.userAgent.toLowerCase(),t=w.platform.toLowerCase(),n=/win/.test(t||i),r=/mac/.test(t||i),o=!!/webkit/.test(i)&&parseFloat(i.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")),a="Microsoft Internet Explorer"===w.appName,s=[0,0,0],f=null;if(typeof w.plugins!==l&&typeof w.plugins[c]===u)(f=w.plugins[c].description)&&typeof w.mimeTypes!==l&&w.mimeTypes[d]&&w.mimeTypes[d].enabledPlugin&&(g=!0,a=!1,f=f.replace(/^.*\s+(\S+\s+\S+$)/,"$1"),s[0]=V(f.replace(/^(.*)\..*$/,"$1")),s[1]=V(f.replace(/^.*\.(.*)\s.*$/,"$1")),s[2]=/[a-zA-Z]/.test(f)?V(f.replace(/^.*[a-zA-Z]+(.*)$/,"$1")):0);else if(typeof b.ActiveXObject!==l)try{var p=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");p&&(f=p.GetVariable("$version"))&&(a=!0,s=[V((f=f.split(" ")[1].split(","))[0]),V(f[1]),V(f[2])])}catch(h){}return{w3:e,pv:s,wk:o,ie:a,win:n,mac:r}}();function P(){if(!C&&document.getElementsByTagName("body")[0]){try{var e,i=_("span");i.style.display="none",(e=m.getElementsByTagName("body")[0].appendChild(i)).parentNode.removeChild(e),e=null,i=null}catch(r){return}C=!0;for(var t=h.length,n=0;n<t;n++)h[n]()}}function A(e){C?e():h[h.length]=e}function B(){var e=v.length;if(e>0)for(var i=0;i<e;i++){var t=v[i].id,n=v[i].callbackFn,r={success:!1,id:t};if(T.pv[0]>0){var o=D(t);if(o)if(!z(v[i].swfVersion)||T.wk&&T.wk<312)if(v[i].expressInstall&&L()){var a={};a.data=v[i].expressInstall,a.width=o.getAttribute("width")||"0",a.height=o.getAttribute("height")||"0",o.getAttribute("class")&&(a.styleclass=o.getAttribute("class")),o.getAttribute("align")&&(a.align=o.getAttribute("align"));for(var s={},u=o.getElementsByTagName("param"),c=u.length,d=0;d<c;d++)"movie"!==u[d].getAttribute("name").toLowerCase()&&(s[u[d].getAttribute("name")]=u[d].getAttribute("value"));N(a,s,t,n)}else U(o),n&&n(r);else q(t,!0),n&&(r.success=!0,r.ref=E(t),r.id=t,n(r))}else if(q(t,!0),n){var f=E(t);f&&typeof f.SetVariable!==l&&(r.success=!0,r.ref=f,r.id=f.id),n(r)}}}function E(e){var i=null,t=D(e);return t&&"OBJECT"===t.nodeName.toUpperCase()&&(i=typeof t.SetVariable!==l?t:t.getElementsByTagName(u)[0]||t),i}function L(){return!x&&z("6.0.65")&&(T.win||T.mac)&&!(T.wk&&T.wk<312)}function N(e,i,a,s){var u=D(a);if(a=G(a),x=!0,r=s||null,o={success:!1,id:a},u){"OBJECT"===u.nodeName.toUpperCase()?(t=j(u),n=null):(t=u,n=a),e.id=f,(typeof e.width===l||!/%$/.test(e.width)&&V(e.width)<310)&&(e.width="310"),(typeof e.height===l||!/%$/.test(e.height)&&V(e.height)<137)&&(e.height="137");var c=T.ie?"ActiveX":"PlugIn",d="MMredirectURL="+encodeURIComponent(b.location.toString().replace(/&/g,"%26"))+"&MMplayerType="+c+"&MMdoctitle="+encodeURIComponent(m.title.slice(0,47)+" - Flash Player Installation");if(typeof i.flashvars!==l?i.flashvars+="&"+d:i.flashvars=d,T.ie&&4!=u.readyState){var p=_("div");a+="SWFObjectNew",p.setAttribute("id",a),u.parentNode.insertBefore(p,u),u.style.display="none",F(u)}O(e,i,a)}}function U(e){if(T.ie&&4!=e.readyState){e.style.display="none";var i=_("div");e.parentNode.insertBefore(i,e),i.parentNode.replaceChild(j(e),i),F(e)}else e.parentNode.replaceChild(j(e),e)}function j(e){var i=_("div");if(T.win&&T.ie)i.innerHTML=e.innerHTML;else{var t=e.getElementsByTagName(u)[0];if(t){var n=t.childNodes;if(n)for(var r=n.length,o=0;o<r;o++)1==n[o].nodeType&&"PARAM"===n[o].nodeName||8==n[o].nodeType||i.appendChild(n[o].cloneNode(!0))}}return i}function O(e,i,t){var n,r,o,a,s=D(t);if(t=G(t),T.wk&&T.wk<312)return n;if(s){var c,f,p,b=T.ie?_("div"):_(u);for(p in typeof e.id===l&&(e.id=t),i)Object.prototype.hasOwnProperty.call(i,p)&&"movie"!==p.toLowerCase()&&I(b,p,i[p]);for(c in T.ie&&(r=e.data,o=b.innerHTML,(a=_("div")).innerHTML="<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'><param name='movie' value='"+r+"'>"+o+"</object>",b=a.firstChild),e)Object.prototype.hasOwnProperty.call(e,c)&&("styleclass"===(f=c.toLowerCase())?b.setAttribute("class",e[c]):"classid"!==f&&"data"!==f&&b.setAttribute(c,e[c]));T.ie?y[y.length]=e.id:(b.setAttribute("type",d),b.setAttribute("data",e.data)),s.parentNode.replaceChild(b,s),n=b}return n}function I(e,i,t){var n=_("param");n.setAttribute("name",i),n.setAttribute("value",t),e.appendChild(n)}function F(e){var i=D(e);i&&"OBJECT"===i.nodeName.toUpperCase()&&(T.ie?(i.style.display="none",function t(){if(4==i.readyState){for(var e in i)"function"==typeof i[e]&&(i[e]=null);i.parentNode.removeChild(i)}else setTimeout(t,10)}()):i.parentNode.removeChild(i))}function R(e){return e&&e.nodeType&&1===e.nodeType}function G(e){return R(e)?e.id:e}function D(e){if(R(e))return e;var i=null;try{i=m.getElementById(e)}catch(t){}return i}function _(e){return m.createElement(e)}function V(e){return parseInt(e,10)}function z(e){e+="";var i=T.pv,t=e.split(".");return t[0]=V(t[0]),t[1]=V(t[1])||0,t[2]=V(t[2])||0,i[0]>t[0]||i[0]==t[0]&&i[1]>t[1]||i[0]==t[0]&&i[1]==t[1]&&i[2]>=t[2]}function W(e,i,t,n){var r=m.getElementsByTagName("head")[0];if(r){var o="string"==typeof t?t:"screen";if(n&&(a=null,s=null),!a||s!=o){var u=_("style");u.setAttribute("type","text/css"),u.setAttribute("media",o),a=r.appendChild(u),T.ie&&typeof m.styleSheets!==l&&m.styleSheets.length>0&&(a=m.styleSheets[m.styleSheets.length-1]),s=o}a&&(typeof a.addRule!==l?a.addRule(e,i):typeof m.createTextNode!==l&&a.appendChild(m.createTextNode(e+" {"+i+"}")))}}function q(e,i){if(k){var t=i?"visible":"hidden",n=D(e);C&&n?n.style.visibility=t:"string"==typeof e&&W("#"+e,"visibility:"+t)}}function H(e){return null!==/[\\"<>.;]/.exec(e)&&typeof encodeURIComponent!==l?encodeURIComponent(e):e}T.w3&&((typeof m.readyState!==l&&("complete"===m.readyState||"interactive"===m.readyState)||typeof m.readyState===l&&(m.getElementsByTagName("body")[0]||m.body))&&P(),C||(typeof m.addEventListener!==l&&m.addEventListener("DOMContentLoaded",P,!1),T.ie&&(m.attachEvent(p,(function K(){"complete"===m.readyState&&(m.detachEvent(p,K),P())})),b==top&&function J(){if(!C){try{m.documentElement.doScroll("left")}catch(e){return void setTimeout(J,0)}P()}}()),T.wk&&function X(){C||(/loaded|complete/.test(m.readyState)?P():setTimeout(X,0))}())),h[0]=function(){g?function(){var e=m.getElementsByTagName("body")[0],i=_(u);i.setAttribute("style","visibility: hidden;"),i.setAttribute("type",d);var t=e.appendChild(i);if(t){var n=0;!function r(){if(typeof t.GetVariable!==l)try{var o=t.GetVariable("$version");o&&(o=o.split(" ")[1].split(","),T.pv=[V(o[0]),V(o[1]),V(o[2])])}catch(a){T.pv=[8,0,0]}else if(n<10)return n++,void setTimeout(r,10);e.removeChild(i),t=null,B()}()}else B()}():B()},T.ie&&window.attachEvent("onunload",(function(){for(var e=S.length,i=0;i<e;i++)S[i][0].detachEvent(S[i][1],S[i][2]);for(var t=y.length,n=0;n<t;n++)F(y[n]);for(var r in T)T[r]=null;for(var o in T=null,$)$[o]=null;$=null}));var $={registerObject:function(e,i,t,n){if(T.w3&&e&&i){var r={};r.id=e,r.swfVersion=i,r.expressInstall=t,r.callbackFn=n,v[v.length]=r,q(e,!1)}else n&&n({success:!1,id:e})},getObjectById:function(e){if(T.w3)return E(e)},embedSWF:function(e,i,t,n,r,o,a,s,c,d){var f=G(i),p={success:!1,id:f};T.w3&&!(T.wk&&T.wk<312)&&e&&i&&t&&n&&r?(q(f,!1),A((function(){t+="",n+="";var b={};if(c&&typeof c===u)for(var m in c)b[m]=c[m];b.data=e,b.width=t,b.height=n;var w={};if(s&&typeof s===u)for(var g in s)w[g]=s[g];if(a&&typeof a===u)for(var h in a)if(Object.prototype.hasOwnProperty.call(a,h)){var v=M?encodeURIComponent(h):h,y=M?encodeURIComponent(a[h]):a[h];typeof w.flashvars!==l?w.flashvars+="&"+v+"="+y:w.flashvars=v+"="+y}if(z(r)){var S=O(b,w,i);b.id==f&&q(f,!0),p.success=!0,p.ref=S,p.id=S.id}else{if(o&&L())return b.data=o,void N(b,w,i,d);q(f,!0)}d&&d(p)}))):d&&d(p)},switchOffAutoHideShow:function(){k=!1},enableUriEncoding:function(e){M=typeof e===l||e},ua:T,getFlashPlayerVersion:function(){return{major:T.pv[0],minor:T.pv[1],release:T.pv[2]}},hasFlashPlayerVersion:z,createSWF:function(e,i,t){return T.w3?O(e,i,t):undefined},showExpressInstall:function(e,i,t,n){T.w3&&L()&&N(e,i,t,n)},removeSWF:function(e){T.w3&&F(e)},createCSS:function(e,i,t,n){T.w3&&W(e,i,t,n)},addDomLoadEvent:A,addLoadEvent:function(e){if(typeof b.addEventListener!==l)b.addEventListener("load",e,!1);else if(typeof m.addEventListener!==l)m.addEventListener("load",e,!1);else if(typeof b.attachEvent!==l)!function(e,i,t){e.attachEvent(i,t),S[S.length]=[e,i,t]}(b,"onload",e);else if("function"==typeof b.onload){var i=b.onload;b.onload=function(){i(),e()}}else b.onload=e},getQueryParamValue:function(e){var i=m.location.search||m.location.hash;if(i){if(/\?/.test(i)&&(i=i.split("?")[1]),!e)return H(i);for(var t=i.split("&"),n=0;n<t.length;n++)if(t[n].substring(0,t[n].indexOf("="))==e)return H(t[n].substring(t[n].indexOf("=")+1))}return""},expressInstallCallback:function(){if(x){var e=D(f);e&&t&&(e.parentNode.replaceChild(t,e),n&&(q(n,!0),T.ie&&(t.style.display="block")),r&&r(o)),x=!1}},version:"2.3"};e.exports=$},,function(e,i,t){"use strict";var n=t(7),r=t(0).ClientJS,o=t(10);function a(){r.apply(this,arguments)}n(a,r),a.prototype.getFlashVersion=o,i.ClientJS=a}])})); //# sourceMappingURL=client.flash.min.js.map