var AyahPublisherOptions = {"publisher_key":"jbGgBzARE9bHOhVUFTu6qTSnLIHlhKsqB3zjEme8","AYAH_VERSION":"2.0","log_url":"//logger.areyouahuman.com/log?","iframe_url":"//n-cdn.areyouahuman.com/kitten","ga_iframe_url":"//n-distil.areyouahuman.com/kitten","events_url":"//n-cdn-origin.areyouahuman.com/events","proxy_events_url":"//n-distil.areyouahuman.com/events","send_url":"//n-cdn.areyouahuman.com/observe?","google_analytics_url":"//n-distil.areyouahuman.com/ga","google_analytics":{"poll_interval_ms":200,"max_polls":100,"collect_uri":"https://www.google-analytics.com/collect","ttl_cookie_details":{"base_name":"ayah_ga_sync_","domain":".areyouahuman.com","maxAge":600000}},"script_param_regexp_str":"(areyouahuman|distiltag).com/.*[?&](GA_TID|GA_CDI|AYAH_[LFP][0-4])=","force_proxy":true,"cookiesync":true,"no_synchronous_event_calls":false,"enable_debug":false,"enable_debug_verbose":false,"defense_mode":true,"defense_cookies":{"uuid":{"name":"D_DUID","max_age":31536000000},"token":{"name":"D_TOKEN","max_age":604800000}},"throttling_rate":0};
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
function E(){}E.prototype={on:function(t,n,e){var i=this.e||(this.e={});return(i[t]||(i[t]=[])).push({fn:n,ctx:e}),this},once:function(t,n,e){function i(){f.off(t,i),n.apply(e,arguments)}var f=this;return i._=n,this.on(t,i,e)},emit:function(t){var n=[].slice.call(arguments,1),e=((this.e||(this.e={}))[t]||[]).slice(),i=0,f=e.length;for(i;f>i;i++)e[i].fn.apply(e[i].ctx,n);return this},off:function(t,n){var e=this.e||(this.e={}),i=e[t],f=[];if(i&&n)for(var o=0,r=i.length;r>o;o++)i[o].fn!==n&&i[o].fn._!==n&&f.push(i[o]);return f.length?e[t]=f:delete e[t],this}},module.exports=E;
},{}],2:[function(require,module,exports){
!function(i,s){"use strict";var e="0.7.18",o="",r="?",n="function",a="undefined",d="object",t="string",l="major",w="model",u="name",c="type",m="vendor",p="version",b="architecture",g="console",f="mobile",h="tablet",v="smarttv",x="wearable",k="embedded",y={extend:function(i,s){var e={};for(var o in i)s[o]&&s[o].length%2===0?e[o]=s[o].concat(i[o]):e[o]=i[o];return e},has:function(i,s){return"string"==typeof i?-1!==s.toLowerCase().indexOf(i.toLowerCase()):!1},lowerize:function(i){return i.toLowerCase()},major:function(i){return typeof i===t?i.replace(/[^\d\.]/g,"").split(".")[0]:s},trim:function(i){return i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},T={rgx:function(i,e){for(var o,r,a,t,l,w,u=0;u<e.length&&!l;){var c=e[u],m=e[u+1];for(o=r=0;o<c.length&&!l;)if(l=c[o++].exec(i))for(a=0;a<m.length;a++)w=l[++r],t=m[a],typeof t===d&&t.length>0?2==t.length?typeof t[1]==n?this[t[0]]=t[1].call(this,w):this[t[0]]=t[1]:3==t.length?typeof t[1]!==n||t[1].exec&&t[1].test?this[t[0]]=w?w.replace(t[1],t[2]):s:this[t[0]]=w?t[1].call(this,w,t[2]):s:4==t.length&&(this[t[0]]=w?t[3].call(this,w.replace(t[1],t[2])):s):this[t]=w?w:s;u+=2}},str:function(i,e){for(var o in e)if(typeof e[o]===d&&e[o].length>0){for(var n=0;n<e[o].length;n++)if(y.has(e[o][n],i))return o===r?s:o}else if(y.has(e[o],i))return o===r?s:o;return i}},S={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},E={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[u,p],[/(opios)[\/\s]+([\w\.]+)/i],[[u,"Opera Mini"],p],[/\s(opr)\/([\w\.]+)/i],[[u,"Opera"],p],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[u,p],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[u,"IE"],p],[/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i],[[u,"Edge"],p],[/(yabrowser)\/([\w\.]+)/i],[[u,"Yandex"],p],[/(puffin)\/([\w\.]+)/i],[[u,"Puffin"],p],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[u,"UCBrowser"],p],[/(comodo_dragon)\/([\w\.]+)/i],[[u,/_/g," "],p],[/(micromessenger)\/([\w\.]+)/i],[[u,"WeChat"],p],[/(qqbrowserlite)\/([\w\.]+)/i],[u,p],[/(QQ)\/([\d\.]+)/i],[u,p],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[u,p],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[u,p],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[u,p],[/(MetaSr)[\/\s]?([\w\.]+)/i],[u],[/(LBBROWSER)/i],[u],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[p,[u,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[p,[u,"Facebook"]],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[p,[u,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[u,/(.+)/,"$1 WebView"],p],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[u,/(.+(?:g|us))(.+)/,"$1 $2"],p],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[p,[u,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[u,p],[/(dolfin)\/([\w\.]+)/i],[[u,"Dolphin"],p],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[u,"Chrome"],p],[/(coast)\/([\w\.]+)/i],[[u,"Opera Coast"],p],[/fxios\/([\w\.-]+)/i],[p,[u,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[p,[u,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[p,u],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[u,"GSA"],p],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[u,[p,T.str,S.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|khtml)\/([\w\.]+)/i],[u,p],[/(navigator|netscape)\/([\w\.-]+)/i],[[u,"Netscape"],p],[/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i,/(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i,/(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i,/(links)\s\(([\w\.]+)/i,/(gobrowser)\/?([\w\.]*)/i,/(ice\s?browser)\/v?([\w\._]+)/i,/(mosaic)[\/\s]([\w\.]+)/i],[u,p]],cpu:[[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i],[[b,"amd64"]],[/(ia32(?=;))/i],[[b,y.lowerize]],[/((?:i[346]|x)86)[;\)]/i],[[b,"ia32"]],[/windows\s(ce|mobile);\sppc;/i],[[b,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i],[[b,/ower/,"",y.lowerize]],[/(sun4\w)[;\)]/i],[[b,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i],[[b,y.lowerize]]],device:[[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i],[w,m,[c,h]],[/applecoremedia\/[\w\.]+ \((ipad)/],[w,[m,"Apple"],[c,h]],[/(apple\s{0,1}tv)/i],[[w,"Apple TV"],[m,"Apple"]],[/(archos)\s(gamepad2?)/i,/(hp).+(touchpad)/i,/(hp).+(tablet)/i,/(kindle)\/([\w\.]+)/i,/\s(nook)[\w\s]+build\/(\w+)/i,/(dell)\s(strea[kpr\s\d]*[\dko])/i],[m,w,[c,h]],[/(kf[A-z]+)\sbuild\/.+silk\//i],[w,[m,"Amazon"],[c,h]],[/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i],[[w,T.str,S.device.amazon.model],[m,"Amazon"],[c,f]],[/\((ip[honed|\s\w*]+);.+(apple)/i],[w,m,[c,f]],[/\((ip[honed|\s\w*]+);/i],[w,[m,"Apple"],[c,f]],[/(blackberry)[\s-]?(\w+)/i,/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i,/(hp)\s([\w\s]+\w)/i,/(asus)-?(\w+)/i],[m,w,[c,f]],[/\(bb10;\s(\w+)/i],[w,[m,"BlackBerry"],[c,f]],[/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i],[w,[m,"Asus"],[c,h]],[/(sony)\s(tablet\s[ps])\sbuild\//i,/(sony)?(?:sgp.+)\sbuild\//i],[[m,"Sony"],[w,"Xperia Tablet"],[c,h]],[/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i],[w,[m,"Sony"],[c,f]],[/\s(ouya)\s/i,/(nintendo)\s([wids3u]+)/i],[m,w,[c,g]],[/android.+;\s(shield)\sbuild/i],[w,[m,"Nvidia"],[c,g]],[/(playstation\s[34portablevi]+)/i],[w,[m,"Sony"],[c,g]],[/(sprint\s(\w+))/i],[[m,T.str,S.device.sprint.vendor],[w,T.str,S.device.sprint.model],[c,f]],[/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i],[m,w,[c,h]],[/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i],[m,[w,/_/g," "],[c,f]],[/(nexus\s9)/i],[w,[m,"HTC"],[c,h]],[/d\/huawei([\w\s-]+)[;\)]/i,/(nexus\s6p)/i],[w,[m,"Huawei"],[c,f]],[/(microsoft);\s(lumia[\s\w]+)/i],[m,w,[c,f]],[/[\s\(;](xbox(?:\sone)?)[\s\);]/i],[w,[m,"Microsoft"],[c,g]],[/(kin\.[onetw]{3})/i],[[w,/\./g," "],[m,"Microsoft"],[c,f]],[/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i,/mot[\s-]?(\w*)/i,/(XT\d{3,4}) build\//i,/(nexus\s6)/i],[w,[m,"Motorola"],[c,f]],[/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i],[w,[m,"Motorola"],[c,h]],[/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i],[[m,y.trim],[w,y.trim],[c,v]],[/hbbtv.+maple;(\d+)/i],[[w,/^/,"SmartTV"],[m,"Samsung"],[c,v]],[/\(dtv[\);].+(aquos)/i],[w,[m,"Sharp"],[c,v]],[/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i,/((SM-T\w+))/i],[[m,"Samsung"],w,[c,h]],[/smart-tv.+(samsung)/i],[m,[c,v],w],[/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,/(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i,/sec-((sgh\w+))/i],[[m,"Samsung"],w,[c,f]],[/sie-(\w*)/i],[w,[m,"Siemens"],[c,f]],[/(maemo|nokia).*(n900|lumia\s\d+)/i,/(nokia)[\s_-]?([\w-]*)/i],[[m,"Nokia"],w,[c,f]],[/android\s3\.[\s\w;-]{10}(a\d{3})/i],[w,[m,"Acer"],[c,h]],[/android.+([vl]k\-?\d{3})\s+build/i],[w,[m,"LG"],[c,h]],[/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i],[[m,"LG"],w,[c,h]],[/(lg) netcast\.tv/i],[m,w,[c,v]],[/(nexus\s[45])/i,/lg[e;\s\/-]+(\w*)/i,/android.+lg(\-?[\d\w]+)\s+build/i],[w,[m,"LG"],[c,f]],[/android.+(ideatab[a-z0-9\-\s]+)/i],[w,[m,"Lenovo"],[c,h]],[/linux;.+((jolla));/i],[m,w,[c,f]],[/((pebble))app\/[\d\.]+\s/i],[m,w,[c,x]],[/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i],[m,w,[c,f]],[/crkey/i],[[w,"Chromecast"],[m,"Google"]],[/android.+;\s(glass)\s\d/i],[w,[m,"Google"],[c,x]],[/android.+;\s(pixel c)\s/i],[w,[m,"Google"],[c,h]],[/android.+;\s(pixel xl|pixel)\s/i],[w,[m,"Google"],[c,f]],[/android.+;\s(\w+)\s+build\/hm\1/i,/android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i,/android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i,/android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i],[[w,/_/g," "],[m,"Xiaomi"],[c,f]],[/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i],[[w,/_/g," "],[m,"Xiaomi"],[c,h]],[/android.+;\s(m[1-5]\snote)\sbuild/i],[w,[m,"Meizu"],[c,h]],[/android.+a000(1)\s+build/i,/android.+oneplus\s(a\d{4})\s+build/i],[w,[m,"OnePlus"],[c,f]],[/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i],[w,[m,"RCA"],[c,h]],[/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i],[w,[m,"Dell"],[c,h]],[/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i],[w,[m,"Verizon"],[c,h]],[/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i],[[m,"Barnes & Noble"],w,[c,h]],[/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i],[w,[m,"NuVision"],[c,h]],[/android.+;\s(k88)\sbuild/i],[w,[m,"ZTE"],[c,h]],[/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i],[w,[m,"Swiss"],[c,f]],[/android.+[;\/]\s*(zur\d{3})\s+build/i],[w,[m,"Swiss"],[c,h]],[/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i],[w,[m,"Zeki"],[c,h]],[/(android).+[;\/]\s+([YR]\d{2})\s+build/i,/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i],[[m,"Dragon Touch"],w,[c,h]],[/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i],[w,[m,"Insignia"],[c,h]],[/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i],[w,[m,"NextBook"],[c,h]],[/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i],[[m,"Voice"],w,[c,f]],[/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i],[[m,"LvTel"],w,[c,f]],[/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i],[w,[m,"Envizen"],[c,h]],[/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i],[m,w,[c,h]],[/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i],[w,[m,"MachSpeed"],[c,h]],[/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i],[m,w,[c,h]],[/android.+[;\/]\s*TU_(1491)\s+build/i],[w,[m,"Rotor"],[c,h]],[/android.+(KS(.+))\s+build/i],[w,[m,"Amazon"],[c,h]],[/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i],[m,w,[c,h]],[/\s(tablet|tab)[;\/]/i,/\s(mobile)(?:[;\/]|\ssafari)/i],[[c,y.lowerize],m,w],[/(android[\w\.\s\-]{0,9});.+build/i],[w,[m,"Generic"]]],engine:[[/windows.+\sedge\/([\w\.]+)/i],[p,[u,"EdgeHTML"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i,/(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i,/(icab)[\/\s]([23]\.[\d\.]+)/i],[u,p],[/rv\:([\w\.]{1,9}).+(gecko)/i],[p,u]],os:[[/microsoft\s(windows)\s(vista|xp)/i],[u,p],[/(windows)\snt\s6\.2;\s(arm)/i,/(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i,/(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i],[u,[p,T.str,S.os.windows.version]],[/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i],[[u,"Windows"],[p,T.str,S.os.windows.version]],[/\((bb)(10);/i],[[u,"BlackBerry"],p],[/(blackberry)\w*\/?([\w\.]*)/i,/(tizen)[\/\s]([\w\.]+)/i,/(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i,/linux;.+(sailfish);/i],[u,p],[/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i],[[u,"Symbian"],p],[/\((series40);/i],[u],[/mozilla.+\(mobile;.+gecko.+firefox/i],[[u,"Firefox OS"],p],[/(nintendo|playstation)\s([wids34portablevu]+)/i,/(mint)[\/\s\(]?(\w*)/i,/(mageia|vectorlinux)[;\s]/i,/(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i,/(hurd|linux)\s?([\w\.]*)/i,/(gnu)\s?([\w\.]*)/i],[u,p],[/(cros)\s[\w]+\s([\w\.]+\w)/i],[[u,"Chromium OS"],p],[/(sunos)\s?([\w\.\d]*)/i],[[u,"Solaris"],p],[/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i],[u,p],[/(haiku)\s(\w+)/i],[u,p],[/cfnetwork\/.+darwin/i,/ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i],[[p,/_/g,"."],[u,"iOS"]],[/(mac\sos\sx)\s?([\w\s\.]*)/i,/(macintosh|mac(?=_powerpc)\s)/i],[[u,"Mac OS"],[p,/_/g,"."]],[/((?:open)?solaris)[\/\s-]?([\w\.]*)/i,/(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i,/(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i,/(unix)\s?([\w\.]*)/i],[u,p]]},A=function(e,r){if("object"==typeof e&&(r=e,e=s),!(this instanceof A))return new A(e,r).getResult();var n=e||(i&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:o),a=r?y.extend(E,r):E;return this.getBrowser=function(){var i={name:s,version:s};return T.rgx.call(i,n,a.browser),i.major=y.major(i.version),i},this.getCPU=function(){var i={architecture:s};return T.rgx.call(i,n,a.cpu),i},this.getDevice=function(){var i={vendor:s,model:s,type:s};return T.rgx.call(i,n,a.device),i},this.getEngine=function(){var i={name:s,version:s};return T.rgx.call(i,n,a.engine),i},this.getOS=function(){var i={name:s,version:s};return T.rgx.call(i,n,a.os),i},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 n},this.setUA=function(i){return n=i,this},this};A.VERSION=e,A.BROWSER={NAME:u,MAJOR:l,VERSION:p},A.CPU={ARCHITECTURE:b},A.DEVICE={MODEL:w,VENDOR:m,TYPE:c,CONSOLE:g,MOBILE:f,SMARTTV:v,TABLET:h,WEARABLE:x,EMBEDDED:k},A.ENGINE={NAME:u,VERSION:p},A.OS={NAME:u,VERSION:p},typeof exports!==a?(typeof module!==a&&module.exports&&(exports=module.exports=A),exports.UAParser=A):typeof define===n&&define.amd?define(function(){return A}):i&&(i.UAParser=A);var N=i&&(i.jQuery||i.Zepto);if(typeof N!==a){var z=new A;N.ua=z.getResult(),N.ua.get=function(){return z.getUA()},N.ua.set=function(i){z.setUA(i);var s=z.getResult();for(var e in s)N.ua[e]=s[e]}}}("object"==typeof window?window:this);

},{}],3:[function(require,module,exports){
(function (global){
(function(){function t(r,o){function c(t){if(c[t]!==b)return c[t];var e;if("bug-string-char-index"==t)e="a"!="a"[0];else if("json"==t)e=c("json-stringify")&&c("json-parse");else{var r,n='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==t){var i=o.stringify,s="function"==typeof i&&C;if(s){(r=function(){return 1}).toJSON=r;try{s="0"===i(0)&&"0"===i(new l)&&'""'==i(new a)&&i(v)===b&&i(b)===b&&i()===b&&"1"===i(r)&&"[1]"==i([r])&&"[null]"==i([b])&&"null"==i(null)&&"[null,null,null]"==i([b,v,null])&&i({a:[r,!0,!1,null,"\x00\b\n\f\r	"]})==n&&"1"===i(null,r)&&"[\n 1,\n 2\n]"==i([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==i(new f(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==i(new f(864e13))&&'"-000001-01-01T00:00:00.000Z"'==i(new f(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==i(new f(-1))}catch(u){s=!1}}e=s}if("json-parse"==t){var h=o.parse;if("function"==typeof h)try{if(0===h("0")&&!h(!1)){r=h(n);var p=5==r.a.length&&1===r.a[0];if(p){try{p=!h('"	"')}catch(u){}if(p)try{p=1!==h("01")}catch(u){}if(p)try{p=1!==h("1.")}catch(u){}}}}catch(u){p=!1}e=p}}return c[t]=!!e}r||(r=n.Object()),o||(o=n.Object());var l=r.Number||n.Number,a=r.String||n.String,i=r.Object||n.Object,f=r.Date||n.Date,s=r.SyntaxError||n.SyntaxError,u=r.TypeError||n.TypeError,h=r.Math||n.Math,p=r.JSON||n.JSON;"object"==typeof p&&p&&(o.stringify=p.stringify,o.parse=p.parse);var g,y,b,d=i.prototype,v=d.toString,C=new f(-0xc782b5b800cec);try{C=-109252==C.getUTCFullYear()&&0===C.getUTCMonth()&&1===C.getUTCDate()&&10==C.getUTCHours()&&37==C.getUTCMinutes()&&6==C.getUTCSeconds()&&708==C.getUTCMilliseconds()}catch(j){}if(!c("json")){var S="[object Function]",O="[object Date]",w="[object Number]",T="[object String]",A="[object Array]",_="[object Boolean]",N=c("bug-string-char-index");if(!C)var U=h.floor,J=[0,31,59,90,120,151,181,212,243,273,304,334],x=function(t,e){return J[e]+365*(t-1970)+U((t-1969+(e=+(e>1)))/4)-U((t-1901+e)/100)+U((t-1601+e)/400)};if((g=d.hasOwnProperty)||(g=function(t){var e,r={};return(r.__proto__=null,r.__proto__={toString:1},r).toString!=v?g=function(t){var e=this.__proto__,r=t in(this.__proto__=null,this);return this.__proto__=e,r}:(e=r.constructor,g=function(t){var r=(this.constructor||e).prototype;return t in this&&!(t in r&&this[t]===r[t])}),r=null,g.call(this,t)}),y=function(t,r){var n,o,c,l=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,o=new n;for(c in o)g.call(o,c)&&l++;return n=o=null,l?y=2==l?function(t,e){var r,n={},o=v.call(t)==S;for(r in t)o&&"prototype"==r||g.call(n,r)||!(n[r]=1)||!g.call(t,r)||e(r)}:function(t,e){var r,n,o=v.call(t)==S;for(r in t)o&&"prototype"==r||!g.call(t,r)||(n="constructor"===r)||e(r);(n||g.call(t,r="constructor"))&&e(r)}:(o=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],y=function(t,r){var n,c,l=v.call(t)==S,a=!l&&"function"!=typeof t.constructor&&e[typeof t.hasOwnProperty]&&t.hasOwnProperty||g;for(n in t)l&&"prototype"==n||!a.call(t,n)||r(n);for(c=o.length;n=o[--c];a.call(t,n)&&r(n));}),y(t,r)},!c("json-stringify")){var m={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},M="000000",k=function(t,e){return(M+(e||0)).slice(-t)},D="\\u00",E=function(t){for(var e='"',r=0,n=t.length,o=!N||n>10,c=o&&(N?t.split(""):t);n>r;r++){var l=t.charCodeAt(r);switch(l){case 8:case 9:case 10:case 12:case 13:case 34:case 92:e+=m[l];break;default:if(32>l){e+=D+k(2,l.toString(16));break}e+=o?c[r]:t.charAt(r)}}return e+'"'},P=function(t,e,r,n,o,c,l){var a,i,f,s,h,p,d,C,j,S,N,J,m,M,D,Z;try{a=e[t]}catch(F){}if("object"==typeof a&&a)if(i=v.call(a),i!=O||g.call(a,"toJSON"))"function"==typeof a.toJSON&&(i!=w&&i!=T&&i!=A||g.call(a,"toJSON"))&&(a=a.toJSON(t));else if(a>-1/0&&1/0>a){if(x){for(h=U(a/864e5),f=U(h/365.2425)+1970-1;x(f+1,0)<=h;f++);for(s=U((h-x(f,0))/30.42);x(f,s+1)<=h;s++);h=1+h-x(f,s),p=(a%864e5+864e5)%864e5,d=U(p/36e5)%24,C=U(p/6e4)%60,j=U(p/1e3)%60,S=p%1e3}else f=a.getUTCFullYear(),s=a.getUTCMonth(),h=a.getUTCDate(),d=a.getUTCHours(),C=a.getUTCMinutes(),j=a.getUTCSeconds(),S=a.getUTCMilliseconds();a=(0>=f||f>=1e4?(0>f?"-":"+")+k(6,0>f?-f:f):k(4,f))+"-"+k(2,s+1)+"-"+k(2,h)+"T"+k(2,d)+":"+k(2,C)+":"+k(2,j)+"."+k(3,S)+"Z"}else a=null;if(r&&(a=r.call(e,t,a)),null===a)return"null";if(i=v.call(a),i==_)return""+a;if(i==w)return a>-1/0&&1/0>a?""+a:"null";if(i==T)return E(""+a);if("object"==typeof a){for(M=l.length;M--;)if(l[M]===a)throw u();if(l.push(a),N=[],D=c,c+=o,i==A){for(m=0,M=a.length;M>m;m++)J=P(m,a,r,n,o,c,l),N.push(J===b?"null":J);Z=N.length?o?"[\n"+c+N.join(",\n"+c)+"\n"+D+"]":"["+N.join(",")+"]":"[]"}else y(n||a,function(t){var e=P(t,a,r,n,o,c,l);e!==b&&N.push(E(t)+":"+(o?" ":"")+e)}),Z=N.length?o?"{\n"+c+N.join(",\n"+c)+"\n"+D+"}":"{"+N.join(",")+"}":"{}";return l.pop(),Z}};o.stringify=function(t,r,n){var o,c,l,a;if(e[typeof r]&&r)if((a=v.call(r))==S)c=r;else if(a==A){l={};for(var i,f=0,s=r.length;s>f;i=r[f++],a=v.call(i),(a==T||a==w)&&(l[i]=1));}if(n)if((a=v.call(n))==w){if((n-=n%1)>0)for(o="",n>10&&(n=10);o.length<n;o+=" ");}else a==T&&(o=n.length<=10?n:n.slice(0,10));return P("",(i={},i[""]=t,i),c,l,o,"",[])}}if(!c("json-parse")){var Z,F,$=a.fromCharCode,H={92:"\\",34:'"',47:"/",98:"\b",116:"	",110:"\n",102:"\f",114:"\r"},I=function(){throw Z=F=null,s()},Y=function(){for(var t,e,r,n,o,c=F,l=c.length;l>Z;)switch(o=c.charCodeAt(Z)){case 9:case 10:case 13:case 32:Z++;break;case 123:case 125:case 91:case 93:case 58:case 44:return t=N?c.charAt(Z):c[Z],Z++,t;case 34:for(t="@",Z++;l>Z;)if(o=c.charCodeAt(Z),32>o)I();else if(92==o)switch(o=c.charCodeAt(++Z)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:t+=H[o],Z++;break;case 117:for(e=++Z,r=Z+4;r>Z;Z++)o=c.charCodeAt(Z),o>=48&&57>=o||o>=97&&102>=o||o>=65&&70>=o||I();t+=$("0x"+c.slice(e,Z));break;default:I()}else{if(34==o)break;for(o=c.charCodeAt(Z),e=Z;o>=32&&92!=o&&34!=o;)o=c.charCodeAt(++Z);t+=c.slice(e,Z)}if(34==c.charCodeAt(Z))return Z++,t;I();default:if(e=Z,45==o&&(n=!0,o=c.charCodeAt(++Z)),o>=48&&57>=o){for(48==o&&(o=c.charCodeAt(Z+1),o>=48&&57>=o)&&I(),n=!1;l>Z&&(o=c.charCodeAt(Z),o>=48&&57>=o);Z++);if(46==c.charCodeAt(Z)){for(r=++Z;l>r&&(o=c.charCodeAt(r),o>=48&&57>=o);r++);r==Z&&I(),Z=r}if(o=c.charCodeAt(Z),101==o||69==o){for(o=c.charCodeAt(++Z),43!=o&&45!=o||Z++,r=Z;l>r&&(o=c.charCodeAt(r),o>=48&&57>=o);r++);r==Z&&I(),Z=r}return+c.slice(e,Z)}if(n&&I(),"true"==c.slice(Z,Z+4))return Z+=4,!0;if("false"==c.slice(Z,Z+5))return Z+=5,!1;if("null"==c.slice(Z,Z+4))return Z+=4,null;I()}return"$"},B=function(t){var e,r;if("$"==t&&I(),"string"==typeof t){if("@"==(N?t.charAt(0):t[0]))return t.slice(1);if("["==t){for(e=[];t=Y(),"]"!=t;r||(r=!0))r&&(","==t?(t=Y(),"]"==t&&I()):I()),","==t&&I(),e.push(B(t));return e}if("{"==t){for(e={};t=Y(),"}"!=t;r||(r=!0))r&&(","==t?(t=Y(),"}"==t&&I()):I()),","!=t&&"string"==typeof t&&"@"==(N?t.charAt(0):t[0])&&":"==Y()||I(),e[t.slice(1)]=B(Y());return e}I()}return t},L=function(t,e,r){var n=q(t,e,r);n===b?delete t[e]:t[e]=n},q=function(t,e,r){var n,o=t[e];if("object"==typeof o&&o)if(v.call(o)==A)for(n=o.length;n--;)L(o,n,r);else y(o,function(t){L(o,t,r)});return r.call(t,e,o)};o.parse=function(t,e){var r,n;return Z=0,F=""+t,r=B(Y()),"$"!=Y()&&I(),Z=F=null,e&&v.call(e)==S?q((n={},n[""]=r,n),"",e):r}}}return o.runInContext=t,o}var e={"function":!0,object:!0},r=e[typeof exports]&&exports&&!exports.nodeType&&exports,n=e[typeof window]&&window||this,o=r&&e[typeof module]&&module&&!module.nodeType&&"object"==typeof global&&global;if(!o||o.global!==o&&o.window!==o&&o.self!==o||(n=o),r)t(n,r);else{var c=n.JSON,l=n.JSON3,a=!1,i=t(n,n.JSON3={noConflict:function(){return a||(a=!0,n.JSON=c,n.JSON3=l,c=l=null),i}});n.JSON={parse:i.parse,stringify:i.stringify}}}).call(this);

}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{}],4:[function(require,module,exports){
module.exports=function(e,t,n){function r(e,t){return typeof e===t}function i(){var e,t,n,i,o,a,s;for(var d in y)if(y.hasOwnProperty(d)){if(e=[],t=y[d],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(i=r(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)a=e[o],s=a.split("."),1===s.length?b[s[0]]=i:(!b[s[0]]||b[s[0]]instanceof Boolean||(b[s[0]]=new Boolean(b[s[0]])),b[s[0]][s[1]]=i),S.push((i?"":"no-")+s.join("-"))}}function o(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):k?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function a(e,t){return!!~(""+e).indexOf(t)}function s(e,t){return e-1===t||e===t||e+1===t}function d(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function l(){var e=t.body;return e||(e=o(k?"svg":"body"),e.fake=!0),e}function c(e,n,r,i){var a,s,d,c,u="modernizr",p=o("div"),f=l();if(parseInt(r,10))for(;r--;)d=o("div"),d.id=i?i[r]:u+(r+1),p.appendChild(d);return a=o("style"),a.type="text/css",a.id="s"+u,(f.fake?f:p).appendChild(a),f.appendChild(p),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(t.createTextNode(e)),p.id=u,f.fake&&(f.style.background="",f.style.overflow="hidden",c=C.style.overflow,C.style.overflow="hidden",C.appendChild(f)),s=n(p,e),f.fake?(f.parentNode.removeChild(f),C.style.overflow=c,C.offsetHeight):p.parentNode.removeChild(p),!!s}function u(e,t){return function(){return e.apply(t,arguments)}}function p(e,t,n){var i;for(var o in e)if(e[o]in t)return n===!1?e[o]:(i=t[e[o]],r(i,"function")?u(i,n||t):i);return!1}function f(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function m(t,r){var i=t.length;if("CSS"in e&&"supports"in e.CSS){for(;i--;)if(e.CSS.supports(f(t[i]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];i--;)o.push("("+f(t[i])+":"+r+")");return o=o.join(" or "),c("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return n}function h(e,t,i,s){function l(){u&&(delete D.style,delete D.modElem)}if(s=r(s,"undefined")?!1:s,!r(i,"undefined")){var c=m(e,i);if(!r(c,"undefined"))return c}for(var u,p,f,h,g,v=["modernizr","tspan","samp"];!D.style&&v.length;)u=!0,D.modElem=o(v.shift()),D.style=D.modElem.style;for(f=e.length,p=0;f>p;p++)if(h=e[p],g=D.style[h],a(h,"-")&&(h=d(h)),D.style[h]!==n){if(s||r(i,"undefined"))return l(),"pfx"==t?h:!0;try{D.style[h]=i}catch(y){}if(D.style[h]!=g)return l(),"pfx"==t?h:!0}return l(),!1}function g(e,t,n,i,o){var a=e.charAt(0).toUpperCase()+e.slice(1),s=(e+" "+B.join(a+" ")+a).split(" ");return r(t,"string")||r(t,"undefined")?h(s,t,i,o):(s=(e+" "+I.join(a+" ")+a).split(" "),p(s,t,n))}function v(e,t,r){return g(e,n,n,t,r)}var y=[],T={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){y.push({name:e,fn:t,options:n})},addAsyncTest:function(e){y.push({name:null,fn:e})}},b=function(){};b.prototype=T,b=new b,b.addTest("applicationcache","applicationCache"in e),b.addTest("blobconstructor",function(){try{return!!new Blob}catch(e){return!1}},{aliases:["blob-constructor"]}),b.addTest("cookies",function(){try{t.cookie="cookietest=1";var e=-1!=t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(n){return!1}}),b.addTest("cors","XMLHttpRequest"in e&&"withCredentials"in new XMLHttpRequest),b.addTest("customprotocolhandler",function(){if(!navigator.registerProtocolHandler)return!1;try{navigator.registerProtocolHandler("thisShouldFail")}catch(e){return e instanceof TypeError}return!1}),b.addTest("dataview","undefined"!=typeof DataView&&"getFloat64"in DataView.prototype),b.addTest("geolocation","geolocation"in navigator),b.addTest("history",function(){var t=navigator.userAgent;return-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone")?e.history&&"pushState"in e.history:!1}),b.addTest("ie8compat",!e.addEventListener&&!!t.documentMode&&7===t.documentMode),b.addTest("json","JSON"in e&&"parse"in JSON&&"stringify"in JSON),b.addTest("notification",function(){if(!e.Notification||!e.Notification.requestPermission)return!1;if("granted"===e.Notification.permission)return!0;try{new e.Notification("")}catch(t){if("TypeError"===t.name)return!1}return!0}),b.addTest("postmessage","postMessage"in e),b.addTest("svg",!!t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect);var x=!1;try{x="WebSocket"in e&&2===e.WebSocket.CLOSING}catch(w){}b.addTest("websockets",x),b.addTest("webaudio",function(){var t="webkitAudioContext"in e,n="AudioContext"in e;return b._config.usePrefixes?t||n:n}),b.addTest("microdata","getItems"in t),b.addTest("strictmode",function(){"use strict";return!this}()),b.addTest("filereader",!!(e.File&&e.FileList&&e.FileReader)),b.addTest("lowbandwidth",function(){var e=navigator.connection||{type:0};return 3==e.type||4==e.type||/^[23]g$/.test(e.type)}),b.addTest("eventsource","EventSource"in e),b.addTest("xhr2","XMLHttpRequest"in e&&"withCredentials"in new XMLHttpRequest),b.addTest("localstorage",function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(t){return!1}}),b.addTest("sessionstorage",function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(t){return!1}}),b.addTest("websqldatabase","openDatabase"in e),b.addTest("svgfilters",function(){var t=!1;try{t="SVGFEColorMatrixElement"in e&&2==SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE}catch(n){}return t}),b.addTest("websocketsbinary",function(){var t,n="https:"==location.protocol?"wss":"ws";if("WebSocket"in e){if(t="binaryType"in WebSocket.prototype)return t;try{return!!new WebSocket(n+"://.").binaryType}catch(r){}}return!1}),b.addTest("framed",e.location!=top.location),b.addTest("sharedworkers","SharedWorker"in e),b.addTest("webworkers","Worker"in e);var S=[],C=t.documentElement;b.addTest("contextmenu","contextMenu"in C&&"HTMLMenuItemElement"in e),b.addTest("classlist","classList"in C);var k="svg"===C.nodeName.toLowerCase();b.addTest("audio",function(){var e=o("audio"),t=!1;try{(t=!!e.canPlayType)&&(t=new Boolean(t),t.ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,""),t.opus=e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(n){}return t}),b.addTest("canvas",function(){var e=o("canvas");return!(!e.getContext||!e.getContext("2d"))}),b.addTest("canvastext",function(){return b.canvas===!1?!1:"function"==typeof o("canvas").getContext("2d").fillText}),b.addTest("contenteditable",function(){if("contentEditable"in C){var e=o("div");return e.contentEditable=!0,"true"===e.contentEditable}}),b.addTest("emoji",function(){if(!b.canvastext)return!1;var t=e.devicePixelRatio||1,n=12*t,r=o("canvas"),i=r.getContext("2d");return i.fillStyle="#f00",i.textBaseline="top",i.font="32px Arial",i.fillText("🐨",0,0),0!==i.getImageData(n,n,1,1).data[0]}),b.addTest("olreversed","reversed"in o("ol")),b.addTest("userdata",!!o("div").addBehavior),b.addTest("video",function(){var e=o("video"),t=!1;try{(t=!!e.canPlayType)&&(t=new Boolean(t),t.ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),t.vp9=e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),t.hls=e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,""))}catch(n){}return t}),b.addTest("webgl",function(){var t=o("canvas"),n="probablySupportsContext"in t?"probablySupportsContext":"supportsContext";return n in t?t[n]("webgl")||t[n]("experimental-webgl"):"WebGLRenderingContext"in e}),b.addTest("adownload",!e.externalHost&&"download"in o("a")),b.addTest("bgpositionshorthand",function(){var e=o("a"),t=e.style,n="right 10px bottom 10px";return t.cssText="background-position: "+n+";",t.backgroundPosition===n}),b.addTest("multiplebgs",function(){var e=o("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)}),b.addTest("regions",function(){if(k)return!1;var e=b.prefixed("flowFrom"),t=b.prefixed("flowInto"),r=!1;if(!e||!t)return r;var i=o("iframe"),a=o("div"),s=o("div"),d=o("div"),l="modernizr_flow_for_regions_check";s.innerText="M",a.style.cssText="top: 150px; left: 150px; padding: 0px;",d.style.cssText="width: 50px; height: 50px; padding: 42px;",d.style[e]=l,a.appendChild(s),a.appendChild(d),C.appendChild(a);var c,u,p=s.getBoundingClientRect();return s.style[t]=l,c=s.getBoundingClientRect(),u=parseInt(c.left-p.left,10),C.removeChild(a),42==u?r=!0:(C.appendChild(i),p=i.getBoundingClientRect(),i.style[t]=l,c=i.getBoundingClientRect(),p.height>0&&p.height!==c.height&&0===c.height&&(r=!0)),s=d=a=i=n,r}),b.addTest("cssremunit",function(){var e=o("a").style;try{e.fontSize="3rem"}catch(t){}return/rem/.test(e.fontSize)}),b.addTest("rgba",function(){var e=o("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1}),b.addTest("dataset",function(){var e=o("div");return e.setAttribute("data-a-b","c"),!(!e.dataset||"c"!==e.dataset.aB)}),b.addTest("outputelem","value"in o("output")),b.addTest("ruby",function(){function n(n,r){var i;return e.getComputedStyle?i=t.defaultView.getComputedStyle(n,null).getPropertyValue(r):n.currentStyle&&(i=n.currentStyle[r]),i}function r(){C.removeChild(i),i=null,a=null,s=null}var i=o("ruby"),a=o("rt"),s=o("rp"),d="display",l="fontSize";return i.appendChild(s),i.appendChild(a),C.appendChild(i),"none"==n(s,d)||"ruby"==n(i,d)&&"ruby-text"==n(a,d)||"6pt"==n(s,l)&&"6pt"==n(a,l)?(r(),!0):(r(),!1)}),b.addTest("time","valueAsDate"in o("time")),b.addTest("fileinput",function(){if(navigator.userAgent.match(/(Android (1.0|1.1|1.5|1.6|2.0|2.1))|(Windows Phone (OS 7|8.0))|(XBLWP)|(ZuneWP)|(w(eb)?OSBrowser)|(webOS)|(Kindle\/(1.0|2.0|2.5|3.0))/))return!1;var e=o("input");return e.type="file",!e.disabled}),b.addTest("formattribute",function(){var e,n=o("form"),r=o("input"),i=o("div"),a="formtest"+(new Date).getTime(),s=!1;n.id=a;try{r.setAttribute("form",a)}catch(d){t.createAttribute&&(e=t.createAttribute("form"),e.nodeValue=a,r.setAttributeNode(e))}return i.appendChild(n),i.appendChild(r),C.appendChild(i),s=n.elements&&1===n.elements.length&&r.form==n,i.parentNode.removeChild(i),s}),b.addTest("sandbox","sandbox"in o("iframe")),b.addTest("seamless","seamless"in o("iframe")),b.addTest("srcdoc","srcdoc"in o("iframe")),b.addTest("scriptasync","async"in o("script")),b.addTest("scriptdefer","defer"in o("script")),b.addTest("stylescoped","scoped"in o("style")),b.addTest("inlinesvg",function(){var e=o("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var E=function(){function e(e,t){var i;return e?(t&&"string"!=typeof t||(t=o(t||"div")),e="on"+e,i=e in t,!i&&r&&(t.setAttribute||(t=o("div")),t.setAttribute(e,""),i="function"==typeof t[e],t[e]!==n&&(t[e]=n),t.removeAttribute(e)),i):!1}var r=!("onblur"in t.documentElement);return e}();T.hasEvent=E,b.addTest("hashchange",function(){return E("hashchange",e)===!1?!1:t.documentMode===n||t.documentMode>7});var z=o("input"),P="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),M={};b.input=function(t){for(var n=0,r=t.length;r>n;n++)M[t[n]]=!!(t[n]in z);return M.list&&(M.list=!(!o("datalist")||!e.HTMLDataListElement)),M}(P),b.addTest("datalistelem",b.input.list);var A="search tel url email datetime date month week time datetime-local number range color".split(" "),R={};b.inputtypes=function(e){for(var r,i,o,a=e.length,s="1)",d=0;a>d;d++)z.setAttribute("type",r=e[d]),o="text"!==z.type&&"style"in z,o&&(z.value=s,z.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&z.style.WebkitAppearance!==n?(C.appendChild(z),i=t.defaultView,o=i.getComputedStyle&&"textfield"!==i.getComputedStyle(z,null).WebkitAppearance&&0!==z.offsetHeight,C.removeChild(z)):/^(search|tel)$/.test(r)||(o=/^(url|email)$/.test(r)?z.checkValidity&&z.checkValidity()===!1:z.value!=s)),R[e[d]]=!!o;return R}(A);var W=T._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];T._prefixes=W,b.addTest("csscalc",function(){var e="width:",t="calc(10px);",n=o("a");return n.style.cssText=e+W.join(t+e),!!n.style.length}),b.addTest("cubicbezierrange",function(){var e=o("a");return e.style.cssText=W.join("transition-timing-function:cubic-bezier(1,0,0,1.1); "),!!e.style.length}),b.addTest("cssgradients",function(){for(var e,t="background-image:",n="gradient(linear,left top,right bottom,from(#9f9),to(white));",r="",i=0,a=W.length-1;a>i;i++)e=0===i?"to ":"",r+=t+W[i]+"linear-gradient("+e+"left top, #9f9, white);";b._config.usePrefixes&&(r+=t+"-webkit-"+n);var s=o("a"),d=s.style;return d.cssText=r,(""+d.backgroundImage).indexOf("gradient")>-1}),b.addTest("opacity",function(){var e=o("a").style;return e.cssText=W.join("opacity:.55;"),/^0.55$/.test(e.opacity)}),b.addTest("csspositionsticky",function(){var e="position:",t="sticky",n=o("a"),r=n.style;return r.cssText=e+W.join(t+";"+e).slice(0,-e.length),-1!==r.position.indexOf(t)});var _="CSS"in e&&"supports"in e.CSS,L="supportsCSS"in e;b.addTest("supports",_||L),b.addTest("hsla",function(){var e=o("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",a(e.backgroundColor,"rgba")||a(e.backgroundColor,"hsla")});var N={}.toString;b.addTest("svgclippaths",function(){return!!t.createElementNS&&/SVGClipPath/.test(N.call(t.createElementNS("http://www.w3.org/2000/svg","clipPath")))}),b.addTest("smil",function(){return!!t.createElementNS&&/SVGAnimate/.test(N.call(t.createElementNS("http://www.w3.org/2000/svg","animate")))});var O="Moz O ms Webkit",I=T._config.usePrefixes?O.toLowerCase().split(" "):[];T._domPrefixes=I,b.addTest("pointerevents",function(){var e=!1,t=I.length;for(e=b.hasEvent("pointerdown");t--&&!e;)E(I[t]+"pointerdown")&&(e=!0);return e});var B=T._config.usePrefixes?O.split(" "):[];T._cssomPrefixes=B;var H=function(t){var r,i=W.length,o=e.CSSRule;if("undefined"==typeof o)return n;if(!t)return!1;if(t=t.replace(/^@/,""),r=t.replace(/-/g,"_").toUpperCase()+"_RULE",r in o)return"@"+t;for(var a=0;i>a;a++){var s=W[a],d=s.toUpperCase()+"_"+r;if(d in o)return"@-"+s.toLowerCase()+"-"+t}return!1};T.atRule=H;var q=T.testStyles=c;b.addTest("mathml",function(){var e;return q("#modernizr{position:absolute;display:inline-block}",function(t){t.innerHTML+="<math><mfrac><mi>xx</mi><mi>yy</mi></mfrac></math>",e=t.offsetHeight>t.offsetWidth}),e}),b.addTest("unicode",function(){var e,t=o("span"),n=o("span");return q("#modernizr{font-family:Arial,sans;font-size:300em;}",function(r){t.innerHTML=k?"妇":"&#5987;",n.innerHTML=k?"☆":"&#9734;",r.appendChild(t),r.appendChild(n),e="offsetWidth"in t&&t.offsetWidth!==n.offsetWidth}),e});var F=function(){var e=navigator.userAgent,t=e.match(/applewebkit\/([0-9]+)/gi)&&parseFloat(RegExp.$1),n=e.match(/w(eb)?osbrowser/gi),r=e.match(/windows phone/gi)&&e.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9,i=533>t&&e.match(/android/gi);return n||i||r}();F?b.addTest("fontface",!1):q('@font-face {font-family:"font";src:url("https://")}',function(e,n){var r=t.getElementById("smodernizr"),i=r.sheet||r.styleSheet,o=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"",a=/src/i.test(o)&&0===o.indexOf(n.split(" ")[0]);b.addTest("fontface",a)}),q('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(e){b.addTest("generatedcontent",e.offsetHeight>=7)}),q("#modernizr div {width:100px} #modernizr :last-child{width:200px;display:block}",function(e){b.addTest("lastchild",e.lastChild.offsetWidth>e.firstChild.offsetWidth)},2),q("#modernizr{overflow: scroll; width: 40px; height: 40px; }#"+W.join("scrollbar{width:0px} #modernizr::").split("#").slice(1).join("#")+"scrollbar{width:0px}",function(e){b.addTest("cssscrollbar",40==e.scrollWidth)}),q("#modernizr{position: absolute; top: -10em; visibility:hidden; font: normal 10px arial;}#subpixel{float: left; font-size: 33.3333%;}",function(t){var n=t.firstChild;n.innerHTML="This is a text written in Arial",b.addTest("subpixelfont",e.getComputedStyle?"44px"!==e.getComputedStyle(n,null).getPropertyValue("width"):!1)},1,["subpixel"]),q("#modernizr { height: 50vh; }",function(t){var n=parseInt(e.innerHeight/2,10),r=parseInt((e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).height,10);b.addTest("cssvhunit",r==n)}),q("#modernizr1{width: 50vmax}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(t){var n=t.childNodes[2],r=t.childNodes[1],i=t.childNodes[0],o=parseInt((r.offsetWidth-r.clientWidth)/2,10),a=i.clientWidth/100,d=i.clientHeight/100,l=parseInt(50*Math.max(a,d),10),c=parseInt((e.getComputedStyle?getComputedStyle(n,null):n.currentStyle).width,10);b.addTest("cssvmaxunit",s(l,c)||s(l,c-o))},3),q("#modernizr1{width: 50vm;width:50vmin}#modernizr2{width:50px;height:50px;overflow:scroll}#modernizr3{position:fixed;top:0;left:0;bottom:0;right:0}",function(t){var n=t.childNodes[2],r=t.childNodes[1],i=t.childNodes[0],o=parseInt((r.offsetWidth-r.clientWidth)/2,10),a=i.clientWidth/100,d=i.clientHeight/100,l=parseInt(50*Math.min(a,d),10),c=parseInt((e.getComputedStyle?getComputedStyle(n,null):n.currentStyle).width,10);b.addTest("cssvminunit",s(l,c)||s(l,c-o))},3),q("#modernizr { width: 50vw; }",function(t){var n=parseInt(e.innerWidth/2,10),r=parseInt((e.getComputedStyle?getComputedStyle(t,null):t.currentStyle).width,10);b.addTest("cssvwunit",r==n)}),b.addTest("details",function(){var e,t=o("details");return"open"in t?(q("#modernizr details{display:block}",function(n){n.appendChild(t),t.innerHTML="<summary>a</summary>b",e=t.offsetHeight,t.open=!0,e=e!=t.offsetHeight}),e):!1}),b.addTest("formvalidation",function(){var t=o("form");if(!("checkValidity"in t&&"addEventListener"in t))return!1;if("reportValidity"in t)return!0;var n,r=!1;return b.formvalidationapi=!0,t.addEventListener("submit",function(t){e.opera&&!e.operamini||t.preventDefault(),t.stopPropagation()},!1),t.innerHTML='<input name="modTest" required="required" /><button></button>',q("#modernizr form{position:absolute;top:-99999em}",function(e){e.appendChild(t),n=t.getElementsByTagName("input")[0],n.addEventListener("invalid",function(e){r=!0,e.preventDefault(),e.stopPropagation()},!1),b.formvalidationmessage=!!n.validationMessage,t.getElementsByTagName("button")[0].click()}),r});var V=function(){var t=e.matchMedia||e.msMatchMedia;return t?function(e){var n=t(e);return n&&n.matches||!1}:function(t){var n=!1;return c("@media "+t+" { #modernizr { position: absolute; } }",function(t){n="absolute"==(e.getComputedStyle?e.getComputedStyle(t,null):t.currentStyle).position}),n}}();T.mq=V,b.addTest("mediaqueries",V("only all"));var $={elem:o("modernizr")};b._q.push(function(){delete $.elem});var D={style:$.elem.style};b._q.unshift(function(){delete D.style});var j=T.testProp=function(e,t,r){return h([e],n,t,r)};b.addTest("textshadow",j("textShadow","1px 1px")),T.testAllProps=g;var G=T.prefixed=function(e,t,n){return 0===e.indexOf("@")?H(e):(-1!=e.indexOf("-")&&(e=d(e)),t?g(e,t,n):g(e,"pfx"))};b.addTest("forcetouch",function(){return E(G("mouseforcewillbegin",e,!1),e)?MouseEvent.WEBKIT_FORCE_AT_MOUSE_DOWN&&MouseEvent.WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN:!1}),b.addTest("fullscreen",!(!G("exitFullscreen",t,!1)&&!G("cancelFullScreen",t,!1))),b.addTest("gamepads",!!G("getGamepads",navigator));var U;try{U=G("indexedDB",e)}catch(w){}b.addTest("indexeddb",!!U),U&&b.addTest("indexeddb.deletedatabase","deleteDatabase"in U),b.addTest("performance",!!G("performance",e)),b.addTest("pointerlock",!!G("exitPointerLock",t)),b.addTest("quotamanagement",function(){var e=G("temporaryStorage",navigator),t=G("persistentStorage",navigator);return!(!e||!t)}),b.addTest("vibrate",!!G("vibrate",navigator)),b.addTest("webintents",!!G("startActivity",navigator)),b.addTest("lowbattery",function(){var e=.2,t=G("battery",navigator);return!!(t&&!t.charging&&t.level<=e)}),b.addTest("filesystem",!!G("requestFileSystem",e)),b.addTest("getusermedia",!!G("getUserMedia",navigator)),T.testAllProps=v,b.addTest("cssanimations",v("animationName","a",!0)),b.addTest("bgpositionxy",function(){return v("backgroundPositionX","3px",!0)&&v("backgroundPositionY","5px",!0)}),b.addTest("backgroundsize",v("backgroundSize","100%",!0)),b.addTest("bgsizecover",v("backgroundSize","cover")),b.addTest("borderimage",v("borderImage","url() 1",!0)),b.addTest("borderradius",v("borderRadius","0px",!0)),b.addTest("boxshadow",v("boxShadow","1px 1px",!0)),b.addTest("boxsizing",v("boxSizing","border-box",!0)&&(t.documentMode===n||t.documentMode>7)),function(){b.addTest("csscolumns",function(){var e=!1,t=v("columnCount");try{(e=!!t)&&(e=new Boolean(e))}catch(n){}return e});for(var e,t,n=["Width","Span","Fill","Gap","Rule","RuleColor","RuleStyle","RuleWidth","BreakBefore","BreakAfter","BreakInside"],r=0;r<n.length;r++)e=n[r].toLowerCase(),t=v("column"+n[r]),"breakbefore"!==e&&"breakafter"!==e&&"breakinside"!=e||(t=t||v(n[r])),b.addTest("csscolumns."+e,t)}(),b.addTest("cssfilters",function(){if(b.supports)return v("filter","blur(2px)");var e=o("a");return e.style.cssText=W.join("filter:blur(2px); "),!!e.style.length&&(t.documentMode===n||t.documentMode>9)}),b.addTest("flexbox",v("flexBasis","1px",!0)),b.addTest("flexboxlegacy",v("boxDirection","reverse",!0)),b.addTest("cssmask",v("maskRepeat","repeat-x",!0)),b.addTest("overflowscrolling",v("overflowScrolling","touch",!0)),b.addTest("cssreflections",v("boxReflect","above",!0)),b.addTest("cssresize",v("resize","both",!0)),b.addTest("csstransforms3d",function(){var e=!!v("perspective","1px",!0),t=b._config.usePrefixes;if(e&&(!t||"webkitPerspective"in C.style)){var n,r="#modernizr{width:0;height:0}";b.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}",q(r+n,function(t){e=7===t.offsetWidth&&18===t.offsetHeight})}return e}),b.addTest("csstransitions",v("transition","all",!0)),b.addTest("userselect",v("userSelect","none",!0)),i(),delete T.addTest,delete T.addAsyncTest;for(var X=0;X<b._q.length;X++)b._q[X]();return b};

},{}],5:[function(require,module,exports){
var ayah_debug_enabled=!1,ayah_debug_verbose_enabled=!1,ayah_debug=function(e){if(window.console||(console={log:function(){}}),ayah_debug_enabled){var a=new Date;console.log(a.getTime()+" "+e);var b=document.getElementById("ayah_debug_console");b&&(b.innerHTML+="\n<br>"+e)}},ayah_debug_verbose=function(e){};module.exports=function(e){return"undefined"!=typeof e.enable_debug&&(ayah_debug_enabled=e.enable_debug),"undefined"!=typeof e.enable_debug_verbose&&(ayah_debug_verbose_enabled=e.enable_debug_verbose),{ayah_debug:ayah_debug,ayah_debug_verbose:ayah_debug_verbose}};
},{}],6:[function(require,module,exports){
"use strict";var ayah_debug,addChecksum,JSON=require("./3rdparty/json3"),xhr_status=[],xhr_type="unknown",xhr_obj={Xhr:function(){try{return xhr_type="new XMLHttpRequest()",new XMLHttpRequest}catch(e){}try{return xhr_type="new ActiveXObject(Msxml3.XMLHTTP)",new ActiveXObject("Msxml3.XMLHTTP")}catch(e){}try{return xhr_type="new ActiveXObject(Msxml2.XMLHTTP.6.0)",new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return xhr_type="new ActiveXObject(Msxml2.XMLHTTP.3.0)",new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return xhr_type="new ActiveXObject(Msxml2.XMLHTTP)",new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return xhr_type="new ActiveXObject(Microsoft.XMLHTTP)",new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}return xhr_type="null",null},getXhrObject:function(){if(window.XDomainRequest){xhr_obj.updateStatus("Using new XDomainRequest()");var e=new XDomainRequest;e.onload=function(){}}else{var e=xhr_obj.Xhr();xhr_obj.updateStatus("Using "+xhr_type)}return e},sendGetRequest:function(e){var t=xhr_obj.getXhrObject();t.open("get",e),t.send()},sendPostRequest:function(e){addChecksum(e.payload),e.payload=JSON.stringify(e.payload),void 0===e.async&&(e.async=!0);try{xhr_obj.__sendPostRequest(e)}catch(t){xhr_obj.updateStatus("__sendPostRequest call failed: "+t.message)}},__sendPostRequest:function(e){var t=xhr_obj.getXhrObject();t.onreadystatechange=function(){4==t.readyState&&200!==t.status&&204!==t.status&&xhr_obj.updateStatus("POST call failed: status="+t.status)},xhr_obj.setEventHandlers(t,e.handlers),xhr_obj.updateStatus("__sendPostRequest: Calling xhr.open(), async="+e.async),t.open("post",e.url,e.async),xhr_obj.setHeaders(t,e.headers),t.withCredentials=!0;var r=e.payload;xhr_obj.updateStatus("__sendPostRequest: Calling xhr.send()"),t.send(r),xhr_obj.updateStatus("__sendPostRequest: Called xhr.send()")},setEventHandlers:function(e,t){var r=function(){};e.onprogress=t&&t.onprogress?t.onprogress:r,e.ontimeout=t&&t.ontimeout?t.ontimeout:r,e.onerror=t&&t.onerror?t.onerror:r,e.onload=t&&t.onload?t.onload:r,xhr_obj.savePostXhrObject(e)},savePostXhrObject:function(e){xhr_obj.postXhrObject=e},getPostXhrObject:function(){return xhr_obj.postXhrObject},getPostResponse:function(){var e=xhr_obj.getPostXhrObject();return e?e.response:void 0},setHeaders:function(e,t){"object"==typeof t&&t.forEach(function(t){xhr_obj.setRequestHeader(e,t.name,t.value)})},setRequestHeader:function(e,t,r){try{return e.setRequestHeader(t,r),!0}catch(s){xhr_obj.updateStatus("setRequestHeader: Call to xhr.setRequestHeader() failed: "+s.message)}},updateStatus:function(e){xhr_status.push(e)},getStatus:function(){return xhr_status}};module.exports=function(e){return ayah_debug=e.getDebugFunction(),addChecksum=e.getAddChecksum(),xhr_obj};

},{"./3rdparty/json3":3}],7:[function(require,module,exports){
var factory,ayah_debug,streamStats=function(){var t=factory.getStreamStats().getStats();for(var a in t)if(t.hasOwnProperty(a)){var r=t[a];r.count}};module.exports=function(t){return factory=t,ayah_debug=factory.getDebugFunction(),streamStats};

},{}],8:[function(require,module,exports){
"use strict";!function(e,t,n){function r(){if("undefined"==typeof e)throw new Error("window is undefined");if("undefined"==typeof e.document)throw new Error("window.document is undefined");if("undefined"!=typeof e.AYAH_STARTED&&"started"==e.AYAH_STARTED)return!1;e.AYAH_STARTED="started";var t=n.throttling_rate;if(t>0){var r=100*Math.random();if(t>=r)return!1}return!0}function a(){var t=i();t&&N.sendData(e,n,t,B)}function i(){return N.getParams(x)}function o(e,n){try{var r=n.force_proxy||i()?n.ga_iframe_url:n.iframe_url,a=t.createElement("iframe");a.id="AYAH_iframe"+(new Date).getTime(),a.src=e+r+"?"+s(),a.width=0,a.height=0,a.scrolling="no",a.frameBorder=0,a.style.cssText="border:none;overflow:hidden;display:none;",t.body.appendChild(a)}catch(o){C({message:"litter_failure",error:o.message,stack:o.stack})}}function s(){var e={ak:B,pk:n.publisher_key,AYAH_VERSION:n.AYAH_VERSION,cookiesync:n.cookiesync};Y.add(e);var t=U(e);return t}function c(e){y("Received call to ayahCleanup()"),y("Calling sendTelemetryEvent()"),d(e),y("Exiting ayahCleanup()")}function u(){var e=I.getSerializer().getAllObservations();e.type="telemetry",e.ak=B,e.pk=n.publisher_key,e.AYAH_VERSION=n.AYAH_VERSION;var t=I.getStreamStats().getAggregateStats();return e.ec=t.count,e.ea=t.average.toFixed(3),V.addDeviceData(e),V.addUserAgentData(e),y("getCollectedData: Calling script_parameters.add()"),Y.add(e),e}function l(){var e=v();e.defense_mode=h();var t=!0,r={onload:function(){w=!0,f(q.getPostResponse())}};y("sendInitEvent: Calling sendEvent()");var a=n.force_proxy?n.proxy_events_url:n.events_url;_(G,a,e,t,r)}function d(e){if(w&&"undefined"==typeof b){y("sendTelemetryEvent: Calling getCollectedData()");var t=u();t.defense_mode=h(),t.before_unload_event_fired=e;var r=0==e,a={onload:function(){f(q.getPostResponse())}};y("sendTelemetryEvent: Calling sendEvent()"),_(G,n.events_url,t,r,a),b=!0}}function f(e){if(h())try{var t=R.parse(e);t&&t.uuid&&(A("uuid",t.uuid),A("token",t.defense_token),g("receivedDistilBotDefenseToken",t))}catch(n){}}function g(t,n){var r=new CustomEvent(t,{detail:n});e.dispatchEvent(r)}function v(){var e={type:"init",set_id:!0,ak:B,pk:n.publisher_key,AYAH_VERSION:n.AYAH_VERSION};return V.addDeviceData(e),V.addUserAgentData(e),y("getInitData: Calling script_parameters.add()"),Y.add(e),e}function _(e,t,r,a,i){if(a||!n.no_synchronous_event_calls){var o=e+t+"?cb="+H()+"&ak="+B;h()&&(r.uuid=m("uuid")),r.request_id=x.request_id,q.sendPostRequest({url:o,payload:r,handlers:i,async:a})}}function y(e){P.push(e)}function p(e){return P}function h(){return!!n.defense_mode}function m(e){var t=k(e);return t?E(t.name):void 0}function A(e,t){var n=k(e);n&&D(n.name,t,n.max_age)}function k(e){return n.defense_cookies?n.defense_cookies[e]:void 0}function D(e,n,r){var a=new Date((new Date).getTime()+r).toUTCString();t.cookie=e+"="+n+"; expires="+a+"; path=/"}function E(e){for(var n=t.cookie.split(";"),r=e+"=",a=0;a<n.length;a++){for(var i=n[a];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(r))return i.substring(r.length,i.length)}return null}function C(t){var r="";try{r=e.location.href}catch(a){}var i="[not available]",o={href:r||i,attempt_key:B,publisher_key:n.publisher_key,AYAH_VERSION:n.AYAH_VERSION};try{V.addUserAgentData(o)}catch(s){error.ua_data=i}for(var c in t)t.hasOwnProperty(c)&&(o[c]=t[c]);var u=n.log_url+"error="+R.stringify(o);q.sendGetRequest(u)}function S(){try{if(y("Calling canRun()"),!r())return;y("Calling checkGoogleAnalytics()"),a(),y("Calling createLitter()"),o(G,n),y("Calling sendInitEvent()"),l(),y("Calling collector.collect()");try{O.collect(c)}catch(e){C({message:"collector_failure",error:e.message,stack:e.stack})}y("Waiting for call to ayahCleanup()")}catch(e){var t="[not available]";C({cat_status:p(),xhr_status:q.getStatus(),message:e.message||t,stack:e.stack||t})}}require("./collectData/polyfills");var b,w,R=require("./3rdparty/json3"),T=require("./collectData/config"),I=require("./collectData/Factory")(T,n,e,t),O=I.getCollector(),H=require("./getCacheBusterValue"),Y=I.getScriptParameterFunctions(),x=Y.get(),q=I.getXhr(),V=I.getLegacyCatFunctions(),N=I.getGoogleAnalyticsFunctions(),P=(I.getDebugFunction(),I.getStreamStatsDebugFunction(),[]),F=function(t){var n=20,r=1.5,a=function(){e.document&&e.document.body?t():(setTimeout(a,n),n*=r)};a()},U=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+"="+encodeURIComponent(e[n]));return t.join("&")},B=I.getUUID().make(),G="https:";F(S)}(window,document,AyahPublisherOptions);
},{"./3rdparty/json3":3,"./collectData/Factory":14,"./collectData/config":32,"./collectData/polyfills":33,"./getCacheBusterValue":34}],9:[function(require,module,exports){
var ayah_debug,window,Automation=function(){function n(n){return Number(Boolean(n))}var t={get:function(){var n=[];try{n=[o(),r(),u(),i(),e(),a(),w()]}catch(t){}return n}},o=function(){var n;try{null[0]()}catch(t){n=t}return Number(d(n.stack,"phantomjs://")>-1||window._phantom||window.__phantomas||window.callPhantom||0==navigator.onLine&&""==navigator.plugins)},r=function(){return n(window.Buffer)},u=function(){return n(window.emit)},i=function(){return n(window.spawn)},e=function(){return n(window.webdriver)},a=function(){return n(window.domAutomation||window.domAutomationController)},w=function(){return Number(0===window.outerWidth&&0===window.outerHeight)},d=function(n,t){if(!n||!t)return-1;for(var o=0;o<n.length;o++){var r=n.substring(o,o+t.length);if(r===t)return o}return-1};return t};module.exports=function(n,t){return window=n,ayah_debug=t.getDebugFunction(),Automation()};

},{}],10:[function(require,module,exports){
var ayah_debug,AyahConfig=function(){var t,r=function(e){return t?t:(t=this,void(this._config=this._extrapolateDefaults(e)))},n=r.prototype;n.getPayloadVersion=function(){try{return this._config.version}catch(t){}},n.getActiveStreams=function(){var t=[];try{for(var e=0;e<this._config.active_stream_groups.length;e++){var r=this._config.active_stream_groups[e];t=t.concat(this._config.stream_groups[r])}}catch(n){}return t},n.getStreamsWithLimits=function(){var t=this._config.streams;return this.getActiveStreams().filter(function(e){try{var r=t[e];return Boolean(r.min_tuples||r.max_tuples)}catch(n){return!1}})},n.getMinTuples=function(t){try{return this._config.streams[t].min_tuples}catch(e){}},n.getMaxTuples=function(t){try{return this._config.streams[t].max_tuples}catch(e){}},n.getInterval=function(t){try{return 1e3/this._config.streams[t].frequency}catch(e){}},n.getPollingInterval=function(t){try{var e=this._config.streams[t];return 1e3/e.polling_frequency||e.frequency}catch(r){}},n.getAllowRepetition=function(t){try{return 1==this._config.streams[t].allow_repetition}catch(e){}},n.getEvents=function(t){try{return this._config.streams[t].events}catch(e){}},n.getEventTarget=function(t){try{return this._config.streams[t].event_target}catch(e){}},n.getTupleFormat=function(t){try{return this._config.streams[t].tuple}catch(e){}},n.shouldSampleAll=function(t,e){try{return this._config.streams[t].sample_all.indexOf(e)>=0}catch(r){}},n.shouldGetInitialValue=function(t){try{return this._config.streams[t].get_initial_value||!1}catch(e){}},n.getPollingStreams=function(){var t=this._config.streams;return this.getActiveStreams().filter(function(e){try{return t[e].polling}catch(r){return!1}})},n._extrapolateDefaults=function(t){var e,r="defaults",n={},a={};r in t&&(a=t[r]);for(e in t)t.hasOwnProperty(e)&&e!=r&&("object"!=typeof t[e]||t[e]instanceof Array?n[e]=t[e]:n[e]=i(a,this._extrapolateDefaults(t[e])));return n};var i=function(t,r){var n=r instanceof Array,a=n&&[]||{};if(n){t=t||[],a=a.concat(t);for(var o in r)r.hasOwnProperty(o)&&(e=r[o],"undefined"==typeof a[o]?a[o]=e:"object"==typeof e?a[o]=i(t[o],e):-1===t.indexOf(e)&&a.push(e))}else{if(t&&"object"==typeof t)for(var c in t)t.hasOwnProperty(c)&&(a[c]=t[c]);for(var c in r)r.hasOwnProperty(c)&&("object"==typeof r[c]&&r[c]&&t[c]?a[c]=i(t[c],r[c]):a[c]=r[c])}return a};return r}();module.exports=function(t,e){return ayah_debug=e.getDebugFunction(),new AyahConfig(t)};

},{}],11:[function(require,module,exports){
var factory,options,config,running,callback,ayah_debug,window,stop_collection_timer,ingestor,polling_feed,event_feed,start_timestamp,collectData=function(t){if(!running){start_timestamp=(new Date).getTime(),running=!0,callback=t,window.onbeforeunload=stopCollection(!0);var e=factory.getCollectionLimit();e.on("collectionComplete",stopCollection(!1)),e.on("streamMaxTuplesCollected",stopStream),event_feed=factory.getEventFeed(),event_feed.start(),ingestor=factory.getIngestor(),polling_feed=factory.getPollingFeed(),ingestor.ingest(factory.getModernizrFeatures().getAll(),"modernizr"),ingestor.ingest(factory.getAutomation().get(),"automation"),ingestor.ingest(factory.getPerformance().get(),"performance"),factory.getPollingFeed().start()}},stopStream=function(t){event_feed.stop(t),polling_feed.stop(t),ingestor.stop(t)},stopCollection=function(t){return function(){if(running){var e=(new Date).getTimezoneOffset()/60;ingestor.ingest([start_timestamp,e],"data_collection_timer"),clearTimeout(stop_collection_timer),polling_feed.stop(),ingestor.stop(),event_feed.stop(),running=!1,"function"==typeof callback&&callback(t)}}},Collector={collect:collectData,stop:stopCollection(!1)};module.exports=function(t,e,o){return factory=o,config=factory.getAyahConfig(),ayah_debug=factory.getDebugFunction(),options=e,window=t,Collector};

},{}],12:[function(require,module,exports){
var EventFeed=function(){var t,e=function(e){return t?t:(t=this,this._factory=e,this._ingestor=e.getIngestor(),this._events=e.getEventManager(),this._config=e.getAyahConfig(),void(this._subscriptions={}))},s=e.prototype;return s.start=function(){this._subscribeToEvents()},s.stop=function(t){if("undefined"!=typeof t){var e=this._subscriptions[t];if(e){var s=this._events;e.events.forEach(function(t){s.remove(e.target,t,e.handler)}),delete this._subscriptions[t]}}else for(var i in this._subscriptions)this._subscriptions.hasOwnProperty(i)&&this.stop(i)},s._subscribeToEvents=function(){for(var t=this._config.getActiveStreams(),e=0;e<t.length;e++){var s=t[e];this._subscribeToEventsForObject(s)}},s._subscribeToEventsForObject=function(t){var e=this._config.getEvents(t);if(e){var s=this._factory.getBOM(this._config.getEventTarget(t)),i=this._ingestor,n=function(e){i.ingest(e,t)};this._subscriptions[t]={events:e,target:s,handler:n},this._events.addMultiple(s,e,n)}},e}();module.exports=function(t){return new EventFeed(t)};

},{}],13:[function(require,module,exports){
var ayah_debug,ayah_debug_verbose,EventManager=function(){var e,t=function(){return e?e:(e=this,void this.detectPassiveSupport())},n=t.prototype;return n.detectPassiveSupport=function(){try{var e=Object.defineProperty({},"passive",{get:function(){this._supports_passive=!0}});window.addEventListener("test",null,e)}catch(t){}},n.addMultiple=function(e,t,n){if(t instanceof Array)for(var a=0;a<t.length;a++)this.add(e,t[a],n)},n.add=function(e,t,n){e||(e=document);try{if(e.attachEvent){var a=function(e){return"undefined"!=typeof e?void n(e):void n(window.event)};return e.attachEvent("on"+t,a),void event_listeners[t].push({target:e,callback:a})}e.addEventListener(t,n,this._supports_passive?{passive:!0}:!1)}catch(r){}},n.remove=function(e,t,n){e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener(t,n,!1)},t}();module.exports=function(e){return ayah_debug=e.getDebugFunction(),ayah_debug_verbose=e.getVerboseDebugFunction(),new EventManager};

},{}],14:[function(require,module,exports){
var Factory=function(){var e,r,t,n=function(r,t,n,i){if(e)return e;this._options=t,e=this;var u=require("./AyahConfig");this._config=u(r,e),this._factory=this,this._window=n,this._document=i},i=n.prototype;return i.getAyahConfig=function(){return this._config},i.getOptions=function(){return this._options},i.getDebugFunction=function(){return require("../AyahDebug")(this.getOptions()).ayah_debug},i.getVerboseDebugFunction=function(){return require("../AyahDebug")(this.getOptions()).ayah_debug_verbose},i.getStreamStatsDebugFunction=function(){return require("../ayah_debug_stats")(e)},i.getXhr=function(){return require("../Xhr")(e)},i.getLegacyCatFunctions=function(){return require("./LegacyCatFunctions")(this._window,this._document,e)},i.getScriptParameterFunctions=function(){return require("./ScriptParameterFunctions")(this._document,this._options,e)},i.getGoogleAnalyticsFunctions=function(){return require("./GoogleAnalyticsFunctions")(e)},i.getUUID=function(){var e=require("./UUID");return new e},i.getEventManager=function(){var r=require("./EventManager");return r(e)},i.getTimer=function(){if(!r){var t=require("./Timer");r=t(e)}return r},i.getIngestor=function(){var r=require("./Ingestor");return r(e)},i.getBOM=function(e){var r={window:window,document:window.document,body:window.document.body,screen:window.screen};return e in r||(e="document"),r[e]},i.getEventFeed=function(){var r=require("./EventFeed");return r(e)},i.getPollingFeed=function(){var r=require("./PollingFeed");return r(e)},i.makeMorsel=function(r,t){var n=require("./Morsel");return n(e,r,t)},i.getTupleGetters=function(){var r=require("./TupleGetters");return r(e,this.getAyahConfig())},i.getSerializer=function(){var r=require("./FullSerializer");return r(e)},i.getStreamStats=function(){var r=require("./StreamStats");return r(e)},i.getModernizr=function(){var e=require("../3rdparty/modernizr-3.3.1-custom");return e(this._window,this._document,void 0)},i.getModernizrFeatures=function(){var r=require("./ModernizrFeatures");return r(e)},i.getAutomation=function(){var r=require("./Automation");return r(this._window,e)},i.getCollector=function(){return require("./Collector")(this._window,this._options,e)},i.getPerformance=function(){var r=require("./Performance")(e);return r()},i.getAddChecksum=function(){var r=require("./addChecksum")(e);return r()},i.getTupleCounter=function(e){var r=require("./TupleCounter");return new r(e)},i.getCollectionLimit=function(){return t||(t=require("./collection_limit")(e)),t},n}();module.exports=function(e,r,t,n){return new Factory(e,r,t,n)};

},{"../3rdparty/modernizr-3.3.1-custom":4,"../AyahDebug":5,"../Xhr":6,"../ayah_debug_stats":7,"./Automation":9,"./AyahConfig":10,"./Collector":11,"./EventFeed":12,"./EventManager":13,"./FullSerializer":15,"./GoogleAnalyticsFunctions":16,"./Ingestor":17,"./LegacyCatFunctions":18,"./ModernizrFeatures":19,"./Morsel":20,"./Performance":21,"./PollingFeed":22,"./ScriptParameterFunctions":23,"./StreamStats":24,"./Timer":25,"./TupleCounter":26,"./TupleGetters":27,"./UUID":28,"./addChecksum":30,"./collection_limit":31}],15:[function(require,module,exports){
var FullSerializer=function(){var t,r=function(r){return t?t:(t=this,this._ingestor=r.getIngestor(),this._factory=r,this._config=r.getAyahConfig(),this._last_tuple=null,void(this._next_index=0))},n=r.prototype;return n.getAllObservations=function(){var t=this._ingestor.getData(),r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=this._extractTuplesFromMorsels(t[n]));return r.version=this._config.getPayloadVersion(),r},n._getCombinedStreams=function(t,r){for(var n=[],e=0;e<t.length;e++){var i=t[e];r.hasOwnProperty(i)&&(n=n.concat(r[i]))}return n.sort(function(t,r){return t.millis-r.millis})},n._extractTuplesFromMorsels=function(t){for(var r=[],n=null,e=0;e<t.length;e++){var i=t[e];this._addTuples(r,i,n),n=i}return r},n._addTuples=function(t,r,n){var e=0;n&&(e=n.millis);for(var i=0;i<r.data.length;i++){var o=[r.millis-e],s=o.concat(r.data[i]);t.push(s)}},r}();module.exports=function(t){return new FullSerializer(t)};

},{}],16:[function(require,module,exports){
function getGoogleAnalyticsParams(e){var t;return e.GA_TID&&e.GA_CDI&&(t={tid:e.GA_TID,cdi:e.GA_CDI}),t}function sendGoogleAnalyticsData(e,t,a,n){function o(){var l=getGoogleAnalyticsObject(e);if(l){var r=getGoogleAnalyticsTracker(l,a);if(r)return a.cid=r.get("clientId"),void xhr.sendPostRequest({url:t.google_analytics_url+"/"+t.publisher_key+"?ak="+n+"&cb="+getCacheBusterValue(),payload:a,headers:[{name:"Content-type",value:"application/json"},{name:"X-Distil-Ajax",value:!0}],async:!0})}++i<t.google_analytics.max_polls&&setTimeout(o,t.google_analytics.poll_interval_ms)}var i=1;o()}function getGoogleAnalyticsObject(e){var t=e[e.GoogleAnalyticsObject||"ga"];return"function"==typeof t?t:void 0}function getGoogleAnalyticsTracker(e,t){var a;return e(function(){var n=e.getAll();n.forEach(function(e){return e.get("trackingId")==t.tid?void(a=e):void 0})}),a}var ayah_debug,getCacheBusterValue=require("../getCacheBusterValue"),ga_functions={getParams:getGoogleAnalyticsParams,sendData:sendGoogleAnalyticsData};module.exports=function(e){return ayah_debug=e.getDebugFunction(),xhr=e.getXhr(),ga_functions};

},{"../getCacheBusterValue":34}],17:[function(require,module,exports){
var ayah_debug,Ingestor=function(){var t,e=require("tiny-emitter"),s=function(e){return t?t:(t=this,this._all_stopped=!1,this._stopped_streams=[],this._factory=e,this._timer=e.getTimer(),this._config=e.getAyahConfig(),this._stats=e.getStreamStats(),this._data={},void this.init())};s.prototype=new e,s.constructor=s;var a=s.prototype;return a.ingest=function(t,e){if(!this._all_stopped&&-1===this._stopped_streams.indexOf(e)){var s=this._stats.start();try{var a=this._factory.makeMorsel(t,e);this._prepareMorsel(a)&&(this._data[a.type].push(a),this.emit("ingest",e))}catch(i){}this._stats.updateStats(e,s)}},a.stop=function(t){"undefined"==typeof t?this._all_stopped=!0:-1===this._stopped_streams.indexOf(t)&&this._stopped_streams.push(t)},a.getData=function(){return this._data},a.init=function(){for(var t=this._config.getActiveStreams(),e=0;e<t.length;e++){var s=t[e];this._data[s]=[]}},a._prepareMorsel=function(t){var e=this._getLastSample(t.type);return this._canAcceptMorsel(t,e)&&t.makeTuples()?this._checkDuplicateTuples(t,e):!1},a._canAcceptMorsel=function(t,e){return void 0==e?!0:t.mustSample()?!0:t.sample_num>e.sample_num},a._checkDuplicateTuples=function(t,e){return void 0==e?!0:this._config.getAllowRepetition(t.type)?!0:t.data.length!==e.data.length?!0:this._compareAllTuples(t,e)},a._compareAllTuples=function(t,e){for(var s=t.data.length,a=0;s>a;a++)if(this._compareTuple(t.data[a],e.data[a]))return!0;return!1},a._compareTuple=function(t,e){for(var s=t.length,a=0;s>a;a++)if(t[a]!==e[a])return!0;return!1},a._getLastSample=function(t){if(this._data[t]){var e=this._data[t];return e[e.length-1]}},s}();module.exports=function(t){return ayah_debug=t.getDebugFunction(),new Ingestor(t)};

},{"tiny-emitter":1}],18:[function(require,module,exports){
var ayah_debug,ayah_debug_verbose,window,document,addDeviceData=function(e){"undefined"==typeof e&&(e={});var t=get_container_dimension();return e.device_screen_width=t.x,e.device_screen_height=t.y,e.iframe=inIframe(),e.iframe_depth=getFrameDepth(self),e.history_depth=getHistoryDepth(),getPublisherDomain()&&(e.pd=getPublisherDomain()),e},getPublisherDomain=function(){try{return window.location.hostname}catch(e){return!1}},getHistoryDepth=function(){try{return window.history.length}catch(e){return-1}},getFrameDepth=function(e){try{return e===window.top?0:e.parent===window.top?1:1+getFrameDepth(e.parent)}catch(t){return-1}},get_container_dimension=function(){function e(e,t){try{if("undefined"!=typeof e&&"undefined"!=typeof e[t])return e[t]}catch(n){}}var t={x:0,y:0};try{var n=window,r=document,i=r.documentElement,a=r.getElementsByTagName("body")[0],o=e(n,"innerWidth")||e(i,"clientWidth")||e(a,"clientWidth")||0,u=e(n,"innerHeight")||e(i,"clientHeight")||e(a,"clientHeight")||0;t={x:parseInt(o,10),y:parseInt(u,10)}}catch(d){}return t},inIframe=function(){try{return window.self!==window.top}catch(e){return!0}},pruneEmptyStrings=function(e){for(var t in e)if(e.hasOwnProperty(t))switch(typeof e[t]){case"string":e[t].length||delete e[t];break;case"object":pruneEmptyStrings(e[t])}},addUserAgentData=function(e){void 0==typeof e&&(e={});var t=require("ua-parser-js"),n=new t.UAParser,r=n.getResult();return pruneEmptyStrings(r),e.ua_browser_name=r.browser.name,e.ua_browser_version=r.browser.version,e.ua_browser_major=r.browser.major,e.ua_engine_name=r.engine.name,e.ua_engine_version=r.engine.version,e.ua_os_name=r.os.name,e.ua_os_version=r.os.version,e.ua_device_model=r.device.model,e.ua_device_type=r.device.type,e.ua_device_vendor=r.device.vendor,e.ua_cpu_architecture=r.cpu.architecture,e};module.exports=function(e,t,n){return window=e,document=t,ayah_debug=n.getDebugFunction(),ayah_debug_verbose=n.getVerboseDebugFunction(),{addDeviceData:addDeviceData,addUserAgentData:addUserAgentData}};

},{"ua-parser-js":2}],19:[function(require,module,exports){
var Modernizr,ayah_debug_verbose,ModernizrFeatures={getAll:function(){if("object"!=typeof Modernizr)return[];var e={formvalidationapi:0,formvalidationmessage:0};return this._unrollProperties(Modernizr,e),e},_unrollProperties:function(e,r,o){"undefined"==typeof o&&(o="");for(var n in e)if(e.hasOwnProperty(n)&&"_"!==n.substr(0,1)){var t=e[n];"object"!=typeof t||t===!1||t===!0?("string"==typeof e[n],r[o+n]=this._numericValue(t)):this._unrollProperties(t,r,o+n+".")}},_numericValue:function(e){return"probably"===e?2:e===!0||"maybe"===e?1:e===!1||""===e?0:e}};module.exports=function(e){return ayah_debug_verbose=e.getVerboseDebugFunction(),Modernizr=e.getModernizr(),ModernizrFeatures};

},{}],20:[function(require,module,exports){
var Morsel=function(){var t=function(t,e,i,r){this._timer=t.getTimer(),this._config=t.getAyahConfig(),this._factory=t,this.data=e,this.type=i,"number"==typeof r?this.millis=r:this.millis=this._getObjectTimestamp(e),this.sample_num=Math.floor(this.millis/this._config.getInterval(i))},e=t.prototype;return e.mustSample=function(){try{return this._config.shouldSampleAll(this.type,this.data.type)}catch(t){}return!1},e.makeTuples=function(){var t=this._factory.getTupleGetters().get(this);return t?(this.data=t,!0):!1},e._getObjectTimestamp=function(t){var e=this._timer.currentTime();return this._timer.getTimeElapsed(e)},t}();module.exports=function(t,e,i,r){return new Morsel(t,e,i,r)};

},{}],21:[function(require,module,exports){
var ayah_debug,Performance=function(){var r=function(e,n){return 1e-8>e?n:n>e?r(n-Math.floor(n/e)*e,e):e==n?e:r(n,e)};return{get:function(){var e=0;try{for(var n=performance.now()/1e3,o=performance.now()/1e3-n,a=0;10>a;a++)o=r(o,performance.now()/1e3-n);o>0&&(e=Math.round(1/o))}catch(t){}return e}}};module.exports=function(r){return ayah_debug=r.getDebugFunction(),Performance};

},{}],22:[function(require,module,exports){
"use strict";var config,stream,ayah_debug,running=!1,stopped_intervals=[],start=function(){if(!running){ingestInitialValues();var n=config.getPollingStreams();running=!0,n.forEach(setupInterval)}},stop=function(n){"undefined"==typeof n?running=!1:-1===stopped_intervals.indexOf(n)&&stopped_intervals.push(n)},setupInterval=function(n){var t=config.getPollingInterval(n),e=makeHandler(n,t);e()},makeHandler=function(n,t){var e=function(){running&&-1===stopped_intervals.indexOf(n)&&(stream.ingest(null,n),setTimeout(e,t))};return e},ingestInitialValues=function(){for(var n=config.getActiveStreams(),t=0;t<n.length;t++){var e=n[t];config.shouldGetInitialValue(e)&&stream.ingest(null,e)}},interval_feed={start:start,stop:stop};module.exports=function(n){return config=n.getAyahConfig(),stream=n.getIngestor(),ayah_debug=n.getDebugFunction(),interval_feed};

},{}],23:[function(require,module,exports){
"use strict";function getDistiltagScriptObject(){if("object"==typeof document.currentScript&&null!=document.currentScript&&"string"==typeof document.currentScript.src)return document.currentScript;var t="distiltag_script_"+options.publisher_key,r=document.getElementById(t);if(r)return r;for(var e=new RegExp(options.script_param_regexp_str),a=document.getElementsByTagName("script"),i=a.length-1;i>=0;i--)if(e.test(a[i].src))return a[i]}function getParamsFromDataAttribute(t){if(t){var r=t.getAttribute("data-distiltag-params");return parseRawScriptParameters(r,",")}}function getParamsFromQueryString(t){if(t){var r=t.src;if(-1!=r.indexOf("?")){var e=r.substring(r.indexOf("?")+1);return parseRawScriptParameters(e,"&")}}}function getParamsFromMetaTag(){for(var t=document.getElementsByTagName("meta"),r=0;r<t.length;r++)if("distiltag-params"==t[r].getAttribute("name")){var e=t[r].getAttribute("content");return parseRawScriptParameters(e,",")}}function parseRawScriptParameters(t,r){if(t){for(var e,a={},i=decodeURIComponent,s=t.split(r),n=s.length-1;n>=0;n--)e=s[n].split("="),a[i(e[0])]=i(e[1]);return a}}var ayah_debug,script_params,document,options,getScriptParameters=function(){if(script_params)return script_params;var t=getDistiltagScriptObject();return(script_params=getParamsFromDataAttribute(t))?script_params:(script_params=getParamsFromQueryString(t))?script_params:(script_params=getParamsFromMetaTag())?script_params:script_params={}},addScriptParameters=function(t){var r=getScriptParameters();for(var e in r)0==e.indexOf("AYAH_")&&(t[e]=r[e]);return t};module.exports=function(t,r,e){return document=t,options=r,ayah_debug=e.getDebugFunction(),{get:getScriptParameters,add:addScriptParameters}};

},{}],24:[function(require,module,exports){
var ayah_debug,StreamStats=function(){var t,e=function(e){return t?t:(t=this,this._stats={},this._timer=e.getTimer(),this._config=e.getAyahConfig(),void this.init())},i=e.prototype;return i.init=function(){for(var t=this._config.getActiveStreams(),e=0,i=t.length;i>e;e++){var r=t[e];this._stats[r]={count:0,time:0,avg:0}}},i.start=function(){return this._timer.getPerfTime()},i.updateStats=function(t,e){var i=this._timer.getPerfTime()-e,r=this._stats;if(t in r){var a=r[t];a.time+=i,a.count++}},i.getStats=function(){return this.getAverages(),this._stats},i.getAggregateStats=function(){var t=this._stats,e=0,i=0;for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];e+=a.count,i+=a.time}var n=0;return e&&(n=i/e),{count:e,time:i,average:n}},i.getAverages=function(){var t=this._stats,e=[];for(var i in t)if(t.hasOwnProperty(i)){var r=t[i];r.count&&(r.avg=parseFloat((r.time/r.count).toFixed(3))),e.push(r.avg)}return e},e}();module.exports=function(t){return ayah_debug=t.getDebugFunction(),new StreamStats(t)};

},{}],25:[function(require,module,exports){
var Timer=function(){var t,e=function(e){return t?t:(t=this,this._config=e.getAyahConfig(),void(this._start_time=this.currentTime()))},r=e.prototype;return r.currentTime=function(){return(new Date).getTime()},r.getPerfTime=function(){try{return window.performance.now()}catch(t){return this.currentTime()}},r.getTimeElapsed=function(t){return t-this._start_time},r.getStartTime=function(){return this._start_time},r.getTimeElapsedNow=function(){return this.getTimeElapsed(this.currentTime())},e}();module.exports=function(t){return new Timer(t)};

},{}],26:[function(require,module,exports){
var TupleCounter=function(t){this._whitelist=t||[],this._streams={}},proto=TupleCounter.prototype;proto.countTuple=function(t){return!t||this._whitelist.length&&-1===this._whitelist.indexOf(t)?!1:(this._streams[t]=(this._streams[t]||0)+1,!0)},proto.getCounts=function(){return this._streams},module.exports=TupleCounter;

},{}],27:[function(require,module,exports){
var ayah_debug,ayah_debug_verbose,Util=require("./Util"),JSON=require("../3rdparty/json3"),TupleGetters=function(){var t,e={VOWEL:0,CONSONANT:1,NUMERIC:2,OTHER:3,CONTROL:4},n=function(e){return this._config=e,t?t:void(t=this)},r=n.prototype;r.get=function(t){return this.getTupleWith(t,this._config.getTupleFormat(t.type))||this.getTupleWith(t,t.type)},r.getTupleWith=function(t,e){if("function"==typeof this[e])try{return this[e](t)}catch(n){}},r.mousemove=function(t){var e=[d(t.data.clientX),d(t.data.clientY)].map(a);return[e]},r.mousebuttons=function(t){var e=[t.data.buttons].map(a);return[e]};var o={next:0,map:{},makeUnique:function(t){var e=this.map[t];return void 0!==e?e:(e=this.next++,this.map[t]=e,e)},startMotion:function(t){delete this.map[t]}};r.fulltouch=function(t){for(var e=[],n=0;n<t.data.changedTouches.length;n++){var r=t.data.changedTouches[n],i=f(t.data),u=r.identifier;1==i&&o.startMotion(u),e.push([o.makeUnique(u),s(r.clientX),s(r.clientY),l(r.radiusX),l(r.radiusY),l(r.rotationAngle),l(r.force),i].map(a))}return e},r.motion=function(t){var e=[c(t.data.accelerationIncludingGravity.x),c(t.data.accelerationIncludingGravity.y),c(t.data.accelerationIncludingGravity.z)].map(a);return[e]},r.orientation=function(t){var e=[h(t.data.alpha),h(t.data.beta),h(t.data.gamma)].map(a);return[e]},r.scroll=function(t){var e=m([window,"scrollX"],[document,"documentElement.scrollLeft"]),n=m([window,"scrollY"],[document,"documentElement.scrollTop"]),r=[e,n].map(a);return[r]},r.key=function(t){var e=t.data.keyCode,n=i(e),r=[n];try{}catch(o){}return[r]};var i=function(t){var n=String.fromCharCode(t);return t>=65&&90>=t||t>=97&&122>=t?"aeiouy".indexOf(n.toLowerCase())>=0?e.VOWEL:e.CONSONANT:t>=48&&57>=t?e.NUMERIC:[8,9,13,27,127].indexOf(t)>=0||t>=37&&40>=t||t>=33&&36>=t||t>=112&&123>=t?e.CONTROL:e.OTHER};r.sortedProperties=function(t,e){for(var n=Util.sortedObjectKeys(t.data),r=[],o=0;o<n.length;o++){var i=n[o];r.push(t.data[i])}return"function"==typeof e&&(r=e(r)),[r]},r.sortedPropertiesHash=function(t){return this.sortedProperties(t,function(t){return t.join("")})},r.singleTupleAsIs=function(t){return[t.data]},r.viewport_size=function(){var t=[m([window,"innerWidth"],[document,"documentElement.clientWidth"],[document,"body.clientWidth"]),m([window,"innerHeight"],[document,"documentElement.clientHeight"],[document,"body.clientHeight"])].map(a);return[t]},r.window_size=function(){var t=[m([window,"outerWidth"],[document,"documentElement.clientWidth"]),m([window,"outerHeight"],[document,"documentElement.clientHeight"])].map(u);return[t]},r.window_position=function(){var t=[window.screenX,window.screenY].map(u);return[t]},r.screen_geometry=function(){var t=window.screen,e=[t.width,t.height,t.availWidth,t.availHeight].map(u);return[e]},r.body_size=function(){var t=document.body,e=[m([t,"scrollWidth"],[t,"offsetWidth"],[t,"clientWidth"],[document,"documentElement.scrollWidth"],[document,"documentElement.offsetWidth"],[document,"documentElement.clientWidth"]),m([t,"scrollHeight"],[t,"offsetHeight"],[t,"clientHeight"],[document,"documentElement.scrollHeight"],[document,"documentElement.offsetHeight"],[document,"documentElement.clientHeight"])].map(a);return[e]};var u=function(t){return void 0===t?null:t},a=function(t){return"number"==typeof t?t||0:0},c=function(t){return Math.round(10*t)/10},d=function(t){return Math.round(t)},l=function(t){return Math.round(100*t)/100},s=function(t){return Math.round(10*t)/10},h=function(t){return Math.round(100*t)/100},f=function(t){switch(t.type){case"touchend":return 0;case"touchstart":return 1;case"touchcancel":return 3;default:return 2}},m=function(){var t,e=Array.prototype.slice.call(arguments),n=e.shift();try{if(!(n instanceof Array))return n;var r=n[0],o=n[1],i=o.split("."),u=i.shift();if(t=r[u],i.length)return n=[t,i.join(".")],e.unshift(n),m.apply(void 0,e)}catch(a){}return"undefined"!=typeof t?t:e.length?m.apply(void 0,e):void 0};return n}();module.exports=function(t,e){return ayah_debug=t.getDebugFunction(),ayah_debug_verbose=t.getVerboseDebugFunction(),new TupleGetters(e)};

},{"../3rdparty/json3":3,"./Util":29}],28:[function(require,module,exports){
function UUID(){}UUID.prototype.UUID_LENGTH=33,UUID.prototype.UUID_NUMBER_BASE=16,UUID.prototype.make=function(){for(var t="",o=this.getRandomNumbers(),n=0;n<o.length;n++){var e=o[n];e%=this.UUID_NUMBER_BASE,t+=e.toString(this.UUID_NUMBER_BASE)}return t},UUID.prototype.getRandomNumbers=function(){var t,o=this.getCryptoApi();return o?(t=new Uint8Array(this.UUID_LENGTH),o.getRandomValues(t)):(t=new Array(this.UUID_LENGTH),this.getRandomValuesLegacy(t)),t},UUID.prototype.getRandomValuesLegacy=function(t){var o,n,e,r=(new Date).getTime();try{e=window.location.hostname+window.location.path+window.location.search+window.location.hash}catch(U){}for(var a=0;a<t.length;a++)n=Math.floor(Math.random()*this.UUID_NUMBER_BASE),o=r,e&&(o+=e.charCodeAt(a%e.length)),t[a]=n+o,r=Math.floor(r/this.UUID_NUMBER_BASE)},UUID.prototype.getCryptoApi=function(){return window.crypto&&window.crypto.getRandomValues?window.crypto:window.msCrypto&&window.msCrypto.getRandomValues?window.msCrypto:null},module.exports=UUID;

},{}],29:[function(require,module,exports){
module.exports={sortedObjectKeys:function(r){var e=[];for(var o in r)r.hasOwnProperty(o)&&e.push(o);return e.sort(),e}};
},{}],30:[function(require,module,exports){
var ayah_debug,ayah_debug_verbose,Util=require("./Util"),JSON=require("../3rdparty/json3"),addChecksum=function(){function r(r){r=String(r);for(var e=arguments.length<2?79764919:arguments[1]>>>0,t=arguments.length<3?4294967295:arguments[2]>>>0,n=arguments.length<4?4294967295:arguments[3]>>>0,a=new Array(256),o=function(r,e){for(var t=0;--e>=0;)t<<=1,t|=1&r,r>>>=1;return t},u=-1;++u<256;){for(var g=o(u,32),i=-1;++i<8;)g=(g<<1^(g>>>31&1)*e)>>>0;a[u]=o(g,32)}for(var c=t,h=r.length,v=-1;++v<h;){var d=r.charCodeAt(v);if(d>255)throw new RangeError;var f=255&c^d;c=(c>>>8^a[f])>>>0}return(c^n)>>>0}var e="c";return function(t){var n=-1;try{for(var a=Util.sortedObjectKeys(t),o="",u=0;u<a.length;u++){var g=a[u];g!=e&&(o+=JSON.stringify(t[g]))}n=r(o)}catch(i){}t[e]=n}};module.exports=function(r){return ayah_debug=r.getDebugFunction(),ayah_debug_verbose=r.getVerboseDebugFunction(),addChecksum};

},{"../3rdparty/json3":3,"./Util":29}],31:[function(require,module,exports){
var Emitter=require("tiny-emitter"),emitter=new Emitter,config,ayah_debug,ingestor,stop_collection_timer,max_collection_time_seconds=300,max_check_frequency=10,check_interval=1e3/max_check_frequency,last_check=0,followup_check_timeout,counter,checkCounts=function(){if(hasReachedMax("mousemove")||hasReachedMax("touch")||numStreamsAtMax()>=2||numStreamsAtMin()>=4){try{}catch(e){}stopCollection()}},hasReachedMax=function(e){return checkTupleCount(e,config.getMaxTuples(e))},hasReachedMin=function(e){return checkTupleCount(e,config.getMinTuples(e))},checkTupleCount=function(e,t){var n=counter.getCounts();return n[e]&&void 0!=t?n[e]>=t:!1},numStreamsAtMax=function(){return numStreamsAtLimit(hasReachedMax)},numStreamsAtMin=function(){return numStreamsAtLimit(hasReachedMin)},numStreamsAtLimit=function(e){var t=counter.getCounts(),n=0;for(var o in t)t.hasOwnProperty(o)&&e(o)&&n++;return n},stopCollection=function(){clearTimeout(stop_collection_timer),ingestor.off("ingest",onIngest),emitter.emit("collectionComplete")},throttledCheckCounts=function(){return(new Date).getTime()-last_check<check_interval?(clearTimeout(followup_check_timeout),void(followup_check_timeout=setTimeout(throttledCheckCounts,check_interval))):(last_check=(new Date).getTime(),void checkCounts())},onIngest=function(e){counter.countTuple(e);var t=config.getMaxTuples(e);t&&counter.getCounts()[e]===t&&emitter.emit("streamMaxTuplesCollected",e),throttledCheckCounts()};module.exports=function(e){config=e.getAyahConfig(),ayah_debug=e.getDebugFunction(),ingestor=e.getIngestor(),ingestor.on("ingest",onIngest);var t=config.getStreamsWithLimits();if(!t.length)throw new Error("No stream limits specified!");return counter=e.getTupleCounter(t),stop_collection_timer=setTimeout(stopCollection,1e3*max_collection_time_seconds),{onIngest:onIngest,on:function(e,t){emitter.on(e,t)}}};

},{"tiny-emitter":1}],32:[function(require,module,exports){
var config={version:2,streams:{defaults:{allow_repetition:!1,frequency:50},touch:{events:["touchmove","touchstart","touchend","touchcancel"],sample_all:["touchstart","touchend","touchcancel"],tuple:"fulltouch",min_tuples:20,max_tuples:80},motion:{events:["devicemotion"],event_target:"window",min_tuples:20,max_tuples:60},orientation:{events:["deviceorientation"],event_target:"window",min_tuples:20,max_tuples:60},scroll:{events:["scroll"],event_target:"window",min_tuples:15,max_tuples:60},mousebuttons:{events:["mousedown","mouseup"]},mousemove:{events:["mousemove"],min_tuples:20,max_tuples:80},keydown:{events:["keydown"],tuple:["key"],allow_repetition:!0},keyup:{events:["keyup"],tuple:["key"],allow_repetition:!0},modernizr:{tuple:"sortedPropertiesHash"},data_collection_timer:{tuple:"singleTupleAsIs"},automation:{tuple:"singleTupleAsIs"},performance:{tuple:"singleTupleAsIs"},window_size:{events:["resize"],event_target:"window",polling:!0,polling_frequency:5,get_initial_value:!0},window_position:{polling_frequency:5,polling:!0,get_initial_value:!0},body_size:{polling_frequency:5,polling:!0,get_initial_value:!0},screen_geometry:{polling_frequency:1,polling:!0,get_initial_value:!0},viewport_size:{events:["resize"],polling_frequency:5,polling:!0,event_target:"window",get_initial_value:!0}},stream_groups:{events:["data_collection_timer","touch","scroll","mousebuttons","mousemove","keyup","keydown","modernizr","automation","performance","viewport_size","window_size","screen_geometry","window_position","body_size"]},active_stream_groups:["events"]};module.exports=config;

},{}],33:[function(require,module,exports){
"use strict";function CustomEvent(t,r){r=r||{bubbles:!1,cancelable:!1,detail:void 0};var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,r.bubbles,r.cancelable,r.detail),o}"function"!=typeof window.CustomEvent&&(CustomEvent.prototype=window.Event.prototype,window.CustomEvent=CustomEvent),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){var r=this.length>>>0,o=Number(arguments[1])||0;for(o=0>o?Math.ceil(o):Math.floor(o),0>o&&(o+=r);r>o;o++)if(o in this&&this[o]===t)return o;return-1}),Array.prototype.filter||(Array.prototype.filter=function(t){if(void 0===this||null===this)throw new TypeError;var r=Object(this),o=r.length>>>0;if("function"!=typeof t)throw new TypeError;for(var e=[],n=arguments.length>=2?arguments[1]:void 0,i=0;o>i;i++)if(i in r){var a=r[i];t.call(n,a,i,r)&&e.push(a)}return e}),Array.prototype.map||(Array.prototype.map=function(t){for(var r=[],o=0,e=this.length;e>o;o++)r.push(t(this[o]));return r}),Array.prototype.forEach||(Array.prototype.forEach=function(t,r){var o,e;if(null==this)throw new TypeError("this is null or not defined");var n=Object(this),i=n.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(o=r),e=0;i>e;){var a;e in n&&(a=n[e],t.call(o,a,e,n)),e++}});

},{}],34:[function(require,module,exports){
var getCacheBusterValue=function(){var e=Date.now(),a=Math.round(1e7*Math.random());return e+":"+a};module.exports=getCacheBusterValue;
},{}]},{},[8]);
