cdn.optimizely.com
Open in
urlscan Pro
2606:4700::6812:4139
Public Scan
URL:
https://cdn.optimizely.com/js/24511550181.js
Submission: On September 20 via api from IT — Scanned from IT
Submission: On September 20 via api from IT — Scanned from IT
Form analysis
0 forms found in the DOMText Content
/*! For license information please see client.min.js.LICENSE.txt */ (function(){var __webpack_modules__={7062:function(n,t,e){var i;!function(r,o){"use strict";var a="function",u="undefined",c="object",s="string",f="model",l="name",d="type",v="vendor",h="version",p="architecture",g="console",m="mobile",_="tablet",w="smarttv",y="wearable",b="embedded",E="Amazon",I="Apple",A="ASUS",T="BlackBerry",S="Firefox",R="Google",k="Huawei",N="LG",D="Microsoft",C="Motorola",O="Opera",x="Samsung",P="Sharp",M="Sony",L="Xiaomi",V="Zebra",F="Facebook",U=function(n){for(var t={},e=0;e<n.length;e++)t[n[e].toUpperCase()]=n[e];return t},z=function(n,t){return typeof n===s&&-1!==G(t).indexOf(G(n))},G=function(n){return n.toLowerCase()},j=function(n,t){if(typeof n===s)return n=n.replace(/^\s\s*/,""),typeof t===u?n:n.substring(0,350)},B=function(n,t){for(var e,i,r,u,s,f,l=0;l<t.length&&!s;){var d=t[l],v=t[l+1];for(e=i=0;e<d.length&&!s&&d[e];)if(s=d[e++].exec(n))for(r=0;r<v.length;r++)f=s[++i],typeof(u=v[r])===c&&u.length>0?2===u.length?typeof u[1]==a?this[u[0]]=u[1].call(this,f):this[u[0]]=u[1]:3===u.length?typeof u[1]!==a||u[1].exec&&u[1].test?this[u[0]]=f?f.replace(u[1],u[2]):o:this[u[0]]=f?u[1].call(this,f,u[2]):o:4===u.length&&(this[u[0]]=f?u[3].call(this,f.replace(u[1],u[2])):o):this[u]=f||o;l+=2}},q=function(n,t){for(var e in t)if(typeof t[e]===c&&t[e].length>0){for(var i=0;i<t[e].length;i++)if(z(t[e][i],n))return"?"===e?o:e}else if(z(t[e],n))return"?"===e?o:e;return n},H={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Y={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[h,[l,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[h,[l,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[l,h],[/opios[\/ ]+([\w\.]+)/i],[h,[l,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[h,[l,O]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[l,h],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[h,[l,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[h,[l,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[h,[l,"WeChat"]],[/konqueror\/([\w\.]+)/i],[h,[l,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[h,[l,"IE"]],[/yabrowser\/([\w\.]+)/i],[h,[l,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[l,/(.+)/,"$1 Secure Browser"],h],[/\bfocus\/([\w\.]+)/i],[h,[l,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[h,[l,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[h,[l,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[h,[l,"Dolphin"]],[/coast\/([\w\.]+)/i],[h,[l,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[h,[l,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[h,[l,S]],[/\bqihu|(qi?ho?o?|360)browser/i],[[l,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[l,/(.+)/,"$1 Browser"],h],[/(comodo_dragon)\/([\w\.]+)/i],[[l,/_/g," "],h],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[l,h],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[l],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[l,F],h],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[l,h],[/\bgsa\/([\w\.]+) .*safari\//i],[h,[l,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[h,[l,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[l,"Chrome WebView"],h],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[h,[l,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[l,h],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[h,[l,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[h,l],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[l,[h,q,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[l,h],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[l,"Netscape"],h],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[h,[l,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[l,h],[/(cobalt)\/([\w\.]+)/i],[l,[h,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[p,"amd64"]],[/(ia32(?=;))/i],[[p,G]],[/((?:i[346]|x)86)[;\)]/i],[[p,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[p,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[p,"armhf"]],[/windows (ce|mobile); ppc;/i],[[p,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[p,/ower/,"",G]],[/(sun4\w)[;\)]/i],[[p,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[p,G]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[v,x],[d,_]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,x],[d,m]],[/\((ip(?:hone|od)[\w ]*);/i],[f,[v,I],[d,m]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,I],[d,_]],[/(macintosh);/i],[f,[v,I]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,P],[d,m]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,k],[d,_]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,k],[d,m]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[v,L],[d,m]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,L],[d,_]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[d,m]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[d,m]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[d,m]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[v,C],[d,m]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,C],[d,_]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,N],[d,_]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,N],[d,m]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[d,_]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[d,m]],[/(pixel c)\b/i],[f,[v,R],[d,_]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,R],[d,m]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[v,M],[d,m]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,M],[d,_]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[d,m]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,E],[d,_]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,E],[d,m]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[d,_]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,T],[d,m]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,A],[d,_]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,A],[d,m]],[/(nexus 9)/i],[f,[v,"HTC"],[d,_]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[d,m]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[d,_]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[d,m]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[d,m]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,f,[d,_]],[/(surface duo)/i],[f,[v,D],[d,_]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[d,m]],[/(u304aa)/i],[f,[v,"AT&T"],[d,m]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[d,m]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[d,_]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[d,_]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[d,_]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[d,_]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[d,_]],[/\b(k88) b/i],[f,[v,"ZTE"],[d,_]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[d,m]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[d,m]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[d,_]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[d,_]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[d,_]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[d,_]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[d,_]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[d,m]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[d,m]],[/\b(ph-1) /i],[f,[v,"Essential"],[d,m]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[d,_]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[d,_]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[d,_]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[d,_]],[/(sprint) (\w+)/i],[v,f,[d,m]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,D],[d,m]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,V],[d,_]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,V],[d,m]],[/smart-tv.+(samsung)/i],[v,[d,w]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,x],[d,w]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,N],[d,w]],[/(apple) ?tv/i],[v,[f,"Apple TV"],[d,w]],[/crkey/i],[[f,"Chromecast"],[v,R],[d,w]],[/droid.+aft(\w)( bui|\))/i],[f,[v,E],[d,w]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,P],[d,w]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,M],[d,w]],[/(mitv-\w{5}) bui/i],[f,[v,L],[d,w]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[d,w]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,j],[f,j],[d,w]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[d,w]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[d,g]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[d,g]],[/(playstation [345portablevi]+)/i],[f,[v,M],[d,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,D],[d,g]],[/((pebble))app/i],[v,f,[d,y]],[/droid.+; (glass) \d/i],[f,[v,R],[d,y]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,V],[d,y]],[/(quest( 2| pro)?)/i],[f,[v,F],[d,y]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[d,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[d,m]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[d,_]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[d,_]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[d,m]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[h,[l,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[h,[l,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[l,h],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[h,l]],os:[[/microsoft (windows) (vista|xp)/i],[l,h],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[l,[h,q,H]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,"Windows"],[h,q,H]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[h,/_/g,"."],[l,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[l,"Mac OS"],[h,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[h,l],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[l,h],[/\(bb(10);/i],[h,[l,T]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[h,[l,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[h,[l,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[h,[l,"webOS"]],[/crkey\/([\d\.]+)/i],[h,[l,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[l,"Chromium OS"],h],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[l,h],[/(sunos) ?([\w\.\d]*)/i],[[l,"Solaris"],h],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[l,h]]},K=function(n,t){if(typeof n===c&&(t=n,n=o),!(this instanceof K))return new K(n,t).getResult();var e=n||(typeof r!==u&&r.navigator&&r.navigator.userAgent?r.navigator.userAgent:""),i=typeof r!==u&&r.navigator&&r.navigator.userAgentData?r.navigator.userAgentData:o,a=t?function(n,t){var e={};for(var i in n)t[i]&&t[i].length%2==0?e[i]=t[i].concat(n[i]):e[i]=n[i];return e}(Y,t):Y;return this.getBrowser=function(){var n,t={};return t.name=o,t.version=o,B.call(t,e,a.browser),t.major=typeof(n=t.version)===s?n.replace(/[^\d\.]/g,"").split(".")[0]:o,t},this.getCPU=function(){var n={};return n.architecture=o,B.call(n,e,a.cpu),n},this.getDevice=function(){var n={};return n.vendor=o,n.model=o,n.type=o,B.call(n,e,a.device),!n.type&&i&&i.mobile&&(n.type=m),n},this.getEngine=function(){var n={};return n.name=o,n.version=o,B.call(n,e,a.engine),n},this.getOS=function(){var n={};return n.name=o,n.version=o,B.call(n,e,a.os),!n.name&&i&&"Unknown"!=i.platform&&(n.name=i.platform.replace(/chrome/i,"Chromium").replace(/mac/i,"Mac ")),n},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 e},this.setUA=function(n){return e=typeof n===s&&n.length>350?j(n,350):n,this},this.setUA(e),this};K.VERSION="0.7.33",K.BROWSER=U([l,h,"major"]),K.CPU=U([p]),K.DEVICE=U([f,v,d,g,m,w,_,y,b]),K.ENGINE=K.OS=U([l,h]),typeof t!==u?(n.exports&&(t=n.exports=K),t.UAParser=K):e.amdO?(i=function(){return K}.call(t,e,t,n))===o||(n.exports=i):typeof r!==u&&(r.UAParser=K)}("object"==typeof window?window:this)},9981:function(n,t,e){var i=e(7669)(),r=e(1397);n.exports=function(n,t){function e(t){if(!(this instanceof e))return new e(t);try{throw new Error(t)}catch(o){o.name=n,this.stack=o.stack}i&&this.stack&&(this.stack=r(this.stack,n,t)),this.message=t||"",this.name=n}return e.prototype=new(t||Error),e.prototype.constructor=e,e.prototype.inspect=function(){return this.message?"["+n+": "+this.message+"]":"["+n+"]"},e.prototype.name=n,e}},1397:function(n){"use strict";n.exports=function(n,t,e){var i=t;return e&&(i+=": "+e),n=i+n.slice(n.indexOf("\n"))}},7669:function(n){"use strict";n.exports=function(){var n=new Error("yep");return!!n.stack&&"Error: yep\n"===n.stack.substr(0,11)}},1763:function(n,t,e){n.exports=function(){"use strict";function n(n){return"function"==typeof n||"object"==typeof n&&null!==n}function t(n){return"function"==typeof n}undefined;var i=Array.isArray?Array.isArray:function(n){return"[object Array]"===Object.prototype.toString.call(n)},r=0,o=undefined,a=undefined,u=function(n,t){y[r]=n,y[r+1]=t,2===(r+=2)&&(a?a(b):I())};function c(n){a=n}function s(n){u=n}var f="undefined"!=typeof window?window:undefined,l=f||{},d=l.MutationObserver||l.WebKitMutationObserver,v="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){return function(){return process.nextTick(b)}}function g(){return void 0!==o?function(){o(b)}:w()}function m(){var n=0,t=new d(b),e=document.createTextNode("");return t.observe(e,{characterData:!0}),function(){e.data=n=++n%2}}function _(){var n=new MessageChannel;return n.port1.onmessage=b,function(){return n.port2.postMessage(0)}}function w(){var n=setTimeout;return function(){return n(b,1)}}var y=new Array(1e3);function b(){for(var n=0;n<r;n+=2)(0,y[n])(y[n+1]),y[n]=undefined,y[n+1]=undefined;r=0}function E(){try{undefined;var n=e(2016);return o=n.runOnLoop||n.runOnContext,g()}catch(t){return w()}}var I=undefined;function A(n,t){var e=arguments,i=this,r=new this.constructor(R);r[S]===undefined&&Q(r);var o,a=i._state;return a?(o=e[a-1],u((function(){return $(a,r,o,i._result)}))):B(i,r,n,t),r}function T(n){var t=this;if(n&&"object"==typeof n&&n.constructor===t)return n;var e=new t(R);return U(e,n),e}I=v?p():d?m():h?_():f===undefined?E():w();var S=Math.random().toString(36).substring(16);function R(){}var k=void 0,N=1,D=2,C=new H;function O(){return new TypeError("You cannot resolve a promise with itself")}function x(){return new TypeError("A promises callback cannot return that same promise.")}function P(n){try{return n.then}catch(t){return C.error=t,C}}function M(n,t,e,i){try{n.call(t,e,i)}catch(r){return r}}function L(n,t,e){u((function(n){var i=!1,r=M(e,t,(function(e){i||(i=!0,t!==e?U(n,e):G(n,e))}),(function(t){i||(i=!0,j(n,t))}),"Settle: "+(n._label||" unknown promise"));!i&&r&&(i=!0,j(n,r))}),n)}function V(n,t){t._state===N?G(n,t._result):t._state===D?j(n,t._result):B(t,undefined,(function(t){return U(n,t)}),(function(t){return j(n,t)}))}function F(n,e,i){e.constructor===n.constructor&&i===A&&e.constructor.resolve===T?V(n,e):i===C?(j(n,C.error),C.error=null):i===undefined?G(n,e):t(i)?L(n,e,i):G(n,e)}function U(t,e){t===e?j(t,O()):n(e)?F(t,e,P(e)):G(t,e)}function z(n){n._onerror&&n._onerror(n._result),q(n)}function G(n,t){n._state===k&&(n._result=t,n._state=N,0!==n._subscribers.length&&u(q,n))}function j(n,t){n._state===k&&(n._state=D,n._result=t,u(z,n))}function B(n,t,e,i){var r=n._subscribers,o=r.length;n._onerror=null,r[o]=t,r[o+N]=e,r[o+D]=i,0===o&&n._state&&u(q,n)}function q(n){var t=n._subscribers,e=n._state;if(0!==t.length){for(var i=undefined,r=undefined,o=n._result,a=0;a<t.length;a+=3)i=t[a],r=t[a+e],i?$(e,i,r,o):r(o);n._subscribers.length=0}}function H(){this.error=null}var Y=new H;function K(n,t){try{return n(t)}catch(e){return Y.error=e,Y}}function $(n,e,i,r){var o=t(i),a=undefined,u=undefined,c=undefined,s=undefined;if(o){if((a=K(i,r))===Y?(s=!0,u=a.error,a.error=null):c=!0,e===a)return void j(e,x())}else a=r,c=!0;e._state!==k||(o&&c?U(e,a):s?j(e,u):n===N?G(e,a):n===D&&j(e,a))}function W(n,t){try{t((function(t){U(n,t)}),(function(t){j(n,t)}))}catch(e){j(n,e)}}var X=0;function J(){return X++}function Q(n){n[S]=X++,n._state=undefined,n._result=undefined,n._subscribers=[]}function Z(n,t){this._instanceConstructor=n,this.promise=new n(R),this.promise[S]||Q(this.promise),i(t)?(this._input=t,this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?G(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&G(this.promise,this._result))):j(this.promise,nn())}function nn(){return new Error("Array Methods must be provided an Array")}function tn(n){return new Z(this,n).promise}function en(n){var t=this;return i(n)?new t((function(e,i){for(var r=n.length,o=0;o<r;o++)t.resolve(n[o]).then(e,i)})):new t((function(n,t){return t(new TypeError("You must pass an array to race."))}))}function rn(n){var t=new this(R);return j(t,n),t}function on(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function an(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function un(n){this[S]=J(),this._result=this._state=undefined,this._subscribers=[],R!==n&&("function"!=typeof n&&on(),this instanceof un?W(this,n):an())}function cn(){var n=undefined;if("undefined"!=typeof e.g)n=e.g;else if("undefined"!=typeof self)n=self;else try{n=Function("return this")()}catch(r){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=n.Promise;if(t){var i=null;try{i=Object.prototype.toString.call(t.resolve())}catch(r){}if("[object Promise]"===i&&!t.cast)return}n.Promise=un}return Z.prototype._enumerate=function(){for(var n=this.length,t=this._input,e=0;this._state===k&&e<n;e++)this._eachEntry(t[e],e)},Z.prototype._eachEntry=function(n,t){var e=this._instanceConstructor,i=e.resolve;if(i===T){var r=P(n);if(r===A&&n._state!==k)this._settledAt(n._state,t,n._result);else if("function"!=typeof r)this._remaining--,this._result[t]=n;else if(e===un){var o=new e(R);F(o,n,r),this._willSettleAt(o,t)}else this._willSettleAt(new e((function(t){return t(n)})),t)}else this._willSettleAt(i(n),t)},Z.prototype._settledAt=function(n,t,e){var i=this.promise;i._state===k&&(this._remaining--,n===D?j(i,e):this._result[t]=e),0===this._remaining&&G(i,this._result)},Z.prototype._willSettleAt=function(n,t){var e=this;B(n,undefined,(function(n){return e._settledAt(N,t,n)}),(function(n){return e._settledAt(D,t,n)}))},un.all=tn,un.race=en,un.resolve=T,un.reject=rn,un._setScheduler=c,un._setAsap=s,un._asap=u,un.prototype={constructor:un,then:A,"catch":function(n){return this.then(null,n)}},un.polyfill=cn,un.Promise=un,un}()},6744:function(n){"use strict";n.exports=function(n){var t,e={};if(!(n instanceof Object)||Array.isArray(n))throw new Error("keyMirror(...): Argument must be an object.");for(t in n)n.hasOwnProperty(t)&&(e[t]=t);return e}},7699:function(n){"use strict";n.exports=function(n,t,e,i){Object.defineProperty(n,t,{get:function(){var n=e.call(this);return Object.defineProperty(this,t,{value:n,enumerable:!!i,writable:!0}),n},set:function(n){return Object.defineProperty(this,t,{value:n,enumerable:!!i,writable:!0}),n},enumerable:!!i,configurable:!0})}},5410:function(n){"use strict";var t=Element.prototype,e=t.matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector;n.exports=function(n,t){if(e)return e.call(n,t);for(var i=n.parentNode.querySelectorAll(t),r=0;r<i.length;r++)if(i[r]==n)return!0;return!1}},4101:function(n){!function(){function t(n,t){var e,i,r,o,a,u,c,s;for(e=3&n.length,i=n.length-e,r=t,a=3432918353,u=461845907,s=0;s<i;)c=255&n.charCodeAt(s)|(255&n.charCodeAt(++s))<<8|(255&n.charCodeAt(++s))<<16|(255&n.charCodeAt(++s))<<24,++s,r=27492+(65535&(o=5*(65535&(r=(r^=c=(65535&(c=(c=(65535&c)*a+(((c>>>16)*a&65535)<<16)&4294967295)<<15|c>>>17))*u+(((c>>>16)*u&65535)<<16)&4294967295)<<13|r>>>19))+((5*(r>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(c=0,e){case 3:c^=(255&n.charCodeAt(s+2))<<16;case 2:c^=(255&n.charCodeAt(s+1))<<8;case 1:r^=c=(65535&(c=(c=(65535&(c^=255&n.charCodeAt(s)))*a+(((c>>>16)*a&65535)<<16)&4294967295)<<15|c>>>17))*u+(((c>>>16)*u&65535)<<16)&4294967295}return r^=n.length,r=2246822507*(65535&(r^=r>>>16))+((2246822507*(r>>>16)&65535)<<16)&4294967295,r=3266489909*(65535&(r^=r>>>13))+((3266489909*(r>>>16)&65535)<<16)&4294967295,(r^=r>>>16)>>>0}var e=t;e.v2=function(n,t){for(var e,i=n.length,r=t^i,o=0;i>=4;)e=1540483477*(65535&(e=255&n.charCodeAt(o)|(255&n.charCodeAt(++o))<<8|(255&n.charCodeAt(++o))<<16|(255&n.charCodeAt(++o))<<24))+((1540483477*(e>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),i-=4,++o;switch(i){case 3:r^=(255&n.charCodeAt(o+2))<<16;case 2:r^=(255&n.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&n.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),(r^=r>>>15)>>>0},e.v3=t,n.exports=e}()},356:function(n,t,e){n=e.nmd(n),function(){var i,r="Expected a function",o="__lodash_hash_undefined__",a=9007199254740991,u="[object Arguments]",c="[object Array]",s="[object Boolean]",f="[object Date]",l="[object Error]",d="[object Function]",v="[object GeneratorFunction]",h="[object Map]",p="[object Number]",g="[object Object]",m="[object RegExp]",_="[object Set]",w="[object String]",y="[object Symbol]",b="[object WeakMap]",E="[object ArrayBuffer]",I="[object Float32Array]",A="[object Float64Array]",T="[object Int8Array]",S="[object Int16Array]",R="[object Int32Array]",k="[object Uint8Array]",N="[object Uint8ClampedArray]",D="[object Uint16Array]",C="[object Uint32Array]",O=/[&<>"'`]/g,x=RegExp(O.source),P=/\w*$/,M=/^\[object .+?Constructor\]$/,L=/^(?:0|[1-9]\d*)$/,V={};V[I]=V[A]=V[T]=V[S]=V[R]=V[k]=V[N]=V[D]=V[C]=!0,V[u]=V[c]=V[E]=V[s]=V[f]=V[l]=V[d]=V[h]=V[p]=V[g]=V[m]=V[_]=V[w]=V[b]=!1;var F={};F[u]=F[c]=F[E]=F[s]=F[f]=F[I]=F[A]=F[T]=F[S]=F[R]=F[h]=F[p]=F[g]=F[m]=F[_]=F[w]=F[y]=F[k]=F[N]=F[D]=F[C]=!0,F[l]=F[d]=F[b]=!1;var U={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},z={"function":!0,object:!0},G=z[typeof t]&&t&&!t.nodeType?t:i,j=z.object&&n&&!n.nodeType?n:i,B=j&&j.exports===G?G:i,q=on(G&&j&&"object"==typeof e.g&&e.g),H=on(z[typeof self]&&self),Y=on(z[typeof window]&&window),K=on(z[typeof this]&&this),$=q||Y!==(K&&K.window)&&Y||H||K||Function("return this")();function W(n,t){return n.set(t[0],t[1]),n}function X(n,t){return n.add(t),n}function J(n,t){return nn(It(n),Ae)}function Q(n,t){return!!n.length&&en(n,t,0)>-1}function Z(n,t,e){for(var i=-1,r=n.length;++i<r;)if(e(t,n[i]))return!0;return!1}function nn(n,t){for(var e=-1,i=t.length,r=n.length;++e<i;)n[r+e]=t[e];return n}function tn(n,t,e){for(var r=-1,o=n.length;++r<o;){var a=n[r],u=t(a);if(null!=u&&(c===i?u==u:e(u,c)))var c=u,s=a}return s}function en(n,t,e){if(t!=t)return function(n,t,e){var i=n.length,r=t+(e?0:-1);for(;e?r--:++r<i;){var o=n[r];if(o!=o)return r}return-1}(n,e);for(var i=e-1,r=n.length;++i<r;)if(n[i]===t)return i;return-1}function rn(n,t,e,i,r){return r(n,(function(n,r,o){e=i?(i=!1,n):t(e,n,r,o)})),e}function on(n){return n&&n.Object===Object?n:null}function an(n){return U[n]}function un(n){var t=!1;if(null!=n&&"function"!=typeof n.toString)try{t=!!(n+"")}catch(e){}return t}function cn(n,t){return n="number"==typeof n||L.test(n)?+n:-1,t=null==t?a:t,n>-1&&n%1==0&&n<t}var sn=Array.prototype,fn=Object.prototype,ln=Function.prototype.toString,dn=fn.hasOwnProperty,vn=0,hn=ln.call(Object),pn=fn.toString,gn=$._,mn=RegExp("^"+ln.call(dn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_n=$.Reflect,wn=$.Symbol,yn=$.Uint8Array,bn=_n?_n.enumerate:i,En=Object.getPrototypeOf,In=Object.getOwnPropertySymbols,An=Object.create,Tn=fn.propertyIsEnumerable,Sn=sn.splice,Rn=$.isFinite,kn=Object.keys,Nn=Math.max,Dn=Ot($,"Map"),Cn=Ot($,"Set"),On=Ot($,"WeakMap"),xn=Ot(Object,"create"),Pn=Dn?ln.call(Dn):"",Mn=Cn?ln.call(Cn):"",Ln=On?ln.call(On):"",Vn=wn?wn.prototype:i,Fn=Vn?Vn.valueOf:i;function Un(n){if(ue(n)&&!Zt(n)){if(n instanceof zn)return n;if(dn.call(n,"__wrapped__"))return function(n){var t=new zn(n.u,n.l);return t.m=It(n.m),t}(n)}return new zn(n)}function zn(n,t){this.u=n,this.m=[],this.l=!!t}function Gn(){}function jn(n,t){return xn?n[t]!==i:dn.call(n,t)}function Bn(n){var t=-1,e=n?n.length:0;for(this.clear();++t<e;){var i=n[t];this.set(i[0],i[1])}}function qn(n){var t=-1,e=n?n.length:0;for(this.I=new Bn;++t<e;)this.push(n[t])}function Hn(n,t){var e=n.I;if(Lt(t)){var i=e.I;return("string"==typeof t?i.string:i.hash)[t]===o}return e.has(t)}function Yn(n){var t=-1,e=n?n.length:0;for(this.clear();++t<e;){var i=n[t];this.set(i[0],i[1])}}function Kn(n,t){var e=Xn(n,t);return!(e<0)&&(e==n.length-1?n.pop():Sn.call(n,e,1),!0)}function $n(n,t){var e=Xn(n,t);return e<0?i:n[e][1]}function Wn(n,t){return Xn(n,t)>-1}function Xn(n,t){for(var e=n.length;e--;)if(Xt(n[e][0],t))return e;return-1}function Jn(n,t,e){var i=Xn(n,t);i<0?n.push([t,e]):n[i][1]=e}function Qn(n,t,e,r){return n===i||Xt(n,fn[e])&&!dn.call(r,e)?t:n}function Zn(n,t,e){(e!==i&&!Xt(n[t],e)||"number"==typeof t&&e===i&&!(t in n))&&(n[t]=e)}function nt(n,t,e){var r=n[t];dn.call(n,t)&&Xt(r,e)&&(e!==i||t in n)||(n[t]=e)}function tt(n){return"function"==typeof n?n:Te}function et(n,t,e,r,o,a,c){var l;if(r&&(l=a?r(n,o,a,c):r(n)),l!==i)return l;if(!ae(n))return n;var b=Zt(n);if(b){if(l=function(n){var t=n.length,e=n.constructor(t);t&&"string"==typeof n[0]&&dn.call(n,"index")&&(e.index=n.index,e.input=n.input);return e}(n),!t)return It(n)}else{var O=Pt(n),x=O==d||O==v;if(ie(n))return function(n,t){if(t)return n.slice();var e=new n.constructor(n.length);return n.copy(e),e}(n,t);if(O==g||O==u||x&&!a){if(un(n))return a?n:{};if(l=function(n){return"function"!=typeof n.constructor||Vt(n)?{}:it(En(n))}(x?{}:n),!t)return l=function(n,t){return n&&St(t,we(t),n)}(l,n),e?kt(n,l):l}else{if(!F[O])return a?n:{};l=function(n,t,e){var i=n.constructor;switch(t){case E:return Tt(n);case s:case f:return new i(+n);case I:case A:case T:case S:case R:case k:case N:case D:case C:return function(n,t){var e=t?Tt(n.buffer):n.buffer;return new n.constructor(e,n.byteOffset,n.length)}(n,e);case h:return function(n){return Bt(function(n){var t=-1,e=Array(n.size);return n.forEach((function(n,i){e[++t]=[i,n]})),e}(n),W,new n.constructor)}(n);case p:case w:return new i(n);case m:return function(n){var t=new n.constructor(n.source,P.exec(n));return t.lastIndex=n.lastIndex,t}(n);case _:return Bt(function(n){var t=-1,e=Array(n.size);return n.forEach((function(n){e[++t]=n})),e}(o=n),X,new o.constructor);case y:return r=n,Fn?Object(Fn.call(r)):{}}var r;var o}(n,O,t)}}c||(c=new Yn);var M=c.get(n);return M||(c.set(n,l),(b?ut:lt)(n,(function(i,o){nt(l,o,et(i,t,e,r,o,n,c))})),e&&!b?kt(n,l):l)}function it(n){return ae(n)?An(n):{}}function rt(n,t,e){if("function"!=typeof n)throw new TypeError(r);return setTimeout((function(){n.apply(i,e)}),t)}var ot,at,ut=(ot=lt,function(n,t){if(null==n)return n;if(!ne(n))return ot(n,t);for(var e=n.length,i=at?e:-1,r=Object(n);(at?i--:++i<e)&&!1!==t(r[i],i,r););return n});function ct(n,t){var e=[];return ut(n,(function(n,i,r){t(n,i,r)&&e.push(n)})),e}function st(n,t,e,i){i||(i=[]);for(var r=-1,o=n.length;++r<o;){var a=n[r];t>0&&te(a)&&(e||Zt(a)||Qt(a))?t>1?st(a,t-1,e,i):nn(i,a):e||(i[i.length]=a)}return i}var ft=function(n){return function(t,e,i){for(var r=-1,o=Object(t),a=i(t),u=a.length;u--;){var c=a[n?u:++r];if(!1===e(o[c],c,o))break}return t}}();function lt(n,t){return n&&ft(n,t,we)}function dt(n,t){return ct(t,(function(t){return re(n[t])}))}function vt(n,t,e,r,o){return n===t||(null==n||null==t||!ae(n)&&!ue(t)?n!=n&&t!=t:function(n,t,e,r,o,a){var d=Zt(n),v=Zt(t),h=c,_=c;d||(h=(h=pn.call(n))==u?g:h);v||(_=(_=pn.call(t))==u?g:_);var y=h==g&&!un(n),b=_==g&&!un(t),E=h==_;a||(a=[]);var I=Gt(a,(function(t){return t[0]===n}));if(I&&I[1])return I[1]==t;if(a.push([n,t]),E&&!y){var A=d||fe(n)?function(n,t,e,r,o,a){var u=-1,c=2&o,s=1&o,f=n.length,l=t.length;if(f!=l&&!(c&&l>f))return!1;var d=!0;for(;++u<f;){var v,h=n[u],p=t[u];if(v!==i){if(v)continue;d=!1;break}if(s){if(!At(t,(function(n){return h===n||e(h,n,r,o,a)}))){d=!1;break}}else if(h!==p&&!e(h,p,r,o,a)){d=!1;break}}return d}(n,t,e,r,o,a):function(n,t,e,i,r,o,a){switch(e){case s:case f:return+n==+t;case l:return n.name==t.name&&n.message==t.message;case p:return n!=+n?t!=+t:n==+t;case m:case w:return n==t+""}return!1}(n,t,h);return a.pop(),A}if(!(2&o)){var T=y&&dn.call(n,"__wrapped__"),S=b&&dn.call(t,"__wrapped__");if(T||S){A=e(T?n.value():n,S?t.value():t,r,o,a);return a.pop(),A}}if(!E)return!1;A=function(n,t,e,r,o,a){var u=2&o,c=we(n),s=c.length,f=we(t).length;if(s!=f&&!u)return!1;var l=s;for(;l--;){var d=c[l];if(!(u?d in t:dn.call(t,d)))return!1}var v=!0,h=u;for(;++l<s;){var p,g=n[d=c[l]],m=t[d];if(!(p===i?g===m||e(g,m,r,o,a):p)){v=!1;break}h||(h="constructor"==d)}if(v&&!h){var _=n.constructor,w=t.constructor;_==w||!("constructor"in n)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(v=!1)}return v}(n,t,e,r,o,a);return a.pop(),A}(n,t,vt,e,r,o))}function ht(n){var t=typeof n;return"function"==t?n:null==n?Te:("object"==t?mt:bt)(n)}function pt(n){n=null==n?n:Object(n);var t=[];for(var e in n)t.push(e);return t}function gt(n,t){var e=-1,i=ne(n)?Array(n.length):[];return ut(n,(function(n,r,o){i[++e]=t(n,r,o)})),i}function mt(n){var t=we(n);return function(e){var r=t.length;if(null==e)return!r;for(e=Object(e);r--;){var o=t[r];if(!(o in e)||!vt(n[o],e[o],i,3))return!1}return!0}}function _t(n,t,e,r,o){if(n!==t){var a=Zt(t)||fe(t)?i:ye(t);ut(a||t,(function(u,c){if(a&&(u=t[c=u]),ae(u))o||(o=new Yn),function(n,t,e,r,o,a,u){var c=n[e],s=t[e],f=u.get(s);if(f)return void Zn(n,e,f);var l=a?a(c,s,e+"",n,t,u):i,d=l===i;d&&(l=s,Zt(s)||fe(s)?Zt(c)?l=c:te(c)?l=It(c):(d=!1,l=et(s,!a)):function(n){if(!ue(n)||pn.call(n)!=g||un(n))return!1;var t=En(n);if(null===t)return!0;var e=t.constructor;return"function"==typeof e&&e instanceof e&&ln.call(e)==hn}(s)||Qt(s)?Qt(c)?l=St(v=c,ye(v)):!ae(c)||r&&re(c)?(d=!1,l=et(s,!a)):l=c:d=!1);var v;u.set(s,l),d&&o(l,s,r,a,u);u["delete"](s),Zn(n,e,l)}(n,t,c,e,_t,r,o);else{var s=r?r(n[c],u,c+"",n,t,o):i;s===i&&(s=u),Zn(n,c,s)}}))}}function wt(n,t){return n=Object(n),Bt(t,(function(t,e){return e in n&&(t[e]=n[e]),t}),{})}function yt(n,t){var e={};return function(n,t){null==n||ft(n,t,ye)}(n,(function(n,i){t(n,i)&&(e[i]=n)})),e}function bt(n){return function(t){return null==t?i:t[n]}}function Et(n,t,e){var i=-1,r=n.length;t<0&&(t=-t>r?0:r+t),(e=e>r?r:e)<0&&(e+=r),r=t>e?0:e-t>>>0,t>>>=0;for(var o=Array(r);++i<r;)o[i]=n[i+t];return o}function It(n){return Et(n,0,n.length)}function At(n,t){var e;return ut(n,(function(n,i,r){return!(e=t(n,i,r))})),!!e}function Tt(n){var t=new n.constructor(n.byteLength);return new yn(t).set(new yn(n)),t}bn&&!Tn.call({valueOf:1},"valueOf")&&(pt=function(n){return function(n){for(var t,e=[];!(t=n.next()).done;)e.push(t.value);return e}(bn(n))});var St=Rt;function Rt(n,t,e,i){e||(e={});for(var r=-1,o=t.length;++r<o;){var a=t[r];nt(e,a,i?i(e[a],n[a],a,e,n):n[a])}return e}function kt(n,t){return St(n,xt(n),t)}function Nt(n){return Wt((function(t,e){var r=-1,o=e.length,a=o>1?e[o-1]:i;for(a="function"==typeof a?(o--,a):i,t=Object(t);++r<o;){var u=e[r];u&&n(t,u,r,a)}return t}))}function Dt(n,t,e,i){if("function"!=typeof n)throw new TypeError(r);var o=1&t,a=function(n){return function(){var t=arguments,e=it(n.prototype),i=n.apply(e,t);return ae(i)?i:e}}(n);return function u(){for(var t=-1,r=arguments.length,c=-1,s=i.length,f=Array(s+r),l=this&&this!==$&&this instanceof u?a:n;++c<s;)f[c]=i[c];for(;r--;)f[c++]=arguments[++t];return l.apply(o?e:this,f)}}var Ct=bt("length");function Ot(n,t){var e=n[t];return function(n){if(null==n)return!1;if(re(n))return mn.test(ln.call(n));return ue(n)&&(un(n)?mn:M).test(n)}(e)?e:i}var xt=In||function(){return[]};function Pt(n){return pn.call(n)}function Mt(n){var t=n?n.length:i;return oe(t)&&(Zt(n)||se(n)||Qt(n))?function(n,t){for(var e=-1,i=Array(n);++e<n;)i[e]=t(e);return i}(t,String):null}function Lt(n){var t=typeof n;return"number"==t||"boolean"==t||"string"==t&&"__proto__"!=n||null==n}function Vt(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||fn)}(Dn&&Pt(new Dn)!=h||Cn&&Pt(new Cn)!=_||On&&Pt(new On)!=b)&&(Pt=function(n){var t=pn.call(n),e=t==g?n.constructor:null,i="function"==typeof e?ln.call(e):"";if(i)switch(i){case Pn:return h;case Mn:return _;case Ln:return b}return t});var Ft=Wt((function(n,t){return Zt(n)||(n=null==n?[]:[Object(n)]),t=st(t,1),J(n)}));function Ut(n){return n?n[0]:i}function zt(n){var t=Un(n);return t.l=!0,t}function Gt(n,t){return function(n,t,e,i){var r;return e(n,(function(n,e,o){if(t(n,e,o))return r=i?e:n,!1})),r}(n,ht(t),ut)}function jt(n,t){return ut(n,tt(t))}function Bt(n,t,e){return rn(n,ht(t),e,arguments.length<3,ut)}function qt(n,t){var e;if("function"!=typeof t)throw new TypeError(r);return n=de(n),function(){return--n>0&&(e=t.apply(this,arguments)),n<=1&&(t=i),e}}var Ht=Wt((function(n,t,e){return Dt(n,33,t,e)})),Yt=Wt((function(n,t){return rt(n,1,t)})),Kt=Wt((function(n,t,e){return rt(n,ve(t)||0,e)}));var $t=Wt((function(n,t){return Dt(n,32,i,t)}));function Wt(n,t){if("function"!=typeof n)throw new TypeError(r);return t=Nn(t===i?n.length-1:de(t),0),function(){for(var e=arguments,i=-1,r=Nn(e.length-t,0),o=Array(r);++i<r;)o[i]=e[t+i];var a=Array(t+1);for(i=-1;++i<t;)a[i]=e[i];return a[t]=o,n.apply(this,a)}}function Xt(n,t){return n===t||n!=n&&t!=t}function Jt(n,t){return n>t}function Qt(n){return te(n)&&dn.call(n,"callee")&&(!Tn.call(n,"callee")||pn.call(n)==u)}var Zt=Array.isArray;function ne(n){return null!=n&&oe(Ct(n))&&!re(n)}function te(n){return ue(n)&&ne(n)}var ee,ie=(ee=!1,function(){return ee});function re(n){var t=ae(n)?pn.call(n):"";return t==d||t==v}function oe(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=a}function ae(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function ue(n){return!!n&&"object"==typeof n}function ce(n){return"number"==typeof n||ue(n)&&pn.call(n)==p}function se(n){return"string"==typeof n||!Zt(n)&&ue(n)&&pn.call(n)==w}function fe(n){return ue(n)&&oe(n.length)&&!!V[pn.call(n)]}function le(n,t){return n<t}var de=Number,ve=Number;function he(n){return"string"==typeof n?n:null==n?"":n+""}var pe=Nt((function(n,t){St(t,we(t),n)})),ge=Nt((function(n,t){St(t,ye(t),n)})),me=Nt((function(n,t,e,i){Rt(t,ye(t),n,i)}));var _e=Wt((function(n){return n.push(i,Qn),me.apply(i,n)}));function we(n){var t=Vt(n);if(!t&&!ne(n))return function(n){return kn(Object(n))}(n);var e=Mt(n),i=!!e,r=e||[],o=r.length;for(var a in n)!dn.call(n,a)||i&&("length"==a||cn(a,o))||t&&"constructor"==a||r.push(a);return r}function ye(n){for(var t=-1,e=Vt(n),i=pt(n),r=i.length,o=Mt(n),a=!!o,u=o||[],c=u.length;++t<r;){var s=i[t];a&&("length"==s||cn(s,c))||"constructor"==s&&(e||!dn.call(n,s))||u.push(s)}return u}var be=Nt((function(n,t,e){_t(n,t,e)})),Ee=Wt((function(n,t){return null==n?{}:(t=gt(st(t,1),String),wt(n,function(n,t,e,i){var r,o=-1,a=Q,u=!0,c=n.length,s=[],f=t.length;if(!c)return s;e&&(t=gt(t,(r=e,function(n){return r(n)}))),i?(a=Z,u=!1):t.length>=200&&(a=Hn,u=!1,t=new qn(t));n:for(;++o<c;){var l=n[o],d=e?e(l):l;if(u&&d==d){for(var v=f;v--;)if(t[v]===d)continue n;s.push(l)}else a(t,d,i)||s.push(l)}return s}(ye(n),t)))}));var Ie=Wt((function(n,t){return null==n?{}:wt(n,st(t,1))}));function Ae(n){return n?function(n,t){return gt(t,(function(t){return n[t]}))}(n,we(n)):[]}function Te(n){return n}var Se,Re=ht;function ke(n,t,e){var i=we(t),r=dt(t,i);null!=e||ae(t)&&(r.length||!i.length)||(e=t,t=n,n=this,r=dt(t,we(t)));var o=!ae(e)||!("chain"in e)||e.chain,a=re(n);return ut(r,(function(e){var i=t[e];n[e]=i,a&&(n.prototype[e]=function(){var t=this.l;if(o||t){var e=n(this.u),r=e.m=It(this.m);return r.push({func:i,args:arguments,thisArg:n}),e.l=t,e}return i.apply(n,nn([this.value()],arguments))})})),n}zn.prototype=it(Un.prototype),zn.prototype.constructor=zn,Gn.prototype=xn?xn(null):fn,Bn.prototype.clear=function(){this.I={hash:new Gn,map:Dn?new Dn:[],string:new Gn}},Bn.prototype["delete"]=function(n){var t=this.I;return Lt(n)?function(n,t){return jn(n,t)&&delete n[t]}("string"==typeof n?t.string:t.hash,n):Dn?t.map["delete"](n):Kn(t.map,n)},Bn.prototype.get=function(n){var t=this.I;return Lt(n)?function(n,t){if(xn){var e=n[t];return e===o?i:e}return dn.call(n,t)?n[t]:i}("string"==typeof n?t.string:t.hash,n):Dn?t.map.get(n):$n(t.map,n)},Bn.prototype.has=function(n){var t=this.I;return Lt(n)?jn("string"==typeof n?t.string:t.hash,n):Dn?t.map.has(n):Wn(t.map,n)},Bn.prototype.set=function(n,t){var e=this.I;return Lt(n)?function(n,t,e){n[t]=xn&&e===i?o:e}("string"==typeof n?e.string:e.hash,n,t):Dn?e.map.set(n,t):Jn(e.map,n,t),this},qn.prototype.push=function(n){var t=this.I;if(Lt(n)){var e=t.I;("string"==typeof n?e.string:e.hash)[n]=o}else t.set(n,o)},Yn.prototype.clear=function(){this.I={array:[],map:null}},Yn.prototype["delete"]=function(n){var t=this.I,e=t.array;return e?Kn(e,n):t.map["delete"](n)},Yn.prototype.get=function(n){var t=this.I,e=t.array;return e?$n(e,n):t.map.get(n)},Yn.prototype.has=function(n){var t=this.I,e=t.array;return e?Wn(e,n):t.map.has(n)},Yn.prototype.set=function(n,t){var e=this.I,i=e.array;i&&(i.length<199?Jn(i,n,t):(e.array=null,e.map=new Bn(i)));var r=e.map;return r&&r.set(n,t),this},Un.assign=pe,Un.assignIn=ge,Un.before=qt,Un.bind=Ht,Un.chain=zt,Un.compact=function(n){return ct(n,Boolean)},Un.concat=Ft,Un.create=function(n,t){var e=it(n);return t?pe(e,t):e},Un.defaults=_e,Un.defer=Yt,Un.delay=Kt,Un.filter=function(n,t){return ct(n,ht(t))},Un.flatten=function(n){return(n?n.length:0)?st(n,1):[]},Un.flattenDeep=function(n){return(n?n.length:0)?st(n,Infinity):[]},Un.iteratee=Re,Un.keys=we,Un.map=function(n,t){return gt(n,ht(t))},Un.mapValues=function(n,t){var e={};return t=ht(t),lt(n,(function(n,i,r){e[i]=t(n,i,r)})),e},Un.matches=function(n){return mt(pe({},n))},Un.merge=be,Un.mixin=ke,Un.negate=function(n){if("function"!=typeof n)throw new TypeError(r);return function(){return!n.apply(this,arguments)}},Un.omit=Ee,Un.omitBy=function(n,t){return t=ht(t),yt(n,(function(n,e){return!t(n,e)}))},Un.once=function(n){return qt(2,n)},Un.partial=$t,Un.pick=Ie,Un.pickBy=function(n,t){return null==n?{}:yt(n,ht(t))},Un.slice=function(n,t,e){var r=n?n.length:0;return t=null==t?0:+t,e=e===i?r:+e,r?Et(n,t,e):[]},Un.sortBy=function(n,t){var e=0;return t=ht(t),gt(gt(n,(function(n,i,r){return{value:n,index:e++,criteria:t(n,i,r)}})).sort((function(n,t){return function(n,t){if(n!==t){var e=null===n,r=n===i,o=n==n,a=null===t,u=t===i,c=t==t;if(n>t&&!a||!o||e&&!u&&c||r&&c)return 1;if(n<t&&!e||!c||a&&!r&&o||u&&o)return-1}return 0}(n.criteria,t.criteria)||n.index-t.index})),bt("value"))},Un.tap=function(n,t){return t(n),n},Un.thru=function(n,t){return t(n)},Un.toArray=function(n){return ne(n)?n.length?It(n):[]:Ae(n)},Un.values=Ae,Un.extend=ge,ke(Un,Un),Un.clone=function(n){return ae(n)?Zt(n)?It(n):St(n,we(n)):n},Un.cloneDeep=function(n){return et(n,!0,!0)},Un.escape=function(n){return(n=he(n))&&x.test(n)?n.replace(O,an):n},Un.every=function(n,t,e){return function(n,t){var e=!0;return ut(n,(function(n,i,r){return e=!!t(n,i,r)})),e}(n,ht(t=e?i:t))},Un.find=Gt,Un.findIndex=function(n,t){return n&&n.length?function(n,t,e){for(var i=n.length,r=e?i:-1;e?r--:++r<i;)if(t(n[r],r,n))return r;return-1}(n,ht(t)):-1},Un.forEach=jt,Un.forOwn=function(n,t){return n&<(n,tt(t))},Un.has=function(n,t){return null!=n&&dn.call(n,t)},Un.head=Ut,Un.identity=Te,Un.includes=function(n,t,e,i){n=ne(n)?n:Ae(n),e=e&&!i?de(e):0;var r=n.length;return e<0&&(e=Nn(r+e,0)),se(n)?e<=r&&n.indexOf(t,e)>-1:!!r&&en(n,t,e)>-1},Un.indexOf=function(n,t,e){for(var i=n?n.length:0,r=((e="number"==typeof e?e<0?Nn(i+e,0):e:0)||0)-1,o=t==t;++r<i;){var a=n[r];if(o?a===t:a!=a)return r}return-1},Un.isArguments=Qt,Un.isArray=Zt,Un.isBoolean=function(n){return!0===n||!1===n||ue(n)&&pn.call(n)==s},Un.isDate=function(n){return ue(n)&&pn.call(n)==f},Un.isEmpty=function(n){if(ne(n)&&(Zt(n)||se(n)||re(n.splice)||Qt(n)))return!n.length;for(var t in n)if(dn.call(n,t))return!1;return!0},Un.isEqual=function(n,t){return vt(n,t)},Un.isFinite=function(n){return"number"==typeof n&&Rn(n)},Un.isFunction=re,Un.isNaN=function(n){return ce(n)&&n!=+n},Un.isNull=function(n){return null===n},Un.isNumber=ce,Un.isObject=ae,Un.isRegExp=function(n){return ae(n)&&pn.call(n)==m},Un.isString=se,Un.isUndefined=function(n){return n===i},Un.last=function(n){var t=n?n.length:0;return t?n[t-1]:i},Un.max=function(n){return n&&n.length?tn(n,Te,Jt):i},Un.min=function(n){return n&&n.length?tn(n,Te,le):i},Un.noConflict=function(){return $._===this&&($._=gn),this},Un.noop=function(){},Un.reduce=Bt,Un.result=function(n,t,e){var r=null==n?i:n[t];return r===i&&(r=e),re(r)?r.call(n):r},Un.size=function(n){return null==n?0:(n=ne(n)?n:we(n)).length},Un.some=function(n,t,e){return At(n,ht(t=e?i:t))},Un.uniqueId=function(n){var t=++vn;return he(n)+t},Un.each=jt,Un.first=Ut,ke(Un,(Se={},lt(Un,(function(n,t){dn.call(Un.prototype,t)||(Se[t]=n)})),Se),{chain:!1}),Un.VERSION="4.6.1",ut(["pop","join","replace","reverse","split","push","shift","sort","splice","unshift"],(function(n){var t=(/^(?:replace|split)$/.test(n)?String.prototype:sn)[n],e=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",i=/^(?:pop|join|replace|shift)$/.test(n);Un.prototype[n]=function(){var n=arguments;return i&&!this.l?t.apply(this.value(),n):this[e]((function(e){return t.apply(e,n)}))}})),Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return n=this.u,Bt(this.m,(function(n,t){return t.func.apply(t.thisArg,nn([n],t.args))}),n);var n},(Y||H||{})._=Un,G&&j&&(B&&((j.exports=Un)._=Un),G._=Un)}.call(this)},430:function(n,t,e){n.exports=e(356)._.noConflict()},9039:function(n,t,e){var i=e(4101).v3,r=Math.pow(2,32),o=function(n,t){return(i(n,t)>>>0)/r};n.exports={Seed:{IGNORING:0,BUCKETING:1,FALLBACK:2,HOLDBACK:3,BEHAVIOR_EVENT:2716770798},hashToHex:function(n,t){var e=i(n,t);return(e>>>16).toString(16)+(65535&e).toString(16)},hashToInt:function(n,t,e){return Math.floor(o(n,t)*e)},hashToReal:o,toByteString:function(n){var t=String.fromCharCode;return n.replace(/[\S\s]/gi,(function(n){n=n.charCodeAt(0);var e=t(255&n);return n>255&&(e=t(n>>>8&255)+e),n>65535&&(e=t(n>>>16)+e),e}))}}},2894:function(n,t){t.generate=function e(n){return n?(n^16*Math.random()>>n/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)}},6030:function(n,t,e){var i=e(430),r=e(4748).get("stores/audience_data"),o=e(1564),a=e(552),u=e(4665),c=e(1226);function s(n){var t=["type","selector","attributes","value"],e=i.extend({},n);return e.changeSet=i.map(n.changeSet,(function(n){return i.pick(c.dereferenceChangeId(n),t)})),e}t.emitLayerDecided=function(n){var t=n.decisionTicket?n.decisionTicket.audienceIds:[],e=i.map(t,(function(n){return{id:n,name:r.get(n).name}})),u={type:a.TYPES.LIFECYCLE,name:"layerDecided",data:i.extend(n,{audiences:e})},s=c.translateLayerEventToCampaignEvent(u);o.emit(u),o.emit(s)},t.emitViewActivated=function(n){var t={type:a.TYPES.LIFECYCLE,name:"viewActivated",data:n},e=c.translateViewActivatedToPageActivated(t);o.emit(t),o.emit(e)},t.emitViewsActivated=function(n){var t={type:a.TYPES.LIFECYCLE,name:"viewsActivated",data:n};o.emit(t)},t.emitPageDeactivated=function(n){var t={type:a.TYPES.LIFECYCLE,name:"pageDeactivated",data:n};o.emit(t)},t.emitActivateEvent=function(){o.emit({type:a.TYPES.LIFECYCLE,name:"activate"},!0)},t.emitActivatedEvent=function(){o.emit({type:a.TYPES.LIFECYCLE,name:"activated"})},t.emitInitializedEvent=function(){var n={type:a.TYPES.LIFECYCLE,name:"initialized"};window.optimizely&&(window.optimizely.initialized=!0),o.emit(n)},t.emitOriginsSyncedEvent=function(){var n={type:a.TYPES.LIFECYCLE,name:"originsSynced"};o.emit(n)},t.emitActionAppliedEvent=function(n){var t={type:n.type,campaignId:n.layerId,pageId:n.pageId,experimentId:n.experimentId,variationId:n.variationId};u.defineProperty(t,"changes",(function(){return s(n).changeSet}),"actionAppliedEvent");var e={type:a.TYPES.ACTION,name:"applied",data:t};o.emit(e)},t.emitActionsForDecisionAppliedEvent=function(n,t){var e={decision:n};u.defineProperty(e,"actions",(function(){return i.map(t,s)}),"appliedAllForDecisionEvent");var r={type:a.TYPES.ACTION,name:"appliedAllForDecision",data:e};o.emit(r)},t.emitSendEvents=function(){var n={type:a.TYPES.ANALYTICS,name:"sendEvents"};o.emit(n)},t.emitHoldEvents=function(){var n={type:a.TYPES.ANALYTICS,name:"holdEvents"};o.emit(n)}},6863:function(n,t,e){var i=e(430),r=e(6393),o=e(4665),a=e(1226),u=e(5431),c=e(8424);function s(n,t,e,r){var o=n.getLayerState(r),a=t.get(r),c=e.get();if(!o||!a)return c?{layer:{name:c.layerName,id:c.layerId,policy:c.layerPolicy,integrationStringVersion:c.integrationStringVersion},experiment:{name:c.experimentName,id:c.experimentId},variation:{name:c.variationName,id:c.variationId},isLayerHoldback:!1}:null;if(u.isSingleExperimentPolicy(a.policy)&&o.decision.isLayerHoldback)return null;var s,f,l=o.decision.experimentId,d=o.decision.variationId;return l&&d&&(s=i.find(a.experiments,{id:l}))&&(f=i.find(s.variations,{id:d}))?{layer:{name:a.name,id:a.id,policy:a.policy,integrationStringVersion:a.integrationStringVersion},experiment:{name:s.name,id:s.id},variation:{name:f.name,id:f.id},isLayerHoldback:o.decision.isLayerHoldback}:null}function f(n,t,e,r,o,a,s){var f=[],l=n.getLayerStates();s.onlySingleExperiments&&(l=i.filter(l,(function(n){var e=t.get(n.layerId);return e&&u.isSingleExperimentPolicy(e.policy)})));var d=e.getActiveViewIds(),v=i.map(l,(function(n){var e,r=!!n.decision.variationId,a=n.decisionActivationId&&n.decisionActivationId===o.getActivationId(),u=c.getExperimentAndVariation(),s=u?u.variationId:null,f=r&&n.decision.variationId===s,l=(null==(e=t.get(null==n?void 0:n.layerId))?void 0:e.viewIds)||[],v=i.every(l,(function(n){return!i.includes(d,n)}));return i.extend(n,{isActive:r&&a&&!v||f,visitorRedirected:f})})),h=a?i.filter(v,a):v;return i.each(h,(function(n){var e=function(n,t,e,r){var o,a,u=n.layerId,c=t.get(u)||{},s=i.map(c.experiments,(function(n){return i.pick(n,["id","name"])}));if(!r&&c.decisionMetadata&&c.decisionMetadata.offerConsistency)return;var f={id:u,campaignName:c.name||null,experiment:null,allExperiments:s,variation:null,reason:n.decision.reason,isActive:!!n.isActive,visitorRedirected:n.visitorRedirected,isInCampaignHoldback:n.decision.isLayerHoldback};n.decision&&n.decision.experimentId&&(o=i.find(c.experiments,{id:n.decision.experimentId})),o&&(f.experiment=i.pick(o,["id","name","campaignName"])),o&&n.decision.variationId&&(a=i.find(o.variations,{id:n.decision.variationId})),a&&(f.variation=i.pick(a,["id","name"]));var l=i.map(n.decisionTicket.audienceIds,(function(n){return i.pick(e.get(n),["id","name"])}));return f.audiences=l,c.decisionMetadata&&c.decisionMetadata.offerConsistency&&(f.pageId=n.pageId),f}(n,t,r,s.includeOfferConsistency);e&&f.push(e)})),f}t.data=["stores/audience_data","stores/client_metadata","stores/event_data","stores/layer_data","stores/view_data","stores/group_data","stores/interest_group","stores/tag_group","stores/global",function(n,t,e,r,u,c,s,f,l){var d={},v={},h={},p={audiences:n.getAudiencesMap(),events:e.getEventsMap(),campaigns:d,pages:u.getPagesMap(),experiments:v,variations:h,projectId:l.getProjectId(),snippetId:l.getSnippetId(),accountId:l.getAccountId(),dcpServiceId:l.getDCPServiceId(),revision:l.getRevision(),clientName:t.getClientName(),clientVersion:t.getClientVersion()},g=a.dereferenceChangeId;return i.each(r.getAll(),(function(n){o.defineProperty(d,n.id,(function(){var t=i.extend({},n);return o.defineProperty(t,"changes",(function(){return i.map(n.changes,g)}),"campaign"),o.defineProperty(t,"experiments",(function(){return i.map(n.experiments,(function(n){return v[n.id]}))}),"campaign"),t}),"campaignMap","byId"),i.each(n.experiments,(function(n){o.defineProperty(v,n.id,(function(){var t=i.extend({},n);return o.defineProperty(t,"changes",(function(){return i.map(n.changes,g)}),"experiment"),o.defineProperty(t,"variations",(function(){return i.map(n.variations,(function(n){return h[n.id]}))}),"experiment"),t}),"experimentMap","byId"),i.each(n.variations,(function(n){o.defineProperty(h,n.id,(function(){var t=i.extend({},n);return o.defineProperty(t,"actions",(function(){return i.map(n.actions,(function(n){return i.extend({},n,{changes:i.map(n.changes,g)})}))}),"variation"),t}),"variationMap","byId")}))}))})),p}],t.visitor=["stores/visitor",function(n){return i.cloneDeep(n.getVisitorProfile())}],t.visitor_id=["stores/visitor_id",function(n){return{randomId:n.getRandomId()}}],t.state=["stores/audience_data","stores/layer_data","stores/layer","stores/view_data","stores/view","stores/global","stores/observed_redirect",function(n,t,e,o,a,l,d){return{getCampaignStates:function(r){var o={},u=f(e,t,a,n,l,r,{includeOfferConsistency:!1});return i.each(u,(function(n){o[n.id]=n})),o},getExperimentStates:function(r){var o=f(e,t,a,n,l,r,{includeOfferConsistency:!1,onlySingleExperiments:!0}),u=["audiences","variation","reason","visitorRedirected","isActive"];return i.reduce(o,(function(n,t){var e=t.allExperiments[0];return n[e.id]=i.extend({},i.pick(t,u),{id:e.id,experimentName:e.name,isInExperimentHoldback:t.isInCampaignHoldback}),n}),{})},getCampaignStateLists:function(r){var o={},u=f(e,t,a,n,l,r,{includeOfferConsistency:!0});return i.each(u,(function(n){var t=n.id;o[t]||(o[t]=[]),o[t].push(n)})),o},getPageStates:function(n){var t=a.getAll(),e=i.reduce(t,(function(n,t){var e=o.get(t.id);return n[t.id]=i.extend({},i.pick(e,["id","name","apiName","category","staticConditions","tags"]),i.pick(t,["isActive","metadata"])),n[t.id].isActive=!!n[t.id].isActive,n}),{});return n?i.pickBy(e,n):e},isGlobalHoldback:function(){return l.isGlobalHoldback()},getActivationId:function(){return l.getActivationId()},getVariationMap:function(){var n=e.getLayerStates(),r={};return i.each(n,(function(n){var e=t.get(n.layerId);if(n.decision&&n.decision.experimentId&&(r[n.decision.experimentId]={id:n.decision.variationId,name:null,index:null},e)){var o=i.find(e.experiments,{id:n.decision.experimentId});if(o&&n.decision.variationId)var a=i.find(o.variations,{id:n.decision.variationId}),u=i.findIndex(o.variations,{id:n.decision.variationId});a&&(r[n.decision.experimentId]={id:n.decision.variationId,name:a.name,index:u})}})),r},getActiveExperimentIds:function(){var n={};return i.each(this.getCampaignStateLists({isActive:!0}),(function(t){i.each(t,(function(t){n[t.experiment.id]=!0}))})),i.keys(n)},getRedirectInfo:function(){var n=c.getExperimentAndVariation();return n&&(n.referrer=c.getReferrer()),n},getDecisionString:function(n){if(!n)throw new Error("Must pass a config to getDecisionString");n=i.extend({maxLength:255,shouldCleanString:!1},n);var o=s(e,t,d,n.campaignId);return o?r.generateAnalyticsString(o.layer,o.experiment,o.variation,o.isLayerHoldback,n.maxLength,n.shouldCleanString):null},getDecisionObject:function(n){if(!n)throw new Error("Must pass a config to getDecisionObject");n=i.extend({maxLength:255,shouldCleanString:!1},n);var o=s(e,t,d,n.campaignId);if(!o)return null;var a=r.formatNamesAndIdsForAnalytics(o.layer,o.experiment,o.variation,n.shouldCleanString),c=i.mapValues(a.names,(function(t,e){return r.combineAndTruncateIdAndName(t,a.idStrings[e],n.maxLength)})),f={experiment:c.experiment,variation:c.variation};return u.isSingleExperimentPolicy(o.layer.policy)||i.extend(f,{campaign:c.layer,holdback:o.isLayerHoldback}),f}}}],t.utils=e(8438).create(),t.jquery=["env/jquery",function(n){return n}],t.event_emitter=e(8001)},8905:function(n,t,e){var i=e(3457),r=e(3473),o="optimizelyDataApi";t.registerFunction=function(n,t){var e=r.getGlobal(o);e||(e={},r.setGlobal(o,e)),e[n]||(e[n]=t)},t.unregisterFunction=function(n){var t=r.getGlobal(o);t&&t[n]&&(t[n]=function(){i.log('Ignoring attempt to call "'+o+"."+n+'" which has been unregistered.')})},t.getFunction=function(n){return r.getGlobal(o)[n]}},5968:function(n,t,e){var i=e(430),r=e(3457),o=e(6863),a=e(4748),u=a.get("stores/plugins"),c=e(1664),s=e(2821),f=e(4407),l=[e(4779),e(418),e(3676)],d=["clientMetadata","cookieDomain","disable","load","optOut","rum"];t.push=function(n,t){var e,o,a,u;if(!i.isArray(n)&&i.isObject(n))u=i.isUndefined(n.version)?1:n.version,e=n.type,a=[n];else if(i.isArray(n))u=0,e=n[0],a=n.slice(1);else{if(!i.isString(n))return r.warn("API / Ignoring non-array/object/string argument:",n),!1;u=0,e=n,a=[]}if(l[u]&&(o=l[u][e]),t&&-1===d.indexOf(e))return r.debug("API / Ignoring non high priority function:",e,a),!1;if(!o)return r.warn('API / No function found for "'+e+'" (v'+u+") with arguments:",a),!1;r.log('API / Executing: "'+e,'" with arguments:',a);try{o.apply(null,a),f.dispatch(c.RECORD_API_USAGE,{methodName:u?"v"+u+"."+e:e})}catch(s){r.error(s)}return!0},t.get=function(n){r.log('API / Getting module: "'+n+'"');var t=o[n];if(t?i.isArray(t)&&(t=a.evaluate(t)):t=u.getPlugin(s.PluginTypes.apiModules,n),t)return f.dispatch(c.RECORD_API_USAGE,{methodName:"get."+n}),t;r.warn('Module "'+n+'" not found.')}},4665:function(n,t,e){var i=e(7699),r=e(1664),o=e(4407),a=e(3457);t.defineProperty=function(n,t,e,u,c){i(n,t,(function(){var n=["prop",u,c||t].join(".");return a.debug('Evaluating getter: "'+n+'"'),o.dispatch(r.RECORD_API_USAGE,{methodName:n}),e()}),!0)}},4779:function(n,t,e){var i=e(430),r=e(418);function o(n){var t,e={};if(n)if(a(n))t=Number(n);else{if("object"!=typeof n)throw new Error("tracker: Revenue argument "+n+"not a number.");if("revenue"in(e=i.extend({},n))){if(!a(e.revenue))throw new Error("tracker: Revenue value "+e.revenue+"not a number.");t=Number(e.revenue),delete e.revenue}}return i.isUndefined(t)||(e.revenue=t),e}function a(n){return i.isNumber(n)||i.isString(n)&&Number(n)==n}t.activateGeoDelayedExperiments=function(n,t){t||(t=n.lists?"odds":"cdn3"),r.dataFromSource({data:n,source:t})},t.activateSiteCatalyst=function(n){n&&n.sVariable&&r.integrationSettings({id:"adobe_analytics",settings:{sVariableReference:n.sVariable}})},t.bucketVisitor=function(n,t){if(n&&t){var e={experimentId:String(n)};t>256?e.variationId=String(t):e.variationIndex=String(t),r.bucketVisitor(e)}},t.bucketUser=t.bucketVisitor,t.disable=function(n){r.disable({scope:n})},t.log=function(n){i.isUndefined(n)&&(n=!0),r.log({level:n?"INFO":"OFF"})},t.optOut=function(n){i.isUndefined(n)&&(n=!0),r.optOut({isOptOut:n})},t.setCookieDomain=function(n){r.cookieDomain({cookieDomain:n})},t.setCookieExpiration=function(n){r.cookieExpiration({cookieExpirationDays:n})},t.setDimensionValue=function(n,t){var e={};e[n]=t,r.user({attributes:e})},t.setUserId=function(n){r.user({userId:n})},t.setGA4UserId=function(n){r.ga4User({ga4UserId:n})},t.storeThirdPartyData=function(n,t){r.dataFromSource({source:n,data:t})},t.trackEvent=function(n,t){r.event({eventName:n,tags:o(t)})}},1226:function(n,t,e){var i=e(430),r=e(4748),o=e(22),a=e(4665),u=r.get("stores/change_data");t.translateDecisionToCampaignDecision=function(n){return c(i.cloneDeep(n),{layerId:"campaignId",isLayerHoldback:"isCampaignHoldback"})},t.translateLayerEventToCampaignEvent=function(n){var e={};return a.defineProperty(e,"campaign",(function(){return function(n){var e=i.cloneDeep(n);return e.changes&&(e.changes=i.map(e.changes,t.dereferenceChangeId)),e.experiments&&i.each(e.experiments,(function(n){n.changes&&(n.changes=i.map(n.changes,t.dereferenceChangeId)),n.variations&&i.each(n.variations,(function(n){n.actions&&i.each(n.actions,(function(n){n.changes&&(n.changes=i.map(n.changes,t.dereferenceChangeId))}))}))})),e}(n.data.layer)}),"campaignEvent"),e.decisionTicket=n.data.decisionTicket,e.decision=this.translateDecisionToCampaignDecision(n.data.decision),e.audiences=n.data.audiences,{type:"lifecycle",name:"campaignDecided",data:e}},t.translateViewActivatedToPageActivated=function(n){return{type:"lifecycle",name:"pageActivated",data:{page:n.data.view}}},t.dereferenceChangeId=function(n){var t=u.getChange(n);return t?o.safeReference(t):n};var c=function(n,t){var e=i.omit(n,i.keys(t));return i.each(t,(function(t,i){e[t]=n[i]})),e}},8438:function(n,t,e){var i=e(7322).Promise,r=e(4192).t,o=e(1046).poll,a=e(5479).b,u=e(2551).A;t.create=function(){return{observeSelector:r,poll:o,Promise:i,waitForElement:a,waitUntil:u}}},5263:function(n){n.exports={DEFAULT_INTERVAL:20}},4192:function(n,t,e){var i=e(430),r=(e(1664),e(4748)),o=r.get("stores/directive"),a=e(6051),u=(e(3552),e(2821),e(4407),e(2894).generate),c=e(1046),s=e(3473),f=(r.get("stores/rum"),{once:!1,onTimeout:null,timeout:null}),l={},d=function(n){d=function(){if(!o.shouldObserveChangesIndefinitely())return function(n){var t=c.poll(i.partial(h,n));l[n].cancelObservation=function(){t(),delete l[n]}};var n,t=function(){this.disconnect(),i.each(i.keys(l),h),this.observe(r,e)},e={attributes:!0,childList:!0,subtree:!0,characterData:!0},r=a.getDocumentElement();return n=new MutationObserver(t),function(t){var o=l[t];n.observe(r,e),o.cancelObservation=function(){delete l[t],i.isEmpty(l)&&n.disconnect()}}}(),d(n)};function v(n){var t=l[n];t&&t.cancelObservation&&t.cancelObservation()}function h(n){if(l[n]){if(function(n){var t=n.options.timeout;if(null!==t)if("function"==typeof t)try{return t()}catch(e){}else if(Date.now()-n.startTime>t)return!0;return!1}(l[n]))return 0===l[n].matchedCount&&i.isFunction(l[n].options.onTimeout)&&l[n].options.onTimeout(),void v(n);var t=a.querySelectorAll(l[n].selector);t.length&&(i.each(t,(function(t){t.T&&t.T[n]||l[n].callbackQueue.push(t)})),function(n){for(;l[n]&&l[n].callbackQueue.length;){var t=l[n].callbackQueue.shift();if(p(t,n),l[n].matchedCount=l[n].matchedCount+1,l[n].callback(t),l[n]&&l[n].options.once)return void v(n)}}(n))}}function p(n,t){n.T||(n.T={}),n.T[t]=!0}t.t=function(n,t,e){if(!function(n){try{a.querySelector(n)}catch(t){return!1}return!0}(n))throw new Error("observeSelector expects a valid css selector as its first argument");if(!i.isFunction(t))throw new Error("observeSelector expects a function as its second argument");if(e&&(!i.isObject(e)||i.isFunction(e)))throw new Error("observeSelector expects an object as its third argument");var r=u();return e=i.assign({},f,e||{}),l[r]={callback:t,callbackQueue:[],matchedCount:0,options:e,selector:n,startTime:Date.now()},d(r),s.setTimeout(i.bind(h,null,r),0),i.partial(v,r)}},1046:function(n,t,e){var i=e(430),r=(e(1664),e(4748)),o=(e(2821),e(4407),e(2894).generate),a=e(3473),u=e(5263).DEFAULT_INTERVAL,c=(r.get("stores/rum"),{});function s(n){c[n]&&i.each(c[n].callbacks,(function(n){n.call(null)}))}function f(n,t){c[t]&&c[t].callbacks[n]&&(delete c[t].callbacks[n],i.some(c[t].callbacks)||(clearInterval(c[t].id),delete c[t]))}t.poll=function(n,t){i.isNumber(t)||(t=u),c[t]||(c[t]={callbacks:{},id:a.setInterval(i.partial(s,t),t)});var e=o();return c[t].callbacks[e]=n,i.partial(f,e,t)},t.cancelAll=function(){i.each(c,(function(n,t){clearInterval(n.id),delete c[t]}))}},5479:function(n,t,e){var i=e(7322).Promise,r=e(4192).t;t.b=function(n){return new i((function(t,e){r(n,t,{once:!0})}))}},2551:function(n,t,e){var i=e(7322).Promise,r=e(1046).poll;t.A=function(n){return new i((function(t,e){if(n())t();else var i=r((function(){n()&&(i(),t())}))}))}},418:function(n,t,e){var i=e(430),r=e(1664),o=e(5968),a=e(6863),u=e(3205),c=e(2821),s=e(9226),f=e(6030),l=e(1164),d=e(1364).U,v=e(2146),h=e(1299),p=(e(8685),e(8967)),g=e(1564),m=e(4407),_=e(716),w=e(1623),y=e(3457),b=e(121),E=(e(7598),e(5326)),I=e(9867),A=e(4748),T=A.get("stores/dimension_data"),S=A.get("stores/view"),R=A.get("stores/view_data"),k=A.get("stores/visitor_id"),N=A.get("stores/layer_data"),D=A.get("stores/directive"),C=t.ApiListenerError=d("ApiListenerError");t.event=function(n){var t;switch(n.eventType){case"click":t=function(n){var t;return n.eventData&&(t=p.create(n.eventData.id,n.eventData.apiName,"click",n.eventData)),function(){var n=s.trackClickEvent(t);n?y.log("API / Tracking click event:",n):y.log("API / Not tracking click event:",n)}}(n);break;case"decision":t=function(n){var t=n.eventData,e=w.createLayerState(t.layerId,t.experimentId,t.variationId,t.isLayerHoldback),i=w.createSingle(t.layerId,t.experimentId,t.variationId);return function(){w.recordLayerDecision(e.layerId,e.decisionTicket,e.decision),y.log("API / Tracking decision event:",e),s.trackDecisionEvent(e.decision,e.decisionTicket,i)}}(n);break;case"pageview":t=function(n){var t=E.create(n.eventData.id,n.eventData.apiName),e=E.createState(t.id);return function(){var n=s.trackViewActivation(t,e);n?y.log("API / Tracking pageview event:",n):y.log("API / Not tracking pageview event:",n)}}(n);break;default:t=function(n){var t;return n.eventId&&(t=p.create(n.eventId,n.eventName,"custom")),E.updateAllViewTags(),function(){s.trackCustomEvent(n.eventName,n.tags,t,n.properties)?y.log("API / Tracking custom event:",n.eventName,n.tags):y.log("API / Not tracking custom event:",n.eventName)}}(n)}k.getBucketingId()?t():m.dispatch(r.ADD_CLEANUP_FN,{lifecycle:c.Lifecycle.postActivate,cleanupFn:t})},t.clientMetadata=function(n){false},t.priorRedirectString=function(n){},t.microsnippetError=function(n){},t.rum=function(n){m.dispatch(r.SET_RUM_DATA,n.eventData)},t.initialViewStates=function(n){var t=i.map(n.states,(function(n,t){return{id:t,isActive:n}}));E.registerViews(t)},t.page=function(n){var t=R.getByApiName(n.pageName);if(!t)throw new Error('Unknown page "'+n.pageName+'"');var e=!n.hasOwnProperty("isActive")||n.isActive,i=function(){e?E.activateViaAPI(t,n.tags):(E.deactivate(t),y.log("API / Deactivated Page",E.description(t)))};k.getBucketingId()?i():m.dispatch(r.ADD_CLEANUP_FN,{lifecycle:c.Lifecycle.postViewsActivated,cleanupFn:i})},t.tags=function(n){E.setGlobalTags(n.tags)},t.user=function(n){y.log("API / Setting visitor custom attributes:",n.attributes),i.each(n.attributes,(function(n,t){var e,i,r=t,o=T.getById(t)||T.getByApiName(t);o&&(r=o.id,e=o.apiName,i=o.segmentId||o.id);var a={id:i,value:n};e&&(a.name=e),O(r,a,!0)}))},t.ga4User=function(n){n.ga4UserId?(y.log("API / Setting ga4 user id in the global store:",n.ga4UserId),m.dispatch(r.SET_GA4_USER_ID,n)):y.error('API / Argument "ga4UserId" is missing')};var O=function(n,t,e){var i=[{key:e?["custom",n]:[n],value:t,metadata:{lastModified:v.now()}}],o=function(){m.dispatch(r.SET_VISITOR_ATTRIBUTES,{attributes:i})};k.getBucketingId()?o():m.dispatch(r.ADD_CLEANUP_FN,{lifecycle:c.Lifecycle.postVisitorProfileLoad,cleanupFn:o})};t.optOut=function(n){var t=!n.hasOwnProperty("isOptOut")||n.isOptOut;h.setOptOut(t)},t.cookieExpiration=function(n){var t=n.cookieExpirationDays;t<90&&(y.error('Argument "cookieExpirationDays"=',t,"less than minimum days:",90,", setting to minimum."),t=90),y.log("API / Setting cookie age to",t,"days."),m.dispatch(r.SET_COOKIE_AGE,86400*t)},t.extendCookieLifetime=function(n){n=i.extend({isEnabled:!0},n),y.log("API / Setting cookie automatic lifetime extension to",n.isEnabled),m.dispatch(r.SET_COOKIE_AUTO_REFRESH,n.isEnabled)},t.cookieDomain=function(n){y.log("API / Setting cookie domain to",n.cookieDomain),m.dispatch(r.SET_COOKIE_DOMAIN,n.cookieDomain)},t.disable=function(n){if(n.scope){if("tracking"!==n.scope)throw new Error('Unknown "scope" for disable: '+n.scope);y.log("API / Disabling tracking"),m.dispatch(r.LOAD_DIRECTIVE,{trackingDisabled:!0})}else y.log("API / Disabling everything"),m.dispatch(r.LOAD_DIRECTIVE,{disabled:!0})},t.log=function(n){var t=n.level,e=n.match;i.isUndefined(t)&&(t="INFO"),i.isUndefined(e)&&(e=""),y.setLogMatcher(e),y.setLogLevel(t)},t.registerModule=function(n){var t="custom/"+n.moduleName;if(a[t]||o.get(t))throw new Error('Module name "'+t+'" is reserved. Will not be registered as plugin.');b.registerApiModule(t,n.module)},t.dataFromSource=function(n){var t=n.source;l.makeAsyncRequest(t),l.resolveRequest(t,n.data)},t.addListener=function(n){if(!i.isFunction(n.handler))throw new Error("A handler function must be supplied");(n=i.omit(n,"type")).publicOnly=!0,n.emitErrors=!0;var t=n.handler;n.handler=function(n){try{return t(n)}catch(e){throw new C(e)}},g.on(n)},t.removeListener=function(n){if(!n.token)throw new Error("Must supply a token to removeListener");g.off(n.token)},t.load=function(n){n.data=i.extend({},n.data),u.normalizeClientData(n.data),m.dispatch(r.DATA_LOADED,{data:n.data})},t.integrationSettings=function(n){if(!n.id)throw new Error("id is required");if(!n.settings)throw new Error("settings is required");m.dispatch(r.SET_INTEGRATION_SETTINGS,i.extend({},n.settings,{id:n.id}))},t.bucketVisitor=function(n){if(!n.variationId&&i.isUndefined(n.variationIndex)||n.variationId&&n.variationIndex)throw new Error("One of a variationId or a variationIndex is required.");if(!n.experimentId)throw new Error("An experimentId is required.");var t,e,r=n.campaignId;if(r){if(!(t=N.get(r)))throw new Error("Could not find layer "+r)}else if(!(r=(t=N.getLayerByExperimentId(n.experimentId)).id))throw new Error("Could not find layer for experiment "+n.experimentId);if(!(e=i.find(t.experiments,{id:n.experimentId})))throw new Error("Could not find experiment "+n.experimentId+" in layer "+r);var o=n.variationId;if(i.isUndefined(n.variationIndex)){if(!i.find(e.variations,{id:o}))throw new Error("Cound not find variation "+o+" in experiment "+n.experimentId)}else if(!(o=e.variations[n.variationIndex].id))throw new Error("Could not find variation at index "+n.variationIndex+" in experiment "+n.experimentId);I.updateVariationIdMap(r,n.experimentId,o),k.getBucketingId()&&I.persistVariationIdMap()},t.waitForOriginSync=function(n){if(!i.isArray(n.canonicalOrigins))throw new Error("canonicalOrigins must be an array. Got: "+_.stringify(n.canonicalOrigins));i.each(n.canonicalOrigins,(function(n){if(!i.isString(n))throw new Error("Each item in canonicalOrigins must be a string. Found type "+(void 0===n?"undefined":(t=n)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t));var t})),m.dispatch(r.XDOMAIN_SET_CANONICAL_ORIGINS,{canonicalOrigins:n.canonicalOrigins})},t.disableCrossOrigin=function(){y.log("API / cross origin tracking is DISABLED"),m.dispatch(r.XDOMAIN_SET_DISABLED,{disabled:!0})},t.activate=function(){D.shouldActivate()?(i.forEach(S.getActiveViewStates(),(function(n){E.deactivate(R.get(n.id))})),m.dispatch(r.RESET_VIEW_STATES),f.emitActivateEvent()):y.debug("Not activating.")},t.sendEvents=function(){f.emitSendEvents()},t.holdEvents=function(){f.emitHoldEvents()}},3676:function(){},9268:function(n,t,e){var i=e(430),r=e(1364).U,o=t.ActivationCodeError=r("ActivationCodeError"),a=t.ProjectJSError=r("ProjectJSError"),u=e(5971),c=e(1664),s=e(9226),f=e(6030),l=e(62),d=e(6397),v=e(3205),h=e(2146),p=e(3529),g=e(4748),m=e(1299),_=e(6051),w=e(2821),y=e(1564),b=e(552),E=e(3562),I=e(4407),A=(e(5781),e(1623)),T=e(4513).mM,S=e(3457),R=e(1017),k=e(2341),N=e(121),D=e(6216),C=e(7322).Promise,O=e(392),x=e(7598),P=e(2469),M=e(2781),L=e(5326),V=e(9867),F=e(3473),U=(g=e(4748)).get("stores/session"),z=g.get("stores/audience_data"),G=g.get("stores/action_data"),j=g.get("stores/cleanup"),B=g.get("stores/directive"),q=g.get("stores/global"),H=(g.get("stores/group_data"),g.get("stores/layer_data")),Y=g.get("stores/layer"),K=g.get("stores/pending_events"),$=g.get("stores/plugins"),W=g.get("stores/rum"),X=g.get("stores/visitor"),J=g.get("stores/view_data"),Q=g.get("stores/view"),Z=g.get("stores/visitor_id"),nn=g.get("stores/visitor_bucketing"),tn=g.get("stores/xdomain"),en=e(5968),rn=e(8685),on=e(1632),an=t;function un(){var n=null;i.isNumber(n)&&0===H.getCount()?(S.log("Activating after delay of",n,"ms because no Experiments are running"),I.dispatch(c.SET_RUM_DATA,{data:{activateDfd:!0}}),F.setTimeout(f.emitActivateEvent,n)):f.emitActivateEvent()}function cn(n){rn.handleError(n.data.error,n.data.metadata)}function sn(n,t){I.dispatch(c.SET_RUM_DATA,{data:{extras:{xdAttempt:n,xdError:t?t.toString():void 0}}})}function fn(n,t,e){n=n||[];var r=q.getGlobalHoldbackThreshold(),o=Z.getBucketingId();if(!o)throw new Error("bucketingId not set");var a,u=X.getVisitorProfile();t&&(a=nn.getVariationIdMap()[t.id]);var c={bucketingId:o,visitorProfile:u,audiences:n,globalHoldback:r,preferredVariationMap:a,layer:t};return t&&e&&p.isPageIdRelevant(t)?i.map(e,(function(n){return p.createTicket(i.extend({},c,{pageId:n}))})):[p.createTicket(c)]}function ln(n,t){var e={};return i.each(n,(function(n){i.isArray(n)?i.extend(e,ln(n,t)):i.isObject(n)&&t[n.type]&&(e[n.type]=!0)})),e}function dn(n){var t=[];return i.each(n,(function(n){t.push(n.name,n)})),t}function vn(n){var t=j.getCleanupFns(n);if(t.length>0){for(;t.length>0;)t.shift()();I.dispatch(c.CLEAR_CLEANUP_FN,{lifecycle:n})}}t.initialize=function(n){return this.initGlobalStore(n.clientData),this.initializePlugins(n.plugins)},t.initGlobalStore=function(n){v.normalizeClientData(n),y.on({filter:{type:"error"},handler:cn}),I.dispatch(c.DATA_LOADED,{data:n}),S.log("Initialized with DATA:",n)},t.initializePlugins=function(n){if(i.isArray(window.optimizely)&&(window.optimizely=i.filter(window.optimizely,(function(n){var t=!0;return!en.push(n,t)}))),m.setOptOut(B.shouldOptOut()),!B.isDisabled()&&!B.shouldOptOut()){on.queueBeacons(),_.isReady()?I.dispatch(c.SET_DOMCONTENTLOADED):_.addReadyHandler((function(){I.dispatch(c.SET_DOMCONTENTLOADED)})),k.time("projectJS");var e=q.getProjectJS();if(i.isFunction(e))try{E.apply(e)}catch(v){S.error("Error while executing projectJS: ",v),d.emitError(new a(v))}k.timeEnd("projectJS"),i.each(n||[],(function(n){try{n(N)}catch(v){d.emitInternalError(v)}})),i.each(q.getPlugins()||[],(function(n){try{E.apply(n,[N])}catch(v){d.emitError(v)}})),x.load();var r=y.on({filter:{type:"lifecycle",name:"activated"},handler:function(){X.observe(V.persistVisitorProfile),Y.observe(V.persistLayerStates),U.observe(V.persistSessionState),K.observe(R.persistPendingEvents),nn.observe(V.persistVisitorBucketingStore),y.off(r)}});y.on({filter:{type:"lifecycle",name:"viewsActivated"},handler:t.onViewsActivated}),y.on({filter:{type:"lifecycle",name:"pageDeactivated"},handler:t.onPageDeactivated}),t.initializeApi();var o=R.getPendingEvents();if(o&&(I.dispatch(c.LOAD_PENDING_EVENTS,{events:o}),R.retryPendingEvents(o)),y.on({filter:{type:"lifecycle",name:"activate"},handler:t.activate}),f.emitInitializedEvent(),!B.shouldActivate())return C.resolve();var u=[];if(tn.isDisabled())un();else{var s=t.initializeXDomainStorage();if(u.push(s),Boolean(tn.getCanonicalOrigins())){var l=P.makeTimeoutPromise(1e3);C.race([s,l])["catch"]((function(n){S.error("Failed to initialize xDomain storage: ",n)})).then(un)["catch"](rn.handleError)}else un()}return C.all(u)}S.log("Controller / Is disabled")},t.activate=function(){try{var n=[];S.log("Activated client"),vn(w.Lifecycle.preActivate);var t=h.now();I.dispatch(c.ACTIVATE,{activationId:String(t),activationTimestamp:t});var e=J.getAll();L.registerViews(e),V.setId(V.getOrGenerateId()),n.push(s.trackPostRedirectDecisionEvent()),I.dispatch(c.MERGE_VARIATION_ID_MAP,{variationIdMap:V.getVariationIdMap()}),vn(w.Lifecycle.postVisitorProfileLoad),n.push((v=$.getAllPlugins(w.PluginTypes.visitorProfileProviders),g=X.getVisitorProfile(),V.populateEagerVisitorData(v,g)).then((function(){S.log("Populated visitor profile")})));var r=fn(),o=p.decideGlobal(r);S.log("Made global decision",r,"->",o),I.dispatch(c.RECORD_GLOBAL_DECISION,o);var a=s.trackClientActivation();a?S.log("Tracked activation event",a):S.log("Not tracking activation event");var u=an.setUpViewActivation(e),l=[];return i.each(u,(function(n){l=l.concat(L.activateMultiple([n]))})),vn(w.Lifecycle.postViewsActivated),vn(w.Lifecycle.postActivate),f.emitActivatedEvent(),C.all(n).then((function(){y.emit({type:b.TYPES.LIFECYCLE,name:"activateDeferredDone"}),S.log("All immediate effects of activation resolved")}),d.emitError)}catch(m){return d.emitError(m),C.reject(m)}var v,g},an.setUpViewActivation=function(n){var t=[];return i.each(n,(function(n){i.isBoolean(Q.getViewState(n.id).isActive)&&L.isActivationTypeImmediate(n.activationType)?S.debug("Skipping page: already evaluated, presumably at the edge",L.description(n)):L.shouldTriggerImmediately(n.activationType)?t.push(n):n.activationType===w.ViewActivationTypes.callback?(S.debug("Setting up conditional activation for Page",L.description(n)),an.activateViewOnCallback(n)):n.activationType===w.ViewActivationTypes.polling?(S.debug("Setting up polling activation for Page",L.description(n)),D.pollFor(i.partial(E.apply,n.activationCode),null,i.partial(M.isTimedOut,h.now())).then((function(){L.activateMultiple([n])}))["catch"]((function(t){S.warn("Failed to activate view ",n,t)}))):n.activationType!==w.ViewActivationTypes.manual&&d.emitError(new Error("Unknown view activationType: "+n.activationType))})),t},an.activateViewOnCallback=function(n){var t={pageId:n.id};Object.defineProperty(t,"isActive",{get:function(){return Q.isViewActive(n.id)}});try{E.apply(n.activationCode,[function(t){var e=i.extend({},t,{pageName:n.apiName,type:"page"});en.push(e)},t])}catch(r){var e=new o("("+r.toString()+") in activationCode for "+L.description(n));d.emitError(e,{originalError:r,userError:!0})}},t.onViewsActivated=function(n){var e,r=n.data.views,o=i.map(r,"id");try{if(!Z.getBucketingId())throw new Error("View activated with no visitorId set");var a=function(n){var e=H.getAllByPageIds(n),r=B.getForceVariationIds(),o=B.getForceAudienceIds();!i.isEmpty(r)&&S.log("Force variations are in use. Disabling mutual exclusivity.");var a={individual:e};S.log("Deciding Campaigns/Experiments for Page(s)",n),!1;var u=i.map(a.individual,A.description).join(", ");S.log("Campaigns/Experiments not in Groups (by Campaign id):",u);var c=[],s=i.map(a.individual,(function(e){var a=i.filter(e.pageIds,i.partial(i.includes,n));return t.decideAndExecuteLayerASAP(r,o,a,e)})),f=c.concat(s);return C.all(f).then((function(t){var e=i.filter(t,(function(n){return!!n}));return S.log("All Campaigns/Experiments for Page(s) (by Campaign id)",n,"resolved:",i.map(e,A.description).join(", ")),e}))}(o)["catch"](d.emitError);return e=C.all(i.map(r,(function(n){var t=function(){L.parseViewTags(n);var t=s.trackViewActivation(n);t?S.log("Tracked activation for Page",L.description(n),t):S.log("Not Tracking activation for Page",L.description(n))};return _.isReady()?C.resolve(t()):D.pollFor(_.isReady,1e3).then(t)}))),C.all([a,e])}catch(u){d.emitError(u)}},t.onPageDeactivated=function(n){var t=n.data.page,e=G.getAllActionIdsByPageId(t.id);i.each(e,(function(n){var e=G.getActionState(n);e&&(i.each(e,(function(n,e){if(n.cancel)try{n.cancel(),S.debug("Controller / Canceled change",e,"observation due to deactivation of page:",t)}catch(i){S.error("Controller / Error canceling change",e,"observation upon deactivation of page.",i)}if(t.undoOnDeactivation&&n.undo)try{n.undo(),S.debug("Controller / Undid change",e,"due to deactivation of page:",t)}catch(r){S.error("Controller / Error undoing change upon deactivation of page.",r)}})),I.dispatch(c.REMOVE_ACTION_STATE,{actionId:n}),S.debug("Controller / Undid changes and/or canceled change observation due to deactivation of page:",t,n))}))},t.initializeApi=function(){var n={push:en.push};n.get=en.get;var t=window.optimizely;i.isArray(t)&&i.each(t,(function(t){n.push(t)})),n.data={note:"Obsolete, use optimizely.get('data') instead"},n.state={},window.optimizely=n},t.persistItemsWithId=function(n){return i.each(n,(function(n,t){V.checkKeyForVisitorId(t)&&T.setItem(t,n)})),n},t.initializeXDomainStorage=function(){var n=e(9111),r=!!V.getCurrentId(),o=!!r&&V.hasSomeData();r?o?S.log("xd / Existing visitor; has data on this origin"):S.log("xd / Existing visitor; new to this origin"):S.log("xd / New visitor");var a=q.getAccountId(),u="https://a19960974376.cdn.optimizely.com".replace("__SUBDOMAIN__","a"+a+"."),s="/client_storage/a"+a+".html";n.subscribe((function(n,t){V.checkKeyForVisitorId(n)&&T.setItem(n,t)}));var l=n.fetchAll().then((function(t){if(!Z.getVisitorIdLocator()){var e=tn.getCanonicalOrigins();if(e){var i=n.getXDomainUserId(t,e);i&&(S.log("Syncing cross-origin visitor randomId:",i),V.maybePersistVisitorId({randomId:i}))}}return V.deleteOldForeignData(),t})).then(t.persistItemsWithId).then((function(n){if(V.loadForeignData(),r&&!o){var t=!i.isEmpty(n);S.debug("xd / Loaded foreign data? ",t),sn(t)}S.log("Loaded visitor data from foreign origins"),f.emitOriginsSyncedEvent()}),(function(n){throw r&&!o&&(S.debug("xd / Failed to load foreign data:",n),sn(!1,n)),n}));return C.all([n.load(u,s)["catch"]((function(n){throw S.debug("xd / Failed to load iframe:",n),r&&!o&&sn(!1,n),n})),l["catch"]((function(n){S.debug("xd / Ignored error syncing foreign data (expected if waitForOriginSync used):",n.message),S.debug("xd / Enqueuing sync to happen after visitorId set."),I.dispatch(c.ADD_CLEANUP_FN,{lifecycle:w.Lifecycle.postVisitorProfileLoad,cleanupFn:f.emitOriginsSyncedEvent})}))])},t.decideAndExecuteLayerASAP=function(n,e,r,o){return new C((function(a,d){try{!function(n,t,e,r,o){if(t.length||e.length)return void o(fn([],void 0,r));var a=A.relatedAudienceIds(n),u=i.reduce(a,(function(n,t){var e=z.get(t);return!e||n.push(e),n}),[]),s=$.getAllPlugins(w.PluginTypes.audienceMatchers);if(W.getSampleRum()){var f={};if(i.each(u,(function(n){i.extend(f,ln(n.conditions,s))})),!i.isEmpty(f)){var d=i.keys(f);I.dispatch(c.RECORD_AUDIENCE_USAGE,{audienceTypes:d,layerId:n.id})}}var v=function(n){S.debug("Audience list for extracting types",n);try{var t=new Set(i(n).map("conditions").flattenDeep().filter((function(n){return"string"!=typeof n})).map("type").value());return t.has("time_and_day")&&t.add("currentTimestamp"),S.debug("Extracted unique types from audiences",t),t}catch(e){return S.error("An error occurred while extracting types from audiences:",e),new Set}}(u),h=$.getAllPlugins(w.PluginTypes.visitorProfileProviders),p=X.getVisitorProfile();V.populateLazyVisitorData(h,p,v),function(n,t,e,r){var o=i.reduce(n,(function(n,e){return i.extend(n,l.requiredAudienceFieldsForConditions(e.conditions,t))}),{}),a=i.reduce(o,(function(n,t){if(i.isUndefined(V.getAttribute(t))){var e=V.getPendingAttributeValue(t);i.isUndefined(e)||n.push(e)}return n}),[]);if(0===a.length)return r();var u=[].concat(n),c=O.firstToResolve(i.map(a,(function(n){return C.resolve(n).then((function(){var n=X.getVisitorProfile();if(u=i.filter(u,(function(e){return i.isUndefined(l.isInAudience(n,e,t))})),!i.isEmpty(u))throw new Error("At least one audience is still pending")}))})));C.race([c,new C((function(n,t){F.setTimeout(t,e)}))]).then((function(){S.log("Activating Campaign after pending Audiences resolved",n),r()}),(function(){S.log("Activating Campaign after timeout on Audiences",n),r()}))}(u,s,A.getActivationTimeout(n),(function(){var t=fn(u,n,r);i.map(t,(function(t){!function(n,t,e){var r=i.map(n.audienceIds,i.bind(z.get,z)),o=i.filter(t,(function(t){return!i.includes(n.audienceIds,t.id)}));S.log("When deciding Campaign",A.description(e),"visitor is in audiences:",dn(r),"and not in audiences:",dn(o))}(t,u,n)})),o(t)}))}(o,n,e,r,(function(l){i.each(l,(function(a){var l=a.pageId?[a.pageId]:r;S.debug("Deciding layer: ",o,"with decisionTicket: ",a,"and actionViewIds: ",l),function(n,e,r,o,a){var l=A.description(n);S.log("Activating Campaign",l,"on Page(s)",o),r.length&&(S.log("Applying force audienceIds:",r,"to Campaign",l),(a=i.cloneDeep(a)).audienceIds=r);var d=t.decideLayer(n,a,e),v=!(!e.length&&!r.length),h=t.getActionsForDecision(n,d,v),g=function(n,t){return i.filter(n,(function(n){return i.isUndefined(n.pageId)||i.includes(t,n.pageId)}))}(h.actions,o);if(h.maybeExecute&&function(n,t,e,r){var o=A.description(t);S.log("Preparing actions",n,"for Campaign",o,"on Page(s)",r),i.forEach(n,u.prepareAction)}(g,n,0,o),i.forEach(o,(function(){s.trackDecisionEvent(d,a)})),f.emitLayerDecided({layer:n,decisionTicket:a,decision:d}),d.error)throw d.error;if(W.getSampleRum()){I.dispatch(c.RECORD_LAYER_POLICY_USAGE,{policy:n.policy,layerId:n.id});var m=function(n){var t={};return i.each(n,(function(n){i.each(n.changeSet,(function(n){t[n.type]||(t[n.type]=!0)}))})),t}(h.actions);I.dispatch(c.RECORD_CHANGE_TYPE_USAGE,{changeTypes:i.keys(m),layerId:n.id}),i.isEmpty(n.integrationSettings)||I.dispatch(c.RECORD_INTEGRATION_USAGE,{integrations:A.getIntegrationTypes(n),layerId:n.id})}if(!p.isInCohort(d))return void S.log("Not activating Campaign: "+A.description(n)+"; not in the cohort because:",d.reason);h.maybeExecute&&function(n,t,e,r){var o=A.description(t);S.log("Executing actions",n,"for Campaign",o,"on Page(s)",r),C.all(i.map(n,(function(n){return u.executePreparedAction(n).then(i.partial(f.emitActionAppliedEvent,n))}))).then((function(){S.log("All page actions for",e,"applied:",n),f.emitActionsForDecisionAppliedEvent(e,n)}))["catch"]((function(n){S.warn("Error evaluating page actions for decision",e,"because:",n)}))}(g,n,d,o)}(o,n,e,l,a)})),a(o)}))}catch(v){S.error("Error getting decision for Campaign: "+A.description(o),v),d(v)}}))},t.decideLayer=function(n,t,e){var i;var r=A.description(n);i=e.length?p.getDummyLayerDecision(n,e):p.decideLayer(n,t),S.log("Recording decision for Campaign",r,t,"->",i),A.recordLayerDecision(n.id,t,i),i.variationId&&i.experimentId&&V.updateVariationIdMap(n.id,i.experimentId,i.variationId);return i},t.getActionsForDecision=function(n,t,e){var i=A.description(n),r="NOT applying changes for Campaign",o={actions:[],maybeExecute:!1};if(o.actions=[].concat(G.getLayerActions(t.layerId)||[],G.getExperimentActions(t.experimentId)||[],G.getExperimentVariationActions(t.experimentId,t.variationId)||[]),!e&&q.isGlobalHoldback())return S.log(r,i,"(visitor is in global holdback)"),o;if(t.isLayerHoldback)return S.log(r,i,"(visitor is in layer holdback)"),o;if(!t.experimentId||!t.variationId)return S.log(r,i,"(visitor is not eligible for any Experiments)"),o;return o.maybeExecute=!0,S.log("Got Actions for Campaign:",i,o.actions),o}},7529:function(n,t,e){var i=e(7322).Promise,r=e(2146),o=e(4748).get("stores/plugins"),a=e(2821),u=e(3457);t.create=function(n,t,e){var c={identifier:n.id,action:t,startTime:e||r.now()};try{var s=o.getPlugin(a.PluginTypes.changeAppliers,n.type);if(!s)throw new Error("Unrecognized change type "+n.type);return new s(n,c)}catch(f){return u.error("Change applier was never properly constructed:",f),{apply:function(){return i.reject(f)}}}}},3734:function(n){n.exports={SELECTOR_POLLING_MAX_TIME:2e3,CHANGE_DATA_KEY:"optimizelyChangeData",CHANGE_ID_ATTRIBUTE_PREFIX:"data-optly-"}},2661:function(n,t,e){var i=e(430),r=e(3734).CHANGE_DATA_KEY;function o(n,t){return[n,t].join("_")}t.getData=function(n,t,e){var i=o(t,e);return n[r]&&n[r][i]?n[r][i]:null},t.hasData=function(n){return Boolean(n&&n[r]&&!i.isEmpty(n[r]))},t.removeData=function(n,t,e){n[r]&&delete n[r][o(t,e)]},t.setData=function(n,t,e,i){if("object"!=typeof i)throw new Error("setData expects an object");n[r]||(n[r]={}),n[r][o(t,e)]=i}},9818:function(n,t,e){var i=e(6744);n.exports={changeType:{CUSTOM_CODE:"custom_code",ATTRIBUTE:"attribute",APPEND:"append",REARRANGE:"rearrange",REDIRECT:"redirect",WIDGET:"widget"},DOMInsertionType:{AFTER:"after",APPEND:"append",BEFORE:"before",PREPEND:"prepend"},insertAdjacentHTMLType:{AFTER_BEGIN:"afterbegin",AFTER_END:"afterend",BEFORE_BEGIN:"beforebegin",BEFORE_END:"beforeend"},selectorChangeType:{CLASS:"class",HTML:"html",HREF:"href",SRC:"src",STYLE:"style",TEXT:"text",HIDE:"hide",REMOVE:"remove"},changeApplierState:i({APPLIED:null,APPLYING:null,UNAPPLIED:null,UNDOING:null}),changeState:i({BLOCKED:null,UNAPPLIED:null,APPLIED:null,APPLYING:null,UNDOING:null,TIMED_OUT:null,IGNORED:null,ERROR:null})}},5971:function(n,t,e){var i=e(430),r=e(1664),o=e(6397),a=e(1164),u=e(1364).U,c=e(2146),s=e(4748),f=e(4407),l=e(3457),d=e(7322).Promise,v=e(2538),h=s.get("stores/global"),p=s.get("stores/action_data"),g=s.get("stores/change_data"),m=s.get("stores/session"),_=e(7529);e(2781).initialize();var w=u("ActionError");function y(n,t,e){if(p.getActionState(t.id)){var o=p.getChangeApplier(n.id,t.id);if(i.isUndefined(o)){var a={changeId:n.id,actionId:t.id,changeApplier:_.create(n,t,e)};f.dispatch(r.SET_CHANGE_APPLIER,a)}else l.warn("Action / Attempted to prepare a change which is already being applied: ",n)}else l.warn("Action / Attempted to prepare change for inactive action: ",t)}function b(n,t,e,r){if(!i.includes(r,t)){if(!n[String(t)]){var u=g.getChange(t);if(!u){var s="Change with id "+t+" is absent";return r.length&&(s+=" but listed as a dependency for "+r[r.length-1]),void l.warn(s)}n[String(t)]=new d((function(s){var f=i.map(u.dependencies||[],(function(i){return b(n,i,e,r.concat([t]))}));if(u.src){var h="change_"+u.src,m=a.makeAsyncRequest(h,(function(){return v.addScriptAsync("https://cdn.optimizely.com/public/19960974376/data"+u.src,(function(){a.resolveRequest(h)}))})).then((function(){var n=g.getChange(u.id);n||o.emitError(new w("Failed to load async change from src: "+u.src)),y(n,e,c.now())}));f.push(m)}d.all(f).then((function(){var n=c.now(),i=p.getChangeApplier(t,e.id);return i?(l.debug("Action / Applying change:",u),i.apply().then((function(t){t?l.log(t):l.debug("Action / Applied change for the first time in "+(c.now()-n)+"ms:",u),s()}))):(l.debug("Action / Not applying change ",t," - No changeApplier found."),void s())}))["catch"]((function(n){l.error("Action / Failed to apply change:",u,n),s()}))}))}return n[String(t)]}l.error("Change with id "+t+" has circular dependencies: "+r.concat(t))}t.prepareAction=function(n){l.debug("Action / Preparing:",n),f.dispatch(r.ACTION_EXECUTED,{actionId:n.id,sessionId:m.getSessionId(),layerId:n.layerId,pageId:n.pageId,timestamp:c.now(),activationId:h.getActivationId()});var t=c.now();i.forEach(n.changeSet,(function(e){var o=i.isObject(e)?e.id:e,a=g.getChange(o);a||(f.dispatch(r.ADD_CHANGE,e),a=g.getChange(e.id)),a.src||y(a,n,t)}))},t.executePreparedAction=function(n){l.debug("Action / Executing:",n);var t={},e=i.map(n.changeSet,(function(e){var r=i.isObject(e)?e.id:e;return b(t,r,n,[])}));return d.all(e).then((function(){l.debug("changes for action id="+n.id+" applied")}))}},2781:function(n,t,e){var i=e(3734),r=e(4748).get("stores/directive");function o(){("interactive"===document.readyState||"complete"===document.readyState)&&(t.domReadyTime=Date.now())}t.domReadyTime=null,t.initialize=function(){o(),document.addEventListener("readystatechange",o,!0)},t.isTimedOut=function(n){var e=Date.now();if(!t.domReadyTime||!n)return!1;var o=Math.max(n,t.domReadyTime);return r.isEditor()&&(o=t.domReadyTime),!(e-o<i.SELECTOR_POLLING_MAX_TIME)}},9226:function(n,t,e){var i=e(430),r=e(1664),o=e(6397),a=e(5355),u=e(2146),c=e(5257),s=e(4748),f=e(6051),l=e(2821),d=e(6664),v=e(1564),h=e(552),p=e(5039),g=e(4407),m=e(1623),_=e(3457),w=(e(2341),e(7322).Promise),y=e(8424),b=e(7598),E=e(2469),I=e(1186),A=e(2894),T=s.get("stores/client_metadata"),S=s.get("stores/global"),R=s.get("stores/session"),k=s.get("stores/view"),N=s.get("stores/plugins"),D=s.get("stores/layer"),C=s.get("stores/layer_data"),O=s.get("stores/observed_redirect"),x=s.get("stores/pending_redirect"),P=s.get("stores/visitor"),M=s.get("stores/directive"),L=s.get("stores/event_data"),V=s.get("stores/visitor_id");function F(n,t){return i.extend({},n,{isLayerHoldback:t,isGlobalHoldback:!1,clientName:i.isNull(n.clientName)?c.NAME:n.clientName,integrationStringVersion:i.isNull(n.integrationStringVersion)?1:n.integrationStringVersion,anonymizeIP:i.isNull(S.getAnonymizeIP())?void 0:S.getAnonymizeIP(),activationId:S.getActivationId(),decisionTicketAudienceIds:[],sessionId:R.getSessionId(),activeViewStates:[],userFeatures:G(P.getVisitorProfile()),layerStates:D.getLayerStatesForAnalytics()})}function U(n){var t=y.getReferrer()||f.getReferrer();return{eventId:A.generate(),timestamp:u.now(),revision:S.getRevision(),clientName:T.getClientName(),clientVersion:T.getClientVersion(),projectId:S.getProjectId(),accountId:S.getAccountId(),activationId:S.getActivationId(),sessionId:R.getSessionId(),isGlobalHoldback:S.isGlobalHoldback(),namespace:S.getNamespace(),referrer:t,visitorId:V.getRandomId(),activeViewStates:n.activeViewStates,layerStates:n.layerStates,userFeatures:G(n.visitorProfile)}}function z(n){var t,e;return n.pageId?(t=n.pageId,(e=k.getViewState(t))&&e.isActive?e.metadata:{}):{}}function G(n){var t=N.getAllPlugins(l.PluginTypes.visitorProfileProviders),e=i.filter(t,{shouldTrack:!0}),r={id:null,type:null,name:"",value:null,shouldIndex:!0};return i.reduce(e,(function(t,e){try{var o=e.provides,a=n[o],u=[];if(!i.isUndefined(a)){i.isObject(a)?u=i.map(a,(function(n,t){var e=i.isObject(n)?n:{value:n};return i.extend({},{type:o,name:t},e)})):u.push({type:o,value:a});var c=i(u).map((function(n){return i.pick(i.extend({},r,n),i.keys(r))})).filter((function(n){return!!n.value})).value();t=t.concat(c)}}catch(s){_.warn("Error evaluating userFeature against visitorProfile:",s)}return t}),[])}function j(n,t,e){var r=function(n,t){var e=[];return i.each(N.getAllPlugins(l.PluginTypes.analyticsTrackers),(function(i,r){if(i[n]&&(!t||!i[t]))try{e.push({name:r,hookFn:s.evaluate(i[n])})}catch(o){_.error(o)}})),e}(n,e);_.debug("Found "+r.length+" analytics integrations defining a "+n+" hook"),_.debug("Calling each with data: ",t),i.each(r,(function(n){try{_.debug("Calling plugin: "+n.name),n.hookFn(t),_.debug("Called plugin: "+n.name)}catch(e){_.error(e)}}))}function B(n,t,e){var r=function(n,t){0;var e=[];return i.each(N.getAllPlugins(l.PluginTypes.analyticsTrackers),(function(r,o){i.includes(t,r[n])&&e.push({name:o,hookFn:r.trackLayerDecision})})),e}(n,t);_.debug("Found "+r.length+" analytics integrations defining a trackLayerDecision "+n+" timing of "+t.join("|")),_.debug("Calling each with data: ",e),i.each(r,(function(n){try{_.debug("Calling plugin: "+n.name),n.hookFn(e),_.debug("Called plugin: "+n.name)}catch(t){_.error(t)}}))}t.trackClientActivation=function(){if(M.shouldSendTrackingData()){var n,t=(n=U({activeViewStates:[],visitorProfile:P.getVisitorProfile(),layerStates:D.getLayerStatesForAnalytics()}),i.extend(n,{eventTags:{}}));return j("onClientActivation",t),t}},t.trackCustomEvent=function(n,t,e,r){t=t||{},r=r||{},e||(e=L.getByApiName(n));var u=function(n,t,e,r){var o=U({activeViewStates:k.getActiveViewStates(),visitorProfile:P.getVisitorProfile(),layerStates:D.getLayerStatesForAnalytics()}),a=r&&r.pageId?z(r):k.getActiveViewTags(),u=i.extend({},a,t),c=r&&r.category?r.category:d.OTHER;return i.extend(o,{eventEntityId:r&&r.id,eventApiName:n,eventCategory:c,eventTags:u,eventProperties:e})}(n,t,r,e),c={name:n,type:p.CUSTOM,category:u.eventCategory,tags:i.omit(u.eventTags,"revenue")};if(i.isUndefined(t.revenue)||(c.revenue=t.revenue),o.emitAnalyticsEvent({name:e?e.name||e.apiName:n,apiName:e?e.apiName:void 0,type:p.CUSTOM,tags:i.omit(u.eventTags,"revenue"),category:u.eventCategory,metrics:c.revenue?{revenue:c.revenue}:{}},!M.shouldSendTrackingData()),M.shouldSendTrackingData())return a.addEvent(c),j("onCustomEvent",u),u},t.trackDecisionEvent=function(n,t,e){e||(e=C.get(n.layerId));var o=A.generate();g.dispatch(r.RECORD_LAYER_DECISION_EVENT_ID,{layerId:n.layerId,pageId:t.pageId,decisionId:o});var a=function(n,t,e,r){var o=null,a=null,c=null;if(t.experimentId){var s=i.find(r.experiments,{id:t.experimentId});if(s&&(o=s.name||null,c=s.integrationSettings,t.variationId)){var l=i.find(s.variations,{id:t.variationId});l&&(a=l.name||null)}}var d=y.getReferrer()||f.getReferrer();return{sessionId:R.getSessionId(),decisionTicketAudienceIds:e.audienceIds,visitorId:V.getRandomId(),decisionId:n,activationId:S.getActivationId(),namespace:S.getNamespace(),timestamp:u.now(),pageId:e.pageId||null,variationId:t.variationId,variationName:a,experimentId:t.experimentId,experimentName:o,layerId:t.layerId,layerName:r.name,layerPolicy:r.policy,accountId:S.getAccountId(),projectId:S.getProjectId(),revision:String(S.getRevision()),clientName:T.getClientName(),clientVersion:T.getClientVersion(),referrer:d,integrationStringVersion:r.integrationStringVersion||1,integrationSettings:i.extend({},r.integrationSettings,c)}}(o,n,t,e),c=x.isExpectingRedirect(),s=x.getLayerId(),l=m.description(e);if(c&&s===e.id&&(b.persist(a,"COOKIE"),_.log("Relaying decision for redirect Campaign",l)),M.shouldSendTrackingData()){var d=F(a,n.isLayerHoldback);if(c&&s===e.id){var v=I.TrackLayerDecisionTimingFlags.preRedirectPolicy;d.timing=v,B(v,[I.PreRedirectPolicies.PERSIST_BEFORE_AND_TRACK_DURING_REDIRECT],d),_.log("Called trackLayerDecision for redirect Campaign",l,d)}else{v=I.TrackLayerDecisionTimingFlags.nonRedirectPolicy;d.timing=v,B(v,[I.NonRedirectPolicies.TRACK_IMMEDIATELY],d),_.log("Called trackLayerDecision for non-redirect Campaign",l,d)}}else _.log("Analytics / Not tracking decision for Campaign",m.description(e))},t.trackPostRedirectDecisionEvent=function(){if(!M.shouldSendTrackingData()||O.hasTracked())return w.resolve();var n=O.get();if(!n)return w.resolve();var t=F(n,!1),e=I.TrackLayerDecisionTimingFlags.postRedirectPolicy;t.timing=e,B(e,[I.PostRedirectPolicies.TRACK_IMMEDIATELY],t);var i=new w((function(n){var t=v.on({filter:{type:h.TYPES.LIFECYCLE,name:"originsSynced"},handler:function(){n(),v.off(t)}})})),o=E.makeTimeoutPromise(1e3);return w.race([i,o]).then((function(){_.log("Calling trackers after successful sync")}),(function(n){_.warn("Calling trackers after failed sync:",n)})).then((function(){(t=F(n,!1)).timing=I.TrackLayerDecisionTimingFlags.postRedirectPolicy,B(I.TrackLayerDecisionTimingFlags.postRedirectPolicy,[I.PostRedirectPolicies.TRACK_AFTER_SYNC],t),g.dispatch(r.REGISTER_TRACKED_REDIRECT_DATA)}))["catch"]((function(n){_.error("Error when calling trackers after sync:",n)}))},t.trackClickEvent=function(n){var t=function(n){var t=U({activeViewStates:k.getActiveViewStates(),visitorProfile:P.getVisitorProfile(),layerStates:D.getLayerStatesForAnalytics()}),e=n.config&&n.config.selector?n.config.selector:n.eventFilter.selector,r=n.apiName,o=n.category||d.OTHER,a=n.id,u=z(n);return i.extend(t,{eventApiName:r,eventCategory:o,eventEntityId:a,eventTags:u,pageId:n.pageId,selector:e})}(n),e={name:n.apiName,type:n.eventType,category:t.eventCategory,tags:t.eventTags};if(o.emitAnalyticsEvent({name:n.name||n.apiName,apiName:n?n.apiName:void 0,type:n.eventType,category:t.eventCategory,tags:t.eventTags,metrics:{}},!M.shouldSendTrackingData()),M.shouldSendTrackingData())return a.addEvent(e),j("onClickEvent",t),t},t.trackViewActivation=function(n,t){if(t||(t=k.getViewState(n.id)),t.isActive){var e=function(n,t){var e=U({activeViewStates:k.getActiveViewStates(),visitorProfile:P.getVisitorProfile(),layerStates:D.getLayerStatesForAnalytics()});return i.extend(e,{pageId:n.id,pageApiName:n.apiName,viewCategory:n.category,eventTags:t.metadata})}(n,t);if(o.emitAnalyticsEvent({name:n.name||e.pageApiName,apiName:e.pageApiName,type:p.PAGEVIEW,category:e.viewCategory,tags:e.eventTags,metrics:{}},!M.shouldSendTrackingData()),M.shouldSendTrackingData())return a.addEvent({name:e.pageApiName,type:p.PAGEVIEW,category:e.viewCategory,tags:e.eventTags}),g.dispatch(r.TRACK_VIEW_ACTIVATED_EVENT,{pageId:n.id,eventData:e}),j("onPageActivated",e),e}else _.debug("Inactive view passed to `trackViewActivation`")}},7598:function(n,t,e){var i=e(430),r=e(1664),o=e(6113),a=e(6397),u=e(4748),c=e(2821),s=e(4407),f=e(3457),l=e(1186),d=u.get("stores/plugins"),v=".",h=[{name:"sessionId",relayName:"s"},{name:"decisionTicketAudienceIds",relayName:"as",valueToValueString:function(n){return i.map(n,encodeURIComponent).join(",")},encodeValueString:i.identity,decodeValueString:i.identity,valueFromValueString:function(n){return i.map(n.split(","),o.safeDecodeURIComponent)}},{name:"decisionId",relayName:"d"},{name:"activationId",relayName:"aId"},{name:"pageId",relayName:"vId",isNullable:!0},{name:"variationId",relayName:"v",isNullable:!0},{name:"referrer",relayName:"r"},{name:"timestamp",relayName:"t",valueFromValueString:Number},{name:"visitorId",relayName:"i"},{name:"projectId",relayName:"p"},{name:"revision",relayName:"n"},{name:"clientName",relayName:"cN",isNullable:!0},{name:"clientVersion",relayName:"cV"},{name:"namespace",relayName:"ns"},{name:"accountId",relayName:"a"},{name:"layerId",relayName:"l"},{name:"layerName",relayName:"lN",isNullable:!0},{name:"layerPolicy",relayName:"lP"},{name:"experimentId",relayName:"x",isNullable:!0},{name:"experimentName",relayName:"xN",isNullable:!0},{name:"variationName",relayName:"vN",isNullable:!0},{name:"integrationStringVersion",relayName:"isv",valueFromValueString:Number,isNullable:!0},{name:"integrationSettings",relayName:"iS",isMulti:!0,valueToValueString:function(n,t){var e=null;if(n){var r=d.getPlugin(c.PluginTypes.analyticsTrackers,t);if(r&&i.isFunction(r.serializeSettings))try{e=r.serializeSettings(n)}catch(o){f.warn("Analytics / Failed to persist integrationSettings for plugin:",t,o)}}return e},valueFromValueString:function(n,t){var e=null,r=d.getPlugin(c.PluginTypes.analyticsTrackers,t);if(r&&i.isFunction(r.deserializeSettings))try{e=r.deserializeSettings(n)}catch(o){f.warn("Analytics / Failed to persist integrationSettings for plugin:",t,o)}return e},isNullable:!0}],p={},g={};i.forEach(h,(function(n){p[n.name]=n,g[n.relayName]=n})),t.persist=function(n,t){t===l.RedirectRelayMedia.COOKIE?function(n){try{var t=function(n){var t=[],e=i.reduce(n,(function(n,e,r){var o=p[r];return o?(o.isMulti?i.forEach(e,(function(t,e){t=o.valueToValueString?o.valueToValueString(t,e):String(t),i.isNull(t)||(t=(o.encodeValueString||encodeURIComponent)(t),n.push(encodeURIComponent(o.relayName+v+e)+"="+t))})):i.isNull(e)||(e=(o.valueToValueString||String)(e),e=(o.encodeValueString||encodeURIComponent)(e),n.push(o.relayName+"="+e)),n):(t.push(r),n)}),[]);if(t.length)throw new Error("Relay / Don't know how to relay some fields: "+t);return e.sort(),e.join("&")}(n)}catch(e){return f.error("Relay / Error computing redirect relay cookie: ",e),void a.emitError(e)}f.debug("Relay / Setting redirect relay cookie:",t);try{o.set(c.COOKIES.REDIRECT,t,{maxAge:5,encodeValue:!1})}catch(r){f.error("Relay / Failed to set redirect relay cookie",r),a.emitError(r)}}(n):f.error("Relay / Unsupported redirect relay medium: "+t)},t.load=function(n){if(n||(n=function(){var n=o.get(c.COOKIES.REDIRECT,!1);if(n)return f.log("Relay / Found redirect cookie:",n),n}()),n){var t=function(n){var t={},e=n.split("&");return i.forEach(e,(function(n){var e=n.split("=");if(2===e.length){var r=o.safeDecodeURIComponent(e[0]),u=g[r];if(u||(u=i.find(h,(function(n){return n.isMulti&&0===r.indexOf(n.relayName+v)})))){var c=e[1];try{if(u.isMulti){t[u.name]=t[u.name]||{};var s=r.substring(u.relayName.length+v.length);c=(u.decodeValueString||o.safeDecodeURIComponent)(c),c=(u.valueFromValueString||i.identity)(c,s),t[u.name][s]=c}else c=(u.decodeValueString||o.safeDecodeURIComponent)(c),c=(u.valueFromValueString||i.identity)(c),t[u.name]=c}catch(l){return f.warn("Relay / Skipping segment due to decode or parse error:",n,l),void a.emitError(l)}}else f.warn("Relay / Skipping segment with unknown field identifier:",n,r)}else f.warn("Relay / Skipping invalid segment:",n)})),t}(n);if(t){var e=[];if(i.forEach(h,(function(n){(i.isNull(t[n.name])||i.isUndefined(t[n.name]))&&(n.isNullable?t[n.name]=null:(delete t[n.name],e.push(n.name)))})),!e.length)return s.dispatch(r.LOAD_REDIRECT_DATA,t),s.dispatch(r.ADD_CLEANUP_FN,{lifecycle:c.Lifecycle.postVisitorProfileLoad,cleanupFn:function(){var n,e;e=(n=t).pageId||void 0,s.dispatch(r.RECORD_LAYER_DECISION,{layerId:n.layerId,decision:{layerId:n.layerId,experimentId:n.experimentId,variationId:n.variationId,isLayerHoldback:!1},decisionTicket:{audienceIds:n.decisionTicketAudienceIds,bucketingId:n.visitorId,globalHoldback:0,preferredVariationMap:void 0,pageId:e,activationId:n.activationId},sessionId:n.sessionId,activationId:n.activationId,timestamp:n.timestamp,revision:n.revision,namespace:n.namespace,pageId:e}),s.dispatch(r.RECORD_LAYER_DECISION_EVENT_ID,{layerId:n.layerId,pageId:e,decisionId:n.decisionId}),s.dispatch(r.ACTION_EXECUTED,{sessionId:n.sessionId,layerId:n.layerId,pageId:n.pageId,timestamp:n.timestamp,activationId:n.activationId})}}),t;f.error("Relay / Observed redirect data with missing fields:",e)}}}},6397:function(n,t,e){var i=e(1564);t.emitError=function(n,t,e){i.emit({type:"error",name:n.name||"Error",data:{error:n,metadata:t}},e||!1,!0)},t.emitInternalError=function(n,e){t.emitError(n,e,!0)},t.emitAnalyticsEvent=function(n,t){var e={type:"analytics",name:"trackEvent",data:n};i.emit(e,t)}},62:function(n,t,e){var i=e(430),r=e(7024),o=e(6457),a=e(3457),u=e(9867);function c(n,t){var e="function"==typeof n?n(t):n;return"string"==typeof e&&(e=[e]),i.isArray(e)?e:(a.warn("Couldn't determine fieldsNeeded for matcher; assuming []"),[])}function s(n){return n.name?n.name+" ("+n.id+")":n.id}t.isInAudience=function(n,t,e){var u,f=function(n,t){return function(e){var r=e.type,u=t[r];if(!u)throw new Error("Audience / No matcher found for type="+r);if(u.fieldsNeeded)for(var s=c(u.fieldsNeeded,e),f=0;f<s.length;f++){var l=s[f],d=o.getFieldValue(n,l);if(i.isUndefined(d))return void a.debug("Audience / Required field",l,"for type",r,"has no value")}a.debug("Matching condition:",e,"to values:",n);var v=u.match(n,e);if(!i.isUndefined(v))return!!v}}(n,e);a.groupCollapsed("Checking audience",t.name,t.id,t),a.debug("Visitor Profile:",n);try{var l=r.evaluate(t.conditions,f)}catch(d){u=d,l=!1}return a.groupEnd(),u&&a.error("Audience / Error evaluating audience",s(t),":",u),a.log("Is "+(l?"in":"NOT in")+" audience:",s(t)),l},t.requiredAudienceFieldsForConditions=function f(n,t){var e={};return i.each(n,(function(n){if(i.isArray(n))i.extend(e,f(n,t));else if(i.isObject(n)){var r=t[n.type];if(r){var o=c(r.fieldsNeeded,n);i.each(o,(function(n){e[u.serializeFieldKey(n)]=n}))}}})),e}},8477:function(n,t){t.FIELDS={NAME:"n",TIME:"t",TYPE:"y",CATEGORY:"c",REVENUE:"r",SESSION_ID:"s",OPTIONS:"o",SESSION_INDEX:"si"},t.FIELDS_V0_2={name:t.FIELDS.NAME,time:t.FIELDS.TIME,type:t.FIELDS.TYPE,category:t.FIELDS.CATEGORY,tags:t.FIELDS.OPTIONS,session_index:t.FIELDS.SESSION_INDEX}},1836:function(n,t,e){var i=e(430),r=e(8477),o=e(6457).getFieldValue,a=e(9039);function u(n,t,e,o,a){this[r.FIELDS.NAME]=n,this[r.FIELDS.TYPE]=t,i.isString(e)&&e.trim().length>0&&(this[r.FIELDS.CATEGORY]=e),o&&i.keys(o).length>0&&(this[r.FIELDS.OPTIONS]=o),i.isUndefined(a)||(this[r.FIELDS.REVENUE]=a)}function c(n,t,e,o){this.eventBase=n,this[r.FIELDS.TIME]=t,i.isUndefined(e)||(this[r.FIELDS.SESSION_ID]=e),i.isUndefined(o)||(this[r.FIELDS.SESSION_INDEX]=o)}t.x=u,u.prototype.digest=function(){var n=function(n,t){return encodeURIComponent(n)+"="+encodeURIComponent(t)},t=[];if(t.push(n(r.FIELDS.NAME,this[r.FIELDS.NAME])),t.push(n(r.FIELDS.TYPE,this[r.FIELDS.TYPE])),this[r.FIELDS.CATEGORY]&&t.push(n(r.FIELDS.CATEGORY,this[r.FIELDS.CATEGORY])),this[r.FIELDS.REVENUE]&&t.push(n(r.FIELDS.REVENUE,this[r.FIELDS.REVENUE])),!this[r.FIELDS.OPTIONS])return t.join("&");var e=this[r.FIELDS.OPTIONS]||{},o=i.filter(i.keys(e),(function(n){return e.hasOwnProperty(n)}));o=o.sort();for(var a=0;a<o.length;a++)t.push(n(o[a],e[o[a]]));return t.join("&")},u.prototype.hash=function(){return this.hash_||(this.hash_=a.hashToHex(a.toByteString(this.digest()),a.Seed.BEHAVIOR_EVENT)),this.hash_},u.prototype.setHash=function(n){this.hash_=n},u.prototype.reHash=function(){this.hash_=null,this.hash()},u.prototype.equals=function(n){if(this.hash()!==n.hash()||this[r.FIELDS.NAME]!==n[r.FIELDS.NAME]||this[r.FIELDS.TYPE]!==n[r.FIELDS.TYPE]||this[r.FIELDS.CATEGORY]!==n[r.FIELDS.CATEGORY]||this[r.FIELDS.REVENUE]!==n[r.FIELDS.REVENUE])return!1;var t=this[r.FIELDS.OPTIONS]||{},e=n[r.FIELDS.OPTIONS]||{},o=i.filter(i.keys(t),(function(n){return t.hasOwnProperty(n)})),a=i.filter(i.keys(e),(function(n){return e.hasOwnProperty(n)}));if(o.length!==a.length)return!1;for(var u=0;u<o.length;u++){var c=o[u];if(!e.hasOwnProperty(c)||t[c]!==e[c])return!1}return!0},u.prototype.getValueOrDefault=function(n,t){var e=o(this,n);return i.isUndefined(e)?t:e},u.prototype.setFieldValue=function(n,t){n!==r.FIELDS.NAME&&n!==r.FIELDS.TYPE&&n!==r.FIELDS.CATEGORY&&n!==r.FIELDS.REVENUE&&n!==r.FIELDS.OPTIONS||(this[n]=t,this.reHash())},t.j=c,c.prototype.getValueOrDefault=function(n,t){if(0===n.length)return this;var e={};e[r.FIELDS.TIME]=this[r.FIELDS.TIME],e[r.FIELDS.SESSION_ID]=this[r.FIELDS.SESSION_ID],e[r.FIELDS.SESSION_INDEX]=this[r.FIELDS.SESSION_INDEX];var a=o(e,n);return i.isUndefined(a)?this.eventBase.getValueOrDefault(n,t):a},c.prototype.setFieldValue=function(n,t){n===r.FIELDS.TIME||n===r.FIELDS.SESSION_ID||n===r.FIELDS.SESSION_INDEX?this[n]=t:this.eventBase.setFieldValue(n,t)};var s={n:"name",y:"type",c:"category",r:"revenue",s:"session_id",o:"tags",si:"session_index"};c.prototype.readableEvent=function(){var n,t,e=function(n){return i.isString(n)?'"'+n+'"':n},o=this,a=[];i.each([r.FIELDS.NAME,r.FIELDS.TYPE,r.FIELDS.CATEGORY,r.FIELDS.REVENUE,r.FIELDS.SESSION_ID],(function(r){n=s[r],t=o.getValueOrDefault([r]),i.isUndefined(t)||a.push(n+": "+e(t))}));var u=[];if(n=s[r.FIELDS.OPTIONS],t=o.getValueOrDefault([r.FIELDS.OPTIONS]),i.isUndefined(t)||(i.each(t,(function(n,t){u.push(t+": "+String(e(n)))})),a.push(n+": {\n\t\t"+u.join(",\n\t\t")+"\n\t}")),t=o.getValueOrDefault([r.FIELDS.TIME]),i.isNumber(t)&&(t=e(new Date(t).toString())),!i.isUndefined(t)){a.push("timestamp: "+t)}return"{\n\t"+a.join(",\n\t")+"\n}"},c.prototype.toObject=function(n){var t,e,o={},a=this;i.each([r.FIELDS.NAME,r.FIELDS.TYPE,r.FIELDS.CATEGORY,r.FIELDS.REVENUE,r.FIELDS.OPTIONS,r.FIELDS.SESSION_INDEX],(function(n){t=s[n],e=a.getValueOrDefault([n],n===r.FIELDS.OPTIONS?{}:void 0),i.isUndefined(e)||(o[t]=e)}));var u=s[r.FIELDS.OPTIONS],c=s[r.FIELDS.REVENUE];if(n&&n.revenueAsTag&&o[c]&&(o[u]=o[u]||{},o[u][c]=o[c],delete o[c]),e=a.getValueOrDefault([r.FIELDS.TIME]),i.isNumber(e))if(n&&n.timeAsTimestamp){o.timestamp=new Date(e)}else{o.time=e}return o}},5355:function(n,t,e){var i=e(6433);t.initializeStore=i.initialize,t.addEvent=i.addEvent,t.getEvents=i.getEvents,t.getEventCount=i.getEventCount},6035:function(n,t,e){var i=e(1836).j,r=e(2146),o=e(8477),a=e(1836).x;t.CURRENT_SESSION_INDEX=0;var u=18e5;function c(n,e){var i;i=t.isInSameSession(n,e)?n.getValueOrDefault([o.FIELDS.SESSION_ID]):e.getValueOrDefault([o.FIELDS.TIME]),e.setFieldValue(o.FIELDS.SESSION_ID,i)}function s(n,e,i){var r,a=n.getValueOrDefault([o.FIELDS.SESSION_INDEX]);r=t.isInSameSession(e,n)?a:i?a+1:a-1,e.setFieldValue(o.FIELDS.SESSION_INDEX,r)}t.isInSameSession=function(n,t){var e=n.getValueOrDefault([o.FIELDS.TIME],0),i=t.getValueOrDefault([o.FIELDS.TIME],0);return Math.abs(e-i)<u},t.updateSessionId=function(n,t){if(n){var e=n.getValueOrDefault([o.FIELDS.TIME]),r=n.getValueOrDefault([o.FIELDS.SESSION_ID]),u=t.getValueOrDefault([o.FIELDS.TIME]);e="number"!=typeof e?u-36e5:e,r="number"!=typeof r?e:r,c(n=new i(new a("",""),e,r),t)}else t.setFieldValue(o.FIELDS.SESSION_ID,t.getValueOrDefault([o.FIELDS.TIME]))},t.updateSessionIndex=function(n,t){if(n){var e=n.getValueOrDefault([o.FIELDS.TIME]),r=n.getValueOrDefault([o.FIELDS.SESSION_INDEX]),u=t.getValueOrDefault([o.FIELDS.TIME]),c=n.getValueOrDefault([o.FIELDS.SESSION_ID]);e="number"!=typeof e?u-36e5:e,r="number"!=typeof r?0:r,c="number"!=typeof c?e:c,s(n=new i(new a("",""),e,c,r),t,!1)}else t.setFieldValue(o.FIELDS.SESSION_INDEX,0)},t.sessionize=function(n){var e=n.length;if(0!==e){n[0].setFieldValue(o.FIELDS.SESSION_ID,n[0].getValueOrDefault([o.FIELDS.TIME]));for(var i=1;i<e;i++)c(n[i-1],n[i]);var a=t.CURRENT_SESSION_INDEX,f=n[e-1].getValueOrDefault([o.FIELDS.TIME]);r.now()-f>u&&(a+=1),n[e-1].setFieldValue(o.FIELDS.SESSION_INDEX,a);for(i=e-1;i>0;i--)s(n[i],n[i-1],!0)}},t.reindexIfNecessary=function(n,t,e){var i=function(n){for(var t=0;t<n.length;t++){var e=n[t].getValueOrDefault([o.FIELDS.SESSION_INDEX]);n[t].setFieldValue(o.FIELDS.SESSION_INDEX,e+1)}};-1===n.getValueOrDefault([o.FIELDS.SESSION_INDEX])&&(i(t),i(e))},t.sessionSortPredicate=function(n,t){return n[o.FIELDS.TIME]-t[o.FIELDS.TIME]},t.applyMigrations=function(n){return!1}},6433:function(n,t,e){var i=e(430),r=e(1664),o=e(2146),a=e(6664),u=e(4407),c=e(3457),s=e(9867),f=t,l=e(1836).j,d=e(8477),v=e(1836).x,h=e(6035),p=e(4748),g=p.get("stores/visitor_events"),m=p.get("stores/visitor_events_manager"),_={EVENTBASE:"eb",HASH:"h",TIMEBASE:"tb",TIMESTAMPS:"ts",DELTA:"d",INDEX:"i"};function w(n){u.dispatch(r.SET_VISITOR_EVENTS,n)}function y(n){u.dispatch(r.UPDATE_BEHAVIOR_STORE,{key:"baseMap",value:n})}function b(n){u.dispatch(r.UPDATE_BEHAVIOR_STORE,{key:"eventQueue",value:n})}function E(n){u.dispatch(r.UPDATE_BEHAVIOR_STORE,{key:"lastEvent",value:n})}function I(){return g.getEvents()}function A(){return m.getBaseMap()}function T(){return m.getEventQueue()}function S(){return m.getLastEvent()}function R(){var n=I().concat(T()),t=!1;return n.length>1e3&&(n=n.slice(-1e3),t=!0),w(n),b([]),t}t.initialize=function(n,t){if(!m.getInitialized()){f.S(n,t);var e=I();e.length>0&&E(e[e.length-1]);var i=T();i.length>0&&E(i[i.length-1]),u.dispatch(r.UPDATE_BEHAVIOR_STORE,{key:"initialized",value:!0})}},t.addEvent=function(n){c.debug("Behavior store: adding event",n);var t=f.R(n);E(t),b(T().concat(t)),h.reindexIfNecessary(S(),I(),T()),f.k(T())},t.getEvents=function(){return T().length>0&&(R()&&h.sessionize(I()),f.N(I()),f.k(T())),I()},t.getEventCount=function(){return T().length+I().length},f.S=function(n,t){f.D(n,t)&&(f.N(I()),f.k(T())),h.sessionize(I())},f.D=function(n,t){if(0===n.length&&0===t.length)return w([]),b([]),!1;var e=!1,i=n[0]||t[0];return _.EVENTBASE in i?(w(f.C(n)),b(f.C(t))):(e=!0,w(f.O(n)),b(f.O(t))),T().length>0&&(R(),e=!0),w(f._updateBaseMapAndMaybeDedupe(I())),f._migrateEventBasesAndUpdateStore()&&(e=!0),e},f.O=function(n){for(var t=[],e=0;e<n.length;e++){var i=n[e],r=f.P(i);t[e]=new l(r,i[d.FIELDS.TIME])}return t},f._migrateEventBasesAndUpdateStore=function(){var n=!1,t=f.M();return h.applyMigrations(t)&&(n=!0,y({}),w(f._updateBaseMapAndMaybeDedupe(I())),b(f._updateBaseMapAndMaybeDedupe(T()))),n},f.L=function(){return o.now()},f.R=function(n){var t,e=n.name,i=n.type||"default",r=n.category||a.OTHER,o=n.tags||{};n.revenue&&(t=n.revenue);var u=new v(e,i,r,o,t);u=f.V(u);var c=f.L(),s=new l(u,c,-1);return h.updateSessionId(S(),s),h.updateSessionIndex(S(),s),s},f._updateBaseMapAndMaybeDedupe=function(n){for(var t=0;t<n.length;t++)n[t].eventBase=f.V(n[t].eventBase);return n},f.N=function(n){var t=f.F(n);s.persistBehaviorEvents(t)},f.k=function(n){var t=f.F(n);s.persistBehaviorEventQueue(t)},f.B=function(){var n;m.getCleared()||(w([]),b([]),f.N(I()),f.k(T()),y({}),E(null),n=!0,u.dispatch(r.UPDATE_BEHAVIOR_STORE,{key:"cleared",value:n}))},f.V=function(n){var t=n.hash(),e=A(),r=e[t];if(i.isUndefined(r))return e[t]=[n],y(e),n;for(var o=0;o<r.length;o++)if(n.equals(r[o]))return r[o];return r.push(n),y(e),n},f.M=function(){var n=[],t=A();for(var e in t)!t.hasOwnProperty(e)||(n=n.concat(t[e]));return n},f.F=function(n){for(var t=function(n){var t={};t[d.FIELDS.NAME]=n.getValueOrDefault([d.FIELDS.NAME]),t[d.FIELDS.TYPE]=n.getValueOrDefault([d.FIELDS.TYPE]);var e=n.getValueOrDefault([d.FIELDS.CATEGORY]);i.isUndefined(e)||(t[d.FIELDS.CATEGORY]=e);var r=n.getValueOrDefault([d.FIELDS.REVENUE]);i.isUndefined(r)||(t[d.FIELDS.REVENUE]=r);var o=n.getValueOrDefault([d.FIELDS.OPTIONS]);return i.isUndefined(o)||(t[d.FIELDS.OPTIONS]=o),t},e=_,r=[],o="_idx_",a=0;a<n.length;a++){var u,c,s=n[a],f=s.eventBase;if(f.hasOwnProperty(o)){u=r[f._idx_];var l=s[d.FIELDS.TIME]-(u[e.TIMEBASE]||0);(c={})[e.DELTA]=l,c[e.INDEX]=a,u[e.TIMESTAMPS].push(c)}else(u={})[e.EVENTBASE]=t(s),u[e.HASH]=f.hash(),u[e.TIMEBASE]=s[d.FIELDS.TIME],(c={})[e.DELTA]=0,c[e.INDEX]=a,u[e.TIMESTAMPS]=[c],r.push(u),f._idx_=r.length-1}for(a=0;a<n.length;a++)delete n[a].eventBase._idx_;return r},f.P=function(n,t){var e=new v(n[d.FIELDS.NAME],n[d.FIELDS.TYPE],n[d.FIELDS.CATEGORY],n[d.FIELDS.OPTIONS],n[d.FIELDS.REVENUE]);return i.isUndefined(t)||e.setHash(t),e},f.C=function(n){for(var t=_,e=[],i=0;i<n.length;i++)for(var r=n[i],o=f.P(r[t.EVENTBASE],r[t.HASH]),a=r[t.TIMEBASE],u=r[t.TIMESTAMPS],c=0;c<u.length;c++){var s=u[c],d=new l(o,a+s[t.DELTA]);e[s[t.INDEX]]=d}return e},t.deserialize=function(n){return f.C(n)},t.mergeAllEvents=function(n){var t=[].concat.apply([],n);return t.sort(h.sessionSortPredicate),h.sessionize(t),t}},1664:function(n,t,e){var i=e(6744);n.exports=i({LOG:null,SET_LOGLEVEL:null,INITIALIZE_STATE:null,SET_DOMCONTENTLOADED:null,ACTIVATE:null,UPDATE_BEHAVIOR_STORE:null,DATA_LOADED:null,SET_CLIENT_NAME:null,SET_CLIENT_VERSION:null,LOAD_PERSISTED_LAYER_STATES:null,RECORD_GLOBAL_DECISION:null,RECORD_LAYER_DECISION:null,ENSURE_ORIGINAL_PUSHSTATE:null,ENSURE_ORIGINAL_REPLACESTATE:null,SET_VISITOR_ATTRIBUTES:null,SET_VISITOR_ATTRIBUTE_PENDING:null,LOAD_EXISTING_VISITOR_PROFILE:null,SET_VISITOR_EVENTS:null,SET_FOREIGN_VISITOR_EVENTS:null,SET_FOREIGN_VISITOR_EVENT_QUEUE:null,SET_VISITOR_ID:null,SET_VISITOR_ID_VIA_API:null,SET_GA4_USER_ID:null,REFRESH_SESSION:null,LOAD_SESSION_STATE:null,UPDATE_VARIATION_ID_MAP:null,MERGE_VARIATION_ID_MAP:null,UPDATE_PREFERRED_LAYER_MAP:null,MERGE_PREFERRED_LAYER_MAP:null,RECORD_LAYER_DECISION_EVENT_ID:null,TRACK_VIEW_ACTIVATED_EVENT:null,REGISTER_ASYNC_DEFERRED:null,RESOLVE_DEFERRED:null,REJECT_DEFERRED:null,REGISTER_PLUGIN:null,ADD_CLEANUP_FN:null,CLEAR_CLEANUP_FN:null,ACTION_EXECUTED:null,REGISTER_ACTION:null,SET_VIEW_ACTIVE_STATE:null,UPDATE_PARSED_VIEW_METADATA:null,UPDATE_USER_SUPPLIED_METADATA:null,REGISTER_VIEWS:null,SET_GLOBAL_TAGS:null,SET_VIEW_BATCHING:null,RESET_VIEW_STATES:null,ATTACH_EVENT_STREAM_PUBLISHERS:null,DETACH_EVENT_STREAM_PUBLISHERS:null,LOAD_DIRECTIVE:null,SET_COOKIE_AGE:null,SET_COOKIE_DOMAIN:null,SET_COOKIE_AUTO_REFRESH:null,XDOMAIN_SET_DEFAULT_FRAME:null,XDOMAIN_ADD_FRAME:null,XDOMAIN_SET_MESSAGE:null,XDOMAIN_ADD_SUBSCRIBER:null,XDOMAIN_SET_CANONICAL_ORIGINS:null,XDOMAIN_SET_DISABLED:null,ADD_EMITTER_HANDLER:null,REMOVE_EMITTER_HANDLER:null,SET_INTEGRATION_SETTINGS:null,ADD_CHANGE:null,SET_CHANGE_APPLIER:null,REMOVE_ACTION_STATE:null,ANNOUNCE_PENDING_REDIRECT:null,LOAD_REDIRECT_DATA:null,REGISTER_TRACKED_REDIRECT_DATA:null,SET_PENDING_EVENT:null,REMOVE_PENDING_EVENT:null,LOAD_PENDING_EVENTS:null,SANDBOXED_FUNCTIONS_ADDED:null,SET_RUM_DATA:null,RECORD_API_USAGE:null,INITIALIZE_CHANGE_METRICS:null,RECORD_ACTIVATION_TYPE_USAGE:null,RECORD_AUDIENCE_USAGE:null,RECORD_CHANGE_MACROTASK_RATE:null,RECORD_CHANGE_OVERHEATED:null,RECORD_CHANGE_TYPE_USAGE:null,RECORD_DOM_OBSERVATION_OCCURENCE:null,RECORD_INTEGRATION_USAGE:null,RECORD_LAYER_FEATURE_USAGE:null,RECORD_LAYER_POLICY_USAGE:null,RECORD_RECOMMENDATIONS_USAGE:null,RECORD_VIEW_FEATURE_USAGE:null,RECORD_VIEWS_INITIALLY_ACTIVATED_COUNT:null,RECORD_VISITOR_ID_LOCATOR_USAGE:null,RECORD_VISITOR_ID_ERROR:null,RECORD_STICKY_BUCKETING_FEATURE:null,SET_PERFORMANCE_MARKS_DATA:null,FINALIZE_BATCH_SNAPSHOT:null,REGISTER_PREVIOUS_BATCH:null,REGISTER_TRACKER_VISITOR:null,REGISTER_TRACKER_EVENT:null,REGISTER_TRACKER_DECISION:null,RESET_TRACKER_EVENTS:null,RESET_TRACKER_PREVIOUS_BATCHES:null,RESET_TRACKER_STORE:null,SET_TRACKER_POLLING:null,SET_TRACKER_BATCHING:null,SET_TRACKER_SEND_EVENTS:null,SET_TRACKER_PERSISTABLE_STATE:null,SET_TRACKER_DIRTY:null,UPDATE_TRACKER_VISITOR_ATTRIBUTES:null,SET_UA_DATA:null})},2821:function(n,t,e){var i=e(430),r=e(6744);t.COOKIES={OPT_OUT:"optimizelyOptOut",PREVIEW:"optimizelyPreview",REDIRECT:"optimizelyRedirectData",SESSION_STATE:"optimizelySessionState",TOKEN:"optimizelyToken",VISITOR_ID:"optimizelyEndUserId",VISITOR_UUID:"optimizelyPPID"},t.LayerActivationTypes={CONDITIONAL:"conditional",IMMEDIATE:"immediate",MANUAL:"manual",READY:"ready",TIMEOUT:"timeout"},t.LogLevel={OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4},t.Lifecycle=r({preActivate:null,postVisitorProfileLoad:null,postViewsActivated:null,postActivate:null}),t.ViewActivationTypes={immediate:"immediate",manual:"manual",callback:"callback",polling:"polling",URLChanged:"url_changed",DOMChanged:"dom_changed"},t.StorageKeys={PENDING_EVENTS:"pending_events",RELAYED_EVENTS:"relayed_events"},t.PluginTypes=r({visitorProfileProviders:null,viewProviders:null,audienceMatchers:null,viewMatchers:null,analyticsTrackers:null,viewTagLocators:null,userFeatureDefs:null,apiModules:null,changeAppliers:null,deciders:null,eventImplementations:null,viewTriggers:null}),t.ResourceTimingAttributes=r({connectStart:null,connectEnd:null,decodedBodySize:null,domainLookupStart:null,domainLookupEnd:null,duration:null,encodedBodySize:null,fetchStart:null,requestStart:null,responseStart:null,responseEnd:null,secureConnectionStart:null,startTime:null,transferSize:null,serverTiming:null}),t.RUMPerformanceTimingAttributes=r({blockTime:null}),t.AttributionTypes=r({FIRST_TOUCH:null,LAST_TOUCH:null}),t.SandboxedFunctions=r({XMLHttpRequest:null}),t.PerformanceData=r({performance_marks:null,resource_timing:null,performance_timing:null}),t.PerformanceCounters=r({mutation_observer_invocation:null,polling_invocation:null,match_selector_invocation:null}),t.VisitorStorageKeys={EVENTS:"events",EVENT_QUEUE:"event_queue",LAYER_MAP:"layer_map",LAYER_STATES:"layer_states",SESSION_STATE:"session_state",VISITOR_PROFILE:"visitor_profile",VARIATION_MAP:"variation_map",TRACKER_OPTIMIZELY:"tracker_optimizely"},t.AllStorageKeys=i.assign({},t.StorageKeys,t.VisitorStorageKeys),t.ListTargetingKeyTypes={COOKIE:"c",QUERY:"q",JS_VARIABLE:"j"},t.VisitorIdLocatorType={COOKIE:"cookie",JS_VARIABLE:"js",LOCALSTORAGE:"localStorage",QUERY:"query"}},6664:function(n){n.exports={OTHER:"other"}},552:function(n,t){t.TYPES={ACTION:"action",ANALYTICS:"analytics",EDITOR:"editor",LIFECYCLE:"lifecycle"}},5039:function(n){n.exports={CLICK:"click",CUSTOM:"custom",ENGAGEMENT:"engagement",PAGEVIEW:"pageview"}},1186:function(n,t,e){var i=e(6744);t.TrackLayerDecisionTimingFlags=i({preRedirectPolicy:null,postRedirectPolicy:null,nonRedirectPolicy:null}),t.PreRedirectPolicies=i({PERSIST_BEFORE_AND_TRACK_DURING_REDIRECT:null,PERSIST_BEFORE_REDIRECT:null}),t.PostRedirectPolicies=i({TRACK_IMMEDIATELY:null,TRACK_AFTER_SYNC:null}),t.NonRedirectPolicies=i({TRACK_IMMEDIATELY:null}),t.RedirectRelayMedia=i({COOKIE:null})},1918:function(n,t,e){var i=e(9039),r=t.TOTAL_POINTS=1e4;t.bucketingNumber=function(n,t,e){return i.hashToInt(n+t,e,r)},t.isHoldback=function(n,e){return t.bucketingNumber(n,e.id,i.Seed.IGNORING)<(e.holdback||0)},t.chooseWeightedCandidate=function(n,e,r){for(var o=t.bucketingNumber(n,e,i.Seed.BUCKETING),a=0;a<r.length;a++)if(r[a].endOfRange>o)return r[a].entityId;throw new Error("Unable to choose candidate")}},9315:function(n,t,e){var i=e(430),r=e(1664),o=e(1918),a=e(7024),u=e(6782).E,c=e(4407),s=e(3457);t.isValidExperiment=function(n,t){var e,r=i.partial(i.includes,n);return s.groupCollapsed("Decision / Evaluating audiences for experiment:",t,n),e=!t.audienceIds||a.evaluate(t.audienceIds,r),s.groupEnd(),s.debug("Decision / Experiment",t,"is valid?",e),e},t.selectVariation=function(n,t,e,a,f){if(!n.variations||0===n.variations.length)throw new u('No variations in selected experiment "'+n.id+'"');if(!n.weightDistributions&&n.variations.length>1)throw new u('On selected experiment "'+n.id+'", weightDistributions must be defined if # variations > 1');var l;if(n.bucketingStrategy&&"impression"===n.bucketingStrategy)if(1===n.variations.length)l=n.variations[0].id;else{var d=a;l=o.chooseWeightedCandidate(e+d,n.id,n.weightDistributions)}else if(l=1===n.variations.length?n.variations[0].id:o.chooseWeightedCandidate(e,n.id,n.weightDistributions),f&&f[n.id]){s.debug("Decision / Using preferredVariationMap to select variation for experiment:",n.id);var v=f[n.id];if(!i.find(n.variations,{id:v}))return c.dispatch(r.RECORD_STICKY_BUCKETING_FEATURE,{feature:"stoppedVariation",id:n.id}),s.debug("Decision / Preferred variation:",v,"not found on experiment:",n.id,". Visitor not bucketed."),null;v!==l&&(c.dispatch(r.RECORD_STICKY_BUCKETING_FEATURE,{feature:"preferredVariation",id:n.id}),l=v)}var h=i.find(n.variations,{id:l});if(h)return s.debug("Decision / Selected variation:",h),h;throw new u('Unable to find selected variation: "'+l+'".')},t.getExperimentById=function(n,t){var e=i.find(n.experiments,{id:t});if(e)return e;throw new u("Unable to find selected experiment.")},t.hasVariationActionsOnView=function(n,t){return s.debug("Decision / Checking variation:",n,"for actions on pageId:",t),!!i.find(n.actions,(function(n){return n.pageId===t&&!i.isEmpty(n.changes)}))}},6782:function(n,t){function e(n){this.message=n}e.prototype=new Error,t.E=e},3529:function(n,t,e){var i=e(430),r=(e(1664),e(6397)),o=e(62),a=e(1918),u=e(9315),c=e(6782).E,s=e(4748),f=e(2821),l=(e(4407),e(5781),e(1623)),d=e(3457),v=e(5431),h=s.get("stores/plugins"),p=s.get("stores/global"),g=s.get("stores/layer_data");function m(n){var t=h.getPlugin(f.PluginTypes.deciders,n);if(i.isEmpty(t))throw new Error("No deciders found for policy: "+n);return t}t.isPageIdRelevant=function(n){if(!n)return!1;var t=m(n.policy);return i.isFunction(t.includePageIdInDecisionTicket)?t.includePageIdInDecisionTicket(n):!0===t.includePageIdInDecisionTicket},t.createTicket=function(n){var t,e,r,a=i.pick(n,["bucketingId","globalHoldback","preferredVariationMap","pageId"]);return i.extend(a,{audienceIds:(t=n.visitorProfile,e=n.audiences,r=h.getAllPlugins(f.PluginTypes.audienceMatchers),i.reduce(e,(function(n,e){return o.isInAudience(t,e,r)&&n.push(e.id),n}),[])),activationId:p.getActivationId()}),a},t.decideGlobal=function(n){return{isGlobalHoldback:a.isHoldback(n.bucketingId,{id:null,holdback:n.globalHoldback})}},t.decideLayer=function(n,t){var e,o;d.debug("Deciding: ",n,t);var s,f,l=m(n.policy),v={layerId:n.id,experimentId:null,variationId:null,isLayerHoldback:a.isHoldback(t.bucketingId,n)};if(i.isEmpty(n.experiments))throw new c("No experiments in layer.");try{if(l.decideLayer){d.debug("Decision / Using decider's custom decideLayer.");var h=l.decideLayer(n,t);e=h.experiment,o=h.variation}else d.debug("Decision / Using default decideLayer behavior."),e=l.selectExperiment(n,t.audienceIds,t.bucketingId),o=u.selectVariation(e,t.audienceIds,t.bucketingId,t.activationId,t.preferredVariationMap)}catch(p){s=p,(null!=(f=c)&&"undefined"!=typeof Symbol&&f[Symbol.hasInstance]?f[Symbol.hasInstance](s):s instanceof f)?v.reason=p.message:v.error=p}return v.experimentId=e?e.id:null,v.variationId=o?o.id:null,v.error&&(v.error.name="DecisionEngineError",r.emitError(v.error)),v},t.getDummyLayerDecision=function(n,t){var e,i=function(n,t){for(var e=0;e<n.experiments.length;e++)for(var i=0;i<n.experiments[e].variations.length;i++)if(t.indexOf(n.experiments[e].variations[i].id)>-1)return{experimentId:n.experiments[e].id,variationId:n.experiments[e].variations[i].id};return null}(n,t);return i?(d.log("Decision / Applying force variation:",i.variationId,"to Campaign",l.description(n)),e={layerId:n.id,variationId:i.variationId,experimentId:i.experimentId,isLayerHoldback:!1,reason:"force"}):(d.log("No variation matches ids:",t,"in Campaign",l.description(n)),e={layerId:n.id,variationId:null,experimentId:null,isLayerHoldback:!1,reason:"force"}),e},t.isInCohort=function(n){if(!n.experimentId||!n.variationId)return!1;var t=g.get(n.layerId);return!(v.isSingleExperimentPolicy(t.policy)&&n.isLayerHoldback)}},4748:function(n,t,e){var i=e(430),r=e(8729),o=e(4407),a=e(1613),u=r.create(),c={action_data:e(3732),async_request:e(784),audience_data:e(1912),change_data:e(1711),cleanup:e(3013),client_metadata:e(2334),cookie_options:e(5406),event_data:e(6546),event_emitter:e(7513),dimension_data:e(2835),directive:e(2972),global:e(7740),history:e(7584),integration_settings:e(9193),layer:e(6066),layer_data:e(7681),log:e(235),observed_redirect:e(9901),pending_events:e(46),performance:e(2608),plugins:e(4885),provider_status:e(6922),pending_redirect:e(2381),rum:e(6764),sandbox:e(1875),session:e(3740),tracker_optimizely:e(6334),ua_data:e(8991),view:e(746),view_data:e(4898),visitor:e(4441),visitor_attribute_entity:e(9335),visitor_events:e(3617),visitor_events_manager:e(9992),visitor_id:e(4322),visitor_bucketing:e(9307),xdomain:e(5866)};o.registerStores(c),i.forOwn(c,(function(n,t){u.register("stores/"+t,o.getStore(t))})),u.register("core/plugins/matchers/key_value",a),n.exports=u},1299:function(n,t,e){var i=e(430),r=e(1664),o=e(6397),a=e(6113),u=e(1364).U,c=e(2821),s=e(4407),f=e(3457),l=t.JSONParseError=u("JSONParseError"),d=e(4221),v=e(716),h=e(3473),p="optimizely_show_preview",g="optimizely_disable",m="optimizely_editor",_="optimizely_p13n",w="optimizely_x_audiences",y="optimizely_x",b="optimizely_show_preview",E="optimizely_opt_out",I="optimizely_token",A="optimizely_force_tracking";t.populateDirectiveData=function(){var n,t,e,u,T,S,R,k;!function(){var n="OFF",t=d.getQueryParamValue("optimizely_log");if(t){var e=t.split(":");""!==e[0]&&(n=String(e[0]).toUpperCase()),void 0!==e[1]&&f.setLogMatch(e[1])}f.setLogLevel(n)}(),function(){var n=h.getUserAgent()||"";if(!i.isString(n))return void f.warn("Directive / userAgent not a string");n=n.toLowerCase();var t=["googlebot","yahoo! slurp","bingbot","bingpreview","msnbot","keynote","ktxn","khte","gomezagent","alertsite","yottaamonitor","pingdom.com_bot","aihitbot","baiduspider","adsbot-google","mediapartners-google","applebot","catchpoint","phantomjs","moatbot","facebookexternalhit"],e=function(t){if(i.includes(n,t))return f.warn("Directive / Matches bot:",t),!0};i.some(t,e)&&(f.log("Directive / Disabling tracking"),s.dispatch(r.LOAD_DIRECTIVE,{trackingDisabled:!0}))}(),n=Boolean(i.result(window.optimizely,"initialized")),s.dispatch(r.LOAD_DIRECTIVE,{alreadyInitialized:n}),s.dispatch(r.LOAD_DIRECTIVE,{mutationObserverAPISupported:h.isMutationObserverAPISupported()}),function(){var n=a.get(c.COOKIES.OPT_OUT),t=d.getQueryParamValue(E),e="You have successfully opted out of Optimizely for this domain.",i="You are NOT opted out of Optimizely for this domain.";if("true"===t||"false"===t){var o="true"===t;s.dispatch(r.LOAD_DIRECTIVE,{shouldOptOut:o}),h.alert(o?e:i)}else n&&s.dispatch(r.LOAD_DIRECTIVE,{shouldOptOut:"true"===n})}(),function(){var n=!1,t=[p,g];t.push(m);for(var e=0;e<t.length;e++)if("true"===d.getQueryParamValue(t[e])){f.warn("Directive / Not activating because "+t[e]+" is set."),n=!0;break}s.dispatch(r.LOAD_DIRECTIVE,{disabled:n})}(),s.dispatch(r.LOAD_DIRECTIVE,{isEditor:!1}),s.dispatch(r.LOAD_DIRECTIVE,{isPreview:!1}),(t=d.getQueryParamValue(b))&&f.log("Directive / Is legacy preview mode"),s.dispatch(r.LOAD_DIRECTIVE,{isLegacyPreview:!!t}),s.dispatch(r.LOAD_DIRECTIVE,{isSlave:!1}),e=h.getGlobal("optlyDesktop"),(u=!(!e||i.isUndefined(e.p13nInner)))&&f.log("Directive / Is running in desktop app editor"),s.dispatch(r.LOAD_DIRECTIVE,{isRunningInDesktopApp:u}),(T="true"===d.getQueryParamValue(_))&&f.log("Directive / Is running in editor"),s.dispatch(r.LOAD_DIRECTIVE,{isRunningInV2Editor:T}),S=a.get(c.COOKIES.TOKEN)||null,R=d.getQueryParamValue(I)||S,s.dispatch(r.LOAD_DIRECTIVE,{projectToken:R}),function(){var n=a.get(c.COOKIES.PREVIEW),t=[],e=d.getQueryParamValue(w);if(e)t=a.safeDecodeURIComponent(e).split(",");else if(n)try{t=v.parse(n).forceAudienceIds}catch(u){var i=new l("Failed to parse previewCookie in registerForceAudienceIds: "+n),r={originalMessage:u.message,userError:!0};o.emitError(i,r)}t.length&&f.warn("Directive / Force parameters disabled - ignoring force audience IDs.")}(),function(){var n=a.get(c.COOKIES.PREVIEW),t=[],e=d.getQueryParamValue(y);if(e)t=a.safeDecodeURIComponent(e).split(",");else if(n)try{t=v.parse(n).forceVariationIds}catch(u){var i=new l("Failed to parse previewCookie in registerForceVariationIds: "+n),r={originalMessage:u.message,userError:!0};o.emitError(i,r)}t.length&&f.warn("Directive / Force parameters disabled - ignoring force variation IDs.")}(),(k=d.getQueryParamValue(A))&&s.dispatch(r.LOAD_DIRECTIVE,{forceTracking:k})};t.setOptOut=function(n){n?(f.warn("Directive / Opting out"),a.set(c.COOKIES.OPT_OUT,"true",{maxAge:31536e4},!0)):a.remove(c.COOKIES.OPT_OUT),s.dispatch(r.LOAD_DIRECTIVE,{shouldOptOut:n})}},2146:function(n,t){t.now=function(){return+new Date}},5257:function(n,t){t.VERSION="0.205.0",t.NAME="js"},6051:function(n,t,e){var i=e(4748).get("stores/global");t.getDocumentElement=function(){return document.documentElement},t.getCookieString=function(){return document.cookie||""},t.setCookie=function(n){document.cookie=n},t.querySelector=function(n){return document.querySelector(n)},t.querySelectorAll=function(n){return document.querySelectorAll(n)},t.parseUri=function(n){var e=t.createElement("a");return e.href=n,e},t.childrenOf=function(n){return Array.prototype.slice.call(n.querySelectorAll("*"))},t.createElement=function(n){return document.createElement(n)},t.isReady=function(){return i.domContentLoadedHasFired()||"interactive"===document.readyState||"complete"===document.readyState},t.isLoaded=function(){return"complete"===document.readyState},t.addReadyHandler=function(n){return document.addEventListener("DOMContentLoaded",n),function(){t.removeReadyHandler(n)}},t.removeReadyHandler=function(n){return function(){document.removeEventListener("DOMContentLoaded",n)}},t.getReferrer=function(){return document.referrer},t.getReadyState=function(){return document.readyState},t.write=function(n){if("loading"!==t.getReadyState())throw new Error("Aborting attempt to write to already-loaded document");document.write(n)},t.appendToHead=function(n){return t.appendTo(document.head,n)},t.appendTo=function(n,t){n.appendChild(t)},t.addEventListener=function(n,t,e){return document.addEventListener(n,t,e),function(){document.removeEventListener(n,t,e)}},t.getCurrentScript=function(){if(document.currentScript)return document.currentScript},t.parentElement=function(n){for(var t=n.parentNode;t.nodeType!==Node.ELEMENT_NODE;)t=t.parentNode;return t}},4513:function(n,t,e){var i,r,o="optimizely_data",a=e(1364).U,u=e(7058),c=e(3473),s=a("StorageError");try{r=c.getGlobal("localStorage")}catch(f){throw new s("Unable to read localStorage: "+f.toString())}if(!r)throw new s("localStorage is undefined");i=u.create(r,o),t.mM=i},3552:function(n,t){t.create=function(n){return new MutationObserver(n)},t.observe=function(n,t,e){n.observe(t,e)}},2509:function(n,t,e){var i=e(7322).Promise,r=e(3473);t.estimateStorage=function(){var n=r.getGlobal("navigator");try{return n.storage.estimate()}catch(t){return i.resolve({usage:null,quota:null})}}},2341:function(n,t,e){var i=e(1664),r=e(1364).U,o=e(2146),a=e(4407),u=e(3473),c=e(4748).get("stores/rum"),s="optimizely:",f=t.Error=r("PerformanceError");function l(){return u.getGlobal("performance")}t.time=function(n){if(c.getSampleRum()){var t=l();if(t&&t.mark){var e=s+n;t.clearMarks(e+"Begin"),t.mark(e+"Begin")}}},t.timeEnd=function(n){if(c.getSampleRum()){var t=l();if(t&&t.mark){var e=s+n,r=t.getEntriesByName(e+"Begin");if(0===r.length)throw new f("Called timeEnd without matching time: "+n);t.clearMarks(e+"End"),t.mark(e+"End");var o=n+"Time",u=t.getEntriesByName(e+"End")[0].startTime-r[0].startTime;a.dispatch(i.SET_PERFORMANCE_MARKS_DATA,{name:o,data:{startTime:Math.round(1e3*r[0].startTime)/1e3,duration:Math.round(1e3*u)/1e3}})}}},t.setMark=function(n,t,e){if(c.getSampleRum()){var r=l();if(r&&r.mark){var o=s+n;r.mark(o),a.dispatch(i.SET_PERFORMANCE_MARKS_DATA,{name:n,data:{startTime:Math.round(1e3*t)/1e3,duration:Math.round(1e3*e)/1e3}})}}},t.now=function(){var n=l();return n?n.now():o.now()}},3473:function(n,t,e){var i=e(430),r=e(3457);t.getUserAgent=function(){return window.navigator.userAgent},t.getLocationSearch=function(){return window.location.search},t.getNavigatorLanguage=function(){return window.navigator.language||window.navigator.userLanguage},t.getHref=function(){return window.location.href},t.getLocation=function(){return window.location},t.setLocation=function(n){window.location.replace(n)},t.setGlobal=function(n,t){window[n]=t},t.getGlobal=function(n){return window[n]},t.getGlobalByPath=function(n){for(var t=n.split("."),e=window;t.length;)try{e=e[t.shift()]}catch(i){throw r.error("Attempted to access nonexistent property. Path ",n),new Error("Attempted to access nonexistent property. Path "+n)}return e},t.addEventListener=function(){return window.addEventListener.apply(window,arguments)},t.removeEventListener=function(){return window.removeEventListener.apply(window,arguments)},t.isMutationObserverAPISupported=function(){return!i.isUndefined(window.MutationObserver)},t.alert=function(n){alert(n)},t.setTimeout=function(n,t){return setTimeout((function(){try{n()}catch(t){r.warn("Deferred function threw error:",t)}}),t)},t.setInterval=function(n,t){return setInterval((function(){try{n()}catch(t){r.warn("Polling function threw error:",t)}}),t)}},8967:function(n,t,e){var i=e(430);t.create=function(n,t,e,r){return i.extend({category:"other"},r,{id:n,apiName:t,eventType:e})}},1564:function(n,t,e){var i=e(430),r=e(2894),o=e(1664),a=e(6397),u=e(4748),c=e(4407),s=e(3457),f=u.get("stores/event_emitter");t.on=function(n){return n.token||(n.token=r.generate()),c.dispatch(o.ADD_EMITTER_HANDLER,n),n.token},t.off=function(n){c.dispatch(o.REMOVE_EMITTER_HANDLER,{token:n})},t.emit=function(n,t,e){var r=f.getHandlers(n,t);i.each(r,(function(i){try{i.handler.call({$di:u},n)}catch(r){!e&&i.emitErrors?(s.error("Error in handler for event:",n,r),a.emitError(r,null,t)):s.warn("Suppressed error in handler for event:",n,r)}}))}},8001:function(n,t,e){var i=e(1564);t.on=function(n){return n.publicOnly=!0,i.on(n)},t.off=i.off,t.emit=function(n){i.emit(n)}},3562:function(__unused_webpack_module,exports,__webpack_require__){var createError=__webpack_require__(9981),di=__webpack_require__(4748),Logger=__webpack_require__(3457),CSP_MODE=!1,EXEC_WITH_JQUERY=!0,ExecError=exports.Error=createError("ExecError");exports.apply=function(n,t){t=t||[],EXEC_WITH_JQUERY&&(t=t.concat(di.get("env/jquery")));try{return n.apply(void 0,t)}catch(e){throw Logger.warn("Error applying function",n,"with args:",t,e),new ExecError(e)}},exports.eval=function(str){if(CSP_MODE)throw new ExecError("eval is not supported in CSP mode");try{return EXEC_WITH_JQUERY&&(str="var $ = optimizely.get('jquery');"+str),eval(str)}catch(e){throw Logger.warn("Error executing JS:",str,e),new ExecError(e)}}},4407:function(n,t,e){var i=e(9157);n.exports=i.create()},5781:function(n,t,e){var i=e(430);t.description=function(n){var t=!!n.name?'"'+n.name+'" ':"",e=function(n){return i.map(n.weightDistributions,"entityId")}(n).join(", ");return t+"(id "+n.id+", campaigns: "+e+")"}},1623:function(n,t,e){var i=e(430),r=e(1664),o=e(2146),a=e(4748),u=e(4407),c=a.get("stores/global"),s=a.get("stores/session");t.recordLayerDecision=function(n,t,e){return u.dispatch(r.RECORD_LAYER_DECISION,{layerId:n,decision:e,decisionTicket:t,sessionId:s.getSessionId(),activationId:c.getActivationId(),timestamp:o.now(),revision:c.getRevision(),namespace:c.getNamespace(),pageId:t.pageId}),e},t.relatedAudienceIds=function(n){var t={},e=["and","or","not"];return i.each(n.experiments,(function(n){i.each(i.flattenDeep(n.audienceIds),(function(n){i.includes(e,n)||(t[n]=!0)}))})),i.keys(t)},t.getActivationTimeout=function(n){var t=n.activation;return t&&null!==t.timeout&&void 0!==t.timeout?t.timeout:2e3},t.description=function(n){return(n.name?'"'+n.name+'" ':"")+"("+n.id+")"},t.createSingle=function(n,t,e){return{id:n,policy:"single_experiment",holdback:0,experiments:[{id:t||"",variations:[{id:e||"",actions:[]}],audienceIds:[]}],integrationStringVersion:1}},t.createLayerState=function(n,t,e,i){return void 0===i&&(i=!1),{layerId:n,decision:{layerId:n,experimentId:t,variationId:e,isLayerHoldback:i||!1},decisionTicket:{audienceIds:[]}}},t.getIntegrationTypes=function(n){return i.keys(i.reduce(i.keys(n.integrationSettings),(function(n,t){return i.isNaN(Number(t))||(t="custom"),n[t]=1,n}),{}))}},8613:function(n,t,e){var i=e(430);t.y=function(n,t){if(!t)return 0;for(var e=t.toString().split("."),r=n.toString().split("."),o=0;o<e.length;o++){if(i.isUndefined(r[o]))return-1;if(isNaN(Number(r[o]))){if(r[o]!==e[o])return-1}else{if(Number(r[o])<Number(e[o]))return-1;if(Number(r[o])>Number(e[o]))return 1}}return 0}},7024:function(n,t,e){var i=e(430),r=e(716),o=e(3457),a="or",u="not";var c={};function s(n,t){var e;if(i.isArray(n)){var u,s;n[0]in c?(u=n[0],s=n.slice(1)):(u=a,s=n),o.groupCollapsed('Condition / Applying operator "'+u+'" with args',r.stringify(s));try{e=c[u](s,t),o.debug("Condition / Result:",e)}finally{o.groupEnd()}return e}return e=t(n),o.debug("Condition / Evaluated:",r.stringify(n),":",e),e}c["and"]=function(n,t){for(var e,r,o=0;o<n.length;o++){if(!1===(e=s(n[o],t)))return!1;i.isUndefined(e)&&(r=!0)}if(!r)return!0},c[a]=function(n,t){for(var e,r=!1,o=0;o<n.length;o++){if(!0===(e=s(n[o],t)))return!0;i.isUndefined(e)&&(r=!0)}if(!r)return!1},c[u]=function(n,t){if(1!==n.length)return!1;var e=s(n[0],t);return i.isUndefined(e)?void 0:!e},n.exports={evaluate:s}},3637:function(n,t,e){var i=e(430),r=e(7062);function o(n){if((n=(n||"").toLowerCase())in c)return n;var t=i.keys(c);return i.find(t,(function(t){var e=c[t];return i.includes(e,n)}))||"unknown"}function a(n,t,e){return t||("unknown"===n?"unknown":e?"mobile":"desktop_laptop")}t.parseUA=function(n){var t=new r(n),e=t.getBrowser(),i=t.getOS(),c=t.getDevice(),f=(i.name||"unknown").toLowerCase(),l=(e.name||"unknown").toLowerCase(),d=u(c.type,l,f);return{browser:{id:o(e.name),version:e.version},platform:{name:f,version:i.version},device:{model:s[c.model]||"unknown",type:a(l,c.type,d),isMobile:d}}};var u=function(n,t,e){if(i.includes(["mobile","tablet"],n)||i.includes(["opera mini"],t))return!0;return!!i.includes(["android","blackberry","ios","windows phone"],e)},c={gc:["chrome","chromium","silk","yandex","maxthon","chrome webview"],edge:["edge"],ie:["internet explorer","iemobile"],ff:["firefox","iceweasel"],opera:["opera","opera mini","opera tablet"],safari:["safari","mobile safari","webkit"],ucbrowser:["uc browser"]},s={iPhone:"iphone",iPad:"ipad"}},8729:function(n,t,e){var i=e(430);function r(){this.q={}}r.prototype.register=function(n,t){if(1!==arguments.length){if(this.q[n])throw new Error("Module already registered for: "+n);this.q[n]=t}else{var e=this;i.each(n,(function(n,t){e.register(t,n)}))}},r.prototype.get=function(n){return this.q[n]},r.prototype.getModuleKeys=function(){var n=this.q;return i.keys(n)},r.prototype.evaluate=function(n){var t=n.length,e=n.slice(0,t-1),r=n[t-1];if("function"!=typeof r)throw new Error("Evaluate must take a function as last element in array");var o=i.map(e,i.bind(this.get,this));return r.apply(null,o)},r.prototype.reset=function(){this.q={}},n.exports={create:function(){return new r}}},7862:function(n,t,e){var i=e(430);function r(n,t,e){this.H=n,this.Y=t,this.K=0,this.$=!1,this.W={},i.extend(this,e),this.X={},this.initialize&&this.initialize()}r.prototype.J=function(n,t){var e=this.W[n];e&&"function"==typeof e&&e.call(this,t,n)},r.prototype.Z=function(){return i.cloneDeep(this.X)},r.prototype.on=function(n,t){this.W[n]=i.bind(t,this)},r.prototype.observe=function(n){return this.Y.nn(this.H,n)},r.prototype.emitChange=function(){this.$=!0,this.K++},r.prototype.hasChanges=function(){return this.$},r.prototype.resetChange=function(){this.$=!1},r.prototype.getStateId=function(){return this.K},r.prototype.tn=function(){this.reset&&"function"==typeof this.reset&&this.reset(),this.initialize()},n.exports=r},9157:function(n,t,e){var i=e(430),r=e(7862);function o(n){n=n||{},this.en={},this.rn={},this.an=0,this.un=[],this.cn=[]}function a(n,t){return function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}}o.prototype.registerStores=function(n){i.forOwn(n,i.bind((function(n,t){this.en[t]=new r(t,this,n)}),this))},o.prototype.getStore=function(n){return this.en[n]},o.prototype.dispatch=function(n,t){this.dispatchId++,i.each(this.un,i.bind((function(e){e.call(this,n,t)}),this)),i.forOwn(this.en,(function(e){e.J(n,t)})),i.each(this.cn,i.bind((function(e){e.call(this,n,t)}),this)),i.forOwn(this.en,i.bind((function(n,t){n.hasChanges()&&this.rn[t]&&(n.resetChange(),i.each(this.rn[t],(function(t){t(n)})))}),this))},o.prototype.reset=function(){this.rn={},i.forOwn(this.en,(function(n,t){n.tn()}))},o.prototype.getState=function(){var n={};return i.forOwn(this.en,(function(t,e){n[e]=t.Z()})),n},o.prototype.onPreAction=function(n){var t=this.un;return t.push(n),a(t,n)},o.prototype.onPostAction=function(n){var t=this.cn;return t.push(n),a(t,n)},o.prototype.nn=function(n,t){return this.rn[n]||(this.rn[n]=[]),this.rn[n].push(t),a(this.rn[n],t)},n.exports={create:function(n){return new o(n)}}},716:function(n,t,e){var i=e(430);function r(n){var t,e,r=[Array.prototype],o=[];i.each(r,(function(n){i.isUndefined(n.toJSON)||(o.push(n.toJSON),delete n.toJSON)}));try{t=n()}catch(a){e=a}finally{i.each(o,(function(n,t){r[t].toJSON=n}))}if(e)throw e;return t}t.stringify=function(){return r(i.bind((function(){return JSON.stringify.apply(null,this)}),arguments))},t.parse=JSON.parse},95:function(n,t,e){var i=e(430);t.hasMatch=function(n,t,e){var r=!i.isUndefined(e)&&null!==e,o=!i.isUndefined(n)&&null!==n;switch(t||(o?"exact":"exists")){case"exists":return r;case"exact":return r&&String(e)===n;case"substring":return r&&String(e).indexOf(n)>-1;case"regex":try{return!(!o||!r)&&new RegExp(n).test(String(e))}catch(f){}return!1;case"range":var a=n.split(":"),u=parseFloat(a[0]),c=parseFloat(a[1]),s=parseFloat(e);return s>=u&&s<=c;default:return!1}}},7322:function(n,t,e){n.exports=e(1763)},7058:function(n,t,e){var i=e(430),r=e(3457);function o(n,t){this.sn=n,this.fn=t}o.prototype.ln=function(n){return[this.fn,n].join("$$")},o.prototype.dn=function(n){return n.replace(this.fn+"$$","")},o.prototype.setItem=function(n,t){try{this.sn.setItem(this.ln(n),t)}catch(e){r.warn("Failed to save",n,"to localStorage:",e)}},o.prototype.removeItem=function(n){this.sn.removeItem(this.ln(n))},o.prototype.getItem=function(n){var t=null;try{t=this.sn.getItem(this.ln(n))}catch(e){}return t},o.prototype.keys=function(){var n=i.keys(this.sn);return i.map(i.filter(n,i.bind((function(n){return i.includes(n,this.fn)}),this)),i.bind(this.dn,this))},o.prototype.allKeys=function(){return i.keys(this.sn)},o.prototype.allValues=function(){return i.values(this.sn)},n.exports={create:function(n,t){return new o(n,t)},mockStorage:{keys:function(){},getItem:function(n){},removeItem:function(n){},setItem:function(n,t){}}}},1017:function(n,t,e){var i=e(430),r=e(6397),o=e(2821),a=e(716),u=e(4513).mM,c=e(3457),s=e(667),f=e(4748).get("stores/pending_events"),l=o.StorageKeys.PENDING_EVENTS;t.persistPendingEvents=function(){try{var n=f.getEventsString();u.setItem(l,n),e(9111).setItem(l,n)}catch(t){c.warn("PendingEvents / Unable to set localStorage key, error was: ",t),r.emitInternalError(t)}},t.getPendingEvents=function(){try{return a.parse(u.getItem(l))}catch(n){return null}},t.retryPendingEvents=function(n){i.forOwn(n,(function(n,t){s.retryableRequest(n.data,t,n.retryCount)})),i.isEmpty(n)||c.log("Retried pending events: ",n)}},121:function(n,t,e){var i=e(430),r=e(1664),o=e(4748),a=e(2821),u=e(1564),c=e(4407);t.registerApiModule=function(n,t){i.isArray(t)&&(t=o.evaluate(t)),c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.apiModules,name:n,plugin:t})},t.registerDependency=function(n,t){o.get(n)||o.register(n,t)},t.registerVisitorProfileProvider=function(n){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.visitorProfileProviders,name:n.provides,plugin:n})},t.registerViewProvider=function(n){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.viewProviders,name:n.provides,plugin:n})},t.registerAudienceMatcher=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.audienceMatchers,name:n,plugin:t})},t.registerViewMatcher=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.viewMatchers,name:n,plugin:t})},t.registerAnalyticsTracker=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.analyticsTrackers,name:n,plugin:t})},t.registerViewTagLocator=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.viewTagLocators,name:n,plugin:t})},t.registerAudiencePlugin=function(n){n.dependencies&&i.each(n.dependencies,(function(n,e){t.registerDependency(e,n)}));var e,r,a="vendor."+n.vendor;e=i.isString(n.provider)?o.get(n.provider)(n.vendor):i.isFunction(n.provider)?n.provider(n.vendor):i.cloneDeep(n.provider),t.registerVisitorProfileProvider(i.extend(e,{provides:a})),r=i.isString(n.matcher)?o.get(n.matcher):n.matcher;var u={fieldsNeeded:[a],match:function(n,t){return r(n[a],t)}};t.registerAudienceMatcher(a,u)},t.registerWidget=function(n){return i.isArray(n)&&(n=o.evaluate(n)),{showToken:u.on({filter:{type:"showWidget",name:n.widgetId},handler:n.showFn}),hideToken:u.on({filter:{type:"hideWidget",name:n.widgetId},handler:n.hideFn})}},t.registerChangeApplier=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.changeAppliers,name:n,plugin:t})},t.registerDecider=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.deciders,name:n,plugin:t})},t.registerEventImplementation=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.eventImplementations,name:n,plugin:t})},t.registerViewTrigger=function(n,t){c.dispatch(r.REGISTER_PLUGIN,{type:a.PluginTypes.viewTriggers,name:n,plugin:t})}},6393:function(n,t,e){var i=e(430),r=e(4748),o=":",a="holdback",u="treatment",c="",s=e(3457),f=e(5431);function l(n){return n.replace(/[^a-zA-Z0-9\.\~\!\*\(\)\']+/g,"_")}t.formatNamesAndIdsForAnalytics=function(n,t,e,o){var a={layer:n.name||c,experiment:t.name||c,variation:e.name||c};o&&(a=i.mapValues(a,l));var u,s=!n.integrationStringVersion||1===n.integrationStringVersion;if(a.experiment===c&&s)if(u=t.audienceIds,!i.isEmpty(u)&&i.includes(["and","or","not"],u[0]))a.experiment="Exp";else{var f=r.get("stores/audience_data");a.experiment=function(n,t){return i.isEmpty(t)?"everyone_else":i.reduce(t,(function(t,e){var i=n.get(e);return i?t+l(i.name?i.name:i.id)+",":t}),"").slice(0,-1)}(f,t.audienceIds)}return{names:a,idStrings:{layer:"("+l(n.id)+")",experiment:"("+l(t.id)+")",variation:"("+l(e.id)+")"}}},t.combineAndTruncateIdAndName=function(n,t,e){var i=e-t.length;if(i<0&&(s.warn("maxLength must be at least long enough to fit the entity ID, which is length"+t.length+". Defaulting to only use entity ID as name."),n=c),n===c)return t;if(n.length>i){var r=Math.min(n.length,i);return(n=n.substring(0,r))+t}return n+" "+t},t.generateAnalyticsString=function(n,e,r,c,s,l){return n.integrationStringVersion&&2===n.integrationStringVersion?function(n,e,r,u,c,s){if(f.isSingleExperimentPolicy(n.policy)&&u)return;var l=!f.isSingleExperimentPolicy(n.policy)&&u,d=t.formatNamesAndIdsForAnalytics(n,e,r,s),v=[d.names.experiment,d.names.variation],h=[d.idStrings.experiment,d.idStrings.variation];f.isSingleExperimentPolicy(n.policy)||(v.unshift(d.names.layer),h.unshift(d.idStrings.layer));var p=i.reduce(h,(function(n,t){return n+t.length}),0),g=v.length-1+(l?1:0),m=p+g*o.length;if(l&&(m+=a.length),m>c)throw new Error("The analytics string size is too low to send the entity IDs.");for(var _=c-m,w=v.length,y=[],b=v.length-1;b>=0;b--){var E=v[b],I=Math.min(E.length,Math.floor(_/w));_-=I,w--,y.unshift(E.substring(0,I))}var A=i.map(y,(function(n,t){return n+h[t]}));return l&&A.push(a),A.join(o)}(n,e,r,c,s,l):function(n,e,r,c,s,l){var d=c?a:u,v=3*o.length,h=t.formatNamesAndIdsForAnalytics(n,e,r,l),p=h.names,g=h.idStrings,m=i.reduce(g,(function(n,t){return n+t.length}),0);if(m+v+d.length>s)throw new Error("The analytics string size is too low to send the campaign, experiment, and variation IDs.");var _=s-m-v-d.length,w={};w.variation=Math.min(p.variation.length,Math.floor(_/3)),_-=w.variation,w.experiment=Math.min(p.experiment.length,Math.floor(_/2)),_-=w.experiment,w.layer=_;var y={};i.each(p,(function(n,t){y[t]=n.substring(0,w[t])}));var b=[];return f.isSingleExperimentPolicy(n.policy)||b.push(y.layer+g.layer),(b=b.concat([y.experiment+g.experiment,y.variation+g.variation,d])).join(o)}(n,e,r,c,s,l)}},9842:function(n,t,e){var i=e(430);n.exports=function(n,t){n=function(n){var t=n.split("?");if(t[1]){var e=t[1].split("#"),r=e[0],a=e[1],u=r.split("&"),c=[];return i.each(u,(function(n){0!==n.indexOf(o)&&c.push(n)})),t[1]="",c.length>0&&(t[1]="?"+c.join("&")),a&&(t[1]+="#"+a),t.join("")}return n}(n);var e=t.value;switch(t.match){case"exact":return(n=c(n))===c(e);case"regex":try{return Boolean(n.match(e))}catch(r){}return!1;case"simple":return(n=u(n))===(e=u(e));case"substring":return n=c(n,!0),e=c(e,!0),-1!==n.indexOf(e);default:return!1}};var r=["www."],o="optimizely_",a=["https?://.*?.?optimizelyedit.(com|test)/","https?://.*.?optimizelypreview.(com|test)/","https?://(edit|preview)(-hrd|-devel)?.optimizely.(com|test)/","https?://.*?.?optimizelyedit(-hrd)?.appspot.com/","https?://"];function u(n){return c(function(n){var t=n.indexOf("?");return-1!==t&&(n=n.substring(0,t)),-1!==(t=n.indexOf("#"))&&(n=n.substring(0,t)),n}(n))}function c(n,t){n=(n=n.replace("/?","?")).toLowerCase().replace(/[/&?]+$/,"");var e=a.slice(0);t||(e=e.concat(r));for(var i=e.length,o=0;o<i;o++){var u=e[o],c=new RegExp("^"+u);n=n.replace(c,"")}return n}},1613:function(n,t,e){var i=e(430),r=e(6457).getFieldValue,o=e(95);n.exports=function(n,t){var e=r(n,t.name.split("."));return i.isArray(e)?i.some(e,i.partial(o.hasMatch,t.value,t.match)):o.hasMatch(t.value,t.match,e)}},3732:function(n,t,e){var i=e(430),r=e(1664),o=e(22),a=e(3457);n.exports={initialize:function(){this.X={actions:{},actionState:{}},this.on(r.DATA_LOADED,this.vn),this.on(r.ACTION_EXECUTED,this.hn),this.on(r.SET_CHANGE_APPLIER,this.pn),this.on(r.REMOVE_ACTION_STATE,this.gn)},vn:function(n){var t=this;i.isEmpty(n.data.layers)||(i.each(n.data.layers,(function(n){var e;if(n.changes){var r="layerId:"+n.id;e={id:r,layerId:n.id,changeSet:n.changes,type:"layer"},o.deepFreeze(e),t.X.actions[r]=e}i.each(n.experiments,(function(r){if(r.changes){var a="experimentId:"+r.id;e={id:a,layerId:n.id,experimentId:r.id,changeSet:r.changes,type:"experiment"},o.deepFreeze(e),t.X.actions[a]=e}i.each(r.variations,(function(a){i.each(a.actions,(function(i){var u=i.pageId||i.viewId,c=r.id+":"+a.id+":"+u;e={id:c,layerId:n.id,experimentId:r.id,variationId:a.id,pageId:u,changeSet:i.changes,type:"variation"},o.deepFreeze(e),t.X.actions[c]=e}))}))}))})),this.emitChange())},hn:function(n){var t=n.actionId;i.isUndefined(t)||this.X.actionState[t]||(this.X.actionState[t]={})},pn:function(n){var t=n.actionId,e=n.changeId;this.X.actionState[t]?this.X.actionState[t][e]=n.changeApplier:a.warn("Action Data / Attempted to set changeApplier for inactive action: ",t)},gn:function(n){delete this.X.actionState[n.actionId]},get:function(n){return o.safeReference(this.X.actions[n])},getActionState:function(n){return o.safeReference(this.X.actionState[n])},getByChangeId:function(n){return i.find(this.X.actions,{changeSet:[{id:n}]})},getAllActionIdsByPageId:function(n){return i.map(i.filter(this.X.actions,{pageId:n}),"id")},getChangeApplier:function(n,t){var e=this.X.actionState[t];if(e)return e[n]},getExperimentVariationActions:function(n,t){return o.safeReference(i.filter(this.X.actions,{experimentId:n,variationId:t}))},getLayerActions:function(n){return o.safeReference(i.filter(this.X.actions,{id:"layerId:"+n}))},getExperimentActions:function(n){return o.safeReference(i.filter(this.X.actions,{id:"experimentId:"+n}))},getAll:function(){return o.safeReference(i.values(this.X.actions))}}},784:function(n,t,e){var i=e(1664);n.exports={initialize:function(){this.X={},this.on(i.REGISTER_ASYNC_DEFERRED,this.mn),this.on(i.RESOLVE_DEFERRED,this._n),this.on(i.REJECT_DEFERRED,this.wn)},getRequest:function(n){return this.X[n]},getPromise:function(n){var t=this.getRequest(n);if(t)return t.promise},mn:function(n){this.X[n.source]={promise:n.promise,resolver:n.resolver,rejecter:n.rejecter}},_n:function(n){var t=this.getRequest(n.source);if(!t)throw new Error("No request registered for source: "+n.source);t.resolver(n.resolveWith)},wn:function(n){var t=this.getRequest(n.source);if(!t)throw new Error("No request registered for source: "+n.source);if(!t.rejecter)throw new Error("No rejecter registered for source: "+n.source);t.rejecter(n.rejectWith)}}},1912:function(n,t,e){var i=e(430),r=e(1664),o=e(22);function a(n,t){return t||(t={}),n?(i.each(n,(function(n){if(!i.isString(n)){if(i.isObject(n)){var e=n.type,r=n.name||"_";t[e]||(t[e]={}),t[e][r]=!0}i.isArray(n)&&a(n,t)}})),t):t}n.exports={initialize:function(){this.X={audiences:{},featuresNeeded:{}},this.on(r.DATA_LOADED,this.vn)},vn:function(n){i.isEmpty(n.data.audiences)||(i.each(n.data.audiences,i.bind((function(n){o.deepFreeze(n),i.merge(this.X.featuresNeeded,a(n.conditions)),this.X.audiences[n.id]=n}),this)),this.emitChange())},getAll:function(){return o.safeReference(i.values(this.X.audiences))},getFeaturesNeeded:function(n){return o.safeReference(this.X.featuresNeeded[n]||{})},getAudiencesMap:function(){return o.safeReference(this.X.audiences)},get:function(n){return o.safeReference(this.X.audiences[n])},getById:function(n){return o.safeReference(this.X.audiences[n])},getAudienceName:function(n){return i.find(i.values(this.X.audiences),{id:n}).name||"Aud "+n}}},1711:function(n,t,e){var i=e(430),r=e(1664),o=e(22);n.exports={initialize:function(){this.X={},this.on(r.ADD_CHANGE,this.yn),this.on(r.DATA_LOADED,this.vn)},getChange:function(n){return this.X[n]},vn:function(n){i.isEmpty(n.data.changes)||i.each(n.data.changes,i.bind(this.yn,this))},yn:function(n){o.deepFreeze(n),this.X[n.id]=n,this.emitChange()}}},3013:function(n,t,e){var i=e(430),r=e(1664),o=e(2821);n.exports={initialize:function(){this.X={},i.each(o.Lifecycle,i.bind((function(n){this.X[n]=[]}),this)),this.on(r.ADD_CLEANUP_FN,this.bn),this.on(r.CLEAR_CLEANUP_FN,this.En)},getCleanupFns:function(n){return i.cloneDeep(this.X[n])},bn:function(n){this.X[n.lifecycle].push(n.cleanupFn),this.emitChange()},En:function(n){var t=this.X[n.lifecycle];if(n.cleanupFn){var e=t.indexOf(n.cleanupFn);e>-1&&(t.splice(e,1),this.emitChange())}else this.X[n.lifecycle]=[],this.emitChange()}}},2334:function(n,t,e){var i=e(1664),r=e(5257);n.exports={initialize:function(){this.X={name:r.NAME,version:r.VERSION},this.on(i.SET_CLIENT_NAME,this.In),this.on(i.SET_CLIENT_VERSION,this.An)},getClientName:function(){return this.X.name},getClientVersion:function(){return this.X.version},In:function(n){n&&(this.X.name=n),this.emitChange()},An:function(n){n&&(this.X.version=n),this.emitChange()}}},5406:function(n,t,e){var i=e(1664);n.exports={initialize:function(){this.X={currentDomain:null,defaultAgeSeconds:15552e3,autoRefresh:true},this.on(i.SET_COOKIE_DOMAIN,this.Tn),this.on(i.SET_COOKIE_AGE,this.Sn),this.on(i.SET_COOKIE_AUTO_REFRESH,this.Rn)},getCurrentDomain:function(){return this.X.currentDomain},getDefaultAgeInSeconds:function(){return this.X.defaultAgeSeconds},getAutoRefresh:function(){return this.X.autoRefresh},Tn:function(n){this.X.currentDomain=n,this.emitChange()},Sn:function(n){this.X.defaultAgeSeconds=n,this.emitChange()},Rn:function(n){this.X.autoRefresh=n,this.emitChange()}}},2835:function(n,t,e){var i=e(430),r=e(1664),o=e(22);n.exports={initialize:function(){this.X={},this.on(r.DATA_LOADED,this.vn)},vn:function(n){i.isEmpty(n.data.dimensions)||(i.each(n.data.dimensions,i.bind((function(n){o.deepFreeze(n),this.X[n.id]=n}),this)),this.emitChange())},getAll:function(){return o.safeReference(i.values(this.X))},getById:function(n){return o.safeReference(this.X[n])},getByApiName:function(n){return o.safeReference(i.find(i.values(this.X),{apiName:n}))}}},2972:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={disabled:!1,forceAudienceIds:[],forceVariationIds:[],alreadyInitialized:!1,mutationObserverAPISupported:!1,isEditor:!1,isPreview:!1,isLegacyPreview:!1,isSlave:!1,previewLayerIds:[],projectToken:null,shouldOptOut:!1,trackingDisabled:!1,isRunningInV2Editor:!1,isRunningInDesktopApp:!1,forceTracking:!1},this.on(r.LOAD_DIRECTIVE,this.kn)},getAll:function(){return i.cloneDeep(this.X)},conflictInObservingChanges:function(){return!this.X.mutationObserverAPISupported},isDisabled:function(){return this.X.disabled},isEditor:function(){return this.X.isEditor},clientHasAlreadyInitialized:function(){return this.X.alreadyInitialized},getForceAudienceIds:function(){return this.X.forceAudienceIds},getForceVariationIds:function(){return this.X.forceVariationIds},getPreviewLayerIds:function(){return this.X.previewLayerIds},getProjectToken:function(){return this.X.projectToken},getForceTracking:function(){return this.X.forceTracking},shouldActivate:function(){return!this.X.isEditor&&!this.isDisabled()},shouldBootstrapDataForPreview:function(){return this.X.isPreview},shouldBootstrapDataForEditor:function(){return this.X.isEditor},shouldInitialize:function(){return!(this.shouldLoadPreview()||this.isDisabled()||this.getProjectToken())},shouldLoadPreview:function(){return!(this.X.isPreview||this.X.isLegacyPreview||!this.getProjectToken()||this.X.isEditor)},shouldBailForDesktopApp:function(){return!this.X.isEditor&&this.X.isRunningInDesktopApp},shouldLoadInnie:function(){return!this.X.isSlave&&!this.X.isEditor&&this.X.isRunningInV2Editor},shouldObserveChangesIndefinitely:function(){return this.X.mutationObserverAPISupported},shouldObserveChangesUntilTimeout:function(){return!this.shouldObserveChangesIndefinitely()},shouldOptOut:function(){return this.X.shouldOptOut},shouldSendTrackingData:function(){return!this.X.trackingDisabled&&(!!this.X.forceTracking||!this.X.isPreview&&i.isEmpty(this.getForceVariationIds())&&i.isEmpty(this.getForceAudienceIds()))},isSlave:function(){return this.X.isSlave},isRunningInDesktopApp:function(){return this.X.isRunningInDesktopApp},isRunningInV2Editor:function(){return this.X.isRunningInV2Editor},kn:function(n){i.extend(this.X,n),this.emitChange()}}},6546:function(n,t,e){var i=e(430),r=e(1664),o=e(22);n.exports={initialize:function(){this.X={},this.on(r.DATA_LOADED,this.vn)},getAll:function(){return o.safeReference(i.values(this.X))},getEventsMap:function(){return o.safeReference(this.X)},get:function(n){return o.safeReference(this.X[n])},getByApiName:function(n){return o.safeReference(i.find(i.values(this.X),{apiName:n}))},getByPageId:function(n){return o.safeReference(i.filter(this.X,{pageId:n}))},vn:function(n){i.isEmpty(n.data.events)||(i.each(n.data.events,i.bind((function(n){n.pageId||(n.pageId=n.viewId),o.deepFreeze(n),this.X[n.id]=n}),this)),this.emitChange())}}},7513:function(n,t,e){var i=e(430),r=e(1664);function o(n){var t=[];return n&&i.isObject(n)?(n.type&&t.push(n.type),t.push("|"),n.type&&n.name&&t.push(n.name),t.join("")):"|"}n.exports={initialize:function(){this.X={handlers:{}},this.on(r.ADD_EMITTER_HANDLER,this.Nn),this.on(r.REMOVE_EMITTER_HANDLER,this.Dn)},getHandlers:function(n,t){var e=[null,{type:n.type},{type:n.type,name:n.name}],r=[];return i.each(e,i.bind((function(n){var t=o(n),e=this.X.handlers[t];e&&(r=r.concat(e))}),this)),t&&(r=i.filter(r,(function(n){return!n.publicOnly}))),r},Nn:function(n){var t=o(n.filter);this.X.handlers[t]||(this.X.handlers[t]=[]),this.X.handlers[t].push({handler:n.handler,token:n.token,publicOnly:!!n.publicOnly,emitErrors:!!n.emitErrors}),this.emitChange()},Dn:function(n){var t=!1,e=n.token;i.forOwn(this.X.handlers,i.bind((function(n,r){var o=i.filter(n,(function(n){return n.token!==e}));o.length!==n.length&&(t=!0,this.X.handlers[r]=o)}),this)),t&&this.emitChange()}}},7740:function(n,t,e){var i=e(430),r=e(1664),o=e(22);n.exports={initialize:function(){this.X={holdback:0,isGlobalHoldback:null,listTargetingKeys:[],revision:null,projectId:null,accountId:null,namespace:null,activationId:null,activationTimestamp:null,dcpServiceId:null,dcpKeyfieldLocators:[],recommenderServices:[],anonymizeIP:null,projectJS:null,snippetId:null,plugins:[],domContentLoaded:!1,experimental:{},ga4UserId:null},this.on(r.DATA_LOADED,this.Cn),this.on(r.ACTIVATE,this.On),this.on(r.RECORD_GLOBAL_DECISION,this.xn),this.on(r.SET_DOMCONTENTLOADED,this.Pn),this.on(r.SET_GA4_USER_ID,this.Mn)},getRevision:function(){return this.X.revision},getGlobalHoldbackThreshold:function(){return this.X.holdback},getProjectId:function(){return this.X.projectId},getSnippetId:function(){return this.X.snippetId},getAccountId:function(){return this.X.accountId},getNamespace:function(){return this.X.namespace},getActivationId:function(){return this.X.activationId},getActivationTimestamp:function(){return this.X.activationTimestamp},getAnonymizeIP:function(){return this.X.anonymizeIP},isGlobalHoldback:function(){return!!this.X.isGlobalHoldback},getListTargetingKeys:function(){return this.X.listTargetingKeys.slice()},getDCPServiceId:function(){return this.X.dcpServiceId},getDCPKeyfieldLocators:function(){return this.X.dcpKeyfieldLocators},getRecommenderServices:function(){return this.X.recommenderServices},getProjectJS:function(){return this.X.projectJS},getPlugins:function(){return this.X.plugins},getExperimental:function(){return o.safeReference(this.X.experimental)},getGA4UserId:function(){return this.X.ga4UserId},domContentLoadedHasFired:function(){return this.X.domContentLoaded},On:function(n){this.X.activationId=n.activationId,this.X.activationTimestamp=n.activationTimestamp,this.X.isGlobalHoldback=null},xn:function(n){var t=n.isGlobalHoldback;if(null!==this.X.isGlobalHoldback&&this.X.isGlobalHoldback!==t)throw new Error("Attempted to change already set global holdback!");this.X.isGlobalHoldback=t,this.emitChange()},Mn:function(n){var t=n.ga4UserId;if(!t)throw new Error('Argument "payload.ga4UserId" is missing');this.X.ga4UserId=t,this.emitChange()},Cn:function(n){var t=i.pick(n.data,["holdback","accountId","projectId","snippetId","namespace","revision","listTargetingKeys","dcpServiceId","dcpKeyfieldLocators","recommenderServices","anonymizeIP","plugins","projectJS","experimental","ga4UserId"]);if(0!==i.keys(t).length){i.extend(this.X,{listTargetingKeys:[],dcpServiceId:null,dcpKeyfieldLocators:[]},t),this.emitChange()}},Pn:function(){this.X.domContentLoaded=!0,this.emitChange()}}},7584:function(n,t,e){var i=e(430),r=e(1664),o=e(3473);n.exports={initialize:function(){this.X={originalPushState:null,originalReplaceState:null},this.on(r.ENSURE_ORIGINAL_PUSHSTATE,this.Ln),this.on(r.ENSURE_ORIGINAL_REPLACESTATE,this.Vn)},getOriginalPushState:function(){return this.X.originalPushState},getOriginalReplaceState:function(){return this.X.originalReplaceState},Ln:function(){this.X.originalPushState||(this.X.originalPushState=i.bind(o.getGlobal("history").pushState,o.getGlobal("history")))},Vn:function(){this.X.originalReplaceState||(this.X.originalReplaceState=i.bind(o.getGlobal("history").replaceState,o.getGlobal("history")))}}},9193:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={},this.on(r.DATA_LOADED,this.vn),this.on(r.SET_INTEGRATION_SETTINGS,this.Fn)},vn:function(n){i.isEmpty(n.data.integrationSettings)||(i.each(n.data.integrationSettings,i.bind((function(n){this.X[n.id]=n}),this)),this.emitChange())},Fn:function(n){var t=this.X[n.id];t?i.extend(t,n):this.X[n.id]=n},getAll:function(){return i.cloneDeep(i.values(this.X))},get:function(n){return i.cloneDeep(this.X[n])},getReference:function(n){return this.X[n]}}},6066:function(n,t,e){var i=e(430),r=e(1664),o=e(3457),a="*";n.exports={initialize:function(){this.X={},this.on(r.LOAD_PERSISTED_LAYER_STATES,this.Un),this.on(r.RECORD_LAYER_DECISION,this.zn),this.on(r.RECORD_LAYER_DECISION_EVENT_ID,this.Gn)},getLayerState:function(n,t){if(this.X[n]){var e=this.X[n];if(i.keys(e).length>1&&!t)throw new Error("View Id must be specified when more than one layerState for layer.");return t?i.cloneDeep(i.find(e,{pageId:t})):i.cloneDeep(e["*"])}},getLayerStates:function(n){var t=[];for(var e in this.X)i.forEach(this.X[e],(function(e){(i.isUndefined(n)||e.namespace===n)&&t.push(i.cloneDeep(e))}));return t},getLayerStatesForAnalytics:function(){var n=[];for(var t in this.X)i.forEach(this.X[t],(function(t){n.push(i.pick(t,["layerId","decision","decisionEventId"]))}));return n},Un:function(n){n.merge||(this.X={}),i.each(n.layerStates,i.bind((function(n){var t=n.layerId;n.pageId||(n.pageId=n.viewId);var e=n.pageId||a,r=this.X[t];if(i.isUndefined(r))this.X[t]={},this.X[t][e]=n;else{var o=r[e];(!o||n.decisionTimestamp>(o.decisionTimestamp||0))&&(this.X[t][e]=n)}}),this)),this.emitChange()},zn:function(n){var t={layerId:n.layerId,revision:n.revision,namespace:n.namespace,pageId:n.pageId,decisionTicket:n.decisionTicket,decision:n.decision,decisionActivationId:n.activationId,decisionTimestamp:n.timestamp,decisionEventId:null},e=this.X[n.layerId]||{};n.pageId?(delete e["*"],e[n.pageId]=t):(e={})["*"]=t,this.X[n.layerId]=e,this.emitChange()},Gn:function(n){var t=n.layerId,e=n.pageId||a;this.X[t]?this.X[t][e]?(this.X[t][e].decisionEventId=n.decisionId,this.emitChange()):o.warn("Not recording decision event: Layer state not found for view",e):o.warn("Not recording decision event: Campaign not registered",t)}}},7681:function(n,t,e){var i=e(430),r=e(1664),o=e(22),a=e(5431);n.exports={initialize:function(){this.X={layers:{},experiments:{},variations:{}},this.on(r.DATA_LOADED,this.vn)},vn:function(n){if(!i.isEmpty(n.data.layers)){var t=this;i.each(n.data.layers,(function(n){i.each(n.experiments,(function(e){n.pageIds||(n.pageIds=n.viewIds),e.campaignName||a.isSingleExperimentPolicy(n.policy)?a.isSingleExperimentPolicy(n.policy):e.campaignName=n.name,i.each(e.variations,(function(n){i.each(n.actions,(function(n){n.pageId||(n.pageId=n.viewId)})),t.X.variations[n.id]=n})),t.X.experiments[e.id]=e})),o.deepFreeze(n),t.X.layers[n.id]=n})),this.emitChange()}},getAll:function(){return o.safeReference(i.values(this.X.layers))},getCampaignsMap:function(){return o.safeReference(this.X.layers)},getExperimentsMap:function(){return o.safeReference(this.X.experiments)},getVariationsMap:function(){return o.safeReference(this.X.variations)},getCount:function(){return i.keys(this.X.layers).length},getAllByPageIds:function(n){return o.safeReference(i.filter(this.X.layers,(function(t){return i.some(n,i.partial(i.includes,t.pageIds))})))},get:function(n){return o.safeReference(this.X.layers[n])},getLayerByExperimentId:function(n){var t=i.find(this.X.layers,(function(t){return i.find(t.experiments,{id:n})}));return o.safeReference(t)},getExperimentByVariationId:function(n){var t;return i.some(this.X.layers,(function(e){return i.some(e.experiments,(function(e){return i.find(e.variations,{id:n})&&(t=e),t})),t})),o.safeReference(t)}}},235:function(n,t,e){var i=e(1664);n.exports={initialize:function(){this.X={logs:[]},this.on(i.LOG,this.jn)},getLogs:function(){return this.X.logs},jn:function(n){this.X.logs.push(n),this.emitChange()},Z:function(){return this.X.logs.slice()}}},9901:function(n,t,e){var i=e(1664),r=e(22);n.exports={initialize:function(){this.X={data:null,hasTracked:null},this.on(i.LOAD_REDIRECT_DATA,this.Bn),this.on(i.REGISTER_TRACKED_REDIRECT_DATA,this.qn)},get:function(){return r.safeReference(this.X.data)},hasTracked:function(){return this.X.hasTracked},Bn:function(n){r.deepFreeze(n),this.X.data=n,this.X.hasTracked=!1,this.emitChange()},qn:function(){this.X.hasTracked=!0}}},46:function(n,t,e){var i=e(430),r=e(1664),o=e(716);n.exports={initialize:function(){this.X={},this.on(r.SET_PENDING_EVENT,this.Hn),this.on(r.REMOVE_PENDING_EVENT,this.Yn),this.on(r.LOAD_PENDING_EVENTS,this.Kn)},getEvents:function(){return this.X},getEventsString:function(){return o.stringify(this.X)},Hn:function(n){i.keys(this.X).length>=1e3&&this.$n();var t=n.id,e=n.retryCount;this.X[t]&&this.X[t].retryCount===e||(this.X[t]={id:t,timeStamp:n.timeStamp,data:n.data,retryCount:e},this.emitChange())},Yn:function(n){delete this.X[n.id],this.emitChange()},Kn:function(n){this.X=n.events,this.$n(),this.emitChange()},$n:function(){for(var n=i.sortBy(this.X,"timeStamp"),t=0;t<=n.length-1e3;t++)delete this.X[n[t].id];this.emitChange()}}},2381:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={layerId:null},this.on(r.ANNOUNCE_PENDING_REDIRECT,this.Bn)},isExpectingRedirect:function(){return i.isString(this.X.layerId)},getLayerId:function(){return this.X.layerId},Bn:function(n){this.isExpectingRedirect()||(this.X.layerId=n.layerId,this.emitChange())}}},2608:function(n,t,e){var i=e(430),r=e(1664),o=e(2821);n.exports={initialize:function(){this.X={},this.X[o.PerformanceData.performance_marks]={},this.on(r.SET_PERFORMANCE_MARKS_DATA,this.Wn)},Wn:function(n){i.isUndefined(this.X[o.PerformanceData.performance_marks][n.name])&&(this.X[o.PerformanceData.performance_marks][n.name]=[]),this.X[o.PerformanceData.performance_marks][n.name].push(n.data),this.emitChange()},getMarks:function(){return i.mapValues(this.X[o.PerformanceData.performance_marks],(function(n){return i.map(n,(function(n){return[n.startTime,n.duration]}))}))},getDurationsFor:function(n){return i.reduce(n,i.bind((function(n,t){var e=this.X[o.PerformanceData.performance_marks][t];return e&&(n[t]=Math.round(i.reduce(e,(function(n,t){return n+t.duration}),0))),n}),this),{})}}},4885:function(n,t,e){var i=e(430),r=e(1664),o=e(2821),a=e(3457);n.exports={initialize:function(){this.X=i.mapValues(o.PluginTypes,(function(){return{}})),this.on(r.REGISTER_PLUGIN,this.Xn)},Xn:function(n){var t=n.type,e=n.name,i=n.plugin;if(!t||!e)throw new Error("Missing information needed to register plugins: "+t+":"+e);if(!this.X[t])throw new Error("Invalid plugin type specified: "+t);this.X[t][e]=i,a.debug("Plugin Store: Registering Plugin :",n)},getAllPlugins:function(n){if(!n)return this.X;if(this.X[n])return this.X[n];throw new Error("Invalid plugin type: "+n)},getPlugin:function(n,t){if(!t||!n)throw new Error("Missing plugin parameters");return this.getAllPlugins(n)[t]||null}}},6922:function(n,t,e){var i=e(430),r=e(1664),o=e(6457);n.exports={initialize:function(){this.X={},this.on(r.SET_VISITOR_ATTRIBUTE_PENDING,this.Jn)},getPendingAttributeValue:function(n){return n=i.isArray(n)?n.concat("pending"):[n,"pending"],o.getFieldValue(this.X,n)},Jn:function(n){o.setFieldValue(this.X,n.key,{pending:n.pending}),this.emitChange()}}},6764:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={inRumSample:!1,id:null,src:null,RumHost:null,data:{extras:{}},apis:{},DOMObservation:{},featuresNeeded:{}},this.on(r.SET_RUM_DATA,this.Qn),this.on(r.RECORD_API_USAGE,this.Zn),this.on(r.INITIALIZE_CHANGE_METRICS,this.nt),this.on(r.RECORD_ACTIVATION_TYPE_USAGE,this.tt),this.on(r.RECORD_AUDIENCE_USAGE,this.et),this.on(r.RECORD_CHANGE_MACROTASK_RATE,this.it),this.on(r.RECORD_CHANGE_OVERHEATED,this.rt),this.on(r.RECORD_CHANGE_TYPE_USAGE,this.ot),this.on(r.RECORD_DOM_OBSERVATION_OCCURENCE,this.ut),this.on(r.RECORD_INTEGRATION_USAGE,this.ct),this.on(r.RECORD_LAYER_FEATURE_USAGE,this.st),this.on(r.RECORD_LAYER_POLICY_USAGE,this.ft),this.on(r.RECORD_VIEW_FEATURE_USAGE,this.dt),this.on(r.RECORD_VIEWS_INITIALLY_ACTIVATED_COUNT,this.vt),this.on(r.RECORD_VISITOR_ID_LOCATOR_USAGE,this.ht),this.on(r.RECORD_VISITOR_ID_ERROR,this._t),this.on(r.RECORD_STICKY_BUCKETING_FEATURE,this.wt)},Qn:function(n){i.merge(this.X,n),this.emitChange()},Zn:function(n){this.X.apis[n.methodName]||(this.X.apis[n.methodName]=0),this.X.apis[n.methodName]++,this.emitChange()},nt:function(){i.isUndefined(this.X.data.extras.changeMacrotaskRate)&&(this.X.data.extras.changeMacrotaskRate=0),i.isUndefined(this.X.data.extras.numOverheatedChanges)&&(this.X.data.extras.numOverheatedChanges=0)},it:function(n){i.isUndefined(this.X.data.extras.changeMacrotaskRate)&&(this.X.data.extras.changeMacrotaskRate=0),n.changeMacrotaskRate>this.X.data.extras.changeMacrotaskRate&&(this.X.data.extras.changeMacrotaskRate=n.changeMacrotaskRate),this.emitChange()},rt:function(){i.isUndefined(this.X.data.extras.numOverheatedChanges)&&(this.X.data.extras.numOverheatedChanges=0),this.X.data.extras.numOverheatedChanges++,this.emitChange()},ut:function(n){this.X.DOMObservation[n.counterName]||(this.X.DOMObservation[n.counterName]=0),this.X.DOMObservation[n.counterName]++,this.emitChange()},yt:function(n,t,e){i.isUndefined(this.X.featuresNeeded[n])&&(this.X.featuresNeeded[n]={});var r=this.X.featuresNeeded[n];i.each(t,(function(n){r[n]||(r[n]={}),r[n][e]||(r[n][e]=!0)}))},ct:function(n){this.yt("integrations",n.integrations,n.layerId)},ot:function(n){this.yt("changeTypes",n.changeTypes,n.layerId)},tt:function(n){this.yt("activationTypes",[n.activationType],n.entityId),this.emitChange()},dt:function(n){this.yt("viewFeatures",n.featuresUsed,n.entityId),this.emitChange()},st:function(n){this.yt("layerFeatures",[n.feature],n.entityId),this.emitChange()},ft:function(n){this.yt("policy",[n.policy],n.layerId),this.emitChange()},et:function(n){this.yt("audiences",n.audienceTypes,n.layerId),this.emitChange()},vt:function(n){this.X.data.extras.viewsInitiallyActivatedCount=n.viewsInitiallyActivatedCount,this.emitChange()},ht:function(n){this.yt("visitorIdLocatorType",[n.visitorIdLocatorType],n.entityId),this.emitChange()},_t:function(n){this.X.data.extras.errorCustomVisitorId=n.isError,this.emitChange()},wt:function(n){this.yt("stickyBucketing",[n.feature],n.id)},getSampleRum:function(){return this.X.inRumSample},getRumId:function(){return this.X.id},getRumHost:function(){return this.X.RumHost},getApiData:function(){return this.X.apis},getDOMObservationData:function(){return this.X.DOMObservation},getRumData:function(){return i.cloneDeep(this.X.data)},getScriptSrc:function(){return this.X.src},getFeaturesNeededData:function(){var n=this.X.featuresNeeded,t={};return i.forOwn(n,(function(n,e){var r=i.keys(n);i.isEmpty(r)||(t[e]={}),i.forEach(r,(function(r){t[e][r]=i.keys(n[r]).length}))})),t}}},1875:function(n,t,e){var i=e(1664);n.exports={initialize:function(){this.X={initialized:!1,natives:{}},this.on(i.SANDBOXED_FUNCTIONS_ADDED,this.bt)},bt:function(n){if(!n.sandboxedFunctions)throw new Error("No sandboxedFunctions found in payload");this.X.natives=n.sandboxedFunctions,this.X.initialized=!0,this.emitChange()},getAll:function(){return this.X.natives},get:function(n){if(!n)throw new Error("Missing name parameter");return this.X.natives[n]||null},isInitialized:function(){return this.X.initialized}}},3740:function(n,t,e){var i=e(430),r=e(1664),o=e(2146),a=e(2894);n.exports={initialize:function(){this.X={lastSessionTimestamp:0,sessionId:null},this.on(r.REFRESH_SESSION,this.Et),this.on(r.LOAD_SESSION_STATE,this.It)},getState:function(){return i.cloneDeep(this.X)},getSessionId:function(){return this.X.sessionId},It:function(n){this.X.sessionId=n.sessionId,this.X.lastSessionTimestamp=n.lastSessionTimestamp,this.emitChange()},Et:function(){var n=o.now(),t=this.X.lastSessionTimestamp;(!this.X.sessionId||n-t>18e5)&&(this.X.sessionId=a.generate()),this.X.lastSessionTimestamp=n,this.emitChange()}}},6334:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.At(),this.on(r.FINALIZE_BATCH_SNAPSHOT,this.Tt),this.on(r.REGISTER_PREVIOUS_BATCH,this.St),this.on(r.REGISTER_TRACKER_VISITOR,this.Rt),this.on(r.REGISTER_TRACKER_EVENT,this.kt),this.on(r.REGISTER_TRACKER_DECISION,this.Nt),this.on(r.RESET_TRACKER_EVENTS,this.Dt),this.on(r.RESET_TRACKER_STORE,this.At),this.on(r.RESET_TRACKER_PREVIOUS_BATCHES,this.Ct),this.on(r.SET_TRACKER_POLLING,this.Ot),this.on(r.SET_TRACKER_BATCHING,this.xt),this.on(r.SET_TRACKER_SEND_EVENTS,this.Pt),this.on(r.SET_TRACKER_PERSISTABLE_STATE,this.Mt),this.on(r.SET_TRACKER_DIRTY,this.Lt),this.on(r.UPDATE_TRACKER_VISITOR_ATTRIBUTES,this.Vt)},getPersistableState:function(){return this.X.isDirty?this.hasEventsToSend()||this.hasPreviousBatchesToSend()?{data:this.X.data,decisions:this.X.decisions,decisionEvents:this.X.decisionEvents,previousBatches:this.X.previousBatches}:{}:null},Mt:function(n){i.isEmpty(this.X.data)||i.isEmpty(n.data)||(this.Tt(),this.X.previousBatches.push(this.getEventBatch())),this.X.data=n.data||{},this.X.decisions=n.decisions||[],this.X.decisionEvents=n.decisionEvents||[],i.isEmpty(this.X.previousBatches)||i.isEmpty(n.previousBatches)?this.X.previousBatches=n.previousBatches||[]:this.X.previousBatches=this.X.previousBatches.concat(n.previousBatches),this.emitChange()},Lt:function(n){this.X.isDirty=n,this.emitChange()},kt:function(n){var t=this.Ft();(i.isEmpty(t.snapshots)||!i.isEmpty(this.X.decisionEvents))&&this.Ut(),this.zt().events.push(n.event),this.X.decisions=n.decisions,this.Lt(!0)},Nt:function(n){this.X.decisionEvents.push(n.decisionEvent),this.X.decisions=n.decisions,this.Lt(!0)},Rt:function(n){i.isEmpty(this.X.data)?this.X.data=n.data:this.Tt(),this.X.data.visitors.push(n.visitor),this.X.decisions=n.decisions,this.X.decisionEvents=[],this.Lt(!0)},St:function(n){this.X.previousBatches.push(n),this.Lt(!0)},At:function(){this.X={polling:!1,shouldBatch:!0,data:{},decisions:[],decisionEvents:[],canSend:!1,isDirty:!1,previousBatches:[]},this.emitChange()},Dt:function(){var n=this.Ft();this.X.data.visitors=[n],n.snapshots=[],this.Lt(!0)},Ct:function(){this.X.previousBatches=[],this.Lt(!0)},Ot:function(n){this.X.polling=n,this.emitChange()},xt:function(n){this.X.shouldBatch=n,this.emitChange()},Pt:function(n){this.X.canSend=n,this.emitChange()},getEventBatch:function(){return i.cloneDeep(this.X.data)},getPreviousBatches:function(){return i.cloneDeep(this.X.previousBatches)},Gt:function(){return this.X.decisionEvents.slice()},jt:function(){this.X.decisionEvents=[]},Bt:function(){return this.X.decisions.slice()},isPolling:function(){return this.X.polling},shouldBatch:function(){return this.X.shouldBatch},zt:function(){return i.last(this.Ft().snapshots)},Ft:function(){return i.last(this.X.data.visitors)},Ut:function(){var n=this.Gt();this.Ft().snapshots.push({decisions:this.Bt(),events:n}),this.jt(),this.Lt(!0)},Tt:function(){this.X.decisionEvents.length>0&&this.Ut()},hasEventsToSend:function(){if(!i.isEmpty(this.X.decisionEvents))return!0;if(!i.isEmpty(this.X.data)&&i.some(this.X.data.visitors||[],(function(n){return n.snapshots.length>0})))return!0;return!1},hasPreviousBatchesToSend:function(){return!i.isEmpty(this.X.previousBatches)},canSend:function(){return this.X.canSend},Vt:function(n){var t=this.Ft();t&&(t.attributes=n.attributes)}}},8991:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={},this.on(r.SET_UA_DATA,this.vn)},vn:function(n){i.isEmpty(this.X)&&(this.X=n.data)},get:function(){return i.cloneDeep(this.X)}}},746:function(n,t,e){var i=e(430),r=e(1664),o=e(3457),a={globalTags:{},viewStates:{},shouldBatch:!1};n.exports={initialize:function(){this.X=i.cloneDeep(a),this.on(r.REGISTER_VIEWS,this.qt),this.on(r.SET_VIEW_ACTIVE_STATE,this.Ht),this.on(r.UPDATE_PARSED_VIEW_METADATA,this.Yt),this.on(r.UPDATE_USER_SUPPLIED_METADATA,this.Kt),this.on(r.TRACK_VIEW_ACTIVATED_EVENT,this.$t),this.on(r.SET_GLOBAL_TAGS,this.Wt),this.on(r.RESET_VIEW_STATES,this.Xt),this.on(r.SET_VIEW_BATCHING,this.xt)},getAll:function(){var n={};for(var t in this.X.viewStates)n[t]=this.getViewState(t);return n},getActiveViewIds:function(){return i.reduce(this.X.viewStates,i.bind((function(n,t,e){return this.isViewActive(e)&&n.push(e),n}),this),[])},shouldBatch:function(){return this.X.shouldBatch},getViewState:function(n){var t=i.cloneDeep(this.X.viewStates[n]),e=this.X.globalTags;return t.metadata=i.extend({},t.parsedMetadata,e,t.userSuppliedMetadata),t},getActiveViewTags:function(){var n=this.getActiveViewStates(),t=i.map(n,(function(n){return n.metadata})),e=[{}].concat(t);return i.extend.apply(i,e)},getActivationEventId:function(n){return this.X.viewStates[n]?this.X.viewStates[n].activationEventId:null},getActiveViewStates:function(){return i.reduce(this.X.viewStates,i.bind((function(n,t,e){return this.isViewActive(e)&&n.push(this.getViewState(e)),n}),this),[])},isViewActive:function(n){var t=this.X.viewStates[n];return t||o.warn("No Page registered with id",n),!!t.isActive},getPageIdsOfActiveViews:function(){return i.map(this.getActiveViewStates(),(function(n){return n.id}))},getGlobalTags:function(){return i.cloneDeep(this.X.globalTags)},Xt:function(){this.X.viewStates={},this.emitChange()},qt:function(n){i.each(n.views,i.bind((function(n){var t=n.id;this.X.viewStates[t]={id:t,isActive:i.isBoolean(n.isActive)?n.isActive:null,activatedTimestamp:null,activationEventId:null,parsedMetadata:{},userSuppliedMetadata:{}}}),this)),this.emitChange()},Ht:function(n){var t=n.view.id;if(!this.X.viewStates[t])throw new Error("No view exists with id "+t);this.X.viewStates[t].isActive=n.isActive,n.isActive?this.X.viewStates[t].activatedTimestamp=n.timestamp:(this.X.viewStates[t].parsedMetadata={},this.X.viewStates[t].userSuppliedMetadata={}),this.emitChange()},Yt:function(n){var t=n.pageId;if(!this.X.viewStates[t])throw new Error("No view exists with id "+t);i.assign(this.X.viewStates[t].parsedMetadata,n.metadata),this.emitChange()},Kt:function(n){var t=n.pageId;if(!this.X.viewStates[t])throw new Error("No view exists with id "+t);i.assign(this.X.viewStates[t].userSuppliedMetadata,n.metadata),this.emitChange()},$t:function(n){var t=n.pageId;this.X.viewStates[t]&&(this.X.viewStates[t].activationEventId=n.eventData.eventId,this.emitChange())},Wt:function(n){i.extend(this.X.globalTags,n),this.emitChange()},xt:function(n){this.X.shouldBatch=n,this.emitChange()}}},4898:function(n,t,e){var i=e(430),r=e(1664),o=e(22);n.exports={initialize:function(){this.X={views:{},apiNamesToViews:{}},this.on(r.DATA_LOADED,this.vn)},getAll:function(){return o.safeReference(i.values(this.X.views))},getPagesMap:function(){return o.safeReference(this.X.views)},get:function(n){return o.safeReference(this.X.views[n])},getByApiName:function(n){return o.safeReference(this.X.apiNamesToViews[n])},apiNameToId:function(n){var t=this.X.apiNamesToViews[n];if(t)return t.id},idToApiName:function(n){var t=this.X.views[n];if(t)return t.apiName},getNumberOfPages:function(){return i.keys(this.X.views).length},getAllViewsForActivationType:function(n){return i.filter(this.X.views,{activationType:n})},vn:function(n){i.isEmpty(n.data.views)||(i.each(n.data.views,i.bind((function(n){o.deepFreeze(n),this.X.views[n.id]=n,this.X.apiNamesToViews[n.apiName]=n}),this)),this.emitChange())}}},4441:function(n,t,e){var i=e(430),r=e(1664),o=e(6457);n.exports={initialize:function(){this.X={profile:{},metadata:{},visitorId:null},this.on(r.SET_VISITOR_ID_VIA_API,this.Jt),this.on(r.SET_VISITOR_ATTRIBUTES,this.Qt),this.on(r.LOAD_EXISTING_VISITOR_PROFILE,this.Zt)},getVisitorProfile:function(){return this.X.profile},getVisitorProfileMetadata:function(){return this.X.metadata},getAttribute:function(n){var t=this.X.profile;return i.cloneDeep(o.getFieldValue(t,n))},getAttributeMetadata:function(n){return i.cloneDeep(this.X.metadata[n])},getVisitorIdFromAPI:function(){return this.X.visitorId},Zt:function(n){this.X.profile=n.profile,this.X.metadata=n.metadata,this.emitChange()},Qt:function(n){i.each(n.attributes,i.bind((function(n){var t=n.key;o.setFieldValue(this.X.profile,t,n.value),n.metadata&&i.forOwn(n.metadata,i.bind((function(n,e){o.setFieldValue(this.X.metadata,t.concat(e),n)}),this))}),this)),this.emitChange()},Jt:function(n){this.X.visitorId=n,this.emitChange()}}},9335:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={},this.on(r.DATA_LOADED,this.ne)},getCustomBehavioralAttributes:function(){return i.filter(this.X,(function(n){return!!n.rule_json}))},getVisitorAttribute:function(n){var t=i.values(this.X);if(n.datasourceId&&(t=i.filter(t,{dcp_datasource_id:String(n.datasourceId)})),n.attributeName&&n.attributeId)throw new Error("Must not specify both attribute name and attribute ID");if(n.attributeId){var e=this.X[n.attributeId];if(!e)throw new Error("Unrecognized attribute ID: "+n.attributeId);return e}if(n.attributeName){var r=i.filter(t,{name:n.attributeName});if(!r.length)throw new Error("Unrecognized attribute name: "+n.attributeName);if(r.length>1)throw new Error("Too many attributes with name: "+n.attributeName);return r[0]}throw new Error("Must specify attribute name or attribute ID")},ne:function(n){i.isEmpty(n.data.visitorAttributes)||(i.each(n.data.visitorAttributes,i.bind((function(n){this.X[n.id]=n}),this)),this.emitChange())}}},9307:function(n,t,e){var i=e(430),r=e(1664),o=e(716);n.exports={initialize:function(){this.X={variationIdMap:{},preferredLayerMap:{}},this.on(r.UPDATE_VARIATION_ID_MAP,this.te),this.on(r.MERGE_VARIATION_ID_MAP,this.ee),this.on(r.UPDATE_PREFERRED_LAYER_MAP,this.re),this.on(r.MERGE_PREFERRED_LAYER_MAP,this.oe)},getVariationIdMap:function(){return i.cloneDeep(this.X.variationIdMap)},getVariationIdMapString:function(){return o.stringify(this.X.variationIdMap)},te:function(n){var t=this.X.variationIdMap[n.layerId]||{};t[n.experimentId]!==n.variationId&&(t[n.experimentId]=n.variationId,this.X.variationIdMap[n.layerId]=t,this.emitChange())},ee:function(n){var t=this.getVariationIdMap(),e=n.variationIdMap;i.each(t||{},(function(n,t){e[t]?i.assign(e[t],n):e[t]=n})),this.X.variationIdMap=e,this.emitChange()},getPreferredLayerMap:function(){return i.cloneDeep(this.X.preferredLayerMap)},getPreferredLayerMapString:function(){return o.stringify(this.X.preferredLayerMap)},getPreferredLayerId:function(n){return this.X.preferredLayerMap[n]},re:function(n){this.X.preferredLayerMap[n.groupId]!==n.layerId&&(this.X.preferredLayerMap[n.groupId]=n.layerId,this.emitChange())},oe:function(n){var t=this.getPreferredLayerMap(),e=n.preferredLayerMap;i.assign(e,t),this.X.preferredLayerMap=e,this.emitChange()}}},3617:function(n,t,e){e(430);var i=e(1664);e(1836).j;n.exports={initialize:function(){this.X={events:[],foreignEvents:{},foreignEventQueues:{}},this.on(i.SET_VISITOR_EVENTS,this.vn),this.on(i.SET_FOREIGN_VISITOR_EVENTS,this.ae),this.on(i.SET_FOREIGN_VISITOR_EVENT_QUEUE,this.ue)},getEvents:function(){return this.X.events},getForeignEvents:function(){return this.X.foreignEvents},getForeignEventQueues:function(){return this.X.foreignEventQueues},vn:function(n){this.X.events=n,this.emitChange()},ae:function(n){this.X.foreignEvents[n.key]=n.value},ue:function(n){this.X.foreignEventQueues[n.key]=n.value}}},9992:function(n,t,e){var i=e(1664);n.exports={initialize:function(){this.X={baseMap:{},eventQueue:[],lastEvent:null,initialized:!1,cleared:!1},this.on(i.UPDATE_BEHAVIOR_STORE,this.ce)},getBaseMap:function(){return this.X.baseMap},getEventQueue:function(){return this.X.eventQueue},getLastEvent:function(){return this.X.lastEvent},getCleared:function(){return this.X.cleared},getInitialized:function(){return this.X.initialized},ce:function(n){this.X[n.key]=n.value}}},4322:function(n,t,e){var i=e(430),r=e(1664);n.exports={initialize:function(){this.X={randomId:null,visitorIdLocator:null},this.on(r.SET_VISITOR_ID,this.vn),this.on(r.DATA_LOADED,this.se)},getBucketingId:function(){return this.getRandomId()},getRandomId:function(){return this.X.randomId},getVisitorIdLocator:function(){return this.X.visitorIdLocator},vn:function(n){i.extend(this.X,n),this.emitChange()},se:function(n){i.isEmpty(n.data.visitorIdLocator)||(this.X.visitorIdLocator=n.data.visitorIdLocator,this.emitChange())}}},5866:function(n,t,e){var i=e(430),r=e(3457),o=e(1664);n.exports={initialize:function(){this.X={frames:[],defaultFrame:null,messages:[],subscribers:[],canonicalOrigins:null,disabled:!1},this.on(o.XDOMAIN_SET_DEFAULT_FRAME,this.fe),this.on(o.XDOMAIN_ADD_FRAME,this.le),this.on(o.XDOMAIN_SET_MESSAGE,this.de),this.on(o.XDOMAIN_ADD_SUBSCRIBER,this.ve),this.on(o.XDOMAIN_SET_CANONICAL_ORIGINS,this.he),this.on(o.XDOMAIN_SET_DISABLED,this.pe)},getMessages:function(){return i.cloneDeep(this.X.messages)},getOffset:function(){return 0===this.X.messages.length?0:this.X.messages[0].data.id},getNextMessageId:function(){return this.X.messages.length+this.getOffset()},getMessageById:function(n){return this.X.messages[n-this.getOffset()]},getSubscribers:function(){return this.X.subscribers},getFrames:function(){return this.X.frames},getNextFrameId:function(){return this.X.frames.length},getDefaultFrame:function(){return this.X.defaultFrame},getCanonicalOrigins:function(){return i.cloneDeep(this.X.canonicalOrigins)},isDisabled:function(){return this.X.disabled},fe:function(n){this.X.defaultFrame=n},le:function(n){this.X.frames.push(n)},de:function(n){for(this.X.messages[n.messageId-this.getOffset()]=n.message;this.X.messages.length>1e3;){var t=this.X.messages.shift();r.debug("XDomainStorage: Cleared old message: "+t.data.id)}},ve:function(n){this.X.subscribers.push(n.subscriber)},he:function(n){this.X.canonicalOrigins=n.canonicalOrigins},pe:function(n){this.X.disabled=n.disabled}}},3916:function(n,t){t.locatorType={CSS_SELECTOR:"css_selector",JAVASCRIPT:"javascript",URL_REGEX:"url_regex"},t.valueType={STRING:"string",NUMBER:"number",CURRENCY:"currency"},t.nodeNames={INPUT:"INPUT",SELECT:"SELECT"}},5466:function(n,t,e){var i=e(1364).U;t.Error=i("TagError")},1925:function(n,t,e){var i=e(2821).PluginTypes,r=e(4748).get("stores/plugins");t.getTagValue=function(n){var e=r.getPlugin(i.viewTagLocators,n.locatorType);if(!e)throw new t.Error("No locator registered for tag locatorType: "+n.locatorType);return e(n)},t.enums=e(3916),t.Error=e(5466).Error},1164:function(n,t,e){var i=e(1664),r=e(4407),o=e(7322).Promise,a=e(4748).get("stores/async_request");t.makeAsyncRequest=function(n,t){var e,u,c=a.getPromise(n);if(c)return c;var s=new o((function(n,t){e=n,u=t}));return r.dispatch(i.REGISTER_ASYNC_DEFERRED,{source:n,promise:s,resolver:e,rejecter:u}),t&&t(),s},t.resolveRequest=function(n,t){r.dispatch(i.RESOLVE_DEFERRED,{source:n,resolveWith:t})},t.rejectRequest=function(n,t){r.dispatch(i.REJECT_DEFERRED,{source:n,rejectWith:t})}},4221:function(n,t,e){var i=e(8830),r=e(3473);t.getLanguage=function(){return r.getNavigatorLanguage()},t.getQueryParams=i.getQueryParams,t.getQueryParamValue=i.getQueryParamValue,t.getUrl=function(){return r.getHref()}},6113:function(n,t,e){var i=e(430),r=e(1364).U,o=e(2146),a=e(6051),u=e(3473),c=e(1664),s=e(4748),f=e(4407),l=s.get("stores/cookie_options"),d=t.SetError=r("CookieSetError"),v=t.MismatchError=r("CookieMismatchError");t.getAll=function(n){var e,r,o,u,c;i.isUndefined(n)&&(n=!0),e=a.getCookieString().split(/\s*;\s*/);var s={};for(o=0;o<e.length;o++)if((u=(r=e[o]).indexOf("="))>0&&void 0===s[c=t.safeDecodeURIComponent(r.substring(0,u))]){var f=r.substring(u+1);n&&(f=t.safeDecodeURIComponent(f)),s[c]=f}return s},t.safeDecodeURIComponent=function(n){try{return decodeURIComponent(n)}catch(t){return n}},t.get=function(n,e){return t.getAll(e)[n]},t.set=function(n,e,r,s){r=i.extend({encodeValue:!0},r),!1!==s&&(s=!0);var g=[];if(i.isUndefined(r.domain)){var m=l.getCurrentDomain();m||(m=function(n,e){!1!==e&&(e=!0);for(var r,o,a=n.hostname.split("."),u=[],s=null,l=a.length-1;l>=0;l--)if(u.unshift(a[l]),r=u.join("."),!i.includes(h,r)){o={domain:e?"."+r:r};try{t.set(p,Math.random().toString(),o),t.remove(p,o),s=o.domain;break}catch(d){}}return f.dispatch(c.SET_COOKIE_DOMAIN,s),s}(u.getLocation(),!0)),r.domain=m}if(r.domain&&g.push("domain="+r.domain),i.isUndefined(r.path)&&(r.path="/"),r.path&&g.push("path="+r.path),i.isUndefined(r.expires)){var _=i.isUndefined(r.maxAge)?l.getDefaultAgeInSeconds():r.maxAge;r.expires=new Date(o.now()+1e3*_)}if(i.isUndefined(r.expires)||g.push("expires="+r.expires.toUTCString()),r.secure&&g.push("secure"),a.setCookie(n+"="+(r.encodeValue?encodeURIComponent(e):e)+";"+g.join(";")),s){var w=r.encodeValue,y=t.get(n,w);if(y!==e){if(!y)throw new d('Failed to set cookie "'+n+'"');throw new v('Expected "'+e+'" for "'+n+'", got "'+y+'"')}}},t.remove=function(n,e){for(var r=u.getLocation().hostname.split(".");r.length>0;)t.set(n,null,i.extend({},e,{domain:"."+r.join("."),expires:new Date(0)}),!1),r.shift()};var h=["optimizely.test"],p="optimizelyDomainTestCookie"},1364:function(n,t,e){var i=e(9981),r=i("InternalError");t.G=r,t.U=function(n){return i(n,r)}},408:function(n,t,e){var i=e(430),r=e(7322).Promise;n.exports=function(){var n,t,e=new r((function(e,i){n=e,t=i}));return e.resolve=function(){return n.apply(null,i.toArray(arguments)),e},e.reject=function(){return t.apply(null,i.toArray(arguments)),e},e}},22:function(n,t,e){var i=e(430);t.deepFreeze=function(n){},t.safeReference=function(n){return i.cloneDeep(n)}},6457:function(n,t,e){var i=e(430);t.getFieldValue=function(n,t){i.isArray(t)||(t=[t]);for(var e=n,r=0;r<t.length;r++){var o=t[r];if(!i.isObject(e)||!e.hasOwnProperty(o))return;e=e[o]}return e},t.setFieldValue=function(n,t,e){if(!i.isArray(t)||i.isEmpty(t))throw new Error("Attempted to set an invalid key path: "+t);for(var r=n,o=0;o<t.length-1;o++){var a=t[o];i.isObject(r[a])||(r[a]={}),r=r[a]}r[t[t.length-1]]=e}},3457:function(n,t,e){var i=e(430),r=e(1664),o=e(2146),a=e(2821),u=e(4407),c=e(716);function s(){this.logLevel=null,this.logMatch=null,this.logs=[],this.timebase=o.now()}s.prototype.ge=function(){return!i.isNull(this.logLevel)},s.prototype.setLogLevel=function(n){var t=this.me(n);null===t?console.error("Unknown log level: "+n):this.logLevel!==t&&(this.log("Setting log level to "+t),this.logLevel=t,this.flush())},s.prototype.setLogMatcher=function(n){i.isString(n)?this.logMatcher=n:this.logMatcher="",this.logGroup=0},s.prototype.shouldLog=function(n){return this.ge()&&this.logLevel>=n},s.prototype.matchesLogMessage=function(n,t){var e=this.logMatcher;if(!this.logMatcher)return!0;if(this.logGroup)return"GROUPSTART"===n?this.logGroup++:"GROUPEND"===n&&this.logGroup--,!0;var r=i.some(t,(function(n){if(!i.isString(n))try{n=c.stringify(n)}catch(t){}return i.isString(n)&&i.includes(n,e)}));return r&&"GROUPSTART"===n&&this.logGroup++,r},s.prototype.storeLog=function(n,t){var e={logLevel:n,logMessage:t};u.dispatch(r.LOG,e)},s.prototype.flush=function(){var n=e(4748).get("stores/log");this.logGroup=0;var t=n.getLogs();i.each(t,i.bind((function(n){this._e(n.logLevel,n.logMessage,!0)}),this))},s.prototype._e=function(n,t,e){var r,o=n;if(console)switch(n){case"GROUPSTART":r=console.groupCollapsed,o=a.LogLevel.DEBUG;break;case"GROUPEND":r=console.groupEnd,o=a.LogLevel.DEBUG;break;case a.LogLevel.ERROR:r=console.error;break;case a.LogLevel.WARN:r=console.warn;break;case a.LogLevel.DEBUG:r=console.debug;break;default:r=console.log}try{e||this.ge()&&!this.shouldLog(o)||(i.isArray(t)&&i.isString(t[0])&&(t=this.we(t)),this.storeLog(n,t)),r&&this.shouldLog(o)&&this.matchesLogMessage(n,t)&&r.apply(console,t)}catch(u){console&&(console.error?console.error(u):console.log(u))}},s.prototype.debug=function(){this._e(a.LogLevel.DEBUG,[].slice.call(arguments))},s.prototype.log=function(){this._e(a.LogLevel.INFO,[].slice.call(arguments))},s.prototype.logAlways=function(){var n=this.we([].slice.call(arguments));console&&console.log&&console.log.apply&&console.log.apply(console,n),this.storeLog(a.LogLevel.INFO,n)},s.prototype.warn=function(){this._e(a.LogLevel.WARN,[].slice.call(arguments))},s.prototype.error=function(n){var t=[].slice.call(arguments);1===t.length&&n.stack?(this._e(a.LogLevel.ERROR,[this.ye(),n]),this._e(a.LogLevel.INFO,[n.stack])):this._e(a.LogLevel.ERROR,t)},s.prototype.groupCollapsed=function(){this._e("GROUPSTART",[].slice.call(arguments))},s.prototype.groupEnd=function(){this._e("GROUPEND",[].slice.call(arguments))},s.prototype.we=function(n){var t=this.ye().toString();return t.length<6&&(t=(" "+t).slice(-6)),[t+"| Optly / "+n[0]].concat(n.slice(1))},s.prototype.ye=function(){return this.timebase?o.now()-this.timebase:0},s.prototype.me=function(n){return n&&("TRUE"===(n=n.toUpperCase())&&(n="INFO"),"FALSE"===n&&(n="OFF"),"ALL"===n&&(n="DEBUG"),!i.isUndefined(a.LogLevel[n]))?a.LogLevel[n]:null},n.exports=new s},4694:function(n,t,e){var i;i=e(5410),n.exports=i},5431:function(n,t){t.isSingleExperimentPolicy=function(n){return"single_experiment"===n||"multivariate"===n}},6216:function(n,t,e){var i=e(430),r=e(7322).Promise,o=e(3473);t.pollFor=function(n,t,e){var a,u;return i.isFunction(e)?u=e:(a=e||100,u=function(){return--a<-1}),t=t||50,new r((function(e,i){!function r(){var a;if(!u()){try{var c=n();if(c)return e(c)}catch(s){a=s}return o.setTimeout(r,t)}i(a||new Error("Poll timed out"))}()}))}},392:function(n,t,e){var i=e(430),r=e(7322).Promise;t.firstToResolve=function(n){return new r((function(t){i.each(n,(function(n){r.resolve(n).then(t,(function(){}))}))}))}},8830:function(n,t,e){var i=e(430),r=e(3473);t.getQueryParams=function(){var n=r.getLocationSearch()||"";if(0===n.indexOf("?")&&(n=n.substring(1)),0===n.length)return[];for(var t=n.split("&"),e=[],i=0;i<t.length;i++){var o="",a="",u=t[i].split("=");u.length>0&&(o=u[0]),u.length>1&&(a=u[1]),e.push([o,a])}return e},t.getQueryParamValue=function(n){for(var e=t.getQueryParams(),i=0;i<e.length;i++)if(e[i][0]===n)return e[i][1]},t.queryStringFromMap=function(n){return i.map(n,(function(n,t){return t+"="+n})).join("&")}},7138:function(n,t,e){var i=e(430),r=e(3457),o=e(3473);function a(n){this.windowLength=n,this.count=0,this.listeners={},this.isIncrementingTick=!1}a.prototype.countCurrentTick=function(){this.isIncrementingTick||(this.isIncrementingTick=!0,this.increment(),o.setTimeout(i.bind((function(){this.isIncrementingTick=!1}),this),0))},a.prototype.increment=function(){this.count+=1,i.forEach(this.listeners[String(this.count)],(function(n){n()})),o.setTimeout(i.bind(this.decrement,this),this.windowLength)},a.prototype.decrement=function(){this.count-=1,this.count<0&&(r.warn("Decremented down to negative count: ",this.count),this.count=0)},a.prototype.addListener=function(n,t){this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push(t)},n.exports=a},8424:function(n,t,e){var i=e(430),r=e(4748).get("stores/observed_redirect");t.getReferrer=function(){var n=r.get();return n?n.referrer:null},t.getExperimentAndVariation=function(){var n=r.get();return n&&i.isString(n.variationId)?i.pick(n,["experimentId","variationId"]):null}},4651:function(n,t,e){var i=e(430),r=e(1664),o=e(2146),a=e(4748),u=e(6051),c=e(2821),s=e(4407),f=e(3457),l=a.get("stores/sandbox"),d=e(3473);t.shouldSandbox=function(){return!1},t.get=function(n){if(!n)throw new Error("Name is required");if(t.shouldSandbox()){l.isInitialized()||v();var e=l.get(n);if(e)return e}return d.getGlobal(n)};var v=function(){try{var n="optimizely_"+o.now(),t=u.createElement("iframe");t.name=n,t.style.display="none",u.appendToHead(t);var e=t.contentWindow,a=t.contentDocument;a.write("<scr"),a.write("ipt></scr"),a.write("ipt>"),a.close();var l=i.mapValues(c.SandboxedFunctions,(function(n){return e[n]}));s.dispatch(r.SANDBOXED_FUNCTIONS_ADDED,{sandboxedFunctions:l}),t.parentNode.removeChild(t)}catch(d){f.warn("Unable to create a sandbox: ",d)}}},2538:function(n,t,e){var i=e(6051),r=e(3457),o=e(667);t.addScriptAsync=function(n,t){var e=i.querySelector("head"),o=i.createElement("script");o.type="text/javascript",o.async=!0,o.src=n,t&&(o.onload=t),e.insertBefore(o,e.firstChild),r.debug("Asynchronously requesting "+n)},t.addScriptSync=function(n,e){try{var a="optimizely_synchronous_script_"+Math.floor(1e5*Math.random());if(-1!==n.indexOf('"'))return void r.error("Blocked attempt to load unsafe script: "+n);i.write("<scr"),i.write('ipt id="'+a+'" src="'+n+'"></scr'),i.write("ipt>");var u=i.querySelector("#"+a);if(!u)throw new Error("DocumentEnv.write failed to append script");u.onload=e,u.onerror=function(i){r.warn("Failed to load script ("+n+") synchronously:",i),t.addScriptAsync(n,e)}}catch(c){r.debug("DocumentEnv.write failed for "+n+": "+c.message);return o.request({url:n,async:!1,contentType:"text/plain",success:function(n){new Function(n.responseText)(),e&&e()}})["catch"]((function(i){r.error("Failed to load "+n+" via synchronous XHR: "+i.message),t.addScriptAsync(n,e)}))}}},2469:function(n,t,e){var i=e(7322).Promise,r=e(3473);t.makeTimeoutPromise=function(n){return new i((function(t,e){r.setTimeout((function(){e(new Error("Timed out after "+n+" ms"))}),n)}))}},9747:function(n,t,e){var i=e(430),r=e(3637),o=e(3473),a=e(1664),u=e(4748),c=e(4407),s=u.get("stores/ua_data");t.get=function(){var n=s.get();return i.isEmpty(n)&&(n=r.parseUA(o.getUserAgent()),c.dispatch(a.SET_UA_DATA,{data:n})),n}},3713:function(n,t){t.guessDomain=function(n,t){if(!n)return"";try{return t?n.match(/:\/\/(.[^/]+)/)[1]:n.match(/:\/\/(?:www[0-9]?\.)?(.[^/:]+)/)[1]}catch(e){return""}}},9111:function(n,t,e){var i=e(430),r=e(7322).Promise,o=e(1664),a=e(4748),u=e(4407),c=e(6397),s=e(1364).U,f=e(2146),l=e(6051),d=e(716),v=e(6216),h=e(9867),p=e(3473),g=e(3457),m=a.get("stores/xdomain"),_=t.Error=s("XDomainStorageError");function w(n){var t;if(i.find(m.getFrames(),{origin:n.origin})){try{t=d.parse(n.data)}catch(a){return void g.debug("XDomain","Ignoring malformed message event:",n)}if("ERROR"===t.type)u.dispatch(o.XDOMAIN_SET_DISABLED,{disabled:!0}),c.emitInternalError(new _("Xdomain Error: "+t.response));else if("SYNC"===t.type)i.each(m.getSubscribers(),(function(n){n(t.response.key,t.response.value)}));else{var e=m.getMessageById(t.id);if(!e){if(g.warn("XDomain","No stored message found for ID",t.id),i.isNumber(t.id)){var r=m.getNextMessageId();t.id>=r?c.emitInternalError(new _("Message ID is greater than expected maximum ID ("+t.id+">"+r+")")):t.id<0?c.emitInternalError(new _("Message ID is < 0: "+t.id)):c.emitInternalError(new _("No stored message found for message ID: "+t.id))}else c.emitInternalError(new _("Message ID is not a number: "+t.id));return}if(!e.resolver)return void g.warn("XDomain","Message already resolved, ignoring:",t.id);e.resolver(t.response),u.dispatch(o.XDOMAIN_SET_MESSAGE,{messageId:t.id,message:{data:{id:t.id,type:e.data.type,key:e.data.key},startTime:e.startTime,endTime:f.now()}})}}else g.debug("XDomain","No frame found for origin: "+n.origin)}function y(n,t){return t||(t=m.getDefaultFrame()),new r((function(e){var r={data:i.extend({},n,{id:m.getNextMessageId()}),resolver:e};t?m.isDisabled()||b(r,t):u.dispatch(o.XDOMAIN_SET_MESSAGE,{messageId:r.data.id,message:r})}))}function b(n,t){var e=n.data;u.dispatch(o.XDOMAIN_SET_MESSAGE,{messageId:n.data.id,message:i.extend({},n,{startTime:f.now()})}),t.target.postMessage(d.stringify(e),t.origin)}t.setItem=function(n,t,e){return y({type:"PUT",key:n,value:t},e)},t.getItem=function(n,t){return y({type:"GET",key:n},t)},t.fetchAll=function(n){return y({type:"GETALL"},n)},t.deleteData=function(n,t){return y({type:"DELETE",visitorId:n},t)},t.subscribe=function(n){u.dispatch(o.XDOMAIN_ADD_SUBSCRIBER,{subscriber:n})},t.loadIframe=function(n,t){return new r((function(e){var i=l.createElement("iframe");i.src=n+t,i.hidden=!0,i.setAttribute("tabindex","-1"),i.setAttribute("title","Optimizely Internal Frame"),i.style.display="none",i.height=0,i.width=0,i.onload=function(){var r={id:m.getNextFrameId(),target:i.contentWindow,origin:n,path:t};u.dispatch(o.XDOMAIN_ADD_FRAME,r),e(r)},l.appendTo(l.querySelector("body"),i)}))},t.getXDomainUserId=function(n,t){var e,r={},o=i.keys(n);return i.each(t,(function(n){r[n]=[],i.each(o,(function(t){var o=h.getUserIdFromKey(t,n);!e&&o&&(e=o),o&&!i.includes(r[n],o)&&r[n].push(o)}))})),g.debug("XDomain: Found userIds:",r),e},t.load=function(n,e){p.addEventListener("message",w);return v.pollFor((function(){return!!l.querySelector("body")})).then((function(){return t.loadIframe(n,e)})).then((function(n){u.dispatch(o.XDOMAIN_SET_DEFAULT_FRAME,n),m.isDisabled()||i.each(m.getMessages(),(function(t){t.startTime||b(t,n)}))}))}},667:function(n,t,e){var i=e(430),r=e(1664),o=e(2146),a=e(4407),u=e(716),c=e(3457),s=e(7322).Promise,f=e(4651);t.isCORSSupported=function(){return"withCredentials"in new(f.get("XMLHttpRequest"))},t.request=function(n){return n=i.extend({method:"GET",async:!0,contentType:"text/plain;charset=UTF-8"},n),new s((function(e,r){if(!t.isCORSSupported())return r("CORS is not supported");var o=new(f.get("XMLHttpRequest"));o.onload=function(){n.success&&n.success(o),e(o)},o.onerror=function(){n.error&&n.error(o),r(o)},i.isObject(n.data)&&(n.data=u.stringify(n.data)),o.open(n.method,n.url,n.async),n.withCredentials&&(o.withCredentials=n.withCredentials),o.setRequestHeader("Content-Type",n.contentType),i.isObject(n.headers)&&i.forEach(n.headers,(function(n,t){o.setRequestHeader(t,n)})),o.send(n.data)}))},t.retryableRequest=function(n,e,u,f){if(!e)return s.reject(new Error("No id specified for request."));if(!t.isCORSSupported())return s.reject(new Error("CORS is not supported."));i.isUndefined(f)&&(f=3),i.isUndefined(u)&&(u=0);var l={id:e,timeStamp:o.now(),data:n,retryCount:u};return a.dispatch(r.SET_PENDING_EVENT,l),c.debug("Sending event ",e),t.request(n).then((function(n){return a.dispatch(r.REMOVE_PENDING_EVENT,{id:e}),n}),(function(n){throw l.retryCount>=f?(a.dispatch(r.REMOVE_PENDING_EVENT,{id:e}),c.warn("Event ",l," could not be sent after ",f," attempts.")):(l.retryCount++,a.dispatch(r.SET_PENDING_EVENT,l),c.debug("Event ",l," failed to send, with error ",n," It will be retried ",f-u," times.")),n}))},t.sendBeacon=t.request},5326:function(n,t,e){var i=e(430),r=e(1664),o=e(6030),a=e(7024),u=e(2146),c=e(4748),s=e(2821),f=e(5039),l=e(4407),d=e(3457),v=e(1925),h=c.get("stores/event_data"),p=c.get("stores/plugins"),g=c.get("stores/rum"),m=c.get("stores/view"),_=c.get("stores/view_data");function w(n,t){i.forEach(n,(function(n){if(n.eventType!==f.CUSTOM){var e=p.getPlugin(s.PluginTypes.eventImplementations,n.eventType);e?t?e.attach(n):e.detach(n):d.warn("No implementation found for event type:",n.eventType,"needed for event:",n)}}))}t.parseViewTags=function(n){var e=t.evaluateViewTags(n);t.setParsedViewTags(n.id,e)},t.updateAllViewTags=function(){var n=m.getActiveViewStates();i.each(n,(function(n){var e=_.get(n.id);t.parseViewTags(e)}))},t.evaluateViewTags=function(n){return n.tags?i.reduce(n.tags,(function(n,t){try{n[t.apiName]=v.getTagValue(t)}catch(r){e=r,(null!=(i=v.Error)&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?i[Symbol.hasInstance](e):e instanceof i)?d.warn("Page / Ignoring unparseable tag",t,r):d.error(r)}var e,i;return n}),{}):{}},t.createViewTicket=function(){var n={};return i.each(p.getAllPlugins(s.PluginTypes.viewProviders),(function(t){n[t.provides]=c.evaluate(t.getter)})),n},t.registerViews=function(n){l.dispatch(r.REGISTER_VIEWS,{views:n})},t.activateViaAPI=function(n,e){e&&t.setUserSuppliedViewTags(n.id,e),t.activateMultiple([n],e)},t.getViewsAndActivate=function(n){var e=_.getAllViewsForActivationType(n);t.activateMultiple(e)},t.activateMultiple=function(n,e){var a=[];return i.each(n,(function(n){var u=m.getViewState(n.id),c=t.createViewTicket();if(u.isActive)if(n.deactivationEnabled)try{t.hasValidStaticConditions(n,c)||t.deactivate(n)}catch(v){d.error("Page / Error evaluating whether to deactivate page ",t.description(n),v)}else d.log("Not activating Page, already active ",t.description(n));else{try{if(!t.hasValidStaticConditions(n,c))return i.isBoolean(u.isActive)||t.setViewActiveState(n,!1),void d.log("Page / Failed to match page conditions for "+t.description(n),n.staticConditions)}catch(v){return i.isBoolean(u.isActive)||t.setViewActiveState(n,!1),void d.error("Page / Error evaluating whether to activate page ",t.description(n),v)}if(a.push(n),t.setViewActiveState(n,!0),d.log("Activated Page",t.description(n)),o.emitViewActivated({view:n,metadata:e}),g.getSampleRum()){var f=n.activationType||s.ViewActivationTypes.immediate;l.dispatch(r.RECORD_ACTIVATION_TYPE_USAGE,{activationType:f,entityId:n.id})}w(h.getByPageId(n.id),!0)}})),i.isEmpty(a)||o.emitViewsActivated({views:a}),a},t.deactivate=function(n){m.getViewState(n.id).isActive?(t.setViewActiveState(n,!1),d.log("Deactivated Page",t.description(n)),o.emitPageDeactivated({page:n}),w(h.getByPageId(n.id),!1)):d.log("Not deactivating Page, already inactive ",t.description(n))},t.setViewActiveState=function(n,t){l.dispatch(r.SET_VIEW_ACTIVE_STATE,{view:n,timestamp:u.now(),isActive:t})},t.setGlobalTags=function(n){l.dispatch(r.SET_GLOBAL_TAGS,n)},t.setParsedViewTags=function(n,t){l.dispatch(r.UPDATE_PARSED_VIEW_METADATA,{pageId:n,metadata:t})},t.setUserSuppliedViewTags=function(n,t){l.dispatch(r.UPDATE_USER_SUPPLIED_METADATA,{pageId:n,metadata:t})},t.hasValidStaticConditions=function(n,t){var e={};if(i.isEmpty(n.staticConditions))return!0;var o=p.getAllPlugins(s.PluginTypes.viewMatchers);d.groupCollapsed("Page / Evaluating staticConditions:",n.staticConditions),d.debug("Matching to current value:",t);var u=a.evaluate(n.staticConditions,(function(n){var i=n.type,r=o[i];if(!r)throw new Error("Page / No matcher found for type="+i);return r&&(e[n.type]||(e[n.type]=!0)),r.match(t,n)}));return d.groupEnd(),g.getSampleRum()&&u&&l.dispatch(r.RECORD_VIEW_FEATURE_USAGE,{featuresUsed:i.keys(e),entityId:n.id}),u},t.description=function(n){return'"'+n.name+'" ('+n.id+")"},t.isActivationTypeImmediate=function(n){return n===s.ViewActivationTypes.immediate||!n},t.shouldTriggerImmediately=function(n){return n===s.ViewActivationTypes.DOMChanged||n===s.ViewActivationTypes.URLChanged||n===s.ViewActivationTypes.immediate||!n},t.create=function(n,t){return{id:n,apiName:t,category:"other"}},t.createState=function(n){return{id:n,isActive:!0,metadata:{},parsedMetadata:{},userSuppliedMetadata:{}}}},9867:function(n,t,e){var i,r=e(430),o=e(4407),a=e(1664),u=e(5355),c=e(6433),s=e(6113),f=e(2146),l=e(4748),d=e(2821),v=e(716),h=e(6457),p=e(4513).mM,g=e(3457),m=e(7322).Promise,_=e(8830),w=e(2821).VisitorStorageKeys,y=e(3473);i=e(9111);var b=l.get("stores/cookie_options"),E=l.get("stores/global"),I=l.get("stores/layer"),A=l.get("stores/plugins"),T=l.get("stores/rum"),S=l.get("stores/session"),R=l.get("stores/visitor_id"),k=l.get("stores/visitor_bucketing"),N=l.get("stores/visitor"),D=l.get("stores/provider_status");function C(n,t){var e=function(n,e){var i;t.attributionType&&(i=f.now()),o.dispatch(a.SET_VISITOR_ATTRIBUTES,{attributes:[{key:n,value:e,metadata:{lastModified:i}}]})};if(t.getter){var i=t.provides;if(r.isArray(i)||(i=[i]),!(t.isSticky&&!r.isUndefined(h.getFieldValue(n,i)))){var u;try{var c=l.evaluate(t.getter);r.isFunction(c)&&(c=c((function(){return h.getFieldValue(n,i)}),(function(n){e(i,n)}))),r.isUndefined(c)||(t.isAsync?(u=c.then((function(n){e(i,n)}),(function(n){g.warn('Failed to evaluate provider for "'+t.provides+'"; error was:',n)})),o.dispatch(a.SET_VISITOR_ATTRIBUTE_PENDING,{key:i,pending:u})):e(i,c))}catch(s){g.warn('Failed to evaluate getter for provider for "'+t.provides+'"; error was: '+s.message)}return u}}}function O(n){var t=M(n),e=p.getItem(t);return r.isString(e)&&(e=F(e)),e}function x(n){var t;if(n.layerId)t=n;else{var e=n;t={layerId:e.i,pageId:e.p,decisionTimestamp:e.t,decisionTicket:{audienceIds:e.a||[]},decision:{layerId:e.i,experimentId:e.x||null,variationId:e.v||null,isLayerHoldback:e.h||!1}}}return t}function P(n,t,e){try{var r=M(n);e||(t=v.stringify(t));try{p.setItem(r,t)}catch(o){throw g.warn("Visitor / Unable to set localStorage key, error was:",o),new Error("Unable to set localStorage")}i.setItem(r,t)}catch(o){g.warn("Unable to persist visitor data:",o.message)}}function M(n){var e=R.getBucketingId();if(!e)throw new Error("Visitor bucketingId not set");var i=t.getNamespace();if(!i)throw new Error("Namespace is not set");return[e,i,n].join("$$")}function L(n,e){if(!R.getBucketingId())throw new Error("Cannot update local store because bucketingId not set");if(V(n)){var i=t.getStorageKeyFromKey(n);if(r.includes(w,i)){var u=M(i);if(!(n.indexOf(u)<=0)&&(e=F(e)))if(i===w.EVENT_QUEUE)o.dispatch(a.SET_FOREIGN_VISITOR_EVENT_QUEUE,{key:n,value:c.deserialize(e)});else if(i===w.EVENTS)o.dispatch(a.SET_FOREIGN_VISITOR_EVENTS,{key:n,value:c.deserialize(e)});else if(i===w.LAYER_STATES)o.dispatch(a.LOAD_PERSISTED_LAYER_STATES,{layerStates:r.map(e,x),merge:!0});else if(i===w.VARIATION_MAP)o.dispatch(a.MERGE_VARIATION_ID_MAP,{variationIdMap:e});else if(i===w.VISITOR_PROFILE){var s=e;r.each(["custom"],(function(n){var t=A.getPlugin(d.PluginTypes.visitorProfileProviders,n);if(t){if(s.profile&&s.metadata){var e=function(n,t,e){var i=N.getAttribute(t),o=N.getAttributeMetadata(t),a=n.profile[t],u=n.metadata[t];if(r.isEmpty(i))return{data:a,metadata:u};var c={};return r.forOwn(a,(function(n,t){var i,a;o&&o[t]&&(i=o[t].lastModified),u&&u[t]&&(a=u[t].lastModified),(e===d.AttributionTypes.FIRST_TOUCH&&i>=a||e===d.AttributionTypes.LAST_TOUCH&&a>=i||r.isUndefined(i)&&a)&&(c.data=c.data||{},c.data[t]=n,a&&(c.metadata=c.metadata||{},c.metadata[t]=c.metadata[t]||{},c.metadata[t].lastModified=a))})),c}(s,n,t.attributionType);if(!r.isEmpty(e)){var i=[];r.forOwn(e.data,(function(t,r){var o=e.metadata[r],a={key:[n,r],value:t,metadata:o};i.push(a)})),o.dispatch(a.SET_VISITOR_ATTRIBUTES,{attributes:i})}}}else g.debug("Attribute type",n,"not used by any audiences")}))}}}}function V(n){return n.split("$$")[0].indexOf("://")>0}function F(n){try{return v.parse(n)}catch(t){return g.debug("Failed to parse: ",n,t),null}}t.getOrGenerateId=function(){return{randomId:t.getCurrentId()||"oeu"+f.now()+"r"+Math.random()}},t.getCurrentId=function(){var n=R.getVisitorIdLocator();return N.getVisitorIdFromAPI()||(n?function(n){var t,e=n.name;switch(n.type){case d.VisitorIdLocatorType.COOKIE:t=s.get(e);break;case d.VisitorIdLocatorType.JS_VARIABLE:t=y.getGlobalByPath(e);break;case d.VisitorIdLocatorType.LOCALSTORAGE:try{t=y.getGlobal("localStorage").getItem(e)}catch(u){throw new Error("Unable to read localStorage: "+u.toString())}break;case d.VisitorIdLocatorType.QUERY:t=_.getQueryParamValue(e)}try{if(!t)throw g.error("Visitor / Customer provided visitor id cannot be found. Type:",n.type," Name:",e),new Error("Failure to obtain visitor id from "+n.type);if(!r.isString(t)&&!r.isNumber(t))throw g.error("Visitor / Customer provided visitor id is not a string or number. Type:",n.type," Name:",e," Id Type:",(i=t)&&"undefined"!=typeof Symbol&&i.constructor===Symbol?"symbol":typeof i),new Error("Customer provided visitor id is not a string or number")}catch(c){throw T.getSampleRum()&&o.dispatch(a.RECORD_VISITOR_ID_ERROR,{isError:!0}),c}var i;T.getSampleRum()&&(o.dispatch(a.RECORD_VISITOR_ID_ERROR,{isError:!1}),o.dispatch(a.RECORD_VISITOR_ID_LOCATOR_USAGE,{visitorIdLocatorType:n.type,entityId:t}));return String(t)}(n):s.get(d.COOKIES.VISITOR_ID))},t.hasSomeData=function(){return p.keys().length>0},t.setId=function(n){var e,c,f=R.getBucketingId();o.dispatch(a.SET_VISITOR_ID,n),R.getBucketingId()!==f&&(!function(){!function(n,t){0;u.initializeStore(n,t)}(O(w.EVENTS)||[],O(w.EVENT_QUEUE)||[]);var n=(e=w.LAYER_STATES,i=R.getBucketingId(),c=[],s=new RegExp(i+"\\$\\$([^$]+?)\\$\\$"+e),r.each(p.keys(),(function(n){var t=n.match(s);if(t){var e={namespace:t[1],userId:i,item:F(p.getItem(n))};c.push(e)}})),c);var e,i,c,s;r.forEach(n,(function(n){n.item=r.map(n.item,x)})),l=n,v=[],r.each(l,(function(n){r.each(n.item,(function(t){t.namespace=n.namespace,v.push(t)}))})),g=v,o.dispatch(a.LOAD_PERSISTED_LAYER_STATES,{layerStates:r.filter(g,(function(n){return!!n.decision}))}),h=O(w.SESSION_STATE)||{},h=r.extend({lastSessionTimestamp:0,sessionId:null},h),o.dispatch(a.LOAD_SESSION_STATE,h),function(n){var t,e,i=A.getAllPlugins(d.PluginTypes.visitorProfileProviders),u=r.filter(i,(function(n){return r.isFunction(n.restorer)}));n.profile&&n.metadata?(t=n.profile,e=n.metadata):(t=n,e={});t=r.reduce(t,(function(n,t,e){var i=t,o=r.find(u,{provides:e});return o&&(i=o.restorer(t)),n[e]=i,n}),{}),o.dispatch(a.LOAD_EXISTING_VISITOR_PROFILE,{profile:t,metadata:e})}(O(w.VISITOR_PROFILE)||{});var f=O(w.TRACKER_OPTIMIZELY);f&&(m=f,o.dispatch(a.SET_TRACKER_PERSISTABLE_STATE,m));var l,v;var h;var g;var m;t.loadForeignData(),t.removeLegacySessionStateCookies()}(),t.deleteOldLocalData(),i.deleteData(n));try{R.getVisitorIdLocator()||t.maybePersistVisitorId(n)}catch(l){if(g.error("Visitor / Unable to persist visitorId, disabling tracking"),o.dispatch(a.LOAD_DIRECTIVE,{trackingDisabled:!0}),e=l,null!=(c=s.MismatchError)&&"undefined"!=typeof Symbol&&c[Symbol.hasInstance]?c[Symbol.hasInstance](e):e instanceof c)throw g.error("Visitor / Cookie not set to correct value:",l),new Error("Cookie mismatch error while persisting visitorId");throw l}t.refreshSession()},t.getVariationIdMap=function(){return O(w.VARIATION_MAP)||{}},t.updateVariationIdMap=function(n,t,e){o.dispatch(a.UPDATE_VARIATION_ID_MAP,{layerId:n,experimentId:t,variationId:e})},t.persistVariationIdMap=function(){var n=k.getVariationIdMapString();P(w.VARIATION_MAP,n,!0)},t.persistTrackerOptimizelyData=function(n){P(w.TRACKER_OPTIMIZELY,n)},t.refreshSession=function(){o.dispatch(a.REFRESH_SESSION)},t.populateEagerVisitorData=function(n,e){var i=r.filter(n,(function(n){return!n.isLazy}));return t.populateVisitorData(i,e)},t.populateLazyVisitorData=function(n,e,i){g.debug("Populating lazy visitor. List of all providers",n);var o=r.filter(n,(function(n){return n.isLazy&&i.has(n.provides)}));return g.debug("Filtered list of providers that are lazy and present in audiences",o),t.populateVisitorData(o,e)},t.populateVisitorData=function(n,t){t=t||{};var e=r.partial(C,t),i=r(n).filter({isAsync:!0}).map(e).filter().value();return r.forEach(r.filter(n,(function(n){return!n.isAsync})),e),i.length>0?m.all(i):m.resolve()},t.persistBehaviorEvents=function(n){P(w.EVENTS,n)},t.persistBehaviorEventQueue=function(n){P(w.EVENT_QUEUE,n)},t.getPersistedBehaviorEventCount=function(){var n=O(w.EVENTS)||[],t=O(w.EVENT_QUEUE)||[];return c.deserialize(n).length+c.deserialize(t).length},t.persistLayerStates=function(){var n=I.getLayerStates(t.getNamespace());n=r.map(n,(function(n){return r.omit(n,"namespace")})),P(w.LAYER_STATES,n)},t.persistSessionState=function(){P(w.SESSION_STATE,S.getState())},t.persistVisitorProfile=function(){P(w.VISITOR_PROFILE,function(){var n=N.getVisitorProfile(),t=N.getVisitorProfileMetadata(),e=A.getAllPlugins(d.PluginTypes.visitorProfileProviders);if(e){var i=r.reduce(e,(function(n,t){return t.provides&&(n[t.provides]=t),n}),{});n=r.omitBy(n,(function(n,t){var e=i[t];return e&&e.isTransient}))}return{profile:n,metadata:t}}())},t.persistVisitorBucketingStore=function(){t.persistVariationIdMap()},t.getUserIdFromKey=function(n,e){var i;return r.includes(n,e)&&r.includes(n,"_")&&r.includes(n,"$$")&&r.includes(n.slice(n.indexOf("$$")),t.getNamespace())&&(i=n.slice(n.indexOf("_")+1,n.indexOf("$$"))),i},t.maybePersistVisitorId=function(n){n.randomId&&(b.getAutoRefresh()||t.getCurrentId()!==n.randomId?(s.set(d.COOKIES.VISITOR_ID,n.randomId),g.log("Persisting visitorId:",n.randomId)):g.log("Not persisting visitorId: value is not changed and also auto-refresh is disabled"))},t.getAttribute=function(n){return N.getAttribute(n)},t.getPendingAttributeValue=function(n){return D.getPendingAttributeValue(n)},t.isForeignKey=V,t.checkKeyForVisitorId=function(n){var e=R.getBucketingId()||t.getCurrentId(),i=t.getIdFromKey(n);return!i||i===e},t.getIdFromKey=function(n){var e=n.split("$$")[0],i=t.getStorageKeyFromKey(n);if(r.includes(d.StorageKeys,i))return null;var o=e.indexOf("_");return-1===o?e:e.substring(o+1)},t.getStorageKeyFromKey=function(n){var t,e=n.split("$$").pop();if(e.indexOf("://")>-1){var i=e.indexOf("_");t=e.substring(i+1)}else t=e;return r.includes(r.values(d.AllStorageKeys),t)?t:null},t.deleteOldLocalData=function(){var n=p.keys();r.each(n,(function(n){t.isForeignKey(n)||t.checkKeyForVisitorId(n)||p.removeItem(n)}))},t.deleteOldForeignData=function(){var n=p.keys();r.each(n,(function(n){t.isForeignKey(n)&&p.removeItem(n)}))},t.loadForeignData=function(){r.each(p.keys(),(function(n){var t=p.getItem(n);t&&L(n,t)}))},t.getNamespace=function(){return E.getNamespace()},t.serializeFieldKey=function(n){return r.isArray(n)?n.join("$$"):n},t.removeLegacySessionStateCookies=function(){var n=s.getAll();r.forEach(r.keys(n),(function(n){0===n.indexOf(d.COOKIES.SESSION_STATE+"$$")&&s.remove(n)}))}},3205:function(n,t,e){var i=e(430),r=e(2821);t.normalizeClientData=function(n){!n.listTargetingKeys&&n.listTargetingCookies&&(n.listTargetingKeys=i.map(n.listTargetingCookies,(function(n){return{type:r.ListTargetingKeyTypes.COOKIE,key:n}})),delete n.listTargetingCookies)}},8701:function(n,t,e){e(4748).register("env/jquery",e(7573))},7573:function(n,t,e){var i,r=e(3473);try{i=$}catch(a){}var o=r.getGlobal("$");n.exports=i&&i!==o?i:o},8685:function(n,t,e){e(430),e(1364).G,e(2146);var i=e(4748),r=(e(6051),e(3457));e(3473),e(667),i.get("stores/client_metadata"),i.get("stores/global");t.handleError=function(n,t){t?r.error("Uncaught error:",n,t):r.error("Uncaught error:",n)}},6114:function(n,t,e){var i=e(430),r=e(1664),o=e(6397),a=e(3734),u=e(1364).U,c=e(2661),s=e(408),f=e(4748).get("stores/directive"),l=e(6051),d=e(9818),v=e(4407),h=e(3457),p=e(7138),g=e(2781),m=e(8438).create(),_=1e3,w=10,y=u("ChangeOverheatError");function b(n,t){if(this.change=n,this.identifier=t.identifier,this.startTime=t.startTime,f.shouldObserveChangesIndefinitely()){v.dispatch(r.INITIALIZE_CHANGE_METRICS),this.rateMeter=new p(_);var e=i.isNull(w)?Number.POSITIVE_INFINITY:w;this.rateMeter.addListener(e,i.bind((function(){h.warn("AppendChange",this,"has overheated and will no longer apply or reapply"),this.cancel(),v.dispatch(r.RECORD_CHANGE_OVERHEATED),o.emitError(new y("Change "+this.identifier+" has overheated"),{layerId:t.action&&t.action.layerId,experimentId:t.action&&t.action.experimentId,variationId:t.action&&t.action.variationId,changeId:n.id,changeType:n.type,movingWindowMilliseconds:_,maxMacroTasksInMovingWindow:e})}),this));for(var a=Math.min(e,50),u=0;u<=a;u++)this.rateMeter.addListener(u,i.partial((function(n){v.dispatch(r.RECORD_CHANGE_MACROTASK_RATE,{changeMacrotaskRate:n})}),u))}}b.prototype.numberOfRootNodes=function(n){var t=document.createElement("div");return t.innerHTML=n,t.childNodes.length},b.prototype.getSiblingElements=function(n,t,e){for(var i=n,r=[],o=0;o<t;o++)e?(r.push(i.nextSibling),i=i.nextSibling):(r.push(i.previousSibling),i=i.previousSibling);return r},b.prototype.apply=function(){this.applyDeferred=s();try{if(!this.numberOfRootNodes(this.change.value))throw new Error("No DOM elements to be created for this change: "+this.change.value);var n=i.partial(this.applyDeferred.reject,new Error("Unable to find selector.")),t={};f.shouldObserveChangesUntilTimeout()?t={timeout:i.partial(g.isTimedOut,this.startTime),onTimeout:n}:f.isEditor()&&m.waitUntil(i.partial(g.isTimedOut,this.startTime)).then(n,n),this.unobserveSelector=m.observeSelector(this.change.selector,i.bind(this.maybeApplyToElement,this),t);var e=l.querySelectorAll(this.change.selector);i.each(e,i.bind(this.maybeApplyToElement,this))}catch(r){this.applyDeferred.reject(r)}return this.applyDeferred},b.prototype.maybeApplyToElement=function(n){var t=a.CHANGE_ID_ATTRIBUTE_PREFIX+this.change.id;if(n.hasAttribute(t))return h.debug("Not applying AppendChange to element",n,"because it was inserted by this change"),void this.applyDeferred.resolve();this.rateMeter&&this.rateMeter.countCurrentTick(),i.bind(this.applyOrReapplyToElement,this,n,t)(),this.applyDeferred.resolve()},b.prototype.applyOrReapplyToElement=function(n,t){var e;switch(this.change.operator){case d.DOMInsertionType.AFTER:e=d.insertAdjacentHTMLType.AFTER_END;break;case d.DOMInsertionType.APPEND:e=d.insertAdjacentHTMLType.BEFORE_END;break;case d.DOMInsertionType.BEFORE:e=d.insertAdjacentHTMLType.BEFORE_BEGIN;break;case d.DOMInsertionType.PREPEND:e=d.insertAdjacentHTMLType.AFTER_BEGIN;break;default:e=d.insertAdjacentHTMLType.BEFORE_END}n.insertAdjacentHTML(e,this.change.value),n.setAttribute(t,""),c.setData(n,this.change.id,this.identifier,[]);var r,o,a=this.numberOfRootNodes(this.change.value)-1;e===d.insertAdjacentHTMLType.BEFORE_END?(r=n.lastChild,o=this.getSiblingElements(r,a,!1)):e===d.insertAdjacentHTMLType.AFTER_BEGIN?(r=n.firstChild,o=this.getSiblingElements(r,a,!0)):e===d.insertAdjacentHTMLType.BEFORE_BEGIN?(r=n.previousSibling,o=this.getSiblingElements(r,a,!1)):e===d.insertAdjacentHTMLType.AFTER_END&&(r=n.nextSibling,o=this.getSiblingElements(r,a,!0)),o.unshift(r),i.each(o,i.bind((function(n){var e=n.nodeType===Node.ELEMENT_NODE?n:l.parentElement(n);e.setAttribute(t,"");var r=c.getData(e,this.change.id,this.identifier)||[];r.push(n),c.setData(e,this.change.id,this.identifier,r),i.each(l.childrenOf(e),(function(n){n.setAttribute(t,"")}))}),this))},b.prototype.cancel=function(){this.unobserveSelector&&this.unobserveSelector()},n.exports=function(n){n.registerChangeApplier(d.changeType.APPEND,b)}},6221:function(n,t,e){var i=e(430),r=e(408),o=e(9818),a=e(3562);function u(n,t){if(!i.isFunction(n.value))throw new Error("Custom code must be a function");this.change=n}u.prototype.apply=function(){var n=r();try{a.apply(this.change.value),n.resolve()}catch(t){n.reject(t)}return n},n.exports=function(n){n.registerChangeApplier(o.changeType.CUSTOM_CODE,u)}},7205:function(n,t,e){var i=e(9315),r=e(6782).E,o={selectExperiment:function(n,t,e){if(n.experiments.length<1)throw new r("Unable to find experiment to bucket user into");var o=n.experiments[0];if(!i.isValidExperiment(t,o))throw new r('Audience conditions failed for experiment: "'+o.id+'".');return o}};n.exports=function(n){n.registerDecider("single_experiment",o),n.registerDecider("multivariate",o)}},1254:function(n,t,e){var i=function(n){return n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n},r=e(430),o=e(6397),a=e(1364).U,u=e(6051),c=e(4694),s=t.Error=a("ClickDelegateError");function f(n){this.handler=n,this.events=[],this.unlistenFn=null,this.clickHandler=r.bind((function(n){r.forEach(this.events,r.bind((function(t){try{var e=t.config&&t.config.selector?t.config.selector:t.eventFilter.selector;(function(n,t,e){var a=n.target,u=0;for(;a;){var f;try{f=c(a,t)}catch(d){var l={typeofElementValue:void 0===a?"undefined":i(a),nodeName:r.result(a,["nodeName"],null),nodeType:r.result(a,["nodeType"],null),targetName:r.result(n,["target","nodeName"],null),targetType:r.result(n,["target","nodeType"],null),numParentsTraversed:u,selector:t,errorMessage:d.message,eventId:e.id};return o.emitError(new s("Unable to evaluate match for element"),l),!1}if(f)return!0;a=a.parentElement,u++}return!1})(n,e,t)&&this.handler(t)}catch(a){o.emitError(new s("Unable to handle click for selector"+e+":"+a.message))}}),this))}),this)}f.prototype.listen=function(){this.unlistenFn=u.addEventListener("click",this.clickHandler,!0)},f.prototype.unlisten=function(){this.unlistenFn&&(this.unlistenFn(),this.unlistenFn=null)},f.prototype.hasEvents=function(){return this.events.length>0},f.prototype.addEvent=function(n){this.events.push(n)},f.prototype.removeEvent=function(n){this.events=r.filter(this.events,(function(t){return t.apiName!==n.apiName}))},n.exports=f},9590:function(n,t,e){var i=e(9226),r=e(1254),o=e(3457),a=e(5326);function u(n){return"apiName: "+n.apiName+", selector: "+n.eventFilter.selector}n.exports=function(n){var t=new r((function(n){a.updateAllViewTags(),i.trackClickEvent(n)?o.log("Tracking click event:",n):o.log("Not tracking click event:",n)}));n.registerEventImplementation("click",{attach:function(n){t.hasEvents()||t.listen(),t.addEvent(n),o.debug("Started listening for click event ("+u(n)+"):",n)},detach:function(n){t.removeEvent(n),t.hasEvents()||t.unlisten(),o.debug("Stopped listening for click event ("+u(n)+"):",n)}})}},3003:function(n,t,e){var i=e(430),r=e(9925),o=e(4588),a=e(7512);function u(n,t){var e=o.buildFromSpecV0_1(t);if(1!==e.length)throw new Error("Invalid query descriptor; verify that no aggregators are specified");return a.execute(e[0],n)}function c(n,t){return i.map(n,(function(n){return i.isFunction(n.toObject)?n.toObject(t):n}))}function s(n,t){if(!n)return["Descriptor not defined"];var e=[];return n.count&&e.push('Unexpected "count" clause specified'),n.pick&&n.pick.modifier&&-1===t.indexOf(n.pick.modifier)&&e.push('Invalid "pick" modifier "'+n.pick.modifier+'"'),i.each(n.filters,(function(n){i.isUndefined(n.modifier)||e.push('Unexpected "filter" modifier "'+n.modifier+'"')})),e.length>0?e:void 0}function f(n,t){var e={revenueAsTag:!1,timeAsTimestamp:!0};if(i.isUndefined(t))return c(r.getEvents(n),e);if(i.isNumber(t)){if(t<=0)throw new Error("Count must be a positive integer, got "+t);return c(r.getEvents(n).slice(-t),e)}var a=s(t,i.values(o.RECENCY_FILTERS));if(a)throw new Error(a.join("\n"));return c(u(r.getEvents(n),t),e)}function l(n,t){if(!(t=i.cloneDeep(t)||{}).pick)throw new Error('No "pick" clause provided in query descriptor');if(!t.pick.name)throw new Error('No field name provided in "pick" clause');t.pick.modifier=t.pick.modifier||o.FREQUENCY_FILTERS.MOST_FREQUENT;var e=s(t,i.values(o.FREQUENCY_FILTERS));if(e)throw new Error(e.join("\n"));return u(r.getEvents(n),t)}function d(n,t){var e=o.buildFromSpecV0_2(t),u=r.getEvents(n),s=c(a.execute(e,u),{revenueAsTag:!0,timeAsTimestamp:!1});return(t.pick||t.reduce&&"count"===t.reduce.aggregator)&&(s=i.flatten(s)),t.reduce&&(s=s[0]),s}n.exports=["stores/visitor_events",function(n){return{getEvents:i.partial(f,n),getByFrequency:i.partial(l,n),query:i.partial(d,n)}}]},8340:function(n,t,e){n.exports=function(n){n.registerApiModule("behavior",e(3003))}},8838:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(8513)),n.registerAudienceMatcher("behavior",e(4952))}},4952:function(n,t,e){var i=e(430),r=e(716),o=e(4588),a=e(7512);n.exports={fieldsNeeded:["events"],match:function(n,t){var e,u=r.parse(t.value);return e=i.isUndefined(u.version)?[u]:o.buildFromSpecV0_1(u),i.every(e,(function(t){return a.isSatisfied(t,n.events)}))}}},8513:function(n,t,e){var i=e(9925);n.exports={provides:"events",isTransient:!0,getter:[function(){return i.getEvents()}]}},1468:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(7857))}},7857:function(n,t,e){var i=e(430),r=e(9398),o=e(9925),a=e(716),u=e(4588);n.exports={provides:"customBehavior",shouldTrack:!0,isLazy:!1,getter:["stores/global","stores/visitor_attribute_entity",function(n,t){var e=n.getProjectId(),c=i.filter(i.map(t.getCustomBehavioralAttributes(e),(function(n){try{return{id:n.id,granularity:r.GRANULARITY.ALL,rule:u.buildFromSpecV0_2(a.parse(n.rule_json))}}catch(t){return}}))),s=o.getEvents();return r.evaluate(c,s)}]}},4350:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(6036)),n.registerAudienceMatcher("first_session",e(5737))}},5737:function(n){n.exports={fieldsNeeded:["first_session"],match:function(n){return!!n.first_session}}},6036:function(n,t,e){var i=e(8477),r=e(9925),o=e(6457).getFieldValue,a=e(6035).CURRENT_SESSION_INDEX;n.exports={provides:"first_session",shouldTrack:!0,getter:[function(){var n=r.getEvents();if(n&&n.length>0){var t=n[0];return o(t,[i.FIELDS.SESSION_INDEX])===a}return!0}]}},9398:function(n,t,e){var i=e(3457),r={FIELDS:e(8477).FIELDS},o=e(4588),a=e(7512);t.GRANULARITY={ALL:"all",CURRENT_SESSION:"current_session",LAST_30_DAYS:"last_30_days",LAST_60_DAYS:"last_60_days"},t.evaluate=function(n,e){var u={};if(0===e.length){for(var c=0;c<n.length;c++)u[n[c].id]=n[c].defaultValue;return u}var s=function(n){if(0===n.length)return[];for(var t=n.length-1,e=r.FIELDS.SESSION_ID,i=n[t][e];t>0&&i===n[t-1][e];)t--;return n.slice(t)}(e),f=function(n,t){if(0===n.length||t<=0)return[];var e=+new Date-t*o.MILLIS_IN_A_DAY;e-=e%o.MILLIS_IN_A_DAY;for(var i=n.length;i>0&&e<=n[i-1][r.FIELDS.TIME];)i--;return n.slice(i)}(e,60);for(c=0;c<n.length;c++){var l=n[c],d=e;l.granularity===t.GRANULARITY.CURRENT_SESSION?d=s:l.granularity===t.GRANULARITY.LAST_60_DAYS&&(d=f);try{var v=d;l.rule&&(v=a.execute(l.rule,d)),u[l.id]=l.defaultValue,1===v.length?u[l.id]=v[0][0]||l.defaultValue:i.debug("Behavior / Rule for",l.id,"returned",v.length,"results, expected 1")}catch(h){i.error("Behavior / Rule for",l.id,"failed with",h.message||"")}}return u}},9925:function(n,t,e){var i=e(430),r=e(6433),o=e(4748).get("stores/visitor_events");t.getEvents=function(){var n=r.getEvents(),t=[].concat.apply([],i.values(o.getForeignEvents())),e=[].concat.apply([],i.values(o.getForeignEventQueues())),a=r.mergeAllEvents([n,t,e]);return a.slice(a.length-1e3)}},4588:function(n,t,e){var i=t,r=e(430),o={FIELDS:e(8477).FIELDS,FIELDS_V0_2:e(8477).FIELDS_V0_2},a=e(716),u=e(3457),c=e(7512);i.MILLIS_IN_A_DAY=864e5,i.aggregateField=function(n,t){return r.isString(t)&&(t=[t]),t=t||c.DEFAULT_FIELD,[c.generateAlias(n,t)]},i.groupField=function(n){return r.isString(n)&&(n=[n]),[(n=n||c.DEFAULT_FIELD).join(".")]};var s={"<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","==":"eq"};function f(n){return n=(n||"").toString().trim(),s[n]||n}function l(n,t,e){var a={where:t};if(n.count&&(a.limit=n.count),n.modifier===i.FREQUENCY_FILTERS.MOST_FREQUENT){var u=i.getFieldKeyPathForSource(n.name,e),c=i.aggregate("count"),s=i.aggregateField("count"),f=i.groupField(u);return r.extend(a,{select:[{field:f}],groupBy:i.groupBy([u]),aggregate:[c],orderBy:[{field:s,direction:"DESC"}]})}return r.extend(a,{orderBy:[{field:[o.FIELDS.TIME],direction:"DESC"}]})}i.fieldComparison=function(n,t,e){return n=f(n),r.isString(t)&&(t=[t]),"exists"===n?{op:n,args:[{field:t}]}:{op:n,args:[{field:t},{value:e}]}},i.relativeTimeComparison=function(n,t){return{op:f(n),args:[{op:"-",args:[{eval:"now"},{field:[o.FIELDS.TIME]}]},{value:t*i.MILLIS_IN_A_DAY}]}},i.rangeTimeComparison=function(n){return r.isArray(n)?{op:"between",args:[{field:[o.FIELDS.TIME]},{value:[n[0]||+new Date(0),n[1]||+new Date]}]}:(u.error("Rule builder","rangeTimeComparison passed invalid range",n),null)},i.groupBy=function(n){for(var t=[],e=0;e<n.length;e++)t[e]={field:n[e]};return t},i.aggregate=function(n,t){return r.isString(t)&&(t=[t]),{op:n,args:[{field:t=t||c.DEFAULT_FIELD}]}},i.SOURCE_TYPES={BEHAVIOR:"events",CUSTOM_BEHAVIOR:"custom_behavior",DCP:"dcp"},i.FREQUENCY_FILTERS={MOST_FREQUENT:"most_frequent",LEAST_FREQUENT:"least_frequent"},i.RECENCY_FILTERS={MOST_RECENT:"most_recent",LEAST_RECENT:"least_recent"},i.getFieldKeyPathForSource=function(n,t){t=t||i.SOURCE_TYPES.BEHAVIOR;var e=[];return r.isString(n)?(e=[n],t!==i.SOURCE_TYPES.BEHAVIOR||r.includes(r.values(o.FIELDS),n)||(e=[o.FIELDS.OPTIONS,n])):e=n,e},i.buildFromSpecV0_1=function(n){if(!(n.action||n.filters&&0!==n.filters.length))throw new Error('Audience spec must have an "action" field or at least one "filter" '+a.stringify(n));var t=i.fieldComparison("gt",o.FIELDS.TIME,0),e=[],c=[];if(n.action&&(c.push(i.fieldComparison("eq",o.FIELDS.NAME,n.action.value)),n.action.type&&c.push(i.fieldComparison("eq",o.FIELDS.TYPE,n.action.type))),n.time)if("last_days"===n.time.type)c.push(i.relativeTimeComparison("lte",n.time.days));else if("range"===n.time.type){var s=i.rangeTimeComparison([n.time.start,n.time.stop]);s&&c.push(s)}else u.error("Rule builder",'Audience spec has bad "time" type',n.time.type);if(t={op:"and",args:c},n.count&&e.push({where:i.fieldComparison(n.count.comparator,"0",n.count.value),from:{select:[{field:i.aggregateField("count")}],where:t,aggregate:[i.aggregate("count")]}}),n.filters&&r.each(n.filters,(function(r){var a,u,s=i.getFieldKeyPathForSource(r.name,n.source);if(r.modifier===i.FREQUENCY_FILTERS.MOST_FREQUENT?(a=i.aggregate("count"),u=i.aggregateField("count")):r.modifier===i.RECENCY_FILTERS.MOST_RECENT&&(a=i.aggregate("max",o.FIELDS.TIME),u=i.aggregateField("max",o.FIELDS.TIME)),a){var f=s,l=i.groupField(f);e.push({where:i.fieldComparison(r.comparator,"0",r.value),from:{select:[{field:l}],where:t,groupBy:i.groupBy([f]),aggregate:[a],orderBy:[{field:u,direction:"DESC"}],limit:1}})}else c.push(i.fieldComparison(r.comparator,s,r.value))})),n.pick){if(e.length>0)throw new Error('A "pick" clause must not be specified with "count" or "most_recent", "most_frequent" modifiers'+a.stringify(n));return[l(n.pick,t,n.source)]}return e.length>0?e:[{where:t}]},i.buildFromSpecV0_2=function(n){!function(n){var t=[];if(r.isUndefined(n))throw new Error("rule is undefined");if(!r.isObject(n))throw new Error("rule is not an Object");"0.2"!==n.version&&t.push('version: not "0.2"'),n.filter&&(r.isArray(n.filter)?r.each(n.filter,(function(n,e){var r=i.validateFieldKeyPathV0_2(n.field,i.FieldPurpose.FILTER);r&&t.push("filter["+e+"]: "+r);var o=i.validateComparatorAndValue(n.comparator,n.value);o&&t.push("filter["+e+"]: "+o)})):t.push("filter: not an array"));var e=[],o=[];n.sort&&(n.reduce&&n.reduce.aggregator&&"nth"!==n.reduce.aggregator&&t.push("sort: superfluous because we can apply aggregator "+a.stringify(n.reduce.aggregator)+" to unsorted items"),r.isArray(n.sort)?r.each(n.sort,(function(n,u){var c=i.validateFieldKeyPathV0_2(n.field,i.FieldPurpose.SORT);c&&t.push("sort["+u+"]: "+c),n.field&&"frequency"===n.field[0]?e.push(n):o.push(n);var s=function(n){var t="direction "+(a.stringify(n)||String(n));if(!r.includes(["ascending","descending"],n))return t+' is not "ascending" or "descending"'}(n.direction);s&&t.push("sort["+u+"]: "+s)})):t.push("sort: not an array"),e.length&&o.length&&t.push('sort: sorting by non-["frequency"] field is pointless because we are going to sort the picked values by ["frequency"]'),e.length&&!n.pick&&t.push('sort: sorting by ["frequency"] is impossible because no values have been picked'));if(n.pick){n.reduce&&"count"===n.reduce.aggregator&&t.push('pick: superfluous because we can apply aggregator "count" to raw events');var u=i.validateFieldKeyPathV0_2(n.pick.field);u&&t.push("pick: "+u)}if(n.reduce){var c=n.reduce.aggregator,s="aggregator "+(a.stringify(c)||String(c)),f=n.reduce.n,l="index "+(a.stringify(f)||String(f));r.includes(["sum","avg","max","min","count","nth"],c)||t.push("reduce: "+s+" is unknown"),r.includes(["sum","avg","max","min"],c)&&(n.pick||t.push("reduce: "+s+" is impossible to use because no values have been picked")),"nth"===c?((!r.isNumber(f)||isNaN(f)||parseInt(f,10)!==f||f<0)&&t.push("reduce: "+l+" is not a non-negative integer (mandated by "+s+")"),n.sort||t.push('reduce: aggregator "nth" is meaningless without a specific sort order')):r.isUndefined(f)||t.push("reduce: "+l+" is defined (not mandated by "+s+")")}if(t.length)throw new Error(t.join("\n"))}(n);var t={where:{op:"and",args:r.map(n.filter||[],(function(n){return"age"===n.field[0]?i.relativeTimeComparison(n.comparator||"eq",n.value/i.MILLIS_IN_A_DAY):i.fieldComparison(n.comparator||"eq",i.convertFieldKeyPathFromSpecV0_2(n.field),n.value)}))}};if(n.reduce&&"count"===n.reduce.aggregator)return r.extend(t,{aggregate:[{op:"count",args:[{field:["*"]}]}],select:[{field:["_count_*"]}]});var e=[],o=[];if(n.sort&&(r.each(n.sort,(function(n){r.includes(["ascending","descending"],n.direction)&&(r.includes(["time","age"],n.field[0])&&o.push(n),"frequency"===n.field[0]&&e.push(n))})),o.length&&!e.length&&(t.orderBy=r.filter(r.map(o,(function(n){return"time"===n.field[0]?{field:i.convertFieldKeyPathFromSpecV0_2(["time"]),direction:"ascending"===n.direction?"ASC":"DESC"}:"age"===n.field[0]?{field:i.convertFieldKeyPathFromSpecV0_2(["time"]),direction:"ascending"===n.direction?"DESC":"ASC"}:void 0}))))),n.pick&&n.pick.field){var u=i.convertFieldKeyPathFromSpecV0_2(n.pick.field);if(n.reduce&&r.includes(["avg","max","min","sum"],n.reduce.aggregator))return r.extend(t,{aggregate:[{op:n.reduce.aggregator,args:[{field:u}]}],select:[{field:[c.generateAlias(n.reduce.aggregator,u)]}]});t=e.length?r.extend(t,{groupBy:[{field:u}],aggregate:[{op:"count",args:[{field:["*"]}]}],orderBy:[{field:["_count_*"],direction:"ascending"===e[0].direction?"ASC":"DESC"}],select:[{field:[u.join(".")]}]}):r.extend(t,{select:[{field:u}]})}if(n.reduce&&"nth"===n.reduce.aggregator){var s=n.reduce.n;if(r.isNumber(s)&&s>=0&&Number(s)===Math.floor(Number(s)))return r.extend(t,{offset:s,limit:1})}return t},i.convertFieldKeyPathFromSpecV0_2=function(n){return"tags"===n[0]&&"revenue"===n[1]?["r"]:[o.FIELDS_V0_2[n[0]]].concat(n.slice(1))},i.FieldPurpose={FILTER:"filter",SORT:"sort",PICK:"pick"},i.validateFieldKeyPathV0_2=function(n,t){var e="field "+(a.stringify(n)||String(n));if(!r.isArray(n)||!r.every(n,r.isString))return e+" is not an array of strings";if("tags"===n[0]&&n.length>2||"tags"!==n[0]&&n.length>1)return e+" includes too many strings";if("tags"===n[0]&&n.length<2)return e+" does not specify an exact tag";if(n.length<1)return e+" does not specify a top-level field";var u=r.keys(o.FIELDS_V0_2),c=["age","frequency"];return t===i.FieldPurpose.FILTER&&(u.push("age"),c=["frequency"]),t===i.FieldPurpose.SORT&&(u=["time","age","frequency"],c=["name","type","category","tags"]),r.includes(c,n[0])?e+" is not supported here":r.includes(u,n[0])?void 0:e+" is unknown"},i.validateComparatorAndValue=function(n,t){var e="comparator "+(a.stringify(n)||String(n)),i="value "+(a.stringify(t)||String(t));if(!r.isString(n)&&!r.isUndefined(n))return e+" is not a string";switch(n){case void 0:case"eq":case"is":case"contains":break;case"lt":case"gt":case"lte":case"gte":if(!r.isNumber(t))return i+" is not a number (mandated by "+e+")";break;case"in":if(!r.isArray(t))return i+" is not an array (mandated by "+e+")";break;case"between":if(!(r.isArray(t)&&2===t.length&&r.isNumber(t[0])&&r.isNumber(t[1])&&t[0]<=t[1]))return i+" is not a pair of increasing numbers (mandated by "+e+")";break;case"regex":if(!(r.isString(t)||r.isArray(t)&&2===t.length&&r.isString(t[0])&&r.isString(t[1])))return i+" is not a pattern string or a [pattern string, flags string] array (mandated by "+e+")";break;case"exists":if(!r.isUndefined(t))return i+" is not undefined (mandated by "+e+")";break;default:return e+" is unknown"}}},7512:function(n,t,e){var i=e(430),r=e(2821),o=e(3457),a=i.bind(o.log,o),u=e(2146),c=e(6457).getFieldValue,s=e(716),f=function(n,t,e){if(n.getValueOrDefault)return n.getValueOrDefault(t,e);if(!i.isArray(t))return e;var r=c(n,t);return void 0===r&&(r=e),r},l=function(n){return"string"==typeof n?n.trim().toLowerCase():n};t.clause={WHERE:"where",GROUP_BY:"groupBy",AGGREGATE:"aggregate",HAVING:"having",ORDER_BY:"orderBy",SELECT:"select",OFFSET:"offset",LIMIT:"limit",FROM:"from"},t.DEFAULT_FIELD=["*"],t.booleanOperators={eq:function(n){var t=i.map(n,l);return t[0]==t[1]},is:function(n){return n[0]===n[1]},gt:function(n){return n[0]>n[1]},lt:function(n){return n[0]<n[1]},gte:function(n){return n[0]>=n[1]},lte:function(n){return n[0]<=n[1]},"in":function(n){var t=i.map(n[1]||[],l);return i.includes(t,l(n[0]))},between:function(n){return n[1][0]<=n[0]&&n[0]<=n[1][1]},contains:function(n){var t=i.map(n,(function(n){return"string"==typeof n?n.toLowerCase():n}));return-1!==(t[0]||"").indexOf(t[1])},regex:function(n){try{var t,e;return i.isString(n[1])?(t=n[1],e="i"):(t=n[1][0]||"",e=n[1][1]||""),new RegExp(t,e).test(n[0])}catch(r){return o.error("Rules",'In operator "regex", error: '+(r.message||"invalid RegExp /"+[t,e].join("/"))),!1}},exists:function(n){return void 0!==n[0]},and:function(n){return i.every(n,(function(n){return n}))},or:function(n){return i.some(n,(function(n){return n}))},not:function(n){return!n[0]}},t.arithmeticOperators={"+":function(n){return(n[0]||0)+(n[1]||0)},"-":function(n){return(n[0]||0)-(n[1]||0)},"/":function(n){return(n[0]||0)/(n[1]||1)},"%":function(n){return(n[0]||0)%(n[1]||1)}},t.aggregateOperators={sum:function(n,e){for(var i=n[0]||t.DEFAULT_FIELD,r=0,o=0;o<e.length;o++)r+=f(e[o],i,0);return r},avg:function(n,e){if(0===e.length)return 0;for(var i=n[0]||t.DEFAULT_FIELD,r=0,o=0;o<e.length;o++)r+=f(e[o],i,0);return r/e.length},max:function(n,e){for(var i=n[0]||t.DEFAULT_FIELD,r=Number.NEGATIVE_INFINITY,o=0;o<e.length;o++)r=Math.max(r,f(e[o],i,Number.NEGATIVE_INFINITY));return r},min:function(n,e){for(var i=n[0]||t.DEFAULT_FIELD,r=Number.POSITIVE_INFINITY,o=0;o<e.length;o++)r=Math.min(r,f(e[o],i,Number.POSITIVE_INFINITY));return r},count:function(n,t){return t.length}};var d={now:function(){return u.now()}},v=function(n,e){if(e.hasOwnProperty("value"))return e.value;if(e.hasOwnProperty("field"))return f(n,e.field);if(e.hasOwnProperty("eval"))return e.eval in d?d[e.eval]():void o.error("Rules","Unknown function: "+e.eval);if(e.op){var r,a=(r=e.op)in t.booleanOperators?t.booleanOperators[r]:r in t.arithmeticOperators?t.arithmeticOperators[r]:null;if(a){var u=i.partial(v,n),c=e.args||[];return a(i.map(c,(function(n){return u(n)})),n)}o.error("Rules","Unknown operator: "+e.op)}else o.error("Rules","No operator specified: "+s.stringify(e))};t.generateAlias=function(n,t){return"_"+n+"_"+t.join(".")};t.rewrite=function(n){var e=[],r={};function a(n,u){if(i.isArray(n)&&("and"!==n[0]&&"or"!==n[0]&&"not"!==n[0]&&o.error("Rules","Unexpected operation "+n[0]+". Continuing optimistically."),n={op:n[0],args:n.slice(1)}),n.hasOwnProperty("field")||n.hasOwnProperty("value")||n.hasOwnProperty("eval"))return n;if(u&&n.op in t.aggregateOperators){var c=(n.args&&n.args[0]||{}).field||t.DEFAULT_FIELD,s=t.generateAlias(n.op,c);return s in r||(e.push({op:n.op,args:n.args}),r[s]=!0),{field:[s]}}for(var f=[],l=n.args||[],d=0;d<l.length;d++)f[d]=a(l[d],u);return{op:n.op,args:f}}var u={};n.hasOwnProperty(t.clause.WHERE)&&(u[t.clause.WHERE]=a(n[t.clause.WHERE],!1)),n.hasOwnProperty(t.clause.HAVING)&&(u[t.clause.HAVING]=a(n[t.clause.HAVING],!0)),(n.hasOwnProperty(t.clause.AGGREGATE)||e.length>0)&&(u[t.clause.AGGREGATE]=(n[t.clause.AGGREGATE]||[]).concat(e));for(var c=[t.clause.GROUP_BY,t.clause.ORDER_BY,t.clause.SELECT,t.clause.OFFSET,t.clause.LIMIT],s=0;s<c.length;s++)n.hasOwnProperty(c[s])&&(u[c[s]]=n[c[s]]);return n.hasOwnProperty(t.clause.FROM)&&(u[t.clause.FROM]=t.rewrite(n[t.clause.FROM])),u};var h=function(n,e){e=e||0;var r=[];if(n.hasOwnProperty(t.clause.WHERE)?n[t.clause.WHERE].op?n[t.clause.WHERE].op in t.booleanOperators||r.push("Non-boolean WHERE clause operator"):r.push("Missing WHERE clause operator"):r.push("Missing WHERE clause"),!n.hasOwnProperty(t.clause.HAVING)||(n[t.clause.HAVING].op?n[t.clause.HAVING].op in t.booleanOperators||r.push("Non-boolean HAVING clause operator"):r.push("Missing HAVING clause operator")),n.hasOwnProperty(t.clause.GROUP_BY)&&!n.hasOwnProperty(t.clause.AGGREGATE)&&r.push("No AGGREGATE clause specified with GROUP_BY clause"),n.hasOwnProperty(t.clause.SELECT)){var o=n[t.clause.SELECT];if(i.isArray(o))for(var a=0;a<o.length;a++)o[a].op&&o[a].op in t.aggregateOperators&&r.push('In SELECT clause, aggregate operator "'+o[a].op+'" specified in selector at index '+a);else r.push("SELECT clause must be an array")}if(n.hasOwnProperty(t.clause.OFFSET)){var u=n[t.clause.OFFSET];(!i.isNumber(u)||Number(u)<0||Number(u)!==Math.floor(Number(u)))&&r.push("OFFSET must be a non-negative integer")}if(n.hasOwnProperty(t.clause.LIMIT)){var c=n[t.clause.LIMIT];(!i.isNumber(c)||Number(c)<0||Number(c)!==Math.floor(Number(c)))&&r.push("LIMIT must be a non-negative integer")}return e>0&&(r=i.map(r,(function(n){return"Sub-rule "+e+": "+n}))),n.hasOwnProperty(t.clause.FROM)&&(r=r.concat(h(n[t.clause.FROM],e+1))),r},p=function(n,e){var r,u,c,l=e;if(n.hasOwnProperty(t.clause.FROM)&&(o.debug("Evaluating FROM clause:",n[t.clause.FROM]),l=p(n[t.clause.FROM],l),o.debug("Results after FROM:",l)),o.debug("Evaluating WHERE clause:",n[t.clause.WHERE]),l=i.filter(l,(function(e){return v(e,n[t.clause.WHERE])})),o.debug("Results after WHERE:",l),n.hasOwnProperty(t.clause.AGGREGATE)){o.debug("Evaluating AGGREGATE clause:",n[t.clause.AGGREGATE]);var d=function(n,t){var e={};if(void 0===n||!i.isArray(n)||0===n.length)return e["*"]={fieldValues:{},events:t},e;for(var r=i.map(n,(function(n){return n.field})),o=0;o<t.length;o++){for(var a=t[o],u=[],c={},l=0;l<r.length;l++){var d=r[l],v=f(a,d),h=d.join(".");c[h]=v,u.push(encodeURIComponent(h)+"="+encodeURIComponent(s.stringify(v)))}var p=u.join("&");e.hasOwnProperty(p)||(e[p]={fieldValues:c,events:[]}),e[p].events.push(a)}return e}(n[t.clause.GROUP_BY],l);l=function(n,t){var e=[];return i.each(n,(function(n,r){var o=i.extend({},n.fieldValues),a=t[r]||{};i.extend(o,a),e.push(o)})),e}(d,(r=n[t.clause.AGGREGATE],u=d,c={},i.each(u,(function(n,e){c[e]={};for(var i=0;i<r.length;i++){var a=r[i],u=a.op;if(u in t.aggregateOperators){var s=(a.args&&a.args[0]||{}).field||t.DEFAULT_FIELD,f=t.generateAlias(u,s),l=t.aggregateOperators[u]([s],n.events);c[e][f]=l}else o.error("Rules","Unknown aggregate operator "+u)}})),c)),o.debug("Results after AGGREGATE:",l)}n.hasOwnProperty(t.clause.HAVING)&&(o.debug("Evaluating HAVING clause:",n[t.clause.HAVING]),l=i.filter(l,(function(e){return v(e,n[t.clause.HAVING])})),o.debug("Results after HAVING:",l)),n.hasOwnProperty(t.clause.ORDER_BY)&&(o.debug("Evaluating ORDER_BY clause:",n[t.clause.ORDER_BY]),l=function(n,t){return i.isArray(n)?0===n.length?t:t.sort((function(t,e){for(var i=0;i<n.length;i++){var r=n[i],o="ASC"===(r.direction||"ASC")?1:-1,a=r.field,u=f(t,a,0),c=f(e,a,0);if(u<c)return-o;if(u>c)return o}return 0})):(a("Rules","groupBy rule must be an array"),t)}(n[t.clause.ORDER_BY],l),o.debug("Results after ORDER_BY:",l));var h,g=0;return n.hasOwnProperty(t.clause.OFFSET)&&(o.debug("Evaluating OFFSET clause:",n[t.clause.OFFSET]),g=Number(n[t.clause.OFFSET])),n.hasOwnProperty(t.clause.LIMIT)&&(o.debug("Evaluating LIMIT clause:",n[t.clause.LIMIT]),h=g+Number(n[t.clause.LIMIT])),(g>0||!i.isUndefined(h))&&(l=l.slice(g,h),o.debug("Results after OFFSET/LIMIT:",l)),n.hasOwnProperty(t.clause.SELECT)&&(o.debug("Evaluating SELECT clause:",n[t.clause.SELECT]),l=function(n,t){return i.map(t,(function(t){return i.map(n,(function(n){return v(t,n)}))}))}(n[t.clause.SELECT],l),o.debug("Results after SELECT:",l)),l};t.execute=function(n,e){n=t.rewrite(n),o.shouldLog(r.LogLevel.DEBUG)&&o.groupCollapsed("Evaluating Behavioral Rule"),o.debug("Rule:",n,s.stringify(n)),o.debug("Events:",e);var i=h(n);if(i.length>0)throw new Error("Rule "+s.stringify(n)+" has violations: "+i.join("\n"));var a=p(n,e);return o.debug("Rule result:",a),o.shouldLog(r.LogLevel.DEBUG)&&o.groupEnd(),a},t.isSatisfied=function(n,e){try{return t.execute(n,e).length>0}catch(i){return o.error("Rules","Error "+i.toString()+" while evaluating rule "+s.stringify(n)),!1}}},4402:function(n,t,e){n.exports=function(n){n.registerDependency("sources/browser_id",e(6003)),n.registerVisitorProfileProvider(e(7691)),n.registerVisitorProfileProvider(e(5114)),n.registerAudienceMatcher("browser_version",e(5693))}},5693:function(n,t,e){var i=e(8613).y;n.exports={fieldsNeeded:["browserVersion","browserId"],match:function(n,t){var e=t.value,r=n.browserId,o=n.browserVersion;if(0===e.indexOf(r)){var a=e.substr(r.length);return 0===i(o,a)}return!1}}},7691:function(n){n.exports={provides:"browserId",shouldTrack:!0,isSticky:!0,getter:["sources/browser_id",function(n){return n.getId()}]}},5114:function(n){n.exports={provides:"browserVersion",getter:["sources/browser_id",function(n){return n.getVersion()}]}},6003:function(n,t,e){var i=e(9747);t.getId=function(){return i.get().browser.id},t.getVersion=function(){return i.get().browser.version}},4826:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(2331)),n.registerAudienceMatcher("campaign",e(5094))}},5094:function(n,t,e){var i=e(95);n.exports={fieldsNeeded:["campaign"],match:function(n,t){return i.hasMatch(t.value,t.match,n.campaign)}}},2331:function(n,t,e){var i=e(4221);n.exports={provides:"campaign",shouldTrack:!0,isSticky:!0,getter:[function(){return i.getQueryParamValue("utm_campaign")}]}},6946:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(7204)),n.registerAudienceMatcher("cookies",e(2687))}},2687:function(n,t,e){var i=e(95);n.exports={fieldsNeeded:["cookies"],match:function(n,t){var e=t.name,r=t.value,o=t.match,a=n.cookies[e];return i.hasMatch(r,o,a)}}},7204:function(n,t,e){var i=e(430),r=e(6113),o=e(4748).get("stores/audience_data");n.exports={provides:"cookies",isLazy:!0,getter:[function(){var n=r.getAll(),t=o.getFeaturesNeeded("cookies");return i.reduce(n,(function(n,e,r){return i.has(t,r)&&(n[r]=e),n}),{})}]}},5422:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(8841));var t=e(7933);n.registerAudienceMatcher("custom_attribute",t),n.registerAudienceMatcher("custom_dimension",t)}},7933:function(n,t,e){var i=e(430),r=e(95);t.match=function(n,t){var e;return n.custom&&(e=n.custom[t.name]),i.isObject(e)&&(e=e.value),r.hasMatch(t.value,t.match,e)}},8841:function(n,t,e){var i=e(430),r=e(2821),o=e(3457),a=e(4748).get("stores/dimension_data");n.exports={provides:"custom",attributionType:r.AttributionTypes.LAST_TOUCH,restorer:function(n){return i.reduce(n,(function(n,t,e){var r=e,u=a.getByApiName(e),c=a.getById(e);return i.isObject(t)?(!t.id&&u&&(c=u,r=u.id,i.extend(t,{id:c.segmentId||c.id})),!t.name&&c&&c.apiName&&(t.name=c.apiName),t.id||c||o.warn("Unable to determine ID for custom attribute:",e,"; segmentation is disabled."),n[r]=t,n):(o.error('Unable to restore custom attribute "'+e+'" because value is not an object'),n)}),{})},shouldTrack:!0}},170:function(n,t,e){n.exports=function(n){n.registerDependency("sources/device",e(7576)),n.registerVisitorProfileProvider(e(672)),n.registerAudienceMatcher("device",e(3616))}},3616:function(n){n.exports={fieldsNeeded:["device"],match:function(n,t){return n.device===t.value}}},672:function(n){n.exports={provides:"device",shouldTrack:!0,isSticky:!0,getter:["sources/device",function(n){return n.getDevice()}]}},7576:function(n,t,e){var i=e(9747);t.getDevice=function(){var n=i.get().device;return"unknown"!==n.model?n.model:"tablet"===n.type?"tablet":n.isMobile?"mobile":"desktop"}},3388:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(7246)),n.registerAudienceMatcher("device_type",e(5332))}},5332:function(n){n.exports={fieldsNeeded:["device_type"],match:function(n,t){return n.device_type===t.value}}},7246:function(n,t,e){var i=e(9747);n.exports={provides:"device_type",shouldTrack:!0,isSticky:!0,getter:[function(){var n=i.get().device;switch(n.type){case"mobile":return"phone";case"tablet":case"desktop_laptop":return n.type;default:return"other"}}]}},7041:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(6181)),n.registerAudienceMatcher("query",e(1666))}},1666:function(n,t,e){var i=e(430),r=e(95);t.fieldsNeeded=["queryParams"],t.match=function(n,t){var e=i.find(n.queryParams,(function(n){return n[0]===t.name}));return r.hasMatch(t.value,t.match,e?e[1]:null)}},6181:function(n,t,e){var i=e(4221);n.exports={provides:"queryParams",getter:[function(){return i.getQueryParams()}]}},7340:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(8716)),n.registerAudienceMatcher("referrer",e(3406))}},3406:function(n,t,e){var i=e(9842);t.fieldsNeeded=["referrer"],t.match=function(n,t){return null!==n.referrer&&i(n.referrer,t)}},8716:function(n,t,e){var i=e(6051),r=e(8424);n.exports={provides:"referrer",shouldTrack:!0,isSticky:!0,getter:[function(){var n=r.getReferrer()||i.getReferrer();return""===n&&(n=null),n}]}},9434:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(5029)),n.registerAudienceMatcher("source_type",e(6788))}},6788:function(n,t,e){var i=e(95);t.fieldsNeeded=["source_type"],t.match=function(n,t){return i.hasMatch(t.value,t.match,n.source_type)}},5029:function(n,t,e){var i=e(4221),r=e(6051),o=e(8424),a=e(3713),u=["google\\.\\w{2,3}(\\.\\w{2,3})?/(search|url)","bing\\.\\w{2,3}(\\.\\w{2,3})?/(search|url)","yahoo\\.\\w{2,3}(\\.\\w{2,3})?/search","baidu\\.\\w{2,3}(\\.\\w{2,3})?/","https://(www)?\\.google\\..*?/?$","https://search\\.yahoo\\..*?/?$","https://(www)?\\.bing\\..*?/?$"];n.exports={provides:"source_type",shouldTrack:!0,isSticky:!1,getter:[function(){return function(n,t){var e,c=n(),s=function(){if(i.getQueryParamValue("utm_source")||i.getQueryParamValue("gclid")||i.getQueryParamValue("otm_source"))return"campaign";for(var n=o.getReferrer()||r.getReferrer(),t=0;t<u.length;t++){var e=u[t];if(n.match(e))return"search"}return n&&a.guessDomain(n)!==a.guessDomain(i.getUrl())?"referral":"direct"}();e=s,(!c||"direct"!==e)&&t(s)}}]}},68:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(5391)),n.registerVisitorProfileProvider(e(4420)),n.registerAudienceMatcher("time_and_day",e(5714))}},5714:function(n,t,e){var i=e(7552);t.fieldsNeeded=["currentTimestamp"],t.match=function(n,t){return i.test(t.value,new Date(n.currentTimestamp))}},5391:function(n,t,e){var i=e(2146);n.exports={provides:"currentTimestamp",shouldTrack:!0,isLazy:!0,getter:[function(){return i.now()}]}},4420:function(n){n.exports={provides:"offset",shouldTrack:!0,isLazy:!0,getter:[function(){return(new Date).getTimezoneOffset()}]}},7552:function(n,t,e){var i=e(430);function r(n){var t=n.split(":");if(2!==t.length)throw new Error("optly.timeAndDayInterval.timeStringToMinutes: Invalid time string "+n);return 60*parseInt(t[0],10)+parseInt(t[1],10)}t.test=function(n,t){var e=function(n){var t=n.split("_");if(3!==t.length)throw new Error("Invalid time and day string "+n);var e=t[2].split(",");return{start_time:t[0],end_time:t[1],days:e}}(n),o=r(e.start_time),a=r(e.end_time),u=60*t.getHours()+t.getMinutes(),c=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"][t.getDay()];return u>=o&&u<=a&&i.includes(e.days,c)}},6661:function(n,t,e){n.exports=function(n){n.registerVisitorProfileProvider(e(1529))}},1529:function(n){n.exports={provides:"visitorId",getter:["stores/visitor_id",function(n){return n.getRandomId()}]}},8055:function(n,t,e){var i=e(716),r=e(3457),o=e(2341),a=e(6216),u=e(1186),c=e(3473),s=e(4748).get("stores/rum"),f="google_analytics_4",l="gtag",d="dataLayer",v="optimizely_decision",h="experience_impression",p=function(n,t){return a.pollFor((function(){return function(n){var t=n.getGlobal(l);return t||null}(c)}),200,50).then((function(e){r.log("GA4 Integration: gtag finally exists, sending now."),s.getSampleRum()&&o.timeEnd("gtagReady"),r.debug("GA4 Integration: calling ga4 with data: "+i.stringify(n)),e("event",h,n),r.debug("GA4 Integration: calling ga4 with custom event data: "+i.stringify(t)),e("event",v,t)}))};var g=function(n,t){var e=c.getGlobal(d);r.debug("GA4 Integration: found dataLayer object "+e),e||(r.debug("GA4 Integration: dataLayer object dataLayer is empty, initializing it"),c.setGlobal(d,[]),e=c.getGlobal(d)),r.log("GA4 Integration: attempting push to dataLayer");try{var o=Object.assign({event:h},n);r.debug("GA4 Integration: pushing data to GTM: "+i.stringify(o)),e.push(o);var a=Object.assign({event:v},t);r.debug("GA4 Integration: pushing custom data to GTM: "+i.stringify(a)),e.push(a)}catch(u){r.warn("GA4 Integration: Push to dataLayer failed: "+u)}return Promise.resolve()},m={preRedirectPolicy:u.PreRedirectPolicies.PERSIST_BEFORE_REDIRECT,postRedirectPolicy:u.PostRedirectPolicies.TRACK_IMMEDIATELY,nonRedirectPolicy:u.NonRedirectPolicies.TRACK_IMMEDIATELY,trackLayerDecision:function(n){var t=n.integrationSettings;if(t&&t[f]){if(n.experimentId&&n.variationId){var e="on"===t[f].is_using_gtm;r.debug("GA4 Integration: is using GTM: "+e);var i,o,a="equal_priority"===n.layerPolicy;r.debug("GA4 Integration: is personalization campaign: "+a),a?(i="OPT-"+n.layerId+"("+n.layerName+")-"+n.experimentId+"("+n.experimentName+")-"+n.variationId+"("+n.variationName+")",o={Campaign:n.layerName+" ("+n.layerId+")",Variation:n.variationName+" ("+n.variationId+")",Holdback:n.isLayerHoldback}):(i="OPT-"+n.experimentId+"("+n.experimentName+")-"+n.variationId+"("+n.variationName+")",o={Experiment:n.experimentName+" ("+n.experimentId+")",Variation:n.variationName+" ("+n.variationId+")",Holdback:n.isLayerHoldback});var u={exp_variant_string:i,Holdback:n.isLayerHoldback};return e?g(u,o)["catch"]((function(n){r.warn("Tracker for GTM ",f,"failed:",n)})):p(u,o)["catch"]((function(n){r.warn("Tracker for ",f,"failed:",n)}))}r.debug("GA4 Integration: empty experiment or variation ID, exiting")}else r.debug("GA4 Integration: did not find vendor "+f+" in integration settings, exiting")},serializeSettings:i.stringify,deserializeSettings:i.parse};n.exports=function(n){n.registerAnalyticsTracker("google_analytics_4",m)}},7447:function(n,t,e){var i=e(430),r=e(6397),o=e(2894),a=e(1664),u=e(1364).U,c=e(716),s=e(3457),f=e(1186),l=e(9867),d=e(3473),v=e(667),h=e(4748),p=(e(6051),e(1564)),g=e(552),m=e(4407),_=h.get("stores/global"),w=h.get("stores/tracker_optimizely"),y=t.Error=u("OptimizelyTrackerError"),b="client_activation",E="campaign_activated",I="view_activated",A={revenue:{validate:x,sanitize:Math.floor,excludeFeature:!0},quantity:{validate:x,sanitize:Math.floor,excludeFeature:!0},value:{validate:x,sanitize:i.identity}},T="AUTO",S=[function(){return function(n){M(function(n){return i.extend({entity_id:n.pageId,key:n.pageApiName,timestamp:n.timestamp,uuid:n.eventId,type:I},D(n.eventTags))}(n),n.userFeatures,$(n.layerStates))}}],R=[function(){return function(n){!function(n){var t=i.isNull(_.getAnonymizeIP())?void 0:_.getAnonymizeIP(),e={account_id:n.accountId,anonymize_ip:t,client_name:n.clientName,client_version:n.clientVersion,project_id:n.projectId,visitors:[]};e.revision=n.revision,e.enrich_decisions=!0;var r={session_id:V(n.sessionId),visitor_id:n.visitorId,attributes:[],snapshots:[]},o=$(n.layerStates);m.dispatch(a.REGISTER_TRACKER_VISITOR,{data:e,visitor:r,decisions:o}),K()}(n),M(function(n){return{entity_id:null,type:b,uuid:n.eventId,timestamp:n.timestamp}}(n),n.userFeatures,$(n.layerStates))}}],k=[function(){return function(n){var t;M((t=n,i.extend({entity_id:t.eventEntityId,key:t.eventApiName,timestamp:t.timestamp,uuid:t.eventId,type:t.eventCategory,properties:C(t.eventProperties)},D(t.eventTags))),n.userFeatures,$(n.layerStates))}}],N=[function(){return function(n){var t;M((t=n,i.extend({entity_id:t.eventEntityId,key:t.eventApiName,timestamp:t.timestamp,uuid:t.eventId,type:t.eventCategory},D(t.eventTags))),n.userFeatures,$(n.layerStates))}}];function D(n){var t=function(n,t,e){try{O(t),n[e]=t}catch(i){r.emitError(new y("Bad value for eventTags["+e+"]: "+i.message))}return n},e=i.keys(A),o=i.omit(n,e),a=i.pick(n,e),u=i.reduce(o,t,{}),c=i.reduce(a,(function(n,e,i){var o=A[i];o.excludeFeature||t(u,e,i);try{o.validate(e),n[i]=o.sanitize(e),u[i]=n[i]}catch(a){r.emitError(new y("Bad value for eventMetrics["+i+"]: "+a.message))}return n}),{});return c.tags=u,c}function C(n){if(i.keys(n).length<=15)return n;var t={},e={},r=0;for(var o in n)r<15?t[o]=n[o]:e[o]=n[o],r++;return s.log("Custom event has more than 15 properties. The following properties were not pushed",e),t}function O(n){if(null==n)throw new Error("Feature value is null");if("object"==typeof n){var t;try{t=c.stringify(n)}catch(e){}throw new Error('Feature value is complex: "'+t)}}function x(n){if(null==n)throw new Error("Metric value is null");if(!i.isNumber(n))throw new Error("Metric value is not numeric")}function P(n){return i.reduce(n,(function(n,t){try{O(t.value),n.push({entity_id:t.id||null,key:t.name,type:t.type,value:t.value})}catch(e){s.warn("Error evaluating user feature",t,e)}return n}),[])}function M(n,t,e){m.dispatch(a.REGISTER_TRACKER_EVENT,{event:n,decisions:e}),L(t),K()}function L(n){var t=P(n);m.dispatch(a.UPDATE_TRACKER_VISITOR_ATTRIBUTES,{attributes:t})}function V(n){return T}function F(){if(w.canSend()){var n=w.hasEventsToSend(),t=w.hasPreviousBatchesToSend();n||t?(t&&(i.each(w.getPreviousBatches(),U),m.dispatch(a.RESET_TRACKER_PREVIOUS_BATCHES)),n&&(m.dispatch(a.FINALIZE_BATCH_SNAPSHOT),U(w.getEventBatch()),m.dispatch(a.RESET_TRACKER_EVENTS))):s.debug("Not sending events because there are no events to send")}else s.debug("Not sending events (holding)")}function U(n){s.debug("Sending ticket:",n);var t=o.generate();v.retryableRequest({url:"https://logx.optimizely.com/v1/events",method:"POST",data:z(n)},t)}function z(n){return i.extend({},i.pick(n,["account_id","anonymize_ip","client_name","client_version","enrich_decisions","project_id","revision"]),{visitors:i.map(n.visitors,G)})}function G(n){return{visitor_id:n.visitor_id,session_id:T,attributes:i.map(n.attributes,j),snapshots:i.map(n.snapshots,B)}}function j(n){return Y(n,{entity_id:"e",key:"k",type:"t",value:"v"})}function B(n){var t=n.events;return t=function(n){var t=i.reduce(n,(function(n,t){var e;if(n[e=t.type===I&&i.isEmpty(t.tags)&&i.isEmpty(i.pick(t,i.keys(A)))?t.type:t.uuid]){var r=n[e].timestamp;t.timestamp>r&&(r=t.timestamp),n[e]=i.extend({},n[e],{key:n[e].key+"-"+(t.key||""),entity_id:n[e].entity_id+"-"+t.entity_id,timestamp:r})}else n[e]=t;return n}),{});return i.values(t)}(t),{activationTimestamp:_.getActivationTimestamp(),decisions:i.map(n.decisions,q),events:i.map(t,H)}}function q(n){return Y(n,{campaign_id:"c",experiment_id:"x",is_campaign_holdback:"h",variation_id:"v"})}function H(n){return n.key===E&&(n.type=E,delete n.key),Y(n,{entity_id:"e",key:"k",quantity:"q",revenue:"$",tags:"a",properties:"p",timestamp:"t",uuid:"u",value:"v",type:"y"})}function Y(n,t){return i.reduce(n,(function(n,e,i){return i in t&&(n[t[i]||i]=e),n}),{})}function K(){if(w.shouldBatch()){if(!w.isPolling()){d.setTimeout((function n(){F(),w.isPolling()&&d.setTimeout(n,1e3)}),1e3),m.dispatch(a.SET_TRACKER_POLLING,!0),d.setTimeout((function(){m.dispatch(a.SET_TRACKER_BATCHING,!1),m.dispatch(a.SET_TRACKER_POLLING,!1)}),1e4)}}else F()}function $(n){return i.map(n,(function(n){return{campaign_id:n.layerId,experiment_id:n.decision.experimentId,variation_id:n.decision.variationId,is_campaign_holdback:n.decision.isLayerHoldback}}))}function W(){var n=w.getPersistableState();if(n)try{s.debug("Persisting pending batch:",n),l.persistTrackerOptimizelyData(n),m.dispatch(a.SET_TRACKER_DIRTY,!1)}catch(t){s.debug("Failed to persist pending batch:",t)}}var X={trackLayerDecision:function(n){n.timing===f.TrackLayerDecisionTimingFlags.postRedirectPolicy?function(n){var t=P(n.userFeatures),e={account_id:n.accountId,anonymize_ip:n.anonymizeIP,client_name:n.clientName,client_version:n.clientVersion,project_id:n.projectId,visitors:[{session_id:V(n.sessionId),visitor_id:n.visitorId,attributes:t,snapshots:[{decisions:[{campaign_id:n.layerId,experiment_id:n.experimentId,variation_id:n.variationId,is_campaign_holdback:n.isLayerHoldback}],events:[{uuid:n.decisionId,entity_id:n.layerId,timestamp:n.timestamp,type:E}]}]}]};m.dispatch(a.REGISTER_PREVIOUS_BATCH,e),K()}(n):function(n){var t={entity_id:n.layerId,type:E,uuid:n.decisionId,timestamp:n.timestamp};m.dispatch(a.REGISTER_TRACKER_DECISION,{decisionEvent:t,decisions:$(n.layerStates)}),L(n.userFeatures),K()}(n)},postRedirectPolicy:f.PostRedirectPolicies.TRACK_AFTER_SYNC,nonRedirectPolicy:f.NonRedirectPolicies.TRACK_IMMEDIATELY,onPageActivated:S,onClientActivation:R,onClickEvent:N,onCustomEvent:k};n.exports=function(n){n.registerAnalyticsTracker("optimizely",X),p.on({filter:{type:g.TYPES.ANALYTICS,name:"sendEvents"},handler:function(){m.dispatch(a.SET_TRACKER_SEND_EVENTS,!0),w.isPolling()||F()}}),p.on({filter:{type:g.TYPES.ANALYTICS,name:"holdEvents"},handler:function(){m.dispatch(a.SET_TRACKER_SEND_EVENTS,!1)}}),m.dispatch(a.SET_TRACKER_SEND_EVENTS,!0);var t=p.on({filter:{type:"lifecycle",name:"activated"},handler:function(){w.observe(W),p.off(t)}})}},8185:function(n,t,e){n.exports=function(n){n.registerViewProvider(e(4308)),n.registerViewMatcher("url",e(2006))}},2006:function(n,t,e){var i=e(9842);n.exports={fieldsNeeded:["url"],match:function(n,t){return i(n.url,t)}}},4308:function(n,t,e){var i=e(4221);n.exports={provides:"url",getter:[function(){return i.getUrl()}]}},7254:function(n,t,e){var i=e(430),r=e(4748),o=e(1564),a=e(552),u=e(3473),c=r.get("stores/directive"),s="optimizelyPreview",f=function(n){u.getGlobal(s).push(n)};t.initialize=function(n){c.isSlave()&&function(n){var t=!1;if(i.isArray(window.optimizely)&&i.each(window.optimizely,(function(e){i.isArray(e)&&"verifyPreviewProject"===e[0]&&String(e[1])===n&&(t=!0)})),!t)throw new Error("Preview projectId: "+n+" does not match expected")}(n),o.on({filter:{type:a.TYPES.ANALYTICS,name:"trackEvent"},handler:f}),o.on({filter:{type:a.TYPES.LIFECYCLE,name:"viewActivated"},handler:f}),o.on({filter:{type:a.TYPES.LIFECYCLE,name:"layerDecided"},handler:f}),o.on({filter:{type:"error"},publicOnly:!0,handler:f})},t.setupPreviewGlobal=function(){u.getGlobal(s)||u.setGlobal(s,[])},t.pushToPreviewGlobal=function(n){f(n)}},1632:function(n,t,e){var i=e(430),r=e(2894),o=e(1164),a=e(5355),u=e(2146),c=e(6051),s=e(4407),f=e(4513).mM,l=e(3457),d=e(2509),v=e(7322).Promise,h=e(9867),p=e(3473),g=e(667),m=e(1664),_=e(2821),w=e(4748),y=w.get("stores/async_request"),b=w.get("stores/client_metadata"),E=w.get("stores/global"),I=w.get("stores/rum"),A=w.get("stores/performance"),T=w.get("stores/xdomain"),S=w.get("stores/view_data"),R=e(5968),k="https://rum.optimizely.com/rum",N="1.0";function D(n){return i.isEmpty(n)?v.resolve():(t=function(){return g.request({url:k,method:"POST",data:n,withCredentials:!0}).then((function(n){return o.resolveRequest("RUM_FIRST_BEACON",n),n}))["catch"]((function(n){throw l.error("POST to client-rum failed:",n),o.rejectRequest("RUM_FIRST_BEACON",n),n}))},(e=y.getPromise("RUM_FIRST_BEACON"))?e.then(t):o.makeAsyncRequest("RUM_FIRST_BEACON",t));var t,e}function C(){try{return!c.querySelector("body")}catch(n){return null}}function O(){var n=p.getGlobal("performance"),t=n?n.timing:{},e=A.getMarks()||{},r=I.getApiData(),o=I.getDOMObservationData(),a=R.get("state").getActiveExperimentIds(),u=I.getFeaturesNeededData(),s=c.parseUri(I.getScriptSrc()),l=I.getRumData()||{},v=l.extras||{};i.assign(v,{apiCalls:r,DOMObservationData:o,paintTimings:P(),activeExperimentIds:a,numPages:S.getNumberOfPages(),snippet:{scheme:s.protocol.slice(0,-1),host:s.host,path:s.pathname},networkInfo:x(),experimental:E.getExperimental(),featuresNeeded:u,beacon:{cjsOnload:!0}});var g=p.getGlobal("Prototype");g&&!i.isUndefined(g.Version)&&(v.prototypeJS=g.Version);var m=!1;m=!0;var _=T.getFrames();_.length&&(v.xdFramesLoaded=_.length);var w={id:I.getRumId(),v:N,project:E.getSnippetId()||E.getProjectId(),navigationTimings:t,userTimings:e,xd:m,apis:i.keys(r),extras:v,sampleRate:l.sampleRate};(function(){var n=f.keys(),t=i.filter(i.map(n,(function(n){var t=h.getStorageKeyFromKey(n);return t?{key:n,isForeign:h.isForeignKey(n),category:t,size:n.length+f.getItem(n).length}:null}))),e=i.reduce(t,(function(n,t){var e=t.key,i=h.getIdFromKey(e);return i?((t.isForeign?n.foreign:n.local)[i]=!0,n):n}),{local:{},foreign:{}}),r=i.chain(t).filter({isForeign:!0}).reduce((function(n,t){return n[t.key.split("_")[0]]=!0,n}),{}).value(),o={local:0,foreign:0},a={local:{},foreign:{}};i.forEach(t,(function(n){var t=n.isForeign?"foreign":"local";o[t]+=n.size,a[t][n.category]||(a[t][n.category]=0),a[t][n.category]+=n.size}));var u={numKeys:f.allKeys().length,sizeKeys:f.allKeys().toString().length,sizeValues:f.allValues().toString().length,idCounts:{local:i.keys(e.local).length,foreign:i.keys(e.foreign).length},foreignOriginCount:i.keys(r).length,byteTotals:o,byteTotalsByCategory:a};return d.estimateStorage().then((function(n){return i.assign(u,{storageEstimate:n})}))})().then((function(n){D(i.assign(w,{lsMetrics:n}))}))}function x(){var n=p.getGlobal("navigator");if(n&&n.connection)return i.pick(n.connection,["downlink","rtt","effectiveType"])}function P(){var n=p.getGlobal("performance");if(n)try{var t=n.getEntriesByType("paint");if(i.isEmpty(t))return;return i.reduce(t,(function(n,t){return n[t.name]=Math.round(t.startTime),n}),{})}catch(e){return}}t.initialize=function(){var n,t=r.generate().replace(/-/g,"");n=Math.random()<.01;var e=function(){var n=c.getCurrentScript();if(n)return n.src}();s.dispatch(m.SET_RUM_DATA,{id:t,RumHost:k,inRumSample:n,src:e,data:{id:t,sync:C(),timebase:u.now(),sampleRate:.01,url:e,extras:{initialDOMState:c.getReadyState()}}})},t.queueBeacons=function(){return I.getSampleRum()?(function(){try{p.getGlobal("requestAnimationFrame")((function(){var n=I.getRumData().timebase;s.dispatch(m.SET_RUM_DATA,{data:{render:u.now()-(n||0)}})}))}catch(n){return}}(),c.isLoaded()?p.setTimeout(O,3e3):p.addEventListener("load",O),new v((function(n,t){p.setTimeout((function(){(function(){!function(){var n={id:I.getRumId(),v:N,account:E.getAccountId(),project:E.getSnippetId()||E.getProjectId(),snippet:E.getSnippetId(),revision:E.getRevision(),clientVersion:b.getClientVersion(),hasSlave:!1,wxhr:!0,extras:{}},t=h.getPersistedBehaviorEventCount(),e=a.getEventCount();n.numBehaviorEvents=e;var r=e-t;i.extend(n.extras,{behaviorEventCountDiff:r,behaviorEventCountDecreased:r<0}),i.assign(n,function(){var n=p.getGlobal("performance");if(!n)return;var t,e=I.getScriptSrc();try{if(e){l.debug("Using derived script src: ",e);var r=n.getEntriesByName(e);r.length>0&&(t=r[0])}if(!t){var o=/\/\/[^.]+\.optimizely\.(com|test)\/(js|api\/client)\/[\d]+\.js/gi;l.debug("Scanning resource timing entries with regex");var a=n.getEntriesByType("resource");t=i.find(a,(function(n){return o.test(n.name)}))}if(t)return i.mapValues(_.ResourceTimingAttributes,(function(n,e){var i=t[e];return"number"==typeof i?Math.round(1e3*(i||0))/1e3:"serverTiming"===e?i||[]:void 0}))}catch(u){return}}(),A.getDurationsFor(i.values(_.RUMPerformanceTimingAttributes))),s.dispatch(m.SET_RUM_DATA,{data:n})}();var n=I.getRumData(),t=A.getMarks()||{};return n.extras=n.extras||{},n.extras.beacon={cjsTimeout:!0},n.userTimings=t,D(n=i.pickBy(n,(function(n){return!i.isUndefined(n)})))})().then(n,t)}),3e3)}))["catch"]((function(n){l.warn("RUM / Error sending data:",n)}))):v.resolve()}},2016:function(){}},__webpack_module_cache__={};function __webpack_require__(n){var t=__webpack_module_cache__[n];if(t!==undefined)return t.exports;var e=__webpack_module_cache__[n]={id:n,loaded:!1,exports:{}};return __webpack_modules__[n].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.amdO={},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),__webpack_require__.nmd=function(n){return n.paths=[],n.children||(n.children=[]),n};var __webpack_exports__={};!function(){try{!function(){var n=function(n){var t=[__webpack_require__(6661)];t.push(__webpack_require__(8838)),t.push(__webpack_require__(1468)),t.push(__webpack_require__(4350)),t.push(__webpack_require__(8340)),t.push(__webpack_require__(4402)),t.push(__webpack_require__(4826)),t.push(__webpack_require__(6946)),t.push(__webpack_require__(5422)),t.push(__webpack_require__(170)),t.push(__webpack_require__(3388)),t.push(__webpack_require__(7041)),t.push(__webpack_require__(7340)),t.push(__webpack_require__(9434)),t.push(__webpack_require__(68)),t.push(__webpack_require__(8055)),t.push(__webpack_require__(7447)),t.push(__webpack_require__(8185)),t.push(__webpack_require__(9590)),t.push(__webpack_require__(6114)),t.push(__webpack_require__(6221)),t.push(__webpack_require__(7205)),f.initializePlugins(t)};window.performance&&window.performance.mark&&window.performance.mark("optimizely:blockBegin"),__webpack_require__(1632).initialize();var t=__webpack_require__(2341);t.time("gtagReady");var e=__webpack_require__(3457),i=__webpack_require__(4748);__webpack_require__(8701);var r=i.get("stores/directive");if(!__webpack_require__(667).isCORSSupported())throw new Error("CORS is not supported on this browser, aborting.");var o,a=__webpack_require__(8905),u=__webpack_require__(1299),c=__webpack_require__(2538),s={"accountId": "19960974376", "namespace": "24511550181", "revision": "2182", "anonymizeIP": true, "enableForceParameters": false, "experimental": {"trimPages": true}, "projectId": "24511550181", "layers": [{"changes": null, "id": "30062630820", "name": "[CONV] [LIVE] TAF 4.14", "commitId": "30466750150", "groupId": null, "holdback": 5000, "activation": {}, "integrationSettings": {"google_analytics_4": {"is_using_gtm": "on"}}, "integrationStringVersion": 2, "experiments": [{"audienceIds": ["and", "25495690224"], "audienceName": "[CONV] CV Experiments exclusion", "changes": null, "id": "30070830346", "integrationSettings": null, "variations": [{"id": "30110420126", "name": "Control", "actions": []}, {"id": "30086500507", "name": "Variation 1", "actions": [{"viewId": "29536590483", "changes": [{"id": "6437d887091c4725a4beed3122a8c03c", "type": "append", "selector": "head", "value": "<style>.secondary-audience,\n.open-access-banner,\ndiv[aria-label=\"Trending Research\"],\n.featured-collections {\n\tdisplay: none !important;\n}</style>", "dependencies": []}]}]}], "weightDistributions": [{"entityId": "30110420126", "endOfRange": 5000}, {"entityId": "30086500507", "endOfRange": 10000}], "name": "[CONV] [LIVE] TAF 4.14", "bucketingStrategy": null, "experimentMetadata": {"allocationPolicy": "manual", "layerId": "30062630820"}}], "policy": "single_experiment", "viewIds": ["29536590483"], "weightDistributions": null, "decisionMetadata": null}, {"changes": [{"id": "bb412951c30d4b6f8528f4017b8eee01", "type": "custom_code", "value": function($){window.optimizely = window.optimizely || []; const utils = window.optimizely.get('utils'); var scroll25, scroll50, scroll75, scroll100; const getScrollPercent = (element) => { const calc = () => { const rect = element.getBoundingClientRect(); if (rect.top < window.innerHeight && rect.bottom > 0) { const total = (window.scrollY) / (rect.bottom + rect.height); const percent = Math.round(total * 100); if (percent >= 25 && scroll25 !== true) { scroll25 = true; window.optimizely.push({ type: 'event', eventName: 'scroll-25', }); } if (percent >= 50 && scroll50 !== true) { scroll50 = true; window.optimizely.push({ type: 'event', eventName: 'scroll-50', }); } if (percent >= 75 && scroll75 !== true) { scroll75 = true; window.optimizely.push({ type: 'event', eventName: 'scroll-75', }); } if (percent >= 99 && scroll100 !== true) { scroll100 = true; window.optimizely.push({ type: 'event', eventName: 'scroll-100', }); } } }; window.addEventListener('scroll', calc); calc(); }; utils.waitForElement('.hlFld-Fulltext').then((article) => getScrollPercent(article)); }, "dependencies": []}], "id": "30388530830", "name": "[CONV] [DEV] TAF 2.21", "commitId": "30535120088", "groupId": null, "holdback": 0, "activation": {}, "integrationSettings": {"25392070005": {"tracking_id": "UA-3062505-5", "event_category": "Optimizely experiment"}}, "integrationStringVersion": 2, "experiments": [{"audienceIds": ["and", "25260460421"], "audienceName": "[CONV] QA Mode", "changes": null, "id": "30503410027", "integrationSettings": null, "variations": [{"id": "30386000752", "name": "Original", "actions": []}, {"id": "30426920658", "name": "Variation #1", "actions": [{"viewId": "25946930133", "changes": [{"id": "2fc715ba0e4a4470b6e4f06d9f7e465c", "type": "custom_code", "value": function($){((w) => { "use strict"; const tag = 'cv-2-21'; const window = typeof unsafeWindow !== "undefined" ? unsafeWindow : w; const qa = document.cookie.indexOf('cfQA') > -1; const log = qa ? Function.prototype.bind.call(console.log, console, '[CONV] TAF 2.21 |') : () => { }; const utils = { waitForElement: (cssSelector, callback) => { var stop, elementCached, timeout, check = () => { try { elementCached = document.querySelector(cssSelector); if (stop) return; if (elementCached) { callback(elementCached); clearTimeout(timeout); } else { window.requestAnimationFrame(check); } } catch (err) { log(err.message); } }; window.requestAnimationFrame(check); timeout = setTimeout(() => { stop = true; }, 5000); }, emitGAEvent: (label) => { let trackingID = 'UA-3062505-5'; let stop; const check = () => { if (stop) return; if (!( window.ga instanceof Function && window.ga.getAll instanceof Function )) return requestAnimationFrame(check); stop = true; const properties = window.ga.getAll(); let analytics; if (trackingID) analytics = properties.find( property => property.get('trackingId') === trackingID ); analytics = analytics ? analytics : properties[0]; if (analytics) analytics.send( 'event', 'Google Optimize experiment', '[CONV] TAF 2.21', label, { nonInteraction: true } ); }; requestAnimationFrame(check); }, init: function () { try { this.waitForElement('body', function (docBody) { docBody.classList.add(tag); if (isMobile()) { docBody.classList.add(`${tag}__mobile`); initVariationMobile(); } else { docBody.classList.add(`${tag}__desktop`); initVariationDesktop(); } }); log('test running'); } catch (err) { log(err.message); } }, } const isMobile = () => { return /Mobi|Android/i.test(navigator.userAgent); } const sectionIcon = ` <svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19" fill="none"> <path fill-rule="evenodd" clip-rule="evenodd" d="M7.24886 14.5861C7.24886 16.0858 5 16.0858 5 14.5861C5 13.0872 7.24886 13.0872 7.24886 14.5861Z" fill="currentColor"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.49997 13.9106H15.1264C15.4362 13.9106 15.6884 14.1628 15.6884 14.4726V14.6973C15.6884 15.007 15.4362 15.2592 15.1264 15.2592L9.49997 15.2601C9.19017 15.2601 8.93799 15.0079 8.93799 14.6981V14.4735C8.93799 14.1628 9.19017 13.9106 9.49997 13.9106Z" fill="currentColor"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M7.24886 10.2111C7.24886 11.71 5 11.71 5 10.2111C5 8.71219 7.24886 8.71219 7.24886 10.2111Z" fill="currentColor"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.56198 10H15.1884C15.4982 10 15.7504 10.2522 15.7504 10.562V10.7866C15.7504 11.0964 15.4982 11.3486 15.1884 11.3486H9.56198C9.25218 11.3486 9 11.0964 9 10.7866V10.562C9 10.2522 9.25218 10 9.56198 10Z" fill="currentColor"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M7.24886 6.83573C7.24886 8.33462 5 8.33462 5 6.83573C5 5.33601 7.24886 5.33601 7.24886 6.83573Z" fill="currentColor"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M9.49997 6.16016H15.1264C15.4362 6.16016 15.6884 6.41234 15.6884 6.72214V6.94676C15.6884 7.25656 15.4362 7.50874 15.1264 7.50874H9.49997C9.19017 7.50874 8.93799 7.25656 8.93799 6.94676V6.72214C8.93799 6.41234 9.19017 6.16016 9.49997 6.16016Z" fill="currentColor"/> </svg> `; const pdfIcon = ` <svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 17" fill="none"> <g clip-path="url(#clip0_4151_5166)"> <path d="M2.5 15H4V16.5H2.5C1.39688 16.5 0.5 15.6031 0.5 14.5V2.5C0.5 1.39688 1.39688 0.5 2.5 0.5H7.67188C8.20312 0.5 8.7125 0.709375 9.0875 1.08438L11.9156 3.9125C12.2906 4.2875 12.5 4.79688 12.5 5.32812V10H11V5.5H8.5C7.94688 5.5 7.5 5.05312 7.5 4.5V2H2.5C2.225 2 2 2.225 2 2.5V14.5C2 14.775 2.225 15 2.5 15ZM6 11.5H7C7.96562 11.5 8.75 12.2844 8.75 13.25C8.75 14.2156 7.96562 15 7 15H6.5V16C6.5 16.275 6.275 16.5 6 16.5C5.725 16.5 5.5 16.275 5.5 16V14.5V12C5.5 11.725 5.725 11.5 6 11.5ZM7 14C7.41563 14 7.75 13.6656 7.75 13.25C7.75 12.8344 7.41563 12.5 7 12.5H6.5V14H7ZM10 11.5H11C11.8281 11.5 12.5 12.1719 12.5 13V15C12.5 15.8281 11.8281 16.5 11 16.5H10C9.725 16.5 9.5 16.275 9.5 16V12C9.5 11.725 9.725 11.5 10 11.5ZM11 15.5C11.275 15.5 11.5 15.275 11.5 15V13C11.5 12.725 11.275 12.5 11 12.5H10.5V15.5H11ZM13.5 12C13.5 11.725 13.725 11.5 14 11.5H15.5C15.775 11.5 16 11.725 16 12C16 12.275 15.775 12.5 15.5 12.5H14.5V13.5H15.5C15.775 13.5 16 13.725 16 14C16 14.275 15.775 14.5 15.5 14.5H14.5V16C14.5 16.275 14.275 16.5 14 16.5C13.725 16.5 13.5 16.275 13.5 16V14V12Z" fill="currentColor"/> </g> <defs> <clipPath id="clip0_4151_5166"> <rect width="16" height="16" fill="currentColor" transform="translate(0.5 0.5)"/> </clipPath> </defs> </svg> `; const moreIcon = ` <svg xmlns="http://www.w3.org/2000/svg" width="6" height="19" viewBox="0 0 6 19" fill="none"> <path d="M3.0463 12.4074C2.7025 12.4074 2.37278 12.544 2.12968 12.7871C1.88657 13.0302 1.75 13.3599 1.75 13.7037C1.75 14.0475 1.88657 14.3772 2.12968 14.6203C2.37278 14.8634 2.7025 15 3.0463 15C3.3901 15 3.71981 14.8634 3.96292 14.6203C4.20602 14.3772 4.34259 14.0475 4.34259 13.7037C4.34259 13.3599 4.20602 13.0302 3.96292 12.7871C3.71981 12.544 3.3901 12.4074 3.0463 12.4074ZM3.0463 8.7037C2.7025 8.7037 2.37278 8.84028 2.12968 9.08338C1.88657 9.32648 1.75 9.6562 1.75 10C1.75 10.3438 1.88657 10.6735 2.12968 10.9166C2.37278 11.1597 2.7025 11.2963 3.0463 11.2963C3.3901 11.2963 3.71981 11.1597 3.96292 10.9166C4.20602 10.6735 4.34259 10.3438 4.34259 10C4.34259 9.6562 4.20602 9.32648 3.96292 9.08338C3.71981 8.84028 3.3901 8.7037 3.0463 8.7037ZM4.34259 6.2963C4.34259 5.9525 4.20602 5.62278 3.96292 5.37968C3.71981 5.13657 3.3901 5 3.0463 5C2.7025 5 2.37278 5.13657 2.12968 5.37968C1.88657 5.62278 1.75 5.9525 1.75 6.2963C1.75 6.6401 1.88657 6.96981 2.12968 7.21292C2.37278 7.45602 2.7025 7.59259 3.0463 7.59259C3.3901 7.59259 3.71981 7.45602 3.96292 7.21292C4.20602 6.96981 4.34259 6.6401 4.34259 6.2963Z" fill="currentColor"/> </svg> `; const closeIcon = ` <svg xmlns="http://www.w3.org/2000/svg" width="15" height="20" viewBox="0 0 15 20" fill="none"> <path d="M13.3828 5.88281C13.8711 5.39453 13.8711 4.60156 13.3828 4.11328C12.8945 3.625 12.1016 3.625 11.6133 4.11328L7.5 8.23047L3.38281 4.11719C2.89453 3.62891 2.10156 3.62891 1.61328 4.11719C1.125 4.60547 1.125 5.39844 1.61328 5.88672L5.73047 10L1.61719 14.1172C1.12891 14.6055 1.12891 15.3984 1.61719 15.8867C2.10547 16.375 2.89844 16.375 3.38672 15.8867L7.5 11.7695L11.6172 15.8828C12.1055 16.3711 12.8984 16.3711 13.3867 15.8828C13.875 15.3945 13.875 14.6016 13.3867 14.1133L9.26953 10L13.3828 5.88281Z" fill="currentColor"/> </svg> `; const relatedResearchIcon = ` <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"> <path d="M3.80816 3.26367H1.63184V15.6H11.5037V13.44H3.808L3.80816 3.26367Z" fill="currentColor"/> <path d="M11.5684 0.511719V3.19988H14.2565L11.5684 0.511719Z" fill="currentColor"/> <path d="M10.8636 3.90358V0.399902H4.49609V12.7362H14.3524L14.3518 3.90374L10.8636 3.90358ZM12.2236 11.0561H6.62361V10.3523H12.2236V11.0561ZM12.2236 8.67174H6.62361V7.968H12.2236V8.67174ZM12.2236 6.28806H6.62361V5.58432H12.2236V6.28806Z" fill="currentColor"/> </svg> `; const shareIcon = ` <svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16" fill="none"> <path d="M11.5004 10.3341C11.1335 10.3341 10.8004 10.4673 10.5004 10.6673L6.13349 8.16726C6.13349 8.10038 6.16662 8.03413 6.16662 8.00038C6.16662 7.96725 6.16662 7.86725 6.13349 7.8335L10.5004 5.33414C10.7673 5.53414 11.1335 5.66726 11.5004 5.66726C12.4335 5.66726 13.1673 4.93414 13.1673 4.00038C13.1673 3.06726 12.4341 2.3335 11.5004 2.3335C10.5673 2.3335 9.83349 3.06662 9.83349 4.00038C9.83349 4.06725 9.83349 4.10038 9.86662 4.16726L5.50038 6.6679C5.2335 6.4679 4.90038 6.33478 4.50038 6.33478C3.56726 6.33478 2.8335 7.0679 2.8335 8.00166C2.8335 8.93478 3.56662 9.66854 4.50038 9.66854C4.86726 9.66854 5.20038 9.53541 5.50038 9.33542L9.86726 11.8354C9.86726 11.9023 9.83413 11.9354 9.83413 12.0023C9.83413 12.9354 10.5673 13.6692 11.501 13.6692C12.4341 13.6692 13.1679 12.9361 13.1679 12.0023C13.1673 11.0679 12.4335 10.3341 11.5004 10.3341Z" fill="currentColor"/> </svg> `; const initVariationDesktop = () => { utils.waitForElement('.sectionsNavigation .sections-nav .title', () => { document.body.classList.add(`${tag}__have-sections`); document.querySelector(`.sectionsNavigation .sections-nav .title`) ? document.querySelector(`.sectionsNavigation .sections-nav .title`).innerHTML = `Sections` : ''; document.querySelector(`.sections-nav .title-btn`) ? document.querySelector(`.sections-nav .title-btn`).innerHTML = `Sections` : ''; if (screen.width > 981 && screen.width < 1025) { const getHeight = document.querySelector('.publicationContentBody > .wrapped'); getHeight ? document.querySelector('.publicationContentBody .col-md-1-6 .contents').style.minHeight = (getHeight.clientHeight - 80) + 'px' : 'auto'; } // remove number from the sections const elements = document.querySelectorAll('.cv-2-21 .sectionsNavigation .sections-nav .sections-list a'); elements.forEach(element => { element.textContent = element.textContent.replace(/^\d+\.\s+/, ''); }); }) // utils.waitForElement('.kwd-title', () => { // document.querySelector(`.kwd-title`).innerHTML = `Keywords`; // }) utils.waitForElement('.furtherReadingTitle', () => { document.querySelector(`.furtherReadingTitle`).closest('.collapsed-sticky').classList.add('related-research'); document.querySelector(`.furtherReadingTitle`).closest('.collapsed-view').classList.add('related-research'); }) utils.waitForElement('.scroll-content li a', () => { const stickyTab = document.querySelector(`.scroll-content`); document.querySelector(`.publicationContentBody`).insertAdjacentElement('afterbegin', stickyTab); document.querySelector(`#full-article`) ? document.querySelector(`#full-article`).innerHTML = `Full article` : ''; const shareSocialString = `<a class="${tag}__share-social" href="javascript:void(0)"> <img src="https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/np_share.svg"> <img src="https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/np_share_white.svg" class="hov_icon"> <span>Share</span> </a> ` if (!document.querySelector(`.${tag}__share-social`)) { if (document.querySelector('.publicationContentBody .tab-nav li.pdf-tab')) { document.querySelector('.publicationContentBody .tab-nav li.pdf-tab').insertAdjacentHTML('beforeend', shareSocialString) } else { document.querySelector('.publicationContentBody .tab-nav').insertAdjacentHTML('beforeend', ` <li class="pdf-tab epub-tab ${tag}__custom-tab" role="presentation"> ${shareSocialString} </li> ` ) } } const readArticle = document.querySelector('.publicationContentBody .scroll-content .tab-nav li a[role="button"].grant-access'); if (readArticle) { const readArticleClone = readArticle.cloneNode(true); document.querySelector('.publicationContentBody .tab-nav li.pdf-tab').insertAdjacentElement('afterbegin', readArticleClone); } const pdfNav = document.querySelector('.publicationContentBody .tab-nav li.pdf-tab'); const pdfNavClone = pdfNav.cloneNode(true); // scroll back to top and footer sticky document.body.insertAdjacentHTML('beforeend', ` <div class="${tag}_back-top"> <span>Back to top</span> </div> <div class="${tag}__footer-sticky"> <div class="${tag}__sections"> <p>Sections</p> </div> <div class="${tag}__related-research"> <p>Related research</p> </div> </div> `) document.querySelector(`.${tag}__footer-sticky`).insertAdjacentElement('beforeend', pdfNavClone); }) utils.waitForElement('.literatumContentItemPageRangeHistory', () => { const pageRange = document.querySelector(`.literatumContentItemPageRangeHistory`); document.querySelector(`.literatumAuthors`) && document.querySelector(`.literatumAuthors`).insertAdjacentElement('beforebegin', pageRange); const totalView = document.querySelector('.articleMetricsContainer .section:nth-of-type(1) .value').innerText; const totalCitations = document.querySelector('.articleMetricsContainer .section:nth-of-type(2) .value').innerText; const altmetric = document.querySelector('.articleMetricsContainer .section .metrics-score').innerText; const articleInfo = ` <span class="${tag}__views"><strong>Views </strong>${totalView}</span> | <span class="${tag}__citations"><strong>Citations </strong>${totalCitations}</span> | <span class="${tag}__metric"><strong>Altmetric </strong>${altmetric}</span> | ` !document.querySelector(`.${tag}__views`) && pageRange.querySelector('.itemPageRangeHistory').insertAdjacentHTML('afterbegin', articleInfo); const metricInterval = setInterval(()=>{ document.querySelector(`.${tag}__metric`).innerHTML = `<strong>Altmetric </strong>${document.querySelector('.articleMetricsContainer .section .metrics-score').innerText}`; },1000) setTimeout(()=>{ clearInterval(metricInterval); },3000) // speaker tab & access logo const speakTab = document.querySelector(`#read-speaker-container`); const openAccess = document.querySelector(`.accessLogo`); const journalInfo = document.querySelector(`.info .issue-heading`); const tocHeading = document.querySelector(`.toc-heading`); const cvSpeakerSection = document.createElement('div'); cvSpeakerSection.className = `${tag}__speaker-section`; // for screen size below 1025 const clonedCvSpeakerSection = cvSpeakerSection.cloneNode(true); const clonedJournalInfo = journalInfo.cloneNode(true); const clonedTocHeading = tocHeading.cloneNode(true); clonedCvSpeakerSection.appendChild(clonedTocHeading); clonedCvSpeakerSection.appendChild(clonedJournalInfo); !document.querySelector(`.literatumPublicationHeader .${tag}__speaker-section`) && document.querySelector(`.literatumPublicationHeader h1`).insertAdjacentElement('beforebegin', clonedCvSpeakerSection); // for desktop speakTab && cvSpeakerSection.appendChild(speakTab); openAccess && cvSpeakerSection.appendChild(openAccess); tocHeading && cvSpeakerSection.appendChild(tocHeading); journalInfo && cvSpeakerSection.appendChild(journalInfo); !document.querySelector(`.publicationSerialHeader .${tag}__speaker-section`) && document.querySelector(`.search_container`).insertAdjacentElement('afterend', cvSpeakerSection); }) utils.waitForElement('.searchDropDownDivRight select [data-search-in="thisJournal"]', () => { document.querySelector('.searchDropDownDivRight select [data-search-in="thisJournal"]').innerText = 'This journal'; }) utils.waitForElement('.literatumArticleMetricsWidget .articleMetricsContainer', () => { const journalCover = document.querySelector(`.issueSerialNavigation.journal`); const clonedJournalCover = journalCover.cloneNode(true); clonedJournalCover.classList.add(`${tag}__cloned`); document.querySelector(`.literatumArticleMetricsWidget .articleMetricsContainer`).insertAdjacentElement('afterend', journalCover); document.querySelector(`.publicationContentHeader .literatumPublicationHeader`).parentElement.insertAdjacentElement('beforeend', clonedJournalCover); }) let DOIlink; utils.waitForElement('.literatumArticleToolsWidget .linkList li.dx-doi a', () => { DOIlink = document.querySelector('.literatumArticleToolsWidget .linkList li.dx-doi a').getAttribute('href'); document.querySelector('.literatumArticleToolsWidget .linkList li.dx-doi a').removeAttribute('href'); }) utils.waitForElement('.scroll-content.stick-top', () => { document.body.style.marginTop = '225px'; }) document.addEventListener('click', (e) => { const elem = e.target; if (elem.closest('.related-research .view-more')) { elem.closest('.related-research .view-more').classList.toggle(`${tag}__toggle`); } if (elem.closest('.publicationContentAuthors .show-all-link')) { elem.closest('.publicationContentAuthors .show-all-link').classList.toggle(`${tag}__toggle`); } if (elem.closest(`.${tag}__share-social`)) { document.querySelector('.a2a_dd').click(); } if (elem.closest('.linkList li.dx-doi a')) { const link = DOIlink; const tempInput = document.createElement('textarea'); tempInput.value = link; document.body.appendChild(tempInput); tempInput.select(); document.execCommand('copy'); document.body.removeChild(tempInput); const button = elem.closest('.linkList li.dx-doi a'); button.classList.add(`${tag}__copied`); setTimeout(() => { button.classList.remove(`${tag}__copied`); }, 2000); } if (elem.closest(`.${tag}_back-top`)) { window.scrollTo({ top: 0, behavior: 'smooth', }); } if (elem.closest(`.${tag}__footer-sticky .${tag}__sections`)) { document.querySelector('.sections-nav .title-btn') && document.querySelector('.sections-nav .title-btn').click(); } if (elem.closest(`.${tag}__related-research`) || elem.closest(`.scroll-content .pdf-tab a`)) { document.querySelector('.open-nav .sections-nav .title-btn') && document.querySelector('.open-nav .sections-nav .title-btn').click(); } if (elem.closest(`.${tag}__footer-sticky .${tag}__related-research`)) { const element = document.querySelector('.related-research,.widget-compact-vertical.collapsed-view'); const elementPosition = element.getBoundingClientRect().top + window.pageYOffset; const offsetPosition = elementPosition - (window.innerHeight / 2) + (element.clientHeight / 2); window.scrollTo({ top: offsetPosition, behavior: 'smooth' }); } }) window.addEventListener('scroll', () => { const backToTop = document.querySelector(`.${tag}_back-top`); const footerSticky = document.querySelector(`.${tag}__footer-sticky`); if (document.querySelector('.scroll-content.stick-top')) { backToTop && backToTop.classList.add(`${tag}__stick-top`); footerSticky && footerSticky.classList.add(`${tag}__stick-top`); } else { backToTop && backToTop.classList.remove(`${tag}__stick-top`); footerSticky && footerSticky.classList.remove(`${tag}__stick-top`); document.querySelector('.sectionsNavigation.open-nav') && document.querySelector('.sections-nav .title-btn').click(); } }) } function addContent(content) { if (!content) return; if (content === 'sections') { window.optimizely.push({ type: 'event', eventName: 'Sections_clicks', }); utils.waitForElement( 'ul.sections-list', (oldSectionList = document.querySelector('ul.sections-list')) => { const sectionList = oldSectionList.cloneNode(true); sectionList.classList.add(`${tag}__sectionList`); const items = sectionList.querySelectorAll('li a'); items.forEach((item) => { item.textContent = item.textContent.replace(/^\d+\s*/, ''); }); const sectionContent = document.querySelector(`#${tag}__sections`); if (sectionContent) { const oldSectionList = document.querySelector( `.${tag}__sectionList` ); if (oldSectionList) { oldSectionList.remove(); } sectionContent .querySelector(`.${tag}__dynamicContent`) .appendChild(sectionList); } } ); } if (content === 'pdf') { utils.waitForElement('.epub-tab', () => { const items = Array.from( document.querySelectorAll('.publication-tabs .epub-tab a') ); const markup = ` <ul class="${tag}__pdfList"> ${items .map((item) => { const label = item.querySelector('.mobile-label'); if (!label) return ''; label.textContent = label.textContent.replace('EPUB', 'ePub'); return ` <li class="${tag}__pdfItem"> ${item.outerHTML} </li> `; }) .join('')} </ul> `; const pdfContent = document.querySelector(`#${tag}__pdf`); if (pdfContent) { const oldPdfList = document.querySelector(`.${tag}__pdfList`); if (oldPdfList) { oldPdfList.remove(); } pdfContent .querySelector(`.${tag}__dynamicContent`) .insertAdjacentHTML('beforeend', markup); } }); } if (content === 'more') { window.optimizely.push({ type: 'event', eventName: 'More_clicks', }); utils.waitForElement( '[data-stick-observer-id="publication-tabs-dropdown-tab-nav"]', () => { const oldTabNav = document.querySelector( '[data-stick-observer-id="publication-tabs-dropdown-tab-nav"] > ul' ); const tabNav = oldTabNav.cloneNode(true); tabNav.classList.add(`${tag}__tabNav`); tabNav.insertAdjacentHTML( 'beforeend', `<li class="${tag}__tabNav__relatedResearch"> <button class="${tag}__tabNav__relatedResearch__btn ${tag}__relatedResearch"> ${relatedResearchIcon} <span>Related Research</span> </button> </li>` ); const moreContent = document.querySelector(`#${tag}__more`); if (moreContent) { const oldTabNav = document.querySelector(`.${tag}__tabNav`); if (oldTabNav) { oldTabNav.remove(); } moreContent .querySelector(`.${tag}__dynamicContent`) .appendChild(tabNav); // Add share Btn to the sticky menu utils.waitForElement('.a2a_dd', () => { const shareBtn = ` <button class="${tag}__tabNav__share__btn ${tag}__share"> ${shareIcon} <span>Share</span> </button> `; const researchBtn = document.querySelector( `.${tag}__relatedResearch` ); if (shareBtn) { researchBtn.insertAdjacentHTML('afterend', shareBtn); } }); // Add "Check for Update" button utils.waitForElement('.cross_mark', () => { const oldCrossMark = document.querySelector('.cross_mark'); const crossMark = oldCrossMark.cloneNode(true); crossMark.classList.add(`${tag}__crossMark`); const insertBefore = document.querySelector( `.${tag}__tabNav__relatedResearch` ); if (!document.querySelector(`.${tag}__crossMark`)) { insertBefore.insertAdjacentElement('beforebegin', crossMark); } }); // Add "Cite this article" button utils.waitForElement('.downloadCitations', () => { const oldCiteList = document.querySelector('.downloadCitations'); const citeList = oldCiteList.cloneNode(true); citeList.classList.add(`${tag}__citeList`); const insertBefore = document.querySelector(`.${tag}__crossMark`) || document.querySelector(`.${tag}__tabNav__relatedResearch`); if (!document.querySelector(`.${tag}__citeList`)) { insertBefore.insertAdjacentElement('beforebegin', citeList); } }); } } ); } } function toggleTabActiveClass(isCloseBtn = false, activeBtn, activeContent) { if ((!activeBtn || !activeContent) && !isCloseBtn) return; const wasBtnActive = isCloseBtn ? false : activeBtn.parentElement.classList.contains( `${tag}__tabMenu__item--active` ); const wasContentActive = isCloseBtn ? false : activeContent.classList.contains(`${tag}__tabContent__item--active`); const tabs = document.querySelectorAll(`.${tag}__tabMenu__item`); const tabContents = document.querySelectorAll(`.${tag}__tabContent__item`); tabs.forEach((tab) => tab.classList.remove(`${tag}__tabMenu__item--active`) ); tabContents.forEach((tabContent) => tabContent.classList.remove(`${tag}__tabContent__item--active`) ); if ((wasBtnActive && wasContentActive) || isCloseBtn) return; activeBtn.parentElement.classList.add(`${tag}__tabMenu__item--active`); activeContent.classList.add(`${tag}__tabContent__item--active`); addContent(activeBtn.getAttribute('data-id')); } function initVariationMobile() { utils.waitForElement('.issueSerialNavigation .cover img', () => { const infoBanner = document.querySelector('.issueSerialNavigation'); infoBanner.classList.add(`${tag}__infoBanner`); const issueHeading = document.querySelector('.issue-heading'); if (issueHeading) { issueHeading.innerHTML = issueHeading.innerHTML.replace( 'Volume', 'Vol' ); utils.waitForElement('.itemPageRangeHistory', () => { const items = document.querySelectorAll( '.itemPageRangeHistory > span' ); items.forEach((item) => { const text = item.textContent.trim().toLowerCase(); if (text.includes('published')) { const published = text.split(': ')[1]; if ( !issueHeading.querySelector(`.${tag}__issuePublished`) && published ) { const pageData = issueHeading.querySelector( `.${tag}__issueHeadingPages` ); (pageData ? pageData : issueHeading).insertAdjacentHTML( `${pageData ? 'beforebegin' : 'beforeend'}`, `<span class="${tag}__issuePublished">, ${published}</span>` ); } } if (text.includes('pages')) { if (!issueHeading.querySelector(`.${tag}__issueHeadingPages`)) { issueHeading.insertAdjacentHTML( 'beforeend', `<span class="${tag}__issueHeadingPages">, ${text}</span>` ); } } }); }); } // Heading and Metric section utils.waitForElement('h1 > span.NLM_article-title', () => { const heading = document.querySelector('h1 > span.NLM_article-title'); if (heading) { const metric = document.querySelector('.articleMetricsContainer'); if (metric) { metric.classList.add(`${tag}__metric`); const titles = metric.querySelectorAll('.title'); titles.forEach((title) => { if (title.textContent.toLowerCase().includes('crossref')) { title.textContent = 'CrossRef'; } }); heading.parentElement.insertAdjacentElement('afterend', metric); } // Access logo and Article length utils.waitForElement('.accessLogo', () => { const accessLogo = document.querySelector('.accessLogo'); const tocHeading = document.querySelector('.toc-heading'); if (tocHeading) { const accessLogoWrapper = document.createElement('div'); accessLogoWrapper.classList.add(`${tag}__accessLogoWrapper`); accessLogoWrapper.insertAdjacentElement('afterbegin', accessLogo); accessLogoWrapper.insertAdjacentElement('beforeend', tocHeading); heading.parentElement.insertAdjacentElement( 'beforebegin', accessLogoWrapper ); } }); } }); // Add "Share" button utils.waitForElement('.a2a_dd', () => { const shareBtn = ` <button class="${tag}__share--header"> ${shareIcon} <span>Share</span> </button> `; const shareContainer = document.querySelector( '#read-speaker-container' ); if (shareContainer) { shareContainer.insertAdjacentHTML('beforeend', shareBtn); } }); // Author names utils.waitForElement('.publicationContentAuthors .show-all-link', () => { const authors = document.querySelectorAll('.contribDegrees'); authors[authors.length - 2].innerHTML = authors[4].innerHTML .replace( ' & ', '' ) .replace(' amp; ', '') .replace(/,\s*$/, ''); authors[authors.length - 1].insertAdjacentHTML('afterbegin', ' & '); }); // Sticky Tab Menu utils.waitForElement( '.col-md-7-12:not(.serNav_container) [data-pb-dropzone="contents1"]', () => { const parent = document.querySelector( '.col-md-7-12:not(.serNav_container) [data-pb-dropzone="contents1"]' ); const tabMarkup = ` <div class="${tag}__tabWrapper"> <ul class="${tag}__tabMenu"> <li class="${tag}__tabMenu__item hidden"> <button class="${tag}__tabMenu__item__btn" data-id="sections"> ${sectionIcon} <span>Sections</span> </button> </li> <li class="${tag}__tabMenu__item hidden"> <button class="${tag}__tabMenu__item__btn" data-id="pdf"> ${pdfIcon} <span>PDF/ePub</span> </button> </li> <li class="${tag}__tabMenu__item"> <button class="${tag}__tabMenu__item__btn" data-id="more"> ${moreIcon} <span>More</span> </button> </li> </ul> <div class="${tag}__tabContent"> <div id="${tag}__sections" class="${tag}__tabContent__item"> <h4 class="${tag}__tabContent__item__heading"> Sections <button class="${tag}__tabClose">${closeIcon}</button> </h4> <div class="${tag}__dynamicContent"></div> </div> <div id="${tag}__pdf" class="${tag}__tabContent__item"> <h4 class="${tag}__tabContent__item__heading"> View <button class="${tag}__tabClose">${closeIcon}</button> </h4> <div class="${tag}__dynamicContent"></div> </div> <div id="${tag}__more" class="${tag}__tabContent__item"> <h4 class="${tag}__tabContent__item__heading"> More <button class="${tag}__tabClose">${closeIcon}</button> </h4> <div class="${tag}__dynamicContent"></div> </div> </div> </div> `; if (!document.querySelector(`.${tag}__tabWrapper`)) { parent.insertAdjacentHTML('afterbegin', tabMarkup); utils.waitForElement('.section-nav, .sections-nav', () => { const sectionTab = document.querySelector('[data-id="sections"]'); if (sectionTab) { sectionTab.parentElement.classList.remove('hidden'); } }); utils.waitForElement('.pdf-tab, .epub-tab', () => { const pdfTab = document.querySelector('[data-id="pdf"]'); if (pdfTab) { pdfTab.parentElement.classList.remove('hidden'); } }); utils.waitForElement('.grant-access', () => { const pdfTab = document.querySelector('[data-id="pdf"]'); if (pdfTab) { pdfTab.parentElement.classList.add('hidden'); const wrapper = document.querySelector(`.${tag}__tabWrapper`); wrapper.classList.add('noAccess'); if (!wrapper.querySelector(`.${tag}__tabMenu__item--access`)) { wrapper .querySelector(`.${tag}__tabMenu__item:not(.hidden)`) .insertAdjacentHTML( 'beforebegin', ` <li class="${tag}__tabMenu__item ${tag}__tabMenu__item--access"> <button class="${tag}__grantAccess"> Read this article </button> </li> ` ); } utils.waitForElement('.a2a_dd', () => { if (!wrapper.querySelector(`.${tag}__tabMenu__item--share`)) { const accessBtn = wrapper.querySelector( `.${tag}__tabMenu__item--access` ); const moreBtn = wrapper.querySelector( `.${tag}__tabMenu__item:not(.hidden)` ); (accessBtn || moreBtn).insertAdjacentHTML( `${accessBtn ? 'afterend' : 'beforebegin'}`, ` <li class="${tag}__tabMenu__item ${tag}__tabMenu__item--share"> <button class="${tag}__share--additional"> ${shareIcon} <span>Share</span> </button> </li> ` ); } }); } }); const tabWrapper = document.querySelector(`.${tag}__tabWrapper`); const header = document.querySelector('.publicationContentHeader'); const observer = new IntersectionObserver( ([entry]) => { if (!entry.isIntersecting) { tabWrapper.classList.add('sticky'); } else { tabWrapper.classList.remove('sticky'); } }, { threshold: 0, rootMargin: `0px 0px 0px 0px`, } ); observer.observe(header); } } ); // Page headings utils.waitForElement('h2.section-heading-2', () => { const headings = document.querySelectorAll('h2.section-heading-2'); headings.forEach((heading) => { heading.textContent = heading.textContent.replace(/^\d+\s*/, ''); }); }); }); document.body.addEventListener('click', (e) => { const el = e.target; if (el.closest(`.${tag}__tabMenu__item__btn`)) { const btn = el.closest(`.${tag}__tabMenu__item__btn`); const id = btn.getAttribute('data-id'); const content = document.querySelector(`#${tag}__${id}`); if (btn && content) { toggleTabActiveClass(false, btn, content); btn.scrollIntoView({ behavior: 'smooth', block: 'start', }); } return; } if (el.closest(`.${tag}__tabClose`)) { toggleTabActiveClass(true); return; } if (el.closest(`.${tag}__relatedResearch`)) { utils.waitForElement( '.related-research, .further-tab-margin', (relatedResearchSection) => { relatedResearchSection.scrollIntoView({ behavior: 'smooth', block: 'start', }); toggleTabActiveClass(true); } ); return; } if ( el.closest(`.${tag}__share`) || el.closest(`.${tag}__share--header`) || el.closest(`.${tag}__share--additional`) ) { utils.waitForElement('.a2a_dd', () => { const shareBtn = document.querySelector('.a2a_dd'); shareBtn.click(); toggleTabActiveClass(true); }); return; } if (el.closest(`.${tag}__crossMark a`)) { e.preventDefault(); utils.waitForElement( `.cross_mark:not(.${tag}__crossMark) a`, (updateLink) => { updateLink.click(); toggleTabActiveClass(true); } ); return; } if (el.closest(`.${tag}__grantAccess`)) { utils.waitForElement(`.grant-access`, (accessLink) => { accessLink.click(); toggleTabActiveClass(true); }); return; } if (el.closest(`.${tag}__dynamicContent ul li`)) { toggleTabActiveClass(true); return; } }); } setTimeout(() => { document.body.style.opacity = 1; }, 3000) utils.init(); })(window); }, "dependencies": []}, {"id": "23e199bbd2bc400cabcd9ee6e2f815e3", "type": "append", "selector": "head", "value": "<style>@media screen and (min-width: 768px) {\n html body {\n opacity: 0;\n }\n\n html body.cv-2-21__desktop {\n opacity: 1;\n }\n\n /* hero search section */\n .cv-2-21__desktop .cv-2-21__speaker-section {\n display: flex;\n align-items: center;\n min-height: 32px;\n }\n\n .cv-2-21__desktop .literatumPublicationHeader .cv-2-21__speaker-section {\n display: none;\n }\n\n .cv-2-21__desktop .publicationSerialHeader {\n background: #fff;\n padding: 21px 35px 26px;\n }\n\n .cv-2-21__desktop div .searchButtonIcon,\n .cv-2-21__desktop .publicationSerialHeader:after,\n .cv-2-21__desktop .publicationSerialHeader:before,\n .cv-2-21__desktop #read-speaker-container .rsbtn_tooltoggle,\n .cv-2-21__desktop .serNav_container,\n .cv-2-21__desktop .advancedSearchLinkDropZone {\n display: none !important;\n }\n\n .cv-2-21__desktop #read-speaker-container {\n position: relative;\n min-width: 122px;\n height: auto !important;\n }\n\n .cv-2-21__desktop #read-speaker-container>div {\n margin: 0;\n }\n\n .cv-2-21__desktop #read-speaker-container span.rsbtn_left {\n margin-left: 11px;\n }\n\n .cv-2-21__desktop #read-speaker-container .rsbtn.rsexpanded .rsbtn_exp {\n position: absolute;\n left: 80px;\n z-index: 9;\n width: max-content;\n }\n\n .cv-2-21__desktop .cv-2-21__speaker-section .accessLogo {\n position: relative;\n margin-left: 17px;\n right: 0;\n display: flex;\n align-items: center;\n z-index: 0;\n margin-right: 20px;\n }\n\n .cv-2-21 .cv-2-21__speaker-section .toc-heading{\n position: relative;\n margin-right: 20px !important;\n display: inline-block !important;\n }\n\n .cv-2-21 .cv-2-21__speaker-section .toc-heading::after,\n .cv-2-21__desktop .cv-2-21__speaker-section .accessLogo:has(#logo-text):after {\n content: '|';\n color: #666666;\n position: absolute;\n right: -14px;\n top: 0;\n }\n\n .cv-2-21 .cv-2-21__speaker-section .toc-heading,\n .cv-2-21__desktop .cv-2-21__speaker-section .issue-heading,\n .cv-2-21__desktop .cv-2-21__speaker-section .accessLogo #logo-text {\n margin: 0;\n font-size: 13px;\n font-weight: 400;\n color: #666666;\n }\n\n .cv-2-21__desktop .cv-2-21__speaker-section .issue-heading a {\n text-decoration: underline;\n }\n\n .cv-2-21__desktop .publicationSerialHeader .accessLogo .access-icon.oa:after {\n content: '';\n display: none;\n }\n\n .cv-2-21__desktop .publicationSerialHeader .accessLogo .access-icon {\n position: inherit;\n width: 24px;\n height: 24px;\n border: none;\n margin-right: 8px;\n border-radius: 100px;\n min-width: 24px;\n }\n\n .cv-2-21__desktop .publicationSerialHeader .accessLogo .access-icon.full,\n .cv-2-21__desktop .publicationSerialHeader .accessLogo .access-icon.free {\n background: #6cd775;\n min-width: 24px;\n }\n\n .cv-2-21__desktop .publicationSerialHeader .accessLogo .access-icon.full::after,\n .cv-2-21__desktop .publicationSerialHeader .accessLogo .access-icon.free::after {\n padding: 5px 0 0;\n right: 11px;\n }\n\n .cv-2-21__desktop .cv-2-21__speaker-section .accessLogo:not(:has(.access-icon)) {\n display: none;\n }\n\n .cv-2-21__desktop .publicationSerialHeader .access-icon.oa {\n background: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/oa-icon-large.png);\n background-size: contain;\n background-repeat: no-repeat;\n }\n\n .cv-2-21__desktop .publicationSerialHeader .quickSearchFormContainer {\n padding: 0;\n height: auto !important;\n }\n\n .cv-2-21__desktop .gutterless>.search_container {\n max-width: 398px;\n float: right;\n }\n\n .cv-2-21__desktop .quickSearchWidget {\n display: block !important;\n }\n\n .cv-2-21__desktop .quickSearchWidget .searchDropDownDivRight {\n margin: 0;\n }\n\n .cv-2-21__desktop .quickSearchWidget .simpleSearchBoxContainer {\n margin-right: -5px;\n }\n\n .cv-2-21__desktop .quickSearchWidget .searchDropDownDivRight {\n display: inline-block;\n }\n\n .cv-2-21__desktop .quickSearchWidget input.searchText {\n padding: 6px 8px;\n font-size: 14px;\n line-height: 18px;\n box-shadow: none;\n border-radius: 4px 0 0 4px;\n border-color: #0F147E;\n width: 60% !important;\n height: 32px;\n }\n\n .cv-2-21__desktop .quickSearchWidget input.searchText:focus {\n border-color: #0F147E !important;\n }\n\n .cv-2-21__desktop .quickSearchWidget input.searchText::placeholder {\n color: #ABABAB;\n font-weight: 400;\n opacity: 0.7;\n }\n\n .cv-2-21__desktop .quickSearchWidget .quickSearchFormContainer .searchDropDownDivRight select {\n height: 32px;\n font-size: 13px;\n line-height: 18px;\n border-radius: 0;\n border-color: #0F147E;\n width: 100%;\n max-width: 115px;\n padding: 0 30px 0 10px;\n color: #10147E;\n background: url('https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/dropdown_icon.svg') no-repeat 90%;\n }\n\n .cv-2-21__desktop .quickSearchWidget .quick-search-btn .searchButtons {\n background: #10147E;\n height: 32px;\n width: 32px;\n border-radius: 0 4px 4px 0;\n }\n\n /* hero content section */\n .cv-2-21__desktop .publicationContentHeader .col-md-2-3 {\n min-width: calc(100% - 194px);\n margin-left: 0;\n margin-right: 0;\n }\n\n .cv-2-21__desktop .publicationContentHeader .col-md-1-6,\n .cv-2-21__desktop .publicationContentHeader .literatumArticleMetricsWidget {\n margin: 0;\n width: 138px;\n margin-right: 56px;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns .body-compact-horizontal,\n .cv-2-21__desktop .publicationContentHeader .body-compact-vertical {\n padding: 0;\n }\n\n .cv-2-21__desktop .issueSerialNavigation.journal .title-container,\n .cv-2-21__desktop .literatumPublicationHeader .toc-heading {\n display: none;\n }\n\n .cv-2-21__desktop .literatumArticleMetricsWidget .articleMetricsContainer{\n font-size: 0;\n height: 0;\n opacity: 0;\n }\n\n .cv-2-21__desktop .publicationContentHeader .issueSerialNavigation.journal.cv-2-21__cloned {\n display: none;\n }\n\n .cv-2-21__desktop .issueSerialNavigation.journal {\n max-width: 138px;\n display: flex;\n flex-direction: column;\n align-items: center;\n }\n\n .cv-2-21__desktop .issueSerialNavigation.journal .cover {\n width: 100%;\n text-align: center;\n padding: 12px 0;\n background: #EAEAEA;\n border-radius: 2px;\n margin-bottom: 16px;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns .serial-action {\n gap: 9px;\n display: flex;\n flex-direction: column-reverse;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns .widget-body a {\n font-size: 13px;\n font-weight: 600;\n line-height: 27px;\n text-align: left;\n padding: 6px 0;\n width: 138px;\n text-align: center;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns .widget-body a.submitAnArticle {\n color: #10147E;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns .widget-body a.submitAnArticle:hover {\n color: #fff;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns,\n .cv-2-21__desktop .issueSerialNavigation .info {\n margin: 0;\n }\n\n .cv-2-21__desktop .issueSerialNavigation .serial-btns+div {\n display: none;\n }\n\n .cv-2-21__desktop .publicationContentHeader {\n background: #fff;\n }\n\n .cv-2-21__desktop .literatumPublicationHeader {\n margin-bottom: 4px;\n }\n\n .cv-2-21__desktop .literatumArticleToolsWidget .linkList {\n margin-bottom: 0;\n display: flex;\n align-items: center;\n padding: 5px 0;\n }\n\n .cv-2-21__desktop .literatumArticleToolsWidget .linkList li.dx-doi a {\n cursor: pointer;\n position: relative;\n }\n\n .cv-2-21__desktop .literatumArticleToolsWidget .linkList li.dx-doi a::before {\n content: 'Copied';\n position: absolute;\n bottom: 100%;\n left: 0;\n transform: translateX(-50%);\n background-color: black;\n color: white;\n padding: 5px;\n border-radius: 5px;\n opacity: 0;\n white-space: nowrap;\n pointer-events: none;\n transition: opacity 0.3s;\n }\n\n .cv-2-21__desktop .literatumArticleToolsWidget .linkList li.dx-doi a.cv-2-21__copied::before {\n opacity: 1;\n }\n\n .cv-2-21__desktop .literatumArticleToolsWidget .linkList li.dx-doi .fa::before {\n content: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/copy.svg);\n }\n\n .cv-2-21__desktop .publicationContentHeader .container {\n background: #C6C6C61A;\n border-radius: 6px;\n padding: 24px;\n margin-bottom: 36px;\n }\n\n .cv-2-21__desktop .literatumContentItemPageRangeHistory {\n margin-top: 10px;\n margin-bottom: 12px;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees {\n position: relative;\n padding-left: 20px;\n /* font-size: 0; */\n margin-right: 13px;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees.corresponding {\n padding-left: 40px;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees.corresponding .author .fa {\n margin: 0 !important;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees.corresponding .overlayed .author {\n position: relative;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees.corresponding .overlayed .author .fa {\n margin-left: 0.5em !important;\n position: absolute;\n top: 3px;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees:not(:has(.orcid-icon)) {\n padding-left: 20px !important;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees:not(:has(.orcid-icon, .author .fa-envelope)) {\n padding-left: 0 !important;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees .orcid-icon {\n position: absolute;\n left: 0;\n top: 3px;\n margin: 0;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees .author .fa-envelope:before {\n position: absolute;\n left: -20px;\n top: 3px;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees .overlayed .author .fa-envelope::after {\n content: \"\\f0e0\";\n }\n\n .cv-2-21__desktop .publicationContentAuthors .contribDegrees .overlayed .author .fa-envelope::before {\n display: none;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .show-all-link.cv-2-21__toggle {\n font-size: 14px;\n font-weight: 400;\n line-height: 19.07px;\n text-decoration: underline;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .show-all-link.cv-2-21__toggle::first-letter {\n text-transform: capitalize;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .show-all-link:not(.cv-2-21__toggle) {\n font-size: 0;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .show-all-link::before {\n display: none;\n }\n\n .cv-2-21__desktop .publicationContentAuthors .show-all-link:not(.cv-2-21__toggle)::after {\n content: 'Show more';\n font-size: 14px;\n font-weight: 400;\n line-height: 19.07px;\n text-decoration: underline;\n }\n\n /* article content */\n .cv-2-21__desktop .sectionsNavigation .sections-nav .title {\n color: #333333;\n font-size: 15px;\n font-weight: 700;\n }\n\n .cv-2-21__desktop .publicationContentBody .literatumAd,\n .cv-2-21__desktop .publicationContentBody .graphQueryWidget.none,\n .cv-2-21__desktop .publicationContentBody .ShareWidgetMarginFix.none {\n display: none;\n }\n\n .cv-2-21__desktop .related-research,\n .cv-2-21__desktop #mainTabPanel .article,\n .cv-2-21__desktop .sectionsNavigation.collapsed-sticky {\n margin-top: 40px;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav {\n padding-top: 0;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list {\n height: 100vh !important;\n overflow-x: hidden;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-list::-webkit-scrollbar {\n width: 4px;\n }\n\n .sectionsNavigation .sections-list::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-list::-webkit-scrollbar-track {\n -webkit-box-shadow: none;\n background: transparent;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list a {\n border-top: none;\n font-size: 13px;\n color: #333333;\n font-weight: 600;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list a.active,\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list a:hover {\n background: #0169B41A;\n border-right: 2px solid #10147E;\n color: #10147E;\n border-radius: 4px 0 0 4px;\n }\n\n /* keyword */\n\n .cv-2-21__desktop .abstractKeywords {\n padding-bottom: 24px !important;\n }\n\n .cv-2-21__desktop .abstractKeywords .kwd-title {\n display: block !important;\n margin-bottom: 12px;\n }\n\n .cv-2-21__desktop .abstractKeywords .kwd-title::before {\n content: none !important;\n }\n\n .cv-2-21__desktop .abstractKeywords .kwd-btn {\n color: #10147E !important;\n background-color: #E6F0F7 !important;\n border-radius: 2px !important;\n font-weight: 600 !important;\n padding: 6px !important;\n margin-right: 14px !important;\n margin-bottom: 14px !important;\n }\n\n .cv-2-21__desktop .abstractKeywords .kwd-btn:hover {\n background-color: #10147e !important;\n color: #fff !important;\n }\n\n /* menu tab */\n .cv-2-21__desktop .publicationContentBody .scroll-content .sticky-nav {\n display: none;\n }\n\n .publicationContentBody .scroll-content {\n background: #fff;\n border: 1px solid #B2B2B280;\n }\n\n .publicationContentBody .scroll-content.stick-top {\n box-shadow: rgba(0, 0, 0, 0.12) 0px 4px 8px 0px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav {\n list-style: none;\n display: flex;\n padding: 11px 0 11px 32px !important;\n background: #fff;\n height: 60px;\n align-items: center;\n max-width: 1600px;\n width: 100%;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content li {\n position: relative;\n display: inline;\n font-size: inherit;\n margin-right: 32px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content li.active::before {\n content: '';\n position: absolute;\n width: calc(100% + 20px);\n height: 4px;\n background: #10147E;\n bottom: -21px;\n left: 50%;\n transform: translateX(-50%);\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content li.active span::before {\n content: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/fa-check.svg);\n margin-right: 2px;\n }\n\n .cv-2-21__footer-sticky .pdf-tab a,\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li a {\n font-size: 13px;\n font-weight: 400;\n line-height: 17.7px;\n color: #10147E;\n cursor: pointer;\n transition: text-shadow 0.3s ease, color 0.3s ease;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li:not(.pdf-tab) a:hover {\n text-shadow: 0 0 1px rgb(16, 20, 126, 0.5);\n }\n\n .cv-2-21__desktop a.cv-2-21__share-social {\n background: #fff !important;\n border: 1px solid #10147E;\n padding-left: 38px !important;\n position: relative;\n font-weight: 600 !important;\n cursor: pointer;\n margin-right: 0;\n }\n\n .cv-2-21__desktop a.cv-2-21__share-social:hover {\n background: #10147E !important;\n color: #fff !important;\n }\n\n .cv-2-21__desktop .cv-2-21__share-social img {\n position: absolute;\n left: 10px;\n top: 7px;\n }\n\n .cv-2-21__desktop .cv-2-21__share-social:hover img:not(.hov_icon),\n .cv-2-21__desktop .cv-2-21__share-social img.hov_icon {\n display: none;\n }\n\n .cv-2-21__desktop .cv-2-21__share-social:hover img.hov_icon {\n display: block;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li.active a {\n font-weight: 700;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab {\n flex: 1;\n text-align: end;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li a[role=\"button\"] {\n font-weight: 600;\n }\n\n .cv-2-21__footer-sticky .pdf-tab {\n list-style: none;\n flex: 1;\n text-align: right;\n margin-top: 5px;\n }\n\n .cv-2-21__footer-sticky .pdf-tab a,\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li a[role=\"button\"],\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab a {\n padding: 10px 24px;\n background: #6BD774;\n border-radius: 4px;\n margin-right: 10px;\n }\n\n .cv-2-21__footer-sticky .pdf-tab a:hover,\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li a[role=\"button\"]:hover,\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab a:hover {\n background: #006db4;\n }\n\n .cv-2-21__footer-sticky .pdf-tab .desktop-label,\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab .desktop-label {\n font-size: 13px;\n font-weight: 600;\n line-height: 27px;\n color: #10147E;\n }\n\n .cv-2-21__footer-sticky .pdf-tab a:hover,\n .cv-2-21__footer-sticky .pdf-tab a:hover .desktop-label,\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav li a[role=\"button\"]:hover,\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab a:hover .desktop-label {\n color: #fff;\n }\n\n .cv-2-21__footer-sticky .pdf-tab .mobile-label,\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab .mobile-label,\n .cv-2-21__desktop .publicationContentBody .scroll-content li .fa,\n .cv-2-21__desktop .a2a_list {\n display: none;\n }\n\n /* Related research */\n .cv-2-21__desktop .furtherReadingTitle .widget-header .tooltip-collapse:after {\n color: #006db4;\n background: #fff;\n }\n\n .cv-2-21__desktop .collapsed-sticky.collapsed-view .widget {\n max-height: 630px;\n }\n\n .cv-2-21__desktop .furtherReadingTitle .widget-header .tooltip-collapse:hover::after {\n color: #f29500;\n background: #333;\n }\n\n .cv-2-21__desktop .publicationContentBody .collapsed-view .tab-nav {\n border-bottom: 3px solid #10147E;\n }\n\n .cv-2-21__desktop .collapsed-view .tab-nav li {\n margin-bottom: 0px !important;\n }\n\n .cv-2-21__desktop .collapsed-view .tab-nav li:not(:last-of-type) {\n margin-right: 4px;\n }\n\n .cv-2-21__desktop .collapsed-view .tab-nav li:last-of-type {\n margin-right: 0px !important;\n }\n\n .cv-2-21__desktop .collapsed-view .tab-nav li a:hover {\n color: #fff;\n }\n\n .cv-2-21__desktop .collapsed-view .tab-nav li.active a {\n background-color: #10147e;\n color: #fff;\n }\n\n .cv-2-21__desktop .collapsed-view .tab-nav li a {\n font-size: 13px !important;\n padding: 7px 5px;\n background-color: #F3F3F9;\n color: #10147E;\n }\n\n .cv-2-21__desktop .related-research .article-card {\n background: #fff;\n border: 0;\n border-bottom: 1px solid #DADADA;\n box-shadow: none !important;\n border-radius: 0;\n padding-bottom: 24px;\n padding-top: 24px;\n margin: 0;\n }\n\n .cv-2-21__desktop .related-research .article-card:first-of-type {\n padding-top: 14px;\n }\n\n .cv-2-21__desktop .related-research .article-card .header a {\n line-height: 20px;\n font-family: \"Open Sans\", sans-serif;\n }\n\n .cv-2-21__desktop .related-research .article-card .header a::after,\n .cv-2-21__desktop .collapsed-view .tab-nav li.active a::after {\n display: none;\n }\n\n .cv-2-21__desktop .related-research .article-card .header {\n border: 0;\n min-height: auto;\n padding-bottom: 0;\n }\n\n .cv-2-21__desktop .related-research .article-card .footer a,\n .cv-2-21__desktop .related-research .article-card .footer>div:first-of-type {\n font-size: 12.24px;\n font-weight: 700;\n line-height: 16.67px;\n color: #666666;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon+.part-tooltip {\n display: block;\n border: none;\n position: initial;\n background: none;\n font-size: 13px;\n font-weight: 400;\n line-height: 17.7px;\n padding: 0;\n text-transform: lowercase;\n padding-left: 24px;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon+.part-tooltip::first-letter {\n text-transform: capitalize;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon {\n border-radius: 100px;\n border-width: 0 0 16px 16px;\n position: absolute;\n bottom: 24px;\n left: 8px;\n width: max-content;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon::after {\n right: 4px;\n top: 2.5px;\n padding: 0;\n font-size: 11px;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon.free {\n border: none;\n width: 16px;\n height: 16px;\n background: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/free-access.svg);\n background-size: contain;\n background-repeat: no-repeat;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon.oa {\n border: none;\n width: 16px;\n height: 16px;\n background: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/oa-icon.png);\n background-size: contain;\n background-repeat: no-repeat;\n }\n\n .cv-2-21__desktop .related-research .article-card .access-icon.free::after,\n .cv-2-21__desktop .related-research .article-card .access-icon.oa::after {\n content: '';\n }\n\n .cv-2-21__desktop .related-research .view-more {\n justify-content: flex-start;\n width: max-content;\n }\n\n .cv-2-21__desktop .related-research .view-more a {\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n background: none;\n color: #10147e;\n padding: 0;\n margin-left: 8px;\n margin-bottom: 8px;\n text-decoration: underline;\n position: relative;\n border-radius: 0;\n }\n\n .cv-2-21__desktop .related-research .view-more a:focus,\n .cv-2-21__desktop .related-research .view-more a:focus-visible {\n text-decoration: none;\n }\n\n .cv-2-21__desktop .related-research .view-more a:focus {\n outline: 0;\n }\n\n .cv-2-21__desktop .related-research .view-more a:focus-visible {\n outline: solid 2px #4d90fe;\n }\n\n .cv-2-21__desktop .related-research .view-more a:hover {\n outline: none;\n }\n\n .cv-2-21__desktop .related-research .view-more a[href=\"#\"]::after {\n content: '';\n position: absolute;\n width: 13px;\n top: 7px;\n height: 8px;\n background-image: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/arrow-icon.svg);\n margin-left: 10px;\n background-size: contain;\n background-repeat: no-repeat;\n }\n\n .cv-2-21__desktop .related-research .view-more.cv-2-21__toggle a::after {\n transform: rotate(180deg);\n }\n\n .cv-2-21_back-top {\n background: #0169B4;\n width: max-content;\n padding: 8px 44px 11px 24px;\n border-radius: 24px;\n position: fixed;\n right: 34px;\n bottom: 20px;\n cursor: pointer;\n z-index: 999;\n opacity: 0;\n pointer-events: none;\n }\n\n .cv-2-21_back-top span {\n color: #FFFFFF;\n font-size: 13px;\n font-weight: 700;\n line-height: 17px;\n position: relative;\n }\n\n .cv-2-21_back-top span::after {\n content: \"\\f104\";\n font-family: 'FontAwesome';\n position: absolute;\n font-size: 13px;\n transform: rotate(90deg);\n right: -16px;\n top: 1px;\n }\n\n .cv-2-21__footer-sticky {\n display: none;\n }\n\n\n .cv-2-21__desktop .sectionsNavigation .widget-body .sections-nav .title-btn {\n display: none !important;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab a[role=\"button\"].grant-access {\n display: none;\n }\n\n}\n\n@media screen and (max-width: 1024px) and (min-width: 981px) {\n .cv-2-21__desktop .publicationContentBody .row>.col-md-1-6 {\n width: 15.66666667%;\n float: left;\n }\n\n .cv-2-21__desktop .publicationContentBody .row>.col-md-7-12,\n .cv-2-21__desktop .publicationContentBody .row>.col-md-1-4 {\n width: 84.333333%;\n float: left;\n padding-left: 10px;\n }\n\n .cv-2-21__desktop .publicationContentBody .sectionsNavigation {\n height: auto !important;\n position: sticky;\n position: -webkit-sticky;\n top: 120px !important;\n }\n\n .cv-2-21__desktop .sectionsNavigation .widget-body .sections-nav {\n width: 127px;\n }\n\n .cv-2-21__desktop .publicationContentBody>.wrapped {\n margin-top: 28px;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list {\n height: calc(100vh - 180px) !important;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content li.active::before {\n bottom: -18px;\n }\n\n .cv-2-21__desktop .publicationContentHeader {\n padding-right: 2%;\n }\n\n .cv-2-21__desktop .publicationContentHeader .issueSerialNavigation.journal.cv-2-21__cloned {\n display: block;\n }\n\n .cv-2-21__desktop .journal.cv-2-21__cloned .info {\n padding: 20px 0 0;\n }\n\n .cv-2-21__desktop .journal.cv-2-21__cloned .info .widget-body {\n padding: 0;\n }\n\n .cv-2-21__desktop .journal.cv-2-21__cloned .seriesNavDropZone {\n display: block !important;\n }\n\n .cv-2-21__desktop .cv-2-21__cloned .serial-btns .serial-action {\n flex-direction: row;\n width: max-content;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab.cv-2-21__custom-tab {\n padding-top: 13px !important;\n }\n}\n\n@media screen and (max-width: 1305px) and (min-width: 768px) {\n\n .cv-2-21__desktop .related-research,\n .cv-2-21__desktop #mainTabPanel .article,\n .cv-2-21__desktop .sectionsNavigation.collapsed-sticky {\n margin-top: 60px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav {\n position: relative;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab {\n position: absolute;\n right: 0;\n bottom: -53px;\n margin: 0;\n box-shadow: 0px 4px 5.6px 0px #0000001A;\n padding: 11px 12px 14px 12px;\n border-radius: 0px 0px 12px 12px;\n background: #fff;\n z-index: 9;\n min-height: 52px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab.cv-2-21__custom-tab {\n padding-top: 17px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab.cv-2-21__custom-tab .cv-2-21__share-social {\n margin-right: 0;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content a[role=\"button\"].grant-access {\n display: none;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab a[role=\"button\"].grant-access {\n display: inline;\n }\n\n .cv-2-21_back-top.cv-2-21__stick-top {\n opacity: 1;\n pointer-events: all;\n }\n\n .cv-2-21__desktop .related-research {\n top: 150px !important;\n }\n}\n\n@media screen and (max-width: 1024px) and (min-width: 768px) {\n\n .cv-2-21__desktop .footer-subjects .nav-top,\n .cv-2-21__desktop .journal.cv-2-21__cloned .title-container,\n .cv-2-21__desktop .journal.cv-2-21__cloned .cover,\n .cv-2-21__desktop .issueSerialNavigation.journal {\n display: none;\n }\n\n .cv-2-21__desktop .footer-subjects .nav-top,\n .cv-2-21__desktop .journal.cv-2-21__cloned .title-container,\n .cv-2-21__desktop .journal.cv-2-21__cloned .cover,\n .cv-2-21__desktop .issueSerialNavigation.journal {\n display: none;\n }\n\n .cv-2-21 .publicationSerialHeader .cv-2-21__speaker-section .toc-heading,\n .cv-2-21 .publicationSerialHeader .cv-2-21__speaker-section .accessLogo::after,\n .cv-2-21 .publicationSerialHeader .cv-2-21__speaker-section .issue-heading{\n display: none !important;\n }\n\n .cv-2-21__desktop .literatumPublicationHeader .cv-2-21__speaker-section {\n display: block;\n }\n\n .cv-2-21__desktop .quickSearchWidget .quickSearchFormContainer .quickSearchForm {\n padding-top: 0;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list,\n .cv-2-21__desktop .sectionsNavigation .widget-body .sections-nav .title {\n display: block !important;\n }\n}\n\n@media screen and (max-width: 980px) and (min-width: 768px) {\n .cv-2-21__desktop .publicationContentBody .scroll-content+.wrapped {\n padding: 0 38px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .tab-nav {\n padding-left: 24px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content+.wrapped .tab-content {\n padding: 0;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content li.active span::before {\n display: none;\n }\n\n .cv-2-21__desktop .breadcrumbs-container,\n .cv-2-21__desktop .scroll-content.stick-top ul .nav-data {\n display: block !important;\n z-index: 9991 !important;\n }\n\n .cv-2-21__desktop .literatumAuthors .entryAuthor {\n font-size: 13px !important;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content li {\n margin-right: 15px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content {\n max-height: 62px;\n }\n\n .cv-2-21__desktop .publicationContentHeader {\n padding-right: 0;\n padding-left: 0;\n }\n\n .cv-2-21__desktop .publicationContentHeader .container {\n background: #fff;\n margin-bottom: 60px;\n }\n\n .cv-2-21__desktop .publicationContentBody .scroll-content .pdf-tab {\n box-shadow: none;\n right: auto;\n left: 11px;\n bottom: 78px;\n }\n\n .cv-2-21__desktop .sectionsNavigation {\n background: transparent;\n width: 217px;\n max-height: 1200px !important;\n bottom: -60px;\n border: 1px solid #E3E3E3;\n border-radius: 4px 4px 0px 0px;\n }\n\n .cv-2-21__desktop .sectionsNavigation.open-nav {\n height: max-content !important;\n bottom: 60px;\n z-index: 99999;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav {\n background: #fff;\n width: 100%;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list {\n height: max-content !important;\n padding: 0 12px 20px;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list a.active,\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list a:hover {\n border: none;\n color: #10147E;\n }\n\n .cv-2-21__desktop .sectionsNavigation .sections-nav .sections-list a:not(.active) {\n border-top: 1px solid #F0F0F0;\n color: #333333;\n font-size: 13px;\n font-weight: 600;\n line-height: 19.04px;\n\n }\n\n .cv-2-21__desktop .sectionsNavigation .widget-body .sections-nav .title {\n margin: 0;\n padding: 20px;\n font-size: 15px;\n font-weight: 700;\n line-height: 24px;\n text-align: left;\n }\n\n .cv-2-21__footer-sticky {\n background: #fff;\n box-shadow: 0px -4px 8px 0px #0000001F;\n position: fixed;\n bottom: 0;\n left: 0;\n width: 100%;\n padding: 12px;\n height: 60px;\n border-top: 1px solid #E3E3E3;\n z-index: 99;\n }\n\n .cv-2-21_back-top {\n bottom: 80px;\n }\n\n .cv-2-21__footer-sticky.cv-2-21__stick-top {\n display: flex;\n }\n\n .cv-2-21__footer-sticky .cv-2-21__sections {\n width: 205px;\n border-right: 1px solid #10147E;\n margin-right: 28px;\n display: none;\n }\n\n .cv-2-21__have-sections .cv-2-21__footer-sticky .cv-2-21__sections {\n display: block;\n }\n\n .cv-2-21__related-research {\n margin-left: 40px;\n }\n\n .cv-2-21__have-sections .cv-2-21__related-research {\n margin-left: 0;\n }\n\n .cv-2-21__footer-sticky .cv-2-21__sections p::before {\n content: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/list_icon.svg);\n position: absolute;\n left: 0;\n }\n\n .cv-2-21__footer-sticky p {\n margin: 8px 0;\n font-size: 14px;\n font-weight: 600;\n line-height: 19.07px;\n color: #10147E;\n position: relative;\n padding-left: 28px;\n margin-left: auto;\n margin-right: auto;\n width: max-content;\n }\n\n .cv-2-21__footer-sticky .cv-2-21__related-research p::before {\n content: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/2.21/file_icon.svg);\n position: absolute;\n left: 0;\n }\n}\n\nbody.cv-2-21__mobile {\n --font: \"Open Sans\", sans-serif;\n}\n\nbody.cv-2-21__mobile .literatumSeriesNavigation {\n margin: 0;\n}\n\nbody.cv-2-21__mobile .literatumSeriesNavigation>.wrapped>.widget-body {\n padding: 0;\n}\n\nbody.cv-2-21__mobile .searchButtonIcon {\n display: none;\n}\n\nbody.cv-2-21__mobile h1 {\n color: #333;\n font-size: 18px !important;\n font-weight: 700;\n line-height: 24px;\n}\n\nbody.cv-2-21__mobile #read-speaker-container {\n margin-top: 24px;\n display: flex !important;\n align-items: center;\n justify-content: space-between;\n padding-right: 3%;\n}\n\nbody.cv-2-21__mobile #read-speaker-container #readspeaker_button1 {\n margin-bottom: 0;\n}\n\nbody.cv-2-21__mobile #read-speaker-container .cv-2-21__share--header {\n background: none;\n color: #10147e;\n border: 1px solid currentColor;\n padding: 8px;\n display: flex;\n align-items: center;\n gap: 4px;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 600;\n line-height: normal;\n border-radius: 4px;\n outline: none;\n}\n\nbody.cv-2-21__mobile #bc-nav,\nbody.cv-2-21__mobile [data-stick-observer-id=breadcrumbs-container],\nbody.cv-2-21__mobile .sectionsNavigation,\nbody.cv-2-21__mobile .downloadCitations:not(.cv-2-21__citeList),\nbody.cv-2-21__mobile .itemPageRangeHistory {\n display: none;\n}\n\nbody.cv-2-21__mobile .dx-doi {\n margin-top: 10px;\n}\n\nbody.cv-2-21__mobile .entryAuthor>a {\n display: flex;\n align-items: center;\n flex-direction: row-reverse;\n color: #10147e;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 400;\n line-height: normal;\n}\n\nbody.cv-2-21__mobile .entryAuthor>a i {\n margin-left: 0 !important;\n margin-right: 4px;\n}\n\nbody.cv-2-21__mobile .show-all-link {\n color: #10147e;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 400;\n line-height: normal;\n text-decoration: underline;\n}\n\nbody.cv-2-21__mobile .show-all-link::first-letter {\n text-transform: capitalize;\n}\n\nbody.cv-2-21__mobile .show-all-link::before {\n display: none;\n}\n\nbody.cv-2-21__mobile .hlFld-KeywordText .kwd-title {\n display: block !important;\n color: #333;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 700;\n line-height: 20px;\n margin: 0;\n margin-bottom: 8px;\n}\n\nbody.cv-2-21__mobile .hlFld-KeywordText .kwd-title::before {\n display: none;\n}\n\nbody.cv-2-21__mobile .hlFld-KeywordText ul {\n display: flex !important;\n gap: 14px;\n grid-row-gap: 6px;\n flex-wrap: wrap;\n margin-bottom: 14px;\n}\n\nbody.cv-2-21__mobile .hlFld-KeywordText ul li a {\n border-radius: 2px !important;\n background: rgba(16, 20, 126, 0.05) !important;\n padding: 6px !important;\n display: block !important;\n color: #10147e !important;\n font-family: var(--font);\n font-size: 13px !important;\n font-weight: 400;\n line-height: normal;\n margin: 0 !important;\n}\n\nbody.cv-2-21__mobile [data-stick-observer-id=publication-tabs-dropdown-tab-nav] {\n display: none !important;\n}\n\nbody.cv-2-21__mobile .section-heading-3,\nbody.cv-2-21__mobile .section-heading-2 {\n color: #333;\n font-size: 16px !important;\n font-weight: 700;\n line-height: 29.12px !important;\n}\n\nbody.cv-2-21__mobile .section-heading-2 {\n margin-bottom: 20px !important;\n}\n\nbody.cv-2-21__mobile h3.section-heading-2,\nbody.cv-2-21__mobile .section-heading-3 {\n font-size: 15px !important;\n margin-top: 0 !important;\n line-height: 1 !important;\n}\n\nbody.cv-2-21__mobile .publicationContentHeader {\n padding-left: 16px;\n padding-right: 16px;\n}\n\nbody.cv-2-21__mobile .cross_mark:not(.cv-2-21__crossMark) {\n display: none;\n}\n\nbody.cv-2-21__mobile .gql-content-navigation {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\nbody.cv-2-21__mobile .entryAuthor.overlayed {\n z-index: 115;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner {\n background: #10147e;\n display: flex;\n align-items: center;\n padding: 10px 12px;\n grid-gap: 10px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .info {\n padding: 0;\n color: #fff !important;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .cover {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 38px;\n height: 54px;\n min-width: 38px;\n min-height: 54px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .cover img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .journal-heading a {\n color: #fff;\n font-size: 13px;\n font-weight: 700;\n font-family: var(--font);\n line-height: normal;\n text-decoration-line: underline;\n margin: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .journal-heading a::after {\n display: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .subtitle {\n font-size: 13px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .issue-heading {\n color: #fff;\n font-family: var(--font);\n font-size: 12px;\n line-height: normal;\n}\n\nbody.cv-2-21__mobile .cv-2-21__infoBanner .issue-heading a {\n color: #fff;\n text-decoration-line: underline;\n font-weight: bold;\n}\n\nbody.cv-2-21__mobile .cv-2-21__metric {\n margin-top: 12px;\n margin-bottom: 16px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__metric .compactView {\n display: flex;\n align-items: center;\n}\n\nbody.cv-2-21__mobile .cv-2-21__metric .compactView>.section {\n position: relative;\n}\n\nbody.cv-2-21__mobile .cv-2-21__metric .compactView>.section:not(:last-child) {\n padding-right: 16px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__metric .compactView>.section:not(:last-child)::after {\n content: \" | \";\n position: absolute;\n top: 50%;\n right: 5px;\n transform: translateY(-50%);\n display: block;\n}\n\nbody.cv-2-21__mobile .cv-2-21__metric .altmetric-score,\nbody.cv-2-21__mobile .cv-2-21__metric .section {\n display: flex;\n align-items: center;\n flex-direction: row-reverse;\n overflow: hidden;\n color: #484848;\n text-overflow: ellipsis;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 400;\n line-height: 20px;\n gap: 4px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper {\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n margin-top: 14px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo {\n display: flex;\n align-items: center;\n gap: 8px;\n position: relative;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo .access-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 18px;\n height: 18px;\n min-width: 18px;\n min-height: 18px;\n background: #f29500;\n position: relative;\n border-radius: 50%;\n border: none;\n overflow: hidden;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo .access-icon::after {\n width: 8px;\n height: 12px;\n position: relative;\n top: unset;\n left: unset;\n right: unset;\n bottom: unset;\n font-size: 12px;\n padding: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo .access-icon.free {\n background: #6cd775;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo .access-icon.free::after {\n width: 11px;\n height: 11px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo #logo-text {\n margin-right: 8px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .accessLogo #logo-text::after {\n content: \"|\";\n margin-left: 8px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper .toc-heading,\nbody.cv-2-21__mobile .cv-2-21__accessLogoWrapper #logo-text {\n color: #484848;\n text-overflow: ellipsis;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 400;\n line-height: 20px;\n margin: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper {\n background: #fff;\n width: 100vw;\n height: max-content;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper::after {\n content: \"\";\n position: absolute;\n top: 100%;\n left: 0;\n width: 100%;\n height: 15px;\n background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.2) 100%);\n pointer-events: none;\n z-index: -1;\n}\n\n@media only screen and (min-width: 481px) {\n body.cv-2-21__mobile .cv-2-21__tabWrapper {\n margin-left: -7px;\n width: 100vw;\n }\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper.sticky {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 100;\n margin-left: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper.sticky .cv-2-21__tabContent__item--active {\n height: calc(100vh - 53px);\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu {\n display: flex;\n align-items: center;\n margin: 0;\n padding: 0;\n list-style: none;\n box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.25);\n position: relative;\n z-index: 99;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item {\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n z-index: 2;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item.hidden {\n display: none !important;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item__btn {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n height: 53px;\n padding: 12px 20px;\n background: none;\n color: #10147e;\n font-family: var(--font);\n font-size: 14px;\n font-weight: 600;\n line-height: normal;\n position: relative;\n cursor: pointer;\n outline: none;\n border: none;\n width: 100%;\n transition: all 0.1s ease;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item__btn[data-id=sections]::after,\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item__btn[data-id=pdf]::after {\n content: \"|\";\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n color: #d3d3d3;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item__btn::after {\n right: -5px;\n mix-blend-mode: color;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item__btn::before {\n left: -4px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--active {\n background: #10147e;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--active .cv-2-21__tabMenu__item__btn {\n color: #fff;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--active .cv-2-21__tabMenu__item__btn[data-id=pdf]::before,\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--active .cv-2-21__tabMenu__item__btn[data-id=pdf]::after {\n color: #10147e;\n display: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--active .cv-2-21__tabMenu__item__btn[data-id=sections]::after {\n left: -2px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--access button {\n padding: 8px;\n border-radius: 4px;\n background: #6bd674;\n color: #10147e;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 600;\n line-height: normal;\n outline: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabMenu__item--share button {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 8px;\n border-radius: 4px;\n background: none;\n color: #10147e;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 600;\n line-height: normal;\n outline: none;\n border: 1px solid currentColor;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper.noAccess .cv-2-21__tabMenu {\n padding: 0 16px;\n gap: 20px;\n padding-right: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper.noAccess .cv-2-21__tabMenu__item {\n flex: auto;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabWrapper.noAccess .cv-2-21__tabMenu__item [data-id=more] {\n padding-left: 28px;\n padding-right: 28px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabContent__item {\n box-sizing: border-box;\n padding: 0;\n background: #fff;\n max-height: 0;\n overflow: hidden;\n transition: all 0.3s ease;\n opacity: 0;\n visibility: hidden;\n box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.1215686275);\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabContent__item--active {\n max-height: 100vh;\n padding: 20px 8px;\n padding-bottom: 50px;\n opacity: 1;\n visibility: visible;\n overflow: auto;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabContent__item__heading {\n display: flex;\n align-items: center;\n justify-content: space-between;\n color: #333;\n font-size: 16px;\n font-weight: 700;\n line-height: 24px;\n margin: 0;\n font-family: var(--font);\n padding: 8px;\n padding-top: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabContent__item__heading button {\n background: none;\n border: none;\n color: #10147e;\n cursor: pointer;\n outline: none;\n padding: 0;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabContent__item__heading button svg {\n width: 15px;\n height: 20px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav li a,\nbody.cv-2-21__mobile .cv-2-21__pdfList li a,\nbody.cv-2-21__mobile .cv-2-21__sectionList li a {\n width: 100%;\n display: block;\n padding: 10px;\n color: #10147e;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 600;\n line-height: 19.04px;\n border-top: 0.5px solid rgba(0, 0, 0, 0.1);\n border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);\n background: #fff;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav li a i,\nbody.cv-2-21__mobile .cv-2-21__pdfList li a i,\nbody.cv-2-21__mobile .cv-2-21__sectionList li a i {\n display: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav li a.active,\nbody.cv-2-21__mobile .cv-2-21__pdfList li a.active,\nbody.cv-2-21__mobile .cv-2-21__sectionList li a.active {\n border-radius: 4px;\n background: #e6f0f7;\n border-top: none;\n border-bottom: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav li a.cross_mark--link img,\nbody.cv-2-21__mobile .cv-2-21__pdfList li a.cross_mark--link img,\nbody.cv-2-21__mobile .cv-2-21__sectionList li a.cross_mark--link img {\n width: 157px;\n object-fit: contain;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav li.active a,\nbody.cv-2-21__mobile .cv-2-21__pdfList li.active a,\nbody.cv-2-21__mobile .cv-2-21__sectionList li.active a {\n border-radius: 4px;\n background: #e6f0f7;\n border-top: none;\n border-bottom: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav li:last-child a,\nbody.cv-2-21__mobile .cv-2-21__pdfList li:last-child a,\nbody.cv-2-21__mobile .cv-2-21__sectionList li:last-child a {\n border-bottom: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav .share-custom-tab,\nbody.cv-2-21__mobile .cv-2-21__pdfList .share-custom-tab,\nbody.cv-2-21__mobile .cv-2-21__sectionList .share-custom-tab {\n display: none !important;\n}\n\nbody.cv-2-21__mobile .cv-2-21__pdfList a {\n border: none !important;\n}\n\nbody.cv-2-21__mobile .cv-2-21__pdfList a .desktop-label,\nbody.cv-2-21__mobile .cv-2-21__pdfList a i {\n display: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav .pdf-tab,\nbody.cv-2-21__mobile .cv-2-21__tabNav .epub-tab {\n display: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav__relatedResearch {\n display: flex;\n flex-direction: column;\n gap: 12px;\n padding-top: 24px;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav__relatedResearch button {\n font-family: var(--font);\n font-size: 13px;\n font-weight: 600;\n line-height: normal;\n padding: 12px 20px;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 4px;\n border-radius: 4px;\n outline: none;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav__relatedResearch .cv-2-21__relatedResearch {\n color: #fff;\n background: #10147e;\n}\n\nbody.cv-2-21__mobile .cv-2-21__tabNav__relatedResearch .cv-2-21__share {\n background: none;\n color: #10147e;\n border: 1px solid currentColor;\n}\n\nbody.cv-2-21__mobile #references-Section {\n border-bottom: 0;\n}\n\nbody.cv-2-21__mobile .access__limit {\n display: none;\n}\n\nbody.cv-2-21__mobile .further-tab-margin,\nbody.cv-2-21__mobile .related-research {\n margin-left: 16px;\n margin-right: 16px;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .furtherReadingTitle h2,\nbody.cv-2-21__mobile .related-research .furtherReadingTitle h2 {\n color: #333;\n font-size: 22px;\n font-weight: 700;\n line-height: 20px;\n margin-bottom: 20px;\n margin-top: 12px;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .furtherReadingTitle h2 .tooltip-collapse::after,\nbody.cv-2-21__mobile .related-research .furtherReadingTitle h2 .tooltip-collapse::after {\n color: #006db4 !important;\n background: #fff !important;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .furtherReadingTitle h2 .tooltip-collapse:hover::after,\nbody.cv-2-21__mobile .related-research .furtherReadingTitle h2 .tooltip-collapse:hover::after {\n color: #f29500 !important;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .tab-nav,\nbody.cv-2-21__mobile .related-research .tab-nav {\n border-bottom: 3px solid #10147e;\n gap: 4px;\n margin-bottom: 20px;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .tab-nav li,\nbody.cv-2-21__mobile .related-research .tab-nav li {\n margin: 0 !important;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .tab-nav li a,\nbody.cv-2-21__mobile .related-research .tab-nav li a {\n border-radius: 4px 4px 0px 0px !important;\n border: 0;\n background: #f3f3f9;\n color: #10147e;\n text-align: center;\n font-size: 13px;\n font-weight: 600;\n line-height: normal;\n padding: 6px;\n display: flex;\n justify-content: center;\n align-items: center;\n outline: none !important;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .tab-nav li a::after,\nbody.cv-2-21__mobile .related-research .tab-nav li a::after {\n display: none !important;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .tab-nav li:hover a,\nbody.cv-2-21__mobile .further-tab-margin .tab-nav li.active a,\nbody.cv-2-21__mobile .related-research .tab-nav li:hover a,\nbody.cv-2-21__mobile .related-research .tab-nav li.active a {\n background: #10147e;\n color: #fff;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card,\nbody.cv-2-21__mobile .related-research .article-card {\n border: none;\n border-radius: 0;\n background: none;\n box-shadow: none;\n padding: 14px 8px;\n padding-bottom: 24px;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card:not(:last-child),\nbody.cv-2-21__mobile .related-research .article-card:not(:last-child) {\n border-bottom: 1px solid #dadada;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .header,\nbody.cv-2-21__mobile .related-research .article-card .header {\n min-height: auto;\n border: 0;\n margin-bottom: 12px;\n padding-bottom: 0;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .header a.frwidget-par,\nbody.cv-2-21__mobile .related-research .article-card .header a.frwidget-par {\n color: #10147e;\n font-family: var(--font);\n font-size: 14px;\n font-weight: 400;\n line-height: 20px;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .header a::after,\nbody.cv-2-21__mobile .related-research .article-card .header a::after {\n display: none;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .footer,\nbody.cv-2-21__mobile .related-research .article-card .footer {\n padding-bottom: 0;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .footer>div,\nbody.cv-2-21__mobile .related-research .article-card .footer>div {\n color: #666;\n font-family: var(--font);\n font-size: 12.24px;\n font-weight: 400;\n line-height: normal;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .footer>div:first-child,\nbody.cv-2-21__mobile .related-research .article-card .footer>div:first-child {\n font-weight: 700;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .footer>div:first-child a,\nbody.cv-2-21__mobile .related-research .article-card .footer>div:first-child a {\n color: #666;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .access-icon:not(.no),\nbody.cv-2-21__mobile .related-research .article-card .access-icon:not(.no) {\n margin-top: 6px;\n display: flex;\n gap: 8px;\n flex-direction: row-reverse;\n justify-content: flex-end;\n align-items: center;\n position: relative;\n border: none;\n background: none !important;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .access-icon:not(.no)::after,\nbody.cv-2-21__mobile .related-research .article-card .access-icon:not(.no)::after {\n width: 16px;\n height: 16px;\n min-width: 16px;\n min-height: 16px;\n position: relative;\n top: unset;\n left: unset;\n right: unset;\n bottom: unset;\n font-size: 10px;\n padding: 4.5px;\n padding-top: 2.5px;\n border-radius: 50%;\n background: #f29500;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .access-icon:not(.no).free::before,\nbody.cv-2-21__mobile .further-tab-margin .article-card .access-icon:not(.no).oa::before,\nbody.cv-2-21__mobile .related-research .article-card .access-icon:not(.no).free::before,\nbody.cv-2-21__mobile .related-research .article-card .access-icon:not(.no).oa::before {\n content: \"Open access\";\n color: #666;\n font-family: var(--font);\n font-size: 13px;\n font-weight: 400;\n line-height: normal;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .access-icon:not(.no).free::after,\nbody.cv-2-21__mobile .related-research .article-card .access-icon:not(.no).free::after {\n background: #6cd775;\n padding: 3.5px;\n padding-top: 3.5px;\n}\n\nbody.cv-2-21__mobile .further-tab-margin .article-card .access-icon:not(.no).free::before,\nbody.cv-2-21__mobile .related-research .article-card .access-icon:not(.no).free::before {\n content: \"Free access\";\n}\n\nbody.cv-2-21__mobile .collapsed-view .widget {\n max-height: fit-content;\n -ms-overflow-style: none;\n scrollbar-width: none;\n}\n\nbody.cv-2-21__mobile .collapsed-view .widget::-webkit-scrollbar {\n display: none;\n}\n\nbody.cv-2-21__mobile p.first.last a,\nbody.cv-2-21__mobile p a {\n word-wrap: break-word;\n white-space: normal;\n}</style>", "dependencies": []}]}]}], "weightDistributions": [{"entityId": "30426920658", "endOfRange": 10000}], "name": "[CONV] [DEV] TAF 2.21", "bucketingStrategy": null, "experimentMetadata": {"allocationPolicy": "manual", "layerId": "30388530830"}}], "policy": "single_experiment", "viewIds": ["25946930133"], "weightDistributions": null, "decisionMetadata": null}, {"changes": null, "id": "30422580119", "name": "[CONV] [DEV] TAF 4.15", "commitId": "30521620043", "groupId": null, "holdback": 0, "activation": {}, "integrationSettings": {"25392070005": {"tracking_id": "UA-3062505-5", "event_category": "Optimizely experiment"}}, "integrationStringVersion": 2, "experiments": [{"audienceIds": ["and", "25883290242", "25260460421"], "audienceName": "[CONV] Desktop Only User,[CONV] QA Mode", "changes": null, "id": "30417740144", "integrationSettings": null, "variations": [{"id": "30453200045", "name": "Original", "actions": []}, {"id": "30449690011", "name": "Subject Curation", "actions": [{"viewId": "29536590483", "changes": [{"id": "CEE8252F-818F-4CF8-A4CE-2269B4C2406E", "type": "custom_code", "value": function($){((w) => { "use strict"; const tag = 'cv-4-15'; const window = typeof unsafeWindow !== "undefined" ? unsafeWindow : w; const qa = document.cookie.indexOf('cfQA') > -1; const log = qa ? Function.prototype.bind.call(console.log, console, '[CONV] TAF 2.21 |') : () => { }; const utils = { waitForElement: (cssSelector, callback) => { var stop, elementCached, timeout, check = () => { try { elementCached = document.querySelector(cssSelector); if (stop) return; if (elementCached) { callback(elementCached); clearTimeout(timeout); } else { window.requestAnimationFrame(check); } } catch (err) { log(err.message); } }; window.requestAnimationFrame(check); timeout = setTimeout(() => { stop = true; }, 5000); }, init: function () { try { this.waitForElement('body', function (docBody) { docBody.classList.add(tag); }); initVariation(); log('test running'); } catch (err) { log(err.message); } }, } const customTracking = (label)=>{ window['optimizely'] = window['optimizely'] || []; window['optimizely'].push({ type: "event", eventName: label, }); } function trackSectionBottom(sectionId) { const trackingMap = { 'social-sciences': 'social_sciences___humanities_bottom_of_section_reached', 'phy-science': 'physical_sciences___engineering_bottom_of_section_reached', 'medicine-health': 'medicine__health___life_sciences_bottom_of_section_reached', 'environmental-science': 'earth___environmental_sciences_bottom_of_section_reached' }; const eventLabel = trackingMap[sectionId]; if (eventLabel) { customTracking(eventLabel); } } // Step 1: Create an object to store data for the 4 sections with nested child elements const sectionsData = { "Social Sciences": { ID: `social-sciences`, title: 'Social Sciences & Humanities', destination: [ { name: "Area Studies", link: "/topic/allsubjects/as" }, { name: "Language & Literature", link: "/topic/allsubjects/la" }, { name: "Arts", link: "/topic/allsubjects/ar" }, { name: "Law", link: "/topic/allsubjects/lw" }, { name: "Communication Studies", link: "/topic/allsubjects/cs" }, { name: "Museum & Heritage Studies", link: "/topic/allsubjects/ah" }, { name: "Economics, Finance, Business & Industry", link: "/topic/allsubjects/eb" }, { name: "Politics & International Relations", link: "/topic/allsubjects/pi" }, { name: "Education", link: "/topic/allsubjects/ed" }, { name: "Social Sciences", link: "/topic/allsubjects/sn" }, { name: "Geography", link: "/topic/allsubjects/ge" }, { name: "Sport & Leisure", link: "/topic/allsubjects/sl" }, { name: "Humanities", link: "/topic/allsubjects/hu" }, { name: "Tourism, Hospitality and Events", link: "/topic/allsubjects/sp" }, ], featuredJournals: [ { title: "Journal of Psychology and AI", img: "/cms/asset/83188e88-b6a4-4257-bcd5-e0c9342232c3/default_cover.jpg", text: "", link: "/journals/tpai20", }, { title: "The Journal of Higher Education", img: "/cms/asset/9e656ee9-284f-46c1-91b4-3403e66697f1/uhej20.v095.i06.cover.jpg", text: "The Journal of Higher Education publishes research into the academic study of higher education addressing institutional and educational developments issues.", link: "/journals/uhej20", }, { title: "Cogent Business & Management", img: "/cms/asset/2e4eabc6-a0ee-44b7-8277-9dc990d880f8/ujhe20.v055.i05.cover.jpg", text: "Publishes research that strives for inclusivity and global reach in all areas of business and management, from operations research to corporate governance.", link: "/journals/oabm20", } ], popularArticles: [ { title: "Representations of calendars and time at Göbekli Tepe and Karahan Tepe support an astronomical interpretation of their symbolism", authorName: "Martin B. Sweatman", journalType: "Time and Mind", date: "Published online: 24 Jul 2024", articleLink: "/doi/full/10.1080/1751696X.2024.2373876", }, { title: "A multidisciplinary scientific investigation of the 1916 Hawthorn Mine Crater, Beaumont Hamel, Somme, Northern France", authorName: "K.D. Wisniewski", journalType: "Journal of Conflict Archaeology", date: "Published online: 07 Jan 2024", articleLink: "/doi/full/10.1080/15740773.2023.2297202", }, { title: "‘Instructive types’ or mere ‘fancies’: assessing French fashion prints in the library of Samuel Pepys", authorName: "Marlo Avidon", journalType: "The Seventeenth Century", date: "Published online: 21 Jul 2024", articleLink: "/doi/full/10.1080/0268117x.2024.2373990", } ] }, "Physical Science": { ID: `phy-science`, title: 'Physical Sciences & Engineering', destination: [ { name: "Computer Science", link: "/topic/allsubjects/cm" }, { name: "Information Science", link: "/topic/allsubjects/if" }, { name: "Engineering & Technology", link: "/topic/allsubjects/ec" }, { name: "Mathematics & Statistics", link: "/topic/allsubjects/ma" }, { name: "Food Science and Technology", link: "/topic/allsubjects/fs" }, { name: "Physical Sciences", link: "/topic/allsubjects/pc" }, ], featuredJournals: [ { title: "Applied Operations and Analytics", img: "/cms/asset/9d23548a-f5a6-4a40-b5a6-d8137589f004/default_cover.jpg", text: "", link: "/journals/taoa20", }, { title: "Journal of the American Statistical Association", img: "/cms/asset/881e3f33-5a4c-44e5-9ab2-f7d536cfa304/uasa20.v119.i546.cover.jpg", text: "Journal of the American Statistical Association is a journal of statistical science that publishes research in statistical applications, theory and methods.", link: "/journals/uasa20", }, { title: "Cogent Engineering", img: "/cms/asset/09544a91-e5ee-4a5b-ad91-ae50922a285f/oaen20.v011.i01.cover.jpg", text: "Publishes research on all areas of engineering and technology including computer science, chemical, mechanical, biomedical, civil and environmental engineering.", link: "/journals/oaen20", } ], popularArticles: [ { title: "Stand-Capable Workstations Reduce Occupational Sedentary Time Among Administrative Workers", authorName: "Tricia Lynn Salzar", journalType: "IISE Transactions on Occupational Ergonomics and Human Factors", date: "Published online: 17 Jun 2024", articleLink: "/doi/full/10.1080/24725838.2024.2362720", }, { title: "Belonging in the workplace: Methodology for fair and equitable data analysis", authorName: "A. D. Carter", journalType: "CIM Journal", date: "Published online: 31 Jan 2024", articleLink: "/doi/full/10.1080/19236026.2023.2267941", }, { title: "The impact of bicycle theft on ridership behavior", authorName: "Achituv Cohen", journalType: "International Journal of Sustainable Transportation", date: "Published online: 14 May 2024", articleLink: "/doi/full/10.1080/15568318.2024.2350946" } ] }, "Medicine Health": { ID: `medicine-health`, title: 'Medicine, Health & Life Sciences', destination: [ { name: "Behavioural Science", link: "/topic/allsubjects/be" }, { name: "Health and Social Care", link: "/topic/allsubjects/hs" }, { name: "Bioscience", link: "/topic/allsubjects/bs" }, { name: "Medicine, Dentistry, Nursing & Allied Health", link: "/topic/allsubjects/me" }, ], featuredJournals: [ { title: "Gut Microbes Reports", img: "/cms/asset/69032fcb-5117-4570-9b1e-914a779c2198/kgmr20.v001.i01.cover.jpg", text: "With a holistic, microbial ecology focus, this journal covers research data on intestinal microorganisms, their role, and their impact on health and disease.", link: "/journals/kgmr20", }, { title: "Annals of Medicine", img: "/cms/asset/a4790af3-2b39-48dc-8dd8-f078d4c37fdf/iann20.v056.i01.cover.jpg", text: "A peer-reviewed OA journal publishing across all areas of medicine as part of the Elevate Series", link: "/journals/iann20", }, { title: "Molecular and Cellular Biology", img: "/cms/asset/6ab8de42-622b-4210-bf19-593b6e393713/tmcb20.v044.i09.cover.jpg", text: "This journal covers advancements in research around the molecular biology of all eukaryotic cells. It includes gene expression and genome organization, and studies of chronic diseases and conditions.", link: "/journals/tmcb20", } ], popularArticles: [ { title: "ADHD Prevalence Among U.S. Children and Adolescents in 2022: Diagnosis, Severity, Co-Occurring Disorders, and Treatment", authorName: "Melissa L. Danielson", journalType: "Journal of Clinical Child & Adolescent Psychology", date: "Published online: 22 May 2024", articleLink: "/doi/full/10.1080/15374416.2024.2335625", }, { title: "Cognitive components of aging-related increase in word-finding difficulty", authorName: "Hsi T. Wei", journalType: "Aging, Neuropsychology, and Cognition", date: "Published online: 14 Feb 2024", articleLink: "/doi/full/10.1080/13825585.2024.2315774", }, { title: "Highly pathogenic avian influenza A(H5N1) virus of clade 2.3.4.4b isolated from a human case in Chile causes fatal disease and transmits between co-housed ferrets", authorName: "Joanna A. Pulit-Penaloza", journalType: "Emerging Microbes & Infections", date: "Published online: 13 Jun 2024", articleLink: "/doi/full/10.1080/22221751.2024.2332667" } ] }, "Environmental Science": { ID: `environmental-science`, title: 'Earth & Environmental Sciences', destination: [ { name: "Built Environment", link: "/topic/allsubjects/bu" }, { name: "Environment and Sustainability", link: "/topic/allsubjects/es" }, { name: "Earth Sciences", link: "/topic/allsubjects/ea" }, { name: "Global Development", link: "/topic/allsubjects/ds" }, { name: "Environment & Agriculture", link: "/topic/allsubjects/ag" }, { name: "Urban Studies", link: "/topic/allsubjects/us" }, ], featuredJournals: [ { title: "Digital Water", img: "/cms/asset/b4c3a422-07dd-4bf3-bf5f-0e5bdcaaf9e8/tdwa20.v001.i01.cover.jpg", text: "Digital Water covers digital transformation across water resources research, including water uses, systems, environment preservation and disaster mitigation.", link: "/journals/tdwa20", }, { title: "Critical Reviews in Environmental Science and Technology", img: "/cms/asset/79eca8fe-4ebb-4c1f-bd58-eac2fb4791b6/best20.v054.i20.cover.jpg", text: "Publishes research on a range of topics in environmental science, including earth and agricultural sciences, environmental toxicology and risk assessment.", link: "/journals/best20", }, { title: "All Earth", img: "/cms/asset/6041f79c-4d7e-414d-b4cd-fc3be5eb1e9a/tgda21.v036.i01.cover.jpg", text: "Formerly Geodinamica Acta, this open access journal publishes across Earth Science fields including multi-disciplinary studies and sound, reproducible research.", link: "/journals/tgda21", } ], popularArticles: [ { title: "Comptonatus chasei, a new iguanodontian dinosaur from the Lower Cretaceous Wessex Formation of the Isle of Wight, southern England", authorName: "Jeremy A. F. Lockwood", journalType: "Journal of Systematic Palaeontology", date: "Published online: 09 Jul 2024", articleLink: "/doi/full/10.1080/14772019.2024.2346573", }, { title: "What if Germany had invested in nuclear power? A comparison between the German energy policy the last 20 years and an alternative policy of investing in nuclear power", authorName: "Jan Emblemsvåg", journalType: "International Journal of Sustainable Energy", date: "Published online: 02 Jun 2024", articleLink: "/doi/full/10.1080/14786451.2024.2355642", }, { title: "A new pterosaur from the Middle Jurassic of Skye, Scotland and the early diversification of flying reptiles", authorName: "Elizabeth Martin-Silverstone", journalType: "Journal of Vertebrate Paleontology", date: "Published online: 05 Feb 2024", articleLink: "/doi/full/10.1080/02724634.2023.2298741" } ] }, }; const generateHTML = (sections) => { let htmlString = ''; // Loop through each section and generate HTML for each child element Object.keys(sections).forEach(section => { const { ID, title, destination, featuredJournals, popularArticles } = sections[section]; htmlString += ` <div class="${tag}__row" id="${ID}"> <h2>${title}</h2> <div class="${tag}__destination"> <ul> ${destination.map(dest => ` <li><a href="${dest.link}">${dest.name}</a></li> `).join('')} </ul> </div> <div class="${tag}__journals"> <h3>Featured journals</h3> <div class="journals"> ${featuredJournals.map(journal => ` <a href="${journal.link}"> <div class="journal"> <div> <img src="${journal.img}" alt="${journal.title}"> <h4>${journal.title}</h4> </div> <p>${journal.text}</p> </div> </a> `).join('')} </div> </div> <div class="${tag}__articles"> <h3>Popular articles</h3> <div class="articles"> ${popularArticles.map(article => ` <div class="article"> <a class="article-title" href="${article.articleLink}">${article.title}</a> <div class="article-details"> <p class="author-name">${article.authorName}</p> <p class="journal-type">${article.journalType}</p> <p class="published-date">${article.date}</p> </div> </div> `).join('')} </div> </div> </div> `; }); return htmlString; }; const htmlString = ` <div class="${tag}__curation-section"> <div class="${tag}__curation-header"> <h2>Explore journals and articles by subject</h2> <p>Search and explore the millions of quality, peer-reviewed journal articles published under the Taylor & Francis, Routledge and Dove Medical Press imprints</p> </div> <div class="${tag}__curation-nav"> <div class="${tag}__nav-container"> <div class="${tag}__nav-items"> <a data-id="social-sciences">Social Sciences & Humanities</a> <a data-id="phy-science">Physical Sciences & Engineering</a> <a data-id="medicine-health">Medicine, Health & Life Sciences</a> <a data-id="environmental-science">Earth & Environmental Sciences</a> </div> </div> </div> <div class="${tag}__curation"> ${generateHTML(sectionsData)} </div> </div> ` function isInViewport(element) { const rect = element.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth) ); } const navStickyFunc = (sections)=>{ const scrollY = window.pageYOffset; const heroHeight = document.querySelector('.cv-4-15__curation-section').offsetTop; // make nav sticky if (document.querySelector('.cv-4-15__curation-nav').getBoundingClientRect().top < 0 && document.querySelector('.cv-4-15__curation-section').getBoundingClientRect().bottom > 100) { document.querySelector('.cv-4-15__nav-container').classList.add(`${tag}__sticky`); } else { document.querySelector('.cv-4-15__nav-container').classList.remove(`${tag}__sticky`); } // add active class sections.forEach(current => { const sectionHeight = current.offsetHeight; const sectionTop = (current.offsetTop + heroHeight) - 40; const sectionId = current.getAttribute('id'); const articleElem = current.querySelector(`.${tag}__articles`); if (scrollY > sectionTop && scrollY <= sectionTop + sectionHeight) { document.querySelector(`.${tag}__curation-nav a[data-id*='${sectionId}']`).classList.add(`${tag}__active`); } else { document.querySelector(`.${tag}__curation-nav a[data-id*='${sectionId}']`).classList.remove(`${tag}__active`); } if (isInViewport(articleElem) && !articleElem.classList.contains(`${tag}__bottom-reached`)) { articleElem.classList.add(`${tag}__bottom-reached`); trackSectionBottom(sectionId); } }) } const initVariation = () => { utils.waitForElement('.secondary-audience .full', () => { document.querySelector('[aria-label="Topic Navigation"]') && document.querySelector('[aria-label="Topic Navigation"]').closest('.widget').classList.add(`${tag}__hide`); document.querySelector('.secondary-audience').insertAdjacentHTML('beforebegin', htmlString); const sections = document.querySelectorAll('.cv-4-15__curation .cv-4-15__row'); navStickyFunc(sections); window.addEventListener('scroll', () => { navStickyFunc(sections); }) }) document.addEventListener('click', (e) => { const elem = e.target; if (elem.closest('.cv-4-15__curation-nav a')) { document.querySelector(`.cv-4-15__curation-nav a.${tag}__active`) && document.querySelector(`.cv-4-15__curation-nav a.${tag}__active`).classList.remove(`${tag}__active`); elem.closest(`.cv-4-15__curation-nav a`).classList.add(`${tag}__active`); } if (elem.closest(`.${tag}__nav-items a`)) { const getId = elem.closest(`.${tag}__nav-items a`).getAttribute('data-id'); document.querySelector(`#${getId}`).scrollIntoView({ block: 'start', }); } }) } utils.init(); setTimeout(() => { document.body.style.display = 'block'; }, 3000) })(window); }, "dependencies": []}, {"id": "568CEA7C-AB2C-4666-9023-1238D8E53F45", "type": "append", "selector": "head", "value": "<style>html body{\n display: none;\n}\n\nhtml body.cv-4-15{\n display: block;\n}\n\n.cv-4-15__hide,\n.cv-4-15__hide+div {\n display: none;\n}\n\n.cv-4-15 .secondary-audience, \n.cv-4-15 .open-access-banner, \n.cv-4-15 div[aria-label=\"Trending Research\"], \n.cv-4-15 .featured-collections{\n display: block !important;\n}\n\n.cv-4-15 .home-background{\n border-bottom: 2px solid #333333;\n}\n\n.cv-4-15__curation-section {\n position: relative;\n}\n\n.cv-4-15__curation-header {\n max-width: 1195px;\n margin: auto;\n margin-top: 90px;\n}\n\n.cv-4-15__curation-header h2 {\n font-size: 30px;\n font-weight: 700;\n line-height: 24px;\n color: #333;\n margin: 0;\n margin-bottom: 20px;\n}\n\n.cv-4-15__curation-header p {\n font-size: 16px;\n font-weight: 400;\n line-height: 24px;\n color: #333;\n margin: 0;\n}\n\n.cv-4-15__curation-nav {\n min-height: 70px;\n margin-top: 40px;\n position: relative;\n z-index: 2;\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-items {\n display: flex;\n max-width: 1280px;\n margin: auto;\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-container:not(.cv-4-15__sticky) .cv-4-15__nav-items{\n gap: 24px;\n max-width: 1195px;\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-container.cv-4-15__sticky {\n position: fixed;\n width: 100%;\n top: 0;\n margin: 0;\n z-index: 9999;\n background: #FFFFFF;\n box-shadow: 0px 1px 2px 0px #00000040;\n}\n\n.cv-4-15__curation-nav a {\n font-size: 16px;\n font-weight: 600;\n line-height: 21.79px;\n color: #0272B1;\n flex: 1;\n text-align: center;\n padding: 24px 0;\n position: relative;\n cursor: pointer;\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-container:not(.cv-4-15__sticky) a{\n padding: 14px 0;\n border: 0.8px solid #0272B1;\n border-radius: 4px;\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-container:not(.cv-4-15__sticky) a[data-id=\"social-sciences\"]{\n background: #0272B1;\n color: #fff;\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-container:not(.cv-4-15__sticky) a[data-id=\"social-sciences\"]::before{\n content: '';\n width: 23px;\n height: 12px;\n background: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/4.15/polygon_arrow.png);\n background-repeat: no-repeat;\n background-size: contain;\n position: absolute;\n bottom: -12px;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.cv-4-15__curation-nav .cv-4-15__active {\n background: #0272B1;\n color: #fff;\n}\n\n.cv-4-15__curation-nav .cv-4-15__active::before {\n content: '';\n width: 23px;\n height: 12px;\n background: url(https://d1mgcpums0qvsa.cloudfront.net/TAF/4.15/polygon_arrow.png);\n background-repeat: no-repeat;\n background-size: contain;\n position: absolute;\n bottom: -12px;\n left: 50%;\n transform: translateX(-50%);\n}\n\n.cv-4-15__curation-nav .cv-4-15__nav-container.cv-4-15__sticky a:not(:last-of-type)::after {\n content: '';\n width: 1px;\n height: 17px;\n background: #D3D3D3;\n position: absolute;\n right: 0;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.cv-4-15__curation-nav:has([data-id=\"environmental-science\"].cv-4-15__active) [data-id=\"medicine-health\"]::after,\n.cv-4-15__curation-nav:has([data-id=\"medicine-health\"].cv-4-15__active) [data-id=\"phy-science\"]::after,\n.cv-4-15__curation-nav:has([data-id=\"phy-science\"].cv-4-15__active) [data-id=\"social-sciences\"]::after {\n display: none;\n}\n\n.cv-4-15__curation-nav .cv-4-15__active::after {\n display: none;\n}\n\n.cv-4-15__curation {\n max-width: 1155px;\n padding: 0 10px;\n margin: auto;\n margin-bottom: 122px;\n margin-top: -30px;\n position: relative;\n z-index: 1;\n}\n\n.cv-4-15__curation h2 {\n font-size: 28px;\n font-weight: 700;\n line-height: 24px;\n color: #333333;\n margin: 0;\n margin-bottom: 50px;\n}\n\n.cv-4-15__curation .cv-4-15__row {\n padding-top: 100px;\n}\n\n.cv-4-15__curation #medicine-health,\n.cv-4-15__curation #phy-science,\n.cv-4-15__curation #social-sciences {\n padding-bottom: 46px;\n position: relative;\n}\n\n.cv-4-15__curation #medicine-health::after,\n.cv-4-15__curation #phy-science::after,\n.cv-4-15__curation #social-sciences::after {\n content: '';\n width: 100%;\n height: 6px;\n position: absolute;\n bottom: -30px;\n left: 0;\n background: #F0F0F0;\n}\n\n.cv-4-15__destination {\n padding-bottom: 30px;\n border-bottom: 1px solid #E6E6E6;\n margin-bottom: 50px;\n}\n\n.cv-4-15__destination ul {\n display: grid;\n grid-template-columns: 1fr 1fr;\n grid-column-gap: 30px;\n padding-left: 6px;\n}\n\n\n.cv-4-15__destination ul li {\n margin-left: 20px;\n}\n\n.cv-4-15__destination ul li,\n.cv-4-15__destination ul a {\n font-size: 20px;\n font-weight: 600;\n line-height: 18px;\n color: #10147E;\n margin-bottom: 20px;\n}\n\n.cv-4-15__curation-nav a:not(.cv-4-15__active):hover,\n.cv-4-15__destination ul a:hover{\n color: #006db4;\n}\n\n.cv-4-15__journals {\n margin-bottom: 50px;\n}\n\n.cv-4-15__articles h3,\n.cv-4-15__journals h3 {\n font-size: 22px;\n font-weight: 700;\n line-height: 24px;\n color: #333333;\n margin: 0;\n margin-bottom: 24px;\n}\n\n.cv-4-15__journals .journals {\n display: flex;\n gap: 24px;\n flex: 1;\n}\n\n.cv-4-15__journals .journals>a {\n padding: 16px;\n border: 1px solid #E9E9E9;\n background: #FAFAFA;\n flex: 1;\n border-radius: 4px;\n}\n\n.cv-4-15__journals .journal>div {\n display: flex;\n gap: 27px;\n}\n\n.cv-4-15__journals .journal img {\n max-width: 60px;\n}\n\n.cv-4-15__journals .journal h4 {\n margin: 0;\n font-size: 18px;\n font-weight: 400;\n line-height: 24px;\n color: #10147E;\n}\n\n.cv-4-15__journals .journals>a:hover h4 {\n color: #006db4;\n}\n\n.cv-4-15__journals .journal p {\n margin: 0;\n font-size: 16px;\n font-weight: 400;\n line-height: 22px;\n color: #333333;\n margin-top: 16px;\n}\n\n.cv-4-15__articles .articles {\n display: flex;\n gap: 40px;\n}\n\n.cv-4-15__articles .articles .article {\n margin: 0;\n line-height: 0;\n flex: 1;\n}\n\n.cv-4-15__articles .article-title {\n font-size: 18px;\n font-weight: 400;\n line-height: 24.5px;\n color: #10147E;\n}\n\n.cv-4-15__articles .article-title:hover {\n color: #006db4;\n}\n\n.cv-4-15__articles .article-details {\n margin-top: 18px;\n}\n\n.cv-4-15__articles .published-date,\n.cv-4-15__articles .journal-type,\n.cv-4-15__articles .author-name {\n font-size: 14px;\n font-weight: 400;\n line-height: 19px;\n color: #333333;\n margin: 0;\n margin-bottom: 4px;\n}\n\n.cv-4-15__articles .journal-type,\n.cv-4-15__articles .published-date {\n color: #666666;\n}\n\n@media screen and (max-width: 1030px) {\n .cv-4-15__curation-section {\n display: none;\n }\n}</style>", "dependencies": []}]}]}], "weightDistributions": [{"entityId": "30449690011", "endOfRange": 10000}], "name": "[CONV] [DEV] TAF 4.15", "bucketingStrategy": null, "experimentMetadata": {"allocationPolicy": "manual", "layerId": "30422580119"}}], "policy": "single_experiment", "viewIds": ["29536590483"], "weightDistributions": null, "decisionMetadata": null}], "groups": [], "audiences": [{"id": "25260460421", "name": "[CONV] QA Mode", "conditions": ["and", ["or", ["or", {"match": "exact", "name": "cfQA", "type": "cookies", "value": "true"}], ["or", {"match": "exact", "name": "cfQA", "type": "query", "value": "true"}]]]}, {"id": "25495690224", "name": "[CONV] CV Experiments exclusion", "conditions": ["and", ["or", ["not", ["or", {"match": "exact", "name": "cv-experiments", "type": "cookies", "value": "false"}]]]]}, {"id": "25883290242", "name": "[CONV] Desktop Only User", "conditions": ["and", ["or", ["or", {"match": null, "name": null, "type": "device", "value": "desktop"}]]]}], "listTargetingKeys": [], "visitorAttributes": [], "visitorIdLocator": null, "integrationSettings": [], "views": [{"id": "24944910645", "category": "other", "apiName": "24511550181_journal_home_page", "name": "Journal home page", "staticConditions": ["and", ["or", {"match": "regex", "type": "url", "value": "^https:\\/\\/www\\.tandfonline\\.com\\/journals\\/(\\w{1,4}|\\w{1,4}\\d{1,2})(\\?[^#]*)?$"}]], "deactivationEnabled": false, "undoOnDeactivation": false, "tags": [], "activationType": "polling", "activationCode": function pollingFn() { return !!document.querySelector('meta[name="pbContext"]'); } }, {"id": "24961161595", "category": "other", "apiName": "24511550181_sitewide", "name": "Sitewide", "staticConditions": ["and", ["or", {"match": "substring", "type": "url", "value": "https://www.tandfonline.com/"}]], "deactivationEnabled": false, "undoOnDeactivation": false, "tags": []}, {"id": "25181500009", "category": "other", "apiName": "24511550181_registration", "name": "Registration", "staticConditions": ["and", ["or", {"match": "regex", "type": "url", "value": "^https:\\/\\/www\\.tandfonline\\.com\\/action\\/registration\\/\\d\\/post$"}]], "deactivationEnabled": false, "undoOnDeactivation": false, "tags": []}, {"id": "25946930133", "category": "other", "apiName": "24511550181_article_page_view_with_paramas", "name": "Article page view with params", "staticConditions": ["and", ["or", {"match": "regex", "type": "url", "value": "^https:\\/\\/www\\.tandfonline\\.com\\/doi\\/full|abs|figure\\/(\\d*\\.?\\d*)\\/(\\d*\\.?\\d*\\.?\\d*)$"}, {"match": "regex", "type": "url", "value": "^https:\\/\\/www\\.tandfonline\\.com\\/doi\\/full|abs|figure|ref|citedby|metrics|pdf|permissions|suppl\\/(\\d*\\.?\\d*)\\/(\\d*\\.?\\d*\\.?\\d*)\\??(?:&?[^=&]*=[^=&]*)*$"}, {"match": "regex", "type": "url", "value": "^https:\\/\\/www\\.tandfonline\\.com\\/action\\/showCopyRight\\??(?:&?[^=&]*=[^=&]*)*$"}]], "deactivationEnabled": false, "undoOnDeactivation": false, "tags": []}, {"id": "29536590483", "category": "other", "apiName": "24511550181_homepage", "name": "Homepage", "staticConditions": ["and", ["or", {"match": "simple", "type": "url", "value": "https://www.tandfonline.com/"}]], "deactivationEnabled": false, "undoOnDeactivation": false, "tags": []}], "events": [{"id": "24996750024", "viewId": "24961161595", "name": "Submit an Article Click", "category": "other", "apiName": "24511550181_submit_an_article_click", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".submitAnArticle"}}, {"id": "25235691763", "viewId": null, "name": "[CONV] [TAF 0.0] Clicks on the Marketing Consent tickbox", "category": "other", "apiName": "TAF_00_Clicks_on_the_Marketing_Consent_tickbox", "eventType": "custom", "eventFilter": null}, {"id": "25310580685", "viewId": null, "name": "[CONV] [TAF 0.0] Number of subject selections", "category": "other", "apiName": "TAF_00_Number_of_subject_selections", "eventType": "custom", "eventFilter": null}, {"id": "25341380373", "viewId": null, "name": "[CONV] [TAF 0.0] Clicks on the Subject Interest dropdown", "category": "other", "apiName": "TAF_00_Clicks_on_the_Subject_Interest_dropdown", "eventType": "custom", "eventFilter": null}, {"id": "25371710114", "viewId": null, "name": "[CONV] [TAF 0.0] Number of clicks on each subject", "category": "other", "apiName": "TAF_00_Number_of_clicks_on_each_subject", "eventType": "custom", "eventFilter": null}, {"id": "25395250029", "viewId": null, "name": "[CONV] TAF 0.0 Clicks on the Register CTA", "category": "other", "apiName": "TAF_0_0_Clicks_on_the_Register_CTA", "eventType": "custom", "eventFilter": null}, {"id": "25671470007", "viewId": null, "name": "[CONV] [TAF 1.11] Journal has format free ", "category": "other", "apiName": "TAF__1_11_format_free", "eventType": "custom", "eventFilter": null}, {"id": "25671850025", "viewId": null, "name": "[CONV] [TAF 1.11] Journals are indexed in", "category": "other", "apiName": "TAF__1_11_journals_are_indexed_in", "eventType": "custom", "eventFilter": null}, {"id": "25688020014", "viewId": null, "name": "[CONV] [TAF 1.11] Production process score 8.0 or higher", "category": "other", "apiName": "TAF__1_11_production_process_score", "eventType": "custom", "eventFilter": null}, {"id": "25689380012", "viewId": null, "name": "[CONV] [TAF 1.11] Editor name tooltip engagement", "category": "other", "apiName": "TAF__1_11_editor_name_tooltip_engagement", "eventType": "custom", "eventFilter": null}, {"id": "25698960016", "viewId": null, "name": "[CONV] [TAF 1.11] Format free tooltip engagement", "category": "other", "apiName": "TAF__1_11_format_free_tooltip_engagement", "eventType": "custom", "eventFilter": null}, {"id": "25858880239", "viewId": null, "name": "[CONV] [TAF 5.10] View more CTA within the People Also Read tab", "category": "other", "apiName": "TAF_5_10_CTA_within_the_People_Also_Read_tab", "eventType": "custom", "eventFilter": null}, {"id": "25868840373", "viewId": null, "name": "[CONV] [TAF 5.10] Clicks on Cited by tab", "category": "other", "apiName": "TAF_5_10_Clicks_on_Cited_by_tab", "eventType": "custom", "eventFilter": null}, {"id": "25875550287", "viewId": null, "name": "[CONV] [TAF 5.10] Clicks on articles in the recommended tab", "category": "other", "apiName": "TAF_5_10_Clicks_on_articles_in_the_recommended_tab", "eventType": "custom", "eventFilter": null}, {"id": "25887660265", "viewId": null, "name": "[CONV] [TAF 5.10] View more CTA within the Recommended articles tab", "category": "other", "apiName": "TAF_5_10_CTA_within_the_Recommended_articles_tab", "eventType": "custom", "eventFilter": null}, {"id": "25897280192", "viewId": null, "name": "[CONV] [TAF 5.10] Clicks on PAR tab", "category": "other", "apiName": "TAF_5_10_Clicks_on_PAR_tab", "eventType": "custom", "eventFilter": null}, {"id": "25907000219", "viewId": null, "name": "[CONV] [TAF 5.10] Clicks on Recommended articles tab", "category": "other", "apiName": "TAF_5_10_Clicks_on_Recommended_articles_tab", "eventType": "custom", "eventFilter": null}, {"id": "26331600670", "viewId": "24961161595", "name": "[CONV] Clicked journal suggester", "category": "other", "apiName": "24511550181_clicked_journal_suggester", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".jnr-sug-button a"}}, {"id": "26782220980", "viewId": null, "name": "[CONV] Clicks on \u2018People also read\u2019 tab ", "category": "other", "apiName": "Clicks_on_People_also_read_tab", "eventType": "custom", "eventFilter": null}, {"id": "26815810553", "viewId": null, "name": "[CONV] Clicks on \u2018Cited by\u2019 article", "category": "other", "apiName": "Clicks_on_Cited_by_article", "eventType": "custom", "eventFilter": null}, {"id": "26839360214", "viewId": null, "name": "[CONV] Clicks on the \u2018in this article\u2019 / \u2018article contents\u2019 CTA", "category": "other", "apiName": "in_this_article__article_contents_click", "eventType": "custom", "eventFilter": null}, {"id": "26844760013", "viewId": null, "name": "[CONV] Clicks on \u2018Recommended research\u2019 tab", "category": "other", "apiName": "Clicks_on_Recommended_research_tab", "eventType": "custom", "eventFilter": null}, {"id": "26845360176", "viewId": null, "name": "[CONV] Clicks on related research new CTA", "category": "other", "apiName": "new_research_cta_click", "eventType": "custom", "eventFilter": null}, {"id": "26849520237", "viewId": null, "name": "[CONV] User sees the \u2018related research\u2019 widget", "category": "other", "apiName": "User_sees_the_related_research_widget", "eventType": "custom", "eventFilter": null}, {"id": "26850200095", "viewId": null, "name": "[CONV] User sees the \u2018related research\u2019 widget on a target page", "category": "other", "apiName": "User_sees_the_related_research_widget_target_page", "eventType": "custom", "eventFilter": null}, {"id": "26852690041", "viewId": null, "name": "[CONV] Clicks on \u2018Cited by\u2019 tab", "category": "other", "apiName": "Clicks_on_Cited_by_tab", "eventType": "custom", "eventFilter": null}, {"id": "26861610070", "viewId": null, "name": "[CONV] Clicks on \u2018People also read\u2019 article", "category": "other", "apiName": "Clicks_on_People_also_read_article", "eventType": "custom", "eventFilter": null}, {"id": "26879110028", "viewId": null, "name": "[CONV] Clicks on \u2018Recommended research\u2019 article", "category": "other", "apiName": "Clicks_on_Recommended_research_article", "eventType": "custom", "eventFilter": null}, {"id": "27434010245", "viewId": null, "name": "[CONV] [TAF 1.12] Clicks on View bio (Mobile)", "category": "other", "apiName": "TAF_1_12_Clicks_On_View_bio_mobile", "eventType": "custom", "eventFilter": null}, {"id": "27436430812", "viewId": null, "name": "[CONV] [TAF 2.19] Clicks on the Register CTA on Registration pages", "category": "other", "apiName": "TAF_2_19_Clicks_on_register_CTA_registration_pages", "eventType": "custom", "eventFilter": null}, {"id": "27453731178", "viewId": null, "name": "[CONV] [TAF 2.19] Clicks on the Register CTA in the site nav", "category": "other", "apiName": "TAF_2_19_Clicks_on_register_nav", "eventType": "custom", "eventFilter": null}, {"id": "27459930063", "viewId": null, "name": "[CONV] [TAF 1.12] Clicks on View more (Desktop)", "category": "other", "apiName": "TAF_1_12_Clicks_On_View_more_desktop", "eventType": "custom", "eventFilter": null}, {"id": "27461130993", "viewId": null, "name": "[CONV] [TAF 2.19] Clicks on the close CTA", "category": "other", "apiName": "TAF_2_19_Clicks_on_close_CTA", "eventType": "custom", "eventFilter": null}, {"id": "27501270241", "viewId": null, "name": "[CONV] [TAF 2.19] Clicks on the register CTA on the inline search cards", "category": "other", "apiName": "TAF_2_19_Clicks_on_register_CTA", "eventType": "custom", "eventFilter": null}, {"id": "27525080004", "viewId": null, "name": "[CONV] [TAF 1.12] Clicks on ORCID profile link", "category": "other", "apiName": "TAF_1_12_Clicks_on_ORCID_profile_link", "eventType": "custom", "eventFilter": null}, {"id": "27741460174", "viewId": null, "name": "[CONV] [TAF 2.19] Clicks on the login CTA on the inline search cards", "category": "other", "apiName": "TAF_2_19_Clicks_on_login_CTA", "eventType": "custom", "eventFilter": null}, {"id": "27745370175", "viewId": null, "name": "[CONV] [TAF 2.19] Clicks on the Login CTA in the site nav", "category": "other", "apiName": "TAF_2_19_Clicks_on_login_nav", "eventType": "custom", "eventFilter": null}, {"id": "27821660375", "viewId": null, "name": "[CONV] [TAF 4.9] Clicks on the go to journal suggester CTA under Looking to submit", "category": "other", "apiName": "TAF_4_9_Clicks_on_the_go_to_journal_suggester", "eventType": "custom", "eventFilter": null}, {"id": "27837800749", "viewId": null, "name": "[CONV] Clicks on Submit CTA top of page ", "category": "other", "apiName": "Clicks_on_Submit_CTA_top_of_page", "eventType": "custom", "eventFilter": null}, {"id": "27867540231", "viewId": null, "name": "[CONV] [TAF 4.9] Dead clicks on the hero section", "category": "other", "apiName": "TAF_4_9_Dead_clicks_on_the_hero_section", "eventType": "custom", "eventFilter": null}, {"id": "27953440006", "viewId": null, "name": "[CONV] Clicks on additional Submit CTA", "category": "other", "apiName": "Clicks_on_Submit_CTA_bottom_of_page", "eventType": "custom", "eventFilter": null}, {"id": "27978450474", "viewId": null, "name": "[CONV] [TAF 4.7] Deselect the Only show journals I can submit to", "category": "other", "apiName": "deselect_custom_filter", "eventType": "custom", "eventFilter": null}, {"id": "28009180323", "viewId": null, "name": "[CONV] [TAF 4.7] Select the Only show journals I can submit to", "category": "other", "apiName": "select_custom_filter", "eventType": "custom", "eventFilter": null}, {"id": "28342230342", "viewId": null, "name": "[CONV] [4.10] Clicks on the journal suggester", "category": "other", "apiName": "cv-4-10-journal-suggester", "eventType": "custom", "eventFilter": null}, {"id": "28354111253", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Resources for Librarians", "category": "other", "apiName": "Clicks_on_Resources_for_Librarians", "eventType": "custom", "eventFilter": null}, {"id": "28360061399", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on advanced search", "category": "other", "apiName": "Clicks_on_advanced_search", "eventType": "custom", "eventFilter": null}, {"id": "28360500665", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on any of the Trending Research", "category": "other", "apiName": "Clicks_on_any_of_the_Trending_Research", "eventType": "custom", "eventFilter": null}, {"id": "28361330633", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Register in top nav", "category": "other", "apiName": "Clicks_on_Register_in_top_nav", "eventType": "custom", "eventFilter": null}, {"id": "28367420512", "viewId": null, "name": "[CONV] [4.10] Clicks on export search results", "category": "other", "apiName": "cv-4-10-export-click", "eventType": "custom", "eventFilter": null}, {"id": "28373380549", "viewId": null, "name": "[CONV] [4.10] Clicks on save search", "category": "other", "apiName": "cv-4-10-save-click", "eventType": "custom", "eventFilter": null}, {"id": "28373681415", "viewId": null, "name": "[CONV] [TAF 8.0] Dead clicks on partner logos module", "category": "other", "apiName": "Dead_clicks_on_partner_logos_module", "eventType": "custom", "eventFilter": null}, {"id": "28388570224", "viewId": "24961161595", "name": "[CONV] Clicks on advanced search", "category": "other", "apiName": "24511550181_conv_clicks_on_advanced_search", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".advSearchResultsLink"}}, {"id": "28393300713", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on the search icon", "category": "other", "apiName": "Clicks_on_the_search_icon", "eventType": "custom", "eventFilter": null}, {"id": "28408670087", "viewId": "24961161595", "name": "[CONV] Click Download PDFs", "category": "other", "apiName": "24511550181_conv_click_download_pdfs", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.download-pdfs"}}, {"id": "28413770867", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Resources for Societies", "category": "other", "apiName": "Clicks_on_Resources_for_Societies", "eventType": "custom", "eventFilter": null}, {"id": "28417370676", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Resources for Editors", "category": "other", "apiName": "Clicks_on_Resources_for_Editors", "eventType": "custom", "eventFilter": null}, {"id": "28417490269", "viewId": "24961161595", "name": "[CONV] Click Download citations", "category": "other", "apiName": "24511550181_conv_click_download_citations", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.download-citations"}}, {"id": "28418960688", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on a subject in \u201cExplore journals and articles by subject\u201d ", "category": "other", "apiName": "Clicks_on_a_subject_in_Explore_journals_and_articles_by_subject", "eventType": "custom", "eventFilter": null}, {"id": "28441620037", "viewId": null, "name": "[CONV] [4.10] Clicks on the filters CTA", "category": "other", "apiName": "cv-4-10-filters-click", "eventType": "custom", "eventFilter": null}, {"id": "28489450184", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Find a journal", "category": "other", "apiName": "Clicks_on_Find_a_journal", "eventType": "custom", "eventFilter": null}, {"id": "28496220014", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Log in in top nav", "category": "other", "apiName": "Clicks_on_Log_in_in_top_nav", "eventType": "custom", "eventFilter": null}, {"id": "28496990145", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Journals A-Z", "category": "other", "apiName": "Clicks_on_Journals_A-Z", "eventType": "custom", "eventFilter": null}, {"id": "28497800017", "viewId": null, "name": "[CONV] [TAF 8.0] Clicks on Resources for Authors", "category": "other", "apiName": "Clicks_on_Resources_for_Authors", "eventType": "custom", "eventFilter": null}, {"id": "28551920333", "viewId": null, "name": "[CONV] [5.14] Clicks on articles from keyword search", "category": "other", "apiName": "Clicks_on_articles_on_keyword_search", "eventType": "custom", "eventFilter": null}, {"id": "28554340148", "viewId": null, "name": "[CONV] [5.14] Clicks on Page 2 of results", "category": "other", "apiName": "Clicks_on_Page_2_of_results", "eventType": "custom", "eventFilter": null}, {"id": "28558520204", "viewId": null, "name": "[CONV] [5.14] Clicks on \u201850 per page\u2019", "category": "other", "apiName": "Clicks_on_50_per_page", "eventType": "custom", "eventFilter": null}, {"id": "28565660176", "viewId": null, "name": "[CONV] [5.14] Clicks on articles from subject search", "category": "other", "apiName": "Clicks_on_articles_on_subject_search", "eventType": "custom", "eventFilter": null}, {"id": "28571640328", "viewId": null, "name": "[CONV] [5.14] Clicks on journals from the subject search", "category": "other", "apiName": "Clicks_on_journals_from_the_subject_search", "eventType": "custom", "eventFilter": null}, {"id": "28577930158", "viewId": null, "name": "[CONV] [5.14] Clicks on \u201820 per page\u2019", "category": "other", "apiName": "Clicks_on_20_per_page", "eventType": "custom", "eventFilter": null}, {"id": "28578140154", "viewId": null, "name": "[CONV] [5.14] Clicks on Journals on the JAZ", "category": "other", "apiName": "Clicks_on_articles_on_JAZ", "eventType": "custom", "eventFilter": null}, {"id": "28580390162", "viewId": null, "name": "[CONV] [5.14] Clicks on journals from the keyword search", "category": "other", "apiName": "Clicks_on_journals_from_the_keyword_search", "eventType": "custom", "eventFilter": null}, {"id": "28582040179", "viewId": null, "name": "[CONV] [5.14] Clicks on \u201810 per page\u2019 ", "category": "other", "apiName": "Clicks_on_10_per_page", "eventType": "custom", "eventFilter": null}, {"id": "28583010273", "viewId": null, "name": "[CONV] [5.14] Clicks on journals from the JAZ ", "category": "other", "apiName": "Clicks_on_journals_from_the_jaz", "eventType": "custom", "eventFilter": null}, {"id": "28721530217", "viewId": null, "name": "[CONV] [TAF 4.9] Clicks on Journals tab", "category": "other", "apiName": "TAF_4_9_Clicks_on_journals_tab", "eventType": "custom", "eventFilter": null}, {"id": "28722000020", "viewId": null, "name": "[CONV] [TAF 4.9] Clicks on Articles tab", "category": "other", "apiName": "TAF_4_9_Clicks_on_articles_tab", "eventType": "custom", "eventFilter": null}, {"id": "28733040341", "viewId": null, "name": "[CONV] Click 'Order by' dropdown", "category": "other", "apiName": "cv-4-10-order-by-relevance", "eventType": "custom", "eventFilter": null}, {"id": "28763070107", "viewId": null, "name": "[CONV] [TAF 4.9] Clicks on Special issues and Collections tab", "category": "other", "apiName": "TAF_4_9_Clicks_on_special_issues_and_collections_tab", "eventType": "custom", "eventFilter": null}, {"id": "28787650151", "viewId": "25946930133", "name": "[CONV] Clicks on 'Recommended Articles' tab ", "category": "other", "apiName": "24511550181_conv_clicks_on_recommended_articles_tab_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-4 a#tab-1"}}, {"id": "28791750345", "viewId": "25946930133", "name": "[CONV] Clicks on 'Cited by' article", "category": "other", "apiName": "24511550181_conv_clicks_on_cited_by_article", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "div[aria-labelledby='tab-2'] .article-card .header a"}}, {"id": "28793810302", "viewId": "25946930133", "name": "[CONV] Clicks on 'Recommended articles' article", "category": "other", "apiName": "24511550181_conv_clicks_on_recommended_articles_article", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "div[aria-labelledby='tab-1'] .article-card .header a"}}, {"id": "28830160088", "viewId": "25946930133", "name": "[CONV] Clicks related research tooltip", "category": "other", "apiName": "24511550181_conv_clicks_related_research_tooltip_1", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".furtherReadingTitle button"}}, {"id": "28837630200", "viewId": "25946930133", "name": "[CONV] Clicks on 'Cited by' tab", "category": "other", "apiName": "24511550181_conv_clicks_on_cited_by_tab", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-4 a#tab-2"}}, {"id": "28855920086", "viewId": "25946930133", "name": "[CONV] Clicks on View more CTA (Recommended articles Tab)", "category": "other", "apiName": "24511550181_conv_clicks_on_view_more_cta_recommended_articles_ta", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "div[aria-labelledby='tab-1'] .view-more a"}}, {"id": "28871660013", "viewId": "25946930133", "name": "[CONV] Clicks on 'People Also Read' tab", "category": "other", "apiName": "24511550181_conv_clicks_on_people_also_read_tab", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-4 a#tab-0"}}, {"id": "28883520009", "viewId": "25946930133", "name": "[CONV] Clicks on 'People also read' article", "category": "other", "apiName": "24511550181_conv_clicks_on_people_also_read_article", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "div[aria-labelledby='tab-0'] .article-card .header a"}}, {"id": "29208220202", "viewId": "24961161595", "name": "[CONV] [4.11] Clicks on new sticky Filter", "category": "other", "apiName": "24511550181_conv_411_clicks_on_new_sticky_filter", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cv-4-11-filter"}}, {"id": "29217660196", "viewId": "24961161595", "name": "[CONV] Clicks on Order by ", "category": "other", "apiName": "24511550181_conv_clicks_on_order_by_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "button#sort-button"}}, {"id": "29224410165", "viewId": "24961161595", "name": "[CONV] Clicks on per page button", "category": "other", "apiName": "24511550181_conv_clicks_on_per_page_button", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "button#perPage-button"}}, {"id": "29227100230", "viewId": "24961161595", "name": "[CONV] [4.11] Clicks on new sticky Sort", "category": "other", "apiName": "24511550181_conv_clicks_on_new_sticky_sort", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cv-4-11-select-selected"}}, {"id": "29248730006", "viewId": "24961161595", "name": "[CONV] Clicks on export search results ", "category": "other", "apiName": "24511550181_clicks_on_export_search_results_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#download-search-results"}}, {"id": "29264060015", "viewId": "24961161595", "name": "[CONV] Clicks on save search ", "category": "other", "apiName": "24511550181_conv_clicks_on_save_search_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".save-search-show-dialog"}}, {"id": "29271330110", "viewId": "24961161595", "name": "[CONV] Clicks on the filters CTA", "category": "other", "apiName": "24511550181_conv_clicks_on_the_filters_cta", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#filtersBtn"}}, {"id": "29280960081", "viewId": "24961161595", "name": "[CONV] Clicks on modify your search ", "category": "other", "apiName": "24511550181_conv_clicks_on_modify_your_search_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".modify-search--section a"}}, {"id": "29283120021", "viewId": null, "name": "[CONV] Application of any filter (count)", "category": "other", "apiName": "apply-any-filter", "eventType": "custom", "eventFilter": null}, {"id": "29355340234", "viewId": "24961161595", "name": "[CONV] Click on any article in research rail", "category": "other", "apiName": "24511550181_conv_click_on_any_article_in_research_rail", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".publicationListContainer .article-card .header a"}}, {"id": "29420441294", "viewId": null, "name": "[CONV] [TAF 4.13] Interact with Social Sciences & Humanities", "category": "other", "apiName": "cv-4-13-category-2", "eventType": "custom", "eventFilter": null}, {"id": "29446610859", "viewId": "29536590483", "name": "[CONV] Clicks any subject on homepage", "category": "other", "apiName": "24511550181_conv_clicks_any_subject_on_homepage", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".topicalIndex a"}}, {"id": "29469560653", "viewId": "24961161595", "name": "[CONV] Click on any author in research rail", "category": "other", "apiName": "24511550181_conv_click_on_any_author_in_research_rail", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".publicationListContainer a.entryAuthor"}}, {"id": "29476001268", "viewId": "29536590483", "name": "[CONV] Clicks Journals A - Z", "category": "other", "apiName": "24511550181_conv_clicks_journals_a__z", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".a-z-link"}}, {"id": "29536090414", "viewId": null, "name": "[CONV] [TAF 4.13] Interact with Physical Sciences & Engineering", "category": "other", "apiName": "cv-4-13-category-3", "eventType": "custom", "eventFilter": null}, {"id": "29537910503", "viewId": "29536590483", "name": "[CONV] Clicks on find a journal", "category": "other", "apiName": "24511550181_conv_clicks_on_find_a_journal", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.full-a-z-link"}}, {"id": "29555250344", "viewId": null, "name": "[CONV] [TAF 4.13] Interact with Medicine, Health & Life Sciences", "category": "other", "apiName": "cv-4-13-category-1", "eventType": "custom", "eventFilter": null}, {"id": "29585330295", "viewId": null, "name": "[CONV] [TAF 4.13] Interact with Earth & Environmental Sciences", "category": "other", "apiName": "cv-4-13-category-4", "eventType": "custom", "eventFilter": null}, {"id": "30018830650", "viewId": "25946930133", "name": "Article > 'Cite this article' clicks", "category": "other", "apiName": "24511550181_article__cite_this_article_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.download-citations"}}, {"id": "30024770593", "viewId": "25946930133", "name": "Article > Keywords clicks", "category": "other", "apiName": "24511550181_article__keywords_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".keyword-click"}}, {"id": "30034341028", "viewId": "24961161595", "name": "Sitewide > Clicked search", "category": "other", "apiName": "24511550181_sitewide__clicked_search", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".topnav-search-button, .search-home.navigation--item__dropdown-content .mainSearchButton"}}, {"id": "30036740475", "viewId": "25946930133", "name": "Article > 'Next article' clicks", "category": "other", "apiName": "24511550181_article__next_article_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cn--nextArticle"}}, {"id": "30037731186", "viewId": "25946930133", "name": "Article > Share icon clicks", "category": "other", "apiName": "24511550181_article__share_icon_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".a2a_full_services a"}}, {"id": "30037821128", "viewId": null, "name": "Scroll 75%", "category": "other", "apiName": "scroll-75", "eventType": "custom", "eventFilter": null}, {"id": "30047741476", "viewId": "25946930133", "name": "Article > DOI link clicks", "category": "other", "apiName": "24511550181_article__doi_link_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".dx-doi a"}}, {"id": "30056760589", "viewId": "25946930133", "name": "Article > Submit an Article CTA clicks ", "category": "other", "apiName": "24511550181_article__submit_an_article_cta_clicks_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.submitAnArticle"}}, {"id": "30067490903", "viewId": "25946930133", "name": "Article > Listen to the article clicks", "category": "other", "apiName": "24511550181_article__listen_to_the_article_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.rsbtn_play"}}, {"id": "30077050797", "viewId": "29536590483", "name": "Keyword search submitted", "category": "other", "apiName": "24511550181_keyword_search_submitted", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".quickSearchWidget .mainSearchButton"}}, {"id": "30080720274", "viewId": "25946930133", "name": "Article > Journal Homepage CTA clicks ", "category": "other", "apiName": "24511550181_article__journal_homepage_cta_clicks_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.jHomepage"}}, {"id": "30086750379", "viewId": "25946930133", "name": "Article > 'Read this article' CTA clicks", "category": "other", "apiName": "24511550181_article__read_this_article_cta_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.grant-access"}}, {"id": "30087520725", "viewId": "24961161595", "name": "Sitewide > Clicked publish", "category": "other", "apiName": "24511550181_sitewide__clicked_publish", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".topnav-publish-button, .navigation--item__dropdown-content a"}}, {"id": "30087850499", "viewId": "25946930133", "name": "Article > 'In this article' listing clicked", "category": "other", "apiName": "24511550181_article__in_this_article_listing_clicked", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".sections-nav li a"}}, {"id": "30088570250", "viewId": "25946930133", "name": "Article > 'PDF' CTA clicks", "category": "other", "apiName": "24511550181_article__pdf_cta_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.show-pdf"}}, {"id": "30092160779", "viewId": "25946930133", "name": "Article > 'View issue table of contents' clicks", "category": "other", "apiName": "24511550181_article__view_issue_table_of_contents_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cn--tocLink"}}, {"id": "30121140258", "viewId": "25946930133", "name": "Article > Citation date link clicks", "category": "other", "apiName": "24511550181_article__citation_date_link_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".ref-lnk a"}}, {"id": "30126160050", "viewId": "25946930133", "name": "Article > 'EPUB' CTA clicks", "category": "other", "apiName": "24511550181_article__epub_cta_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "a.show-epub"}}, {"id": "30129070568", "viewId": null, "name": "Scroll 25%", "category": "other", "apiName": "scroll-25", "eventType": "custom", "eventFilter": null}, {"id": "30134460288", "viewId": "25946930133", "name": "Article > In-page search submitted", "category": "other", "apiName": "24511550181_article__inpage_search_submitted", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".search_container .quickSearchForm button"}}, {"id": "30140620007", "viewId": "25946930133", "name": "Article > 'Previous article' clicks", "category": "other", "apiName": "24511550181_article__previous_article_clicks", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cn--previousArticle"}}, {"id": "30147590008", "viewId": "24961161595", "name": "Sitewide > Clicked browse", "category": "other", "apiName": "24511550181_sitewide__clicked_browse", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".topnav-browse-button"}}, {"id": "30151080731", "viewId": null, "name": "Scroll 50%", "category": "other", "apiName": "scroll-50", "eventType": "custom", "eventFilter": null}, {"id": "30172980056", "viewId": null, "name": "Scroll 100%", "category": "other", "apiName": "scroll-100", "eventType": "custom", "eventFilter": null}, {"id": "30264640392", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cSections\u201d clicks", "category": "other", "apiName": "Sections_clicks", "eventType": "custom", "eventFilter": null}, {"id": "30273360861", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cMore\u201d clicks", "category": "other", "apiName": "More_clicks", "eventType": "custom", "eventFilter": null}, {"id": "30281260232", "viewId": "24961161595", "name": "Footer > Clicked link under 'Opportunities'", "category": "other", "apiName": "24511550181_footer__clicked_link_under_opportunities", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-2:nth-child(2) .footer_left_col .footer-info-list a"}}, {"id": "30282620760", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cLicensing\u201d clicked", "category": "other", "apiName": "Licensing_clicked", "eventType": "custom", "eventFilter": null}, {"id": "30289490728", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cMetrics\u201d clicked", "category": "other", "apiName": "Metrics_clicked", "eventType": "custom", "eventFilter": null}, {"id": "30291230713", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cShow more\u201d author names clicked", "category": "other", "apiName": "Show_more_author_names_clicked", "eventType": "custom", "eventFilter": null}, {"id": "30297720136", "viewId": "24961161595", "name": "Footer > Clicked link under 'Information for'", "category": "other", "apiName": "24511550181_sitewide__clicked_link_under_information_for", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-2:nth-child(1) .footer_left_col .footer-info-list a"}}, {"id": "30299280106", "viewId": "24961161595", "name": "Footer > Clicked link under 'Open access'", "category": "other", "apiName": "24511550181_footer__clicked_link_under_open_access", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-2:nth-child(1) .footer_right_col .footer-info-list a"}}, {"id": "30301720750", "viewId": null, "name": "[CONV] [TAF 2.22] Bottom of abstract reached", "category": "other", "apiName": "Bottom_of_abstract_reached", "eventType": "custom", "eventFilter": null}, {"id": "30305940119", "viewId": "24961161595", "name": "Footer > Clicked link under 'Help and information'", "category": "other", "apiName": "24511550181_footer__clicked_link_under_help_and_information", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".col-md-1-2:nth-child(2) .footer_right_col .footer-info-list a"}}, {"id": "30330250020", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cFigures and data\u201d clicked", "category": "other", "apiName": "Figures_and_data_clicked", "eventType": "custom", "eventFilter": null}, {"id": "30337940030", "viewId": null, "name": "[CONV] [TAF 2.22] Author name clicks", "category": "other", "apiName": "Author_name_clicks", "eventType": "custom", "eventFilter": null}, {"id": "30343750015", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cRelated research\u201d viewed", "category": "other", "apiName": "Related_research_viewed", "eventType": "custom", "eventFilter": null}, {"id": "30345810018", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cReferences\u201d clicked", "category": "other", "apiName": "References_clicked", "eventType": "custom", "eventFilter": null}, {"id": "30386550988", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a T1 subject link", "category": "other", "apiName": "24511550181_clicks_on_a_t1_subject_link", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cv-4-15__destination ul a, .topicalIndex ul li a"}}, {"id": "30390880996", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on new navigation options", "category": "other", "apiName": "24511550181_conv_415_clicks_on_new_navigation_options", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".cv-4-15__curation-nav a"}}, {"id": "30419010642", "viewId": null, "name": "[CONV] [TAF 2.22] \u201cSearch\u201d completed", "category": "other", "apiName": "Search_completed", "eventType": "custom", "eventFilter": null}, {"id": "30490830044", "viewId": null, "name": "[CONV] [4.15] Physical Sciences & Engineering Bottom of section reached", "category": "other", "apiName": "physical_sciences___engineering_bottom_of_section_reached", "eventType": "custom", "eventFilter": null}, {"id": "30498800028", "viewId": null, "name": "[CONV] [4.15] Earth & Environmental Sciences Bottom of section reached", "category": "other", "apiName": "earth___environmental_sciences_bottom_of_section_reached", "eventType": "custom", "eventFilter": null}, {"id": "30498820031", "viewId": null, "name": "[CONV] [4.15] Social Sciences & Humanities Bottom of section reached", "category": "other", "apiName": "social_sciences___humanities_bottom_of_section_reached", "eventType": "custom", "eventFilter": null}, {"id": "30509290021", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a popular article", "category": "other", "apiName": "24511550181_clicks_on_a_popular_article", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": ".gql-publication-list .article-card .header a, .cv-4-15__articles .article-title"}}, {"id": "30509740040", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a Featured Journal Medicine, Health, and Life Sciences", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_featured_journal_medicine_healt", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#medicine-health .cv-4-15__journals a"}}, {"id": "30516190049", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a popular article Earth & Environmental Sciences", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_popular_article_earth__environm", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#environmental-science .cv-4-15__articles a"}}, {"id": "30521030045", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a popular article Medicine, Health, and Life Sciences", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_popular_article_medicine_health", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#medicine-health .cv-4-15__articles a"}}, {"id": "30521450035", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a popular article Social Science & Humanities", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_popular_article_social_science_", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#social-sciences .cv-4-15__articles a"}}, {"id": "30523960015", "viewId": null, "name": "[CONV] [4.15] Medicine, Health & Life Sciences Bottom of section reached", "category": "other", "apiName": "medicine__health___life_sciences_bottom_of_section_reached", "eventType": "custom", "eventFilter": null}, {"id": "30533390029", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a Featured Journal Physical sciences & Humanities ; Medicine", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_featured_journal_physical_scien", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#phy-science .cv-4-15__journals a"}}, {"id": "30535230047", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a Featured Journal Earth & Environmental Sciences", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_featured_journal_earth__environ", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#environmental-science .cv-4-15__journals a"}}, {"id": "30535500011", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a popular article Physical sciences & Humanities ; Medicine, Health", "category": "other", "apiName": "24511550181_conv_415_clicks_on_a_popular_article_physical_scienc", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#phy-science .cv-4-15__articles a"}}, {"id": "30538940054", "viewId": "29536590483", "name": "[CONV] [4.15] Clicks on a Featured Journal Social Science & Humanities", "category": "other", "apiName": "24511550181_clicks_on_a_featured_journal_social_science__humanit", "eventType": "click", "eventFilter": {"filterType": "target_selector", "selector": "#social-sciences .cv-4-15__journals a"}}], "dimensions": [{"id": "25571350488", "name": "[CONV] [TAF 0.0] Number of clicks on each subject", "apiName": "TAF_00_Number_of_clicks_on_each_subject", "segmentId": null}, {"id": "25623040579", "name": "[CONV] [TAF 0.0] Number of subject selections", "apiName": "TAF_00_Number_of_subject_selections", "segmentId": null}, {"id": "25872350504", "name": "[CONV] [TAF 1.11] Format Free | Indexed In | PPS >= 8.0", "apiName": "ANY", "segmentId": null}, {"id": "25884060322", "name": "[CONV] [TAF 1.11] Production process score 8.0 or higher", "apiName": "TAF__1_11_production_process_score", "segmentId": null}, {"id": "25897310318", "name": "[CONV] [TAF 1.11] Journal has format free", "apiName": "TAF__1_11_format_free", "segmentId": null}, {"id": "25907560198", "name": "[CONV] [TAF 1.11] Journals are indexed in", "apiName": "TAF__1_11_journals_are_indexed_in", "segmentId": null}, {"id": "27814310608", "name": "[CONV] [TAF 2.20] Scroll depth of IFA pages", "apiName": "Scroll_depth_of_IFA_pages", "segmentId": null}, {"id": "27827610553", "name": "[CONV] [TAF 2.20] Page end views", "apiName": "Page_end_views", "segmentId": null}, {"id": "28564690227", "name": "[CONV] [5.14] Clicks on articles in the first 10 vs second 10", "apiName": "Clicks_on_articles_in_the_first_10_vs_second_10", "segmentId": null}, {"id": "28567860282", "name": "[CONV] [5.14] Clicks on articles from each of the search page types", "apiName": "Clicks_on_articles_from_each_of_the_search_page_types", "segmentId": null}, {"id": "28587110297", "name": "[CONV] [5.14] Clicks on journals from each of the search page types", "apiName": "Clicks_on_journals_from_each_of_the_search_page_types", "segmentId": null}], "plugins": [function(PluginManager) { PluginManager.registerAnalyticsTracker('25392070005', { preRedirectPolicy: 'PERSIST_BEFORE_REDIRECT', postRedirectPolicy: 'TRACK_IMMEDIATELY', nonRedirectPolicy: 'TRACK_IMMEDIATELY', trackLayerDecision: function(decisionData) { var extension = decisionData.integrationSettings && decisionData.integrationSettings['25392070005']; if (!extension) { return; } var campaign = { id: decisionData.layerId, name: decisionData.layerName, policy: decisionData.layerPolicy, integrationStringVersion: decisionData.integrationStringVersion, }; var campaignId = campaign.id; var experimentId = decisionData.experimentId; var variationId = decisionData.variationId; var isHoldback = decisionData.isLayerHoldback; extension.$fieldDefaults = [{"name":"tracking_id","default_value":"UA-3062505-5"},{"name":"event_category","default_value":"Optimizely experiment"}]; (function(widg) { var i = 0; var field; for (; i < widg.$fieldDefaults.length; ++i) { field = widg.$fieldDefaults[i]; if (!widg.hasOwnProperty(field.name)) { widg[field.name] = field.default_value; } } })(extension); if (!isHoldback) { function sendIntegrationEvent(gaName) { window.ga(gaName+'send', { 'hitType': "event", 'eventCategory': typeof extension.event_category !== 'undefined' && extension.event_category !== "" ? extension.event_category : "Optimizely", 'eventAction': window["optimizely"].get('data').experiments[experimentId].name, 'eventLabel': window["optimizely"].get('data').experiments[experimentId].name+"-"+window["optimizely"].get('data').variations[variationId].name, 'nonInteraction': 1 }); } var checkGoogleAnalytics = setInterval(function() { if (typeof window.ga !== "undefined" && typeof window.ga.getAll !== "undefined") { try { var gaName = ""; if (typeof extension.tracking_id !== 'undefined' && extension.tracking_id !== "") { var accounts = window.ga.getAll(); var found = false; for (var i = 0; i < accounts.length; i++) { if (accounts[i].get('trackingId') == extension.tracking_id) { gaName = accounts[i].get('name') == 't0' ? '' : accounts[i].get('name')+'.'; found = true; } } if (found) { clearInterval(checkGoogleAnalytics); sendIntegrationEvent(gaName); } } else { clearInterval(checkGoogleAnalytics); gaName = window.ga.getAll()[0].get('name') == 't0' ? '' : window.ga.getAll()[0].get('name')+'.'; sendIntegrationEvent(gaName); } } catch (e) { clearInterval(checkGoogleAnalytics); window.ga('send', { 'hitType': "event", 'eventCategory': "Optimizely", 'eventAction': "Integration Error", 'eventLabel': e.stack, 'nonInteraction': 1 }); } } }, 50); } }, serializeSettings: JSON.stringify, deserializeSettings: JSON.parse, }); } ], "interestGroups": [], "tagGroups": []},f=__webpack_require__(9268),l="initializeOptimizelyPreview";if(f.initGlobalStore(s),u.populateDirectiveData(),r.clientHasAlreadyInitialized())e.warn("Main / Disabling because Optimizely has already initialized on this page load. Are there multiple snippets on the page?");else if(r.shouldBailForDesktopApp())e.log("Main / Disabling because of desktop app.");else if(r.conflictInObservingChanges())e.log("Main / Disabling: Observe Changes Indefinitely is on, but browser does not support it.");else{if(r.shouldLoadInnie())a.registerFunction("getProjectId",(function(){return s.projectId})),a.registerFunction("getAccountId",(function(){return s.accountId})),c.addScriptAsync("https://app.optimizely.com/js/innie.js"),e.log("Main / Disabling in favor of the editor client.");else if(r.shouldLoadPreview())(r.isSlave()?window.optimizely:window.optimizely=window.optimizely||[]).push({type:"load",data:s}),e.log("Main / Disabling in favor of the preview client."),__webpack_require__(7254).setupPreviewGlobal(),__webpack_require__(7254).pushToPreviewGlobal({type:"pushPreviewData",name:"liveCommitData",data:s}),r.isSlave()||(a.registerFunction("getProjectId",(function(){return s.projectId})),c.addScriptSync("https://cdn-assets-prod.s3.amazonaws.com/js/preview2/24511550181.js"));else if(r.shouldBootstrapDataForPreview()){a.registerFunction(l,(function(t){n(),a.unregisterFunction(l)}));var d=r.isSlave()?PROJECT_ID_FOR_SLAVE_PREVIEW:a.getFunction("getProjectId")();v=r.getProjectToken(),h=d,p=r.getPreviewLayerIds(),o="/dist/preview_data.js?token=__TOKEN__&preview_layer_ids=__PREVIEW_LAYER_IDS__".replace("__TOKEN__",v).replace("__PROJECT_ID__",h).replace("__PREVIEW_LAYER_IDS__",p.join(",")).replace("__GET_ONLY_PREVIEW_LAYERS__",!0),c.addScriptSync(o),__webpack_require__(7254).setupPreviewGlobal(),c.addScriptAsync("/dist/js/preview_ui.js")}else r.shouldBootstrapDataForEditor()?(a.registerFunction(l,(function(t){n(),a.unregisterFunction(l)})),c.addScriptAsync(window.optimizely_editor_data_endpoint)):r.shouldInitialize()&&n();var v,h,p;t.timeEnd("block");var g=t.now();t.setMark("optimizelyFinished",g,g)}}()}catch(n){try{__webpack_require__(8685).handleError(n)}catch(t){console.log(t)}}}()})();