{"version":3,"sources":["node_modules/browser-pack/_prelude.js","wp-content/themes/jcore2/js/footer.js"],"names":[],"mappings":"AAAA;;;ACAA,IAAI,YAAJ;;AAEA,IAAM,UAAU,GAAG,SAAb,UAAa,GAAM;AACvB,EAAA,YAAY,GAAG,QAAQ,CAAC,cAAT,CAAwB,eAAxB,CAAf;;AACA,MAAI,YAAJ,EAAkB;AAChB,IAAA,MAAM,CAAC,gBAAP,CAAwB,QAAxB,EAAkC,cAAlC;AACA,IAAA,YAAY,CAAC,gBAAb,CAA8B,OAA9B,EAAuC,YAAM;AAC3C,MAAA,QAAQ,CAAC,IAAT,CAAc,SAAd,GAA0B,CAA1B,CAD2C,CACd;;AAC7B,MAAA,QAAQ,CAAC,eAAT,CAAyB,SAAzB,GAAqC,CAArC;AACD,KAHD;AAID;AACF,CATD;;AAWA,IAAM,cAAc,GAAG,SAAjB,cAAiB,GAAM;AAC3B,MAAI,QAAQ,CAAC,IAAT,CAAc,SAAd,GAA0B,GAA1B,IAAiC,QAAQ,CAAC,eAAT,CAAyB,SAAzB,GAAqC,GAA1E,EAA+E;AAC7E,IAAA,YAAY,CAAC,KAAb,CAAmB,OAAnB,GAA6B,CAA7B;AACD,GAFD,MAEO;AACL,IAAA,YAAY,CAAC,KAAb,CAAmB,OAAnB,GAA6B,CAA7B;AACD;AACF,CAND;;AAQA,MAAM,CAAC,gBAAP,CAAwB,MAAxB,EAAgC,UAAhC","file":"footer.js","sourcesContent":["(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i {\n scrollButton = document.getElementById(\"scroll-to-top\");\n if (scrollButton) {\n window.addEventListener('scroll', scrollFunction);\n scrollButton.addEventListener(\"click\", () => {\n document.body.scrollTop = 0; // For Safari\n document.documentElement.scrollTop = 0;\n });\n }\n}\n\nconst scrollFunction = () => {\n if (document.body.scrollTop > 600 || document.documentElement.scrollTop > 600) {\n scrollButton.style.opacity = 1;\n } else {\n scrollButton.style.opacity = 0;\n }\n}\n\nwindow.addEventListener('load', footerInit)\n"],"preExistingComment":"//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5vZGVfbW9kdWxlcy9icm93c2VyLXBhY2svX3ByZWx1ZGUuanMiLCJ3cC1jb250ZW50L3RoZW1lcy9qY29yZTIvanMvZm9vdGVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7QUNBQSxJQUFJLFlBQUo7O0FBRUEsSUFBTSxVQUFVLEdBQUcsU0FBYixVQUFhLEdBQU07QUFDdkIsRUFBQSxZQUFZLEdBQUcsUUFBUSxDQUFDLGNBQVQsQ0FBd0IsZUFBeEIsQ0FBZjs7QUFDQSxNQUFJLFlBQUosRUFBa0I7QUFDaEIsSUFBQSxNQUFNLENBQUMsZ0JBQVAsQ0FBd0IsUUFBeEIsRUFBa0MsY0FBbEM7QUFDQSxJQUFBLFlBQVksQ0FBQyxnQkFBYixDQUE4QixPQUE5QixFQUF1QyxZQUFNO0FBQzNDLE1BQUEsUUFBUSxDQUFDLElBQVQsQ0FBYyxTQUFkLEdBQTBCLENBQTFCLENBRDJDLENBQ2Q7O0FBQzdCLE1BQUEsUUFBUSxDQUFDLGVBQVQsQ0FBeUIsU0FBekIsR0FBcUMsQ0FBckM7QUFDRCxLQUhEO0FBSUQ7QUFDRixDQVREOztBQVdBLElBQU0sY0FBYyxHQUFHLFNBQWpCLGNBQWlCLEdBQU07QUFDM0IsTUFBSSxRQUFRLENBQUMsSUFBVCxDQUFjLFNBQWQsR0FBMEIsR0FBMUIsSUFBaUMsUUFBUSxDQUFDLG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