OwlCyberSecurity - MANAGER
Edit File: customizer-preview.min.js
(()=>{"use strict";window.jQuery&&jQuery.extend(jQuery.expr[":"],{focusable:function(e){return jQuery(e).is("a, button, :input, [tabindex]")}});var e='a, button:not([disabled]):not([aria-hidden="true"]), input:not([disabled]):not([type="hidden"]):not([aria-hidden="true"]), [tabindex]';function t(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(t)return-1===t.indexOf(":focusable")?r.querySelector(t):(t=t.replaceAll(":focusable","").trim())?null===(n=r.querySelector(t))||void 0===n?void 0:n.querySelector(e):r.querySelector(e)}function n(e){if(!(e instanceof Element))return!1;var t=getComputedStyle(e);return!("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility"))}function r(e,t){for(var n=0;n<e.childNodes.length;n++){var o=e.childNodes[n];!1!==t(o)&&r(o,t)}}function o(e){return e instanceof Element&&("button"===e.tagName||"input"===e.tagName?null===e.getAttribute("disabled"):"a"===e.tagName?null!==e.getAttribute("href"):e.tabIndex>=0)}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,t=[];return r(e,(function(e){if(!n(e))return!1;o(e)&&t.push(e)})),t}function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var s=c((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t,n=i(document.querySelectorAll(".kenta-collapsable-menu.collapsable .menu-item-has-children, .kenta-collapsable-menu.collapsable .page_item_has_children"));try{var r=function(){var e=t.value,n=e.querySelector("& > .sub-menu, & > .children"),r=e.querySelector("& > a .kenta-dropdown-toggle");r&&n&&r.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),r.classList.contains("active")?r.classList.remove("active"):r.classList.add("active"),n.classList.contains("open")?n.classList.remove("open"):n.classList.add("open")}))};for(n.s();!(t=n.n()).done;)r()}catch(e){n.e(e)}finally{n.f()}}));const d=s;function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}const p=v((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),document.querySelectorAll(".sf-menu li").forEach((function(e){var t=null;e.addEventListener("mouseover",(function(){t&&clearTimeout(t),e.classList.add("sfHover")})),e.addEventListener("mouseleave",(function(){t=setTimeout((function(){e.classList.remove("sfHover")}),300)}))}))}));function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}const b=m((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var n=window.innerWidth-document.documentElement.clientWidth;n>0&&document.body.style.setProperty("--scrollbar-width","".concat(n,"px")),document.querySelectorAll("[data-toggle-target]").forEach((function(e){var n,r;null!=e&&null!==(n=e.classList)&&void 0!==n&&n.contains("kenta-toggleable")||(null==e||null===(r=e.classList)||void 0===r||r.add("kenta-toggleable"),e.addEventListener("click",(function(){var n,r,o,a,i,l=t(null===(n=e.dataset)||void 0===n?void 0:n.toggleTarget),u=t(null===(r=e.dataset)||void 0===r?void 0:r.toggleShowFocus),c=t(null===(o=e.dataset)||void 0===o?void 0:o.toggleHiddenFocus);if(l){var s,d,f,v;if(null!=l&&null!==(a=l.classList)&&void 0!==a&&a.contains("active"))null==l||null===(s=l.classList)||void 0===s||s.remove("active");else null==l||null===(d=l.classList)||void 0===d||d.add("active");if(null!=l&&null!==(i=l.classList)&&void 0!==i&&i.contains("active"))null===(f=document.body)||void 0===f||null===(v=f.classList)||void 0===v||v.add("kenta-modal-visible"),u&&setTimeout((function(){return u.focus()}),100);else setTimeout((function(){var e,t;null===(e=document.body)||void 0===e||null===(t=e.classList)||void 0===t||t.remove("kenta-modal-visible")}),300),c&&setTimeout((function(){return c.focus()}),100)}})))}))}));function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}const w=g((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),document.querySelectorAll("[data-redirect-focus]").forEach((function(e){var t,r=document.querySelector(null==e||null===(t=e.dataset)||void 0===t?void 0:t.redirectFocus);r&&(e.addEventListener("keydown",(function(t){var n=9===t.keyCode,o=t.shiftKey,i=a(e),l=i[0],u=i[i.length-1],c=document.activeElement;n&&!o&&c.isSameNode(u)&&(t.preventDefault(),r.focus()),n&&o&&c.isSameNode(l)&&(t.preventDefault(),r.focus())})),r.addEventListener("keydown",(function(t){if(n(e)){var r=9===t.keyCode,o=t.shiftKey,i=a(e),l=i[0],u=i[i.length-1];r&&!o&&(t.preventDefault(),l.focus()),r&&o&&(t.preventDefault(),u.focus())}})))}))}));function k(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function E(e,t,n){return t&&k(e.prototype,t),n&&k(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}const S=E((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),document.querySelectorAll("[data-popup-target]").forEach((function(e){var t,n=e.getElementsByClassName(null==e||null===(t=e.dataset)||void 0===t?void 0:t.popupTarget)[0];if(n){var r=function(){var e;null==n||null===(e=n.classList)||void 0===e||e.add("show")},o=function(){var e;null==n||null===(e=n.classList)||void 0===e||e.remove("show")};e.addEventListener("focusin",r),e.addEventListener("focusout",o),e.addEventListener("mouseover",r),e.addEventListener("mouseleave",o)}}))}));function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function j(e,t,n){return t&&L(e.prototype,t),n&&L(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}const P=j((function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var t=document.getElementById("scroll-top");t&&(window.addEventListener("scroll",(function(){document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop?t.classList.add("active"):t.classList.remove("active")})),t.addEventListener("click",(function(e){window.scrollTo(0,0),e.preventDefault()})))}));function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(l)throw a}}}}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function C(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}const T=function(){function e(){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),window.particlesJS){var t,n=O(document.getElementsByClassName("kenta-particles-canvas"));try{for(n.s();!(t=n.n()).done;){var r,o=t.value,a=JSON.parse(null===(r=o.dataset)||void 0===r?void 0:r.kentaParticles);particlesJS(o.id,this.overrideConfig(o,a))}}catch(e){n.e(e)}finally{n.f()}}}var t,n,r;return t=e,(n=[{key:"overrideConfig",value:function(e,t){var n,r,o,a,i,l,u,c=null===(n=e.dataset)||void 0===n?void 0:n.kentaParticleDetectOn,s=Number(null===(r=e.dataset)||void 0===r?void 0:r.kentaParticleQuantity),d=Number(null===(o=e.dataset)||void 0===o?void 0:o.kentaParticleSpeed),f=Number(null===(a=e.dataset)||void 0===a?void 0:a.kentaParticleSize),v=null===(i=e.dataset)||void 0===i?void 0:i.kentaParticleShape,p=this.getColorValue(null===(l=e.dataset)||void 0===l?void 0:l.kentaParticleColor),y=this.getColorValue((null===(u=e.dataset)||void 0===u?void 0:u.kentaParticleLineColor)||p);return"default"!==c&&""!==c&&void 0!==c&&(t.interactivity.detect_on=c),""!==f&&void 0!==f&&f>0&&(t.particles.size.value=f),""!==s&&void 0!==s&&s>0&&(t.particles.number.value=s),""!==p&&void 0!==p&&(t.particles.color.value=p),""!==y&&void 0!==y&&(t.particles.line_linked?t.particles.line_linked.color=y:t.particles.links?t.particles.links.color=y:t.particles.links={color:y}),"default"!==v&&""!==v&&void 0!==v&&(t.particles.shape.type=v),""!==d&&void 0!==d&&d>0&&(t.particles.move.speed=d),t.background={},t.fullScreen={enable:!1},t}},{key:"getColorValue",value:function(e){if(!e||""===e||"__INITIAL_VALUE__"===e)return"";if(e.indexOf("var")>-1){var t=getComputedStyle(document.documentElement).getPropertyValue(e.replace(/var\(/,"").replace(/\)/,"")).trim().replace(/\s/g,"");return-1===t.indexOf("#")&&-1===t.indexOf("rgb")?"rgb(".concat(t,")"):t}return e}}])&&C(t.prototype,n),r&&C(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();wp.customize&&wp.customize.selectiveRefresh&&(wp.customize.selectiveRefresh.bind("partial-content-rendered",(function(){window.ScrollReveal&&ScrollReveal().sync(),new d,new p,new b,new w,new S,new P,new T})),wp.customize.bind("preview-ready",(function(){wp.customize.preview.bind("lotta-panel-open",(function(e){"kenta_global_preloader"===e&&(jQuery(".kenta-preloader-wrap > div").fadeIn(150),jQuery(".kenta-preloader-wrap").fadeIn(375))})),wp.customize.preview.bind("lotta-panel-close",(function(e){"kenta_global_preloader"===e&&(jQuery(".kenta-preloader-wrap > div").fadeOut(150),jQuery(".kenta-preloader-wrap").fadeOut(375))}))})))})();