{"version":3,"sources":["theme.js"],"names":["WOW","offset","init","$","document","ready","addClass","tooltip","title","this","attr","placement","each","index","value","data-wow-delay","data-wow-offset","on","e","find","first","stop","slideDown","window","scrollBy","slideUp","length","nextSibling","nodeValue","css","fixHeights","sameHeight","setTimeout","slick","centerMode","centerPadding","slidesToShow","arrows","autoplay","autoplaySpeed","responsive","breakpoint","settings"],"mappings":"AAAA,IAAIA,IAAI,CAAEC,OAAQ,KAAMC,OAExBC,EAAEC,UAAUC,MAAM,YAEjBF,EAAE,kBAAkBG,SAAS,eAE7BH,EAAE,mBAAmBI,QAAQ,CAC5BC,MAAO,WACN,OAAOL,EAAEM,MAAMC,KAAK,QAErBC,UAAW,SAGZR,EAAE,iBAAiBI,QAAQ,CAC1BI,UAAW,SAGZR,EAAE,uBAAuBS,KAAK,WAC7BT,EAAE,2BAA4BM,MAAMG,KAAK,SAAUC,EAAOC,GACzDX,EAAEM,MAAMC,KAAK,CAAEK,iBAAkBF,EAAQ,GAAK,IAAKG,kBAAmB,IACpEV,SAAS,kBAKbH,EAAE,aAAac,GAAG,mBAAoB,SAAUC,GAC/Cf,EAAEM,MAAMU,KAAK,kBAAkBC,QAAQC,MAAK,GAAM,GAAMC,YACxDnB,EAAE,mCAAmCG,SAAS,YAC9CiB,OAAOC,SAAS,EAAG,KAIpBrB,EAAE,aAAac,GAAG,mBAAoB,SAAUC,GAC/Cf,EAAEM,MAAMU,KAAK,kBAAkBC,QAAQC,MAAK,GAAM,GAAMI,YAIrDtB,EAAE,mBAAmBuB,OAAS,IAIRvB,EAAE,mDACJuB,OAAS,IAC/BvB,EAAE,mDAAmD,GAAGwB,YAAYC,UAAY,GAChFzB,EAAE,mDAAmDS,KAAK,WACzDT,EAAEM,MAAM,GAAGkB,YAAYC,UAAY,MASrCzB,EAAE,iBAAiBG,SAAS,mBAE5BH,EAAE,iBAAiB0B,IAAI,aAAc,WAGtC,SAASC,IACR3B,EAAE,uBAAuB4B,aACzB5B,EAAE,+BAA+B4B,aAGlCC,WAAWF,EAAY,KAGvB3B,EAAEoB,QAAQN,GAAG,SACZ,WACCe,WAAWF,EAAY,OAIzB3B,EAAE,iCAAiC8B,MAAM,CACxCC,YAAY,EACZC,cAAe,IACfC,aAAc,EACdC,QAAQ,EACRC,UAAU,EACVC,cAAe,IACfC,WAAY,CACX,CACCC,WAAY,IACZC,SAAU,CACTN,aAAc,IAGhB,CACCK,WAAY,IACZC,SAAU,CACTN,aAAc","sourcesContent":["new WOW({ offset: 70 }).init();\r\n\r\n$(document).ready(function () {\r\n\r\n\t$('.textContent a').addClass(\"has-tooltip\");\r\n\r\n\t$(\"img.has-tooltip\").tooltip({\r\n\t\ttitle: function () {\r\n\t\t\treturn $(this).attr(\"alt\");\r\n\t\t},\r\n\t\tplacement: \"auto\"\r\n\t});\r\n\r\n\t$(\"a.has-tooltip\").tooltip({\r\n\t\tplacement: \"auto\"\r\n\t});\r\n\r\n\t$(\".toplinks__dropdown\").each(function () {\r\n\t\t$(\".toplinks__dropdown-link\", this).each(function (index, value) {\r\n\t\t\t$(this).attr({ \"data-wow-delay\": index / 10 + \"s\", \"data-wow-offset\": 0 })\r\n\t\t\t\t.addClass(\"wow fadeIn\");\r\n\t\t});\r\n\t});\r\n\r\n\t// ADD SLIDEDOWN ANIMATION TO DROPDOWN //\r\n\t$('.toplinks').on('show.bs.dropdown', function (e) {\r\n\t\t$(this).find('.dropdown-menu').first().stop(true, true).slideDown();\r\n\t\t$(\"#TopLinksInner .dropdown-menu a\").addClass(\"animated\");\r\n\t\twindow.scrollBy(0, 1);\r\n\t});\r\n\r\n\t// ADD SLIDEUP ANIMATION TO DROPDOWN //\r\n\t$('.toplinks').on('hide.bs.dropdown', function (e) {\r\n\t\t$(this).find('.dropdown-menu').first().stop(true, true).slideUp();\r\n\t});\r\n\r\n\r\n\tif ($('#HomepageMarker').length > 0) {\r\n\r\n\t\t// this removes the '/' between testimonial author & date if there are any testimonials\r\n\t\t// its difficult to style otherwise & is rarely wanted.\r\n\t\tvar testimonialAuthors = $(\".RotatorTestimonialContent a[itemprop='author']\");\r\n\t\tif (testimonialAuthors.length > 0) {\r\n\t\t\t$(\".RotatorTestimonialContent a[itemprop='author']\")[0].nextSibling.nodeValue = '';\r\n\t\t\t$(\".RotatorTestimonialContent a[itemprop='author']\").each(function () {\r\n\t\t\t\t$(this)[0].nextSibling.nodeValue = '';\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\t// this is handy for staggered animations...\r\n\t\t// $('.many').each(function (i, el) {\r\n\t\t//\t$(el).addClass('wow fadeInUp2').attr('data-wow-delay', i / 5 + 's').attr('data-wow-offset', '150');\r\n\t\t// });\r\n\r\n\t\t$('.header__logo').addClass(\"wow fadeInDown\");\r\n\t} else {\r\n\t\t$('.header__logo').css('visibility', 'visible');\r\n\t}\r\n\r\n\tfunction fixHeights() {\r\n\t\t$('.RotatorTestimonial').sameHeight();\r\n\t\t$('.featured-categories__title').sameHeight();\r\n\t}\r\n\r\n\tsetTimeout(fixHeights, 300);\r\n\r\n\r\n\t$(window).on('resize',\r\n\t\tfunction () {\r\n\t\t\tsetTimeout(fixHeights, 300);\r\n\t\t});\r\n\r\n\r\n\t$('.testimonials .carousel-inner').slick({\r\n\t\tcenterMode: false,\r\n\t\tcenterPadding: '0',\r\n\t\tslidesToShow: 2,\r\n\t\tarrows: false,\r\n\t\tautoplay: true,\r\n\t\tautoplaySpeed: 5000,\r\n\t\tresponsive: [\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 1000,\r\n\t\t\t\tsettings: {\r\n\t\t\t\t\tslidesToShow: 2\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\tbreakpoint: 768,\r\n\t\t\t\tsettings: {\r\n\t\t\t\t\tslidesToShow: 1\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t]\r\n\t});\r\n});\r\n\r\n"],"file":"theme.min.js"}