{"version":3,"sources":["webpack:///./src/js/custom.js","webpack:///./src/js/offcanvas.js","webpack:///./src/js/sliders.js","webpack:///./src/js/scripts.js"],"names":["console","log","$","document","ready","find","length","addClass","css","i","acc","getElementsByClassName","addEventListener","this","classList","toggle","next","slideToggle","click","toggleClass","hover","siblings","children","change","val","scroll","$nav","scrollTop","height","Offcanvas","toggleMenu","bind","closeButton","querySelector","menuToggle","SliderManager","initializeTestimonialSlider","Splide","perPage","perMove","heightRatio","gap","type","arrows","mediaQuery","breakpoints","1400","991","567","100","mount"],"mappings":";;;;;;;;;;;;;;;;;iIAAAA,QAAQC,IAAI,aACZC,EAAEC,UAAUC,OAAM,WACiC,IAA5CF,EAAE,SAASG,KAAK,iBAAiBC,QAChCJ,EAAE,WAAWK,SAAS,YACtBL,EAAE,WAAWM,IAAI,mBAAoB,eACrCN,EAAE,SAASM,IAAI,aAAc,WAE7BN,EAAE,WAAWM,IAAI,mBAAoB,WAKzC,IACIC,EADAC,EAAMP,SAASQ,uBAAuB,aAG1C,IAAKF,EAAI,EAAGA,EAAIC,EAAIJ,OAAQG,IAC5BC,EAAID,GAAGG,iBAAiB,SAAS,WAC7BC,KAAKC,UAAUC,OAAO,UAEtBb,EAAEW,MAAMG,OAAOC,iBAKnBf,EAAE,+BAA+BgB,OAAM,WACnChB,EAAEW,MAAMM,YAAY,mBAIxBjB,EAAE,iCAAiCkB,OAAM,WACrClB,EAAEW,MAAMQ,SAAS,aAAaC,SAAS,gBAAgBA,SAAS,YAAYd,IAAI,aAAc,QAC/F,WACCN,EAAEW,MAAMQ,SAAS,aAAaC,SAAS,gBAAgBA,SAAS,YAAYd,IAAI,aAAc,UAGlGN,EAAE,4BAA4BkB,OAAM,WAChClB,EAAEW,MAAMS,SAAS,YAAYd,IAAI,aAAc,QAChD,WACCN,EAAEW,MAAMS,SAAS,YAAYd,IAAI,aAAc,UAInDN,EAAE,cAAcM,IAAI,QAAQ,WAC5BN,EAAE,cAAcqB,QAAO,WAEJ,QADDrB,EAAE,cAAcsB,MAE1BtB,EAAE,cAAcM,IAAI,QAAQ,WAE5BN,EAAE,cAAcM,IAAI,QAAQ,iBAKxCN,EAAEC,UAAUsB,QAAO,WACf,IAAIC,EAAOxB,EAAE,WACbwB,EAAKP,YAAY,WAAYjB,EAAEW,MAAMc,YAAcD,EAAKE,c,2DCvD/CC,EAAb,WACI,aAAe,IAAD,2BACVhB,KAAKiB,WAAajB,KAAKiB,WAAWC,KAAKlB,MACvCV,SAASS,iBAAiB,oBAAoB,WAC1C,IAAMoB,EAAc7B,SAAS8B,cAAc,cACrCC,EAAa/B,SAAS8B,cAAc,gBAE1CD,EAAYpB,iBAAiB,QAAS,EAAKkB,YAC3CI,EAAWtB,iBAAiB,QAAS,EAAKkB,eARtD,8CAYI,WACsB3B,SAAS8B,cAAc,cAC/BnB,UAAUC,OAAO,YAdnC,K,OCEaoB,EAAb,WACI,aAAe,oBACPhC,SAAS8B,cAAc,kBACvBpB,KAAKuB,8BAHjB,+DAOI,WACI,IAAIC,IAAO,gBAAiB,CACxBC,QAAS,EACTC,QAAS,EACTC,YAAa,IACbC,IAAK,OACLC,KAAM,OACNC,QAAQ,EACRC,WAAY,MACZC,YAAa,CACTC,KAAM,CACFR,QAAS,EACTE,YAAa,KAEjBO,IAAK,CACDT,QAAS,EACTE,YAAa,KAEjBQ,IAAK,CACDV,QAAS,EACTE,YAAa,IAEjBS,IAAK,CACDX,QAAS,EACTE,YAAa,MAGtBU,YAlCX,K,KCKA,IAAIf,EAEJ,IAAIN,I","file":"app/main-72c20a10.js","sourcesContent":["console.log('custom.js');\n$(document).ready(function(){\n if($('.main').find('.banner-block').length !== 0) {\n $('.header').addClass('w-banner');\n $('.header').css('background-color', 'transparent');\n $('.main').css('margin-top', \"-110px\");\n } else {\n $('.header').css('background-color', '#3F3932');\n }\n\n\n //accordion\n var acc = document.getElementsByClassName(\"accordion\");\n var i;\n\n for (i = 0; i < acc.length; i++) {\n acc[i].addEventListener(\"click\", function() {\n this.classList.toggle(\"active\");\n\n $(this).next().slideToggle();\n });\n }\n\n //menu\n $('li.menu-item:has(.sub-menu)').click(function() {\n $(this).toggleClass('open-submenu');\n });\n\n //blog cards\n $('.grid--content .post--details').hover(function() {\n $(this).siblings('.img-link').children('.img-wrapper').children('.overlay').css('margin-top', '0');\n }, function(){\n $(this).siblings('.img-link').children('.img-wrapper').children('.overlay').css('margin-top', '60%');\n });\n\n $('.post--item .img-wrapper').hover(function() {\n $(this).children('.overlay').css('margin-top', '0');\n }, function(){\n $(this).children('.overlay').css('margin-top', '60%');\n });\n\n //select options style\n $('#input_1_5').css('color','#C6C9CB');\n $('#input_1_5').change(function() {\n var current = $('#input_1_5').val();\n if (current != 'null') {\n $('#input_1_5').css('color','#6B6965');\n } else {\n $('#input_1_5').css('color','#C6C9CB');\n }\n }); \n});\n\n$(document).scroll(function () {\n var $nav = $(\".header\");\n $nav.toggleClass('scrolled', $(this).scrollTop() > $nav.height());\n});\n\n","export class Offcanvas {\n constructor() {\n this.toggleMenu = this.toggleMenu.bind(this);\n document.addEventListener('DOMContentLoaded', () => {\n const closeButton = document.querySelector('.close-btn');\n const menuToggle = document.querySelector('.menu-toggle');\n\n closeButton.addEventListener('click', this.toggleMenu);\n menuToggle.addEventListener('click', this.toggleMenu);\n });\n }\n\n toggleMenu() {\n const offcanvas = document.querySelector('.offcanvas');\n offcanvas.classList.toggle('open');\n }\n}\n","import Splide from \"@splidejs/splide\";\n\nexport class SliderManager {\n constructor() {\n if (document.querySelector('.image-slider')) {\n this.initializeTestimonialSlider();\n }\n }\n\n initializeTestimonialSlider() {\n new Splide('.image-slider', {\n perPage: 4,\n perMove: 1,\n heightRatio: 0.25,\n gap: '30px',\n type: 'loop',\n arrows: true,\n mediaQuery: 'min',\n breakpoints: {\n 1400: {\n perPage: 4,\n heightRatio: 0.25,\n },\n 991: {\n perPage: 3,\n heightRatio: 0.25,\n },\n 567: {\n perPage: 2,\n heightRatio: 0.5,\n },\n 100: {\n perPage: 1,\n heightRatio: 1,\n }\n },\n }).mount();\n }\n\n \n}\n","import '../../node_modules/@splidejs/splide/dist/css/splide.min.css';\nimport '../sass/style.scss';\nimport {Offcanvas} from './offcanvas';\nimport {SliderManager} from './sliders';\n\nimport './custom';\n\nnew SliderManager();\n// Offcanvas menu\nnew Offcanvas();\n"],"sourceRoot":""}