!function a(n,r,o){function s(e,t){if(!r[e]){if(!n[e]){var i="function"==typeof require&&require;if(!t&&i)return i(e,!0);if(_)return _(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}i=r[e]={exports:{}},n[e][0].call(i.exports,function(t){return s(n[e][1][t]||t)},i,i.exports,a,n,r,o)}return r[e].exports}for(var _="function"==typeof require&&require,t=0;t<o.length;t++)s(o[t]);return s}({1:[function(t,e,i){jQuery(function(f){function c(t){t=JSON.parse(t.attr("data-config"));return"on_hover"===t.animation_start?f.extend({},t,{repeat_mode:"infinite",animation_repeat_counts:"1"}):t}function r(t){var e=t.data("hoverLeaveReverseTimer"),e=(e&&(clearTimeout(e),t.removeData("hoverLeaveReverseTimer")),t.data("totalIntervalTimer")),e=(e&&(clearInterval(e),t.removeData("totalIntervalTimer")),t.data("vivussPlayTimer")),e=(e&&(clearTimeout(e),t.removeData("vivussPlayTimer")),t.data("vivusReversePlayTimer"));e&&(clearTimeout(e),t.removeData("vivusReversePlayTimer"))}function m(t,e){var i,e=t.waypoint(e);e&&0<e.length&&(t.data("et_waypoint")||t.data("et_waypoint",e[0]),(i=t.data("dipi_th_waypoint_instances")||[]).push(e[0]),t.data("dipi_th_waypoint_instances",i))}f.fn.dipi_text_highlighter=function(t){var e=f(this),i=f(this).find(".dipi-highlight-text-wrapper"),a=c(i),n="svg-".concat(a.id),r=f(this).find(".dipi-text-highlight-svg > svg");if(r.attr("id",n),"no"!==a.repeat_mode){var o,s,r=new Vivus(n,{type:"oneByOne",duration:parseInt(a.animation_duration,10)/15,start:"manual",pathTimingFunction:Vivus.EASE,animTimingFunction:Vivus.EASE,forceRender:/^((?!chrome|android).)*(msie|edge|trident|safari)/i.test(window.navigator.userAgent)});if(i.data("Vivus")||i.data("Vivus",r),"in_loading"===a.animation_start)e.dipi_text_highlighter_update();else if("on_hover"===a.animation_start){var n=e.find(".dipi-text-highlight-wrapper"),r=i.data("Vivus");r&&r.reset(),n.off("mouseenter.dipiTextHighlighterHover mouseleave.dipiTextHighlighterHover").on("mouseenter.dipiTextHighlighterHover",function(){e.stop_animation(),e.dipi_text_highlighter_update()}).on("mouseleave.dipiTextHighlighterHover",function(){e.dipi_text_highlighter_hover_leave()})}else if(f.fn.waypoint){var _=function(t){e.dipi_text_highlighter_update({waypoint_direction:t})},r=a.animation_start_viewport,d="string"!=typeof(n=r)||!(d=String(n).trim().match(/^([\d.]+)\s*%$/))||(d=parseFloat(d[1],10),isNaN(d))?n:(n=100<(n=(n=100-d)<0?0:n)?100:n)+"%",p=(n=d,o=u(h=r),s=u(n),(null===o||null===s?String(h)===String(n):Math.abs(o-s)<.001)?m(e,{offset:r,handler:function(t){"down"!==t&&"up"!==t||_(t)}}):(m(e,{offset:r,handler:function(t){"down"===t&&_(t)}}),m(e,{offset:d,handler:function(t){"up"===t&&_(t)}})),m(e,{offset:"bottom-in-view",handler:function(t){"up"===t&&_(t)}}),e),v=i,h=a,n=p.data("dipi_th_viewport_io");if(n){try{n.disconnect()}catch(t){}p.removeData("dipi_th_viewport_io")}"in_a_viewport"===h.animation_start&&"everytime_in_viewport"===h.count_mode&&(v.data("dipi_th_ready_to_play",!0),"undefined"!=typeof IntersectionObserver)&&((n=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting||(p.stop_animation(),(t=v.data("Vivus"))&&t.reset(),v.removeData("animation_repeat_counts"),v.removeData("playingback"),v.data("dipi_th_ready_to_play",!0))})},{threshold:0,root:null})).observe(p[0]),p.data("dipi_th_viewport_io",n))}}function u(t){return"string"==typeof t&&(t=String(t).trim().match(/^([\d.]+)\s*%$/))?parseFloat(t[1],10):null}},f.fn.dipi_text_highlighter_update=function(t){f(this);var e=f(this).find(".dipi-highlight-text-wrapper"),i=c(e),a=e.data("Vivus"),n=parseInt(i.animation_delay),r=parseInt(i.animation_duration),o=parseInt(i.delay_after_animation),s=i.count_mode,_=parseInt(i.animation_repeat_counts),d=e.data("animation_repeat_counts"),p="cumulative"===s&&void 0!==d?d:_,v=e.data("totalIntervalTimer"),h=e.data("vivussPlayTimer"),u=e.data("vivusReversePlayTimer"),d=e.data("dipi_th_ready_to_play");function m(){a.play(-1),e.data("playingback",!0)}function l(){try{"definite"===i.repeat_mode&&p<=0?(clearInterval(v),v=0,e.removeData("totalIntervalTimer")):(h=setTimeout(function(){if("end"===a.getStatus()){if("definite"===i.repeat_mode&&(p-=1,e.data("animation_repeat_counts",p),p<=0))return;a.reset()}"on"===i.reverse_animation&&e.data("playingback")&&"start"===a.getStatus()&&"definite"===i.repeat_mode&&(e.data("playingback",!1),p-=1,e.data("animation_repeat_counts",p),p<=0)||(a.play(),"on"===i.reverse_animation&&"on_hover"!==i.animation_start&&("infinite"===i.repeat_mode||"definite"===i.repeat_mode&&1<p)&&(u=setTimeout(m,r+o),e.data("vivusReversePlayTimer",u)))},n),e.data("vivussPlayTimer",h))}catch(t){console.error("Error in dipi_text_highlighter_update:",t)}}v&&(clearInterval(v),v=0),"no"!==i.repeat_mode&&(_=r+o,"on"===i.reverse_animation&&"on_hover"!==i.animation_start&&(_+=n+r+1e3),"in_a_viewport"!==i.animation_start||"everytime_in_viewport"!==s||!1!==d)&&(!t||"down"!==t.waypoint_direction&&"up"!==t.waypoint_direction||"in_a_viewport"!==i.animation_start||"definite"!==i.repeat_mode||"everytime_in_viewport"!==s||(e.removeData("animation_repeat_counts"),e.removeData("playingback"),a&&"start"!==a.getStatus()&&a.reset()),"in_a_viewport"===i.animation_start&&"everytime_in_viewport"===s&&e.data("dipi_th_ready_to_play",!1),l(),1<p)&&(v=setInterval(function(){l()},_),e.data("totalIntervalTimer",v))},f.fn.dipi_text_highlighter_hover_leave=function(){var t=f(this),i=t.find(".dipi-highlight-text-wrapper"),e=c(i),a=i.data("Vivus");if(a){if("on_hover"===e.animation_start)return r(i),i.removeData("playingback"),"end"!==(n=a.getStatus())&&"progress"!==n?void 0:(n=parseInt(e.delay_after_animation,10),(isNaN(n)||n<0)&&(n=0),n=setTimeout(function(){i.removeData("hoverLeaveReverseTimer");var t,e=i.data("Vivus");!e||"end"!==(t=e.getStatus())&&"progress"!==t||e.play(-1)},n),void i.data("hoverLeaveReverseTimer",n));t.stop_animation(),i.removeData("playingback");var n=a.getStatus();"on"===e.reverse_animation?"end"!==n&&"progress"!==n||a.play(-1):"start"!==n&&a.reset()}},f.fn.stop_animation=function(t){f(this);var e=f(this).find(".dipi-highlight-text-wrapper"),i=e.data("Vivus");r(e),i&&i.stop()},f.fn.dipi_text_highlighter_destroy=function(t){var e=f(this),i=f(this).find(".dipi-highlight-text-wrapper"),a=e.data("dipi_th_viewport_io");if(a){try{a.disconnect()}catch(t){}e.removeData("dipi_th_viewport_io")}e.find(".dipi-text-highlight-wrapper").off("mouseenter.dipiTextHighlighterHover mouseleave.dipiTextHighlighterHover"),this.stop_animation(),e.find(".resize-sensor").remove(),i.removeData("Vivus"),i.removeData("dipi_th_ready_to_play");a=e.data("dipi_th_waypoint_instances");a&&a.length&&a.forEach(function(t){try{t&&"function"==typeof t.destroy&&t.destroy()}catch(t){}}),e.removeData("dipi_th_waypoint_instances"),e.removeData("et_waypoint")},f(".dipi_text_highlighter").each(function(){f(this).dipi_text_highlighter()})})},{}]},{},[1]);