var $$FSR = { 'timestamp': 'November 7, 2013 @ 11:33 AM', 'version': '16.1.2', 'build': '8', 'enabled': true, 'frames' : false, 'sessionreplay': true, 'auto' : true, 'encode' : true, 'files': 'http://www.pbs.org/foresee/', // needs to be set when foresee-transport.swf is not located at 'files' //'swf_files': '__swf_files_' 'id': '2BN7Zq9UHL1vcM/AxOFpFA==', 'definition': 'foresee-surveydef.js', 'swf' : 'foresee-transport.swf', 'worker' : 'foresee-worker.js', 'embedded': false, 'replay_id': 'pbs.org', 'attach': false, 'renderer':'W3C', // or "ASRECORDED" 'layout':'CENTERFIXED', // or "LEFTFIXED" or "LEFTSTRETCH" or "CENTERSTRETCH" 'triggerDelay': undefined, 'heartbeat' : true, 'pools' : [ { path: '.', sp: 100 // CHANGE ONLY WHEN INCLUDING SESSION REPLAY } ], 'sites': [ { path: /pbs\.org/ }, { path: '.', domain: 'default' } ], storageOption: 'cookie', nameBackup:window.name }; var FSRCONFIG = {}; // -------------------------------- DO NOT MODIFY ANYTHING BETWEEN THE DASHED LINES -------------------------------- if (typeof(FSR) == "undefined") { (function(config){function M(){return function(){}} (function(va,oa){function ba(a,b){var d=k.controller;d&&d.execute(k.controller.Ub,c._sd(),{sp:a,when:b,qualifier:void 0,invite:!1})}function ha(a,b,d){setTimeout(function(){a.Ae(b,d)},1)}function ia(a){return"trigger"==a&&"v1"||"replay"==a&&"v2"}function J(a,b){return(b?a.get(b):a)||""}function Z(a){return[a||f.g(),(a||f.g()).get("cp")||{}]}function pa(a,b){c.k(a.length)||(a=[a]);for(var d=0;d e[k].getAttribute(m[0]).indexOf(m[1]))&&e.splice(k,1)}return e}function ka(a){var b=[],d,c=0;for(d=b.length=a.length;cthis.ic)this.uc();else this.onFailure()};t.M.prototype.xc=function(a,b){this.qb= !0;var d=n.P(c.A(a,{uid:c.now()})),d=c.za()+"//"+this.options.host+this.options.path+this.options.url+"?"+d;b=c.A({},ea,b);for(var e=new Image,g=0;g";g+=h;g+=""}else{for(b=a.attributes.length-1;0<=b;b--)h=a.attributes[b].nodeName.toLowerCase(),-1<"style,class,id".indexOf(h.toLowerCase())&& (g+=" "+h+'="'+a.attributes[b].nodeValue+'"');g+=">";d[m]||(g+=a.innerHTML,g+="")}break;case 3:g+=a.nodeValue;break;case 8:g+="\x3c!--"+a.nodeValue+"--\x3e"}e.push(g);return e.join("")};c.stringify=function(a,b,d){var e;l.Prototype&&(e=Array.prototype.toJSON,delete Array.prototype.toJSON);if(l.JSON&&"function"===typeof l.JSON.stringify)a=l.JSON.stringify(a,b,d);else{var g;V=B="";if("number"===typeof d)for(g=0;g=r.q.ia&&-1/g," > ").replace(/\s+/g," ");if(-1"==g[f])h=!0;else{for(var k=[],n=m.length-1;0<=n;n--)k=k.concat(ja(g[f],m[n],h));m=k;h=!1}d=d.concat(c.de(m))}else d=d.concat(ja(g,b))}return d};c.aa.f={};var h=c.aa.f;h.Mc=function(a,b){for(var d=a.name,c=[a.site,a.section,b,f.g("q"),f.g("l")],g=0;gr.q.ia&&"https"!=c.K().substring(0,5)&&l==l.top?!1:!0};t.C.ib=function(a){a.call(t.C)};t.C.prototype.Kd=function(a){this.ka=document.createElement("iframe");this.ka.src=a;this.ka.onload=t.C.Hd(this);this.ka.style.display="none";document.body.appendChild(this.ka);this.Ua=0;this.Oa={};this.ud=!0;z(l,"message",function(a){return function(d){t.C.rc(a,d)}}(this))};t.C.prototype.Ld=function(a){try{this.tb=new Worker(a),this.hc=!0}catch(b){}this.hc&&(this.Ua=0,this.Oa={},this.tb.onmessage=function(a){return function(b){t.C.rc(a, b)}}(this))};t.C.rc=function(a,b){var d=a.Oa[b.data.i];switch(b.data.status){case 200:d.Z&&d.Z.call(d,b.data.rt);break;case -1:c.r.da();break;default:d.pa&&d.pa.call(d,b.data.rt)}delete a.Oa[b.data.i]};t.C.Hd=function(a){return function(){a.se=!0;if(a.ua)for(var b=0;bf.B.version?a=!1:3>f.B.version&&f.kb&&(a=!1)));return a}function d(){f.q.name=p.name; f.q.version=p.version;f.q.ia="IE"!=f.q.name?f.q.version:6f.q.version?h("Trident")||7!=f.q.version?h("Trident/5.0")&&9>=f.q.version?9:h("Trident/4.0")&&9>f.q.version?8:f.q.version:7:f.q.version;f.B.name=g(f.O);var a=f.B,b;f.O?(b=k.match(/Android[\/\s](\d+\.?\d+)/)||k.match(/Windows Phone OS[\/\s](\d+\.?\d+)/)||k.match(/Windows Phone[\/\s](\d+\.?\d+)/),b=null==b?1:b[1]):b=1;a.version=b}function e(){if("Winphone"!=f.B.name){var a=y("head meta[name=viewport],head meta[name=VIEWPORT],head meta[name=Viewport]")|| [];c.I(a)||(a=[a]);if(0<1E3*b)){var c=function(){var a= (new h.W(p)).Ge();a.nb={rid:k.rid,cid:k.id};(new t.M(a)).Ba()};c();var g=setInterval(c,1E3*a);setTimeout(function(){clearInterval(g)},1E3*b-d)}}};h.W=function(a){a=a&&a.survey||{};this.sc={name:a.host||"survey.foreseeresults.com"};this.Id={name:a.events_host||"events.foreseeresults.com"};this.qc={name:".4seeresults.com"};this.wc={name:"i.4see.mobi"};this.Qd=a.protocol||c.za()};h.W.prototype.kf=function(){return{host:this.sc.name,path:"/survey",url:"/display",protocol:this.Qd}};h.W.prototype.He=function(){return{host:this.wc.name, path:"/e",url:"/initialize"}};h.W.prototype.Ge=function(){return{host:this.wc.name,path:"/e",url:"/recordHeartbeat"}};h.W.prototype.F=function(){return{host:"controller"+this.qc.name,path:"/fsrSurvey",url:"/OTCImg",Z:3}};h.W.prototype.event=function(){return{host:this.Id.name,path:"/rec",url:"/process"}};h.W.prototype.domain=function(){return{host:this.sc.name,path:"/survey",url:"/FSRImg",Z:3}};h.W.prototype.df=function(){return{host:"replaycontroller"+this.qc.name,path:"/images",enabled:!0}};h.V= function(a,b){this.options=a;this.U=b;this.U.invite=c.A({position:{pin:{left:!1,right:!1,top:!1,bottom:!1},offset:{h:"0px",v:"0px"}}},this.U.invite);this.Ab=new F;this.Gb=new F;this.fd=new F};h.V.prototype.show=function(a,b,d){this.Tb=b;this.Wd=d;this.Fc=this.yc=!1;this.Zb=!0;var e=r.O;b=a[0].mobileExitDialog;if(0==this.Tb&&(c.I(this.U.invite.dialogs)&&1<"Winphone".indexOf(r.B.name)&&u.ca(l.document.documentElement,"fsrWinPhone");var g="Android"==r.B.name&&3>r.B.version;g&&u.ca(l.document.documentElement,"fsrMobileCompat");this.Na=y('meta[name="viewport"]',l.document.head);if(!this.Na.length||r.kb)g?(this.L=I(''),v.head.appendChild(this.L)):-1<"iPod,iPad,iPhone".indexOf(r.B.name)?(this.L=I(''), v.head.appendChild(this.L)):-1<"Android".indexOf(r.B.name)&&(this.L=I(""),v.head.appendChild(this.L));z(v,"touchstart",c.Y)}var m=this.U.invite,p=n.oa(k.site,"image_files","files"),G=f.g("l"),g=this.Ma=I('
'); m.hideOnClick&&z(g,"click",function(a){return function(b){"fsrOverlay"==(b.originalTarget||b.target||b.srcElement).id&&(b&&b.preventDefault?b.preventDefault():l.event&&l.event.returnValue&&(l.eventReturnValue=!1),a.ja())}}(this));var H=y(".fsrFloatingContainer",g)[0],t=y(".fsrInvite",g)[0],O=I('
');t.appendChild(O);a=h.V.tf(a,d,G);d=m.siteLogo?m.siteLogo:"";"object"===typeof d&&(d=d.hasOwnProperty(G)?d[G]:d.base);m=m.siteLogoAlt?m.siteLogoAlt:"";for(G=0;G',L=G==a.length-1,D="";0==G&&(A+=""!=d?'':'');L&&(A+='');var A=A+"",q='

$FNOTICE

';C.noticeAboutSurvey||(q="");var w="";b&&(w='
'+b.fieldRequiredErrorText+ '
'+b.invalidFormatErrorText+'
');var s=C.quizContent,x="";1'+A+'

$FHEAD

$FBLURB

'+q+w+"").replace(/\$SITEFILES/gi,p).replace(/\$SLOGO/gi, d).replace(/\$FHEAD/gi,C.headline).replace(/\$FBLURB/gi,C.blurb).replace(/\$FNOTICE/gi,C.noticeAboutSurvey));if(s){q=I('
');q.appendChild(I('

'+s.question+"

"));for(D=0;D

'+b.cancelTitle+'

'+b.cancelText+'

").replace(/\$SITEFILES/gi,p);pa(y(".declineButton",c), function(a){return function(){a.ja()}}(a));c=null}},B=I('

");q.appendChild(B);w.proceedWithSurvey?z(B,"click",x()):z(B,"click",F(this,w,C.closeInviteButtonText))}w=B=null;D="display:none;";A.appendChild(q)}C.attribution&&(s=I('

$FATTR

'.replace(/\$FATTR/gi,C.attribution)),A.appendChild(s));s=I(('').replace(/\$ABTN/gi,C.acceptButton).replace(/\$FDECL/gi,C.declineButton));A.appendChild(s);L&&(A.appendChild(I('
TRUSTe verified
'.replace(/\$SITEFILES/gi, p))),t.appendChild(I('×'.replace(/\$CCLOSE/gi,C.closeInviteButtonText))),z(y(".fsrCloseBtn",t)[0],"click",function(a){return function(b){b&&b.preventDefault?b.preventDefault():l.event&&l.event.returnValue?l.eventReturnValue=!1:b.returnValue=!1;a.ja()}}(this)));O.appendChild(A);var E=C.locale;z(y(".fsrAcceptButton",A)[0],"click",function(a,b){return function(){f.g("l",b);a.ma(b)}}(this,E));z(y(".fsrDeclineButton",A)[0],"click",function(a,b){return function(){a.ja(b)}}(this, E));if(1r.q.ia?x.style.cssText="padding-top: "+w.toString()+"px":N(x,{"padding-top":w}))}if(b){var J=n;this.Fe=function(a,b,d,c){var e=!1,g=y(".fsrAcceptButton")[0];a&&(J.Nb(a)||J.Ob(a))&&(J.Nb(a)?g.innerHTML=d:J.Ob(a)&&(g.innerHTML=c),e=!0);e||(g.innerHTML=b)};var K=y(".fsrEmailOrNumber", A)[0],Q=function(a){return function(){var b=a.getBoundingClientRect();l.scrollTo(0,b.top+u.ha.mc(l).y-(u.ha.nc(l).h-b.height)/2)}}(K);z(K,"focus",function(a){return function(){a.Xb=!0;u.fa(y(".fsrMobileExitError"),"showField");u.ca(y(".fsrMobileExitError"),"hideField");"Android"==r.B.name&&setTimeout(Q,500)}}(this,E));z(K,"blur",function(a){return function(){a.Xb=!1;setTimeout(R,1)}}(this));z(K,"keyup",function(a,b,d,c){return function(e){a.Fe(this.value,b,d,c);13==(e.ze?e.keyCode:e.which)&&(K.blur(), f.g("l",E),a.ma(E))}}(this,C.acceptButton,b.emailMeButtonText,b.textMeButtonText))}v.body.appendChild(g);c.la&&"CSS1Compat"!=l.document.compatMode&&(g.className="fsrC ie6");e||(this.Jb=function(a){return function(b){27==(b.ze?b.keyCode:b.which)&&a.ja()}}(this),z(v,"keyup",this.Jb));u.fa(l.document.documentElement,"fsrWider");var S={width:H.offsetWidth,height:H.offsetHeight,gd:H.offsetWidth/H.offsetHeight};u.ca(l.document.documentElement,"fsrWider");var T={width:H.offsetWidth,height:H.offsetHeight, gd:H.offsetWidth/H.offsetHeight};u.fa(l.document.documentElement,"fsrWider");var R=this.Ca=function(a,b,d){return function(){setTimeout(function(){if(!a.Xb){var c=u.ha,g=c.xd(l),c=c.mc(l),f=1,f=0.98;r.La&&(f=0.55);g.aw=g.w*f;g.ah=g.h*f;winratio=g.aw/g.ah;f=S;g.w>g.h?(u.ca(l.document.documentElement,"fsrWider"),f=T):u.fa(l.document.documentElement,"fsrWider");f=f.gd>winratio?g.aw/f.width:g.ah/f.height;f=Math.max(Math.min(12*f,e?84:12),e?3:7);N(b,{visibility:"visible",display:"block",width:g.w+"px", height:g.h+"px",top:c.y+"px",left:c.x+"px",fontSize:f+"px"});if(r.O)N(H,{marginTop:(b.offsetHeight-H.offsetHeight)/2+"px"});else{var c=[d.offset.h,d.offset.v],f=d.pin,h=0,k=0,h=+(g.w-H.offsetWidth)/2;c[0]=Math.abs(c[0].split(/(px|%)/)[0]*(/%/.test(c[0])?g.w/100:1));c[1]=Math.abs(c[1].split(/(px|%)/)[0]*(/%/.test(c[1])?g.h/100:1));k=(f.left||f.right?h>+c[0]?h-+c[0]:+c[0]-h:c[0])+"px";h=f.top?+c[1]:f.bottom?-c[1]+(b.offsetHeight-H.offsetHeight):+c[1]+(b.offsetHeight-H.offsetHeight)/2;N(H,{position:"relative", marginTop:+h+"px"});f.left?N(H,{right:k}):(f.right||0!=k)&&N(H,{left:k})}}},150)}}(this,g,this.U.invite.position);this.Xb=!1;R();z(l,"resize",this.Ca);z(l,"scroll",this.Ca);if("Android"==r.B.name||"Winphone"==r.B.name){var P=!1;this.Yb=function(a){P=!0;-1'):I(''),v.head.appendChild(this.L));R(v,"touchstart",c.Y)}u.fa(l.document.documentElement, "fsrWider");this.Jb&&R(l.document,"keyup",this.Jb,!0);this.Ca&&(R(l,"resize",this.Ca,!0),R(l,"scroll",this.Ca,!0));this.Ma&&this.Ma.parentNode&&this.Ma.parentNode.removeChild(this.Ma);this.Yb&&R(this.Ma,"mousedown",this.Yb,!0);this.Wb&&R(v,"click",this.Wb,!0)};x={width:"1",height:"1",id:"_"+(""+Math.random()).slice(9),allowfullscreen:!0,allowscriptaccess:"always",quality:"high",version:[3,0],Ie:null,he:null,jc:!1,Zd:!1};l.attachEvent&&l.attachEvent("onunload",function(){__flash_unloadHandler=M(); __flash_savedUnloadHandler=M()});var aa=c.A(c.Cf,{Bf:x,ne:function(){var a,b;try{b=navigator.plugins["Shockwave Flash"].description.slice(16)}catch(c){try{b=(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"))&&a.GetVariable("$version")}catch(e){try{b=(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"))&&a.GetVariable("$version")}catch(g){}}}return(b=/(\d+)[^\d]+(\d+)[^\d]*(\d*)/.exec(b))?[b[1],b[3]]:[0,0]},Cb:function(a){if(null===a||void 0===a)return null;var b=typeof a;"object"==b&&a.push&& (b="array");switch(b){case "string":return a=a.replace(RegExp('(["\\\\])',"g"),"\\$1"),a=a.replace(/^\s?(\d+\.?\d*)%/,"$1pct"),'"'+a+'"';case "array":return"["+sa(a,function(a){return aa.Cb(a)}).join(",")+"]";case "function":return'"function()"';case "object":var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push('"'+c+'":'+aa.Cb(a[c]));return"{"+b.join(",")+"}"}return String(a).replace(/\s/g," ").replace(/\'/g,'"')},Df:function(a,b){a=c.A({},a);var d='';a.width=a.height=a.id=a.jc=a.src=null;a.Ie=a.version=a.he=null;for(var e in a)a[e]&&(d+='');e="";if(b){for(var g in b)if(b[g]){var f=b[g];e+=g+"="+(/function|object/.test(typeof f)? aa.Cb(f):f)+"&"}e=e.slice(0,-1);d+='"}return d+""},isSupported:function(a){return S[0]>a[0]||S[0]==a[0]&&S[1]>=a[1]}}),S=c.kc=aa.ne();c.pe=null!=S&&0this.jf&&this.Cd.G(this);this.dc=f.l.write(this.fb,a,this.ra)};f.l.T=function(a){return(a=l.document.cookie.match("(?:^|;)\\s*"+c.ge(a)+"=([^;]*)"))?c.X(a[1]):null};f.l.write=function(a,b,d){b=d&&c.k(d.encode)&&!d.encode?b:c.cb(b);a=c.cb(a);for(var e in d)if(d[e]){var g=d[e];b+=";"+("duration"===e?"expires":e);switch(e){case "duration":b+="="+(new Date(c.now()+g*c.Wa)).toGMTString();default:b+="="+g}}l.document.cookie=a+"="+b;return a.length+b.length+ 2};f.l.Pb=function(a,b){f.l.write(a,"",c.A(b,{duration:-1}))};f.l.ib=function(a){a&&a.apply(f.l)};f.l.isSupported=function(){return!0};h.ga={};c.Ia=function(a,b){c&&(a||(a=c.now()),v.cookie="fsr.a"+(k.site.cookie?"."+k.site.cookie:"")+"="+a+";path=/"+(k.site.domain?";domain="+k.site.domain:"")+(b?";expires="+(new Date(c.now()+-1*c.Wa)).toGMTString()+";":";")+(k.site.secure?"secure":""))};c.Ra=function(){h.ga.timer||(c.Ia(),h.ga.timer=setInterval(c.Ia,750))};c.cc=function(){h.ga.timer&&(clearInterval(h.ga.timer), delete h.ga.timer,c.Ia("stopped",!0))};c.Le=function(){h.ga.timer&&(clearInterval(h.ga.timer),delete h.ga.timer,c.Ia("paused"))};for(var x=$$FSR.sites,w=0,ta=x.length;wc?b.length-c:0,e[1][a]=b.splice(c,b.length-1-c+1).join());e[0].set("cp",e[1])};h.Q.P=function(a){a=a||f.g();var b=a.get("sd"); c.k(b)||(b=a.get("cd"));b=k.Fa[b];a={browser:r.q.name+" "+r.q.version,os:r.B.name.match(/ipod|ipad|iphone/i)?"iOS":r.B.name,pv:a.get("pv"),url:J(a,"c"),entry:J(a,"ep"),ref_url:J(a,"ru"),locale:J(a,"l"),site:J(k.site.name),section:J(b.section),referrer:J(a,"r"),terms:J(a,"st"),sessionid:J(a,"rid"),replay_id:J(a,"mid"),flash:c.kc.join(".")};r.B.name.match(/android|ipod|ipad|iphone|blackberry|firefox/i)&&(a.screen=screen.width+"x"+screen.height);p.meta.user_agent&&(a.user_agent=r.Bb);if(p.analytics.google_local|| p.analytics.google){var d=f.l.T("__utma"),b=f.l.T("__utmz");d&&""!=d&&(d=d.split("."),a.first=d[2],a.last=d[3],a.current=d[4],a.visits=d[5]);if(b&&""!=b){var e,d=[];e=["utmgclid","utmcsr","utmccn","utmcmd","utmctr"];for(var g=0;gm[g]?!1:!0;f.g(e,m[g]);c.k(c.r)&&(a=k.replay_id+"_pool",f.Ha.isSupported()&&(b=new f.Ha(a),b.set(e,m[g]),b.ya()),f.xb.isSupported()&&(a=new f.xb(a,!1),a.set(e,m[g]),a.ya()))};h.j.me=function(){return f.g(ia("trigger"))};h.j.Rd=function(){var a=h.j,b=k.site; return(b=(new f.l(f.qa("fsr.r"),{path:"/",domain:b.domain,secure:b.secure,encode:k.encode})).get("d"))?(a.t("trigger",h.j.n.Xa,"Exit: Persistent cookie found: "+b),a.t("replay",h.j.n.Xa,"Exit: Persistent cookie found: "+b),!1):!0};h.j.Md=function(){var a=h.j;return f.l.T("fsr.o")?(a.t("trigger",h.j.n.J,"Exit: Opt-out cookie found"),a.t("replay",h.j.n.J,"Exit: Opt-out cookie found"),!1):!0};h.j.Fd=function(){var a=h.j;return f.l.T(f.qa("fsr.a"))?!0:(a.t("trigger",h.j.n.J,"Exit: Cookies not supported"), a.t("replay",h.j.n.J,"Exit: Cookies not supported"),!1)};h.j.Ed=function(){var a=h.j;return ma[r.q.name]&&r.q.ia<=ma[r.q.name]?(a.t("trigger",h.j.n.J,"Exit: Browser not supported"),a.t("replay",h.j.n.J,"Exit: Browser not supported"),!1):!0};h.j.Nd=function(){var a=h.j;return!c.f.R.Me[r.B.name.toLowerCase()]||na[r.B.name]&&r.B.version<=na[r.B.name]?(a.t("trigger",h.j.n.J,"Exit: Platform not supported"),a.t("replay",h.j.n.J,"Exit: Platform not supported"),!1):!0};h.j.Vd=function(){var a=h.j;if(!c.k(c.r))return!0; var b,d,e=k.replay_id+"_pool";return f.Ha.isSupported()&&(d=new f.Ha(e),b=d.get("v1"),d=d.get("v2"),c.k(d)&&c.k(b))||f.xb.isSupported()&&(e=new f.xb(e,!1),b=e.get("v1"),d=e.get("v2"),c.k(d)&&c.k(b))?(a.t("trigger",b,"Exit: Not in pool based on storage"),a.t("replay",d,"Exit: Not in pool based on storage"),!1):!0};h.j.yb=function(a,b){var d=h.j;if(c.k(c.r)){var e=n.Da();0<=d.Od(a,b)?"pools"==a?d.t("replay",h.j.n.ba,"Exit: Not in global sample: "+e):c.f.F(ga)&&!c.r.If()?c.r.ue()||(d.t("replay", h.j.n.ba,"Exit: Not in global sample: "+e),c.r.ef()):d.t("replay",h.j.n.va,"Exit: Not in global sample: "+e):d.t("replay",h.j.n.va,"Exit: Not in global sample: "+e)}else d.t("replay",h.j.n.va,"Exit: Not in global sample: "+e);"pools"==a&&d.t("trigger",h.j.n.ba,"Exit: Not in global sample: "+e)};h.j.Od=function(a,b){var d=(new Date).getHours(),e=b;if(c.k(k[a]))for(var g=k[a],h=0,l=g.length;h=e[n].h&&(g=e[n].p);return g};var E;h.Ya=function(a,b){this.ra=a;this.U=b};h.Ya.prototype.oe=function(){var a=this.ke();E=this.Mf=new h.V(this.ra,this.U);this.U.invite.timeout&&(this.nf=setTimeout(function(a){return function(){a.Gb.G()}}(E),1E3*this.U.invite.timeout));E.Ab.Sa(function(a,c, e){return function(g,f){c.yc=!0;a.$e(c)||(c.gb(),e[f+1]?(h.log("104",f+2),clearTimeout(a.nf),setTimeout(function(){c.show(e[f+1],f+1,g)},500)):c.Fc||c.options.sb.accepted(g))}}(this,E,a));E.Gb.Sa(function(a){return function(c){a.Fc=!0;a.gb();a.yc||a.options.sb.declined(c)}}(E));E.fd.Sa(function(a){return function(c){a.gb();a.options.sb.pb(c)}}(E));E.show(a[0],0)};h.Ya.prototype.$e=function(a){if(c.xa("mobileOnExitInput")){var b=this.U,d=c.trim(c.xa("mobileOnExitInput").value),e=c.trim(c.xa("mobileOnExitSupport").value); a.gb();a=function(a,b){return function(){f.g("m",(new Date).getTime());h.wb.Ra(p.mobileHeartbeat.delay,p.mobileHeartbeat.max);b.options.sb.accepted(b.Wd,!0)}}(this,a);var g=(new h.W(p)).He(),m=new Date-0+"_"+Math.round(1E13*Math.random()),l=n.hash(m),G=h.Q.P(),q=n.P({version:k.version});g.nb={rid:k.rid,cid:k.id,sid:h.Mc(b,b.pop.later),notify:d,a:m,b:l,c:c.Wa,support:e,cpps:q+"&"+G};(new t.M(c.A({onSuccess:a,onError:c.Y},g))).Ba();b=null;return!0}return!1};h.Ya.prototype.ke=function(){var a=this.U.invite.dialogs; c.I(a[0])||(a=Array(a));return a};c._qualified=function(a){E.pb(a)};c._accepted=function(a){E.ma(a)};c._declined=function(a){E.ja(a)};var ga=1,q={invite:void 0,qualifier:void 0,locale:void 0,canceled:!1};c.f=function(a){c.A(this,{options:c.A({},a),Sc:!1,Tc:!1,$b:null,zc:!1,sd:!1,Ic:[],Lf:null,Sf:null,na:null,Pa:null,Ec:null,sa:null});this.Ea=new h.W(p);k.controller=this};c.f.loaded=new F;c.f.Oc=new F;c.f.od=new F;c.f.Lb=new F;c.f.Pc=new F;c.f.Qc=new F;c.f.rd=new F;c.f.qd=new F;c.f.ed=new F;c.f.nd= new F;c.f.prototype.vf=function(){if(c.f.R.Ib)for(var a=[["loaded",c.f.loaded],["initialized",c.f.Oc],["surveyDefChanged",c.f.od],["inviteShown",c.f.Lb],["inviteAccepted",c.f.Pc],["inviteDeclined",c.f.Qc],["trackerShown",c.f.rd],["trackerCanceled",c.f.qd],["qualifierShown",c.f.ed],["surveyShown",c.f.nd]],b=0;b<=a.length&&(e=a[2]);f.g("r",e)}p.meta.terms&& f.g("st",this.ce(d)||"")}p.meta.entry&&(e=c.X(c.K()),p.meta.entry_params||(e=e.replace(/(.*?)(\?.*)/g,"$1")),f.g("ep",e));h.j.triggerState==h.j.n.ba&&p.invite.css&&c.lb(n.oa(k.site,"css_files","files")+p.invite.css,"link",c.Y);this.Xe(f.g())}k.rid=f.g("rid");e=p.tracker.timeout;p.tracker.adjust&&c.k(f.g("f"))&&(e=f.g("to"),d=(c.now()-f.g("f"))/1E3,e=Math.round(10*(0.9*e+0.1*2*d))/10,e=2>e?2:5b.idx)&&f.g("pn",b.idx))):(b.ls=d[a].s=!1,c.I(b.criteria.lf)&&(b.criteria.lf=b.criteria.lf[0],b.criteria.sp= b.criteria.sp[0],b.pop.when=b.pop.when[0],c.I(b.invite.dialogs)&&(b.invite.dialogs=b.invite.dialogs[0])));this.Cc(b);a=f.g("i");!c.k(a)&&(h.j.triggerState==h.j.n.ba&&b.Ne)&&(a=n.Da(),0<=b.Ne||(h.j.t("replay",h.j.n.va,"Exit: Not in local sample: "+a),c.r&&c.r.da()));this.na=b;this.Ec=b.idx;break}f.g("lc",d)}c.k(this.sa)&&(this.sa!=this.Ec&&this.sa<=a.criteria.sp[1]:0<=a.criteria.sp[0]};c.f.prototype.Ve=function(a){var b=a.alt;if(b)for(var c=n.Da(),e=0,g=0,f=b.length;g="})};c.f.prototype.Ce=function(a){var b=a.criteria.lf;c.I(b)||(b=[a.criteria.lf]);return b};c.f.prototype.ae=function(a,b,c){for(var e=-1,g=0,f=a.length;g="==a[g].o&&b>=a[g].v?e=g:"="==a[g].o&&b-c==a[g].v?e=g:">"==a[g].o&&b>a[g].v&&(e=g);return e};c.f.prototype.ea=function(a){a=a||p;a=a.exclude||{};var b=c.f.R.ea&&c.f.R.ea.global&&c.N(c.f.R.ea.global)&&c.f.R.ea.global();return!!c.match(a)||!!b}; c.f.prototype.Cc=function(a){a.sv=k.sv;c.I(a.criteria.sp)&&7==a.criteria.sp.length&&(a.criteria.sp=a.criteria.sp[(new Date).getDay()]);var b=a.name+(a.section?"-"+a.section:""),d=b+(q.locale?"-"+q.locale:"");a.criteria.sp=this.$b.get(b)||this.$b.get(d)||a.criteria.sp;c.I(a.criteria.sp)||(c.r?(a.criteria.sp=[a.criteria.sp,a.criteria.sp],h.j.replayState");k.appendChild(a);b=v.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!0,!1,!1,!0,0,null);a.dispatchEvent(b);try{l.open("about:blank","_tab").close()}catch(q){}k.removeChild(a)}else l.focus()};c.f.prototype.language=function(){var a=p.language;if(a&&(q.locale=a.locale,a.src)){var b=q.locale,d,e,g=a.type;switch(a.src){case "location":d=c.X(c.K());break; case "cookie":d=g&&"client"==g?f.l.T(a.name):f.g("lang");break;case "variable":c.I(a.name)||(a.name=[a.name]);for(e=0;e