HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/lipovac/wp-content/plugins/js_composer/assets/js/lib/vc-pointers/pointers.js
/* =========================================================
 * pointers.js v2.0.0
 * =========================================================
 * Copyright 2015 Wpbakery
 *
 * Vc Pointers messages.
 *
 * @since 4.5
 * ========================================================= */
/* global vcPointer, ajaxurl, vcPointersController, vcEventPointersController */
(function ( $ ) {
	'use strict';
	vc.events.on( 'app.render', function () {
		// Init vcPointers if messages exists
		if ( vcPointer && vcPointer.pointers && vcPointer.pointers.length ) {
			_.each( vcPointer.pointers, function ( pointer ) {
				new vcPointersController( pointer, vcPointer.texts );
			}, this );
		}
	} );
	vc.events.on( 'vcPointer:show', function () {
		vc.app.disableFixedNav = true; // disable vc bar jumping enhancement
	} );
	vc.events.on( 'vcPointer:close', function () {
		vc.app.disableFixedNav = false; // disable vc bar jumping enhancement
	} );
	window.vcPointersEditorsTourEvents = function () {
		var $closeBtn;
		$closeBtn = this.pointer.domCloseBtn();
		$closeBtn.bind( 'click.vcPointer', this.clickEventClose );
		this.dismissMessages();
		return $closeBtn;
	};
	// Special for backend
	window.vcPointersShowOnContentElementControls = function () {
		if ( this.pointer && $( this.pointer.target ).length ) {
			$( this.pointer.target ).parent().addClass( 'vc-with-vc-pointer-controls' );
			this.show();
			$( '#wpb_visual_composer' ).one( 'click', function () {
				$( '.vc-with-vc-pointer-controls' ).removeClass( 'vc-with-vc-pointer-controls' );
			} );
		} else {
			vc.events.once( 'shortcodes:add', vcPointersShowOnContentElementControls, this );
		}
	};
	window.vcPointersSetInIFrame = function () {
		if ( this.pointerData && vc.frame_window.jQuery( this.pointerData.target ).length ) {
			this.pointer = new vc.frame_window.vcPointerMessage( this.pointerData.target,
				this.buildOptions( this.pointerData.options ),
				this._texts );
			this.show();
			this.pointer.$pointer.closest( '.vc_controls' ).addClass( 'vc-with-vc-pointer-controls' );
		} else {
			vc.events.once( 'shortcodeView:ready', vcPointersSetInIFrame, this );
		}
	};
	window.vcPointersCloseInIFrame = function () {
		var controller, _$;
		controller = this;
		_$ = vc.frame_window.jQuery;
		_$( 'body' ).one( 'click', function () {
			_$( '.vc-with-vc-pointer-controls' ).removeClass( 'vc-with-vc-pointer-controls' );
			controller.nextOnEvent();
		} );
	};
})( window.jQuery );