,0;i bÚ*d ,8i jÂÄ Ÿ Accept-Encoding,User-Agent FB(xCW…t%
r)DoÕ
KEY: https://89fmjoinville.com/site/wp-content/themes/89fm/js/main.js?ver=1.6
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2025 20:57:16 GMT
Server: Apache
Last-Modified: Mon, 03 Apr 2023 13:53:38 GMT
Accept-Ranges: bytes
Content-Length: 8126
Cache-Control: max-age=172800, proxy-revalidate
Expires: Wed, 09 Dec 2026 20:57:16 GMT
Vary: Accept-Encoding,User-Agent
Connection: close
Content-Type: application/javascript; charset=utf-8
$(function () {
$("#owl-demo").owlCarousel({
loop: true,
mouseDrag: true,
items: 1,
margin: 0,
autoplay: true,
dots: false,
nav: true,
autoplayTimeout: 6000,
smartSpeed: 1300,
lazyLoad: true,
responsive: {
0: {
dots: true,
nav: false
},
480: {
dots: true,
nav: false
},
992: {
dots: false,
nav: true
},
1200: {
dots: false,
nav: true
}
}
});
// $("#owl-demo2").owlCarousel({
// loop: false,
// mouseDrag: true,
// items: 1,
// autoplay: true,
// dots: false,
// nav: false,
// autoplayTimeout: 5000,
// smartSpeed: 1300
// });
$("#anunciocima, #anunciocimasmallesq, #anunciocimasmalldir, #anunciobaixo, #anunciobaixosmallesq, #anunciobaixosmalldir").owlCarousel({
loop: false,
mouseDrag: true,
items: 1,
autoplay: true,
dots: false,
nav: false,
autoplayTimeout: 5500,
smartSpeed: 1300
});
// $("#anunciofooter").owlCarousel({
// loop: false,
// mouseDrag: true,
// items: 1,
// autoplay: true,
// dots: false,
// nav: false,
// autoplayTimeout: 5000,
// smartSpeed: 1300
// });
$("#owl-demo2").owlCarousel({
loop: false,
mouseDrag: true,
margin: 0,
items: 3,
autoplay: true,
dots: false,
nav: true,
autoplayTimeout: 5000,
smartSpeed: 1300,
responsive: {
0: {
dots: true,
nav: false,
items: 1
},
480: {
dots: true,
nav: false,
items: 1
},
768: {
dots: true,
nav: false,
items: 2
},
992: {
dots: false,
nav: true,
items: 3
},
1200: {
dots: false,
nav: true,
items: 3
}
}
});
$("#owl-demo3").owlCarousel({
loop: false,
mouseDrag: true,
items: 1,
margin: 0,
autoplay: true,
dots: false,
nav: true,
autoplayTimeout: 6000,
smartSpeed: 1300,
lazyLoad: true,
responsive: {
0: {
dots: true,
nav: false
},
480: {
dots: true,
nav: false
},
992: {
dots: false,
nav: true
},
1200: {
dots: false,
nav: true
}
}
});
$('.photos').slick({
rows: 2,
dots: true,
arrows: false,
infinite: true,
slidesToShow: 2,
slidesToScroll: 2,
autoplay: true,
autoplaySpeed: 4000,
responsive: [
{
breakpoint: 1024,
settings: {
rows: 2,
slidesToShow: 2,
slidesToScroll: 2,
}
},
{
breakpoint: 600,
settings: {
rows: 1,
slidesToShow: 1,
slidesToScroll: 1,
}
},
{
breakpoint: 480,
settings: {
rows: 1,
slidesToShow: 1,
slidesToScroll: 1,
}
}
]
});
// $('.slider-for').slick({
// slidesToShow: 1,
// slidesToScroll: 1,
// arrows: false,
// asNavFor: '.slider-nav'
// });
// $('.slider-nav').slick({
// slidesToShow: 3,
// slidesToScroll: 1,
// asNavFor: '.slider-for',
// dots: false,
// focusOnSelect: true,
// centerMode: true,
// centerPadding: '0',
// responsive: [
// {
// breakpoint: 1024,
// settings: {
// slidesToShow: 3,
// }
// },
// {
// breakpoint: 600,
// settings: {
// slidesToShow: 2,
// }
// },
// {
// breakpoint: 480,
// settings: {
// slidesToShow: 1,
// }
// }
// ]
// });
$(".fancy").fancybox({
openEffect: 'elastic',
closeEffect: 'elastic'
});
//MÃdia
$('.fancybox-media')
.attr('rel', 'media-gallery')
.fancybox({
openEffect: 'none',
closeEffect: 'none',
prevEffect: 'none',
nextEffect: 'none',
arrows: false,
helpers: {
media: {},
buttons: {}
}
});
//MÃdia
/*$(".fancyboxIframe").fancybox({
maxWidth : 560,
maxHeight : 314,
fitToView : false,
width : '90%',
height : '90%',
autoSize : false,
closeClick : false,
openEffect : 'none',
closeEffect : 'none',
iframe: {
scrolling : 'auto',
preload : true
}
});*/ $(".fancyboxIframe").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' });
dropdownMobile();
addArrow();
});
function dropdownMobile() {
$('.menu2 .menu-item-has-children > a').append("");
$('.menu2 .menu-item-has-children > a').attr("data-toggle", "dropdown");
$('.menu2 .menu-item-has-children').addClass("dropdown");
$('.menu2 .sub-menu').addClass("dropdown-menu");
}
function addArrow() {
$('.header-menu .menu-item-has-children > a').append("");
$('.header-menu .menu-item-has-children > a').click(function () { return false; });
}
function maskPhone() {
$(".telefone input, .celular input").mask('(00) 0000-00009', { placeholder: "(xx) xxxx-xxxx" });
$(".telefone input, .celular input")
.blur(function (event) {
if ($(this).val().length == 15) { // Celular com 9 dÃgitos + 2 dÃgitos DDD e 4 da máscara
$(this).mask('(00) 00000-0009');
} else {
$(this).mask('(00) 0000-00009');
}
});
}
function mapa() {
const states = document.querySelectorAll('.estado')
states.forEach((state) => {
state.addEventListener('click', function (e) {
e.preventDefault();
const statesTwo = document.querySelectorAll('.estado')
statesTwo.forEach((stateTwo) => {
stateTwo.classList.remove('state-ativo')
})
state.classList.add('state-ativo')
let names = this.getAttribute('name')
const newName = names.normalize('NFD')
.replace(/[\u0300-\u036f]/g, '')
.replace(/ /g, '-')
.toLowerCase()
const stateBox = document.querySelectorAll('.page-representantes__container')
stateBox.forEach((box) => {
box.classList.remove('ativo')
})
let stateItem = document.querySelector('#' + newName)
stateItem.classList.add('ativo')
})
})
}
function hideTextWhatsapp() {
const text = document.querySelector('.whatsapp .text')
setTimeout(() => { text.classList.add('hide') }, 5000);
}