(function(){ geolocation = {}; geolocation.requestGeo=function(c){geolocation.cdn3Requested=+new Date;var b=document.head||document.getElementsByTagName("head")[0]||document.documentElement,a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src=c;b.insertBefore(a,b.firstChild)}; var optly={nativity:{}};optly.nativity.getNativeGetElementsByClassName=function(){var a=document.getElementsByClassName;if(!optly.nativity.isNativeFunction(a))var a=(window.optimizely||{}).getElementsByClassName,b=(window.optly||{}).getElementsByClassName,a=optly.nativity.isNativeFunction(a)?a:optly.nativity.isNativeFunction(b)?b:null;return a};optly.nativity.isNativeFunction=function(a){return a&&-1!==String(a).indexOf("[native code]")};optly.Cleanse={};optly.Cleanse.each=function(a,b,d){var h=!!Object.prototype.__lookupGetter__,e=!!Object.prototype.__lookupSetter__,c;for(c in a)if(a.hasOwnProperty(c)){var f=h?a.__lookupGetter__(c):null,g=e?a.__lookupSetter__(c):null;try{b.call(d,c,!f?a[c]:null,f,g)}catch(i){}}}; optly.Cleanse.finish=function(){if(optly.Cleanse.running){optly.Cleanse.running=!1;optly.Cleanse.each(optly.Cleanse.types,function(a,d){Object.prototype.__defineGetter__&&optly.Cleanse.each(optly.Cleanse.getters[a],function(c,b){d.prototype.__defineGetter__(c,b);optly.Cleanse.log("restored getter",a,c)});Object.prototype.__defineSetter__&&optly.Cleanse.each(optly.Cleanse.setters[a],function(c,b){d.prototype.__defineSetter__(c,b);optly.Cleanse.log("restored setter",a,c)});optly.Cleanse.each(optly.Cleanse.properties[a], function(b,f){d.prototype[b]=f;optly.Cleanse.log("restored property",a,b)})});optly.Cleanse.unfixGetElementsByClassName();optly.Cleanse.log("finish");var a=window.console;if((-1!==window.location.hash.indexOf("optimizely_log=true")||-1!==window.location.search.indexOf("optimizely_log=true"))&&a&&a.log)for(var b=optly.Cleanse.logs,d=0;dc)break;a.currentTarget=e.elem;a.data=e.handleObj.data;a.handleObj=e.handleObj;l=e.handleObj.origHandler.apply(e.elem,arguments);if(!1===l||a.isPropagationStopped())if(c=e.level,!1===l&&(b=!1),a.isImmediatePropagationStopped())break}return b}}function P(a,b){return(a&&"*"!==a?a+".":"")+b.replace(nb,"`").replace(ob,"&")}function Ba(a,b,c){b=b||0;if(d.isFunction(b))return d.grep(a, function(a,g){return!!b.call(a,g,a)===c});if(b.nodeType)return d.grep(a,function(a){return a===b===c});if("string"===typeof b){var g=d.grep(a,function(a){return 1===a.nodeType});if(pb.test(b))return d.filter(b,g,!c);b=d.filter(b,g)}return d.grep(a,function(a){return 0<=d.inArray(a,b)===c})}function Ca(a,b){if(1===b.nodeType&&d.hasData(a)){var c=d.expando,g=d.data(a),e=d.data(b,g);if(g=g[c]){var f=g.events,e=e[c]=d.extend({},g);if(f){delete e.handle;e.events={};for(var h in f){c=0;for(g=f[h].length;c< g;c++)d.event.add(b,h+(f[h][c].namespace?".":"")+f[h][c].namespace,f[h][c],f[h][c].data)}}}}}function Da(a,b){var c;if(1===b.nodeType){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);c=b.nodeName.toLowerCase();if("object"===c)b.outerHTML=a.outerHTML;else if("input"===c&&("checkbox"===a.type||"radio"===a.type)){if(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value)b.value=a.value}else if("option"===c)b.selected=a.defaultSelected;else if("input"===c|| "textarea"===c)b.defaultValue=a.defaultValue;b.removeAttribute(d.expando)}}function Q(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function Ea(a){if("checkbox"===a.type||"radio"===a.type)a.defaultChecked=a.checked}function Fa(a){d.nodeName(a,"input")?Ea(a):"getElementsByTagName"in a&&d.grep(a.getElementsByTagName("input"),Ea)}function qb(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval((b.text||b.textContent|| b.innerHTML||"").replace(rb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function Ga(a,b,c){var g="width"===b?a.offsetWidth:a.offsetHeight,e="width"===b?sb:tb;if(0g||null==g)g=a.style[b]||0;g=parseFloat(g)||0;c&&d.each(e,function(){g+=parseFloat(d.css(a,"padding"+this))||0;"padding"!== c&&(g+=parseFloat(d.css(a,"border"+this+"Width"))||0);"margin"===c&&(g+=parseFloat(d.css(a,c+this))||0)});return g+"px"}var l=r.document,d,Ha=function(){if(!k.isReady){try{l.documentElement.doScroll("left")}catch(a){setTimeout(Ha,1);return}k.ready()}},k=function(a,b){return new k.fn.init(a,b,Ia)},ub=r.jQuery,vb=r.$,Ia,wb=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,Ja=/\S/,Ka=/^\s+/,La=/\s+$/,xb=/\d/,yb=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,zb=/^[\],:{}\s]*$/,Ab=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,Bb=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Cb=/(?:^|:|,)(?:\s*\[)+/g,Db=/(webkit)[ \/]([\w.]+)/,Eb=/(opera)(?:.*version)?[ \/]([\w.]+)/,Fb=/(msie) ([\w.]+)/,Gb=/(mozilla)(?:.*? rv:([\w.]+))?/,Hb=/-([a-z]|[0-9])/ig,Ib=/^-ms-/,Jb=function(a,b){return(b+"").toUpperCase()},Kb=r.navigator.userAgent,R,S,B,Lb=Object.prototype.toString,ja=Object.prototype.hasOwnProperty,ka=Array.prototype.push,I=Array.prototype.slice,Ma=String.prototype.trim,Na=Array.prototype.indexOf,Oa={};k.fn=k.prototype={constructor:k,init:function(a,b,c){var g;if(!a)return this; if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if("body"===a&&!b&&l.body)return this.context=l,this[0]=l.body,this.selector=a,this.length=1,this;if("string"===typeof a){if((g="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&3<=a.length?[null,a,null]:wb.exec(a))&&(g[1]||!b)){if(g[1])return c=(b=b instanceof k?b[0]:b)?b.ownerDocument||b:l,(a=yb.exec(a))?k.isPlainObject(b)?(a=[l.createElement(a[1])],k.fn.attr.call(a,b,!0)):a=[c.createElement(a[1])]:(a=k.buildFragment([g[1]],[c]),a=(a.cacheable? k.clone(a.fragment):a.fragment).childNodes),k.merge(this,a);if((b=l.getElementById(g[2]))&&b.parentNode){if(b.id!==g[2])return c.find(a);this.length=1;this[0]=b}this.context=l;this.selector=a;return this}return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a)}if(k.isFunction(a))return c.ready(a);a.selector!==m&&(this.selector=a.selector,this.context=a.context);return k.makeArray(a,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return I.call(this, 0)},get:function(a){return null==a?this.toArray():0>a?this[this.length+a]:this[a]},pushStack:function(a,b,c){var g=this.constructor();k.isArray(a)?ka.apply(g,a):k.merge(g,a);g.prevObject=this;g.context=this.context;"find"===b?g.selector=this.selector+(this.selector?" ":"")+c:b&&(g.selector=this.selector+"."+b+"("+c+")");return g},each:function(a,b){return k.each(this,a,b)},ready:function(a){k.bindReady();S.done(a);return this},eq:function(a){return-1===a?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)}, last:function(){return this.eq(-1)},slice:function(){return this.pushStack(I.apply(this,arguments),"slice",I.call(arguments).join(","))},map:function(a){return this.pushStack(k.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ka,sort:[].sort,splice:[].splice};k.fn.init.prototype=k.fn;k.extend=k.fn.extend=function(){var a,b,c,g,d,f=arguments[0]||{},h=1,i=arguments.length,j=!1;"boolean"===typeof f&&(j=f,f=arguments[1]||{},h=2);"object"!== typeof f&&!k.isFunction(f)&&(f={});i===h&&(f=this,--h);for(;ha.indexOf("compatible")&&Gb.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,d){return new a.fn.init(b,d)}k.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function(c,d){d&&(d instanceof k&&!(d instanceof a))&&(d=a(d));return k.fn.init.call(this, c,d,b)};a.fn.init.prototype=a.fn;var b=a(l);return a},browser:{}});k.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){Oa["[object "+b+"]"]=b.toLowerCase()});R=k.uaMatch(Kb);R.browser&&(k.browser[R.browser]=!0,k.browser.version=R.version);k.browser.webkit&&(k.browser.safari=!0);Ja.test("\u00a0")&&(Ka=/^[\s\xA0]+/,La=/[\s\xA0]+$/);Ia=k(l);l.addEventListener?B=function(){l.removeEventListener("DOMContentLoaded",B,false);k.ready()}:l.attachEvent&&(B=function(){if(l.readyState=== "complete"){l.detachEvent("onreadystatechange",B);k.ready()}});d=k;var la="done fail isResolved isRejected promise then always pipe".split(" "),Pa=[].slice;d.extend({_Deferred:function(){var a=[],b,c,g,e={done:function(){if(!g){var c=arguments,h,i,j,k,m;if(b){m=b;b=0}h=0;for(i=c.length;h 1?Pa.call(arguments,0):b;--f||h.resolveWith(h,Pa.call(c,0))}}var c=arguments,g=0,e=c.length,f=e,h=e<=1&&a&&d.isFunction(a.promise)?a:d.Deferred();if(e>1){for(;g
a"; na=o.getElementsByTagName("*");C=o.getElementsByTagName("a")[0];if(!na||!na.length||!C)ma={};else{T=l.createElement("select");U=T.appendChild(l.createElement("option"));u=o.getElementsByTagName("input")[0];s={leadingWhitespace:3===o.firstChild.nodeType,tbody:!o.getElementsByTagName("tbody").length,htmlSerialize:!!o.getElementsByTagName("link").length,style:/top/.test(C.getAttribute("style")),hrefNormalized:"/a"===C.getAttribute("href"),opacity:/^0.55$/.test(C.style.opacity),cssFloat:!!C.style.cssFloat, checkOn:"on"===u.value,optSelected:U.selected,getSetAttribute:"t"!==o.className,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};u.checked=!0;s.noCloneChecked=u.cloneNode(!0).checked;T.disabled=!0;s.optDisabled=!U.disabled;try{delete o.test}catch(jc){s.deleteExpando=!1}!o.addEventListener&&(o.attachEvent&&o.fireEvent)&&(o.attachEvent("onclick",function(){s.noCloneEvent=false}),o.cloneNode(!0).fireEvent("onclick")); u=l.createElement("input");u.value="t";u.setAttribute("type","radio");s.radioValue="t"===u.value;u.setAttribute("checked","checked");o.appendChild(u);V=l.createDocumentFragment();V.appendChild(o.firstChild);s.checkClone=V.cloneNode(!0).cloneNode(!0).lastChild.checked;o.innerHTML="";o.style.width=o.style.paddingLeft="1px";J=l.getElementsByTagName("body")[0];x=l.createElement(J?"div":"body");X={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};J&&d.extend(X,{position:"absolute", left:"-1000px",top:"-1000px"});for(E in X)x.style[E]=X[E];x.appendChild(o);W=J||Nb;W.insertBefore(x,W.firstChild);s.appendChecked=u.checked;s.boxModel=2===o.offsetWidth;"zoom"in o.style&&(o.style.display="inline",o.style.zoom=1,s.inlineBlockNeedsLayout=2===o.offsetWidth,o.style.display="",o.innerHTML="
",s.shrinkWrapBlocks=2!==o.offsetWidth);o.innerHTML="
t
";K=o.getElementsByTagName("td"); F=0===K[0].offsetHeight;K[0].style.display="";K[1].style.display="none";s.reliableHiddenOffsets=F&&0===K[0].offsetHeight;o.innerHTML="";l.defaultView&&l.defaultView.getComputedStyle&&(D=l.createElement("div"),D.style.width="0",D.style.marginRight="0",o.appendChild(D),s.reliableMarginRight=0===(parseInt((l.defaultView.getComputedStyle(D,null)||{marginRight:0}).marginRight,10)||0));x.innerHTML="";W.removeChild(x);if(o.attachEvent)for(E in{submit:1,change:1,focusin:1})Y="on"+E,F=Y in o,F||(o.setAttribute(Y, "return;"),F="function"===typeof o[Y]),s[E+"Bubbles"]=F;x=V=T=U=J=D=o=u=null;ma=s}Mb.support=ma;d.boxModel=d.support.boxModel;var lb=/^(?:\{.*\}|\[.*\])$/,kb=/([A-Z])/g;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!ha(a)},data:function(a,b,c,g){if(d.acceptData(a)){var e=d.expando,f=typeof b==="string", h=a.nodeType,i=h?d.cache:a,j=h?a[d.expando]:a[d.expando]&&d.expando;if(j&&(!g||!j||!i[j]||i[j][e])||!(f&&c===m)){if(!j)h?a[d.expando]=j=++d.uuid:j=d.expando;if(!i[j]){i[j]={};if(!h)i[j].toJSON=d.noop}if(typeof b==="object"||typeof b==="function")g?i[j][e]=d.extend(i[j][e],b):i[j]=d.extend(i[j],b);a=i[j];if(g){a[e]||(a[e]={});a=a[e]}c!==m&&(a[d.camelCase(b)]=c);if(b==="events"&&!a[b])return a[e]&&a[e].events;if(f){c=a[b];c==null&&(c=a[d.camelCase(b)])}else c=a;return c}}},removeData:function(a,b,c){if(d.acceptData(a)){var g, e=d.expando,f=a.nodeType,h=f?d.cache:a,i=f?a[d.expando]:d.expando;if(h[i]){if(b)if(g=c?h[i][e]:h[i]){g[b]||(b=d.camelCase(b));delete g[b];if(!ha(g))return}if(c){delete h[i][e];if(!ha(h[i]))return}b=h[i][e];d.support.deleteExpando||!h.setInterval?delete h[i]:h[i]=null;if(b){h[i]={};if(!f)h[i].toJSON=d.noop;h[i][e]=b}else f&&(d.support.deleteExpando?delete a[d.expando]:a.removeAttribute?a.removeAttribute(d.expando):a[d.expando]=null)}}},_data:function(a,b,c){return d.data(a,b,c,true)},acceptData:function(a){if(a.nodeName){var b= d.noData[a.nodeName.toLowerCase()];if(b)return!(b===true||a.getAttribute("classid")!==b)}return true}});d.fn.extend({data:function(a,b){var c=null;if(typeof a==="undefined"){if(this.length){c=d.data(this[0]);if(this[0].nodeType===1)for(var g=this[0].attributes,e,f=0,h=g.length;f-1)return true;return false},val:function(a){var b,c,g=this[0];if(!arguments.length){if(g){if((b=d.valHooks[g.nodeName.toLowerCase()]||d.valHooks[g.type])&&"get"in b&&(c=b.get(g,"value"))!==m)return c;c=g.value;return typeof c=== "string"?c.replace(Ob,""):c==null?"":c}return m}var e=d.isFunction(a);return this.each(function(c){var g=d(this);if(this.nodeType===1){c=e?a.call(this,c,g.val()):a;c==null?c="":typeof c==="number"?c=c+"":d.isArray(c)&&(c=d.map(c,function(a){return a==null?"":a+""}));b=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type];if(!b||!("set"in b)||b.set(this,c,"value")===m)this.value=c}})}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}}, select:{get:function(a){var b,c=a.selectedIndex,g=[],e=a.options,a=a.type==="select-one";if(c<0)return null;for(var f=a?c:0,h=a?c+1:e.length;f=0});if(!c.length)a.selectedIndex=-1;return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,b,c,g){var e=a.nodeType;if(!a||e===3||e===8||e===2)return m;if(g&&b in d.attrFn)return d(a)[b](c);if(!("getAttribute"in a))return d.prop(a,b,c);var f,h;if(g=e!==1||!d.isXMLDoc(a)){b=d.attrFix[b]||b;(h=d.attrHooks[b])||(Ra.test(b)?h=Sa:y&&(h=y))}if(c!==m){if(c===null){d.removeAttr(a,b);return m}if(h&&"set"in h&&g&&(f=h.set(a,c, b))!==m)return f;a.setAttribute(b,""+c);return c}if(h&&"get"in h&&g&&(f=h.get(a,b))!==null)return f;f=a.getAttribute(b);return f===null?m:f},removeAttr:function(a,b){var c;if(a.nodeType===1){b=d.attrFix[b]||b;d.attr(a,b,"");a.removeAttribute(b);if(Ra.test(b)&&(c=d.propFix[b]||b)in a)a[c]=false}},attrHooks:{type:{set:function(a,b){if(Pb.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&b==="radio"&&d.nodeName(a,"input")){var c=a.value;a.setAttribute("type", b);if(c)a.value=c;return b}}},value:{get:function(a,b){return y&&d.nodeName(a,"button")?y.get(a,b):b in a?a.value:null},set:function(a,b,c){if(y&&d.nodeName(a,"button"))return y.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,c){var g= a.nodeType;if(!a||g===3||g===8||g===2)return m;var e,f;if(g!==1||!d.isXMLDoc(a)){b=d.propFix[b]||b;f=d.propHooks[b]}return c!==m?f&&"set"in f&&(e=f.set(a,c,b))!==m?e:a[b]=c:f&&"get"in f&&(e=f.get(a,b))!==null?e:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Qb.test(a.nodeName)||Rb.test(a.nodeName)&&a.href?0:m}}}});d.attrHooks.tabIndex=d.propHooks.tabIndex;Sa={get:function(a,b){var c;return d.prop(a,b)===true||(c=a.getAttributeNode(b))&& c.nodeValue!==false?b.toLowerCase():m},set:function(a,b,c){if(b===false)d.removeAttr(a,c);else{b=d.propFix[c]||c;b in a&&(a[b]=true);a.setAttribute(c,c.toLowerCase())}return c}};d.support.getSetAttribute||(y=d.valHooks.button={get:function(a,b){var c;return(c=a.getAttributeNode(b))&&c.nodeValue!==""?c.nodeValue:m},set:function(a,b,c){var d=a.getAttributeNode(c);if(!d){d=l.createAttribute(c);a.setAttributeNode(d)}return d.nodeValue=b+""}},d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b], {set:function(a,d){if(d===""){a.setAttribute(b,"auto");return d}}})}));d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{get:function(a){a=a.getAttribute(b,2);return a===null?m:a}})});d.support.style||(d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||m},set:function(a,b){return a.style.cssText=""+b}});d.support.optSelected||(d.propHooks.selected=d.extend(d.propHooks.selected,{get:function(a){if(a=a.parentNode){a.selectedIndex; a.parentNode&&a.parentNode.selectedIndex}return null}}));d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});d.each(["radio","checkbox"],function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(a,b){if(d.isArray(b))return a.checked=d.inArray(d(a).val(),b)>=0}})});var ia=/\.(.*)$/,pa=/^(?:textarea|input|select)$/i,nb=/\./g,ob=/ /g,Sb=/[^\w\s.|`]/g,Tb=function(a){return a.replace(Sb,"\\$&")};d.event= {add:function(a,b,c,g){if(!(a.nodeType===3||a.nodeType===8)){if(c===false)c=w;else if(!c)return;var e,f;if(c.handler){e=c;c=e.handler}if(!c.guid)c.guid=d.guid++;if(f=d._data(a)){var h=f.events,i=f.handle;if(!h)f.events=h={};if(!i)f.handle=i=function(a){return typeof d!=="undefined"&&(!a||d.event.triggered!==a.type)?d.event.handle.apply(i.elem,arguments):m};i.elem=a;for(var b=b.split(" "),j,k=0,l;j=b[k++];){f=e?d.extend({},e):{handler:c,data:g};if(j.indexOf(".")>-1){l=j.split(".");j=l.shift();f.namespace= l.slice(0).sort().join(".")}else{l=[];f.namespace=""}f.type=j;if(!f.guid)f.guid=c.guid;var n=h[j],q=d.event.special[j]||{};if(!n){n=h[j]=[];if(!q.setup||q.setup.call(a,g,l,i)===false)a.addEventListener?a.addEventListener(j,i,false):a.attachEvent&&a.attachEvent("on"+j,i)}if(q.add){q.add.call(a,f);if(!f.handler.guid)f.handler.guid=c.guid}n.push(f);d.event.global[j]=true}a=null}}},global:{},remove:function(a,b,c,g){if(!(a.nodeType===3||a.nodeType===8)){c===false&&(c=w);var e,f,h=0,i,j,k,l,n,q,p=d.hasData(a)&& d._data(a),o=p&&p.events;if(p&&o){if(b&&b.type){c=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in o)d.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[h++];){l=e;i=e.indexOf(".")<0;j=[];if(!i){j=e.split(".");e=j.shift();k=RegExp("(^|\\.)"+d.map(j.slice(0).sort(),Tb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(n=o[e])if(c){l=d.event.special[e]||{};for(f=g||0;f= 0){e=e.slice(0,-1);h=true}if(e.indexOf(".")>=0){f=e.split(".");e=f.shift();f.sort()}if(c&&!d.event.customEvent[e]||d.event.global[e]){a=typeof a==="object"?a[d.expando]?a:new d.Event(e,a):new d.Event(e);a.type=e;a.exclusive=h;a.namespace=f.join(".");a.namespace_re=RegExp("(^|\\.)"+f.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!c){a.preventDefault();a.stopPropagation()}if(c){if(!(c.nodeType===3||c.nodeType===8)){a.result=m;a.target=c;b=b!=null?d.makeArray(b):[];b.unshift(a);f=c;g=e.indexOf(":")<0?"on"+ e:"";do{h=d._data(f,"handle");a.currentTarget=f;h&&h.apply(f,b);if(g&&d.acceptData(f)&&f[g]&&f[g].apply(f,b)===false){a.result=false;a.preventDefault()}f=f.parentNode||f.ownerDocument||f===a.target.ownerDocument&&r}while(f&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var i,f=d.event.special[e]||{};if((!f._default||f._default.call(c.ownerDocument,a)===false)&&!(e==="click"&&d.nodeName(c,"a"))&&d.acceptData(c)){try{if(g&&c[e]){(i=c[g])&&(c[g]=null);d.event.triggered=e;c[e]()}}catch(j){}i&& (c[g]=i);d.event.triggered=m}}return a.result}}else d.each(d.cache,function(){var c=this[d.expando];c&&(c.events&&c.events[e])&&d.event.trigger(a,b,c.handle.elem)})}},handle:function(a){var a=d.event.fix(a||r.event),b=((d._data(this,"events")||{})[a.type]||[]).slice(0),c=!a.exclusive&&!a.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=a;a.currentTarget=this;for(var e=0,f=b.length;e-1?d.map(a.options,function(a){return a.selected}).join("-"):"";else if(d.nodeName(a,"select"))c=a.selectedIndex;return c},Z=function(a,b){var c=a.target,g,e;if(pa.test(c.nodeName)&& !c.readOnly){g=d._data(c,"_change_data");e=Va(c);(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",e);if(!(g===m||e===g))if(g!=null||e){a.type="change";a.liveFired=m;d.event.trigger(a,b,c)}}};d.event.special.change={filters:{focusout:Z,beforedeactivate:Z,click:function(a){var b=a.target,c=d.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||d.nodeName(b,"select"))&&Z.call(this,a)},keydown:function(a){var b=a.target,c=d.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!d.nodeName(b, "textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&Z.call(this,a)},beforeactivate:function(a){a=a.target;d._data(a,"_change_data",Va(a))}},setup:function(){if(this.type==="file")return false;for(var a in L)d.event.add(this,a+".specialChange",L[a]);return pa.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return pa.test(this.nodeName)}};L=d.event.special.change.filters;L.focus=L.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin", blur:"focusout"},function(a,b){function c(a){var c=d.event.fix(a);c.type=b;c.originalEvent={};d.event.trigger(c,null,c.target);c.isDefaultPrevented()&&a.preventDefault()}var g=0;d.event.special[b]={setup:function(){g++===0&&l.addEventListener(a,c,true)},teardown:function(){--g===0&&l.removeEventListener(a,c,true)}}});d.each(["bind","one"],function(a,b){d.fn[b]=function(a,g,e){var f;if(typeof a==="object"){for(var h in a)this[b](h,g,a[h],e);return this}if(arguments.length===2||g===false){e=g;g=m}if(b=== "one"){f=function(a){d(this).unbind(a,f);return e.apply(this,arguments)};f.guid=e.guid||d.guid++}else f=e;if(a==="unload"&&b!=="one")this.one(a,g,e);else{h=0;for(var i=this.length;h0?this.bind(b,a,d):this.trigger(b)};d.attrFn&&(d.attrFn[b]=true)});var Wa=function(a,b,c,d,e,f){for(var e=0,h=d.length;e0){j=i;break}}i=i[a]}d[e]=j}}},ra=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,sa=0,Ya=Object.prototype.toString,aa=!1,Za=!0,G=/\\/g,ba=/\W/;[0,0].sort(function(){Za=false;return 0});var n=function(a,b,c,d){var c=c||[],e=b=b||l;if(b.nodeType!==1&&b.nodeType!==9)return[]; if(!a||typeof a!=="string")return c;var f,h,i,j,k,m=true,o=n.isXML(b),q=[],r=a;do{ra.exec("");if(f=ra.exec(r)){r=f[3];q.push(f[1]);if(f[2]){j=f[3];break}}}while(f);if(q.length>1&&Ub.exec(a))if(q.length===2&&p.relative[q[0]])h=$a(q[0]+q[1],b);else for(h=p.relative[q[0]]?[b]:n(q.shift(),b);q.length;){a=q.shift();p.relative[a]&&(a=a+q.shift());h=$a(a,h)}else{if(!d&&q.length>1&&b.nodeType===9&&!o&&p.match.ID.test(q[0])&&!p.match.ID.test(q[q.length-1])){f=n.find(q.shift(),b,o);b=f.expr?n.filter(f.expr, f.set)[0]:f.set[0]}if(b){f=d?{expr:q.pop(),set:v(d)}:n.find(q.pop(),q.length===1&&(q[0]==="~"||q[0]==="+")&&b.parentNode?b.parentNode:b,o);h=f.expr?n.filter(f.expr,f.set):f.set;for(q.length>0?i=v(h):m=false;q.length;){f=k=q.pop();p.relative[k]?f=q.pop():k="";f==null&&(f=b);p.relative[k](i,f,o)}}else i=[]}i||(i=h);i||n.error(k||a);if(Ya.call(i)==="[object Array]")if(m)if(b&&b.nodeType===1)for(a=0;i[a]!=null;a++)i[a]&&(i[a]===true||i[a].nodeType===1&&n.contains(b,i[a]))&&c.push(h[a]);else for(a=0;i[a]!= null;a++)i[a]&&i[a].nodeType===1&&c.push(h[a]);else c.push.apply(c,i);else v(i,c);if(j){n(j,e,c,d);n.uniqueSort(c)}return c};n.uniqueSort=function(a){if(ca){aa=Za;a.sort(ca);if(aa)for(var b=1;b0};n.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=p.order.length;e":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&& !ba.test(b))for(b=b.toLowerCase();e=0)?c||d.push(h):c&&(b[f]=false));return false},ID:function(a){return a[1].replace(G,"")},TAG:function(a){return a[1].replace(G,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||n.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&n.error(a[0]);a[0]=sa++;return a},ATTR:function(a, b,c,d,e,f){b=a[1]=a[1].replace(G,"");!f&&p.attrMap[b]&&(a[1]=p.attrMap[b]);a[4]=(a[4]||a[5]||"").replace(G,"");a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(a,b,c,d,e){if(a[1]==="not")if((ra.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=n(a[3],null,null,b);else{a=n.filter(a[3],b,c,1^e);c||d.push.apply(d,a);return false}else if(p.match.POS.test(a[0])||p.match.CHILD.test(a[0]))return true;return a},POS:function(a){a.unshift(true);return a}},filters:{enabled:function(a){return a.disabled=== false&&a.type!=="hidden"},disabled:function(a){return a.disabled===true},checked:function(a){return a.checked===true},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===true},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!n(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.getAttribute("type")},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"=== a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2=== 0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=p.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){b=b[3];c=0;for(d=b.length;c=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a, b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],c=p.attrHandle[c]?p.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),d=c+"",e=b[2],f=b[4];return c==null?e==="!=":e==="="?d===f:e==="*="?d.indexOf(f)>=0:e==="~="?(" "+d+" ").indexOf(f)>=0:!f?d&&c!==false:e==="!="?d!==f:e==="^="?d.indexOf(f)===0:e==="$="?d.substr(d.length-f.length)===f:e==="|="?d===f||d.substr(0,f.length+ 1)===f+"-":false},POS:function(a,b,c,d){var e=p.setFilters[b[2]];if(e)return e(a,c,b,d)}}},Ub=p.match.POS,Vb=function(a,b){return"\\"+(b-0+1)},M;for(M in p.match)p.match[M]=RegExp(p.match[M].source+/(?![^\[]*\])(?![^\(]*\))/.source),p.leftMatch[M]=RegExp(/(^(?:.|\r|\n)*?)/.source+p.match[M].source.replace(/\\(\d+)/g,Vb));var v=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(l.documentElement.childNodes,0)[0].nodeType}catch(kc){v= function(a,b){var c=0,d=b||[];if(Ya.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c";ea.insertBefore(da,ea.firstChild);l.getElementById(ab)&&(p.find.ID=function(a,b,c){if(typeof b.getElementById!=="undefined"&&!c)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!=="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:m:[]},p.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&& a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b});ea.removeChild(da);var ea=da=null,z=l.createElement("div");z.appendChild(l.createComment(""));0

";if(!(fa.querySelectorAll&&0===fa.querySelectorAll(".TEST").length)){var n=function(a,b,c,d){b=b||l;if(!d&&!n.isXML(b)){var e=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(a);if(e&&(b.nodeType===1||b.nodeType===9)){if(e[1])return v(b.getElementsByTagName(a),c);if(e[2]&&p.find.CLASS&&b.getElementsByClassName)return v(b.getElementsByClassName(e[2]),c)}if(b.nodeType=== 9){if(a==="body"&&b.body)return v([b.body],c);if(e&&e[3]){var f=b.getElementById(e[3]);if(f&&f.parentNode){if(f.id===e[3])return v([f],c)}else return v([],c)}try{return v(b.querySelectorAll(a),c)}catch(h){}}else if(b.nodeType===1&&b.nodeName.toLowerCase()!=="object"){var e=b,i=(f=b.getAttribute("id"))||"__sizzle__",j=b.parentNode,k=/^\s*[+~]/.test(a);f?i=i.replace(/'/g,"\\$&"):b.setAttribute("id",i);if(k&&j)b=b.parentNode;try{if(!k||j)return v(b.querySelectorAll("[id='"+i+"'] "+a),c)}catch(m){}finally{f|| e.removeAttribute("id")}}}return ta(a,b,c,d)},ua;for(ua in ta)n[ua]=ta[ua];fa=null}}var ga=l.documentElement,va=ga.matchesSelector||ga.mozMatchesSelector||ga.webkitMatchesSelector||ga.msMatchesSelector,bb=!1;try{va.call(l.documentElement,"[test!='']:sizzle")}catch(lc){bb=!0}va&&(n.matchesSelector=function(a,b){b=b.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!n.isXML(a))try{if(bb||!p.match.PSEUDO.test(b)&&!/!=/.test(b))return va.call(a,b)}catch(c){}return n(b,null,null,[a]).length>0});var H=l.createElement("div"); H.innerHTML="
";H.getElementsByClassName&&0!==H.getElementsByClassName("e").length&&(H.lastChild.className="e",1!==H.getElementsByClassName("e").length&&(p.order.splice(1,0,"CLASS"),p.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},H=null));n.contains=l.documentElement.contains?function(a,b){return a!==b&&(a.contains?a.contains(b):true)}:l.documentElement.compareDocumentPosition? function(a,b){return!!(a.compareDocumentPosition(b)&16)}:function(){return false};n.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":false};var $a=function(a,b){for(var c,d=[],e="",f=b.nodeType?[b]:b;c=p.match.PSEUDO.exec(a);){e=e+c[0];a=a.replace(p.match.PSEUDO,"")}a=p.relative[a]?a+"*":a;c=0;for(var h=f.length;c0)for(h=f;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],g,e,f=this[0];if(d.isArray(a)){var h,i={},j=1;if(f&& a.length){g=0;for(e=a.length;g-1:d(f).is(g))&&c.push({selector:h,elem:f,level:j})}f=f.parentNode;j++}}return c}h=cb.test(a)||typeof a!=="string"?d(a,b||this.context):0;g=0;for(e=this.length;g-1:d.find.matchesSelector(f,a)){c.push(f);break}else{f=f.parentNode;if(!f||!f.ownerDocument||f===b||f.nodeType===11)break}c=c.length>1? d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){return!a?this[0]&&this[0].parentNode?this.prevAll().length:-1:typeof a==="string"?d.inArray(this[0],d(a)):d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a&&a.nodeType?[a]:a),g=d.merge(this.get(),c);return this.pushStack(!c[0]||!c[0].parentNode||c[0].parentNode.nodeType===11||!g[0]||!g[0].parentNode||g[0].parentNode.nodeType===11?g:d.unique(g))},andSelf:function(){return this.add(this.prevObject)}}); d.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling", c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,g){var e=d.map(this,b,c),f=Zb.call(arguments);Wb.test(a)||(g=c);g&&typeof g==="string"&&(e=d.filter(g,e));e=this.length>1&&!$b[a]?d.unique(e):e;if((this.length>1||Yb.test(g))&&Xb.test(a))e=e.reverse();return this.pushStack(e, a,f.join(","))}});d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,c){for(var g=[],a=a[b];a&&a.nodeType!==9&&(c===m||a.nodeType!==1||!d(a).is(c));){a.nodeType===1&&g.push(a);a=a[b]}return g},nth:function(a,b,c){for(var b=b||1,d=0;a;a=a[c])if(a.nodeType===1&&++d===b)break;return a},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var ac=/ jQuery\d+="(?:\d+|null)"/g, wa=/^\s+/,db=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,eb=/<([\w:]+)/,bc=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"", "
"],area:[1,"",""],_default:[0,"",""]};t.optgroup=t.option;t.tbody=t.tfoot=t.colgroup=t.caption=t.thead;t.th=t.td;d.support.htmlSerialize||(t._default=[1,"div
","
"]);d.fn.extend({text:function(a){return d.isFunction(a)?this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))}):typeof a!=="object"&&a!==m?this.empty().append((this[0]&&this[0].ownerDocument||l).createTextNode(a)):d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this, b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return d.isFunction(a)?this.each(function(b){d(this).wrapInner(a.call(this,b))}):this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this, "body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a, "before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,g;(g=this[c])!=null;c++)if(!a||d.filter(a,[g]).length){if(!b&&g.nodeType===1){d.cleanData(g.getElementsByTagName("*"));d.cleanData([g])}g.parentNode&&g.parentNode.removeChild(g)}return this}, empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===m)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ac,""):null;if(typeof a==="string"&&!fb.test(a)&&(d.support.leadingWhitespace||!wa.test(a))&&!t[(eb.exec(a)||["",""])[1].toLowerCase()]){a= a.replace(db,"<$1>");try{for(var b=0,c=this.length;b1&&e0?this.clone(true):this).get();d(c[e])[b](h);g=g.concat(h)}return this.pushStack(g,a,c.selector)}});d.extend({clone:function(a,b,c){var g=a.cloneNode(true),e,f,h;if((!d.support.noCloneEvent|| !d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){Da(a,g);e=Q(a);f=Q(g);for(h=0;e[h];++h)f[h]&&Da(e[h],f[h])}if(b){Ca(a,g);if(c){e=Q(a);f=Q(g);for(h=0;e[h];++h)Ca(e[h],f[h])}}return g},clean:function(a,b,c,g){b=b||l;typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||l);for(var e=[],f,h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i=i+"");if(i){if(typeof i==="string")if(cc.test(i)){i=i.replace(db,"<$1>");f=(eb.exec(i)||["",""])[1].toLowerCase(); var j=t[f]||t._default,k=j[0],m=b.createElement("div");for(m.innerHTML=j[1]+i+j[2];k--;)m=m.lastChild;if(!d.support.tbody){k=bc.test(i);j=f==="table"&&!k?m.firstChild&&m.firstChild.childNodes:j[1]===""&&!k?m.childNodes:[];for(f=j.length-1;f>=0;--f)d.nodeName(j[f],"tbody")&&!j[f].childNodes.length&&j[f].parentNode.removeChild(j[f])}!d.support.leadingWhitespace&&wa.test(i)&&m.insertBefore(b.createTextNode(wa.exec(i)[0]),m.firstChild);i=m.childNodes}else i=b.createTextNode(i);var n;if(!d.support.appendChecked)if(i[0]&& typeof(n=i.length)==="number")for(f=0;f=0)return b+"px"}else return b}}});d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return ec.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,g=a.currentStyle,e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=g&&g.filter||c.filter||"";c.zoom=1;if(b>=1&&d.trim(f.replace(xa,""))===""){c.removeAttribute("filter");if(g&&!g.filter)return}c.filter=xa.test(f)?f.replace(xa,e):f+" "+e}});d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight= {get:function(a,b){var c;d.swap(a,{display:"inline-block"},function(){c=b?A(a,"margin-right","marginRight"):a.style.marginRight});return c}}});l.defaultView&&l.defaultView.getComputedStyle&&(ib=function(a,b){var c,g,b=b.replace(fc,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return m;if(g=g.getComputedStyle(a,null)){c=g.getPropertyValue(b);c===""&&!d.contains(a.ownerDocument.documentElement,a)&&(c=d.style(a,b))}return c});l.documentElement.currentStyle&&(jb=function(a,b){var c,d=a.currentStyle&& a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;if(!hb.test(d)&&gc.test(d)){c=f.left;if(e)a.runtimeStyle.left=a.currentStyle.left;f.left=b==="fontSize"?"1em":d||0;d=f.pixelLeft+"px";f.left=c;if(e)a.runtimeStyle.left=e}return d===""?"auto":d});A=ib||jb;d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}); return d}(window); var optimizelyCode = function(){ var DATA={"log_host":"log.optimizely.com","goal_expressions":{"789950468":["^spotlight1click$"],"2178590213":["^ftsortot\\_clk$"],"5452270597":["^mdistopnav\\_clk$"],"5289810441":["^bftopnavreg\\_clk$"],"588310027":["^header\\_search\\_submit$"],"1707350030":["^ecommdragon\\_clk\\_custom\\_global$"],"5445670926":["^fdistopnav\\_clk$"],"2213101591":["^upro\\_walltab$"],"1480001028":["^cnw\\_click$"],"3279160751":["^enter\\_ve$"],"2851010588":["^sbt\\_contributemenuclk$"],"1501403680":["^headoptaff\\_clk$"],"2148550024":["^opttestloggedout1028tea\\_clk\\_custom$"],"569742374":["^search\\_submit$"],"2659841066":["^click\\_link\\_inside\\_discussion$"],"3119512109":["^portable\\_infobox\\_cliks$"],"7830666292":["^search$"],"2776660024":["^socdisc\\_lowerdisc$"],"1777620027":["^opttestloggedout\\_clk\\_custom$"],"1260990526":["^header\\_clicks$"],"1765330443":["^opttestloggedout815\\_clk$"],"2231612486":["^hub\\_menu\\_opens\\-1203$"],"1769781516":["^opttestloggedout815h\\_clk\\_custom\\ $"],"6878850128":["^button\\_clicks$"],"2179860067":["^ftsortsubmit\\_clk$"],"2173070350":["^ftsortlink\\_clk$"],"5265560665":["^bfdissubtrending\\_clk$"],"1174590043":["^custom\\-level\\-2\\_clicks$"],"1911150174":["^fbavatar\\_clk$"],"2202341472":["^upro\\_profilearticlebody$"],"1190140003":["^wordmark\\_clicks$"],"2238642788":["^signup\\_clicks\\-1203$"],"1918410508":["^mastheadfb\\_clk$"],"2674991722":["^startdisc1\\_socreldisc$"],"2228230251":["^upro\\_contribtab$"],"1001482861":["^recommendation\\-1\\-click$"],"5133911151":["^bfdisicon\\_clk$"],"4322720368":["^(https?://)?(www\\.)?starwars\\.wikia\\.com\\/d\\/f\\/147/?(\\?.*)?(#.*)?$"],"2163750514":["^ftsortboldit\\_clk$"],"2126702707":["^opttestloggedout1028\\_clk\\_custom$"],"1131150454":["^publish$"],"577812087":["^header\\_search\\_click$"],"1890040446":["^stockavatar\\_clk$"],"2229071999":["^global\\_search\\_submits\\-1203$"],"1243520642":["^ve\\-save\\-button\\-click$"],"3207140630":["^socregsub\\_clk$"],"2199500935":["^upro\\_twitter$"],"2189250700":["^ftsortav\\_clk$"],"2272020111":["^local\\_searchbox\\_clicks\\-1203$"],"1935760019":["^uploadavatar\\_clk$"],"586610325":["^search\\_clicks$"],"793081495":["^global\\_searchbox\\_clicks$"],"1196532888":["^amznaff\\_clk$"],"1377610010":["^globalnav\\_clk$"],"2131790277":["^opttestloggedout1028tea\\_clk$"],"802011296":["^hamburger\\_entry\\_point\\_clicks$"],"5448173167":["^ftopnavreg\\_clk$"],"3258660123":["^enter\\_the\\_ve$"],"790611108":["^spotlight3click$"],"2163311272":["^ftsortmr\\_clk$"],"2163311273":["^ftsortnt\\_clk$"],"7854340778":["^clk\\_linotif\\_notifbubble$"],"801563827":["^hubs\\_subitem\\_clicks$"],"790634677":["^login\\_dropdown\\_opens$"],"3212810069":["^socjoinsignin$"],"5436091062":["^mtopnavreg\\_clk$"],"2172250808":["^fttopic\\_clk$"],"1470971067":["^ecomm\\_clk$"],"1652831520":["^ecommelder\\_clk$"],"2779480264":["^socdisc\\_topdisc$"],"3142390475":["^old\\_infobox\\_clicks$"],"5289060043":["^bflocalnavsubreg\\_clk$"],"582791032":["^edit$"],"7804275921":["^search\\-local\\-nav\\-abtest$"],"792111731":["^signup\\_clicks$"],"2208351958":["^login\\_dropdown\\_opens\\-1203$"],"1633312983":["^ecommdragon\\_clk$"],"5427413721":["^fdissubtrending\\_clk$"],"2163990242":["^ftsorthighlight\\_clk$"],"1777850595":["^opttestloggedout815h\\_clk$"],"2163590182":["^ftsortdisc\\_clk$"],"6725650128":["^editlinkclick$"],"2852900584":["^sbt\\_sharebuttonclk$"],"2674630889":["^threadname\\_socreldisc$"],"2162320618":["^ftsortthreadname\\_clk$"],"540277483":["^engagement$"],"1511551727":["^wiki\\-activity\\-1\\-impression$"],"1176740082":["^custom\\-level\\-1\\_clicks$"],"2673840883":["^seemorelink\\_socreldisc$"],"6582120691":["^clicked\\_edit$"],"2174330400":["^ftsortpreview\\_clk$"],"3127800571":["^article\\_clicks$"],"2222710524":["^upro\\_favewikis$"],"5452260605":["^mlocalnavsubreg\\_clk$"],"577640194":["^edit\\_clicks$"],"5058803016":["^clk\\_disthreadmore$"],"5290150187":["^bfdissubnavlatest\\_clk$"],"2222201098":["^upro\\_blogtab$"],"1930380044":["^mastheadedit\\_clk$"],"3204440336":["^socregwithemailjoin$"],"2182840086":["^ftsortboardfollow\\_clk$"],"1507020567":["^headopt\\_clk$"],"2223841560":["^upro\\_personalweb$"],"1376010010":["^mainedit\\_click$"],"2235060507":["^notifications\\_menu\\_opens\\-1203$"],"5433112348":["^mdissubtrending\\_clk$"],"1368770848":["^sectionedit\\_clk$"],"2249381623":["^local\\_search\\_submits\\-1203$"],"2198080295":["^upro\\_editprofile$"],"2213720360":["^upro\\_imfollowingmod$"],"2317050503":["^search\\_box\\_clicks$"],"1364162348":["^localnav\\_clk$"],"3268290861":["^ve\\_entry$"],"1510951727":["^wiki\\-activity\\-1\\-click$"],"790434609":["^hub\\_menu\\_opens$"],"2198822712":["^upro\\_editprofilesubmenu$"],"1177630009":["^custom\\-level\\-3\\_clicks$"],"2155400165":["^ftsortpage\\_clk$"],"2243421579":["^hubs\\_subitem\\_clicks\\-1203$"],"2876040004":["^sbt\\_editdropclk$"],"800950085":["^spotlight4click$"],"2212330252":["^upro\\_followingtab\\_selfonly$"],"1777630023":["^opttestloggedout\\_clk$"],"1171880265":["^nav\\-item\\_hover$"],"2178720586":["^ftsortfollow\\_clk$"],"2684320115":["^username\\_socreldisc$"],"2747731276":["^socdisc\\_editclk$"],"786741070":["^wikia\\_logo\\_clicks$"],"2174880081":["^ftsortsource\\_clk$"],"3371050836":["^ve\\_\\-\\_save\\_page$"],"2203880789":["^upro\\_utalktab$"],"793531365":["^notifications\\_menu\\_opens$"],"1503752545":["^top\\-articles\\-2\\-click$"],"3329420132":["^entry\\_to\\_ve\\_via\\_existing\\_button$"],"2239530897":["^hamburger\\_entry\\_point\\_clicks\\-1203$"],"7819887465":["^clk\\_linotif\\_wikiname$"],"2238681458":["^wikia\\_logo\\_clicks\\-1203$"],"2208193395":["^cnw\\_clicks\\-1203$"],"791132021":["^local\\_search\\_submits$"],"2207381879":["^upro\\_facebook$"],"1514551672":["^wiki\\-activity\\-2\\-impression$"],"2144800636":["^opttestloggedout1028\\_clk$"],"5442120937":["^fdissubnavlatest\\_clk$"],"4326290301":["^swhomedislink\\_clk$"],"789214080":["^spotlight6click$"],"6497712513":["^clicks\\_on\\_button$"],"3136371588":["^navbox$"],"1770060165":["^opttestloggedout815\\_clk\\_custom$"],"1907100550":["^avatar\\_edit$"],"1260190088":["^ve\\-save\\-button\\-enable$"],"1700880023":["^ecommelder\\_clk\\_custom\\_global$"],"572180367":["^nav\\_clicks$"],"2236293784":["^global\\_searchbox\\_clicks\\-1203$"],"795121042":["^spotlight2click$"],"999592857":["^recommendation\\-2\\-click$"],"2199562138":["^upro\\_chatmodule$"],"1457140463":["^priceg\\_clk$"],"1124790173":["^publish\\_active$"],"791254434":["^cnw\\_clicks$"],"794123686":["^global\\_search\\_submits$"],"2862170439":["^sbt\\_editclk$"],"792356268":["^spotlight5click$"],"2185470621":["^ftsortnr\\_clk$"],"5121901999":["^bfdiscta\\_clk$"],"2222700471":["^upro\\_achievements$"],"5071560121":["^clk\\_disthreadsoc$"],"2753840060":["^socdisc\\_talkcommclk$"],"996623008":["^recommendation\\-3\\-click$"],"1768980421":["^opttestgoogle\\_clk$"],"2163610055":["^ftsortuname\\_clk$"],"5442060744":["^mdissubnavlatest\\_clk$"],"2176720357":["^ftsortvideo\\_clk$"],"1357960653":["^asctst\\_clk$"],"5444360950":["^flocalnavsubreg\\_clk$"],"5295320015":["^bfdistopnav\\_clk$"],"1500854740":["^wiki\\-activity\\-2\\-click$"],"1500854741":["^top\\-articles\\-2\\-impression$"],"4319330775":["^swarticledislink\\_clk$"],"1500751837":["^top\\-articles\\-1\\-impression$"],"1500751838":["^top\\-articles\\-1\\-click$"],"2186420195":["^ftsortimg\\_clk$"],"1657701861":["^ecommdragon\\_clk\\_custom$"],"1657140715":["^ecommelder\\_clk\\_custom$"],"2858300398":["^sbt\\_commtalkclk$"],"7848110869":["^clk\\_linotif\\_specnotiflink$"],"1908280310":["^mastheadfb2\\_clk$"],"1764230137":["^opttestgoogle\\_clk\\_custom$"],"788972028":["^local\\_searchbox\\_clicks$"],"2188210687":["^ftsortforumactivity\\_clk$"]},"audiences":{"1887850624":{"conditions":["and",["or",["or",{"dimension_id":791841300,"value":"window.wgUserName != null"}]]],"name":"Logged in users (FB masthead)","segment_id":1890801180},"3339870465":{"conditions":["and",["or",["or",{"dimension_id":3347390210,"value":"ja"}]],["or",["not",["or",{"dimension_id":3349550146,"value":"mobile"}]]]],"name":"Japanese Desktop","segment_id":3320550236},"1375670179":{"conditions":["and",{"dimension_id":791841300,"value":"window.wgUserName == null"}],"name":"Anonymous Users","segment_id":1375389221},"1377220045":{"conditions":["and",{"dimension_id":791841300,"value":"document.cookie.indexOf('__utma')==-1"}],"name":"New User","segment_id":1370080040},"1201662128":{"conditions":["and",{"dimension_id":1260180169,"value":"google.","match":"substring"},["not",["or",{"dimension_id":1260180169,"value":"mail.google.","match":"substring"},{"dimension_id":1260180169,"value":"drive.google.","match":"substring"},{"dimension_id":1260180169,"value":"google.com/calendar","match":"substring"},{"dimension_id":1260180169,"value":"groups.google.","match":"substring"},{"dimension_id":1260180169,"value":"sites.google","match":"substring"}]]],"name":"Google referrals","segment_id":1201662127},"2727400244":{"conditions":["and",["or",["or",{"dimension_id":791841300,"value":"window.wgUserName == null"}]],["or",["or",{"dimension_id":2702990454,"value":"desktop"}]]],"name":"Desktop Anonymous Users","segment_id":2710330523},"1376209081":{"conditions":["and",{"dimension_id":791841300,"value":"window.wgUserName != null"}],"name":"Logged in users","segment_id":1371933914},"1373819902":{"conditions":["and",{"dimension_id":791841300,"value":"document.cookie.indexOf('__utma')>-1"}],"name":"Returning User","segment_id":1372699787}},"www_host":"app.optimizely.com","force_variation":true,"dimensions":{"1260180169":{"condition_type":"referrer"},"3349550146":{"condition_type":"platform"},"791841300":{"condition_type":"code"},"3347390210":{"condition_type":"language"},"2702990454":{"condition_type":"device"}},"version":"master-2698.397431813947513542","admin_account_id":554924358,"blacklisted_experiments":[7845060866,7593460361,3690091151,7825000594,7596200042,3113510549,5003080344,3692580761,7589290138,6500240027,7737090973,7234661032,7724072363,7745311021,6461232688,6829320625,7778140340,7731081285,7582382920,3938833744,6669650642,3685421397,7812524892,7590850014,7850380767,3716481124,7840460647,7835092457,7720731370,4522280313],"project_id":554924358,"revision":3783,"summary_revenue_goal_id":559844854,"installation_verified":true,"preview_host":"//optimizely.s3.amazonaws.com","api_host":"api.optimizely.com","segments":{"548712195":{"segment_value_type":"campaign","api_name":"optimizely_campaign","id":548712195,"name":"Campaign"},"1375389221":{"audience_id":1375670179,"api_name":"anonymous_users","id":1375389221,"name":"Anonymous Users"},"538115528":{"segment_value_type":"mobile","api_name":"optimizely_mobile","id":538115528,"name":"Mobile Visitors"},"3320550236":{"audience_id":3339870465,"id":3320550236,"name":"Japanese Desktop"},"1372699787":{"audience_id":1373819902,"api_name":"returning_user","id":1372699787,"name":"Returning User"},"1201662127":{"audience_id":1201662128,"api_name":"google_referrals","id":1201662127,"name":"Google referrals"},"1370080040":{"audience_id":1377220045,"api_name":"new_user","id":1370080040,"name":"New User"},"2710330523":{"audience_id":2727400244,"id":2710330523,"name":"Desktop Anonymous Users"},"1371933914":{"audience_id":1376209081,"api_name":"logged_in_users","id":1371933914,"name":"Logged in users"},"561511611":{"segment_value_type":"source_type","api_name":"optimizely_source_type","id":561511611,"name":"Source Type"},"1890801180":{"audience_id":1887850624,"id":1890801180,"name":"Logged in users (FB masthead)"},"543282879":{"segment_value_type":"browser","api_name":"optimizely_browser","id":543282879,"name":"Browser"}},"click_goals":[{"event_name":"nav_clicks","experiments":{"3128970206":true},"selector":".nav > li:eq(1) > a:eq(0)"},{"event_name":"header_search_click","experiments":{"569781231":true},"selector":"#HeaderWikiaSearch > input[name='search']"},{"event_name":"search_clicks","experiments":{"1354203276":true,"569781231":true},"selector":"#WikiaSearch > input[name='search']"},{"event_name":"wikia_logo_clicks","experiments":{"1012393800":true,"756361826":true,"1465165495":true},"selector":".logo"},{"event_name":"cnw_clicks","experiments":{"1012393800":true,"756361826":true},"selector":".start-a-wiki > .wikia-button"},{"event_name":"amznaff_clk","experiments":{"1249016577":true,"1320102658":true,"1341590019":true,"1213812356":true,"1318761989":true,"1211271558":true,"1255634185":true,"1264276237":true,"1248401168":true,"1252805393":true,"1322780675":true,"1255672468":true,"1199912214":true,"1280581911":true,"1458490008":true,"1263428505":true,"1320102171":true,"1239831071":true,"1256966790":true,"2429440424":true,"1201661993":true,"1196532907":true,"1202858928":true,"1334250739":true,"1268280372":true,"1287352628":true,"1329762494":true,"1456310463":true,"1251004103":true,"1333830090":true,"1317752485":true,"1290543701":true,"1260921430":true,"1207225083":true,"1279200090":true,"1248046300":true,"1257237797":true,"1255607779":true,"1262438629":true,"1321022568":true,"1247993961":true,"1325192051":true,"1256385655":true,"1287854840":true,"1255625467":true,"1344470102":true,"1338071038":true},"selector":"div.prodimg > a > img, div.placard > a, div.vendorlogo > a, div.vendorsee > a, div.vendorprice > a, div.pgprodimg > a > img, a.pgvendorprice, div.pgplacard > a, div.pgrrprodimg > a > img, a.pgrrvendorprice, div.pgrrplacard > a"},{"event_name":"asctst_clk","experiments":{"1356580907":true,"1420731002":true,"1423080047":true,"1368186728":true,"1358491049":true,"1399946379":true,"1372063501":true,"1360770383":true,"1355720914":true,"1382355925":true,"1370436790":true,"1388230167":true,"1414040954":true,"1386510011":true,"1384760157":true},"selector":"div#asctest"},{"event_name":"localnav_clk","experiments":{"1516329092":true,"1399946379":true,"1372063501":true,"1480582678":true,"1388230167":true,"1515310104":true,"1503755944":true,"1358491049":true,"1356580907":true,"1496050220":true,"1370436790":true,"1386510011":true,"1414040954":true,"1484400574":true,"1496910145":true,"1531412429":true,"1360770383":true,"1355720914":true,"1382355925":true,"1451101147":true,"1384760157":true,"1478065512":true,"1423080047":true,"1368186728":true,"1463352818":true,"1420731002":true,"1510955263":true},"selector":"ul.nav > li > a, ul.subnav-2 > li > a, ul.subnav-3 > li > a"},{"event_name":"sectionedit_clk","experiments":{"1516329092":true,"1399946379":true,"1372063501":true,"1480582678":true,"1388230167":true,"1515310104":true,"1503755944":true,"1358491049":true,"1356580907":true,"1496050220":true,"1370436790":true,"1386510011":true,"1414040954":true,"1484400574":true,"1496910145":true,"1531412429":true,"1360770383":true,"1355720914":true,"1382355925":true,"1451101147":true,"1384760157":true,"1478065512":true,"1423080047":true,"1368186728":true,"1463352818":true,"1420731002":true,"1510955263":true},"selector":"span.editsection > a"},{"event_name":"mainedit_click","experiments":{"1516329092":true,"1399946379":true,"1372063501":true,"1480582678":true,"1388230167":true,"1515310104":true,"1503755944":true,"1358491049":true,"1356580907":true,"1496050220":true,"1370436790":true,"1386510011":true,"1414040954":true,"1484400574":true,"1496910145":true,"1531412429":true,"1360770383":true,"1355720914":true,"1382355925":true,"1451101147":true,"1384760157":true,"1478065512":true,"1423080047":true,"1368186728":true,"1463352818":true,"1420731002":true,"1510955263":true},"selector":"nav.loginToEditProtectedPage > a, nav.wikia-menu-button > a#ca-ve-edit"},{"event_name":"globalnav_clk","experiments":{"1516329092":true,"1399946379":true,"1372063501":true,"1480582678":true,"1388230167":true,"1515310104":true,"1503755944":true,"1358491049":true,"1356580907":true,"1496050220":true,"1370436790":true,"1386510011":true,"1414040954":true,"1484400574":true,"1496910145":true,"1531412429":true,"1360770383":true,"1355720914":true,"1382355925":true,"1451101147":true,"1384760157":true,"1478065512":true,"1423080047":true,"1368186728":true,"1463352818":true,"1420731002":true,"1510955263":true},"selector":"li.WikiaLogo > a, li.start-a-wiki > a, ul#GlobalNavigation > li > a, ul#GlobalNavigation > li > ul.subnav > li > a, ul#GlobalNavigation > li > ul.subnav > li > ul.catnav > li > a"},{"event_name":"priceg_clk","experiments":{"1458490008":true,"1456310463":true},"selector":"a.pgunita"},{"event_name":"ecomm_clk","experiments":{"1496910145":true,"1516329092":true,"1478065512":true,"1496050220":true,"1531412429":true,"1503755944":true,"1463352818":true,"1480582678":true,"1515310104":true,"1451101147":true,"1484400574":true,"1510955263":true},"selector":"a.pgunita, div.prodimg > a > img, div.placard > a, div.vendorlogo > a, div.vendorsee > a, div.vendorprice > a, div.pgprodimg > a > img, a.pgvendorprice, div.pgplacard > a, div.pgrrprodimg > a > img, a.pgrrvendorprice, div.pgrrplacard > a, div.kcaffiliate > div.kcprodimg > a > img, div.kcaffiliate > div.kcplacard > a, div.kcvendorprice > a.kcvendorprice, div.kc2affiliate > div.kc2prodimg > a > img, div.kc2placard > a, div.kc2vendorprice > a.kc2vendorprice"},{"event_name":"headoptaff_clk","experiments":{"1561385776":true,"1525382114":true,"1522073351":true},"selector":"a.headoptaff, a.headoptaff > img"},{"event_name":"headopt_clk","experiments":{"1561385776":true,"1525382114":true,"1522073351":true},"selector":"a.headopt, a.headopt > img"},{"event_name":"ecommdragon_clk","experiments":{"1680510986":true,"1626058078":true},"selector":"a.pgunita, div.prodimg > a > img, div.placard > a, div.vendorlogo > a, div.vendorsee > a, div.vendorprice > a, div.pgprodimg > a > img, a.pgvendorprice, div.pgplacard > a, div.pgrrprodimg > a > img, a.pgrrvendorprice, div.pgrrplacard > a, div.kcaffiliate > div.kcprodimg > a > img, div.kcaffiliate > div.kcplacard > a, div.kcvendorprice > a.kcvendorprice, div.kc2affiliate > div.kc2prodimg > a > img, div.kc2placard > a, div.kc2vendorprice > a.kc2vendorprice"},{"event_name":"ecommelder_clk","experiments":{"1652831505":true,"1652530100":true,"1698960125":true},"selector":"a.pgunita, div.prodimg > a > img, div.placard > a, div.vendorlogo > a, div.vendorsee > a, div.vendorprice > a, div.pgprodimg > a > img, a.pgvendorprice, div.pgplacard > a, div.pgrrprodimg > a > img, a.pgrrvendorprice, div.pgrrplacard > a, div.kcaffiliate > div.kcprodimg > a > img, div.kcaffiliate > div.kcplacard > a, div.kcvendorprice > a.kcvendorprice, div.kc2affiliate > div.kc2prodimg > a > img, div.kc2placard > a, div.kc2vendorprice > a.kc2vendorprice"},{"event_name":"opttestloggedout815_clk","experiments":{"1774470872":true},"selector":"a.opttestloggedout815"},{"event_name":"opttestgoogle_clk","experiments":{"1771640255":true},"selector":"a.pgunita, div.prodimg > a > img, div.placard > a, div.vendorlogo > a, div.vendorsee > a, div.vendorprice > a, div.pgprodimg > a > img, a.pgvendorprice, div.pgplacard > a, div.pgrrprodimg > a > img, a.pgrrvendorprice, div.pgrrplacard > a, div.kcaffiliate > div.kcprodimg > a > img, div.kcaffiliate > div.kcplacard > a, div.kcvendorprice > a.kcvendorprice, div.kc2affiliate > div.kc2prodimg > a > img, div.kc2placard > a, div.kc2vendorprice > a.kc2vendorprice"},{"event_name":"opttestloggedout_clk","experiments":{"1773670236":true},"selector":"a.pgunita, div.prodimg > a > img, div.placard > a, div.vendorlogo > a, div.vendorsee > a, div.vendorprice > a, div.pgprodimg > a > img, a.pgvendorprice, div.pgplacard > a, div.pgrrprodimg > a > img, a.pgrrvendorprice, div.pgrrplacard > a, div.kcaffiliate > div.kcprodimg > a > img, div.kcaffiliate > div.kcplacard > a, div.kcvendorprice > a.kcvendorprice, div.kc2affiliate > div.kc2prodimg > a > img, div.kc2placard > a, div.kc2vendorprice > a.kc2vendorprice"},{"event_name":"opttestloggedout815h_clk","experiments":{"1773924998":true},"selector":"a.opttestloggedout815h"},{"event_name":"stockavatar_clk","experiments":{"1887860901":true},"selector":"ul.sample-avatars > li"},{"event_name":"avatar_edit","experiments":{"2204091634":true,"1887860901":true},"selector":"div.avatar-controls > span > a#userAvatarEdit"},{"event_name":"mastheadfb2_clk","experiments":{"1889410839":true},"selector":"div#facebookConnect"},{"event_name":"fbavatar_clk","experiments":{"1887860901":true},"selector":"div.#facebookConnectAvatar"},{"event_name":"mastheadfb_clk","experiments":{"1893920640":true},"selector":"div#facebookConnect"},{"event_name":"mastheadedit_clk","experiments":{"2204091634":true,"1889410839":true},"selector":"#userIdentityBoxEdit"},{"event_name":"uploadavatar_clk","experiments":{"1887860901":true},"selector":"#UPPLightboxAvatar"},{"event_name":"opttestloggedout1028tea_clk","experiments":{"2137522133":true,"2113891647":true},"selector":"a.opttestloggedout1028tea"},{"event_name":"opttestloggedout1028_clk","experiments":{"2146660770":true},"selector":"a.opttestloggedout1028"},{"event_name":"ftsortpage_clk","experiments":{"2166560241":true},"selector":"section#Forum > ul.Pagination > li > a"},{"event_name":"ftsortthreadname_clk","experiments":{"2166560241":true},"selector":"ul.ThreadList > li.thread > div.thread-left > h4 > a"},{"event_name":"ftsortmr_clk","experiments":{"2166560241":true},"selector":"div.sorting > ul.menu > li.mr > a"},{"event_name":"ftsortnt_clk","experiments":{"2166560241":true},"selector":"div.sorting > ul.menu > li.nt > a"},{"event_name":"ftsortdisc_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote"},{"event_name":"ftsortuname_clk","experiments":{"2166560241":true},"selector":"ul.ThreadList > li.thread > div.thread-left > p > a"},{"event_name":"ftsortboldit_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.toolbar > span > span.cke_button_bold > a, div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.toolbar > span > span.cke_button_italic > a"},{"event_name":"ftsorthighlight_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.buttons > label.highlight > input"},{"event_name":"fttopic_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div.message-topic > input.message-topic-input"},{"event_name":"ftsortlink_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.toolbar > span > span.cke_button_link > a"},{"event_name":"ftsortpreview_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.buttons > button.preview"},{"event_name":"ftsortsource_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.toolbar > span.cke_toolbar_mode_switch"},{"event_name":"ftsortvideo_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.toolbar > span > span.RTEVideoButton > a"},{"event_name":"ftsortot_clk","experiments":{"2166560241":true},"selector":"div.sorting > ul.menu > li.ot > a"},{"event_name":"ftsortfollow_clk","experiments":{"2166560241":true},"selector":"div.thread-right > ul.activity > li.follow"},{"event_name":"ftsortsubmit_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.buttons > button.submit"},{"event_name":"ftsortboardfollow_clk","experiments":{"2166560241":true},"selector":"div#WikiaBar > div#WikiaBarWrapper > div.wikia-bar > div.toolbar ul.tools > li > a#ca-watch"},{"event_name":"ftsortnr_clk","experiments":{"2166560241":true},"selector":"div.sorting > ul.menu > li.nr > a"},{"event_name":"ftsortimg_clk","experiments":{"2166560241":true},"selector":"div#ForumNewMessage > blockquote > div.message-container > div > div.body-container > div.toolbar > span > span.RTEImageButton > a"},{"event_name":"ftsortforumactivity_clk","experiments":{"2166560241":true},"selector":"section.ForumActivityModule > ul > li > em > a,section.ForumActivityModule > ul > li > div.edited-by > a"},{"event_name":"ftsortav_clk","experiments":{"2166560241":true},"selector":"ul.ThreadList > li.thread > div.thread-left > p > a > img"},{"event_name":"upro_editprofile","experiments":{"2204091634":true},"selector":"div.UserProfileActionButton > nav.wikia-menu-button > a[data-id=editprofile]"},{"event_name":"upro_editprofilesubmenu","experiments":{"2204091634":true},"selector":"div.UserProfileActionButton > nav.wikia-menu-button > ul.WikiaMenuElement > li > a"},{"event_name":"upro_twitter","experiments":{"2204091634":true},"selector":"div.masthead-info-lower > ul.links > li.twitter"},{"event_name":"upro_chatmodule","experiments":{"2204091634":true},"selector":"section.ChatModule"},{"event_name":"upro_profilearticlebody","experiments":{"2204091634":true},"selector":"article.WikiaMainContent > div.WikiaMainContentContainer > div#WikiaArticle"},{"event_name":"upro_utalktab","experiments":{"2204091634":true},"selector":"div.tabs-container > ul.tabs > li[data-id=talk]"},{"event_name":"upro_facebook","experiments":{"2204091634":true},"selector":"div.masthead-info-lower > ul.links > li.facebook"},{"event_name":"cnw_clicks-1203","experiments":{"2230840569":true},"selector":"#globalNavigation .start-wikia"},{"event_name":"upro_followingtab_selfonly","experiments":{"2204091634":true},"selector":"div.tabs-container > ul.tabs > li[data-id=following]"},{"event_name":"upro_walltab","experiments":{"2204091634":true},"selector":"div.tabs-container > ul.tabs > li[data-id=wall]"},{"event_name":"upro_imfollowingmod","experiments":{"2204091634":true},"selector":"section.FollowedPagesModule"},{"event_name":"upro_blogtab","experiments":{"2204091634":true},"selector":"div.tabs-container > ul.tabs > li[data-id=blog]"},{"event_name":"upro_achievements","experiments":{"2204091634":true},"selector":"div.AchievementsModule"},{"event_name":"upro_favewikis","experiments":{"2204091634":true},"selector":"div.masthead-info-lower > ul.wikis > ul > li > a"},{"event_name":"upro_personalweb","experiments":{"2204091634":true},"selector":"div.masthead-info-lower > ul.links > li.website"},{"event_name":"upro_contribtab","experiments":{"2204091634":true},"selector":"div.tabs-container > ul.tabs > li[data-id=contribs]"},{"event_name":"signup_clicks-1203","experiments":{"2230840569":true},"selector":"#globalNavigation .ajaxRegister"},{"event_name":"wikia_logo_clicks-1203","experiments":{"2230840569":true},"selector":"#globalNavigation .wikia-logo"},{"event_name":"hamburger_entry_point_clicks-1203","experiments":{"2230840569":true},"selector":".hubs-entry-point"},{"event_name":"hubs_subitem_clicks-1203","experiments":{"2230840569":true},"selector":".hub-list > li > a, .hub-menu-section li > a"},{"event_name":"search_box_clicks","experiments":{"2325430112":true,"2331390379":true},"selector":"#searchInput"},{"event_name":"click_link_inside_discussion","experiments":{"2703180303":true},"selector":".RelatedForumDiscussion a"},{"event_name":"seemorelink_socreldisc","experiments":{"2740270688":true,"2710390164":true,"2680490166":true},"selector":"#RelatedForumDiscussion > div > div.forum-see-more > a"},{"event_name":"threadname_socreldisc","experiments":{"2740270688":true,"2710390164":true,"2680490166":true},"selector":"#RelatedForumDiscussion > div > ul > li > h4 > a.forum-thread-title"},{"event_name":"startdisc1_socreldisc","experiments":{"2740270688":true,"2710390164":true,"2680490166":true},"selector":"#RelatedForumDiscussion > h2 > a.forum-new-post"},{"event_name":"username_socreldisc","experiments":{"2740270688":true,"2710390164":true,"2680490166":true},"selector":"#RelatedForumDiscussion > div > ul > li > ul.forum-replies > li > div.forum-user-name > a"},{"event_name":"socdisc_editclk","experiments":{"2731980572":true},"selector":"header#WikiaPageHeader > nav.wikia-menu-button > a, header#WikiaPageHeader > ul.WikiaMenuElement > li > a"},{"event_name":"socdisc_talkcommclk","experiments":{"2731980572":true},"selector":"header#WikiaPageHeader > a.comments, header#WikiaPageHeader > a.talk"},{"event_name":"socdisc_lowerdisc","experiments":{"2731980572":true},"selector":"#RelatedForumDiscussion > h2 > a.forum-new-post"},{"event_name":"socdisc_topdisc","experiments":{"2731980572":true},"selector":"a.soctest"},{"event_name":"sbt_contributemenuclk","experiments":{"2878320076":true},"selector":"nav.contribute > ul > li > a, nav.contribute"},{"event_name":"sbt_sharebuttonclk","experiments":{"2878320076":true},"selector":"ul#PageShareToolbar > li > a"},{"event_name":"sbt_commtalkclk","experiments":{"2878320076":true},"selector":"a.comments"},{"event_name":"sbt_editclk","experiments":{"2878320076":true},"selector":"nav.wikia-menu-button > a"},{"event_name":"sbt_editdropclk","experiments":{"2878320076":true},"selector":"#WikiaPageHeader > nav.wikia-menu-button > ul > li > a"},{"event_name":"portable_infobox_cliks","experiments":{"3128970206":true},"selector":".portable-infobox"},{"event_name":"article_clicks","experiments":{"3128970206":true},"selector":"#WikiaArticle"},{"event_name":"Navbox","experiments":{"3147530403":true},"selector":"'.navbox'"},{"event_name":"old_infobox_clicks","experiments":{"3147530403":true},"selector":".infobox"},{"event_name":"socregwithemailjoin","experiments":{"3203500604":true},"selector":"div.auth-options > ul.signup-providers > li > a.signup-provider-email"},{"event_name":"socregsub_clk","experiments":{"3203500604":true},"selector":"form#signupForm > button#signupSubmit"},{"event_name":"socjoinsignin","experiments":{"3203500604":true},"selector":"div.auth-options > p.sign-in-message > a.sign-in"},{"event_name":"entry_to_ve_via_existing_button","experiments":{"3388201047":true,"3742355839":true,"3248310116":true,"3354260423":true},"selector":"#ca-ve-edit"},{"event_name":"ve_-_save_page","experiments":{"3398772986":true},"selector":".oo-ui-widget-disabled > .oo-ui-buttonElement-button"},{"event_name":"swarticledislink_clk","experiments":{"4231867524":true},"selector":"a.articledislink > img"},{"event_name":"swhomedislink_clk","experiments":{"4231867524":true},"selector":"a.homedislink > img"},{"event_name":"clk_disthreadmore","experiments":{"5062181966":true},"selector":"a.disthreadmore"},{"event_name":"clk_disthreadsoc","experiments":{"5062181966":true},"selector":"a.disthreadsoc"},{"event_name":"bfdiscta_clk","experiments":{"5264040649":true,"5103271475":true},"selector":"a.bfdiscta"},{"event_name":"bfdisicon_clk","experiments":{"5264040649":true,"5103271475":true},"selector":"a.bfdisicon > img"},{"event_name":"bfdissubtrending_clk","experiments":{"5264040649":true,"5317880153":true},"selector":"a.distrending"},{"event_name":"bflocalnavsubreg_clk","experiments":{"5264040649":true,"5317880153":true},"selector":"li.nav-item > ul.subnav-2 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > ul.subnav-4 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > ul.subnav-4 > li > ul.subnav-5 > li > a"},{"event_name":"bftopnavreg_clk","experiments":{"5264040649":true,"5317880153":true},"selector":"li.nav-item > a"},{"event_name":"bfdissubnavlatest_clk","experiments":{"5264040649":true,"5317880153":true},"selector":"a.dislatest"},{"event_name":"bfdistopnav_clk","experiments":{"5264040649":true,"5317880153":true},"selector":"a.distopnav"},{"event_name":"fdissubtrending_clk","experiments":{"5422520706":true},"selector":"a.distrending"},{"event_name":"mdissubtrending_clk","experiments":{"5411971294":true},"selector":"a.distrending"},{"event_name":"mtopnavreg_clk","experiments":{"5411971294":true},"selector":"li.nav-item > a"},{"event_name":"mdissubnavlatest_clk","experiments":{"5411971294":true},"selector":"a.dislatest"},{"event_name":"fdissubnavlatest_clk","experiments":{"5422520706":true},"selector":"a.dislatest"},{"event_name":"flocalnavsubreg_clk","experiments":{"5422520706":true},"selector":"li.nav-item > ul.subnav-2 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > ul.subnav-4 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > ul.subnav-4 > li > ul.subnav-5 > li > a"},{"event_name":"fdistopnav_clk","experiments":{"5422520706":true},"selector":"a.distopnav"},{"event_name":"ftopnavreg_clk","experiments":{"5422520706":true},"selector":"li.nav-item > a"},{"event_name":"mlocalnavsubreg_clk","experiments":{"5411971294":true},"selector":"li.nav-item > ul.subnav-2 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > ul.subnav-4 > li > a, li.nav-item > ul.subnav-2 > li > ul.subnav-3 > li > ul.subnav-4 > li > ul.subnav-5 > li > a"},{"event_name":"mdistopnav_clk","experiments":{"5411971294":true},"selector":"a.distopnav"},{"event_name":"clicks_on_button","experiments":{"6500070281":true,"6908690475":true,"6587430181":true,"6901311701":true},"selector":".community-page-entry-point-button"},{"event_name":"clicked_edit","experiments":{"6587430181":true},"selector":"#ca-ve-edit"},{"event_name":"button_clicks","experiments":{"6887980050":true},"selector":".community-page-entry-point-button"},{"event_name":"clk_linotif_wikiname","experiments":{"7845060866":true},"selector":"div#notifications > ul#GlobalNavigationWallNotifications > li#notificationsContainer > ul > li.notifications-for-wiki > header.notifications-wiki-header"},{"event_name":"clk_linotif_specnotiflink","experiments":{"7845060866":true},"selector":"div#notifications > ul#GlobalNavigationWallNotifications > li#notificationsContainer > ul > li.notifications-for-wiki > ul.notifications-for-wiki-list > li.notification > a"},{"event_name":"clk_linotif_notifbubble","experiments":{"7845060866":true},"selector":"div#notificationsEntryPoint"}]}; function h(a){throw a;}var i=void 0,j=!0,k=null,o=!1;function aa(){return function(a){return a}}function ba(a){var b=typeof a;return"object"==b&&a!=k||"function"==b}function ca(a,b,c){return a.call.apply(a.bind,arguments)}function da(a,b,c){a||h(Error());if(2<\/script>'),1!==$("#"+d).length&&h(Error("Document.write failed to append script")))}else h(Error("Not safe to attempt document.write"))}catch(e){try{var f= new XMLHttpRequest;f.open("GET",a,o);f.onload=function(){eval(f.responseText)};f.onerror=function(){h(Error())};f.send()}catch(g){x("Common","Failed to load %s synchronously",a),c()}}else c()}function x(a,b,c){var d=window.console;if(Pa&&d&&d.log){var e=Za(arguments,1);e[0]="Optimizely / "+a+" / "+b;Function.prototype.apply.call(d.log,d,e)}}function ja(a){try{return decodeURIComponent(a)}catch(b){return a}}function Za(a,b){return Array.prototype.slice.call(a,b||0,a.length)} function eb(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function fb(a){this.r=a;this.c={totalGets:0,totalGetLength:0,totalGetTime:0,totalSets:0,totalSetLength:0,totalSetTime:0,numKeys:0,totalSize:0}}fb.prototype.get=function(a){try{var b=+new Date,c=this.r.getItem([gb,a].join("$$")),d=ea(c);this.c.totalGetTime+=+new Date-b;this.c.totalGets++;this.c.totalGetLength+=(c||"").length;return d}catch(e){return k}}; fb.prototype.set=function(a,b){try{var c=+new Date,d=u(b);H(b)?this.r.setItem([gb,a].join("$$"),d):this.r.removeItem([gb,a].join("$$"));this.c.totalSetTime+=+new Date-c;this.c.totalSets++;this.c.totalSetLength+=d.length}catch(e){}};fb.prototype.va=function(){var a=0,b=0,c;for(c in this.r)if(0===c.indexOf(gb)){b++;var d=this.r.getItem(c),a=a+(c.length+(d?d.length:0))}this.c.numKeys=b;this.c.totalSize=a;return this.c}; var hb={get:function(){},set:function(){},va:function(){return{}}},gb="optimizely_data",N=hb,ib=hb; try{var N=new fb(window.localStorage),ib=new fb(window.sessionStorage),jb=N,kb=jb.r.getItem(gb),lb={};try{lb=ea(kb)||{}}catch(mb){}if(0!==L(lb).length){var nb=Wa()||v("optimizelyEndUserId"),ob=lb[nb]||{},pb;for(pb in ob)if(ob.hasOwnProperty(pb)){var qb=[nb,pb].join("$$");jb.get(qb)===k&&jb.set(qb,ob[pb])}delete lb[nb];for(pb in lb)lb.hasOwnProperty(pb)&&(jb.get(pb)===k&&jb.set(pb,lb[pb]),delete lb[pb]);try{kb=u(lb)}catch(rb){kb={}}jb.r.setItem(gb,kb)}}catch(sb){};function tb(){return z("admin_account_id")}function ub(a){return z("audiences",a)}function vb(a){a=z("audiences",a,"segment_id");return!a?k:a} function wb(){if(!xb){var a=z("click_goals")||[];xb=[];for(var b=0,c=a.length;b>>17,g=c(g,461845907),e^=g,e=(e&524287)<<13|e>>>19,e=5*e+3864292196|0;g=0;switch(d%4){case 3:g=(a.charCodeAt(f+2)&255)<<16;case 2:g|=(a.charCodeAt(f+1)&255)<<8;case 1:g|=a.charCodeAt(f)&255,g=c(g,3432918353),e^=c((g&131071)<<15|g>>>17,461845907)}e^= d;e=c(e^e>>>16,2246822507);e=c(e^e>>>13,3266489909);return e^e>>>16};var fc=Math.pow(2,32);function gc(a,b){var c=ec(a,b);return(c>>>16).toString(16)+(c&65535).toString(16)};function hc(){return ic=ic||jc()}function kc(){return hc().ba}function lc(){return hc().ca}function mc(){return hc().F}function nc(a){if(!a)return"";try{return a.match(/:\/\/(?:www[0-9]?\.)?(.[^/:]+)/)[1]}catch(b){return""}}function oc(){return hc().platform}function pc(a){return N.get([Wa()||Va(),a].join("$$"))}function qc(a){N.set([Wa()||Va(),"asyncInfo"].join("$$"),a)} function rc(){var a="android;blackberry;ipad;iphone;ipod;windows phone".split(";");return E(a,mc().id)?mc().id:E(a,oc().id)?oc().id:sc()?"mobile":"unknown"}function sc(){return mc().w}function tc(){return uc?"returning":"new"}oc=function(){return hc().platform};function vc(a){x("User","Setting current URL to %s",a);wc=a}var wc=i,ic=i,uc=i;function M(a,b,c){xc.push({Ea:new Date,Ca:a,message:b,ta:c||o});yc&&zc()}function Ac(){Pa=j}function Bc(){Qa=Pa=j}function zc(){Pa&&(w(xc,function(a){if(!a.bb&&(!a.ta||a.ta===Qa)){var b=+a.Ea;x(a.Ca,a.message+(" [time "+(Cc?b-Cc:0)+" +"+(Dc?b-Dc:0)+"]"));Dc=b;Cc||(Cc=b);a.bb=j}}),yc=j)}var Dc=k,Cc=k,xc=[],yc=o;var Q={};function Fc(a,b){Q[a]=b}function Gc(a,b){var c=pc("asyncInfo")||{};c[a]=b;qc(c)}function Hc(){var a=(Q.odds||k)&&(Q.odds||k).ip||(Q.cdn3||k)&&(Q.cdn3||k).ip;return a?Ic(a):k}function Jc(){return!Q.odds?k:(Q.odds||k).lists||{}} function Kc(a){if(!Jc())return M("Async Info","Invalid response from ODDS"),{value:i,M:o};if(!Jc().hasOwnProperty(a))return M("Async Info","Deduced cachetime value that was checked for presence in list: "+a),{value:i,M:j};var b=!Q.odds?k:(Q.odds||k).lists_metadata||{};if(!b||!b[a]||!b[a][0])return M("Async Info","Can't find cachetime value that was checked for presence in list: "+a),{value:i,M:o};M("Async Info","Found cachetime value that was checked for presence in list: "+a);return{value:b[a][0].value, M:j}}function Lc(a){var b=Qb()[a],c=H(b)&&Mc(b);if(c){var d=Nc(b);if(d===k)return M("Async Info","Deduced membership status (false) for list: "+a),o;M("Async Info","Found current value to check for presence in list: "+a)}b=Jc();if(!b)return M("Async Info","No list membership info."),k;if(c&&(c=Kc(a),c.M&&c.value!==d))return M("Async Info","Ignoring out-of-date membership status for list: "+a),k;d=!!b[a];M("Async Info","Found membership status ("+d+") for list: "+a);return d} function Oc(){if(!Q.cdn3)return k;var a=(Q.cdn3||k).location||{};return{continent:Ic(a.continent),country:Ic(a.country),region:Ic(a.region),city:Ic(a.city)}}var Pc={get:function(){return Q.dcps||k},set:function(a){Gc("dcps",a);Q.dcps=a}};function Qc(){var a=Pc.get();return!a||a.rulesResults===k?k:a.rulesResults||{}}function Ic(a){return"string"!==typeof a||"N/A"===a.toUpperCase()?k:a.toUpperCase()};function Rc(a){a=a||{};if(qa){a&&a.sVariable&&(Sc=a.sVariable);var b=Sc||("undefined"!==typeof window.s?window.s:k);if(b)if(Tc){a=Uc;if(a!==k&&b)try{x("Integrator","Fixing SiteCatalyst referrer to %s",a),b.referrer=String(a)}catch(c){x("Integrator","Error setting SiteCatalyst referrer: %s",c)}x("Integrator","Tracking with SiteCatalyst");w(Vc(),function(a){var c=P(a),a=R(c,a,100,100,25,j),f=a.key+": "+a.value,a=[],g=O(c,"site_catalyst_evar")||k,c=O(c,"site_catalyst_prop")||k;g!==k&&a.push("eVar"+g); c!==k&&a.push("prop"+c);w(a,function(a){x("Integrator","Setting SiteCatalyst %s='%s'",a,f);b[a]=f})})}else Wc=j;else M("Integrator","Error with SiteCatalyst integration: 's' variable not defined")}}function Xc(a){a=bb(a)?Number(a):-1;if(-1!==[1,2,3].indexOf(a))Yc=a;else return Yc} function Zc(){if(qa){var a=Uc;if(a!==k)try{x("Integrator","Fixing _gaq._setReferrerOverride with %s",a),_gaq.push(["_setReferrerOverride",a])}catch(b){x("Integrator","Error setting Google Analytics referrer: %s",b)}var c=[];w(Vc(),function(a){var b=P(a);if(O(b,"chartbeat")){var d=$c;$c="";var e=R(b,a,10,10,5,o);$c=d;d=Wb(a);ad=e.key+": "+String(d);try{x("Integrator","Calling _cbq.push"),_cbq.push(["_optlyx",ad])}catch(n){M("Integrator","Error sending Chartbeat data for "+Nb(b))}}if($b(b)){var e=$b(b), d=R(b,a,100,100,25,j),r=e+(-1!==e.indexOf("?")?"&":"?")+"optimizely_experiment_id="+b+"&optimizely_experiment_name="+encodeURIComponent(d.key)+"&optimizely_variation_id="+a+"&optimizely_variation_name="+encodeURIComponent(d.value)+"&ns_m_exp=("+b+") "+encodeURIComponent(d.key)+"&ns_m_chs=("+a+") "+encodeURIComponent(d.value)+"&type=hidden";try{$(window).load(function(){M("Integrator","Sending comScore log call");bd(r,k)})}catch(q){M("Integrator","Error sending comScore data for "+Nb(b))}}if(O(b,"crazyegg")){e= R(b,a,100,100,15,o);try{x("Integrator","Defining CE_SNAPSHOT_NAME"),window.CE_SNAPSHOT_NAME=e.key+": "+e.value}catch(G){M("Integrator","Error sending CrazyEgg data for "+Nb(b))}}if(ac(b)){e=ac(b);d=0;H(e)&&(d=e.slot||d);var e=d,d=ac(b),A="";H(d)&&(A=d.tracker||A);d=A;A=R(b,a,28,24,5,j);try{var C="";""!==d&&(C=d+".");x("Integrator","Calling _gaq._setCustomVar for slot %d and scope %d",e,Yc);_gaq.push([C+"_setCustomVar",e,A.key,A.value,Yc])}catch(pa){M("Integrator","Error sending Google Analytics data for "+ Nb(b))}}if(O(b,"inspectlet")){e=$c;$c="";d=R(b,a,100,100,25,o);$c=e;try{M("Integrator","Calling __insp.push for sending data to Inspectlet"),window.__insp=window.__insp||[],window.__insp.push(["tagSession",{"Optimizely Experiment Name":d.key,"Optimizely Variation Name":d.value,"Optimizely Experiment ID":b,"Optimizely Variation ID":a}])}catch(Ta){M("Integrator","Error sending Inspectlet data for "+Nb(b))}}if(z("kissmetrics")){e=R(b,a,100,100,15,j);d={};d[e.key]=e.value;try{x("Integrator","Calling _kmq.set"), _kmq.push(["set",d])}catch(ze){M("Integrator","Error sending KISSmetrics data for "+Nb(b))}}if(O(b,"mixpanel")){e=R(b,a,100,100,15,o);d={};d[e.key]=e.value;try{x("Integrator","Calling mixpanel.push"),mixpanel.push(["register",d])}catch(Gh){M("Integrator","Error sending Mixpanel data for "+Nb(b))}}if(O(b,"moat")){e=R(b,a,100,100,15,o);e=e.key+": "+e.value;try{x("Integrator","Calling optimizelyMoat.push"),optimizelyMoat.push(e)}catch(Hh){M("Integrator","Error sending Moat data for "+Nb(b))}}O(b,"sessioncam")&& (c=c.concat(cd(b,a)));O(b,"at_internet")&&(e=R(b,a,28,24,5,j),a=b+"["+encodeURIComponent(e.key)+"]-0-"+a+"["+encodeURIComponent(e.value)+"]",a in dd||(x("Integrator","Queueing AT Internet log call: %s",a),dd[a]=o))});if(0 Dual licensed under GPLv2 & MIT */ function Nd(){}var Rd={extend:function(a,b){for(var c in b)-1!=="browser cpu device engine os".indexOf(c)&&0===b[c].length%2&&(a[c]=b[c].concat(a[c]));return a},has:function(a,b){return"string"===typeof a?-1!==b.toLowerCase().indexOf(a.toLowerCase()):o},N:function(a){return a.toLowerCase()},ua:function(a){return"string"===typeof a?a.split(".")[0]:i}}; function Sd(){for(var a,b=0,c,d,e,f,g,l,m=arguments;b=Number(a)?d.push(Tb(f[b])[a]):d.push(a)}),d=d.join("_");else if(!b&&1==e.length&&256>=Number(e[0])){var c=String,e=e[0],g=Pb(a),l=k;try{l=g[e]}catch(m){}d=c(l)}else 1==e.length? d=e[0]:M("API","Error: could not bucket user. Unknown arguments.");d&&(b&&Sb(a,d)?(b=d,c=Sb(a,b),se[a]=se[a]||{},se[a][c]=b,M("Distributor","Preferring variation partial "+b+" of section "+c+" of experiment "+a),a=te(a),1===a.length&&ue(a[0],"api.bucketUser",j)):ue(d,"api.bucketUser",j));Id()}function ie(a){a&&"tracking"===a||(M("API","Optimizely disabled"),Ha=B=o);qa=o}function ve(){M("API","Finalizing API.");Bd();fe=j} function we(){if(z("slave"))return SLAVE_CLIENT.optimizely.get.apply(k,Array.prototype.slice.call(arguments))}var xe=[];function ye(a){xe.push(a);Bd()}function le(a,b,c){var d=[],e=b,c=H(c)?c:o,f=0;F(b)?(e=b[0],d=Za(b,1)):ab(b)&&(f=H(b.version)?b.version:1,e=b.type,d=[b]);var a=a[f],g;a&&(g=a[e]);g?(M("API",'Called function "'+e+'"'),g.apply(k,d),Ae.S[0===f?e:"v"+f+"."+e]=j):c||M("API",'Error for unknown function "'+e+'"');z("slave")&&SLAVE_CLIENT.optimizely.push(b);zc()} function Be(a,b){fe?M("API","Error: can't add custom tags after Optimizely loads"):(ge=ge||{},2==arguments.length?ge[a]=b:1==arguments.length&&$.extend(j,ge,a))}function Ce(a,b){var c=Hb(a)||a,b=H(b)?b:j,d=Ib()[c];d?d.audience_id?U.aa(d.audience_id):d.dimension_id?U.B(d.dimension_id,k):De(c,b):M("API","Unable find segment for: "+c)}function Ee(){var a=L(Ib());w(a,function(a){Ce(a,o)});Fe()} function Bd(){Ge={};He={};Ie={};w(od(),function(a){var b=P(a);Ge[b]=a.split("_");He[b]=Wb(a);Ie[b]=Xb(a)});W={};var a=z("audiences");X(W,"audiences",a||i,"data.audiences");X(W,"customTags",ge,"data.customTags");X(W,"thirdParty",N.get(sd)||{},"data.thirdParty");for(var b={},c=Eb(),a=0;aa&&(b="less then minimum.",a=7776E3);M("API",(b&&"Days argument "+b)+" Cookie expiration set to "+a+" seconds.");Ua=a}function Ne(){Sa=j}function Oe(){v("optimizelyReportableFix")?M("API","skipping because cookie is set"):(w(z("audiences"),function(a){vb(a)&&(M("API","Removing from reportable audience: "+a),U.aa(a))}),y("optimizelyReportableFix","1",7776E3))} function Pe(a){var b=Wa();!a&&0!==a?(M("API","Clearing PPID"),ya("optimizelyPPID",za())):"string"===typeof a||"number"===typeof a?(M("API","Setting PPID to "+a),a=String(a),y("optimizelyPPID",a,Ua)):M("API","Ignoring non-string, non-number PPID: "+a);Wa()!==b&&(M("API","Clearing plan because of PPID change"),M("Plan","Resetting visitor buckets"),Qe={},pe={},qe={},V=[],Id())} var Se={event:function(a){Re(a.eventName,a.tags)},user:function(a){a.userId&&Pe(a.userId);a.attributes&&w(a.attributes,function(a,c){U.B(a,c)})},integration:function(a){a.OAuthClientId&&ye(a.OAuthClientId)}},W={},Te={},Ge={},He={},Ie={},U=k;function Re(a,b){var c;a:{c={};var d,e=z("custom_revenue_goals");e&&(a in e&&bb(e[a]))&&(d=Number(e[a]));if(b)if(bb(b))d=Number(b);else if("object"===typeof b){if(c=J({},b),"revenue"in c)if(bb(c.revenue))d=Number(c.revenue),delete c.revenue;else{x("tracker","Revenue field %s not a number.",c.revenue);c=k;break a}}else{x("tracker","Revenue argument %s not a number.",b);c=k;break a}H(d)&&(c.Q=d)}if(c===k)x("tracker","Bad options. Will not track this event.");else{d=Cb();var f={};w(d,function(a){f[a]= j});$.extend(c,{T:f});Jd(a,"custom",c)}}function Jd(a,b,c){c=c||{};qa&&(Ue.push({name:a,type:b,ea:+new Date/1E3,options:c}),Ve?(We(),M("Tracker","Tracking event '"+a+"'")):M("Tracker","Queued tracking event '"+a+"'"))}function Xe(){Ye();$("html").bind("mousedown",Ze);$("html").bind("touchstart",$e)}function Ye(){$("html").unbind("touchstart",$e);$("html").unbind("mousedown touchend",Ze);$("html").unbind("touchmove",Xe)}function $e(){$("html").bind("touchend",Ze);$("html").bind("touchmove",Xe)} function af(){var a=document.location.href,b=z("pageview_revenue_goals");b&&0>>8&255)+b);65535>>16)+b);return b});return this.v=gc(a,2716770798)}; function mf(a,b){if(a.hash()!==b.hash()||a[Y.e]!==b[Y.e]||a[Y.g]!==b[Y.g]||a[Y.l]!==b[Y.l]||a[Y.m]!==b[Y.m])return o;if(!a[Y.f]&&!b[Y.f])return j;var c=a[Y.f]||{},d=b[Y.f]||{},e=K(L(c),function(a){return c.hasOwnProperty(a)}),f=K(L(d),function(a){return d.hasOwnProperty(a)});if(e.length!==f.length)return o;for(f=0;fMath.abs(r.k([Y.b],0)-q.k([Y.b],0))?r.k([Y.o]):q.k([Y.b]))}}}a=pf.slice(-1E3)}else a=[];return a}catch(G){x("Behavior","Error "+G.toString()+" getting events")}return[]};function uf(){return(new Date).getTime()-(vf||0)}var vf=uf();function wf(a,b,c){for(var a=a.slice(),d=a.length-1;0c;)a.pop(),d=a.join(b);return d}function T(a){var b=Ae;b.n[a]||(b.n[a]=uf())}var xf;try{xf=!document.getElementsByTagName("body")[0]}catch(yf){xf=k}var zf=k;try{window.requestAnimationFrame(function(){zf=uf()})}catch(Af){} var Bf=/\/\/[^.]+\.optimizely\.(com|test)\/(js|api\/client)\/[\d]+\.js/gi,Ae=new function(){this.n={};this.S={};this.Za=Math.random()Math.floor(1E4*((ec(f+a,0)>>>0)/fc)))return M("Distributor", "Permanently ignoring experiment "+a+"("+e/100+"% likelihood)"),Cf(a),o;e=c;se[a]!==i&&(M("Distributor","Taking into account bucketUser variations for experiment "+a),e=te(a));var f=e,g=[],l=O(a,"variation_weights")||{};w(f,function(a){g.push(l[a])});f=Ef(a,g);e=e[f];M("Distributor","Picked variation "+e+" [index "+f+" of "+c.length+"]");ue(e,"distributor");return j} function Ff(a,b){b=b||{};M("Distributor","Configuring conditionally-activated experiment: "+a);Te[a]?M("Distributor","Not configuring conditionally-activated experiment (already done): "+a):!Fb(a)&&b.force!==j?M("Distributor","Not configuring conditionally-activated experiment (not enabled): "+a):(Gf(a,b),fe&&Bd())} function Gf(a,b){function c(){td(U,a,b);m.isActive=E(nd.concat(S),a);M("Distributor","Activating conditionally activated experiment "+a)}var d=O(a,"conditional_code"),e=j,f,g;if("function"===typeof d)e=o,f=d;else try{g=eval("(function() {return "+("("+d+")")+";})()"),"function"===typeof g&&(e=o,f=g)}catch(l){}var m={isActive:o,experimentId:a};if(e){if(e={objectType:"experiment",enabledStatus:b.enabledStatus},b.force||!Cd(a)||Dd(a,e)){var n=function(){Cd(a)&&(Hf(0,{value:d})||g)?c():setTimeout(n,50)}; n();M("Distributor","Set up conditional polling for "+a);Te[a]=j}}else try{f(c,m),M("Distributor","Set up conditional callback for "+a),Te[a]=j}catch(r){M("Distributor","Error running conditional callback function for "+a)}}function Df(){return Wa()||Va()}function Ef(a,b){var c=b.length;if(0===c)return k;if(1===c)return 0;for(var d=0,e=0;e>>0)/fc;for(e=0;e>>0)/fc*c)} function te(a){var b=[];w(O(a,"enabled_variation_ids")||[],function(c){var d=j,e;for(e in se[a])-1===c.indexOf(se[a][e])&&(d=o);d&&b.push(c)});return b}var se={};function If(){for(var a=z("dcp_keyfield_locators")||[],b=k,c=[],d=0;d'+a+"";$("#optimizely-loading").remove();$("body").append(b)}}var Rf=z("preview_host");function Ke(){var a=window.location.search||"";0===a.indexOf("?")&&(a=a.substring(1));for(var a=a.split("&"),b=[],c=0;ca[1]},lt:function(a){return a[0]=a[1]},lte:function(a){return a[0]<=a[1]},"in":function(a){var b=I(a[1]||[],hg);return E(b,hg(a[0]))},between:function(a){return a[1]<=a[0]&&a[0]<=a[2]},contains:function(a){a=I(a,function(a){return"string"===typeof a?a.toLowerCase():a});return-1!==(a[0]||"").indexOf(a[1])},regex:function(a){try{var b,c;"string"=== typeof a[1]?(b=a[1],c="i"):(b=a[1][0]||"",c=a[1][1]||"");return RegExp(b,c).test(a[0])}catch(d){return x("Rules",'In operator "regex", error: '+(d.message||"invalid RegExp /"+[b,c].join("/"))),o}},exists:function(a){return"undefined"!==typeof a[0]},and:function(a){return Xa(a,aa())},or:function(a){return D(a,aa())},not:function(a){return!a[0]}},lg={"+":function(a){return(a[0]||0)+(a[1]||0)},"-":function(a){return(a[0]||0)-(a[1]||0)},"/":function(a){return(a[0]||0)/(a[1]||1)},"%":function(a){return(a[0]|| 0)%(a[1]||1)}},mg={sum:function(a,b){for(var c=a[0]||ig,d=0,e=0;e=Number(d)||Number(d)!=Math.floor(Number(d)))&&c.push("LIMIT must be a positive integer"));0f)return e}return 0}):x("Rules","groupBy rule must be an array")}a.hasOwnProperty("limit")&&(c=c.slice(0,Number(a.limit)));if(a.hasOwnProperty("select"))var Ta=a.select,c=I(c,function(a){return I(Ta,function(b){return og(a,b)})});return c} function sg(a,b){try{var c;c=pg(a);var d=qg(c);0":"gt",">=":"gte","=":"eq","==":"eq"};function Ag(a){a=eb((a||"").toString());return zg[a]||a}function Bg(a,b,c){cb(b)&&(b=[b]);return{op:Ag(a),args:[{field:b},{value:c}]}}function Cg(a){for(var b=[],c=0;cNumber(c[e]))return 1}else return-1;return 0} function Lg(a,b){var c=b.value,d=a.id,e=a.version,f=a.mobileId;return f&&"unknown"!==f?(M("Condition",f,j),"mobile"===c||c===f):0===c.indexOf(d)?0===Kg(e,c.substr(d.length)):o}function Hf(a,b){var c=b.value;if(c===i)return j;try{return Boolean(Mg(c))}catch(d){return o}}function Ng(a,b){return Og(b.value,b.match,a)}function Pg(a,b){return Og(b.value,b.match,a)} function Qg(a,b){if(a===k)return o;var c=b.value;switch(b.match){case "exact":if(a==c&&""!=a)return j;break;case "prefix":if(0==a.indexOf(c))return j;break;case "regex":try{var d=RegExp(c)}catch(e){break}if(d.test(a))return j;break;case "cidr":try{var f;a:{var g=new Rg(c),l=Sg(a);l===k&&h(Error("Invalid ip: "+a));for(c=0;4>c;c++)if((l[c]&g.Y[c])!==g.Z[c]){f=o;break a}f=j}return f}catch(m){}}return o}function Tg(a,b){var c=b.value;return"any"===c||0===a.indexOf(c)} function Ug(a,b){if(a===k)return o;var c=b.value.split("|"),d=$.trim(c[0]),e=$.trim(c[1]),f=$.trim(c[2]),g=$.trim(c[3]);switch(c.length){case 1:if(a.country===d)return j;break;case 2:if(a.region===e&&a.country===d)return j;break;case 3:if(a.city===f&&(a.region===e||""===e)&&a.country===d)return j;break;case 4:if(a.continent===g)return j}return o}function Vg(a,b){return Og(b.value,b.match,a)} function Wg(a,b){var c=b.value,d=b.match;M("Condition","Testing referrer "+a+" against "+c+" ("+d+")",j);return Xg(a,c,d)}function Yg(a){return!!a}function Zg(a){var b=Z.J();return D(a.values,t(Jg,b))}function Jg(a,b){var c=b.value,d=b.match;M("Condition","Testing URL "+a+" against "+c+" ("+d+")",j);return Xg(a,c,d)}function $g(a,b){switch(b.value){case "new":if("returning"===a)return o;break;case "returning":return"returning"===a}return j} function ug(a,b){var c={and:function(b){return Xa(b,t(ug,a))},or:function(b){return D(b,t(ug,a))},not:function(b){1!==b.length&&h(Error('"not" argument too long: '+u(b)));return!ug(a,b[0])}};if(F(b)){if(b[0]in c)return c[b[0]](b.slice(1));h(Error("Not an operator"))}var c=b.dimension_id,d=zb(c),e=b.value;d||h(Error("No dimension type for dimension: "+c));var f=ah[d];f||h(Error("Unknown dimension type: "+d));d=i;if(a.t.hasOwnProperty(c))d=a.t[c];else try{var g=zb(c)||"",l,m;z("dimensions",c)||h(Error("Unable to find dimension for id: "+ c));"custom_dimension"===g&&h(Error("calculateDimensionValue called on custom dimension "+c));(l={browser:p(Z.u,Z),browser_version:p(Z.u,Z),behavior:p(Z.Ia,Z),campaign:t(dg,"campaign"),cookies:p(Z.I,Z),custom_tag:p(Z.ja,Z),default_behavior:p(Z.Na,Z),device:p(Z.K,Z),event:p(Z.Aa,Z),first_session:p(Z.Qa,Z),has_ppid:p(Z.Xa,Z),ip:p(Z.W,Z),language:p(Z.V,Z),list:p(Z.ma,Z),location:p(Z.L,Z),query:p(Z.j,Z),platform:p(Z.pa,Z),referrer:p(Z.X,Z),segment:p(Z.Ya,Z),source_type:t(dg,"source_type"),third_party_dimension:p(Z.Va, Z),time_and_day:p(Z.getDate,Z),url:p(Z.J,Z),visitor:p(Z.na,Z),dynamic_customer_profile:p(Z.ka,Z)}[g])&&(m=l(Ab(c)));M("Visitor","Got dimension ("+g+") value "+c+": "+u(m));d=m}catch(n){M("Visitor","Error: "+n.message)}return f(d,{value:e,match:b.match||"exact"})} function Cd(a){var b=j;!O(a,"conditions")&&!cc(a,"add_condition")?(b=[cc(a,"audience_id")],b[0]||(b=O(a,"audiences")||[]),b=Xa(b,function(a){a=ub(a);return!a.conditions?j:bh(a.conditions)})):(O(a,"uses_geotargeting")||cc(a,"uses_geotargeting"))&&(b=ch.ip(k)||ch.location(k));b||M("Condition","Not ready to test (geotargeting): "+a);return b}function bh(a){if(F(a))return Xa(a.slice(1),bh);var b=zb(a.dimension_id)||"";return(b=ch[b])?b(a):j} var Ig={browser:function(a){var b=Z.u();return D(a.values,function(a){return Lg(b,{value:a})})},code:function(a){return Hf(0,a)},cookies:function(a){for(var b=a.names||[],a=a.values||[],c,d=0;d=Kg(a.version,c[1]):0===Kg(a.version,c[0]):o},referrer:Wg,segment:Yg,source_type:function(a,b){return b.value===a},time_and_day:function(a,b){var c,d,e;c=b.value;e=c.split("_");3!==e.length&&h(Error("Invalid time and day string "+c));c=e[0];d=e[1];e=e[2].split(",");c=Gg(c);d=Gg(d);var f=60*a.getHours()+ a.getMinutes(),g="sunday monday tuesday wednesday thursday friday saturday".split(" ")[a.getDay()];return f>=c&&f<=d&&-1!==$.inArray(g,e)},third_party_dimension:function(a,b){return F(a)?D(a,t(Og,b.value,b.match)):Og(b.value,b.match,a)},url:Jg,visitor:$g,dynamic_customer_profile:function(a,b){return a===k?o:!!a[b.value]},has_ppid:aa()},ch={ip:function(){T("checkGeo");return Z.W()!==k},location:function(){T("checkGeo");return Z.L()!==k},list:function(a){return Z.ma(Ab(a.dimension_id)||"")!==k},dynamic_customer_profile:function(a){var b= Z.ka();return ab(b)&&a.value in b}};function Og(a,b,c){var d=H(c)&&c!==k,e=H(a)&&a!==k;switch(b||(e?"exact":"exists")){case "exists":return d;case "exact":return d&&String(c)===a;case "substring":return d&&-1!==String(c).indexOf(a);case "regex":try{return e&&d?Boolean(String(c).match(RegExp(a))):o}catch(f){return o}case "range":return a=a.split(":"),b=parseFloat(a[1]),c=parseFloat(c),c>=parseFloat(a[0])&&c<=b;default:return o}};var dh=[function(){var a=jc();if("ie"===a.ba){try{var b=Number(a.ca)}catch(c){return}7>b&&h(Error("IE is only supported on version 8+ (detected "+b+")"));8>b&&("windows"===a.platform.id&&a.platform.version&&E(["xp","vista"],a.platform.version.toLowerCase()))&&h(Error("IE7 is not supported"))}},function(){return ea(u({a:123}))}];function ue(a,b,c){var d;d=o===j;var c=c===j,e=o,f=P(a);if(f&&(c||!Hg(f))){e=j;if(c&&Hg(f))for(c=0;c"+ n+"")},selector:"body",type:"global css (experiment "+a+")",waitUntilSelectorReady:j});if(c=O(a,"steps")){w(c.forced,function(a){f.push(a)});w(c.safe,function(a){l.push(a)})}else(c=O(a,"code")||"")&&fh(c,f,l)});w(d,function(a){var b=z("variations",a,"pages");if(b)w(b,function(a){if(a.steps&&(!a.includes||Zg({values:a.includes}))&&(!a.excludes||!Zg({values:a.excludes}))){f.push.apply(f,a.steps.forced);l.push.apply(l,a.steps.safe)}});else{for(var b=Ub(a),b=b.split("\n"),c=[],d=j,e=0,g=b.length;e< g;e++){var m=$.trim(b[e]);if(m==="/* _optimizely_variation_url_end */")d=j;else if(m!==""){var n=Ea.exec(m);if(n&&n.length===13){var q=n[2]?n[2].split(" "):[],m=n[4]?n[4].split(" "):[],r=n[6]?n[6]:"substring",gf=n[8]?n[8].split(" "):[],n=n[10]?n[10].split(" "):[];if(q.length>0){d=jh(q,gf,r);d=Zg(d)}if(d&&m.length>0){d=jh(m,n,r);d=!Zg(d)}}else d&&c.push(m)}}b=c.join("\n");fh(b,f,l,a)}});c=[];c.push.apply(c,f);c.push.apply(c,g);c.push.apply(c,l);c.push.apply(c,e);oh.push.apply(oh,c);qh()}} function qh(){var a=o;rh=k;for(M("Evaluator",sh+" times waited");!a&&0body{display:none;visibility:hidden;}");M("Evaluator", "Hiding body before redirect");var f=de.test(d)||ce.test(d)||ee.test(d),g=/_keep_body_hidden=(\S+)/.test(d);f||g?M("Evaluator","Standard redirect detected - Will not unhide body."):setTimeout(function(){if(document.body){document.body.style.visibility="visible";document.body.style.display="block";M("Evaluator","Unhiding body -- did not redirect");T("bodyUnhidden")}},1700)}Mg(a)}catch(l){c=Pa,Pa=j,M("Evaluator","Error: "+l.message),M("Evaluator","Code: "+d),Pa=c,M("Evaluator","Failed to run code: "+ l.message)}}} function nh(a,b,c){c=c||{};if(!vh[a]||!vh[a][b]){var d=function(){Jd(b,"custom",c)},e=$(a);if(0b||32b||32d;d++)c[d]=0;for(var e=Math.floor(b/8),d=0;de&&(c[e]=zh[b%8]);b=c}for(c=0;4>c;c++)a[c]&=b[c];return{Z:a,Y:b}} function Sg(a){a=a.split(".");if(4!=a.length)return k;for(var b=[],c=0;4>c;c++){var d;d=a[c];if(3e||255loading')}}else if(Oa&&!Ma)Qf("This preview link has expired. Please return to Optimizely and preview again to get a new link.");else{if(B||Ha)if(f= z("project_js"))M("Evaluator","Running project level javascript."),uh(f);he();if(B){f=v("optimizelyEndUserId");uc=f!==i&&f!==k;a:{f="googlebot;yahoo! slurp;bingbot;bingpreview;msnbot;keynote;ktxn;khte;gomezagent;alertsite;yottaamonitor;pingdom.com_bot;aihitbot;baiduspider;adsbot-google;mediapartners-google;applebot".split(";");g=navigator.userAgent;g=g.toLowerCase();for(n=0;n=200&&d.status<300){var a=Pc.get()||{},b=a.aliases||{},b=b||{}; w(c,function(a){b[a.datasourceId]=a.id});a.aliases=b;Pc.set(a)}else M("DCP","Alias POST failed with",d.statusText)};d.send(u({data:e}))}catch(f){M("DCP","Exception %s trying to POST alias request",f)}}else M("DCP","Duplicate alias request; skipping.");else M("DCP","Must specify Optimizely datasource in alias")}},0);if(q=v("optimizelyBuckets")){try{q=ea(q)}catch(G){q={}}var A={};w(q,function(a,b){var b=String(b),c=P(b);if(Ob(c).length>1&&b.indexOf("_")===-1){A[c]=A[c]||{};A[c][a]=b}else b!=="0"?ue(b, "cookie")||(Qe[a]=b):Cf(a)});w(A,function(a,b){var c;a:{c=[];for(var d=Ob(a),e=0;e0?ue(c,"cookie"):Cf(a)})}Vf();pd=(v("optimizelyRedirect")||"|").split("|")[0];q=v("optimizelyReferrer");q!==k&&(Uc=0==q.length?"":q,y("optimizelyReferrer",""));q=Wf;M("Visitor","Initializing");(f=v("optimizelyAudiences"))&&0