HEX
Server: Apache/2.4.57 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2
System: Linux vmi267337.contaboserver.net 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
User: ohirex (1008)
PHP: 8.2.8
Disabled: 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,exec,system,passthru,shell_exec
Upload Files
File: /home/ohirex/web/ohirex.com/public_html/wp-content/plugins/mailster/build/forms/gdpr/index.js
(()=>{var e={6942:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=l(e,s(r)))}return e}function s(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=l(t,r));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.blocks;var t=r(6942),n=r.n(t);const i=window.wp.i18n,s=window.wp.blockEditor,l=window.wp.element,a=window.wp.coreData,o=window.wp.components,c=window.ReactJSXRuntime;function p({attributes:e,setAttributes:t}){const{content:r}=e;return(0,c.jsx)(s.InspectorControls,{children:(0,c.jsx)(o.Panel,{children:(0,c.jsx)(o.PanelBody,{title:(0,i.__)("Field Settings","mailster"),initialOpen:!0,children:(0,c.jsx)(o.TextControl,{__nextHasNoMarginBottom:!0,label:(0,i.__)("Content","mailster"),value:r,onChange:e=>t({content:e})})})})})}function u(e){const{attributes:t,setAttributes:r}=e,{align:n,labelAlign:l,hasLabel:a}=t;return(0,c.jsxs)(s.BlockControls,{group:"block",children:[a&&(0,c.jsx)(s.AlignmentToolbar,{value:l,onChange:function(e){r({labelAlign:e})},describedBy:(0,i.__)("Change label alignment","mailster"),label:(0,i.__)("Label Align","mailster")}),(0,c.jsx)(s.AlignmentToolbar,{value:n,onChange:function(e){r({align:e})},describedBy:(0,i.__)("Change text alignment","mailster"),label:(0,i.__)("Align","mailster")})]})}const d=(0,c.jsxs)("svg",{version:"1.1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsxs)("g",{strokeLinecap:"round",strokeWidth:"1.5",stroke:"#323232",fill:"none",strokeLinejoin:"round",children:[(0,c.jsx)("line",{x1:"11.65",x2:"7.66",y1:"12.39",y2:"8.39"}),(0,c.jsx)("line",{x1:"11.39",x2:"15.39",y1:"4.65",y2:"8.65"}),(0,c.jsx)("line",{x1:"3",x2:"13.59",y1:"21",y2:"21"}),(0,c.jsx)("path",{d:"M3.9 21l.545-1.632 3.6415e-08-1.09333e-07c.271561-.815342 1.03363-1.36606 1.893-1.368h3.91l3.75414e-08-4.65725e-11c.861951-.00106928 1.62762.550215 1.9 1.368l.541 1.632"}),(0,c.jsx)("path",{d:"M8.892 7.3l-2.2 1.755 -3.63834e-08 2.90985e-08c-.791453.632983-.919918 1.78772-.286934 2.57917 .0409879.0512493.0846955.100263.130934.14683l1.676 1.684 -1.12022e-07-1.12607e-07c.706563.710254 1.85512.713246 2.56537.00668334 .0476113-.0473639.0925556-.0973352.134625-.149683l1.776-2.206 -1.73949e-08 2.16276e-08c.420199-.522444.896373-.997277 1.42-1.416l2.2-1.755 -3.48148e-09 2.7844e-09c.791453-.632983.919918-1.78772.286934-2.57917 -.0409879-.0512493-.0846955-.100263-.130934-.14683l-1.673-1.683 1.7798e-10 1.78909e-10c-.706563-.710254-1.85512-.713246-2.56537-.00668312 -.0476113.0473639-.0925556.0973352-.134625.149683l-1.778 2.206 2.65729e-07-3.30269e-07c-.420303.522386-.89684.996911-1.421 1.415Z"}),(0,c.jsx)("path",{d:"M14.376 9.487l5.924 5.013 1.04831e-08 8.90756e-09c.835843.710225.937677 1.96356.227452 2.7994 -.710225.835843-1.96356.937677-2.7994.227452 -.0643603-.0546877-.125167-.113425-.182049-.175855l-5.234-5.764"})]}),(0,c.jsx)("path",{fill:"none",d:"M24 24h-24v-24h24Z"})]}),m=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"mailster/gdpr","title":"GDPR Field","category":"mailster-form-fields","keywords":["container","wrapper","row","section"],"parent":["mailster/form-wrapper","core/column","core/group"],"description":"Adds a Checkbox to your Mailster Block form for GDPR compliance","example":{},"supports":{"html":false,"reusable":false,"multiple":false,"inserter":false,"color":true,"spacing":{"margin":true,"padding":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontStyle":true,"__experimentalFontWeight":true,"__experimentalLetterSpacing":true,"__experimentalTextTransform":true}},"attributes":{"lock":{"type":"object","default":{"remove":true}},"content":{"type":"string","source":"html","selector":"label"},"id":{"type":"string","source":"attribute","selector":"input","attribute":"id"},"align":{"type":"string"}},"textdomain":"mailster","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css"}'),{name:g,...x}=m;(0,e.registerBlockType)(g,{...x,icon:d,edit:function(e){const{attributes:t,setAttributes:r,isSelected:o,clientId:d}=e,{content:m,align:g}=t,x=["mailster-wrapper"];g&&x.push("mailster-wrapper-label-align-"+g);const[b,h]=(0,a.useEntityProp)("postType","mailster-form","meta");(0,l.useEffect)((()=>{t.id||r({id:"mailster-id-"+d.substring(30)}),m||r({content:(0,i.__)("I agree to the privacy policy and terms.","mailster")})}));const f=(0,s.useBlockProps)({className:n()({},x)});return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)("div",{...f,children:b.gdpr&&(0,c.jsxs)("div",{className:"mailster-group mailster-group-checkbox",children:[(0,c.jsx)("input",{type:"checkbox",name:"_gdpr",value:"1",className:"disabled-input"}),(0,c.jsx)(s.RichText,{style:f.style,tagName:"label",className:"mailster-label",value:m,onChange:e=>r({content:e}),placeholder:(0,i.__)("Enter Label","mailster")})]})}),(0,c.jsx)(u,{...e}),(0,c.jsx)(p,{meta:b,setMeta:h,attributes:t,setAttributes:r})]})},save:function(e){const{attributes:t,setAttributes:r}=e,{content:i,align:l}=t,a=["mailster-wrapper"];l&&a.push("mailster-wrapper-label-align-"+l);const o=t.id,p=s.useBlockProps.save({className:n()({},a)});return(0,c.jsx)("div",{...p,children:(0,c.jsxs)("div",{className:"mailster-group mailster-group-checkbox",children:[(0,c.jsx)("input",{id:o,type:"checkbox",name:"_gdpr",value:"1"}),(0,c.jsx)(s.RichText.Content,{style:p.style,htmlFor:o,tagName:"label",className:"mailster-label",value:i})]})})}})})()})();