{"version":3,"file":"climate.js","sources":["../../src/scripts/pages/climate/index.js"],"sourcesContent":["import \"@/styles/pages/climate.scss\";\nimport Swiper from \"swiper\";\nimport { Autoplay, Navigation, Pagination } from \"swiper/modules\";\nimport \"waypoints/lib/noframework.waypoints.min.js\";\nimport counterUp from \"counterup2\";\nimport \"paginationjs\";\n\n// check the screen size at first\nconst isLargeScreen = $(window).width() >= 992;\n\n/** pagination of Performance */\nconst performancePagination = $(\"#sec-performance .cus__pagination\");\nlet limit = 4;\n\nconst performanceInit = () => {\n performancePagination.pagination({\n dataSource: function (done) {\n $.ajax({\n type: \"GET\",\n url: \"../data/performance.json\",\n success: function (response) {\n done(\n response.data.filter((item) => {\n return item.type === \"climate\";\n })\n );\n },\n });\n },\n callback: function (performanceData, pagination) {\n let html = templating(performanceData);\n $(\".performance__card-wrapper\").html(html);\n initCounter();\n },\n showNavigator: true,\n formatNavigator:\n \"