403Webshell
Server IP : 118.139.160.155  /  Your IP : 216.73.217.153
Web Server : Apache
System : Linux sg2plmcpnl504228.prod.sin2.secureserver.net 4.18.0-553.124.4.lve.el8.x86_64 #1 SMP Fri May 15 13:02:13 UTC 2026 x86_64
User : twll3xqyaqrh ( 9725459)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/twll3xqyaqrh/public_html/Site WP/wp-content/plugins/redux-framework/extendify-sdk/src/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/twll3xqyaqrh/public_html/Site WP/wp-content/plugins/redux-framework/extendify-sdk/src/app.js
import ExtendifyLibrary from './ExtendifyLibrary'
import { render } from '@wordpress/element'
import { useWantedTemplateStore } from './state/Importing'
import { injectTemplateBlocks } from './util/templateInjection'
import { rawHandler } from '@wordpress/blocks'
import './buttons'
import './listeners'
import './blocks/blocks'

window._wpLoadBlockEditor &&
    window.wp.domReady(() => {
        // Insert into the editor (note: Modal opens in a portal)
        const extendify = Object.assign(document.createElement('div'), {
            id: 'extendify-root',
        })
        document.body.append(extendify)
        render(<ExtendifyLibrary />, extendify)

        // Add an extra div to use for utility modals, etc
        extendify.parentNode.insertBefore(
            Object.assign(document.createElement('div'), {
                id: 'extendify-util',
            }),
            extendify.nextSibling,
        )

        // Insert a template on page load if it exists in localstorage
        // Note 6/28/21 - this was moved to after the render to possibly
        // fix a bug where imports would go from 3->0.
        if (useWantedTemplateStore.getState().importOnLoad) {
            const template = useWantedTemplateStore.getState().wantedTemplate
            setTimeout(() => {
                injectTemplateBlocks(
                    rawHandler({ HTML: template.fields.code }),
                    template,
                )
            }, 0)
        }

        // Reset template state after checking if we need an import
        useWantedTemplateStore.setState({
            importOnLoad: false,
            wantedTemplate: {},
        })
    })

Youez - 2016 - github.com/yon3zu
LinuXploit