/*
 The MIT License (MIT)
 @todo Lazy Load Icon
 @todo prevent animationend bubling
 @todo itemsScaleUp
 @todo Test Zepto
 @todo stagePadding calculate wrong active classes
 The MIT License (MIT)
 @license ScrollReveal v4.0.9

 Copyright 2021 Fisssion LLC.

 Licensed under the GNU General Public License 3.0 for
 compatible open source projects and non-commercial use.

 For commercial sites, themes, projects, and applications,
 keep your source code private/proprietary by purchasing
 a commercial license from https://scrollrevealjs.org/
 @license is-dom-node v1.0.4

  Copyright 2018 Fisssion LLC.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

 @license is-dom-node-list v1.2.1

  Copyright 2018 Fisssion LLC.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

 @license Tealight v0.3.6

  Copyright 2018 Fisssion LLC.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

 @license Rematrix v0.3.0

  Copyright 2018 Julian Lloyd.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
 @license miniraf v1.0.1

  Copyright 2018 Fisssion LLC.

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in all
  copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  SOFTWARE.

*/
(function(c,n){"object"===typeof exports&&"undefined"!==typeof module?module.exports=n():"function"===typeof define&&define.amd?define(n):(c=c||self,c.ScrollReveal=n())})(this,function(){function c(d){return"object"===typeof window.Node?d instanceof window.Node:null!==d&&"object"===typeof d&&"number"===typeof d.nodeType&&"string"===typeof d.nodeName}function n(d,g){void 0===g&&(g=document);if(d instanceof Array)return d.filter(c);if(c(d))return[d];var p=Object.prototype.toString.call(d),l=/^\[object (phpCollection|NodeList|Object)\]$/;
if("object"===typeof window.NodeList?d instanceof window.NodeList:null!==d&&"object"===typeof d&&"number"===typeof d.length&&l.test(p)&&(0===d.length||c(d[0])))return Array.prototype.slice.call(d);if("string"===typeof d)try{var r=g.querySelectorAll(d);return Array.prototype.slice.call(r)}catch(m){}return[]}function x(d){return null!==d&&d instanceof Object&&(d.constructor===Object||"[object Object]"===Object.prototype.toString.call(d))}function v(d,g){if(x(d))return Object.keys(d).forEach(function(p){return g(d[p],
p,d)});if(d instanceof Array)return d.forEach(function(p,l){return g(p,l,d)});throw new TypeError("Expected either an array or object literal.");}function f(d){for(var g=[],p=arguments.length-1;0<p--;)g[p]=arguments[p+1];if(this.constructor.debug&&console){var l="%cScrollReveal: "+d;g.forEach(function(r){return l+="\n \u2014 "+r});console.log(l,"color: #ea654b;")}}function a(){var d=this,g=function(){return{active:[],stale:[]}},p=g(),l=g(),r=g();try{v(n("[data-sr-id]"),function(m){m=parseInt(m.getAttribute("data-sr-id"));
p.active.push(m)})}catch(m){throw m;}v(this.store.elements,function(m){-1===p.active.indexOf(m.id)&&p.stale.push(m.id)});v(p.stale,function(m){return delete d.store.elements[m]});v(this.store.elements,function(m){-1===r.active.indexOf(m.containerId)&&r.active.push(m.containerId);m.hasOwnProperty("sequence")&&-1===l.active.indexOf(m.sequence.id)&&l.active.push(m.sequence.id)});v(this.store.containers,function(m){-1===r.active.indexOf(m.id)&&r.stale.push(m.id)});v(r.stale,function(m){var t=d.store.containers[m].node;
t.removeEventListener("scroll",d.delegate);t.removeEventListener("resize",d.delegate);delete d.store.containers[m]});v(this.store.sequences,function(m){-1===l.active.indexOf(m.id)&&l.stale.push(m.id)});v(l.stale,function(m){return delete d.store.sequences[m]})}function b(d){if(d.constructor!==Array)throw new TypeError("Expected array.");if(16===d.length)return d;if(6===d.length){var g=e();g[0]=d[0];g[1]=d[1];g[4]=d[2];g[5]=d[3];g[12]=d[4];g[13]=d[5];return g}throw new RangeError("Expected array with either 6 or 16 values.");
}function e(){for(var d=[],g=0;16>g;g++)0==g%5?d.push(1):d.push(0);return d}function h(d,g){d=b(d);g=b(g);for(var p=[],l=0;4>l;l++)for(var r=[d[l],d[l+4],d[l+8],d[l+12]],m=0;4>m;m++){var t=4*m,F=[g[t],g[t+1],g[t+2],g[t+3]];p[l+t]=r[0]*F[0]+r[1]*F[1]+r[2]*F[2]+r[3]*F[3]}return p}function k(d){return"string"===typeof d&&(d=d.match(/matrix(3d)?\(([^)]+)\)/))?(d=d[2].split(", ").map(parseFloat),b(d)):e()}function q(d){d*=Math.PI/180;var g=e();g[5]=g[10]=Math.cos(d);g[6]=g[9]=Math.sin(d);g[9]*=-1;return g}
function z(d){d*=Math.PI/180;var g=e();g[0]=g[10]=Math.cos(d);g[2]=g[8]=Math.sin(d);g[2]*=-1;return g}function B(d){d*=Math.PI/180;var g=e();g[0]=g[5]=Math.cos(d);g[1]=g[4]=Math.sin(d);g[4]*=-1;return g}function H(d,g){var p=e();p[0]=d;p[5]="number"===typeof g?g:d;return p}function O(d){var g=e();g[12]=d;return g}function P(d){var g=e();g[13]=d;return g}function na(d){var g=window.getComputedStyle(d.node),p=g.position,l=d.config,r={},m=(d.node.getAttribute("style")||"").match(/[\w-]+\s*:\s*[^;]+\s*/gi)||
[];r.computed=m?m.map(function(D){return D.trim()}).join("; ")+";":"";r.generated=m.some(function(D){return D.match(/visibility\s?:\s?visible/i)})?r.computed:m.concat(["visibility: visible"]).map(function(D){return D.trim()}).join("; ")+";";m=parseFloat(g.opacity);var t=isNaN(parseFloat(l.opacity))?parseFloat(g.opacity):parseFloat(l.opacity);m={computed:m!==t?"opacity: "+m+";":"",generated:m!==t?"opacity: "+t+";":""};t=[];if(parseFloat(l.distance)){var F="top"===l.origin||"bottom"===l.origin?"Y":
"X",G=l.distance;if("top"===l.origin||"left"===l.origin)G=/^-/.test(G)?G.substr(1):"-"+G;G=G.match(/(^-?\d+\.?\d?)|(em$|px$|%$)/g);var E=G[0];switch(G[1]){case "em":G=parseInt(g.fontSize)*E;break;case "px":G=E;break;case "%":G="Y"===F?d.node.getBoundingClientRect().height*E/100:d.node.getBoundingClientRect().width*E/100;break;default:throw new RangeError("Unrecognized or missing distance unit.");}"Y"===F?t.push(P(G)):t.push(O(G))}l.rotate.x&&t.push(q(l.rotate.x));l.rotate.y&&t.push(z(l.rotate.y));
l.rotate.z&&t.push(B(l.rotate.z));1!==l.scale&&(0===l.scale?t.push(H(2E-4)):t.push(H(l.scale)));d={};t.length?(d.property=ia("transform"),d.computed={raw:g[d.property],matrix:k(g[d.property])},t.unshift(d.computed.matrix),t=t.reduce(h),d.generated={initial:d.property+": matrix3d("+t.join(", ")+");",finalTransform:d.property+": matrix3d("+d.computed.matrix.join(", ")+");"}):d.generated={initial:"",finalTransform:""};t={};m.generated||d.generated.initial?(t.property=ia("transition"),t.computed=g[t.property],
t.fragments=[],g=l.delay,F=l.duration,l=l.easing,m.generated&&t.fragments.push({delayed:"opacity "+F/1E3+"s "+l+" "+g/1E3+"s",instant:"opacity "+F/1E3+"s "+l+" 0s"}),d.generated.initial&&t.fragments.push({delayed:d.property+" "+F/1E3+"s "+l+" "+g/1E3+"s",instant:d.property+" "+F/1E3+"s "+l+" 0s"}),t.computed&&!t.computed.match(/all 0s|none 0s/)&&t.fragments.unshift({delayed:t.computed,instant:t.computed}),l=t.fragments.reduce(function(D,C,J){D.delayed+=0===J?C.delayed:", "+C.delayed;D.instant+=0===
J?C.instant:", "+C.instant;return D},{delayed:"",instant:""}),t.generated={delayed:t.property+": "+l.delayed+";",instant:t.property+": "+l.instant+";"}):t.generated={delayed:"",instant:""};return{inline:r,opacity:m,position:p,transform:d,transition:t}}function Q(d,g){g.split(";").forEach(function(p){var l=p.split(":");p=l[0];l=l.slice(1);p&&l&&(d.style[p.trim()]=l.join(":"))})}function T(d){var g=this,p;try{v(n(d),function(l){var r=l.getAttribute("data-sr-id");if(null!==r){p=!0;var m=g.store.elements[r];
m.callbackTimer&&window.clearTimeout(m.callbackTimer.clock);Q(m.node,m.styles.inline.generated);l.removeAttribute("data-sr-id");delete g.store.elements[r]}})}catch(l){return f.call(this,"Clean failed.",l.message)}if(p)try{a.call(this)}catch(l){return f.call(this,"Clean failed.",l.message)}}function ja(){var d=this;v(this.store.elements,function(g){Q(g.node,g.styles.inline.generated);g.node.removeAttribute("data-sr-id")});v(this.store.containers,function(g){g=g.node===document.documentElement?window:
g.node;g.removeEventListener("scroll",d.delegate);g.removeEventListener("resize",d.delegate)});this.store={containers:{},elements:{},history:[],sequences:{}}}function U(d){for(var g=[],p=arguments.length-1;0<p--;)g[p]=arguments[p+1];if(x(d))return v(g,function(l){v(l,function(r,m){x(r)?(d[m]&&x(d[m])||(d[m]={}),U(d[m],r)):d[m]=r})}),d;throw new TypeError("Target must be an object literal.");}function K(d){void 0===d&&(d=navigator.userAgent);return/Android|iPhone|iPad|iPod/i.test(d)}function ca(){var d=
this;a.call(this);v(this.store.elements,function(g){var p=[g.styles.inline.generated];g.visible?(p.push(g.styles.opacity.computed),p.push(g.styles.transform.generated.finalTransform),g.revealed=!0):(p.push(g.styles.opacity.generated),p.push(g.styles.transform.generated.initial),g.revealed=!1);Q(g.node,p.filter(function(l){return""!==l}).join(" "))});v(this.store.containers,function(g){g=g.node===document.documentElement?window:g.node;g.addEventListener("scroll",d.delegate);g.addEventListener("resize",
d.delegate)});this.delegate();this.initTimeout=null}function V(d,g){void 0===g&&(g={});var p=g.pristine||this.pristine;p="always"===d.config.useDelay||"onload"===d.config.useDelay&&p||"once"===d.config.useDelay&&!d.seen;var l=d.visible&&!d.revealed,r=!d.visible&&d.revealed&&d.config.reset;if(g.reveal||l)return y.call(this,d,p);if(g.reset||r)return w.call(this,d)}function y(d,g){var p=[d.styles.inline.generated,d.styles.opacity.computed,d.styles.transform.generated.finalTransform];g?p.push(d.styles.transition.generated.delayed):
p.push(d.styles.transition.generated.instant);d.revealed=d.seen=!0;Q(d.node,p.filter(function(l){return""!==l}).join(" "));u.call(this,d,g)}function w(d){var g=[d.styles.inline.generated,d.styles.opacity.generated,d.styles.transform.generated.initial,d.styles.transition.generated.instant];d.revealed=!1;Q(d.node,g.filter(function(p){return""!==p}).join(" "));u.call(this,d)}function u(d,g){var p=this;g=g?d.config.duration+d.config.delay:d.config.duration;var l=d.revealed?d.config.beforeReveal:d.config.beforeReset,
r=d.revealed?d.config.afterReveal:d.config.afterReset,m=0;d.callbackTimer&&(m=Date.now()-d.callbackTimer.start,window.clearTimeout(d.callbackTimer.clock));l(d.node);d.callbackTimer={start:Date.now(),clock:window.setTimeout(function(){r(d.node);d.callbackTimer=null;d.revealed&&!d.config.reset&&d.config.cleanup&&T.call(p,d.node)},g-m)}}function A(d,g){void 0===g&&(g=this.pristine);if(!d.visible&&d.revealed&&d.config.reset)return V.call(this,d,{reset:!0});var p=this.store.sequences[d.sequence.id],l=
d.sequence.index;if(p){var r=new I(p,"visible",this.store),m=new I(p,"revealed",this.store);p.models={visible:r,revealed:m};if(!m.body.length){var t=this.store.elements[p.members[r.body[0]]];if(t)return R.call(this,p,r.body[0],-1,g),R.call(this,p,r.body[0],1,g),V.call(this,t,{reveal:!0,pristine:g})}if(!p.blocked.head&&l===[].concat(m.head).pop()&&l>=[].concat(r.body).shift())return R.call(this,p,l,-1,g),V.call(this,d,{reveal:!0,pristine:g});if(!p.blocked.foot&&l===[].concat(m.foot).shift()&&l<=[].concat(r.body).pop())return R.call(this,
p,l,1,g),V.call(this,d,{reveal:!0,pristine:g})}}function L(d){d=Math.abs(d);if(isNaN(d))throw new RangeError("Invalid sequence interval.");this.id=ha();this.interval=Math.max(d,16);this.members=[];this.models={};this.blocked={head:!1,foot:!1}}function I(d,g,p){var l=this;this.head=[];this.body=[];this.foot=[];v(d.members,function(r,m){(r=p.elements[r])&&r[g]&&l.body.push(m)});this.body.length&&v(d.members,function(r,m){(r=p.elements[r])&&!r[g]&&(m<l.body[0]?l.head.push(m):l.foot.push(m))})}function R(d,
g,p,l){var r=this,m=["head",null,"foot"][1+p],t=this.store.elements[d.members[g+p]];d.blocked[m]=!0;setTimeout(function(){d.blocked[m]=!1;t&&A.call(r,t,l)},d.interval)}function W(d,g,p){var l=this;void 0===g&&(g={});void 0===p&&(p=!1);var r=[],m,t=g.interval||ka.interval;try{t&&(m=new L(t));var F=n(d);if(!F.length)throw Error("Invalid reveal target.");var G=F.reduce(function(E,D){var C={},J=D.getAttribute("data-sr-id");J?(U(C,l.store.elements[J]),Q(C.node,C.styles.inline.computed)):(C.id=ha(),C.node=
D,C.seen=!1,C.revealed=!1,C.visible=!1);var da=U({},C.config||l.defaults,g);if(!da.mobile&&K()||!da.desktop&&!K())return J&&T.call(l,C),E;J=n(da.container)[0];if(!J)throw Error("Invalid container.");if(!J.contains(D))return E;D=Z(J,r,l.store.containers);null===D&&(D=ha(),r.push({id:D,node:J}));C.config=da;C.containerId=D;C.styles=na(C);m&&(C.sequence={id:m.id,index:m.members.length},m.members.push(C.id));E.push(C);return E},[]);v(G,function(E){l.store.elements[E.id]=E;E.node.setAttribute("data-sr-id",
E.id)})}catch(E){return f.call(this,"Reveal failed.",E.message)}v(r,function(E){l.store.containers[E.id]={id:E.id,node:E.node}});m&&(this.store.sequences[m.id]=m);!0!==p&&(this.store.history.push({target:d,options:g}),this.initTimeout&&window.clearTimeout(this.initTimeout),this.initTimeout=window.setTimeout(ca.bind(this),0))}function Z(d){for(var g=[],p=arguments.length-1;0<p--;)g[p]=arguments[p+1];var l=null;v(g,function(r){v(r,function(m){null===l&&m.node===d&&(l=m.id)})});return l}function aa(){var d=
this;v(this.store.history,function(g){W.call(d,g.target,g.options,!0)});ca.call(this)}function X(d,g){var p=g?d.node.clientHeight:d.node.offsetHeight;g=g?d.node.clientWidth:d.node.offsetWidth;var l=0,r=0;d=d.node;do isNaN(d.offsetTop)||(l+=d.offsetTop),isNaN(d.offsetLeft)||(r+=d.offsetLeft),d=d.offsetParent;while(d);return{bounds:{top:l,right:r+g,bottom:l+p,left:r},height:p,width:g}}function ea(d,g){var p=this;void 0===d&&(d={type:"init"});void 0===g&&(g=this.store.elements);N(function(){var l="init"===
d.type||"resize"===d.type;v(p.store.containers,function(r){l&&(r.geometry=X.call(p,r,!0));if(r.node===document.documentElement){var m=window.pageYOffset;var t=window.pageXOffset}else m=r.node.scrollTop,t=r.node.scrollLeft;m={top:m,left:t};r.scroll&&(r.direction={x:la(m.left-r.scroll.left),y:la(m.top-r.scroll.top)});r.scroll=m});v(g,function(r){if(l||void 0===r.geometry)r.geometry=X.call(p,r);var m=r;void 0===m&&(m={});var t=p.store.containers[m.containerId];if(t){var F=Math.max(0,Math.min(1,m.config.viewFactor)),
G=m.config.viewOffset,E=m.geometry.bounds.right-m.geometry.width*F,D=m.geometry.bounds.bottom-m.geometry.height*F,C=m.geometry.bounds.left+m.geometry.width*F,J=t.geometry.bounds.top+t.scroll.top+G.top,da=t.geometry.bounds.right+t.scroll.left-G.right,ua=t.geometry.bounds.left+t.scroll.left+G.left;m=m.geometry.bounds.top+m.geometry.height*F<t.geometry.bounds.bottom+t.scroll.top-G.bottom&&E>ua&&D>J&&C<da||"fixed"===m.styles.position}else m=void 0;r.visible=m});v(g,function(r){r.sequence?A.call(p,r):
V.call(p,r)});p.pristine=!1})}function M(d){void 0===d&&(d={});if("undefined"===typeof this||Object.getPrototypeOf(this)!==M.prototype)return new M(d);if(!M.isSupported())return f.call(this,"Instantiation failed.","This browser is not supported."),ba.failure();try{var g=Y?U({},Y,d):U({},ka,d)}catch(p){return f.call(this,"Invalid configuration.",p.message),ba.failure()}try{if(!n(g.container)[0])throw Error("Invalid container.");}catch(p){return f.call(this,p.message),ba.failure()}Y=g;if(!Y.mobile&&
K()||!Y.desktop&&!K())return f.call(this,"This device is disabled.","desktop: "+Y.desktop,"mobile: "+Y.mobile),ba.failure();ba.success();this.store={containers:{},elements:{},history:[],sequences:{}};this.pristine=!0;S=S||ea.bind(this);fa=fa||ja.bind(this);oa=oa||W.bind(this);pa=pa||T.bind(this);qa=qa||aa.bind(this);Object.defineProperty(this,"delegate",{get:function(){return S}});Object.defineProperty(this,"destroy",{get:function(){return fa}});Object.defineProperty(this,"reveal",{get:function(){return oa}});
Object.defineProperty(this,"clean",{get:function(){return pa}});Object.defineProperty(this,"sync",{get:function(){return qa}});Object.defineProperty(this,"defaults",{get:function(){return Y}});Object.defineProperty(this,"version",{get:function(){return"4.0.9"}});Object.defineProperty(this,"noop",{get:function(){return!1}});return ra?ra:ra=this}var ka={delay:0,distance:"0",duration:600,easing:"cubic-bezier(0.5, 0, 0, 1)",interval:0,opacity:0,origin:"bottom",rotate:{x:0,y:0,z:0},scale:1,cleanup:!1,
container:document.documentElement,desktop:!0,mobile:!0,reset:!1,useDelay:"always",viewFactor:0,viewOffset:{top:0,right:0,bottom:0,left:0},afterReset:function(){},afterReveal:function(){},beforeReset:function(){},beforeReveal:function(){}},ba={success:function(){document.documentElement.classList.add("sr");document.body?document.body.style.height="100%":document.addEventListener("DOMContentLoaded",function(){document.body.style.height="100%"})},failure:function(){document.documentElement.classList.remove("sr");
return{clean:function(){},destroy:function(){},reveal:function(){},sync:function(){},get noop(){return!0}}}},ia=function(){function d(l,r){void 0===r&&(r=p);if(l&&"string"===typeof l){if(g[l])return g[l];if("string"===typeof r[l])return g[l]=l;if("string"===typeof r["-webkit-"+l])return g[l]="-webkit-"+l;throw new RangeError('Unable to find "'+l+'" style property.');}throw new TypeError("Expected a string.");}var g={},p=document.documentElement.style;d.clearCache=function(){return g={}};return d}(),
ha=function(){var d=0;return function(){return d++}}(),sa=function(d){return(0<d)-(0>d)||+d},la=Math.sign||sa,ma=function(){var d=Date.now();return function(g){var p=Date.now();16<p-d?(d=p,g(p)):setTimeout(function(){return ma(g)},0)}}(),N=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||ma,S,fa,oa,pa,qa,Y,ta,ra;M.isSupported=function(){var d=document.documentElement.style;if(d="transform"in d||"WebkitTransform"in d)d=document.documentElement.style,
d="transition"in d||"WebkitTransition"in d;return d};Object.defineProperty(M,"debug",{get:function(){return ta||!1},set:function(d){return ta="boolean"===typeof d?d:ta}});M();return M});
(function(c,n){"function"===typeof define&&define.amd?define([],n):"object"===typeof module&&module.exports?module.exports=n():c.Rellax=n()})("undefined"!==typeof window?window:global,function(){var c=function(n,x){function v(){if(3===f.options.breakpoints.length&&Array.isArray(f.options.breakpoints)){var y=!0,w=!0,u;f.options.breakpoints.forEach(function(A){"number"!==typeof A&&(w=!1);null!==u&&A<u&&(y=!1);u=A});if(y&&w)return}f.options.breakpoints=[576,768,1201];console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}
var f=Object.create(c.prototype),a=0,b=0,e=0,h=0,k=[],q=!0,z=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(y){return setTimeout(y,1E3/60)},B=null,H=!1;try{var O=Object.defineProperty({},"passive",{get:function(){H=!0}});window.addEventListener("testPassive",null,O);window.removeEventListener("testPassive",null,O)}catch(y){}var P=window.cancelAnimationFrame||window.mozCancelAnimationFrame||
clearTimeout,na=window.transformProp||function(){var y=document.createElement("div");if(null===y.style.transform){var w=["Webkit","Moz","ms"],u;for(u in w)if(void 0!==y.style[w[u]+"Transform"])return w[u]+"Transform"}return"transform"}();f.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}};x&&Object.keys(x).forEach(function(y){f.options[y]=
x[y]});x&&x.breakpoints&&v();n||(n=".rellax");n="string"===typeof n?document.querySelectorAll(n):[n];if(0<n.length){f.elems=n;if(f.options.wrapper&&!f.options.wrapper.nodeType)if(n=document.querySelector(f.options.wrapper))f.options.wrapper=n;else{console.warn("Rellax: The wrapper you're trying to use doesn't exist.");return}var Q,T=function(){for(var y=0;y<k.length;y++)f.elems[y].style.cssText=k[y].style;k=[];b=window.innerHeight;h=window.innerWidth;y=f.options.breakpoints;Q=h<y[0]?"xs":h>=y[0]&&
h<y[1]?"sm":h>=y[1]&&h<y[2]?"md":"lg";ja();for(y=0;y<f.elems.length;y++){var w=void 0,u=f.elems[y],A=u.getAttribute("data-rellax-percentage"),L=u.getAttribute("data-rellax-speed"),I=u.getAttribute("data-rellax-xs-speed"),R=u.getAttribute("data-rellax-mobile-speed"),W=u.getAttribute("data-rellax-tablet-speed"),Z=u.getAttribute("data-rellax-desktop-speed"),aa=u.getAttribute("data-rellax-vertical-speed"),X=u.getAttribute("data-rellax-horizontal-speed"),ea=u.getAttribute("data-rellax-vertical-scroll-axis"),
M=u.getAttribute("data-rellax-horizontal-scroll-axis"),ka=u.getAttribute("data-rellax-zindex")||0,ba=u.getAttribute("data-rellax-min"),ia=u.getAttribute("data-rellax-max"),ha=u.getAttribute("data-rellax-min-x"),sa=u.getAttribute("data-rellax-max-x"),la=u.getAttribute("data-rellax-min-y"),ma=u.getAttribute("data-rellax-max-y"),N=!0;I||R||W||Z?w={xs:I,sm:R,md:W,lg:Z}:N=!1;I=f.options.wrapper?f.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;
f.options.relativeToWrapper&&(I=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)-f.options.wrapper.offsetTop);var S=f.options.vertical?A||f.options.center?I:0:0,fa=f.options.horizontal?A||f.options.center?f.options.wrapper?f.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0:0;I=S+u.getBoundingClientRect().top;R=u.clientHeight||u.offsetHeight||u.scrollHeight;W=fa+u.getBoundingClientRect().left;Z=u.clientWidth||
u.offsetWidth||u.scrollWidth;S=A?A:(S-I+b)/(R+b);A=A?A:(fa-W+h)/(Z+h);f.options.center&&(S=A=.5);w=N&&null!==w[Q]?Number(w[Q]):L?L:f.options.speed;aa=aa?aa:f.options.verticalSpeed;X=X?X:f.options.horizontalSpeed;ea=ea?ea:f.options.verticalScrollAxis;M=M?M:f.options.horizontalScrollAxis;L=U(A,S,w,aa,X);u=u.style.cssText;N="";if(A=/transform\s*:/i.exec(u))N=u.slice(A.index),N=(A=N.indexOf(";"))?" "+N.slice(11,A).replace(/\s/g,""):" "+N.slice(11).replace(/\s/g,"");k.push({baseX:L.x,baseY:L.y,top:I,left:W,
height:R,width:Z,speed:w,verticalSpeed:aa,horizontalSpeed:X,verticalScrollAxis:ea,horizontalScrollAxis:M,style:u,transform:N,zindex:ka,min:ba,max:ia,minX:ha,maxX:sa,minY:la,maxY:ma})}V();q&&(window.addEventListener("resize",T),q=!1,ca())},ja=function(){var y=a,w=e;a=f.options.wrapper?f.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset;e=f.options.wrapper?f.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||
document.body).scrollLeft||window.pageXOffset;f.options.relativeToWrapper&&(a=((document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset)-f.options.wrapper.offsetTop);return y!=a&&f.options.vertical||w!=e&&f.options.horizontal?!0:!1},U=function(y,w,u,A,L){var I={};y=100*(L?L:u)*(1-y);w=100*(A?A:u)*(1-w);I.x=f.options.round?Math.round(y):Math.round(100*y)/100;I.y=f.options.round?Math.round(w):Math.round(100*w)/100;return I},K=function(){window.removeEventListener("resize",
K);window.removeEventListener("orientationchange",K);(f.options.wrapper?f.options.wrapper:window).removeEventListener("scroll",K);(f.options.wrapper?f.options.wrapper:document).removeEventListener("touchmove",K);B=z(ca)},ca=function(){ja()&&!1===q?(V(),B=z(ca)):(B=null,window.addEventListener("resize",K),window.addEventListener("orientationchange",K),(f.options.wrapper?f.options.wrapper:window).addEventListener("scroll",K,H?{passive:!0}:!1),(f.options.wrapper?f.options.wrapper:document).addEventListener("touchmove",
K,H?{passive:!0}:!1))},V=function(){for(var y,w=0;w<f.elems.length;w++){var u=k[w].verticalScrollAxis.toLowerCase(),A=k[w].horizontalScrollAxis.toLowerCase();y=-1!=u.indexOf("x")?a:0;u=-1!=u.indexOf("y")?a:0;var L=-1!=A.indexOf("x")?e:0;A=-1!=A.indexOf("y")?e:0;y=U((y+L-k[w].left+h)/(k[w].width+h),(u+A-k[w].top+b)/(k[w].height+b),k[w].speed,k[w].verticalSpeed,k[w].horizontalSpeed);A=y.y-k[w].baseY;u=y.x-k[w].baseX;null!==k[w].min&&(f.options.vertical&&!f.options.horizontal&&(A=A<=k[w].min?k[w].min:
A),f.options.horizontal&&!f.options.vertical&&(u=u<=k[w].min?k[w].min:u));null!=k[w].minY&&(A=A<=k[w].minY?k[w].minY:A);null!=k[w].minX&&(u=u<=k[w].minX?k[w].minX:u);null!==k[w].max&&(f.options.vertical&&!f.options.horizontal&&(A=A>=k[w].max?k[w].max:A),f.options.horizontal&&!f.options.vertical&&(u=u>=k[w].max?k[w].max:u));null!=k[w].maxY&&(A=A>=k[w].maxY?k[w].maxY:A);null!=k[w].maxX&&(u=u>=k[w].maxX?k[w].maxX:u);f.elems[w].style[na]="translate3d("+(f.options.horizontal?u:"0")+"px,"+(f.options.vertical?
A:"0")+"px,"+k[w].zindex+"px) "+k[w].transform}f.options.callback(y)};f.destroy=function(){for(var y=0;y<f.elems.length;y++)f.elems[y].style.cssText=k[y].style;q||(window.removeEventListener("resize",T),q=!0);P(B);B=null};T();f.refresh=T;return f}console.warn("Rellax: The elements you're trying to select don't exist.")};return c});
(function(c,n,x,v){function f(a,b){this.settings=null;this.options=c.extend({},f.Defaults,b);this.$element=c(a);this._handlers={};this._plugins={};this._supress={};this._speed=this._current=null;this._coordinates=[];this._width=this._breakpoint=null;this._items=[];this._clones=[];this._mergers=[];this._widths=[];this._invalidated={};this._pipe=[];this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null};this._states={current:{},tags:{initializing:["busy"],animating:["busy"],
dragging:["interacting"]}};c.each(["onResize","onThrottledResize"],c.proxy(function(e,h){this._handlers[h]=c.proxy(this[h],this)},this));c.each(f.Plugins,c.proxy(function(e,h){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new h(this)},this));c.each(f.Workers,c.proxy(function(e,h){this._pipe.push({filter:h.filter,run:c.proxy(h.run,this)})},this));this.setup();this.initialize()}f.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,
margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",
grabClass:"owl-grab"};f.Width={Default:"default",Inner:"inner",Outer:"outer"};f.Type={Event:"event",State:"state"};f.Plugins={};f.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||
"",e=this.settings.rtl;b={width:"auto","margin-left":e?b:"","margin-right":e?"":b};this.settings.autoWidth&&this.$stage.children().css(b);a.css=b}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,e=this._items.length,h=!this.settings.autoWidth,k=[];for(a.items={merge:!1,width:b};e--;){var q=this._mergers[e];q=this.settings.mergeFit&&Math.min(q,this.settings.items)||q;a.items.merge=1<q||a.items.merge;k[e]=h?b*q:this._items[e].width()}this._widths=
k}},{filter:["items","settings"],run:function(){var a=[],b=this._items,e=this.settings,h=Math.max(2*e.items,4),k=2*Math.ceil(b.length/2);e=e.loop&&b.length?e.rewind?h:Math.max(h,k):0;k=h="";for(e/=2;0<e;)a.push(this.normalize(a.length/2,!0)),h+=b[a[a.length-1]][0].outerphp,a.push(this.normalize(b.length-1-(a.length-1)/2,!0)),k=b[a[a.length-1]][0].outerphp+k,--e;this._clones=a;c(h).addClass("cloned").appendTo(this.$stage);c(k).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items",
"settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,e=-1,h,k,q=[];++e<b;)h=q[e-1]||0,k=this._widths[this.relative(e)]+this.settings.margin,q.push(h+k*a);this._coordinates=q}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates;this.$stage.css({width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""})}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,
e=!this.settings.autoWidth,h=this.$stage.children();if(e&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],h.eq(b).css(a.css);else e&&(a.css.width=a.items.width,h.css(a.css))}},{filter:["items"],run:function(){1>this._coordinates.length&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0;a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current));this.reset(a.current)}},{filter:["position"],
run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a=this.settings.rtl?1:-1,b=2*this.settings.stagePadding,e=this.coordinates(this.current())+b,h=e+this.width()*a,k=[],q;var z=0;for(q=this._coordinates.length;z<q;z++){var B=this._coordinates[z-1]||0;var H=Math.abs(this._coordinates[z])+b*a;(this.op(B,"\x3c\x3d",e)&&this.op(B,"\x3e",h)||this.op(H,"\x3c",e)&&this.op(H,"\x3e",h))&&k.push(z)}this.$stage.children(".active").removeClass("active");
this.$stage.children(":eq("+k.join("), :eq(")+")").addClass("active");this.$stage.children(".center").removeClass("center");this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}];f.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass);this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=c("\x3c"+this.settings.stageElement+"\x3e",{"class":this.settings.stageClass}).wrap(c("\x3cdiv/\x3e",{"class":this.settings.stageOuterClass})),
this.$element.append(this.$stage.parent()))};f.prototype.initializeItems=function(){var a=this.$element.find(".owl-item");a.length?(this._items=a.get().map(function(b){return c(b)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))};f.prototype.initialize=function(){this.enter("initializing");
this.trigger("initialize");this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl);if(this.settings.autoWidth&&!this.is("pre-loading")){var a=this.$element.find("img");var b=this.$element.children(this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:v).width();a.length&&0>=b&&this.preloadAutoWidthImages(a)}this.initializeStage();this.initializeItems();this.registerEventHandlers();this.leave("initializing");this.trigger("initialized")};f.prototype.isVisible=function(){return this.settings.checkVisibility?
this.$element.is(":visible"):!0};f.prototype.setup=function(){var a=this.viewport(),b=this.options.responsive,e=-1,h=null;b?(c.each(b,function(k){k<=a&&k>e&&(e=Number(k))}),h=c.extend({},this.options,b[e]),"function"===typeof h.stagePadding&&(h.stagePadding=h.stagePadding()),delete h.responsive,h.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+e))):h=c.extend({},this.options);this.trigger("change",{property:{name:"settings",
value:h}});this._breakpoint=e;this.settings=h;this.invalidate("settings");this.trigger("changed",{property:{name:"settings",value:this.settings}})};f.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)};f.prototype.prepare=function(a){var b=this.trigger("prepare",{content:a});b.data||(b.data=c("\x3c"+this.settings.itemElement+"/\x3e").addClass(this.options.itemClass).append(a));this.trigger("prepared",{content:b.data});return b.data};f.prototype.update=
function(){for(var a=0,b=this._pipe.length,e=c.proxy(function(k){return this[k]},this._invalidated),h={};a<b;)(this._invalidated.all||0<c.grep(this._pipe[a].filter,e).length)&&this._pipe[a].run(h),a++;this._invalidated={};!this.is("valid")&&this.enter("valid")};f.prototype.width=function(a){a=a||f.Width.Default;switch(a){case f.Width.Inner:case f.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}};f.prototype.refresh=function(){this.enter("refreshing");
this.trigger("refresh");this.setup();this.optionsLogic();this.$element.addClass(this.options.refreshClass);this.update();this.$element.removeClass(this.options.refreshClass);this.leave("refreshing");this.trigger("refreshed")};f.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer);this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)};f.prototype.onResize=function(){if(!this._items.length||this._width===this.$element.width()||!this.isVisible())return!1;
this.enter("resizing");if(this.trigger("resize").isDefaultPrevented())return this.leave("resizing"),!1;this.invalidate("width");this.refresh();this.leave("resizing");this.trigger("resized")};f.prototype.registerEventHandlers=function(){if(c.support.transition)this.$stage.on(c.support.transition.end+".owl.core",c.proxy(this.onTransitionEnd,this));if(!1!==this.settings.responsive)this.on(n,"resize",this._handlers.onThrottledResize);this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),
this.$stage.on("mousedown.owl.core",c.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1}));this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",c.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",c.proxy(this.onDragEnd,this)))};f.prototype.onDragStart=function(a){var b=null;3!==a.which&&(c.support.transform?(b=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),b={x:b[16===b.length?12:4],y:b[16===b.length?
13:5]}):(b=this.$stage.position(),b={x:this.settings.rtl?b.left+this.$stage.width()-this.width()+this.settings.margin:b.left,y:b.top}),this.is("animating")&&(c.support.transform?this.animate(b.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===a.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=c(a.target),this._drag.stage.start=b,this._drag.stage.current=b,this._drag.pointer=this.pointer(a),c(x).on("mouseup.owl.core touchend.owl.core",
c.proxy(this.onDragEnd,this)),c(x).one("mousemove.owl.core touchmove.owl.core",c.proxy(function(e){var h=this.difference(this._drag.pointer,this.pointer(e));c(x).on("mousemove.owl.core touchmove.owl.core",c.proxy(this.onDragMove,this));Math.abs(h.x)<Math.abs(h.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))};f.prototype.onDragMove=function(a){var b=this.difference(this._drag.pointer,this.pointer(a));var e=this.difference(this._drag.stage.start,b);if(this.is("dragging")){a.preventDefault();
if(this.settings.loop){a=this.coordinates(this.minimum());var h=this.coordinates(this.maximum()+1)-a;e.x=((e.x-a)%h+h)%h+a}else a=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),h=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),b=this.settings.pullDrag?-1*b.x/5:0,e.x=Math.max(Math.min(e.x,a+b),h+b);this._drag.stage.current=e;this.animate(e.x)}};f.prototype.onDragEnd=function(a){a=this.difference(this._drag.pointer,this.pointer(a));
var b=this._drag.stage.current,e=0<a.x^this.settings.rtl?"left":"right";c(x).off(".owl.core");this.$element.removeClass(this.options.grabClass);if(0!==a.x&&this.is("dragging")||!this.is("valid"))if(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(b.x,0!==a.x?e:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=e,3<Math.abs(a.x)||300<(new Date).getTime()-this._drag.time)this._drag.target.one("click.owl.core",function(){return!1});
this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))};f.prototype.closest=function(a,b){var e=-1,h=this.width(),k=this.coordinates();this.settings.freeDrag||c.each(k,c.proxy(function(q,z){"left"===b&&a>z-30&&a<z+30?e=q:"right"===b&&a>z-h-30&&a<z-h+30?e=q+1:this.op(a,"\x3c",z)&&this.op(a,"\x3e",k[q+1]!==v?k[q+1]:z-h)&&(e="left"===b?q+1:q);return-1===e},this));this.settings.loop||(this.op(a,"\x3e",k[this.minimum()])?e=a=this.minimum():this.op(a,"\x3c",k[this.maximum()])&&(e=a=this.maximum()));
return e};f.prototype.animate=function(a){var b=0<this.speed();this.is("animating")&&this.onTransitionEnd();b&&(this.enter("animating"),this.trigger("translate"));c.support.transform3d&&c.support.transition?this.$stage.css({transform:"translate3d("+a+"px,0px,0px)",transition:this.speed()/1E3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):b?this.$stage.animate({left:a+"px"},this.speed(),this.settings.fallbackEasing,c.proxy(this.onTransitionEnd,this)):this.$stage.css({left:a+
"px"})};f.prototype.is=function(a){return this._states.current[a]&&0<this._states.current[a]};f.prototype.current=function(a){if(a===v)return this._current;if(0===this._items.length)return v;a=this.normalize(a);if(this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==v&&(a=this.normalize(b.data));this._current=a;this.invalidate("position");this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current};f.prototype.invalidate=function(a){"string"===
c.type(a)&&(this._invalidated[a]=!0,this.is("valid")&&this.leave("valid"));return c.map(this._invalidated,function(b,e){return e})};f.prototype.reset=function(a){a=this.normalize(a);a!==v&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))};f.prototype.normalize=function(a,b){var e=this._items.length;b=b?0:this._clones.length;if(!this.isNumeric(a)||1>e)a=v;else if(0>a||a>=e+b)a=((a-b/2)%e+e)%e+b/2;return a};
f.prototype.relative=function(a){a-=this._clones.length/2;return this.normalize(a,!0)};f.prototype.maximum=function(a){var b=this.settings,e;if(b.loop)b=this._clones.length/2+this._items.length-1;else if(b.autoWidth||b.merge){if(b=this._items.length){var h=this._items[--b].width();for(e=this.$element.width();b--&&!(h+=this._items[b].width()+this.settings.margin,h>e););}b+=1}else b=b.center?this._items.length-1:this._items.length-b.items;a&&(b-=this._clones.length/2);return Math.max(b,0)};f.prototype.minimum=
function(a){return a?0:this._clones.length/2};f.prototype.items=function(a){if(a===v)return this._items.slice();a=this.normalize(a,!0);return this._items[a]};f.prototype.mergers=function(a){if(a===v)return this._mergers.slice();a=this.normalize(a,!0);return this._mergers[a]};f.prototype.clones=function(a){var b=this._clones.length/2,e=b+this._items.length;return a===v?c.map(this._clones,function(h,k){return 0===k%2?e+k/2:b-(k+1)/2}):c.map(this._clones,function(h,k){return h===a?0===k%2?e+k/2:b-(k+
1)/2:null})};f.prototype.speed=function(a){a!==v&&(this._speed=a);return this._speed};f.prototype.coordinates=function(a){var b=1,e=a-1;if(a===v)return c.map(this._coordinates,c.proxy(function(h,k){return this.coordinates(k)},this));this.settings.center?(this.settings.rtl&&(b=-1,e=a+1),a=this._coordinates[a],a+=(this.width()-a+(this._coordinates[e]||0))/2*b):a=this._coordinates[e]||0;return a=Math.ceil(a)};f.prototype.duration=function(a,b,e){return 0===e?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(e||
this.settings.smartSpeed)};f.prototype.to=function(a,b){var e=this.current(),h=a-this.relative(e);var k=(0<h)-(0>h);var q=this._items.length,z=this.minimum(),B=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(h)>q/2&&(h+=-1*k*q),a=e+h,k=((a-z)%q+q)%q+z,k!==a&&k-h<=B&&0<k-h&&(e=k-h,a=k,this.reset(e))):this.settings.rewind?(B+=1,a=(a%B+B)%B):a=Math.max(z,Math.min(B,a));this.speed(this.duration(e,a,b));this.current(a);this.isVisible()&&this.update()};f.prototype.next=function(a){a=
a||!1;this.to(this.relative(this.current())+1,a)};f.prototype.prev=function(a){a=a||!1;this.to(this.relative(this.current())-1,a)};f.prototype.onTransitionEnd=function(a){if(a!==v&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating");this.trigger("translated")};f.prototype.viewport=function(){var a;this.options.responsiveBaseElement!==n?a=c(this.options.responsiveBaseElement).width():n.innerWidth?a=n.innerWidth:x.documentElement&&x.documentElement.clientWidth?
a=x.documentElement.clientWidth:console.warn("Can not detect viewport width.");return a};f.prototype.replace=function(a){this.$stage.empty();this._items=[];a&&(a=a instanceof jQuery?a:c(a));this.settings.nestedItemSelector&&(a=a.find("."+this.settings.nestedItemSelector));a.filter(function(){return 1===this.nodeType}).each(c.proxy(function(b,e){e=this.prepare(e);this.$stage.append(e);this._items.push(e);this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this));
this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0);this.invalidate("items")};f.prototype.add=function(a,b){var e=this.relative(this._current);b=b===v?this._items.length:this.normalize(b,!0);a=a instanceof jQuery?a:c(a);this.trigger("add",{content:a,position:b});a=this.prepare(a);0===this._items.length||b===this._items.length?(0===this._items.length&&this.$stage.append(a),0!==this._items.length&&this._items[b-1].after(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||
1)):(this._items[b].before(a),this._items.splice(b,0,a),this._mergers.splice(b,0,1*a.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1));this._items[e]&&this.reset(this._items[e].index());this.invalidate("items");this.trigger("added",{content:a,position:b})};f.prototype.remove=function(a){a=this.normalize(a,!0);a!==v&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",
{content:null,position:a}))};f.prototype.preloadAutoWidthImages=function(a){a.each(c.proxy(function(b,e){this.enter("pre-loading");e=c(e);c(new Image).one("load",c.proxy(function(h){e.attr("src",h.target.src);e.css("opacity",1);this.leave("pre-loading");this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))};f.prototype.destroy=function(){this.$element.off(".owl.core");this.$stage.off(".owl.core");c(x).off(".owl.core");
!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize));for(var a in this._plugins)this._plugins[a].destroy();this.$stage.children(".cloned").remove();this.$stage.unwrap();this.$stage.children().contents().unwrap();this.$stage.children().unwrap();this.$stage.remove();this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",
this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")};f.prototype.op=function(a,b,e){var h=this.settings.rtl;switch(b){case "\x3c":return h?a>e:a<e;case "\x3e":return h?a<e:a>e;case "\x3e\x3d":return h?a<=e:a>=e;case "\x3c\x3d":return h?a>=e:a<=e}};f.prototype.on=function(a,b,e,h){a.addEventListener?a.addEventListener(b,e,h):a.attachEvent&&a.attachEvent("on"+b,e)};f.prototype.off=function(a,b,e,h){a.removeEventListener?a.removeEventListener(b,
e,h):a.detachEvent&&a.detachEvent("on"+b,e)};f.prototype.trigger=function(a,b,e,h,k){h={item:{count:this._items.length,index:this.current()}};k=c.camelCase(c.grep(["on",a,e],function(z){return z}).join("-").toLowerCase());var q=c.Event([a,"owl",e||"carousel"].join(".").toLowerCase(),c.extend({relatedTarget:this},h,b));this._supress[a]||(c.each(this._plugins,function(z,B){if(B.onTrigger)B.onTrigger(q)}),this.register({type:f.Type.Event,name:a}),this.$element.trigger(q),this.settings&&"function"===
typeof this.settings[k]&&this.settings[k].call(this,q));return q};f.prototype.enter=function(a){c.each([a].concat(this._states.tags[a]||[]),c.proxy(function(b,e){this._states.current[e]===v&&(this._states.current[e]=0);this._states.current[e]++},this))};f.prototype.leave=function(a){c.each([a].concat(this._states.tags[a]||[]),c.proxy(function(b,e){this._states.current[e]--},this))};f.prototype.register=function(a){if(a.type===f.Type.Event){if(c.event.special[a.name]||(c.event.special[a.name]={}),
!c.event.special[a.name].owl){var b=c.event.special[a.name]._default;c.event.special[a.name]._default=function(e){return!b||!b.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&-1<e.namespace.indexOf("owl"):b.apply(this,arguments)};c.event.special[a.name].owl=!0}}else a.type===f.Type.State&&(this._states.tags[a.name]=this._states.tags[a.name]?this._states.tags[a.name].concat(a.tags):a.tags,this._states.tags[a.name]=c.grep(this._states.tags[a.name],c.proxy(function(e,h){return c.inArray(e,
this._states.tags[a.name])===h},this)))};f.prototype.suppress=function(a){c.each(a,c.proxy(function(b,e){this._supress[e]=!0},this))};f.prototype.release=function(a){c.each(a,c.proxy(function(b,e){delete this._supress[e]},this))};f.prototype.pointer=function(a){var b={x:null,y:null};a=a.originalEvent||a||n.event;a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a;a.pageX?(b.x=a.pageX,b.y=a.pageY):(b.x=a.clientX,b.y=a.clientY);return b};f.prototype.isNumeric=
function(a){return!isNaN(parseFloat(a))};f.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}};c.fn.owlCarousel=function(a){var b=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=c(this),h=e.data("owl.carousel");h||(h=new f(this,"object"==typeof a&&a),e.data("owl.carousel",h),c.each("next prev to destroy refresh replace add remove".split(" "),function(k,q){h.register({type:f.Type.Event,name:q});h.$element.on(q+".owl.carousel.core",c.proxy(function(z){z.namespace&&
z.relatedTarget!==this&&(this.suppress([q]),h[q].apply(this,[].slice.call(arguments,1)),this.release([q]))},h))}));"string"==typeof a&&"_"!==a.charAt(0)&&h[a].apply(h,b)})};c.fn.owlCarousel.Constructor=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._visible=this._interval=null;this._handlers={"initialized.owl.carousel":c.proxy(function(b){b.namespace&&this._core.settings.autoRefresh&&this.watch()},this)};this._core.options=c.extend({},f.Defaults,this._core.options);this._core.$element.on(this._handlers)};f.Defaults={autoRefresh:!0,autoRefreshInterval:500};f.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=n.setInterval(c.proxy(this.refresh,
this),this._core.settings.autoRefreshInterval))};f.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())};f.prototype.destroy=function(){var a,b;n.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)};
c.fn.owlCarousel.Constructor.Plugins.AutoRefresh=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._loaded=[];this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":c.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var e=this._core.settings,h=e.center&&Math.ceil(e.items/2)||e.items,k=e.center&&-1*h||0;b=(b.property&&b.property.value!==v?b.property.value:this._core.current())+k;var q=this._core.clones().length,
z=c.proxy(function(B,H){this.load(H)},this);0<e.lazyLoadEager&&(h+=e.lazyLoadEager,e.loop&&(b-=e.lazyLoadEager,h++));for(;k++<h;)this.load(q/2+this._core.relative(b)),q&&c.each(this._core.clones(this._core.relative(b)),z),b++}},this)};this._core.options=c.extend({},f.Defaults,this._core.options);this._core.$element.on(this._handlers)};f.Defaults={lazyLoad:!1,lazyLoadEager:0};f.prototype.load=function(a){var b=(a=this._core.$stage.children().eq(a))&&a.find(".owl-lazy");!b||-1<c.inArray(a.get(0),this._loaded)||
(b.each(c.proxy(function(e,h){var k=c(h),q=1<n.devicePixelRatio&&k.attr("data-src-retina")||k.attr("data-src")||k.attr("data-srcset");this._core.trigger("load",{element:k,url:q},"lazy");k.is("img")?k.one("load.owl.lazy",c.proxy(function(){k.css("opacity",1);this._core.trigger("loaded",{element:k,url:q},"lazy")},this)).attr("src",q):k.is("source")?k.one("load.owl.lazy",c.proxy(function(){this._core.trigger("loaded",{element:k,url:q},"lazy")},this)).attr("srcset",q):(e=new Image,e.onload=c.proxy(function(){k.css({"background-image":'url("'+
q+'")',opacity:"1"});this._core.trigger("loaded",{element:k,url:q},"lazy")},this),e.src=q)},this)),this._loaded.push(a.get(0)))};f.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)};c.fn.owlCarousel.Constructor.Plugins.Lazy=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._previousHeight=null;this._handlers={"initialized.owl.carousel refreshed.owl.carousel":c.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":c.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":c.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===
this._core.current()&&this.update()},this)};this._core.options=c.extend({},f.Defaults,this._core.options);this._core.$element.on(this._handlers);this._intervalId=null;var b=this;c(n).on("load",function(){b._core.settings.autoHeight&&b.update()});c(n).resize(function(){b._core.settings.autoHeight&&(null!=b._intervalId&&clearTimeout(b._intervalId),b._intervalId=setTimeout(function(){b.update()},250))})};f.Defaults={autoHeight:!1,autoHeightClass:"owl-height"};f.prototype.update=function(){var a=this._core._current,
b=a+this._core.settings.items,e=this._core.settings.lazyLoad;a=this._core.$stage.children().toArray().slice(a,b);var h=[];b=0;c.each(a,function(k,q){h.push(c(q).height())});b=Math.max.apply(null,h);1>=b&&e&&this._previousHeight&&(b=this._previousHeight);this._previousHeight=b;this._core.$stage.parent().height(b).addClass(this._core.settings.autoHeightClass)};f.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!==
typeof this[b]&&(this[b]=null)};c.fn.owlCarousel.Constructor.Plugins.AutoHeight=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._videos={};this._playing=null;this._handlers={"initialized.owl.carousel":c.proxy(function(b){b.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":c.proxy(function(b){b.namespace&&this._core.settings.video&&this.isInFullScreen()&&b.preventDefault()},this),"refreshed.owl.carousel":c.proxy(function(b){b.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},
this),"changed.owl.carousel":c.proxy(function(b){b.namespace&&"position"===b.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":c.proxy(function(b){if(b.namespace){var e=c(b.content).find(".owl-video");e.length&&(e.css("display","none"),this.fetch(e,c(b.content)))}},this)};this._core.options=c.extend({},f.Defaults,this._core.options);this._core.$element.on(this._handlers);this._core.$element.on("click.owl.video",".owl-video-play-icon",c.proxy(function(b){this.play(b)},this))};
f.Defaults={video:!1,videoHeight:!1,videoWidth:!1};f.prototype.fetch=function(a,b){a.attr("data-vimeo-id")||a.attr("data-vzaar-id");a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id");var e=a.attr("data-width")||this._core.settings.videoWidth,h=a.attr("data-height")||this._core.settings.videoHeight,k=a.attr("href");if(k){var q=k.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(&\S+)?/);
if(-1<q[3].indexOf("youtu"))var z="youtube";else if(-1<q[3].indexOf("vimeo"))z="vimeo";else if(-1<q[3].indexOf("vzaar"))z="vzaar";else throw Error("Video URL not supported.");q=q[6]}else throw Error("Missing video URL.");this._videos[k]={type:z,id:q,width:e,height:h};b.attr("data-video",k);this.thumbnail(a,this._videos[k])};f.prototype.thumbnail=function(a,b){var e,h=b.width&&b.height?"width:"+b.width+"px;height:"+b.height+"px;":"",k=a.find("img"),q="src",z="",B=this._core.settings,H=function(P){e=
B.lazyLoad?c("\x3cdiv/\x3e",{"class":"owl-video-tn "+z,srcType:P}):c("\x3cdiv/\x3e",{"class":"owl-video-tn",style:"opacity:1;background-image:url("+P+")"});a.after(e);a.after('\x3cdiv class\x3d"owl-video-play-icon"\x3e\x3c/div\x3e')};a.wrap(c("\x3cdiv/\x3e",{"class":"owl-video-wrapper",style:h}));this._core.settings.lazyLoad&&(q="data-src",z="owl-lazy");if(k.length)return H(k.attr(q)),k.remove(),!1;if("youtube"===b.type){var O="//img.youtube.com/vi/"+b.id+"/hqdefault.jpg";H(O)}else"vimeo"===b.type?
c.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+b.id+".json",jsonp:"callback",dataType:"jsonp",success:function(P){O=P[0].thumbnail_large;H(O)}}):"vzaar"===b.type&&c.ajax({type:"GET",url:"//vzaar.com/api/videos/"+b.id+".json",jsonp:"callback",dataType:"jsonp",success:function(P){O=P.framegrab_url;H(O)}})};f.prototype.stop=function(){this._core.trigger("stop",null,"video");this._playing.find(".owl-video-frame").remove();this._playing.removeClass("owl-video-playing");this._playing=null;this._core.leave("playing");
this._core.trigger("stopped",null,"video")};f.prototype.play=function(a){a=c(a.target).closest("."+this._core.settings.itemClass);var b=this._videos[a.attr("data-video")],e=b.width||"100%",h=b.height||this._core.$stage.height();if(!this._playing){this._core.enter("playing");this._core.trigger("play",null,"video");a=this._core.items(this._core.relative(a.index()));this._core.reset(a.index());var k=c('\x3ciframe frameborder\x3d"0" allowfullscreen mozallowfullscreen webkitAllowFullScreen \x3e\x3c/iframe\x3e');
k.attr("height",h);k.attr("width",e);"youtube"===b.type?k.attr("src","//www.youtube.com/embed/"+b.id+"?autoplay\x3d1\x26rel\x3d0\x26v\x3d"+b.id):"vimeo"===b.type?k.attr("src","//player.vimeo.com/video/"+b.id+"?autoplay\x3d1"):"vzaar"===b.type&&k.attr("src","//view.vzaar.com/"+b.id+"/player?autoplay\x3dtrue");c(k).wrap('\x3cdiv class\x3d"owl-video-frame" /\x3e').insertAfter(a.find(".owl-video"));this._playing=a.addClass("owl-video-playing")}};f.prototype.isInFullScreen=function(){var a=x.fullscreenElement||
x.mozFullScreenElement||x.webkitFullscreenElement;return a&&c(a).parent().hasClass("owl-video-frame")};f.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)};c.fn.owlCarousel.Constructor.Plugins.Video=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this.core=a;this.core.options=c.extend({},f.Defaults,this.core.options);this.swapping=!0;this.next=this.previous=v;this.handlers={"change.owl.carousel":c.proxy(function(b){b.namespace&&"position"==b.property.name&&(this.previous=this.core.current(),this.next=b.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":c.proxy(function(b){b.namespace&&(this.swapping="translated"==b.type)},this),"translate.owl.carousel":c.proxy(function(b){b.namespace&&
this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)};this.core.$element.on(this.handlers)};f.Defaults={animateOut:!1,animateIn:!1};f.prototype.swap=function(){if(1===this.core.settings.items&&c.support.animation&&c.support.transition){this.core.speed(0);var a=c.proxy(this.clear,this),b=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),h=this.core.settings.animateIn,k=this.core.settings.animateOut;if(this.core.current()!==
this.previous){if(k){var q=this.core.coordinates(this.previous)-this.core.coordinates(this.next);b.one(c.support.animation.end,a).css({left:q+"px"}).addClass("animated owl-animated-out").addClass(k)}h&&e.one(c.support.animation.end,a).addClass("animated owl-animated-in").addClass(h)}}};f.prototype.clear=function(a){c(a.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut);this.core.onTransitionEnd()};
f.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)};c.fn.owlCarousel.Constructor.Plugins.Animate=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._call=null;this._timeout=this._time=0;this._paused=!0;this._handlers={"changed.owl.carousel":c.proxy(function(b){b.namespace&&"settings"===b.property.name?this._core.settings.autoplay?this.play():this.stop():b.namespace&&"position"===b.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":c.proxy(function(b){b.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":c.proxy(function(b,e,h){b.namespace&&
this.play(e,h)},this),"stop.owl.autoplay":c.proxy(function(b){b.namespace&&this.stop()},this),"mouseover.owl.autoplay":c.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":c.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":c.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":c.proxy(function(){this._core.settings.autoplayHoverPause&&
this.play()},this)};this._core.$element.on(this._handlers);this._core.options=c.extend({},f.Defaults,this._core.options)};f.Defaults={autoplay:!1,autoplayTimeout:5E3,autoplayHoverPause:!1,autoplaySpeed:!1};f.prototype._next=function(a){this._call=n.setTimeout(c.proxy(this._next,this,a),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read());this._core.is("interacting")||x.hidden||this._core.next(a||this._core.settings.autoplaySpeed)};f.prototype.read=function(){return(new Date).getTime()-
this._time};f.prototype.play=function(a,b){this._core.is("rotating")||this._core.enter("rotating");a=a||this._core.settings.autoplayTimeout;var e=Math.min(this._time%(this._timeout||a),a);this._paused?(this._time=this.read(),this._paused=!1):n.clearTimeout(this._call);this._time+=this.read()%a-e;this._timeout=a;this._call=n.setTimeout(c.proxy(this._next,this,b),a-e)};f.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,n.clearTimeout(this._call),this._core.leave("rotating"))};
f.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,n.clearTimeout(this._call))};f.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)};c.fn.owlCarousel.Constructor.Plugins.autoplay=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._initialized=!1;this._pages=[];this._controls={};this._templates=[];this.$element=this._core.$element;this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to};this._handlers={"prepared.owl.carousel":c.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('\x3cdiv class\x3d"'+this._core.settings.dotClass+'"\x3e'+c(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"\x3c/div\x3e")},
this),"added.owl.carousel":c.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.splice(b.position,0,this._templates.pop())},this),"remove.owl.carousel":c.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.splice(b.position,1)},this),"changed.owl.carousel":c.proxy(function(b){b.namespace&&"position"==b.property.name&&this.draw()},this),"initialized.owl.carousel":c.proxy(function(b){b.namespace&&!this._initialized&&(this._core.trigger("initialize",
null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":c.proxy(function(b){b.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)};this._core.options=c.extend({},f.Defaults,this._core.options);this.$element.on(this._handlers)};f.Defaults={nav:!1,navText:['\x3cspan aria-label\x3d"Previous"\x3e\x26#x2039;\x3c/span\x3e',
'\x3cspan aria-label\x3d"Next"\x3e\x26#x203a;\x3c/span\x3e'],navSpeed:!1,navElement:'button type\x3d"button" role\x3d"presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1};f.prototype.initialize=function(){var a,b=this._core.settings;this._controls.$relative=(b.navContainer?c(b.navContainer):c("\x3cdiv\x3e").addClass(b.navContainerClass).appendTo(this.$element)).addClass("disabled");
this._controls.$previous=c("\x3c"+b.navElement+"\x3e").addClass(b.navClass[0]).php(b.navText[0]).prependTo(this._controls.$relative).on("click",c.proxy(function(e){this.prev(b.navSpeed)},this));this._controls.$next=c("\x3c"+b.navElement+"\x3e").addClass(b.navClass[1]).php(b.navText[1]).appendTo(this._controls.$relative).on("click",c.proxy(function(e){this.next(b.navSpeed)},this));b.dotsData||(this._templates=[c('\x3cbutton role\x3d"button"\x3e').addClass(b.dotClass).append(c("\x3cspan\x3e")).prop("outerphp")]);
this._controls.$absolute=(b.dotsContainer?c(b.dotsContainer):c("\x3cdiv\x3e").addClass(b.dotsClass).appendTo(this.$element)).addClass("disabled");this._controls.$absolute.on("click","button",c.proxy(function(e){var h=c(e.target).parent().is(this._controls.$absolute)?c(e.target).index():c(e.target).parent().index();e.preventDefault();this.to(h,b.dotsSpeed)},this));for(a in this._overrides)this._core[a]=c.proxy(this[a],this)};f.prototype.destroy=function(){var a,b,e,h;var k=this._core.settings;for(a in this._handlers)this.$element.off(a,
this._handlers[a]);for(b in this._controls)"$relative"===b&&k.navContainer?this._controls[b].php(""):this._controls[b].remove();for(h in this.overides)this._core[h]=this._overrides[h];for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)};f.prototype.update=function(){var a,b,e=this._core.clones().length/2,h=e+this._core.items().length,k=this._core.maximum(!0);var q=this._core.settings;var z=q.center||q.autoWidth||q.dotsData?1:q.dotsEach||q.items;"page"!==q.slideBy&&
(q.slideBy=Math.min(q.slideBy,q.items));if(q.dots||"page"==q.slideBy)for(this._pages=[],q=e,b=a=0;q<h;q++){if(a>=z||0===a){this._pages.push({start:Math.min(k,q-e),end:q-e+z-1});if(Math.min(k,q-e)===k)break;a=0;++b}a+=this._core.mergers(this._core.relative(q))}};f.prototype.draw=function(){var a=this._core.settings;var b=this._core.items().length<=a.items;var e=this._core.relative(this._core.current()),h=a.loop||a.rewind;this._controls.$relative.toggleClass("disabled",!a.nav||b);a.nav&&(this._controls.$previous.toggleClass("disabled",
!h&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!h&&e>=this._core.maximum(!0)));this._controls.$absolute.toggleClass("disabled",!a.dots||b);a.dots&&(b=this._pages.length-this._controls.$absolute.children().length,a.dotsData&&0!==b?this._controls.$absolute.php(this._templates.join("")):0<b?this._controls.$absolute.append(Array(b+1).join(this._templates[0])):0>b&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),
this._controls.$absolute.children().eq(c.inArray(this.current(),this._pages)).addClass("active"))};f.prototype.onTrigger=function(a){var b=this._core.settings;a.page={index:c.inArray(this.current(),this._pages),count:this._pages.length,size:b&&(b.center||b.autoWidth||b.dotsData?1:b.dotsEach||b.items)}};f.prototype.current=function(){var a=this._core.relative(this._core.current());return c.grep(this._pages,c.proxy(function(b,e){return b.start<=a&&b.end>=a},this)).pop()};f.prototype.getPosition=function(a){var b=
this._core.settings;if("page"==b.slideBy){var e=c.inArray(this.current(),this._pages);b=this._pages.length;a?++e:--e;e=this._pages[(e%b+b)%b].start}else e=this._core.relative(this._core.current()),this._core.items(),a?e+=b.slideBy:e-=b.slideBy;return e};f.prototype.next=function(a){c.proxy(this._overrides.to,this._core)(this.getPosition(!0),a)};f.prototype.prev=function(a){c.proxy(this._overrides.to,this._core)(this.getPosition(!1),a)};f.prototype.to=function(a,b,e){!e&&this._pages.length?(e=this._pages.length,
c.proxy(this._overrides.to,this._core)(this._pages[(a%e+e)%e].start,b)):c.proxy(this._overrides.to,this._core)(a,b)};c.fn.owlCarousel.Constructor.Plugins.Navigation=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){var f=function(a){this._core=a;this._hashes={};this.$element=this._core.$element;this._handlers={"initialized.owl.carousel":c.proxy(function(b){b.namespace&&"URLHash"===this._core.settings.startPosition&&c(n).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":c.proxy(function(b){if(b.namespace){var e=c(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");e&&(this._hashes[e]=b.content)}},this),"changed.owl.carousel":c.proxy(function(b){if(b.namespace&&
"position"===b.property.name){var e=this._core.items(this._core.relative(this._core.current()));(b=c.map(this._hashes,function(h,k){return h===e?k:null}).join())&&n.location.hash.slice(1)!==b&&(n.location.hash=b)}},this)};this._core.options=c.extend({},f.Defaults,this._core.options);this.$element.on(this._handlers);c(n).on("hashchange.owl.navigation",c.proxy(function(b){b=n.location.hash.substring(1);var e=this._core.$stage.children();b=this._hashes[b]&&e.index(this._hashes[b]);b!==v&&b!==this._core.current()&&
this._core.to(this._core.relative(b),!1,!0)},this))};f.Defaults={URLhashListener:!1};f.prototype.destroy=function(){var a,b;c(n).off("hashchange.owl.navigation");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)};c.fn.owlCarousel.Constructor.Plugins.Hash=f})(window.Zepto||window.jQuery,window,document);
(function(c,n,x,v){function f(h,k){var q=!1,z=h.charAt(0).toUpperCase()+h.slice(1);c.each((h+" "+b.join(z+" ")+z).split(" "),function(B,H){if(a[H]!==v)return q=k?H:!0,!1});return q}var a=c("\x3csupport\x3e").get(0).style,b=["Webkit","Moz","O","ms"];n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"};x={WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"};var e=
{csstransforms:function(){return!!f("transform")},csstransforms3d:function(){return!!f("perspective")},csstransitions:function(){return!!f("transition")},cssanimations:function(){return!!f("animation")}};e.csstransitions()&&(c.support.transition=new String(f("transition",!0)),c.support.transition.end=n[c.support.transition]);e.cssanimations()&&(c.support.animation=new String(f("animation",!0)),c.support.animation.end=x[c.support.animation]);e.csstransforms()&&(c.support.transform=new String(f("transform",
!0)),c.support.transform3d=e.csstransforms3d())})(window.Zepto||window.jQuery,window,document);TrendMicro.ConsumerAccordion=function(){};
TrendMicro.ConsumerAccordion.prototype.init=function(c,n){this.el=c||{};this.multiple=n||!1;this.el.find(".link").on("click",{el:this.el,multiple:this.multiple},this.dropdownOnClick);this.navMenuOnClick();this.onResize();this.documentClick();window.onscroll=function(){window.pageYOffset>=v?x.classList.add("sticky"):x.classList.remove("sticky")};var x=document.querySelector(".consumerHeader .nav-container"),v=x.offsetTop};
TrendMicro.ConsumerAccordion.prototype.onScroll=function(){$(".consumerHeader .menu-wrapper").on("click",function(){$(".consumerHeader .accordion").fadeToggle().toggleClass("active")})};TrendMicro.ConsumerAccordion.prototype.navMenuOnClick=function(){$(".consumerHeader .menu-wrapper").on("click",function(){$(".consumerHeader .accordion").fadeToggle().toggleClass("active")})};
TrendMicro.ConsumerAccordion.prototype.dropdownOnClick=function(c){var n=c.data.el;$this=$(this);$next=$this.next();1024>$(window).width()?$next.slideToggle():1024<=$(window).width()&&$next.fadeToggle();$this.parent().toggleClass("open");c.data.multiple||(1024>$(window).width()?n.find(".submenu").not($next).slideUp().parent().removeClass("open"):1024<=$(window).width()&&n.find(".submenu").not($next).fadeOut().parent().removeClass("open"))};
TrendMicro.ConsumerAccordion.prototype.onResize=function(){$(window).resize(function(){1024>$(window).width()&&$(".consumerHeader .accordion").attr("style","display:none");1024<=$(window).width()&&$(".consumerHeader .accordion").removeAttr("style")})};
TrendMicro.ConsumerAccordion.prototype.documentClick=function(){$(document).on("click",function(c){var n=$(".consumerHeader .accordion \x3e li").hasClass("open");$(c.target).closest(".consumerHeader .accordion \x3e li").length||$(c.target).is(".consumerHeader .accordion \x3e li")||!0!==n||($(".consumerHeader .accordion \x3e li").removeClass("open"),1024>$(window).width()?$(".consumerHeader .accordion .submenu").slideUp():1024<=$(window).width()&&$(".consumerHeader .accordion .submenu").fadeOut())})};
var consumerAccordionObject=new TrendMicro.ConsumerAccordion;$(document).ready(function(){var c=$(".consumerHeader .accordion");0<c.length&&consumerAccordionObject.init(c,!1)});TrendMicro.ConsumerHeader=function(){};TrendMicro.ConsumerHeader.prototype.init=function(){$(".consumerHeader .top-info-bar a.business-toggle-link").on("click",function(c){c.preventDefault();toggleComponent.setBusinessModeCookie(this);window.location=this.href})};var consumerHeader=new TrendMicro.ConsumerHeader;$(document).ready(function(){consumerHeader.init()});
TrendMicro.ConsumerSearch=function(){};TrendMicro.ConsumerSearch.prototype.init=function(){this.onClickToggle();this.closeSearchBar();this.documentClick()};
TrendMicro.ConsumerSearch.prototype.onClickToggle=function(){$(".consumerHeader .search-wrapper").on("click",function(){$(".consumerHeader .search-bar").fadeToggle();$(".consumerHeader .search-bar input.gsc-input").focus();$(this).toggleClass("open");1024>$(window).width()&&$(".consumerHeader .accordion").hasClass("active")&&$(".consumerHeader .accordion").removeClass("active").css("display","none")})};
TrendMicro.ConsumerSearch.prototype.closeSearchBar=function(){$(".consumerHeader .icon-close").on("click",function(){$(".consumerHeader .content-right").find(".search-wrapper").removeClass("open");$(".consumerHeader .search-bar").fadeOut();$(".consumerHeader .search-bar .gsc-input").val("")})};
TrendMicro.ConsumerSearch.prototype.documentClick=function(){$(document).on("click",function(c){var n=$(".consumerHeader .content-right .link").hasClass("open");$(c.target).closest(".consumerHeader .content-right .link").length||$(".consumerHeader .search-bar input").is(c.target)||!0!==n||($(".consumerHeader .content-right .link").removeClass("open"),$(".consumerHeader .search-bar").fadeOut(),$(".consumerHeader .search-bar .gsc-input").val(""))})};var consumerSearchObject=new TrendMicro.ConsumerSearch;
$(document).ready(function(){consumerSearchObject.init()});TrendMicro.ConsumerAccordionV2=function(){};
TrendMicro.ConsumerAccordionV2.prototype.init=function(c,n){this.el=c||{};this.multiple=n||!1;this.el.find(".link").on("click",{el:this.el,multiple:this.multiple},this.dropdownOnClick);this.navMenuOnClick();this.onResize();this.documentClick();window.onscroll=function(){window.pageYOffset>v?x.classList.add("sticky"):x.classList.remove("sticky")};var x=document.querySelector(".consumerHeaderV2 .nav-container"),v=x.offsetTop};
TrendMicro.ConsumerAccordionV2.prototype.navMenuOnClick=function(){$(".consumerHeaderV2 .menu-wrapper").on("click",function(){$(".consumerHeaderV2 .accordion").fadeToggle().toggleClass("active");$(".consumerHeaderV2 .search-bar input.gsc-input").val("");$(".consumerHeaderV2 .accordion").hasClass("active")?$(".consumerHeaderV2 .nav-container").addClass("mobile-menu-open"):$(".consumerHeaderV2 .nav-container").removeClass("mobile-menu-open")})};
TrendMicro.ConsumerAccordionV2.prototype.dropdownOnClick=function(c){var n=c.data.el;$this=$(this);$next=$this.next();1024>$(window).width()?$next.slideToggle():1024<=$(window).width()&&$next.fadeToggle();$this[0].classList.contains("dropdown-toggle")&&$this.parent().toggleClass("open");c.data.multiple||(1024>$(window).width()?n.find(".submenu").not($next).slideUp().parent().removeClass("open"):1024<=$(window).width()&&n.find(".submenu").not($next).fadeOut().parent().removeClass("open"),$(".navLinkV2 \x3e a").on("click",
function(){n.find(".submenu").fadeOut().parent().removeClass("open")}))};TrendMicro.ConsumerAccordionV2.prototype.onResize=function(){$(window).resize(function(){$(".consumerHeaderV2 .nav-container").removeClass("mobile-menu-open");$(".consumerHeaderV2 .accordion").removeClass("active");1024>$(window).width()&&$(".consumerHeaderV2 .accordion").attr("style","display:none");1024<=$(window).width()&&$(".consumerHeaderV2 .accordion").removeAttr("style")})};
TrendMicro.ConsumerAccordionV2.prototype.documentClick=function(){$(document).on("click",function(c){var n=$(".consumerHeaderV2 .accordion \x3e li").hasClass("open");$(c.target).closest(".consumerHeaderV2 .accordion \x3e li").length||$(c.target).is(".consumerHeader .accordion \x3e li")||!0!==n||($(".consumerHeaderV2 .accordion \x3e li").removeClass("open"),$(".consumerHeaderV2 .accordion .active-nav-tab").children(".tab-text").css("color","#D30007"),1024>$(window).width()?$(".consumerHeaderV2 .accordion .submenu").slideUp():
1024<=$(window).width()&&$(".consumerHeaderV2 .accordion .submenu").fadeOut())})};var consumerAccordionObjectV2=new TrendMicro.ConsumerAccordionV2;$(document).ready(function(){var c=$(".consumerHeaderV2 .accordion");0<c.length&&consumerAccordionObjectV2.init(c,!1)});
TrendMicro.ConsumerHeaderV2=function(){this.CONSUMER_HEADER_PROMOTIONAL_BAR_COOKIE_KEY="trendMicroConsumerHeaderPromotionalBar";this.pricingCookieSelector=".consumerHeaderV2 a.country-pricing-cookie";this.pricingCookieID="country-pricing-cookie";this.pricingCookieCountryAttribute="data-country-pricing-cookie"};
TrendMicro.ConsumerHeaderV2.prototype.init=function(){var c=this;$(".consumerHeaderV2 .top-info-bar a.business-toggle-link").on("click",function(n){n.preventDefault();toggleComponent.setBusinessModeCookie(this);window.location=this.href});$(this.pricingCookieSelector).on("click",function(n){n.preventDefault();c.setPricingCookie($(this).attr(c.pricingCookieCountryAttribute));window.location=this.href});$(".promotional-info-bar .close-info-bar").on("click",function(){c.setHidePromotionalBarCookie();
$(".promotional-info-bar").hide()})};$(".active-nav-tab").click(function(c){$(this).parent().hasClass("open")?$(this).children(".tab-text").css("color","#D30007"):$(this).children(".tab-text").css("color","#666")});TrendMicro.ConsumerHeaderV2.prototype.setHidePromotionalBarCookie=function(){document.cookie=this.CONSUMER_HEADER_PROMOTIONAL_BAR_COOKIE_KEY+"\x3dtrue; path\x3d/"};TrendMicro.ConsumerHeaderV2.prototype.setPricingCookie=function(c){window.utilityMenu.setPricingCookie(c)};
var consumerHeaderV2=new TrendMicro.ConsumerHeaderV2;$(document).ready(function(){consumerHeaderV2.init()});TrendMicro.ConsumerSearchV2=function(){};TrendMicro.ConsumerSearchV2.prototype.init=function(){this.onClickToggle();this.closeSearchBar();this.documentClick();this.onResize();this.searchBorderRadiusToggle()};
TrendMicro.ConsumerSearchV2.prototype.onClickToggle=function(){$(".consumerHeaderV2 .search-wrapper").on("click",function(){$(".consumerHeaderV2 .search-bar").fadeToggle();$(".consumerHeaderV2 .search-bar input.gsc-input").focus();$(this).toggleClass("open");1024>$(window).width()&&$(".consumerHeaderV2 .accordion").hasClass("active")&&$(".consumerHeaderV2 .accordion").removeClass("active").css("display","none")})};
TrendMicro.ConsumerSearchV2.prototype.onResize=function(){var c=this;$(window).resize(function(){c.searchBorderRadiusToggle();1024>$(window).width()&&$(".consumerHeaderV2 .search-bar").show();1024<=$(window).width()&&$(".consumerHeaderV2 .search-bar").hide()})};
TrendMicro.ConsumerSearchV2.prototype.closeSearchBar=function(){$(".consumerHeaderV2 .icon-close").on("click",function(){1024<=$(window).width()&&($(".consumerHeaderV2 .content-right").find(".search-wrapper").removeClass("open"),$(".consumerHeaderV2 .search-bar").fadeOut(),$(".consumerHeaderV2 .search-bar .gsc-input").val(""))})};
TrendMicro.ConsumerSearchV2.prototype.documentClick=function(){$(document).on("click",function(c){var n=$(".consumerHeaderV2 .content-right .link").hasClass("open");$(c.target).closest(".consumerHeaderV2 .content-right .link").length||$(".consumerHeaderV2 .search-bar input.gsc-input").is(c.target)||!0!==n||($(".consumerHeaderV2 .content-right .link").removeClass("open"),1024<=$(window).width()&&$(".consumerHeaderV2 .search-bar").fadeOut(),$(".consumerHeaderV2 .search-bar input.gsc-input").val(""))})};
TrendMicro.ConsumerSearchV2.prototype.searchBorderRadiusToggle=function(){1024>$(window).width()&&($(".consumerHeaderV2 .search-bar input.gsc-input").keyup(function(){$(".consumerHeaderV2 .search-bar").addClass("borderChange");$(".consumerHeaderV2 .accordion \x3e li").hasClass("open")&&($(".consumerHeaderV2 .accordion \x3e li").removeClass("open"),$(".consumerHeaderV2 .accordion \x3e li .submenu").slideUp());""===$(this).val()&&$(".consumerHeaderV2 .search-bar").removeClass("borderChange")}),$(".consumerHeaderV2 .search-bar input.gsc-input").focusout(function(){$(".consumerHeaderV2 .search-bar").removeClass("borderChange")}))};
var consumerSearchObjectV2=new TrendMicro.ConsumerSearchV2;$(document).ready(function(){consumerSearchObjectV2.init()});TrendMicro.Consumer3Card=function(){};TrendMicro.Consumer3Card.prototype.init=function(){this.parallaxOnScroll();this.fixCardButtonWidthToWidest()};TrendMicro.Consumer3Card.prototype.fixCardButtonWidthToWidest=function(){var c=0;$(".consumer3Card .button").each(function(n,x){n=$(x).width();c<n&&(c=n)});c-=39.5;$(".consumer3Card .button").width(c).css("padding","6.5px")};
TrendMicro.Consumer3Card.prototype.parallaxOnScroll=function(){1024<=$(window).width()&&new Rellax(".consumer3Card .card",{speed:-1,center:!1,wrapper:"",round:!1,vertical:!0,horizontal:!1,verticalSpeed:1})};var consumer3Card=new TrendMicro.Consumer3Card;$(document).ready(function(){consumer3Card.init()});TrendMicro.ConsumerCard=function(){this.classSelector=".consumerCardV1";this.blueTagSelector=this.classSelector+" .rte-blue-tag";this.mobileBlueTagTopMargin="20px";this.desktopBlueTagTopMargin="0"};
TrendMicro.ConsumerCard.prototype.init=function(){$(this.blueTagSelector).length&&(768>=$(window).width()?$(this.blueTagSelector).parent().css("margin-top",this.mobileBlueTagTopMargin):$(this.blueTagSelector).parent().css("margin-top",this.desktopBlueTagTopMargin))};
$(".card-decorator-brand-curve, .card-decorator-brand-curve-shadow").each(function(){$(".card-decorator-brand-curve, .card-decorator-brand-curve-shadow").hasClass("card-decorator-stroke")?($(".card-decorator-brand-curve, .card-decorator-brand-curve-shadow").addClass("brand-curve-stroke"),$(".card-decorator-brand-curve, .card-decorator-brand-curve-shadow").removeClass("card-decorator-stroke")):$(".card-decorator-stroke-none").removeClass("brand-curve-stroke")});var consumerCard=new TrendMicro.ConsumerCard;
$(document).ready(function(){consumerCard.init()});TrendMicro.ConsumerCardCarousel=function(c){this.componentCSSSelector=".consumerCardCarouselV1 .owl-carousel";this.owlHandles=null};TrendMicro.ConsumerCardCarousel.prototype.init=function(){this.owlHandles=$(this.componentCSSSelector);for(var c=0;c<this.owlHandles.length;c++)$(this.owlHandles[c]).owlCarousel(this.getConfigObject())};
TrendMicro.ConsumerCardCarousel.prototype.getConfigObject=function(){return{dots:!0,loop:!0,stagePadding:62,margin:24,center:!0,navText:['\x3cbutton type\x3d"button" class\x3d"slick-prev icon-chevron-left slick-arrow"\x3e\x3c/button\x3e','\x3cbutton type\x3d"button" class\x3d"slick-next icon-chevron-right slick-arrow"\x3e\x3c/button\x3e'],responsive:{0:{items:1},768:{items:3,stagePadding:16,margin:16,dotsEach:1},1024:{items:4,stagePadding:16,margin:16,nav:!0,loop:!1,dots:!1,center:!1}}}};
var consumerCardCarousel=new TrendMicro.ConsumerCardCarousel(consumerCard);$(document).ready(function(){consumerCardCarousel.init()});$(document).ready(function(){$(".consumerFAQ .question-container, .consumerFaqV2 .question-container").on("click",function(){$(this).parent().toggleClass("active");$(this).find("span").toggleClass("icon-chevron-up icon-chevron-down")})});var winWidth=$(window).width();
if(1024<=winWidth)var rellax=new Rellax(".consumerTiles .animated-bg-img",{speed:4,center:!0,vertical:!0,verticalSpeed:4});ScrollReveal().reveal(".consumerTiles .tile-link",{duration:1400,reset:!0});768>winWidth?$(".consumerTiles .inner-wrapper").append($(".view-all-link-mobile")):$(".view-all-link-mobile").addClass("hidden");var linkVal=$(".consumerTiles .view-all-link-mobile").attr("data-sr-id");0!=linkVal%2&&$(".consumerTiles .view-all-link-mobile").addClass("link-adapter");
TrendMicro.ConsumerImageContent=function(){};TrendMicro.ConsumerImageContent.prototype.init=function(){this.parallaxOnScroll()};TrendMicro.ConsumerImageContent.prototype.parallaxOnScroll=function(){1024<=$(window).width()&&new Rellax(".consumerImageContent .inner-wrapper",{speed:-1,center:!1,round:!1,verticalSpeed:1})};var consumerImageContent=new TrendMicro.ConsumerImageContent;$(document).ready(function(){consumerImageContent.init()});TrendMicro.ConsumerReviews=function(){};
TrendMicro.ConsumerReviews.prototype.init=function(){this.initOwlCarousel();this.animateImageOnScroll()};
TrendMicro.ConsumerReviews.prototype.initOwlCarousel=function(){$(".consumerReviews .owl-carousel").owlCarousel({dots:!1,loop:!0,stagePadding:50,margin:34,center:!0,dragEndSpeed:!0,responsive:{0:{items:1,autoplay:!1},768:{items:3},1024:{items:4,margin:48,autoplay:!0,slideTransition:"linear",fluidSpeed:!0,autoplaySpeed:6E3,smartSpeed:6E3,autoplayHoverPause:!0},1280:{items:6,autoplay:!0,slideTransition:"linear",fluidSpeed:!0,autoplaySpeed:6E3,smartSpeed:6E3,autoplayHoverPause:!0}}})};
TrendMicro.ConsumerReviews.prototype.animateImageOnScroll=function(){var c=$(window).width(),n="";1024<=c&&(n=$(".consumerReviews .animated-bg-img"),$(window).scroll(function(){var x=$(window).scrollTop();n.css({"background-position-x":.1*x/2})}));1170<=c&&(n=$(".consumerReviews .animated-bg-img"),$(window).scroll(function(){var x=$(window).scrollTop();n.css({"background-position-x":.5*x/2})}))};var consumerReviews=new TrendMicro.ConsumerReviews;$(document).ready(function(){consumerReviews.init()});
for(var parent=document.querySelectorAll("div.consumerMoreStories div.article-summary-wrapper"),i=0;i<parent.length;i++)paragraph=parent[i].getElementsByTagName("p")[0],$clamp(paragraph,{clamp:3,useNativeClamp:!0,animate:!0});winWidth=$(window).width();1024<=winWidth&&(rellax=new Rellax(".consumerTilesV2 .animated-bg-img",{speed:4,center:!0,vertical:!0,verticalSpeed:4}));ScrollReveal().reveal(".consumerTilesV2 .tile-link",{duration:1400,reset:!1,distance:"150%",origin:"bottom",opacity:0});
1024>winWidth?($(".consumerTilesV2 .view-all-link-mobile").removeClass("hidden"),$(".consumerTilesV2 .inner-wrapper").append($(".view-all-link-mobile"))):$(".consumerTilesV2 .view-all-link-mobile").addClass("hidden");linkVal=$(".consumerTilesV2 .view-all-link-mobile").attr("data-sr-id");0!=linkVal%2&&$(".consumerTilesV2 .view-all-link-mobile").addClass("link-adapter");TrendMicro.ConsumerReviewsV2=function(){};TrendMicro.ConsumerReviewsV2.prototype.init=function(){this.initOwlCarousel();this.animateImageOnScroll()};
TrendMicro.ConsumerReviewsV2.prototype.initOwlCarousel=function(){$(".consumerReviewsV2 .owl-carousel").owlCarousel({dots:!1,loop:!0,stagePadding:50,margin:34,center:!0,dragEndSpeed:!0,responsive:{0:{items:1,autoplay:!1},768:{items:3},1024:{items:4,margin:48,autoplay:!0,slideTransition:"linear",fluidSpeed:!0,autoplaySpeed:6E3,smartSpeed:6E3,autoplayHoverPause:!0},1280:{items:6,autoplay:!0,slideTransition:"linear",fluidSpeed:!0,autoplaySpeed:6E3,smartSpeed:6E3,autoplayHoverPause:!0}}})};
TrendMicro.ConsumerReviewsV2.prototype.animateImageOnScroll=function(){var c=$(window).width(),n="";1024<=c&&(n=$(".consumerReviewsV2 .animated-bg-img"),$(window).scroll(function(){var x=$(window).scrollTop();n.css({"background-position-x":.1*x/2})}));1170<=c&&(n=$(".consumerReviewsV2 .animated-bg-img"),$(window).scroll(function(){var x=$(window).scrollTop();n.css({"background-position-x":.3*x/2})}))};var consumerReviewsV2=new TrendMicro.ConsumerReviewsV2;$(document).ready(function(){consumerReviewsV2.init()});
parent=document.querySelectorAll("div.consumerMoreStoriesV2 div.article-summary-wrapper");for(i=0;i<parent.length;i++)paragraph=parent[i].getElementsByTagName("p")[0],$clamp(paragraph,{clamp:3,useNativeClamp:!0,animate:!0});TrendMicro.Consumer3CardV2=function(){};TrendMicro.Consumer3CardV2.prototype.init=function(){this.parallaxOnScroll();this.fixCardButtonWidthToWidest()};
TrendMicro.Consumer3CardV2.prototype.fixCardButtonWidthToWidest=function(){var c=0;$(".consumer3CardV2 .button").each(function(n,x){n=$(x).width();c<n&&(c=n)});c-=39.5;$(".consumer3CardV2 .button").width(c).css("padding","6.5px")};TrendMicro.Consumer3CardV2.prototype.parallaxOnScroll=function(){1024<=$(window).width()&&new Rellax(".consumer3CardV2 .card",{speed:-1,center:!1,wrapper:"",round:!1,vertical:!0,horizontal:!1,verticalSpeed:1})};var consumer3CardV2=new TrendMicro.Consumer3CardV2;$(document).ready(function(){consumer3CardV2.init()});