(window.webpackJsonp=window.webpackJsonp||[]).push([[147],{513:function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return d});var a=n(14),o=n.n(a),r=n(15),i=n.n(r),e=n(345),c=n.n(e),a=n(346),s=n.n(a),r=n(347),u=n.n(r),e=n(47),a=n.n(e),r=n(348),l=n(73),e=n(55),p=n.n(e);function f(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=u()(n);return e=a?(t=u()(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),s()(this,e)}}var d=function(t){c()(n,t);var e=f(n);function n(){return o()(this,n),e.apply(this,arguments)}return i()(n,[{key:"changeBullet",value:function(t,e){p()(".navigation-bullet",e).removeClass("active"),p()(".navigation-bullet",e).removeClass("pause-animation"),p()(".navigation-bullet[data-item=".concat(t,"]"),e).addClass("active")}},{key:"onCreate",value:function(){var n=this.dom,e=this.changeBullet,a=new Swiper(".rotating-slogan-swiper",{loop:!0,autoplay:{delay:7e3}}),o=!1,r=0;a.on("slideChange",function(){var t;o||e(a.realIndex,n),o=!1,r!=a.touches.diff&&(t=a.touches.startX-a.touches.currentX<0?"esquerda":"direita",Object(l.a)('{"action":"swipe", "reference": "swipe-'.concat(t,'", "category": "rotating-slogan"}')),r=a.touches.diff)}),p()(n).hover(function(t){var e=p()(n).find(".navigation-bullet.active");"mouseenter"==t.type?(e.addClass("pause-animation"),a.autoplay.stop()):(e.removeClass("pause-animation"),e.removeClass("active"),e.outerWidth(),e.addClass("active"),a.autoplay.start())}),p()(n).on("click",".navigation-bullet",function(t){t=p()(t.currentTarget),t=parseInt(t.attr("data-item"));Object(l.a)('{"reference": "nav-'.concat(t+1,'", "category": "rotating-slogan"}')),o=!0,a.slideToLoop(t),e(t,n),a.autoplay.start()})}}]),n}(r.a);a()(d,"dependence",[{path:"//c.jsuol.com.br/assets/?loadComponent=media&contentType=js&tpl=/src/swiper/swiper.js",type:"script",validation:function(){return"Swiper"in window}}]),a()(d,"selector",".rotating-slogan-swiper")}}]);