403Webshell
Server IP : 62.60.133.156  /  Your IP : 216.73.217.51
Web Server : LiteSpeed
System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : mimradmin ( 1166)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/woocommerce-old/assets/client/blocks/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/woocommerce-old/assets/client/blocks/email-content.js
(()=>{"use strict";var e={n:t=>{var o=t&&t.__esModule?()=>t.default:()=>t;return e.d(o,{a:o}),o},d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.blocks,o=window.wp.i18n,n=window.wp.element,r=window.wp.data,i=window.wp.serverSideRender;var s=e.n(i);const c=window.wp.blockEditor,a=window.wp.components,d=JSON.parse('{"name":"woocommerce/email-content","title":"Email Content","description":"A placeholder block for email content.","category":"woocommerce","textdomain":"woocommerce","supports":{"inserter":false,"email":true},"attributes":{"emailType":{"type":"string"},"postId":{"type":"integer"}},"apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}'),l=window.ReactJSXRuntime;function p(){return(0,l.jsx)("div",{style:{margin:"20vh auto",maxWidth:400,padding:20,backgroundColor:"#fff",borderRadius:4,boxShadow:"0 0 10px 0 rgba(0, 0, 0, 0.1)",textAlign:"center",color:"#000"},children:(0,l.jsxs)(a.__experimentalText,{children:[" ",(0,o.__)("Autogenerated content","woocommerce")," "]})})}(0,t.registerBlockType)(d.name,{...d,edit:function(){const[e,t]=(0,n.useState)(!1),o=(0,c.useBlockProps)(),{postId:i}=(0,r.useSelect)(e=>({postId:e("core/editor")?.getCurrentPostId?.()??0}),[]);return(0,l.jsxs)("div",{...o,onMouseEnter:()=>{t(!0)},onMouseLeave:()=>{t(!1)},style:{position:"relative"},children:[(0,l.jsx)(s(),{block:d.name,attributes:{postId:i}}),e&&(0,l.jsx)("div",{style:{position:"absolute",zIndex:1e3,left:0,top:0,width:"100%",height:"100%",background:"rgba(0,0,0,0.5)",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:(0,l.jsx)(p,{})})]})},save:function(){return(0,l.jsx)("div",{className:"wp-block-woocommerce-email-content",children:"##WOO_CONTENT##"})}}),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["email-content"]={}})();

Youez - 2016 - github.com/yon3zu