(function(){window.parent!=window&&(window.lightningjs||function(d,f){var e=d.lightningjs={modules:f.modules},r=f.modules;e.expensive=function(b){b._waitforload=!0;return b};void 0;e.require=f.require;e.provide=function(b,l){function m(){var a=d.console;if(a&&a.error)try{a.error.apply(a,arguments)}catch(c){}else if(d.opera)try{d.opera.postError.apply(d.opera,arguments)}catch(c){}}function f(a){var c=a[0],k=a[1],b=0x.call(f,b))return!1;var e=c[b]=c[b]||{};if(e.value)return setTimeout(function(){return"function"===typeof h?h(e.value):void 0},0),!0;if(e.tag)return h&&e.callbacks.push(h),!0;e.callbacks=[];h&&e.callbacks.push(h);var g=a.getElementsByTagName("script")[0];var k=e.tag=a.createElement(d);k.src="https://d6tizftlrpuof.cloudfront.net/live/scripts/campaign-include/a5f669c28be1979ab5e2785121a6e10b/"+b;k.async=!0;g.parentNode.insertBefore(k, g);return!0};return b.RegisterScript=function(a,b){var d;a=c[a]=c[a]||{};a.value=b;if(a.callbacks){var f=a.callbacks;var e=0;for(d=f.length;e=this.margin)return this.t=!0,this.callback(),this.destroy()};b.prototype.triggered=function(){return this.t};b.prototype.destroy=function(){return window.usabilla_live.stopEvent(k,"scroll",this.onScroll)};return b}();l.pages=function(){return function(b,a,d){this.callback=d;this.id=r++;d=b.op||"least";var c=(("function"===typeof a.pageVisitCount?a.pageVisitCount():void 0)||0)+1;a.pageVisitCount(c);this.triggered="least"===d&&c>= b.pages||"most"===d&&c<=b.pages?function(){return!0}:function(){return!1}}}();l.mouseout=function(){function b(a,b,c){var d=this;this.callback=c;this.mouseOut=E(this.mouseOut,this);this.id=r++;this.triggered=function(){return!1};b=1E4;"time"in a&&(b=a.time);var e=k;window.attachEvent&&(e=g);setTimeout(function(){return window.usabilla_live.onEvent(e,"mouseout",d.mouseOut)},b)}b.prototype.mouseOut=function(a){a=a||k.event;var b=a.relatedTarget||a.toElement;var c=a.clientY;var f=!0;-1c&&f)return this.triggered=function(){return!0},this.callback(),this.destroy()};b.prototype.destroy=function(){var a=k;window.attachEvent&&(a=g);return window.usabilla_live.stopEvent(a,"mouseout",this.mouseOut)};return b}();var p={};l.custom=function(){function b(a,b,c){this.callback=c;this.id=r++;this.name=a.name;this._triggered=!1;this.name in p||(p[this.name]={triggered:!1,list:[]});p[this.name].triggered&&(this._triggered= !0);p[this.name].list.push(this)}b.prototype.triggered=function(){return this._triggered};b.prototype.trigger=function(){this._triggered=!0;return this.callback()};return b}();l.device=function(){function b(a,b,c){this.callback=c;this.triggered=function(){return!1};var d=a.tests;b=0;for(c=d.length;bb},gte:function(a,b){return a>=b},lt:function(a, b){return a=b;f=1<=b?++a:--a)c.push([this.speed,this.offset+this.amplitude*(f%2?this.top:this.bottom)]);c.push([this.speed,this.offset]);this.delay&&c.push([this.delay,this.offset]);return c};b.prototype.frame=function(a){return{}};b.prototype.start=function(a){var b=this;null==a&&(a=null);setTimeout(function(){return"function"=== typeof a?a():void 0},0);if(!this.timer){var c=0;var f=this.frames();var e=function(){var a=f[c];return b.timer=setTimeout(function(){b.frame(a[1]);c=(c+1)%f.length;return e()},a[0])};e();if(0parseInt(b)||0a[6]&&(this._clicked=!1)))}b.prototype._clicked=null;b.prototype._version=null; b.prototype._chanceHit=null;b.prototype._adCampaign=null;b.prototype._pageVisitCount=null;b.prototype._resetInterval=null;b.prototype._expiration=null;b.prototype.save=function(){if(!this.testing){var a=[];a.push(H(this._clicked));a.push(this._version||"");a.push(H(this._chanceHit));a.push(H(this._adCampaign));null===this._pageVisitCount?a.push(""):a.push(parseInt(this._pageVisitCount).toString());a.push(parseInt(this.expire)||"");a.push(K(this._expiration,this.expire,parseInt(this._resetInterval|| 0)));return m.setItem(this.key,a.join("/"))}};b.prototype.clear=function(){this._clicked=!1;return this._expiration=this._pageVisitCount=this._adCampaign=this._chanceHit=this._version=null};b.prototype.clicked=function(a){null==a&&(a=null);null!=a&&(this._clicked=!0===a,this.save());return this._clicked};b.prototype.version=function(a){null==a&&(a=null);null!=a&&(this._version=a,this.save());return this._version};b.prototype.chanceHit=function(a){null==a&&(a=null);null!=a&&(this._chanceHit=!0===a, this.save());return this._chanceHit};b.prototype.adCampaign=function(a){null==a&&(a=null);null!=a&&(this._adCampaign=!0===a,this.save());return this._adCampaign};b.prototype.pageVisitCount=function(a){null==a&&(a=null);null!=a&&(this._pageVisitCount=a,this.save());return this._pageVisitCount};return b}();var U=function(){function b(a,b,c){this.campaign=c}b.prototype.getTags=function(){return[]};b.prototype.start=function(){};b.prototype.stop=function(){};return b}();z=function(){function b(a){this.iframe= a;this.triggerUpdate=E(this.triggerUpdate,this);this.effect=null;this.triggered=!1;this.effectData=null;this.stopped=!1;this.firstTime=!0;setTimeout(this.triggerUpdate,0)}b.prototype.isBoost=function(){return!1};b.prototype.isTriggered=function(){return!1};b.prototype.initializeEffect=function(a){var b,c,f,e=this;if(null!=(null!=(b=this.effectData)?b.effect:void 0)&&null!=u[this.effectData.effect])b=u[this.effectData.effect];else{if(ScriptExists(""+(null!=(c=this.effectData)?c.effect:void 0)+".coffee")){IncludeScript(""+ (null!=(f=this.effectData)?f.effect:void 0)+".coffee",function(b){e.effect=new b(e.effectData,e.iframe,e);return"function"===typeof a?a():void 0});return}b=U}this.effect=new b(this.effectData,this.iframe,this);return"function"===typeof a?a():void 0};b.prototype.getTags=function(){return null===this.effect?[]:this.effect.getTags()};b.prototype.stop=function(){this.stopped=!0;if(null!==this.effect)return this.effect.stop()};b.prototype.destroy=function(){this.stop();if(null!==this.effect)return this.effect.destroy(), this.effect=null};b.prototype.triggerUpdate=function(){var a=this;this.triggered=this.isTriggered();if(this.active&&!(this.stopped||null===this.effect&&!1===this.triggered||(new L(this.data.key))._clicked)&&this.shouldActivate())return this.initializeEffect(function(){if(!a.stopped&&T(a))if(a.triggered){if(a.effect.start(),a.firstTime)return a.firstTime=!1,a.activate()}else return a.effect.stop()})};b.prototype.shouldActivate=function(){return!0};b.prototype.activate=function(){};b.prototype.success= function(){};b.prototype.failure=function(){};b.prototype.feedbackClicked=function(){};b.prototype.firstFeedback=function(){};b.prototype.markAsClicked=function(){};b.prototype.pageSwitch=function(){};return b}();var V=function(b){function a(b,c){this.data=b;a.__super__.constructor.call(this,c);this.active=!0;this.effectData=this.data.e;this.trigger={triggered:function(){return!0}};l[this.data.t.type]&&(this.trigger=new l[this.data.t.type](this.data.t,{},this.triggerUpdate))}B(a,b);a.prototype.isTriggered= function(){return this.trigger.triggered()};a.prototype.destroy=function(){var b;a.__super__.destroy.call(this);return"function"===typeof(b=this.trigger).destroy?b.destroy():void 0};return a}(z);var W=function(b){function a(b,c,f,e){this.id=b;this.testing=null!=e?e:!1;a.__super__.constructor.call(this,f);this.version=parseInt(c.v);this.active=c.a;this.expire=parseFloat(c.r)||null;this.triggers=null;this.effectData=c.e;this.storage_name=""+D+".c."+this.id;this.data=new L(this.storage_name,this.testing, this.expire);this.boost=!1;this.data.clicked()&&(this.active=!1);this.active?(null!==this.data.version()&&this.data.version()!==this.version&&this.data.clear(),this.data.version(this.version),this.triggers=this.initializeTriggers(c.t)):this.stop()}B(a,b);a.prototype.isBoost=function(){return this.boost};a.prototype.initializeTriggers=function(a){var b;var d=[];var e=0;for(b=a.length;e=h;g=0<=h? ++e:--e)c(m.key(g))&&p.push(m.removeItem(m.key(g)));return p}}};var A=null;var N=!0;window.usabilla_live||(window.usabilla_live={});window.usabilla_live.campaignInit=M;window.usabilla_live.campaignReset=function(b){G=!1;return M(b)};window.usabilla_live.setCampaignPrefix=function(b){return D=b};window.usabilla_live.stopCampaignsForFeedback=function(){var b;if(null!==A)return A;A=[];var a=0;for(b=v.length;a\n','',"Usabilla Feedback Button",a?"\n",k,"\n"].join("\n"),m=["iframe.usabilla-live-button#",d,"{width:0px;height:0px;margin: 0;padding: 0;border: 0;overflow: hidden;z-index: 9998;position: absolute;left: 0;top: 0;box-shadow: 0 0 0;background-color: transparent;}"].join(""); 0