{"version":3,"sources":["layout.js","popover.js","style.js","svg-injector.js","tooltip.js","cookies.js","copy-type.js","dark-mode.js","demo.js","dropdown.js","forms.js","navbar-sticky.js","password.js","pricing.js","scroll-to.js","google-maps-custom.js","google-maps.js","autosize.js","countdown.js","counter.js","datepicker.js","highlight.js","masonry.js","notify.js","progressbar.js","select.js","sticky.js","swiper.js","tags.js","typed.js","orders.js","tasks.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;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;AClKA;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;ACxCA;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;AC5CA;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;ACjDA;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;AC3BA;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;ACxCA;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;ACvCA;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;AACA;AACA;ACpHA;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;AACA;AACA;AACA;ACrHA;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;AChEA;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;AC7GA;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;ACrDA;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;ACxCA;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;ACnDA;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;AC1DA;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;ACrDA;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;AClDA;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;AChCA;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;ACzCA;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;ACrFA;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;AClFA;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;AC5EA;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;AChFA;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;AChFA;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;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACvBA;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;AClDA;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;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;AC/IA;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;AC1CA;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;AChDA;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;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;AC7KA;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;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":"quick-website.js","sourcesContent":["//\n// Layout\n//\n\n'use strict';\n\nvar Layout = (function() {\n\n function pinSidenav($this) {\n $('.sidenav-toggler').addClass('active');\n $('.sidenav-toggler').data('action', 'sidenav-unpin');\n $('body').addClass('sidenav-pinned ready');\n $('body').find('.main-content').append('
');\n\n var $sidenav = $($this.data('target'));\n\n $sidenav.addClass('show');\n\n // Store the sidenav state in a cookie session\n localStorage.setItem('sidenav-state', 'pinned');\n\n // alert('pinned')\n }\n\n function unpinSidenav($this) {\n $('.sidenav-toggler').removeClass('active');\n $('.sidenav-toggler').data('action', 'sidenav-pin');\n $('body').removeClass('sidenav-pinned');\n $('body').addClass('ready')\n $('body').find('.sidenav-mask').remove();\n\n var $sidenav = $($this.data('target'));\n\n $sidenav.removeClass('show');\n\n // Store the sidenav state in a cookie session\n localStorage.setItem('sidenav-state', 'unpinned');\n\n // alert('unpinned')\n }\n\n // Set sidenav state from cookie\n\n var $sidenavState = localStorage.getItem('sidenav-state') ? localStorage.getItem('sidenav-state') : 'pinned';\n\n\t$(window).on({\n\t\t'load resize': function() {\n if($('.sidenav-toggler').length) {\n if($(window).width() < 1200) {\n unpinSidenav($('.sidenav-toggler'));\n } else {\n if($sidenavState == 'pinned') {\n pinSidenav($('.sidenav-toggler'));\n }\n else if($sidenavState == 'unpinned') {\n unpinSidenav($('.sidenav-toggler'));\n }\n }\n } else {\n $('body').addClass('ready');\n }\n\t\t}\n\t})\n\n $(\"body\").on(\"click\", \"[data-action]\", function(e) {\n\n e.preventDefault();\n\n var $this = $(this);\n var action = $this.data('action');\n var target = $this.data('target');\n\n switch (action) {\n case \"offcanvas-open\":\n target = $this.data(\"target\"), $(target).addClass(\"open\"), $(\"body\").append('
');\n break;\n\n case 'aside-close':\n target = $this.data('target');\n $this.removeClass('active');\n $(target).removeClass('show');\n $('body').find('.body-backdrop').remove();\n break;\n\n case 'omnisearch-open':\n target = $this.data('target');\n $this.addClass('active');\n $(target).addClass('show');\n $(target).find('.form-control').focus();\n $('body').addClass('omnisearch-open').append('
');\n break;\n\n case 'omnisearch-close':\n target = $this.data('target');\n $('[data-action=\"search-open\"]').removeClass('active');\n $(target).removeClass('show');\n $('body').removeClass('omnisearch-open').find('.mask-body').remove();\n break;\n\n case 'search-open':\n target = $this.data('target');\n $this.addClass('active');\n $(target).addClass('show');\n $(target).find('.form-control').focus();\n break;\n\n case 'search-close':\n target = $this.data('target');\n $('[data-action=\"search-open\"]').removeClass('active');\n $(target).removeClass('show');\n break;\n\n case 'sidenav-pin':\n pinSidenav($this);\n break;\n\n case 'sidenav-unpin':\n unpinSidenav($this);\n break;\n }\n })\n\n // Add sidenav modifier classes on mouse events\n\n // $('.sidenav').on('mouseenter', function() {\n // if(! $('body').hasClass('g-sidenav-pinned')) {\n // $('body').removeClass('g-sidenav-hide').removeClass('g-sidenav-hidden').addClass('g-sidenav-show');\n // }\n // })\n //\n // $('.sidenav').on('mouseleave', function() {\n // if(! $('body').hasClass('g-sidenav-pinned')) {\n // $('body').removeClass('g-sidenav-show').addClass('g-sidenav-hide');\n //\n // setTimeout(function() {\n // $('body').removeClass('g-sidenav-hide').addClass('g-sidenav-hidden');\n // }, 300);\n // }\n // })\n\n // Offset an element by giving an existing element's class or id from the same page\n\n if($('[data-offset-top]').length) {\n var $el = $('[data-offset-top]'),\n $offsetEl = $($el.data('offset-top')),\n offset = $offsetEl.height();\n\n\n $el.css({'padding-top':offset+'px'})\n }\n})();\n","//\n// Popover\n//\n\n'use strict';\n\nvar Popover = (function() {\n\n\t// Variables\n\n\tvar $popover = $('[data-toggle=\"popover\"]');\n\n\n\t// Methods\n\n\tfunction init($this) {\n\t\tvar popoverClass = '';\n\n\t\tif ($this.data('color')) {\n\t\t\tpopoverClass = ' popover-' + $this.data('color');\n\t\t}\n\n\t\tvar options = {\n\t\t\ttrigger: 'focus',\n\t\t\ttemplate: '

'\n\t\t};\n\n\t\t$this.popover(options);\n\t}\n\n\n\t// Events\n\n\tif ($popover.length) {\n\t\t$popover.each(function() {\n\t\t\tinit($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Style\n// Style helper function to get colors and more\n//\n\nvar PurposeStyle = (function() {\n\n\t// Variables\n\n\tvar style = getComputedStyle(document.body);\n var colors = {\n \t\tgray: {\n \t\t\t100: '#f6f9fc',\n \t\t\t200: '#e9ecef',\n \t\t\t300: '#dee2e6',\n \t\t\t400: '#ced4da',\n \t\t\t500: '#adb5bd',\n \t\t\t600: '#8898aa',\n \t\t\t700: '#525f7f',\n \t\t\t800: '#32325d',\n \t\t\t900: '#212529'\n \t\t},\n \t\ttheme: {\n \t\t\t'primary': style.getPropertyValue('--primary') ? style.getPropertyValue('--primary').replace(' ', '') : '#008aff',\n \t\t\t'info': style.getPropertyValue('--info') ? style.getPropertyValue('--info').replace(' ', '') : '#50b5ff',\n \t\t\t'success': style.getPropertyValue('--success') ? style.getPropertyValue('--success').replace(' ', '') : '#5cc9a7',\n \t\t\t'danger': style.getPropertyValue('--danger') ? style.getPropertyValue('--danger').replace(' ', '') : '#f25767',\n \t\t\t'warning': style.getPropertyValue('--warning') ? style.getPropertyValue('--warning').replace(' ', '') : '#FFBE3D',\n 'dark': style.getPropertyValue('--dark') ? style.getPropertyValue('--dark').replace(' ', '') : '#171347'\n \t\t},\n \t\ttransparent: 'transparent',\n \t},\n\t\tfonts = {\n\t\t\tbase: '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"'\n\t\t}\n\n\t// Return\n\n\treturn {\n\t\tcolors: colors,\n\t\tfonts: fonts\n\t};\n\n})();\n","//\n// Sticky\n//\n\n'use strict';\n\nvar SvgInjector = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $svg = document.querySelectorAll('img.svg-inject');\n\tvar status = false;\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction init($this) {\n\n\t\tvar options = {\n\n\t\t};\n\n\t\tSVGInjector($this, options, function(result) {\n\t\t\tstatus = true\n\t\t});\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\tif ($svg.length) {\n\t\tinit($svg);\n\t}\n\n\n\t//\n\t// Return\n\t//\n\n\treturn {\n\t\tstatus: status\n\t};\n})();\n","//\n// Tooltip\n//\n\n'use strict';\n\nvar Tooltip = (function() {\n\n\t// Variables\n\n\tvar $tooltip = $('[data-toggle=\"tooltip\"]');\n\n\n\t// Methods\n\n\tfunction init() {\n\t\t$tooltip.tooltip();\n\t}\n\n\n\t// Events\n\n\tif ($tooltip.length) {\n\t\tinit();\n\t}\n\n})();\n","//\n// Card\n//\n\n'use strict';\n\n// Cookies\n\nvar Cookies = (function() {\n\n\t// Variables\n\n\tvar $modal = $(\"#modal-cookies\");\n\n\n\t// Methods\n\n\tfunction show($this) {\n var cookies = localStorage.getItem('modal_cookies');\n\n if(! cookies) {\n $this.modal('show')\n }\n\t}\n\n\tfunction hide($this) {\n\t\t$this.modal('hide')\n\t}\n\n\t// Events\n\n\tif ($modal.length) {\n\t\tshow($modal);\n\n $modal.on('hidden.bs.modal', function (e) {\n localStorage.setItem('modal_cookies', 1);\n })\n\t}\n\n})();\n","var CopyType = (function() {\n\n\t// Variables\n\n\tvar $element = '.btn-type-clipboard',\n\t\t$btn = $($element);\n\n\n\t// Methods\n\n\tfunction init($this) {\n\t\t$this.tooltip().on('mouseleave', function() {\n\t\t\t// Explicitly hide tooltip, since after clicking it remains\n\t\t\t// focused (as it's a button), so tooltip would otherwise\n\t\t\t// remain visible until focus is moved away\n\t\t\t$this.tooltip('hide');\n\t\t});\n\n\t\tvar clipboard = new ClipboardJS($element);\n\n\t\tclipboard.on('success', function(e) {\n\t\t\t$(e.trigger)\n\t\t\t\t.attr('title', 'Copied!')\n\t\t\t\t.tooltip('_fixTitle')\n\t\t\t\t.tooltip('show')\n\t\t\t\t.attr('title', 'Copy to clipboard')\n\t\t\t\t.tooltip('_fixTitle')\n\n\t\t\te.clearSelection()\n\t\t});\n\t}\n\n\n\t// Events\n\tif ($btn.length) {\n\t\tinit($btn);\n\t}\n\n})();\n","//\n// Dark Mode Switcher\n//\n\n'use strict';\n\nvar DarkMode = (function() {\n\n\t// Variables\n\n\tvar $btn = document.getElementById('btnSwitchMode');\n\tvar stylesheet = document.getElementById('stylesheet');\n\n\t// Config\n\tvar config = {\n\t\tmode: (localStorage.getItem('mode')) ? localStorage.getItem('mode') : null,\n\t}\n\n\t// Methods\n\n\tfunction toggleMode(mode, callback) {\n\t\tif(mode) {\n\t\t\tvar params = stylesheet.getAttribute(\"href\").split('/');\n\n\t\t\tvar file = params[params.length - 1];\n\t\t\tvar newFile;\n\n\t\t\tif (mode == 'dark') {\n\t\t\t\tnewFile = 'quick-website-dark.css';\n\t\t\t} else {\n\t\t\t\tnewFile = 'quick-website.css';\n\t\t\t}\n\n\t\t\tnewFile = stylesheet.getAttribute('href').replace(file, newFile);\n\n\t\t\tstylesheet.setAttribute('href', newFile);\n\n\t\t\tlocalStorage.setItem('mode', mode);\n\n\t\t\tif(mode == 'dark') {\n\t\t\t\t$btn.classList.add('text-warning');\n\t\t\t\t$btn.setAttribute('data-mode', 'light');\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$btn.classList.remove('text-warning');\n\t\t\t\t$btn.setAttribute('data-mode', 'dark');\n\t\t\t}\n\n\t\t\tvar $header = document.getElementById('header-main');\n\n\t\t\tif($header) {\n\t\t\t\ttoggleNavbarColor(mode)\n\t\t\t}\n\n\t\t\tif (callback) {\n\t\t\t\tcallback();\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction toggleNavbarColor(mode) {\n\n\t\tvar $header = document.getElementById('header-main');\n\t\tvar $navbar = document.getElementById('navbar-main');\n\t\tvar $logo = document.getElementById('navbar-logo');\n\n\t\tvar params = $logo.getAttribute(\"src\").split('/');\n\n\t\tvar logoFile = params[params.length - 1];\n\t\tvar newLogoFile;\n\n\t\tif (!$header.classList.contains('header-transparent')) {\n\t\t\tif(mode == 'dark') {\n\t\t\t\t$navbar.classList.remove('navbar-light', 'bg-white')\n\t\t\t\t$navbar.classList.add('navbar-dark', 'bg-dark')\n\n\t\t\t\tnewLogoFile = $logo.getAttribute('src').replace(logoFile, 'light.svg')\n\n\t\t\t}\n\t\t\telse {\n\t\t\t\t$navbar.classList.remove('navbar-dark', 'bg-dark')\n\t\t\t\t$navbar.classList.add('navbar-light', 'bg-white')\n\n\t\t\t\tnewLogoFile = $logo.getAttribute('src').replace(logoFile, 'dark.svg')\n\t\t\t}\n\n\t\t\t$logo.setAttribute('src', newLogoFile)\n\t\t}\n\n\n \t}\n\n\t// Events\n\n\t// Toggle skin\n\tif($btn && stylesheet) {\n\n\n\t\twindow.addEventListener('load', function() {\n\t\t\t// document.body.style.opacity = '0';\n\t\t\ttoggleMode(config.mode, function() {\n\t\t\t\tdocument.body.style.opacity = '1';\n\t\t\t});\n\t\t});\n\n\t\t$btn.addEventListener('click', function() {\n\t\t\tvar mode = $btn.dataset.mode\n\n\t\t\tdocument.body.style.opacity = '0';\n\t\t\ttoggleMode(mode, function() {\n\t\t\t\tdocument.body.style.opacity = '1';\n\t\t\t});\n\t\t});\n\t}\n\n})();\n","//\n// Demo.js\n// only for preview purposes - remove it when starting your project\n//\n\n'use strict';\n\nvar Demo = (function() {\n $('[data-toggle=\"sweet-alert\"]').on('click', function(){\n var type = $(this).data('sweet-alert');\n\n switch (type) {\n case 'basic':\n Swal.fire({\n title: \"Here's a message!\",\n text: 'A few words about this sweet alert ...',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-primary'\n })\n break;\n\n case 'info':\n Swal.fire({\n title: 'Info',\n text: 'A few words about this sweet alert ...',\n type: 'info',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-info'\n })\n break;\n\n case 'info':\n Swal.fire({\n title: 'Info',\n text: 'A few words about this sweet alert ...',\n type: 'info',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-info'\n })\n break;\n\n case 'success':\n Swal.fire({\n title: 'Success',\n text: 'A few words about this sweet alert ...',\n type: 'success',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-success'\n })\n break;\n\n case 'warning':\n Swal.fire({\n title: 'Warning',\n text: 'A few words about this sweet alert ...',\n type: 'warning',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-warning'\n })\n break;\n\n case 'question':\n Swal.fire({\n title: 'Are you sure?',\n text: 'A few words about this sweet alert ...',\n type: 'question',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-dark'\n })\n break;\n\n case 'confirm':\n Swal.fire({\n title: 'Are you sure?',\n text: \"You won't be able to revert this!\",\n type: 'warning',\n showCancelButton: true,\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-danger',\n confirmButtonText: 'Yes, delete it!',\n cancelButtonClass: 'btn btn-secondary'\n }).then(function(result) {\n if (result.value) {\n // Show confirmation\n Swal.fire({\n title: 'Deleted!',\n text: 'Your file has been deleted.',\n type: 'success',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-primary'\n });\n }\n })\n break;\n\n case 'image':\n Swal.fire({\n title: 'Sweet',\n text: \"Modal with a custom image ...\",\n imageUrl: '../../assets/img/prv/splash.png',\n buttonsStyling: false,\n confirmButtonClass: 'btn btn-primary',\n confirmButtonText: 'Super!'\n });\n break;\n\n case 'timer':\n Swal.fire({\n title: 'Auto close alert!',\n text: 'I will close in 2 seconds.',\n timer: 2000,\n showConfirmButton: false\n });\n break;\n }\n });\n})();\n","//\n// Dropdown\n//\n\n'use strict';\n\nvar Dropdown = (function() {\n\n\t// Variables\n\n\tvar $dropdown = $('.dropdown-animate'),\n\t\t$dropdownSubmenu = $('.dropdown-submenu [data-toggle=\"dropdown\"]');\n\n\n\t// Methods\n\n\tfunction hideDropdown($this) {\n\n\t\t// Add additional .hide class for animated dropdown menus in order to apply some css behind\n\n\t\tvar $dropdownMenu = $this.find('.dropdown-menu');\n\n $dropdownMenu.addClass('hide');\n\n setTimeout(function(){\n $dropdownMenu.removeClass('hide');\n }, 300);\n\n\t}\n\n\tfunction initSubmenu($this) {\n if (!$this.next().hasClass('show')) {\n $this.parents('.dropdown-menu').first().find('.show').removeClass(\"show\");\n }\n\n var $submenu = $this.next(\".dropdown-menu\");\n\n $submenu.toggleClass('show');\n $submenu.parent().toggleClass('show');\n\n $this.parents('.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) {\n $('.dropdown-submenu .show').removeClass(\"show\");\n });\n\t}\n\n\t// Events\n\n\tif ($dropdown.length) {\n \t$dropdown.on({\n \t\t'hide.bs.dropdown': function(e) {\n \t\t\thideDropdown($(this));\n \t\t}\n \t})\n\t}\n\n\tif ($dropdownSubmenu.length) {\n\t\t$dropdownSubmenu.on('click', function(e) {\n\n\t\t\tinitSubmenu($(this))\n\n\t\t\treturn false;\n\t\t});\n\t}\n})();\n","//\n// Forms\n//\n\n'use strict';\n\n\n//\n// Form control\n//\n\nvar FormControl = (function() {\n\n\t// Variables\n\n\tvar $input = $('.form-control'),\n\t\t$indeterminateCheckbox = $('[data-toggle=\"indeterminate\"]');\n\n\n\t// Methods\n\n\tfunction init($this) {\n\t\t$this.on('focus blur', function(e) {\n \t$(this).parents('.form-group').toggleClass('focused', (e.type === 'focus'));\n \t}).trigger('blur');\n\t}\n\n\n\t// Events\n\n\tif ($input.length) {\n\t\tinit($input);\n\t}\n\n\t// Add indeterminate state to a checkbox\n\tif($indeterminateCheckbox.length) {\n\t\t$indeterminateCheckbox.each(function() {\n\t\t\t$(this).prop('indeterminate', true)\n\t\t})\n\t}\n\n})();\n\n\n//\n// Custom input file\n//\n\nvar CustomInputFile = (function() {\n\n\t// Variables\n\n\tvar $customInputFile = $('.custom-input-file');\n\n\n\t// Methods\n\n\tfunction change($input, $this, $e) {\n\t\tvar fileName,\n\t\t\t$label = $input.next('label'),\n\t\t\tlabelVal = $label.html();\n\n\t\tif ($this && $this.files.length > 1) {\n\t\t\tfileName = ($this.getAttribute('data-multiple-caption') || '').replace('{count}', $this.files.length);\n\t\t}\n\t\telse if ($e.target.value) {\n\t\t\tfileName = $e.target.value.split('\\\\').pop();\n\t\t}\n\n\t\tif (fileName) {\n\t\t\t$label.find('span').html(fileName);\n\t\t}\n\t\telse {\n\t\t\t$label.html(labelVal);\n\t\t}\n\t}\n\n\tfunction focus($input) {\n\t\t$input.addClass('has-focus');\n\t}\n\n\tfunction blur($input) {\n\t\t$input.removeClass('has-focus');\n\t}\n\n\n\t// Events\n\n\tif ($customInputFile.length) {\n\t\t$customInputFile.each(function() {\n\t\t\tvar $input = $(this);\n\n\t\t\t$input.on('change', function(e) {\n\t\t\t\tvar $this = this,\n\t\t\t\t\t$e = e;\n\n\t\t\t\tchange($input, $this, $e);\n\t });\n\n\t // Firefox bug fix\n\t $input.on('focus', function() {\n\t focus($input);\n\t })\n\t .on('blur', function() {\n\t blur($input);\n\t });\n\t\t});\n\t}\n})();\n","//\n// Sticky Navbar\n//\n\nvar NavbarSticky = (function() {\n\n\t// Variables\n\n\tvar $nav = $('.navbar-sticky'),\n navOffsetTop = 0,\n\t\tscrolling = false;\n\n\n\t// Methods\n\n\tfunction init($this) {\n\n\t\t// our current vertical position from the top\n\t\tvar scrollTop = $(window).scrollTop(),\n\t\t\tnavHeight = $this.outerHeight();\n\n\t\tif (scrollTop > (navOffsetTop + 200)) {\n\t\t\t$this.addClass('sticky');\n\t\t\t$(\"body\").css(\"padding-top\", navHeight + \"px\");\n\t\t} else {\n\t\t\t$this.removeClass('sticky');\n\t\t\t$(\"body\").css(\"padding-top\", \"0\");\n\t\t}\n\t}\n\n\n\t// Events\n\n\tif ($nav.length) {\n\n\t\tnavOffsetTop = $nav.offset().top;\n\t\t\n\t\t$(window).on({\n\t\t\t'scroll': function() {\n\t\t\t\tscrolling = true;\n\n\t\t\t\tsetInterval(function() {\n\t\t\t\t\tif (scrolling) {\n\t\t\t\t\t\tscrolling = false;\n\n\t\t\t\t\t\t// Sticky navbar init\n init($nav);\n\t\t\t\t\t}\n\t\t\t\t}, 250);\n\t\t\t}\n\t\t})\n\t}\n})();\n","//\n// Toggle password visibility\n//\n\n'use strict';\n\nvar PasswordText = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $trigger = $('[data-toggle=\"password-text\"]');\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction init($this) {\n\t\tvar $password = $($this.data('target'));\n\n\t\t$password.attr('type') == 'password' ? $password.attr('type', 'text') : $password.attr('type', 'password');\n\n\t\treturn false;\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\tif ($trigger.length) {\n\t\t// Init scroll on click\n\t\t$trigger.on('click', function(event) {\n\t\t\tinit($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Pricing\n//\n\n'use strict';\n\n\nvar Pricing = (function() {\n\n\t// Variables\n\n\tvar $pricingContainer = $('.pricing-container'),\n\t\t$btn = $('.pricing-container button[data-pricing]');\n\n\n\t// Methods\n\n\tfunction init($this) {\n var a = $this.data('pricing'),\n b = $this.parents('.pricing-container'),\n c = $('.'+b.attr('class')+' [data-pricing-value]');\n\n\n if(!$this.hasClass('active')) {\n // Toggle active classes for monthly/yearly buttons\n $('.'+b.attr('class')+' button[data-pricing]').removeClass('active');\n $this.addClass('active');\n\n // Change price values\n c.each(function() {\n var new_val = $(this).data('pricing-value');\n var old_val = $(this).find('span.price').text();\n\n $(this).find('span.price').text(new_val);\n $(this).data('pricing-value', old_val);\n });\n }\n\t}\n\n\n\t// Events\n\n\tif ($pricingContainer.length) {\n\t\t$btn.on({\n \t\t'click': function() {\n \t\t\tinit($(this));\n \t\t}\n \t})\n\t}\n\n})();\n","//\n// Scroll to (anchor links)\n//\n\n'use strict';\n\nvar ScrollTo = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $scrollTo = $('.scroll-me, [data-scroll-to], .toc-entry a'),\n\t\turlHash = window.location.hash;\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction init(hash) {\n\t\t$('html, body').animate({\n\t scrollTop: $(hash).offset().top\n\t }, 'slow');\n\t}\n\n\tfunction scrollTo($this) {\n\t\tvar $el = $this.attr('href');\n var offset = $this.data('scroll-to-offset') ? $this.data('scroll-to-offset') : 0;\n\t\tvar options = {\n\t\t\tscrollTop: $($el).offset().top - offset\n\t\t};\n\n // Animate scroll to the selected section\n $('html, body').stop(true, true).animate(options, 300);\n\n event.preventDefault();\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\tif ($scrollTo.length) {\n\t\t// Init scroll on click\n\t\t$scrollTo.on('click', function(event) {\n\t\t\tscrollTo($(this));\n\t\t});\n\t}\n\n\t$(window).on(\"load\", function () {\n\t\t// Init scroll on page load if a hash is present\n\t\tif(urlHash && urlHash != '#!' && $(urlHash).length) {\n\t\t\tinit(urlHash)\n\t\t}\n\t});\n})();\n","//\n// Google maps\n//\n\nvar GoogleMapCustom = (function() {\n var $map = document.getElementById('map-custom'),\n lat,\n lng,\n color,\n zoom;\n\n function initMap(map) {\n\n lat = map.getAttribute('data-lat');\n lng = map.getAttribute('data-lng');\n color = map.getAttribute('data-color');\n zoom = map.getAttribute('data-zoom') ? parseInt(map.getAttribute('data-zoom')) : 12;\n\n var myLatlng = new google.maps.LatLng(lat, lng);\n\n var mapOptions = {\n zoom: zoom,\n scrollwheel: false,\n center: myLatlng,\n mapTypeId: google.maps.MapTypeId.ROADMAP,\n styles: [{\"featureType\":\"administrative\",\"elementType\":\"labels.text.fill\",\"stylers\":[{\"color\":\"#444444\"}]},{\"featureType\":\"landscape\",\"elementType\":\"all\",\"stylers\":[{\"color\":\"#f2f2f2\"}]},{\"featureType\":\"poi\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"road\",\"elementType\":\"all\",\"stylers\":[{\"saturation\":-100},{\"lightness\":45}]},{\"featureType\":\"road.highway\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"simplified\"}]},{\"featureType\":\"road.arterial\",\"elementType\":\"labels.icon\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"transit\",\"elementType\":\"all\",\"stylers\":[{\"visibility\":\"off\"}]},{\"featureType\":\"water\",\"elementType\":\"all\",\"stylers\":[{\"color\":color},{\"visibility\":\"on\"}]}]\n }\n\n map = new google.maps.Map(map, mapOptions);\n\n var marker = new google.maps.Marker({\n position: myLatlng,\n map: map,\n animation: google.maps.Animation.DROP,\n title: 'Hello World!'\n });\n\n var contentString = '
Company Name
' +\n '

Description comes here...

';\n\n var infowindow = new google.maps.InfoWindow({\n content: contentString\n });\n\n google.maps.event.addListener(marker, 'click', function() {\n infowindow.open(map, marker);\n });\n }\n\n if (typeof($map) != 'undefined' && $map != null) {\n google.maps.event.addDomListener(window, 'load', initMap($map));\n }\n})();\n","//\n// Google maps\n//\n\nvar GoogleMap = (function() {\n var $map = document.getElementById('map-default'),\n lat,\n lng,\n zoom;\n\n function initMap(map) {\n\n lat = map.getAttribute('data-lat');\n lng = map.getAttribute('data-lng');\n zoom = map.getAttribute('data-zoom') ? parseInt(map.getAttribute('data-zoom')) : 12;\n\n var myLatlng = new google.maps.LatLng(lat, lng);\n\n var mapOptions = {\n zoom: zoom,\n scrollwheel: false,\n center: myLatlng,\n mapTypeId: google.maps.MapTypeId.ROADMAP,\n }\n\n map = new google.maps.Map(map, mapOptions);\n\n var marker = new google.maps.Marker({\n position: myLatlng,\n map: map,\n animation: google.maps.Animation.DROP,\n title: 'Hello World!'\n });\n\n var contentString = '

{{ site.product.name }} {{ site.product.name_long }}

' +\n '

{{ site.product.description }}

';\n\n var infowindow = new google.maps.InfoWindow({\n content: contentString\n });\n\n google.maps.event.addListener(marker, 'click', function() {\n infowindow.open(map, marker);\n });\n }\n\n if (typeof($map) != 'undefined' && $map != null) {\n google.maps.event.addDomListener(window, 'load', initMap($map));\n }\n})();\n","//\n// Autosize\n// used on textarea inputs\n//\n\n'use strict';\n\nvar TextareaAutosize = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $textarea = $('[data-toggle=\"autosize\"]');\n\n\t//\n\t// Functions\n\t//\n\n\tfunction init() {\n\t\tautosize($textarea);\n\t}\n\n\t//\n\t// Events\n\t//\n\n\tif ($textarea.length) {\n\t\tinit();\n\t}\n\n})();\n","//\n// Countdown\n//\n\n'use strict';\n\nvar Countdown = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $countdown = $('.countdown');\n\n\t//\n\t// Functions\n\t//\n\n\tfunction init($this) {\n\t\tvar date = $this.data('countdown-date'),\n\t\t\ttemplate = '
%-Dday%!D
' +\n\t\t\t'
%H:hours
' +\n\t\t\t'
%M:minutes
' +\n\t\t\t'
%Sseconds
';\n\n\t\t$this.countdown(date).on('update.countdown', function(event) {\n\t\t\tvar $this = $(this).html(event.strftime('' + template));\n\t\t});\n\t}\n\n\t//\n\t// Events\n\t//\n\t\n\tif ($countdown.length) {\n\t\t$countdown.each(function() {\n\t\t\tinit($(this));\n\t\t})\n\t}\n\n})();\n","//\n// Counter\n//\n\n'use strict';\n\n! function(t) {\n\tt.fn.countTo = function(e) {\n\t\treturn e = e || {}, t(this).each(function() {\n\t\t\tvar a = t.extend({}, t.fn.countTo.defaults, {\n\t\t\t\t\tfrom: t(this).data(\"from\"),\n\t\t\t\t\tto: t(this).data(\"to\"),\n\t\t\t\t\tspeed: t(this).data(\"speed\"),\n\t\t\t\t\trefreshInterval: t(this).data(\"refresh-interval\"),\n\t\t\t\t\tdecimals: t(this).data(\"decimals\")\n\t\t\t\t}, e),\n\t\t\t\tn = Math.ceil(a.speed / a.refreshInterval),\n\t\t\t\to = (a.to - a.from) / n,\n\t\t\t\tr = this,\n\t\t\t\tl = t(this),\n\t\t\t\tf = 0,\n\t\t\t\ti = a.from,\n\t\t\t\tc = l.data(\"countTo\") || {};\n\n\t\t\tfunction s(t) {\n\t\t\t\tvar e = a.formatter.call(r, t, a);\n\t\t\t\tl.text(e)\n\t\t\t}\n\t\t\tl.data(\"countTo\", c), c.interval && clearInterval(c.interval), c.interval = setInterval(function() {\n\t\t\t\tf++, s(i += o), \"function\" == typeof a.onUpdate && a.onUpdate.call(r, i);\n\t\t\t\tf >= n && (l.removeData(\"countTo\"), clearInterval(c.interval), i = a.to, \"function\" == typeof a.onComplete && a.onComplete.call(r, i))\n\t\t\t}, a.refreshInterval), s(i)\n\t\t})\n\t}, t.fn.countTo.defaults = {\n\t\tfrom: 0,\n\t\tto: 0,\n\t\tspeed: 1e3,\n\t\trefreshInterval: 100,\n\t\tdecimals: 0,\n\t\tformatter: function(t, e) {\n\t\t\treturn t.toFixed(e.decimals)\n\t\t},\n\t\tonUpdate: null,\n\t\tonComplete: null\n\t}\n}(jQuery);\n\n\nvar Counter = (function() {\n\n\t// Variables\n\n\tvar counter = '.counter',\n\t\t$counter = $(counter);\n\n\n\t// Methods\n\n\tfunction init($this) {\n\t\tinView(counter)\n\t\t.on('enter', function() {\n\t\t\tif(! $this.hasClass('counting-finished')) {\n\t\t\t\t$this.countTo({\n\t\t\t\t\tformatter: function(value, options) {\n\t\t\t\t\t\treturn value.toFixed(options.decimals);\n\t\t\t\t\t},\n\t\t\t\t\tonUpdate: function(value) {\n\t\t\t\t\t\t//console.debug(this);\n\t\t\t\t\t},\n\t\t\t\t\tonComplete: function(value) {\n\t\t\t\t\t\t$(this).addClass('counting-finished');\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t})\n\t}\n\n\n\t// // Events\n\n\tif ($counter.length) {\n\t\tinit($counter);\n\t}\n\n})();\n","//\n// Datepicker\n//\n\n'use strict';\n\nvar Datepicker = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $date = $('[data-toggle=\"date\"]'),\n\t\t$datetime = $('[data-toggle=\"datetime\"]'),\n\t\t$time = $('[data-toggle=\"time\"]');\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction initDate($this) {\n\n\t\tvar options = {\n\t\t\tenableTime: false,\n\t\t\tallowInput: true\n\t\t};\n\n\t\t$this.flatpickr(options);\n\t}\n\n\tfunction initDatetime($this) {\n\n\t\tvar options = {\n\t\t\tenableTime: true,\n\t\t\tallowInput: true\n\t\t};\n\n\t\t$this.flatpickr(options);\n\t}\n\n\tfunction initTime($this) {\n\n\t\tvar options = {\n\t\t\tnoCalendar: true,\n enableTime: true,\n\t\t\tallowInput: true\n\t\t};\n\n\t\t$this.flatpickr(options);\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\tif ($date.length) {\n\n\t\t// Init selects\n\t\t$date.each(function() {\n\t\t\tinitDate($(this));\n\t\t});\n\t}\n\n\tif ($datetime.length) {\n\n\t\t// Init selects\n\t\t$datetime.each(function() {\n\t\t\tinitDatetime($(this));\n\t\t});\n\t}\n\n\tif ($time.length) {\n\n\t\t// Init selects\n\t\t$time.each(function() {\n\t\t\tinitTime($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Highlight.js\n//\n\n'use strict';\n\nvar Highlight = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $highlight = $('.highlight');\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction init(i, block) {\n\t\t// Insert the copy button inside the highlight block\n\t\tvar btnHtml = ''\n\t\t$(block).before(btnHtml)\n\t\t$('.btn-clipboard')\n\t\t\t.tooltip()\n\t\t\t.on('mouseleave', function() {\n\t\t\t\t// Explicitly hide tooltip, since after clicking it remains\n\t\t\t\t// focused (as it's a button), so tooltip would otherwise\n\t\t\t\t// remain visible until focus is moved away\n\t\t\t\t$(this).tooltip('hide');\n\t\t\t});\n\n\t\t// Component code copy/paste\n\t\tvar clipboard = new ClipboardJS('.btn-clipboard', {\n\t\t\ttarget: function(trigger) {\n\t\t\t\treturn trigger.nextElementSibling\n\t\t\t}\n\t\t})\n\n\t\tclipboard.on('success', function(e) {\n\t\t\t$(e.trigger)\n\t\t\t\t.attr('title', 'Copied!')\n\t\t\t\t.tooltip('_fixTitle')\n\t\t\t\t.tooltip('show')\n\t\t\t\t.attr('title', 'Copy to clipboard')\n\t\t\t\t.tooltip('_fixTitle')\n\n\t\t\te.clearSelection()\n\t\t})\n\n\t\tclipboard.on('error', function(e) {\n\t\t\tvar modifierKey = /Mac/i.test(navigator.userAgent) ? '\\u2318' : 'Ctrl-'\n\t\t\tvar fallbackMsg = 'Press ' + modifierKey + 'C to copy'\n\n\t\t\t$(e.trigger)\n\t\t\t\t.attr('title', fallbackMsg)\n\t\t\t\t.tooltip('_fixTitle')\n\t\t\t\t.tooltip('show')\n\t\t\t\t.attr('title', 'Copy to clipboard')\n\t\t\t\t.tooltip('_fixTitle')\n\t\t})\n\n\t\t// Initialize highlight.js plugin\n\t\thljs.highlightBlock(block);\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\t$highlight.each(function(i, block) {\n\t\tinit(i, block);\n\t});\n\n})();\n","//\n// Isotope - Masonry Layout\n//\n\n'use strict';\n\nvar Masonry = (function() {\n\n\t// Variables\n\n\tvar $masonryContainer = $(\".masonry-container\");\n\n\n\t// Methods\n\n\tfunction init($this) {\n\t\tvar $el = $this.find('.masonry'),\n\t\t\t$filters = $this.find('.masonry-filter-menu'),\n\t\t\t$defaultFilter = $filters.find('.active'),\n\t\t\tdefaultFilterValue = $defaultFilter.data('filter');\n\n\t\tvar $masonry = $el.imagesLoaded(function() {\n\n\t\t\t// Set default filter if exists\n\n\t\t\tif (defaultFilterValue != undefined && defaultFilterValue != '') {\n\n\t\t\t\tif (defaultFilterValue != '*') {\n\t\t\t\t\tdefaultFilterValue = '.' + defaultFilterValue;\n\t\t\t\t}\n\n\t\t\t\t$defaultFilter.addClass('active');\n\t\t\t}\n\n\n\t\t\t// Plugin options\n\t\t\tvar options = {\n\t\t\t\titemSelector: '.masonry-item',\n\t\t\t\tfilter: defaultFilterValue\n\t\t\t};\n\n\t\t\t// Init plugin\n\t\t\t$masonry.isotope(options);\n\t\t});\n\n\n\t\t// Sorting buttons (filters)\n\n $filters.on('click', 'a', function(e) {\n\t\t\te.preventDefault();\n\n\t\t\tvar $this = $(this),\n \tval = $(this).attr('data-filter');\n\n if (val == '*') {\n val = '';\n } else {\n val = '.' + val;\n }\n\n $masonry.isotope({\n filter: val\n }).on( 'arrangeComplete', function() {\n\t\t\t\t$filters.find('[data-filter]').removeClass('active');\n\t\t\t\t$this.addClass('active');\n\t\t\t} );\n });\n\n\t}\n\n\n\t// Events\n\n\tif ($masonryContainer.length) {\n\t\t$masonryContainer.each(function() {\n\t\t\tinit($(this));\n\t\t})\n\t}\n\n})();\n","//\n// Notify\n// init of the bootstrap-notify plugin\n//\n\n'use strict';\n\nvar Notify = (function() {\n\n\t// Variables\n\n\tvar $notifyBtn = $('[data-toggle=\"notify\"]');\n\n\n\t// Methods\n\n\tfunction notify(placement, align, icon, type, animIn, animOut) {\n\t\t$.notify({\n\t\t\ticon: icon,\n\t\t\ttitle: ' Bootstrap Notify',\n\t\t\tmessage: 'Turning standard Bootstrap alerts into awesome notifications',\n\t\t\turl: ''\n\t\t}, {\n\t\t\telement: 'body',\n\t\t\ttype: type,\n\t\t\tallow_dismiss: true,\n\t\t\tplacement: {\n\t\t\t\tfrom: placement,\n\t\t\t\talign: align\n\t\t\t},\n\t\t\toffset: {\n\t\t\t\tx: 15, // Keep this as default\n\t\t\t\ty: 15 // Unless there'll be alignment issues as this value is targeted in CSS\n\t\t\t},\n\t\t\tspacing: 10,\n\t\t\tz_index: 1080,\n\t\t\tdelay: 2500,\n\t\t\ttimer: 25000,\n\t\t\turl_target: '_blank',\n\t\t\tmouse_over: false,\n\t\t\tanimate: {\n\t\t\t\t// enter: animIn,\n\t\t\t\t// exit: animOut\n enter: animIn,\n exit: animOut\n\t\t\t},\n\t\t\ttemplate: '
' +\n\t\t\t\t\t \t\t'
' +\n\t\t\t\t\t \t\t\t'' +\n\t\t\t\t\t \t\t'
' +\n\t\t\t\t\t \t\t'
' +\n\t\t\t\t\t\t\t\t'{1}' +\n\t\t\t\t\t\t\t\t'
{2}
' +\n\t\t\t\t\t\t\t'
' +\n\t\t\t\t\t \t\t'' +\n\t\t\t\t\t\t'
'\n\n\t\t});\n\t}\n\n\t// Events\n\n\tif ($notifyBtn.length) {\n\t\t$notifyBtn.on('click', function(e) {\n\t\t\te.preventDefault();\n\n\t\t\tvar placement = $(this).attr('data-placement');\n\t\t\tvar align = $(this).attr('data-align');\n\t\t\tvar icon = $(this).attr('data-icon');\n\t\t\tvar type = $(this).attr('data-type');\n\t\t\tvar animIn = $(this).attr('data-animation-in');\n\t\t\tvar animOut = $(this).attr('data-animation-out');\n\n\t\t\tnotify(placement, align, icon, type, animIn, animOut);\n\t\t})\n\t}\n\n})();\n","//\n// Popover\n//\n\n'use strict';\n\nvar ProgressCircle = (function() {\n\n\t// Variables\n\n\tvar $progress = $('.progress-circle');\n\n\t// Methods\n\n\tfunction init($this) {\n\n var value = $this.data().progress,\n\t\t\ttext = $this.data().text ? $this.data().text : '',\n\t\t\ttextClass = $this.data().textclass ? $this.data().textclass : 'progressbar-text',\n color = $this.data().color ? $this.data().color : 'primary',\n\t\t\ttrailWidth = $this.data().trailwidth ? $this.data().trailwidth : 2,\n\t\t\tshape = $this.data().shape ? $this.data().shape : 'circle'\n\n\t\tvar options = {\n\t\t\tcolor: PurposeStyle.colors.theme[color],\n\t\t\tstrokeWidth: 7,\n\t\t\ttrailWidth: trailWidth,\n\t\t\ttext: {\n\t\t\t\tvalue: text,\n\t\t\t\tclassName: textClass\n\t\t\t},\n svgStyle: {\n display: 'block',\n },\n duration: 1500,\n easing: 'easeInOut'\n\t\t};\n\n\t\tif (shape == 'circle') {\n\t\t\tvar progress = new ProgressBar.Circle($this[0], options);\n\t\t}\n\t\telse if (shape == 'semi-circle') {\n\t\t\tvar progress = new ProgressBar.SemiCircle($this[0], options);\n\t\t}\n\n\n progress.animate(value / 100);\n\t}\n\n\n\t// Events\n\n\tif ($progress.length) {\n\t\t$progress.each(function() {\n\t\t\tinit($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Select2\n//\n\n'use strict';\n\nvar Select = (function() {\n\n\tvar $select = $('[data-toggle=\"select\"]');\n\n\tfunction init($this) {\n\t\tvar options = {};\n\n\t\t$this.select2(options);\n\t}\n\n\tif ($select.length) {\n\t\t$select.each(function() {\n\t\t\tinit($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Sticky\n//\n\n'use strict';\n\nvar Sticky = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $sticky = $('[data-toggle=\"sticky\"]');\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction init($this) {\n\n\t\tvar offset = $this.data('sticky-offset') ? $this.data('sticky-offset') : 0;\n\t\tvar options = {\n\t\t\t'offset_top': offset\n\t\t};\n\n\t\tif($(window).width() > 1000) {\n\t\t\t$this.stick_in_parent(options);\n\t\t} else {\n\t\t\t$this.trigger(\"sticky_kit:detach\");\n\t\t}\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\t$(window).on('load resize', function() {\n\t\tif ($sticky.length) {\n\n\t\t\t// Init selects\n\t\t\t$sticky.each(function() {\n\t\t\t\tinit($(this));\n\t\t\t});\n\t\t}\n\t})\n\n\n})();\n","//\n// Swiper\n// init of plugin Swiper JS\n//\n\n'use strict';\n\nvar WpxSwiper = (function() {\n\n\t// Variables\n\n\tvar $swiperContainer = $(\".swiper-js-container\"),\n\t \tanimEndEv = 'webkitAnimationEnd animationend';\n\n\n\t// Methods\n\n\tfunction init($this) {\n\n\t\t// Swiper elements\n\n var $el = $this.find('.swiper-container'),\n\t\t\tpagination = $this.find('.swiper-pagination'),\n\t\t\tnavNext = $this.find('.swiper-button-next'),\n\t\t\tnavPrev = $this.find('.swiper-button-prev');\n\n\n\t\t// Swiper options\n\n var effect = $el.data('swiper-effect') ? $el.data('swiper-effect') : 'slide',\n \tdirection = $el.data('swiper-direction') ? $el.data('swiper-direction') : 'horizontal',\n\t\t\tinitialSlide = $el.data('swiper-initial-slide') ? $el.data('swiper-initial-slide') : 0,\n\t\t\tautoHeight = $el.data('swiper-autoheight') ? $el.data('swiper-autoheight') : false,\n\t\t\tautoplay = $el.data('swiper-autoplay') ? $el.data('swiper-autoplay') : false,\n\t\t\tcenteredSlides = $el.data('swiper-centered-slides') ? $el.data('swiper-centered-slides') : false,\n\t\t\tpaginationType = $el.data('swiper-pagination-type') ? $el.data('swiper-pagination-type') : 'bullets';\n\n\n\n\t\t// Items per slide\n\n var items = $el.data('swiper-items');\n var itemsSm = $el.data('swiper-sm-items');\n var itemsMd = $el.data('swiper-md-items');\n var itemsLg = $el.data('swiper-lg-items');\n\t\tvar itemsXl = $el.data('swiper-xl-items');\n\n\n\t\t// Space between items\n\n var spaceBetween = $el.data('swiper-space-between');\n var spaceBetweenSm = $el.data('swiper-sm-space-between');\n var spaceBetweenMd = $el.data('swiper-md-space-between');\n var spaceBetweenLg = $el.data('swiper-lg-space-between');\n\t\tvar spaceBetweenXl = $el.data('swiper-xl-space-between');\n\n\n\t\t// Slides per view written in data attributes for adaptive resoutions\n\n items = items ? items : 1;\n itemsSm = itemsSm ? itemsSm : items;\n\t\titemsMd = itemsMd ? itemsMd : itemsSm;\n itemsLg = itemsLg ? itemsLg : itemsMd;\n itemsXl = itemsXl ? itemsXl : itemsLg;\n\n\n // Space between slides written in data attributes for adaptive resoutions\n\n spaceBetween = !spaceBetween ? 0 : spaceBetween;\n spaceBetweenSm = !spaceBetweenSm ? spaceBetween : spaceBetweenSm;\n spaceBetweenMd = !spaceBetweenMd ? spaceBetweenSm : spaceBetweenMd;\n spaceBetweenLg = !spaceBetweenLg ? spaceBetweenMd : spaceBetweenLg;\n\t\tspaceBetweenXl = !spaceBetweenXl ? spaceBetweenLg : spaceBetweenXl;\n\n\t\tvar $swiper = new Swiper($el, {\n pagination: {\n el: pagination,\n clickable: true,\n\t\t\t\ttype: paginationType\n },\n navigation: {\n nextEl: navNext,\n prevEl: navPrev,\n },\n slidesPerView: items,\n spaceBetween: spaceBetween,\n initialSlide: initialSlide,\n autoHeight: autoHeight,\n centeredSlides: centeredSlides,\n mousewheel: false,\n\t\t\tkeyboard: {\n\t\t\t enabled: true,\n\t\t\t onlyInViewport: false,\n\t\t\t},\n grabCursor: true,\n\t\t\tautoplay: autoplay,\n effect: effect,\n coverflowEffect: {\n rotate: 0,\n stretch: 0,\n depth: 50,\n modifier: 3,\n slideShadows: false\n },\n speed: 800,\n direction: direction,\n preventClicks: true,\n preventClicksPropagation: true,\n observer: true,\n observeParents: true,\n\t\t\tbreakpointsInverse: true,\n\t\t\tbreakpoints: {\n 575: {\n slidesPerView: itemsSm,\n spaceBetween: spaceBetweenSm\n },\n 767: {\n slidesPerView: itemsMd,\n spaceBetween: spaceBetweenMd\n },\n 991: {\n slidesPerView: itemsLg,\n spaceBetween: spaceBetweenLg\n },\n 1199: {\n slidesPerView: itemsXl,\n spaceBetween: spaceBetweenXl\n }\n }\n });\n\t}\n\n\n\t// Events\n\t$(document).ready(function() {\n\t\tif ($swiperContainer.length) {\n\t\t\t$swiperContainer.each(function(i, swiperContainer) {\n\t\t\t\tinit($(swiperContainer));\n\t\t\t})\n\t\t}\n\t})\n\n})();\n","//\n// Tags input\n//\n\n'use strict';\n\nvar Tags = (function() {\n\n\t//\n\t// Variables\n\t//\n\n\tvar $tags = $('[data-toggle=\"tags\"]');\n\n\n\t//\n\t// Methods\n\t//\n\n\tfunction init($this) {\n\n\t\tvar options = {\n\t\t\ttagClass: 'badge badge-primary'\n\t\t};\n\n\t\t$this.tagsinput(options);\n\t}\n\n\n\t//\n\t// Events\n\t//\n\n\tif ($tags.length) {\n\n\t\t// Init selects\n\t\t$tags.each(function() {\n\t\t\tinit($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Typed\n// text typing animation\n//\n\n'use strict';\n\nvar Typed = (function() {\n\n\t// Variables\n\n\tvar typed = '.typed',\n\t\t$typed = $(typed);\n\n\n\t// Methods\n\n\tfunction init($this) {\n\t\tvar el = '#' + $this.attr('id'),\n \tstrings = $this.data('type-this'),\n\t\t\tstrings = strings.split(',');\n\n\t\tvar options = {\n\t\t\tstrings: strings,\n typeSpeed: 100,\n backSpeed: 70,\n loop: true\n\t\t};\n\n var animation = new Typed(el, options);\n\n\t\tinView(el).on('enter', function() {\n\t\t\tanimation.start();\n\t\t}).on('exit', function() {\n\t\t\tanimation.stop();\n\t\t});\n\t}\n\n\n\t// Events\n\n\tif ($typed.length) {\n\t\t$typed.each(function() {\n\t\t\tinit($(this));\n\t\t});\n\t}\n\n})();\n","//\n// Engagement chart\n//\n\n'use strict';\n\nvar ApexOrdersChart = (function() {\n\n\t// Variables\n\n\tvar $chart = document.querySelector(\"#apex-orders\"),\n\t\t$legendItem = $('.legend input'),\n\t\tchart;\n\n\tvar colorPalette = [\n\t\tPurposeStyle.colors.theme['primary'],\n\t\tPurposeStyle.colors.theme['warning']\n\t]\n\n\tfunction init() {\n\t\tvar options = {\n\t\t\tchart: {\n\t\t\t\ttype: 'bar',\n\t\t\t\tstacked: false,\n\t\t\t\tzoom: {\n\t\t\t\t\tenabled: false\n\t\t\t\t},\n\t\t\t\ttoolbar: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tshadow: {\n\t\t\t\t\tenabled: false,\n\t\t\t\t},\n\t\t\t\tanimations: {\n\t\t\t enabled: true,\n\t\t\t easing: 'easeinout',\n\t\t\t speed: 800,\n\t\t\t animateGradually: {\n\t\t\t enabled: true,\n\t\t\t delay: 150\n\t\t\t },\n\t\t\t dynamicAnimation: {\n\t\t\t enabled: true,\n\t\t\t speed: 350\n\t\t\t }\n\t\t\t }\n\t\t\t},\n\t\t\tcolors: colorPalette,\n\t\t\tplotOptions: {\n\t\t\t\tbar: {\n\t\t\t\t\tcolumnWidth: '20%',\n\t\t\t\t\tendingShape: 'rounded'\n\t\t\t\t}\n\t\t\t},\n\t\t\tstroke: {\n\t\t\t\twidth: 0,\n\t\t\t\tcurve: 'smooth'\n\t\t\t},\n\t\t\tseries: [{\n\t\t\t\tname: 'Delivered',\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: [50, 30, 40, 60, 80, 100, 90, 90, 70, 90, 100]\n\t\t\t}, {\n\t\t\t\tname: 'Rejected',\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: [15, 20, 20, 15, 15, 30, 20, 15, 30, 20, 30]\n\t\t\t}],\n\t\t\tmarkers: {\n\t\t\t\tsize: 0\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\taxisBorder: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\taxisTicks: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tcategories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n\t\t\t\tlabels: {\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tcolors: PurposeStyle.colors.gray[500],\n\t\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\t\tfontFamily: PurposeStyle.fonts.base,\n\t\t\t\t\t\tcssClass: 'apexcharts-xaxis-label',\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\taxisBorder: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\taxisTicks: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tlabels: {\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tcolor: PurposeStyle.colors.gray[500],\n\t\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\t\tfontFamily: PurposeStyle.fonts.base,\n\t\t\t\t\t\tcssClass: 'apexcharts-xaxis-label',\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tshow: false\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\tborderColor: PurposeStyle.colors.gray[200],\n\t\t\t\tstrokeDashArray: 3,\n\t\t\t},\n\t\t\tdataLabels: {\n\t\t\t\tenabled: false\n\t\t\t},\n\t\t\ttooltip: {\n\t\t\t\tshared: true,\n\t\t\t\tintersect: false,\n\t\t\t\ty: {\n\t\t\t\t\tformatter: function(y) {\n\t\t\t\t\t\tif (typeof y !== \"undefined\") {\n\t\t\t\t\t\t\treturn y.toFixed(0) + \" orders\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn y;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Get data from data attributes\n\t\tvar height = $chart.dataset.height;\n\n\t\t// Inject synamic properties\n\t\toptions.colors = colorPalette;\n\n\t\toptions.chart.height = height ? height : 350;\n\n\t\tchart = new ApexCharts($chart, options);\n\n\t\t// Draw chart\n\t\tsetTimeout(function() {\n\t\t\tchart.render();\n\n\t\t\tcheckLegends()\n\t\t}, 300);\n\t}\n\n\n\t// check if the checkbox has any unchecked item\n\t// checkLegends()\n\n\tfunction checkLegends() {\n\t\tvar allLegends = document.querySelectorAll(\".legend input[type='checkbox']\")\n\n\t\tfor (var i = 0; i < allLegends.length; i++) {\n\t\t\tif (!allLegends[i].checked) {\n\t\t\t\tchart.toggleSeries(allLegends[i].value)\n\t\t\t}\n\t\t}\n\t}\n\n\t// toggleSeries accepts a single argument which should match the series name you're trying to toggle\n\tfunction toggleSeries(checkbox) {\n\t\tchart.toggleSeries(checkbox.value)\n\t}\n\n\tif ($chart) {\n\t\tinit();\n\n\t\treturn {\n\t\t\ttoggleSeries: toggleSeries\n\t\t};\n\t}\n\n})();\n","//\n// Engagement chart\n//\n\n'use strict';\n\nvar ApexTasksChart = (function() {\n\n\t// Variables\n\n\tvar $chart = document.querySelector(\"#apex-tasks\"),\n\t\t$legendItem = $('.legend input'),\n\t\tchart;\n\n\tvar colorPalette = [\n\t\tPurposeStyle.colors.theme['primary'],\n\t\tPurposeStyle.colors.theme['warning']\n\t]\n\n\tfunction init() {\n\t\tvar options = {\n\t\t\tchart: {\n\t\t\t\ttype: 'bar',\n\t\t\t\tstacked: true,\n\t\t\t\tzoom: {\n\t\t\t\t\tenabled: false\n\t\t\t\t},\n\t\t\t\ttoolbar: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tshadow: {\n\t\t\t\t\tenabled: false,\n\t\t\t\t},\n\t\t\t\tanimations: {\n\t\t\t enabled: true,\n\t\t\t easing: 'easeinout',\n\t\t\t speed: 800,\n\t\t\t animateGradually: {\n\t\t\t enabled: true,\n\t\t\t delay: 150\n\t\t\t },\n\t\t\t dynamicAnimation: {\n\t\t\t enabled: true,\n\t\t\t speed: 350\n\t\t\t }\n\t\t\t }\n\t\t\t},\n\t\t\tcolors: colorPalette,\n\t\t\tplotOptions: {\n\t\t\t\tbar: {\n\t\t\t\t\tcolumnWidth: '20%',\n\t\t\t\t\tendingShape: 'rounded'\n\t\t\t\t}\n\t\t\t},\n\t\t\tstroke: {\n\t\t\t\twidth: 0,\n\t\t\t\tcurve: 'smooth'\n\t\t\t},\n\t\t\tseries: [{\n\t\t\t\tname: 'Finished',\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: [50, 30, 40, 60, 80, 100, 90, 90, 70, 90, 100]\n\t\t\t}, {\n\t\t\t\tname: 'Unfinished',\n\t\t\t\ttype: 'bar',\n\t\t\t\tdata: [15, 20, 20, 15, 15, 30, 20, 15, 30, 20, 30]\n\t\t\t}],\n\t\t\tmarkers: {\n\t\t\t\tsize: 0\n\t\t\t},\n\t\t\txaxis: {\n\t\t\t\taxisBorder: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\taxisTicks: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tcategories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n\t\t\t\tlabels: {\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tcolors: PurposeStyle.colors.gray[500],\n\t\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\t\tfontFamily: PurposeStyle.fonts.base,\n\t\t\t\t\t\tcssClass: 'apexcharts-xaxis-label',\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tyaxis: {\n\t\t\t\taxisBorder: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\taxisTicks: {\n\t\t\t\t\tshow: false\n\t\t\t\t},\n\t\t\t\tlabels: {\n\t\t\t\t\tstyle: {\n\t\t\t\t\t\tcolor: PurposeStyle.colors.gray[500],\n\t\t\t\t\t\tfontSize: '13px',\n\t\t\t\t\t\tfontFamily: PurposeStyle.fonts.base,\n\t\t\t\t\t\tcssClass: 'apexcharts-xaxis-label',\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tlegend: {\n\t\t\t\tshow: false\n\t\t\t},\n\t\t\tgrid: {\n\t\t\t\tborderColor: PurposeStyle.colors.gray[200],\n\t\t\t\tstrokeDashArray: 3,\n\t\t\t},\n\t\t\tdataLabels: {\n\t\t\t\tenabled: false\n\t\t\t},\n\t\t\ttooltip: {\n\t\t\t\tshared: true,\n\t\t\t\tintersect: false,\n\t\t\t\ty: {\n\t\t\t\t\tformatter: function(y) {\n\t\t\t\t\t\tif (typeof y !== \"undefined\") {\n\t\t\t\t\t\t\treturn y.toFixed(0) + \" tasks\";\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn y;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Get data from data attributes\n\t\tvar height = $chart.dataset.height;\n\n\t\t// Inject synamic properties\n\t\toptions.colors = colorPalette;\n\n\t\toptions.chart.height = height ? height : 350;\n\n\t\tchart = new ApexCharts($chart, options);\n\n\t\t// Draw chart\n\t\tsetTimeout(function() {\n\t\t\tchart.render();\n\t\t}, 300);\n\t}\n\n\tif ($chart) {\n\t\tinit();\n\t}\n\n})();\n"]}