Skip to Content

JavaScript File

URL: https://www.tantrafuengirola.com/wp-content/themes/aviana/assets/js/modules.min.js?ver=6.1.1
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Mon, 04 Oct 2021 09:53:27 GMT
Download Time: Less than a second
Cookies: None
Size: 86 KB
HTTP Headers:  8 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1!function(e){"use strict";function a(){mkdf.scroll=e(window).scrollTop(),mkdf.body.hasClass("mkdf-dark-header")&&(mkdf.defaultHeaderStyle="mkdf-dark-header"),mkdf.body.hasClass("mkdf-light-header")&&(mkdf.defaultHeaderStyle="mkdf-light-header")}

2function t(){}

3function o(){mkdf.windowWidth=e(window).width(),mkdf.windowHeight=e(window).height()}

4function d(){mkdf.scroll=e(window).scrollTop()}

5switch(window.mkdf={}

6,mkdf.modules={}

7,mkdf.scroll=0,mkdf.window=e(window),mkdf.document=e(document),mkdf.windowWidth=e(window).width(),mkdf.windowHeight=e(window).height(),mkdf.body=e("body"),mkdf.html=e("html, body"),mkdf.htmlEl=e("html"),mkdf.menuDropdownHeightSet=!1,mkdf.defaultHeaderStyle="",mkdf.minVideoWidth=1500,mkdf.videoWidthOriginal=1280,mkdf.videoHeightOriginal=720,mkdf.videoRatio=1.61,mkdf.mkdfOnDocumentReady=a,mkdf.mkdfOnWindowLoad=t,mkdf.mkdfOnWindowResize=o,mkdf.mkdfOnWindowScroll=d,e(document).ready(a),e(window).on("load",t),e(window).resize(o),e(window).scroll(d),!0){case mkdf.body.hasClass("mkdf-grid-1300"):mkdf.boxedLayoutWidth=1350;break;case mkdf.body.hasClass("mkdf-grid-1200"):mkdf.boxedLayoutWidth=1250;break;case mkdf.body.hasClass("mkdf-grid-1000"):mkdf.boxedLayoutWidth=1050;break;case mkdf.body.hasClass("mkdf-grid-800"):mkdf.boxedLayoutWidth=850;break;default:mkdf.boxedLayoutWidth=1150}

8}

9(jQuery),function(e){"use strict";function a(){H().init(),d(),I().init(),m(),f(),u(),h(),k(),g(),v(),y(),T(),b(),w()}

10function t(){_(),p(),S().init()}

11function o(){h()}

12function d(){navigator.appVersion.toLowerCase().indexOf("mac")>-1&&mkdf.body.hasClass("mkdf-smooth-scroll")&&mkdf.body.removeClass("mkdf-smooth-scroll")}

13function n(){window.addEventListener&&window.addEventListener("wheel",s,{passive:!1}

14),document.onkeydown=r}

15function i(){window.removeEventListener&&window.removeEventListener("wheel",s,{passive:!1}

16),window.onmousewheel=document.onmousewheel=document.onkeydown=null}

17function s(e){l(e)}

18function r(e){for(var a=[37,38,39,40],t=a.length;t--;)if(e.keyCode===a[t])return void l(e)}

19function l(e){e=e||window.event,e.preventDefault&&e.preventDefault(),e.returnValue=!1}

20function m(){e("#mkdf-back-to-top").on("click",function(e){e.preventDefault(),mkdf.html.animate({scrollTop:0}

21,mkdf.window.scrollTop()/3,"linear")}

22)}

23function f(){mkdf.window.scroll(function(){var a,t=e(this).scrollTop(),o=e(this).height();a=t>0?t+o/2:1,c(a<1e3?"off":"on")}

24)}

25function c(a){var t=e("#mkdf-back-to-top");t.removeClass("off on"),"on"===a?t.addClass("on"):t.addClass("off")}

26function u(){var a=e(".mkdf-self-hosted-video");a.length&&a.mediaelementplayer({audioWidth:"100%"}

27)}

28function h(){var a=e(".mkdf-self-hosted-video-holder .mkdf-video-wrap");a.length&&a.each(function(){var a=e(this),t=a.closest(".mkdf-self-hosted-video-holder").outerWidth(),o=t/mkdf.videoRatio;navigator.userAgent.match(/(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/)&&(a.parent().width(t),a.parent().height(o)),a.width(t),a.height(o),a.find("video, .mejs-overlay, .mejs-poster").width(t),a.find("video, .mejs-overlay, .mejs-poster").height(o)}

29)}

30function k(){fluidvids.init({selector:["iframe"],players:["www.youtube.com","player.vimeo.com"]}

31)}

32function p(){if(mkdf.body.hasClass("mkdf-smooth-page-transitions")){if(mkdf.body.hasClass("mkdf-smooth-page-transitions-preloader")){var a=e("body > .mkdf-smooth-transition-loader.mkdf-mimic-ajax");".mkdf-loader-aviana".length?setTimeout(function(){a.fadeOut(625)}

33,2200):a.fadeOut(500),e(window).on("pageshow",function(e){e.originalEvent.persisted&&a.fadeOut(500)}

34)}

35if(window.addEventListener("pageshow",function(e){(e.persisted||void 0!==window.performance&&2===window.performance.navigation.type)&&window.location.reload()}

36),mkdf.body.hasClass("mkdf-smooth-page-transitions-fadeout")){e("a").on("click",function(a){var t=e(this);(t.parents(".mkdf-shopping-cart-dropdown").length||t.parent(".product-remove").length)&&t.hasClass("remove")||1===a.which&&t.attr("href").indexOf(window.location.host)>=0&&void 0===t.data("rel")&&void 0===t.attr("rel")&&!t.hasClass("lightbox-active")&&(void 0===t.attr("target")||"_self"===t.attr("target"))&&t.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(a.preventDefault(),e(".mkdf-wrapper-inner").fadeOut(1e3,function(){window.location=t.attr("href")}

37))}

38)}

39}

40}

...

</html>