| Server IP : 38.190.208.107 / Your IP : 216.73.217.46 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : root ( 0) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.4/wp-content/plugins/woocommerce/assets/client/blocks/ |
Upload File : |
(()=>{"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=>{var t;return{postId:null!==(t=e("core/editor")?.getCurrentPostId?.())&&void 0!==t?t: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"]={}})();