403Webshell
Server IP : 193.239.44.106  /  Your IP : 216.73.216.192
Web Server : Apache
System : Linux web5 6.18.40-1 #1 SMP PREEMPT_DYNAMIC Sat Jul 25 21:08:44 CEST 2026 x86_64
User :  ( 10117)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/virtualki/259324/wp-content/plugins/megamenu/integration/block/location/build/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/virtualki/259324/wp-content/plugins/megamenu/integration/block/location/build/index.js
!function(){"use strict";var e={n:function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,{a:t}),t},d:function(n,t){for(var o in t)e.o(t,o)&&!e.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)}},n=window.wp.blocks,t=window.wp.element,o=window.wp.i18n,a=window.wp.blockEditor,i=window.wp.components,r=window.wp.serverSideRender,l=e.n(r),c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"maxmegamenu/location","version":"0.1.0","title":"Max Mega Menu","category":"widgets","icon":"menu","description":"","supports":{"html":false},"attributes":{"location":{"type":"string"}},"keywords":["navigation"],"textdomain":"location","editorScript":"file:./index.js","editorStyle":"file:./index.css"}');const{name:s}=c;(0,n.registerBlockType)(c.name,{edit:function(e){let{setAttributes:n,attributes:r,isSelected:c}=e;if(0===window.max_mega_menu_locations.length)return(0,t.createElement)("div",(0,a.useBlockProps)(),(0,o.__)("Error: max_mega_menu_locations missing.","megamenu"));const u=Object.keys(window.max_mega_menu_locations).map((e=>({value:e,label:window.max_mega_menu_locations[e]})));return 1===u.length?(0,t.createElement)("div",(0,a.useBlockProps)(),(0,o.__)("No locations found. Go to Mega Menu > Menu Locations to create a new menu location.","megamenu")):(0,t.createElement)("div",(0,a.useBlockProps)(),c||!r.location||""===r.location?(0,t.createElement)(i.Placeholder,{label:(0,o.__)("Max Mega Menu","megamenu")},(0,t.createElement)(i.SelectControl,{label:(0,o.__)("Select a location","megamenu"),options:u,value:r.location,onChange:e=>{n({location:String(e)})}})):(0,t.createElement)(i.Disabled,null,(0,t.createElement)(l(),{block:s,attributes:r})))}})}();

Youez - 2016 - github.com/yon3zu
LinuXploit