{"version":3,"sources":["../wp-content/themes/modeln/refresh/assets/scripts/main.js","../wp-content/themes/modeln/refresh/assets/scripts/section/hero-banner.js","../wp-content/themes/modeln/refresh/assets/scripts/section/icon-col-grid.js","../wp-content/themes/modeln/refresh/assets/scripts/section/resources-three-grid.js","../wp-content/themes/modeln/refresh/assets/scripts/section/two-col-cta.js","../wp-content/themes/modeln/refresh/assets/scripts/section/two-grid-slider.js","../wp-content/themes/modeln/refresh/assets/scripts/section/vid-overlay.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACRA;AACA;AACA;AACA;AACA;AACA;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"main.js","sourcesContent":["(function($) {\n // On DOM ready\n $(function() {\n var wow = new WOW({\n boxClass: \"wow\", // animated element css class (default is wow)\n animateClass: \"animated\", // animation css class (default is animated)\n offset: 0, // distance to the element when triggering the animation (default is 0)\n mobile: true, // trigger animations on mobile devices (default is true)\n live: true, // act on asynchronously loaded content (default is true)\n callback: function(box) {\n // the callback is fired every time an animation is started\n // the argument that is passed in is the DOM node being animated\n },\n scrollContainer: null // optional scroll container selector, otherwise use window\n });\n wow.init();\n });\n\n $.fn.imageResponsiveIe = function() {\n return this.each(function() {\n var imgUrl = $(this)\n .find(\"img\")\n .prop(\"src\");\n if (imgUrl) {\n $(this)\n .find(\"img\")\n .attr(\"style\", \"display: none !important\");\n $(this)\n .css(\"backgroundImage\", \"url(\" + imgUrl + \")\")\n .css({\n \"background-repeat\": \"no-repeat\",\n \"background-position\": \"center\",\n \"background-size\": \"cover\"\n });\n }\n });\n };\n\n $.fn.imageResponsiveTopIe = function() {\n return this.each(function() {\n var imgUrl = $(this)\n .find(\"img\")\n .prop(\"src\");\n if (imgUrl) {\n $(this)\n .find(\"img\")\n .attr(\"style\", \"display: none !important\");\n $(this)\n .css(\"backgroundImage\", \"url(\" + imgUrl + \")\")\n .css({\n \"background-repeat\": \"no-repeat\",\n \"background-position\": \"top\",\n \"background-size\": \"cover\"\n });\n }\n });\n };\n\n $.fn.imageResponsiveRightIe = function() {\n return this.each(function() {\n var imgUrl = $(this)\n .find(\"img\")\n .prop(\"src\");\n if (imgUrl) {\n $(this)\n .find(\"img\")\n .attr(\"style\", \"display: none !important\");\n $(this)\n .css(\"backgroundImage\", \"url(\" + imgUrl + \")\")\n .css({\n \"background-repeat\": \"no-repeat\",\n \"background-position\": \"right\",\n \"background-size\": \"cover\"\n });\n }\n });\n };\n\n $(document).ready(function() {\n if (window.matchMedia(\"(max-width: 991px)\").matches) {\n $(\"#page_footer .footer-top .item ul\").css(\"display\", \"none\");\n $(\"#page_footer .footer-top .item .widgettitle\").click(function(e) {\n e.preventDefault();\n $(this)\n .next(\".menu-footer-menu-2-container\")\n .find(\".item-split ul\")\n .css(\"display\", \"block\");\n });\n } else {\n $(\"#page_footer .footer-top .item ul\").css(\"display\", \"block\");\n }\n });\n\n $(window).on(\"resize\", function() {\n if (window.matchMedia(\"(max-width: 991px)\").matches) {\n $(\"#page_footer .footer-top .item ul\").css(\"display\", \"none\");\n $(\"#page_footer .footer-top .item .widgettitle\").click(function(e) {\n e.preventDefault();\n $(this)\n .next(\".menu-footer-menu-2-container\")\n .find(\".item-split ul\")\n .css(\"display\", \"block\");\n });\n } else {\n $(\"#page_footer .footer-top .item ul\").css(\"display\", \"block\");\n }\n });\n\n $(document).ready(function() {\n if ($(\"section\").hasClass(\"second-hero-banner\")) {\n $(\"body\").addClass(\"landing_v2\");\n }\n });\n})(jQuery);\n","(function($) {\n if ($(\"html\").hasClass(\"ua-ie\")) {\n $(\".mn-refresh .hero-banner .bg-img\").imageResponsiveIe();\n $(\n \".mn-refresh .second-hero-banner .bg-img-wrap .bg-img\"\n ).imageResponsiveRightIe();\n }\n})(jQuery);\n","(function($) {\n $(\n \".mn-refresh .icon-col-grid .inner-container .icon-intro .col-wrap .img-wrap\"\n ).matchHeight();\n})(jQuery);\n","(function($) {\n if ($(\"html\").hasClass(\"ua-ie\")) {\n $(\n \".mn-refresh .resource-three-grid .resource-grid .col-wrap .card-wrap .img-wrap\"\n ).imageResponsiveTopIe();\n }\n})(jQuery);\n","(function($) {\n$(document).ready(function() {\n $(window).scroll(function() {\n $(\"body .bodytest .two-col-cta .promo-wrap\").each(function(i) {\n var bottom_of_element = $(this).offset().top + $(this).outerHeight();\n var bottom_of_window = $(window).scrollTop() + $(window).height();\n\n if (bottom_of_window > bottom_of_element) {\n $(this).animate({ opacity: \"1\", \"margin-right\": \"0px\" }, 1000);\n }\n });\n });\n\n if ($(\"html\").hasClass(\"ua-ie\")) {\n $(\n \".mn-refresh .two-col-cta .card-wrap .card-right .img-wrap\"\n ).imageResponsiveIe();\n }\n});\n})(jQuery);\n","(function($) {\n $(document).ready(function() {\n $(\".two-grid-slider .slider-wrap\")\n .not(\".slick-initialized\")\n .slick({\n draggable: true,\n arrows: true,\n dots: true,\n fade: true,\n speed: 900,\n dotsClass: \"custom-dots\",\n infinite: true,\n autoplay: false,\n nextArrow: $(\".next-icon\"),\n prevArrow: $(this)\n .parent()\n .find(\".prev\"),\n cssEase: \"cubic-bezier(0.7, 0, 0.3, 1)\"\n });\n });\n})(jQuery);\n","(function($) {\n // On DOM ready\n $(function() {\n videoOverlay();\n video_height();\n });\n\n $(window).on(\"load scroll resize\", function() {\n video_height();\n });\n\n /*\n * Video overlay\n */\n function videoOverlay() {\n jQuery(document).on(\"click\", \".play-video\", function(e) {\n e.preventDefault();\n e.stopPropagation();\n jQuery(\"body\").css(\"overflow\", \"hidden\");\n jQuery(\".video-overlay\").addClass(\"we-active\");\n var url = jQuery(this).attr(\"data-video\");\n if (typeof url === \"undefined\") url = jQuery(this).attr(\"href\");\n\n // For smooth transition on scaling effect\n jQuery(\".video-overlay.we-active\")\n .find(\"iframe\")\n .attr(\"src\", url + \"?autoplay=1\");\n });\n closeVideoOverlay();\n }\n\n function closeVideoOverlay() {\n jQuery(\".close-video\").on(\"click\", function() {\n jQuery(\"body\").css(\"overflow\", \"auto\");\n jQuery(\".video-overlay\")\n .find(\"iframe\")\n .attr(\"src\", \"\");\n jQuery(\".video-overlay\").removeClass(\"we-active\");\n });\n\n // Close video overlay on outside click\n jQuery(\".v-middle-inner\").on(\"click\", function() {\n jQuery(\"body\").css(\"overflow\", \"auto\");\n jQuery(\".video-overlay\")\n .find(\"iframe\")\n .attr(\"src\", \"\");\n jQuery(\"body\").removeClass(\"stop-scroll\");\n jQuery(\".video-overlay\").removeClass(\"we-active\");\n });\n\n // Prevent closing on video's click\n jQuery(\".video-overlay .v-middle-inner iframe\").on(\"click\", function(e) {\n e.stopPropagation();\n });\n }\n\n function video_height() {\n var windowheight = jQuery(window).height() / 1.9,\n windowWidth = jQuery(window).width() / 1.5,\n imageWidth = jQuery(window).width();\n // jQuery(\".video-overlay iframe \").css({\n // width: windowWidth + \"px\",\n // height: windowheight + \"px\"\n // });\n // jQuery(\".video-overlay iframe \").attr(\"width\", windowWidth + \"px\");\n // jQuery(\".video-overlay iframe\").attr(\"height\", windowheight + \"px\");\n }\n})(jQuery);\n"],"sourceRoot":"assets/scripts/"}