{"version":3,"sources":["basket.js","inline.js","jtable.js","mobil-header.js","orders-mobile.js","scripts.js","slider.js","user-info.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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACniBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACrjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC36CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"cantadakitap.app.js","sourcesContent":["/* eslint-disable no-empty */\n/* eslint-disable no-undef */\n/* eslint-disable no-unused-vars */\n$(document).ready(function () {\n\n\n\n var total = 0,\n indirimtotal = 0,\n kdvtotal = 0,\n faturatotal = 0,\n gidecektotal = 0,\n gidecekindirimtotal = 0,\n gidecekkdvtotal = 0,\n gidecekfaturatotal = 0;\n var turkishMessages = {\n serverCommunicationError: 'Sunucu ile iletişim kurulurken bir hata oluştu.',\n loadingMessage: 'Kayıtlar yükleniyor...',\n noDataAvailable: 'Hiç kayıt bulunmamaktadır!',\n addNewRecord: 'Yeni kayıt ekle',\n editRecord: 'Kayıt düzenle',\n areYouSure: 'Emin misiniz?',\n deleteConfirmation: 'Bu kayıt silinecektir. Emin misiniz?',\n save: 'Kaydet',\n saving: 'Kaydediyor',\n cancel: 'İptal',\n deleteText: 'Sil',\n deleting: 'Siliyor',\n error: 'Hata',\n close: 'Kapat',\n cannotLoadOptionsFor: '{0} alanı için seçenekler yüklenemedi!',\n pagingInfo: 'Gösterilen: {0}-{1}, Toplam: {2}',\n pageSizeChangeLabel: 'Satır sayısı',\n gotoPageLabel: 'Sayfaya git',\n canNotDeletedRecords: '{1} kayıttan {0} adedi silinemedi!',\n deleteProggress: '{1} kayıttan {0} adedi silindi, devam ediliyor...'\n };\n\n $('#tblSepet').jtable({\n messages: turkishMessages,\n paging: false,\n pageSize: 15,\n sorting: false,\n defaultSorting: '',\n addRecordButton: false,\n saveUserPreferences: false,\n create: false,\n edit: false,\n actions: {\n listAction: '/WebMethods.aspx/SepetGoster?kullaniciId=2336'\n },\n\n fields: {\n Id: {\n title: '',\n visibility: 'hidden'\n },\n UrunId: {\n title: '',\n visibility: 'hidden'\n },\n NAME: {\n title: 'Ürün Adı',\n display: function (data) {\n //return '' + data.record.Urun_Ad + '
' + data.record.Barkod + '
' + data.record.Yayinevi + '
' + data.record.Yazar + '';\n return '' + data.record.Urun_Ad + '
' + data.record.Barkod + '';\n },\n width: '30%'\n },\n Yazar: {\n title: 'Yazar',\n display: function (data) {\n return '' + data.record.Yazar + '
' + data.record.Yayinevi + '';\n },\n width: '14%'\n //,\n //visibility: 'hidden'\n },\n Yayinevi: {\n title: 'YayınEvi',\n width: '1%',\n visibility: 'hidden'\n },\n Barkod: {\n title: 'Barkod',\n width: '1%',\n visibility: 'hidden'\n },\n Birim_Fiyat: {\n title: 'Birim',\n width: '5%',\n display: function (data) {\n return '
' + data.record.Birim_Fiyat.toFixed(2) + '
'\n },\n },\n Iskonto1: {\n title: 'İsk.',\n width: '2%',\n display: function (data) {\n return '
% ' + data.record.Iskonto1 + '
'\n },\n },\n Indirim_Fiyat: {\n title: 'Net',\n width: '7%',\n display: function (data) {\n return '
' + data.record.Indirim_Fiyat.toFixed(2) + '
'\n },\n },\n Adet: {\n title: 'Adet',\n display: function (data) {\n return '';\n },\n width: '1%'\n },\n STOK: {\n title: 'Stok',\n display: function (data) {\n return '
' + data.record.STOK + '
'\n },\n width: '12%'\n },\n //Tutar: {\n // title: 'Tutar',\n // display: function (data) {\n // return '
' + data.record.Tutar.toFixed(2) + '
'\n // },\n // width: '7%'\n //},\n UrunTutar: {\n title: '',\n display: function (data) {\n return '' + data.record.UrunTutar + ''\n },\n visibility: 'hidden'\n },\n IndirimTutar: {\n title: '',\n display: function (data) {\n return '' + data.record.IndirimTutar + ''\n },\n visibility: 'hidden'\n },\n KDVTutar: {\n title: '',\n display: function (data) {\n return '' + data.record.KDVTutar + ''\n },\n width: '5%',\n visibility: 'hidden'\n },\n KDV: {\n title: '',\n display: function (data) {\n return '' + data.record.KDV + ''\n },\n width: '5%',\n visibility: 'hidden'\n },\n İşlem: {\n title: '',\n display: function (data) {\n return 'Güncelle';\n },\n width: '1%'\n },\n İşlem2: {\n title: '',\n display: function (data) {\n return 'Sil';\n },\n width: '1%'\n }\n },\n recordsLoaded: function (event, data) {\n\n $('.jtable thead th:nth-child(7) div').attr('style', 'text-align:center; ');\n $('.jtable thead th:nth-child(8) div').attr('style', 'text-align:center; ');\n $('.jtable thead th:nth-child(9) div').attr('style', 'text-align:center; ');\n $('.jtable thead th:nth-child(12) div').attr('style', 'text-align:center; ');\n\n total = 0;\n indirimtotal = 0;\n kdvtotal = 0;\n faturatotal = 0;\n gidecektotal = 0;\n gidecekindirimtotal = 0;\n gidecekkdvtotal = 0;\n gidecekfaturatotal = 0;\n\n for (var i in data.records) {\n total += parseFloat(data.records[i].UrunTutar);\n $('#GenelTutar').html(total.toFixed(2) + '');\n var adet = 0\n if (data.records[i].STOK != 0) {\n if (data.records[i].STOK < data.records[i].Miktar)\n adet = data.records[i].STOK;\n else\n adet = data.records[i].Miktar;\n }\n //alert(adet);\n gidecektotal += parseFloat(data.records[i].Birim_FiyatKDVsiz) * adet;\n $('#GidecekTutar').html(gidecektotal.toFixed(2) + '');\n\n\n indirimtotal += parseFloat(data.records[i].IndirimTutar);\n $('#IndirimTutar').html(indirimtotal.toFixed(2) + '');\n\n\n gidecekindirimtotal += (parseFloat(data.records[i].Birim_FiyatKDVsiz) - parseFloat(data.records[i].Indirim_FiyatKDVsiz)) * adet;\n $('#GidecekIndirimTutar').html(gidecekindirimtotal.toFixed(2) + '');\n\n kdvtotal += parseFloat(data.records[i].KDVTutar);\n $('#KdvTutar').html(kdvtotal.toFixed(2) + '');\n\n gidecekkdvtotal += (parseFloat(data.records[i].Indirim_FiyatKDVsiz) * (parseFloat(data.records[i].KDV) / 100)) * adet;\n $('#GidecekKdvTutar').html(gidecekkdvtotal.toFixed(2) + '');\n\n faturatotal = (parseFloat(total) - parseFloat(indirimtotal)) + parseFloat(kdvtotal);\n $('#FaturaTutar').html(faturatotal.toFixed(2) + '');\n\n gidecekfaturatotal = (parseFloat(gidecektotal) - parseFloat(gidecekindirimtotal)) + parseFloat(gidecekkdvtotal);\n $('#GidecekFaturaTutar').html(gidecekfaturatotal.toFixed(2) + '');\n $('#lblgidecektutar').text(gidecekfaturatotal);\n //alert(gidecekfaturatotal);\n //$('#Kargo').html(\"Ücretsiz Kargo İçin Toplam 500TL değerinde sipariş vermelisiniz. Şu anki Tutarınız : \" + gidecekfaturatotal.toFixed(2) + \" TL'dir\");\n\n }\n\n $('.para').priceFormat({\n prefix: '',\n suffix: ' TL',\n centsSeparator: ',',\n thousandsSeparator: '.'\n });\n\n $('.jtable tr:gt(0)').each(function () {\n\n var stok = $('td:eq(10)', $(this)).text();\n var adet = $('td:eq(9)', $(this)).find(\"input\").val();\n\n if (parseInt(adet) > parseInt(stok)) {\n $('td:eq(10)', $(this)).css('background-color', '#E06666');\n $('td:eq(9)', $(this)).css('background-color', '#E06666');\n\n } else {\n $('td:eq(10)', $(this)).css('background-color', 'transparent');\n $('td:eq(9)', $(this)).css('background-color', 'transparent');\n }\n });\n\n\n SepetAdet();\n }\n });\n\n $('#tblSepet').jtable('load');\n});\n\nvar sayac = 0,\n sayac2 = 0;\n\nfunction KrediKartiAc(tip) {\n if (tip == 3)\n $('#divYanit').modal('show');\n else\n $('#divYanit2').modal('show');\n}\n\n$(document).ready(function () {\n $(\".loader\").fadeOut(\"slow\");\n});\n\n\nfunction Sorgula() {\n SiparisOlustur();\n}\n\nfunction SepetSil(Id) {\n var adet = 0;\n var iskonto = 0;\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/SepetGuncelleMusteri',\n data: '{\"Id\":\"' + Id + '\",\"adet\":\"' + adet + '\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n doPostBack();\n },\n error: function (resultx) {\n alert(resultx.d);\n }\n });\n}\n\nfunction SepetGuncelle(Id) {\n var adet = $('#Adet' + Id).val();\n var iskonto = $('#spnIskonto' + Id).val();\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/SepetGuncelleMusteri',\n data: '{\"Id\":\"' + Id + '\",\"adet\":\"' + adet + '\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n doPostBack();\n },\n error: function (resultx) {\n alert(resultx.d);\n }\n });\n}\n\nfunction SiparisOlusturKapali() {\n toastr['success'](\"1 Ocak 2017 Tarihine kadar sayımdayız.\", \"Bilgi\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-bottom-full-width\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n}\n\nfunction SiparisOlustur() {\n $(\"#btnHemen\").prop(\"disabled\", true);\n $(\"#btnHemenKrediKarti\").prop(\"disabled\", true);\n $(\".loader\").fadeIn(\"slow\");\n\n var kullaniciid = 2336\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/MusteriRisklimitveBakiyeSorgula',\n data: '{\"musteriId\":' + kullaniciid + '}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n if (result.d) {\n var deger = result.d;\n deger = \"\" + deger + \"\";\n bakiye = deger.split(';')[0];\n limit = deger.split(';')[1];\n sepet = deger.split(';')[2];\n }\n },\n error: function (resultx) {\n\n },\n complete: function () {\n if (parseFloat(bakiye) < 0 && parseFloat(limit) == 0) {\n if (parseFloat(bakiye) + parseFloat(sepet) < 0) {\n\n } else {\n $(\"#btnHemen\").prop(\"disabled\", false);\n $(\"#btnHemenKrediKarti\").prop(\"disabled\", false);\n $(\".loader\").fadeOut(\"slow\");\n\n popupAc();\n }\n } else {\n if (parseFloat(limit) > 0) {\n\n } else {\n $(\"#btnHemen\").prop(\"disabled\", false);\n $(\"#btnHemenKrediKarti\").prop(\"disabled\", false);\n $(\".loader\").fadeOut(\"slow\");\n\n popupAc();\n }\n }\n\n var odemetip = 0;\n odemetip = $('#ContentPlaceHolder1_cphSayfa_drpOdemeTip').val()\n\n var siparistip = 0;\n\n var urlstring = \"\";\n\n urlstring = '/WebMethods.aspx/HemenSiparisOlustur';\n\n $.ajax({\n type: 'POST',\n url: urlstring,\n data: '{\"odemetip\":\"' + odemetip + '\",\"secim\":\"' + siparistip + '\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n if (result.d == \"1\")\n window.location.href = \"/Istem/Siparis/Listele.aspx?giden=1\";\n else\n window.location.href = \"/Istem/Siparis/Listele.aspx?giden=2\";\n },\n error: function (resultx) {\n // alert(resultx.d);\n }\n });\n\n }\n });\n}\n\nfunction kontrol() {\n if (sayac == 0) {\n //alert(\"erdem1\");\n return false;\n } else if (sayac == sayac2) {\n //alert(\"erdem2\");\n return true;\n } else {\n //alert(\"erdem3\")\n return false;\n }\n}\n\n\nfunction doPostBack() {\n toastr['success'](\"İşlem başarılı.\", \"Bilgi\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n\n $('#tblSepet').jtable('load');\n}\n\nfunction CustomAlert() {\n var tipx;\n this.render = function (dialog, tip) {\n var winW = window.innerWidth;\n var winH = window.innerHeight;\n var dialogoverlay = document.getElementById('dialogoverlay');\n var dialogbox = document.getElementById('dialogbox');\n tipx = tip;\n dialogoverlay.style.display = \"block\";\n dialogoverlay.style.height = winH + \"px\";\n dialogbox.style.left = (winW / 2) - (550 * .5) + \"px\";\n dialogbox.style.top = \"100px\";\n dialogbox.style.display = \"block\";\n document.getElementById('dialogboxhead').innerHTML = \"Kargo Ücret Bilgisi\";\n document.getElementById('dialogboxbody').innerHTML = dialog;\n document.getElementById('dialogboxfoot').innerHTML = ' ';\n }\n\n // this.Hayir = function () {\n\n // //alert(\"Hayıra bastın\");\n // }\n //}\n}\nvar Alert = new CustomAlert();\n\nfunction CevapEvet(tipcevap) {\n if (tipcevap == 0)\n SiparisOlustur();\n if (tipcevap == 1) {\n KrediKArtiOdemeYap();\n //alert(\"erdem\");\n //window.location.href = \"http://www.google.com\";\n //window.open(\"http://www.w3schools.com\");\n }\n}\n\nfunction CevapHayir() {\n document.getElementById('dialogbox').style.display = \"none\";\n document.getElementById('dialogoverlay').style.display = \"none\";\n}\n\nfunction tumsil() {\n\n var id2 = '';\n\n id2 = '2336';\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/SepetTumSilKullaniciId',\n data: '{\"kullaniciId\":\"' + id2 + '\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n SepetAdet();\n var tutar = 0;\n $('#GenelTutar').html(tutar.toFixed(2) + '');\n $('#GidecekTutar').html(tutar.toFixed(2) + '');\n $('#IndirimTutar').html(tutar.toFixed(2) + '');\n $('#GidecekIndirimTutar').html(tutar.toFixed(2) + '');\n $('#KdvTutar').html(tutar.toFixed(2) + '');\n $('#GidecekKdvTutar').html(tutar.toFixed(2) + '');\n $('#FaturaTutar').html(tutar.toFixed(2) + '');\n $('#GidecekFaturaTutar').html(tutar.toFixed(2) + '');\n\n doPostBack();\n\n },\n error: function (resultx) {\n alert(resultx.d);\n }\n });\n}\n\nfunction Sayfakapat() {\n $('#divGiris').bPopup().close();\n}\n\nfunction popupAc() {\n $('#divGiris').bPopup({\n appendTo: 'form',\n zIndex: 999,\n modalClose: true\n });\n}\n\n$('.qty .minus').bind('click', function () {\n var $input = $(this).parent().find('input'),\n val = Number($input.val());\n if (val > 1) {\n val--;\n }\n $input.val(val);\n});\n\n$('.qty .plus').bind('click', function (e) {\n var $input = $(this).parent().find('input'),\n val = Number($input.val());\n if (val >= 0) {\n val++;\n }\n $input.val(val);\n});\n","//Sepete Ekle //\nfunction sepetyaz(urunId, barkod, ithalat, birimfiyat, indirimli, kdv, birim, indirim1, txtAdet1, kimyazdi) {\n\n}\n\n//Enter ile sepete ekleme Başlangıç //\n$(document).on(\"keypress\", \".sepet\", function (e) {\n if (e.which == 13) {\n $(\"#btn\" + this.id.replace(\"Adet\", \"\")).click();\n return false;\n }\n});\n//Enter ile sepete ekleme Bitiş //\n\n\n//Sepete Ekle //\n\n//Sepet Adet//\n\n\n\n\n\n//Giriş //\n\n$(\"#btnGiris\").click(function () {\n if ($(\"#txtKullaniciAd\").val() == '') {\n toastr['error'](\"Eposta boş olamaz.\", \"Uyarı!\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n } else if ($(\"#txtSifre\").val() == '') {\n toastr['error'](\"Şifre boş olamaz.\", \"Uyarı!\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n } else {\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/KullaniciKontrolMusteri',\n data: '{\"KullaniciAd\":\"' + $(\"#txtKullaniciAd\").val() + '\",\"Sifre\":\"' + $(\"#txtSifre\").val() + '\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n if (result.d == '-1') {\n toastr['error'](\"Bilgilerinizi kontrol edip, tekrar deneyiniz.\", \"Uyarı!\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n } else if (result.d == '0') {\n //toastr['error'](\"Hesabınız pasif durumda.\", \"Uyarı!\", { \"closeButton\": false, \"debug\": false, \"positionClass\": \"toast-top-right\", \"onclick\": null, \"showDuration\": \"300\", \"hideDuration\": \"1000\", \"timeOut\": \"5000\", \"extendedTimeOut\": \"1000\", \"showEasing\": \"swing\", \"hideEasing\": \"linear\", \"showMethod\": \"fadeIn\", \"hideMethod\": \"fadeOut\" });\n $('#divPasif').empty();\n\n $('#divPasif').attr(\"style\", \"z-index: 9999999; border:7px solid #000; background-color:#fff; border-radius:8px; padding:20px; width:700px;font-size:18px;height:300px;\");\n\n $('#divPasif').append(\"

Değerli Müşterimiz,


Cari hesabınızla ilgili finans departmanı ile görüşmenizi rica ederiz.

\");\n\n $('#divPasif').bPopup({\n appendTo: 'form',\n zIndex: 999999,\n modalClose: true\n });\n } else if (result.d == '-2') {\n toastr['error'](\"Müşteriye özel alan.\", \"Uyarı!\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n } else {\n var expires_day = 365;\n if ($('#beniHatirla').is(':checked')) {\n $.cookie('pm[email]', $('#txtKullaniciAd').val(), {\n expires: expires_day\n });\n $.cookie('pm[password]', $('#txtSifre').val(), {\n expires: expires_day\n });\n $.cookie('pm[remember]', true, {\n expires: expires_day\n });\n } else {\n $.cookie('pm[email]', null);\n $.cookie('pm[password]', null);\n $.cookie('pm[remember]', false);\n }\n window.location.href = window.location.href.split('#')[0];\n }\n },\n error: function (resultx) {\n toastr['error'](\"\", \"Uyarı!\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n }\n });\n }\n return false;\n});\n//Giriş Bitiş//\n\n//Arama enter Tuşu//\n$(document).on(\"onclick\", \"#btnListele\", function (e) {\n Arama();\n return false;\n});\n\nfunction Arama() {\n if ($(\"#txtArama\").val().trim() != ' Kitap / Yazar / Yayınevi / Barkod'.trim() && $(\"#txtArama\").val() != '') {\n\n if ($(\"#txtArama\").val().length > 2) {\n if ($.trim($(\"#txtArama\").val()).length == 13 & parseFloat($.trim($(\"#txtArama\").val().replace(\"'\", \" \"))) > 0) {\n window.location.href = '/Istem/Urun/Detay.aspx?Barcode=' + $.trim($(\"#txtArama\").val().replace(\"'\", \" \"));\n } else {\n window.location.href = '/Istem/Urun/Listele.aspx?ara=' + $(\"#txtArama\").val() + '&yazar=0&yayinEvi=0';\n }\n } else {\n toastr['error'](\"Arama için en az 3 harf gerekli.\", \"Uyarı!\", {\n \"closeButton\": false,\n \"debug\": false,\n \"positionClass\": \"toast-top-right\",\n \"onclick\": null,\n \"showDuration\": \"300\",\n \"hideDuration\": \"1000\",\n \"timeOut\": \"5000\",\n \"extendedTimeOut\": \"1000\",\n \"showEasing\": \"swing\",\n \"hideEasing\": \"linear\",\n \"showMethod\": \"fadeIn\",\n \"hideMethod\": \"fadeOut\"\n });\n }\n }\n}\n//Arama enter Tuşu Bitiş//\n\n//Beni Hatırla\n$(document).ready(function () {\n\n // var remember = $.cookie('pm[remember]');\n if ($.cookie('pm[email]') != 'null') {\n $('#txtKullaniciAd').val($.cookie('pm[email]'));\n $('#txtSifre').val($.cookie('pm[password]'));\n $('#beniHatirla').attr(\"checked\", true);\n $('#uniform-beniHatirla > span').attr(\"class\", 'checked');\n }\n\n $('.para').priceFormat({\n prefix: '',\n suffix: ' TL',\n centsSeparator: ',',\n thousandsSeparator: '.'\n });\n\n\n $('.maxlength_placement').maxlength({\n alwaysShow: true,\n placement: 'top-left',\n limitReachedClass: \"label label-danger\",\n });\n});\n\nfunction ParaFormat() {\n $('.para').priceFormat({\n prefix: '',\n suffix: ' TL',\n centsSeparator: ',',\n thousandsSeparator: '.'\n });\n}\n//Beni Hatırla\n\n//Gerekli\n$(document).ready(function () {\n //Büyük Harf //\n $('.buyukHarf').bestupper({\n ln: 'tr'\n });\n //Büyük Harf Bitiş//\n\n //Sayı Validate Başlangıç//\n $(\".sayi\").inputmask('integer', {\n rightAlignNumerics: false\n });\n $(\".sayiOndalik\").inputmask('decimal', {\n rightAlignNumerics: false,\n radixPoint: \",\"\n });\n //Sayı Validate Bitiş//\n\n //Büyük Harf Başlangıç//\n $('.buyukHarf').keyup(function () {\n this.value = this.value.toUpperCase();\n });\n //Büyük Harf Bitiş//\n\n $(\".telefon\").inputmask(\"mask\", {\n \"mask\": \"(0999) 999-99-99\"\n });\n\n $(function () {\n $.datepicker.setDefaults($.datepicker.regional['tr']);\n $('.date-picker').datepicker({\n dateFormat: 'dd.mm.yy'\n });\n });\n\n ParaFormat();\n\n});\n//Gerekli\n\n//Querystring Parametre\nfunction getParameterByName(name) {\n name = name.replace(/[\\[]/, \"\\\\[\").replace(/[\\]]/, \"\\\\]\");\n var regex = new RegExp(\"[\\\\?&]\" + name + \"=([^&#]*)\"),\n results = regex.exec(location.search);\n return results == null ? \"\" : decodeURIComponent(results[1].replace(/\\+/g, \" \"));\n}\n//Querystring Parametre\n\n$(\"#txtArama\").autocomplete({\n source: function (request, response) {\n var aciklama = {\n aciklama: $('#txtArama').val().replace(\"'\", \" \")\n };\n $.ajax({\n url: '/WebMethods.aspx/UrunListeleFiltrele',\n data: JSON.stringify(aciklama),\n dataType: \"json\",\n type: \"POST\",\n contentType: \"application/json; charset=utf-8\",\n dataFilter: function (data) {\n return data;\n },\n success: function (data) {\n response($.map(data.d, function (item) {\n return {\n value: data.d\n }\n }))\n },\n error: function (XMLHttpRequest, textStatus, errorThrown) {\n // alert(textStatus);\n }\n });\n },\n minLength: 3\n}).data(\"ui-autocomplete\")._renderMenu = function (ul, data) {\n var kitaplar = \"\";\n var yazarlar = \"\";\n var yayinevleri = \"\";\n\n $.each(data, function (index, item) {\n var pttkitapdurum = item.value[index].pttkitapdurum;\n\n var urunadi = item.value[index].NAME;\n\n if (urunadi == 'YazarAra') {\n yazarlar += '
  • ' + $('
    ').html(item.value[index].Yazar.substring(0, item.value[index].Yazar.length - 1)).text().replace('
  • ';\n } else if (urunadi == 'YayineviAra') {\n yayinevleri += '
  • ';\n\n\n } else {\n\n\n kitaplar += '
  • ' + item.value[index].PRICE + ' TL
  • ';\n\n\n\n\n\n\n }\n\n\n\n });\n\n if (kitaplar != \"\") {\n $(ul).append('
    Ürünler
    ' + kitaplar);\n\n }\n if (yazarlar != \"\") {\n $(ul).append('
    Yazarlar
    ' + yazarlar);\n }\n if (yayinevleri != \"\") {\n $(ul).append('
    Yayınevleri
    ' + yayinevleri);\n\n }\n\n\n\n\n\n\n $(ul).append('
    Tümünü Göster
    ');\n};\n\nfunction gotur(url) {\n window.location.href = url;\n}\n\nfunction TumunuGoster() {\n if ($.trim($(\"#txtArama\").val()).length == 13 & parseFloat($.trim($(\"#txtArama\").val())) > 0) {\n window.location.href = '/Istem/Urun/Detay.aspx?Barcode=' + $.trim($(\"#txtArama\").val());\n } else {\n window.location.href = '/Istem/Urun/Listele.aspx?ara=' + $(\"#txtArama\").val() + '&yazar=0&yayinEvi=0&ilk=1';\n }\n}\n\n//$(window).resize(function () {\n// var width = $(window).width();\n// if (width < 768) {\n// $(\"#filtrecollapse\").removeClass(\"in\")\n// }\n// else {$(\"#filtrecollapse\").addClass(\"in\")}\n//});\n$(document).ready(function () {\n var width = $(window).width();\n if (width < 768) {\n $(\"#filtrecollapse\").removeClass(\"in\")\n } else {\n $(\"#filtrecollapse\").addClass(\"in\")\n }\n})\n\nfunction Sayfakapat() {\n\n $(\"#spnurunbekleyenadet\").val(\"\");\n $(\"#spnurunfaturalananadet\").val(\"\");\n $('#divGiris').bPopup().close();\n\n return false;\n}\n\nfunction SepeteEklekontrol(urunId, barkod, ithalat, birimfiyat, indirimli, kdv, birim, indirim1, txtAdet1, kimyazdi) {\n Sayfakapat();\n\n\n\n return false;\n}\n\nfunction popupAc() {\n $('#divGiris').bPopup({\n appendTo: 'form',\n zIndex: 999,\n modalClose: true\n });\n}\n$(document).ready(function () {\n $('[data-toggle=\"popover\"]').popover();\n});\n\n$(document).on(\"change\", \"[id ^= filter1]\", function (e) {\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=9428&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=0&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n$(document).on(\"change\", \"[id ^= filter2]\", function (e) {\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=9427&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=0&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n$(document).on(\"change\", \"[id ^= chcders]\", function (e) {\n\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n\n window.location.href = '/default.aspx?dersId=' + (getParameterByName(\"dersId\") == \"0\" ? valuee + ',' : getParameterByName(\"dersId\") + valuee + ',') + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?ders=' + (getParameterByName(\"dersId\").replace(valuee + ',', '') == '' ? '0' : getParameterByName(\"dersId\").replace(valuee + ',', '')) + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n$(document).on(\"change\", \"[id ^= chcsinif]\", function (e) {\n\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + (getParameterByName(\"sinif\") == \"0\" ? valuee + ',' : getParameterByName(\"sinif\") + valuee + ',') + '&yazar=' + getParameterByName(\"yazar\") + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + (getParameterByName(\"sinif\").replace(valuee + ',', '') == '' ? '0' : getParameterByName(\"sinif\").replace(valuee + ',', '')) + '&yazar=' + getParameterByName(\"yazar\") + '';\n }\n\n }\n });\n\n\n});\n\n\n$(document).on(\"change\", \"[id ^= chcyazar]\", function (e) {\n\n\n var slcsecim = $(\"#ContentPlaceHolder1_drpsiralama\").val();\n\n var checkedd = this.checked;\n\n var valuee = this.value;\n\n $.ajax({\n type: 'POST',\n url: '/WebMethods.aspx/CookieEkleSecim',\n data: '{\"slcsecim\":\"' + slcsecim + '\",\"secimad\":\"ara\"}',\n contentType: 'application/json; charset=utf-8',\n dataType: 'json',\n success: function (result) {\n\n },\n error: function (resultx) {},\n complete: function () {\n if (checkedd == true) {\n\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + (getParameterByName(\"yazar\") == \"0\" ? valuee + ',' : getParameterByName(\"yazar\") + valuee + ',') + '';\n } else {\n window.location.href = '/default.aspx?dersId=' + getParameterByName(\"dersId\") + '&yayinEvi=' + getParameterByName(\"yayinEvi\") + '&sinif=' + getParameterByName(\"sinif\") + '&yazar=' + (getParameterByName(\"yazar\").replace(valuee + ',', '') == '' ? '0' : getParameterByName(\"yazar\").replace(valuee + ',', '')) + '';\n }\n\n }\n });\n\n\n});\n","$(document).ready(function () {\n $('.expandable-header').click(function (e) {\n e.preventDefault();\n\n var $header = $(this);\n var $content = $header.nextAll('.expandable-content');\n\n if ($content.is(':visible')) {\n $content.slideUp('fast');\n } else {\n $content.slideDown('fast');\n }\n });\n});\n","$('.menu .link').bind('click', function (e) {\n e.preventDefault();\n $('.user-info').removeClass('active');\n if ($(this).parent().hasClass('active')) {\n $(this).parent().removeClass('active');\n } else {\n $(this).parent().addClass('active');\n }\n})\n\n$('.user-info .link').bind('click', function (e) {\n e.preventDefault();\n $('.menu').removeClass('active');\n if ($(this).parent().hasClass('active')) {\n $(this).parent().removeClass('active');\n } else {\n $(this).parent().addClass('active');\n }\n})\n","$('.orders .item').not('.order-close').bind('click', function (e) {\n $('.orders .item').removeClass('active');\n $(this).addClass('active');\n});\n\n$('.order-modal .order-close').bind('click', function (e) {\n $('.orders .item').removeClass('active');\n e.stopPropagation();\n});\n","// on document ready\r\n(function($){\r\n\t\"use strict\";\r\n\r\n\tvar globalDfd = $.Deferred();\r\n\t$(window).bind('load',function(){\r\n\t\t// after loading all the scripts\r\n\t\tglobalDfd.resolve();\r\n\t});\r\n\r\n\t$(function(){\r\n\r\n\t$.fx.speeds._default = 500;\r\n\r\n\t// open dropdown\r\n\r\n\t$.fn.css3Animate = function(element){\r\n\t\treturn $(this).on('click',function(e){\r\n\t\t\tvar dropdown = element;\r\n\t\t\t$(this).toggleClass('active');\r\n\t\t\te.preventDefault();\r\n\t\t\tif(dropdown.hasClass('opened')){\r\n\t\t\t\tdropdown.removeClass('opened').addClass('closed');\r\n\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\tdropdown.removeClass('closed')\r\n\t\t\t\t},500);\r\n\t\t\t}else{\r\n\t\t\t\tdropdown.addClass('opened');\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\t$('#lang_button').css3Animate($('#lang_button').next('.dropdown_list'));\r\n\t$('#currency_button').css3Animate($('#currency_button').next('.dropdown_list'));\r\n\r\n\t// waypoints helper functions\r\n\r\n\t$.fn.waypointInit = function(classN,offset,delay,inv){\r\n\t\treturn $(this).waypoint(function(direction){\r\n\t\t\tvar current = $(this);\r\n\t\t\tif(direction === 'down'){\r\n\t\t\t\tif(delay){\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\tcurrent.addClass(classN);\r\n\t\t\t\t\t},delay);\r\n\t\t\t\t}\r\n\t\t\t\telse{\r\n\t\t\t\t\tcurrent.addClass(classN);\r\n\t\t\t\t}\r\n\t\t\t}else{\r\n \tif(inv == true){\r\n current.removeClass(classN);\r\n \t}\r\n }\r\n\t\t},{ offset : offset })\r\n\t};\r\n\r\n\t// synchronise\r\n\r\n\t$.fn.waypointSynchronise = function(config){\r\n\t\tvar element = $(this);\r\n\t\tfunction addClassToElem(el,eq){\r\n\t\t\tel.eq(eq).addClass(config.classN);\r\n\t\t}\r\n\t\telement.closest(config.container).waypoint(function(direction){\r\n\t\t \telement.each(function(i){\r\n\t\t\t\tif(direction === 'down'){\r\n\r\n\t\t \t\t\tif(config.globalDelay != undefined){\r\n\t\t \t\t\t\tsetTimeout(function(){\r\n\t\t \t\t\t\t\tsetTimeout(function(){\r\n\t\t \t\t\t\t\t\taddClassToElem(element,i);\r\n\t\t \t\t\t\t\t},i * config.delay);\r\n\t\t \t\t\t\t},config.globalDelay);\r\n\t\t \t\t\t}else{\r\n\t\t \t\t\t\tsetTimeout(function(){\r\n\t\t \t\t\t\t\taddClassToElem(element,i)\r\n\t\t \t\t\t\t},i * config.delay);\r\n\t\t \t\t\t}\r\n\r\n\t\t\t\t}else{\r\n\t\t\t\t\t\r\n\t\t\t\t\tif(config.inv){\r\n\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\telement.eq(i).removeClass(config.classN);\r\n\t\t\t\t\t\t},i * config.delay);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t},{ offset : config.offset });\r\n\t\treturn element;\r\n\t};\r\n\r\n\t// animation main page\r\n\r\n\t(function(){\r\n\t\tglobalDfd.done(function(){\r\n\t\t$('.products_container:not(.a_type_2) .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.products_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.products_container.a_type_2 .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.products_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.wfilter_carousel .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.wfilter_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.bestsellers_carousel .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.bestsellers_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tglobalDelay : 400,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.banner_type_2[class*=\"animate_ft\"]').waypointSynchronise({\r\n\t\t\tcontainer : '.row',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 800,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.animate_half_tc').waypointSynchronise({\r\n\t\t\tcontainer : '.row',\r\n\t\t\tdelay : 0,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.heading2').waypointInit('animate_sj_finished animate_fade_finished','800px');\r\n\t\t$('.nav_buttons_wrap.animate_fade').waypointInit('animate_sj_finished animate_fade_finished','800px');\r\n\t\t$('.product_brands a.animate_fade').waypointSynchronise({\r\n\t\t\tcontainer : '.product_brands',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_sj_finished animate_fade_finished\"\r\n\t\t});\r\n\t\t$('.blog_carousel a.photoframe').waypointSynchronise({\r\n\t\t\tcontainer : '.blog_animate.animate_ftr',\r\n\t\t\tdelay : 0,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.blog_carousel .mini_post_content > .animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.blog_animate.animate_ftr',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 830,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.blog_animate.animate_ftr').waypointInit('animate_horizontal_finished','800px');\r\n\t\t$('.ti_animate.animate_ftr').waypointInit('animate_horizontal_finished','800px',1000);\r\n\t\t$('.testiomials_carousel .animate_ftr:first').waypointInit('animate_horizontal_finished','851px',1200);\r\n\t\t$('.testiomials_carousel .animate_ftr:nth-child(2)').waypointInit('animate_horizontal_finished','973px',1400);\r\n\t\t$('.testiomials_carousel .animate_ftr:nth-child(3)').waypointInit('animate_horizontal_finished','987px',1600);\r\n\t\t$('.heading1.animate_ftr').waypointInit('animate_horizontal_finished','1000px');\r\n\t\t$('.isotope_menu > li.animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.isotope_menu',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 1000,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.flexslider.animate_ftr').waypointInit('animate_horizontal_finished','1000px');\r\n\t\tsetTimeout(function(){\r\n\t\t\t$('.s_banners .d_block.animate_ftr').waypointSynchronise({\r\n\t\t\t\tcontainer : '.s_banners',\r\n\t\t\t\tdelay : 300,\r\n\t\t\t\toffset : 830,\r\n\t\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t\t});\r\n\t\t},200);\r\n\t\t$('.widget.animate_ftr').waypointInit('animate_horizontal_finished','800px',200);\r\n\t\t$('.heading5').waypointInit('animate_horizontal_finished','800px');\r\n\t\t$('.banner.animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.row',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 1000,\r\n\t\t\tglobalDelay : 800,\r\n\t\t\tclassN : \"animate_horizontal_finished\"\r\n\t\t});\r\n\t\t$('.nc_carousel .photoframe.animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.nc_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.info_blocks_container .animate_ftr').waypointSynchronise({\r\n\t\t\tcontainer : '.info_blocks_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.our_recent_work_carousel .animate_ftb').waypointSynchronise({\r\n\t\t\tcontainer : '.our_recent_work_carousel',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_vertical_finished\"\r\n\t\t});\r\n\t\t$('.p_tables .animate_fade').waypointSynchronise({\r\n\t\t\tcontainer : '.p_tables',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_fade_finished\"\r\n\t\t});\r\n\t\t$('.animate_corporate_container .animate_fade').waypointSynchronise({\r\n\t\t\tcontainer : '.animate_corporate_container',\r\n\t\t\tdelay : 200,\r\n\t\t\toffset : 700,\r\n\t\t\tclassN : \"animate_fade_finished\"\r\n\t\t});\r\n\t\t\r\n\t\t// sticky menu\r\n\r\n\t\twindow.sticky = function(){\r\n\t\t\tvar container = $('[role=banner] .h_bot_part'),\r\n\t\t\t\toffset = container.closest('[role=\"banner\"]').hasClass('type_5') ? 0 : -container.outerHeight(),\r\n\t\t\t\tmenu = $('.menu_wrap'),\r\n\t\t\t\tmHeight = menu.outerHeight();\r\n\t\t\t\t//console.log(mHeight);\r\n\t\t\tcontainer.waypoint(function(direction){\r\n\t\t\t\tvar _this = $(this);\r\n\t\t\t\tif(direction == \"down\"){\r\n\t\t\t\t\tmenu.addClass('sticky');\r\n\t\t\t\t\tcontainer.parent('[role=\"banner\"]').css('border-bottom',mHeight + \"px solid transparent\");\r\n\t\t\t\t}else if(direction == \"up\"){\r\n\t\t\t\t\tmenu.removeClass('sticky');\r\n\t\t\t\t\tcontainer.parent('[role=\"banner\"]').css('border-bottom','none');\r\n\t\t\t\t}\r\n\t\t\t},{offset : offset});\r\n\r\n\t\t\tfunction getMenuWidth(){\r\n\t\t\t\tif(menu.hasClass('type_2')){\r\n\t\t\t\t\tmenu.css('width',menu.parent().width());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgetMenuWidth();\r\n\t\t\t$(window).on('resize',getMenuWidth);\r\n\t\t};\r\n\t\tsticky();\r\n\r\n\t\t});\r\n\t})();\r\n\r\n\t// jackbox\r\n\r\n\t(function(){\r\n\r\n\t\tif($(\".jackbox[data-group]\").length){\r\n\t\t\tjQuery(\".jackbox[data-group]\").jackBox(\"init\",{\r\n\t\t\t\t showInfoByDefault: false,\r\n\t\t\t\t preloadGraphics: true, \r\n\t\t\t\t fullscreenScalesContent: true,\r\n\t\t\t\t autoPlayVideo: true,\r\n\t\t\t\t flashVideoFirst: false,\r\n\t\t\t\t defaultVideoWidth: 960,\r\n\t\t\t\t defaultVideoHeight: 540,\r\n\t\t\t\t baseName: \".jackbox\",\r\n\t\t\t\t className: \".jackbox\",\r\n\t\t\t\t useThumbs: true,\r\n\t\t\t\t thumbsStartHidden: false,\r\n\t\t\t\t thumbnailWidth: 75,\r\n\t\t\t\t thumbnailHeight: 50,\r\n\t\t\t\t useThumbTooltips: true,\r\n\t\t\t\t showPageScrollbar: false,\r\n\t\t\t\t useKeyboardControls: true \r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// remove products from shopping cart\r\n\t\r\n\t$('[role=\"banner\"]').on('click','.close_product',function(){\r\n\t\t$(this).closest('li').animate({'opacity':'0'},function(){\r\n\t\t\t$(this).slideUp(500);\r\n\t\t});\r\n\t});\r\n\r\n\t// searchform\r\n\r\n\t(function(){\r\n\t\t$('[role=\"banner\"]').on('click','.search_button',function(){\r\n\t\t\t$('.searchform_wrap').addClass('opened');\r\n\t\t});\r\n\t\t$('[role=\"banner\"]').on('click','.close_search_form',function(){\r\n\t\t\t$('.searchform_wrap').removeClass('opened').addClass('closed');\r\n\t\t\tsetTimeout(function(){\r\n\t\t\t\t$('.searchform_wrap').removeClass('closed');\r\n\t\t\t},400)\r\n\t\t});\r\n\t})();\r\n\r\n\t// ie9 placeholder\r\n\r\n\t(function(){\r\n\t\tif($('html').hasClass('ie9')) {\r\n\t\t\t$('input[placeholder]').each(function(){\r\n\t\t\t\t$(this).val($(this).attr('placeholder'));\r\n\t\t\t\tvar v = $(this).val();\r\n\t\t\t\t$(this).on('focus',function(){\r\n\t\t\t\t\tif($(this).val() === v){\r\n\t\t\t\t\t\t$(this).val(\"\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}).on(\"blur\",function(){\r\n\t\t\t\t\tif($(this).val() == \"\"){\r\n\t\t\t\t\t\t$(this).val(v);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t\t\r\n\t\t}\r\n\t})();\r\n\r\n\t// revolution slider\r\n\r\n\tif($('.r_slider').length){\r\n\t var api = $('.r_slider').revolution({\r\n\t delay:5000,\r\n\t startwidth:1140,\r\n\t startheight:500,\r\n\t autoHeight:\"off\",\r\n\t fullScreenAlignForce:\"off\",\r\n\t \r\n\t onHoverStop:\"on\",\r\n\t \r\n\t thumbWidth:100,\r\n\t thumbHeight:50,\r\n\t thumbAmount:3,\r\n\t \r\n\t hideThumbsOnMobile:\"off\",\r\n\t hideBulletsOnMobile:\"off\",\r\n\t hideArrowsOnMobile:\"off\",\r\n\t hideThumbsUnderResoluition:0,\r\n\r\n\t \t\t hideTimerBar:\"on\",\r\n\t hideThumbs:0,\r\n\t \r\n\t navigationType:\"bullet\",\r\n\t navigationArrows:\"solo\",\r\n\t navigationStyle:\"round\",\r\n\t \r\n\t navigationHAlign:\"center\",\r\n\t navigationVAlign:\"bottom\",\r\n\t navigationHOffset:0,\r\n\t navigationVOffset:15,\r\n\t \r\n\t soloArrowLeftHalign:\"left\",\r\n\t soloArrowLeftValign:\"center\",\r\n\t soloArrowLeftHOffset:40,\r\n\t soloArrowLeftVOffset:0,\r\n\t \r\n\t soloArrowRightHalign:\"right\",\r\n\t soloArrowRightValign:\"center\",\r\n\t soloArrowRightHOffset:40,\r\n\t soloArrowRightVOffset:0,\r\n\t \r\n\t \r\n\t touchenabled:\"on\",\r\n\t \r\n\t stopAtSlide:-1,\r\n\t stopAfterLoops:-1,\r\n\t hideCaptionAtLimit:0,\r\n\t hideAllCaptionAtLilmit:0,\r\n\t hideSliderAtLimit:0,\r\n\t \r\n\t dottedOverlay:\"none\",\r\n\t \r\n\t fullWidth:\"off\",\r\n\t forceFullWidth:\"off\",\r\n\t fullScreen:\"off\",\r\n\t fullScreenOffsetContainer:\"#topheader-to-offset\",\r\n\t \r\n\t shadow:0\r\n\t \r\n\t });\r\n\t\tapi.bind(\"revolution.slide.onloaded\",function (e,data) {\r\n\t\t var container = $('.revolution_slider');\r\n\t\t container.find('.tp-leftarrow').append('');\r\n\t\t container.find('.tp-rightarrow').append('');\r\n\t\t // $('.tp-leftarrow,.tp-rightarrow').fadeIn(1500);\r\n\r\n\t\t // create custom thumbs\r\n\r\n\t\t \t(function(){\r\n\t\t \t\tvar image = $('.r_slider [data-custom-thumb]'),\r\n\t\t \t\t\tlen = image.length,\r\n\t\t \t\t\tbullet = $('.tp-bullets .bullet');\r\n\t\t \t\tfor(var i = 0; i < len; i++){\r\n\t\t \t\t\tbullet.eq(i).append('
    \"\"
    ');\r\n\t\t \t\t}\r\n\t\t \t})();\r\n\r\n\t\t\t$('.tp-bullets .bullet').each(function(){\r\n\t\t\t\tvar curr = $(this);\r\n\t\t\t\tcurr.on(\"mouseenter mouseleave\",function(){\r\n\t\t\t\t\tcurr.children('.custom_thumb').toggleClass('active')\r\n\t\t\t\t});\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t}\r\n\r\n\t// carousel with filter\r\n\t\r\n\t(function(){\r\n\r\n\t\tvar cwf = $('.wfilter_carousel'),\r\n\t\t\tprev = $('.wfilter_prev'),\r\n\t\t\tnext = $('.wfilter_next'),\r\n\t\t\tfilter = $('[data-carousel-filter]'),\r\n\t\t\telements = [],\r\n\t\t\titem = cwf.find('.photoframe'),\r\n\t\t\tlen = item.length;\r\n\r\n\t\tif(cwf.length){\r\n\r\n\t\t\tvar cf = cwf.owlCarousel({\r\n\t\t\t\titemsCustom : [[1199,4],[992,4],[768,3],[590,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t\t});\r\n\r\n\t\t \tprev.on('click',function(){\r\n\t\t \t\tcf.trigger('owl.prev');\r\n\t\t \t});\r\n\t\t \tnext.on('click',function(){\r\n\t\t \t\tcf.trigger('owl.next');\r\n\t\t \t});\r\n\r\n\t\t \tfor(var i = 0; i < len; i++){\r\n\t\t \t\telements.push(item.eq(i)[0].outerHTML);\r\n\t\t \t}\r\n\t\t \t\r\n\r\n\t\t \tfilter.on('click','li',function(){\r\n\t\t \t\tvar\tself = $(this),\r\n\t\t \t\t\tactiveElem = self.children('[data-filter]').data('filter');\r\n\t\t \t\tcwf.addClass('changed').find('.owl-wrapper').animate({\r\n\t\t \t\t\topacity : 0\r\n\t\t \t\t},function(){\r\n\t\t \t\t\tvar s = $(this);\r\n\t\t \t\t\tcwf.children().remove();\r\n\t\t \t\t\tif(activeElem == \"*\"){\r\n\t\t \t\t\t\t$.each(elements,function(i,v){\r\n\t\t \t\t\t\t\tcwf.append(v);\r\n\t\t\t \t\t\t});\r\n\t\t \t\t\t}else{\r\n\t\t\t \t\t\t$.each(elements,function(i,v){\r\n\t\t\t \t\t\t\tif(v.indexOf(activeElem) !== -1){\r\n\t\t\t \t\t\t\t\tcwf.append(v);\r\n\t\t\t \t\t\t\t}\r\n\t\t\t \t\t\t});\r\n\t\t \t\t\t}\r\n\t\t \t\t\tcwf.data('owlCarousel').destroy();\r\n\t\t \t\t\tcwf.owlCarousel({\r\n\t\t \t\t\t\titemsCustom : [[1199,4],[992,4],[768,3],[590,2],[300,1]],\r\n\t\t\t\t \t\tautoPlay : false,\r\n\t\t\t\t \t\tslideSpeed : 1000,\r\n\t\t\t\t \t\tautoHeight : true,\r\n\t\t\t\t \t\tafterInit: function(){\r\n\t\t\t\t \t\t\tcwf.addClass('no_children_animate');\r\n\t\t\t\t \t\t}\r\n\t\t \t\t\t});\r\n\t\t \t\t\t$(window).trigger('resize');\r\n\t\t \t\t});\r\n\t\t \t\tself.closest('li').addClass('active').siblings().removeClass('active');\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// bestsellers carousel\r\n\r\n\t(function(){\r\n\r\n\t\tvar bsc = $('.bestsellers_carousel');\r\n\t\tif(bsc.length){\r\n\t\t\tvar bs = bsc.owlCarousel({\r\n\t\t \t\titemsCustom : [[1199,4],[992,4],[768,3],[590,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.bestsellers_prev').on('click',function(){\r\n\t\t \t\tbs.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.bestsellers_next').on('click',function(){\r\n\t\t \t\tbs.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// our_recent_work_carousel\r\n\r\n\t(function(){\r\n\t\tvar orw = $('.our_recent_work_carousel');\r\n\t\tif(orw.length){\r\n\t\t\tvar orwc = orw.owlCarousel({\r\n\t\t \t\titemsCustom : [[1199,3],[992,3],[768,3],[421,2],[10,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.orw_prev').on('click',function(){\r\n\t\t \t\torwc.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.orw_next').on('click',function(){\r\n\t\t \t\torwc.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\t})();\r\n\r\n\t// new collections carousel\r\n\r\n\t(function(){\r\n\r\n\t\tvar ncc = $('.nc_carousel');\r\n\t\tif(ncc.length){\r\n\t\t\tvar nc = ncc.owlCarousel({\r\n\t\t \t\titemsCustom : [[1199,3],[992,3],[768,3],[575,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.nc_prev').on('click',function(){\r\n\t\t \t\tnc.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.nc_next').on('click',function(){\r\n\t\t \t\tnc.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// camera slideshow\r\n\r\n\t(function(){\r\n\t\tvar\tcs = $('.camera_wrap');\r\n\r\n\t\tif(cs.length){\r\n\r\n\t\t\tcs.camera({ \r\n\t\t\t\theight: '41%',\r\n\t\t\t\tnavigation: true,\r\n\t\t\t\tpagination: true,\r\n\t\t\t\tplayPause:false,\r\n\t\t\t\tthumbnails: false,\r\n\t\t\t\ttime: 4000,\r\n\t\t\t\ttransPeriod : 1000,\r\n\t\t\t\tnavigationHover: false,\r\n\t\t\t\tonLoaded: function() {\r\n\t\t\t\t\tvar image = $('.camera_wrap .camera_src > [data-src]'),\r\n\t\t\t \t\t\tlen = image.length,\r\n\t\t\t \t\t\tbullet = $('.camera_wrap .camera_pag_ul > li');\r\n\t\t\t \t\tif(bullet.find('.custom_thumb').length) return;\r\n\t\t\t \t\tfor(var i = 0; i < len; i++){\r\n\t\t\t \t\t\tbullet.eq(i).append('
    \"\"
    ');\r\n\t\t\t \t\t}\r\n\t\t\t \t\tbullet.on(\"mouseenter mouseleave\",function(){\r\n\t\t\t \t\t\t$(this).children('.custom_thumb').toggleClass(\"active\");\r\n\t\t\t \t\t});\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\tcs.find('.camera_prev').append('');\r\n\t\t\tcs.find('.camera_next').append('');\r\n\t\t}\r\n\t})();\r\n\r\n\t// rating\r\n\r\n\t$('body').on('click','.rating_list li',function(){\r\n\t\t$(this).siblings().removeClass('active');\r\n\t\t$(this).addClass('active').prevAll().addClass('active');\r\n\t});\r\n\r\n\t// product brands carousel\r\n\r\n\t(function(){\r\n\t\tif($('.product_brands').length){\r\n\t\t \tvar pb = $(\".product_brands\").owlCarousel({\r\n\t\t \t\titemsCustom : $('.product_brands').hasClass('with_sidebar') ? [[1199,4],[992,4],[768,3],[480,3],[300,2]] : [[1199,6],[992,5],[768,4],[480,3],[300,2]],\r\n\t\t \t\tautoPlay : true,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 600,\r\n\t\t \t\taddClassActive : true\r\n\t\t \t});\r\n\r\n\t\t \t$('.pb_prev').on('click',function(){\r\n\t\t \t\tpb.trigger('owl.prev');\r\n\t\t \t});\r\n\r\n\t\t \t$('.pb_next').on('click',function(){\r\n\t\t \t\tpb.trigger('owl.next');\r\n\t\t \t});\r\n\t\t}\r\n\t})();\r\n\r\n\t// blog carousel\r\n\r\n\t(function(){\r\n\t\tif($('.blog_carousel').length){\r\n\t\t\tvar blog = $('.blog_carousel').owlCarousel({\r\n\t\t \t\tsingleItem : true,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 600,\r\n\t\t \t\tautoHeight : true,\r\n\t\t \t\ttransitionStyle : \"backSlide\"\r\n\t\t \t});\r\n\t\t}\r\n\r\n\t\t$('.blog_prev').on('click',function(){\r\n\t\t\tblog.trigger('owl.prev');\r\n\t\t});\r\n\r\n\t\t$('.blog_next').on('click',function(){\r\n\t\t\tblog.trigger('owl.next');\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// testimonials\r\n\r\n\t(function(){\r\n\t\tif($('.testiomials_carousel').length){\r\n\t\t\tvar tc = $('.testiomials_carousel').owlCarousel({\r\n\t\t \t\tsingleItem : true,\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.ti_prev').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.ti_next').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\t(function(){\r\n\t\tif($('.testiomials_carousel_2').length){\r\n\t\t\tvar tc = $('.testiomials_carousel_2').owlCarousel({\r\n\t\t \t\tsingleItem : true,\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tstopOnHover : true,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.ti_2_prev').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.ti_2_next').on('click',function(){\r\n\t\t\t\ttc.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// go to top button\r\n\r\n\t(function(){\r\n\t\t$('#go_to_top').waypointInit('animate_horizontal_finished','0px',0,true);\r\n\t\t$('#go_to_top').on('click',function(){\r\n\t\t\t$('html,body').animate({\r\n\t\t\t\tscrollTop : 0\r\n\t\t\t},500);\r\n\t\t});\r\n\t})();\r\n\r\n\t// social widgets\r\n\r\n\t(function(){\r\n\t\t$('.sw_button').on('click',function(){\r\n\t\t\t$(this).parent().toggleClass('opened').siblings().removeClass('opened');\r\n\t\t});\r\n\t})();\r\n\r\n\t// responsive menu\r\n\r\n\twindow.rmenu = function(){\r\n\r\n\t\tvar menuWrap = $('[role=\"navigation\"]'),\r\n\t\t\tmenu = $('.main_menu'),\r\n\t\t\tbutton = $('#menu_button');\r\n\r\n\t\tfunction orientationChange(){\r\n\t\t\tif($(window).width() < 767){\r\n\t\t\t\t\tbutton.off('click').on('click',function(){\r\n\t\t\t\t\t\tmenuWrap.stop().slideToggle();\r\n\t\t\t\t\t\t$(this).toggleClass('active');\r\n\t\t\t\t\t});\r\n\t\t\t\tmenu.children('li').children('a').off('click').on('click',function(e){\r\n\t\t\t\t\tvar self = $(this);\r\n\t\t\t\t\tself\r\n\t\t\t\t\t\t.closest('li')\r\n\t\t\t\t\t\t.toggleClass('current_click')\r\n\t\t\t\t\t\t.find('.sub_menu_wrap')\r\n\t\t\t\t\t\t.stop()\r\n\t\t\t\t\t\t.slideToggle()\r\n\t\t\t\t\t\t.end()\r\n\t\t\t\t\t\t.closest('li')\r\n\t\t\t\t\t\t.siblings('li')\r\n\t\t\t\t\t\t.removeClass('current_click')\r\n\t\t\t\t\t\t.children('a').removeClass('prevented').parent()\r\n\t\t\t\t\t\t.find('.sub_menu_wrap')\r\n\t\t\t\t\t\t.stop()\r\n\t\t\t\t\t\t.slideUp();\r\n\t\t\t\t\tif(!(self.hasClass('prevented'))){\r\n\t\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\t\tself.addClass('prevented');\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\tself.removeClass('prevented');\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}else if($(window).width() > 767){\r\n\t\t\t\tmenuWrap.removeAttr('style').find('.sub_menu_wrap').removeAttr('style');\r\n\t\t\t\tmenu.children('li').children('a').off('click');\r\n\t\t\t}\r\n\t\t}\r\n\t\torientationChange();\r\n\r\n\t\t$(window).on('resize',orientationChange);\r\n\r\n\t};\r\n\trmenu();\r\n\t\r\n\t// custom select\r\n\r\n\t(function(){\r\n\r\n\t\t$('.custom_select').each(function(){\r\n\t\t\tvar list = $(this).children('ul'),\r\n\t\t\t\tselect = $(this).find('select'),\r\n\t\t\t\ttitle = $(this).find('.select_title');\r\n\t\t\ttitle.css('min-width',title.outerWidth());\r\n\r\n\t\t\t// select items to list items\r\n\r\n\t\t\tif($(this).find('[data-filter]').length){\r\n\t\t\t\tfor(var i = 0,len = select.children('option').length;i < len;i++){\r\n\t\t\t\t\tlist.append('
  • '+select.children('option').eq(i).text()+'
  • ')\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tfor(var i = 0,len = select.children('option').length;i < len;i++){\r\n\t\t\t\t\tlist.append('
  • '+select.children('option').eq(i).text()+'
  • ')\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tselect.hide();\r\n\r\n\t\t\t// open list\r\n\t\t\t\r\n\t\t\ttitle.on('click',function(){\r\n\t\t\t\tlist.slideToggle(400);\r\n\t\t\t\t$(this).toggleClass('active');\r\n\t\t\t});\r\n\r\n\t\t\t// selected option\r\n\r\n\t\t\tlist.on('click','li',function(){\r\n\t\t\t\tvar val = $(this).text();\r\n\t\t\t\ttitle.text(val);\r\n\t\t\t\tlist.slideUp(400);\r\n\t\t\t\tselect.val(val);\r\n\t\t\t\ttitle.toggleClass('active');\r\n\t\t\t});\r\n\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// widgets\r\n\r\n\t(function(){\r\n\t\tvar slider;\r\n\t\tif($('#price').length){\r\n\t\t\tslider = $('#price').slider({ \r\n\t\t\t \torientation: \"horizontal\",\r\n\t\t\t\trange: true,\r\n\t\t\t\tvalues: [ 0, 237 ],\r\n\t\t\t\tmin: 0,\r\n\t\t\t\tmax: 250,\r\n\t\t\t\tslide : function(event ,ui){\r\n\t\t\t\t\t$(this).next().find('.first_limit').val('$' + ui.values[0]);\r\n\t\t\t\t\t$(this).next().find('.last_limit').val('$' + ui.values[1]);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tvar color = $('.select_color').on('click',function(){\r\n\t\t\t$(this).addClass('active').parent().siblings().children('button').removeClass('active');\r\n\t\t});\r\n\r\n\t\t$('.close_fieldset').on('click',function(){\r\n\t\t\t$(this).closest('fieldset').animate({\r\n\t\t\t\t'opacity':'0'\r\n\t\t\t},function(){\r\n\t\t\t\t$(this).slideUp();\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\t$('button[type=\"reset\"]:not(#styleswitcher button[type=\"reset\"])').on('click',function(){\r\n\t\t\tcolor.eq(0).addClass('active').parent().siblings().children('button').removeClass('active');\r\n\t\t\tslider.slider( \"option\", \"values\", [ 0, 237 ] );\r\n\t\t});\r\n\r\n\t\t$('.categories_list').on('click','a',function(e){\r\n\t\t\tif($(this).parent().children('ul').length){\r\n\t\t\t\t$(this).parent().toggleClass('active').end().next().slideToggle();\r\n\t\t\t\te.preventDefault();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t$('.categories_list > li > a').on('click',function(e){\r\n\t\t\tif($(this).parent().children('ul').length){\r\n\t\t\t\t$(this).toggleClass('scheme_color').toggleClass('color_dark');\r\n\t\t\t\te.preventDefault();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// twitter\r\n\r\n\t(function(){\r\n\t\t$('.twitterfeed').tweet({\r\n\t\t\tusername: 'fanfbmltemplate',\r\n\t\t\tmodpath : 'twitter/',\r\n\t count: 2,\r\n\t loading_text: 'loading twitter feed...',\r\n\t template: '@{screen_name} {text}
    {time}
    '\r\n\t });\r\n\t})();\r\n\r\n\t// quick view carousel\r\n\r\n\t(function(){\r\n\t\tvar qvc = $('.qv_carousel'),\r\n\t\t\tqvcsingle = $('.qv_carousel_single');\r\n\t\tif(qvc.length){\r\n\t\t\tvar qv = qvc.owlCarousel({\r\n\t\t\t\titems: 3,\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.qv_btn_prev').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.qv_btn_next').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\t\tif(qvcsingle.length){\r\n\t\t\tvar qvcs = qvcsingle.owlCarousel({\r\n\t\t\t\titemsCustom : [[1199,3],[992,3],[768,3],[480,3],[300,3]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.qv_btn_single_prev').on('click',function(){\r\n\t\t\t\tqvcs.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.qv_btn_single_next').on('click',function(){\r\n\t\t\t\tqvcs.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t// quantity\r\n\r\n\t(function(){\r\n\t\t\r\n\t\t$('.quantity').on('click','button',function(){\r\n\t\t\tvar data = $(this).data('direction'),\r\n\t\t\t\ti = $(this).parent().children('input[type=\"text\"]'),\r\n\t\t\t\tval = i.val();\r\n\t\t\tif(data == \"up\"){\r\n\t\t\t\tval++;\r\n\t\t\t\ti.val(val);\r\n\t\t\t}else if(data == \"down\"){\r\n\t\t\t\tif(val == 1) return;\r\n\t\t\t\tval--;\r\n\t\t\t\ti.val(val);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// popup \r\n\r\n\t(function(){\r\n\r\n\t\t$('.popup').on('popup/position',function(){\r\n\t\t\tvar _this = $(this),\r\n\t\t\tpos = setTimeout(function(){\r\n\t\t\t\tvar mt = _this.outerHeight() / -2,\r\n\t\t\t\t\tml = _this.outerWidth() / -2;\r\n\t\t\t\t_this.css({\r\n\t\t\t\t\t'margin-left':ml,\r\n\t\t\t\t\t'margin-top':mt\r\n\t\t\t\t});\r\n\t\t\t\tclearTimeout(pos);\r\n\t\t\t},100);\r\n\t\t});\r\n\r\n\t\tvar close = $('.popup > .close');\r\n\t\tif($('[data-popup]').length){\r\n\t\t\t$(\"body\").on('click','[data-popup]',function(e){\r\n\t\t\t\tvar popup = $(this).data('popup'),\r\n\t\t\t\t\tpc = $(popup).find('.popup');\r\n\r\n\t\t\t\tpc.trigger('popup/position');\r\n\r\n\t\t\t\t$(popup).fadeIn(function(){\r\n\t\t\t\t\tvar scroll = $('.custom_scrollbar');\r\n\t\t\t\t\tif(scroll.length){\r\n\t\t\t\t\t\tvar isVisible = setInterval(function(){\r\n\t\t\t\t\t\t\tif(scroll.is(':visible')){\r\n\t\t\t\t\t\t\t\tscroll.customScrollbar({\r\n\t\t\t\t\t\t\t\t\tpreventDefaultScroll: true\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\tclearInterval(isVisible);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},100);\r\n\t\t\t\t\t}\r\n\r\n\r\n\t\t\t\t\t$(popup).on('click',function(e){\r\n\t\t\t\t\t\tif($(e.target).hasClass('popup_wrap')){\r\n\t\t\t\t\t\t\t$(this).fadeOut();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t\te.preventDefault();\r\n\t\t\t});\r\n\t\t}\r\n\t\tclose.on('click',function(){\r\n\t\t\t$(this).closest('.popup_wrap').fadeOut();\r\n\t\t});\r\n\t})();\r\n\r\n\t// tabs\r\n\r\n\t(function(){\r\n\t\tvar tabs = $('.tabs');\r\n\t\tif(tabs.length){\r\n\t\t\ttabs.tabs({\r\n\t\t\t\tbeforeActivate: function(event, ui) {\r\n\t\t\t var hash = ui.newTab.children(\"li a\").attr(\"href\");\r\n\t\t\t window.location.hash = hash;\r\n\t\t\t \t},\r\n\t\t\t\thide : {\r\n\t\t\t\t\teffect : \"fadeOut\",\r\n\t\t\t\t\tduration : 450\r\n\t\t\t\t},\r\n\t\t\t\tshow : {\r\n\t\t\t\t\teffect : \"fadeIn\",\r\n\t\t\t\t\tduration : 450\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\t})();\r\n\r\n\t// accordion & toggle\r\n\r\n\t(function(){\r\n\r\n\t\tvar aItem = $('.accordion:not(.toggle) .accordion_item'),\r\n\t\t\tlink = aItem.find('.a_title'),\r\n\t\t\taToggleItem = $('.accordion.toggle .accordion_item'),\r\n\t\t\ttLink = aToggleItem.find('.a_title');\r\n\r\n\t\taItem.add(aToggleItem).children('.a_title').not('.active').next().hide();\r\n\r\n\r\n\t\tlink.on('click',function(){\r\n\r\n\t\t\t $(this).removeClass('bg_light_color_1 color_dark')\r\n\t\t\t\t.addClass('active color_light')\r\n\t\t\t\t.next().stop().slideDown()\r\n\t\t\t\t.parent().siblings()\r\n\t\t\t\t.children('.a_title')\r\n\t\t\t\t.removeClass('active color_light')\r\n\t\t\t\t.addClass('bg_light_color_1 color_dark')\r\n\t\t\t\t.next().stop().slideUp();\r\n\r\n\t\t});\r\n\r\n\t\ttLink.on('click',function(){\r\n\t\t\t$(this).toggleClass('active color_light bg_light_color_1 color_dark')\r\n\t\t\t\t\t.next().stop().slideToggle();\r\n\r\n\t\t})\r\n\r\n\t})();\r\n\r\n\t// related projects\r\n\r\n\t(function(){\r\n\t\tvar rp = $('.related_projects');\r\n\t\tif(rp.length){\r\n\t\t\tvar qv = rp.owlCarousel({\r\n\t\t\t\titemsCustom : rp.hasClass(\"product_full_width\") ? [[1199,4],[992,4],[768,3],[480,1],[300,1]] : [[1199,3],[992,3],[768,3],[480,1],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 1000,\r\n\t\t \t\tautoHeight : true\r\n\t\t \t});\r\n\r\n\t\t\t$('.rp_prev').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.rp_next').on('click',function(){\r\n\t\t\t\tqv.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t(function () {\r\n\t var rp = $('.related_projects2');\r\n\t if (rp.length) {\r\n\t var qv = rp.owlCarousel({\r\n\t itemsCustom: rp.hasClass(\"product_full_width\") ? [[1199, 4], [992, 4], [768, 3], [480, 1], [300, 1]] : [[1199, 3], [992, 3], [768, 3], [480, 1], [300, 1]],\r\n\t autoPlay: false,\r\n\t slideSpeed: 1000,\r\n\t autoHeight: true\r\n\t });\r\n\r\n\t $('.rp_prev2').on('click', function () {\r\n\t qv.trigger('owl.prev');\r\n\t });\r\n\r\n\t $('.rp_next2').on('click', function () {\r\n\t qv.trigger('owl.next');\r\n\t });\r\n\t }\r\n\r\n\t})();\r\n\r\n\t// block select\r\n\r\n\t(function(){\r\n\t\tvar b = $('.block_select');\r\n\r\n\t\tb.each(function(){\r\n\t\t\tvar _this = $(this);\r\n\t\t\tif(_this.find('input[type=\"radio\"]').is(':checked')) _this.addClass('selected');\r\n\t\t});\r\n\t\tb.on('click',function(){\r\n\t\t\t$(this)\r\n\t\t\t\t.addClass('selected')\r\n\t\t\t\t.find('input[type=\"radio\"]')\r\n\t\t\t\t.prop('checked',true)\r\n\t\t\t\t.end()\r\n\t\t\t\t.siblings('.selected')\r\n\t\t\t\t.removeClass('selected')\r\n\t\t});\r\n\r\n\t})();\r\n\r\n\t// special carousel\r\n\r\n\t(function(){\r\n\r\n\t\tvar sc = $('.specials_carousel');\r\n\t\tif(sc.length){\r\n\t\t\tvar spc = sc.owlCarousel({\r\n\t\t\t\t// singleItem : true,\r\n\t\t\t\titemsCustom : [[1199,1],[992,1],[768,1],[480,2],[300,1]],\r\n\t\t \t\tautoPlay : false,\r\n\t\t \t\tslideSpeed : 500,\r\n\t\t \t\tautoHeight : true,\r\n\t\t \t\ttransitionStyle : \"backSlide\"\r\n\t\t \t});\r\n\r\n\t\t\t$('.sc_prev').on('click',function(){\r\n\t\t\t\tspc.trigger('owl.prev');\r\n\t\t\t});\r\n\r\n\t\t\t$('.sc_next').on('click',function(){\r\n\t\t\t\tspc.trigger('owl.next');\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t})();\r\n\r\n\t\tfunction ellipsis(){\r\n\t\t\tvar el = $('.ellipsis').hide();\r\n\t\t\t\tel.each(function(){\r\n\t\t\t\t\tvar self = $(this);\r\n\t\t\t\t\tself.css({\r\n\t\t\t\t\t\t'width': self.parent().outerWidth(),\r\n\t\t\t\t\t\t'white-space' : 'nowrap'\r\n\t\t\t\t\t});\r\n\t\t\t\t\tself.show();\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\tellipsis();\r\n\t\t$(window).on('resize',ellipsis);\r\n\r\n\t\t// contact form\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar cf = $('#contactform');\r\n\t\t\tcf.append('
    ');\r\n\r\n\t\t\tcf.on(\"submit\",function(event){\r\n\r\n\t\t\t\tvar self = $(this),text;\r\n\r\n\t\t\t\tvar request = $.ajax({\r\n\t\t\t\t\turl:\"bat/mail.php\",\r\n\t\t\t\t\ttype : \"post\",\r\n\t\t\t\t\tdata : self.serialize()\r\n\t\t\t\t});\r\n\r\n\t\t\t\trequest.then(function(data){\r\n\t\t\t\t\tif(data == \"1\"){\r\n\r\n\t\t\t\t\t\ttext = \"Your message has been sent successfully!\";\r\n\r\n\t\t\t\t\t\tcf.find('input:not([type=\"submit\"]),textarea').val('');\r\n\r\n\t\t\t\t\t\t$('.message_container').html('

    '+text+'

    ')\r\n\t\t\t\t\t\t\t.delay(150)\r\n\t\t\t\t\t\t\t.slideDown(300)\r\n\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t.slideUp(300,function(){\r\n\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse{\r\n\t\t\t\t\t\tif(cf.find('textarea').val().length < 20){\r\n\t\t\t\t\t\t\ttext = \"Message must contain at least 20 characters!\"\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(cf.find('input').val() == \"\"){\r\n\t\t\t\t\t\t\ttext = \"All required fields must be filled!\";\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t$('.message_container').html('

    '+text+'

    ')\r\n\t\t\t\t\t\t\t.delay(150)\r\n\t\t\t\t\t\t\t.slideDown(300)\r\n\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t.slideUp(300,function(){\r\n\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t},function(){\r\n\t\t\t\t\t$('.message_container').html('

    Connection to server failed!

    ')\r\n\t\t\t\t\t\t\t.delay(150)\r\n\t\t\t\t\t\t\t.slideDown(300)\r\n\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t.slideUp(300,function(){\r\n\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t});\r\n\r\n\r\n\t\t\t\tevent.preventDefault();\r\n\t\t\t});\r\n\r\n\t\t})();\r\n\r\n\t\t// newsletter\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar subscribe = $('#newsletter');\r\n\t\t\tsubscribe.append('
    ');\r\n\t\t\tvar message = $('.message_container_subscribe'),text;\r\n\r\n\t\t\tsubscribe.on('submit',function(e){\r\n\t\t\t\tvar self = $(this);\r\n\t\t\t\t\r\n\t\t\t\tif(self.find('input[type=\"email\"]').val() == ''){\r\n\t\t\t\t\ttext = \"Please enter your e-mail!\";\r\n\t\t\t\t\tmessage.html('

    '+text+'

    ')\r\n\t\t\t\t\t\t.slideDown()\r\n\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t.slideUp(function(){\r\n\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t}else{\r\n\t\t\t\t\tself.find('span.error').hide();\r\n\t\t\t\t\t$.ajax({\r\n\t\t\t\t\t\ttype: \"POST\",\r\n\t\t\t\t\t\turl: \"bat/newsletter.php\",\r\n\t\t\t\t\t\tdata: self.serialize(), \r\n\t\t\t\t\t\tsuccess: function(data){\r\n\t\t\t\t\t\t\tif(data == '1'){\r\n\t\t\t\t\t\t\t\ttext = \"Your email has been sent successfully!\";\r\n\t\t\t\t\t\t\t\tmessage.html('

    '+text+'

    ')\r\n\t\t\t\t\t\t\t\t\t.slideDown()\r\n\t\t\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t\t\t.slideUp(function(){\r\n\t\t\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t.prevAll('input[type=\"email\"]').val(\"\");\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\ttext = \"Invalid email address!\";\r\n\t\t\t\t\t\t\t\tmessage.html('

    '+text+'

    ')\r\n\t\t\t\t\t\t\t\t\t.slideDown()\r\n\t\t\t\t\t\t\t\t\t.delay(4000)\r\n\t\t\t\t\t\t\t\t\t.slideUp(function(){\r\n\t\t\t\t\t\t\t\t\t\t$(this).html(\"\");\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\te.preventDefault();\r\n\t\t\t});\r\n\r\n\t\t})();\r\n\r\n\r\n\t\t//elevate zoom\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tif($('[data-zoom-image]').length){\r\n\r\n\t\t\t\tvar button = $('.qv_preview [class*=\"button_type_\"]');\r\n\r\n\t\t\t\t$(\"#zoom_image\").elevateZoom({\r\n\t\t\t\t\tgallery:'qv_carousel_single',\r\n\t\t\t\t zoomWindowFadeIn: 500,\r\n\t\t\t\t\tzoomWindowFadeOut: 500\r\n\t\t\t\t}); \r\n\r\n\t\t\t\tbutton.on(\"click\", function(e){\r\n\t\t\t\t var ez = $('#zoom_image').data('elevateZoom');\r\n\t\t\t\t\t$.fancybox(ez.getGalleryList());\r\n\t\t\t\t \te.preventDefault();\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t})();\r\n\r\n\t\t// first letter\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar dp = $('[class*=\"first_letter\"]');\r\n\r\n\t\t\tdp.each(function(){\r\n\t\t\t\tvar self = $(this),\r\n\t\t\t\tfl = self.text().charAt(0);\r\n\t\t\t\tself.text(self.text().substr(1)).prepend(''+fl+'');\r\n\t\t\t});\r\n\r\n\t\t})();\r\n\r\n\t});\r\n\r\n\t\r\n\t\r\n\t$(window).load(function(){\r\n\r\n\t\tfunction randomSort(selector,items){\r\n\r\n\t\t\tvar sel = selector,\r\n\t\t\t\tit = items,\r\n\t\t\t\trandom = [],\r\n\t\t\t\tlen = it.length;\r\n\t\t\tit.removeClass('random');\r\n\t\t\tif(selector === \".random\"){\r\n\t\t \t\tfor(var i = 0; i < len; i++){\r\n\t\t \t\t\trandom.push(+(Math.random() * len).toFixed());\r\n\t\t \t\t}\r\n\t\t \t\t$.each(random,function(i,v){\r\n\t\t \t\t\titems.eq(Math.floor(Math.random() * v - 1)).addClass('random');\r\n\t\t \t\t});\r\n\t\t \t}\r\n\r\n\t\t}\r\n\r\n\t\t// isotope \r\n\r\n\t\t//(function(){\r\n\t\t//\tif($('.products_container').length){\r\n\r\n\t\t//\t\tvar container = $('.products_container');\r\n\r\n\t\t//\t\tcontainer.isotope({\r\n\t\t//\t\t \titemSelector : '.product_item',\r\n\t\t//\t\t\tlayoutMode : 'fitRows'\r\n\t\t//\t\t});\r\n\r\n\t\t//\t\t// filter items when filter link is clicked\r\n\r\n\t\t//\t\t$('.isotope_menu').on('click','button',function(){\r\n\t\t//\t\t\tvar self = $(this),\r\n\t\t//\t\t\tselector = self.attr('data-filter');\r\n\t\t//\t\t\trandomSort.call(self,self.data('filter'),container.find('.product_item'));\r\n\t\t//\t\t \tself.closest('li').addClass('active').siblings().removeClass('active');\r\n\t\t//\t\t \tcontainer.isotope({ filter: selector });\r\n\t\t//\t\t});\r\n\t\t//\t}\r\n\r\n\t\t//\t// portfolio\r\n\r\n\t\t//\tif($('.portfolio_isotope_container').length){\r\n\r\n\t\t//\t\tvar container = $('.portfolio_isotope_container');\r\n\r\n\t\t//\t\tcontainer.isotope({\r\n\t\t//\t\t\titemSelector : '.portfolio_item',\r\n\t\t//\t\t\tlayoutMode : 'fitRows'\r\n\t\t//\t\t});\r\n\r\n\t\t//\t\t$('#filter_portfolio').on('click','li',function(){\r\n\t\t//\t\t\tvar self = $(this),\r\n\t\t//\t\t\tselector = self.data('filter');\r\n\t\t//\t\t \tcontainer.isotope({ filter: selector });\r\n\t\t//\t\t});\r\n\r\n\t\t//\t}\r\n\r\n\t\t//\tif($('.portfolio_masonry_container').length){\r\n\r\n\t\t//\t\tvar container1 = $('.portfolio_masonry_container');\r\n\r\n\t\t//\t\tcontainer1.isotope({\r\n\t\t//\t\t\titemSelector : '.portfolio_item',\r\n\t\t//\t\t\tlayoutMode : 'masonry',\r\n\t\t//\t\t\tmasonry: {\r\n\t\t//\t\t\t columnWidth: 10,\r\n\t\t//\t\t\t gutter:0\r\n\t\t//\t\t\t}\r\n\t\t//\t\t});\r\n\r\n\t\t//\t\t$('#filter_portfolio').on('click','li',function(){\r\n\t\t//\t\t\tvar self = $(this),\r\n\t\t//\t\t\tselector = self.data('filter');\r\n\t\t//\t\t \tcontainer1.isotope({ filter: selector });\r\n\t\t//\t\t});\r\n\r\n\t\t//\t}\r\n\r\n\t\t//})();\r\n\r\n\t\t// flexslider\r\n\r\n\t\t(function(){\r\n\t\t\tvar flx = $('.flexslider:not(.simple_slide_show)');\r\n\r\n\t\t\tif(flx.length){\r\n\t\t\t\tflx.flexslider({\r\n\t\t\t\t\tanimation : \"slide\",\r\n\t\t\t\t\tanimationSpeed : 1000,\r\n\t\t\t\t\tprevText: \"\",\r\n\t\t\t\t\tnextText: \"\",\r\n\t\t\t\t\tslideshow: true,\r\n\t\t\t\t slideshowSpeed : 3000,\r\n\t\t\t\t\tstart: function(){\r\n\t\t \t\t\tvar image = $('.flexslider [data-custom-thumb]'),\r\n\t\t\t \t\t\tlen = image.length,\r\n\t\t\t \t\t\tbullet = $('.flex-control-nav li');\r\n\t\t\t \t\t\tfor(var i = 0; i < len; i++){\r\n\t\t\t \t\t\t\tbullet.eq(i).append('
    \"\"
    ');\r\n\t\t\t \t\t\t}\r\n\t\t\t\t\t\t$('.flex-control-nav li').each(function(){\r\n\t\t\t\t\t\t\tvar curr = $(this);\r\n\t\t\t\t\t\t\tcurr.on(\"mouseenter mouseleave\",function(){\r\n\t\t\t\t\t\t\t\tcurr.children('.custom_thumb').toggleClass('active')\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tbullet.find('.custom_thumb').on('click',function(){\r\n\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t})();\r\n\r\n\t\t// simple slideshow\r\n\r\n\t\t(function(){\r\n\r\n\t\t\tvar flx = $('.simple_slide_show');\r\n\r\n\t\t\tfunction showTitle(){\r\n\t\t\t\tvar f = $(this),\r\n\t\t\t\t\tc = f.data('flexslider').currentSlide;\r\n\t\t\t\t\t\r\n\t\t\t\t\tf.find('.slides')\r\n\t\t\t\t\t.children('li')\r\n\t\t\t\t\t.eq(c+1)\r\n\t\t\t\t\t.children('.simple_s_caption')\r\n\t\t\t\t\t.addClass('active')\r\n\t\t\t\t\t.parent()\r\n\t\t\t\t\t.siblings()\r\n\t\t\t\t\t.children('.simple_s_caption')\r\n\t\t\t\t\t.removeClass('active');\r\n\t\t\t}\r\n\t\t\tif(flx.length){\r\n\t\t\t\tflx.each(function(){\r\n\t\t\t\t\tvar curr = $(this);\r\n\t\t\t\t\tcurr.flexslider({\r\n\t\t\t\t\t\tanimation : \"slide\",\r\n\t\t\t\t\t\tanimationSpeed : 1000,\r\n\t\t\t\t\t\tprevText: \"\",\r\n\t\t\t\t\t\tnextText: \"\",\r\n\t\t\t\t\t\tslideshow:true,\r\n\t\t\t\t\t\tcontrolNav:false,\r\n\t\t\t\t\t\tstart:function(){\r\n\t\t\t\t\t\t\tshowTitle.call(curr);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tafter:function(){\r\n\t\t\t\t\t\t\tshowTitle.call(curr);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t})();\r\n\r\n\t});\r\n\r\n})(jQuery);\r\n\r\n\r\n","$('.product-slider .products_container').slick({\n lazyLoad: 'ondemand',\n slidesToShow: 2,\n slidesToScroll: 2,\n prevArrow: '',\n nextArrow: ''\n});\n\n\n$('.product-slider-vertical .products_container').slick({\n lazyLoad: 'ondemand',\n slidesToShow: 3,\n slidesToScroll: 3,\n vertical: true,\n prevArrow: '',\n nextArrow: ''\n});\n","/* eslint-disable no-unused-vars */\nfunction changeValue(value2) {\n if (value2 == 0) {\n bilgiler();\n }\n if (value2 == 1) {\n ekbilgiler();\n }\n\n}\n\n\n\nfunction bilgiler() {\n $(\"#divBilgiler\").attr('style', 'display:block');\n $(\"#divEkBilgiler\").attr('style', 'display:none');\n}\n\nfunction ekbilgiler() {\n $(\"#divEkBilgiler\").attr('style', 'display:block');\n $(\"#divBilgiler\").attr('style', 'display:none');\n}\n"]}