").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var o=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(o,n.dotsSpeed)},this));for(e in this._overrides)this._core[e]=t.proxy(this[e],this)},r.prototype.destroy=function(){var t,e,n,o,r;r=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&r.navContainer?this._controls[e].html(""):this._controls[e].remove();for(o in this.overides)this._core[o]=this._overrides[o];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},r.prototype.update=function(){var t,e,n,o=this._core.clones().length/2,r=o+this._core.items().length,i=this._core.maximum(!0),a=this._core.settings,s=a.center||a.autoWidth||a.dotsData?1:a.dotsEach||a.items;if("page"!==a.slideBy&&(a.slideBy=Math.min(a.slideBy,a.items)),a.dots||"page"==a.slideBy)for(this._pages=[],t=o,e=0,n=0;t
=s||0===e){if(this._pages.push({start:Math.min(i,t-o),end:t-o+s-1}),Math.min(i,t-o)===i)break;e=0,++n}e+=this._core.mergers(this._core.relative(t))}},r.prototype.draw=function(){var e,n=this._core.settings,o=this._core.items().length<=n.items,r=this._core.relative(this._core.current()),i=n.loop||n.rewind;this._controls.$relative.toggleClass("disabled",!n.nav||o),n.nav&&(this._controls.$previous.toggleClass("disabled",!i&&r<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!i&&r>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!n.dots||o),n.dots&&(e=this._pages.length-this._controls.$absolute.children().length,n.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},r.prototype.onTrigger=function(e){var n=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:n&&(n.center||n.autoWidth||n.dotsData?1:n.dotsEach||n.items)}},r.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,n){return t.start<=e&&t.end>=e},this)).pop()},r.prototype.getPosition=function(e){var n,o,r=this._core.settings;return"page"==r.slideBy?(n=t.inArray(this.current(),this._pages),o=this._pages.length,e?++n:--n,n=this._pages[(n%o+o)%o].start):(n=this._core.relative(this._core.current()),o=this._core.items().length,e?n+=r.slideBy:n-=r.slideBy),n},r.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},r.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},r.prototype.to=function(e,n,o){var r;!o&&this._pages.length?(r=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%r+r)%r].start,n)):t.proxy(this._overrides.to,this._core)(e,n)},t.fn.owlCarousel.Constructor.Plugins.Navigation=r}(window.Zepto||window.jQuery,window,document),function(t,e,n,o){var r=function(n){this._core=n,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(n){n.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var n=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!n)return;this._hashes[n]=e.content}},this),"changed.owl.carousel":t.proxy(function(n){if(n.namespace&&"position"===n.property.name){var o=this._core.items(this._core.relative(this._core.current())),r=t.map(this._hashes,function(t,e){return t===o?e:null}).join();if(!r||e.location.hash.slice(1)===r)return;e.location.hash=r}},this)},this._core.options=t.extend({},r.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var n=e.location.hash.substring(1),r=this._core.$stage.children(),i=this._hashes[n]&&r.index(this._hashes[n]);i!==o&&i!==this._core.current()&&this._core.to(this._core.relative(i),!1,!0)},this))};r.Defaults={URLhashListener:!1},r.prototype.destroy=function(){var n,o;t(e).off("hashchange.owl.navigation");for(n in this._handlers)this._core.$element.off(n,this._handlers[n]);for(o in Object.getOwnPropertyNames(this))"function"!=typeof this[o]&&(this[o]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=r}(window.Zepto||window.jQuery,window,document),function(t,e,n,o){function r(e,n){var r=!1,i=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+s.join(i+" ")+i).split(" "),function(t,e){if(a[e]!==o)return r=!n||e,!1}),r}function i(t){return r(t,!0)}var a=t("").get(0).style,s="Webkit Moz O ms".split(" "),l={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},c={csstransforms:function(){return!!r("transform")},csstransforms3d:function(){return!!r("perspective")},csstransitions:function(){return!!r("transition")},cssanimations:function(){return!!r("animation")}};c.csstransitions()&&(t.support.transition=new String(i("transition")),t.support.transition.end=l.transition.end[t.support.transition]),c.cssanimations()&&(t.support.animation=new String(i("animation")),t.support.animation.end=l.animation.end[t.support.animation]),c.csstransforms()&&(t.support.transform=new String(i("transform")),t.support.transform3d=c.csstransforms3d())}(window.Zepto||window.jQuery,window,document),function(t,e){function n(t,e,n){return"withCredentials"in n?n.open(t,e,!0):"undefined"!=typeof XDomainRequest?(n=new XDomainRequest,n.open(t,e)):n=null,n}var o={debug:!0,alert:!0},r={console:function(){if(0!=arguments.length||o.debug)for(var t=0;t=0?i:s,s=0===i?1:s);for(var l in this)delete this[l];if(this.length=s,this.exist=!!s,this.selector=n,s)if(i!==e)for(var c=0;c<=this.length;c++)this[c]=a[c];else for(var c=0;c=0;l--)if(r=o.elements[l],r.name&&"file"!=r.type&&"reset"!=r.type)if("select-multiple"==r.type)for(var c=o.elements[l].options.length-1;c>=0;c--)r.options[c].selected&&(t?n?p.have(r.className,n)&&(a[r.name]=r.options[c].value):a[r.name]=r.options[c].value:s+="&"+r.name+"="+r.options[c].value);else("submit"!=r.type&&"button"!=r.type||i.target==r)&&("checkbox"!=r.type&&"radio"!=r.type||r.checked||e)&&(t?n?p.have(r.className,n)&&(a[r.name]=r.value):a[r.name]=r.value:s+="&"+r.name+"="+r.value);return t?a:s.substr(1)},find:function(e){if(e)return t(e,this[0])},child:function(e){if(e)return t(e,this[0],!0)},eq:function(e){return e=e||0,t(this[e],"",!1,e)},first:function(){return t(this[0],"",!1,0)},last:function(){return t(this[this.length-1],"",!1,this.length-1)},isChecked:function(){return!!this[0].checked||void 0},isSelected:function(){return!t(this[0]).isEmpty("val")||void 0},size:function(){return{w:this[0].offsetWidth,h:this[0].offsetHeight}},position:function(){for(var t=0,e=0,n=this.length,o=0;o0?"0"+t.getMonth():t.getMonth(),year:t.getFullYear(),year_prefix:parseInt(t.getFullYear().toString().substr(2,4)),hours:t.getHours(),minutes:t.getMinutes(),seconds:t.getSeconds(),miliseconds:t.getTime()}},urlCurrent:function(){return window.location.href},dateServeToDateUser:function(t){if(t){var e=new Date(t),n=""+e.getFullYear(),o=""+(e.getMonth()+1);1==o.length&&(o="0"+o);var r=""+e.getDate();1==r.length&&(r="0"+r);var i=""+e.getHours();1==i.length&&(i="0"+i);var a=""+e.getMinutes();1==a.length&&(a="0"+a);var s=""+e.getSeconds();return 1==s.length&&(s="0"+s),r+"/"+o+"/"+n+" "+i+":"+a+":"+s}},dateToDateServer:function(){},redirect:function(t){if(t)return window.location.href=t,null},params:function(){return this.url().href.split("/")},have:function(t,e,n){var o=!1;if(t&&e){if(n){t=t.split("/");for(var r=0,i=t.length;r-1}return!1},isFunction:function(t){return"function"==typeof t||void 0},isObject:function(t){return"object"==typeof t||void 0},isString:function(t){return"string"==typeof t||void 0},isCPF:function(t){if(t){var e,n,o=p.getNumberOfString(t);if(e=0,"00000000000"!=o){for(i=1;i<=9;i++)e+=parseInt(o.substring(i-1,i))*(11-i);if(n=10*e%11,10!=n&&11!=n||(n=0),n==parseInt(o.substring(9,10))){for(e=0,i=1;i<=10;i++)e+=parseInt(o.substring(i-1,i))*(12-i);if(n=10*e%11,10!=n&&11!=n||(n=0),n==parseInt(o.substring(10,11)))return!0}}}},formatMoney:function(t,n,o,r,i){if(t!==e&&n&&o&&r&&i){t=(t+"").replace(",","").replace(" ","");var a=isFinite(+t)?+t:0,s=isFinite(+n)?Math.abs(n):0,l=void 0===r?",":r,c=void 0===o?".":o,u="",d=function(t,e){var n=Math.pow(10,e);return""+Math.round(t*n)/n};return u=(s?d(a,s):""+Math.round(a)).split("."),u[0].length>3&&(u[0]=u[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,l)),(u[1]||"").lengthe&&(l=e),a=s/l,0===n?l>0?(i.parc=l+"x",i.parc_number=l,i.vl=p.formatMoney(a,2,",",".",r),i.vl_number=a,i.juros=null,i):void 0:(c=n/100,a=s*Math.pow(1+c,l)/l,l>0?(i.parc=l+"x",i.parc_number=l,i.val=p.formatMoney(a,2,",",".",r),i.vl_number=a,i.juros=parseFloat(n)+"% a.m",i.juros_number=n,i):void 0)}},financing:function(t,e,n,o,r){if(t&&e&&o&&n&&r){var i=[];e=parseInt(e),n=parseFloat(n),o=parseFloat(o);var a,s=p.convertMoneyToFloat(t,r),l=parseInt(s/o),c="";return l>e&&(l=e),a=s/l,n?(c=n/100,a=s*c*Math.pow(1+c,l)/(Math.pow(1+c,l)-1),l>0?(i.parc=l+"x",i.parc_number=l,i.vl=p.formatMoney(a,2,",",".",r),i.vl_number=a,i.juros=parseFloat(n)+"% a.m",i.juros_number=n,i):void 0):void 0}},upperAllFirstLetter:function(t){if(t){for(var e=t.toLowerCase(),n=e.split(" "),o=0;o0;){var o=encodeURIComponent(t[e].split(";")[0].split("=")[0])+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain="+n.join(".")+" ;path=",r=location.pathname.split("/");for(document.cookie=o+"/";r.length>0;)document.cookie=o+r.join("/"),r.pop();n.shift()}return!0},percent:function(t,e,n){if(t&&e&&n){var o=[];return e=p.convertMoneyToFloat(e,n),t=p.convertMoneyToFloat(t,n),o.discount=Math.abs(parseInt(e/t*100-100)),o.discount_format=o.discount+"%",o}},discountPercent:function(t,e,n){if(t&&e&&n){var o=[];return e=p.convertMoneyToFloat(e,n),o.discount_price=t/100*e,o.total_price_with_discount=e-t/100*e,o.total_price_with_increase=e+t/100*e,o.discount_price_format=p.formatMoney(o.discount_price,2,",",".",n),o.total_price_with_discount_format=p.formatMoney(o.total_price_with_discount,2,",",".",n),o.total_price_with_increase_format=p.formatMoney(o.total_price_with_increase,2,",",".",n),o}},limitLetter:function(t,e,n){if(t&&n){return t.length>n?t.substring(e,n)+"...":t.substring(e,n)}},limitWord:function(t,e){if(t&&e){var n=t.split(" "),o="";if(e'+t+" "},loadPreloader:function(){return t(".ht-box-loader").length||t("body").push('