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/frontend_editor/build.js
/* =========================================================
 * build.js v1.0.1
 * =========================================================
 * Copyright 2013 Wpbakery
 *
 * Visual composer builder backbone/underscore version
 * ========================================================= */

if ( _.isUndefined( vc ) ) {
	var vc = {};
}
(function ( $ ) {
	"use strict";
	vc.createPreLoader = function () {
		vc.$preloader = $( '#vc_preloader' );

	};
	vc.removePreLoader = function () {
		vc.$preloader && vc.$preloader.remove();
	};
	vc.createPreLoader();
	vc.$frame_wrapper = $( '#vc_inline-frame-wrapper' );
	vc.$frame = $( '<iframe src="'
	+ vc_iframe_src + '" scrolling="auto" style="width: 100%;" id="vc_inline-frame"></iframe>' );
	vc.$frame.appendTo( vc.$frame_wrapper );
	vc.build = function () {
		if ( vc.loaded ) {
			return;
		}
		vc.loaded = true;

		vc.map = window.vc_mapper; // vc_user_mapper /todo check why user mapper

		$( '#wpadminbar' ).remove();
		var $body = $( 'body' );
		$body.attr( 'data-vc', true );
		vc.post_id = $( '#vc_post-id' ).val();
		vc.is_mobile = $( 'body.mobile' ).length > 0;
		vc.title = $( '#vc_title-saved' ).val();
		// Create Modals & panels
		vc.add_element_block_view = new vc.AddElementBlockView( { el: '#vc_add-element-dialog' } );
		vc.edit_element_block_view = new vc.EditElementPanelView( { el: '#vc_properties-panel' } );
		vc.post_settings_view = new vc.PostSettingsPanelView( { el: '#vc_post-settings-panel' } );
		/**
		 * @deprecated since 4.4
		 * @type {vc.TemplatesEditorPanelView}
		 */
		vc.templates_editor_view = new vc.TemplatesEditorPanelView( { el: '#vc_templates-editor' } );
		vc.templates_panel_view = new vc.TemplatesPanelViewFrontend( { el: '#vc_templates-panel' } );

		vc.app = new vc.View();
		vc.buildRelevance();
		if ( $body.hasClass( 'vc_responsive_disabled' ) ) {
			vc.responsive_disabled = true;
		}
		// Build Frame {{
		vc.setFrameSize( '100%' );
		vc.frame = new vc.FrameView( { el: $( vc.$frame.get( 0 ).contentWindow.document ).find( 'body' ).get( 0 ) } );
		vc.app.render();
		// }}
		// Build content of the page
		// Get current content data
		vc.post_shortcodes = vc.frame_window.vc_post_shortcodes;
		vc.builder.buildFromContent();
		vc.removePreLoader();
		$( window ).trigger( 'vc_build' );
	};
	vc.$frame.load( function () {
		if ( ! vc.loaded ) {
			window.setTimeout( function () {
				vc.build()
			}, 10 );
		}

	} );
})( window.jQuery );