%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/w/e/l/wellingtpa/www/wp-content/plugins/kata-plus/assets/src/js/frontend/ |
Upload File : |
(function ($) {
/**
* @param $scope The Widget wrapper element as a jQuery element
* @param $ The jQuery alias
*/
var WidgetHamburgerMenuHandler = function ($scope, $) {
$scope.find('.kata-plus-hamburger-menu').on('mousedown', function (e) {
var $this = $(this),
$text = $this.find('.icon-text'),
$open = $this.find('.open-icon'),
$close = $this.find('.close-icon'),
$template = $this.find('.kata-hamburger-menu-template');
if ($(e.target).closest('.kata-hamburger-menu-template').length) {
if ($(e.target).hasClass('close-icon-text')) {
closeHandler($this, $open, $close, $template);
}
if (!$(e.target).closest('.close-icon').length) return;
}
if (
$(e.target).closest('.close-icon').length ||
($(e.target).hasClass('icon-text') &&
$this.hasClass('activated-hamburger-menu'))
) {
closeHandler($this, $open, $close, $template);
} else {
openHandler($this, $open, $close, $template);
}
function openHandler($this, $open, $close, $template) {
$this.addClass('activated-hamburger-menu');
$open.fadeOut();
$close.fadeIn();
$template.addClass('open-hamburger');
if ($template.hasClass('kata-hamburger-full')) {
$template.fadeIn();
}
}
function closeHandler($this, $open, $close, $template) {
$this.removeClass('activated-hamburger-menu');
$open.fadeIn();
$close.fadeOut();
$template.removeClass('open-hamburger');
if ($template.hasClass('kata-hamburger-full')) {
$template.fadeOut();
}
}
});
};
$(window).on('elementor/frontend/init', function () {
elementorFrontend.hooks.addAction(
'frontend/element_ready/kata-plus-hamburger-menu.default',
WidgetHamburgerMenuHandler
);
});
})(jQuery);