/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/
/******/ // define getter function for harmony exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ if(!__webpack_require__.o(exports, name)) {
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ }
/******/ };
/******/
/******/ // define __esModule on exports
/******/ __webpack_require__.r = function(exports) {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = __webpack_require__(value);
/******/ if(mode & 8) return value;
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ return ns;
/******/ };
/******/
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";
/******/
/******/
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = "./referrer-cookie-azure.js");
/******/ })
/************************************************************************/
/******/ ({
/***/ "./referrer-cookie-azure.js":
/*!**********************************!*\
!*** ./referrer-cookie-azure.js ***!
\**********************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("referrerCookieCreator();\n\nfunction referrerCookieCreator() {\n var calledDispatchEventAlready = false;\n var userCacheAllowedWebsite = [\"abacho.com\", \"debriefing.com\", \"allbusiness.comfind.com\", \"ar.yahoo.com\", \"ar.search.yahoo.com\", \"asia.yahoo.com\", \"asia.search.yahoo.com\", \"ask.com\", \"ask.co.uk\", \"au.yahoo.com\", \"au.search.yahoo.com\", \"br.yahoo.com\", \"br.search.yahoo.com\", \"ca.yahoo.com\", \"ca.search.yahoo.com\", \"qc.yahoo.com\", \"cf.search.yahoo.com\", \"ct.yahoo.com\", \"ct.search.yahoo.com\", \"hermia.com\", \"cyberbritain.co.uk\", \"de.yahoo.com\", \"de.search.yahoo.com\", \"dictionary.com\", \"dk.yahoo.com\", \"dk.search.yahoo.com\", \"search.dmoz.com\", \"dmoz.com\", \"es.yahoo.com\", \"es.search.yahoo.com\", \"telemundo.yahoo.com\", \"espanol.search.yahoo.com\", \"search.msn.ch\", \"fr.ch.msn.com\", \"fr.yahoo.com\", \"fr.search.yahoo.com\", \"theglobe.com\", \"globelists.theglobe.com\", \"mail.ru\", \"go.mail.ru\", \"google.co\", \"googlesyndication.com\", \"hk.yahoo.com\", \"hk.search.yahoo.com\", \"id.yahoo.com\", \"id.search.yahoo.com\", \"in.yahoo.com\", \"in.search.yahoo.com\", \"infoseek.com\", \"infoseek.go.com\", \"it.yahoo.com\", \"it.search.yahoo.com\", \"kids.yahoo.com\", \"kids.yahoo.com\", \"kr.yahoo.com\", \"kr.search.yahoo.com\", \"linkcentre.com\", \"looksmart.com\", \"looksmart.co.uk\", \"malaysia.yahoo.com\", \"malaysia.search.yahoo.com\", \"metapro.com\", \"metadog.com\", \"uk.search.msn.com\", \"msn.co.uk\", \"mx.yahoo.com\", \"mx.search.yahoo.com\", \"net1000_net.search.everyone.net\", \"net1000.net\", \"netsearchvoyager.com\", \"netsearch.org\", \"nl.yahoo.com\", \"nl.search.yahoo.com\", \"no.yahoo.com\", \"no.search.yahoo.com\", \"nz.yahoo.com\", \"nz.search.yahoo.com\", \"ph.yahoo.com\", \"ph.search.yahoo.com\", \"questfinder.com\", \"questfinder.net\", \"rex-search.com\", \"rex-search.com\", \"ru.yahoo.com\", \"ru.search.yahoo.com\", \"savvysearch.com\", \"savvy.search.com\", \"se.yahoo.com\", \"se.search.yahoo.com\", \"search.aol.com\", \"search.aol.ca\", \"aol.co.uk\", \"search.aol.co.uk\", \"search.bluewin.ch\", \"search.bluewindow.ch\", \"cn.yahoo.com\", \"search.cn.yahoo.com\", \"marchsearch.com\", \"search.curryguide.com\", \"daum.net\", \"search.daum.net\", \"dreamwiz.com\", \"search.dreamwiz.com\", \"empas.com\", \"search.empas.com\", \"excite.ca\", \"search.excite.ca\", \"sympatico.msn.ca\", \"search.fr.msn.ca\", \"item.froute.jp\", \"search.froute.jp\", \"icqit.com\", \"search.icq.com\", \"lycos.com\", \"search.lycos.com\", \"lycol.de\", \"search.lycos.de\", \"metacrawler.com\", \"search.metacrawler.com\", \"nate.com\", \"search.nate.com\", \"naver.com\", \"search.naver.com\", \"t1msn.com.mx\", \"search.prodigy.msn.com\", \"yahoo.co.jp\", \"search.yahoo.co.jp\", \"yahoo.com\", \"search.yahoo.com\", \"excitesearch.netscape.com\", \"searchexcite.netscape.com\", \"sg.yahoo.com\", \"sg.search.yahoo.com\", \"suche.aol.de\", \"suche.aolsvc.de\", \"surfcentral.net\", \"th.yahoo.com\", \"th.search.yahoo.com\", \"tw.yahoo.com\", \"tw.search.yahoo.com\", \"uk.yahoo.com\", \"uk.search.yahoo.com\", \"vn.yahoo.com\", \"vn.search.yahoo.com\", \"netsearch.org\", \"altavista.co\", \"msxml.excite.com\", \"webcrawler.com\", \"hotbot.lycos.com\", \"overture.com\", \"dejanews.com\", \"100hot.com\", \"northernlight.com\", \"zensearch.com\", \"anzwers.com\", \"jumpcity.com\", \"linkmaster.com\", \"search.nationaldirectory.com\", \"splatsearch.com\", \"stpt.com\", \"thenet1.com\", \"mamma.com\", \"dogpile.com\", \"gonet.com\", \"home.snap.com\", \"msn.com\", \"infotiger.com\", \"thunderstone.com\", \"ilse.nl\", \"soeg.jubii.dk\", \"altavista.de\", \"excite.de\", \"fireball.de\", \"web.de\", \"vindex.nl\", \"nomade.fr\", \"netscape.com\", \"directhit.com\", \"searches.org\", \"searchalot.com\", \"look4it.com\", \"acesearch.co.uk\", \"adfree4u.com\", \"aeiwi.com\", \"afterpage.com\", \"blue.ah-ha.com\", \"allamericasbest.com\", \"alltheweb.com\", \"p-search.virtualave.net\", \"beguide.com\", \"buyersindex.com\", \"bytesearch.com\", \"hotlaunch.com\", \"dazzo.com\", \"deoji.com\", \"doginfo.com\", \"euroseek.com\", \"finalsearch.com\", \"findlink.com\", \"fishhoo.com\", \"kanoodle.com\", \"fullwebinfo.com\", \"galaxy.tradewave.com\", \"generalsearch.com\", \"geoboz.com\", \"globecrawler.com\", \"infoseek.go.com\", \"gobutton.com\", \"goeureka.com.au\", \"goo.ne.jp\", \"help-site.com\", \"highway61.com\", \"hotindex.com\", \"search.infomak.com\", \"searchidea.com\", \"internet-times.com\", \"internettrash.com\", \"ioport.com\", \"i-stores.com\", \"jayde.com\", \"virtualpromote.com\", \"kazazz.com\", \"linkcenter.com\", \"linkopedia.com\", \"listoflists.com\", \"lokace.com\", \"locate.com\", \"loquax.co.uk\", \"aaa.com.au\", \"maxban.com\", \"mcfind.com\", \"mygo.com\", \"fansites.com\", \"netbreach.com\", \"net-fetch.com\", \"netfinderusa.com\", \"netgoat.com\", \"nexet.net\", \"officialsearch.com\", \"oingo.com\", \"oneseek.com\", \"onwashington.com\", \"dmoz.org\", \"orbit.net\", \"pandia.com\", \"pngnetsearch.com\", \"point.com\", \"powersearch.com\", \"premierstores.com\", \"interavisos.hypermart.net\", \"rageworld.com\", \"rank.stars.ru\", \"scopie.com\", \"scour.com\", \"scrubtheweb.com\", \"searchcity.co.uk\", \"infospace.com\", \"searchking.com\", \"searchviking.com\", \"search.ch\", \"cnet.search.com\", \"searchhound.com\", \"searchit.com\", \"searchport.org\", \"shoppingaide.com\", \"simplesearch.com\", \"simplypets.com\", \"smartbeak.com\", \"soquick.com\", \"thestomp.hypermart.net\", \"search.stopat.com\", \"sunbrain.com\", \"supersnooper.com\", \"search.metajump.com\", \"surfer.ch\", \"idealist.com\", \"thebestmall.com\", \"thebighub.com\", \"theinfodepot.com\", \"theyellowpages.com\", \"togglebot.com\", \"toozen.com\", \"topfile.com\", \"totalseek.com\", \"search.ukmax.com\", \"up4u.com\", \"directory.verita.com\", \"waypages.com\", \"webtrawler.com\", \"webpath.net\", \"websearchk.com\", \"web-search.com\", \"webtop.com\", \"whatsnu.com\", \"intra.whatuseek.com\", \"chubba.com\", \"wizzler.com\", \"worldlight.com\", \"yeehaa.com\", \"zinos.com\", \"worldbazaar.com\", \"webwombat.com.au\", \"webwombat.com\", \"toocool.com\", \"spiderbot.net\", \"dxpnet.com\", \"search.about.com\", \"nl.excite.com\", \"zoek.nl\", \"excite.com.au\", \"excite.ch\", \"excite.fr\", \"infoseek.co.uk\", \"infoseek.de\", \"yupi.com\", \"nbci.com\", \"toile.com\", \"google.de\", \"search.msn.de\", \"dino-online.de\", \"google.ch\", \"search.msn.at\", \"google.nl\", \"google.at\", \"google.be\", \"suchen.abacho.de\", \"google.cl\", \"virgilio.it\", \"libero.it\", \"search.msn.it\", \"supereva.it\", \"tiscali.it\", \"lycos.it\", \"google.it\", \"it.altavista.com\", \"godado.it\", \"lycos.fr\", \"search.msn.fr\", \"google.fr\", \"aol.fr\", \"fr.altavista.com\", \"search.msn.es\", \"lycos.es\", \"starmedia.com\", \"ozu.es\", \"es.altavista.com\", \"search.msn.se\", \"passagen.se\", \"spray.se\", \"se.altavista.com\", \"search.ch\", \"ch.altavista.com\", \"suche.ch\", \"lycos.co.uk\", \"google.co.uk\", \"uk.altavista.com\", \"seznam.cz\", \"search.nifty.com\", \"search.biglobe.ne.jp\", \"google.co.jp\", \"infoseek.co.jp\", \"search.msn.co.jp\", \"excite.co.jp\", \"search.fresheye.com\", \"google.com.au\", \"search.ninemsn.com.au\", \"google.ca\", \"google.co.nz\", \"google.co.in\", \"google.com.br\", \"google.co.cr\", \"search.msn.co.kr\", \"search.wanadoo.co.uk\", \"tiscali.co.uk\", \"google.es\", \"sensis.com.au\", \"seeq.com\", \"myway.com\", \"smartpages.com\", \"reference.com\", \"fleecethenet.co.uk\", \"search.curryguide.com\", \"qksearch.com\", \"feynd.com\", \"quepasa.com\", \"teoma.com\", \"wisenut.com\", \"fastsearch.com\", \"iwon.com\", \"search.com\", \"findwhat.com\", \"enhance.com\", \"rocketlinks.com\", \"findit-quick.com\", \"truesearch.com\", \"37.com\", \"profusion.com\", \"infinisearch.net\", \"themegaweb.com\", \"gohip.com\", \"lookabout.stormpages.com\", \"ixquick.com\", \"metaeureka.com\", \"metagopher.com\", \"monstercrawler.com\", \"multimeta.com\", \"supercrawler.com\", \"1st-spot.net\", \"abrexa.co.uk\", \"mirago.co.uk\", \"ukplus.com\", \"uksearcher.co.uk\", \"limeysearch.co.uk\", \"ukindex.co.uk\", \"allsearchengines.co.uk\", \"swift.kerna.ie\", \"search.irl.com\", \"austronaut.at\", \"webbel.be\", \"euregio.net\", \"eniro.dk\", \"kolumbus.fi\", \"soneraplaza.fi\", \"webstudio.fi\", \"telefrance.com\", \"bellnet.de\", \"columbus-finder.de\", \"flix.de\", \"suchmaschine.com\", \"heureka.hu\", \"arianna.libero.it\", \"luxpoint.lu\", \"pi.net\", \"surfboard.nl\", \"kvasir.no\", \"galileu.com\", \"clix.pt\", \".sol.es\", \"terra.es\", \"apali.com\", \"jopinet.com\", \"searchiberia.com\", \"trovator.com\", \"hispavista.com\", \"100.nu\", \"tjohoo.se\", \"dir.bg\", \"tipmoto.com\", \"sherlock.cz\", \"wow.pl\", \"wp.pl\", \"netsprint.pl\", \"polishworld.com\", \"rol.ro\", \"centre.ru\", \"holms.ru\", \"aport.ru\", \"data.ru\", \"serbiancafe.com\", \"beocity.com\", \"szm.sk\", \"surf.sk\", \"matkurja.com\", \"woyaa.com\", \"ananzi.co.za\", \"egyptsearch.com\", \"tapuz.co.il\", \"walla.co.il\", \"southasia.net\", \"search.oznetwork.com.au\", \"dialindia.com\", \"khoj.com\", \"searchnz.co.nz\", \"ntsearch.com\", \"yehey.com\", \"vietgate.net\", \"pagemontreal.com\", \"alcanseek.com\", \"buscapique.com\", \"wepa.com\", \"brujula.net\", \"grippo.com.ar\", \"istmania.com\", \"thebrazilbridge.com\", \"busca.uol.com.br\", \"exploora.com.br\", \"13.cl\", \"huifa.cl\", \"todocl.cl\", \"conexcol.com\", \"voila.fr\", \"vinden.nl\", \"usseek.com\", \"hotbot.co.uk\", \"google.ie\", \"google.lu\", \"google.ro\", \"google.lt\", \"google.dk\", \"google.sk\", \"google.se\", \"google.fi\", \"google.pt\", \"google.pl\", \"google.gg\", \"google.ru\", \"google.startsiden.no\", \"google.ae\", \"au.anzwers.yahoo.com\", \"ca.altavista.com\", \"msn.co.uk\", \"search.msn.co.il\", \"search.msn.co.za\", \"search.msn.nl\", \"search.msn.be\", \"google.lv\", \"zoeken.nl\", \"search.ilse.nl\", \"find.wanadoo.nl\", \"zoeken.hetnet.nl\", \"track.nl\", \"eerstekeuze.nl\", \"lycol.nl\", \"nl.altavista.com\", \"baidu.com\", \"371.com\", \"chinese.yahoo.com\", \"at.search.yahoo.com\", \"search.livedoor.com\", \"kelkoo.se\", \"se.pricerunner.com\", \"google.no\", \"no.kelkoo.com\", \"abcsok.no\", \"sesam.no\", \"search.msn.no\", \"no.altavista.com\", \"search.msn.dk\", \"dk.kelkoo.com\", \"dk.altavista.com\", \"berlingske.dk\", \"soeg.ofir.dk\", \"search.nifty.com\", \"shopping.search.jp\", \"ask.jp\", \"business.com\", \"rambler.ru\", \"search.live.com\", \"google.cn\", \"google.co.vi\", \"search.msn.co.in\", \"google.ht\", \"google.vu\", \"google.ge\", \"google.com.ni\", \"google.co.uz\", \"google.gm\", \"google.com.ag\", \"google.com.ai\", \"google.tp\", \"google.co.th\", \"google.com.tw\", \"google.co.il\", \"google.am\", \"odn.excite.co.jp\", \"google.com.ua\", \"google.co.kr\", \"google.vg\", \"google.com.na\", \"google.com.uy\", \"google.as\", \"google.tm\", \"google.tt\", \"google.com.ec\", \"search.goo.ne.jp\", \"google.ci\", \"google.sc\", \"google.gr\", \"dion.excite.co.jp\", \"google.com.ly\", \"google.bs\", \"google.com.nf\", \"google.com.tj\", \"google.kg\", \"google.sh\", \"google.com.et\", \"google.com.mt\", \"ch.search.yahoo.com\", \"google.bi\", \"search.latam.msn.com\", \"search.msn.com.sg\", \"google.tk\", \"search.msn.com.ph\", \"google.co.zm\", \"google.co.za\", \"google.co.zw\", \"google.com.ph\", \"google.com.hk\", \"google.cg\", \"fi.search.yahoo.com\", \"google.dm\", \"google.st\", \"google.rw\", \"google.jo\", \"google.cz\", \"yandex.ru\", \"wakwak.com\", \"search.msn.com.tw\", \"google.sn\", \"google.je\", \"google.com.sg\", \"google.co.ug\", \"google.com.jm\", \"google.com.py\", \"google.com.pa\", \"google.com.gt\", \"google.hn\", \"google.com.gi\", \"google.gl\", \"google.com.sv\", \"google.com.co\", \"google.hu\", \"google.co.id\", \"google.is\", \"google.pn\", \"google.com.tr\", \"google.com.pe\", \"google.mn\", \"google.com.af\", \"google.mw\", \"google.co.ma\", \"google.ms\", \"google.li\", \"google.fm\", \"google.mu\", \"google.md\", \"google.com.my\", \"google.mv\", \"google.com.mx\", \"google.nu\", \"google.com.vn\", \"google.com.ng\", \"google.kz\", \"google.co.ls\", \"cafesta.com\", \"google.ki\", \"google.nr\", \"google.la\", \"webalta.ru\", \"google.com.np\", \"google.co.ke\", \"google.im\", \"google.com.sb\", \"google.com.bz\", \"google.gy\", \"google.com.pr\", \"google.com.om\", \"google.hr\", \"google.com.cu\", \"google.si\", \"google.co.ck\", \"search.msn.com.tr\", \"google.lk\", \"google.com.bo\", \"google.az\", \"google.co.bw\", \"google.com.bh\", \"google.com.bd\", \"google.bg\", \"google.com.kh\", \"google.com.ar\", \"google.ba\", \"google.com.bn\", \"google.to\", \"google.cd\", \"google.com.fj\", \"google.com.vc\", \"so-net.search.goo.ne.jp\", \"search.msn.com.cn\", \"google.com.qa\", \"search.msn.ie\", \"search.msn.com.my\", \"google.co.ve\", \"msn.co.nz\", \"google.com.pk\", \"search.msn.com.hk\", \"google.com.do\", \"search.msn.com.br\", \"google.com.sa\", \"google.dj\", \"google.gp\", \"google.ee\", \"google.ws\", \"google.com.eg\", \"search.msn.co.id\", \"google.sm\", \"google.co.yu\", \"google.com.by\", \"google.sina.com\", \"google.cn\", \"google.sina.com.hk\", \"google.sina.com.tw\", \"mobile.yahoo.co.jp\", \"ezsch.ezweb.ne.jp\", \"crooz.jp\", \"dir.m.livedoor.com\", \"ohnew.co.jp\", \"s.mbga.jp\", \"search.m.infoseek.co.jp\", \"search.kbg.jp\", \"search.mobile.goo.ne.jp\", \"m.live.com\", \"ad.searchteria.co.jp\", \"cuil.com\", \"eniro.fi\", \"eniro.se\", \"bing.com\", \"zbozi.cz\", \"atlas.cz\", \"centrum.cz\", \"kakaku.com\", \"auok.auone.jp\", \"aldn.jp\", \"m.mixi.jp\", \"tkmf.jp\", \"baidu.jp\", \"docomo.ne.jp\", \"mbkn.jp\", \"r.search.yahoo.com\", \"yandex.com\", \"duckduckgo.com\", \"new.yippy.com\", \"entireweb.com\", \"us.yhs4.search.yahoo.com\", \"alothome.com\", \"ask.com\", \"atavi.com\", \"au.yahoo.com\", \"baidu.com\", \"be.yahoo.com\", \"bing.com\", \"br.yahoo.com\", \"ca.yahoo.com\", \"cc.bingj.com\", \"cn.bing.com\", \"coccoc.com\", \"com.google.android\", \"cse.google\", \"de.yahoo.com\", \"duckduckgo.com\", \"easysearch\", \"ecosia.org\", \"encrypted.google\", \"en-maktoob.yahoo.com\", \"es.yahoo.com\", \"espanol.yahoo.com\", \"everything.yahoo.com\", \"excite.com\", \"finance.yahoo.com\", \"firmy.cz\", \"fr.yahoo.com\", \"fr-be.yahoo.com\", \"gigablast.com\", \"google.at\", \"google.be\", \"google.by\", \"google.ca\", \"google.ch\", \"google.cl\", \"google.cm\", \"google.co.in\", \"google.co.jp\", \"google.co.kr\", \"google.co.uk\", \"google.com\", \"google.com.ar\", \"google.com.au\", \"google.com.br\", \"google.com.co\", \"google.com.cy\", \"google.com.gh\", \"google.com.gr\", \"google.com.kw\", \"google.com.lb\", \"google.com.mm\", \"google.com.mx\", \"google.com.pk\", \"google.com.sg\", \"google.com.tr\", \"google.com.tw\", \"google.de\", \"google.dk\", \"google.dz\", \"google.es\", \"google.fr\", \"google.gccpw.cn\", \"google.ie\", \"google.iq\", \"google.it\", \"google.nl\", \"google.pl\", \"google.ps\", \"google.pt\", \"google.rs\", \"google.tn\", \"googleweblight.com\", \"googleweblight.com\", \"gr.yahoo.com\", \"green.search.goo.ne.jp\", \"hao123.com\", \"hk.yahoo.com\", \"hotbot.com\", \"id.yahoo.com\", \"ie.yahoo.com\", \"in.yahoo.com\", \"index.about.com\", \"info.dogpile.com\", \"info.searchall.com\", \"informationvine.com\", \"internet-start.net\", \"isearch.avg.com\", \"i-searchresults.com\", \"it.yahoo.com\", \"maktoob.yahoo.com\", \"malaysia.yahoo.com\", \"mediacomtoday.com\", \"mobile.yahoo.com\", \"mojeek.com\", \"mplore.com\", \"hp.myway.com\", \"myway.com\", \"nz.yahoo.com\", \"ph.yahoo.com\", \"qc.yahoo.com\", \"qwant.com\", \"results.searchlock.com\", \"ro.yahoo.com\", \"se.yahoo.com\", \"search.1and1.com\", \"search.abclauncher.com\", \"search.alothelp.com\", \"search.aol.com\", \"search.avira.com\", \"search.earthlink.net\", \"search.excite.com\", \"search.gmx.com\", \"search.gmx.net\", \"search.handy-tab.com\", \"search.info.com\", \"search.infospace.com\", \"search.lilo.org\", \"search.mail.com\", \"search.mcent.com\", \"search.monstercrawler.com\", \"search.mysearch.com\", \"search.myway.com\", \"search.selfbutler.com\", \"search.seznam.cz\", \"search.start.fyi\", \"search.sweetim.com\", \"search.xfinity.com\", \"search.xyz\", \"search.yahoo.com\", \"search1.eu\", \"searchencrypt.com\", \"searchprivacy.co\", \"sg.yahoo.com\", \"sogou.com\", \"sports.yahoo.com\", \"start.att.net\", \"start.iminent.com\", \"start.me\", \"start.yoursearch.me\", \"startpage.com\", \"suche.1und1.de\", \"suche.gmx.net\", \"surf.bluetouch.hk\", \"swisscows.com\", \"torch.start.me\", \"tw.yahoo.com\", \"uk.yahoo.com\", \"us.search.yahoo.com\", \"utorrent.inspsearch.com\", \"vn.yahoo.com\", \"webcache.googleusercontent\", \"wiki.com\", \"wow.com\", \"baidu.com\", \"bing.com\", \"detectbest.com\", \"discretesearch.com\", \"diylife.com\", \"ecosia.org\", \"enow.com\", \"finecomb.com\", \"gopher.com\", \"gtec.com\", \"info.com\", \"informationvine.com\", \"izito.com\", \"kadaza.com\", \"lavuar.com\", \"myprivatesearch.com\", \"netfind.com\", \"qpl-search.com\", \"sapo.com\", \"searchencrypt.com\", \"searchincognito.com\", \"shopfone.com\", \"so.com\", \"startpage.com\", \"symbaloo.com\", \"webaddresshelp.com\", \"yahoo.com\", \"yandex.com\", \"yandex.com.tr\", \"yandex.ru\", \"youtube.com\", \"za.yahoo.com\", \"zapmeta.com\", \"zapmetasearch\", \"zen.yandex.ru\", \"zhidao.baidu.com\"];\n\t\n\tvar referalcookiens = (function () {\n\t\tvar generate = function (\n\t\t\treferrerHostName,\n\t\t\treferrerCurrentValue,\n\t\t\tcmp,\n\t\t\tcmpSource\n\t\t) {\n\t\t\tvar str = \"\";\n\t\t\tif (\n\t\t\t\treferrerCurrentValue !== undefined &&\n\t\t\t\treferrerCurrentValue !== null &&\n\t\t\t\treferrerCurrentValue !== \"\"\n\t\t\t) {\n\t\t\t\tstr = referrerCurrentValue;\n\t\t\t} else {\n\t\t\t\tstr = referalcookiens.determineReferrerType(referrerHostName);\n\t\t\t}\n\n\t\t\tif (cmp !== undefined && cmp !== null && cmp !== \"\") {\n\t\t\t\tstr = cmp;\n\t\t\t}\n\n\t\t\ttransformedSegment = referalcookiens.transform(str, cmpSource);\n\n\t\t\treturn transformedSegment;\n\t\t};\n\n\t\tvar dispatchEventForSolarwindsSubdomain = function (setEVars) {\n\t\t\tvar swidCookie = referalcookiens.getCookie(\"SWI_SiteCatalyst_ID\");\n\t\t\tvar referralCookie = referalcookiens.getCookie(\"SWI_Referral\");\n\n\t\t\tif (swidCookie && swidCookie !== \"\" && referralCookie && referralCookie !== \"\") {\n\t\t\t\tdocument.body.dispatchEvent(setEVars);\n\t\t\t\tcalledDispatchEventAlready = true;\n\t\t\t}\n\t\t};\n\n\t\tvar dispatchEventForNonSolarwindsSubdomain = function (setEVars) {\n\t\t\tdocument.body.dispatchEvent(setEVars);\n\t\t\tcalledDispatchEventAlready = true;\n\t\t};\n\n\n\t\tvar isUpdateNeeded = function (\n\t\t\tcurrentReferralCookieValue,\n\t\t\tcampaignValue,\n\t\t\tcampaignSource\n\t\t) {\n\t\t\tif (campaignValue !== null) return true;\n\t\t\tif (campaignSource !== null) return true;\n\t\t\tif (\n\t\t\t\tcurrentReferralCookieValue === undefined ||\n\t\t\t\tcurrentReferralCookieValue === null ||\n\t\t\t\tcurrentReferralCookieValue === \"\"\n\t\t\t) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t};\n\n\t\tvar extractHostname = function (url) {\n\t\t\tvar hostname;\n\t\t\t//find & remove protocol (http, ftp, etc.) and get hostname\n\t\t\tif (url.indexOf(\"://\") > -1) {\n\t\t\t\thostname = url.split(\"/\")[2];\n\t\t\t} else {\n\t\t\t\thostname = url.split(\"/\")[0];\n\t\t\t}\n\n\t\t\t//find & remove port number\n\t\t\thostname = hostname.split(\":\")[0];\n\t\t\t//find & remove \"?\"\n\t\t\thostname = hostname.split(\"?\")[0];\n\n\t\t\treturn hostname.replace(\"www.\", \"\");\n\t\t};\n\n\t\tvar isValidGuid = function (guid) {\n\t\t\treturn /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(guid);\n\t\t};\n\n\t\tvar setWindowsEventForIframe = function (currentReferrerValue, gGuid, ste, stp,cmp, cmpSource, referrerHostName) {\n\t\t\tvar validGuid, referer;\n\t\t\tvar eventMethod = window.addEventListener\n\t\t\t\t? \"addEventListener\"\n\t\t\t\t: \"attachEvent\";\n\t\t\tvar eventer = window[eventMethod];\n\n\t\t\tvar messageEvent =\n\t\t\t\teventMethod === \"attachEvent\" ? \"onmessage\" : \"message\";\n\n\t\t\tvalidGuid = gGuid;\n\t\t\teventer(messageEvent, function (e) {\n\t\t\t\t\n\t\t\t\tif (e.origin.indexOf(\"referrer.solarwinds.com\") > -1) {\n\t\t\t\t\tvar data = JSON.parse(e.data);\n\t\t\t\t\tif (\n\t\t\t\t\t\tdata.SWI_SiteCatalyst_ID !== \"\" &&\n\t\t\t\t\t\tdata.SWI_SiteCatalyst_ID !== undefined &&\n\t\t\t\t\t\tdata.SWI_SiteCatalyst_ID !== null\n\t\t\t\t\t) {\n\t\t\t\t\t\tif (isValidGuid(data.SWI_SiteCatalyst_ID)) {\n\t\t\t\t\t\t\tvalidGuid = data.SWI_SiteCatalyst_ID;\n\t\t\t\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\t\t\t\"SWI_SiteCatalyst_ID\",\n\t\t\t\t\t\t\t\tdata.SWI_SiteCatalyst_ID,\n\t\t\t\t\t\t\t\t730, 0,\n\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t//validGuid = gGuid;\n\t\t\t\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\t\t\t\"SWI_SiteCatalyst_ID\",\n\t\t\t\t\t\t\t\tgGuid,\n\t\t\t\t\t\t\t\t730, 0,\n\t\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\t\t\"SWI_SiteCatalyst_ID\",\n\t\t\t\t\t\t\tgGuid,\n\t\t\t\t\t\t\t730, 0,\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\t(data.SWI_Referral !== \"\" &&\n\t\t\t\t\t\t\tdata.SWI_Referral !== undefined &&\n\t\t\t\t\t\t\tdata.SWI_Referral !== null &&\n\t\t\t\t\t\t\tdata.SWI_Referral !== \"undefined\")\n\t\t\t\t\t) {\n\t\t\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\t\t\"SWI_Referral\",\n\t\t\t\t\t\t\tdata.SWI_Referral,\n\t\t\t\t\t\t\t0, 30,\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t\t);\n\t\t\t\t\t\treferalcookiens.referer = data.SWI_Referral;\n\t\t\t\t\t\treferrerCurrentValue = data.SWI_Referral;\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\treferer = currentReferrerValue;\n\t\t\t\t\t\tcurrentValue = referer;\n\t\t\t\t\t\treferalcookiens.createCookie(\"SWI_Referral\", referer, 0, 30, \"\");\n\t\t\t\t\t}\n\n\t\t\t\t\tif (referalcookiens.isUpdateNeeded(referrerCurrentValue, cmp, cmpSource)) {\n\t\t\t\t\t\tcurrentValue = referalcookiens.generate(\n\t\t\t\t\t\t\treferrerHostName,\n\t\t\t\t\t\t\treferrerCurrentValue,\n\t\t\t\t\t\t\tcmp,\n\t\t\t\t\t\t\tcmpSource\n\t\t\t\t\t\t);\n\t\t\t\t\t\tif (currentValue !== null && currentValue !== \"\") {\n\t\t\t\t\t\t\treferalcookiens.createCookie(\"SWI_Referral\", currentValue, 0, 30, \"\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\t//do nothing...\n\t\t\t\t\t}\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tdata.SWI_SiteParticipation !== \"\" &&\n\t\t\t\t\t\tdata.SWI_SiteParticipation !== undefined &&\n\t\t\t\t\t\tdata.SWI_SiteParticipation !== null\n\t\t\t\t\t) {\n\t\t\t\t\t\tstp = referalcookiens.updateSiteParticipation(data.SWI_SiteParticipation);\n\t\t\t\t\t}\n\n\t\t\t\t\treferalcookiens.createCookie(\"SWI_SiteParticipation\", stp, 0, 0, \"\");\n\n\t\t\t\t\tif (\n\t\t\t\t\t\tdata.SWI_EntrySite !== \"\" &&\n\t\t\t\t\t\tdata.SWI_EntrySite !== undefined &&\n\t\t\t\t\t\tdata.SWI_EntrySite !== null\n\t\t\t\t\t) {\n\t\t\t\t\t\tste = data.SWI_EntrySite;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\treferalcookiens.createCookie(\"SWI_EntrySite\", ste , 0, 0,\"\");\n\n\t\t\t\t\treferalcookiens.addImageToBody(referalcookiens.getCookie(\"SWI_Referral\"), validGuid, stp, ste);\n\t\t\t\t\treferalcookiens.createCookie(\"CookieSynced\", \"true\", 0, 0, \"\");\n\n\t\t\t\t\t//Raise DTM event here at this point the SWI Sitecatalyst cookie is set and won't change.\n\t\t\t\t\t//this event is used in DTM to populate EVAR for Sitecatalyst\n\t\t\t\t\tvar setEVars = new CustomEvent(\"trackingCookiesReadyEvent\", { \"bubbles\": true });\n\t\t\t\t\treferalcookiens.dispatchEventForNonSolarwindsSubdomain(setEVars);\n\t\t\t\t}\n\t\t\t});\n\t\t};\n\n\t\tvar getParameterByName = function (name, url) {\n\t\t\tif (!url) url = window.location.href;\n\t\t\tname = name.replace(/[\\[\\]]/g, \"\\\\$&\");\n\t\t\tvar regex = new RegExp('[?&]' + name + '(=([^]*)|&|#|$)', 'i');\n\t\t\tresults = regex.exec(url);\n\n\t\t\tif (!results) return null;\n\t\t\tif (!results[2]) return \"\";\n\t\t\treturn decodeURIComponent(results[2].replace(/\\+/g, \" \"));\n\t\t};\n\n\t\tvar generateGuid = function () {\n\t\t\treturn (guid = (\n\t\t\t\treferalcookiens.s4() +\n\t\t\t\treferalcookiens.s4() +\n\t\t\t\t\"-\" +\n\t\t\t\treferalcookiens.s4() +\n\t\t\t\t\"-4\" +\n\t\t\t\treferalcookiens.s4().substr(0, 3) +\n\t\t\t\t\"-\" +\n\t\t\t\treferalcookiens.s4() +\n\t\t\t\t\"-\" +\n\t\t\t\treferalcookiens.s4() +\n\t\t\t\treferalcookiens.s4() +\n\t\t\t\treferalcookiens.s4()\n\t\t\t).toLowerCase());\n\t\t};\n\n\t\tvar checkIfDomainExists = function (domainname) {\n if (userCacheAllowedWebsite.indexOf(domainname) === -1) return false;\n\t\t\treturn true;\n\t\t};\n\n\t\tvar s4 = function () {\n\t\t\treturn (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);\n\t\t};\n\n\t\t//Add the image tag so that we can pass all the info to Solarwinds.com domain.\n\t\tvar addImageToBody = function (rfc, vid, stp, ste) {\n\t\t\trfc = encodeURIComponent(rfc);\n\t\t\tvid = encodeURIComponent(vid);\n\t\t\tstp = encodeURIComponent(stp);\n\t\t\tste = encodeURIComponent(ste);\n\t\t\tvar url = \"https://\" + \"referrer.solarwinds.com\" + \"/api/refinfo/?rfc=\" + rfc + \"&vid=\" + vid + \"&stp=\" + stp + \"&ste=\" + ste;\n\t\t\tvar frame = \"\";\n\t\t\treferalcookiens.appendHtml(document.body, frame);\n\t\t};\n\n\t\tvar addIframeToBody = function () {\n\t\t\tvar url = \"https://\" + \"referrer.solarwinds.com\" +\"/api/refinfo/?sync\";\n\t\t\tvar frame = \"\";\n\t\t\treferalcookiens.appendHtml(document.body, frame);\n\t\t};\n\n\t\tvar getCookie = function (cname) {\n\t\t\tvar name = cname + \"=\";\n\t\t\tvar decodedCookie = decodeURIComponent(document.cookie);\n\t\t\tvar ca = decodedCookie.split(\";\");\n\t\t\tfor (var i = 0; i < ca.length; i++) {\n\t\t\t\tvar c = ca[i];\n\t\t\t\twhile (c.charAt(0) === \" \") {\n\t\t\t\t\tc = c.substring(1);\n\t\t\t\t}\n\t\t\t\tif (c.indexOf(name) === 0) {\n\t\t\t\t\treturn c.substring(name.length, c.length);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn \"\";\n\t\t};\n\n\t\tvar createCookie = function (name, value, days, minutes, domainName) {\n\t\t\tvar expires;\n\t\t\tvar cookiestr;\n\n\t\t\tif (days > 0) {\n\t\t\t\tvar date = new Date();\n\t\t\t\tdate.setTime(date.getTime() + days * 24 * 60 * 60 * 1000);\n\t\t\t\texpires = \"; expires=\" + date.toGMTString();\n\t\t\t\tif (domainName !== \"\")\n\t\t\t\t\tcookiestr =\n\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\texpires +\n\t\t\t\t\t\t\"; path=/\" +\n\t\t\t\t\t\t\";domain=\" +\n\t\t\t\t\t\tdomainName;\n\t\t\t\telse\n\t\t\t\t\tcookiestr =\n\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\texpires +\n\t\t\t\t\t\t\"; path=/;\";\n\t\t\t}\n\t\t\telse if (minutes > 0) {\n\t\t\t\tvar shortDate = new Date();\n\t\t\t\tshortDate.setTime(shortDate.getTime() + minutes * 60 * 1000);\n\t\t\t\texpires = \"; expires=\" + shortDate.toGMTString();\n\t\t\t\tif (domainName !== \"\")\n\t\t\t\t\tcookiestr =\n\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\texpires +\n\t\t\t\t\t\t\"; path=/\" +\n\t\t\t\t\t\t\";domain=\" +\n\t\t\t\t\t\tdomainName;\n\t\t\t\telse\n\t\t\t\t\tcookiestr =\n\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\texpires +\n\t\t\t\t\t\t\"; path=/;\";\n\n\t\t\t}\n\n\t\t\telse {\n\t\t\t\tif (domainName !== \"\") {\n\t\t\t\t\tcookiestr =\n\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\t\"; path=/\" +\n\t\t\t\t\t\t\";domain=\" +\n\t\t\t\t\t\tdomainName;\n\t\t\t\t} else {\n\t\t\t\t\tif (name !== \"CookieSynced\") {\n\t\t\t\t\t\tcookiestr =\n\t\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\t\t\"; path=/;\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar date = new Date();\n\t\t\t\t\t\tdate.setTime(date.getTime() + 10 * 60000);\n\t\t\t\t\t\texpires = \"; expires=\" + date.toGMTString();\n\t\t\t\t\t\tcookiestr =\n\t\t\t\t\t\t\tencodeURIComponent(name) +\n\t\t\t\t\t\t\t\"=\" +\n\t\t\t\t\t\t\tencodeURIComponent(value) +\n\t\t\t\t\t\t\texpires +\n\t\t\t\t\t\t\t\"; path=/;\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcookiestr += \";SameSite=None;Secure;\";\n\t\t\tdocument.cookie = cookiestr;\n\t\t};\n\n\t\tvar transform = function (refval, sourceValue) {\n\t\t\tvar arr = refval.split(\"-\");\n\t\t\tvar i, transformedseg;\n\t\t\tvar maxLength = 7;\n\t\t\tvar arrMaxLength = arr.length > maxLength ? maxLength : arr.length;\n\n\t\t\tif (\n\t\t\t\tsourceValue !== undefined &&\n\t\t\t\tsourceValue !== null &&\n\t\t\t\tsourceValue !== \"\"\n\t\t\t) {\n\t\t\t\ttransformedseg = [\"X\", \"X\", \"X\", \"X\", \"X\", \"X\", \"X\"];\n\t\t\t\tfor (i = 0; i < arrMaxLength; i++) {\n\t\t\t\t\ttransformedseg[i] = arr[i];\n\t\t\t\t}\n\t\t\t\ttransformedseg[6] = sourceValue;\n\t\t\t\treturn (\n\t\t\t\t\ttransformedseg[0] +\n\t\t\t\t\t\"-\" +\n\t\t\t\t\ttransformedseg[1] +\n\t\t\t\t\t\"-\" +\n\t\t\t\t\ttransformedseg[2] +\n\t\t\t\t\t\"-\" +\n\t\t\t\t\ttransformedseg[3] +\n\t\t\t\t\t\"-\" +\n\t\t\t\t\ttransformedseg[4] +\n\t\t\t\t\t\"-\" +\n\t\t\t\t\ttransformedseg[5] +\n\t\t\t\t\t\"-\" +\n\t\t\t\t\ttransformedseg[6]\n\t\t\t\t);\n\t\t\t}\n\n\t\t\ttransformedseg = arr[0];\n\t\t\tfor (i = 1; i < arrMaxLength; i++) {\n\t\t\t\ttransformedseg += \"-\" + arr[i];\n\t\t\t}\n\n\t\t\treturn transformedseg;\n\t\t};\n\n\t\tvar determineReferrerType = function (uri) {\n\t\t\tif (uri === undefined || uri === null || uri === \"\") {\n\t\t\t\treturn \"DIRECT\";\n\t\t\t}\n\n\t\t\tif (uri == hostName) {\n\t\t\t\treturn \"ORGANIC\";\n\t\t\t} \n\n\t\t\tif (checkIfDomainExists(uri)) {\n\t\t\t\treturn \"ORGANIC\";\n\t\t\t}\n\t\t\treturn \"REFDOM\";\n\t\t};\n\n\t\tvar getSiteId = function () {\n\t\t\tvar siteId = \"\";\n\t\t\tif (typeof dataLayer !== \"undefined\" && dataLayer && dataLayer.site && dataLayer.site.id !== undefined) {\n\t\t\t\tsiteId = dataLayer.site.id;\n\t\t\t} else if (typeof _satellite !== \"undefined\") {\n siteId = _satellite.getVar(\"dataLayer-site-SiteID\");\n\t\t\t\tif (siteId === undefined || siteId === null || siteId === \"\") {\n\t\t\t\t\tsiteId = _satellite.getVar(\"site-id\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (siteId === undefined || siteId === null || siteId === \"\") {\n\t\t\t\tsiteId = \"0\";\n\t\t\t}\n\t\t\treturn siteId;\n\t\t};\n\t\t \n\t\tvar updateSiteParticipation = function (siteParticipationCurrentValue) {\n\t\t\tvar siteId = getSiteId();\n\n\t\t\t//invalid current stp value\n\t\t\tif(siteParticipationCurrentValue === null || \n\t\t\t\tsiteParticipationCurrentValue === undefined || \n\t\t\t\tsiteParticipationCurrentValue === \"\"){\n\t\t\t\treturn '1--' + siteId;\n\t\t\t}\n\n\t\t\tvar stpArray = siteParticipationCurrentValue.split('--');\n\t\t\tvar stpIdsArray = stpArray[1].split('-');\n\n\t\t\t//check if last website visited corresponds to the current siteId\n\t\t\tif(stpIdsArray[stpIdsArray.length - 1] === siteId)\n\t\t\t{\n\t\t\t\treturn siteParticipationCurrentValue;\n\t\t\t}\n\n\t\t\t//5 visited sites already in the cookie\n\t\t\tif(stpIdsArray.length > 4){\n\t\t\t\treturn (parseInt(stpArray[0]) + 1) + \"--\" + stpIdsArray[1] + '-' + stpIdsArray[2] + '-' + stpIdsArray[3] + '-' + stpIdsArray[4] + '-' + siteId;\n\t\t\t}\n\n\t\t\treturn siteParticipationCurrentValue + '-' + siteId;\n\t\t};\n\n\t\tvar appendHtml = function (el, str) {\n\t\t\tvar div = document.createElement(\"div\");\n\t\t\tdiv.innerHTML = str;\n\t\t\twhile (div.children.length > 0) {\n\t\t\t\tel.appendChild(div.children[0]);\n\t\t\t}\n\t\t};\n\n\t\tvar cleanUpGrainedCPDetailsCookies = function ()\n\t\t{\n\t\t\ttry {\n\t\t\t\tvar grainedCookiesRegex = /^swi_c_o_(\\d(\\d?)(\\d?))_do$|^swi_c_o_(\\d(\\d?)(\\d?))_dex$|^swi_ti_p(\\d)$|^swi_ti_(ns|ip|ro)$/gm;\n\t\t\t\tvar decodedCookie = decodeURIComponent(document.cookie);\n\t\t\t\tvar ca = decodedCookie.split(\";\");\n\t\t\t\tfor (var i = 0; i < ca.length; i++) {\n\t\t\t\t\tvar c = ca[i];\n\t\t\t\t\twhile (c.charAt(0) === \" \") {\n\t\t\t\t\t\tc = c.substring(1);\n\t\t\t\t\t}\n\t\t\t\t\tvar key = c.split(\"=\")[0];\n\t\t\t\t\tif (key.match(grainedCookiesRegex)) {\n\t\t\t\t\t\tdocument.cookie = key + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=.solarwinds.com;\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tcatch (e) {\n\t\t\t\tconsole.error(\"Error while CPDetails cookie cleanup: \" + e);\n\t\t\t} \t\t\t\n\t\t}\n\n var processCPDetailsCookie = function() {\n\t\t\ttry {\n\t\t\t\tvar cpDetailsCookie = referalcookiens.getCookie(\"CPDetails\");\n\t\t\t\tif (cpDetailsCookie) {\n\t\t\t\t\tvar cpDetailsCookieObject = JSON.parse(cpDetailsCookie);\n\t\t\t\t\tif (cpDetailsCookieObject) {\n\t\t\t\t\t\tvar owned = cpDetailsCookieObject.Owned;\n\t\t\t\t\t\tif (owned) {\n var addCustomPersonalizationCookie = false;\n\t\t\t\t\t\t\tfor (var i = 0; i < owned.length; i++) {\n\t\t\t\t\t\t\t\tvar currentProductInfo = owned[i].split(\"|\");\n\t\t\t\t\t\t\t\tif (currentProductInfo && currentProductInfo.length > 2) {\n\t\t\t\t\t\t\t\t\tvar daysExpired = currentProductInfo[2].replace(\"DEX=\", \"\");\t\n\t\t\t\t\t\t\t\t\tif (/\\S/.test(daysExpired)) {\n\t\t\t\t\t\t\t\t\t\tcreateCookie(\"swi_c_o_\" + currentProductInfo[0] + \"_dex\", daysExpired, 90, 0, \".solarwinds.com\");\n\n if (addCustomPersonalizationCookie === false) {\n var daysExpiredNumber = parseInt(daysExpired);\n if (!isNaN(daysExpiredNumber) && daysExpiredNumber >= -120 && daysExpiredNumber <= 30) {\n addCustomPersonalizationCookie = true;\n }\n }\n }\n\t\t\t\t\t\t\t\t\tvar daysOwned = currentProductInfo[1].replace(\"DO=\", \"\");\n\t\t\t\t\t\t\t\t\tif (/\\S/.test(daysOwned)) {\n\t\t\t\t\t\t\t\t\t\tcreateCookie(\"swi_c_o_\" + currentProductInfo[0] + \"_do\", daysOwned, 90, 0, \".solarwinds.com\");\n }\n\t\t\t\t\t\t\t\t\t\n }\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (addCustomPersonalizationCookie===true) {\n createCookie(\"swi_c_p\", true, 90, 0, \".solarwinds.com\");\n }\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar ticketinfo = cpDetailsCookieObject.TicketInfo;\n\t\t\t\t\t\tif (ticketinfo) {\n var p1count = 0;\n var p2count = 0;\n var p3count = 0;\n var p4count = 0;\n var ns_count = 0;\n var ip_count = 0;\n var ro_count = 0;\n\t\t\t\t\t\t\tfor (var i = 0; i < ticketinfo.length; i++) {\n\t\t\t\t\t\t\t\tvar ticketinfoArray = ticketinfo[i].split('|');\n if (ticketinfoArray && ticketinfoArray.length > 2) {\n\t\t\t\t\t\t\t\t\tvar status = ticketinfoArray[1];\n\t\t\t\t\t\t\t\t\tvar priority = ticketinfoArray[2];\n if (priority === 'P1')\n p1count++;\n if (priority === 'P2')\n p2count++;\n if (priority === 'P3')\n p3count++;\n if (priority === 'P4')\n p4count++;\n\n if (status === 'NS')\n ns_count++;\n if (status === 'IP')\n ip_count++;\n if (status === 'RO')\n ro_count++;\n }\n\t\t\t\t\t\t\t}\n if (p1count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_p1\", p1count, 90, 0, \".solarwinds.com\");\n if (p2count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_p2\", p2count, 90, 0, \".solarwinds.com\");\n if (p3count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_p3\", p3count, 90, 0, \".solarwinds.com\");\n if (p4count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_p4\", p4count, 90, 0, \".solarwinds.com\");\n if (ns_count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_ns\", ns_count, 90, 0, \".solarwinds.com\");\n if (ip_count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_ip\", ip_count, 90, 0, \".solarwinds.com\");\n if (ro_count > 0)\n\t\t\t\t\t\t\t\tcreateCookie(\"swi_ti_ro\", ro_count, 90, 0, \".solarwinds.com\");\n }\n }\n } \n } catch (e) {\n console.error(\"Error while CPDetails cookie processing: \" + e);\n } \n }\n\n return {\n\t\t\taddImageToBody: addImageToBody,\n\t\t\taddIframeToBody: addIframeToBody,\n\t\t\tcreateCookie: createCookie,\n\t\t\tappendHtml: appendHtml,\n\t\t\tgetCookie: getCookie,\n\t\t\tdetermineReferrerType: determineReferrerType,\n\t\t\tcheckIfDomainExists: checkIfDomainExists,\n\t\t\tgetParameterByName: getParameterByName,\n\t\t\tisUpdateNeeded: isUpdateNeeded,\n\t\t\ttransform: transform,\n\t\t\tgenerate: generate,\n\t\t\textractHostname: extractHostname,\n\t\t\tgenerateGuid: generateGuid,\n\t\t\tsetWindowsEventForIframe: setWindowsEventForIframe,\n\t\t\tdispatchEventForNonSolarwindsSubdomain: dispatchEventForNonSolarwindsSubdomain,\n\t\t\tdispatchEventForSolarwindsSubdomain: dispatchEventForSolarwindsSubdomain,\n\t\t\ts4: s4,\n\t\t\tgetSiteId: getSiteId,\n\t\t\tupdateSiteParticipation: updateSiteParticipation,\n\t\t\tprocessCPDetailsCookie: processCPDetailsCookie,\n\t\t\tcleanUpGrainedCPDetailsCookies: cleanUpGrainedCPDetailsCookies\n\t\t};\n\t})();\n\n\tvar referrerHostName = referalcookiens.extractHostname(document.referrer);\n\tvar hostName = referalcookiens.extractHostname(window.location.href);\n\tvar referrerCurrentValue = referalcookiens.getCookie(\"SWI_Referral\");\n\tvar cmp = referalcookiens.getParameterByName(\"cmp\");\n\tvar cmpSource = referalcookiens.getParameterByName(\"cmpSource\");\n\tvar visitorId = referalcookiens.getParameterByName(\"vid\");\n\tvar refUrl = referalcookiens.getParameterByName(\"rfu\");\n\tvar siteParticipationCurrentValue = referalcookiens.getCookie(\"SWI_SiteParticipation\");\n\tvar currentValue = \"\";\n\tvar cmpSourceOrCmpPresentInQueryString = false;\n\tvar transformedSegment = \"\";\n\n\tif ((cmpSource !== undefined && cmpSource !== '') || (cmp !== undefined && cmp !== '')) {\n\t\tcmpSourceOrCmpPresentInQueryString = true;\n\t}\n\n\t//Checkif refUrl form the query string is present. If yes that should be used.\n\tif (refUrl === \"\" || refUrl === undefined || refUrl === null) {\n\t\tif (referrerHostName !== hostName) {\n\t\t\t//this means we need to create the cookie for ref url.\n\t\t\tif (document.referrer !== \"\") {\n\t\t\t\tif (hostName.indexOf(\"solarwinds.com\") < 0) {\n\t\t\t\t\treferalcookiens.createCookie(\"SWI_RefUrl\", document.referrer, 0, 30, \"\");\n\n\t\t\t\t\tcurrentValue = referalcookiens.generate(\n\t\t\t\t\t\treferrerHostName,\n\t\t\t\t\t\treferrerCurrentValue,\n\t\t\t\t\t\tcmp,\n\t\t\t\t\t\tcmpSource\n\t\t\t\t\t);\n\t\t\t\t\tif (currentValue !== null && currentValue !== \"\") {\n\t\t\t\t\t\treferalcookiens.createCookie(\"SWI_Referral\", currentValue, 0, 30, \"\");\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\telse {\n\t\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\t\"SWI_RefUrl\",\n\t\t\t\t\t\tdocument.referrer,\n\t\t\t\t\t\t0, 30,\n\t\t\t\t\t\t\".solarwinds.com\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif (hostName.indexOf(\"solarwinds.com\") < 0) {\n\t\t\treferalcookiens.createCookie(\"SWI_RefUrl\", refUrl, 0, 30, \"\");\n\t\t}\n\t\telse {\n\t\t\treferalcookiens.createCookie(\"SWI_RefUrl\", refUrl, 0, 30, \".solarwinds.com\");\n\t\t}\n\t}\n\n\tif (referalcookiens.isUpdateNeeded(referrerCurrentValue, cmp, cmpSource)) {\n\t\tcurrentValue = referalcookiens.generate(\n\t\t\treferrerHostName,\n\t\t\treferrerCurrentValue,\n\t\t\tcmp,\n\t\t\tcmpSource\n\t\t);\n\n\t\tif (currentValue !== null && currentValue !== \"\") {\n\t\t\tif (hostName.indexOf(\"solarwinds.com\") < 0) {\n\t\t\t\treferalcookiens.createCookie(\"SWI_Referral\", currentValue, 0, 30, \"\");\n\t\t\t} else {\n\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\"SWI_Referral\",\n\t\t\t\t\tcurrentValue,\n\t\t\t\t\t0, 30,\n\t\t\t\t\t\".solarwinds.com\"\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\telse {\n\t\tcurrentValue = referrerCurrentValue;\n\t}\n\n\tvar vid = referalcookiens.generateGuid();\n\tvar ste = referalcookiens.getSiteId();\n\tvar siteParticipation = referalcookiens.updateSiteParticipation(siteParticipationCurrentValue);\n\t\n\t//Check if the domain is not 'http://www.solarwinds.com'\n\tif (hostName.indexOf(\"solarwinds.com\") < 0) {\n\t\tvar CookieSynced = referalcookiens.getCookie(\"CookieSynced\");\n\n\t\tif (CookieSynced === null || CookieSynced === undefined || CookieSynced === '' || referrerHostName !== hostName) {\n\t\t\tif (\n\t\t\t\treferalcookiens.getCookie(\"SWI_SiteCatalyst_ID\") === \"\" ||\n\t\t\t\treferalcookiens.getCookie(\"SWI_SiteCatalyst_ID\") === undefined ||\n\t\t\t\treferalcookiens.getCookie(\"SWI_SiteCatalyst_ID\") === null\n\t\t\t) {\n\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\"SWI_SiteCatalyst_ID\",\n\t\t\t\t\tvid,\n\t\t\t\t\t730, 0,\n\t\t\t\t\t\"\"\n\t\t\t\t);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tvid = referalcookiens.getCookie(\"SWI_SiteCatalyst_ID\");\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\treferalcookiens.getCookie(\"SWI_EntrySite\") === \"\" ||\n\t\t\t\treferalcookiens.getCookie(\"SWI_EntrySite\") === undefined ||\n\t\t\t\treferalcookiens.getCookie(\"SWI_EntrySite\") === null\n\t\t\t) {\n\t\t\t\treferalcookiens.createCookie(\n\t\t\t\t\t\"SWI_EntrySite\",\n\t\t\t\t\tste,\n\t\t\t\t\t0, 0,\n\t\t\t\t\t\"\"\n\t\t\t\t);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tste = referalcookiens.getCookie(\"SWI_EntrySite\");\n\t\t\t}\n\n\t\t\treferalcookiens.createCookie(\n\t\t\t\t\"SWI_SiteParticipation\",\n\t\t\t\tsiteParticipation,\n\t\t\t\t0, 0,\n\t\t\t\t\"\"\n\t\t\t);\n\n\t\t\treferalcookiens.setWindowsEventForIframe(currentValue, vid, ste, siteParticipation, cmp, cmpSource, referrerHostName);\n\t\t\treferalcookiens.addIframeToBody();\n\t\t\tsetTimeout(function () { }, 1000);\n\t\t}\n\t}\n\telse {\n\t\t//if it is Solarwinds.com or any subdomains.\n\n referalcookiens.cleanUpGrainedCPDetailsCookies();\n if (\n\t\t\treferalcookiens.getCookie(\"SWI_SiteCatalyst_ID\") === \"\" ||\n\t\t\treferalcookiens.getCookie(\"SWI_SiteCatalyst_ID\") === undefined ||\n\t\t\treferalcookiens.getCookie(\"SWI_SiteCatalyst_ID\") === null\n\t\t) {\n\t\t\treferalcookiens.createCookie(\n\t\t\t\t\"SWI_SiteCatalyst_ID\",\n\t\t\t\tvid,\n\t\t\t\t730, 0,\n\t\t\t\t\".solarwinds.com\"\n\t\t\t);\n\t\t} else {\n\t\t\tvid = referalcookiens.getCookie(\"SWI_SiteCatalyst_ID\");\n\t\t}\n\n\t\tif (\n\t\t\treferalcookiens.getCookie(\"SWI_EntrySite\") === \"\" ||\n\t\t\treferalcookiens.getCookie(\"SWI_EntrySite\") === undefined ||\n\t\t\treferalcookiens.getCookie(\"SWI_EntrySite\") === null\n\t\t) {\n\t\t\treferalcookiens.createCookie(\n\t\t\t\t\"SWI_EntrySite\",\n\t\t\t\tste,\n\t\t\t\t0, 0,\n\t\t\t\t\".solarwinds.com\"\n\t\t\t);\n\t\t}\n\t\telse {\n\t\t\tste = referalcookiens.getCookie(\"SWI_EntrySite\");\n\t\t}\n\n\t\treferalcookiens.createCookie(\n\t\t\t\"SWI_SiteParticipation\",\n\t\t\tsiteParticipation,\n\t\t\t0, 0,\n\t\t\t\".solarwinds.com\"\n\t\t);\n\n referalcookiens.processCPDetailsCookie();\n\t\t//Raise DTM event here at this point the SWI Sitecatalyst cookie is set and won't change.\n\t\t//this event is used in DTM to populate EVAR for Sitecatalyst\n\t\tvar setEVars = new CustomEvent(\"trackingCookiesReadyEvent\", { \"bubbles\": true });\n\t\treferalcookiens.dispatchEventForSolarwindsSubdomain(setEVars);\n }\n\n\tsetTimeout(function () {\n\n\t\t//Below code is executed only for non solarwinds.com domains\n\t\tif (referalcookiens.extractHostname(window.location.href).indexOf(\"solarwinds.com\") < 0) {\n\t\t\tif (!calledDispatchEventAlready) {\n\t\t\t\t//Raise DTM event here at this point the SWI Sitecatalyst cookie is set and won't change.\n\t\t\t\t//this event is used in DTM to populate EVAR for Sitecatalyst]\n\t\t\t\tvar setEVars = new CustomEvent(\"trackingCookiesReadyEvent\", { \"bubbles\": true });\n\t\t\t\treferalcookiens.dispatchEventForNonSolarwindsSubdomain(setEVars);\n\t\t\t}\n\t\t}\n\n\t}, 950);\n\n}\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./referrer-cookie-azure.js?");
/***/ })
/******/ });