{"version":3,"sources":["global.js"],"names":["jQuery","document","ready","$","click","fadeToggle","this","toggleClass","stick_in_parent","slick","infinite","slidesToShow","dots","arrows","autoplay","responsive","breakpoint","settings","each","$img","imgID","attr","imgClass","imgURL","get","data","$svg","find","removeAttr","replaceWith"],"mappings":"AAAAA,OAAAC,UAAAC,MAAA,SAAAC,GAEAA,EAAA,kBAAAC,MAAA,WACAD,EAAA,mBAAAE,WAAA,KACAF,EAAAG,MAAAC,YAAA,eAGAJ,EAAA,kBAAAK,kBAIAL,EAAA,uBAAAM,OACAC,UAAA,EACAC,aAAA,EACAC,MAAA,EACAC,QAAA,EACAC,UAAA,EACAC,aAEAC,WAAA,IACAC,UACAL,MAAA,OAQAT,EAAA,WAAAe,KAAA,WACA,GAAAC,GAAAnB,OAAAM,MACAc,EAAAD,EAAAE,KAAA,MACAC,EAAAH,EAAAE,KAAA,SACAE,EAAAJ,EAAAE,KAAA,MAEAlB,GAAAqB,IAAAD,EAAA,SAAAE,GAEA,GAAAC,GAAA1B,OAAAyB,GAAAE,KAAA,WAGA,KAAAP,IACAM,EAAAA,EAAAL,KAAA,KAAAD,QAGA,KAAAE,IACAI,EAAAA,EAAAL,KAAA,QAAAC,EAAA,kBAIAI,EAAAA,EAAAE,WAAA,WAGAT,EAAAU,YAAAH,IAEA","file":"scripts.custom.min.js","sourcesContent":["jQuery(document).ready(function ($) {\n\n $(\".c-burger-menu\").click(function(){\n $(\".c-overlay-menu\").fadeToggle(200);\n $(this).toggleClass('is-active');\n });\n \n $(\".c-site-header\").stick_in_parent();\n \n \n // Homepage SLider\n\t$('.js-homepage-slider').slick({\n\t\tinfinite: true,\n\t\tslidesToShow: 1,\n\t\tdots: true,\n\t\tarrows:false,\n\t\tautoplay:true,\n\t\tresponsive: [\n {\n breakpoint: 767,\n settings: {\n dots: false\n }\n }\n ]\n }); \n \n \n /* Replace all SVG images with inline SVG when Class 'svg' is used. */\n\t$('img.svg').each(function () {\n\t\tvar $img = jQuery(this);\n\t\tvar imgID = $img.attr('id');\n\t\tvar imgClass = $img.attr('class');\n\t\tvar imgURL = $img.attr('src');\n\n\t\t$.get(imgURL, function (data) {\n\t\t\t// Get the SVG tag, ignore the rest\n\t\t\tvar $svg = jQuery(data).find('svg');\n\n\t\t\t// Add replaced image's ID to the new SVG\n\t\t\tif (typeof imgID !== 'undefined') {\n\t\t\t\t$svg = $svg.attr('id', imgID);\n\t\t\t}\n\t\t\t// Add replaced image's classes to the new SVG\n\t\t\tif (typeof imgClass !== 'undefined') {\n\t\t\t\t$svg = $svg.attr('class', imgClass + ' replaced-svg');\n\t\t\t}\n\n\t\t\t// Remove any invalid XML tags as per http://validator.w3.org\n\t\t\t$svg = $svg.removeAttr('xmlns:a');\n\n\t\t\t// Replace image with new SVG\n\t\t\t$img.replaceWith($svg);\n\n\t\t}, 'xml');\n\n\t});\n \n});"]}