/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});; /*! This file is auto-generated */ /*! * imagesLoaded PACKAGED v5.0.0 * JavaScript is all like "You images are done yet or what?" * MIT License */!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})), /*! * imagesLoaded v5.0.0 * JavaScript is all like "You images are done yet or what?" * MIT License */ function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));; /*! This file is auto-generated */ /*! * Masonry PACKAGED v4.2.2 * Cascading grid layout library * https://masonry.desandro.com * MIT License * by David DeSandro */!function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var l=d.apply(u,n);o=void 0===o?l:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||{};return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;oe;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),r.isBoxSizeOuter=s,i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,l=0;u>l;l++){var c=h[l],f=r[c],m=parseFloat(f);a[c]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,E=d&&s,b=t(r.width);b!==!1&&(a.width=b+(E?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(E?0:g+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+z),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;is?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition",r=this[o](n,t),s={x:this.columnWidth*r.col,y:r.y},a=r.y+t.size.outerHeight,h=n+r.col,u=r.col;h>u;u++)this.colYs[u]=a;return s},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(2>e)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols,n=t>1&&i+t>this.cols;i=n?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,l=a;h>=l;l++)this.colYs[l]=Math.max(d,this.colYs[l])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i});; /*! * Masonry v2 shim * to maintain backwards compatibility * as of Masonry v3.1.2 * * Cascading grid layout library * http://masonry.desandro.com * MIT License * by David DeSandro */!function(a){"use strict";var b=a.Masonry;b.prototype._remapV2Options=function(){this._remapOption("gutterWidth","gutter"),this._remapOption("isResizable","isResizeBound"),this._remapOption("isRTL","isOriginLeft",function(a){return!a});var a=this.options.isAnimated;if(void 0!==a&&(this.options.transitionDuration=a?this.options.transitionDuration:0),void 0===a||a){var b=this.options.animationOptions,c=b&&b.duration;c&&(this.options.transitionDuration="string"==typeof c?c:c+"ms")}},b.prototype._remapOption=function(a,b,c){var d=this.options[a];void 0!==d&&(this.options[b]=c?c(d):d)};var c=b.prototype._create;b.prototype._create=function(){var a=this;this._remapV2Options(),c.apply(this,arguments),setTimeout(function(){jQuery(a.element).addClass("masonry")},0)};var d=b.prototype.layout;b.prototype.layout=function(){this._remapV2Options(),d.apply(this,arguments)};var e=b.prototype.option;b.prototype.option=function(){e.apply(this,arguments),this._remapV2Options()};var f=b.prototype._itemize;b.prototype._itemize=function(a){var b=f.apply(this,arguments);return jQuery(a).addClass("masonry-brick"),b};var g=b.prototype.measureColumns;b.prototype.measureColumns=function(){var a=this.options.columnWidth;a&&"function"==typeof a&&(this.getContainerWidth(),this.columnWidth=a(this.containerWidth)),g.apply(this,arguments)},b.prototype.reload=function(){this.reloadItems.apply(this,arguments),this.layout.apply(this)};var h=b.prototype.destroy;b.prototype.destroy=function(){var a=this.getItemElements();jQuery(this.element).removeClass("masonry"),jQuery(a).removeClass("masonry-brick"),h.apply(this,arguments)}}(window);; !function(){var t={3418:function(t){!function(e,o){const i=[];o.addResizeCallback=function(t,e){return-1===i.indexOf(t)&&(t.$$scope=e,i.push(t)),o},t.exports=function(){let t=o.$window.width();o.$window.off("resize.tar").on("resize.tar",(function(){o.$window.width()!==t&&(e.each(i,(function(t,e){e.call(e.$$scope||this)})),t=o.$window.width())}))}}(ThriveGlobal.$j,TCB_Front)},47272:function(t){!function(e,o){const i=[];o.add_scroll_callback=function(t,e){return-1===i.indexOf(t)&&(t.$$scope=e,i.push(t)),o},t.exports=function(){let t=o.$document.scrollTop(),n="";o.$window.off("scroll.tar").on("scroll.tar",(function(){const s=o.$document.scrollTop(),r=s>=t?"down":"up",a=n!==r;t=s,n=r,e.each(i,(function(t,e){e.call(e.$$scope||this,s,r,a)}))})),o.$window.trigger("scroll")}}(ThriveGlobal.$j,TCB_Front)},51688:function(){!function(t){"use strict";const e=function(e,o){this.el=t(e),this.options=t.extend({},t.fn.typed.defaults,o),this.isInput=this.el.is("input"),this.attr=this.options.attr,this.showCursor=!this.isInput&&this.options.showCursor,this.elContent=this.attr?this.el.attr(this.attr):this.el.text(),this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.stringsElement=this.options.stringsElement,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.build()};e.prototype={constructor:e,init(t){void 0===t&&(t="delete");const e=this;function o(){for(let t=0;t'+this.cursorChar+""),this.el.after(this.cursor)),this.stringsElement){e.strings=[],this.stringsElement.hide();const o=this.stringsElement.find("p");t.each(o,(function(o,i){e.strings.push(t(i).html())}))}this.init()},typewrite(t,e){if(!0===this.stop)return;const o=this.typeSpeed,i=this;i.timeout=setTimeout((function(){let o=0,n=t.substr(e);if("^"===n.charAt(0)){let i=1;/^\^\d+/.test(n)&&(n=/\d+/.exec(n)[0],i+=n.length,o=parseInt(n)),t=t.substring(0,e)+t.substring(e+i)}if("html"===i.contentType){const o=t.substr(e).charAt(0);if("<"===o||"&"===o){const i="<"===o?">":";";for(;t.substr(e).charAt(0)!==i;)e++;e++}}i.timeout=setTimeout((function(){if(e===t.length){if(i.options.onStringTyped(i.arrayPos),i.arrayPos===i.strings.length-1&&(i.options.callback(),i.curLoop++,!1===i.loop||i.curLoop===i.loopCount))return;i.timeout=setTimeout((function(){i.options.highlightClass?i.highlight(t,e):i.backspace(t,e)}),i.backDelay)}else{0===e&&i.options.preStringTyped(i.arrayPos);const o=t.substr(0,e+1);i.attr?i.el.attr(i.attr,o):i.isInput?i.el.val(o):"html"===i.contentType?i.el.html(o):i.el.text(o),e++,i.typewrite(t,e)}}),o)}),o)},highlight(t,e){if(!0===this.stop)return;const o=this.backSpeed,i=this;i.timeout=setTimeout((function(){if("html"===i.contentType&&">"===t.substr(e).charAt(0)){for(;"<"!==t.substr(e).charAt(0);)e--;e--}const o=t.substr(0,e),n=t.substr(e);i.attr?i.el.attr(i.attr,o):i.el.html(o+''+n+""),e>i.stopNum?(e--,i.highlight(t,e)):e<=i.stopNum&&setTimeout((function(){i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.init("write")):i.typewrite(i.strings[i.sequence[i.arrayPos]],e)}),200)}),o)},backspace(e,o){if(!0===this.stop)return;const i=this.backSpeed,n=this,s=t(n.el);n.timeout=setTimeout((function(){if("html"===n.contentType&&">"===e.substr(o).charAt(0)){for(;"<"!==e.substr(o).charAt(0);)o--;o--}const t=e.substr(0,o);n.attr?n.el.attr(n.attr,t):n.isInput?n.el.val(t):"html"===n.contentType?n.el.html(t):n.el.text(t),o>n.stopNum?(o--,n.backspace(e,o)):o<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.shuffle&&(n.sequence=n.shuffleArray(n.sequence)),n.init("write")):n.typewrite(n.strings[n.sequence[n.arrayPos]],o),n.options.highlightClass&&s.is("."+n.options.highlightClass)&&s.removeClass(n.options.highlightClass))}),i)},shuffleArray(t){let e,o,i=t.length;if(i)for(;--i;)o=Math.floor(Math.random()*(i+1)),e=t[o],t[o]=t[i],t[i]=e;return t},pause(){this.stop=!0,clearInterval(this.timeout)},start(){!1!==this.stop&&(this.stop=!1,this.init())},reset(){clearInterval(this.timeout);const t=this.el.attr("id");this.el.after(''),this.el.remove(),void 0!==this.cursor&&this.cursor.remove(),this.options.resetCallback()}},t.fn.typed=function(o){return this.each((function(){const i=t(this),n="object"==typeof o&&o;let s=i.data("typed");s||(s=new e(this,n),i.data("typed",s)),"string"==typeof o&&s[o]()}))},t.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback(){},preStringTyped(){},onStringTyped(){},resetCallback(){}}}(window.jQuery)},1932:function(t){t.exports={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode(t){let e,o,i,n,s,r,a,l="",c=0;for(t=this._utf8_encode(t);c>2,s=(3&e)<<4|o>>4,r=(15&o)<<2|i>>6,a=63&i,isNaN(o)?r=a=64:isNaN(i)&&(a=64),l=l+this._keyStr.charAt(n)+this._keyStr.charAt(s)+this._keyStr.charAt(r)+this._keyStr.charAt(a);return l},decode(t){let e,o,i,n,s,r,a,l="",c=0;for(t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");c>4,o=(15&s)<<4|r>>2,i=(3&r)<<6|a,l+=String.fromCharCode(e),64!=r&&(l+=String.fromCharCode(o)),64!=a&&(l+=String.fromCharCode(i));return l=this._utf8_decode(l),l},_utf8_encode(t){t=t.replace(/\r\n/g,"\n");let e="";for(let o=0;o127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e},_utf8_decode(t){let e="",o=0,i=0,n=0,s=0;for(;o191&&i<224?(n=t.charCodeAt(o+1),e+=String.fromCharCode((31&i)<<6|63&n),o+=2):(n=t.charCodeAt(o+1),s=t.charCodeAt(o+2),e+=String.fromCharCode((15&i)<<12|(63&n)<<6|63&s),o+=3);return e}}},84626:function(t){!function(e,o){function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.$body;t.find(".thrv_wrapper > div[data-clip-id]").each(((e,o)=>{const i=getComputedStyle(o).getPropertyValue("clip-path");o.parentElement.classList.remove("safari-ios-decoration-fix");try{i&&"none"!==i&&!i.includes("#null")&&t.find(i.match(/"(#[^']+)"/)[1]).length>0&&o.parentElement.classList.add("safari-ios-decoration-fix")}catch(t){}}))}function n(){if(!this.dataset.href||this.dataset.href.includes("javascript:void(0)")||this.classList.contains("tcb-during-drag"))return!0;if("_blank"===this.dataset.target)window.open(this.dataset.href,"_blank","noopener");else{let t;if(this.dataset.hash)try{t=e(this.dataset.hash)}catch(t){}t&&t.length?TCB_Front.jumpScrollTo(t,this):location.href=this.dataset.href}return!1}t.exports=function(t){tve_frontend_options.is_editor_page||(function(){if(!document.getElementById("tve-frontend-compat-css")){const t=document.createElement("style");let e=".thrv-page-section.safari-ios-decoration-fix, .thrv-content-box.safari-ios-decoration-fix { -webkit-transform: translate3d(0, 0, 0) !important;}";TCB_Front.browser&&(TCB_Front.browser.mozilla?e=".safari-ios-decoration-fix .tve-page-section-out[data-clip-id], .safari-ios-decoration-fix .tve-content-box-background[data-clip-id]{transform: unset !important}":(TCB_Front.browser.safari||TCB_Front.browser.ios)&&(e+=".tve_ea_thrive_animation > a.tcb-button-link {-webkit-mask-image: -webkit-radial-gradient(#fff, #fff);-webkit-mask-size: 100%, 100%; -webkit-mask-position: 0, 0; }",e+=".tcb-flex-col .tcb-col .thrv_wrapper.thrv_icon {max-height: var(--tve-icon-size, 25px);}",TCB_Front.browser.version&&parseFloat(TCB_Front.browser.version)<16&&(e+=".slick-list{overflow-x: hidden;}"))),e+=".thrv_wrapper + #thrive-header { position: static;}",t.type="text/css",t.id="tve-frontend-compat-css",t.appendChild(document.createTextNode(e)),document.head.appendChild(t)}}(),i(t),o.addResizeCallback(i),function(t){t.find("a > .tcb-col, a > .thrv-content-box").each((function(){const t=this.parentNode,o={"data-href":t.href,"data-hash":t.hash,"jump-animation":t.getAttribute("jump-animation"),"data-target":t.getAttribute("target")||""};t.classList.contains("tve-dynamic-link")&&(o["data-shortcode-id"]=t.getAttribute("data-shortcode-id"),o["data-dynamic-link"]=t.getAttribute("data-dynamic-link")),e(this).unwrap().css("cursor","pointer").off("click.tcb-block").on("click.tcb-block",n).toggleClass("tve-jump-scroll",t.classList.contains("tve-jump-scroll")).attr(o)})),TCB_Front.$document.trigger("unwrapBlockLinks")}(t),function(t){const e=t.find(".thrv-search-form");e.length&&!TCB_Front.js_modules["search-form"]&&e.find(".thrv-sf-input").show(),t.find('[style*="--tve-border-width"]').each(((t,e)=>{o.inlineCssVariable(e,"--tve-border-width","")}))}(t))}}(ThriveGlobal.$j,TCB_Front)},54342:function(t){var e;e=ThriveGlobal.$j,t.exports=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:TCB_Front.$body;if(tve_frontend_options.is_editor_page)return;const o=e("#wpadminbar").height()||0,i=t.find(".thrv_footer"),n=i.parents("#tve_editor"),s=()=>{const e=i.height();i.length&&t.height()>0&&(i.css({position:"",top:""}),n.css({"min-height":"","padding-bottom":"","box-sizing":""}),document.documentElement.clientHeight-t.height()-o>1&&(i.css({position:"absolute",bottom:0,"padding-bottom":0,"z-index":3}),n.css({"min-height":"calc( 100vh - "+e+"px ) ","padding-bottom":e,"box-sizing":"unset"}),t.css("overflow-x","visible")))};"undefined"!=typeof ResizeObserver?new ResizeObserver((()=>{s()})).observe(window.document.body):s()}},51919:function(t){!function(e,o){const i="tve-default-state",n="tve-scroll-state",s="-1000px";let r,a,l,c,d=e();function h(t){if(function(){const t=d.data("scroll_config");return!t||!t.disabled.includes(TCB_Front.getDisplayType())}()){const e={opacity:0,"z-index":c-1,overflow:"hidden"},o={opacity:1,"z-index":c,overflow:"",top:0};let i="";t>=r?(l.css(e),a.css(o),i=a.outerHeight()):(a.css(e),l.css(o),d.data("cloneSticky")&&d.data("cloneSticky")[0].style.setProperty("height",`${l.outerHeight()}px`)),d[0]&&d[0].style.setProperty("height",i?`${i}px`:"")}}function p(){r=o.getMediaAttr(l,"data-switch-on-scroll",TCB_Front.getDisplayType()),o.add_scroll_callback(h)}function f(t){if(0===parseInt(t.currentTarget.style.opacity)){t.currentTarget.style.top=s;const o=e(t.currentTarget).find(".tve-m-trigger");o.length>0&&o.each(((t,o)=>{const i=e(o);i.hasClass("tve-triggered-icon")&&i.trigger("click")}))}}t.exports=function(t){if(d=t.find(".thrv_header"),d.data("init")||!d.length)return;d.data("init",1),l=d.find(".thrive-symbol-shortcode"),a=l.clone(),l.addClass(i),c=l.css("z-index")||15;const r=o.getMediaAttr(l,"data-switch-on-scroll",TCB_Front.getDisplayType());if(r&&!isNaN(r)){a.addClass(n).removeClass(i);const t={position:"absolute",opacity:0,width:"100%","box-sizing":"border-box",left:0,top:s};a.css(t).addClass("thrive-symbol-shortcode-scroll").insertAfter(l),a=d.find(".thrive-symbol-shortcode.thrive-symbol-shortcode-scroll"),e(`.${n}`).removeClass(i),a.find(`.${i}`).remove(),a.find(`.${n}`).css("display",""),l.find(`.${n}`).remove(),d.addClass(`${i} ${n}`),d.find(".thrive-symbol-shortcode").css("transition","opacity .4s ease-in-out").on("transitionend webkitTransitionEnd oTransitionEnd",f),o.addResizeCallback(p),p()}TCB_Front.event_triggers(d)}}(ThriveGlobal.$j,TCB_Front)},38747:function(t){t.exports=()=>new class{constructor(){this.filterCallbacks={},this.actionCallbacks={}}addFilter(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;void 0===this.filterCallbacks[t]&&(this.filterCallbacks[t]=[]),this.filterCallbacks[t].push({fn:e,priority:parseInt(o)})}applyFilters(t,e){if(arguments.length<1)return void 0!==e?e:null;if(this.CURRENT_FILTERS=this.CURRENT_FILTERS||[],this.hasFilter(t)){this.CURRENT_FILTERS.push(t);let o=[];arguments.length>2&&(o=Array.prototype.slice.call(arguments,2)),this.filterCallbacks[t].sort(((t,e)=>t.priority-e.priority)).forEach((t=>{if(t.fn)switch(t.fn){case"__return_true":e=!0;break;case"__return_false":e=!1;break;case"__return_null":e=null;break;case"__return_empty_string":e="";break;default:e=t.fn.apply(null,[e,...o])}})),this.CURRENT_FILTERS.pop()}return e}hasFilter(t){return this.filterCallbacks&&this.filterCallbacks[t]&&this.filterCallbacks[t].length}addAction(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;return this.actionCallbacks[t]||(this.actionCallbacks[t]=[]),this.actionCallbacks[t].push({fn:e,priority:parseInt(o)}),this}doAction(t){if(this.CURRENT_ACTIONS=this.CURRENT_ACTIONS||[],this.hasAction(t)){const e=arguments.length>1?Array.prototype.slice.call(arguments,1):[];this.CURRENT_ACTIONS.push(t),this.actionCallbacks[t].sort(((t,e)=>t.priority-e.priority)).forEach((t=>{t.fn&&t.fn.apply(null,e)})),this.CURRENT_ACTIONS.pop()}}hasAction(t){return this.actionCallbacks&&this.actionCallbacks[t]&&this.actionCallbacks[t].length}}},2157:function(){var t,e;t=ThriveGlobal.$j,e=TCB_Front,t.fn.tve_form_loading=function(t){const o=this,i=o.find("[type=submit]").parent();let n=o.find(".tcb-form-loader");return void 0!==t&&t?(n.fadeOut(),o.find("input,select,textarea").removeAttr("disabled"),i.find("button").fadeIn(),o.find(".tve-form-button .tve-form-button-submit").fadeIn(),i.find(".thrv_icon").fadeIn(),this):(n.length||(n=ThriveGlobal.$j('
'+e.icons.get("spinner9")+"
").appendTo(i),i.css({position:"relative",width:i.width()+"px",height:i.height()+"px"})),i.find("button").hide(),o.find(".tve-form-button .tve-form-button-submit").hide(),i.find(".thrv_icon").hide(),n.show(),this)}},24020:function(){var t,e;t=ThriveGlobal.$j,(e=TCB_Front).$document.on("click","a.tve-jump-scroll",(function(o){if(this.hash.includes("comments")&&this.href!==this.hash)return!0;let i;o.preventDefault(),o.stopPropagation();const n=t(this),s=t(o.target).closest(".tve-item-dropdown-trigger").length,r=n.closest("li.menu-item");try{i=t(this.hash)}catch(t){}if(r.length){if(s){const e=t.Event("click");return e.clickedTarget=o.target,void r.trigger(e)}r.trigger("menu_item_anchor_clicked")}if(i&&i.length){if(history&&history.pushState){let t=location.href;t.indexOf("#")>-1&&(t=t.substring(0,t.lastIndexOf("#"))),history.pushState({},document.title,t+this.hash)}return e.jumpScrollTo(i,this),!1}})),e.$document.on("click",".tve-jump-scroll[data-target]",(function(o){let i;o.preventDefault(),o.stopPropagation();const n=this.getAttribute("data-target");try{i=t(n)}catch(t){}if(i&&i.length){if(history&&history.pushState){let t=location.href;t.indexOf("#")>-1&&(t=t.substring(0,t.lastIndexOf("#"))),history.pushState({},document.title,t+n)}return e.jumpScrollTo(i,this),!1}})),TCB_Front.jumpScrollTo=(o,i)=>{const n=t(i.closest(".tve_lb_open.tve-scroll")),s="smooth"===i.getAttribute("jump-animation")?1500:100,r=o.offset().left;let a=null,l=!1,c=0,d=t(),h=t("html, body");function p(){const i=o.offset().top;c=0,d.each((function(){const e=t(this),o=e.hasClass("tve-sticky-element"),n=o?e.data("stop-target"):t(),s=n.length?n.offset().top:0,a=e.offset().left+e.outerWidth();(!o||o&&s>i)&&r<=a&&(c=Math.max(c,e.data("scroll_config").top+e.outerHeight()))})),a&&(l?(a.end=i-e.$body.offset().top-c,l=!1):a.end=a.initial_end-c)}n.length&&n.find(o).length&&(h=n),e.$body.off("tcb-sticky-remove tcb-sticky-add tcb-sticky-scroll-down").on("tcb-sticky-add",(function(t,e){(e=e.filter(":not(.tve-toc)")).length>0&&o.closest(e.data("append-target")).length>0&&(d=d.add(e)),p()})).on("tcb-sticky-remove",((t,e)=>{d=d.not(e),p()})),e.$body.off("tcb.body.resize").on("tcb.body.resize",(()=>{l=!0,p()})),(t=>{if(0===t.closest(".tve-state-expanded").length&&t.hasClass("thrv_toggle_title")){const e=t.closest(".thrv_toggle");e.hasClass("tve-toggle-auto-collapse")&&e.find(".thrv_toggle_title").tcbToggle("hide")}else if(t.closest(".tve_tab_content:not(.tve-tc-visible)").length){const e=t.closest(".tve_tab_content:not(.tve-tc-visible)").index();t.closest(".thrv-tabbed-content").find(".tve_scT li").eq(e-1).tcbTabsToggle()}})(o),h.animate({scrollTop:o.offset().top-e.$body.offset().top},{duration:s,step:(t,e)=>{e.initial_end=e.initial_end||e.end,a=a||e}}).promise().then((()=>{0===o.closest(".tve-state-expanded").length&&(o.hasClass("thrv_toggle_title")?o.trigger("click"):o.is(".tve_tab_title_item")&&o.tcbTabsToggle()),e.$body.trigger("tcb-jumplink-done",[o,i])}))}},26087:function(t){var e;e=ThriveGlobal.$j,t.exports=function(t,o){if(0===t.length||t.hasClass("tve_lb_open")||t.hasClass("tve_lb_opening"))return;const i=e("body"),n=e("html"),s="tve-o-hidden tve-l-open tve-hide-overflow",r=TCB_Front.Utils.getBrowserScrollSize().width,a=parseInt(i.css("padding-right"));function l(t,o){TCB_Front.$window.trigger("tve_after_content_toggle",[t,!1]),e(window).trigger("tcb_before_lightbox_close",t),void 0===o&&1===e(".tve_lb_open").length&&(i.removeClass(s).css("padding-right",""),n.removeClass(s),t.data("doc-scroll-top")?(document.documentElement.scrollTop=t.data("doc-scroll-top"),t.data("doc-scroll-top","")):t.data("bdy-scroll-top")&&(document.body.scrollTop=t.data("bdy-scroll-top"),t.data("doc-scroll-top",""))),t.removeClass("tve_lb_open tve_lb_opening").addClass("tve_lb_closing"),setTimeout((function(){t.removeClass("tve_lb_closing").css("display","none").find("tve_p_lb_content").trigger("tve.lightbox-close")}),300),e("#tve-lg-error-container").hide()}function c(o){const i=t.find(".tve_p_lb_content"),n=TCB_Front.$window.height(),s=void 0!==o&&o?"animate":"css",r=i.outerHeight(!0),a=(n-r)/2;e(window).trigger("tcb_before_lightbox_reposition"),t.find(".tve_p_lb_overlay")[s]({height:r+80+"px","min-height":n+"px"},200),i[s]({top:(a<40?40:a)+"px"},200),r+40>n&&t.addClass("tve-scroll")}if(t.off().on("click",".tve_p_lb_close",(function(){return l(t),!1})),i.off("keyup.tve_lb_close").on("keyup.tve_lb_close",(function(e){if(27===e.which)return l(t),!1})),t.children(".tve_p_lb_overlay").off("click.tve_lb_close").on("click.tve_lb_close",(function(){return l(t),!1})),l(e(".tve_p_lb_background.tve_lb_open"),!0),"instant"!==o&&t.addClass("tve_p_lb_background tve_lb_anim_"+o),t.data("doc-scroll-top",document.documentElement.scrollTop),t.data("bdy-scroll-top",document.body.scrollTop),i.addClass(s),n.addClass(s),TCB_Front.$window.height() ul li").eq(isNaN(o)?0:o);e.length||(e=t.find("> ul li").first()),e.tcbTabsToggle()}}))),setTimeout((function(){t.css("display",""),t.addClass("tve_lb_opening"),setTimeout((function(){"instant"===o&&t.addClass("tve_p_lb_background tve_lb_anim_"+o),c(),TCB_Front.$window.trigger("tve_after_content_toggle",[t])}),0)}),20),t.find(".tve_p_lb_content").trigger("tve.before-lightbox-open"),"none"===t.css("display")||t.hasClass("tve_lb_closing")?(t.removeClass("tve_lb_open"),i.removeClass(s).css("padding-right",""),n.removeClass(s)):setTimeout((function(){t.removeClass("tve_lb_opening").addClass("tve_lb_open").find(".tve_p_lb_content").trigger("tve.lightbox-open")}),300),TCB_Front.$window.resize((function(){c()})),t.on("lbresize",(function(){c(!0)})),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((()=>{c(!0)}));t.find("iframe").each((function(){e.observe(this)}))}else t.find("iframe").each((function(){this.src=this.src,this.onload=()=>{c(!0)}}));e(window).trigger("tcb_after_lightbox_open",t)}},88256:function(t){var e,o;e=ThriveGlobal.$j,o=TCB_Front,t.exports=class{constructor(){this.position="top-center",this.$customNotificationWrapper=e(".notifications-content-wrapper"),this.isCustomNotification=this.$customNotificationWrapper.length>0,this.$notificationWrapper=this.isCustomNotification?this.$customNotificationWrapper:e(".tvd-toast"),(!this.isNotificationPage()||this.isNotificationPage()&&!this.isEditorPage())&&this.render(),this.isNotificationPage()&&this.isEditorPage()&&this.$notificationWrapper.addClass("notification-edit-mode")}isNotificationPage(){let t="tve_notifications"===tve_frontend_options.post_type;return this.isEditorPage()&&(t=TVE.apply_filters("tcb.is_notification_editor_page",t)),t}isEditorPage(){return!!tve_frontend_options.is_editor_page}render(){this.$notificationWrapper.hide(),this.$notificationWrapper.removeClass("tcb-permanently-hidden animated");const t=o.queryString.get("content_template");o.queryString.get("preview")&&(this.isNotificationPage()||t&&t.includes("notification"))&&this.toggle()}toggle(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0;this.$notificationWrapper.show(),this.isCustomNotification?this.toggleCustomNotification(t,e,o):this.toggleDefaultNotification(t,e,o)}toggleCustomNotification(t,o,i){const n=this.$notificationWrapper.attr("data-animation"),s=this.$notificationWrapper.attr("data-timer"),r=e(`.notification-${o} .thrv-notification_message`);t&&r.length>0&&r.empty().append(t),o&&this.$notificationWrapper.attr("data-state",o),this.$notificationWrapper.removeAttr("data-animation"),setTimeout((()=>{n&&"none"!==n?this.$notificationWrapper.attr("data-animation",n):this.$notificationWrapper.hide(),"function"==typeof i&&i()}),s)}toggleDefaultNotification(t,o,i){const n=e(".tve-toast-message-container"),s=e(".tve-toast-icon-container");switch(t&&n.empty().append(t),s.removeClass("tve-toast-error"),s.find(".thrv-svg-icon").empty(),o){case"success":s.find(".thrv-svg-icon").append(TCB_Front.icons.get("checkmark"));break;case"warning":case"error":s.find(".thrv-svg-icon").append(TCB_Front.icons.get("cross")),s.addClass("tve-toast-error")}setTimeout((()=>{this.$notificationWrapper.hide(),"function"==typeof i&&i()}),3e3)}}},39069:function(t){"undefined"==typeof URLSearchParams&&(window.URLSearchParams=function(t){const e=this;e.searchString=t,e.get=function(t){const o=new RegExp("[?&]"+t+"=([^&#]*)").exec(e.searchString);return null===o?null:decodeURI(o[1])||0}}),t.exports={get:t=>("string"!=typeof t&&(t=""),new URLSearchParams(window.location.search).get(t)),setUrlParam(t,e,o){const i=new URL(t);return Array.isArray(o)?o.forEach(((t,o)=>i.searchParams.append(`${e}[${o}]`,t))):o?i.searchParams.set(e,o):i.searchParams.delete(e),i.toString()}}},61155:function(t){t.exports=["attachment","attachment_id","author","author_name","calendar","cat","category","category__and","category__in","category__not_in","category_name","comments_per_page","comments_popup","custom","customize_messenger_channel","customized","cpage","day","debug","embed","error","exact","feed","fields","hour","link_category","m","minute","monthnum","more","name","nav_menu","nonce","nopaging","offset","order","orderby","p","page","page_id","paged","pagename","pb","perm","post","post__in","post__not_in","post_format","post_mime_type","post_status","post_tag","post_type","posts","posts_per_archive_page","posts_per_page","preview","robots","s","search","second","sentence","showposts","static","status","subpost","subpost_id","tag","tag__and","tag__in","tag__not_in","tag_id","tag_slug__and","tag_slug__in","taxonomy","tb","term","terms","theme","title","type","types","w","withcomments","withoutcomments","year"]},41678:function(t){var e,o;e=ThriveGlobal.$j,o=TCB_Front,t.exports={init(t){tve_frontend_options.is_editor_page?(t.find("input[data-hide],textarea[data-hide]").each(((t,e)=>{this.handleInput(e,!1)})),TVE.add_action("tve.conditional_display.activate",(t=>this.handleSmartComplete(t)))):(setTimeout((()=>this.handleSmartComplete(t))),o.$document.on("switchstate",((t,e)=>{this.handleSmartComplete(e)})),e(window).on("tcb_after_lightbox_open",((t,o)=>{this.handleSmartComplete(e(o))})),e(window).on("tl_after_lightbox_open",((t,o)=>{this.handleSmartComplete(e(o))})))},handleSmartComplete(t){t.find("[default-value]:not([data-complete-type])").each(((t,e)=>{e.value=e.getAttribute("default-value")})),t.find("[data-complete-type]").each(((t,e)=>{let i=e.dataset.completeValue;switch(e.dataset.completeType){case"user":if(e.dataset.completeValue)if(e.dataset.completeValue.includes("wp"))i=tve_frontend_options.current_user[e.dataset.completeValue.replace("wp.","")];else if("ip"===e.dataset.completeValue)i=tve_frontend_options.ip;else{const t=TCB_Front.detectBrowser();i=Object.keys(t).filter((e=>t[e]&&"webkit"!==e)).toString(),i.includes("version")&&(i=i.replace("version",TCB_Front.browser.version))}break;case"time":i=this.convertDate((e.dataset.completeValue||"")+" HH:mm:ss");break;case"query":i=TCB_Front.queryString.get(e.dataset.completeValue);break;case"post":i=tve_frontend_options.post_request_data[e.dataset.completeValue];break;case"cookie":i=o.getCookie(e.dataset.completeValue);break;case"content":i=tve_frontend_options[e.dataset.completeValue];break;case"source":i=document.referrer;break;case"shortcode":e.parentNode.dataset.completeValue&&(i=e.parentNode.dataset.completeValue),i=i.replace(/\[(.*?)\]/g,"")}!i&&e.getAttribute("data-hide")&&this.handleInput(e,!1),i=i||e.getAttribute("default-value"),i&&(e.value=i)})),t.find('[type="radio"][default-value]').each((function(){this.checked=this.value===this.getAttribute("default-value")})),t.find('[type="checkbox"][default-value]').each((function(){this.checked="checked"===this.getAttribute("default-value")}))},handleInput(t){const e=arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?"remove":"add",o=t.closest("form").querySelector(`[data-label-for="${t.parentElement.getAttribute("data-label")}"]`);t.parentElement.classList[e]("tcb-permanently-hidden"),t.parentElement.previousElementSibling&&"label"===t.parentElement.previousElementSibling.tagName.toLowerCase()&&t.parentElement.previousElementSibling.classList[e]("tcb-permanently-hidden"),o&&o.classList[e]("tcb-permanently-hidden")},convertDate(t){const e=new Date;function o(t,e){let o=t+"";for(e=e||2;o.length12?r-12:0===parseInt(r)?12:r,t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+o(r))).replace(/(^|[^\\])H/g,"$1"+r)).replace(/(^|[^\\])hh+/g,"$1"+o(a));const l=e.getMinutes();t=t.replace(/(^|[^\\])mm+/g,"$1"+o(l));const c=e.getSeconds();return t.replace(/(^|[^\\])ss+/g,"$1"+o(c))}}},6178:function(t){function e(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function o(t){for(var o=1;o1&&void 0!==arguments[1]&&arguments[1];(t=t[o?"filter":"find"]("[data-tve-scroll]")).filter(`:not(.tcb-${i.getDisplayType()}-hidden)`).each((function(){try{const t=JSON.parse(this.dataset.tveScroll);let o=e(this);if(o.hasClass("thrive-symbol-shortcode")&&(o=o.parent()),o.addClass(`tve-scroll-${t.mode}`),"parallax"===t.mode){if(!t.parallax||!Object.keys(t.parallax).length)return;const e=o.offset(),i=o.outerHeight(),n={width:o.outerWidth(),height:i,top:e.top,left:e.left,elementRange:i/2+window.innerHeight};o.data("parallaxSettings",t.parallax),o.data("elem_data",n)}else if(f)return;if(o.data("$parent",o.parent()),t.top=parseInt(t.top||"0"),t.end=t.end||"default",t.stickyPosition=t.stickyPosition||"top","bottom"===t.stickyPosition){let e=o.css("display").trim();"none"===e&&(e="block"),o.data("defaultTop",t.top),o.data("previousTop",t.top),o.data("defaultDisplay",e),t.top=window.innerHeight-t.top-o.outerHeight()}else t.top+=i.body_offset?i.body_offset.top:e("body").offset().top;"desktop"!==i.getDisplayType()&&(t.top=t.top-(e("#wpadminbar").height()||0)),o.data("scroll_config",t).data("append-target",T(o,t.end)),"element"===t.end&&o.data("stop-target",e("#"+(t.el_id&&t.el_id.replace("#","")||"some-not-found-id"))),f||delete this.dataset.tveScroll,u=u.add(o)}catch(t){console.warn(t)}}))}function k(t,e,o){g=o,u.each((function(){if(B(this),!function(){if(!l.disabled||!l.disabled.length)return!0;if(f){let t=!0;return l.disabled.forEach((e=>{("desktop"===e&&!TCB_Front.$body.is(".preview-tablet,.preview-mobile")||i.$body.hasClass(`preview-${e}`))&&(t=!1)})),t}const t=i.$window.width();return t<=767?-1===l.disabled.indexOf("mobile"):t<=1023?-1===l.disabled.indexOf("tablet"):-1===l.disabled.indexOf("desktop")}()||_||!a.hasClass(`tve-sticky-${l.end}-hidden`)&&!a.is(":visible"))return _&&a.removeData("clone-sticky"),y.on_scroll_up_default(t,!0),"parallax"===l.mode&&x(a,_),void a.removeClass(`tve-scroll-${l.mode}`);"parallax"!==l.mode&&(d||(a.data("$$offset",a.offset()),a.data("marginTop",Number(a.css("margin-top").replace("px",""))),a.data("$$position",a.position()),a.data("$$scroll",t),"element"===l.end&&a.data("$$stop-offset",a.data("stop-target").offset()||{top:1e6})),p=a.data("$$offset")),y["on_scroll_"+e+"_"+l.end].call(y,t)}))}function x(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.$body,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t.each(((t,o)=>{i.inlineCssVariable(o,{"--parallaxR":e?"":"0","--parallaxB":e?"":"0","--parallaxS":e?"":"1","--parallaxO":e?"":"1","--parallaxTX":e?"":"0","--parallaxTY":e?"":"0","--parallaxRY":e?"":"0","--parallaxP":e?"":"1000px"})}))}function S(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default";const o=t?"addClass":"removeClass",i=a;t&&i.hasClass(`tve-sticky-${e}-hidden`)?i[0].style.setProperty("display","none","important"):i[o](`tve-sticky-${e}-hidden`)[t?"fadeOut":"fadeIn"]({duration:600,complete:()=>{i[0].style.setProperty("display",t?"none":`${i.data("defaultDisplay")}`,"important"),i[0].style.setProperty("position","fixed","important")}})}function B(t){a=e(t),l=a.data("scroll_config")||{},"parallax"!==l.mode?("bottom"===l.stickyPosition&&(l.top=window.innerHeight-a.data("defaultTop")-a.outerHeight(),a.data("scroll_config",l)),c="tve-sticky-"+l.end,d=t.classList.contains(c),h=a.data("clone-sticky")||e()):h=e()}y.on_scroll_down_default=function(t,o){let n=0,s=!0;const f=(o=o||{}).position||"fixed";"appear"===l.mode&&(o.top=-a.outerHeight(),n=-o.top);let u=t+l.top>p.top+n;if(a.hasClass("thrv_header")){if(i.$body.hasClass("tve-tl-gr-anim"))return void y.on_scroll_up_default(t,!0);u=t+l.top>=p.top+n}if(u&&i.$body.trigger("tcb-sticky-initialized",a),"bottom"===l.stickyPosition&&(u=t+window.innerHeight>p.top+a.height()+Number(a.data("defaultTop")),s=!1,i.isBottomScroll(t)?S(!0,"default"):d&&l.top!==a.data("previousTop")&&(a[0].style.setProperty("top",`${l.top}px`),a.data("previousTop",l.top))),d)return"appear"===l.mode&&r(a,o),void(s&&i.$body.trigger("tcb-sticky-add",[a]));if(u){!function(){if(h=a.data("clone-sticky"),!h){let t=a.outerHeight();a.parent().hasClass("tcb-clear")&&(t=a.parent().outerHeight()),h=e('
').css({boxSizing:"border-box",padding:0,width:a.outerWidth(),height:t,marginTop:a.css("margin-top"),marginBottom:a.css("margin-bottom"),marginLeft:a.css("margin-left"),marginRight:a.css("margin-right"),position:a.css("position"),left:a.css("left"),float:a.css("float")}),a.data("clone-sticky",h),a.trigger("tcb.sticky.ensure_placeholder")}}(),a.addClass(c),delete o.position,a.before(h);const t=h.offset(),n=TCB_Front.$body.hasClass("visible-off-screen-sidebar"),r=a.prevAll("[data-position=top]");let p;p=n&&"over"===b&&"right"!==v?parseInt(m):a[0].classList.contains("tcb-window-width")?0:t.left,e(h).remove(),a.data("$$offset",t),a.data("saved_props",{offset:t,width:a[0].style.width||"",left:a[0].style.left||""});let u=a.width();n&&(a.hasClass("tcb-window-width")||a.hasClass("thrv_header")&&i.$body.hasClass("tcb-full-header"))&&(u=Math.max(h.width(),u)),a.css(e.extend({width:u,height:a.height(),top:`calc(${l.top}px + var(--tcb-header-extra-offset,0px))`,left:`${p}px`},o));let g="0px";if("parent"===l.end){const t=a.css("margin-left");t===a.css("margin-left")&&(g=t)}a[0].style.setProperty("margin-top","0px","important"),a[0].style.setProperty("margin-left",g,"important"),a[0].style.setProperty("min-width","0","important"),a[0].style.setProperty("max-width","none","important"),a[0].style.setProperty("position",f,"important"),a[0].style.setProperty("box-sizing","content-box","important");const _=Number(a.css("z-index"));a[0].style.setProperty("z-index",isNaN(_)?"14":Math.max(_,14),"important"),a.closest(i.identifiers.parentZindexFix).css("z-index",isNaN(_)?"14":Math.max(_,14)),a.before(h),d=!0,a.data("append-target")&&(a.appendTo(a.data("append-target")),a.data("$parent").is("a")&&(a.wrap(a.data("$parent").clone().empty().addClass("tcb-sticky-anchor")),a[0].style.setProperty("text-decoration","inherit","important"))),a.hasClass("thrv_header")&&a[0].style.setProperty("z-index",90,"important"),s&&i.$body.trigger("tcb-sticky-add",[a]),r.length>0&&r.css("z-index","91")}},y.on_scroll_up_default=function(t,e){if(!h||!h.length||!d)return;(e=!!e)||"appear"!==l.mode||r(a,{top:l.top});let o=h.offset().top||0;a.data("saved_props")&&(o=a.data("saved_props").offset.top);let s=t+l.top<=o,p=!0;a.hasClass("thrv_header")&&(s=t+l.top{const e=a.data("elem_data"),o=a.data("parallaxSettings");if(!o||!Object.keys(o).length||!e)return;const n=[],s=function(t,e){const o=e.top-t-window.innerHeight;return 100/e.elementRange*(-1*o)}(t,e);let r;function l(t,e){return t*e/100}Object.keys(o).forEach((t=>{const e=o[t];let c="";if(s>e.start){let o;r=Number(s>e.end?e.end:s);const d=function(t,e){let o,i=e.direction;if(["in-out","out-in"].includes(i)&&(i=i.split("-")[t<=e.middle?"0":"1"],"in-out"===e.direction)){const o=e.middle-e.start;"in"===i?t+=o:t-=o,t===e.middle&&(t="in"===i?-1:101)}var n;return t{i.inlineCssVariable(a,`--parallax${t.key}`,t.value)}))};const F=s((function(){u.each((function(){B(this),y.on_scroll_up_default(0,!0);const t=e(this).data("clone-sticky");t&&t.css({width:a.outerWidth()})})),k(i.$document.scrollTop(),"down",!0)}),50);w.initSticky=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.$body,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];f=e,$(t),u.length&&(x(),f||(i.$body[0].style.overflowX="hidden")),i.add_scroll_callback(k),i.addResizeCallback(F),i.$body.length&&(m=i.inlineCssVariable(i.$body,"--off-screen-sidebar-size")),b=i.$body.attr("data-off-screen-type"),v=i.$body.attr("data-off-screen-side")},w.destroyScrollBehavior=function(){_=!0,TCB_Front.$window.trigger("scroll"),u=e(),_=!1},w.resetElementsPosition=()=>{_=!0,TCB_Front.$window.trigger("scroll"),_=!1,TCB_Front.$window.trigger("scroll")},w.forceAddElement=function(t){u=u.add(t)},t.exports=w}(ThriveGlobal.$j,TCB_Front)},60570:function(t){(e=>{const o={get(t){const e=this.icons[t]||"";return e?'{html}'.replace("{viewbox}",e.viewbox||"0 0 32 32").replace("{icon}",t).replace("{html}",e.html||e):""},render(t,e){let o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];t[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"html"](this.get(e)),o&&t.addClass("thrv-svg-icon")},migrate(t){const o=["cross","forward"],i={tve_s_fb_share:"facebook",tve_s_t_share:"twitter",tve_s_in_share:"linkedin",tve_s_pin_share:"pinterest",tve_s_xing_share:"xing"};t.find('[class^="thrv-icon-"], [class*=" thrv-icon-"], .tve_s_item').not(".thrv-svg-icon").each(((t,n)=>{o.some((t=>!!n.className.includes(t)&&(this.render(e(n),t),!0)))||Object.keys(i).forEach((t=>{n.className.includes(t)&&!n.querySelector(".tcb-icon")&&this.render(e(n).find(".tve_s_icon"),i[t])}))})),this.render(t.find(".rv_button_rounded_rectangle_light .overlay_play_button:empty"),"yt-play")},icons:{spinner9:'',cross:'',checkmark:'',forward:{viewbox:"0 0 18 18",html:''},sort:{viewbox:"0 0 16 28",html:''},"sort-desc":{viewbox:"0 0 16 28",html:''},"sort-asc":{viewbox:"0 0 16 28",html:''},facebook:{viewbox:"0 0 16 28",html:''},twitter:{viewbox:"0 0 26 28",html:''},linkedin:{viewbox:"0 0 28 28",html:''},pinterest:'',xing:{viewbox:"0 0 22 28",html:''},"yt-play":{viewbox:"0 0 28 28",html:''},"arrow-left":{viewbox:"0 0 12 22",html:''},"arrow-right":{viewbox:"0 0 12 22",html:''},"chevron-left-solid":{viewbox:"0 0 320 512",html:''},"chevron-right-solid":{viewbox:"0 0 320 512",html:''},dot:{viewbox:"0 0 24 24",html:''},star:{viewbox:"0 0 576 512",html:''}}};t.exports=o})(ThriveGlobal.$j)},5436:function(t){!function(e,o){function i(t){try{n.each((function(){const i=e(this);if(!i.data("typed"))return;const n=o.$window.height();t+n>=i.offset().top&&i.offset().top>t||"start"===i.attr("data-typefocus")?i.typed("start"):(i.attr("data-typefocus"),i.typed("pause"))}))}catch(t){console.log(t)}}let n=e();t.exports=function(t){n=n.add(t.find(".tve_typefocus")),setTimeout((function(){try{n.each((function(){let t=[];const o=e(this);if(0===o.attr("data-typist").length)return;const i=parseInt(o.attr("data-speed")),n=o.attr("data-colors");t.push(o.text()),t=t.concat(o.attr("data-typist").split("|")),o.typed({strings:t,loop:!0,typeSpeed:125,backSpeed:50,highlightClass:1===parseInt(o.attr("data-highlight"))?"tve_selected_typist":"",highlightStyle:1===parseInt(o.attr("data-highlight"))&&n?"background-color:"+n:"",backDelay:i,contentType:"text",startDelay:800,showCursor:o.hasClass("tve_typefocus_cursor")})}))}catch(t){console.log(t)}}),1e3),o.add_scroll_callback(i)}}(ThriveGlobal.$j,TCB_Front)},51375:function(t,e,o){(e=>{class i{static isEditorPage(){return tve_frontend_options.is_editor_page}static isExternal(t){return i.getDomain(location.href)!==i.getDomain(t)}static getDomain(t){return t.replace("http://","").replace("https://","").split("/")[0]}static restAjax(t){let{type:o="POST",route:i="",data:n}=t;return e.ajax({headers:{"X-WP-Nonce":tve_frontend_options.nonce},url:i,type:o,data:n})}static handleContent(t){let o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e(window).trigger(o?"tcb_on_content_show":"tcb_on_content_hide"),e(window).trigger("tve_after_content_toggle",[t,o])}static jsonParse(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(null==o){let o;try{o=JSON.parse(t.attr(e)||JSON.stringify(i))}catch(e){console.warn("Could not get json data for element:",t),o=i}return o}return t.attr(e,JSON.stringify(o))}static toast(t,e,o){"string"!=typeof t&&(t=t.message||t.error||t.success),e||(e=!1),TCB_Front.notificationElement.toggle(t,e?"error":"success",o)}static windowWidth(){let t,e;try{e=window.parent&&window.parent.TVE&&window.parent.TVE.main,t=e&&window.parent.TVE.main.$frame.width()||TCB_Front.$window[0].innerWidth}catch(o){t=TCB_Front.$window[0].innerWidth,e=!1}let o=window.screen.width;return window.matchMedia("(orientation:landscape)").matches&&window.screen.height>o&&(o=window.screen.height),e||t>o+20&&t>window.outerWidth+20&&(t=o),t}static getBrowserScrollSize(){const t={border:"none",height:"200px",margin:"0",padding:"0",width:"200px"},o=e("
").css(e.extend({},t)),i=e("
").css(e.extend({left:"-1000px",overflow:"scroll",position:"absolute",top:"-1000px"},t)).append(o).appendTo("body").scrollLeft(1e3).scrollTop(1e3),n={height:i.offset().top-o.offset().top||0,width:i.offset().left-o.offset().left||0};return i.remove(),n}static hasAdminBar(){return e("#wpadminbar").length>0}static appendFormParamsToURL(t,o){return!Array.isArray(o)&&o.jquery&&(o=i.buildFormParams(o)),t+(t.split("?")[1]?"&":"?")+e.param(o)}static buildFormParams(t){let e=[];return t.find(".tve_lg_input_container input:not([name=user_consent]), .tve_lg_input_container textarea").not("input[type=hidden]").not("input[type=password]").each(((t,o)=>{const i=ThriveGlobal.$j(o).serializeArray();if(i[0]){o.dataset.name&&(i[0].name=o.dataset.name.replace(/\s/g,"_")),TCB_Front.reservedTerms.includes(i[0].name.toLowerCase())&&(i[0].name="tve_"+i[0].name);const t=e.findIndex((t=>t.name===i[0].name));t>=0?e[t].value=e[t].value+", "+i[0].value:e=e.concat(i)}})),e}static appendRandomParamToURL(t){return t+(t.split("?")[1]?"&":"?")+"_="+Math.floor(1e3*Math.random())}static isEmail(t){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())}static addHttp(t){return!(t=t.trim())||0===t.indexOf("#")||/^mailto/.test(t)||/^tel/.test(t)||/^(?:f|ht)tps?\:\/\//.test(t)||(t="https://"+t),t}static unserialize(t){const e="undefined"!=typeof window?window:o.g,i=function(t){let e=t.length;for(let o=t.length-1;o>=0;o--){const i=t.charCodeAt(o);i>127&&i<=2047?e++:i>2047&&i<=65535&&(e+=2),i>=56320&&i<=57343&&o--}return e-1},n=function(t,o,i,n){throw new e[t](o,i,n)},s=function(t,e,o){const i=[];let s=2,r=t.slice(e,e+1);for(;r!==o;)s+e>t.length&&n("Error","Invalid"),i.push(r),r=t.slice(e+(s-1),e+s),s+=1;return[i.length,i.join("")]};return function t(e,o){let r,a,l,c,d,h,p,f,u,g,_,m,b,v,y,w,T,C=0,$=function(t){return t};const k=e.slice(o,o+1).toLowerCase();switch(o||(o=0),r=o+2,k){case"i":$=function(t){return parseInt(t,10)},f=s(e,r,";"),C=f[0],p=f[1],r+=C+1;break;case"b":$=function(t){return 0!==parseInt(t,10)},f=s(e,r,";"),C=f[0],p=f[1],r+=C+1;break;case"d":$=function(t){return parseFloat(t)},f=s(e,r,";"),C=f[0],p=f[1],r+=C+1;break;case"n":p=null;break;case"s":u=s(e,r,":"),C=u[0],g=u[1],r+=C+2,f=function(t,e,o){const n=[];let s,r;for(s=0;s{const o=e.split("=");return t[o[0]]=o[1],t}),{})}static parseJwt(t){const[,e=""]=t.split("."),o=e.replace(/-/g,"+").replace(/_/g,"/");let i;try{i=JSON.parse(decodeURIComponent(window.atob(o).split("").map((t=>"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2))).join("")))}catch(t){i={}}return i}static insertHeadScripts(t,e,o){const i=document.getElementsByTagName("head")[0],n=document.createElement("script");n.async=!0,"function"==typeof o&&(n.onload=n.onreadystatechange=o),void 0!==e&&(n.id=e),n.src=t,i.insertBefore(n,i.firstChild)}static insertStylesheet(t,e){const o=document.getElementsByTagName("head")[0],i=document.createElement("link");i.rel="stylesheet",i.id=e,i.type="text/css",i.href=t,o.insertBefore(i,o.firstChild)}static hasResource(t,e){return null!==document.getElementById(t)||null!==document.querySelector(`[src="${e}"],[href="${e}"]`)}static getAttr(t){const o={};return e.each(t[0].attributes,(function(t,e){o[e.name]=e.value})),o}}t.exports=i,window.TCB_Front.toast=i.toast,window.tve_is_email=i.isEmail})(ThriveGlobal.$j)}},e={};function o(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,o),s.exports}o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),function(){if(!window.ThriveGlobal||!window.ThriveGlobal.$j){const t=window.$;window.ThriveGlobal={$j:jQuery.noConflict()},t&&(window.$=t)}window.TCB_Front=window.TCB_Front||{},TCB_Front.Hooks=o(38747)(ThriveGlobal.$j),window.addEventListener("load",(function(){tve_frontend_options.is_editor_page||(TCB_Front.sticky.initSticky(TCB_Front.$body,!!tve_frontend_options.is_editor_page),TCB_Front.add_scroll_callback(TCB_Front.showDataElements,TCB_Front))})),void 0===TCB_Front.js_modules&&(TCB_Front.js_modules={}),ThriveGlobal.$j.extend(window.TCB_Front,{browser:null,detectBrowser(){const t={},e=function(){let t,e,o=-1;return"Microsoft Internet Explorer"===navigator.appName?(t=navigator.userAgent,e=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),null!==e.exec(t)&&(o=parseFloat(RegExp.$1))):"Netscape"===navigator.appName&&(t=navigator.userAgent,e=new RegExp("Trident/.*rv:([0-9]{1,}[\\.0-9]{0,})"),null!==e.exec(t)&&(o=parseFloat(RegExp.$1))),o}();if(e>0)t.msie=!0;else{const e=navigator.userAgent.toLowerCase(),o=/(edge)[ \/]([\w.]+)/.exec(e)||/(edg)[ \/]([\w.]+)/.exec(e)||/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],i={browser:o[1]||"",version:o[2]||"0"};"edg"===i.browser&&(i.browser="edge"),o[1]&&(t[i.browser]=!0),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0)}return t.msie&&(t.version=e),t.ios=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,t.version||(t.version=this.getBrowserVersion(t)),t},getBrowserVersion(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=navigator.userAgent;let o="";return o=t.chrome?/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i:t.mozilla?/(?:firefox|fxios)\/(\d+(\.?_?\d+)+)/i:/version\/(\d+(\.?_?\d+)+)/i,(t=>{const o=e.match(t);return o&&o.length>0&&o[1]||""})(o)},getCookie(t){const e=`${t}=`,o=document.cookie.split(";");for(let t=0;t1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(t instanceof ThriveGlobal.$j||t.jquery)&&(t=t[0]);const i=t.getBoundingClientRect();let n=!(i.bottom<0||i.top>window.innerHeight-e);return o&&n&&(n=t.offsetLeft>0&&t.offsetLeft+i.widthwindow.innerHeight>0&&t+window.innerHeight===ThriveGlobal.$j(document).height(),inlineCssVariable(t,e,o){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";t=t.jquery?t[0]:t;const n=window.getComputedStyle(t,i);if(Array.isArray(e)){const t={};return e.forEach((e=>t[e]=n.getPropertyValue(e))),t}if("string"==typeof e)return void 0!==o?void t.style.setProperty(e,o,i):n.getPropertyValue(e);ThriveGlobal.$j.isPlainObject(e)&&Object.keys(e).forEach((o=>t.style.setProperty(o,e[o],i)))},bodyOffsetTop(){const t=TCB_Front.$body.find("#mm-preview-settings-bar");let e=TCB_Front.$body.length?TCB_Front.$body.offset().top:0;return t.length&&(e+=t.height()),e||0},handleIframes(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:TCB_Front.$body,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=e?"src":"data-src",i=e?"data-src":"src",n=e?"remove":"add",s=["iframe"+(e&&!tve_frontend_options.allow_video_src?":visible":""),`.tcb-lazy-load[data-type="external"]${e?":visible":""} source`];t.find(s.join(", ")).not(".thrv_social_default iframe").each((function(){if(!e&&this.classList.contains("tcb-dr-done"))return;if(TCB_Front.Hooks.applyFilters("tcb.is_iframe_load_prevented",!1,this,e))return;const t=this.getAttribute(i);t&&"null"!==t&&(this.setAttribute(o,t),e&&"SOURCE"===this.tagName&&ThriveGlobal.$j(this).closest("video")[0].load()),this.removeAttribute(i),this.classList[n]("tcb-dr-done")}))},getMediaAttr(t,e){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.getDisplayType();const i=[o];let n=t.attr(e+o.charAt(0));switch(o){case"tablet":i.push("desktop");break;case"mobile":i.push("tablet"),i.push("desktop")}for(;(void 0===n||!n.length)&&i.length;)n=t.attr(`${e}-${i.shift().charAt(0)}`);return void 0===n&&(n=t.attr(e)),n},getDisplayType(){let t="desktop";if(tve_frontend_options.is_editor_page)TVE&&TVE.main&&TVE.main.device?t=TVE.main.device:TCB_Front.$body.is(".preview-tablet")?t="tablet":TCB_Front.$body.is(".preview-mobile")&&(t="mobile");else{const e=this.Utils.windowWidth();e<=767?t="mobile":e<=1023&&(t="tablet")}return t},isValidUrl:t=>/(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(t),pageSectionHeight(){const t=TCB_Front.$window;ThriveGlobal.$j(".pdfbg.pdwbg").css({"box-sizing":"border-box",height:t.height()+"px"}),ThriveGlobal.$j(".pddbg").css("max-width",t.width()+"px"),ThriveGlobal.$j(".pddbg.pdfbg").each((function(){const t=ThriveGlobal.$j(this).css("height",""),e=t.attr("data-height"),o=t.attr("data-width");if(void 0!==e&&void 0!==o){const i=t.parent().width(),n=i*e/o;i<=o?t.css("min-height",n+"px"):t.css({"min-height":e+"px"})}}))},openLightbox:o(26087),event_triggers(t){!tve_frontend_options.is_editor_page&&window.TVE_Event_Manager_Registered_Callbacks&&t.find(".tve_evt_manager_listen").each((function(){const t=ThriveGlobal.$j(this);let e=t.attr("data-tcb-events");if(e||(e=t.closest(".thrv_wrapper").attr("data-tcb-events")),e)try{e=JSON.parse(e.replace("__TCB_EVENT_","").replace("_TNEVE_BCT__","")),ThriveGlobal.$j.each(e,(function(e,o){if(TVE_Event_Manager_Registered_Callbacks[o.a]){const e="mouseover"===o.t?"mouseenter":o.t;t.off(e+".tcbevt"+o.t).on(e+".tcbevt"+o.t,(function(){return TVE_Event_Manager_Registered_Callbacks[o.a].call(t[0],o.t,o.a,o.config||o.c||{})}))}}))}catch(t){console.warn(t,"Could not parse events!")}}))},showDataElements(t){ThriveGlobal.$j(".thrv_data_element").not(".thrv_data_element_start").each((function(){const e=ThriveGlobal.$j(this),o=TCB_Front.$window.height();t+o>=e.offset().top+e.outerHeight()&&"hidden"!==e.css("visibility")&&e.addClass("thrv_data_element_start").trigger("tve.start-animation")}))},onDOMReady(t){if(this.$body=ThriveGlobal.$j("body"),this.isRTL="rtl"===ThriveGlobal.$j("html").attr("dir"),this.body_offset=this.$body.offset(),void 0===t&&(t=this.$body),this.notificationElement=new this.notification,TCB_Front.$window.on("tve_after_content_toggle",(function(t,e){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];TCB_Front.handleIframes(e,o)})),TCB_Front.$window.trigger("tve_after_content_toggle",[t]),this.icons.migrate(t),this.$body.addClass(`tve-${this.getDisplayType()}-browser`),Object.keys(TCB_Front.browser).length&&Object.keys(TCB_Front.browser).forEach((t=>{-1===t.indexOf("webkit")&&TCB_Front.browser[t]&&this.$body.addClass(`tve-${t}-browser`)})),this.smartComplete.init(t),tve_frontend_options.is_editor_page&&ThriveGlobal.$j("head").append('
'),tve_frontend_options.is_editor_page||(this.add_scroll_callback(this.showDataElements,this),this.header(t),this.sticky.initSticky(t,!!tve_frontend_options.is_editor_page)),this.fix_compat_issues(t),this.replaceDynamicContent(),tve_frontend_options.is_editor_page||("undefined"!=typeof ResizeObserver?new ResizeObserver((()=>{this.$body.trigger("tcb.body.resize"),TCB_Front.resizePageSection()})).observe(document.body):TCB_Front.addResizeCallback(TCB_Front.resizePageSection)),tve_frontend_options.is_editor_page)try{ThriveGlobal.$j("html").getNiceScroll().remove()}catch(t){}else{if(void 0===window.tcb_autofill){window.tcb_autofill=TCB_Front.getCookie("account_create_fields");try{window.tcb_autofill&&(window.tcb_autofill=decodeURIComponent(window.tcb_autofill),window.tcb_autofill=JSON.parse(window.tcb_autofill))}catch(t){window.tcb_autofill=null}window.tcb_autofill||(window.tcb_autofill=null)}window.tcb_autofill&&ThriveGlobal.$j.isArray(window.tcb_autofill)&&(ThriveGlobal.$j.each(window.tcb_autofill,(function(e,o){-1===o.name.indexOf("[]")&&t.find("input[name="+o.name+"]").each((function(){const t=ThriveGlobal.$j(this);t.data("tcb-autofill")||(t.val(o.value).hide(),t.parent().append('

'+o.value+'

'),t.data("tcb-autofill",1))}))})),setTimeout((function(){TCB_Front.setCookie("account_create_fields",null,{path:"/"})}),2500)),ThriveGlobal.$j("input[type=password], input[name=confirm_password]").on("keyup",(function(){const t=ThriveGlobal.$j(this),o=this.value.trim(),i=t.siblings(".tve-password-strength-wrapper");let n,s="#e3ecef",r="";if(i.find(".tve-password-strength").css({"background-color":"#e3ecef"}),!o)return void i.find(".tve-password-strength").css("background-color","");const a=e(o);a<30?(s="#ef5350",r="Weak",n=i.find(".tve-password-strength:lt(1)")):a>=30&&a<60?(s="#ffa726",r="So-so",n=i.find(".tve-password-strength:lt(2)")):a>=60&&a<80?(s="#8bc34a",r="Good",n=i.find(".tve-password-strength:lt(3)")):(s="#4caf50",r="Great!",n=i.find(".tve-password-strength:lt(4)")),n.each((function(){ThriveGlobal.$j(this).css({"background-color":s})})),i.attr("data-score",a).find(".tve-password-strength-text").text(r).css({color:s})}));const e=function(t){let e=0;if(!t||t.length<5||/(passwd|mypass|password|wordpress)/g.test(t))return e;e=5*String.prototype.concat(...new Set(t)).length,/[a-z]/.test(t)&&(e+=10),/[A-Z]/.test(t)&&(e+=10);const o=t.match(/\d/g);o&&(e+=2*o.length);const i=t.match(/\W/g);return i&&(e+=10*i.length),parseInt(e)};TCB_Front.$document.on("click",".tve-edit-field",(function(){ThriveGlobal.$j(this).parent().hide().prev().show()})),TCB_Front.$document.on("click",".tve-close-error-message",(function(){ThriveGlobal.$j(this).parent().hide().prev().show()})),TCB_Front.$document.on("click",".tve-image-overlay",(function(){const t=ThriveGlobal.$j(this).parent();t.is("a")||t.find("img").trigger("click")})),TCB_Front.$document.on("mouseenter mouseout",".tve-image-overlay",(function(t){ThriveGlobal.$j(this).parent().find("img").trigger(t.type)})),TCB_Front.queryString.get("tcb_lightbox")||TCB_Front.$window.trigger("tve_after_content_toggle",[ThriveGlobal.$j(".tve_p_lb_content"),!1]),this.init_typefocus(t)}if(TCB_Front.remove_empty_symbols(t),TCB_Front.footer_styling(t),!tve_frontend_options.is_editor_page){const t=ThriveGlobal.$j(".tve-fb-comments");t.length&&(ThriveGlobal.$j("#fb-root").length&&ThriveGlobal.$j("head").append('
'),t.each((function(){const t=this.parentNode;""===this.getAttribute("data-href")&&(this.setAttribute("data-href",window.location.href.split("?")[0]),this.setAttribute("data-width","100%")),this.classList.add("fb-comments"),setTimeout((()=>{FB.XFBML.parse(t)}),200)})));const e=ThriveGlobal.$j(".thrv_disqus_comments #disqus_thread");e.length&&(window.disqus_shortname=e.attr("data-disqus_shortname"),""===e.attr("data-disqus_url")?window.disqus_url=window.location:window.disqus_url=e.attr("data-disqus_url"),window.disqus_identifier=window.disqus_url,"undefined"==typeof DISQUS&&ThriveGlobal.$j.getScript("//"+disqus_shortname+".disqus.com/embed.js"))}window.mejs&&ThriveGlobal.$j(".tcb-video-shortcode").not(".mejs-container").filter((function(){return!ThriveGlobal.$j(this).parent().hasClass(".mejs-mediaelement")})).mediaelementplayer(),this.resizePageSection(),setTimeout((()=>{try{window.dispatchEvent(new CustomEvent("resize",{detail:{fromTcb:!0}}))}catch(t){}})),this.init_scroll(),this.initResize(),this.enableHighlightViewportAnimations(t),TCB_Front.add_scroll_callback((e=>{e>0&&this.enableHighlightViewportAnimations(t)})),this.handleAds(),setTimeout(this.handleAds,5e3),ThriveGlobal.$j(window).trigger("tcb_after_dom_ready")},handleAds(){TCB_Front.$body.find('ins[data-adsbygoogle-status="done"]').each(((t,e)=>{ThriveGlobal.$j(e).parentsUntil("body").each(((t,e)=>{e.style.setProperty("height",""),e.style.setProperty("min-height","")}))}))},enableHighlightViewportAnimations(t){t.find('[data-tcb-highlight-animation^="viewport"]').each(((t,e)=>{const o=ThriveGlobal.$j(e),i=o.data("tcb-highlight-animation"),n=e.classList.contains("tcb-animated");TCB_Front.isInViewport(e)?(n||tve_frontend_options.is_editor_page||this.refreshCachedSvg(o),o.addClass("tcb-animated")):n&&"viewport_repeat"===i&&e.classList.remove("tcb-animated")}))},refreshCachedSvg(t){let e=t.css("--tve-highlight-background");void 0!==e&&e.length&&(e=decodeURIComponent(e.replace('url("data:image/svg+xml,',"").replace('")',"")),e=e.replace("",``),t.css("--tve-highlight-background",`url("data:image/svg+xml,${encodeURIComponent(e)}")`))},replaceDynamicContent(){const t=TCB_Front.detectBrowser();ThriveGlobal.$j(".tve-browser-data").text(Object.keys(t).filter((e=>t[e]&&"webkit"!==e)).toString())},resizePageSection(t){void 0===t&&(t=ThriveGlobal.$j(".tcb-window-width"));const e=!!TCB_Front.$body.length&&TCB_Front.inlineCssVariable(TCB_Front.$body,"--off-screen-sidebar-size");let o=tve_frontend_options.is_editor_page?TCB_Front.$body.outerWidth():TCB_Front.$window.width(),i=0;e&&("left"===TCB_Front.$body.attr("data-off-screen-side")?(i=parseInt(TCB_Front.$body.css("padding-left")),o-=i):o-=parseInt(TCB_Front.$body.css("padding-right"))),o+="px",t.each(((t,e)=>{const n=ThriveGlobal.$j(e);let s=n.css("left");s="auto"===s?0:Number(n.css("left").replace("px","")),s=s+i-n.offset().left,n.css({width:o,left:s+"px"})}))},remove_empty_symbols(t){t.find("div.thrv_symbol").each((function(){const t=jQuery(this);if(t.closest(".tve-symbol-container").length)return;const e=t.clone();e.find(".thrive-shortcode-config").remove(),""===e.html()&&t.remove()}))},footer_styling:o(54342),init_scroll:o(47272),initResize:o(3418),sticky:o(6178),fix_compat_issues:o(84626),reservedTerms:o(61155),init_typefocus:o(5436),header:o(51919),queryString:o(39069),smartComplete:o(41678),icons:o(60570),notification:o(88256)}),"undefined"!=typeof ThriveGlobal&&(TCB_Front.$window=ThriveGlobal.$j(window),TCB_Front.$document=ThriveGlobal.$j(document),TCB_Front.$body=ThriveGlobal.$j("body"),TCB_Front.browser=TCB_Front.detectBrowser(),TCB_Front.$document.ready((function(){setTimeout((function t(){if(void 0!==Object.values(TCB_Front.js_modules).find((t=>!t.loaded)))return console.log("Thrive Architect - not all JS modules are loaded, re-trying in 20ms..."),void setTimeout(t,20);let e=ThriveGlobal.$j(tve_frontend_options.is_editor_page?"#tve_editor":"body");"undefined"!=typeof TVE&&"function"==typeof TVE.apply_filters&&(e=TVE.apply_filters("editor_wrapper",e)),TCB_Front.$window.trigger("tve_after_content_toggle",[e]),tve_frontend_options.is_editor_page||"undefined"!=typeof TVE_Event_Manager_Registered_Callbacks&&(TCB_Front.event_triggers(e),tve_frontend_options.page_events&&ThriveGlobal.$j.each(tve_frontend_options.page_events,(function(t,e){TVE_Event_Manager_Registered_Callbacks[e.a]&&TCB_Front.$document.on("tve-page-event-"+e.t,(function(t,o){let i=!0;return"timer"===e.t&&o&&e.config&&e.config.t_delay!==o&&(i=!1),!!i&&TVE_Event_Manager_Registered_Callbacks[e.a].call(document,e.t,e.a,e.config?e.config:{})}))}))),"undefined"==typeof ThriveApp&&(TCB_Front.pageSectionHeight(),TCB_Front.addResizeCallback(TCB_Front.pageSectionHeight)),TCB_Front.onDOMReady()}))}))),TCB_Front.isModuleLoaded=t=>TCB_Front.js_modules[t]&&TCB_Front.js_modules[t].loaded,TCB_Front.setModuleLoadedStatus=(t,e)=>{void 0===TCB_Front.js_modules[t]&&(TCB_Front.js_modules[t]={}),TCB_Front.js_modules[t].loaded=e},TCB_Front.Utils=o(51375),TCB_Front.Base64=o(1932),o(2157),o(51688),o(24020)}()}();; !function(){var t={5560:function(t){var e;e=ThriveTheme.$,t.exports={isOnScreen:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","right","bottom","left"];t="string"==typeof t?[t]:t;const i=e(window),s={top:i.scrollTop(),left:i.scrollLeft()},o=this.offset();let n=!0;return s.right=s.left+i.width(),s.bottom=s.top+i.height(),o.right=o.left+this.outerWidth(),o.bottom=o.top+this.outerHeight(),t.forEach((t=>{switch(t){case"top":n=n&&o.tops.top;break;case"bottom":n=n&&o.bottoms.top;break;case"right":n=n&&o.rights.left;break;case"left":n=n&&o.left>s.left&&o.lefto.right||s.bottomo.bottom)}})),n}}},551:function(t,e,i){(e=>{const s=i(8999),o=".error-message";class n{constructor(t){this.$form=t,this.addErrorFields(),this.$form.submit((function(t){n.submitAction(t,e(this))}))}addErrorFields(){this.$form.find(":input:visible:not(input[type=radio]),textarea:visible").after('')}static submitAction(t,i){const n=JSON.parse(i.closest("#comments").find(".thrive-theme-comments-error-msg").html()),r=i.find(".comment-form-text textarea, .comment-form-item :input");let l=!0;if(i.find(o).hide(),r.each((function(t,i){const r=e(this).next(o);i.required&&!i.value&&(r.text(n.required).show(),l=!1),s.validateField(i.name,i.value,i.required)||(r.text(n[i.name]).show(),l=!1),r.text().length>0&&i.setAttribute("class",((i.getAttribute("class")||"")+" comment-it-error").trim())})),!l)return t.preventDefault(),t.stopPropagation(),!1;r.each(((t,e)=>{e.value=s.escapeHtml(e.value)}))}}t.exports=n})(ThriveTheme.$)},3667:function(t){(e=>{class i{constructor(t){this.$element=t}initAttributes(){return this.$element.find(".tve_audio_container").each(((t,i)=>{e.each(i.attributes,((t,e)=>{!["class","data-css","style"].includes(e.name)&&e.value.length&&this.$element.attr(e.name,e.value)}))})),this}makeAutoplayAudio(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:ThriveTheme.localize.is_editor)||(this.$element.find("audio").each((function(){if(this.hasAttribute("data-autoplay")){const t=this.play();null!==t&&t.catch((()=>{this.play()}))}})),this.$element.find('iframe[data-provider="soundcloud"][data-autoplay="1"]').each((function(){const t=this.getAttribute("src").replace("&auto_play=0","")+"&auto_play=1";this.setAttribute("src",t)}))),this}getData(t){return this.$element.attr(`data-${t}`)}static instance(t){return new i(t)}}t.exports=i})(ThriveTheme.$)},3626:function(t){(e=>{class i{constructor(t){this.$element=t}initAttributes(){return this.$element.find(".tve_responsive_video_container").each(((t,i)=>{e.each(i.attributes,((t,e)=>{!["class","data-css","style"].includes(e.name)&&e.value.length&&this.$element.attr(e.name,e.value)}))})),this}makeAutoplayVideo(){if(arguments.length>0&&void 0!==arguments[0]?arguments[0]:ThriveTheme.localize.is_editor)return;const t=this.$element.find("iframe, video"),e=this.getData("provider")||this.getData("type");let i,s;if("1"===this.getData("autoplay")){switch(e){case"youtube":i="&autoplay=1&mute=1";break;case"vimeo":i="&autoplay=1&muted=1";break;case"wistia":i="&autoPlay=true&muted=true";break;case"bunnynet":i="&autoplay=true"}if("youtube"===e||"vimeo"===e||"wistia"===e)s=this.getData("src"),s&&0!==s.length&&-1===s.indexOf(i)&&("?"===s.charAt(s.length-1)&&(i=i.substr(1)),t.attr("src",s+i));else if("custom"===e||"self"===e){const e=t.get(0);e.muted=!0,e.paused&&e.play()}return this}}getData(t){return this.$element.attr(`data-${t}`)}static instance(t){return new i(t)}}t.exports=i})(ThriveTheme.$)},7436:function(t){(e=>{class i extends TCB_Front.Pagination{constructor(t,e){super(t,e)}addLoadListeners(){e(window).scroll((()=>{this.list.$element.isOnScreen("bottom")&&this.load()}))}load(){if(!this.isLoading()){this.enableLoading("load-bot");const t=this.list.listArgs;if(t.query.paged+=1,"rand"===t.query.orderby){const e=[];this.list.$element.find("article").each(((t,i)=>{e.push(parseInt(i.getAttribute("data-id")))})),t.query.post__not_in=e,t.query.paged=1}this.list.getItems((t=>{this.list.insertItems(t),this.disableLoading()}),t)}}render(){}}t.exports=i})(ThriveTheme.$)},5236:function(t){t.exports=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;const s=t(window),o=t(document),n=t("body"),r=t("#thrive-header");class l{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t();this.$countdown=t('span[data-shortcode="thrive_remaining_time"]'),this.$wordCount=t('span[data-shortcode="thrive_word_count"]'),(e.length||this.$countdown.length||this.$wordCount.length)&&(this.$element=e,this.$postContent=t(".tcb-post-content:not(.tcb-post-list .tcb-post-content)"),this.prevScroll=0,this.$postContent.length&&(this.postContentOffsetTop=this.$postContent.offset().top,"undefined"!=typeof ResizeObserver&&new ResizeObserver(this.initialState.bind(this)).observe(this.$postContent[0]),this.init()))}init(){this.initialState(),i.tve_frontend_options.is_editor_page||(this.setPosition(),s.off("scroll.progress").on("scroll.progress",(()=>{this.scrollTop=o.scrollTop(),this.onScroll()})).trigger("scroll.progress"),s.off("ultimatum.form.display").on("ultimatum.form.display",(()=>setTimeout(this.setPosition.bind(this)))))}initialState(){const t=this.$postContent[0].getBoundingClientRect();this.contentTop=t.top-s.height()+o.scrollTop(),this.totalDistance=t.bottom-t.top,this.totalMinutes=ThriveTheme.utils.readingMinutes(this.$postContent),this.wordCount=ThriveTheme.utils.countWords(this.$postContent),this.setCountdown(0),this.setWordCount()}onScroll(){if(this.isPostContentIntoView()){const t=100*(this.scrollTop-this.contentTop)/this.totalDistance;this.setProgress(t),this.setCountdown(t),this.setWordCount(),this.setPosition(),this.scrollDir=this.scrollTop>=this.prevScroll?"Down":"Up",this.prevScroll=this.scrollTop}0===this.scrollTop&&this.setProgress(0),this.toggleBar()}toggleBar(t){if(void 0===t)if("under"===this.$element.attr("data-position")){const e=r.hasClass("tve-scroll-sticky")||r.hasClass("tve-scroll-appear")&&"Up"===this.scrollDir;t=0!==this.scrollTop&&e&&parseInt(r.css("top"))>=n.offset().top}else t=0!==this.scrollTop;this.$element.toggleClass("show",t)}setProgress(t){this.$element.attr("value",t)}setCountdown(t){if(this.$countdown.length){const e=0===t?this.totalMinutes:this.totalMinutes-Math.floor(this.totalMinutes*(t/100)),i=r.find('.thrive-symbol-shortcode-scroll span[data-shortcode="thrive_remaining_time"]');i.length&&(this.$countdown=this.$countdown.add(i)),this.$countdown.html(e<=0?"<1":e)}}setWordCount(){if(this.$wordCount.length){const t=this.wordCount,e=r.find('.thrive-symbol-shortcode-scroll span[data-shortcode="thrive_word_count"]');e.length&&(this.$wordCount=this.$wordCount.add(e)),this.$wordCount.html(t)}}setPosition(){const t=TCB_Front.bodyOffsetTop();let e=0;if("under"===this.$element.attr("data-position")&&r.length){const t=r.find(".thrive-symbol-shortcode-scroll");e=t.length?t[0].getBoundingClientRect().bottom:r[0].getBoundingClientRect().bottom}this.$element.css("top",e||t)}isPostContentIntoView(){return this.postContentOffsetTop<=this.scrollTop+s.height()}}return new l(e)}},9367:function(t,e,i){t.exports=function(t,e,s){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:document.body;const r=i(5420)(t),l=i(7632)(t,o,n);let h=o.outerWidth;class a{static getDefaultValues(){let t;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:""){case"sticky":t=r.defaultSettings;break;case"off-screen":t=l.defaultSettings;break;case"display-type":t={desktop:"normal"};break;default:t={}}return t}static get inEditor(){return!!o.tve_frontend_options.is_editor_page}constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t();this.$element=e,this.$content=e.find(".section-content"),e&&e.length&&(this.init(),a.inEditor?(this.sidebarTypeInit().fixContentHeight(),"undefined"!=typeof ResizeObserver&&new ResizeObserver((()=>{this.fixContentHeight()})).observe(this.$content[0])):(t(o).on("resize",(t=>{t.detail&&t.detail.fromTcb||h===o.outerWidth||(h=o.outerWidth,this.sidebarTypeInit().fixContentHeight())})),t((()=>this.sidebarTypeInit().fixContentHeight()))))}init(){this.$element.data("sticky",new r(this)),this.$element.data("off-screen",new l(this))}sidebarTypeInit(){if(!this.isHidden()){["sticky","off-screen"].forEach((t=>this._get(t)&&this._get(t).destroy()));const t=this.getDisplayType();("sticky"===t&&!a.inEditor||"off-screen"===t)&&this._get(t).init()}return this}_get(t){return this.$element.data(t)}getJsonData(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,s=this.$element.attr(`data-${t}`);try{s=JSON.parse(s)}catch(e){s=a.getDefaultValues(t)}return e&&(s=s[e]),i&&(s=this.getConfigByDevice(s,i)),s}getConfigByDevice(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.getDisplayType();const i=this.getDisplayType(e),o=[e];for("mobile"===e&&i===this.getDisplayType("tablet")&&o.push("tablet"),o.push("desktop");void 0===t[o[0]]&&o.length;)o.shift();return o[0]?t[o[0]]:null}setJsonData(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1?arguments[1]:void 0,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;"object"==typeof i?t=i:(t=this.getJsonData(e),o?t[i][o]=s:t[i]=s);try{this.$element.attr(`data-${e}`,JSON.stringify(t))}catch(t){this.$element.attr(`data-${e}`,JSON.stringify(this.getJsonData(e)))}return this}isSticky(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.getDisplayType();return"sticky"===this.getDisplayType(t)}isOffScreen(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.getDisplayType();return"off-screen"===this.getDisplayType(t)}isHidden(){return this.$element.hasClass("hide-section")}getDisplayType(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.getDisplayType();const e=this.getJsonData("display-type");let i;return"mobile"!==t&&this.getJsonData("sticky","sticky")?this.getJsonData("sticky","visibleOn").includes(t)&&(i="sticky"):i=e[t],i||(i="mobile"===t&&e.tablet?e.tablet:e.desktop),"sticky"===i&&"mobile"===t&&(i="sticky"===e.tablet?"sticky"===e.desktop?"normal":e.desktop:e.tablet),i}offScreenRefresh(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.isOffScreen()){const e=this._get("off-screen"),i=e.isVisible();t&&e.destroy();const s=this.getJsonData("off-screen");e.setConfig(s).init(),(i||a.inEditor&&s.visibleInEditor)&&e.toggle(!0)}}updateConfig(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getDisplayType();const e=this._get(t);return e&&"function"==typeof e.setConfig&&e.setConfig(this.getJsonData(t)),this}fixContentHeight(){if("normal"!==this.$content.css("justify-content")){this.$content.css("display","block");const e=Array.from(this.$content.children()).reduce(((e,i)=>e+t(i).outerHeight(!0)),0);this.$content.height()>e&&this.$content.css("display","flex")}}}return new a(e)}},7632:function(t){t.exports=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:jQuery,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.body;class s{static get clickListener(){return"click.off-screen"}static get defaultSettings(){return{display:{desktop:"slide",mobile:"slide"},visibleOnLoad:{desktop:!0,mobile:!1},visibleInEditor:!0,hasOverlay:{desktop:!1},hasDefaultTrigger:{desktop:!0},hasCloseIcon:{desktop:!0},sidebarWidth:null,triggerPosition:{desktop:"center"},collapsedIcon:"icon-menu-left-solid",expandedIcon:"icon-menu-right-solid",closeIcon:"icon-close-solid"}}static get triggerSelector(){return".tve-off-screen-sidebar-trigger"}static get closeIconSelector(){return".tve-sidebar-close-icon"}constructor(t){this.sidebarInstance=t,this.$element=t.$element,this.element=t.$element[0],this.$main=t.$element.parent(),this.inEditor=t.constructor.inEditor&&TVE.Theme&&TVE.Theme.template;const e=t.getJsonData("off-screen");this.setConfig(e)}init(){return this.sidebarSide=e.ThriveTheme.utils.getSidebarPosition(),i.setAttribute("data-off-screen-side",this.sidebarSide),i.setAttribute("data-off-screen-type",this.getConfig("display",this.getDevice())),i.classList.add("theme-has-off-screen-sidebar"),this.updateSidebarWidth(),this.initDefaultTrigger(),this.initCloseIcon(),this.toggleCloseIcon(this.getConfig("hasCloseIcon",this.getDevice())),i.classList.remove("visible-off-screen-sidebar"),i.classList.remove("theme-has-off-screen-overlay"),this.element.classList.remove("theme-has-off-screen-overlay"),this.element.classList.remove(`sidebar-off-screen-on-${this.getDevice()}`),this.element.style.display="block",this.inEditor?this.getConfig("visibleInEditor")&&setTimeout((()=>this.toggle(!0)),24):(this.setSidebarTop(),t(document).off("keyup.off-screen").on("keyup.off-screen",this.onKeyUp.bind(this)),this.getConfig("hasOverlay",this.getDevice())&&this.$element.off(s.clickListener).on(s.clickListener,this.onClick.bind(this)),this.isVisibleOnLoad()&&setTimeout((()=>this.toggle(!0)),24),this.$element.appendTo(t("#wrapper"))),this}isVisibleOnLoad(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getDevice(),e=null;return!this.inEditor&&"mobile"!==t&&ThriveTheme.localize.is_user_logged_in&&ThriveTheme.localize.sidebar_visibility&&void 0!==ThriveTheme.localize.sidebar_visibility[t]&&(e=!!parseInt(ThriveTheme.localize.sidebar_visibility[t])),null===e&&(e=this.getConfig("visibleOnLoad",t)),e}initDefaultTrigger(){this.$trigger=this.$element.find(s.triggerSelector),this.inEditor?(this.$trigger.data("tcb-elem-type","sidebar-trigger"),this.$trigger.attr("data-selector",s.triggerSelector)):this.$trigger.off(s.clickListener).on(s.clickListener,(()=>{this.toggle(!this.isVisible())})),this.$trigger.css({display:this.getConfig("hasDefaultTrigger",this.getDevice())?"flex":"none"});const t=this.getConfig("triggerPosition",this.getDevice());i.classList.contains("admin-bar")&&"top"===t?this.$trigger.css({top:e.TCB_Front.bodyOffsetTop()}):this.$trigger.css({top:""}),this.element.setAttribute("data-trigger-position",t)}initCloseIcon(){this.inEditor?this.$element.find(s.closeIconSelector).attr("data-selector",s.closeIconSelector).addClass("tve_no_icons tve_no_drag"):t(document).off(s.clickListener).on(s.clickListener,s.closeIconSelector,(()=>this.toggle(!1)))}destroy(){return i.classList.remove("theme-has-off-screen-sidebar"),i.classList.remove("visible-off-screen-sidebar"),this.element.style.removeProperty("top"),this.element.style.removeProperty("height"),this.element.style.removeProperty("display"),this.element.style.removeProperty("min-width"),this.element.classList.remove(`sidebar-off-screen-on-${this.getDevice()}`),this.$trigger&&this.$trigger.hide(),this.toggleCloseIcon(!1),"wrapper"===this.$element.parent().attr("id")&&this.$element.insertBefore(t(".main-columns-separator")),this}toggle(s){void 0===s&&(s=!this.isVisible());const o=this.getDevice();return this.$element.hasClass(`tcb-${o}-hidden`)&&(s=!1),s&&this.getConfig("hasOverlay",o)?(this.element.classList.add("theme-has-off-screen-overlay"),i.classList.add("theme-has-off-screen-overlay"),setTimeout((()=>{i.classList.toggle("visible-off-screen-sidebar",s)}),42)):(i.classList.toggle("visible-off-screen-sidebar",s),setTimeout((()=>{this.element.classList.remove("theme-has-off-screen-overlay")}),420)),!this.sidebarInstance.constructor.inEditor&&ThriveTheme.localize.is_user_logged_in&&"mobile"!==o&&this.updateUserSidebarSettings(s),setTimeout((()=>{e.tve_frontend_options.is_editor_page?(e.TCB_Front.resizePageSection(),TVE.inner_$(".tcb-mp").css("z-index",""),e.TCB_Front.menu.zIndexOrder()):"function"==typeof e.TCB_Front.sticky.resetElementsPosition&&e.TCB_Front.sticky.resetElementsPosition(),t(e).trigger("tcb_off_screen_sidebar_toggle"),e.TCB_Front.handleIframes(this.$element,s)}),500),this}setConfig(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.config=t,this}getConfig(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=this.config;return t&&(i=i[t],e&&(i=this.sidebarInstance.getConfigByDevice(i,e))),i}updateSidebarWidth(s){const o=t(e).width();if(void 0===s){switch(this.getDevice()){case"desktop":const t=getComputedStyle(this.element.parentElement);s="wrap"===t.flexWrap?parseInt(t.width)/2:parseFloat(t.getPropertyValue("--sidebar-size"))*parseInt(t.width)/100-parseFloat(t.getPropertyValue("--separator-size"))/2;break;case"tablet":s=o/2;break;case"mobile":s=o-24}let t=this.$element.css("min-width");t.includes("%")?t=parseInt(t)*o/100:(t=parseInt(t),isNaN(t)&&(t=0)),s=Math.max(t,s)}return s>=o&&(s=o-24),parseInt(this.$element.css("min-width"))&&this.$element.css("min-width",`${s}px`),i.style.setProperty("--off-screen-sidebar-size",`${s}px`),s}toggleCloseIcon(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.$element.find(s.closeIconSelector).toggle(t)}setSidebarTop(){const t=e.TCB_Front.bodyOffsetTop();this.$element.css({top:`${t}px`,height:`calc(100vh - ${t}px)`})}updateUserSidebarSettings(i){("object"!=typeof ThriveTheme.localize.sidebar_visibility||Array.isArray(ThriveTheme.localize.sidebar_visibility))&&(ThriveTheme.localize.sidebar_visibility={}),ThriveTheme.localize.sidebar_visibility[this.getDevice()]=i?1:0,t.ajax({url:`${ThriveTheme.localize.routes.frontend}/user_options`,headers:{"X-WP-Nonce":e.tve_frontend_options.nonce},type:"POST",data:{template:ThriveTheme.localize.ID,option:"sidebar_visibility",value:ThriveTheme.localize.sidebar_visibility}})}onClick(t){t.target.classList.contains("sidebar-section")&&this.toggle(!1)}onKeyUp(t){"Escape"===t.key&&this.toggle(!1)}isVisible(){return i.classList.contains("visible-off-screen-sidebar")}getDevice(){return void 0===e.TCB_Front?TVE.main.device:e.TCB_Front.getDisplayType()}}return s}},5420:function(t){t.exports=t=>{const e=t(window),i=t(document),s=t("body");let o=window.innerHeight,n=e.width(),r=s.offset().top;return class{static get defaultSettings(){return{sticky:!1,delta:0,stickyUntil:"main",element:""}}needsExtraScroll(){return this.elementHeight>o}shouldBeSticky(){let t=n>768;if(t){const e=ThriveTheme.$sections.content.outerHeight(),i=ThriveTheme.$sections.content.offset().top;(this.offset.top>=i+e||this.offset.top+this.$element.outerHeight(){this.scrollTop=i.scrollTop(),this.scrollDir=this.scrollTop>=this.prevScroll?"Down":"Up",this.prevScroll=this.scrollTop,this.elementTop=parseInt(this.element.style.top),this.onScroll(),this[`onScroll${this.scrollDir}`]()})).trigger("scroll.sidebar"))}setElementHeight(){return this.elementHeight=this.$content.outerHeight(),this.elementHeightt+this.delta&&(this.isSticky()||this.makeItSticky(),this.element.style.position="fixed",this.element.style.left=`${this.offset.left}px`,this.element.style.bottom=`${this.delta}px`,this.element.style.removeProperty("top"))}}onScrollUp(){if(this.needsExtraScroll()&&this.isSticky()&&!this.hasReachedSentinel())if("fixed"===this.element.style.position&&this.element.style.bottom){const t=this.$element.offset();this.element.style.removeProperty("position"),this.element.style.removeProperty("left"),this.element.style.removeProperty("bottom"),this.element.style.top=t.top+this.parentTopPadding-this.offset.top+"px"}else"fixed"===this.element.style.position&&this.offset.top>this.scrollTop+this.delta+r?this.destroy():this.$element.offset().top>this.scrollTop+this.delta+r&&(this.element.style.position="fixed",this.element.style.left=`${this.offset.left}px`,this.element.style.top=`${r+this.delta}px`)}hasReachedSentinel(){return this.scrollTop+o>this.sentinelTop}onContentResize(){this._sentinelTop=null,r=s.offset().top,this.offset=(this.isSticky()?this.$sidebarClone:this.$element).offset(),this.setElementHeight()}get sentinelTop(){if(null===this._sentinelTop){switch(this.config.stickyUntil){case"end":this._sentinelTop=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);break;case"element":if(this.config.element=this.config.element.replace(/([^a-zA-Z0-9_-])/g,"").trim(),""!==this.config.element){const e=t(`#${this.config.element}`);e.length&&e.offset().top>this.offset.top+this.elementHeight&&(this._sentinelTop=e.offset().top)}}null===this._sentinelTop&&(this._sentinelTop=this.$parent.offset().top+this.$parent.outerHeight())}return this._sentinelTop}get $sidebarClone(){const e=this.$parent.find(".sidebar-empty-clone");return e.length?e:t('').css({height:`${this.elementHeight}px`,display:"none"}).insertAfter(this.$element)}makeItSticky(){this.$sidebarClone.show(),this.element.classList.add("tve-is-sticky"),this.element.style[this.stickySide]=this.$parent.css(`padding-${this.stickySide}`),this.element.style.setProperty("width",`${this.elementWidth}px`,"important"),this.needsExtraScroll()||(this.element.style.minHeight=`calc(100vh - ${r+this.delta}px)`,this.elementHeight=this.$element.outerHeight(),this._sentinelTop=null)}destroy(){this.$sidebarClone.remove(),this.element.classList.remove("tve-is-sticky"),this.element.style.removeProperty(this.stickySide),this.element.style.removeProperty("position"),this.element.style.removeProperty("bottom"),this.element.style.removeProperty("width"),this.element.style.removeProperty("left"),this.element.style.removeProperty("top"),this.needsExtraScroll()||this.element.style.removeProperty("min-height")}}}},2962:function(t){const e=["noscript","img","style","script",".tcb-post-list-dynamic-style",".thrive-colors-palette-config",".thrive-local-colors-config",".thrive-group-edit-config",".tve_custom_style",".thrive-shortcode-config",".tqb-shortcode-wrapper",".thrive-quiz-builder-shortcode",".thrv_lead_generation_code"];t.exports={addHttp:t=>((t=t.trim())&&!/^(?:f|ht)tps?\:\/\//.test(t)&&(t="http://"+t),t),readingMinutes(t){return Math.floor(this.countWords(t)/200)},countWords(t){const i=t.clone();i.find(e.join(", ")).remove();const s=i.text();let o=0;return"string"==typeof s&&(o=s.match(/[a-zA-Z0-9_'\u0392-\u03c9\u0400-\u04FF\u0027]+|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|[\u00E4\u00C4\u00E5\u00C5\u00F6\u00D6]+|[\u0531-\u0556\u0561-\u0586\u0559\u055A\u055B]+|\w+/g)),o?o.length:0},throttle(t,e){let i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=null,o=!0;return function(){const n=i&&o,r=()=>{t.apply(this,arguments),s=null};n&&(o=!1,r()),s||(s=setTimeout(r,e))}},getSidebarPosition(){let t="right";return(ThriveTheme.$sections.mainContainer.hasClass("flip-sections")||1===parseInt(ThriveTheme.$sections.sidebar.css("order")))&&(t="left"),t}}},8999:function(t,e,i){const s=i(2962);class o{static validateField(t,e){if(arguments.length>2&&void 0!==arguments[2]&&!arguments[2]&&0===e.trim().length)return!0;const i="validate_"+t;return"function"!=typeof o[i]||o[i](e)}static validateEmail(t){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)}static validateUrl(t){return null!==s.addHttp(t).match(/(http(s)?:\/\/.)(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/g)}static escapeHtml(t){const e={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};return String(t).replace(/[&<>"'`=\/]/g,(function(t){return e[t]?e[t]:t}))}}t.exports=o}},e={};function i(s){var o=e[s];if(void 0!==o)return o.exports;var n=e[s]={exports:{}};return t[s](n,n.exports,i),n.exports}window.ThriveTheme={$:jQuery.noConflict()},((t,e)=>{const s=i(551),o=i(3626),n=i(3667);e&&e.identifiers&&(e.identifiers.parentStickyParent+=",.theme-section",e.identifiers.pageStickyParent+=",#wrapper,.theme-section",e.identifiers.stickyParentType+=",.theme-section",e.identifiers.parentZindexFix=(e.identifiers.parentZindexFix?e.identifiers.parentZindexFix+",":"")+".theme-section"),t.fn.extend(i(5560)),ThriveTheme.localize=thrive_front_localize,ThriveTheme.utils=i(2962),ThriveTheme.initElements=()=>{ThriveTheme.$sections={sidebar:t("#theme-sidebar-section"),content:t("#theme-content-section"),mainContainer:t(".main-container")},ThriveTheme.hasAdminBar=window.document.body.classList.contains("admin-bar"),ThriveTheme.sidebar=i(9367)(t,ThriveTheme.$sections.sidebar,TCB_Front),ThriveTheme.progressBar=i(5236)(t,t(".thrive-progress-bar"))},t((()=>{ThriveTheme.initElements(),tve_frontend_options.is_editor_page?function(){var t;let e,i;null!==(t=TVE.CONST.theme)&&void 0!==t&&t.is_theme_template?(e=ThriveTheme.localize.tar_post_url,i=".tar-redirect"):(e=ThriveTheme.localize.template_url,i=".theme-template-redirect"),TVE.main.sidebar_extra.$el.find(i).attr("href",e)}():function(){t(".comment-form").each(((e,i)=>{const o=t(i);0===o.closest(".woocommerce-Reviews").length&&new s(o)})),t(".thrv_responsive_video[data-type=dynamic]").each(((e,i)=>{o.instance(t(i)).initAttributes().makeAutoplayVideo()})),t(".thrv_audio[data-type=dynamic]").each(((e,i)=>{n.instance(t(i)).initAttributes().makeAutoplayAudio()}));const i=t(".thrv_contents_table").not("#tve_editor .thrv_contents_table");i.length>0&&i.tableOfContents({target:".tcb-post-content"}).addClass("tve-rendered");const r=t(".tve-dynamic-toc:not(.thrv_symbol *)");r.length>0&&r.tableOfContents({target:".tcb-post-content"}).addClass("tve-rendered"),e.toc&&e.toc.initToc(e.$body)}(),thrive_front_localize.is_singular||t("body").on("tcb_post_list_identifier.tcb","#main",(t=>(t.identifier="#main",t))).on("tcb_pagination_extra_classes.tcb","#main",(t=>{const e=i(7436);return t.paginationClasses={infinite_scroll:e},t})).on("tcb_after_numeric_pagination_render",'.tcb-pagination[data-list="#main"]',((e,i)=>{const s=thrive_front_localize.pagination_url.template,o=function(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;t=t.replace("[]",`[${s}]`),i.has(t,e)||i.set(t,e)},n=t=>{const e=window.location.search;let i=1===parseInt(t)?thrive_front_localize.pagination_url.base.replaceAll("&","&"):s.replace("[thrive_page_number]",t);if(e){const t=new URLSearchParams(e),s=new URL(i),n=s.searchParams;for(const e of t.keys()){const i=t.getAll(e);1===i.length?o(e,i[0],n,0):i.forEach(((t,i)=>o(e,t,n,i)))}i=s.toString()}return i};i.$pageNumberContainer.find(".tcb-pagination-link").each(((e,i)=>{t(i).find("a").attr("href",n(i.dataset.page))}));for(const t in i.buttons){const e=i.buttons[t],s=e.hasClass("tcb-disabled-pagination-button");e.find("a").attr("href",s?"":n(e.attr("data-page")))}})),t(window).trigger("theme.frontend.init")}))})(ThriveTheme.$,"undefined"==typeof TCB_Front?{}:TCB_Front)}();;