Hustle – Pop-Ups, Slide-ins and Email Opt-ins - Version 5.0.1.1

Version Description

  • Fix: Custom content slide-in not showing on frontend.
Download this release

Release Info

Developer diobethray
Plugin Icon 128x128 Hustle – Pop-Ups, Slide-ins and Email Opt-ins
Version 5.0.1.1
Comparing to
See all releases

Code changes from version 5.0.1 to 5.0.1.1

assets/js/front.min.js CHANGED
@@ -1,3 +1,3 @@
1
  !function(t){var e="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(i,n,s){e.Backbone=t(e,s,i,n)});else if("undefined"!=typeof exports){var i,n=require("underscore");try{i=require("jquery")}catch(s){}t(e,exports,n,i)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,i,n){var s=t.Backbone,o=Array.prototype.slice;e.VERSION="1.3.3",e.$=n,e.noConflict=function(){return t.Backbone=s,this},e.emulateHTTP=!1,e.emulateJSON=!1;var r=function(t,e,n){switch(t){case 1:return function(){return i[e](this[n])};case 2:return function(t){return i[e](this[n],t)};case 3:return function(t,s){return i[e](this[n],l(t,this),s)};case 4:return function(t,s,o){return i[e](this[n],l(t,this),s,o)};default:return function(){var t=o.call(arguments);return t.unshift(this[n]),i[e].apply(i,t)}}},a=function(t,e,n){i.each(e,function(e,s){i[s]&&(t.prototype[s]=r(e,s,n))})},l=function(t,e){return i.isFunction(t)?t:i.isObject(t)&&!e._isModel(t)?h(t):i.isString(t)?function(e){return e.get(t)}:t},h=function(t){var e=i.matches(t);return function(t){return e(t.attributes)}},c=e.Events={},d=/\s+/,u=function(t,e,n,s,o){var r,a=0;if(n&&"object"==typeof n){void 0!==s&&"context"in o&&void 0===o.context&&(o.context=s);for(r=i.keys(n);a<r.length;a++)e=u(t,e,r[a],n[r[a]],o)}else if(n&&d.test(n))for(r=n.split(d);a<r.length;a++)e=t(e,r[a],s,o);else e=t(e,n,s,o);return e};c.on=function(t,e,i){return p(this,t,e,i)};var p=function(t,e,i,n,s){if(t._events=u(_,t._events||{},e,i,{context:n,ctx:t,listening:s}),s){var o=t._listeners||(t._listeners={});o[s.id]=s}return t};c.listenTo=function(t,e,n){if(!t)return this;var s=t._listenId||(t._listenId=i.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),r=o[s];if(!r){var a=this._listenId||(this._listenId=i.uniqueId("l"));r=o[s]={obj:t,objId:s,id:a,listeningTo:o,count:0}}return p(t,e,n,this,r),this};var _=function(t,e,i,n){if(i){var s=t[e]||(t[e]=[]),o=n.context,r=n.ctx,a=n.listening;a&&a.count++,s.push({callback:i,context:o,ctx:o||r,listening:a})}return t};c.off=function(t,e,i){return this._events?(this._events=u(f,this._events,t,e,{context:i,listeners:this._listeners}),this):this},c.stopListening=function(t,e,n){var s=this._listeningTo;if(!s)return this;for(var o=t?[t._listenId]:i.keys(s),r=0;r<o.length;r++){var a=s[o[r]];if(!a)break;a.obj.off(e,n,this)}return this};var f=function(t,e,n,s){if(t){var o,r=0,a=s.context,l=s.listeners;if(e||n||a){for(var h=e?[e]:i.keys(t);r<h.length;r++){e=h[r];var c=t[e];if(!c)break;for(var d=[],u=0;u<c.length;u++){var p=c[u];n&&n!==p.callback&&n!==p.callback._callback||a&&a!==p.context?d.push(p):(o=p.listening,o&&0===--o.count&&(delete l[o.id],delete o.listeningTo[o.objId]))}d.length?t[e]=d:delete t[e]}return t}for(var _=i.keys(l);r<_.length;r++)o=l[_[r]],delete l[o.id],delete o.listeningTo[o.objId]}};c.once=function(t,e,n){var s=u(g,{},t,e,i.bind(this.off,this));return"string"==typeof t&&null==n&&(e=void 0),this.on(s,e,n)},c.listenToOnce=function(t,e,n){var s=u(g,{},e,n,i.bind(this.stopListening,this,t));return this.listenTo(t,s)};var g=function(t,e,n,s){if(n){var o=t[e]=i.once(function(){s(e,o),n.apply(this,arguments)});o._callback=n}return t};c.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n<e;n++)i[n]=arguments[n+1];return u(m,this._events,t,void 0,i),this};var m=function(t,e,i,n){if(t){var s=t[e],o=t.all;s&&o&&(o=o.slice()),s&&v(s,n),o&&v(o,[e].concat(n))}return t},v=function(t,e){var i,n=-1,s=t.length,o=e[0],r=e[1],a=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,o);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,o,r);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,o,r,a);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e);return}};c.bind=c.on,c.unbind=c.off,i.extend(e,c);var w=e.Model=function(t,e){var n=t||{};e||(e={}),this.cid=i.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{});var s=i.result(this,"defaults");n=i.defaults(i.extend({},s,n),s),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};i.extend(w.prototype,c,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!i.iteratee(t,this)(this.attributes)},set:function(t,e,n){if(null==t)return this;var s;if("object"==typeof t?(s=t,n=e):(s={})[t]=e,n||(n={}),!this._validate(s,n))return!1;var o=n.unset,r=n.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=i.clone(this.attributes),this.changed={});var h=this.attributes,c=this.changed,d=this._previousAttributes;for(var u in s)e=s[u],i.isEqual(h[u],e)||a.push(u),i.isEqual(d[u],e)?delete c[u]:c[u]=e,o?delete h[u]:h[u]=e;if(this.idAttribute in s&&(this.id=this.get(this.idAttribute)),!r){a.length&&(this._pending=n);for(var p=0;p<a.length;p++)this.trigger("change:"+a[p],this,h[a[p]],n)}if(l)return this;if(!r)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,i.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!i.isEmpty(this.changed):i.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&i.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,n={};for(var s in t){var o=t[s];i.isEqual(e[s],o)||(n[s]=o)}return!!i.size(n)&&n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=i.extend({parse:!0},t);var e=this,n=t.success;return t.success=function(i){var s=t.parse?e.parse(i,t):i;return!!e.set(s,t)&&(n&&n.call(t.context,e,i,t),void e.trigger("sync",e,i,t))},B(this,t),this.sync("read",this,t)},save:function(t,e,n){var s;null==t||"object"==typeof t?(s=t,n=e):(s={})[t]=e,n=i.extend({validate:!0,parse:!0},n);var o=n.wait;if(s&&!o){if(!this.set(s,n))return!1}else if(!this._validate(s,n))return!1;var r=this,a=n.success,l=this.attributes;n.success=function(t){r.attributes=l;var e=n.parse?r.parse(t,n):t;return o&&(e=i.extend({},s,e)),!(e&&!r.set(e,n))&&(a&&a.call(n.context,r,t,n),void r.trigger("sync",r,t,n))},B(this,n),s&&o&&(this.attributes=i.extend({},l,s));var h=this.isNew()?"create":n.patch?"patch":"update";"patch"!==h||n.attrs||(n.attrs=s);var c=this.sync(h,this,n);return this.attributes=l,c},destroy:function(t){t=t?i.clone(t):{};var e=this,n=t.success,s=t.wait,o=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(i){s&&o(),n&&n.call(t.context,e,i,t),e.isNew()||e.trigger("sync",e,i,t)};var r=!1;return this.isNew()?i.defer(t.success):(B(this,t),r=this.sync("delete",this,t)),s||o(),r},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||L();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return!n||(this.trigger("invalid",this,n,i.extend(e,{validationError:n})),!1)}});var y={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};a(w,y,"attributes");var b=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,i.extend({silent:!0},e))},x={add:!0,remove:!0,merge:!0},k={add:!0,remove:!1},C=function(t,e,i){i=Math.min(Math.max(i,0),t.length);var n,s=Array(t.length-i),o=e.length;for(n=0;n<s.length;n++)s[n]=t[n+i];for(n=0;n<o;n++)t[n+i]=e[n];for(n=0;n<s.length;n++)t[n+o+i]=s[n]};i.extend(b.prototype,c,{model:w,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:!1},e,k))},remove:function(t,e){e=i.extend({},e);var n=!i.isArray(t);t=n?[t]:t.slice();var s=this._removeModels(t,e);return!e.silent&&s.length&&(e.changes={added:[],merged:[],removed:s},this.trigger("update",this,e)),n?s[0]:s},set:function(t,e){if(null!=t){e=i.extend({},x,e),e.parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);var n=!i.isArray(t);t=n?[t]:t.slice();var s=e.at;null!=s&&(s=+s),s>this.length&&(s=this.length),s<0&&(s+=this.length+1);var o,r,a=[],l=[],h=[],c=[],d={},u=e.add,p=e.merge,_=e.remove,f=!1,g=this.comparator&&null==s&&e.sort!==!1,m=i.isString(this.comparator)?this.comparator:null;for(r=0;r<t.length;r++){o=t[r];var v=this.get(o);if(v){if(p&&o!==v){var w=this._isModel(o)?o.attributes:o;e.parse&&(w=v.parse(w,e)),v.set(w,e),h.push(v),g&&!f&&(f=v.hasChanged(m))}d[v.cid]||(d[v.cid]=!0,a.push(v)),t[r]=v}else u&&(o=t[r]=this._prepareModel(o,e),o&&(l.push(o),this._addReference(o,e),d[o.cid]=!0,a.push(o)))}if(_){for(r=0;r<this.length;r++)o=this.models[r],d[o.cid]||c.push(o);c.length&&this._removeModels(c,e)}var y=!1,b=!g&&u&&_;if(a.length&&b?(y=this.length!==a.length||i.some(this.models,function(t,e){return t!==a[e]}),this.models.length=0,C(this.models,a,0),this.length=this.models.length):l.length&&(g&&(f=!0),C(this.models,l,null==s?this.length:s),this.length=this.models.length),f&&this.sort({silent:!0}),!e.silent){for(r=0;r<l.length;r++)null!=s&&(e.index=s+r),o=l[r],o.trigger("add",o,this,e);(f||y)&&this.trigger("sort",this,e),(l.length||c.length||h.length)&&(e.changes={added:l,removed:c,merged:h},this.trigger("update",this,e))}return n?t[0]:t}},reset:function(t,e){e=e?i.clone(e):{};for(var n=0;n<this.models.length;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,i.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(t.attributes||t)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var n=e.length;return i.isFunction(e)&&(e=i.bind(e,this)),1===n||i.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(t){t=i.extend({parse:!0},t);var e=t.success,n=this;return t.success=function(i){var s=t.reset?"reset":"set";n[s](i,t),e&&e.call(t.context,n,i,t),n.trigger("sync",n,i,t)},B(this,t),this.sync("read",this,t)},create:function(t,e){e=e?i.clone(e):{};var n=e.wait;if(t=this._prepareModel(t,e),!t)return!1;n||this.add(t,e);var s=this,o=e.success;return e.success=function(t,e,i){n&&s.add(t,i),o&&o.call(i.context,t,e,i)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;e=e?i.clone(e):{},e.collection=this;var n=new this.model(t,e);return n.validationError?(this.trigger("invalid",this,n.validationError,e),!1):n},_removeModels:function(t,e){for(var i=[],n=0;n<t.length;n++){var s=this.get(t[n]);if(s){var o=this.indexOf(s);this.models.splice(o,1),this.length--,delete this._byId[s.cid];var r=this.modelId(s.attributes);null!=r&&delete this._byId[r],e.silent||(e.index=o,s.trigger("remove",s,this,e)),i.push(s),this._removeReference(s,e)}}return i},_isModel:function(t){return t instanceof w},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if(("add"===t||"remove"===t)&&i!==this)return;if("destroy"===t&&this.remove(e,n),"change"===t){var s=this.modelId(e.previousAttributes()),o=this.modelId(e.attributes);s!==o&&(null!=s&&delete this._byId[s],null!=o&&(this._byId[o]=e))}}this.trigger.apply(this,arguments)}});var O={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};a(b,O,"models");var I=e.View=function(t){this.cid=i.uniqueId("view"),i.extend(this,i.pick(t,T)),this._ensureElement(),this.initialize.apply(this,arguments)},E=/^(\S+)\s*(.*)$/,T=["model","collection","el","id","attributes","className","tagName","events"];i.extend(I.prototype,c,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=i.result(this,"events")),!t)return this;this.undelegateEvents();for(var e in t){var n=t[e];if(i.isFunction(n)||(n=this[n]),n){var s=e.match(E);this.delegate(s[1],s[2],i.bind(n,this))}}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(i.result(this,"el"));else{var t=i.extend({},i.result(this,"attributes"));this.id&&(t.id=i.result(this,"id")),this.className&&(t["class"]=i.result(this,"className")),this.setElement(this._createElement(i.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,n,s){var o=S[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var r={type:o,dataType:"json"};if(s.url||(r.url=i.result(n,"url")||L()),null!=s.data||!n||"create"!==t&&"update"!==t&&"patch"!==t||(r.contentType="application/json",r.data=JSON.stringify(s.attrs||n.toJSON(s))),s.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),s.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){r.type="POST",s.emulateJSON&&(r.data._method=o);var a=s.beforeSend;s.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),a)return a.apply(this,arguments)}}"GET"===r.type||s.emulateJSON||(r.processData=!1);var l=s.error;s.error=function(t,e,i){s.textStatus=e,s.errorThrown=i,l&&l.call(s.context,t,e,i)};var h=s.xhr=e.ajax(i.extend(r,s));return n.trigger("request",n,h,s),h};var S={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},H=/\((.*?)\)/g,P=/(\(\?)?:\w+/g,N=/\*\w+/g,j=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,c,{initialize:function(){},route:function(t,n,s){i.isRegExp(t)||(t=this._routeToRegExp(t)),i.isFunction(n)&&(s=n,n=""),s||(s=this[n]);var o=this;return e.history.route(t,function(i){var r=o._extractParameters(t,i);o.execute(s,r,n)!==!1&&(o.trigger.apply(o,["route:"+n].concat(r)),o.trigger("route",n,r),e.history.trigger("route",o,n,r))}),this},execute:function(t,e,i){t&&t.apply(this,e)},navigate:function(t,i){return e.history.navigate(t,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,"routes");for(var t,e=i.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(j,"\\$&").replace(H,"(?:$1)?").replace(P,function(t,e){return e?t:"([^/?]+)"}).replace(N,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return i.map(n,function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null})}});var z=e.History=function(){this.handlers=[],this.checkUrl=i.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},A=/^[#\/]|\s+$/g,U=/^\/+|\/+$/g,R=/#.*$/;z.started=!1,i.extend(z.prototype,c,{interval:50,atRoot:function(){var t=this.location.pathname.replace(/[^\/]$/,"$&/");return t===this.root&&!this.getSearch()},matchRoot:function(){var t=this.decodeFragment(this.location.pathname),e=t.slice(0,this.root.length-1)+"/";return e===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(A,"")},start:function(t){if(z.started)throw new Error("Backbone.history has already been started");if(z.started=!0,this.options=i.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(U,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var n=document.body,s=n.insertBefore(this.iframe,n.firstChild).contentWindow;s.document.open(),s.document.close(),s.location.hash="#"+this.fragment}var o=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),z.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();return e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e!==this.fragment&&(this.iframe&&this.navigate(e),void this.loadUrl())},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),i.some(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!z.started)return!1;e&&e!==!0||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root;""!==t&&"?"!==t.charAt(0)||(i=i.slice(0,-1)||"/");var n=i+t;if(t=this.decodeFragment(t.replace(R,"")),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var s=this.iframe.contentWindow;e.replace||(s.document.open(),s.document.close()),this._updateHash(s.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"");t.replace(n+"#"+e)}else t.hash="#"+e}}),e.history=new z;var F=function(t,e){var n,s=this;return n=t&&i.has(t,"constructor")?t.constructor:function(){return s.apply(this,arguments)},i.extend(n,s,e),n.prototype=i.create(s.prototype,t),n.prototype.constructor=n,n.__super__=s.prototype,n};w.extend=b.extend=$.extend=I.extend=z.extend=F;var L=function(){throw new Error('A "url" property or function must be specified')},B=function(t,e){var i=e.error;e.error=function(n){i&&i.call(e.context,t,n,e),t.trigger("error",t,n,e)}};return e}),function(t){"use strict";window.Hustle=function(t,e,i){var n={},s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g},o=function(s,o){var r=s.split(".");if(r.length){var a=function(n,s){var r=n.split("."),l=r.splice(0,1)[0];if(l){if(r.length)s[l]=s[l]||{};else{var h=o.call(null,t,e,i);s[l]=_.isFunction(h)||"undefined"==typeof h?h:_.extend(s[l]||{},h)}r.length&&l&&a(r.join("."),s[l])}};a(s,n)}else{var l=n[s]||{};n[s]=_.extend(l,o.call(null,t,e,i))}},r=function(){return n},a=function(t){if(t.split(".").length){var e=!1,i=function(t,n){var s=t.split("."),o=s.splice(0,1)[0];e=n[o],s.length&&i(s.join("."),n[o])};return i(t,n),e}return n[t]||!1},l=_.extend({},Backbone.Events),h=Backbone.View.extend({__base_events:{"click .wph-tabs--wrap .wph-tabs--nav li label":"__base_toggle_tab"},initialize:function(){this.events=_.extend({},this.events,this.__base_events),_.isFunction(this.init_mix)&&this.init_mix.apply(this,arguments),this.render&&(this.render=_.wrap(this.render,function(t){this.trigger("before_render"),t.call(this),l.trigger("view.rendered",this),this.trigger("rendered")})),_.isFunction(this.init)&&this.init.apply(this,arguments)},__base_toggle_tab:function(t){var e=this.$(t.target),i=(e.attr("href")||"").replace(/^\#/,""),n=!!i&&this.$("#"+i),s=e.closest(".wph-tabs--wrap"),o=e.closest("li");n&&n.length&&(s.find(".wph-tabs--content").not(n).removeClass("current"),n.addClass("current"),o.addClass("current"),o.siblings().removeClass("current"))}}),c=_.memoize(function(t){var e;return function(i){return e=e||_.template(document.getElementById(t).innerHTML,null,s),e(i).replace("/*<![CDATA[*/","").replace("/*]]>*/","")}}),d=_.memoize(function(t){var e;return function(i){return(e=e||_.template(t,null,s))(i)}}),u=function(){return t.extend(!0,{},s)},p=function(){var e=function(t){var e,i,n,s=document.cookie.split(";");for(n=t+"=",e=0;e<s.length;e+=1){for(i=s[e];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n)){var o=i.substring(n.length,i.length);return o?JSON.parse(o):o}}return null},i=function(e,i,n){var s,o;i=t.isArray(i)||t.isPlainObject(i)?JSON.stringify(i):i,isNaN(n)?o="":(s=new Date,s.setTime(s.getTime()+24*n*60*60*1e3),o="; expires="+s.toGMTString()),document.cookie=e+"="+i+o+"; path=/"};return{set:i,get:e}}(),f=function(){return{Never_See_Aagain_Prefix:"hustle_never_see_again-",Module_Show_Count:"hustle_module_show_count-",Slide_Cookie_Prefix:"hustle_slide_in_prefix-",Slide_Cookie_Hide_All:"hustle_slide_in_hide_all-"}}();return{define:o,get_modules:r,get:a,Events:l,View:h,template:c,create_template:d,get_template_options:u,cookie:p,consts:f}}(jQuery,document,window)}(jQuery);var Optin=Optin||{};Optin.View={},Optin.Models={},Optin.Events={},"undefined"!=typeof Backbone&&_.extend(Optin.Events,Backbone.Events),function(t){Optin.COOKIE_PREFIX="inc_optin_long_hidden-",Optin.POPUP_COOKIE_PREFIX="inc_optin_popup_long_hidden-",Optin.SLIDE_IN_COOKIE_PREFIX="inc_optin_slide_in_long_hidden-",Optin.SLIDE_IN_COOKIE_HIDE_ALL="inc_optin_slide_in_hide_all",_.mixin({log:function(){console.log(arguments)},toBool:function(t){return _.isBoolean(t)?t:_.isString(t)&&["true","false","1"].indexOf(t.toLowerCase())!==-1?"true"===t.toLowerCase()||"1"===t.toLowerCase():_.isNumber(t)?!!t:!(_.isUndefined(t)||_.isNull(t)||_.isNaN(t))&&t},isTrue:function(t){return!(_.isUndefined(t)||_.isNull(t)||_.isNaN(t))&&(_.isNumber(t)?0!==t:(t=t.toString().toLowerCase(),["1","true","on"].indexOf(t)!==-1))},isFalse:function(t){return!_.isTrue(t)},control_base:function(t,e,i){return i=_.isUndefined(i)?"checked":i,t=_.toBool(t),e=_.isBoolean(t)?_.isTrue(e):e,_.isEqual(t,e)?i+"="+i:""},checked:function(t,e){return _.control_base(t,e,"checked")},selected:function(t,e){return _.control_base(t,e,"selected")},disabled:function(t,e){return _.control_base(t,e,"disabled")},"class":function(t,e,i){return _.isTrue(t)?e:"undefined"!=typeof i?i:""},add_class:function(t,e,i){return"class={class}".replace("{class}",_["class"](t,e,i))},toUpperCase:function(t){return _.isString(t)?t.toUpperCase():""}}),_.findKey||_.mixin({findKey:function(t,e,i){e=cb(e,i);for(var n,s=_.keys(t),o=0,r=s.length;o<r;o++)if(n=s[o],e(t[n],n,t))return n}}),Backbone.Model.prototype.toJSON=function(){var t=_.clone(this.attributes);for(var e in t)(t[e]instanceof Backbone.Model||Backbone.Collection&&t[e]instanceof Backbone.Collection)&&(t[e]=t[e].toJSON());return t},String.prototype.toInt=function(){return parseInt(this,10)},String.prototype.isEmpty=function(){return 0===this.length||!this.trim()},Optin.template=_.memoize(function(e){var i,n={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g};return function(s){return i=i||_.template(t("#"+e).html(),null,n),i(s).replace("/*<![CDATA[*/","").replace("/*]]>*/","")}}),Optin.cookie=Hustle.cookie,t(document).on("blur","input, textarea, select",function(){var e=t(this);e.is(":input[type=button], :input[type=submit], :input[type=reset]")||(e.val()&&e.val().trim&&""!==e.val().trim()?e.parent().addClass("wpoi-filled"):e.parent().removeClass("wpoi-filled"))}),Optin.Mixins={_mixins:{},_services_mixins:{},_desing_mixins:{},_display_mixins:{},add:function(t,e){this._mixins[t]=e},get_mixins:function(){return this._mixins},add_services_mixin:function(t,e){this._services_mixins[t]=e},get_services_mixins:function(){return this._services_mixins}}}(jQuery),Hustle.define("Modal",function(t){"use strict";return Backbone.View.extend({template:Optin.template("hustle-modal-tpl"),$mask:t('<div class="wph-modal--mask"></div>'),opts:{},data:{id:"",type:"popup",style:"",title:"",subtitle:"",content:"Content",animation_in:"",animation_out:"",position:""},events:{"click .wph-modal--close a":"hide","submit form":"fire_conversion_event","click .wph-modal--cta":"fire_conversion_event","click .wph-modal-never-see-again":"never_see_again"},initialize:function(t){return this.opts=_.extend({},this.opts,t),t.template&&(this.template=t.template),this.render(),this},render:function(){var t=_.extend({},this.data,this.model.toJSON());if(this.type_data=t.types[t.type],this.animation_in=t.animation_in=t.types[t.type].animation_in||t.animation_in,this.animation_out=t.animation_out=t.types[t.type].animation_out||t.animation_out,t.position=t.types[t.type].position||t.position,t=this.sanitize_cta_url(t),t=this.enable_fullscreen(t),t=this.handle_custom_size_cc(t),this.setElement(this.template(t)),this.$mask=this.$mask.clone(),this.$mask.on("click",_.bind(this.clicked_background,this)),this.$el.find("form").on("submit",_.bind(this.on_form_submit,this)),this.enable_body_scroll(t),window.hasOwnProperty("optin_vars")){var e=this.$el.find("a.wph-icon.i-close");e.length&&e.parent().hide()}return this},hide:function(e){var i=this;e&&e.preventDefault(),i.animation_in!==i.animation_out&&i.$el.removeClass(i.animation_in),_.delay(function(){i.animation_out&&!i.$el.hasClass(i.animation_out)&&i.$el.addClass(i.animation_out),_.delay(function(){i.$el.removeClass("wph-modal-show"),i.$el.prev(".wph-modal--mask").remove(),Hustle.Events.trigger("hide_modal",i),i.trigger("hidden"),_.isTrue(i.type_data.close_btn_as_never_see)&&e&&t(e.target).hasClass("wph-icon i-close")&&i.never_see_again(e)},550)},350),t("html").removeClass("no-scroll")},clicked_background:function(t){_.isTrue(this.type_data.not_close_on_background_click)||this.hide(t)},show:function(){var t=this;if(!window.hasOwnProperty("optin_vars")){var e=Hustle.consts.Module_Show_Count+this.model.get("type")+"-"+this.model.get("id"),i=Hustle.cookie.get(e);Hustle.cookie.set(e,i+1,90)}t.animation_in!==t.animation_out&&t.$el.removeClass(t.animation_out),_.delay(function(){t.$el.addClass("wph-modal-show"),t.trigger("shown",t,t.model.get("type")),Hustle.Events.trigger("show_modal",t,t.model.get("type")),_.delay(function(){t.animation_in&&!t.$el.hasClass(t.animation_in)&&t.$el.addClass(t.animation_in)},350)},550)},sanitize_cta_url:function(t){return t.cta_url&&(/^(f|ht)tps?:\/\//i.test(t.cta_url)||(t.cta_url="http://"+t.cta_url)),t},enable_fullscreen:function(t){if(t.fullscreen="",!t||"undefined"==typeof t.optin_provider||"undefined"==typeof t.type)return t;if("custom_content"==t.optin_provider&&"popup"==t.type){if("undefined"==typeof this.type_data.make_fullscreen)return t;_.isTrue(this.type_data.make_fullscreen)&&(t.fullscreen="wph-modal-popup-fullscreen")}return t},handle_custom_size_cc:function(t){return t.custom_size_attr="",t.custom_size_class="",t&&"undefined"!=typeof t.optin_provider?("custom_content"==t.optin_provider&&(_.isTrue(t.customize_size)&&(t.custom_size_class="wph-modal--custom",t.custom_size_attr+="data-custom_width="+t.custom_width+" data-custom_height="+t.custom_height),_.isTrue(t.border)&&(t.custom_size_attr+=" data-border="+t.border_weight)),t):t},enable_body_scroll:function(e){if(e&&"undefined"!=typeof e.optin_provider&&"undefined"!=typeof e.type&&"custom_content"==e.optin_provider&&"popup"==e.type){if("undefined"==typeof this.type_data.allow_scroll_page)return;_.isTrue(this.type_data.allow_scroll_page)?t("html").addClass("can-scroll"):t("html").addClass("no-scroll")}},fire_conversion_event:function(e){var i=t(e.target).hasClass("wph-modal--cta")?"cta":"form";Hustle.Events.trigger("cc_modal_converted",this,i),this.trigger("converted",this,i)},never_see_again:function(e){e&&e.preventDefault(),window.hasOwnProperty("optin_vars")||Hustle.cookie.set(Hustle.consts.Never_See_Aagain_Prefix+this.model.get("type")+"-"+this.model.get("id"),this.model.get("id"),this.type_data.expiration_days),
2
- e&&!t(e.target).hasClass("wph-icon i-close")&&this.hide()},on_form_submit:function(e){var i=this,n=t(e.target),s=this.type_data.on_submit;switch(s){case"close":i.hide();break;case"redirect":window.location.replace(n.attr("action"));break;case"default":}}})}),function(t,e,i){var n=function(t,e,i){if("immediately"===e.trigger_on_time&&i.display(),"time"===e.trigger_on_time){var n;switch(e.appear_after_time_unit){case"minutes":n=60*parseInt(e.appear_after_time_val,10)*1e3;break;case"hours":n=60*parseInt(e.appear_after_time_val,10)*60*1e3;break;default:n=1e3*parseInt(e.appear_after_time_val,10)}_.delay(function(){i.display()},n)}},s=function(n,s,o){var r=!1;if("scrolled"===s.appear_after&&t(i).scroll(_.debounce(function(){r||100*i.pageYOffset/t(e).height()>=parseInt(s.appear_after_page_portion_val,10)&&(o.display(),r=!0)},50)),"selector"===s.appear_after){var a=t(s.appear_after_element_val);a.length&&t(i).scroll(_.debounce(function(){r||i.pageYOffset>=a.position().top&&(o.display(),r=!0)},50))}},o=function(i,n,s){if(""!==t.trim(n.trigger_on_element_click)){var o=t(t.trim(n.trigger_on_element_click));o.length&&t(e).on("click",t.trim(n.trigger_on_element_click),s.display)}t(e).on("click",".inc_opt_hustle_shortcode_trigger",function(e){e.preventDefault(),t(this).data("id")==i.data.optin_id&&s.display()})},r=function(i,n,s){_.isTrue(n.trigger_on_exit)&&(Optin.listen_to_exit_intend(),_.isTrue(n.on_exit_trigger_once_per_session)?t(e).one("wpoi:exit_intended",s.display):t(e).on("wpoi:exit_intended",s.display))},a=function(t,e,i){if(_.isTrue(e.trigger_on_adblock)){if(!Optin.is_adblock_enabled())return;if(_.isTrue(e.trigger_on_adblock_timed)){var n;switch(e.trigger_on_adblock_timed_unit){case"minutes":n=60*parseInt(e.trigger_on_adblock_timed_val,10)*1e3;break;case"hours":n=60*parseInt(e.trigger_on_adblock_timed_val,10)*60*1e3;break;default:n=1e3*parseInt(e.trigger_on_adblock_timed_val,10)}_.delay(function(){i.display()},n)}else i.display()}};Optin.Triggers={time:n,scroll:s,scrolled:s,click:o,exit_intent:r,adblock:a}}(jQuery,document,window),function(t){t(document).on("wpoi:display",function(e,i,n,s){var o="wpoi-optin-{type}-shown-count-".replace("{type}",i)+s.data.optin_id,r=Optin.cookie.get(o)||0,a=i&&s.settings[i].is_test;a||Optin.cookie.set(o,r+1,30),t.ajax({type:"POST",url:inc_opt.ajaxurl,dataType:"json",data:{action:"inc_opt_optin_viewed",data:{optin_id:s.data.optin_id,page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:i,uri:encodeURI(window.location.href)}},success:function(t){}})}),t(document).on("wpoi:cc_shortcode_or_widget_viewed",function(e,i,n){t.ajax({type:"POST",url:inc_opt.ajaxurl,data:{action:"hustle_custom_content_viewed",data:{id:n,page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:i,uri:encodeURI(window.location.href)}},success:function(t){}})})}(jQuery),function(t){Optin=Optin||{},Optin.handle_scroll=function(e,i,n){var s=t(window),o=t(document);s.on("scroll",_.debounce(function(t){var r=e[0],a=r.getBoundingClientRect();a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)&&(s.off(t),e.addClass("wpoi-show"),o.trigger("wpoi:display",[i,e,n]))},5,!0))},Optin.handle_cc_scroll=function(e,i,n){var s=t(window),o=t(document);s.on("scroll",_.debounce(function(t){var r=e[0],a=r.getBoundingClientRect();a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)&&(s.off(t),o.trigger("wpoi:cc_shortcode_or_widget_viewed",[i,n]))},5,!0))}}(jQuery),function(t){function e(e,i){var n=e.find(".required"),s=(t('<i class="wphi-font wphi-error"></i>'),[]);return t(".wpoi-field-error").remove(),n.each(function(){var e=t(this),n=e.attr("name")+"_error";return i?(e.next("label").find("i.wphi-font").addClass("wphi-error"),s.push(e),s):void(_.isEmpty(this.value)||e.is("[type='email']")&&!this.value.trim().match(/^[\S]+\@[a-zA-Z0-9\-]+\.[\S]{2,}$/gi)?(e.next("label").find("i.wphi-font").addClass("wphi-error"),s.push(e)):t("."+n).remove())}),0===s.length}t(document).on("submit",".inc_optin form",function(i){i.preventDefault();var n=t(i.target),s=n.find("button"),o=n.closest(".inc_optin"),r=o.data("handle"),a=o.data("delay_id"),l=Optins[r],h=this,c=(t(this).closest(".wpoi-optin > .wpoi-container"),n.closest(".inc_optin").data("type")),d=c&&l.settings[c].is_test,u=t("<span class='wpoi-submit-failure'>"+inc_opt.l10n.submit_failure+"</span>");n.parent().find(".wpoi-submit-failure").remove(),_.isUndefined(a)||clearTimeout(a),!n.data("sending")&&e(n,d)&&(s.attr("disabled",!0),s.addClass("loading"),n.addClass("loading"),n.data("sending",!0),t.ajax({type:"POST",url:inc_opt.ajaxurl,dataType:"json",data:{action:"inc_opt_submit_opt_in",data:{form:n.serialize(),optin_id:l.data.optin_id,page_type:inc_opt.page_type,page_id:inc_opt.page_id,uri:encodeURI(window.location.href),type:c}},success:function(e){if(e&&e.success){var i=n.closest(".wpoi-hustle");if(l.design.hasOwnProperty("on_submit")&&"page_redirect"===l.design.on_submit)window.location.replace(l.design.page_redirect_url);else if(i.find(".wpoi-success-message").addClass("wpoi-show-message"),l.design.hasOwnProperty("on_success")&&"autoclose"===l.design.on_success){var s=parseInt(l.design.on_success_time),o=l.design.on_success_unit;"m"===o&&(s*=60),s*=1e3,_.delay(function(){var e=t(h).closest(".inc_optin").find(".inc-opt-close-popup");e.length>0?e.trigger("click"):i.find(".wpoi-success-message").removeClass("wpoi-show-message")},s)}}else{var r=e.data?e.data.pop():inc_opt.l10n.submit_failure;u.html(r?r:inc_opt.l10n.submit_failure),n.after(u)}},error:function(){n.after(u)},complete:function(){s.attr("disabled",!1),n.removeClass("loading"),s.removeClass("loading"),n.data("sending",!1)}}))});var i=function(){var e=t(this),i=e.parents(".wpoi-hustle"),n=(t("form",i),t(".wpoi-success-message",i));n.removeClass("wpoi-show-message")};t(document).on("click",".wpoi-success-close",i)}(jQuery);var Optin=Optin||{};!function(t,e){"use strict";function i(){var e=o.height(),i=o.scrollTop(),n=i+e;t.each(s,function(){var e=t(this),s=e.outerHeight(),o=e.offset().top,r=o+s;r>=i&&o<=n?e.addClass("in-view"):e.removeClass("in-view")})}function n(e,i,n,s){"wpoi:display"!==e.type&&"wpoi:cc_display"!==e.type||"popup"!==i?t(".wpoi-hustle").each(function(){var e=t("popup"===i?window:this),n=t(this);e.width()<=405?n.find(".wpoi-optin").addClass("wpoi-small"):n.find(".wpoi-optin").removeClass("wpoi-small"),e.width()<=585&&e.width()>405?n.find(".wpoi-optin").addClass("wpoi-medium"):n.find(".wpoi-optin").removeClass("wpoi-medium")}):!function(){var e=t("popup"===i?window:this),s=n.find(".wpoi-hustle");e.width()<=405?s.find(".wpoi-optin").addClass("wpoi-small"):s.find(".wpoi-optin").removeClass("wpoi-small"),e.width()<=585&&e.width()>405?s.find(".wpoi-optin").addClass("wpoi-medium"):s.find(".wpoi-optin").removeClass("wpoi-medium")}(),t(".wpoi-mcg-select").each(function(){t(this).parent(".wpoi-provider-args > .wpoi-container > .wpoi-element:nth-child(2) > .wpoi-container > .wpoi-element").css({padding:"0",background:"transparent"})}),t(".wpoi-layout-three .wpoi-optin:not(.wpoi-small) .nocontent:not(.noimage)").each(function(){var e=t(this),i=e.find(".wpoi-aside-x").prev(".wpoi-element"),n=e.find(".wpoi-aside-x").prev(".wpoi-element").find(".wpoi-container.wpoi-col");n.css("height",i.height())}),t(".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-x"),n=e.find(".wpoi-image").next(".wpoi-element"),s=i.prev(".wpoi-element"),o=e.find(".wpoi-content"),r=s.find(".wpoi-col"),a=e.find("form");a.height()>o.height()&&(r.css("height",i.height()+"px"),n.addClass("wpoi-align"),o.addClass("wpoi-align-element")),a.height()<o.height()&&(i.css("height",s.height()+"px"),i.addClass("wpoi-align"),a.addClass("wpoi-align-element"))}),t(".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-x"),n=i.prev(".wpoi-element"),s=e.find("form");s.height()<n.height()&&(i.css("height",n.height()),i.addClass("wpoi-align"),s.addClass("wpoi-align-element"))}),t(".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-xl"),n=e.find(".wpoi-aside-xl > .wpoi-container"),s=i.find(".wpoi-form"),o=i.find("form"),r=i.next(".wpoi-element"),a=r.find(".wpoi-content");a.height()>o.height()&&(n.css("height",i.height()+"px"),s.addClass("wpoi-align"),o.addClass("wpoi-align-element")),a.height()<o.height()&&(r.css("height",n.height()+"px"),r.addClass("wpoi-align"),a.addClass("wpoi-align-element"))}),t(".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-xl"),n=e.find(".wpoi-aside-xl > .wpoi-container"),s=e.find(".wpoi-image"),o=i.find(".wpoi-form"),r=i.find("form"),a=i.next(".wpoi-element"),l=e.find(".wpoi-content");l.height()>n.height()&&(n.css("height",i.height()+"px"),o.css("height",n.height()-s.height()),o.addClass("wpoi-align"),r.addClass("wpoi-align-element")),l.height()<n.height()&&(a.css("height",i.height()+"px"),a.addClass("wpoi-align"),l.addClass("wpoi-align-element"))}),t(".wph-modal").each(function(){var e=t(this),i=e.find(".wph-modal--content"),n=e.find(".wph-modal--content > section"),s=i.find("section > figure"),o=e.find(".wph-modal--content > figure"),r=s.find("img"),a=o.find("img"),l=e.hasClass("wph-modal--cabriolet")&&(s.hasClass("wph-modal--image_full")||s.hasClass("wph-modal--image")&&r.height()<s.height()),h=e.hasClass("wph-modal--simple")&&(o.hasClass("wph-modal--image_full")||o.hasClass("wph-modal--image")&&a.height()<o.height()),c=e.hasClass("wph-modal--minimal")&&(s.hasClass("wph-modal--image_full")||s.hasClass("wph-modal--image")&&r.height()<s.height());(l||c)&&r.css({height:n.height()+"px",width:n.width()+"px"}),h&&a.css({height:i.height()+"px",width:i.width()+"px"});var d=e.find(".wph-modal--content header"),u=e.find(".wph-modal--content footer"),p=e.find(".wph-modal--content"),_=e.find(".wph-modal--content .wph-modal--message"),f=e.find(".wph-modal--content section"),g=e.find(".wph-modal--content .wph-modal--image"),m=e.find(".wph-modal--content .wph-modal--image img"),v=parseInt(e.data("custom_width")),w=parseInt(e.data("custom_height")),y=2*parseInt(e.data("border"));y=isNaN(y)?0:y,v&&w&&(e.css("width",v+"px"),e.css("max-width","none"),e.hasClass("wph-modal--cabriolet")&&(_.outerHeight(w-d.outerHeight(!0)-y),g.outerHeight(_.outerHeight(!0)),m.outerHeight(_.outerHeight(!0))),e.hasClass("wph-modal--simple")&&(p.outerHeight(w),g.outerHeight(p.height()),m.outerHeight(p.height())),e.hasClass("wph-modal--minimal")&&(f.outerHeight(w-(d.outerHeight(!0)+u.outerHeight(!0))-y),g.outerHeight(f.outerHeight(!0)),m.outerHeight(f.outerHeight(!0))))}),t(".wph-cc-shortcode").each(function(){var e=t(this),i=e.find(".wph-cc-shortcode--content"),n=e.find(".wph-cc-shortcode--content > section"),s=i.find("section > figure"),o=e.find(".wph-cc-shortcode--content > figure"),r=s.find("img"),a=o.find("img"),l=e.hasClass("wph-cc-shortcode--cabriolet")&&(s.hasClass("wph-cc-shortcode--image_full")||s.hasClass("wph-cc-shortcode--image")&&r.height()<s.height()),h=e.hasClass("wph-cc-shortcode--simple")&&(o.hasClass("wph-cc-shortcode--image_full")||o.hasClass("wph-cc-shortcode--image")&&a.height()<o.height()),c=e.hasClass("wph-cc-shortcode--minimal")&&(s.hasClass("wph-cc-shortcode--image_full")||s.hasClass("wph-cc-shortcode--image")&&r.height()<s.height());(l||c)&&r.css({height:n.height()+"px",width:n.width()+"px"}),h&&a.css({height:i.height()+"px",width:i.width()+"px"})})}t.each(["show","hide"],function(e,i){var n=t.fn[i];t.fn[i]=function(){return this.trigger(i),n.apply(this,arguments)}}),Optin.get_tpl=function(t){var e=["optin-layout-one","optin-layout-two","optin-layout-three","optin-layout-four"];return Optin.template(e[t])},Optin.popup={shown:[],hidden:[],long_hidden:[],is_already_shown:function(t){return-1!==this.shown.indexOf(t)},is_long_hidden:function(t){return!!Optin.cookie.get(Optin.POPUP_COOKIE_PREFIX+t.id)},show:function(t){return!this.is_long_hidden(t)&&(this.is_already_shown(t.id)?void 0:t.show())}};var s=t(".inc_opt_inline_wrap"),o=t(window);t(e).on("wpoi:display",_.debounce(n,100,!1)),t(e).on("wpoi:cc_display",_.debounce(n,100,!1)),t(window).on("resize",_.debounce(n,100,!1)),o.on("scroll resize",_.debounce(i,100,!1)),o.trigger("scroll"),t(document).on("blur","input, textarea, select",function(){var e=t(this);e.is(":input[type=button], :input[type=submit], :input[type=reset]")||(""!==e.val().trim()?e.parent().addClass("wpoi-filled"):e.parent().removeClass("wpoi-filled"))}),t(document).on("focus",".wpoi-optin input.required",function(){t(this).next("label").find("i.wphi-font").removeClass("i-error")}),Optin.render_provider_args=function(t){if(_.isEmpty(t.provider_args)||_.isEmpty(t.data.optin_provider))return"";var e=Optin.template("optin-"+t.data.optin_provider+"-args");return e(t.provider_args)},Optin.render_optin=function(i){var n=i.design.form_location.toInt(),s=Optin.get_tpl(n),o=function(){return!("mailchimp"!==i.data.optin_provider||!i.provider_args||!i.provider_args.group||"hidden"===i.provider_args.group.form_field)},r=s(_.extend({image_style:""},i.design,i.design.borders,i.data,{has_args:o()}));return t(e).trigger("wpoi:layout:rendered"),r},Optin.render_cc_shortcode=function(i){var n=Optin.template("hustle-cc-shortcode-tpl"),s=n(_.extend({},i.content,i.design));return t(e).trigger("wpoi:layout:rendered"),s};var r=!1;Optin.listen_to_exit_intend=function(){r||(t(e).on("mouseleave",_.debounce(function(i){t(e).trigger("wpoi:exit_intended",i)},100,!0)),r=!0)};var a=!1;Optin.is_adblock_enabled=function(){if(!a)return!t("#hustle_optin_adBlock_detector").length}}(jQuery,document),function(t,e,i){inc_opt.is_upfront||(Optin.View=Backbone.View.extend({isCC:!1,showClass:"wpoi-show",maskShowClass:"inc_optin_",optin_id:"",type:"",settings:{},data:{},add_never_see_again:!1,appear_after:"time",mask:!1,should_remove:!1,events:{click:"click","click .inc-opt-close-btn":"closed","click .inc_opt_never_see_again":"closed"},initialize:function(t){this.key=t.key,this.opt=Optins[this.key],this.settings=this.opt.settings[this.type],this.data=this.opt.data,this.optin_id=this.data.optin_id,this.maskClass="inc_optin_"+this.optin_id+" "+this.maskClass,this.should_display()&&(this.add_never_see_again=_.isTrue(this.settings.add_never_see_this_message),this.appear_after=this.settings.appear_after,(_.contains(["time","scrolled","adblock"],this.appear_after)||"exit_intent"===this.appear_after&&_.isTrue(this.settings.on_exit_trigger_once_per_session))&&(this.should_remove=!0),this.render())},should_display:function(){return _.isTrue(this.settings.display)&&!_.isTrue(Optin.cookie.get(Optin.POPUP_COOKIE_PREFIX+this.optin_id))},fit:function(){var e=t(i).height(),n=e/100*65,s=this.$("header").outerHeight(),o=this.$(".wph-modal--message, .wph-modal--image"),r=n-s;if(this.$el.css("max-height",n),o.css("max-height",r),"popup"===this.type&&"cabriolet"!==this.settings.style){var a=(e-n)/2;a-=1.5*a,this.$el.css("margin-top",a+"px")}},render:function(){var e='<a href="#" aria-label="Close" class="inc-opt-close-btn inc-opt-close-'+this.type+'">&times;</a>';return e+=Optin.render_optin(this.opt),data={handle:this.key,type:this.type,popup:this.opt},this.add_never_see_again&&(e+='<div class="wpoi-nsa"><a class="inc_opt_never_see_again">%s</a></div>'.replace("%s",inc_opt.l10n.never_see_again)),this.settings.animation_in&&this.$el.addClass(this.settings.animation_in),this.$el.addClass(" inc_optin_"+this.optin_id),this.$el.html(e),this.$(".wpoi-provider-args").html(Optin.render_provider_args(this.opt)),this.$el.appendTo("body"),this.$el.display=t.proxy(this,"display"),this.$el.on("show",t.proxy(this,"onShow")),this.$el.on("hide",t.proxy(this,"onHide")),this.$el.data(data),this.html=this.$el.html(),"function"==typeof Optin.Triggers[this.appear_after]?Optin.Triggers[this.appear_after].call(null,this.opt,this.settings,this.$el):console.log("Hustle:["+this.type.toUpperCase()+"] No trigger defined for "["this"].appear_after),this},display:function(){var e=this;this.$el.is("."+this.showClass)||(_.isTrue(this.isCC)&&_.isFalse(this.settings.allow_scroll_page)&&t("html").addClass("no-scroll"),this.$el.html(this.html),this.$el.removeClass(this.settings.animation_out),this.mask?this.mask.addClass("wpoi-show"):(this.mask=t('<div class="'+this.maskClass+' wpoi-overlay-mask wpoi-animate fadein"><div class="wpoi-'+this.type+'-overlay"></div></div>'),this.mask.insertBefore(this.$el).addClass("wpoi-show"),_.isFalse(this.settings.not_close_on_background_click)&&this.mask.on("click",t.proxy(this,"closed"))),this.settings.animation_in&&this.$el.addClass(this.settings.animation_in),_.delay(function(){e.$el.addClass(e.showClass),e.settings.animation_out?e.settings.animation_in?_.delay(function(){e.$el.removeClass(e.settings.animation_in),e.$el.addClass(e.settings.animation_out)},350):e.$el.addClass(e.settings.animation_out):e.settings.animation_in&&_.delay(function(){e.$el.removeClass(e.settings.animation_in)},350)},750),this.$el.trigger("show",this))},click:function(){},onShow:function(){t(document).trigger("wpoi:display",[this.type,this.$el,this.opt])},sanitize_cta_url:function(t){return t.cta_url&&(/^(f|ht)tps?:\/\//i.test(t.cta_url)||(t.cta_url="http://"+t.cta_url)),t},time_trigger:function(){if("immediately"==this.triggers.on_time)this.display();else{var e=1e3*parseInt(this.triggers.on_time_delay,10);"minutes"===this.triggers.on_time_unit?e*=60:"hours"===this.triggers.on_time_unit&&(e*=3600),_.delay(t.proxy(this,"display"),e)}},click_trigger:function(){if(""!==(selector=t.trim(this.triggers.on_click_element))){var i=t(selector);i.length&&t(e).on("click",selector,t.proxy(this,"display"))}},scroll_trigger:function(){var n=this,s=!1;if("scrolled"===this.triggers.on_scroll&&t(i).scroll(_.debounce(function(){s||100*i.pageYOffset/t(e).height()>=parseFloat(n.triggers.on_scroll_page_percent)&&(n.display(),s=!0)},50)),"selector"===this.triggers.on_scroll){var o=t(this.triggers.on_scroll_css_selector);o.length&&t(i).scroll(_.debounce(function(){s||i.pageYOffset>=o.position().top&&(n.display(),s=!0)},50))}},exit_intent_trigger:function(){_.isTrue(this.triggers.on_exit_intent)&&(_.isTrue(this.triggers.on_exit_intent_per_session)?Hustle.Events.once("exit_intended",t.proxy(this,"display")):Hustle.Events.on("exit_intended",t.proxy(this,"display")))},adblock_trigger:function(){var e=!t("#hustle_optin_adBlock_detector").length;if(e&&_.isTrue(this.triggers.on_adblock))if(_.isFalse(this.triggers.on_adblock_delayed))this.display();else{var i=1e3*parseInt(this.triggers.on_adblock_delayed_time,10);"minutes"===this.triggers.on_adblock_delayed_unit?i*=60:"hours"===this.triggers.on_adblock_delayed_unit&&(i*=3600),_.delay(t.proxy(this,"display"),i)}},never_see_again:function(){var t="popup"===this.type?Optin.POPUP_COOKIE_PREFIX:Optin.SLIDE_IN_COOKIE_PREFIX;t+=this.optin_id,Optin.cookie.set(t,this.optin_id,parseInt(this.settings.never_see_expiry,10))},closed:function(i){var n=this,s=t(i.currentTarget),o=this.isCC?_.isTrue(this.settings.close_btn_as_never_see):_.isTrue(this.settings.close_button_acts_as_never_see);return this.$el.removeClass("wpoi-show"),(s.is(".wph-modal--close .wph-icon, .inc-opt-close-"+this.type)&&o||s.is(".inc_opt_never_see_again,.wph-modal-never-see-again"))&&this.never_see_again(),_.delay(function(){n.$el.removeClass(n.showClass),n.mask.removeClass("wpoi-show")},750),this.settings.animation_in&&(this.settings.animation_out?_.delay(function(){n.$el.removeClass(n.settings.animation_out),n.$el.addClass(n.settings.animation_in)},1e3):this.$el.addClass(this.settings.animation_in)),this.settings.animation_out||(this.$el.hide(),_.defer(function(){(n.$el[0].style||{}).display=""})),_.isTrue(this.settings.close_button_acts_as_never_see_again)&&_.isTrue(this.settings.trigger_on_exit)&&t(e).off("wpoi:exit_intended"),this.settings.animation_out?_.delay(function(){n.clean()},1100):n.clean(),_.isTrue(this.isCC)&&_.isFalse(this.settings.allow_scroll_page)&&t("html").removeClass("no-scroll"),this.$el.trigger("hide",this),!1},clean:function(){this.$el.html(""),this.should_remove&&(this.$el.remove(),this.mask.remove())},onHide:function(){t(document).trigger("wpoi:hide",[this.type,this.$el,this.opt])}}))}(jQuery,document,window),function(t,e,i){if(!inc_opt.is_upfront){var n=window.Optin||{},s=Backbone.Model.extend({url:inc_opt.ajaxurl+"?action=hustle_custom_content_viewed",defaults:{page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:"",uri:encodeURI(window.location.href)},initialize:function(){this.on("error",this.server_error,this)},parse:function(t){t.success?console.log("Log success!"):console.log("Log failed!")},server_error:function(){console.log("Server error during log!")}}),o=s.extend({url:inc_opt.ajaxurl+"?action=hustle_custom_content_converted"});s=new s,o=new o,n.CCPopUp=n.View.extend({isCC:!0,showClass:"wph-modal-show",maskClass:"wph-modal--mask",cookie_key:Hustle.consts.Never_See_Aagain_Prefix,events:{click:"click","click .wph-modal--close .wph-icon":"closed","click .wph-modal--cta":"fire_conversion_event","click .wph-modal-never-see-again":"closed","submit form":"on_form_submit"},initialize:function(t){this.opt=t,this.type=t.type,this.data=t.content,this.optin_id=this.data.optin_id,this.settings=t[this.type],this.triggers=this.settings.triggers,this.appear_after=this.triggers.trigger+"_trigger",this.cookie_key+=this.type+"-"+this.optin_id,this.expiration_days=this.settings.expiration_days?parseInt(this.settings.expiration_days):0,this.should_display()&&(this.model=_.extend(this.settings,t.design,this.data,{id:this.optin_id,type:this.type,position:this.settings.position,types:{popup:t.popup,slide_in:t.slide_in}}),(_.contains(["time","scrolled","adblock"],this.triggers.trigger)||"exit_intent_trigger"===this.appear_after&&_.isTrue(this.settings.on_exit_intent_per_session))&&(this.should_remove=!0),this.render())},should_display:function(){var t=n.cookie.get(this.cookie_key);return t=parseInt(t)===parseInt(this.optin_id),this.opt.should_display[this.type]&&!_.isTrue(t)},never_see_again:function(){n.cookie.set(this.cookie_key,this.optin_id,this.expiration_days)},render:function(){this.model=_.extend(this.model,this.handle_custom_size(this.model),this.enable_fullscreen(this.model),this.sanitize_cta_url(this.model));var e=n.template("hustle-modal-tpl");e=e(this.model),this.setElement(e),this.$el.appendTo("body"),this.$el.display=t.proxy(this,"display"),this.$el.on("show",t.proxy(this,"onShow")),this.$el.on("hide",t.proxy(this,"onHide")),this.html=this.$el.html(),Hustle.Events.once("cc_modal_shown",this.logView,this),Hustle.Events.on("cc_modal_shown",this.fit,this),Hustle.Events.on("hustle_resize",this.fit,this),this[this.appear_after]()},onShow:function(){t(document).trigger("wpoi:cc_display",[this.type,this.$el,this.model]),Hustle.Events.trigger("cc_modal_shown",this,this.type)},logView:function(){s.set("type",this.type),s.set("id",this.optin_id),s.save()},fire_conversion_event:function(e){var i=t(e.currentTarget).hasClass("wph-modal--cta")?"cta":"form";Hustle.Events.trigger("cc_modal_converted",this,i),o.set("id",this.optin_id),o.set("type",this.type),o.set("source",i),o.save()},enable_fullscreen:function(t){return t.fullscreen="","popup"===this.type&&this.settings.make_fullscreen&&(t.fullscreen="wph-modal-popup-fullscreen"),t},handle_custom_size:function(t){return t.custom_size_attr="",t.custom_size_class="",t.customize_size&&_.isTrue(t.customize_size)&&(t.customize_size_class="wph-modal--custom",t.custom_size_attr+="data-custom_width="+t.custom_width+" data-custom_height="+t.custom_height),t.border&&_.isTrue(t.border)&&(t.custom_size_attr+=" data-border="+t.border_weight),t},on_form_submit:function(e){var i=t(e.target),n=this.settings.on_submit;switch(n){default:case"refresh_or_close":this.closed(e);break;case"close":case"close_after_form_submit":this.closed(e);break;case"redirect":case"redirect_to_form_target":window.location.replace(i.attr("action"));break;case"refresh_or_nothing":}}}),n.CCSlideIn=n.CCPopUp.extend({key_prefix:"",hide_all_key:"",delay_time:0,should_display:function(){this.key_prefix=Hustle.consts.Slide_Cookie_Prefix+this.optin_id,this.hide_all_key=Hustle.consts.Slide_Cookie_Hide_All+this.optin_id,this.delay_time="minutes"===this.settings.hide_after_unit?60*parseInt(this.settings.hide_after_val,10)*1e3:1e3*parseInt(this.settings.hide_after_val,10);var t=n.cookie.get(this.cookie_key);return _.isFalse(t)&&(t=n.cookie.get(this.key_prefix)),_.isFalse(t)&&(t=n.cookie.get(this.hide_all_key)),"keep_showing"===this.settings.after_close&&t&&(t=!1,n.cookie.set(this.cookie_key,this.optin_id,0),n.cookie.set(this.key_prefix,this.optin_id,0),n.cookie.set(this.hide_all_key,this.optin_id,0)),this.opt.should_display[this.type]&&!_.isTrue(t)},onShow:function(){if(this.clean(),_.isTrue(this.settings.hide_after)){var t=this;_.delay(function(){t.prevent_hide_after||(t.$el.removeClass(this.showClass),t.mask.trigger("click"))},this.delay_time)}n.CCPopUp.prototype.onShow.apply(this,arguments)},onHide:function(){var t=!1;"hide_all"===this.after_close&&(n.cookie.set(this.key_prefix,this.optin_id,30),t=!0),"no_show"===this.settings.after_close&&(n.cookie.set(this.hide_all_key,this.optin_id,30),t=!0),t&&(this.mask.remove(),this.remove())},click:function(){this.prevent_hide_after=!0}})}}(jQuery,document,window),function(t){inc_opt.is_upfront||(Optin=window.Optin||{},Optin.AfterContent=function(){var e,i=t(this),n=i.data("id");e=_.find(Optins,function(t){return n==t.data.optin_id}),i.data("handle",_.findKey(Optins,e)),i.data("type","after_content"),i.html(Optin.render_optin(e)),e.settings.after_content.animate&&"true"==e.settings.after_content.animate&&(i.addClass(e.settings.after_content.animation),_.delay(function(){i.addClass("wpoi-show")},750)),i.find(".wpoi-provider-args").html(Optin.render_provider_args(e)),t(document).trigger("wpoi:display",["after_content",i,e])})}(jQuery),function(t,e,i){inc_opt.is_upfront||(Optin=window.Optin||{},Optin.PopUp=Optin.View.extend({className:"inc_opt_popup wpoi-animate inc_optin",type:"popup"}))}(jQuery,document,window),function(t,e,i){inc_opt.is_upfront||(Optin=window.Optin||{},Optin.SlideIn=Optin.View.extend({className:"inc_opt_slidein inc_optin wpoi-slide",type:"slide_in",prevent_hide_after:!1,delay_time:0,should_display:function(){var t="popup"===this.type?Optin.POPUP_COOKIE_PREFIX:Optin.SLIDE_IN_COOKIE_PREFIX;t+=this.optin_id;var e=Optin.cookie.get(t);return e||(e=Optin.cookie.get(Optin.SLIDE_IN_COOKIE_PREFIX+this.optin_id)),e||(e=Optin.cookie.get(Optin.SLIDE_IN_COOKIE_HIDE_ALL+this.optin_id)),"keep_showing"===this.settings.after_close&&e&&(e=!1,Optin.cookie.set(Optin.SLIDE_IN_COOKIE_PREFIX+this.optin_id,this.optin_id,0),Optin.cookie.set(Optin.SLIDE_IN_COOKIE_HIDE_ALL+this.optin_id,this.optin_id,0),Optin.cookie.set(t,this.optin_id,0)),_.isTrue(this.settings.display)&&!_.isTrue(e)},render:function(){var t="inc_opt_slidein inc_opt_slidein_"+this.settings.position+" inc_optin wpoi-slide";this.delay_time="minutes"===this.settings.hide_after_unit?60*parseInt(this.settings.hide_after_val,10)*1e3:1e3*parseInt(this.settings.hide_after_val,10),this.$el.addClass(t),Optin.View.prototype.render.apply(this,arguments)},onShow:function(){if(this.mask.removeClass("wpoi-show"),_.isTrue(this.settings.hide_after)){var t=this;_.delay(function(){t.prevent_hide_after||(t.$el.removeClass("wpoi-show"),t.$el.trigger("hide"))},this.delay_time)}Optin.View.prototype.onShow.apply(this,arguments)},onHide:function(){var t=!1;"hide_all"===this.after_close&&(Optin.cookie.set(Optin.SLIDE_IN_COOKIE_HIDE_ALL,this.optin_id,30),t=!0),"no_show"===this.settings.after_close&&(Optin.cookie.set(Optin.SLIDE_IN_COOKIE_PREFIX+this.optin_id,this.optin_id,30),t=!0),t&&(this.mask.remove(),this.remove())},click:function(){this.prevent_hide_after=!0}}))}(jQuery,document,window),function(t){Optin=Optin||{},Optin.handle_cc_shortcode_conversion=function(e,i){var n=(t(window),t(document));t(n).on("click","a.wph-cc-shortcode--cta",function(t){var n={id:e,type:i,source:"cta"};Optin.save_cc_shortcode_conversion(n)})},Optin.save_cc_shortcode_conversion=function(e){t.ajax({type:"POST",url:inc_opt.ajaxurl,data:{action:"hustle_custom_content_converted",data:{id:e.id,page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:e.type,uri:encodeURI(window.location.href),source:e.source}},success:function(t){}})};var e=_.debounce(function(){t(".inc_cc_widget_wrap, .inc_cc_shortcode_wrap").each(function(){var e=t(this),i=e.data("id"),n=e.is(".inc_cc_widget_wrap")?"widget":"shortcode";if(i){var s=_.find(Hustle_Custom_Contents,function(t){return i==t.content.optin_id});if(s){e.data("handle",_.findKey(Hustle_Custom_Contents,s)),e.data("type",n),s.design.cta_url&&(/^(f|ht)tps?:\/\//i.test(s.design.cta_url)||(s.design.cta_url="http://"+s.design.cta_url));var o=Optin.render_cc_shortcode(s);Optin.handle_cc_scroll(e,n,i),e.html(o),_.delay(function(){t(document).trigger("wpoi:cc_shortcode_or_widget_viewed",[n,i])},_.random(0,300)),Optin.handle_cc_shortcode_conversion(i,n)}}}),t(".inc_opt_widget_wrap, .inc_opt_shortcode_wrap").each(function(){var e=t(this),i=e.data("id"),n=e.is(".inc_opt_widget_wrap")?"widget":"shortcode";if(i){var s=_.find(Optins,function(t){return i==t.data.optin_id});if(s){e.data("handle",_.findKey(Optins,s)),e.data("type",n);var o=Optin.render_optin(s);Optin.handle_scroll(e,n,s),e.html(o),e.find(".wpoi-provider-args").html(Optin.render_provider_args(s)),_.delay(function(){t(document).trigger("wpoi:display",[n,e,s])},_.random(0,300))}}})},50,!0);e(),t(document).on("upfront-load",function(){e(),Upfront.Events.on("entity:object:refresh:start entity:object:refresh preview:build:start upfront:preview:build:stop",e)})}(jQuery),function(t,e,i){inc_opt.is_upfront||(t(e).on("mouseleave",t.proxy(Hustle.Events,"trigger","exit_intended")),t(window).on("resize",t.proxy(Hustle.Events,"trigger","hustle_resize")),t.each(_.keys(Optins),function(e,i){var n=Optins[i],s=n.settings,o=n.data.optin_id,r={key:i};if(s.popup&&s.popup.enabled&&!_.isTrue(Optin.cookie.get(Optin.POPUP_COOKIE_PREFIX+o))&&new Optin.PopUp(r),s.slide_in&&s.slide_in.enabled&&!_.isTrue(Optin.cookie.get(Optin.SLIDE_IN_COOKIE_HIDE_ALL))&&new Optin.SlideIn(r),s.after_content&&s.after_content.enabled){var a=t('[data-id="'+o+'"]').filter(function(){return t(this).is(".inc_opt_after_content_wrap")});a.length&&a.each(Optin.AfterContent)}}),t.each(Hustle_Custom_Contents,function(t,e){e.id=t,e.should_display&&(_.isTrue(e.should_display.popup)&&_.isTrue(e.popup.enabled)&&(e.type="popup",new Optin.CCPopUp(e)),_.isTrue(e.should_display.slide_in)&&_.isTrue(e.slide_in.enabled)&&(e.type="slide_in",new Optin.CCSlideIn(e)))}))}(jQuery,document,window);
3
  //# sourceMappingURL=maps/front.min.js.map
1
  !function(t){var e="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global;if("function"==typeof define&&define.amd)define(["underscore","jquery","exports"],function(i,n,s){e.Backbone=t(e,s,i,n)});else if("undefined"!=typeof exports){var i,n=require("underscore");try{i=require("jquery")}catch(s){}t(e,exports,n,i)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(function(t,e,i,n){var s=t.Backbone,o=Array.prototype.slice;e.VERSION="1.3.3",e.$=n,e.noConflict=function(){return t.Backbone=s,this},e.emulateHTTP=!1,e.emulateJSON=!1;var r=function(t,e,n){switch(t){case 1:return function(){return i[e](this[n])};case 2:return function(t){return i[e](this[n],t)};case 3:return function(t,s){return i[e](this[n],l(t,this),s)};case 4:return function(t,s,o){return i[e](this[n],l(t,this),s,o)};default:return function(){var t=o.call(arguments);return t.unshift(this[n]),i[e].apply(i,t)}}},a=function(t,e,n){i.each(e,function(e,s){i[s]&&(t.prototype[s]=r(e,s,n))})},l=function(t,e){return i.isFunction(t)?t:i.isObject(t)&&!e._isModel(t)?h(t):i.isString(t)?function(e){return e.get(t)}:t},h=function(t){var e=i.matches(t);return function(t){return e(t.attributes)}},c=e.Events={},d=/\s+/,u=function(t,e,n,s,o){var r,a=0;if(n&&"object"==typeof n){void 0!==s&&"context"in o&&void 0===o.context&&(o.context=s);for(r=i.keys(n);a<r.length;a++)e=u(t,e,r[a],n[r[a]],o)}else if(n&&d.test(n))for(r=n.split(d);a<r.length;a++)e=t(e,r[a],s,o);else e=t(e,n,s,o);return e};c.on=function(t,e,i){return p(this,t,e,i)};var p=function(t,e,i,n,s){if(t._events=u(_,t._events||{},e,i,{context:n,ctx:t,listening:s}),s){var o=t._listeners||(t._listeners={});o[s.id]=s}return t};c.listenTo=function(t,e,n){if(!t)return this;var s=t._listenId||(t._listenId=i.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),r=o[s];if(!r){var a=this._listenId||(this._listenId=i.uniqueId("l"));r=o[s]={obj:t,objId:s,id:a,listeningTo:o,count:0}}return p(t,e,n,this,r),this};var _=function(t,e,i,n){if(i){var s=t[e]||(t[e]=[]),o=n.context,r=n.ctx,a=n.listening;a&&a.count++,s.push({callback:i,context:o,ctx:o||r,listening:a})}return t};c.off=function(t,e,i){return this._events?(this._events=u(f,this._events,t,e,{context:i,listeners:this._listeners}),this):this},c.stopListening=function(t,e,n){var s=this._listeningTo;if(!s)return this;for(var o=t?[t._listenId]:i.keys(s),r=0;r<o.length;r++){var a=s[o[r]];if(!a)break;a.obj.off(e,n,this)}return this};var f=function(t,e,n,s){if(t){var o,r=0,a=s.context,l=s.listeners;if(e||n||a){for(var h=e?[e]:i.keys(t);r<h.length;r++){e=h[r];var c=t[e];if(!c)break;for(var d=[],u=0;u<c.length;u++){var p=c[u];n&&n!==p.callback&&n!==p.callback._callback||a&&a!==p.context?d.push(p):(o=p.listening,o&&0===--o.count&&(delete l[o.id],delete o.listeningTo[o.objId]))}d.length?t[e]=d:delete t[e]}return t}for(var _=i.keys(l);r<_.length;r++)o=l[_[r]],delete l[o.id],delete o.listeningTo[o.objId]}};c.once=function(t,e,n){var s=u(g,{},t,e,i.bind(this.off,this));return"string"==typeof t&&null==n&&(e=void 0),this.on(s,e,n)},c.listenToOnce=function(t,e,n){var s=u(g,{},e,n,i.bind(this.stopListening,this,t));return this.listenTo(t,s)};var g=function(t,e,n,s){if(n){var o=t[e]=i.once(function(){s(e,o),n.apply(this,arguments)});o._callback=n}return t};c.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n<e;n++)i[n]=arguments[n+1];return u(m,this._events,t,void 0,i),this};var m=function(t,e,i,n){if(t){var s=t[e],o=t.all;s&&o&&(o=o.slice()),s&&v(s,n),o&&v(o,[e].concat(n))}return t},v=function(t,e){var i,n=-1,s=t.length,o=e[0],r=e[1],a=e[2];switch(e.length){case 0:for(;++n<s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n<s;)(i=t[n]).callback.call(i.ctx,o);return;case 2:for(;++n<s;)(i=t[n]).callback.call(i.ctx,o,r);return;case 3:for(;++n<s;)(i=t[n]).callback.call(i.ctx,o,r,a);return;default:for(;++n<s;)(i=t[n]).callback.apply(i.ctx,e);return}};c.bind=c.on,c.unbind=c.off,i.extend(e,c);var w=e.Model=function(t,e){var n=t||{};e||(e={}),this.cid=i.uniqueId(this.cidPrefix),this.attributes={},e.collection&&(this.collection=e.collection),e.parse&&(n=this.parse(n,e)||{});var s=i.result(this,"defaults");n=i.defaults(i.extend({},s,n),s),this.set(n,e),this.changed={},this.initialize.apply(this,arguments)};i.extend(w.prototype,c,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!i.iteratee(t,this)(this.attributes)},set:function(t,e,n){if(null==t)return this;var s;if("object"==typeof t?(s=t,n=e):(s={})[t]=e,n||(n={}),!this._validate(s,n))return!1;var o=n.unset,r=n.silent,a=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=i.clone(this.attributes),this.changed={});var h=this.attributes,c=this.changed,d=this._previousAttributes;for(var u in s)e=s[u],i.isEqual(h[u],e)||a.push(u),i.isEqual(d[u],e)?delete c[u]:c[u]=e,o?delete h[u]:h[u]=e;if(this.idAttribute in s&&(this.id=this.get(this.idAttribute)),!r){a.length&&(this._pending=n);for(var p=0;p<a.length;p++)this.trigger("change:"+a[p],this,h[a[p]],n)}if(l)return this;if(!r)for(;this._pending;)n=this._pending,this._pending=!1,this.trigger("change",this,n);return this._pending=!1,this._changing=!1,this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:!0}))},clear:function(t){var e={};for(var n in this.attributes)e[n]=void 0;return this.set(e,i.extend({},t,{unset:!0}))},hasChanged:function(t){return null==t?!i.isEmpty(this.changed):i.has(this.changed,t)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&i.clone(this.changed);var e=this._changing?this._previousAttributes:this.attributes,n={};for(var s in t){var o=t[s];i.isEqual(e[s],o)||(n[s]=o)}return!!i.size(n)&&n},previous:function(t){return null!=t&&this._previousAttributes?this._previousAttributes[t]:null},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=i.extend({parse:!0},t);var e=this,n=t.success;return t.success=function(i){var s=t.parse?e.parse(i,t):i;return!!e.set(s,t)&&(n&&n.call(t.context,e,i,t),void e.trigger("sync",e,i,t))},B(this,t),this.sync("read",this,t)},save:function(t,e,n){var s;null==t||"object"==typeof t?(s=t,n=e):(s={})[t]=e,n=i.extend({validate:!0,parse:!0},n);var o=n.wait;if(s&&!o){if(!this.set(s,n))return!1}else if(!this._validate(s,n))return!1;var r=this,a=n.success,l=this.attributes;n.success=function(t){r.attributes=l;var e=n.parse?r.parse(t,n):t;return o&&(e=i.extend({},s,e)),!(e&&!r.set(e,n))&&(a&&a.call(n.context,r,t,n),void r.trigger("sync",r,t,n))},B(this,n),s&&o&&(this.attributes=i.extend({},l,s));var h=this.isNew()?"create":n.patch?"patch":"update";"patch"!==h||n.attrs||(n.attrs=s);var c=this.sync(h,this,n);return this.attributes=l,c},destroy:function(t){t=t?i.clone(t):{};var e=this,n=t.success,s=t.wait,o=function(){e.stopListening(),e.trigger("destroy",e,e.collection,t)};t.success=function(i){s&&o(),n&&n.call(t.context,e,i,t),e.isNew()||e.trigger("sync",e,i,t)};var r=!1;return this.isNew()?i.defer(t.success):(B(this,t),r=this.sync("delete",this,t)),s||o(),r},url:function(){var t=i.result(this,"urlRoot")||i.result(this.collection,"url")||L();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\/]$/,"$&/")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend({},t,{validate:!0}))},_validate:function(t,e){if(!e.validate||!this.validate)return!0;t=i.extend({},this.attributes,t);var n=this.validationError=this.validate(t,e)||null;return!n||(this.trigger("invalid",this,n,i.extend(e,{validationError:n})),!1)}});var y={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};a(w,y,"attributes");var b=e.Collection=function(t,e){e||(e={}),e.model&&(this.model=e.model),void 0!==e.comparator&&(this.comparator=e.comparator),this._reset(),this.initialize.apply(this,arguments),t&&this.reset(t,i.extend({silent:!0},e))},x={add:!0,remove:!0,merge:!0},k={add:!0,remove:!1},C=function(t,e,i){i=Math.min(Math.max(i,0),t.length);var n,s=Array(t.length-i),o=e.length;for(n=0;n<s.length;n++)s[n]=t[n+i];for(n=0;n<o;n++)t[n+i]=e[n];for(n=0;n<s.length;n++)t[n+o+i]=s[n]};i.extend(b.prototype,c,{model:w,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:!1},e,k))},remove:function(t,e){e=i.extend({},e);var n=!i.isArray(t);t=n?[t]:t.slice();var s=this._removeModels(t,e);return!e.silent&&s.length&&(e.changes={added:[],merged:[],removed:s},this.trigger("update",this,e)),n?s[0]:s},set:function(t,e){if(null!=t){e=i.extend({},x,e),e.parse&&!this._isModel(t)&&(t=this.parse(t,e)||[]);var n=!i.isArray(t);t=n?[t]:t.slice();var s=e.at;null!=s&&(s=+s),s>this.length&&(s=this.length),s<0&&(s+=this.length+1);var o,r,a=[],l=[],h=[],c=[],d={},u=e.add,p=e.merge,_=e.remove,f=!1,g=this.comparator&&null==s&&e.sort!==!1,m=i.isString(this.comparator)?this.comparator:null;for(r=0;r<t.length;r++){o=t[r];var v=this.get(o);if(v){if(p&&o!==v){var w=this._isModel(o)?o.attributes:o;e.parse&&(w=v.parse(w,e)),v.set(w,e),h.push(v),g&&!f&&(f=v.hasChanged(m))}d[v.cid]||(d[v.cid]=!0,a.push(v)),t[r]=v}else u&&(o=t[r]=this._prepareModel(o,e),o&&(l.push(o),this._addReference(o,e),d[o.cid]=!0,a.push(o)))}if(_){for(r=0;r<this.length;r++)o=this.models[r],d[o.cid]||c.push(o);c.length&&this._removeModels(c,e)}var y=!1,b=!g&&u&&_;if(a.length&&b?(y=this.length!==a.length||i.some(this.models,function(t,e){return t!==a[e]}),this.models.length=0,C(this.models,a,0),this.length=this.models.length):l.length&&(g&&(f=!0),C(this.models,l,null==s?this.length:s),this.length=this.models.length),f&&this.sort({silent:!0}),!e.silent){for(r=0;r<l.length;r++)null!=s&&(e.index=s+r),o=l[r],o.trigger("add",o,this,e);(f||y)&&this.trigger("sort",this,e),(l.length||c.length||h.length)&&(e.changes={added:l,removed:c,merged:h},this.trigger("update",this,e))}return n?t[0]:t}},reset:function(t,e){e=e?i.clone(e):{};for(var n=0;n<this.models.length;n++)this._removeReference(this.models[n],e);return e.previousModels=this.models,this._reset(),t=this.add(t,i.extend({silent:!0},e)),e.silent||this.trigger("reset",this,e),t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return o.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(t.attributes||t)]||t.cid&&this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t<0&&(t+=this.length),this.models[t]},where:function(t,e){return this[e?"find":"filter"](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error("Cannot sort a set without a comparator");t||(t={});var n=e.length;return i.isFunction(e)&&(e=i.bind(e,this)),1===n||i.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger("sort",this,t),this},pluck:function(t){return this.map(t+"")},fetch:function(t){t=i.extend({parse:!0},t);var e=t.success,n=this;return t.success=function(i){var s=t.reset?"reset":"set";n[s](i,t),e&&e.call(t.context,n,i,t),n.trigger("sync",n,i,t)},B(this,t),this.sync("read",this,t)},create:function(t,e){e=e?i.clone(e):{};var n=e.wait;if(t=this._prepareModel(t,e),!t)return!1;n||this.add(t,e);var s=this,o=e.success;return e.success=function(t,e,i){n&&s.add(t,i),o&&o.call(i.context,t,e,i)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){if(this._isModel(t))return t.collection||(t.collection=this),t;e=e?i.clone(e):{},e.collection=this;var n=new this.model(t,e);return n.validationError?(this.trigger("invalid",this,n.validationError,e),!1):n},_removeModels:function(t,e){for(var i=[],n=0;n<t.length;n++){var s=this.get(t[n]);if(s){var o=this.indexOf(s);this.models.splice(o,1),this.length--,delete this._byId[s.cid];var r=this.modelId(s.attributes);null!=r&&delete this._byId[r],e.silent||(e.index=o,s.trigger("remove",s,this,e)),i.push(s),this._removeReference(s,e)}}return i},_isModel:function(t){return t instanceof w},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes);null!=i&&(this._byId[i]=t),t.on("all",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes);null!=i&&delete this._byId[i],this===t.collection&&delete t.collection,t.off("all",this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if(("add"===t||"remove"===t)&&i!==this)return;if("destroy"===t&&this.remove(e,n),"change"===t){var s=this.modelId(e.previousAttributes()),o=this.modelId(e.attributes);s!==o&&(null!=s&&delete this._byId[s],null!=o&&(this._byId[o]=e))}}this.trigger.apply(this,arguments)}});var O={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};a(b,O,"models");var I=e.View=function(t){this.cid=i.uniqueId("view"),i.extend(this,i.pick(t,T)),this._ensureElement(),this.initialize.apply(this,arguments)},E=/^(\S+)\s*(.*)$/,T=["model","collection","el","id","attributes","className","tagName","events"];i.extend(I.prototype,c,{tagName:"div",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(t||(t=i.result(this,"events")),!t)return this;this.undelegateEvents();for(var e in t){var n=t[e];if(i.isFunction(n)||(n=this[n]),n){var s=e.match(E);this.delegate(s[1],s[2],i.bind(n,this))}}return this},delegate:function(t,e,i){return this.$el.on(t+".delegateEvents"+this.cid,e,i),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+".delegateEvents"+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(this.el)this.setElement(i.result(this,"el"));else{var t=i.extend({},i.result(this,"attributes"));this.id&&(t.id=i.result(this,"id")),this.className&&(t["class"]=i.result(this,"className")),this.setElement(this._createElement(i.result(this,"tagName"))),this._setAttributes(t)}},_setAttributes:function(t){this.$el.attr(t)}}),e.sync=function(t,n,s){var o=S[t];i.defaults(s||(s={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var r={type:o,dataType:"json"};if(s.url||(r.url=i.result(n,"url")||L()),null!=s.data||!n||"create"!==t&&"update"!==t&&"patch"!==t||(r.contentType="application/json",r.data=JSON.stringify(s.attrs||n.toJSON(s))),s.emulateJSON&&(r.contentType="application/x-www-form-urlencoded",r.data=r.data?{model:r.data}:{}),s.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){r.type="POST",s.emulateJSON&&(r.data._method=o);var a=s.beforeSend;s.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),a)return a.apply(this,arguments)}}"GET"===r.type||s.emulateJSON||(r.processData=!1);var l=s.error;s.error=function(t,e,i){s.textStatus=e,s.errorThrown=i,l&&l.call(s.context,t,e,i)};var h=s.xhr=e.ajax(i.extend(r,s));return n.trigger("request",n,h,s),h};var S={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={}),t.routes&&(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},H=/\((.*?)\)/g,P=/(\(\?)?:\w+/g,N=/\*\w+/g,j=/[\-{}\[\]+?.,\\\^$|#\s]/g;i.extend($.prototype,c,{initialize:function(){},route:function(t,n,s){i.isRegExp(t)||(t=this._routeToRegExp(t)),i.isFunction(n)&&(s=n,n=""),s||(s=this[n]);var o=this;return e.history.route(t,function(i){var r=o._extractParameters(t,i);o.execute(s,r,n)!==!1&&(o.trigger.apply(o,["route:"+n].concat(r)),o.trigger("route",n,r),e.history.trigger("route",o,n,r))}),this},execute:function(t,e,i){t&&t.apply(this,e)},navigate:function(t,i){return e.history.navigate(t,i),this},_bindRoutes:function(){if(this.routes){this.routes=i.result(this,"routes");for(var t,e=i.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(j,"\\$&").replace(H,"(?:$1)?").replace(P,function(t,e){return e?t:"([^/?]+)"}).replace(N,"([^?]*?)"),new RegExp("^"+t+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(t,e){var n=t.exec(e).slice(1);return i.map(n,function(t,e){return e===n.length-1?t||null:t?decodeURIComponent(t):null})}});var z=e.History=function(){this.handlers=[],this.checkUrl=i.bind(this.checkUrl,this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},A=/^[#\/]|\s+$/g,U=/^\/+|\/+$/g,R=/#.*$/;z.started=!1,i.extend(z.prototype,c,{interval:50,atRoot:function(){var t=this.location.pathname.replace(/[^\/]$/,"$&/");return t===this.root&&!this.getSearch()},matchRoot:function(){var t=this.decodeFragment(this.location.pathname),e=t.slice(0,this.root.length-1)+"/";return e===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,"%2525"))},getSearch:function(){var t=this.location.href.replace(/#.*/,"").match(/\?.+/);return t?t[0]:""},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:""},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===t.charAt(0)?t.slice(1):t},getFragment:function(t){return null==t&&(t=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),t.replace(A,"")},start:function(t){if(z.started)throw new Error("Backbone.history has already been started");if(z.started=!0,this.options=i.extend({root:"/"},this.options,t),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(void 0===document.documentMode||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(U,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||"/";return this.location.replace(e+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var n=document.body,s=n.insertBefore(this.iframe,n.firstChild).contentWindow;s.document.open(),s.document.close(),s.location.hash="#"+this.fragment}var o=window.addEventListener||function(t,e){return attachEvent("on"+t,e)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent("on"+t,e)};this._usePushState?t("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&t("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),z.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();return e===this.fragment&&this.iframe&&(e=this.getHash(this.iframe.contentWindow)),e!==this.fragment&&(this.iframe&&this.navigate(e),void this.loadUrl())},loadUrl:function(t){return!!this.matchRoot()&&(t=this.fragment=this.getFragment(t),i.some(this.handlers,function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!z.started)return!1;e&&e!==!0||(e={trigger:!!e}),t=this.getFragment(t||"");var i=this.root;""!==t&&"?"!==t.charAt(0)||(i=i.slice(0,-1)||"/");var n=i+t;if(t=this.decodeFragment(t.replace(R,"")),this.fragment!==t){if(this.fragment=t,this._usePushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,n);else{if(!this._wantsHashChange)return this.location.assign(n);if(this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var s=this.iframe.contentWindow;e.replace||(s.document.open(),s.document.close()),this._updateHash(s.location,t,e.replace)}}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"");t.replace(n+"#"+e)}else t.hash="#"+e}}),e.history=new z;var F=function(t,e){var n,s=this;return n=t&&i.has(t,"constructor")?t.constructor:function(){return s.apply(this,arguments)},i.extend(n,s,e),n.prototype=i.create(s.prototype,t),n.prototype.constructor=n,n.__super__=s.prototype,n};w.extend=b.extend=$.extend=I.extend=z.extend=F;var L=function(){throw new Error('A "url" property or function must be specified')},B=function(t,e){var i=e.error;e.error=function(n){i&&i.call(e.context,t,n,e),t.trigger("error",t,n,e)}};return e}),function(t){"use strict";window.Hustle=function(t,e,i){var n={},s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g},o=function(s,o){var r=s.split(".");if(r.length){var a=function(n,s){var r=n.split("."),l=r.splice(0,1)[0];if(l){if(r.length)s[l]=s[l]||{};else{var h=o.call(null,t,e,i);s[l]=_.isFunction(h)||"undefined"==typeof h?h:_.extend(s[l]||{},h)}r.length&&l&&a(r.join("."),s[l])}};a(s,n)}else{var l=n[s]||{};n[s]=_.extend(l,o.call(null,t,e,i))}},r=function(){return n},a=function(t){if(t.split(".").length){var e=!1,i=function(t,n){var s=t.split("."),o=s.splice(0,1)[0];e=n[o],s.length&&i(s.join("."),n[o])};return i(t,n),e}return n[t]||!1},l=_.extend({},Backbone.Events),h=Backbone.View.extend({__base_events:{"click .wph-tabs--wrap .wph-tabs--nav li label":"__base_toggle_tab"},initialize:function(){this.events=_.extend({},this.events,this.__base_events),_.isFunction(this.init_mix)&&this.init_mix.apply(this,arguments),this.render&&(this.render=_.wrap(this.render,function(t){this.trigger("before_render"),t.call(this),l.trigger("view.rendered",this),this.trigger("rendered")})),_.isFunction(this.init)&&this.init.apply(this,arguments)},__base_toggle_tab:function(t){var e=this.$(t.target),i=(e.attr("href")||"").replace(/^\#/,""),n=!!i&&this.$("#"+i),s=e.closest(".wph-tabs--wrap"),o=e.closest("li");n&&n.length&&(s.find(".wph-tabs--content").not(n).removeClass("current"),n.addClass("current"),o.addClass("current"),o.siblings().removeClass("current"))}}),c=_.memoize(function(t){var e;return function(i){return e=e||_.template(document.getElementById(t).innerHTML,null,s),e(i).replace("/*<![CDATA[*/","").replace("/*]]>*/","")}}),d=_.memoize(function(t){var e;return function(i){return(e=e||_.template(t,null,s))(i)}}),u=function(){return t.extend(!0,{},s)},p=function(){var e=function(t){var e,i,n,s=document.cookie.split(";");for(n=t+"=",e=0;e<s.length;e+=1){for(i=s[e];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(n)){var o=i.substring(n.length,i.length);return o?JSON.parse(o):o}}return null},i=function(e,i,n){var s,o;i=t.isArray(i)||t.isPlainObject(i)?JSON.stringify(i):i,isNaN(n)?o="":(s=new Date,s.setTime(s.getTime()+24*n*60*60*1e3),o="; expires="+s.toGMTString()),document.cookie=e+"="+i+o+"; path=/"};return{set:i,get:e}}(),f=function(){return{Never_See_Aagain_Prefix:"hustle_never_see_again-",Module_Show_Count:"hustle_module_show_count-",Slide_Cookie_Prefix:"hustle_slide_in_prefix-",Slide_Cookie_Hide_All:"hustle_slide_in_hide_all-"}}();return{define:o,get_modules:r,get:a,Events:l,View:h,template:c,create_template:d,get_template_options:u,cookie:p,consts:f}}(jQuery,document,window)}(jQuery);var Optin=Optin||{};Optin.View={},Optin.Models={},Optin.Events={},"undefined"!=typeof Backbone&&_.extend(Optin.Events,Backbone.Events),function(t){Optin.COOKIE_PREFIX="inc_optin_long_hidden-",Optin.POPUP_COOKIE_PREFIX="inc_optin_popup_long_hidden-",Optin.SLIDE_IN_COOKIE_PREFIX="inc_optin_slide_in_long_hidden-",Optin.SLIDE_IN_COOKIE_HIDE_ALL="inc_optin_slide_in_hide_all",_.mixin({log:function(){console.log(arguments)},toBool:function(t){return _.isBoolean(t)?t:_.isString(t)&&["true","false","1"].indexOf(t.toLowerCase())!==-1?"true"===t.toLowerCase()||"1"===t.toLowerCase():_.isNumber(t)?!!t:!(_.isUndefined(t)||_.isNull(t)||_.isNaN(t))&&t},isTrue:function(t){return!(_.isUndefined(t)||_.isNull(t)||_.isNaN(t))&&(_.isNumber(t)?0!==t:(t=t.toString().toLowerCase(),["1","true","on"].indexOf(t)!==-1))},isFalse:function(t){return!_.isTrue(t)},control_base:function(t,e,i){return i=_.isUndefined(i)?"checked":i,t=_.toBool(t),e=_.isBoolean(t)?_.isTrue(e):e,_.isEqual(t,e)?i+"="+i:""},checked:function(t,e){return _.control_base(t,e,"checked")},selected:function(t,e){return _.control_base(t,e,"selected")},disabled:function(t,e){return _.control_base(t,e,"disabled")},"class":function(t,e,i){return _.isTrue(t)?e:"undefined"!=typeof i?i:""},add_class:function(t,e,i){return"class={class}".replace("{class}",_["class"](t,e,i))},toUpperCase:function(t){return _.isString(t)?t.toUpperCase():""}}),_.findKey||_.mixin({findKey:function(t,e,i){e=cb(e,i);for(var n,s=_.keys(t),o=0,r=s.length;o<r;o++)if(n=s[o],e(t[n],n,t))return n}}),Backbone.Model.prototype.toJSON=function(){var t=_.clone(this.attributes);for(var e in t)(t[e]instanceof Backbone.Model||Backbone.Collection&&t[e]instanceof Backbone.Collection)&&(t[e]=t[e].toJSON());return t},String.prototype.toInt=function(){return parseInt(this,10)},String.prototype.isEmpty=function(){return 0===this.length||!this.trim()},Optin.template=_.memoize(function(e){var i,n={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g};return function(s){return i=i||_.template(t("#"+e).html(),null,n),i(s).replace("/*<![CDATA[*/","").replace("/*]]>*/","")}}),Optin.cookie=Hustle.cookie,t(document).on("blur","input, textarea, select",function(){var e=t(this);e.is(":input[type=button], :input[type=submit], :input[type=reset]")||(e.val()&&e.val().trim&&""!==e.val().trim()?e.parent().addClass("wpoi-filled"):e.parent().removeClass("wpoi-filled"))}),Optin.Mixins={_mixins:{},_services_mixins:{},_desing_mixins:{},_display_mixins:{},add:function(t,e){this._mixins[t]=e},get_mixins:function(){return this._mixins},add_services_mixin:function(t,e){this._services_mixins[t]=e},get_services_mixins:function(){return this._services_mixins}}}(jQuery),Hustle.define("Modal",function(t){"use strict";return Backbone.View.extend({template:Optin.template("hustle-modal-tpl"),$mask:t('<div class="wph-modal--mask"></div>'),opts:{},data:{id:"",type:"popup",style:"",title:"",subtitle:"",content:"Content",animation_in:"",animation_out:"",position:""},events:{"click .wph-modal--close a":"hide","submit form":"fire_conversion_event","click .wph-modal--cta":"fire_conversion_event","click .wph-modal-never-see-again":"never_see_again"},initialize:function(t){return this.opts=_.extend({},this.opts,t),t.template&&(this.template=t.template),this.render(),this},render:function(){var t=_.extend({},this.data,this.model.toJSON());if(this.type_data=t.types[t.type],this.animation_in=t.animation_in=t.types[t.type].animation_in||t.animation_in,this.animation_out=t.animation_out=t.types[t.type].animation_out||t.animation_out,t.position=t.types[t.type].position||t.position,t=this.sanitize_cta_url(t),t=this.enable_fullscreen(t),t=this.handle_custom_size_cc(t),this.setElement(this.template(t)),this.$mask=this.$mask.clone(),this.$mask.on("click",_.bind(this.clicked_background,this)),this.$el.find("form").on("submit",_.bind(this.on_form_submit,this)),this.enable_body_scroll(t),window.hasOwnProperty("optin_vars")){var e=this.$el.find("a.wph-icon.i-close");e.length&&e.parent().hide()}return this},hide:function(e){var i=this;e&&e.preventDefault(),i.animation_in!==i.animation_out&&i.$el.removeClass(i.animation_in),_.delay(function(){i.animation_out&&!i.$el.hasClass(i.animation_out)&&i.$el.addClass(i.animation_out),_.delay(function(){i.$el.removeClass("wph-modal-show"),i.$el.prev(".wph-modal--mask").remove(),Hustle.Events.trigger("hide_modal",i),i.trigger("hidden"),_.isTrue(i.type_data.close_btn_as_never_see)&&e&&t(e.target).hasClass("wph-icon i-close")&&i.never_see_again(e)},550)},350),t("html").removeClass("no-scroll")},clicked_background:function(t){_.isTrue(this.type_data.not_close_on_background_click)||this.hide(t)},show:function(){var t=this;if(!window.hasOwnProperty("optin_vars")){var e=Hustle.consts.Module_Show_Count+this.model.get("type")+"-"+this.model.get("id"),i=Hustle.cookie.get(e);Hustle.cookie.set(e,i+1,90)}t.animation_in!==t.animation_out&&t.$el.removeClass(t.animation_out),_.delay(function(){t.$el.addClass("wph-modal-show"),t.trigger("shown",t,t.model.get("type")),Hustle.Events.trigger("show_modal",t,t.model.get("type")),_.delay(function(){t.animation_in&&!t.$el.hasClass(t.animation_in)&&t.$el.addClass(t.animation_in)},350)},550)},sanitize_cta_url:function(t){return t.cta_url&&(/^(f|ht)tps?:\/\//i.test(t.cta_url)||(t.cta_url="http://"+t.cta_url)),t},enable_fullscreen:function(t){if(t.fullscreen="",!t||"undefined"==typeof t.optin_provider||"undefined"==typeof t.type)return t;if("custom_content"==t.optin_provider&&"popup"==t.type){if("undefined"==typeof this.type_data.make_fullscreen)return t;_.isTrue(this.type_data.make_fullscreen)&&(t.fullscreen="wph-modal-popup-fullscreen")}return t},handle_custom_size_cc:function(t){return t.custom_size_attr="",t.custom_size_class="",t&&"undefined"!=typeof t.optin_provider?("custom_content"==t.optin_provider&&(_.isTrue(t.customize_size)&&(t.custom_size_class="wph-modal--custom",t.custom_size_attr+="data-custom_width="+t.custom_width+" data-custom_height="+t.custom_height),_.isTrue(t.border)&&(t.custom_size_attr+=" data-border="+t.border_weight)),t):t},enable_body_scroll:function(e){if(e&&"undefined"!=typeof e.optin_provider&&"undefined"!=typeof e.type&&"custom_content"==e.optin_provider&&"popup"==e.type){if("undefined"==typeof this.type_data.allow_scroll_page)return;_.isTrue(this.type_data.allow_scroll_page)?t("html").addClass("can-scroll"):t("html").addClass("no-scroll")}},fire_conversion_event:function(e){var i=t(e.target).hasClass("wph-modal--cta")?"cta":"form";Hustle.Events.trigger("cc_modal_converted",this,i),this.trigger("converted",this,i)},never_see_again:function(e){e&&e.preventDefault(),window.hasOwnProperty("optin_vars")||Hustle.cookie.set(Hustle.consts.Never_See_Aagain_Prefix+this.model.get("type")+"-"+this.model.get("id"),this.model.get("id"),this.type_data.expiration_days),
2
+ e&&!t(e.target).hasClass("wph-icon i-close")&&this.hide()},on_form_submit:function(e){var i=this,n=t(e.target),s=this.type_data.on_submit;switch(s){case"close":i.hide();break;case"redirect":window.location.replace(n.attr("action"));break;case"default":}}})}),function(t,e,i){var n=function(t,e,i){if("immediately"===e.trigger_on_time&&i.display(),"time"===e.trigger_on_time){var n;switch(e.appear_after_time_unit){case"minutes":n=60*parseInt(e.appear_after_time_val,10)*1e3;break;case"hours":n=60*parseInt(e.appear_after_time_val,10)*60*1e3;break;default:n=1e3*parseInt(e.appear_after_time_val,10)}_.delay(function(){i.display()},n)}},s=function(n,s,o){var r=!1;if("scrolled"===s.appear_after&&t(i).scroll(_.debounce(function(){r||100*i.pageYOffset/t(e).height()>=parseInt(s.appear_after_page_portion_val,10)&&(o.display(),r=!0)},50)),"selector"===s.appear_after){var a=t(s.appear_after_element_val);a.length&&t(i).scroll(_.debounce(function(){r||i.pageYOffset>=a.position().top&&(o.display(),r=!0)},50))}},o=function(i,n,s){if(""!==t.trim(n.trigger_on_element_click)){var o=t(t.trim(n.trigger_on_element_click));o.length&&t(e).on("click",t.trim(n.trigger_on_element_click),s.display)}t(e).on("click",".inc_opt_hustle_shortcode_trigger",function(e){e.preventDefault(),t(this).data("id")==i.data.optin_id&&s.display()})},r=function(i,n,s){_.isTrue(n.trigger_on_exit)&&(Optin.listen_to_exit_intend(),_.isTrue(n.on_exit_trigger_once_per_session)?t(e).one("wpoi:exit_intended",s.display):t(e).on("wpoi:exit_intended",s.display))},a=function(t,e,i){if(_.isTrue(e.trigger_on_adblock)){if(!Optin.is_adblock_enabled())return;if(_.isTrue(e.trigger_on_adblock_timed)){var n;switch(e.trigger_on_adblock_timed_unit){case"minutes":n=60*parseInt(e.trigger_on_adblock_timed_val,10)*1e3;break;case"hours":n=60*parseInt(e.trigger_on_adblock_timed_val,10)*60*1e3;break;default:n=1e3*parseInt(e.trigger_on_adblock_timed_val,10)}_.delay(function(){i.display()},n)}else i.display()}};Optin.Triggers={time:n,scroll:s,scrolled:s,click:o,exit_intent:r,adblock:a}}(jQuery,document,window),function(t){t(document).on("wpoi:display",function(e,i,n,s){var o="wpoi-optin-{type}-shown-count-".replace("{type}",i)+s.data.optin_id,r=Optin.cookie.get(o)||0,a=i&&s.settings[i].is_test;a||Optin.cookie.set(o,r+1,30),t.ajax({type:"POST",url:inc_opt.ajaxurl,dataType:"json",data:{action:"inc_opt_optin_viewed",data:{optin_id:s.data.optin_id,page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:i,uri:encodeURI(window.location.href)}},success:function(t){}})}),t(document).on("wpoi:cc_shortcode_or_widget_viewed",function(e,i,n){t.ajax({type:"POST",url:inc_opt.ajaxurl,data:{action:"hustle_custom_content_viewed",data:{id:n,page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:i,uri:encodeURI(window.location.href)}},success:function(t){}})})}(jQuery),function(t){Optin=Optin||{},Optin.handle_scroll=function(e,i,n){var s=t(window),o=t(document);s.on("scroll",_.debounce(function(t){var r=e[0],a=r.getBoundingClientRect();a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)&&(s.off(t),e.addClass("wpoi-show"),o.trigger("wpoi:display",[i,e,n]))},5,!0))},Optin.handle_cc_scroll=function(e,i,n){var s=t(window),o=t(document);s.on("scroll",_.debounce(function(t){var r=e[0],a=r.getBoundingClientRect();a.top>=0&&a.left>=0&&a.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&a.right<=(window.innerWidth||document.documentElement.clientWidth)&&(s.off(t),o.trigger("wpoi:cc_shortcode_or_widget_viewed",[i,n]))},5,!0))}}(jQuery),function(t){function e(e,i){var n=e.find(".required"),s=(t('<i class="wphi-font wphi-error"></i>'),[]);return t(".wpoi-field-error").remove(),n.each(function(){var e=t(this),n=e.attr("name")+"_error";return i?(e.next("label").find("i.wphi-font").addClass("wphi-error"),s.push(e),s):void(_.isEmpty(this.value)||e.is("[type='email']")&&!this.value.trim().match(/^[\S]+\@[a-zA-Z0-9\-]+\.[\S]{2,}$/gi)?(e.next("label").find("i.wphi-font").addClass("wphi-error"),s.push(e)):t("."+n).remove())}),0===s.length}t(document).on("submit",".inc_optin form",function(i){i.preventDefault();var n=t(i.target),s=n.find("button"),o=n.closest(".inc_optin"),r=o.data("handle"),a=o.data("delay_id"),l=Optins[r],h=this,c=(t(this).closest(".wpoi-optin > .wpoi-container"),n.closest(".inc_optin").data("type")),d=c&&l.settings[c].is_test,u=t("<span class='wpoi-submit-failure'>"+inc_opt.l10n.submit_failure+"</span>");n.parent().find(".wpoi-submit-failure").remove(),_.isUndefined(a)||clearTimeout(a),!n.data("sending")&&e(n,d)&&(s.attr("disabled",!0),s.addClass("loading"),n.addClass("loading"),n.data("sending",!0),t.ajax({type:"POST",url:inc_opt.ajaxurl,dataType:"json",data:{action:"inc_opt_submit_opt_in",data:{form:n.serialize(),optin_id:l.data.optin_id,page_type:inc_opt.page_type,page_id:inc_opt.page_id,uri:encodeURI(window.location.href),type:c}},success:function(e){if(e&&e.success){var i=n.closest(".wpoi-hustle");if(l.design.hasOwnProperty("on_submit")&&"page_redirect"===l.design.on_submit)window.location.replace(l.design.page_redirect_url);else if(i.find(".wpoi-success-message").addClass("wpoi-show-message"),l.design.hasOwnProperty("on_success")&&"autoclose"===l.design.on_success){var s=parseInt(l.design.on_success_time),o=l.design.on_success_unit;"m"===o&&(s*=60),s*=1e3,_.delay(function(){var e=t(h).closest(".inc_optin").find(".inc-opt-close-popup");e.length>0?e.trigger("click"):i.find(".wpoi-success-message").removeClass("wpoi-show-message")},s)}}else{var r=e.data?e.data.pop():inc_opt.l10n.submit_failure;u.html(r?r:inc_opt.l10n.submit_failure),n.after(u)}},error:function(){n.after(u)},complete:function(){s.attr("disabled",!1),n.removeClass("loading"),s.removeClass("loading"),n.data("sending",!1)}}))});var i=function(){var e=t(this),i=e.parents(".wpoi-hustle"),n=(t("form",i),t(".wpoi-success-message",i));n.removeClass("wpoi-show-message")};t(document).on("click",".wpoi-success-close",i)}(jQuery);var Optin=Optin||{};!function(t,e){"use strict";function i(){var e=o.height(),i=o.scrollTop(),n=i+e;t.each(s,function(){var e=t(this),s=e.outerHeight(),o=e.offset().top,r=o+s;r>=i&&o<=n?e.addClass("in-view"):e.removeClass("in-view")})}function n(e,i,n,s){"wpoi:display"!==e.type&&"wpoi:cc_display"!==e.type||"popup"!==i?t(".wpoi-hustle").each(function(){var e=t("popup"===i?window:this),n=t(this);e.width()<=405?n.find(".wpoi-optin").addClass("wpoi-small"):n.find(".wpoi-optin").removeClass("wpoi-small"),e.width()<=585&&e.width()>405?n.find(".wpoi-optin").addClass("wpoi-medium"):n.find(".wpoi-optin").removeClass("wpoi-medium")}):!function(){var e=t("popup"===i?window:this),s=n.find(".wpoi-hustle");e.width()<=405?s.find(".wpoi-optin").addClass("wpoi-small"):s.find(".wpoi-optin").removeClass("wpoi-small"),e.width()<=585&&e.width()>405?s.find(".wpoi-optin").addClass("wpoi-medium"):s.find(".wpoi-optin").removeClass("wpoi-medium")}(),t(".wpoi-mcg-select").each(function(){t(this).parent(".wpoi-provider-args > .wpoi-container > .wpoi-element:nth-child(2) > .wpoi-container > .wpoi-element").css({padding:"0",background:"transparent"})}),t(".wpoi-layout-three .wpoi-optin:not(.wpoi-small) .nocontent:not(.noimage)").each(function(){var e=t(this),i=e.find(".wpoi-aside-x").prev(".wpoi-element"),n=e.find(".wpoi-aside-x").prev(".wpoi-element").find(".wpoi-container.wpoi-col");n.css("height",i.height())}),t(".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-x"),n=e.find(".wpoi-image").next(".wpoi-element"),s=i.prev(".wpoi-element"),o=e.find(".wpoi-content"),r=s.find(".wpoi-col"),a=e.find("form");a.height()>o.height()&&(r.css("height",i.height()+"px"),n.addClass("wpoi-align"),o.addClass("wpoi-align-element")),a.height()<o.height()&&(i.css("height",s.height()+"px"),i.addClass("wpoi-align"),a.addClass("wpoi-align-element"))}),t(".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-x"),n=i.prev(".wpoi-element"),s=e.find("form");s.height()<n.height()&&(i.css("height",n.height()),i.addClass("wpoi-align"),s.addClass("wpoi-align-element"))}),t(".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-xl"),n=e.find(".wpoi-aside-xl > .wpoi-container"),s=i.find(".wpoi-form"),o=i.find("form"),r=i.next(".wpoi-element"),a=r.find(".wpoi-content");a.height()>o.height()&&(n.css("height",i.height()+"px"),s.addClass("wpoi-align"),o.addClass("wpoi-align-element")),a.height()<o.height()&&(r.css("height",n.height()+"px"),r.addClass("wpoi-align"),a.addClass("wpoi-align-element"))}),t(".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)").each(function(){var e=t(this),i=e.find(".wpoi-aside-xl"),n=e.find(".wpoi-aside-xl > .wpoi-container"),s=e.find(".wpoi-image"),o=i.find(".wpoi-form"),r=i.find("form"),a=i.next(".wpoi-element"),l=e.find(".wpoi-content");l.height()>n.height()&&(n.css("height",i.height()+"px"),o.css("height",n.height()-s.height()),o.addClass("wpoi-align"),r.addClass("wpoi-align-element")),l.height()<n.height()&&(a.css("height",i.height()+"px"),a.addClass("wpoi-align"),l.addClass("wpoi-align-element"))}),t(".wph-modal").each(function(){var e=t(this),i=e.find(".wph-modal--content"),n=e.find(".wph-modal--content > section"),s=i.find("section > figure"),o=e.find(".wph-modal--content > figure"),r=s.find("img"),a=o.find("img"),l=e.hasClass("wph-modal--cabriolet")&&(s.hasClass("wph-modal--image_full")||s.hasClass("wph-modal--image")&&r.height()<s.height()),h=e.hasClass("wph-modal--simple")&&(o.hasClass("wph-modal--image_full")||o.hasClass("wph-modal--image")&&a.height()<o.height()),c=e.hasClass("wph-modal--minimal")&&(s.hasClass("wph-modal--image_full")||s.hasClass("wph-modal--image")&&r.height()<s.height());(l||c)&&r.css({height:n.height()+"px",width:n.width()+"px"}),h&&a.css({height:i.height()+"px",width:i.width()+"px"});var d=e.find(".wph-modal--content header"),u=e.find(".wph-modal--content footer"),p=e.find(".wph-modal--content"),_=e.find(".wph-modal--content .wph-modal--message"),f=e.find(".wph-modal--content section"),g=e.find(".wph-modal--content .wph-modal--image"),m=e.find(".wph-modal--content .wph-modal--image img"),v=parseInt(e.data("custom_width")),w=parseInt(e.data("custom_height")),y=2*parseInt(e.data("border"));y=isNaN(y)?0:y,v&&w&&(e.css("width",v+"px"),e.css("max-width","none"),e.hasClass("wph-modal--cabriolet")&&(_.outerHeight(w-d.outerHeight(!0)-y),g.outerHeight(_.outerHeight(!0)),m.outerHeight(_.outerHeight(!0))),e.hasClass("wph-modal--simple")&&(p.outerHeight(w),g.outerHeight(p.height()),m.outerHeight(p.height())),e.hasClass("wph-modal--minimal")&&(f.outerHeight(w-(d.outerHeight(!0)+u.outerHeight(!0))-y),g.outerHeight(f.outerHeight(!0)),m.outerHeight(f.outerHeight(!0))))}),t(".wph-cc-shortcode").each(function(){var e=t(this),i=e.find(".wph-cc-shortcode--content"),n=e.find(".wph-cc-shortcode--content > section"),s=i.find("section > figure"),o=e.find(".wph-cc-shortcode--content > figure"),r=s.find("img"),a=o.find("img"),l=e.hasClass("wph-cc-shortcode--cabriolet")&&(s.hasClass("wph-cc-shortcode--image_full")||s.hasClass("wph-cc-shortcode--image")&&r.height()<s.height()),h=e.hasClass("wph-cc-shortcode--simple")&&(o.hasClass("wph-cc-shortcode--image_full")||o.hasClass("wph-cc-shortcode--image")&&a.height()<o.height()),c=e.hasClass("wph-cc-shortcode--minimal")&&(s.hasClass("wph-cc-shortcode--image_full")||s.hasClass("wph-cc-shortcode--image")&&r.height()<s.height());(l||c)&&r.css({height:n.height()+"px",width:n.width()+"px"}),h&&a.css({height:i.height()+"px",width:i.width()+"px"})})}t.each(["show","hide"],function(e,i){var n=t.fn[i];t.fn[i]=function(){return this.trigger(i),n.apply(this,arguments)}}),Optin.get_tpl=function(t){var e=["optin-layout-one","optin-layout-two","optin-layout-three","optin-layout-four"];return Optin.template(e[t])},Optin.popup={shown:[],hidden:[],long_hidden:[],is_already_shown:function(t){return-1!==this.shown.indexOf(t)},is_long_hidden:function(t){return!!Optin.cookie.get(Optin.POPUP_COOKIE_PREFIX+t.id)},show:function(t){return!this.is_long_hidden(t)&&(this.is_already_shown(t.id)?void 0:t.show())}};var s=t(".inc_opt_inline_wrap"),o=t(window);t(e).on("wpoi:display",_.debounce(n,100,!1)),t(e).on("wpoi:cc_display",_.debounce(n,100,!1)),t(window).on("resize",_.debounce(n,100,!1)),o.on("scroll resize",_.debounce(i,100,!1)),o.trigger("scroll"),t(document).on("blur","input, textarea, select",function(){var e=t(this);e.is(":input[type=button], :input[type=submit], :input[type=reset]")||(""!==e.val().trim()?e.parent().addClass("wpoi-filled"):e.parent().removeClass("wpoi-filled"))}),t(document).on("focus",".wpoi-optin input.required",function(){t(this).next("label").find("i.wphi-font").removeClass("i-error")}),Optin.render_provider_args=function(t){if(_.isEmpty(t.provider_args)||_.isEmpty(t.data.optin_provider))return"";var e=Optin.template("optin-"+t.data.optin_provider+"-args");return e(t.provider_args)},Optin.render_optin=function(i){var n=i.design.form_location.toInt(),s=Optin.get_tpl(n),o=function(){return!("mailchimp"!==i.data.optin_provider||!i.provider_args||!i.provider_args.group||"hidden"===i.provider_args.group.form_field)},r=s(_.extend({image_style:""},i.design,i.design.borders,i.data,{has_args:o()}));return t(e).trigger("wpoi:layout:rendered"),r},Optin.render_cc_shortcode=function(i){var n=Optin.template("hustle-cc-shortcode-tpl"),s=n(_.extend({},i.content,i.design));return t(e).trigger("wpoi:layout:rendered"),s};var r=!1;Optin.listen_to_exit_intend=function(){r||(t(e).on("mouseleave",_.debounce(function(i){t(e).trigger("wpoi:exit_intended",i)},100,!0)),r=!0)};var a=!1;Optin.is_adblock_enabled=function(){if(!a)return!t("#hustle_optin_adBlock_detector").length}}(jQuery,document),function(t,e,i){inc_opt.is_upfront||(Optin.View=Backbone.View.extend({isCC:!1,showClass:"wpoi-show",maskShowClass:"inc_optin_",optin_id:"",type:"",settings:{},data:{},add_never_see_again:!1,appear_after:"time",mask:!1,should_remove:!1,events:{click:"click","click .inc-opt-close-btn":"closed","click .inc_opt_never_see_again":"closed"},initialize:function(t){this.key=t.key,this.opt=Optins[this.key],this.settings=this.opt.settings[this.type],this.data=this.opt.data,this.optin_id=this.data.optin_id,this.maskClass="inc_optin_"+this.optin_id+" "+this.maskClass,this.should_display()&&(this.add_never_see_again=_.isTrue(this.settings.add_never_see_this_message),this.appear_after=this.settings.appear_after,(_.contains(["time","scrolled","adblock"],this.appear_after)||"exit_intent"===this.appear_after&&_.isTrue(this.settings.on_exit_trigger_once_per_session))&&(this.should_remove=!0),this.render())},should_display:function(){return _.isTrue(this.settings.display)&&!_.isTrue(Optin.cookie.get(Optin.POPUP_COOKIE_PREFIX+this.optin_id))},fit:function(){var e=t(i).height(),n=e/100*65,s=this.$("header").outerHeight(),o=this.$(".wph-modal--message, .wph-modal--image"),r=n-s;if(this.$el.css("max-height",n),o.css("max-height",r),"popup"===this.type&&"cabriolet"!==this.settings.style){var a=(e-n)/2;a-=1.5*a,this.$el.css("margin-top",a+"px")}},render:function(){var e='<a href="#" aria-label="Close" class="inc-opt-close-btn inc-opt-close-'+this.type+'">&times;</a>';return e+=Optin.render_optin(this.opt),data={handle:this.key,type:this.type,popup:this.opt},this.add_never_see_again&&(e+='<div class="wpoi-nsa"><a class="inc_opt_never_see_again">%s</a></div>'.replace("%s",inc_opt.l10n.never_see_again)),this.settings.animation_in&&this.$el.addClass(this.settings.animation_in),this.$el.addClass(" inc_optin_"+this.optin_id),this.$el.html(e),this.$(".wpoi-provider-args").html(Optin.render_provider_args(this.opt)),this.$el.appendTo("body"),this.$el.display=t.proxy(this,"display"),this.$el.on("show",t.proxy(this,"onShow")),this.$el.on("hide",t.proxy(this,"onHide")),this.$el.data(data),this.html=this.$el.html(),"function"==typeof Optin.Triggers[this.appear_after]?Optin.Triggers[this.appear_after].call(null,this.opt,this.settings,this.$el):console.log("Hustle:["+this.type.toUpperCase()+"] No trigger defined for "["this"].appear_after),this},display:function(){var e=this;this.$el.is("."+this.showClass)||(_.isTrue(this.isCC)&&_.isFalse(this.settings.allow_scroll_page)&&t("html").addClass("no-scroll"),this.$el.html(this.html),this.$el.removeClass(this.settings.animation_out),this.mask?this.mask.addClass("wpoi-show"):(this.mask=t('<div class="'+this.maskClass+' wpoi-overlay-mask wpoi-animate fadein"><div class="wpoi-'+this.type+'-overlay"></div></div>'),this.mask.insertBefore(this.$el).addClass("wpoi-show"),_.isFalse(this.settings.not_close_on_background_click)&&this.mask.on("click",t.proxy(this,"closed"))),this.settings.animation_in&&this.$el.addClass(this.settings.animation_in),_.delay(function(){e.$el.addClass(e.showClass),e.settings.animation_out?e.settings.animation_in?_.delay(function(){e.$el.removeClass(e.settings.animation_in),e.$el.addClass(e.settings.animation_out)},350):e.$el.addClass(e.settings.animation_out):e.settings.animation_in&&_.delay(function(){e.$el.removeClass(e.settings.animation_in)},350)},750),this.$el.trigger("show",this))},click:function(){},onShow:function(){t(document).trigger("wpoi:display",[this.type,this.$el,this.opt])},sanitize_cta_url:function(t){return t.cta_url&&(/^(f|ht)tps?:\/\//i.test(t.cta_url)||(t.cta_url="http://"+t.cta_url)),t},time_trigger:function(){if("immediately"==this.triggers.on_time)this.display();else{var e=1e3*parseInt(this.triggers.on_time_delay,10);"minutes"===this.triggers.on_time_unit?e*=60:"hours"===this.triggers.on_time_unit&&(e*=3600),_.delay(t.proxy(this,"display"),e)}},click_trigger:function(){if(""!==(selector=t.trim(this.triggers.on_click_element))){var i=t(selector);i.length&&t(e).on("click",selector,t.proxy(this,"display"))}},scroll_trigger:function(){var n=this,s=!1;if("scrolled"===this.triggers.on_scroll&&t(i).scroll(_.debounce(function(){s||100*i.pageYOffset/t(e).height()>=parseFloat(n.triggers.on_scroll_page_percent)&&(n.display(),s=!0)},50)),"selector"===this.triggers.on_scroll){var o=t(this.triggers.on_scroll_css_selector);o.length&&t(i).scroll(_.debounce(function(){s||i.pageYOffset>=o.position().top&&(n.display(),s=!0)},50))}},exit_intent_trigger:function(){_.isTrue(this.triggers.on_exit_intent)&&(_.isTrue(this.triggers.on_exit_intent_per_session)?Hustle.Events.once("exit_intended",t.proxy(this,"display")):Hustle.Events.on("exit_intended",t.proxy(this,"display")))},adblock_trigger:function(){var e=!t("#hustle_optin_adBlock_detector").length;if(e&&_.isTrue(this.triggers.on_adblock))if(_.isFalse(this.triggers.on_adblock_delayed))this.display();else{var i=1e3*parseInt(this.triggers.on_adblock_delayed_time,10);"minutes"===this.triggers.on_adblock_delayed_unit?i*=60:"hours"===this.triggers.on_adblock_delayed_unit&&(i*=3600),_.delay(t.proxy(this,"display"),i)}},never_see_again:function(){var t="popup"===this.type?Optin.POPUP_COOKIE_PREFIX:Optin.SLIDE_IN_COOKIE_PREFIX;t+=this.optin_id,Optin.cookie.set(t,this.optin_id,parseInt(this.settings.never_see_expiry,10))},closed:function(i){var n=this,s=t(i.currentTarget),o=this.isCC?_.isTrue(this.settings.close_btn_as_never_see):_.isTrue(this.settings.close_button_acts_as_never_see);return this.$el.removeClass("wpoi-show"),(s.is(".wph-modal--close .wph-icon, .inc-opt-close-"+this.type)&&o||s.is(".inc_opt_never_see_again,.wph-modal-never-see-again"))&&this.never_see_again(),_.delay(function(){n.$el.removeClass(n.showClass),n.mask.removeClass("wpoi-show")},750),this.settings.animation_in&&(this.settings.animation_out?_.delay(function(){n.$el.removeClass(n.settings.animation_out),n.$el.addClass(n.settings.animation_in)},1e3):this.$el.addClass(this.settings.animation_in)),this.settings.animation_out||(this.$el.hide(),_.defer(function(){(n.$el[0].style||{}).display=""})),_.isTrue(this.settings.close_button_acts_as_never_see_again)&&_.isTrue(this.settings.trigger_on_exit)&&t(e).off("wpoi:exit_intended"),this.settings.animation_out?_.delay(function(){n.clean()},1100):n.clean(),_.isTrue(this.isCC)&&_.isFalse(this.settings.allow_scroll_page)&&t("html").removeClass("no-scroll"),this.$el.trigger("hide",this),!1},clean:function(){this.$el.html(""),this.should_remove&&(this.$el.remove(),this.mask.remove())},onHide:function(){t(document).trigger("wpoi:hide",[this.type,this.$el,this.opt])}}))}(jQuery,document,window),function(t,e,i){if(!inc_opt.is_upfront){var n=window.Optin||{},s=Backbone.Model.extend({url:inc_opt.ajaxurl+"?action=hustle_custom_content_viewed",defaults:{page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:"",uri:encodeURI(window.location.href)},initialize:function(){this.on("error",this.server_error,this)},parse:function(t){t.success?console.log("Log success!"):console.log("Log failed!")},server_error:function(){console.log("Server error during log!")}}),o=s.extend({url:inc_opt.ajaxurl+"?action=hustle_custom_content_converted"});s=new s,o=new o,n.CCPopUp=n.View.extend({isCC:!0,showClass:"wph-modal-show",maskClass:"wph-modal--mask",cookie_key:Hustle.consts.Never_See_Aagain_Prefix,events:{click:"click","click .wph-modal--close .wph-icon":"closed","click .wph-modal--cta":"fire_conversion_event","click .wph-modal-never-see-again":"closed","submit form":"on_form_submit"},initialize:function(t){this.opt=t,this.type=t.type,this.data=t.content,this.optin_id=this.data.optin_id,this.settings=t[this.type],this.triggers=this.settings.triggers,this.appear_after=this.triggers.trigger+"_trigger",this.cookie_key+=this.type+"-"+this.optin_id,this.expiration_days=this.settings.expiration_days?parseInt(this.settings.expiration_days):0,this.should_display()&&(this.model=_.extend(this.settings,t.design,this.data,{id:this.optin_id,type:this.type,position:this.settings.position,types:{popup:t.popup,slide_in:t.slide_in}}),(_.contains(["time","scrolled","adblock"],this.triggers.trigger)||"exit_intent_trigger"===this.appear_after&&_.isTrue(this.settings.on_exit_intent_per_session))&&(this.should_remove=!0),this.render())},should_display:function(){var t=n.cookie.get(this.cookie_key);return t=parseInt(t)===parseInt(this.optin_id),this.opt.should_display[this.type]&&!_.isTrue(t)},never_see_again:function(){n.cookie.set(this.cookie_key,this.optin_id,this.expiration_days)},render:function(){this.model=_.extend(this.model,this.handle_custom_size(this.model),this.enable_fullscreen(this.model),this.sanitize_cta_url(this.model));var e=n.template("hustle-modal-tpl");e=e(this.model),this.setElement(e),this.$el.appendTo("body"),this.$el.display=t.proxy(this,"display"),this.$el.on("show",t.proxy(this,"onShow")),this.$el.on("hide",t.proxy(this,"onHide")),this.html=this.$el.html(),Hustle.Events.once("cc_modal_shown",this.logView,this),Hustle.Events.on("cc_modal_shown",this.fit,this),Hustle.Events.on("hustle_resize",this.fit,this),this[this.appear_after]()},onShow:function(){t(document).trigger("wpoi:cc_display",[this.type,this.$el,this.model]),Hustle.Events.trigger("cc_modal_shown",this,this.type)},logView:function(){s.set("type",this.type),s.set("id",this.optin_id),s.save()},fire_conversion_event:function(e){var i=t(e.currentTarget).hasClass("wph-modal--cta")?"cta":"form";Hustle.Events.trigger("cc_modal_converted",this,i),o.set("id",this.optin_id),o.set("type",this.type),o.set("source",i),o.save()},enable_fullscreen:function(t){return t.fullscreen="","popup"===this.type&&this.settings.make_fullscreen&&(t.fullscreen="wph-modal-popup-fullscreen"),t},handle_custom_size:function(t){return t.custom_size_attr="",t.custom_size_class="",t.customize_size&&_.isTrue(t.customize_size)&&(t.customize_size_class="wph-modal--custom",t.custom_size_attr+="data-custom_width="+t.custom_width+" data-custom_height="+t.custom_height),t.border&&_.isTrue(t.border)&&(t.custom_size_attr+=" data-border="+t.border_weight),t},on_form_submit:function(e){var i=t(e.target),n=this.settings.on_submit;switch(n){default:case"refresh_or_close":this.closed(e);break;case"close":case"close_after_form_submit":this.closed(e);break;case"redirect":case"redirect_to_form_target":window.location.replace(i.attr("action"));break;case"refresh_or_nothing":}}}),n.CCSlideIn=n.CCPopUp.extend({key_prefix:"",hide_all_key:"",delay_time:0,should_display:function(){this.key_prefix=Hustle.consts.Slide_Cookie_Prefix+this.optin_id,this.hide_all_key=Hustle.consts.Slide_Cookie_Hide_All+this.optin_id,this.delay_time="minutes"===this.settings.hide_after_unit?60*parseInt(this.settings.hide_after_val,10)*1e3:1e3*parseInt(this.settings.hide_after_val,10);var t=n.cookie.get(this.cookie_key);return _.isFalse(t)&&(t=n.cookie.get(this.key_prefix)),_.isFalse(t)&&(t=n.cookie.get(this.hide_all_key)),"keep_showing"===this.settings.after_close&&t&&(t=!1,n.cookie.set(this.cookie_key,this.optin_id,0),n.cookie.set(this.key_prefix,this.optin_id,0),n.cookie.set(this.hide_all_key,this.optin_id,0)),this.opt.should_display[this.type]&&!_.isTrue(t)},onShow:function(){if(_.isTrue(this.settings.hide_after)){var t=this;_.delay(function(){t.prevent_hide_after||(t.$el.removeClass(this.showClass),t.mask.trigger("click"))},this.delay_time)}n.CCPopUp.prototype.onShow.apply(this,arguments)},onHide:function(){var t=!1;"hide_all"===this.after_close&&(n.cookie.set(this.key_prefix,this.optin_id,30),t=!0),"no_show"===this.settings.after_close&&(n.cookie.set(this.hide_all_key,this.optin_id,30),t=!0),t&&(this.mask.remove(),this.remove())},click:function(){this.prevent_hide_after=!0}})}}(jQuery,document,window),function(t){inc_opt.is_upfront||(Optin=window.Optin||{},Optin.AfterContent=function(){var e,i=t(this),n=i.data("id");e=_.find(Optins,function(t){return n==t.data.optin_id}),i.data("handle",_.findKey(Optins,e)),i.data("type","after_content"),i.html(Optin.render_optin(e)),e.settings.after_content.animate&&"true"==e.settings.after_content.animate&&(i.addClass(e.settings.after_content.animation),_.delay(function(){i.addClass("wpoi-show")},750)),i.find(".wpoi-provider-args").html(Optin.render_provider_args(e)),t(document).trigger("wpoi:display",["after_content",i,e])})}(jQuery),function(t,e,i){inc_opt.is_upfront||(Optin=window.Optin||{},Optin.PopUp=Optin.View.extend({className:"inc_opt_popup wpoi-animate inc_optin",type:"popup"}))}(jQuery,document,window),function(t,e,i){inc_opt.is_upfront||(Optin=window.Optin||{},Optin.SlideIn=Optin.View.extend({className:"inc_opt_slidein inc_optin wpoi-slide",type:"slide_in",prevent_hide_after:!1,delay_time:0,should_display:function(){var t="popup"===this.type?Optin.POPUP_COOKIE_PREFIX:Optin.SLIDE_IN_COOKIE_PREFIX;t+=this.optin_id;var e=Optin.cookie.get(t);return e||(e=Optin.cookie.get(Optin.SLIDE_IN_COOKIE_PREFIX+this.optin_id)),e||(e=Optin.cookie.get(Optin.SLIDE_IN_COOKIE_HIDE_ALL+this.optin_id)),"keep_showing"===this.settings.after_close&&e&&(e=!1,Optin.cookie.set(Optin.SLIDE_IN_COOKIE_PREFIX+this.optin_id,this.optin_id,0),Optin.cookie.set(Optin.SLIDE_IN_COOKIE_HIDE_ALL+this.optin_id,this.optin_id,0),Optin.cookie.set(t,this.optin_id,0)),_.isTrue(this.settings.display)&&!_.isTrue(e)},render:function(){var t="inc_opt_slidein inc_opt_slidein_"+this.settings.position+" inc_optin wpoi-slide";this.delay_time="minutes"===this.settings.hide_after_unit?60*parseInt(this.settings.hide_after_val,10)*1e3:1e3*parseInt(this.settings.hide_after_val,10),this.$el.addClass(t),Optin.View.prototype.render.apply(this,arguments)},onShow:function(){if(this.mask.removeClass("wpoi-show"),_.isTrue(this.settings.hide_after)){var t=this;_.delay(function(){t.prevent_hide_after||(t.$el.removeClass("wpoi-show"),t.$el.trigger("hide"))},this.delay_time)}Optin.View.prototype.onShow.apply(this,arguments)},onHide:function(){var t=!1;"hide_all"===this.after_close&&(Optin.cookie.set(Optin.SLIDE_IN_COOKIE_HIDE_ALL,this.optin_id,30),t=!0),"no_show"===this.settings.after_close&&(Optin.cookie.set(Optin.SLIDE_IN_COOKIE_PREFIX+this.optin_id,this.optin_id,30),t=!0),t&&(this.mask.remove(),this.remove())},click:function(){this.prevent_hide_after=!0}}))}(jQuery,document,window),function(t){Optin=Optin||{},Optin.handle_cc_shortcode_conversion=function(e,i){var n=(t(window),t(document));t(n).on("click","a.wph-cc-shortcode--cta",function(t){var n={id:e,type:i,source:"cta"};Optin.save_cc_shortcode_conversion(n)})},Optin.save_cc_shortcode_conversion=function(e){t.ajax({type:"POST",url:inc_opt.ajaxurl,data:{action:"hustle_custom_content_converted",data:{id:e.id,page_type:inc_opt.page_type,page_id:inc_opt.page_id,type:e.type,uri:encodeURI(window.location.href),source:e.source}},success:function(t){}})};var e=_.debounce(function(){t(".inc_cc_widget_wrap, .inc_cc_shortcode_wrap").each(function(){var e=t(this),i=e.data("id"),n=e.is(".inc_cc_widget_wrap")?"widget":"shortcode";if(i){var s=_.find(Hustle_Custom_Contents,function(t){return i==t.content.optin_id});if(s){e.data("handle",_.findKey(Hustle_Custom_Contents,s)),e.data("type",n),s.design.cta_url&&(/^(f|ht)tps?:\/\//i.test(s.design.cta_url)||(s.design.cta_url="http://"+s.design.cta_url));var o=Optin.render_cc_shortcode(s);Optin.handle_cc_scroll(e,n,i),e.html(o),_.delay(function(){t(document).trigger("wpoi:cc_shortcode_or_widget_viewed",[n,i])},_.random(0,300)),Optin.handle_cc_shortcode_conversion(i,n)}}}),t(".inc_opt_widget_wrap, .inc_opt_shortcode_wrap").each(function(){var e=t(this),i=e.data("id"),n=e.is(".inc_opt_widget_wrap")?"widget":"shortcode";if(i){var s=_.find(Optins,function(t){return i==t.data.optin_id});if(s){e.data("handle",_.findKey(Optins,s)),e.data("type",n);var o=Optin.render_optin(s);Optin.handle_scroll(e,n,s),e.html(o),e.find(".wpoi-provider-args").html(Optin.render_provider_args(s)),_.delay(function(){t(document).trigger("wpoi:display",[n,e,s])},_.random(0,300))}}})},50,!0);e(),t(document).on("upfront-load",function(){e(),Upfront.Events.on("entity:object:refresh:start entity:object:refresh preview:build:start upfront:preview:build:stop",e)})}(jQuery),function(t,e,i){inc_opt.is_upfront||(t(e).on("mouseleave",t.proxy(Hustle.Events,"trigger","exit_intended")),t(window).on("resize",t.proxy(Hustle.Events,"trigger","hustle_resize")),t.each(_.keys(Optins),function(e,i){var n=Optins[i],s=n.settings,o=n.data.optin_id,r={key:i};if(s.popup&&s.popup.enabled&&!_.isTrue(Optin.cookie.get(Optin.POPUP_COOKIE_PREFIX+o))&&new Optin.PopUp(r),s.slide_in&&s.slide_in.enabled&&!_.isTrue(Optin.cookie.get(Optin.SLIDE_IN_COOKIE_HIDE_ALL))&&new Optin.SlideIn(r),s.after_content&&s.after_content.enabled){var a=t('[data-id="'+o+'"]').filter(function(){return t(this).is(".inc_opt_after_content_wrap")});a.length&&a.each(Optin.AfterContent)}}),t.each(Hustle_Custom_Contents,function(t,e){e.id=t,e.should_display&&(_.isTrue(e.should_display.popup)&&_.isTrue(e.popup.enabled)&&(e.type="popup",new Optin.CCPopUp(e)),_.isTrue(e.should_display.slide_in)&&_.isTrue(e.slide_in.enabled)&&(e.type="slide_in",new Optin.CCSlideIn(e)))}))}(jQuery,document,window);
3
  //# sourceMappingURL=maps/front.min.js.map
assets/js/front/custom-content-overlay.js CHANGED
@@ -228,8 +228,6 @@
228
  },
229
 
230
  onShow: function() {
231
- // before showing the modal, clean it first to remove garbage
232
- this.clean();
233
  if( _.isTrue( this.settings.hide_after ) ) {
234
  var me = this;
235
 
228
  },
229
 
230
  onShow: function() {
 
 
231
  if( _.isTrue( this.settings.hide_after ) ) {
232
  var me = this;
233
 
assets/js/maps/front.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["backbone-view-model-min.js","hustle.js","utils.js","modal.js","display_triggers.js","log.js","scroll.js","submit.js","front_utils.js","overlay.js","custom-content-overlay.js","after_content.js","popup.js","slide-in.js","widgets.js","ztriggers.js"],"names":["t","e","self","global","define","amd","i","r","n","Backbone","exports","require","_","jQuery","Zepto","ender","$","s","Array","prototype","slice","VERSION","noConflict","this","emulateHTTP","emulateJSON","a","o","call","arguments","unshift","apply","h","each","isFunction","isObject","_isModel","l","isString","get","matches","attributes","u","Events","c","f","context","keys","length","test","split","on","d","_events","v","ctx","listening","_listeners","id","listenTo","_listenId","uniqueId","_listeningTo","obj","objId","listeningTo","count","push","callback","off","g","listeners","stopListening","_callback","once","p","bind","listenToOnce","trigger","Math","max","m","all","concat","unbind","extend","y","Model","cid","cidPrefix","collection","parse","result","defaults","set","changed","initialize","validationError","idAttribute","toJSON","clone","sync","escape","has","iteratee","_validate","unset","silent","_changing","_previousAttributes","isEqual","_pending","clear","hasChanged","isEmpty","changedAttributes","size","previous","previousAttributes","fetch","success","B","save","validate","wait","isNew","patch","attrs","destroy","defer","url","F","replace","encodeURIComponent","constructor","isValid","b","values","pairs","invert","pick","omit","chain","x","Collection","model","comparator","_reset","reset","w","add","remove","merge","E","I","min","map","isArray","_removeModels","changes","added","merged","removed","at","sort","_prepareModel","_addReference","models","some","index","_removeReference","previousModels","pop","shift","_byId","modelId","where","findWhere","Error","sortBy","pluck","create","indexOf","splice","_onModelEvent","S","forEach","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","any","include","includes","contains","invoke","toArray","first","head","take","initial","rest","tail","drop","last","without","difference","shuffle","lastIndexOf","sample","partition","groupBy","countBy","indexBy","findIndex","findLastIndex","k","View","P","_ensureElement","T","tagName","$el","render","_removeElement","setElement","undelegateEvents","_setElement","delegateEvents","el","match","delegate","undelegate","_createElement","document","createElement","className","_setAttributes","attr","H","type","dataType","data","contentType","JSON","stringify","_method","beforeSend","setRequestHeader","processData","error","textStatus","errorThrown","xhr","ajax","update","delete","read","Router","routes","_bindRoutes","A","C","R","j","route","isRegExp","_routeToRegExp","history","_extractParameters","execute","navigate","RegExp","exec","decodeURIComponent","N","History","handlers","checkUrl","window","location","M","O","U","started","interval","atRoot","pathname","root","getSearch","matchRoot","decodeFragment","decodeURI","href","getHash","getPath","charAt","getFragment","_usePushState","_wantsHashChange","start","options","hashChange","_hasHashChange","documentMode","_useHashChange","_wantsPushState","pushState","_hasPushState","fragment","iframe","src","style","display","tabIndex","body","insertBefore","firstChild","contentWindow","open","close","hash","addEventListener","attachEvent","_checkUrlInterval","setInterval","loadUrl","stop","removeEventListener","detachEvent","removeChild","clearInterval","title","assign","_updateHash","q","__super__","Hustle","doc","win","_modules","_template_options","evaluate","interpolate","module_name","module","splits","recursive","modules","arr","_module_name","invoked","join","get_modules","__base_events","click .wph-tabs--wrap .wph-tabs--nav li label","events","init_mix","wrap","init","__base_toggle_tab","$this","target","$content","$wrap","closest","$li","not","removeClass","addClass","siblings","template","memoize","compiled","getElementById","innerHTML","create_template","str","cache","get_template_options","cookie","name","cookie_name","ca","substring","_val","value","days","date","expires","isPlainObject","isNaN","Date","setTime","getTime","toGMTString","consts","Never_See_Aagain_Prefix","Module_Show_Count","Slide_Cookie_Prefix","Slide_Cookie_Hide_All","Optin","Models","COOKIE_PREFIX","POPUP_COOKIE_PREFIX","SLIDE_IN_COOKIE_PREFIX","SLIDE_IN_COOKIE_HIDE_ALL","mixin","log","console","toBool","val","isBoolean","toLowerCase","isNumber","isUndefined","isNull","isTrue","toString","isFalse","control_base","checked","current","attribute","selected","disabled","class","conditon","cls","negating_cls","add_class","toUpperCase","findKey","predicate","cb","key","json","String","toInt","parseInt","trim","html","is","parent","Mixins","_mixins","_services_mixins","_desing_mixins","_display_mixins","get_mixins","add_services_mixin","get_services_mixins","$mask","opts","subtitle","content","animation_in","animation_out","position","click .wph-modal--close a","submit form","click .wph-modal--cta","click .wph-modal-never-see-again","type_data","types","sanitize_cta_url","enable_fullscreen","handle_custom_size_cc","clicked_background","on_form_submit","enable_body_scroll","hasOwnProperty","$close_btn","hide","preventDefault","delay","hasClass","prev","close_btn_as_never_see","never_see_again","not_close_on_background_click","show","show_count_key","current_show_count","cta_url","fullscreen","optin_provider","make_fullscreen","custom_size_attr","custom_size_class","customize_size","custom_width","custom_height","border","border_weight","allow_scroll_page","fire_conversion_event","source","expiration_days","$form","on_submit","time_trigger","optin","setting","popup","trigger_on_time","trigger_on_time_delay","appear_after_time_unit","appear_after_time_val","scroll_trigger","popup_shown","appear_after","scroll","debounce","pageYOffset","height","appear_after_page_portion_val","appear_after_element_val","top","click_trigger","trigger_on_element_click","$clickable","optin_id","exit_intent_trigger","trigger_on_exit","listen_to_exit_intend","on_exit_trigger_once_per_session","one","adblock_trigger","trigger_on_adblock","is_adblock_enabled","trigger_on_adblock_timed","trigger_on_adblock_delay","trigger_on_adblock_timed_unit","trigger_on_adblock_timed_val","Triggers","time","scrolled","click","exit_intent","adblock","$optin","prev_shown_count","is_test","settings","inc_opt","ajaxurl","action","page_type","page_id","uri","encodeURI","res","cc_id","handle_scroll","$win","$doc","evt","rect","getBoundingClientRect","left","bottom","innerHeight","documentElement","clientHeight","right","innerWidth","clientWidth","handle_cc_scroll","validate_form","requireds","errors","error_class","next","$button","$popup","handle","delay_id","Optins","$failure","l10n","submit_failure","clearTimeout","form","serialize","$formParent","design","page_redirect_url","on_success","on_success_time","on_success_unit","popup_close","message","after","complete","closeSuccessContent","parentDiv","parents","$successDiv","check_if_in_view","window_height","$window","window_top_position","scrollTop","window_bottom_position","$animation_elements","$element","element_height","outerHeight","element_top_position","offset","element_bottom_position","add_proper_classes","$parent","width","css","padding","background","$child","$aside","$div","$col","$sidebar","$image","$section","$figure","$figtwo","$imgtwo","$cabriolet","$simple","$minimal","$header","$footer","$modal_content","$modal_message","$modal_message_section","$modal_image","$modal_img","ev","fn","get_tpl","layout_id","templates","shown","hidden","long_hidden","is_already_shown","popup_id","is_long_hidden","optin_obj","render_provider_args","optin_data","provider_args","provider_args_tpl","render_optin","layout","form_location","tpl","_show_args","group","form_field","image_style","borders","has_args","render_cc_shortcode","listening_to_exit_intent","checking_adblock","is_upfront","isCC","showClass","maskShowClass","add_never_see_again","mask","should_remove","click .inc-opt-close-btn","click .inc_opt_never_see_again","opt","maskClass","should_display","add_never_see_this_message","fit","max_height","header_height","containers","message_height","appendTo","proxy","me","onShow","triggers","on_time","on_time_delay","on_time_unit","selector","on_click_element","on_scroll","parseFloat","on_scroll_page_percent","on_scroll_css_selector","on_exit_intent","on_exit_intent_per_session","on_adblock","on_adblock_delayed","on_adblock_delayed_time","on_adblock_delayed_unit","cookie_key","never_see_expiry","closed","sender","currentTarget","is_never_see","close_button_acts_as_never_see","close_button_acts_as_never_see_again","clean","onHide","logView","server_error","logConversion","CCPopUp","click .wph-modal--close .wph-icon","slide_in","never_see","handle_custom_size","customize_size_class","CCSlideIn","key_prefix","hide_all_key","delay_time","hide_after_unit","hide_after_val","opt_cookie_never_see","after_close","hide_after","prevent_hide_after","AfterContent","after_content","animate","animation","PopUp","SlideIn","cLass","handle_cc_shortcode_conversion","cc_data","save_cc_shortcode_conversion","inc_opt_render_widgets","cc","Hustle_Custom_Contents","random","Upfront","args","enabled","uniq_id"],"mappings":"CAAA,SAAAA,GAAA,GAAAC,GAAA,gBAAAC,OAAAA,KAAAA,OAAAA,MAAAA,MAAA,gBAAAC,SAAAA,OAAAA,SAAAA,QAAAA,MAAA,IAAA,kBAAAC,SAAAA,OAAAC,IAAAD,QAAA,aAAA,SAAA,WAAA,SAAAE,EAAAC,EAAAC,GAAAP,EAAAQ,SAAAT,EAAAC,EAAAO,EAAAF,EAAAC,SAAA,IAAA,mBAAAG,SAAA,CAAA,GAAAH,GAAAD,EAAAK,QAAA,aAAA,KAAAJ,EAAAI,QAAA,UAAA,MAAAH,IAAAR,EAAAC,EAAAS,QAAAJ,EAAAC,OAAAN,GAAAQ,SAAAT,EAAAC,KAAAA,EAAAW,EAAAX,EAAAY,QAAAZ,EAAAa,OAAAb,EAAAc,OAAAd,EAAAe,IAAA,SAAAhB,EAAAC,EAAAK,EAAAC,GAAA,GAAAC,GAAAR,EAAAS,SAAAQ,EAAAC,MAAAC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,EAAAgL,SAAA8B,UACA1uB,EAAA6Z,OAAAhB,MAAArB,OAAA7V,IAAAkX,MAAAK,4BACA,GAAAL,OAAAkV,QAAAU,GAIA7M,EAAA+L,eAAA/L,EAAA+L,cAAAe,QAAA,CACA,GAAAf,GAAAvtB,EAAA,aAAAkgB,EAAA,MAAA/U,OAAA,WACA,MAAAnL,GAAAO,MAAA2a,GAAA,gCAGAqS,GAAAvrB,QACAurB,EAAAtsB,KAAAwX,MAAA6U,iBAMAttB,EAAAiB,KAAAitB,uBAAA,SAAAK,EAAAN,GACAA,EAAAvrB,GAAA6rB,EAEAN,EAAAnE,iBAEAlqB,EAAA6Z,OAAAwU,EAAAnE,eAAA9K,QAAApf,EAAA6Z,OAAAwU,EAAAjP,MAAAsP,WACAL,EAAAzf,KAAA,QACA,GAAAiK,OAAA6T,QAAA2B,IAIAruB,EAAA6Z,OAAAwU,EAAAnE,eAAA0C,WAAA5sB,EAAA6Z,OAAAwU,EAAAzB,SAAA8B,WACAL,EAAAzf,KAAA,WACA,GAAAiK,OAAAmU,UAAAqB,SAIApuB,OAAAqO,SAAA6C","file":"../front.min.js","sourcesContent":["(function(t){var e=typeof self==\"object\"&&self.self===self&&self||typeof global==\"object\"&&global.global===global&&global;if(typeof define===\"function\"&&define.amd){define([\"underscore\",\"jquery\",\"exports\"],function(i,r,n){e.Backbone=t(e,n,i,r)})}else if(typeof exports!==\"undefined\"){var i=require(\"underscore\"),r;try{r=require(\"jquery\")}catch(n){}t(e,exports,i,r)}else{e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}})(function(t,e,i,r){var n=t.Backbone;var s=Array.prototype.slice;e.VERSION=\"1.3.3\";e.$=r;e.noConflict=function(){t.Backbone=n;return this};e.emulateHTTP=false;e.emulateJSON=false;var a=function(t,e,r){switch(t){case 1:return function(){return i[e](this[r])};case 2:return function(t){return i[e](this[r],t)};case 3:return function(t,n){return i[e](this[r],o(t,this),n)};case 4:return function(t,n,s){return i[e](this[r],o(t,this),n,s)};default:return function(){var t=s.call(arguments);t.unshift(this[r]);return i[e].apply(i,t)}}};var h=function(t,e,r){i.each(e,function(e,n){if(i[n])t.prototype[n]=a(e,n,r)})};var o=function(t,e){if(i.isFunction(t))return t;if(i.isObject(t)&&!e._isModel(t))return l(t);if(i.isString(t))return function(e){return e.get(t)};return t};var l=function(t){var e=i.matches(t);return function(t){return e(t.attributes)}};var u=e.Events={};var c=/\\s+/;var f=function(t,e,r,n,s){var a=0,h;if(r&&typeof r===\"object\"){if(n!==void 0&&\"context\"in s&&s.context===void 0)s.context=n;for(h=i.keys(r);a<h.length;a++){e=f(t,e,h[a],r[h[a]],s)}}else if(r&&c.test(r)){for(h=r.split(c);a<h.length;a++){e=t(e,h[a],n,s)}}else{e=t(e,r,n,s)}return e};u.on=function(t,e,i){return d(this,t,e,i)};var d=function(t,e,i,r,n){t._events=f(v,t._events||{},e,i,{context:r,ctx:t,listening:n});if(n){var s=t._listeners||(t._listeners={});s[n.id]=n}return t};u.listenTo=function(t,e,r){if(!t)return this;var n=t._listenId||(t._listenId=i.uniqueId(\"l\"));var s=this._listeningTo||(this._listeningTo={});var a=s[n];if(!a){var h=this._listenId||(this._listenId=i.uniqueId(\"l\"));a=s[n]={obj:t,objId:n,id:h,listeningTo:s,count:0}}d(t,e,r,this,a);return this};var v=function(t,e,i,r){if(i){var n=t[e]||(t[e]=[]);var s=r.context,a=r.ctx,h=r.listening;if(h)h.count++;n.push({callback:i,context:s,ctx:s||a,listening:h})}return t};u.off=function(t,e,i){if(!this._events)return this;this._events=f(g,this._events,t,e,{context:i,listeners:this._listeners});return this};u.stopListening=function(t,e,r){var n=this._listeningTo;if(!n)return this;var s=t?[t._listenId]:i.keys(n);for(var a=0;a<s.length;a++){var h=n[s[a]];if(!h)break;h.obj.off(e,r,this)}return this};var g=function(t,e,r,n){if(!t)return;var s=0,a;var h=n.context,o=n.listeners;if(!e&&!r&&!h){var l=i.keys(o);for(;s<l.length;s++){a=o[l[s]];delete o[a.id];delete a.listeningTo[a.objId]}return}var u=e?[e]:i.keys(t);for(;s<u.length;s++){e=u[s];var c=t[e];if(!c)break;var f=[];for(var d=0;d<c.length;d++){var v=c[d];if(r&&r!==v.callback&&r!==v.callback._callback||h&&h!==v.context){f.push(v)}else{a=v.listening;if(a&&--a.count===0){delete o[a.id];delete a.listeningTo[a.objId]}}}if(f.length){t[e]=f}else{delete t[e]}}return t};u.once=function(t,e,r){var n=f(p,{},t,e,i.bind(this.off,this));if(typeof t===\"string\"&&r==null)e=void 0;return this.on(n,e,r)};u.listenToOnce=function(t,e,r){var n=f(p,{},e,r,i.bind(this.stopListening,this,t));return this.listenTo(t,n)};var p=function(t,e,r,n){if(r){var s=t[e]=i.once(function(){n(e,s);r.apply(this,arguments)});s._callback=r}return t};u.trigger=function(t){if(!this._events)return this;var e=Math.max(0,arguments.length-1);var i=Array(e);for(var r=0;r<e;r++)i[r]=arguments[r+1];f(m,this._events,t,void 0,i);return this};var m=function(t,e,i,r){if(t){var n=t[e];var s=t.all;if(n&&s)s=s.slice();if(n)_(n,r);if(s)_(s,[e].concat(r))}return t};var _=function(t,e){var i,r=-1,n=t.length,s=e[0],a=e[1],h=e[2];switch(e.length){case 0:while(++r<n)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<n)(i=t[r]).callback.call(i.ctx,s);return;case 2:while(++r<n)(i=t[r]).callback.call(i.ctx,s,a);return;case 3:while(++r<n)(i=t[r]).callback.call(i.ctx,s,a,h);return;default:while(++r<n)(i=t[r]).callback.apply(i.ctx,e);return}};u.bind=u.on;u.unbind=u.off;i.extend(e,u);var y=e.Model=function(t,e){var r=t||{};e||(e={});this.cid=i.uniqueId(this.cidPrefix);this.attributes={};if(e.collection)this.collection=e.collection;if(e.parse)r=this.parse(r,e)||{};var n=i.result(this,\"defaults\");r=i.defaults(i.extend({},n,r),n);this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};i.extend(y.prototype,u,{changed:null,validationError:null,idAttribute:\"id\",cidPrefix:\"c\",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return this.get(t)!=null},matches:function(t){return!!i.iteratee(t,this)(this.attributes)},set:function(t,e,r){if(t==null)return this;var n;if(typeof t===\"object\"){n=t;r=e}else{(n={})[t]=e}r||(r={});if(!this._validate(n,r))return false;var s=r.unset;var a=r.silent;var h=[];var o=this._changing;this._changing=true;if(!o){this._previousAttributes=i.clone(this.attributes);this.changed={}}var l=this.attributes;var u=this.changed;var c=this._previousAttributes;for(var f in n){e=n[f];if(!i.isEqual(l[f],e))h.push(f);if(!i.isEqual(c[f],e)){u[f]=e}else{delete u[f]}s?delete l[f]:l[f]=e}if(this.idAttribute in n)this.id=this.get(this.idAttribute);if(!a){if(h.length)this._pending=r;for(var d=0;d<h.length;d++){this.trigger(\"change:\"+h[d],this,l[h[d]],r)}}if(o)return this;if(!a){while(this._pending){r=this._pending;this._pending=false;this.trigger(\"change\",this,r)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:true}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,i.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!i.isEmpty(this.changed);return i.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?i.clone(this.changed):false;var e=this._changing?this._previousAttributes:this.attributes;var r={};for(var n in t){var s=t[n];if(i.isEqual(e[n],s))continue;r[n]=s}return i.size(r)?r:false},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=i.extend({parse:true},t);var e=this;var r=t.success;t.success=function(i){var n=t.parse?e.parse(i,t):i;if(!e.set(n,t))return false;if(r)r.call(t.context,e,i,t);e.trigger(\"sync\",e,i,t)};B(this,t);return this.sync(\"read\",this,t)},save:function(t,e,r){var n;if(t==null||typeof t===\"object\"){n=t;r=e}else{(n={})[t]=e}r=i.extend({validate:true,parse:true},r);var s=r.wait;if(n&&!s){if(!this.set(n,r))return false}else if(!this._validate(n,r)){return false}var a=this;var h=r.success;var o=this.attributes;r.success=function(t){a.attributes=o;var e=r.parse?a.parse(t,r):t;if(s)e=i.extend({},n,e);if(e&&!a.set(e,r))return false;if(h)h.call(r.context,a,t,r);a.trigger(\"sync\",a,t,r)};B(this,r);if(n&&s)this.attributes=i.extend({},o,n);var l=this.isNew()?\"create\":r.patch?\"patch\":\"update\";if(l===\"patch\"&&!r.attrs)r.attrs=n;var u=this.sync(l,this,r);this.attributes=o;return u},destroy:function(t){t=t?i.clone(t):{};var e=this;var r=t.success;var n=t.wait;var s=function(){e.stopListening();e.trigger(\"destroy\",e,e.collection,t)};t.success=function(i){if(n)s();if(r)r.call(t.context,e,i,t);if(!e.isNew())e.trigger(\"sync\",e,i,t)};var a=false;if(this.isNew()){i.defer(t.success)}else{B(this,t);a=this.sync(\"delete\",this,t)}if(!n)s();return a},url:function(){var t=i.result(this,\"urlRoot\")||i.result(this.collection,\"url\")||F();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\\/]$/,\"$&/\")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend({},t,{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=i.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;if(!r)return true;this.trigger(\"invalid\",this,r,i.extend(e,{validationError:r}));return false}});var b={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};h(y,b,\"attributes\");var x=e.Collection=function(t,e){e||(e={});if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,i.extend({silent:true},e))};var w={add:true,remove:true,merge:true};var E={add:true,remove:false};var I=function(t,e,i){i=Math.min(Math.max(i,0),t.length);var r=Array(t.length-i);var n=e.length;var s;for(s=0;s<r.length;s++)r[s]=t[s+i];for(s=0;s<n;s++)t[s+i]=e[s];for(s=0;s<r.length;s++)t[s+n+i]=r[s]};i.extend(x.prototype,u,{model:y,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:false},e,E))},remove:function(t,e){e=i.extend({},e);var r=!i.isArray(t);t=r?[t]:t.slice();var n=this._removeModels(t,e);if(!e.silent&&n.length){e.changes={added:[],merged:[],removed:n};this.trigger(\"update\",this,e)}return r?n[0]:n},set:function(t,e){if(t==null)return;e=i.extend({},w,e);if(e.parse&&!this._isModel(t)){t=this.parse(t,e)||[]}var r=!i.isArray(t);t=r?[t]:t.slice();var n=e.at;if(n!=null)n=+n;if(n>this.length)n=this.length;if(n<0)n+=this.length+1;var s=[];var a=[];var h=[];var o=[];var l={};var u=e.add;var c=e.merge;var f=e.remove;var d=false;var v=this.comparator&&n==null&&e.sort!==false;var g=i.isString(this.comparator)?this.comparator:null;var p,m;for(m=0;m<t.length;m++){p=t[m];var _=this.get(p);if(_){if(c&&p!==_){var y=this._isModel(p)?p.attributes:p;if(e.parse)y=_.parse(y,e);_.set(y,e);h.push(_);if(v&&!d)d=_.hasChanged(g)}if(!l[_.cid]){l[_.cid]=true;s.push(_)}t[m]=_}else if(u){p=t[m]=this._prepareModel(p,e);if(p){a.push(p);this._addReference(p,e);l[p.cid]=true;s.push(p)}}}if(f){for(m=0;m<this.length;m++){p=this.models[m];if(!l[p.cid])o.push(p)}if(o.length)this._removeModels(o,e)}var b=false;var x=!v&&u&&f;if(s.length&&x){b=this.length!==s.length||i.some(this.models,function(t,e){return t!==s[e]});this.models.length=0;I(this.models,s,0);this.length=this.models.length}else if(a.length){if(v)d=true;I(this.models,a,n==null?this.length:n);this.length=this.models.length}if(d)this.sort({silent:true});if(!e.silent){for(m=0;m<a.length;m++){if(n!=null)e.index=n+m;p=a[m];p.trigger(\"add\",p,this,e)}if(d||b)this.trigger(\"sort\",this,e);if(a.length||o.length||h.length){e.changes={added:a,removed:o,merged:h};this.trigger(\"update\",this,e)}}return r?t[0]:t},reset:function(t,e){e=e?i.clone(e):{};for(var r=0;r<this.models.length;r++){this._removeReference(this.models[r],e)}e.previousModels=this.models;this._reset();t=this.add(t,i.extend({silent:true},e));if(!e.silent)this.trigger(\"reset\",this,e);return t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return s.apply(this.models,arguments)},get:function(t){if(t==null)return void 0;return this._byId[t]||this._byId[this.modelId(t.attributes||t)]||t.cid&&this._byId[t.cid]},has:function(t){return this.get(t)!=null},at:function(t){if(t<0)t+=this.length;return this.models[t]},where:function(t,e){return this[e?\"find\":\"filter\"](t)},findWhere:function(t){return this.where(t,true)},sort:function(t){var e=this.comparator;if(!e)throw new Error(\"Cannot sort a set without a comparator\");t||(t={});var r=e.length;if(i.isFunction(e))e=i.bind(e,this);if(r===1||i.isString(e)){this.models=this.sortBy(e)}else{this.models.sort(e)}if(!t.silent)this.trigger(\"sort\",this,t);return this},pluck:function(t){return this.map(t+\"\")},fetch:function(t){t=i.extend({parse:true},t);var e=t.success;var r=this;t.success=function(i){var n=t.reset?\"reset\":\"set\";r[n](i,t);if(e)e.call(t.context,r,i,t);r.trigger(\"sync\",r,i,t)};B(this,t);return this.sync(\"read\",this,t)},create:function(t,e){e=e?i.clone(e):{};var r=e.wait;t=this._prepareModel(t,e);if(!t)return false;if(!r)this.add(t,e);var n=this;var s=e.success;e.success=function(t,e,i){if(r)n.add(t,i);if(s)s.call(i.context,t,e,i)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||\"id\"]},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(this._isModel(t)){if(!t.collection)t.collection=this;return t}e=e?i.clone(e):{};e.collection=this;var r=new this.model(t,e);if(!r.validationError)return r;this.trigger(\"invalid\",this,r.validationError,e);return false},_removeModels:function(t,e){var i=[];for(var r=0;r<t.length;r++){var n=this.get(t[r]);if(!n)continue;var s=this.indexOf(n);this.models.splice(s,1);this.length--;delete this._byId[n.cid];var a=this.modelId(n.attributes);if(a!=null)delete this._byId[a];if(!e.silent){e.index=s;n.trigger(\"remove\",n,this,e)}i.push(n);this._removeReference(n,e)}return i},_isModel:function(t){return t instanceof y},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes);if(i!=null)this._byId[i]=t;t.on(\"all\",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes);if(i!=null)delete this._byId[i];if(this===t.collection)delete t.collection;t.off(\"all\",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if(e){if((t===\"add\"||t===\"remove\")&&i!==this)return;if(t===\"destroy\")this.remove(e,r);if(t===\"change\"){var n=this.modelId(e.previousAttributes());var s=this.modelId(e.attributes);if(n!==s){if(n!=null)delete this._byId[n];if(s!=null)this._byId[s]=e}}}this.trigger.apply(this,arguments)}});var S={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};h(x,S,\"models\");var k=e.View=function(t){this.cid=i.uniqueId(\"view\");i.extend(this,i.pick(t,P));this._ensureElement();this.initialize.apply(this,arguments)};var T=/^(\\S+)\\s*(.*)$/;var P=[\"model\",\"collection\",\"el\",\"id\",\"attributes\",\"className\",\"tagName\",\"events\"];i.extend(k.prototype,u,{tagName:\"div\",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this._removeElement();this.stopListening();return this},_removeElement:function(){this.$el.remove()},setElement:function(t){this.undelegateEvents();this._setElement(t);this.delegateEvents();return this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t);this.el=this.$el[0]},delegateEvents:function(t){t||(t=i.result(this,\"events\"));if(!t)return this;this.undelegateEvents();for(var e in t){var r=t[e];if(!i.isFunction(r))r=this[r];if(!r)continue;var n=e.match(T);this.delegate(n[1],n[2],i.bind(r,this))}return this},delegate:function(t,e,i){this.$el.on(t+\".delegateEvents\"+this.cid,e,i);return this},undelegateEvents:function(){if(this.$el)this.$el.off(\".delegateEvents\"+this.cid);return this},undelegate:function(t,e,i){this.$el.off(t+\".delegateEvents\"+this.cid,e,i);return this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(!this.el){var t=i.extend({},i.result(this,\"attributes\"));if(this.id)t.id=i.result(this,\"id\");if(this.className)t[\"class\"]=i.result(this,\"className\");this.setElement(this._createElement(i.result(this,\"tagName\")));this._setAttributes(t)}else{this.setElement(i.result(this,\"el\"))}},_setAttributes:function(t){this.$el.attr(t)}});e.sync=function(t,r,n){var s=H[t];i.defaults(n||(n={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:s,dataType:\"json\"};if(!n.url){a.url=i.result(r,\"url\")||F()}if(n.data==null&&r&&(t===\"create\"||t===\"update\"||t===\"patch\")){a.contentType=\"application/json\";a.data=JSON.stringify(n.attrs||r.toJSON(n))}if(n.emulateJSON){a.contentType=\"application/x-www-form-urlencoded\";a.data=a.data?{model:a.data}:{}}if(n.emulateHTTP&&(s===\"PUT\"||s===\"DELETE\"||s===\"PATCH\")){a.type=\"POST\";if(n.emulateJSON)a.data._method=s;var h=n.beforeSend;n.beforeSend=function(t){t.setRequestHeader(\"X-HTTP-Method-Override\",s);if(h)return h.apply(this,arguments)}}if(a.type!==\"GET\"&&!n.emulateJSON){a.processData=false}var o=n.error;n.error=function(t,e,i){n.textStatus=e;n.errorThrown=i;if(o)o.call(n.context,t,e,i)};var l=n.xhr=e.ajax(i.extend(a,n));r.trigger(\"request\",r,l,n);return l};var H={create:\"POST\",update:\"PUT\",patch:\"PATCH\",\"delete\":\"DELETE\",read:\"GET\"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var A=/\\((.*?)\\)/g;var C=/(\\(\\?)?:\\w+/g;var R=/\\*\\w+/g;var j=/[\\-{}\\[\\]+?.,\\\\\\^$|#\\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,n){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){n=r;r=\"\"}if(!n)n=this[r];var s=this;e.history.route(t,function(i){var a=s._extractParameters(t,i);if(s.execute(n,a,r)!==false){s.trigger.apply(s,[\"route:\"+r].concat(a));s.trigger(\"route\",r,a);e.history.trigger(\"route\",s,r,a)}});return this},execute:function(t,e,i){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,\"routes\");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(j,\"\\\\$&\").replace(A,\"(?:$1)?\").replace(C,function(t,e){return e?t:\"([^/?]+)\"}).replace(R,\"([^?]*?)\");return new RegExp(\"^\"+t+\"(?:\\\\?([\\\\s\\\\S]*))?$\")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):null})}});var N=e.History=function(){this.handlers=[];this.checkUrl=i.bind(this.checkUrl,this);if(typeof window!==\"undefined\"){this.location=window.location;this.history=window.history}};var M=/^[#\\/]|\\s+$/g;var O=/^\\/+|\\/+$/g;var U=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){var t=this.location.pathname.replace(/[^\\/]$/,\"$&/\");return t===this.root&&!this.getSearch()},matchRoot:function(){var t=this.decodeFragment(this.location.pathname);var e=t.slice(0,this.root.length-1)+\"/\";return e===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,\"%2525\"))},getSearch:function(){var t=this.location.href.replace(/#.*/,\"\").match(/\\?.+/);return t?t[0]:\"\"},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:\"\"},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return t.charAt(0)===\"/\"?t.slice(1):t},getFragment:function(t){if(t==null){if(this._usePushState||!this._wantsHashChange){t=this.getPath()}else{t=this.getHash()}}return t.replace(M,\"\")},start:function(t){if(N.started)throw new Error(\"Backbone.history has already been started\");N.started=true;this.options=i.extend({root:\"/\"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._hasHashChange=\"onhashchange\"in window&&(document.documentMode===void 0||document.documentMode>7);this._useHashChange=this._wantsHashChange&&this._hasHashChange;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.history&&this.history.pushState);this._usePushState=this._wantsPushState&&this._hasPushState;this.fragment=this.getFragment();this.root=(\"/\"+this.root+\"/\").replace(O,\"/\");if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||\"/\";this.location.replace(e+\"#\"+this.getPath());return true}else if(this._hasPushState&&this.atRoot()){this.navigate(this.getHash(),{replace:true})}}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement(\"iframe\");this.iframe.src=\"javascript:0\";this.iframe.style.display=\"none\";this.iframe.tabIndex=-1;var r=document.body;var n=r.insertBefore(this.iframe,r.firstChild).contentWindow;n.document.open();n.document.close();n.location.hash=\"#\"+this.fragment}var s=window.addEventListener||function(t,e){return attachEvent(\"on\"+t,e)};if(this._usePushState){s(\"popstate\",this.checkUrl,false)}else if(this._useHashChange&&!this.iframe){s(\"hashchange\",this.checkUrl,false)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}if(!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent(\"on\"+t,e)};if(this._usePushState){t(\"popstate\",this.checkUrl,false)}else if(this._useHashChange&&!this.iframe){t(\"hashchange\",this.checkUrl,false)}if(this.iframe){document.body.removeChild(this.iframe);this.iframe=null}if(this._checkUrlInterval)clearInterval(this._checkUrlInterval);N.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getHash(this.iframe.contentWindow)}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()},loadUrl:function(t){if(!this.matchRoot())return false;t=this.fragment=this.getFragment(t);return i.some(this.handlers,function(e){if(e.route.test(t)){e.callback(t);return true}})},navigate:function(t,e){if(!N.started)return false;if(!e||e===true)e={trigger:!!e};t=this.getFragment(t||\"\");var i=this.root;if(t===\"\"||t.charAt(0)===\"?\"){i=i.slice(0,-1)||\"/\"}var r=i+t;t=this.decodeFragment(t.replace(U,\"\"));if(this.fragment===t)return;this.fragment=t;if(this._usePushState){this.history[e.replace?\"replaceState\":\"pushState\"]({},document.title,r)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var n=this.iframe.contentWindow;if(!e.replace){n.document.open();n.document.close()}this._updateHash(n.location,t,e.replace)}}else{return this.location.assign(r)}if(e.trigger)return this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,\"\");t.replace(r+\"#\"+e)}else{t.hash=\"#\"+e}}});e.history=new N;var q=function(t,e){var r=this;var n;if(t&&i.has(t,\"constructor\")){n=t.constructor}else{n=function(){return r.apply(this,arguments)}}i.extend(n,r,e);n.prototype=i.create(r.prototype,t);n.prototype.constructor=n;n.__super__=r.prototype;return n};y.extend=x.extend=$.extend=k.extend=N.extend=q;var F=function(){throw new Error('A \"url\" property or function must be specified')};var B=function(t,e){var i=e.error;e.error=function(r){if(i)i.call(e.context,t,r,e);t.trigger(\"error\",t,r,e)}};return e});","(function( $ ) {\r\n \"use strict\";\r\n\r\n /**\r\n * Defines the Hustle Object\r\n *\r\n * @type {{define, get_modules, get, modules}}\r\n */\r\n window.Hustle = (function ($, doc, win) {\r\n var _modules = {},\r\n _template_options = {\r\n evaluate: /<#([\\s\\S]+?)#>/g,\r\n interpolate: /\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/g,\r\n escape: /\\{\\{([^\\}]+?)\\}\\}(?!\\})/g\r\n };\r\n\r\n var define = function (module_name, module) {\r\n var splits = module_name.split(\".\");\r\n if (splits.length) { // if module_name has more than one object name, then add the module definition recursively\r\n var recursive = function (module_name, modules) {\r\n var arr = module_name.split(\".\"),\r\n _module_name = arr.splice(0, 1)[0];\r\n\r\n if (!_module_name) return;\r\n\r\n\r\n if (!arr.length) {\r\n var invoked = module.call(null, $, doc, win);\r\n modules[_module_name] = _.isFunction(invoked) || typeof invoked === \"undefined\" ? invoked : _.extend(modules[_module_name] || {}, invoked);\r\n } else {\r\n modules[_module_name] = modules[_module_name] || {};\r\n }\r\n\r\n if (arr.length && _module_name)\r\n recursive(arr.join(\".\"), modules[_module_name]);\r\n };\r\n\r\n recursive(module_name, _modules);\r\n } else {\r\n var m = _modules[module_name] || {};\r\n _modules[module_name] = _.extend(m, module.call(null, $, doc, win));\r\n }\r\n },\r\n get_modules = function () {\r\n return _modules;\r\n },\r\n get = function (module_name) {\r\n if (module_name.split(\".\").length) { // recursively fetch the module\r\n var module = false,\r\n recursive = function (module_name, modules) {\r\n var arr = module_name.split(\".\"),\r\n _module_name = arr.splice(0, 1)[0];\r\n\r\n module = modules[_module_name];\r\n\r\n if (arr.length)\r\n recursive(arr.join(\".\"), modules[_module_name])\r\n };\r\n\r\n recursive(module_name, _modules);\r\n return module;\r\n }\r\n\r\n return _modules[module_name] || false;\r\n },\r\n Events = _.extend({}, Backbone.Events),\r\n View = Backbone.View.extend({\r\n __base_events:{\r\n \"click .wph-tabs--wrap .wph-tabs--nav li label\": \"__base_toggle_tab\"\r\n },\r\n initialize: function () {\r\n this.events = _.extend({}, this.events, this.__base_events);\r\n\r\n if (_.isFunction(this.init_mix))\r\n this.init_mix.apply(this, arguments);\r\n\r\n\r\n\r\n if (this.render) {\r\n this.render = _.wrap(this.render, function (render) {\r\n this.trigger(\"before_render\");\r\n render.call(this);\r\n Events.trigger(\"view.rendered\", this);\r\n this.trigger(\"rendered\");\r\n });\r\n }\r\n\r\n if (_.isFunction(this.init))\r\n this.init.apply(this, arguments);\r\n },\r\n __base_toggle_tab: function(e){\r\n var $this = this.$( e.target ),\r\n href = ( $this.attr(\"href\") || \"\" ).replace(/^\\#/, \"\"),\r\n $content = href ? this.$( \"#\" + href ) : false,\r\n $wrap = $this.closest(\".wph-tabs--wrap\"),\r\n $li = $this.closest(\"li\");\r\n\r\n if( $content && $content.length ){\r\n $wrap.find( \".wph-tabs--content\" ).not( $content ).removeClass(\"current\");\r\n $content.addClass(\"current\");\r\n $li.addClass(\"current\");\r\n $li.siblings().removeClass(\"current\");\r\n }\r\n }\r\n }),\r\n template = _.memoize(function ( id ) {\r\n var compiled;\r\n return function ( data ) {\r\n compiled = compiled || _.template( document.getElementById( id ).innerHTML, null, _template_options );\r\n return compiled( data ).replace(\"/*<![CDATA[*/\", \"\").replace(\"/*]]>*/\", \"\");\r\n };\r\n }),\r\n create_template = _.memoize(function( str ){\r\n var cache;\r\n return function(data){\r\n cache = cache || _.template( str, null, _template_options );\r\n return cache( data );\r\n };\r\n }),\r\n get_template_options = function(){\r\n return $.extend( true, {}, _template_options );\r\n },\r\n cookie = (function(){\r\n // Get a cookie value.\r\n var get = function (name) {\r\n var i, c, cookie_name, value,\r\n ca = document.cookie.split(';');\r\n\r\n\r\n cookie_name = name + \"=\";\r\n\r\n for (i = 0; i < ca.length; i += 1) {\r\n c = ca[i];\r\n while (c.charAt(0) === ' ') {\r\n c = c.substring(1, c.length);\r\n }\r\n if (c.indexOf(cookie_name) === 0) {\r\n var _val = c.substring(cookie_name.length, c.length);\r\n return !_val ? _val : JSON.parse(_val);\r\n }\r\n }\r\n return null;\r\n };\r\n\r\n // Saves the value into a cookie.\r\n var set = function (name, value, days) {\r\n var date, expires;\r\n\r\n value = $.isArray(value) || $.isPlainObject(value) ? JSON.stringify(value) : value;\r\n\r\n if (!isNaN(days)) {\r\n date = new Date();\r\n date.setTime(date.getTime() + ( days * 24 * 60 * 60 * 1000 ));\r\n expires = \"; expires=\" + date.toGMTString();\r\n } else {\r\n expires = \"\";\r\n }\r\n\r\n document.cookie = name + \"=\" + value + expires + \"; path=/\";\r\n };\r\n return {\r\n set: set,\r\n get: get\r\n }\r\n }()),\r\n consts = (function(){\r\n return {\r\n Never_See_Aagain_Prefix: \"hustle_never_see_again-\",\r\n Module_Show_Count: \"hustle_module_show_count-\",\r\n\t\t\t\t\tSlide_Cookie_Prefix: 'hustle_slide_in_prefix-',\r\n\t\t\t\t\tSlide_Cookie_Hide_All: 'hustle_slide_in_hide_all-'\r\n };\r\n }());\r\n\r\n return {\r\n define: define,\r\n get_modules: get_modules,\r\n get: get,\r\n Events: Events,\r\n View: View,\r\n template: template,\r\n create_template: create_template,\r\n get_template_options: get_template_options,\r\n cookie: cookie,\r\n consts: consts\r\n };\r\n }(jQuery, document, window) );\r\n\r\n}(jQuery));","\"use strict\";\r\nvar Optin = Optin || {};\r\n\r\nOptin.View = {};\r\nOptin.Models = {};\r\nOptin.Events = {};\r\n\r\nif( typeof Backbone !== \"undefined\")\r\n _.extend(Optin.Events, Backbone.Events);\r\n(function( $ ) {\r\n\r\n Optin.COOKIE_PREFIX = \"inc_optin_long_hidden-\";\r\n Optin.POPUP_COOKIE_PREFIX = \"inc_optin_popup_long_hidden-\";\r\n Optin.SLIDE_IN_COOKIE_PREFIX = \"inc_optin_slide_in_long_hidden-\";\r\n Optin.SLIDE_IN_COOKIE_HIDE_ALL = \"inc_optin_slide_in_hide_all\";\r\n\r\n _.mixin({\r\n /**\r\n * Logs to console\r\n */\r\n log: function(){\r\n console.log( arguments );\r\n },\r\n /**\r\n * Converts val to boolian\r\n *\r\n * @param val\r\n * @returns {*}\r\n */\r\n toBool: function(val){\r\n if( _.isBoolean(val) )\r\n return val;\r\n\r\n if( _.isString( val ) && [\"true\", \"false\", \"1\"].indexOf( val.toLowerCase() ) !== -1 ){\r\n return val.toLowerCase() === \"true\" || val.toLowerCase() === \"1\" ? true : false;\r\n }\r\n\r\n if( _.isNumber( val ) )\r\n return !!val;\r\n\r\n if(_.isUndefined( val ) || _.isNull(val) || _.isNaN( val ) )\r\n return false;\r\n\r\n return val;\r\n },\r\n /**\r\n * Checks if val is truthy\r\n *\r\n * @param val\r\n * @returns {boolean}\r\n */\r\n isTrue: function(val) {\r\n if( _.isUndefined( val ) || _.isNull( val ) || _.isNaN( val ) )\r\n return false;\r\n\r\n if( _.isNumber( val ) )\r\n return val !== 0;\r\n\r\n val = val.toString().toLowerCase();\r\n return ['1', \"true\", \"on\"].indexOf( val ) !== -1;\r\n },\r\n isFalse: function(val){\r\n return !_.isTrue( val );\r\n },\r\n control_base: function(checked, current, attribute){\r\n attribute = _.isUndefined( attribute ) ? \"checked\" : attribute;\r\n checked = _.toBool(checked);\r\n current = _.isBoolean( checked ) ? _.isTrue( current ) : current;\r\n\r\n if(_.isEqual(checked, current )){\r\n return attribute + '=' + attribute;\r\n }\r\n return \"\";\r\n },\r\n /**\r\n * Returns checked=check if checked variable is equal to current state\r\n *\r\n *\r\n * @param checked checked state\r\n * @param current current state\r\n * @returns {*}\r\n */\r\n checked: function(checked, current){\r\n return _.control_base( checked, current, \"checked\" );\r\n },\r\n /**\r\n * Adds selected attribute\r\n *\r\n * @param selected\r\n * @param current\r\n * @returns {*}\r\n */\r\n selected: function(selected, current){\r\n return _.control_base( selected, current, \"selected\" );\r\n },\r\n /**\r\n * Adds disabled attribute\r\n *\r\n * @param disabled\r\n * @param current\r\n * @returns {*}\r\n */\r\n disabled: function( disabled, current ){\r\n return _.control_base( disabled, current, \"disabled\" );\r\n },\r\n /**\r\n * Returns css class based on the passed in condition\r\n *\r\n * @param conditon\r\n * @param cls\r\n * @param negating_cls\r\n * @returns {*}\r\n */\r\n class: function( conditon, cls, negating_cls ){\r\n\r\n if( _.isTrue( conditon ) )\r\n return cls;\r\n\r\n return typeof negating_cls !== \"undefined\" ? negating_cls : \"\";\r\n },\r\n /**\r\n * Returns class attribute with relevant class name\r\n *\r\n * @param conditon\r\n * @param cls\r\n * @param negating_cls\r\n * @returns {string}\r\n */\r\n add_class: function( conditon, cls, negating_cls ){\r\n return 'class={class}'.replace( \"{class}\", _.class( conditon, cls, negating_cls ) );\r\n },\r\n toUpperCase: function(str){\r\n return _.isString( str ) ? str.toUpperCase() : \"\";\r\n }\r\n });\r\n\r\n if( !_.findKey ) {\r\n _.mixin({\r\n findKey: function(obj, predicate, context) {\r\n predicate = cb(predicate, context);\r\n var keys = _.keys(obj), key;\r\n for (var i = 0, length = keys.length; i < length; i++) {\r\n key = keys[i];\r\n if (predicate(obj[key], key, obj)) return key;\r\n }\r\n }\r\n });\r\n }\r\n /**\r\n * Recursive toJSON\r\n *\r\n * @returns {*}\r\n */\r\n Backbone.Model.prototype.toJSON = function() {\r\n var json = _.clone(this.attributes);\r\n for(var attr in json) {\r\n if((json[attr] instanceof Backbone.Model) || (Backbone.Collection && json[attr] instanceof Backbone.Collection)) {\r\n json[attr] = json[attr].toJSON();\r\n }\r\n }\r\n return json;\r\n };\r\n\r\n\r\n String.prototype.toInt = function(){\r\n return parseInt(this, 10);\r\n };\r\n\r\n String.prototype.isEmpty = function() {\r\n return (this.length === 0 || !this.trim());\r\n };\r\n\r\n Optin.template = _.memoize(function ( id ) {\r\n var compiled,\r\n\r\n options = {\r\n evaluate: /<#([\\s\\S]+?)#>/g,\r\n interpolate: /\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/g,\r\n escape: /\\{\\{([^\\}]+?)\\}\\}(?!\\})/g\r\n };\r\n\r\n return function ( data ) {\r\n compiled = compiled || _.template( $( '#' + id ).html(), null, options );\r\n return compiled( data ).replace(\"/*<![CDATA[*/\", \"\").replace(\"/*]]>*/\", \"\");\r\n };\r\n });\r\n\r\n Optin.cookie = Hustle.cookie;\r\n\r\n $(document).on('blur', 'input, textarea, select', function(){\r\n\t var $this = $(this);\r\n\t if($this.is(':input[type=button], :input[type=submit], :input[type=reset]')) return;\r\n\t if( $this.val() && $this.val().trim && $this.val().trim() !== '' ) {\r\n\t\t $this.parent().addClass('wpoi-filled');\r\n\t\t} else{\r\n $this.parent().removeClass('wpoi-filled');\r\n }\r\n });\r\n\r\n Optin.Mixins = {\r\n _mixins: {},\r\n _services_mixins: {},\r\n _desing_mixins: {},\r\n _display_mixins: {},\r\n add: function(id, obj){\r\n this._mixins[id] = obj;\r\n },\r\n get_mixins: function(){\r\n return this._mixins;\r\n },\r\n add_services_mixin: function( id, obj ){\r\n this._services_mixins[id] = obj;\r\n },\r\n get_services_mixins: function(){\r\n return this._services_mixins;\r\n }\r\n };\r\n\r\n\r\n})( jQuery );\r\n","Hustle.define(\"Modal\", function($){\r\n \"use strict\";\r\n\r\n return Backbone.View.extend({\r\n template: Optin.template(\"hustle-modal-tpl\"),\r\n $mask: $('<div class=\"wph-modal--mask\"></div>'),\r\n opts: {\r\n\r\n },\r\n data:{\r\n id: \"\",\r\n type: \"popup\",\r\n style: \"\",\r\n title: \"\",\r\n subtitle: \"\",\r\n content: \"Content\",\r\n animation_in: \"\",\r\n animation_out: \"\",\r\n position: \"\"\r\n },\r\n events:{\r\n \"click .wph-modal--close a\": \"hide\",\r\n \"submit form\": \"fire_conversion_event\",\r\n \"click .wph-modal--cta\": \"fire_conversion_event\",\r\n \"click .wph-modal-never-see-again\": \"never_see_again\"\r\n },\r\n initialize: function( options ){\r\n this.opts = _.extend( {}, this.opts, options );\r\n if( options.template )\r\n this.template = options.template;\r\n\r\n this.render();\r\n return this;\r\n },\r\n render: function(){\r\n var data = _.extend( {}, this.data, this.model.toJSON() );\r\n\r\n this.type_data = data.types[ data.type ];\r\n\r\n this.animation_in = data.animation_in = data.types[ data.type ].animation_in || data.animation_in;\r\n this.animation_out = data.animation_out = data.types[ data.type ].animation_out || data.animation_out;\r\n\r\n data.position = data.types[ data.type ].position || data.position;\r\n\t\t\t\r\n\t\t\t// check cta_url if preceeds http\r\n\t\t\tdata = this.sanitize_cta_url(data);\r\n\t\t\t\r\n\t\t\t// enable fullscreen\r\n\t\t\tdata = this.enable_fullscreen(data);\r\n\t\t\t\r\n\t\t\t// handle custom size for custom content\r\n\t\t\tdata = this.handle_custom_size_cc(data);\r\n\t\t\t\r\n this.setElement( this.template( data ) );\r\n\r\n this.$mask = this.$mask.clone();\r\n this.$mask.on(\"click\", _.bind( this.clicked_background, this ) );\r\n\r\n this.$el.find( \"form\" ).on(\"submit\", _.bind( this.on_form_submit, this ) );\r\n\t\t\t\r\n\t\t\t// check if CC and scroll enabled\r\n\t\t\tthis.enable_body_scroll(data);\r\n\t\t\t\r\n\t\t\t// hide close button if on admin\r\n\t\t\tif( window.hasOwnProperty( \"optin_vars\" ) ) {\r\n\t\t\t\tvar $close_btn = this.$el.find('a.wph-icon.i-close');\r\n\t\t\t\tif ( $close_btn.length ) $close_btn.parent().hide();\r\n\t\t\t}\r\n\t\t\t\r\n return this;\r\n },\r\n hide: function(e){\r\n var self = this;\r\n if( e )\r\n e.preventDefault();\r\n\t\t\t\r\n if ( self.animation_in !== self.animation_out ) self.$el.removeClass( self.animation_in );\r\n _.delay(function(){\r\n\t\t\t\tif ( self.animation_out && !self.$el.hasClass(self.animation_out) ) {\r\n\t\t\t\t\tself.$el.addClass( self.animation_out );\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t_.delay( function(){\r\n\t\t\t\t\tself.$el.removeClass(\"wph-modal-show\");\r\n\t\t\t\t\tself.$el.prev(\".wph-modal--mask\").remove();\r\n\t\t\t\t\tHustle.Events.trigger(\"hide_modal\", self );\r\n\t\t\t\t\tself.trigger(\"hidden\");\r\n\t\t\t\t\t\r\n\t\t\t\t\t// only for close button\r\n\t\t\t\t\tif( _.isTrue( self.type_data.close_btn_as_never_see ) && e && $(e.target).hasClass('wph-icon i-close') )\r\n\t\t\t\t\t\tself.never_see_again( e );\r\n }, 550 );\r\n\r\n }, 350);\r\n\t\t\t\r\n\t\t\t// remove any no-scroll class on html\r\n\t\t\t$('html').removeClass('no-scroll');\r\n },\r\n\t\tclicked_background: function(e){\r\n\t\t\tif ( !_.isTrue( this.type_data.not_close_on_background_click ) ) {\r\n\t\t\t\tthis.hide(e);\r\n\t\t\t}\r\n\t\t},\r\n show:function(){\r\n var self = this;\r\n if( !window.hasOwnProperty( \"optin_vars\" ) ){ // don't set cookie in admin\r\n var show_count_key = Hustle.consts.Module_Show_Count + this.model.get(\"type\") + \"-\" + this.model.get(\"id\"),\r\n current_show_count = Hustle.cookie.get( show_count_key );\r\n\r\n Hustle.cookie.set( show_count_key, current_show_count + 1, 90 );\r\n }\r\n\t\t\t\r\n if ( self.animation_in !== self.animation_out ) self.$el.removeClass( self.animation_out );\r\n _.delay( function(){\r\n self.$el.addClass(\"wph-modal-show\");\r\n self.trigger(\"shown\", self, self.model.get(\"type\"));\r\n Hustle.Events.trigger(\"show_modal\", self, self.model.get(\"type\") );\r\n\r\n _.delay( function(){\r\n\t\t\t\t\tif ( self.animation_in && !self.$el.hasClass(self.animation_in) ) {\r\n\t\t\t\t\t\tself.$el.addClass( self.animation_in );\r\n\t\t\t\t\t}\r\n }, 350 );\r\n\r\n }, 550 );\r\n\r\n },\r\n\t\tsanitize_cta_url: function( data ) {\r\n\t\t\tif ( data.cta_url ) {\r\n\t\t\t\tif (!/^(f|ht)tps?:\\/\\//i.test(data.cta_url)) {\r\n\t\t\t\t\tdata.cta_url = \"http://\" + data.cta_url;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\t\tenable_fullscreen: function( data ) {\r\n\t\t\tdata.fullscreen = '';\r\n\t\t\t// only for custom content popup\r\n\t\t\tif ( !data || typeof data.optin_provider === 'undefined' || typeof data.type === 'undefined' ) {\r\n\t\t\t\treturn data;\r\n\t\t\t}\r\n\t\t\tif ( data.optin_provider == 'custom_content' && data.type == 'popup' ) {\r\n\t\t\t\tif ( typeof this.type_data.make_fullscreen === 'undefined' ) {\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t}\r\n\t\t\t\tif ( _.isTrue( this.type_data.make_fullscreen ) ) {\r\n\t\t\t\t\tdata.fullscreen = 'wph-modal-popup-fullscreen';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\t\thandle_custom_size_cc: function( data ){\r\n\t\t\tdata.custom_size_attr = '';\r\n\t\t\tdata.custom_size_class = '';\r\n\t\t\t// only for custom content\r\n\t\t\tif ( !data || typeof data.optin_provider === 'undefined' ) {\r\n\t\t\t\treturn data;\r\n\t\t\t}\r\n\t\t\tif ( data.optin_provider == 'custom_content' ) {\r\n\t\t\t\tif ( _.isTrue( data.customize_size ) ) {\r\n\t\t\t\t\tdata.custom_size_class = 'wph-modal--custom';\r\n\t\t\t\t\tdata.custom_size_attr += 'data-custom_width='+ data.custom_width +' data-custom_height='+ data.custom_height +'';\r\n\t\t\t\t}\r\n\t\t\t\tif ( _.isTrue( data.border ) ) {\r\n\t\t\t\t\tdata.custom_size_attr += ' data-border='+ data.border_weight;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\t\tenable_body_scroll: function( data ) {\r\n\t\t\t// only for custom content popup\r\n\t\t\tif ( !data || typeof data.optin_provider === 'undefined' || typeof data.type === 'undefined' ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif ( data.optin_provider == 'custom_content' && data.type == 'popup' ) {\r\n\t\t\t\tif ( typeof this.type_data.allow_scroll_page === 'undefined' ) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif ( _.isTrue( this.type_data.allow_scroll_page ) ) {\r\n\t\t\t\t\t$('html').addClass('can-scroll');\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$('html').addClass('no-scroll');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n fire_conversion_event: function( e ){\r\n var source = $(e.target).hasClass( \"wph-modal--cta\" ) ? \"cta\" : \"form\";\r\n Hustle.Events.trigger(\"cc_modal_converted\", this, source);\r\n this.trigger(\"converted\", this, source);\r\n },\r\n never_see_again: function(e){\r\n if( e )\r\n e.preventDefault();\r\n\r\n if( !window.hasOwnProperty( \"optin_vars\" ) ) // don't set cookie in admin\r\n Hustle.cookie.set( Hustle.consts.Never_See_Aagain_Prefix + this.model.get(\"type\") + \"-\" + this.model.get(\"id\") , this.model.get(\"id\"), this.type_data.expiration_days );\r\n\r\n // do not hide if close button to avoid infinite loop\r\n\t\t\tif ( e && !$(e.target).hasClass('wph-icon i-close') ) {\r\n\t\t\t\tthis.hide();\r\n\t\t\t}\r\n },\r\n on_form_submit: function(e){\r\n var self = this,\r\n $form = $(e.target),\r\n on_submit = this.type_data.on_submit;\r\n\r\n switch ( on_submit ){\r\n case \"close\":\r\n self.hide();\r\n break;\r\n case \"redirect\":\r\n window.location.replace( $form.attr(\"action\") );\r\n break;\r\n case \"default\":\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n }\r\n });\r\n});","\"use strict\";\r\n(function( $, doc, win ) {\r\n\r\n var time_trigger = function( optin, setting, popup ){\r\n if( \"immediately\" === setting.trigger_on_time ){\r\n popup.display();\r\n }\r\n\r\n if( \"time\" === setting.trigger_on_time ){\r\n var trigger_on_time_delay;\r\n switch( setting.appear_after_time_unit ){\r\n case \"minutes\":\r\n trigger_on_time_delay = parseInt( setting.appear_after_time_val, 10 ) * 60 * 1000;\r\n break;\r\n case \"hours\":\r\n trigger_on_time_delay = parseInt( setting.appear_after_time_val, 10 ) * 60 * 60 * 1000;\r\n break;\r\n default:\r\n trigger_on_time_delay = parseInt( setting.appear_after_time_val, 10 ) * 1000;\r\n }\r\n\r\n _.delay(function(){\r\n popup.display();\r\n }, trigger_on_time_delay);\r\n }\r\n };\r\n\r\n var scroll_trigger = function( optin, setting, popup ){\r\n\t\tvar popup_shown = false;\r\n\r\n if( \"scrolled\" === setting.appear_after ){\r\n $(win).scroll(_.debounce( function(){\r\n\t\t\t\tif ( popup_shown ) return;\r\n\r\n if( ( win.pageYOffset * 100 / $(doc).height() ) >= parseInt( setting.appear_after_page_portion_val, 10 ) ) {\r\n popup.display();\r\n\t\t\t\t\tpopup_shown = true;\r\n }\r\n\r\n }, 50) );\r\n }\r\n\r\n if( \"selector\" === setting.appear_after ){\r\n var $el = $( setting.appear_after_element_val );\r\n if( $el.length ){\r\n $(win).scroll(_.debounce( function(){\r\n\t\t\t\t\tif ( popup_shown ) return;\r\n\r\n if( win.pageYOffset >= $el.position().top ) {\r\n popup.display();\r\n\t\t\t\t\t\tpopup_shown = true;\r\n }\r\n\r\n }, 50));\r\n }\r\n }\r\n };\r\n\r\n var click_trigger = function( optin, setting, popup ){\r\n if( \"\" !== $.trim( setting.trigger_on_element_click ) ){\r\n var $clickable = $( $.trim( setting.trigger_on_element_click ) );\r\n if( $clickable.length )\r\n $(doc).on( \"click\", $.trim( setting.trigger_on_element_click ), popup.display);\r\n }\r\n\r\n /**\r\n * Clickable button added with shortcode\r\n */\r\n $(doc).on(\"click\", \".inc_opt_hustle_shortcode_trigger\", function(e){\r\n e.preventDefault();\r\n if( $(this).data(\"id\") == optin.data.optin_id ) {\r\n\t\t\t\tpopup.display();\r\n\t\t\t}\r\n });\r\n };\r\n\r\n var exit_intent_trigger = function( optin, setting, popup ){\r\n if(_.isTrue( setting.trigger_on_exit ) ){\r\n Optin.listen_to_exit_intend();\r\n if(_.isTrue( setting.on_exit_trigger_once_per_session ) ){\r\n $(doc).one(\"wpoi:exit_intended\", popup.display);\r\n }else{\r\n $(doc).on(\"wpoi:exit_intended\", popup.display);\r\n }\r\n \r\n }\r\n };\r\n\r\n\r\n var adblock_trigger = function( optin, setting, popup ) {\r\n if(_.isTrue( setting.trigger_on_adblock ) ){\r\n\r\n if( !Optin.is_adblock_enabled() ) return;\r\n\r\n if( !_.isTrue( setting.trigger_on_adblock_timed ) ){\r\n popup.display();\r\n }else{\r\n var trigger_on_adblock_delay;\r\n switch( setting.trigger_on_adblock_timed_unit ){\r\n case \"minutes\":\r\n trigger_on_adblock_delay = parseInt( setting.trigger_on_adblock_timed_val, 10 ) * 60 * 1000;\r\n break;\r\n case \"hours\":\r\n trigger_on_adblock_delay = parseInt( setting.trigger_on_adblock_timed_val, 10 ) * 60 * 60 * 1000;\r\n break;\r\n default:\r\n trigger_on_adblock_delay = parseInt( setting.trigger_on_adblock_timed_val, 10 ) * 1000;\r\n }\r\n\r\n _.delay(function(){\r\n popup.display();\r\n }, trigger_on_adblock_delay);\r\n }\r\n\r\n }\r\n };\r\n\r\n Optin.Triggers = {\r\n time: time_trigger,\r\n scroll: scroll_trigger,\r\n scrolled: scroll_trigger,\r\n click: click_trigger,\r\n exit_intent: exit_intent_trigger,\r\n adblock: adblock_trigger\r\n };\r\n\r\n}(jQuery, document, window));","(function( $ ) {\r\n\r\n /**\r\n * Log optin view when it's being viewed\r\n */\r\n $(document).on(\"wpoi:display\", function (e, type, $optin, optin) {\r\n\r\n /**\r\n * Log number of times this optin type has been shown so far\r\n *\r\n * @type {string}\r\n */\r\n var k = 'wpoi-optin-{type}-shown-count-'.replace(\"{type}\", type) + optin.data.optin_id,\r\n prev_shown_count = Optin.cookie.get( k ) || 0,\r\n is_test = type && optin.settings[type].is_test;\r\n\r\n if( !is_test )\r\n Optin.cookie.set( k , prev_shown_count + 1 , 30 );\r\n\r\n $.ajax({\r\n type: \"POST\",\r\n url: inc_opt.ajaxurl,\r\n dataType: \"json\",\r\n data: {\r\n action: \"inc_opt_optin_viewed\",\r\n data: {\r\n optin_id: optin.data.optin_id,\r\n page_type: inc_opt.page_type,\r\n page_id: inc_opt.page_id,\r\n type: type,\r\n uri: encodeURI( window.location.href )\r\n }\r\n },\r\n success: function (res) {}\r\n });\r\n });\r\n\t\r\n\t/**\r\n * Log CC shortcode or widget when it's being viewed\r\n */\r\n\t$(document).on(\"wpoi:cc_shortcode_or_widget_viewed\", function (e, type, cc_id) {\r\n\t\t$.ajax({\r\n\t\t\ttype: \"POST\",\r\n\t\t\turl: inc_opt.ajaxurl,\r\n\t\t\tdata: {\r\n\t\t\t\taction: \"hustle_custom_content_viewed\",\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tid: cc_id,\r\n\t\t\t\t\tpage_type: inc_opt.page_type,\r\n\t\t\t\t\tpage_id: inc_opt.page_id,\r\n\t\t\t\t\ttype: type,\r\n\t\t\t\t\turi: encodeURI( window.location.href )\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tsuccess: function (res) {}\r\n\t\t});\r\n\t});\r\n\r\n}(jQuery));","(function( $ ) {\r\n Optin = Optin || {};\r\n Optin.handle_scroll = function( $el, type, optin ){\r\n var $win = $(window),\r\n $doc = $(document);\r\n\r\n $win.on('scroll', _.debounce( function (evt) {\r\n\r\n var el = $el[0];\r\n\r\n var rect = el.getBoundingClientRect();\r\n\r\n if (\r\n rect.top >= 0 &&\r\n rect.left >= 0 &&\r\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /*or $(window).height() */\r\n rect.right <= (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */\r\n ) {\r\n $win.off(evt);\r\n $el.addClass(\"wpoi-show\");\r\n $doc.trigger(\"wpoi:display\", [type, $el, optin ]);\r\n }\r\n\r\n }, 5, true) );\r\n\r\n }\r\n\tOptin.handle_cc_scroll = function( $el, type, id ){\r\n var $win = $(window),\r\n $doc = $(document);\r\n\r\n $win.on('scroll', _.debounce( function (evt) {\r\n\r\n var el = $el[0];\r\n\r\n var rect = el.getBoundingClientRect();\r\n\r\n if (\r\n rect.top >= 0 &&\r\n rect.left >= 0 &&\r\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\r\n rect.right <= (window.innerWidth || document.documentElement.clientWidth)\r\n ) {\r\n $win.off(evt);\r\n $doc.trigger(\"wpoi:cc_shortcode_or_widget_viewed\", [type, id ]);\r\n }\r\n\r\n }, 5, true) );\r\n\r\n }\r\n}(jQuery));","(function( $ ) {\r\n\r\n\r\n function validate_form( $form, is_test ){\r\n var requireds = $form.find(\".required\"),\r\n $icon = $('<i class=\"wphi-font wphi-error\"></i>'),\r\n errors = [];\r\n $('.wpoi-field-error').remove();\r\n requireds.each(function(){\r\n var $this = $(this),\r\n error_class = $this.attr(\"name\") + \"_\" + \"error\";\r\n\r\n if( is_test ){\r\n //$icon = $icon.clone().addClass( error_class ).attr(\"title\", inc_opt.l10n.test_cant_submit );\r\n //$this.after( $icon );\r\n $this.next('label').find('i.wphi-font').addClass('wphi-error');\r\n errors.push( $this );\r\n return errors;\r\n }\r\n\r\n if( _.isEmpty( this.value ) || ( $this.is(\"[type='email']\") && !this.value.trim().match( /^[\\S]+\\@[a-zA-Z0-9\\-]+\\.[\\S]{2,}$/gi ) ) ){\r\n //$icon = $icon.clone().addClass( error_class ).attr(\"title\", $this.data(\"error\") );\r\n //$this.next('label').find('i.wphi-email').after($icon);\r\n $this.next('label').find('i.wphi-font').addClass('wphi-error');\r\n errors.push( $this );\r\n }else{\r\n $(\".\" + error_class).remove();\r\n }\r\n\r\n });\r\n\r\n return errors.length === 0;\r\n }\r\n\r\n $(document).on(\"submit\", '.inc_optin form',function(e){\r\n e.preventDefault();\r\n var $form = $(e.target),\r\n $button = $form.find(\"button\"),\r\n $popup = $form.closest( '.inc_optin'),\r\n handle = $popup.data( 'handle'),\r\n delay_id = $popup.data(\"delay_id\"),\r\n optin = Optins[ handle ],\r\n self = this,\r\n $wrap = $(this).closest('.wpoi-optin > .wpoi-container'),\r\n type = $form.closest(\".inc_optin\").data(\"type\"),\r\n is_test = type && optin.settings[type].is_test,\r\n get_success_message = function(){\r\n return optin.design.success_message.replace(\"{name}\", optin.data.optin_name);\r\n },\r\n $failure = $(\"<span class='wpoi-submit-failure'>\" + inc_opt.l10n.submit_failure + \"</span>\")\r\n ;\r\n\r\n\r\n $form.parent().find('.wpoi-submit-failure').remove();\r\n\r\n if( !_.isUndefined( delay_id ) )\r\n clearTimeout( delay_id );\r\n\r\n if( $form.data(\"sending\") || !validate_form( $form, is_test ) ) return;\r\n\r\n $button.attr(\"disabled\", true);\r\n $button.addClass(\"loading\");\r\n $form.addClass(\"loading\");\r\n\r\n $form.data(\"sending\", true);\r\n\r\n $.ajax({\r\n type: \"POST\",\r\n url: inc_opt.ajaxurl,\r\n dataType: \"json\",\r\n data: {\r\n action: \"inc_opt_submit_opt_in\",\r\n data: {\r\n form: $form.serialize(),\r\n optin_id: optin.data.optin_id,\r\n page_type: inc_opt.page_type,\r\n page_id: inc_opt.page_id,\r\n uri: encodeURI( window.location.href ),\r\n type: type\r\n }\r\n },\r\n success: function(res){\r\n if( res && res.success ){\r\n //$form.html( \"\" );\r\n var $formParent = $form.closest(\".wpoi-hustle\");\r\n //$formParent.find(\".wpoi-form-title\").fadeOut();\r\n\r\n if( optin.design.hasOwnProperty(\"on_submit\") && optin.design.on_submit === \"page_redirect\" ){\r\n window.location.replace( optin.design.page_redirect_url );\r\n }else{\r\n $formParent.find(\".wpoi-success-message\").addClass(\"wpoi-show-message\");\r\n\r\n\t\t\t\t\t\tif ( optin.design.hasOwnProperty('on_success') && 'autoclose' === optin.design.on_success ) {\r\n\t\t\t\t\t\t\tvar on_success_time = parseInt( optin.design.on_success_time ),\r\n\t\t\t\t\t\t\t\ton_success_unit = optin.design.on_success_unit;\r\n\r\n\t\t\t\t\t\t\tif ( 'm' === on_success_unit ) {\r\n\t\t\t\t\t\t\t\ton_success_time *= 60;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\ton_success_time *= 1000;\r\n\t\t\t\t\t\t\t_.delay(function(){\r\n\t\t\t\t\t\t\t\tvar popup_close = $(self).closest(\".inc_optin\").find(\".inc-opt-close-popup\");\r\n\r\n\t\t\t\t\t\t\t\tif ( popup_close.length > 0 ) {\r\n\t\t\t\t\t\t\t\t\tpopup_close.trigger(\"click\");\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t$formParent.find( '.wpoi-success-message' ).removeClass( 'wpoi-show-message' );\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, on_success_time );\r\n\t\t\t\t\t\t}\r\n }\r\n\r\n }else{\r\n\t\t\t\t\tvar message = res.data ? res.data.pop() : inc_opt.l10n.submit_failure;\r\n\t\t\t\t\t$failure.html( message ? message : inc_opt.l10n.submit_failure );\r\n\r\n $form.after( $failure );\r\n }\r\n },\r\n error: function(){\r\n $form.after( $failure );\r\n },\r\n complete: function(){\r\n $button.attr(\"disabled\", false);\r\n $form.removeClass(\"loading\");\r\n $button.removeClass(\"loading\");\r\n $form.data(\"sending\", false);\r\n }\r\n });\r\n\r\n });\r\n\r\n\tvar closeSuccessContent = function() {\r\n\t\tvar target = $(this),\r\n\t\t\tparentDiv = target.parents( '.wpoi-hustle' ),\r\n\t\t\t$form = $( 'form', parentDiv ),\r\n\t\t\t$successDiv = $( '.wpoi-success-message', parentDiv );\r\n\t\t$successDiv.removeClass( 'wpoi-show-message' );\r\n\t};\r\n\r\n\t$(document).on( 'click', '.wpoi-success-close', closeSuccessContent );\r\n\r\n}(jQuery));","var Optin = Optin || {};\r\n(function( $, doc ) {\r\n \"use strict\";\r\n $.each(['show', 'hide'], function (i, ev) {\r\n var el = $.fn[ev];\r\n $.fn[ev] = function () {\r\n this.trigger(ev);\r\n return el.apply(this, arguments);\r\n };\r\n });\r\n\r\n\r\n /**\r\n * Set optin id from the html template\r\n */\r\n\r\n Optin.get_tpl = function( layout_id ){\r\n var templates = [\"optin-layout-one\", \"optin-layout-two\", \"optin-layout-three\", \"optin-layout-four\"];\r\n return Optin.template( templates[ layout_id ] );\r\n };\r\n\r\n\r\n\r\n Optin.popup = {\r\n shown:[],\r\n hidden:[],\r\n long_hidden: [],\r\n is_already_shown: function( popup_id ){\r\n return -1 !== this.shown.indexOf( popup_id );\r\n },\r\n is_long_hidden: function(optin_obj){\r\n return !!Optin.cookie.get( Optin.POPUP_COOKIE_PREFIX + optin_obj.id );\r\n },\r\n show: function( optin_obj ){\r\n\r\n if( this.is_long_hidden( optin_obj ) )\r\n return false;\r\n\r\n if( !this.is_already_shown( optin_obj.id ) )\r\n return optin_obj.show();\r\n\r\n }\r\n };\r\n\r\n // posts/pages bounce in animation\r\n var $animation_elements = $('.inc_opt_inline_wrap');\r\n var $window = $(window);\r\n\r\n function check_if_in_view() {\r\n var window_height = $window.height();\r\n var window_top_position = $window.scrollTop();\r\n var window_bottom_position = (window_top_position + window_height);\r\n\r\n $.each($animation_elements, function() {\r\n var $element = $(this);\r\n var element_height = $element.outerHeight();\r\n var element_top_position = $element.offset().top;\r\n var element_bottom_position = (element_top_position + element_height);\r\n\r\n //check to see if this current container is within viewport\r\n if ((element_bottom_position >= window_top_position) &&\r\n (element_top_position <= window_bottom_position)) {\r\n $element.addClass('in-view');\r\n } else {\r\n $element.removeClass('in-view');\r\n }\r\n });\r\n }\r\n\r\n function add_proper_classes(e, type, $popup, data){\r\n if( ( e.type === \"wpoi:display\" || e.type === \"wpoi:cc_display\" ) && type === \"popup\" ){\r\n (function (){\r\n var $parent = type === \"popup\" ? $(window) : $(this),\r\n $this = $popup.find(\".wpoi-hustle\");\r\n if ( $parent.width() <= 405){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-small\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-small\");\r\n }\r\n\r\n if ( ( $parent.width() <= 585) && ($parent.width() > 405) ){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-medium\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-medium\");\r\n }\r\n }());\r\n }else{\r\n $(\".wpoi-hustle\").each(function(){\r\n var $parent = type === \"popup\" ? $(window) : $(this),\r\n $this = $(this);\r\n if ( $parent.width() <= 405){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-small\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-small\");\r\n }\r\n\r\n if ( ( $parent.width() <= 585) && ($parent.width() > 405) ){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-medium\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-medium\");\r\n }\r\n });\r\n }\r\n\r\n $(\".wpoi-mcg-select\").each(function(){\r\n\t $(this).parent(\".wpoi-provider-args > .wpoi-container > .wpoi-element:nth-child(2) > .wpoi-container > .wpoi-element\").css({\"padding\":\"0\",\"background\":\"transparent\"});\r\n });\r\n \r\n // Layout #3\r\n // Set height of image container same to parent div\r\n // This to avoid Safari conflicts with [ height: 100% ]\r\n $(\".wpoi-layout-three .wpoi-optin:not(.wpoi-small) .nocontent:not(.noimage)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$parent = $this.find(\".wpoi-aside-x\").prev(\".wpoi-element\"),\r\n\t \t$child = $this.find(\".wpoi-aside-x\").prev(\".wpoi-element\").find(\".wpoi-container.wpoi-col\");\r\n\t $child.css(\"height\", $parent.height());\r\n });\r\n \r\n // Layout #3\r\n // Vertical align content\r\n $(\".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$aside = $this.find(\".wpoi-aside-x\"),\r\n\t \t$div = $this.find(\".wpoi-image\").next(\".wpoi-element\"),\r\n\t \t$element = $aside.prev(\".wpoi-element\"),\r\n\t \t$content = $this.find(\".wpoi-content\"),\r\n\t \t$col = $element.find(\".wpoi-col\"),\r\n\t \t$form = $this.find(\"form\");\r\n\t \r\n\t if ( $form.height() > $content.height() ){\r\n\t\t $col.css(\"height\", $aside.height() + 'px' );\r\n\t\t $div.addClass(\"wpoi-align\");\r\n\t\t $content.addClass(\"wpoi-align-element\");\r\n\t }\r\n\t if ( $form.height() < $content.height() ){\r\n\t\t $aside.css(\"height\", $element.height() + 'px');\r\n\t\t $aside.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n $(\".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$sidebar = $this.find(\".wpoi-aside-x\"),\r\n\t \t$element = $sidebar.prev(\".wpoi-element\"),\r\n\t \t$form = $this.find(\"form\");\r\n\t \r\n\t if ( $form.height() < $element.height() ){\r\n\t\t $sidebar.css(\"height\", $element.height());\r\n\t\t $sidebar.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n \r\n // Layout #4\r\n // Vertical align content\r\n $(\".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$aside = $this.find(\".wpoi-aside-xl\"),\r\n\t \t$col = $this.find(\".wpoi-aside-xl > .wpoi-container\"),\r\n\t \t$parent = $aside.find(\".wpoi-form\"),\r\n\t \t$form = $aside.find(\"form\"),\r\n\t \t$element = $aside.next(\".wpoi-element\"),\r\n\t \t$content = $element.find(\".wpoi-content\");\r\n\t \r\n\t if ( $content.height() > $form.height() ){\r\n\t\t $col.css(\"height\", $aside.height() + 'px');\r\n\t\t $parent.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n\t if ( $content.height() < $form.height() ) {\r\n\t\t $element.css(\"height\", $col.height() + 'px');\r\n\t\t $element.addClass(\"wpoi-align\");\r\n\t\t $content.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n $(\".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$aside = $this.find(\".wpoi-aside-xl\"),\r\n\t \t$col = $this.find(\".wpoi-aside-xl > .wpoi-container\"),\r\n\t \t$image = $this.find(\".wpoi-image\"),\r\n\t \t$parent = $aside.find(\".wpoi-form\"),\r\n\t \t$form = $aside.find(\"form\"),\r\n\t \t$element = $aside.next(\".wpoi-element\"),\r\n\t \t$content = $this.find(\".wpoi-content\");\r\n\t \r\n\t if ( $content.height() > $col.height() ){\r\n\t\t $col.css(\"height\", $aside.height() + 'px');\r\n\t\t $parent.css(\"height\", $col.height() - $image.height() );\r\n\t\t $parent.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n\t if ( $content.height() < $col.height() ) {\r\n\t\t $element.css(\"height\", $aside.height() + 'px');\r\n\t\t $element.addClass(\"wpoi-align\");\r\n\t\t $content.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n \r\n // Custom Content\r\n // Add proper width and height to img\r\n // parent div and make object-fit work\r\n $(\".wph-modal\").each(function(){\r\n\t var $this = $(this),\r\n $content = $this.find(\".wph-modal--content\"),\r\n $section = $this.find(\".wph-modal--content > section\"),\r\n $figure = $content.find(\"section > figure\"),\r\n $figtwo = $this.find(\".wph-modal--content > figure\"),\r\n $image = $figure.find(\"img\"),\r\n $imgtwo = $figtwo.find(\"img\");\r\n \r\n var $cabriolet = $this.hasClass(\"wph-modal--cabriolet\") && ( $figure.hasClass(\"wph-modal--image_full\") || ( $figure.hasClass(\"wph-modal--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n var $simple = $this.hasClass(\"wph-modal--simple\") && ( $figtwo.hasClass(\"wph-modal--image_full\") || ( $figtwo.hasClass(\"wph-modal--image\") && ( $imgtwo.height() < $figtwo.height() ) ) );\r\n \r\n var $minimal = $this.hasClass(\"wph-modal--minimal\") && ( $figure.hasClass(\"wph-modal--image_full\") || ( $figure.hasClass(\"wph-modal--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n if ( $cabriolet || $minimal ){\r\n\t $image.css({\r\n\t\t \"height\" : $section.height() + 'px',\r\n\t\t \"width\" : $section.width() + 'px'\r\n\t });\r\n }\r\n \r\n if ( $simple ){\r\n\t $imgtwo.css({\r\n\t\t \"height\" : $content.height() + 'px',\r\n\t\t \"width\" : $content.width() + 'px'\r\n\t });\r\n }\r\n\t\t\t\r\n\t\t\t// apply styles for custom size\r\n\t\t\tvar $header = $this.find(\".wph-modal--content header\"),\r\n\t\t\t\t$footer = $this.find(\".wph-modal--content footer\"),\r\n\t\t\t\t$modal_content = $this.find(\".wph-modal--content\"),\r\n\t\t\t\t$modal_message = $this.find(\".wph-modal--content .wph-modal--message\"),\r\n\t\t\t\t$modal_message_section = $this.find(\".wph-modal--content section\"),\r\n\t\t\t\t$modal_image = $this.find(\".wph-modal--content .wph-modal--image\"),\r\n\t\t\t\t$modal_img = $this.find(\".wph-modal--content .wph-modal--image img\"),\r\n\t\t\t\tcustom_width = parseInt($this.data(\"custom_width\")),\r\n\t\t\t\tcustom_height = parseInt($this.data(\"custom_height\")),\r\n\t\t\t\tborder_weight = parseInt($this.data(\"border\")) * 2\r\n\t\t\t;\r\n\t\t\tborder_weight = ( isNaN(border_weight) ) \r\n\t\t\t\t? 0\r\n\t\t\t\t: border_weight\r\n\t\t\t;\r\n\t\t\tif ( custom_width && custom_height ) {\r\n\t\t\t\t$this.css('width', custom_width + 'px');\r\n\t\t\t\t$this.css('max-width', 'none');\r\n\t\t\t\tif ( $this.hasClass(\"wph-modal--cabriolet\") ) {\r\n\t\t\t\t\t$modal_message.outerHeight( custom_height - ( $header.outerHeight(true) ) - border_weight );\r\n\t\t\t\t\t$modal_image.outerHeight( $modal_message.outerHeight(true) );\r\n\t\t\t\t\t$modal_img.outerHeight( $modal_message.outerHeight(true) );\r\n\t\t\t\t}\r\n\t\t\t\tif ( $this.hasClass(\"wph-modal--simple\") ) {\r\n\t\t\t\t\t$modal_content.outerHeight( custom_height );\r\n\t\t\t\t\t$modal_image.outerHeight( $modal_content.height() );\r\n\t\t\t\t\t$modal_img.outerHeight( $modal_content.height() );\r\n\t\t\t\t}\r\n\t\t\t\tif ( $this.hasClass(\"wph-modal--minimal\") ) {\r\n\t\t\t\t\t$modal_message_section.outerHeight( custom_height - ( $header.outerHeight(true) + $footer.outerHeight(true) ) - border_weight );\r\n\t\t\t\t\t$modal_image.outerHeight( $modal_message_section.outerHeight(true) );\r\n\t\t\t\t\t$modal_img.outerHeight( $modal_message_section.outerHeight(true) );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t});\r\n\t\t// Custom Content Shortcode\r\n\t\t// Add proper width and height to img\r\n // parent div and make object-fit work\r\n $(\".wph-cc-shortcode\").each(function(){\r\n\t var $this = $(this),\r\n $content = $this.find(\".wph-cc-shortcode--content\"),\r\n $section = $this.find(\".wph-cc-shortcode--content > section\"),\r\n $figure = $content.find(\"section > figure\"),\r\n $figtwo = $this.find(\".wph-cc-shortcode--content > figure\"),\r\n $image = $figure.find(\"img\"),\r\n $imgtwo = $figtwo.find(\"img\");\r\n \r\n var $cabriolet = $this.hasClass(\"wph-cc-shortcode--cabriolet\") && ( $figure.hasClass(\"wph-cc-shortcode--image_full\") || ( $figure.hasClass(\"wph-cc-shortcode--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n var $simple = $this.hasClass(\"wph-cc-shortcode--simple\") && ( $figtwo.hasClass(\"wph-cc-shortcode--image_full\") || ( $figtwo.hasClass(\"wph-cc-shortcode--image\") && ( $imgtwo.height() < $figtwo.height() ) ) );\r\n \r\n var $minimal = $this.hasClass(\"wph-cc-shortcode--minimal\") && ( $figure.hasClass(\"wph-cc-shortcode--image_full\") || ( $figure.hasClass(\"wph-cc-shortcode--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n if ( $cabriolet || $minimal ){\r\n\t $image.css({\r\n\t\t \"height\" : $section.height() + 'px',\r\n\t\t \"width\" : $section.width() + 'px'\r\n\t });\r\n }\r\n \r\n if ( $simple ){\r\n\t $imgtwo.css({\r\n\t\t \"height\" : $content.height() + 'px',\r\n\t\t \"width\" : $content.width() + 'px'\r\n\t });\r\n }\r\n\t\t});\r\n }\r\n\r\n $(doc).on(\"wpoi:display\", _.debounce(add_proper_classes, 100, false));\r\n $(doc).on(\"wpoi:cc_display\", _.debounce(add_proper_classes, 100, false));\r\n $(window).on(\"resize\", _.debounce( add_proper_classes, 100, false ) );\r\n\r\n $window.on('scroll resize', _.debounce( check_if_in_view, 100, false ) );\r\n $window.trigger('scroll');\r\n \r\n $(document).on('blur', 'input, textarea, select', function(){\r\n\t var $this = $(this);\r\n\t if($this.is(':input[type=button], :input[type=submit], :input[type=reset]')) return;\r\n\t if($this.val().trim() !== '') {\r\n\t\t $this.parent().addClass('wpoi-filled');\r\n\t\t} else{\r\n $this.parent().removeClass('wpoi-filled');\r\n }\r\n });\r\n\r\n $(document).on('focus', '.wpoi-optin input.required', function(){\r\n $(this).next('label').find('i.wphi-font').removeClass('i-error');\r\n });\r\n\r\n /**\r\n * Renders provider args and returns html\r\n *\r\n *\r\n * @since 1.0.1\r\n *\r\n * @param optin_data\r\n * @return html\r\n */\r\n Optin.render_provider_args = function( optin_data ){\r\n if( _.isEmpty( optin_data.provider_args ) || _.isEmpty( optin_data.data.optin_provider ) ) return \"\";\r\n\r\n var provider_args_tpl = Optin.template( \"optin-\" + optin_data.data.optin_provider + \"-args\" );\r\n return provider_args_tpl( optin_data.provider_args )\r\n };\r\n\r\n /**\r\n * Renders optin front layout based on give optin_data\r\n *\r\n * @param optin_data\r\n */\r\n Optin.render_optin = function( optin_data ){\r\n var layout = optin_data.design.form_location.toInt(),\r\n tpl = Optin.get_tpl( layout ),\r\n _show_args = function(){\r\n if( \"mailchimp\" === optin_data.data.optin_provider\r\n && optin_data.provider_args\r\n && optin_data.provider_args.group\r\n && \"hidden\" !== optin_data.provider_args.group.form_field\r\n )\r\n return true;\r\n\r\n return false;\r\n },\r\n html = tpl(_.extend({\r\n image_style: \"\"\r\n }, optin_data.design, optin_data.design.borders, optin_data.data, {\r\n has_args: _show_args()\r\n }) );\r\n\r\n $(doc).trigger(\"wpoi:layout:rendered\");\r\n return html;\r\n };\r\n\t\r\n\t/**\r\n * Renders cc shortcode front layout based on given optin_data\r\n *\r\n * @param optin_data\r\n */\r\n Optin.render_cc_shortcode = function( optin_data ){\r\n var tpl = Optin.template( 'hustle-cc-shortcode-tpl' ),\r\n\t\t\thtml = tpl( _.extend({}, optin_data.content, optin_data.design ) )\r\n\t\t;\r\n\r\n $(doc).trigger(\"wpoi:layout:rendered\");\r\n return html;\r\n };\r\n\r\n var listening_to_exit_intent = false;\r\n Optin.listen_to_exit_intend = function(){\r\n\r\n if( listening_to_exit_intent ) return;\r\n\r\n $(doc).on(\"mouseleave\", _.debounce( function(e){\r\n $(doc).trigger(\"wpoi:exit_intended\", e);\r\n }, 100, true));\r\n\r\n listening_to_exit_intent = true;\r\n };\r\n\r\n var checking_adblock = false;\r\n Optin.is_adblock_enabled = function(){\r\n if( checking_adblock ) return;\r\n //\r\n //var $script = $('<script src=\"{url}\" type=\"text/javascript\"></script>'.replace(\"{url}\", inc_opt.adblock_detector_js) );\r\n //$script.appendTo( \"body\" );\r\n\r\n if( $(\"#hustle_optin_adBlock_detector\").length ){\r\n return false;\r\n }else{\r\n return true;\r\n }\r\n\r\n checking_adblock = true;\r\n }\r\n}(jQuery, document));\r\n","(function($,doc,win){\r\n\tif( inc_opt.is_upfront ) return;\r\n\r\n\t/**\r\n\t * Front View Model\r\n\t *\r\n\t * This model is use to render Opt-In/Custom-Content popup and slide_in.\r\n\t **/\r\n\tOptin.View = Backbone.View.extend({\r\n\t\tisCC: false,\r\n\t\tshowClass: 'wpoi-show',\r\n\t\tmaskShowClass: 'inc_optin_',\r\n\t\toptin_id: '',\r\n\t\ttype: '',\r\n\t\tsettings: {},\r\n\t\tdata: {},\r\n\t\tadd_never_see_again: false,\r\n\t\tappear_after: 'time',\r\n\t\tmask: false,\r\n\t\tshould_remove: false,\r\n\t\tevents: {\r\n\t\t\t'click': 'click',\r\n\t\t\t'click .inc-opt-close-btn': 'closed',\r\n\t\t\t'click .inc_opt_never_see_again': 'closed'\r\n\t\t},\r\n\r\n\t\tinitialize: function( opts ) {\r\n\t\t\tthis.key = opts.key;\r\n\t\t\tthis.opt = Optins[ this.key ];\r\n\t\t\tthis.settings = this.opt.settings[this.type];\r\n\t\t\tthis.data = this.opt.data;\r\n\t\t\tthis.optin_id = this.data.optin_id;\r\n\t\t\tthis.maskClass = 'inc_optin_' + this.optin_id + ' ' + this.maskClass;\r\n\r\n\t\t\tif ( ! this.should_display() ) return;\r\n\r\n\t\t\tthis.add_never_see_again = _.isTrue( this.settings.add_never_see_this_message );\r\n\t\t\tthis.appear_after = this.settings.appear_after;\r\n\r\n\t\t\tif ( _.contains( ['time', 'scrolled', 'adblock'], this.appear_after )\r\n\t\t\t\t|| ( 'exit_intent' === this.appear_after && _.isTrue( this.settings.on_exit_trigger_once_per_session ) ) ) {\r\n\t\t\t\tthis.should_remove = true;\r\n\t\t\t}\r\n\r\n\t\t\tthis.render();\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Check if popup should display. **/\r\n\t\tshould_display: function() {\r\n\t\t\treturn _.isTrue( this.settings.display )\r\n\t\t\t\t&& !_.isTrue( Optin.cookie.get( Optin.POPUP_COOKIE_PREFIX + this.optin_id ) );\r\n\t\t},\r\n\r\n\t\tfit: function() {\r\n\t\t\tvar height = $(win).height(),\r\n\t\t\t\tmax_height = ( height / 100 ) * 65,\r\n\t\t\t\theader_height = this.$('header').outerHeight(),\r\n\t\t\t\tcontainers = this.$('.wph-modal--message, .wph-modal--image'),\r\n\t\t\t\tmessage_height = max_height - header_height,\r\n\t\t\t\tel_css = {'max-height': max_height };\r\n\r\n\t\t\tthis.$el.css( 'max-height', max_height );\r\n\t\t\tcontainers.css('max-height', message_height );\r\n\r\n\t\t\tif ( 'popup' === this.type && 'cabriolet' !== this.settings.style ) {\r\n\t\t\t\tvar top = (height - max_height)/2;\r\n\t\t\t\t\ttop = top - (top * 1.5);\r\n\r\n\t\t\t\tthis.$el.css('margin-top', top + 'px');\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\trender: function() {\r\n\t\t\tvar html = '<a href=\"#\" aria-label=\"Close\" class=\"inc-opt-close-btn inc-opt-close-' + this.type + '\">&times;</a>';\r\n\t\t\t\thtml += Optin.render_optin( this.opt ),\r\n\t\t\t\tdata = {handle: this.key, type: this.type, popup: this.opt};\r\n\r\n\t\t\tif ( this.add_never_see_again ) {\r\n\t\t\t\thtml += '<div class=\"wpoi-nsa\"><a class=\"inc_opt_never_see_again\">%s</a></div>'.replace(\"%s\", inc_opt.l10n.never_see_again )\r\n\t\t\t}\r\n\r\n\t\t\tif( this.settings.animation_in ){\r\n\t\t\t\tthis.$el.addClass( this.settings.animation_in );\r\n\t\t\t}\r\n\t\t\tthis.$el.addClass( ' inc_optin_' + this.optin_id );\r\n\t\t\tthis.$el.html( html );\r\n\r\n\t\t\t// Add provider args\r\n\t\t\tthis.$(\".wpoi-provider-args\").html( Optin.render_provider_args( this.opt ) );\r\n\t\t\tthis.$el.appendTo('body');\r\n\t\t\tthis.$el.display = $.proxy( this, 'display' );\r\n\t\t\tthis.$el.on( 'show', $.proxy( this, 'onShow' ) );\r\n\t\t\tthis.$el.on( 'hide', $.proxy( this, 'onHide' ) );\r\n\t\t\tthis.$el.data(data);\r\n\t\t\tthis.html = this.$el.html();\r\n\r\n\t\t\t/**\r\n\t\t\t * Triggers\r\n\t\t\t */\r\n\t\t\tif( typeof Optin.Triggers[this.appear_after] === \"function\" )\r\n\t\t\t\tOptin.Triggers[this.appear_after].call( null, this.opt, this.settings, this.$el );\r\n\t\t\telse\r\n\t\t\t\tconsole.log( \"Hustle:[\" + this.type.toUpperCase() + \"] No trigger defined for \". this.appear_after );\r\n\r\n\t\t\treturn this;\r\n\t\t},\r\n\r\n\t\tdisplay: function() {\r\n\t\t\tvar me = this;\r\n\r\n\t\t\tif( this.$el.is( '.' + this.showClass ) ) {\r\n\t\t\t\t// If already shown, return\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif ( _.isTrue( this.isCC ) && _.isFalse(this.settings.allow_scroll_page) ) {\r\n\t\t\t\t$('html').addClass('no-scroll');\r\n\t\t\t}\r\n\r\n\t\t\tthis.$el.html( this.html );\r\n\t\t\tthis.$el.removeClass( this.settings.animation_out );\r\n\r\n\t\t\tif ( ! this.mask ) {\r\n\t\t\t\tthis.mask = $( '<div class=\"' + this.maskClass + ' wpoi-overlay-mask wpoi-animate fadein\">' +\r\n\t\t\t\t\t'<div class=\"wpoi-' + this.type + '-overlay\"></div></div>' );\r\n\t\t\t\tthis.mask.insertBefore(this.$el).addClass('wpoi-show');\r\n\r\n\t\t\t\tif ( _.isFalse( this.settings.not_close_on_background_click ) ) {\r\n\t\t\t\t\tthis.mask.on( 'click', $.proxy( this, 'closed' ) );\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.mask.addClass('wpoi-show');\r\n\t\t\t}\r\n\r\n\t\t\tif( this.settings.animation_in ) {\r\n\t\t\t\tthis.$el.addClass( this.settings.animation_in );\r\n\t\t\t}\r\n\r\n\t\t\t_.delay(function(){\r\n\r\n\t\t\t\tme.$el.addClass( me.showClass );\r\n\r\n\t\t\t\t// If we have an OUT animation,\r\n\t\t\t\t// we should swap the animations right after the IN ends\r\n\t\t\t\tif( me.settings.animation_out ){\r\n\t\t\t\t\tif( me.settings.animation_in ){\r\n\r\n\t\t\t\t\t\t_.delay(function(){\r\n\t\t\t\t\t\t\tme.$el.removeClass( me.settings.animation_in );\r\n\t\t\t\t\t\t\tme.$el.addClass( me.settings.animation_out );\r\n\t\t\t\t\t\t}, 350);\r\n\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tme.$el.addClass( me.settings.animation_out );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if( me.settings.animation_in ){\r\n\t\t\t\t\t_.delay(function(){\r\n\t\t\t\t\t\tme.$el.removeClass( me.settings.animation_in );\r\n\t\t\t\t\t}, 350);\r\n\t\t\t\t}\r\n\r\n\t\t\t}, 750);\r\n\r\n\t\t\tthis.$el.trigger( 'show', this );\r\n\t\t},\r\n\r\n\t\tclick: function() {},\r\n\t\tonShow: function() {\r\n\t\t\t$(document).trigger(\"wpoi:display\", [this.type, this.$el, this.opt ]);\r\n\t\t},\r\n\r\n\t\tsanitize_cta_url: function( data ) {\r\n\t\t\tif ( data.cta_url ) {\r\n\t\t\t\tif (!/^(f|ht)tps?:\\/\\//i.test(data.cta_url)) {\r\n\t\t\t\t\tdata.cta_url = \"http://\" + data.cta_url;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\r\n\t\ttime_trigger: function() {\r\n\t\t\tif ( 'immediately' == this.triggers.on_time ) {\r\n\t\t\t\tthis.display();\r\n\t\t\t} else {\r\n\t\t\t\tvar delay = parseInt( this.triggers.on_time_delay, 10 ) * 1000;\r\n\r\n\t\t\t\tif( 'minutes' === this.triggers.on_time_unit ) {\r\n\t\t\t\t\tdelay *= 60;\r\n\t\t\t\t} else if( 'hours' === this.triggers.on_time_unit ) {\r\n\t\t\t\t\tdelay *= ( 60 * 60 );\r\n\t\t\t\t}\r\n\r\n\t\t\t\t_.delay( $.proxy( this, 'display' ), delay );\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclick_trigger: function() {\r\n\t\t\tif( \"\" !== (selector = $.trim( this.triggers.on_click_element ) ) ){\r\n\t\t\t\tvar $clickable = $(selector);\r\n\r\n\t\t\t\tif( $clickable.length ) {\r\n\t\t\t\t\t$(doc).on( 'click', selector, $.proxy( this, 'display' ) );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tscroll_trigger: function() {\r\n\t\t\tvar me = this, popup_shown = false;\r\n\r\n\t\t\tif( 'scrolled' === this.triggers.on_scroll ){\r\n\t\t\t\t$(win).scroll(_.debounce( function(){\r\n\t\t\t\t\tif ( popup_shown ) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif( ( win.pageYOffset * 100 / $(doc).height() ) >= parseFloat( me.triggers.on_scroll_page_percent ) ) {\r\n\t\t\t\t\t\tme.display();\r\n\t\t\t\t\t popup_shown = true;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}, 50) );\r\n\t\t\t}\r\n\r\n\t\t\tif( 'selector' === this.triggers.on_scroll ){\r\n\t\t\t\t var $el = $( this.triggers.on_scroll_css_selector );\r\n\r\n\t\t\t\t if( $el.length ){\r\n\t\t\t\t\t $(win).scroll(_.debounce( function(){\r\n\t\t\t\t\t\t if ( popup_shown ) {\r\n\t\t\t\t\t\t\t return;\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t if( win.pageYOffset >= $el.position().top ) {\r\n\t\t\t\t\t\t\t me.display();\r\n\t\t\t\t\t\t\t popup_shown = true;\r\n\t\t\t\t\t\t }\r\n\r\n\t\t\t\t\t }, 50));\r\n\t\t\t\t }\r\n\t\t\t }\r\n\t\t},\r\n\r\n\t\texit_intent_trigger: function() {\r\n\t\t\tif(_.isTrue( this.triggers.on_exit_intent ) ){\r\n\t\t\t\tif ( _.isTrue( this.triggers.on_exit_intent_per_session ) ) {\r\n\t\t\t\t\tHustle.Events.once( 'exit_intended', $.proxy( this, 'display' ) );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tHustle.Events.on( 'exit_intended', $.proxy( this, 'display' ) );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tadblock_trigger: function() {\r\n\t\t\tvar adblock = ! $('#hustle_optin_adBlock_detector').length;\r\n\r\n\t\t\tif ( adblock && _.isTrue( this.triggers.on_adblock ) ) {\r\n\t\t\t\tif( _.isFalse( this.triggers.on_adblock_delayed ) ){ \r\n\t\t\t\t\tthis.display();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar delay = parseInt( this.triggers.on_adblock_delayed_time, 10 ) * 1000;\r\n\r\n\t\t\t\t\tif( 'minutes' === this.triggers.on_adblock_delayed_unit ) {\r\n\t\t\t\t\t\tdelay *= 60;\r\n\t\t\t\t\t} else if( 'hours' === this.triggers.on_adblock_delayed_unit ) {\r\n\t\t\t\t\t\tdelay *= ( 60 * 60 );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t_.delay( $.proxy( this, 'display' ), delay );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Trigger to completely hide this. **/\r\n\t\tnever_see_again: function() {\r\n\t\t\tvar cookie_key = 'popup' === this.type ? Optin.POPUP_COOKIE_PREFIX : Optin.SLIDE_IN_COOKIE_PREFIX;\r\n\t\t\tcookie_key += this.optin_id;\r\n\r\n\t\t\tOptin.cookie.set( cookie_key, this.optin_id, parseInt( this.settings.never_see_expiry, 10 ) );\r\n\t\t},\r\n\r\n\t\tclosed: function(e) {\r\n\t\t\tvar me = this,\r\n\t\t\t\tsender = $(e.currentTarget),\r\n\t\t\t\tis_never_see = this.isCC ? _.isTrue( this.settings.close_btn_as_never_see ) : _.isTrue( this.settings.close_button_acts_as_never_see );\r\n\r\n\t\t\tthis.$el.removeClass('wpoi-show');\r\n\r\n\t\t\tif ( ( sender.is('.wph-modal--close .wph-icon, .inc-opt-close-' + this.type ) && is_never_see )\r\n\t\t\t\t|| sender.is( '.inc_opt_never_see_again,.wph-modal-never-see-again' ) ) {\r\n\t\t\t\tthis.never_see_again();\r\n\t\t\t}\r\n\r\n\t\t\t_.delay(function() {\r\n\t\t\t\tme.$el.removeClass(me.showClass);\r\n\t\t\t\tme.mask.removeClass('wpoi-show');\r\n\t\t\t}, 750 );\r\n\r\n\t\t\tif ( this.settings.animation_in ) {\r\n\t\t\t\tif ( this.settings.animation_out ) {\r\n\t\t\t\t\t_.delay(function() {\r\n\t\t\t\t\t\tme.$el.removeClass( me.settings.animation_out );\r\n\t\t\t\t\t\tme.$el.addClass( me.settings.animation_in );\r\n\t\t\t\t\t}, 1000 );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$el.addClass( this.settings.animation_in );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif ( ! this.settings.animation_out ) {\r\n\t\t\t\t// Make sure all contents are being hidden if popup doesn't have any animation_out\r\n\t\t\t\tthis.$el.hide();\r\n\t\t\t\t_.defer(function() {\r\n\t\t\t\t\t( me.$el[0].style || {} ).display = '';\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif ( _.isTrue( this.settings.close_button_acts_as_never_see_again )\r\n\t\t\t\t&& _.isTrue( this.settings.trigger_on_exit ) ) {\r\n\t\t\t\t$(doc).off( 'wpoi:exit_intended' );\r\n\t\t\t}\r\n\r\n\t\t\t// delay only if has animations\r\n\t\t\tif ( this.settings.animation_out ) {\r\n\t\t\t\t_.delay(function() {\r\n\t\t\t\t\tme.clean();\r\n\t\t\t\t}, 1100 );\r\n\t\t\t} else {\r\n\t\t\t\tme.clean();\r\n\t\t\t}\r\n\r\n\t\t\tif ( _.isTrue( this.isCC ) && _.isFalse( this.settings.allow_scroll_page ) ) {\r\n\t\t\t\t$('html').removeClass('no-scroll');\r\n\t\t\t}\r\n\r\n\t\t\tthis.$el.trigger( 'hide', this );\r\n\r\n\t\t\treturn false;\r\n\t\t},\r\n\t\t\r\n\t\tclean: function() {\r\n\t\t\tthis.$el.html('');\r\n\t\t\tif ( this.should_remove ) {\r\n\t\t\t\tthis.$el.remove();\r\n\t\t\t\tthis.mask.remove();\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonHide: function() {\r\n\t\t\t$(document).trigger(\"wpoi:hide\", [this.type, this.$el, this.opt ]);\r\n\t\t}\r\n\t});\r\n}(jQuery,document,window));","(function($, doc, win){\r\n\tif( inc_opt.is_upfront ) return;\r\n\r\n\tvar Optin = window.Optin || {};\r\n\tvar logView = Backbone.Model.extend({\r\n\t\turl: inc_opt.ajaxurl + '?action=hustle_custom_content_viewed',\r\n\t\tdefaults: {\r\n\t\t\tpage_type: inc_opt.page_type,\r\n page_id: inc_opt.page_id,\r\n type: '',\r\n uri: encodeURI( window.location.href )\r\n\t\t},\r\n\t\tinitialize: function() {\r\n\t\t\tthis.on( 'error', this.server_error, this );\r\n\t\t},\r\n\t\tparse: function( res ) {\r\n\t\t\tif ( res.success ) {\r\n\t\t\t\tconsole.log('Log success!');\r\n\t\t\t} else {\r\n\t\t\t\tconsole.log('Log failed!');\r\n\t\t\t}\r\n\t\t},\r\n\t\tserver_error: function() {\r\n\t\t\tconsole.log('Server error during log!');\r\n\t\t}\r\n\t}),\r\n\r\n\tlogConversion = logView.extend({\r\n\t\turl: inc_opt.ajaxurl + '?action=hustle_custom_content_converted'\r\n\t});\r\n\r\n\tlogView = new logView();\r\n\tlogConversion = new logConversion();\r\n\r\n\tOptin.CCPopUp = Optin.View.extend({\r\n\t\tisCC: true,\r\n\t\tshowClass: 'wph-modal-show',\r\n\t\tmaskClass: 'wph-modal--mask',\r\n\t\tcookie_key: Hustle.consts.Never_See_Aagain_Prefix,\r\n\t\tevents: {\r\n\t\t\t'click': 'click',\r\n\t\t\t'click .wph-modal--close .wph-icon': 'closed',\r\n\t\t\t'click .wph-modal--cta': 'fire_conversion_event',\r\n\t\t\t'click .wph-modal-never-see-again': 'closed',\r\n\t\t\t'submit form': 'on_form_submit'\r\n\t\t},\r\n\r\n\t\tinitialize: function( opts ) {\r\n\t\t\tthis.opt = opts;\r\n\t\t\tthis.type = opts.type;\r\n\t\t\tthis.data = opts.content;\r\n\t\t\tthis.optin_id = this.data.optin_id;\r\n\t\t\tthis.settings = opts[this.type];\r\n\t\t\tthis.triggers = this.settings.triggers;\r\n\t\t\tthis.appear_after = this.triggers.trigger + '_trigger';\r\n\t\t\tthis.cookie_key += this.type + '-' + this.optin_id;\r\n\t\t\tthis.expiration_days = this.settings.expiration_days ? parseInt( this.settings.expiration_days ) : 0;\r\n\r\n\t\t\tif ( ! this.should_display() ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tthis.model = _.extend(\r\n\t\t\t\tthis.settings,\r\n\t\t\t\topts.design,\r\n\t\t\t\tthis.data,\r\n\t\t\t\t{\r\n\t\t\t\t\tid: this.optin_id,\r\n\t\t\t\t\ttype: this.type,\r\n\t\t\t\t\tposition: this.settings.position,\r\n\t\t\t\t\ttypes: {\r\n\t\t\t\t\t\tpopup: opts.popup,\r\n\t\t\t\t\t\tslide_in: opts.slide_in\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t);\r\n\r\n\t\t\tif ( _.contains( ['time', 'scrolled', 'adblock'], this.triggers.trigger )\r\n\t\t\t\t|| ( 'exit_intent_trigger' === this.appear_after && _.isTrue( this.settings.on_exit_intent_per_session ) ) ) {\r\n\t\t\t\tthis.should_remove = true;\r\n\t\t\t}\r\n\r\n\t\t\tthis.render();\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Check if popup should display. **/\r\n\t\tshould_display: function() {\r\n\t\t\tvar never_see = Optin.cookie.get( this.cookie_key );\r\n\t\t\tnever_see = parseInt( never_see ) === parseInt( this.optin_id );\r\n\r\n\t\t\treturn this.opt.should_display[this.type] && !_.isTrue(never_see);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Trigger to completely hide this. **/\r\n\t\tnever_see_again: function() {\r\n\t\t\tOptin.cookie.set( this.cookie_key, this.optin_id, this.expiration_days );\r\n\t\t},\r\n\r\n\t\trender: function() {\r\n\t\t\tthis.model = _.extend( this.model,\r\n\t\t\t\tthis.handle_custom_size( this.model ),\r\n\t\t\t\tthis.enable_fullscreen( this.model ),\r\n\t\t\t\tthis.sanitize_cta_url( this.model )\r\n\t\t\t);\r\n\r\n\t\t\tvar template = Optin.template( 'hustle-modal-tpl' );\r\n\t\t\t\ttemplate = template( this.model );\r\n\r\n\t\t\tthis.setElement(template);\r\n\t\t\tthis.$el.appendTo('body');\r\n\t\t\tthis.$el.display = $.proxy( this, 'display' );\r\n\t\t\tthis.$el.on( 'show', $.proxy( this, 'onShow' ) );\r\n\t\t\tthis.$el.on( 'hide', $.proxy( this, 'onHide' ) );\r\n\t\t\tthis.html = this.$el.html();\r\n\r\n\t\t\t// Log view\r\n\t\t\tHustle.Events.once( 'cc_modal_shown', this.logView, this );\r\n\t\t\t// Fix content size\r\n\t\t\tHustle.Events.on( 'cc_modal_shown', this.fit, this );\r\n\t\t\tHustle.Events.on( 'hustle_resize', this.fit, this );\r\n\r\n\t\t\tthis[this.appear_after]();\r\n\t\t},\r\n\r\n\t\tonShow: function() {\r\n\t\t\t// for adding proper classes\r\n\t\t\t$(document).trigger(\"wpoi:cc_display\", [this.type, this.$el, this.model]);\r\n\t\t\tHustle.Events.trigger(\"cc_modal_shown\", this, this.type);\r\n\t\t},\r\n\r\n\t\tlogView: function() {\r\n\t\t\tlogView.set( 'type', this.type );\r\n\t\t\tlogView.set( 'id', this.optin_id );\r\n\t\t\tlogView.save();\r\n\t\t},\r\n\r\n\t\tfire_conversion_event: function(e) {\r\n\t\t\tvar source = $(e.currentTarget).hasClass( \"wph-modal--cta\" ) ? \"cta\" : \"form\";\r\n\r\n\t\t\tHustle.Events.trigger('cc_modal_converted', this, source);\r\n\t\t\tlogConversion.set( 'id', this.optin_id );\r\n\t\t\tlogConversion.set( 'type', this.type );\r\n\t\t\tlogConversion.set( 'source', source );\r\n\t\t\tlogConversion.save();\r\n\t\t},\r\n\r\n\t\tenable_fullscreen: function( data ) {\r\n\t\t\tdata.fullscreen = '';\r\n\r\n\t\t\tif ( 'popup' === this.type && this.settings.make_fullscreen ) {\r\n\t\t\t\tdata.fullscreen = 'wph-modal-popup-fullscreen';\r\n\t\t\t}\r\n\r\n\t\t\treturn data;\r\n\t\t},\r\n\r\n\t\thandle_custom_size: function( data ){\r\n\t\t\tdata.custom_size_attr = '';\r\n\t\t\tdata.custom_size_class = '';\r\n\r\n\t\t\tif ( data.customize_size && _.isTrue( data.customize_size ) ) {\r\n\t\t\t\tdata.customize_size_class = 'wph-modal--custom';\r\n\t\t\t\tdata.custom_size_attr += 'data-custom_width='+ data.custom_width +' data-custom_height='+ data.custom_height +'';\r\n\t\t\t}\r\n\t\t\tif ( data.border && _.isTrue( data.border ) ) {\r\n\t\t\t\tdata.custom_size_attr += ' data-border='+ data.border_weight;\r\n\t\t\t}\r\n\r\n\t\t\treturn data;\r\n\t\t},\r\n\r\n\t\ton_form_submit: function(e) {\r\n\t\t\tvar self = this,\r\n $form = $(e.target),\r\n on_submit = this.settings.on_submit;\r\n\r\n switch ( on_submit ){\r\n\t\t\t\tdefault:\r\n\t\t\t\tcase 'refresh_or_close':\r\n\t\t\t\t\tthis.closed(e);\r\n\t\t\t\t\tbreak;\r\n case \"close\":\r\n\t\t\t\tcase 'close_after_form_submit':\r\n\t\t\t\t\tthis.closed(e);\r\n\r\n break;\r\n case \"redirect\":\r\n\t\t\t\tcase 'redirect_to_form_target':\r\n window.location.replace( $form.attr(\"action\") );\r\n break;\r\n\t\t\t\tcase 'refresh_or_nothing':\r\n\t\t\t\t\tbreak;\r\n }\r\n\t\t}\r\n\t});\r\n\r\n\tOptin.CCSlideIn = Optin.CCPopUp.extend({\r\n\t\tkey_prefix: '',\r\n\t\thide_all_key: '',\r\n\t\tdelay_time: 0,\r\n\r\n\t\tshould_display: function() {\r\n\t\t\tthis.key_prefix = Hustle.consts.Slide_Cookie_Prefix + this.optin_id;\r\n\t\t\tthis.hide_all_key = Hustle.consts.Slide_Cookie_Hide_All + this.optin_id;\r\n\t\t\tthis.delay_time = this.settings.hide_after_unit === \"minutes\" ? parseInt( this.settings.hide_after_val, 10 ) * 60 * 1000 : parseInt( this.settings.hide_after_val, 10 ) * 1000;\r\n\r\n\t\t\tvar opt_cookie_never_see = Optin.cookie.get( this.cookie_key );\r\n\r\n\t\t\tif ( _.isFalse( opt_cookie_never_see ) ) {\r\n\t\t\t\t// Check prefix\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( this.key_prefix );\r\n\t\t\t}\r\n\t\t\tif ( _.isFalse( opt_cookie_never_see ) ) {\r\n\t\t\t\t// Check hide all\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( this.hide_all_key );\r\n\t\t\t}\r\n\r\n\t\t\tif ( 'keep_showing' === this.settings.after_close && opt_cookie_never_see ) {\r\n\t\t\t\topt_cookie_never_see = false;\r\n\t\t\t\tOptin.cookie.set( this.cookie_key, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( this.key_prefix, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( this.hide_all_key, this.optin_id, 0 );\r\n\t\t\t}\r\n\r\n\t\t\treturn this.opt.should_display[this.type] && !_.isTrue(opt_cookie_never_see);\r\n\t\t},\r\n\r\n\t\tonShow: function() {\r\n\t\t\t// before showing the modal, clean it first to remove garbage\r\n\t\t\tthis.clean();\r\n\t\t\tif( _.isTrue( this.settings.hide_after ) ) {\r\n var me = this;\r\n\r\n var delay_id = _.delay(function(){\r\n\t\t\t\t\tif ( ! me.prevent_hide_after ) {\r\n\t\t\t\t\t\t// if hide after is not prevented, then hide it\r\n me.$el.removeClass(this.showClass);\r\n\t\t\t\t\t\tme.mask.trigger('click');\r\n\t\t\t\t\t}\r\n }, this.delay_time );\r\n }\r\n\r\n\t\t\tOptin.CCPopUp.prototype.onShow.apply(this, arguments);\r\n\t\t},\r\n\r\n\t\tonHide: function() {\r\n\t\t\tvar should_remove = false;\r\n\r\n\t\t\tif ( 'hide_all' === this.after_close ) {\r\n\t\t\t\tOptin.cookie.set( this.key_prefix, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n\t\t\t}\r\n\t\t\tif( 'no_show' === this.settings.after_close ) {\r\n Optin.cookie.set( this.hide_all_key, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n }\r\n\r\n\t\t\tif ( should_remove ) {\r\n\t\t\t\t// Remove completely\r\n\t\t\t\tthis.mask.remove();\r\n\t\t\t\tthis.remove();\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclick: function() {\r\n\t\t\tthis.prevent_hide_after = true;\r\n\t\t}\r\n\t});\r\n\r\n}(jQuery, document, window));","(function( $ ) {\r\n\tif( inc_opt.is_upfront ) return;\r\n\r\n\tOptin = window.Optin || {};\r\n\tOptin.AfterContent = function() {\r\n\t\tvar $this = $(this),\r\n\t\t\toptin_id = $this.data( 'id' ),\r\n\t\t\toptin, html;\r\n\r\n\t\toptin = _.find(Optins, function (opt) {\r\n return optin_id == opt.data.optin_id;\r\n });\r\n\r\n\t\t$this.data('handle', _.findKey(Optins, optin));\r\n\t\t$this.data('type', 'after_content');\r\n\r\n\t\t$this.html( Optin.render_optin(optin) );\r\n\r\n\t\tif (optin.settings.after_content.animate\r\n\t\t\t&& 'true' == optin.settings.after_content.animate ) {\r\n\r\n $this.addClass(optin.settings.after_content.animation);\r\n\r\n\t\t\t_.delay(function() {\r\n\t\t\t\t$this.addClass('wpoi-show');\r\n\t\t\t}, 750 );\r\n }\r\n\r\n\t\t// add provider args\r\n $this.find(\".wpoi-provider-args\").html( Optin.render_provider_args( optin ) );\r\n\r\n\t\t$(document).trigger(\"wpoi:display\", [\"after_content\", $this, optin ]);\r\n\r\n\t};\r\n\r\n}(jQuery));","\"use strict\";\r\n(function( $, doc, win ) {\r\n if( inc_opt.is_upfront ) return;\r\n\r\n\tOptin = window.Optin || {};\r\n\r\n\tOptin.PopUp = Optin.View.extend({\r\n\t\tclassName: 'inc_opt_popup wpoi-animate inc_optin',\r\n\t\ttype: 'popup'\r\n\t});\r\n}(jQuery, document, window));","\"use strict\";\r\n(function( $, doc, win ) {\r\n if( inc_opt.is_upfront ) return;\r\n\r\n\tOptin = window.Optin || {};\r\n\r\n\tOptin.SlideIn = Optin.View.extend({\r\n\t\tclassName: 'inc_opt_slidein inc_optin wpoi-slide',\r\n\t\ttype: 'slide_in',\r\n\t\tprevent_hide_after: false,\r\n\t\tdelay_time: 0,\r\n\r\n\t\tshould_display: function() {\r\n\t\t\tvar cookie_key = 'popup' === this.type ? Optin.POPUP_COOKIE_PREFIX : Optin.SLIDE_IN_COOKIE_PREFIX;\r\n\t\t\tcookie_key += this.optin_id;\r\n\r\n\t\t\tvar opt_cookie_never_see = Optin.cookie.get( cookie_key );\r\n\r\n\t\t\tif ( ! opt_cookie_never_see ) {\r\n\t\t\t\t// Check cookie prefix\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( Optin.SLIDE_IN_COOKIE_PREFIX + this.optin_id );\r\n\t\t\t}\r\n\t\t\tif ( ! opt_cookie_never_see ) {\r\n\t\t\t\t// Check hide_all\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( Optin.SLIDE_IN_COOKIE_HIDE_ALL + this.optin_id );\r\n\t\t\t}\r\n\t\t\t\r\n\r\n\t\t\tif ( 'keep_showing' === this.settings.after_close && opt_cookie_never_see ) {\r\n\t\t\t\topt_cookie_never_see = false;\r\n\t\t\t\t// Reset all cookies\r\n\t\t\t\tOptin.cookie.set( Optin.SLIDE_IN_COOKIE_PREFIX + this.optin_id, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( Optin.SLIDE_IN_COOKIE_HIDE_ALL + this.optin_id, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( cookie_key, this.optin_id, 0 );\r\n\t\t\t}\r\n\r\n\t\t\treturn _.isTrue( this.settings.display ) && ! _.isTrue( opt_cookie_never_see );\r\n\t\t},\r\n\r\n\t\trender: function() {\r\n\t\t\tvar cLass = 'inc_opt_slidein inc_opt_slidein_' + this.settings.position + ' inc_optin wpoi-slide';\r\n\t\t\tthis.delay_time = this.settings.hide_after_unit === \"minutes\" ? parseInt( this.settings.hide_after_val, 10 ) * 60 * 1000 : parseInt( this.settings.hide_after_val, 10 ) * 1000;\r\n\r\n\t\t\tthis.$el.addClass( cLass );\r\n\r\n\t\t\tOptin.View.prototype.render.apply( this, arguments );\r\n\t\t},\r\n\r\n\t\tonShow: function() {\r\n\t\t\tthis.mask.removeClass('wpoi-show');\r\n\r\n\t\t\tif( _.isTrue( this.settings.hide_after ) ) {\r\n var me = this;\r\n\r\n var delay_id = _.delay(function(){\r\n\t\t\t\t\tif ( ! me.prevent_hide_after ) {\r\n\t\t\t\t\t\t// if hide after is not prevented, then hide it\r\n me.$el.removeClass(\"wpoi-show\");\r\n\t\t\t\t\t\tme.$el.trigger( 'hide' );\r\n\t\t\t\t\t}\r\n }, this.delay_time );\r\n }\r\n\t\t\tOptin.View.prototype.onShow.apply(this, arguments);\r\n\t\t},\r\n\r\n\t\tonHide: function() {\r\n\t\t\tvar should_remove = false;\r\n\r\n\t\t\tif ( 'hide_all' === this.after_close ) {\r\n\t\t\t\tOptin.cookie.set( Optin.SLIDE_IN_COOKIE_HIDE_ALL, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n\t\t\t}\r\n\t\t\tif( \"no_show\" === this.settings.after_close ) {\r\n Optin.cookie.set( Optin.SLIDE_IN_COOKIE_PREFIX + this.optin_id, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n }\r\n\r\n\t\t\tif ( should_remove ) {\r\n\t\t\t\t// Remove completely\r\n\t\t\t\tthis.mask.remove();\r\n\t\t\t\tthis.remove();\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclick: function() {\r\n\t\t\tthis.prevent_hide_after = true;\r\n\t\t}\r\n\t});\r\n}(jQuery, document, window));","\"use strict\";\r\n(function( $ ) {\r\n\t\r\n\t/**\r\n * Functions for saving conversion data\r\n */\r\n\tOptin = Optin || {};\r\n\tOptin.handle_cc_shortcode_conversion = function(cc_id, type){\r\n var $win = $(window),\r\n $doc = $(document);\r\n\t\t\r\n\t\t$($doc).on(\"click\", \"a.wph-cc-shortcode--cta\", function(e){\r\n\t\t\tvar cc_data = {\r\n\t\t\t\t\"id\": cc_id,\r\n\t\t\t\t\"type\": type,\r\n\t\t\t\t\"source\": \"cta\"\r\n\t\t\t};\r\n\t\t\tOptin.save_cc_shortcode_conversion(cc_data);\r\n\t\t});\r\n }\r\n\tOptin.save_cc_shortcode_conversion = function(cc_data){\r\n\t\t$.ajax({\r\n\t\t\ttype: \"POST\",\r\n\t\t\turl: inc_opt.ajaxurl,\r\n\t\t\tdata: {\r\n\t\t\t\taction: \"hustle_custom_content_converted\",\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tid: cc_data.id,\r\n\t\t\t\t\tpage_type: inc_opt.page_type,\r\n\t\t\t\t\tpage_id: inc_opt.page_id,\r\n\t\t\t\t\ttype: cc_data.type,\r\n\t\t\t\t\turi: encodeURI( window.location.href ),\r\n\t\t\t\t\tsource: cc_data.source\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tsuccess: function (res) {}\r\n\t\t});\r\n\t}\r\n\t\r\n /**\r\n * Render inline optins ( widget )\r\n */\r\n var inc_opt_render_widgets = _.debounce( function(){\r\n\t\t// rendering widgets, shortcodes for Custom Content\r\n\t\t$(\".inc_cc_widget_wrap, .inc_cc_shortcode_wrap\").each(function () {\r\n var $this = $(this),\r\n id = $this.data(\"id\"),\r\n type = $this.is(\".inc_cc_widget_wrap\") ? \"widget\" : \"shortcode\";\r\n\r\n if( !id ) return;\r\n\t\t\t\r\n var cc = _.find(Hustle_Custom_Contents, function (opt) {\r\n return id == opt.content.optin_id;\r\n });\r\n\t\t\t\r\n if (!cc) return;\r\n\t\t\t\r\n\t\t\t$this.data(\"handle\", _.findKey(Hustle_Custom_Contents, cc));\r\n $this.data(\"type\", type);\r\n\t\t\t\r\n\t\t\t// sanitize cta_url \r\n\t\t\tif ( cc.design.cta_url ) {\r\n\t\t\t\tif (!/^(f|ht)tps?:\\/\\//i.test(cc.design.cta_url)) {\r\n\t\t\t\t\tcc.design.cta_url = \"http://\" + cc.design.cta_url;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tvar html = Optin.render_cc_shortcode( cc );\r\n\t\t\tOptin.handle_cc_scroll( $this, type, id );\r\n\t\t\t$this.html(html);\r\n\t\t\t\r\n\t\t\t_.delay(function(){\r\n $(document).trigger(\"wpoi:cc_shortcode_or_widget_viewed\", [type, id]);\r\n }, _.random(0, 300));\r\n\t\t\t\r\n\t\t\tOptin.handle_cc_shortcode_conversion(id, type);\r\n\r\n });\r\n\t\t\r\n\t\t// rendering widgets, shortcodes for Opt-in\r\n $(\".inc_opt_widget_wrap, .inc_opt_shortcode_wrap\").each(function () {\r\n var $this = $(this),\r\n id = $this.data(\"id\"),\r\n type = $this.is(\".inc_opt_widget_wrap\") ? \"widget\" : \"shortcode\";\r\n\r\n if( !id ) return;\r\n\t\t\t\r\n var optin = _.find(Optins, function (opt) {\r\n return id == opt.data.optin_id;\r\n });\r\n\r\n if (!optin) return;\r\n\r\n $this.data(\"handle\", _.findKey(Optins, optin));\r\n $this.data(\"type\", type);\r\n\r\n var html = Optin.render_optin( optin );\r\n\r\n Optin.handle_scroll( $this, type, optin );\r\n\r\n\r\n $this.html(html);\r\n\r\n // add provider args\r\n $this.find(\".wpoi-provider-args\").html( Optin.render_provider_args( optin ) );\r\n\r\n _.delay(function(){\r\n $(document).trigger(\"wpoi:display\", [type, $this, optin ]);\r\n }, _.random(0, 300));\r\n\r\n });\r\n\t\t\r\n }, 50, true);\r\n\r\n inc_opt_render_widgets();\r\n\r\n $(document).on('upfront-load', function(){\r\n inc_opt_render_widgets();\r\n\r\n Upfront.Events.on(\"entity:object:refresh:start entity:object:refresh preview:build:start upfront:preview:build:stop\", inc_opt_render_widgets);\r\n });\r\n\r\n}(jQuery));","\"use strict\";\r\n(function( $, doc, win ) {\r\n if( inc_opt.is_upfront ) return;\r\n\r\n\t// Listen to exit intent\r\n\t$(doc).on( 'mouseleave', $.proxy( Hustle.Events, 'trigger', 'exit_intended' ) );\r\n\r\n\t// Listen to resize event\r\n\t$(window).on( 'resize', $.proxy( Hustle.Events, 'trigger', 'hustle_resize' ) );\r\n\r\n\t// Opt-In\r\n\t$.each( _.keys(Optins), function(i, k){\r\n\t\tvar opt = Optins[k],\r\n\t\t\tsettings = opt.settings,\r\n\t\t\toptin_id = opt.data.optin_id,\r\n\t\t\targs = {key: k};\r\n\r\n\t\t// Check for enabled popup\r\n\t\tif ( settings.popup && settings.popup.enabled\r\n\t\t\t&& ! _.isTrue( Optin.cookie.get( Optin.POPUP_COOKIE_PREFIX + optin_id ) ) ) {\r\n\t\t\tnew Optin.PopUp(args);\r\n\t\t}\r\n\r\n\t\t// Check for enabled slide_in\r\n\t\tif ( settings.slide_in && settings.slide_in.enabled\r\n\t\t\t&& ! _.isTrue( Optin.cookie.get( Optin.SLIDE_IN_COOKIE_HIDE_ALL ) ) ) {\r\n\t\t\tnew Optin.SlideIn(args);\r\n\t\t}\r\n\r\n\t\t// Check for enabled after_content\r\n\t\tif ( settings.after_content && settings.after_content.enabled ) {\r\n\t\t\tvar after_content = $('[data-id=\"' + optin_id + '\"]').filter(function() {\r\n\t\t\t\treturn $(this).is('.inc_opt_after_content_wrap');\r\n\t\t\t});\r\n\r\n\t\t\tif ( after_content.length ) {\r\n\t\t\t\tafter_content.each(Optin.AfterContent);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n\r\n\t// CUSTOM CONTENT\r\n\t$.each(Hustle_Custom_Contents, function(uniq_id, cc) {\r\n\t\tcc.id = uniq_id;\r\n\r\n\t\tif ( cc.should_display ) {\r\n\t\t\t// Check for enabled popup\r\n\t\t\tif ( _.isTrue(cc.should_display.popup) && _.isTrue(cc.popup.enabled) ) {\r\n\t\t\t\tcc.type = 'popup';\r\n\t\t\t\tnew Optin.CCPopUp(cc);\r\n\t\t\t}\r\n\r\n\t\t\t// Check for enabled slide_in\r\n\t\t\tif ( _.isTrue(cc.should_display.slide_in) && _.isTrue(cc.slide_in.enabled) ) {\r\n\t\t\t\tcc.type = 'slide_in';\r\n\t\t\t\tnew Optin.CCSlideIn(cc);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}(jQuery, document, window));"]}
1
+ {"version":3,"sources":["backbone-view-model-min.js","hustle.js","utils.js","modal.js","display_triggers.js","log.js","scroll.js","submit.js","front_utils.js","overlay.js","custom-content-overlay.js","after_content.js","popup.js","slide-in.js","widgets.js","ztriggers.js"],"names":["t","e","self","global","define","amd","i","r","n","Backbone","exports","require","_","jQuery","Zepto","ender","$","s","Array","prototype","slice","VERSION","noConflict","this","emulateHTTP","emulateJSON","a","o","call","arguments","unshift","apply","h","each","isFunction","isObject","_isModel","l","isString","get","matches","attributes","u","Events","c","f","context","keys","length","test","split","on","d","_events","v","ctx","listening","_listeners","id","listenTo","_listenId","uniqueId","_listeningTo","obj","objId","listeningTo","count","push","callback","off","g","listeners","stopListening","_callback","once","p","bind","listenToOnce","trigger","Math","max","m","all","concat","unbind","extend","y","Model","cid","cidPrefix","collection","parse","result","defaults","set","changed","initialize","validationError","idAttribute","toJSON","clone","sync","escape","has","iteratee","_validate","unset","silent","_changing","_previousAttributes","isEqual","_pending","clear","hasChanged","isEmpty","changedAttributes","size","previous","previousAttributes","fetch","success","B","save","validate","wait","isNew","patch","attrs","destroy","defer","url","F","replace","encodeURIComponent","constructor","isValid","b","values","pairs","invert","pick","omit","chain","x","Collection","model","comparator","_reset","reset","w","add","remove","merge","E","I","min","map","isArray","_removeModels","changes","added","merged","removed","at","sort","_prepareModel","_addReference","models","some","index","_removeReference","previousModels","pop","shift","_byId","modelId","where","findWhere","Error","sortBy","pluck","create","indexOf","splice","_onModelEvent","S","forEach","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","any","include","includes","contains","invoke","toArray","first","head","take","initial","rest","tail","drop","last","without","difference","shuffle","lastIndexOf","sample","partition","groupBy","countBy","indexBy","findIndex","findLastIndex","k","View","P","_ensureElement","T","tagName","$el","render","_removeElement","setElement","undelegateEvents","_setElement","delegateEvents","el","match","delegate","undelegate","_createElement","document","createElement","className","_setAttributes","attr","H","type","dataType","data","contentType","JSON","stringify","_method","beforeSend","setRequestHeader","processData","error","textStatus","errorThrown","xhr","ajax","update","delete","read","Router","routes","_bindRoutes","A","C","R","j","route","isRegExp","_routeToRegExp","history","_extractParameters","execute","navigate","RegExp","exec","decodeURIComponent","N","History","handlers","checkUrl","window","location","M","O","U","started","interval","atRoot","pathname","root","getSearch","matchRoot","decodeFragment","decodeURI","href","getHash","getPath","charAt","getFragment","_usePushState","_wantsHashChange","start","options","hashChange","_hasHashChange","documentMode","_useHashChange","_wantsPushState","pushState","_hasPushState","fragment","iframe","src","style","display","tabIndex","body","insertBefore","firstChild","contentWindow","open","close","hash","addEventListener","attachEvent","_checkUrlInterval","setInterval","loadUrl","stop","removeEventListener","detachEvent","removeChild","clearInterval","title","assign","_updateHash","q","__super__","Hustle","doc","win","_modules","_template_options","evaluate","interpolate","module_name","module","splits","recursive","modules","arr","_module_name","invoked","join","get_modules","__base_events","click .wph-tabs--wrap .wph-tabs--nav li label","events","init_mix","wrap","init","__base_toggle_tab","$this","target","$content","$wrap","closest","$li","not","removeClass","addClass","siblings","template","memoize","compiled","getElementById","innerHTML","create_template","str","cache","get_template_options","cookie","name","cookie_name","ca","substring","_val","value","days","date","expires","isPlainObject","isNaN","Date","setTime","getTime","toGMTString","consts","Never_See_Aagain_Prefix","Module_Show_Count","Slide_Cookie_Prefix","Slide_Cookie_Hide_All","Optin","Models","COOKIE_PREFIX","POPUP_COOKIE_PREFIX","SLIDE_IN_COOKIE_PREFIX","SLIDE_IN_COOKIE_HIDE_ALL","mixin","log","console","toBool","val","isBoolean","toLowerCase","isNumber","isUndefined","isNull","isTrue","toString","isFalse","control_base","checked","current","attribute","selected","disabled","class","conditon","cls","negating_cls","add_class","toUpperCase","findKey","predicate","cb","key","json","String","toInt","parseInt","trim","html","is","parent","Mixins","_mixins","_services_mixins","_desing_mixins","_display_mixins","get_mixins","add_services_mixin","get_services_mixins","$mask","opts","subtitle","content","animation_in","animation_out","position","click .wph-modal--close a","submit form","click .wph-modal--cta","click .wph-modal-never-see-again","type_data","types","sanitize_cta_url","enable_fullscreen","handle_custom_size_cc","clicked_background","on_form_submit","enable_body_scroll","hasOwnProperty","$close_btn","hide","preventDefault","delay","hasClass","prev","close_btn_as_never_see","never_see_again","not_close_on_background_click","show","show_count_key","current_show_count","cta_url","fullscreen","optin_provider","make_fullscreen","custom_size_attr","custom_size_class","customize_size","custom_width","custom_height","border","border_weight","allow_scroll_page","fire_conversion_event","source","expiration_days","$form","on_submit","time_trigger","optin","setting","popup","trigger_on_time","trigger_on_time_delay","appear_after_time_unit","appear_after_time_val","scroll_trigger","popup_shown","appear_after","scroll","debounce","pageYOffset","height","appear_after_page_portion_val","appear_after_element_val","top","click_trigger","trigger_on_element_click","$clickable","optin_id","exit_intent_trigger","trigger_on_exit","listen_to_exit_intend","on_exit_trigger_once_per_session","one","adblock_trigger","trigger_on_adblock","is_adblock_enabled","trigger_on_adblock_timed","trigger_on_adblock_delay","trigger_on_adblock_timed_unit","trigger_on_adblock_timed_val","Triggers","time","scrolled","click","exit_intent","adblock","$optin","prev_shown_count","is_test","settings","inc_opt","ajaxurl","action","page_type","page_id","uri","encodeURI","res","cc_id","handle_scroll","$win","$doc","evt","rect","getBoundingClientRect","left","bottom","innerHeight","documentElement","clientHeight","right","innerWidth","clientWidth","handle_cc_scroll","validate_form","requireds","errors","error_class","next","$button","$popup","handle","delay_id","Optins","$failure","l10n","submit_failure","clearTimeout","form","serialize","$formParent","design","page_redirect_url","on_success","on_success_time","on_success_unit","popup_close","message","after","complete","closeSuccessContent","parentDiv","parents","$successDiv","check_if_in_view","window_height","$window","window_top_position","scrollTop","window_bottom_position","$animation_elements","$element","element_height","outerHeight","element_top_position","offset","element_bottom_position","add_proper_classes","$parent","width","css","padding","background","$child","$aside","$div","$col","$sidebar","$image","$section","$figure","$figtwo","$imgtwo","$cabriolet","$simple","$minimal","$header","$footer","$modal_content","$modal_message","$modal_message_section","$modal_image","$modal_img","ev","fn","get_tpl","layout_id","templates","shown","hidden","long_hidden","is_already_shown","popup_id","is_long_hidden","optin_obj","render_provider_args","optin_data","provider_args","provider_args_tpl","render_optin","layout","form_location","tpl","_show_args","group","form_field","image_style","borders","has_args","render_cc_shortcode","listening_to_exit_intent","checking_adblock","is_upfront","isCC","showClass","maskShowClass","add_never_see_again","mask","should_remove","click .inc-opt-close-btn","click .inc_opt_never_see_again","opt","maskClass","should_display","add_never_see_this_message","fit","max_height","header_height","containers","message_height","appendTo","proxy","me","onShow","triggers","on_time","on_time_delay","on_time_unit","selector","on_click_element","on_scroll","parseFloat","on_scroll_page_percent","on_scroll_css_selector","on_exit_intent","on_exit_intent_per_session","on_adblock","on_adblock_delayed","on_adblock_delayed_time","on_adblock_delayed_unit","cookie_key","never_see_expiry","closed","sender","currentTarget","is_never_see","close_button_acts_as_never_see","close_button_acts_as_never_see_again","clean","onHide","logView","server_error","logConversion","CCPopUp","click .wph-modal--close .wph-icon","slide_in","never_see","handle_custom_size","customize_size_class","CCSlideIn","key_prefix","hide_all_key","delay_time","hide_after_unit","hide_after_val","opt_cookie_never_see","after_close","hide_after","prevent_hide_after","AfterContent","after_content","animate","animation","PopUp","SlideIn","cLass","handle_cc_shortcode_conversion","cc_data","save_cc_shortcode_conversion","inc_opt_render_widgets","cc","Hustle_Custom_Contents","random","Upfront","args","enabled","uniq_id"],"mappings":"CAAA,SAAAA,GAAA,GAAAC,GAAA,gBAAAC,OAAAA,KAAAA,OAAAA,MAAAA,MAAA,gBAAAC,SAAAA,OAAAA,SAAAA,QAAAA,MAAA,IAAA,kBAAAC,SAAAA,OAAAC,IAAAD,QAAA,aAAA,SAAA,WAAA,SAAAE,EAAAC,EAAAC,GAAAP,EAAAQ,SAAAT,EAAAC,EAAAO,EAAAF,EAAAC,SAAA,IAAA,mBAAAG,SAAA,CAAA,GAAAH,GAAAD,EAAAK,QAAA,aAAA,KAAAJ,EAAAI,QAAA,UAAA,MAA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0J,EAAAlb,KAAAwR,SACAmO,GAAA1T,IAAA3N,EAeA,IAZAwU,EAAAxC,OAAAwC,EAAAxC,MAAAsP,UACA1uB,EAAA6Z,OAAAhB,MAAArB,OAAA7V,IAAAkX,MAAAG,oBAAAsH,KACA,GAAAzH,OAAAiV,MAAAW,GAIA7M,EAAAgL,UAAAhL,EAAAgL,SAAA8B,UACA1uB,EAAA6Z,OAAAhB,MAAArB,OAAA7V,IAAAkX,MAAAK,4BACA,GAAAL,OAAAkV,QAAAU,GAIA7M,EAAA+L,eAAA/L,EAAA+L,cAAAe,QAAA,CACA,GAAAf,GAAAvtB,EAAA,aAAAkgB,EAAA,MAAA/U,OAAA,WACA,MAAAnL,GAAAO,MAAA2a,GAAA,gCAGAqS,GAAAvrB,QACAurB,EAAAtsB,KAAAwX,MAAA6U,iBAMAttB,EAAAiB,KAAAitB,uBAAA,SAAAK,EAAAN,GACAA,EAAAvrB,GAAA6rB,EAEAN,EAAAnE,iBAEAlqB,EAAA6Z,OAAAwU,EAAAnE,eAAA9K,QAAApf,EAAA6Z,OAAAwU,EAAAjP,MAAAsP,WACAL,EAAAzf,KAAA,QACA,GAAAiK,OAAA6T,QAAA2B,IAIAruB,EAAA6Z,OAAAwU,EAAAnE,eAAA0C,WAAA5sB,EAAA6Z,OAAAwU,EAAAzB,SAAA8B,WACAL,EAAAzf,KAAA,WACA,GAAAiK,OAAAmU,UAAAqB,SAIApuB,OAAAqO,SAAA6C","file":"../front.min.js","sourcesContent":["(function(t){var e=typeof self==\"object\"&&self.self===self&&self||typeof global==\"object\"&&global.global===global&&global;if(typeof define===\"function\"&&define.amd){define([\"underscore\",\"jquery\",\"exports\"],function(i,r,n){e.Backbone=t(e,n,i,r)})}else if(typeof exports!==\"undefined\"){var i=require(\"underscore\"),r;try{r=require(\"jquery\")}catch(n){}t(e,exports,i,r)}else{e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}})(function(t,e,i,r){var n=t.Backbone;var s=Array.prototype.slice;e.VERSION=\"1.3.3\";e.$=r;e.noConflict=function(){t.Backbone=n;return this};e.emulateHTTP=false;e.emulateJSON=false;var a=function(t,e,r){switch(t){case 1:return function(){return i[e](this[r])};case 2:return function(t){return i[e](this[r],t)};case 3:return function(t,n){return i[e](this[r],o(t,this),n)};case 4:return function(t,n,s){return i[e](this[r],o(t,this),n,s)};default:return function(){var t=s.call(arguments);t.unshift(this[r]);return i[e].apply(i,t)}}};var h=function(t,e,r){i.each(e,function(e,n){if(i[n])t.prototype[n]=a(e,n,r)})};var o=function(t,e){if(i.isFunction(t))return t;if(i.isObject(t)&&!e._isModel(t))return l(t);if(i.isString(t))return function(e){return e.get(t)};return t};var l=function(t){var e=i.matches(t);return function(t){return e(t.attributes)}};var u=e.Events={};var c=/\\s+/;var f=function(t,e,r,n,s){var a=0,h;if(r&&typeof r===\"object\"){if(n!==void 0&&\"context\"in s&&s.context===void 0)s.context=n;for(h=i.keys(r);a<h.length;a++){e=f(t,e,h[a],r[h[a]],s)}}else if(r&&c.test(r)){for(h=r.split(c);a<h.length;a++){e=t(e,h[a],n,s)}}else{e=t(e,r,n,s)}return e};u.on=function(t,e,i){return d(this,t,e,i)};var d=function(t,e,i,r,n){t._events=f(v,t._events||{},e,i,{context:r,ctx:t,listening:n});if(n){var s=t._listeners||(t._listeners={});s[n.id]=n}return t};u.listenTo=function(t,e,r){if(!t)return this;var n=t._listenId||(t._listenId=i.uniqueId(\"l\"));var s=this._listeningTo||(this._listeningTo={});var a=s[n];if(!a){var h=this._listenId||(this._listenId=i.uniqueId(\"l\"));a=s[n]={obj:t,objId:n,id:h,listeningTo:s,count:0}}d(t,e,r,this,a);return this};var v=function(t,e,i,r){if(i){var n=t[e]||(t[e]=[]);var s=r.context,a=r.ctx,h=r.listening;if(h)h.count++;n.push({callback:i,context:s,ctx:s||a,listening:h})}return t};u.off=function(t,e,i){if(!this._events)return this;this._events=f(g,this._events,t,e,{context:i,listeners:this._listeners});return this};u.stopListening=function(t,e,r){var n=this._listeningTo;if(!n)return this;var s=t?[t._listenId]:i.keys(n);for(var a=0;a<s.length;a++){var h=n[s[a]];if(!h)break;h.obj.off(e,r,this)}return this};var g=function(t,e,r,n){if(!t)return;var s=0,a;var h=n.context,o=n.listeners;if(!e&&!r&&!h){var l=i.keys(o);for(;s<l.length;s++){a=o[l[s]];delete o[a.id];delete a.listeningTo[a.objId]}return}var u=e?[e]:i.keys(t);for(;s<u.length;s++){e=u[s];var c=t[e];if(!c)break;var f=[];for(var d=0;d<c.length;d++){var v=c[d];if(r&&r!==v.callback&&r!==v.callback._callback||h&&h!==v.context){f.push(v)}else{a=v.listening;if(a&&--a.count===0){delete o[a.id];delete a.listeningTo[a.objId]}}}if(f.length){t[e]=f}else{delete t[e]}}return t};u.once=function(t,e,r){var n=f(p,{},t,e,i.bind(this.off,this));if(typeof t===\"string\"&&r==null)e=void 0;return this.on(n,e,r)};u.listenToOnce=function(t,e,r){var n=f(p,{},e,r,i.bind(this.stopListening,this,t));return this.listenTo(t,n)};var p=function(t,e,r,n){if(r){var s=t[e]=i.once(function(){n(e,s);r.apply(this,arguments)});s._callback=r}return t};u.trigger=function(t){if(!this._events)return this;var e=Math.max(0,arguments.length-1);var i=Array(e);for(var r=0;r<e;r++)i[r]=arguments[r+1];f(m,this._events,t,void 0,i);return this};var m=function(t,e,i,r){if(t){var n=t[e];var s=t.all;if(n&&s)s=s.slice();if(n)_(n,r);if(s)_(s,[e].concat(r))}return t};var _=function(t,e){var i,r=-1,n=t.length,s=e[0],a=e[1],h=e[2];switch(e.length){case 0:while(++r<n)(i=t[r]).callback.call(i.ctx);return;case 1:while(++r<n)(i=t[r]).callback.call(i.ctx,s);return;case 2:while(++r<n)(i=t[r]).callback.call(i.ctx,s,a);return;case 3:while(++r<n)(i=t[r]).callback.call(i.ctx,s,a,h);return;default:while(++r<n)(i=t[r]).callback.apply(i.ctx,e);return}};u.bind=u.on;u.unbind=u.off;i.extend(e,u);var y=e.Model=function(t,e){var r=t||{};e||(e={});this.cid=i.uniqueId(this.cidPrefix);this.attributes={};if(e.collection)this.collection=e.collection;if(e.parse)r=this.parse(r,e)||{};var n=i.result(this,\"defaults\");r=i.defaults(i.extend({},n,r),n);this.set(r,e);this.changed={};this.initialize.apply(this,arguments)};i.extend(y.prototype,u,{changed:null,validationError:null,idAttribute:\"id\",cidPrefix:\"c\",initialize:function(){},toJSON:function(t){return i.clone(this.attributes)},sync:function(){return e.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return i.escape(this.get(t))},has:function(t){return this.get(t)!=null},matches:function(t){return!!i.iteratee(t,this)(this.attributes)},set:function(t,e,r){if(t==null)return this;var n;if(typeof t===\"object\"){n=t;r=e}else{(n={})[t]=e}r||(r={});if(!this._validate(n,r))return false;var s=r.unset;var a=r.silent;var h=[];var o=this._changing;this._changing=true;if(!o){this._previousAttributes=i.clone(this.attributes);this.changed={}}var l=this.attributes;var u=this.changed;var c=this._previousAttributes;for(var f in n){e=n[f];if(!i.isEqual(l[f],e))h.push(f);if(!i.isEqual(c[f],e)){u[f]=e}else{delete u[f]}s?delete l[f]:l[f]=e}if(this.idAttribute in n)this.id=this.get(this.idAttribute);if(!a){if(h.length)this._pending=r;for(var d=0;d<h.length;d++){this.trigger(\"change:\"+h[d],this,l[h[d]],r)}}if(o)return this;if(!a){while(this._pending){r=this._pending;this._pending=false;this.trigger(\"change\",this,r)}}this._pending=false;this._changing=false;return this},unset:function(t,e){return this.set(t,void 0,i.extend({},e,{unset:true}))},clear:function(t){var e={};for(var r in this.attributes)e[r]=void 0;return this.set(e,i.extend({},t,{unset:true}))},hasChanged:function(t){if(t==null)return!i.isEmpty(this.changed);return i.has(this.changed,t)},changedAttributes:function(t){if(!t)return this.hasChanged()?i.clone(this.changed):false;var e=this._changing?this._previousAttributes:this.attributes;var r={};for(var n in t){var s=t[n];if(i.isEqual(e[n],s))continue;r[n]=s}return i.size(r)?r:false},previous:function(t){if(t==null||!this._previousAttributes)return null;return this._previousAttributes[t]},previousAttributes:function(){return i.clone(this._previousAttributes)},fetch:function(t){t=i.extend({parse:true},t);var e=this;var r=t.success;t.success=function(i){var n=t.parse?e.parse(i,t):i;if(!e.set(n,t))return false;if(r)r.call(t.context,e,i,t);e.trigger(\"sync\",e,i,t)};B(this,t);return this.sync(\"read\",this,t)},save:function(t,e,r){var n;if(t==null||typeof t===\"object\"){n=t;r=e}else{(n={})[t]=e}r=i.extend({validate:true,parse:true},r);var s=r.wait;if(n&&!s){if(!this.set(n,r))return false}else if(!this._validate(n,r)){return false}var a=this;var h=r.success;var o=this.attributes;r.success=function(t){a.attributes=o;var e=r.parse?a.parse(t,r):t;if(s)e=i.extend({},n,e);if(e&&!a.set(e,r))return false;if(h)h.call(r.context,a,t,r);a.trigger(\"sync\",a,t,r)};B(this,r);if(n&&s)this.attributes=i.extend({},o,n);var l=this.isNew()?\"create\":r.patch?\"patch\":\"update\";if(l===\"patch\"&&!r.attrs)r.attrs=n;var u=this.sync(l,this,r);this.attributes=o;return u},destroy:function(t){t=t?i.clone(t):{};var e=this;var r=t.success;var n=t.wait;var s=function(){e.stopListening();e.trigger(\"destroy\",e,e.collection,t)};t.success=function(i){if(n)s();if(r)r.call(t.context,e,i,t);if(!e.isNew())e.trigger(\"sync\",e,i,t)};var a=false;if(this.isNew()){i.defer(t.success)}else{B(this,t);a=this.sync(\"delete\",this,t)}if(!n)s();return a},url:function(){var t=i.result(this,\"urlRoot\")||i.result(this.collection,\"url\")||F();if(this.isNew())return t;var e=this.get(this.idAttribute);return t.replace(/[^\\/]$/,\"$&/\")+encodeURIComponent(e)},parse:function(t,e){return t},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(t){return this._validate({},i.extend({},t,{validate:true}))},_validate:function(t,e){if(!e.validate||!this.validate)return true;t=i.extend({},this.attributes,t);var r=this.validationError=this.validate(t,e)||null;if(!r)return true;this.trigger(\"invalid\",this,r,i.extend(e,{validationError:r}));return false}});var b={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};h(y,b,\"attributes\");var x=e.Collection=function(t,e){e||(e={});if(e.model)this.model=e.model;if(e.comparator!==void 0)this.comparator=e.comparator;this._reset();this.initialize.apply(this,arguments);if(t)this.reset(t,i.extend({silent:true},e))};var w={add:true,remove:true,merge:true};var E={add:true,remove:false};var I=function(t,e,i){i=Math.min(Math.max(i,0),t.length);var r=Array(t.length-i);var n=e.length;var s;for(s=0;s<r.length;s++)r[s]=t[s+i];for(s=0;s<n;s++)t[s+i]=e[s];for(s=0;s<r.length;s++)t[s+n+i]=r[s]};i.extend(x.prototype,u,{model:y,initialize:function(){},toJSON:function(t){return this.map(function(e){return e.toJSON(t)})},sync:function(){return e.sync.apply(this,arguments)},add:function(t,e){return this.set(t,i.extend({merge:false},e,E))},remove:function(t,e){e=i.extend({},e);var r=!i.isArray(t);t=r?[t]:t.slice();var n=this._removeModels(t,e);if(!e.silent&&n.length){e.changes={added:[],merged:[],removed:n};this.trigger(\"update\",this,e)}return r?n[0]:n},set:function(t,e){if(t==null)return;e=i.extend({},w,e);if(e.parse&&!this._isModel(t)){t=this.parse(t,e)||[]}var r=!i.isArray(t);t=r?[t]:t.slice();var n=e.at;if(n!=null)n=+n;if(n>this.length)n=this.length;if(n<0)n+=this.length+1;var s=[];var a=[];var h=[];var o=[];var l={};var u=e.add;var c=e.merge;var f=e.remove;var d=false;var v=this.comparator&&n==null&&e.sort!==false;var g=i.isString(this.comparator)?this.comparator:null;var p,m;for(m=0;m<t.length;m++){p=t[m];var _=this.get(p);if(_){if(c&&p!==_){var y=this._isModel(p)?p.attributes:p;if(e.parse)y=_.parse(y,e);_.set(y,e);h.push(_);if(v&&!d)d=_.hasChanged(g)}if(!l[_.cid]){l[_.cid]=true;s.push(_)}t[m]=_}else if(u){p=t[m]=this._prepareModel(p,e);if(p){a.push(p);this._addReference(p,e);l[p.cid]=true;s.push(p)}}}if(f){for(m=0;m<this.length;m++){p=this.models[m];if(!l[p.cid])o.push(p)}if(o.length)this._removeModels(o,e)}var b=false;var x=!v&&u&&f;if(s.length&&x){b=this.length!==s.length||i.some(this.models,function(t,e){return t!==s[e]});this.models.length=0;I(this.models,s,0);this.length=this.models.length}else if(a.length){if(v)d=true;I(this.models,a,n==null?this.length:n);this.length=this.models.length}if(d)this.sort({silent:true});if(!e.silent){for(m=0;m<a.length;m++){if(n!=null)e.index=n+m;p=a[m];p.trigger(\"add\",p,this,e)}if(d||b)this.trigger(\"sort\",this,e);if(a.length||o.length||h.length){e.changes={added:a,removed:o,merged:h};this.trigger(\"update\",this,e)}}return r?t[0]:t},reset:function(t,e){e=e?i.clone(e):{};for(var r=0;r<this.models.length;r++){this._removeReference(this.models[r],e)}e.previousModels=this.models;this._reset();t=this.add(t,i.extend({silent:true},e));if(!e.silent)this.trigger(\"reset\",this,e);return t},push:function(t,e){return this.add(t,i.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,i.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return s.apply(this.models,arguments)},get:function(t){if(t==null)return void 0;return this._byId[t]||this._byId[this.modelId(t.attributes||t)]||t.cid&&this._byId[t.cid]},has:function(t){return this.get(t)!=null},at:function(t){if(t<0)t+=this.length;return this.models[t]},where:function(t,e){return this[e?\"find\":\"filter\"](t)},findWhere:function(t){return this.where(t,true)},sort:function(t){var e=this.comparator;if(!e)throw new Error(\"Cannot sort a set without a comparator\");t||(t={});var r=e.length;if(i.isFunction(e))e=i.bind(e,this);if(r===1||i.isString(e)){this.models=this.sortBy(e)}else{this.models.sort(e)}if(!t.silent)this.trigger(\"sort\",this,t);return this},pluck:function(t){return this.map(t+\"\")},fetch:function(t){t=i.extend({parse:true},t);var e=t.success;var r=this;t.success=function(i){var n=t.reset?\"reset\":\"set\";r[n](i,t);if(e)e.call(t.context,r,i,t);r.trigger(\"sync\",r,i,t)};B(this,t);return this.sync(\"read\",this,t)},create:function(t,e){e=e?i.clone(e):{};var r=e.wait;t=this._prepareModel(t,e);if(!t)return false;if(!r)this.add(t,e);var n=this;var s=e.success;e.success=function(t,e,i){if(r)n.add(t,i);if(s)s.call(i.context,t,e,i)};t.save(null,e);return t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t){return t[this.model.prototype.idAttribute||\"id\"]},_reset:function(){this.length=0;this.models=[];this._byId={}},_prepareModel:function(t,e){if(this._isModel(t)){if(!t.collection)t.collection=this;return t}e=e?i.clone(e):{};e.collection=this;var r=new this.model(t,e);if(!r.validationError)return r;this.trigger(\"invalid\",this,r.validationError,e);return false},_removeModels:function(t,e){var i=[];for(var r=0;r<t.length;r++){var n=this.get(t[r]);if(!n)continue;var s=this.indexOf(n);this.models.splice(s,1);this.length--;delete this._byId[n.cid];var a=this.modelId(n.attributes);if(a!=null)delete this._byId[a];if(!e.silent){e.index=s;n.trigger(\"remove\",n,this,e)}i.push(n);this._removeReference(n,e)}return i},_isModel:function(t){return t instanceof y},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes);if(i!=null)this._byId[i]=t;t.on(\"all\",this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes);if(i!=null)delete this._byId[i];if(this===t.collection)delete t.collection;t.off(\"all\",this._onModelEvent,this)},_onModelEvent:function(t,e,i,r){if(e){if((t===\"add\"||t===\"remove\")&&i!==this)return;if(t===\"destroy\")this.remove(e,r);if(t===\"change\"){var n=this.modelId(e.previousAttributes());var s=this.modelId(e.attributes);if(n!==s){if(n!=null)delete this._byId[n];if(s!=null)this._byId[s]=e}}}this.trigger.apply(this,arguments)}});var S={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};h(x,S,\"models\");var k=e.View=function(t){this.cid=i.uniqueId(\"view\");i.extend(this,i.pick(t,P));this._ensureElement();this.initialize.apply(this,arguments)};var T=/^(\\S+)\\s*(.*)$/;var P=[\"model\",\"collection\",\"el\",\"id\",\"attributes\",\"className\",\"tagName\",\"events\"];i.extend(k.prototype,u,{tagName:\"div\",$:function(t){return this.$el.find(t)},initialize:function(){},render:function(){return this},remove:function(){this._removeElement();this.stopListening();return this},_removeElement:function(){this.$el.remove()},setElement:function(t){this.undelegateEvents();this._setElement(t);this.delegateEvents();return this},_setElement:function(t){this.$el=t instanceof e.$?t:e.$(t);this.el=this.$el[0]},delegateEvents:function(t){t||(t=i.result(this,\"events\"));if(!t)return this;this.undelegateEvents();for(var e in t){var r=t[e];if(!i.isFunction(r))r=this[r];if(!r)continue;var n=e.match(T);this.delegate(n[1],n[2],i.bind(r,this))}return this},delegate:function(t,e,i){this.$el.on(t+\".delegateEvents\"+this.cid,e,i);return this},undelegateEvents:function(){if(this.$el)this.$el.off(\".delegateEvents\"+this.cid);return this},undelegate:function(t,e,i){this.$el.off(t+\".delegateEvents\"+this.cid,e,i);return this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){if(!this.el){var t=i.extend({},i.result(this,\"attributes\"));if(this.id)t.id=i.result(this,\"id\");if(this.className)t[\"class\"]=i.result(this,\"className\");this.setElement(this._createElement(i.result(this,\"tagName\")));this._setAttributes(t)}else{this.setElement(i.result(this,\"el\"))}},_setAttributes:function(t){this.$el.attr(t)}});e.sync=function(t,r,n){var s=H[t];i.defaults(n||(n={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:s,dataType:\"json\"};if(!n.url){a.url=i.result(r,\"url\")||F()}if(n.data==null&&r&&(t===\"create\"||t===\"update\"||t===\"patch\")){a.contentType=\"application/json\";a.data=JSON.stringify(n.attrs||r.toJSON(n))}if(n.emulateJSON){a.contentType=\"application/x-www-form-urlencoded\";a.data=a.data?{model:a.data}:{}}if(n.emulateHTTP&&(s===\"PUT\"||s===\"DELETE\"||s===\"PATCH\")){a.type=\"POST\";if(n.emulateJSON)a.data._method=s;var h=n.beforeSend;n.beforeSend=function(t){t.setRequestHeader(\"X-HTTP-Method-Override\",s);if(h)return h.apply(this,arguments)}}if(a.type!==\"GET\"&&!n.emulateJSON){a.processData=false}var o=n.error;n.error=function(t,e,i){n.textStatus=e;n.errorThrown=i;if(o)o.call(n.context,t,e,i)};var l=n.xhr=e.ajax(i.extend(a,n));r.trigger(\"request\",r,l,n);return l};var H={create:\"POST\",update:\"PUT\",patch:\"PATCH\",\"delete\":\"DELETE\",read:\"GET\"};e.ajax=function(){return e.$.ajax.apply(e.$,arguments)};var $=e.Router=function(t){t||(t={});if(t.routes)this.routes=t.routes;this._bindRoutes();this.initialize.apply(this,arguments)};var A=/\\((.*?)\\)/g;var C=/(\\(\\?)?:\\w+/g;var R=/\\*\\w+/g;var j=/[\\-{}\\[\\]+?.,\\\\\\^$|#\\s]/g;i.extend($.prototype,u,{initialize:function(){},route:function(t,r,n){if(!i.isRegExp(t))t=this._routeToRegExp(t);if(i.isFunction(r)){n=r;r=\"\"}if(!n)n=this[r];var s=this;e.history.route(t,function(i){var a=s._extractParameters(t,i);if(s.execute(n,a,r)!==false){s.trigger.apply(s,[\"route:\"+r].concat(a));s.trigger(\"route\",r,a);e.history.trigger(\"route\",s,r,a)}});return this},execute:function(t,e,i){if(t)t.apply(this,e)},navigate:function(t,i){e.history.navigate(t,i);return this},_bindRoutes:function(){if(!this.routes)return;this.routes=i.result(this,\"routes\");var t,e=i.keys(this.routes);while((t=e.pop())!=null){this.route(t,this.routes[t])}},_routeToRegExp:function(t){t=t.replace(j,\"\\\\$&\").replace(A,\"(?:$1)?\").replace(C,function(t,e){return e?t:\"([^/?]+)\"}).replace(R,\"([^?]*?)\");return new RegExp(\"^\"+t+\"(?:\\\\?([\\\\s\\\\S]*))?$\")},_extractParameters:function(t,e){var r=t.exec(e).slice(1);return i.map(r,function(t,e){if(e===r.length-1)return t||null;return t?decodeURIComponent(t):null})}});var N=e.History=function(){this.handlers=[];this.checkUrl=i.bind(this.checkUrl,this);if(typeof window!==\"undefined\"){this.location=window.location;this.history=window.history}};var M=/^[#\\/]|\\s+$/g;var O=/^\\/+|\\/+$/g;var U=/#.*$/;N.started=false;i.extend(N.prototype,u,{interval:50,atRoot:function(){var t=this.location.pathname.replace(/[^\\/]$/,\"$&/\");return t===this.root&&!this.getSearch()},matchRoot:function(){var t=this.decodeFragment(this.location.pathname);var e=t.slice(0,this.root.length-1)+\"/\";return e===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,\"%2525\"))},getSearch:function(){var t=this.location.href.replace(/#.*/,\"\").match(/\\?.+/);return t?t[0]:\"\"},getHash:function(t){var e=(t||this).location.href.match(/#(.*)$/);return e?e[1]:\"\"},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return t.charAt(0)===\"/\"?t.slice(1):t},getFragment:function(t){if(t==null){if(this._usePushState||!this._wantsHashChange){t=this.getPath()}else{t=this.getHash()}}return t.replace(M,\"\")},start:function(t){if(N.started)throw new Error(\"Backbone.history has already been started\");N.started=true;this.options=i.extend({root:\"/\"},this.options,t);this.root=this.options.root;this._wantsHashChange=this.options.hashChange!==false;this._hasHashChange=\"onhashchange\"in window&&(document.documentMode===void 0||document.documentMode>7);this._useHashChange=this._wantsHashChange&&this._hasHashChange;this._wantsPushState=!!this.options.pushState;this._hasPushState=!!(this.history&&this.history.pushState);this._usePushState=this._wantsPushState&&this._hasPushState;this.fragment=this.getFragment();this.root=(\"/\"+this.root+\"/\").replace(O,\"/\");if(this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var e=this.root.slice(0,-1)||\"/\";this.location.replace(e+\"#\"+this.getPath());return true}else if(this._hasPushState&&this.atRoot()){this.navigate(this.getHash(),{replace:true})}}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement(\"iframe\");this.iframe.src=\"javascript:0\";this.iframe.style.display=\"none\";this.iframe.tabIndex=-1;var r=document.body;var n=r.insertBefore(this.iframe,r.firstChild).contentWindow;n.document.open();n.document.close();n.location.hash=\"#\"+this.fragment}var s=window.addEventListener||function(t,e){return attachEvent(\"on\"+t,e)};if(this._usePushState){s(\"popstate\",this.checkUrl,false)}else if(this._useHashChange&&!this.iframe){s(\"hashchange\",this.checkUrl,false)}else if(this._wantsHashChange){this._checkUrlInterval=setInterval(this.checkUrl,this.interval)}if(!this.options.silent)return this.loadUrl()},stop:function(){var t=window.removeEventListener||function(t,e){return detachEvent(\"on\"+t,e)};if(this._usePushState){t(\"popstate\",this.checkUrl,false)}else if(this._useHashChange&&!this.iframe){t(\"hashchange\",this.checkUrl,false)}if(this.iframe){document.body.removeChild(this.iframe);this.iframe=null}if(this._checkUrlInterval)clearInterval(this._checkUrlInterval);N.started=false},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe){e=this.getHash(this.iframe.contentWindow)}if(e===this.fragment)return false;if(this.iframe)this.navigate(e);this.loadUrl()},loadUrl:function(t){if(!this.matchRoot())return false;t=this.fragment=this.getFragment(t);return i.some(this.handlers,function(e){if(e.route.test(t)){e.callback(t);return true}})},navigate:function(t,e){if(!N.started)return false;if(!e||e===true)e={trigger:!!e};t=this.getFragment(t||\"\");var i=this.root;if(t===\"\"||t.charAt(0)===\"?\"){i=i.slice(0,-1)||\"/\"}var r=i+t;t=this.decodeFragment(t.replace(U,\"\"));if(this.fragment===t)return;this.fragment=t;if(this._usePushState){this.history[e.replace?\"replaceState\":\"pushState\"]({},document.title,r)}else if(this._wantsHashChange){this._updateHash(this.location,t,e.replace);if(this.iframe&&t!==this.getHash(this.iframe.contentWindow)){var n=this.iframe.contentWindow;if(!e.replace){n.document.open();n.document.close()}this._updateHash(n.location,t,e.replace)}}else{return this.location.assign(r)}if(e.trigger)return this.loadUrl(t)},_updateHash:function(t,e,i){if(i){var r=t.href.replace(/(javascript:|#).*$/,\"\");t.replace(r+\"#\"+e)}else{t.hash=\"#\"+e}}});e.history=new N;var q=function(t,e){var r=this;var n;if(t&&i.has(t,\"constructor\")){n=t.constructor}else{n=function(){return r.apply(this,arguments)}}i.extend(n,r,e);n.prototype=i.create(r.prototype,t);n.prototype.constructor=n;n.__super__=r.prototype;return n};y.extend=x.extend=$.extend=k.extend=N.extend=q;var F=function(){throw new Error('A \"url\" property or function must be specified')};var B=function(t,e){var i=e.error;e.error=function(r){if(i)i.call(e.context,t,r,e);t.trigger(\"error\",t,r,e)}};return e});","(function( $ ) {\r\n \"use strict\";\r\n\r\n /**\r\n * Defines the Hustle Object\r\n *\r\n * @type {{define, get_modules, get, modules}}\r\n */\r\n window.Hustle = (function ($, doc, win) {\r\n var _modules = {},\r\n _template_options = {\r\n evaluate: /<#([\\s\\S]+?)#>/g,\r\n interpolate: /\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/g,\r\n escape: /\\{\\{([^\\}]+?)\\}\\}(?!\\})/g\r\n };\r\n\r\n var define = function (module_name, module) {\r\n var splits = module_name.split(\".\");\r\n if (splits.length) { // if module_name has more than one object name, then add the module definition recursively\r\n var recursive = function (module_name, modules) {\r\n var arr = module_name.split(\".\"),\r\n _module_name = arr.splice(0, 1)[0];\r\n\r\n if (!_module_name) return;\r\n\r\n\r\n if (!arr.length) {\r\n var invoked = module.call(null, $, doc, win);\r\n modules[_module_name] = _.isFunction(invoked) || typeof invoked === \"undefined\" ? invoked : _.extend(modules[_module_name] || {}, invoked);\r\n } else {\r\n modules[_module_name] = modules[_module_name] || {};\r\n }\r\n\r\n if (arr.length && _module_name)\r\n recursive(arr.join(\".\"), modules[_module_name]);\r\n };\r\n\r\n recursive(module_name, _modules);\r\n } else {\r\n var m = _modules[module_name] || {};\r\n _modules[module_name] = _.extend(m, module.call(null, $, doc, win));\r\n }\r\n },\r\n get_modules = function () {\r\n return _modules;\r\n },\r\n get = function (module_name) {\r\n if (module_name.split(\".\").length) { // recursively fetch the module\r\n var module = false,\r\n recursive = function (module_name, modules) {\r\n var arr = module_name.split(\".\"),\r\n _module_name = arr.splice(0, 1)[0];\r\n\r\n module = modules[_module_name];\r\n\r\n if (arr.length)\r\n recursive(arr.join(\".\"), modules[_module_name])\r\n };\r\n\r\n recursive(module_name, _modules);\r\n return module;\r\n }\r\n\r\n return _modules[module_name] || false;\r\n },\r\n Events = _.extend({}, Backbone.Events),\r\n View = Backbone.View.extend({\r\n __base_events:{\r\n \"click .wph-tabs--wrap .wph-tabs--nav li label\": \"__base_toggle_tab\"\r\n },\r\n initialize: function () {\r\n this.events = _.extend({}, this.events, this.__base_events);\r\n\r\n if (_.isFunction(this.init_mix))\r\n this.init_mix.apply(this, arguments);\r\n\r\n\r\n\r\n if (this.render) {\r\n this.render = _.wrap(this.render, function (render) {\r\n this.trigger(\"before_render\");\r\n render.call(this);\r\n Events.trigger(\"view.rendered\", this);\r\n this.trigger(\"rendered\");\r\n });\r\n }\r\n\r\n if (_.isFunction(this.init))\r\n this.init.apply(this, arguments);\r\n },\r\n __base_toggle_tab: function(e){\r\n var $this = this.$( e.target ),\r\n href = ( $this.attr(\"href\") || \"\" ).replace(/^\\#/, \"\"),\r\n $content = href ? this.$( \"#\" + href ) : false,\r\n $wrap = $this.closest(\".wph-tabs--wrap\"),\r\n $li = $this.closest(\"li\");\r\n\r\n if( $content && $content.length ){\r\n $wrap.find( \".wph-tabs--content\" ).not( $content ).removeClass(\"current\");\r\n $content.addClass(\"current\");\r\n $li.addClass(\"current\");\r\n $li.siblings().removeClass(\"current\");\r\n }\r\n }\r\n }),\r\n template = _.memoize(function ( id ) {\r\n var compiled;\r\n return function ( data ) {\r\n compiled = compiled || _.template( document.getElementById( id ).innerHTML, null, _template_options );\r\n return compiled( data ).replace(\"/*<![CDATA[*/\", \"\").replace(\"/*]]>*/\", \"\");\r\n };\r\n }),\r\n create_template = _.memoize(function( str ){\r\n var cache;\r\n return function(data){\r\n cache = cache || _.template( str, null, _template_options );\r\n return cache( data );\r\n };\r\n }),\r\n get_template_options = function(){\r\n return $.extend( true, {}, _template_options );\r\n },\r\n cookie = (function(){\r\n // Get a cookie value.\r\n var get = function (name) {\r\n var i, c, cookie_name, value,\r\n ca = document.cookie.split(';');\r\n\r\n\r\n cookie_name = name + \"=\";\r\n\r\n for (i = 0; i < ca.length; i += 1) {\r\n c = ca[i];\r\n while (c.charAt(0) === ' ') {\r\n c = c.substring(1, c.length);\r\n }\r\n if (c.indexOf(cookie_name) === 0) {\r\n var _val = c.substring(cookie_name.length, c.length);\r\n return !_val ? _val : JSON.parse(_val);\r\n }\r\n }\r\n return null;\r\n };\r\n\r\n // Saves the value into a cookie.\r\n var set = function (name, value, days) {\r\n var date, expires;\r\n\r\n value = $.isArray(value) || $.isPlainObject(value) ? JSON.stringify(value) : value;\r\n\r\n if (!isNaN(days)) {\r\n date = new Date();\r\n date.setTime(date.getTime() + ( days * 24 * 60 * 60 * 1000 ));\r\n expires = \"; expires=\" + date.toGMTString();\r\n } else {\r\n expires = \"\";\r\n }\r\n\r\n document.cookie = name + \"=\" + value + expires + \"; path=/\";\r\n };\r\n return {\r\n set: set,\r\n get: get\r\n }\r\n }()),\r\n consts = (function(){\r\n return {\r\n Never_See_Aagain_Prefix: \"hustle_never_see_again-\",\r\n Module_Show_Count: \"hustle_module_show_count-\",\r\n\t\t\t\t\tSlide_Cookie_Prefix: 'hustle_slide_in_prefix-',\r\n\t\t\t\t\tSlide_Cookie_Hide_All: 'hustle_slide_in_hide_all-'\r\n };\r\n }());\r\n\r\n return {\r\n define: define,\r\n get_modules: get_modules,\r\n get: get,\r\n Events: Events,\r\n View: View,\r\n template: template,\r\n create_template: create_template,\r\n get_template_options: get_template_options,\r\n cookie: cookie,\r\n consts: consts\r\n };\r\n }(jQuery, document, window) );\r\n\r\n}(jQuery));","\"use strict\";\r\nvar Optin = Optin || {};\r\n\r\nOptin.View = {};\r\nOptin.Models = {};\r\nOptin.Events = {};\r\n\r\nif( typeof Backbone !== \"undefined\")\r\n _.extend(Optin.Events, Backbone.Events);\r\n(function( $ ) {\r\n\r\n Optin.COOKIE_PREFIX = \"inc_optin_long_hidden-\";\r\n Optin.POPUP_COOKIE_PREFIX = \"inc_optin_popup_long_hidden-\";\r\n Optin.SLIDE_IN_COOKIE_PREFIX = \"inc_optin_slide_in_long_hidden-\";\r\n Optin.SLIDE_IN_COOKIE_HIDE_ALL = \"inc_optin_slide_in_hide_all\";\r\n\r\n _.mixin({\r\n /**\r\n * Logs to console\r\n */\r\n log: function(){\r\n console.log( arguments );\r\n },\r\n /**\r\n * Converts val to boolian\r\n *\r\n * @param val\r\n * @returns {*}\r\n */\r\n toBool: function(val){\r\n if( _.isBoolean(val) )\r\n return val;\r\n\r\n if( _.isString( val ) && [\"true\", \"false\", \"1\"].indexOf( val.toLowerCase() ) !== -1 ){\r\n return val.toLowerCase() === \"true\" || val.toLowerCase() === \"1\" ? true : false;\r\n }\r\n\r\n if( _.isNumber( val ) )\r\n return !!val;\r\n\r\n if(_.isUndefined( val ) || _.isNull(val) || _.isNaN( val ) )\r\n return false;\r\n\r\n return val;\r\n },\r\n /**\r\n * Checks if val is truthy\r\n *\r\n * @param val\r\n * @returns {boolean}\r\n */\r\n isTrue: function(val) {\r\n if( _.isUndefined( val ) || _.isNull( val ) || _.isNaN( val ) )\r\n return false;\r\n\r\n if( _.isNumber( val ) )\r\n return val !== 0;\r\n\r\n val = val.toString().toLowerCase();\r\n return ['1', \"true\", \"on\"].indexOf( val ) !== -1;\r\n },\r\n isFalse: function(val){\r\n return !_.isTrue( val );\r\n },\r\n control_base: function(checked, current, attribute){\r\n attribute = _.isUndefined( attribute ) ? \"checked\" : attribute;\r\n checked = _.toBool(checked);\r\n current = _.isBoolean( checked ) ? _.isTrue( current ) : current;\r\n\r\n if(_.isEqual(checked, current )){\r\n return attribute + '=' + attribute;\r\n }\r\n return \"\";\r\n },\r\n /**\r\n * Returns checked=check if checked variable is equal to current state\r\n *\r\n *\r\n * @param checked checked state\r\n * @param current current state\r\n * @returns {*}\r\n */\r\n checked: function(checked, current){\r\n return _.control_base( checked, current, \"checked\" );\r\n },\r\n /**\r\n * Adds selected attribute\r\n *\r\n * @param selected\r\n * @param current\r\n * @returns {*}\r\n */\r\n selected: function(selected, current){\r\n return _.control_base( selected, current, \"selected\" );\r\n },\r\n /**\r\n * Adds disabled attribute\r\n *\r\n * @param disabled\r\n * @param current\r\n * @returns {*}\r\n */\r\n disabled: function( disabled, current ){\r\n return _.control_base( disabled, current, \"disabled\" );\r\n },\r\n /**\r\n * Returns css class based on the passed in condition\r\n *\r\n * @param conditon\r\n * @param cls\r\n * @param negating_cls\r\n * @returns {*}\r\n */\r\n class: function( conditon, cls, negating_cls ){\r\n\r\n if( _.isTrue( conditon ) )\r\n return cls;\r\n\r\n return typeof negating_cls !== \"undefined\" ? negating_cls : \"\";\r\n },\r\n /**\r\n * Returns class attribute with relevant class name\r\n *\r\n * @param conditon\r\n * @param cls\r\n * @param negating_cls\r\n * @returns {string}\r\n */\r\n add_class: function( conditon, cls, negating_cls ){\r\n return 'class={class}'.replace( \"{class}\", _.class( conditon, cls, negating_cls ) );\r\n },\r\n toUpperCase: function(str){\r\n return _.isString( str ) ? str.toUpperCase() : \"\";\r\n }\r\n });\r\n\r\n if( !_.findKey ) {\r\n _.mixin({\r\n findKey: function(obj, predicate, context) {\r\n predicate = cb(predicate, context);\r\n var keys = _.keys(obj), key;\r\n for (var i = 0, length = keys.length; i < length; i++) {\r\n key = keys[i];\r\n if (predicate(obj[key], key, obj)) return key;\r\n }\r\n }\r\n });\r\n }\r\n /**\r\n * Recursive toJSON\r\n *\r\n * @returns {*}\r\n */\r\n Backbone.Model.prototype.toJSON = function() {\r\n var json = _.clone(this.attributes);\r\n for(var attr in json) {\r\n if((json[attr] instanceof Backbone.Model) || (Backbone.Collection && json[attr] instanceof Backbone.Collection)) {\r\n json[attr] = json[attr].toJSON();\r\n }\r\n }\r\n return json;\r\n };\r\n\r\n\r\n String.prototype.toInt = function(){\r\n return parseInt(this, 10);\r\n };\r\n\r\n String.prototype.isEmpty = function() {\r\n return (this.length === 0 || !this.trim());\r\n };\r\n\r\n Optin.template = _.memoize(function ( id ) {\r\n var compiled,\r\n\r\n options = {\r\n evaluate: /<#([\\s\\S]+?)#>/g,\r\n interpolate: /\\{\\{\\{([\\s\\S]+?)\\}\\}\\}/g,\r\n escape: /\\{\\{([^\\}]+?)\\}\\}(?!\\})/g\r\n };\r\n\r\n return function ( data ) {\r\n compiled = compiled || _.template( $( '#' + id ).html(), null, options );\r\n return compiled( data ).replace(\"/*<![CDATA[*/\", \"\").replace(\"/*]]>*/\", \"\");\r\n };\r\n });\r\n\r\n Optin.cookie = Hustle.cookie;\r\n\r\n $(document).on('blur', 'input, textarea, select', function(){\r\n\t var $this = $(this);\r\n\t if($this.is(':input[type=button], :input[type=submit], :input[type=reset]')) return;\r\n\t if( $this.val() && $this.val().trim && $this.val().trim() !== '' ) {\r\n\t\t $this.parent().addClass('wpoi-filled');\r\n\t\t} else{\r\n $this.parent().removeClass('wpoi-filled');\r\n }\r\n });\r\n\r\n Optin.Mixins = {\r\n _mixins: {},\r\n _services_mixins: {},\r\n _desing_mixins: {},\r\n _display_mixins: {},\r\n add: function(id, obj){\r\n this._mixins[id] = obj;\r\n },\r\n get_mixins: function(){\r\n return this._mixins;\r\n },\r\n add_services_mixin: function( id, obj ){\r\n this._services_mixins[id] = obj;\r\n },\r\n get_services_mixins: function(){\r\n return this._services_mixins;\r\n }\r\n };\r\n\r\n\r\n})( jQuery );\r\n","Hustle.define(\"Modal\", function($){\r\n \"use strict\";\r\n\r\n return Backbone.View.extend({\r\n template: Optin.template(\"hustle-modal-tpl\"),\r\n $mask: $('<div class=\"wph-modal--mask\"></div>'),\r\n opts: {\r\n\r\n },\r\n data:{\r\n id: \"\",\r\n type: \"popup\",\r\n style: \"\",\r\n title: \"\",\r\n subtitle: \"\",\r\n content: \"Content\",\r\n animation_in: \"\",\r\n animation_out: \"\",\r\n position: \"\"\r\n },\r\n events:{\r\n \"click .wph-modal--close a\": \"hide\",\r\n \"submit form\": \"fire_conversion_event\",\r\n \"click .wph-modal--cta\": \"fire_conversion_event\",\r\n \"click .wph-modal-never-see-again\": \"never_see_again\"\r\n },\r\n initialize: function( options ){\r\n this.opts = _.extend( {}, this.opts, options );\r\n if( options.template )\r\n this.template = options.template;\r\n\r\n this.render();\r\n return this;\r\n },\r\n render: function(){\r\n var data = _.extend( {}, this.data, this.model.toJSON() );\r\n\r\n this.type_data = data.types[ data.type ];\r\n\r\n this.animation_in = data.animation_in = data.types[ data.type ].animation_in || data.animation_in;\r\n this.animation_out = data.animation_out = data.types[ data.type ].animation_out || data.animation_out;\r\n\r\n data.position = data.types[ data.type ].position || data.position;\r\n\t\t\t\r\n\t\t\t// check cta_url if preceeds http\r\n\t\t\tdata = this.sanitize_cta_url(data);\r\n\t\t\t\r\n\t\t\t// enable fullscreen\r\n\t\t\tdata = this.enable_fullscreen(data);\r\n\t\t\t\r\n\t\t\t// handle custom size for custom content\r\n\t\t\tdata = this.handle_custom_size_cc(data);\r\n\t\t\t\r\n this.setElement( this.template( data ) );\r\n\r\n this.$mask = this.$mask.clone();\r\n this.$mask.on(\"click\", _.bind( this.clicked_background, this ) );\r\n\r\n this.$el.find( \"form\" ).on(\"submit\", _.bind( this.on_form_submit, this ) );\r\n\t\t\t\r\n\t\t\t// check if CC and scroll enabled\r\n\t\t\tthis.enable_body_scroll(data);\r\n\t\t\t\r\n\t\t\t// hide close button if on admin\r\n\t\t\tif( window.hasOwnProperty( \"optin_vars\" ) ) {\r\n\t\t\t\tvar $close_btn = this.$el.find('a.wph-icon.i-close');\r\n\t\t\t\tif ( $close_btn.length ) $close_btn.parent().hide();\r\n\t\t\t}\r\n\t\t\t\r\n return this;\r\n },\r\n hide: function(e){\r\n var self = this;\r\n if( e )\r\n e.preventDefault();\r\n\t\t\t\r\n if ( self.animation_in !== self.animation_out ) self.$el.removeClass( self.animation_in );\r\n _.delay(function(){\r\n\t\t\t\tif ( self.animation_out && !self.$el.hasClass(self.animation_out) ) {\r\n\t\t\t\t\tself.$el.addClass( self.animation_out );\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\t_.delay( function(){\r\n\t\t\t\t\tself.$el.removeClass(\"wph-modal-show\");\r\n\t\t\t\t\tself.$el.prev(\".wph-modal--mask\").remove();\r\n\t\t\t\t\tHustle.Events.trigger(\"hide_modal\", self );\r\n\t\t\t\t\tself.trigger(\"hidden\");\r\n\t\t\t\t\t\r\n\t\t\t\t\t// only for close button\r\n\t\t\t\t\tif( _.isTrue( self.type_data.close_btn_as_never_see ) && e && $(e.target).hasClass('wph-icon i-close') )\r\n\t\t\t\t\t\tself.never_see_again( e );\r\n }, 550 );\r\n\r\n }, 350);\r\n\t\t\t\r\n\t\t\t// remove any no-scroll class on html\r\n\t\t\t$('html').removeClass('no-scroll');\r\n },\r\n\t\tclicked_background: function(e){\r\n\t\t\tif ( !_.isTrue( this.type_data.not_close_on_background_click ) ) {\r\n\t\t\t\tthis.hide(e);\r\n\t\t\t}\r\n\t\t},\r\n show:function(){\r\n var self = this;\r\n if( !window.hasOwnProperty( \"optin_vars\" ) ){ // don't set cookie in admin\r\n var show_count_key = Hustle.consts.Module_Show_Count + this.model.get(\"type\") + \"-\" + this.model.get(\"id\"),\r\n current_show_count = Hustle.cookie.get( show_count_key );\r\n\r\n Hustle.cookie.set( show_count_key, current_show_count + 1, 90 );\r\n }\r\n\t\t\t\r\n if ( self.animation_in !== self.animation_out ) self.$el.removeClass( self.animation_out );\r\n _.delay( function(){\r\n self.$el.addClass(\"wph-modal-show\");\r\n self.trigger(\"shown\", self, self.model.get(\"type\"));\r\n Hustle.Events.trigger(\"show_modal\", self, self.model.get(\"type\") );\r\n\r\n _.delay( function(){\r\n\t\t\t\t\tif ( self.animation_in && !self.$el.hasClass(self.animation_in) ) {\r\n\t\t\t\t\t\tself.$el.addClass( self.animation_in );\r\n\t\t\t\t\t}\r\n }, 350 );\r\n\r\n }, 550 );\r\n\r\n },\r\n\t\tsanitize_cta_url: function( data ) {\r\n\t\t\tif ( data.cta_url ) {\r\n\t\t\t\tif (!/^(f|ht)tps?:\\/\\//i.test(data.cta_url)) {\r\n\t\t\t\t\tdata.cta_url = \"http://\" + data.cta_url;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\t\tenable_fullscreen: function( data ) {\r\n\t\t\tdata.fullscreen = '';\r\n\t\t\t// only for custom content popup\r\n\t\t\tif ( !data || typeof data.optin_provider === 'undefined' || typeof data.type === 'undefined' ) {\r\n\t\t\t\treturn data;\r\n\t\t\t}\r\n\t\t\tif ( data.optin_provider == 'custom_content' && data.type == 'popup' ) {\r\n\t\t\t\tif ( typeof this.type_data.make_fullscreen === 'undefined' ) {\r\n\t\t\t\t\treturn data;\r\n\t\t\t\t}\r\n\t\t\t\tif ( _.isTrue( this.type_data.make_fullscreen ) ) {\r\n\t\t\t\t\tdata.fullscreen = 'wph-modal-popup-fullscreen';\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\t\thandle_custom_size_cc: function( data ){\r\n\t\t\tdata.custom_size_attr = '';\r\n\t\t\tdata.custom_size_class = '';\r\n\t\t\t// only for custom content\r\n\t\t\tif ( !data || typeof data.optin_provider === 'undefined' ) {\r\n\t\t\t\treturn data;\r\n\t\t\t}\r\n\t\t\tif ( data.optin_provider == 'custom_content' ) {\r\n\t\t\t\tif ( _.isTrue( data.customize_size ) ) {\r\n\t\t\t\t\tdata.custom_size_class = 'wph-modal--custom';\r\n\t\t\t\t\tdata.custom_size_attr += 'data-custom_width='+ data.custom_width +' data-custom_height='+ data.custom_height +'';\r\n\t\t\t\t}\r\n\t\t\t\tif ( _.isTrue( data.border ) ) {\r\n\t\t\t\t\tdata.custom_size_attr += ' data-border='+ data.border_weight;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\t\tenable_body_scroll: function( data ) {\r\n\t\t\t// only for custom content popup\r\n\t\t\tif ( !data || typeof data.optin_provider === 'undefined' || typeof data.type === 'undefined' ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif ( data.optin_provider == 'custom_content' && data.type == 'popup' ) {\r\n\t\t\t\tif ( typeof this.type_data.allow_scroll_page === 'undefined' ) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tif ( _.isTrue( this.type_data.allow_scroll_page ) ) {\r\n\t\t\t\t\t$('html').addClass('can-scroll');\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$('html').addClass('no-scroll');\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n fire_conversion_event: function( e ){\r\n var source = $(e.target).hasClass( \"wph-modal--cta\" ) ? \"cta\" : \"form\";\r\n Hustle.Events.trigger(\"cc_modal_converted\", this, source);\r\n this.trigger(\"converted\", this, source);\r\n },\r\n never_see_again: function(e){\r\n if( e )\r\n e.preventDefault();\r\n\r\n if( !window.hasOwnProperty( \"optin_vars\" ) ) // don't set cookie in admin\r\n Hustle.cookie.set( Hustle.consts.Never_See_Aagain_Prefix + this.model.get(\"type\") + \"-\" + this.model.get(\"id\") , this.model.get(\"id\"), this.type_data.expiration_days );\r\n\r\n // do not hide if close button to avoid infinite loop\r\n\t\t\tif ( e && !$(e.target).hasClass('wph-icon i-close') ) {\r\n\t\t\t\tthis.hide();\r\n\t\t\t}\r\n },\r\n on_form_submit: function(e){\r\n var self = this,\r\n $form = $(e.target),\r\n on_submit = this.type_data.on_submit;\r\n\r\n switch ( on_submit ){\r\n case \"close\":\r\n self.hide();\r\n break;\r\n case \"redirect\":\r\n window.location.replace( $form.attr(\"action\") );\r\n break;\r\n case \"default\":\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n }\r\n });\r\n});","\"use strict\";\r\n(function( $, doc, win ) {\r\n\r\n var time_trigger = function( optin, setting, popup ){\r\n if( \"immediately\" === setting.trigger_on_time ){\r\n popup.display();\r\n }\r\n\r\n if( \"time\" === setting.trigger_on_time ){\r\n var trigger_on_time_delay;\r\n switch( setting.appear_after_time_unit ){\r\n case \"minutes\":\r\n trigger_on_time_delay = parseInt( setting.appear_after_time_val, 10 ) * 60 * 1000;\r\n break;\r\n case \"hours\":\r\n trigger_on_time_delay = parseInt( setting.appear_after_time_val, 10 ) * 60 * 60 * 1000;\r\n break;\r\n default:\r\n trigger_on_time_delay = parseInt( setting.appear_after_time_val, 10 ) * 1000;\r\n }\r\n\r\n _.delay(function(){\r\n popup.display();\r\n }, trigger_on_time_delay);\r\n }\r\n };\r\n\r\n var scroll_trigger = function( optin, setting, popup ){\r\n\t\tvar popup_shown = false;\r\n\r\n if( \"scrolled\" === setting.appear_after ){\r\n $(win).scroll(_.debounce( function(){\r\n\t\t\t\tif ( popup_shown ) return;\r\n\r\n if( ( win.pageYOffset * 100 / $(doc).height() ) >= parseInt( setting.appear_after_page_portion_val, 10 ) ) {\r\n popup.display();\r\n\t\t\t\t\tpopup_shown = true;\r\n }\r\n\r\n }, 50) );\r\n }\r\n\r\n if( \"selector\" === setting.appear_after ){\r\n var $el = $( setting.appear_after_element_val );\r\n if( $el.length ){\r\n $(win).scroll(_.debounce( function(){\r\n\t\t\t\t\tif ( popup_shown ) return;\r\n\r\n if( win.pageYOffset >= $el.position().top ) {\r\n popup.display();\r\n\t\t\t\t\t\tpopup_shown = true;\r\n }\r\n\r\n }, 50));\r\n }\r\n }\r\n };\r\n\r\n var click_trigger = function( optin, setting, popup ){\r\n if( \"\" !== $.trim( setting.trigger_on_element_click ) ){\r\n var $clickable = $( $.trim( setting.trigger_on_element_click ) );\r\n if( $clickable.length )\r\n $(doc).on( \"click\", $.trim( setting.trigger_on_element_click ), popup.display);\r\n }\r\n\r\n /**\r\n * Clickable button added with shortcode\r\n */\r\n $(doc).on(\"click\", \".inc_opt_hustle_shortcode_trigger\", function(e){\r\n e.preventDefault();\r\n if( $(this).data(\"id\") == optin.data.optin_id ) {\r\n\t\t\t\tpopup.display();\r\n\t\t\t}\r\n });\r\n };\r\n\r\n var exit_intent_trigger = function( optin, setting, popup ){\r\n if(_.isTrue( setting.trigger_on_exit ) ){\r\n Optin.listen_to_exit_intend();\r\n if(_.isTrue( setting.on_exit_trigger_once_per_session ) ){\r\n $(doc).one(\"wpoi:exit_intended\", popup.display);\r\n }else{\r\n $(doc).on(\"wpoi:exit_intended\", popup.display);\r\n }\r\n \r\n }\r\n };\r\n\r\n\r\n var adblock_trigger = function( optin, setting, popup ) {\r\n if(_.isTrue( setting.trigger_on_adblock ) ){\r\n\r\n if( !Optin.is_adblock_enabled() ) return;\r\n\r\n if( !_.isTrue( setting.trigger_on_adblock_timed ) ){\r\n popup.display();\r\n }else{\r\n var trigger_on_adblock_delay;\r\n switch( setting.trigger_on_adblock_timed_unit ){\r\n case \"minutes\":\r\n trigger_on_adblock_delay = parseInt( setting.trigger_on_adblock_timed_val, 10 ) * 60 * 1000;\r\n break;\r\n case \"hours\":\r\n trigger_on_adblock_delay = parseInt( setting.trigger_on_adblock_timed_val, 10 ) * 60 * 60 * 1000;\r\n break;\r\n default:\r\n trigger_on_adblock_delay = parseInt( setting.trigger_on_adblock_timed_val, 10 ) * 1000;\r\n }\r\n\r\n _.delay(function(){\r\n popup.display();\r\n }, trigger_on_adblock_delay);\r\n }\r\n\r\n }\r\n };\r\n\r\n Optin.Triggers = {\r\n time: time_trigger,\r\n scroll: scroll_trigger,\r\n scrolled: scroll_trigger,\r\n click: click_trigger,\r\n exit_intent: exit_intent_trigger,\r\n adblock: adblock_trigger\r\n };\r\n\r\n}(jQuery, document, window));","(function( $ ) {\r\n\r\n /**\r\n * Log optin view when it's being viewed\r\n */\r\n $(document).on(\"wpoi:display\", function (e, type, $optin, optin) {\r\n\r\n /**\r\n * Log number of times this optin type has been shown so far\r\n *\r\n * @type {string}\r\n */\r\n var k = 'wpoi-optin-{type}-shown-count-'.replace(\"{type}\", type) + optin.data.optin_id,\r\n prev_shown_count = Optin.cookie.get( k ) || 0,\r\n is_test = type && optin.settings[type].is_test;\r\n\r\n if( !is_test )\r\n Optin.cookie.set( k , prev_shown_count + 1 , 30 );\r\n\r\n $.ajax({\r\n type: \"POST\",\r\n url: inc_opt.ajaxurl,\r\n dataType: \"json\",\r\n data: {\r\n action: \"inc_opt_optin_viewed\",\r\n data: {\r\n optin_id: optin.data.optin_id,\r\n page_type: inc_opt.page_type,\r\n page_id: inc_opt.page_id,\r\n type: type,\r\n uri: encodeURI( window.location.href )\r\n }\r\n },\r\n success: function (res) {}\r\n });\r\n });\r\n\t\r\n\t/**\r\n * Log CC shortcode or widget when it's being viewed\r\n */\r\n\t$(document).on(\"wpoi:cc_shortcode_or_widget_viewed\", function (e, type, cc_id) {\r\n\t\t$.ajax({\r\n\t\t\ttype: \"POST\",\r\n\t\t\turl: inc_opt.ajaxurl,\r\n\t\t\tdata: {\r\n\t\t\t\taction: \"hustle_custom_content_viewed\",\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tid: cc_id,\r\n\t\t\t\t\tpage_type: inc_opt.page_type,\r\n\t\t\t\t\tpage_id: inc_opt.page_id,\r\n\t\t\t\t\ttype: type,\r\n\t\t\t\t\turi: encodeURI( window.location.href )\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tsuccess: function (res) {}\r\n\t\t});\r\n\t});\r\n\r\n}(jQuery));","(function( $ ) {\r\n Optin = Optin || {};\r\n Optin.handle_scroll = function( $el, type, optin ){\r\n var $win = $(window),\r\n $doc = $(document);\r\n\r\n $win.on('scroll', _.debounce( function (evt) {\r\n\r\n var el = $el[0];\r\n\r\n var rect = el.getBoundingClientRect();\r\n\r\n if (\r\n rect.top >= 0 &&\r\n rect.left >= 0 &&\r\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /*or $(window).height() */\r\n rect.right <= (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */\r\n ) {\r\n $win.off(evt);\r\n $el.addClass(\"wpoi-show\");\r\n $doc.trigger(\"wpoi:display\", [type, $el, optin ]);\r\n }\r\n\r\n }, 5, true) );\r\n\r\n }\r\n\tOptin.handle_cc_scroll = function( $el, type, id ){\r\n var $win = $(window),\r\n $doc = $(document);\r\n\r\n $win.on('scroll', _.debounce( function (evt) {\r\n\r\n var el = $el[0];\r\n\r\n var rect = el.getBoundingClientRect();\r\n\r\n if (\r\n rect.top >= 0 &&\r\n rect.left >= 0 &&\r\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\r\n rect.right <= (window.innerWidth || document.documentElement.clientWidth)\r\n ) {\r\n $win.off(evt);\r\n $doc.trigger(\"wpoi:cc_shortcode_or_widget_viewed\", [type, id ]);\r\n }\r\n\r\n }, 5, true) );\r\n\r\n }\r\n}(jQuery));","(function( $ ) {\r\n\r\n\r\n function validate_form( $form, is_test ){\r\n var requireds = $form.find(\".required\"),\r\n $icon = $('<i class=\"wphi-font wphi-error\"></i>'),\r\n errors = [];\r\n $('.wpoi-field-error').remove();\r\n requireds.each(function(){\r\n var $this = $(this),\r\n error_class = $this.attr(\"name\") + \"_\" + \"error\";\r\n\r\n if( is_test ){\r\n //$icon = $icon.clone().addClass( error_class ).attr(\"title\", inc_opt.l10n.test_cant_submit );\r\n //$this.after( $icon );\r\n $this.next('label').find('i.wphi-font').addClass('wphi-error');\r\n errors.push( $this );\r\n return errors;\r\n }\r\n\r\n if( _.isEmpty( this.value ) || ( $this.is(\"[type='email']\") && !this.value.trim().match( /^[\\S]+\\@[a-zA-Z0-9\\-]+\\.[\\S]{2,}$/gi ) ) ){\r\n //$icon = $icon.clone().addClass( error_class ).attr(\"title\", $this.data(\"error\") );\r\n //$this.next('label').find('i.wphi-email').after($icon);\r\n $this.next('label').find('i.wphi-font').addClass('wphi-error');\r\n errors.push( $this );\r\n }else{\r\n $(\".\" + error_class).remove();\r\n }\r\n\r\n });\r\n\r\n return errors.length === 0;\r\n }\r\n\r\n $(document).on(\"submit\", '.inc_optin form',function(e){\r\n e.preventDefault();\r\n var $form = $(e.target),\r\n $button = $form.find(\"button\"),\r\n $popup = $form.closest( '.inc_optin'),\r\n handle = $popup.data( 'handle'),\r\n delay_id = $popup.data(\"delay_id\"),\r\n optin = Optins[ handle ],\r\n self = this,\r\n $wrap = $(this).closest('.wpoi-optin > .wpoi-container'),\r\n type = $form.closest(\".inc_optin\").data(\"type\"),\r\n is_test = type && optin.settings[type].is_test,\r\n get_success_message = function(){\r\n return optin.design.success_message.replace(\"{name}\", optin.data.optin_name);\r\n },\r\n $failure = $(\"<span class='wpoi-submit-failure'>\" + inc_opt.l10n.submit_failure + \"</span>\")\r\n ;\r\n\r\n\r\n $form.parent().find('.wpoi-submit-failure').remove();\r\n\r\n if( !_.isUndefined( delay_id ) )\r\n clearTimeout( delay_id );\r\n\r\n if( $form.data(\"sending\") || !validate_form( $form, is_test ) ) return;\r\n\r\n $button.attr(\"disabled\", true);\r\n $button.addClass(\"loading\");\r\n $form.addClass(\"loading\");\r\n\r\n $form.data(\"sending\", true);\r\n\r\n $.ajax({\r\n type: \"POST\",\r\n url: inc_opt.ajaxurl,\r\n dataType: \"json\",\r\n data: {\r\n action: \"inc_opt_submit_opt_in\",\r\n data: {\r\n form: $form.serialize(),\r\n optin_id: optin.data.optin_id,\r\n page_type: inc_opt.page_type,\r\n page_id: inc_opt.page_id,\r\n uri: encodeURI( window.location.href ),\r\n type: type\r\n }\r\n },\r\n success: function(res){\r\n if( res && res.success ){\r\n //$form.html( \"\" );\r\n var $formParent = $form.closest(\".wpoi-hustle\");\r\n //$formParent.find(\".wpoi-form-title\").fadeOut();\r\n\r\n if( optin.design.hasOwnProperty(\"on_submit\") && optin.design.on_submit === \"page_redirect\" ){\r\n window.location.replace( optin.design.page_redirect_url );\r\n }else{\r\n $formParent.find(\".wpoi-success-message\").addClass(\"wpoi-show-message\");\r\n\r\n\t\t\t\t\t\tif ( optin.design.hasOwnProperty('on_success') && 'autoclose' === optin.design.on_success ) {\r\n\t\t\t\t\t\t\tvar on_success_time = parseInt( optin.design.on_success_time ),\r\n\t\t\t\t\t\t\t\ton_success_unit = optin.design.on_success_unit;\r\n\r\n\t\t\t\t\t\t\tif ( 'm' === on_success_unit ) {\r\n\t\t\t\t\t\t\t\ton_success_time *= 60;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\ton_success_time *= 1000;\r\n\t\t\t\t\t\t\t_.delay(function(){\r\n\t\t\t\t\t\t\t\tvar popup_close = $(self).closest(\".inc_optin\").find(\".inc-opt-close-popup\");\r\n\r\n\t\t\t\t\t\t\t\tif ( popup_close.length > 0 ) {\r\n\t\t\t\t\t\t\t\t\tpopup_close.trigger(\"click\");\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t$formParent.find( '.wpoi-success-message' ).removeClass( 'wpoi-show-message' );\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}, on_success_time );\r\n\t\t\t\t\t\t}\r\n }\r\n\r\n }else{\r\n\t\t\t\t\tvar message = res.data ? res.data.pop() : inc_opt.l10n.submit_failure;\r\n\t\t\t\t\t$failure.html( message ? message : inc_opt.l10n.submit_failure );\r\n\r\n $form.after( $failure );\r\n }\r\n },\r\n error: function(){\r\n $form.after( $failure );\r\n },\r\n complete: function(){\r\n $button.attr(\"disabled\", false);\r\n $form.removeClass(\"loading\");\r\n $button.removeClass(\"loading\");\r\n $form.data(\"sending\", false);\r\n }\r\n });\r\n\r\n });\r\n\r\n\tvar closeSuccessContent = function() {\r\n\t\tvar target = $(this),\r\n\t\t\tparentDiv = target.parents( '.wpoi-hustle' ),\r\n\t\t\t$form = $( 'form', parentDiv ),\r\n\t\t\t$successDiv = $( '.wpoi-success-message', parentDiv );\r\n\t\t$successDiv.removeClass( 'wpoi-show-message' );\r\n\t};\r\n\r\n\t$(document).on( 'click', '.wpoi-success-close', closeSuccessContent );\r\n\r\n}(jQuery));","var Optin = Optin || {};\r\n(function( $, doc ) {\r\n \"use strict\";\r\n $.each(['show', 'hide'], function (i, ev) {\r\n var el = $.fn[ev];\r\n $.fn[ev] = function () {\r\n this.trigger(ev);\r\n return el.apply(this, arguments);\r\n };\r\n });\r\n\r\n\r\n /**\r\n * Set optin id from the html template\r\n */\r\n\r\n Optin.get_tpl = function( layout_id ){\r\n var templates = [\"optin-layout-one\", \"optin-layout-two\", \"optin-layout-three\", \"optin-layout-four\"];\r\n return Optin.template( templates[ layout_id ] );\r\n };\r\n\r\n\r\n\r\n Optin.popup = {\r\n shown:[],\r\n hidden:[],\r\n long_hidden: [],\r\n is_already_shown: function( popup_id ){\r\n return -1 !== this.shown.indexOf( popup_id );\r\n },\r\n is_long_hidden: function(optin_obj){\r\n return !!Optin.cookie.get( Optin.POPUP_COOKIE_PREFIX + optin_obj.id );\r\n },\r\n show: function( optin_obj ){\r\n\r\n if( this.is_long_hidden( optin_obj ) )\r\n return false;\r\n\r\n if( !this.is_already_shown( optin_obj.id ) )\r\n return optin_obj.show();\r\n\r\n }\r\n };\r\n\r\n // posts/pages bounce in animation\r\n var $animation_elements = $('.inc_opt_inline_wrap');\r\n var $window = $(window);\r\n\r\n function check_if_in_view() {\r\n var window_height = $window.height();\r\n var window_top_position = $window.scrollTop();\r\n var window_bottom_position = (window_top_position + window_height);\r\n\r\n $.each($animation_elements, function() {\r\n var $element = $(this);\r\n var element_height = $element.outerHeight();\r\n var element_top_position = $element.offset().top;\r\n var element_bottom_position = (element_top_position + element_height);\r\n\r\n //check to see if this current container is within viewport\r\n if ((element_bottom_position >= window_top_position) &&\r\n (element_top_position <= window_bottom_position)) {\r\n $element.addClass('in-view');\r\n } else {\r\n $element.removeClass('in-view');\r\n }\r\n });\r\n }\r\n\r\n function add_proper_classes(e, type, $popup, data){\r\n if( ( e.type === \"wpoi:display\" || e.type === \"wpoi:cc_display\" ) && type === \"popup\" ){\r\n (function (){\r\n var $parent = type === \"popup\" ? $(window) : $(this),\r\n $this = $popup.find(\".wpoi-hustle\");\r\n if ( $parent.width() <= 405){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-small\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-small\");\r\n }\r\n\r\n if ( ( $parent.width() <= 585) && ($parent.width() > 405) ){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-medium\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-medium\");\r\n }\r\n }());\r\n }else{\r\n $(\".wpoi-hustle\").each(function(){\r\n var $parent = type === \"popup\" ? $(window) : $(this),\r\n $this = $(this);\r\n if ( $parent.width() <= 405){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-small\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-small\");\r\n }\r\n\r\n if ( ( $parent.width() <= 585) && ($parent.width() > 405) ){\r\n $this.find(\".wpoi-optin\").addClass(\"wpoi-medium\");\r\n } else {\r\n $this.find(\".wpoi-optin\").removeClass(\"wpoi-medium\");\r\n }\r\n });\r\n }\r\n\r\n $(\".wpoi-mcg-select\").each(function(){\r\n\t $(this).parent(\".wpoi-provider-args > .wpoi-container > .wpoi-element:nth-child(2) > .wpoi-container > .wpoi-element\").css({\"padding\":\"0\",\"background\":\"transparent\"});\r\n });\r\n \r\n // Layout #3\r\n // Set height of image container same to parent div\r\n // This to avoid Safari conflicts with [ height: 100% ]\r\n $(\".wpoi-layout-three .wpoi-optin:not(.wpoi-small) .nocontent:not(.noimage)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$parent = $this.find(\".wpoi-aside-x\").prev(\".wpoi-element\"),\r\n\t \t$child = $this.find(\".wpoi-aside-x\").prev(\".wpoi-element\").find(\".wpoi-container.wpoi-col\");\r\n\t $child.css(\"height\", $parent.height());\r\n });\r\n \r\n // Layout #3\r\n // Vertical align content\r\n $(\".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$aside = $this.find(\".wpoi-aside-x\"),\r\n\t \t$div = $this.find(\".wpoi-image\").next(\".wpoi-element\"),\r\n\t \t$element = $aside.prev(\".wpoi-element\"),\r\n\t \t$content = $this.find(\".wpoi-content\"),\r\n\t \t$col = $element.find(\".wpoi-col\"),\r\n\t \t$form = $this.find(\"form\");\r\n\t \r\n\t if ( $form.height() > $content.height() ){\r\n\t\t $col.css(\"height\", $aside.height() + 'px' );\r\n\t\t $div.addClass(\"wpoi-align\");\r\n\t\t $content.addClass(\"wpoi-align-element\");\r\n\t }\r\n\t if ( $form.height() < $content.height() ){\r\n\t\t $aside.css(\"height\", $element.height() + 'px');\r\n\t\t $aside.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n $(\".wpoi-layout-three .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$sidebar = $this.find(\".wpoi-aside-x\"),\r\n\t \t$element = $sidebar.prev(\".wpoi-element\"),\r\n\t \t$form = $this.find(\"form\");\r\n\t \r\n\t if ( $form.height() < $element.height() ){\r\n\t\t $sidebar.css(\"height\", $element.height());\r\n\t\t $sidebar.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n \r\n // Layout #4\r\n // Vertical align content\r\n $(\".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container.noimage:not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$aside = $this.find(\".wpoi-aside-xl\"),\r\n\t \t$col = $this.find(\".wpoi-aside-xl > .wpoi-container\"),\r\n\t \t$parent = $aside.find(\".wpoi-form\"),\r\n\t \t$form = $aside.find(\"form\"),\r\n\t \t$element = $aside.next(\".wpoi-element\"),\r\n\t \t$content = $element.find(\".wpoi-content\");\r\n\t \r\n\t if ( $content.height() > $form.height() ){\r\n\t\t $col.css(\"height\", $aside.height() + 'px');\r\n\t\t $parent.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n\t if ( $content.height() < $form.height() ) {\r\n\t\t $element.css(\"height\", $col.height() + 'px');\r\n\t\t $element.addClass(\"wpoi-align\");\r\n\t\t $content.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n $(\".wpoi-layout-four .wpoi-optin:not(.wpoi-small) > .wpoi-container:not(.noimage):not(.nocontent)\").each(function(){\r\n\t var $this = $(this),\r\n\t \t$aside = $this.find(\".wpoi-aside-xl\"),\r\n\t \t$col = $this.find(\".wpoi-aside-xl > .wpoi-container\"),\r\n\t \t$image = $this.find(\".wpoi-image\"),\r\n\t \t$parent = $aside.find(\".wpoi-form\"),\r\n\t \t$form = $aside.find(\"form\"),\r\n\t \t$element = $aside.next(\".wpoi-element\"),\r\n\t \t$content = $this.find(\".wpoi-content\");\r\n\t \r\n\t if ( $content.height() > $col.height() ){\r\n\t\t $col.css(\"height\", $aside.height() + 'px');\r\n\t\t $parent.css(\"height\", $col.height() - $image.height() );\r\n\t\t $parent.addClass(\"wpoi-align\");\r\n\t\t $form.addClass(\"wpoi-align-element\");\r\n\t }\r\n\t if ( $content.height() < $col.height() ) {\r\n\t\t $element.css(\"height\", $aside.height() + 'px');\r\n\t\t $element.addClass(\"wpoi-align\");\r\n\t\t $content.addClass(\"wpoi-align-element\");\r\n\t }\r\n });\r\n \r\n // Custom Content\r\n // Add proper width and height to img\r\n // parent div and make object-fit work\r\n $(\".wph-modal\").each(function(){\r\n\t var $this = $(this),\r\n $content = $this.find(\".wph-modal--content\"),\r\n $section = $this.find(\".wph-modal--content > section\"),\r\n $figure = $content.find(\"section > figure\"),\r\n $figtwo = $this.find(\".wph-modal--content > figure\"),\r\n $image = $figure.find(\"img\"),\r\n $imgtwo = $figtwo.find(\"img\");\r\n \r\n var $cabriolet = $this.hasClass(\"wph-modal--cabriolet\") && ( $figure.hasClass(\"wph-modal--image_full\") || ( $figure.hasClass(\"wph-modal--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n var $simple = $this.hasClass(\"wph-modal--simple\") && ( $figtwo.hasClass(\"wph-modal--image_full\") || ( $figtwo.hasClass(\"wph-modal--image\") && ( $imgtwo.height() < $figtwo.height() ) ) );\r\n \r\n var $minimal = $this.hasClass(\"wph-modal--minimal\") && ( $figure.hasClass(\"wph-modal--image_full\") || ( $figure.hasClass(\"wph-modal--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n if ( $cabriolet || $minimal ){\r\n\t $image.css({\r\n\t\t \"height\" : $section.height() + 'px',\r\n\t\t \"width\" : $section.width() + 'px'\r\n\t });\r\n }\r\n \r\n if ( $simple ){\r\n\t $imgtwo.css({\r\n\t\t \"height\" : $content.height() + 'px',\r\n\t\t \"width\" : $content.width() + 'px'\r\n\t });\r\n }\r\n\t\t\t\r\n\t\t\t// apply styles for custom size\r\n\t\t\tvar $header = $this.find(\".wph-modal--content header\"),\r\n\t\t\t\t$footer = $this.find(\".wph-modal--content footer\"),\r\n\t\t\t\t$modal_content = $this.find(\".wph-modal--content\"),\r\n\t\t\t\t$modal_message = $this.find(\".wph-modal--content .wph-modal--message\"),\r\n\t\t\t\t$modal_message_section = $this.find(\".wph-modal--content section\"),\r\n\t\t\t\t$modal_image = $this.find(\".wph-modal--content .wph-modal--image\"),\r\n\t\t\t\t$modal_img = $this.find(\".wph-modal--content .wph-modal--image img\"),\r\n\t\t\t\tcustom_width = parseInt($this.data(\"custom_width\")),\r\n\t\t\t\tcustom_height = parseInt($this.data(\"custom_height\")),\r\n\t\t\t\tborder_weight = parseInt($this.data(\"border\")) * 2\r\n\t\t\t;\r\n\t\t\tborder_weight = ( isNaN(border_weight) ) \r\n\t\t\t\t? 0\r\n\t\t\t\t: border_weight\r\n\t\t\t;\r\n\t\t\tif ( custom_width && custom_height ) {\r\n\t\t\t\t$this.css('width', custom_width + 'px');\r\n\t\t\t\t$this.css('max-width', 'none');\r\n\t\t\t\tif ( $this.hasClass(\"wph-modal--cabriolet\") ) {\r\n\t\t\t\t\t$modal_message.outerHeight( custom_height - ( $header.outerHeight(true) ) - border_weight );\r\n\t\t\t\t\t$modal_image.outerHeight( $modal_message.outerHeight(true) );\r\n\t\t\t\t\t$modal_img.outerHeight( $modal_message.outerHeight(true) );\r\n\t\t\t\t}\r\n\t\t\t\tif ( $this.hasClass(\"wph-modal--simple\") ) {\r\n\t\t\t\t\t$modal_content.outerHeight( custom_height );\r\n\t\t\t\t\t$modal_image.outerHeight( $modal_content.height() );\r\n\t\t\t\t\t$modal_img.outerHeight( $modal_content.height() );\r\n\t\t\t\t}\r\n\t\t\t\tif ( $this.hasClass(\"wph-modal--minimal\") ) {\r\n\t\t\t\t\t$modal_message_section.outerHeight( custom_height - ( $header.outerHeight(true) + $footer.outerHeight(true) ) - border_weight );\r\n\t\t\t\t\t$modal_image.outerHeight( $modal_message_section.outerHeight(true) );\r\n\t\t\t\t\t$modal_img.outerHeight( $modal_message_section.outerHeight(true) );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t\r\n\t\t});\r\n\t\t// Custom Content Shortcode\r\n\t\t// Add proper width and height to img\r\n // parent div and make object-fit work\r\n $(\".wph-cc-shortcode\").each(function(){\r\n\t var $this = $(this),\r\n $content = $this.find(\".wph-cc-shortcode--content\"),\r\n $section = $this.find(\".wph-cc-shortcode--content > section\"),\r\n $figure = $content.find(\"section > figure\"),\r\n $figtwo = $this.find(\".wph-cc-shortcode--content > figure\"),\r\n $image = $figure.find(\"img\"),\r\n $imgtwo = $figtwo.find(\"img\");\r\n \r\n var $cabriolet = $this.hasClass(\"wph-cc-shortcode--cabriolet\") && ( $figure.hasClass(\"wph-cc-shortcode--image_full\") || ( $figure.hasClass(\"wph-cc-shortcode--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n var $simple = $this.hasClass(\"wph-cc-shortcode--simple\") && ( $figtwo.hasClass(\"wph-cc-shortcode--image_full\") || ( $figtwo.hasClass(\"wph-cc-shortcode--image\") && ( $imgtwo.height() < $figtwo.height() ) ) );\r\n \r\n var $minimal = $this.hasClass(\"wph-cc-shortcode--minimal\") && ( $figure.hasClass(\"wph-cc-shortcode--image_full\") || ( $figure.hasClass(\"wph-cc-shortcode--image\") && ( $image.height() < $figure.height() ) ) );\r\n \r\n if ( $cabriolet || $minimal ){\r\n\t $image.css({\r\n\t\t \"height\" : $section.height() + 'px',\r\n\t\t \"width\" : $section.width() + 'px'\r\n\t });\r\n }\r\n \r\n if ( $simple ){\r\n\t $imgtwo.css({\r\n\t\t \"height\" : $content.height() + 'px',\r\n\t\t \"width\" : $content.width() + 'px'\r\n\t });\r\n }\r\n\t\t});\r\n }\r\n\r\n $(doc).on(\"wpoi:display\", _.debounce(add_proper_classes, 100, false));\r\n $(doc).on(\"wpoi:cc_display\", _.debounce(add_proper_classes, 100, false));\r\n $(window).on(\"resize\", _.debounce( add_proper_classes, 100, false ) );\r\n\r\n $window.on('scroll resize', _.debounce( check_if_in_view, 100, false ) );\r\n $window.trigger('scroll');\r\n \r\n $(document).on('blur', 'input, textarea, select', function(){\r\n\t var $this = $(this);\r\n\t if($this.is(':input[type=button], :input[type=submit], :input[type=reset]')) return;\r\n\t if($this.val().trim() !== '') {\r\n\t\t $this.parent().addClass('wpoi-filled');\r\n\t\t} else{\r\n $this.parent().removeClass('wpoi-filled');\r\n }\r\n });\r\n\r\n $(document).on('focus', '.wpoi-optin input.required', function(){\r\n $(this).next('label').find('i.wphi-font').removeClass('i-error');\r\n });\r\n\r\n /**\r\n * Renders provider args and returns html\r\n *\r\n *\r\n * @since 1.0.1\r\n *\r\n * @param optin_data\r\n * @return html\r\n */\r\n Optin.render_provider_args = function( optin_data ){\r\n if( _.isEmpty( optin_data.provider_args ) || _.isEmpty( optin_data.data.optin_provider ) ) return \"\";\r\n\r\n var provider_args_tpl = Optin.template( \"optin-\" + optin_data.data.optin_provider + \"-args\" );\r\n return provider_args_tpl( optin_data.provider_args )\r\n };\r\n\r\n /**\r\n * Renders optin front layout based on give optin_data\r\n *\r\n * @param optin_data\r\n */\r\n Optin.render_optin = function( optin_data ){\r\n var layout = optin_data.design.form_location.toInt(),\r\n tpl = Optin.get_tpl( layout ),\r\n _show_args = function(){\r\n if( \"mailchimp\" === optin_data.data.optin_provider\r\n && optin_data.provider_args\r\n && optin_data.provider_args.group\r\n && \"hidden\" !== optin_data.provider_args.group.form_field\r\n )\r\n return true;\r\n\r\n return false;\r\n },\r\n html = tpl(_.extend({\r\n image_style: \"\"\r\n }, optin_data.design, optin_data.design.borders, optin_data.data, {\r\n has_args: _show_args()\r\n }) );\r\n\r\n $(doc).trigger(\"wpoi:layout:rendered\");\r\n return html;\r\n };\r\n\t\r\n\t/**\r\n * Renders cc shortcode front layout based on given optin_data\r\n *\r\n * @param optin_data\r\n */\r\n Optin.render_cc_shortcode = function( optin_data ){\r\n var tpl = Optin.template( 'hustle-cc-shortcode-tpl' ),\r\n\t\t\thtml = tpl( _.extend({}, optin_data.content, optin_data.design ) )\r\n\t\t;\r\n\r\n $(doc).trigger(\"wpoi:layout:rendered\");\r\n return html;\r\n };\r\n\r\n var listening_to_exit_intent = false;\r\n Optin.listen_to_exit_intend = function(){\r\n\r\n if( listening_to_exit_intent ) return;\r\n\r\n $(doc).on(\"mouseleave\", _.debounce( function(e){\r\n $(doc).trigger(\"wpoi:exit_intended\", e);\r\n }, 100, true));\r\n\r\n listening_to_exit_intent = true;\r\n };\r\n\r\n var checking_adblock = false;\r\n Optin.is_adblock_enabled = function(){\r\n if( checking_adblock ) return;\r\n //\r\n //var $script = $('<script src=\"{url}\" type=\"text/javascript\"></script>'.replace(\"{url}\", inc_opt.adblock_detector_js) );\r\n //$script.appendTo( \"body\" );\r\n\r\n if( $(\"#hustle_optin_adBlock_detector\").length ){\r\n return false;\r\n }else{\r\n return true;\r\n }\r\n\r\n checking_adblock = true;\r\n }\r\n}(jQuery, document));\r\n","(function($,doc,win){\r\n\tif( inc_opt.is_upfront ) return;\r\n\r\n\t/**\r\n\t * Front View Model\r\n\t *\r\n\t * This model is use to render Opt-In/Custom-Content popup and slide_in.\r\n\t **/\r\n\tOptin.View = Backbone.View.extend({\r\n\t\tisCC: false,\r\n\t\tshowClass: 'wpoi-show',\r\n\t\tmaskShowClass: 'inc_optin_',\r\n\t\toptin_id: '',\r\n\t\ttype: '',\r\n\t\tsettings: {},\r\n\t\tdata: {},\r\n\t\tadd_never_see_again: false,\r\n\t\tappear_after: 'time',\r\n\t\tmask: false,\r\n\t\tshould_remove: false,\r\n\t\tevents: {\r\n\t\t\t'click': 'click',\r\n\t\t\t'click .inc-opt-close-btn': 'closed',\r\n\t\t\t'click .inc_opt_never_see_again': 'closed'\r\n\t\t},\r\n\r\n\t\tinitialize: function( opts ) {\r\n\t\t\tthis.key = opts.key;\r\n\t\t\tthis.opt = Optins[ this.key ];\r\n\t\t\tthis.settings = this.opt.settings[this.type];\r\n\t\t\tthis.data = this.opt.data;\r\n\t\t\tthis.optin_id = this.data.optin_id;\r\n\t\t\tthis.maskClass = 'inc_optin_' + this.optin_id + ' ' + this.maskClass;\r\n\r\n\t\t\tif ( ! this.should_display() ) return;\r\n\r\n\t\t\tthis.add_never_see_again = _.isTrue( this.settings.add_never_see_this_message );\r\n\t\t\tthis.appear_after = this.settings.appear_after;\r\n\r\n\t\t\tif ( _.contains( ['time', 'scrolled', 'adblock'], this.appear_after )\r\n\t\t\t\t|| ( 'exit_intent' === this.appear_after && _.isTrue( this.settings.on_exit_trigger_once_per_session ) ) ) {\r\n\t\t\t\tthis.should_remove = true;\r\n\t\t\t}\r\n\r\n\t\t\tthis.render();\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Check if popup should display. **/\r\n\t\tshould_display: function() {\r\n\t\t\treturn _.isTrue( this.settings.display )\r\n\t\t\t\t&& !_.isTrue( Optin.cookie.get( Optin.POPUP_COOKIE_PREFIX + this.optin_id ) );\r\n\t\t},\r\n\r\n\t\tfit: function() {\r\n\t\t\tvar height = $(win).height(),\r\n\t\t\t\tmax_height = ( height / 100 ) * 65,\r\n\t\t\t\theader_height = this.$('header').outerHeight(),\r\n\t\t\t\tcontainers = this.$('.wph-modal--message, .wph-modal--image'),\r\n\t\t\t\tmessage_height = max_height - header_height,\r\n\t\t\t\tel_css = {'max-height': max_height };\r\n\r\n\t\t\tthis.$el.css( 'max-height', max_height );\r\n\t\t\tcontainers.css('max-height', message_height );\r\n\r\n\t\t\tif ( 'popup' === this.type && 'cabriolet' !== this.settings.style ) {\r\n\t\t\t\tvar top = (height - max_height)/2;\r\n\t\t\t\t\ttop = top - (top * 1.5);\r\n\r\n\t\t\t\tthis.$el.css('margin-top', top + 'px');\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\trender: function() {\r\n\t\t\tvar html = '<a href=\"#\" aria-label=\"Close\" class=\"inc-opt-close-btn inc-opt-close-' + this.type + '\">&times;</a>';\r\n\t\t\t\thtml += Optin.render_optin( this.opt ),\r\n\t\t\t\tdata = {handle: this.key, type: this.type, popup: this.opt};\r\n\r\n\t\t\tif ( this.add_never_see_again ) {\r\n\t\t\t\thtml += '<div class=\"wpoi-nsa\"><a class=\"inc_opt_never_see_again\">%s</a></div>'.replace(\"%s\", inc_opt.l10n.never_see_again )\r\n\t\t\t}\r\n\r\n\t\t\tif( this.settings.animation_in ){\r\n\t\t\t\tthis.$el.addClass( this.settings.animation_in );\r\n\t\t\t}\r\n\t\t\tthis.$el.addClass( ' inc_optin_' + this.optin_id );\r\n\t\t\tthis.$el.html( html );\r\n\r\n\t\t\t// Add provider args\r\n\t\t\tthis.$(\".wpoi-provider-args\").html( Optin.render_provider_args( this.opt ) );\r\n\t\t\tthis.$el.appendTo('body');\r\n\t\t\tthis.$el.display = $.proxy( this, 'display' );\r\n\t\t\tthis.$el.on( 'show', $.proxy( this, 'onShow' ) );\r\n\t\t\tthis.$el.on( 'hide', $.proxy( this, 'onHide' ) );\r\n\t\t\tthis.$el.data(data);\r\n\t\t\tthis.html = this.$el.html();\r\n\r\n\t\t\t/**\r\n\t\t\t * Triggers\r\n\t\t\t */\r\n\t\t\tif( typeof Optin.Triggers[this.appear_after] === \"function\" )\r\n\t\t\t\tOptin.Triggers[this.appear_after].call( null, this.opt, this.settings, this.$el );\r\n\t\t\telse\r\n\t\t\t\tconsole.log( \"Hustle:[\" + this.type.toUpperCase() + \"] No trigger defined for \". this.appear_after );\r\n\r\n\t\t\treturn this;\r\n\t\t},\r\n\r\n\t\tdisplay: function() {\r\n\t\t\tvar me = this;\r\n\r\n\t\t\tif( this.$el.is( '.' + this.showClass ) ) {\r\n\t\t\t\t// If already shown, return\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif ( _.isTrue( this.isCC ) && _.isFalse(this.settings.allow_scroll_page) ) {\r\n\t\t\t\t$('html').addClass('no-scroll');\r\n\t\t\t}\r\n\r\n\t\t\tthis.$el.html( this.html );\r\n\t\t\tthis.$el.removeClass( this.settings.animation_out );\r\n\r\n\t\t\tif ( ! this.mask ) {\r\n\t\t\t\tthis.mask = $( '<div class=\"' + this.maskClass + ' wpoi-overlay-mask wpoi-animate fadein\">' +\r\n\t\t\t\t\t'<div class=\"wpoi-' + this.type + '-overlay\"></div></div>' );\r\n\t\t\t\tthis.mask.insertBefore(this.$el).addClass('wpoi-show');\r\n\r\n\t\t\t\tif ( _.isFalse( this.settings.not_close_on_background_click ) ) {\r\n\t\t\t\t\tthis.mask.on( 'click', $.proxy( this, 'closed' ) );\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tthis.mask.addClass('wpoi-show');\r\n\t\t\t}\r\n\r\n\t\t\tif( this.settings.animation_in ) {\r\n\t\t\t\tthis.$el.addClass( this.settings.animation_in );\r\n\t\t\t}\r\n\r\n\t\t\t_.delay(function(){\r\n\r\n\t\t\t\tme.$el.addClass( me.showClass );\r\n\r\n\t\t\t\t// If we have an OUT animation,\r\n\t\t\t\t// we should swap the animations right after the IN ends\r\n\t\t\t\tif( me.settings.animation_out ){\r\n\t\t\t\t\tif( me.settings.animation_in ){\r\n\r\n\t\t\t\t\t\t_.delay(function(){\r\n\t\t\t\t\t\t\tme.$el.removeClass( me.settings.animation_in );\r\n\t\t\t\t\t\t\tme.$el.addClass( me.settings.animation_out );\r\n\t\t\t\t\t\t}, 350);\r\n\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tme.$el.addClass( me.settings.animation_out );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t} else if( me.settings.animation_in ){\r\n\t\t\t\t\t_.delay(function(){\r\n\t\t\t\t\t\tme.$el.removeClass( me.settings.animation_in );\r\n\t\t\t\t\t}, 350);\r\n\t\t\t\t}\r\n\r\n\t\t\t}, 750);\r\n\r\n\t\t\tthis.$el.trigger( 'show', this );\r\n\t\t},\r\n\r\n\t\tclick: function() {},\r\n\t\tonShow: function() {\r\n\t\t\t$(document).trigger(\"wpoi:display\", [this.type, this.$el, this.opt ]);\r\n\t\t},\r\n\r\n\t\tsanitize_cta_url: function( data ) {\r\n\t\t\tif ( data.cta_url ) {\r\n\t\t\t\tif (!/^(f|ht)tps?:\\/\\//i.test(data.cta_url)) {\r\n\t\t\t\t\tdata.cta_url = \"http://\" + data.cta_url;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t},\r\n\r\n\t\ttime_trigger: function() {\r\n\t\t\tif ( 'immediately' == this.triggers.on_time ) {\r\n\t\t\t\tthis.display();\r\n\t\t\t} else {\r\n\t\t\t\tvar delay = parseInt( this.triggers.on_time_delay, 10 ) * 1000;\r\n\r\n\t\t\t\tif( 'minutes' === this.triggers.on_time_unit ) {\r\n\t\t\t\t\tdelay *= 60;\r\n\t\t\t\t} else if( 'hours' === this.triggers.on_time_unit ) {\r\n\t\t\t\t\tdelay *= ( 60 * 60 );\r\n\t\t\t\t}\r\n\r\n\t\t\t\t_.delay( $.proxy( this, 'display' ), delay );\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclick_trigger: function() {\r\n\t\t\tif( \"\" !== (selector = $.trim( this.triggers.on_click_element ) ) ){\r\n\t\t\t\tvar $clickable = $(selector);\r\n\r\n\t\t\t\tif( $clickable.length ) {\r\n\t\t\t\t\t$(doc).on( 'click', selector, $.proxy( this, 'display' ) );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tscroll_trigger: function() {\r\n\t\t\tvar me = this, popup_shown = false;\r\n\r\n\t\t\tif( 'scrolled' === this.triggers.on_scroll ){\r\n\t\t\t\t$(win).scroll(_.debounce( function(){\r\n\t\t\t\t\tif ( popup_shown ) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif( ( win.pageYOffset * 100 / $(doc).height() ) >= parseFloat( me.triggers.on_scroll_page_percent ) ) {\r\n\t\t\t\t\t\tme.display();\r\n\t\t\t\t\t popup_shown = true;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}, 50) );\r\n\t\t\t}\r\n\r\n\t\t\tif( 'selector' === this.triggers.on_scroll ){\r\n\t\t\t\t var $el = $( this.triggers.on_scroll_css_selector );\r\n\r\n\t\t\t\t if( $el.length ){\r\n\t\t\t\t\t $(win).scroll(_.debounce( function(){\r\n\t\t\t\t\t\t if ( popup_shown ) {\r\n\t\t\t\t\t\t\t return;\r\n\t\t\t\t\t\t }\r\n\t\t\t\t\t\t if( win.pageYOffset >= $el.position().top ) {\r\n\t\t\t\t\t\t\t me.display();\r\n\t\t\t\t\t\t\t popup_shown = true;\r\n\t\t\t\t\t\t }\r\n\r\n\t\t\t\t\t }, 50));\r\n\t\t\t\t }\r\n\t\t\t }\r\n\t\t},\r\n\r\n\t\texit_intent_trigger: function() {\r\n\t\t\tif(_.isTrue( this.triggers.on_exit_intent ) ){\r\n\t\t\t\tif ( _.isTrue( this.triggers.on_exit_intent_per_session ) ) {\r\n\t\t\t\t\tHustle.Events.once( 'exit_intended', $.proxy( this, 'display' ) );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tHustle.Events.on( 'exit_intended', $.proxy( this, 'display' ) );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tadblock_trigger: function() {\r\n\t\t\tvar adblock = ! $('#hustle_optin_adBlock_detector').length;\r\n\r\n\t\t\tif ( adblock && _.isTrue( this.triggers.on_adblock ) ) {\r\n\t\t\t\tif( _.isFalse( this.triggers.on_adblock_delayed ) ){ \r\n\t\t\t\t\tthis.display();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar delay = parseInt( this.triggers.on_adblock_delayed_time, 10 ) * 1000;\r\n\r\n\t\t\t\t\tif( 'minutes' === this.triggers.on_adblock_delayed_unit ) {\r\n\t\t\t\t\t\tdelay *= 60;\r\n\t\t\t\t\t} else if( 'hours' === this.triggers.on_adblock_delayed_unit ) {\r\n\t\t\t\t\t\tdelay *= ( 60 * 60 );\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t_.delay( $.proxy( this, 'display' ), delay );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Trigger to completely hide this. **/\r\n\t\tnever_see_again: function() {\r\n\t\t\tvar cookie_key = 'popup' === this.type ? Optin.POPUP_COOKIE_PREFIX : Optin.SLIDE_IN_COOKIE_PREFIX;\r\n\t\t\tcookie_key += this.optin_id;\r\n\r\n\t\t\tOptin.cookie.set( cookie_key, this.optin_id, parseInt( this.settings.never_see_expiry, 10 ) );\r\n\t\t},\r\n\r\n\t\tclosed: function(e) {\r\n\t\t\tvar me = this,\r\n\t\t\t\tsender = $(e.currentTarget),\r\n\t\t\t\tis_never_see = this.isCC ? _.isTrue( this.settings.close_btn_as_never_see ) : _.isTrue( this.settings.close_button_acts_as_never_see );\r\n\r\n\t\t\tthis.$el.removeClass('wpoi-show');\r\n\r\n\t\t\tif ( ( sender.is('.wph-modal--close .wph-icon, .inc-opt-close-' + this.type ) && is_never_see )\r\n\t\t\t\t|| sender.is( '.inc_opt_never_see_again,.wph-modal-never-see-again' ) ) {\r\n\t\t\t\tthis.never_see_again();\r\n\t\t\t}\r\n\r\n\t\t\t_.delay(function() {\r\n\t\t\t\tme.$el.removeClass(me.showClass);\r\n\t\t\t\tme.mask.removeClass('wpoi-show');\r\n\t\t\t}, 750 );\r\n\r\n\t\t\tif ( this.settings.animation_in ) {\r\n\t\t\t\tif ( this.settings.animation_out ) {\r\n\t\t\t\t\t_.delay(function() {\r\n\t\t\t\t\t\tme.$el.removeClass( me.settings.animation_out );\r\n\t\t\t\t\t\tme.$el.addClass( me.settings.animation_in );\r\n\t\t\t\t\t}, 1000 );\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$el.addClass( this.settings.animation_in );\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif ( ! this.settings.animation_out ) {\r\n\t\t\t\t// Make sure all contents are being hidden if popup doesn't have any animation_out\r\n\t\t\t\tthis.$el.hide();\r\n\t\t\t\t_.defer(function() {\r\n\t\t\t\t\t( me.$el[0].style || {} ).display = '';\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif ( _.isTrue( this.settings.close_button_acts_as_never_see_again )\r\n\t\t\t\t&& _.isTrue( this.settings.trigger_on_exit ) ) {\r\n\t\t\t\t$(doc).off( 'wpoi:exit_intended' );\r\n\t\t\t}\r\n\r\n\t\t\t// delay only if has animations\r\n\t\t\tif ( this.settings.animation_out ) {\r\n\t\t\t\t_.delay(function() {\r\n\t\t\t\t\tme.clean();\r\n\t\t\t\t}, 1100 );\r\n\t\t\t} else {\r\n\t\t\t\tme.clean();\r\n\t\t\t}\r\n\r\n\t\t\tif ( _.isTrue( this.isCC ) && _.isFalse( this.settings.allow_scroll_page ) ) {\r\n\t\t\t\t$('html').removeClass('no-scroll');\r\n\t\t\t}\r\n\r\n\t\t\tthis.$el.trigger( 'hide', this );\r\n\r\n\t\t\treturn false;\r\n\t\t},\r\n\t\t\r\n\t\tclean: function() {\r\n\t\t\tthis.$el.html('');\r\n\t\t\tif ( this.should_remove ) {\r\n\t\t\t\tthis.$el.remove();\r\n\t\t\t\tthis.mask.remove();\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonHide: function() {\r\n\t\t\t$(document).trigger(\"wpoi:hide\", [this.type, this.$el, this.opt ]);\r\n\t\t}\r\n\t});\r\n}(jQuery,document,window));","(function($, doc, win){\r\n\tif( inc_opt.is_upfront ) return;\r\n\r\n\tvar Optin = window.Optin || {};\r\n\tvar logView = Backbone.Model.extend({\r\n\t\turl: inc_opt.ajaxurl + '?action=hustle_custom_content_viewed',\r\n\t\tdefaults: {\r\n\t\t\tpage_type: inc_opt.page_type,\r\n page_id: inc_opt.page_id,\r\n type: '',\r\n uri: encodeURI( window.location.href )\r\n\t\t},\r\n\t\tinitialize: function() {\r\n\t\t\tthis.on( 'error', this.server_error, this );\r\n\t\t},\r\n\t\tparse: function( res ) {\r\n\t\t\tif ( res.success ) {\r\n\t\t\t\tconsole.log('Log success!');\r\n\t\t\t} else {\r\n\t\t\t\tconsole.log('Log failed!');\r\n\t\t\t}\r\n\t\t},\r\n\t\tserver_error: function() {\r\n\t\t\tconsole.log('Server error during log!');\r\n\t\t}\r\n\t}),\r\n\r\n\tlogConversion = logView.extend({\r\n\t\turl: inc_opt.ajaxurl + '?action=hustle_custom_content_converted'\r\n\t});\r\n\r\n\tlogView = new logView();\r\n\tlogConversion = new logConversion();\r\n\r\n\tOptin.CCPopUp = Optin.View.extend({\r\n\t\tisCC: true,\r\n\t\tshowClass: 'wph-modal-show',\r\n\t\tmaskClass: 'wph-modal--mask',\r\n\t\tcookie_key: Hustle.consts.Never_See_Aagain_Prefix,\r\n\t\tevents: {\r\n\t\t\t'click': 'click',\r\n\t\t\t'click .wph-modal--close .wph-icon': 'closed',\r\n\t\t\t'click .wph-modal--cta': 'fire_conversion_event',\r\n\t\t\t'click .wph-modal-never-see-again': 'closed',\r\n\t\t\t'submit form': 'on_form_submit'\r\n\t\t},\r\n\r\n\t\tinitialize: function( opts ) {\r\n\t\t\tthis.opt = opts;\r\n\t\t\tthis.type = opts.type;\r\n\t\t\tthis.data = opts.content;\r\n\t\t\tthis.optin_id = this.data.optin_id;\r\n\t\t\tthis.settings = opts[this.type];\r\n\t\t\tthis.triggers = this.settings.triggers;\r\n\t\t\tthis.appear_after = this.triggers.trigger + '_trigger';\r\n\t\t\tthis.cookie_key += this.type + '-' + this.optin_id;\r\n\t\t\tthis.expiration_days = this.settings.expiration_days ? parseInt( this.settings.expiration_days ) : 0;\r\n\r\n\t\t\tif ( ! this.should_display() ) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tthis.model = _.extend(\r\n\t\t\t\tthis.settings,\r\n\t\t\t\topts.design,\r\n\t\t\t\tthis.data,\r\n\t\t\t\t{\r\n\t\t\t\t\tid: this.optin_id,\r\n\t\t\t\t\ttype: this.type,\r\n\t\t\t\t\tposition: this.settings.position,\r\n\t\t\t\t\ttypes: {\r\n\t\t\t\t\t\tpopup: opts.popup,\r\n\t\t\t\t\t\tslide_in: opts.slide_in\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t);\r\n\r\n\t\t\tif ( _.contains( ['time', 'scrolled', 'adblock'], this.triggers.trigger )\r\n\t\t\t\t|| ( 'exit_intent_trigger' === this.appear_after && _.isTrue( this.settings.on_exit_intent_per_session ) ) ) {\r\n\t\t\t\tthis.should_remove = true;\r\n\t\t\t}\r\n\r\n\t\t\tthis.render();\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Check if popup should display. **/\r\n\t\tshould_display: function() {\r\n\t\t\tvar never_see = Optin.cookie.get( this.cookie_key );\r\n\t\t\tnever_see = parseInt( never_see ) === parseInt( this.optin_id );\r\n\r\n\t\t\treturn this.opt.should_display[this.type] && !_.isTrue(never_see);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Trigger to completely hide this. **/\r\n\t\tnever_see_again: function() {\r\n\t\t\tOptin.cookie.set( this.cookie_key, this.optin_id, this.expiration_days );\r\n\t\t},\r\n\r\n\t\trender: function() {\r\n\t\t\tthis.model = _.extend( this.model,\r\n\t\t\t\tthis.handle_custom_size( this.model ),\r\n\t\t\t\tthis.enable_fullscreen( this.model ),\r\n\t\t\t\tthis.sanitize_cta_url( this.model )\r\n\t\t\t);\r\n\r\n\t\t\tvar template = Optin.template( 'hustle-modal-tpl' );\r\n\t\t\t\ttemplate = template( this.model );\r\n\r\n\t\t\tthis.setElement(template);\r\n\t\t\tthis.$el.appendTo('body');\r\n\t\t\tthis.$el.display = $.proxy( this, 'display' );\r\n\t\t\tthis.$el.on( 'show', $.proxy( this, 'onShow' ) );\r\n\t\t\tthis.$el.on( 'hide', $.proxy( this, 'onHide' ) );\r\n\t\t\tthis.html = this.$el.html();\r\n\r\n\t\t\t// Log view\r\n\t\t\tHustle.Events.once( 'cc_modal_shown', this.logView, this );\r\n\t\t\t// Fix content size\r\n\t\t\tHustle.Events.on( 'cc_modal_shown', this.fit, this );\r\n\t\t\tHustle.Events.on( 'hustle_resize', this.fit, this );\r\n\r\n\t\t\tthis[this.appear_after]();\r\n\t\t},\r\n\r\n\t\tonShow: function() {\r\n\t\t\t// for adding proper classes\r\n\t\t\t$(document).trigger(\"wpoi:cc_display\", [this.type, this.$el, this.model]);\r\n\t\t\tHustle.Events.trigger(\"cc_modal_shown\", this, this.type);\r\n\t\t},\r\n\r\n\t\tlogView: function() {\r\n\t\t\tlogView.set( 'type', this.type );\r\n\t\t\tlogView.set( 'id', this.optin_id );\r\n\t\t\tlogView.save();\r\n\t\t},\r\n\r\n\t\tfire_conversion_event: function(e) {\r\n\t\t\tvar source = $(e.currentTarget).hasClass( \"wph-modal--cta\" ) ? \"cta\" : \"form\";\r\n\r\n\t\t\tHustle.Events.trigger('cc_modal_converted', this, source);\r\n\t\t\tlogConversion.set( 'id', this.optin_id );\r\n\t\t\tlogConversion.set( 'type', this.type );\r\n\t\t\tlogConversion.set( 'source', source );\r\n\t\t\tlogConversion.save();\r\n\t\t},\r\n\r\n\t\tenable_fullscreen: function( data ) {\r\n\t\t\tdata.fullscreen = '';\r\n\r\n\t\t\tif ( 'popup' === this.type && this.settings.make_fullscreen ) {\r\n\t\t\t\tdata.fullscreen = 'wph-modal-popup-fullscreen';\r\n\t\t\t}\r\n\r\n\t\t\treturn data;\r\n\t\t},\r\n\r\n\t\thandle_custom_size: function( data ){\r\n\t\t\tdata.custom_size_attr = '';\r\n\t\t\tdata.custom_size_class = '';\r\n\r\n\t\t\tif ( data.customize_size && _.isTrue( data.customize_size ) ) {\r\n\t\t\t\tdata.customize_size_class = 'wph-modal--custom';\r\n\t\t\t\tdata.custom_size_attr += 'data-custom_width='+ data.custom_width +' data-custom_height='+ data.custom_height +'';\r\n\t\t\t}\r\n\t\t\tif ( data.border && _.isTrue( data.border ) ) {\r\n\t\t\t\tdata.custom_size_attr += ' data-border='+ data.border_weight;\r\n\t\t\t}\r\n\r\n\t\t\treturn data;\r\n\t\t},\r\n\r\n\t\ton_form_submit: function(e) {\r\n\t\t\tvar self = this,\r\n $form = $(e.target),\r\n on_submit = this.settings.on_submit;\r\n\r\n switch ( on_submit ){\r\n\t\t\t\tdefault:\r\n\t\t\t\tcase 'refresh_or_close':\r\n\t\t\t\t\tthis.closed(e);\r\n\t\t\t\t\tbreak;\r\n case \"close\":\r\n\t\t\t\tcase 'close_after_form_submit':\r\n\t\t\t\t\tthis.closed(e);\r\n\r\n break;\r\n case \"redirect\":\r\n\t\t\t\tcase 'redirect_to_form_target':\r\n window.location.replace( $form.attr(\"action\") );\r\n break;\r\n\t\t\t\tcase 'refresh_or_nothing':\r\n\t\t\t\t\tbreak;\r\n }\r\n\t\t}\r\n\t});\r\n\r\n\tOptin.CCSlideIn = Optin.CCPopUp.extend({\r\n\t\tkey_prefix: '',\r\n\t\thide_all_key: '',\r\n\t\tdelay_time: 0,\r\n\r\n\t\tshould_display: function() {\r\n\t\t\tthis.key_prefix = Hustle.consts.Slide_Cookie_Prefix + this.optin_id;\r\n\t\t\tthis.hide_all_key = Hustle.consts.Slide_Cookie_Hide_All + this.optin_id;\r\n\t\t\tthis.delay_time = this.settings.hide_after_unit === \"minutes\" ? parseInt( this.settings.hide_after_val, 10 ) * 60 * 1000 : parseInt( this.settings.hide_after_val, 10 ) * 1000;\r\n\r\n\t\t\tvar opt_cookie_never_see = Optin.cookie.get( this.cookie_key );\r\n\r\n\t\t\tif ( _.isFalse( opt_cookie_never_see ) ) {\r\n\t\t\t\t// Check prefix\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( this.key_prefix );\r\n\t\t\t}\r\n\t\t\tif ( _.isFalse( opt_cookie_never_see ) ) {\r\n\t\t\t\t// Check hide all\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( this.hide_all_key );\r\n\t\t\t}\r\n\r\n\t\t\tif ( 'keep_showing' === this.settings.after_close && opt_cookie_never_see ) {\r\n\t\t\t\topt_cookie_never_see = false;\r\n\t\t\t\tOptin.cookie.set( this.cookie_key, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( this.key_prefix, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( this.hide_all_key, this.optin_id, 0 );\r\n\t\t\t}\r\n\r\n\t\t\treturn this.opt.should_display[this.type] && !_.isTrue(opt_cookie_never_see);\r\n\t\t},\r\n\r\n\t\tonShow: function() {\r\n\t\t\tif( _.isTrue( this.settings.hide_after ) ) {\r\n var me = this;\r\n\r\n var delay_id = _.delay(function(){\r\n\t\t\t\t\tif ( ! me.prevent_hide_after ) {\r\n\t\t\t\t\t\t// if hide after is not prevented, then hide it\r\n me.$el.removeClass(this.showClass);\r\n\t\t\t\t\t\tme.mask.trigger('click');\r\n\t\t\t\t\t}\r\n }, this.delay_time );\r\n }\r\n\r\n\t\t\tOptin.CCPopUp.prototype.onShow.apply(this, arguments);\r\n\t\t},\r\n\r\n\t\tonHide: function() {\r\n\t\t\tvar should_remove = false;\r\n\r\n\t\t\tif ( 'hide_all' === this.after_close ) {\r\n\t\t\t\tOptin.cookie.set( this.key_prefix, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n\t\t\t}\r\n\t\t\tif( 'no_show' === this.settings.after_close ) {\r\n Optin.cookie.set( this.hide_all_key, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n }\r\n\r\n\t\t\tif ( should_remove ) {\r\n\t\t\t\t// Remove completely\r\n\t\t\t\tthis.mask.remove();\r\n\t\t\t\tthis.remove();\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclick: function() {\r\n\t\t\tthis.prevent_hide_after = true;\r\n\t\t}\r\n\t});\r\n\r\n}(jQuery, document, window));","(function( $ ) {\r\n\tif( inc_opt.is_upfront ) return;\r\n\r\n\tOptin = window.Optin || {};\r\n\tOptin.AfterContent = function() {\r\n\t\tvar $this = $(this),\r\n\t\t\toptin_id = $this.data( 'id' ),\r\n\t\t\toptin, html;\r\n\r\n\t\toptin = _.find(Optins, function (opt) {\r\n return optin_id == opt.data.optin_id;\r\n });\r\n\r\n\t\t$this.data('handle', _.findKey(Optins, optin));\r\n\t\t$this.data('type', 'after_content');\r\n\r\n\t\t$this.html( Optin.render_optin(optin) );\r\n\r\n\t\tif (optin.settings.after_content.animate\r\n\t\t\t&& 'true' == optin.settings.after_content.animate ) {\r\n\r\n $this.addClass(optin.settings.after_content.animation);\r\n\r\n\t\t\t_.delay(function() {\r\n\t\t\t\t$this.addClass('wpoi-show');\r\n\t\t\t}, 750 );\r\n }\r\n\r\n\t\t// add provider args\r\n $this.find(\".wpoi-provider-args\").html( Optin.render_provider_args( optin ) );\r\n\r\n\t\t$(document).trigger(\"wpoi:display\", [\"after_content\", $this, optin ]);\r\n\r\n\t};\r\n\r\n}(jQuery));","\"use strict\";\r\n(function( $, doc, win ) {\r\n if( inc_opt.is_upfront ) return;\r\n\r\n\tOptin = window.Optin || {};\r\n\r\n\tOptin.PopUp = Optin.View.extend({\r\n\t\tclassName: 'inc_opt_popup wpoi-animate inc_optin',\r\n\t\ttype: 'popup'\r\n\t});\r\n}(jQuery, document, window));","\"use strict\";\r\n(function( $, doc, win ) {\r\n if( inc_opt.is_upfront ) return;\r\n\r\n\tOptin = window.Optin || {};\r\n\r\n\tOptin.SlideIn = Optin.View.extend({\r\n\t\tclassName: 'inc_opt_slidein inc_optin wpoi-slide',\r\n\t\ttype: 'slide_in',\r\n\t\tprevent_hide_after: false,\r\n\t\tdelay_time: 0,\r\n\r\n\t\tshould_display: function() {\r\n\t\t\tvar cookie_key = 'popup' === this.type ? Optin.POPUP_COOKIE_PREFIX : Optin.SLIDE_IN_COOKIE_PREFIX;\r\n\t\t\tcookie_key += this.optin_id;\r\n\r\n\t\t\tvar opt_cookie_never_see = Optin.cookie.get( cookie_key );\r\n\r\n\t\t\tif ( ! opt_cookie_never_see ) {\r\n\t\t\t\t// Check cookie prefix\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( Optin.SLIDE_IN_COOKIE_PREFIX + this.optin_id );\r\n\t\t\t}\r\n\t\t\tif ( ! opt_cookie_never_see ) {\r\n\t\t\t\t// Check hide_all\r\n\t\t\t\topt_cookie_never_see = Optin.cookie.get( Optin.SLIDE_IN_COOKIE_HIDE_ALL + this.optin_id );\r\n\t\t\t}\r\n\t\t\t\r\n\r\n\t\t\tif ( 'keep_showing' === this.settings.after_close && opt_cookie_never_see ) {\r\n\t\t\t\topt_cookie_never_see = false;\r\n\t\t\t\t// Reset all cookies\r\n\t\t\t\tOptin.cookie.set( Optin.SLIDE_IN_COOKIE_PREFIX + this.optin_id, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( Optin.SLIDE_IN_COOKIE_HIDE_ALL + this.optin_id, this.optin_id, 0 );\r\n\t\t\t\tOptin.cookie.set( cookie_key, this.optin_id, 0 );\r\n\t\t\t}\r\n\r\n\t\t\treturn _.isTrue( this.settings.display ) && ! _.isTrue( opt_cookie_never_see );\r\n\t\t},\r\n\r\n\t\trender: function() {\r\n\t\t\tvar cLass = 'inc_opt_slidein inc_opt_slidein_' + this.settings.position + ' inc_optin wpoi-slide';\r\n\t\t\tthis.delay_time = this.settings.hide_after_unit === \"minutes\" ? parseInt( this.settings.hide_after_val, 10 ) * 60 * 1000 : parseInt( this.settings.hide_after_val, 10 ) * 1000;\r\n\r\n\t\t\tthis.$el.addClass( cLass );\r\n\r\n\t\t\tOptin.View.prototype.render.apply( this, arguments );\r\n\t\t},\r\n\r\n\t\tonShow: function() {\r\n\t\t\tthis.mask.removeClass('wpoi-show');\r\n\r\n\t\t\tif( _.isTrue( this.settings.hide_after ) ) {\r\n var me = this;\r\n\r\n var delay_id = _.delay(function(){\r\n\t\t\t\t\tif ( ! me.prevent_hide_after ) {\r\n\t\t\t\t\t\t// if hide after is not prevented, then hide it\r\n me.$el.removeClass(\"wpoi-show\");\r\n\t\t\t\t\t\tme.$el.trigger( 'hide' );\r\n\t\t\t\t\t}\r\n }, this.delay_time );\r\n }\r\n\t\t\tOptin.View.prototype.onShow.apply(this, arguments);\r\n\t\t},\r\n\r\n\t\tonHide: function() {\r\n\t\t\tvar should_remove = false;\r\n\r\n\t\t\tif ( 'hide_all' === this.after_close ) {\r\n\t\t\t\tOptin.cookie.set( Optin.SLIDE_IN_COOKIE_HIDE_ALL, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n\t\t\t}\r\n\t\t\tif( \"no_show\" === this.settings.after_close ) {\r\n Optin.cookie.set( Optin.SLIDE_IN_COOKIE_PREFIX + this.optin_id, this.optin_id, 30 );\r\n\t\t\t\tshould_remove = true;\r\n }\r\n\r\n\t\t\tif ( should_remove ) {\r\n\t\t\t\t// Remove completely\r\n\t\t\t\tthis.mask.remove();\r\n\t\t\t\tthis.remove();\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tclick: function() {\r\n\t\t\tthis.prevent_hide_after = true;\r\n\t\t}\r\n\t});\r\n}(jQuery, document, window));","\"use strict\";\r\n(function( $ ) {\r\n\t\r\n\t/**\r\n * Functions for saving conversion data\r\n */\r\n\tOptin = Optin || {};\r\n\tOptin.handle_cc_shortcode_conversion = function(cc_id, type){\r\n var $win = $(window),\r\n $doc = $(document);\r\n\t\t\r\n\t\t$($doc).on(\"click\", \"a.wph-cc-shortcode--cta\", function(e){\r\n\t\t\tvar cc_data = {\r\n\t\t\t\t\"id\": cc_id,\r\n\t\t\t\t\"type\": type,\r\n\t\t\t\t\"source\": \"cta\"\r\n\t\t\t};\r\n\t\t\tOptin.save_cc_shortcode_conversion(cc_data);\r\n\t\t});\r\n }\r\n\tOptin.save_cc_shortcode_conversion = function(cc_data){\r\n\t\t$.ajax({\r\n\t\t\ttype: \"POST\",\r\n\t\t\turl: inc_opt.ajaxurl,\r\n\t\t\tdata: {\r\n\t\t\t\taction: \"hustle_custom_content_converted\",\r\n\t\t\t\tdata: {\r\n\t\t\t\t\tid: cc_data.id,\r\n\t\t\t\t\tpage_type: inc_opt.page_type,\r\n\t\t\t\t\tpage_id: inc_opt.page_id,\r\n\t\t\t\t\ttype: cc_data.type,\r\n\t\t\t\t\turi: encodeURI( window.location.href ),\r\n\t\t\t\t\tsource: cc_data.source\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tsuccess: function (res) {}\r\n\t\t});\r\n\t}\r\n\t\r\n /**\r\n * Render inline optins ( widget )\r\n */\r\n var inc_opt_render_widgets = _.debounce( function(){\r\n\t\t// rendering widgets, shortcodes for Custom Content\r\n\t\t$(\".inc_cc_widget_wrap, .inc_cc_shortcode_wrap\").each(function () {\r\n var $this = $(this),\r\n id = $this.data(\"id\"),\r\n type = $this.is(\".inc_cc_widget_wrap\") ? \"widget\" : \"shortcode\";\r\n\r\n if( !id ) return;\r\n\t\t\t\r\n var cc = _.find(Hustle_Custom_Contents, function (opt) {\r\n return id == opt.content.optin_id;\r\n });\r\n\t\t\t\r\n if (!cc) return;\r\n\t\t\t\r\n\t\t\t$this.data(\"handle\", _.findKey(Hustle_Custom_Contents, cc));\r\n $this.data(\"type\", type);\r\n\t\t\t\r\n\t\t\t// sanitize cta_url \r\n\t\t\tif ( cc.design.cta_url ) {\r\n\t\t\t\tif (!/^(f|ht)tps?:\\/\\//i.test(cc.design.cta_url)) {\r\n\t\t\t\t\tcc.design.cta_url = \"http://\" + cc.design.cta_url;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tvar html = Optin.render_cc_shortcode( cc );\r\n\t\t\tOptin.handle_cc_scroll( $this, type, id );\r\n\t\t\t$this.html(html);\r\n\t\t\t\r\n\t\t\t_.delay(function(){\r\n $(document).trigger(\"wpoi:cc_shortcode_or_widget_viewed\", [type, id]);\r\n }, _.random(0, 300));\r\n\t\t\t\r\n\t\t\tOptin.handle_cc_shortcode_conversion(id, type);\r\n\r\n });\r\n\t\t\r\n\t\t// rendering widgets, shortcodes for Opt-in\r\n $(\".inc_opt_widget_wrap, .inc_opt_shortcode_wrap\").each(function () {\r\n var $this = $(this),\r\n id = $this.data(\"id\"),\r\n type = $this.is(\".inc_opt_widget_wrap\") ? \"widget\" : \"shortcode\";\r\n\r\n if( !id ) return;\r\n\t\t\t\r\n var optin = _.find(Optins, function (opt) {\r\n return id == opt.data.optin_id;\r\n });\r\n\r\n if (!optin) return;\r\n\r\n $this.data(\"handle\", _.findKey(Optins, optin));\r\n $this.data(\"type\", type);\r\n\r\n var html = Optin.render_optin( optin );\r\n\r\n Optin.handle_scroll( $this, type, optin );\r\n\r\n\r\n $this.html(html);\r\n\r\n // add provider args\r\n $this.find(\".wpoi-provider-args\").html( Optin.render_provider_args( optin ) );\r\n\r\n _.delay(function(){\r\n $(document).trigger(\"wpoi:display\", [type, $this, optin ]);\r\n }, _.random(0, 300));\r\n\r\n });\r\n\t\t\r\n }, 50, true);\r\n\r\n inc_opt_render_widgets();\r\n\r\n $(document).on('upfront-load', function(){\r\n inc_opt_render_widgets();\r\n\r\n Upfront.Events.on(\"entity:object:refresh:start entity:object:refresh preview:build:start upfront:preview:build:stop\", inc_opt_render_widgets);\r\n });\r\n\r\n}(jQuery));","\"use strict\";\r\n(function( $, doc, win ) {\r\n if( inc_opt.is_upfront ) return;\r\n\r\n\t// Listen to exit intent\r\n\t$(doc).on( 'mouseleave', $.proxy( Hustle.Events, 'trigger', 'exit_intended' ) );\r\n\r\n\t// Listen to resize event\r\n\t$(window).on( 'resize', $.proxy( Hustle.Events, 'trigger', 'hustle_resize' ) );\r\n\r\n\t// Opt-In\r\n\t$.each( _.keys(Optins), function(i, k){\r\n\t\tvar opt = Optins[k],\r\n\t\t\tsettings = opt.settings,\r\n\t\t\toptin_id = opt.data.optin_id,\r\n\t\t\targs = {key: k};\r\n\r\n\t\t// Check for enabled popup\r\n\t\tif ( settings.popup && settings.popup.enabled\r\n\t\t\t&& ! _.isTrue( Optin.cookie.get( Optin.POPUP_COOKIE_PREFIX + optin_id ) ) ) {\r\n\t\t\tnew Optin.PopUp(args);\r\n\t\t}\r\n\r\n\t\t// Check for enabled slide_in\r\n\t\tif ( settings.slide_in && settings.slide_in.enabled\r\n\t\t\t&& ! _.isTrue( Optin.cookie.get( Optin.SLIDE_IN_COOKIE_HIDE_ALL ) ) ) {\r\n\t\t\tnew Optin.SlideIn(args);\r\n\t\t}\r\n\r\n\t\t// Check for enabled after_content\r\n\t\tif ( settings.after_content && settings.after_content.enabled ) {\r\n\t\t\tvar after_content = $('[data-id=\"' + optin_id + '\"]').filter(function() {\r\n\t\t\t\treturn $(this).is('.inc_opt_after_content_wrap');\r\n\t\t\t});\r\n\r\n\t\t\tif ( after_content.length ) {\r\n\t\t\t\tafter_content.each(Optin.AfterContent);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n\r\n\t// CUSTOM CONTENT\r\n\t$.each(Hustle_Custom_Contents, function(uniq_id, cc) {\r\n\t\tcc.id = uniq_id;\r\n\r\n\t\tif ( cc.should_display ) {\r\n\t\t\t// Check for enabled popup\r\n\t\t\tif ( _.isTrue(cc.should_display.popup) && _.isTrue(cc.popup.enabled) ) {\r\n\t\t\t\tcc.type = 'popup';\r\n\t\t\t\tnew Optin.CCPopUp(cc);\r\n\t\t\t}\r\n\r\n\t\t\t// Check for enabled slide_in\r\n\t\t\tif ( _.isTrue(cc.should_display.slide_in) && _.isTrue(cc.slide_in.enabled) ) {\r\n\t\t\t\tcc.type = 'slide_in';\r\n\t\t\t\tnew Optin.CCSlideIn(cc);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}(jQuery, document, window));"]}
changelog.txt CHANGED
@@ -4,6 +4,10 @@ Author:Victor Ivanov (Incsub), Robert Setiadi (Incsub), Diobeth Ray Villasencio
4
  Change Log:
5
  ----------------------------------------------------------------------
6
 
 
 
 
 
7
  5.0.1
8
  ----------------------------------------------------------------------
9
  - Add: ConvertKit integration.
4
  Change Log:
5
  ----------------------------------------------------------------------
6
 
7
+ 5.0.1.1
8
+ ----------------------------------------------------------------------
9
+ - Fix: Custom content slide-in not showing on frontend.
10
+
11
  5.0.1
12
  ----------------------------------------------------------------------
13
  - Add: ConvertKit integration.
popover.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Hustle
4
  Plugin URI: https://premium.wpmudev.org/project/hustle/
5
  Description: Start collecting email addresses and quickly grow your mailing list with big bold pop-ups, slide-ins, widgets, or in post opt-in forms.
6
- Version: 5.0.1
7
  Author: WPMU DEV
8
  Author URI: https://premium.wpmudev.org
9
  WDP ID: 1107020
3
  Plugin Name: Hustle
4
  Plugin URI: https://premium.wpmudev.org/project/hustle/
5
  Description: Start collecting email addresses and quickly grow your mailing list with big bold pop-ups, slide-ins, widgets, or in post opt-in forms.
6
+ Version: 5.0.1.1
7
  Author: WPMU DEV
8
  Author URI: https://premium.wpmudev.org
9
  WDP ID: 1107020
readme.txt CHANGED
@@ -87,6 +87,9 @@ Nope! All your pop-ups will seamlessly be added to the custom content module in
87
 
88
  == Changelog ==
89
 
 
 
 
90
  = 5.0.1 =
91
  * Add: ConvertKit integration.
92
  * Add: Custom post type support.
87
 
88
  == Changelog ==
89
 
90
+ = 5.0.1.1 =
91
+ * Fix: Custom content slide-in not showing on frontend.
92
+
93
  = 5.0.1 =
94
  * Add: ConvertKit integration.
95
  * Add: Custom post type support.