403Webshell
Server IP : 172.67.158.161  /  Your IP : 18.118.193.73
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/dist/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/dietcontrungnhanh.com/wp-content/plugins/ithemes-security-pro/dist/pages/tools.min.js
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[9289],{79612:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var r=n(90071),l=n(17563),o=n(92819);function a(e,t){const n=(0,r.lX)(),a=n=>{const o="string"==typeof n?(0,r.cP)(n):n,a=(0,l.parse)(o.search?.substring(1))||{};return{...o,pathname:e.pathname,search:"?"+(0,l.stringify)({...a,path:o.pathname,...t})}};return{get length(){return n.length},get action(){return n.action},get location(){const e=(0,l.parse)(n.location.search.substring(1)),r=e.path||"/";return{...n.location,pathname:r,search:"?"+(0,l.stringify)((0,o.omit)(e,["path",Object.keys(t)]))}},createHref:e=>n.createHref(a(e)),push:(e,t)=>{n.push(a(e),t)},replace:(e,t)=>{n.replace(a(e),t)},go:(...e)=>n.go.apply(n,e),goBack:(...e)=>n.goBack.apply(n,e),goForward:(...e)=>n.goForward.apply(n,e),block:(...e)=>n.block.apply(n,e),listen(e){return n.listen((()=>{e(this.location,this.action)}))}}}},77388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AfterImportExportToolsFill:()=>J,BeforeImportExportToolsFill:()=>G,ExportFill:()=>ee,PageContainer:()=>H,PageHeader:()=>v,ToolFill:()=>U});var r=n(6293),l=n(25993),o=n.n(l),a=n(95122),i=n(52117),s=n(16550),c=n(42236),d=n(12614),u=n(64893),m=n(3571),p=n(13173),f=n(47959),g=n(73727),h=n(52278),b=n(65813);const E=(0,i.Z)(g.rU,{target:"e1jry2z10"})({name:"8dk3vg",styles:"margin-bottom:1rem"});function v(){const{pathname:e}=(0,s.TH)();return(0,r.createElement)("header",null,"/tools"!==e&&(0,r.createElement)(E,{to:"/tools",component:(0,b.Sj)(p.zx),icon:h.Z,variant:"tertiary",text:(0,a.__)("Back to list","it-l10n-ithemes-security-pro")}),(0,r.createElement)(p.X6,{level:1,text:(0,a.__)("Tools","it-l10n-ithemes-security-pro"),weight:p.fs.NORMAL}),(0,r.createElement)(p.xv,{size:p.yH.SMALL,variant:p.rK.MUTED,text:(0,a.__)("Advanced tools to help you manage your site’s security.","it-l10n-ithemes-security-pro")}))}var y=n(87462),x=n(94184),_=n.n(x),w=n(92819),C=n(9576),S=n(48015),N=n(31600),L=n(96302);const F=(0,i.Z)("div",{target:"e13vre549"})({name:"1cwpjew",styles:"display:grid;grid-template-columns:repeat( auto-fit, minmax(min(800px, 100%), 1fr) );gap:2rem;margin-top:1rem"}),O=(0,i.Z)(u.Card,{target:"e13vre548"})("display:flex;flex-direction:column;margin-bottom:0.75rem;box-shadow:none!important;border:1px solid ",(({theme:e})=>e.colors.border.normal),";>div:first-child{display:flex;flex-direction:column;}"),k=(0,i.Z)(p.X6,{target:"e13vre547"})({name:"ol9ofu",styles:"font-size:0.875rem"}),j=(0,i.Z)(u.CardBody,{target:"e13vre546"})({name:"v1mh8",styles:"flex-grow:2;display:flex;flex-direction:column"}),T=(0,i.Z)("div",{target:"e13vre545"})({name:"1gok8e8",styles:"margin-bottom:0.5rem"}),I=(0,i.Z)("div",{target:"e13vre544"})({name:"1k0t4vh",styles:"width:90%"}),A=(0,i.Z)(f.Lu,{target:"e13vre543"})("font-size:0.75rem;color:",(({theme:e})=>e.colors.text.muted),";"),R=(0,i.Z)("div",{target:"e13vre542"})({name:"l2ils0",styles:"flex:0 0 90%"}),D=(0,i.Z)("div",{target:"e13vre541"})("display:flex;margin-top:auto;@media screen and (min-width: ",(({theme:e})=>e.breaks.medium),"px){flex-direction:",(({hasMessage:e})=>e?"column":"row"),";}"),B=(0,i.Z)(p.rN,{target:"e13vre540"})({name:"14mfhm0",styles:"margin:0.5rem 0"});var P=n(65096),M=n.n(P);function Z(){return Z.instance||(Z.instance=new(M())({schemaId:"id"}),Z.instance.addMetaSchema(n(27171)),Z.instance.addFormat("html",{type:"string",validate:()=>!0})),Z.instance}function W(){const{tools:e,activeModules:t,isLoaded:n}=(0,S.useSelect)((e=>({tools:e(N.toolsStore).getResolvedTools(),activeModules:e(N.MODULES_STORE_NAME).getActiveModules(),isLoaded:e(N.toolsStore).hasFinishedResolution("getTools")})),[]),l=(0,r.useMemo)((()=>e.filter((e=>t.includes(e.module)&&!1!==e.available))),[e,t]);return(0,r.createElement)(F,null,l.length>0&&n&&l.map((e=>(0,r.createElement)($,{key:e.slug,tool:e}))))}function $({tool:e,className:t,...n}){const{result:l,isRunning:o}=(0,S.useSelect)((t=>({result:t(N.toolsStore).getLastResult(e.slug),isRunning:t(N.toolsStore).isRunning(e.slug)})),[e.slug]),[a,i]=(0,r.useState)([]);return(0,r.useEffect)((()=>i([])),[e]),(0,r.createElement)(O,(0,y.Z)({className:_()(t,"itsec-tool"),isRounded:!0,size:"small"},n),(0,r.createElement)(u.CardHeader,{size:"small"},(0,r.createElement)(k,{level:3,variant:p.rK.DARK,weight:600,text:e.title})),(0,r.createElement)(j,null,(0,r.createElement)(q,{result:l,schemaError:a}),(0,r.createElement)(I,null,(0,r.createElement)(p.xv,{variant:p.rK.DARK,text:e.description}),e.help&&(0,r.createElement)(A,{content:e.help,tagName:"p"})),(0,r.createElement)(K,{tool:e.slug}),(0,r.createElement)(z,{tool:e,setSchemaError:i,isRunning:o})))}function q({result:e,schemaError:t}){var n,l,o;return(0,r.createElement)(T,null,(0,r.createElement)(f.KM,{schemaError:t,apiError:e?.error}),(0,r.createElement)(p.rN,{messages:null!==(n=e?.success)&&void 0!==n?n:[],type:"success"}),(0,r.createElement)(p.rN,{messages:null!==(l=e?.warning)&&void 0!==l?l:[],type:"warning"}),(0,r.createElement)(p.rN,{messages:null!==(o=e?.info)&&void 0!==o?o:[],type:"info"}))}function z({tool:e,setSchemaError:t,isRunning:n}){const l=function(e){const{activeModules:t,settings:n}=(0,S.useSelect)((t=>({settings:(0,w.mapValues)(e.condition?.settings||{},((e,n)=>t(N.MODULES_STORE_NAME).getSettings(n))),activeModules:t(N.MODULES_STORE_NAME).getActiveModules()})),[e]);if(!e.condition)return!0;if(e.condition["active-modules"])for(const n of e.condition["active-modules"])if(!t?.includes(n))return!1;if(e.condition.settings){const t=Z();for(const[r,l]of Object.entries(e.condition.settings))if(!t.compile(l)(n[r]))return!1}return!0}(e),o=(0,C.useInstanceId)(z,"itsec-tool-form"),i=(0,r.useMemo)((()=>({disableInlineErrors:!0,tool:e.slug})),[e.slug]),{runTool:s}=(0,S.useDispatch)(N.toolsStore),c=!l&&e.condition?.description;return(0,r.createElement)(D,{hasMessage:c},e.form&&l&&(0,r.createElement)(R,null,(0,r.createElement)(L.b,{id:o,idPrefix:`itsec_tool_${e.slug}`,schema:e.form,uiSchema:e.form.uiSchema,formContext:i,showErrorList:!1,onError:t,onSubmit:({formData:n})=>{t([]),s(e.slug,n)}})),!l&&e.condition?.description&&(0,r.createElement)(B,{type:"warning",messages:[e.condition.description]}),(0,r.createElement)(u.Flex,{className:"itsec-tool__actions",justify:"flex-end",align:"flex-end"},(0,r.createElement)(u.FlexItem,null,(0,r.createElement)(p.zx,{variant:"primary",className:"itsec-tool__trigger",type:e.form?"submit":"button",form:e.form?o:void 0,onClick:e.form?void 0:()=>s(e.slug),isBusy:n,disabled:!l},(0,a.__)("Run","it-l10n-ithemes-security-pro"))),(0,r.createElement)(K,{tool:e.slug,fillProps:{isActive:l},area:"actions"},(e=>r.Children.map(e,((e,t)=>(0,r.createElement)(r.Fragment,{key:t},e&&(0,r.createElement)(u.FlexItem,null,e))))))))}function U({tool:e,area:t="main",...n}){return(0,r.createElement)(u.Fill,(0,y.Z)({name:`Tool${t}${e}`},n))}function K({tool:e,area:t="main",...n}){return(0,r.createElement)(u.Slot,(0,y.Z)({name:`Tool${t}${e}`},n))}const H=(0,i.Z)("div",{target:"e1h1ua4f1"})({name:"94gy5t",styles:"width:100%;max-width:1680px;align-self:center;padding:1rem 1.25rem"}),V=(0,i.Z)(p.X6,{target:"e1h1ua4f0"})({name:"akdqam",styles:"margin-top:1rem"}),{Slot:X,Fill:G}=(0,u.createSlotFill)("BeforeImportExportTools"),{Slot:Q,Fill:J}=(0,u.createSlotFill)("AfterImportExportTools"),{Slot:Y,Fill:ee}=(0,u.createSlotFill)("Export");function te(){const[e,t]=(0,r.useState)(!1);return(0,r.createElement)(H,null,(0,r.createElement)(v,null),(0,r.createElement)(X,null,(e=>(0,r.createElement)(ne,{fills:e,setHasTools:t}))),e&&(0,r.createElement)(V,{level:2,size:p.yH.LARGE,variant:p.rK.DARK,weight:600,text:(0,a.__)("Additional Tools","it-l10n-ithemes-security-pro")}),(0,r.createElement)(W,null),(0,r.createElement)(Q,null))}function ne({fills:e,setHasTools:t}){return(0,r.useEffect)((()=>t(e.length>0)),[e,t]),e}function re(){return(0,r.createElement)(Y,null)}const le=(0,i.Z)(p.Tg,{target:"e1nmkgzj0"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"});function oe({history:e}){return(0,r.createElement)(d.a,{theme:p.U1},(0,r.createElement)(s.F0,{history:e},(0,r.createElement)(c.Fz,{ReactRouterRoute:s.AW},(0,r.createElement)(le,{className:"itsec-tools",variant:p.h1.UNDER_PAGE},(0,r.createElement)(u.SlotFillProvider,null,(0,r.createElement)(m.PluginArea,null),(0,r.createElement)(u.Popover.Slot,null),(0,r.createElement)(f.Qf,null),(0,r.createElement)(s.rs,null,(0,r.createElement)(s.AW,{path:"/export",component:re}),(0,r.createElement)(s.AW,{path:"/tools",component:te}),(0,r.createElement)(s.AW,{path:"/"},(0,r.createElement)(s.l_,{to:"/tools"}))))))))}var ae=n(79612);n.p=window.itsecWebpackPublicPath,(0,a.setLocaleData)({"":{}},"ithemes-security-pro");const ie=(0,ae.f)(document.location,{page:"itsec-tools"});o()((()=>(0,r.render)((0,r.createElement)(oe,{history:ie}),document.getElementById("itsec-tools-root"))))},33590:(e,t,n)=>{"use strict";n.d(t,{bB:()=>z,ZP:()=>J});var r={};n.r(r),n.d(r,{BaseInput:()=>d,CheckboxWidget:()=>p,CheckboxesWidget:()=>f,IncludeExcludeWidget:()=>j,RadioWidget:()=>L,SelectWidget:()=>y,TextareaWidget:()=>_,ToggleWidget:()=>m});var l={};n.r(l),n.d(l,{EntitySelectField:()=>B,FileTreeField:()=>q,TextareaListField:()=>M,TitleField:()=>A});var o=n(92819),a=n(87462),i=n(6293),s=n(64893),c=n(36179);const d=function(e){const{id:t,label:n,value:r,readonly:l,disabled:d,onBlur:u,onFocus:m,options:p,onChange:f,schema:g,uiSchema:h={},...b}=e;p.inputType?b.type=p.inputType:b.type||("number"===g.type?(b.type="number",b.step="any"):"integer"===g.type?(b.type="number",b.step="1"):b.type="text"),p.autocomplete&&(b.autoComplete=p.autocomplete),g.multipleOf&&(b.step=g.multipleOf),void 0!==g.minimum&&(b.min=g.minimum),void 0!==g.maximum&&(b.max=g.maximum);const E=h["ui:description"]||g.description;return(0,i.createElement)(s.TextControl,(0,a.Z)({label:n,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:E}),readOnly:l,disabled:d,value:r||""},(0,o.omit)(b,["autofocus","formContext","registry","rawErrors"]),{onChange:e=>f(""===e?p.emptyValue:e),onBlur:u&&(e=>u(b.id,e.target.value)),onFocus:m&&(e=>m(b.id,e.target.value))}))};var u=n(54639);function m({schema:e,uiSchema:t={},id:n,value:r,disabled:l,readonly:o,label:a,onBlur:d,onFocus:m,onChange:p}){const f=u.P6.schemaRequiresTrueValue(e),g=t["ui:description"]||e.description;return(0,i.createElement)(s.ToggleControl,{checked:r||!1,onChange:p,required:f,disabled:l,readOnly:o,label:a,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:g}),onBlur:d&&(e=>d(n,e.target.checked)),onFocus:m&&(e=>m(n,e.target.checked))})}function p({schema:e,uiSchema:t={},id:n,value:r,disabled:l,readonly:o,label:a,onBlur:d,onFocus:m,onChange:p}){const f=u.P6.schemaRequiresTrueValue(e),g=t["ui:description"]||e.description;return(0,i.createElement)(s.CheckboxControl,{checked:r||!1,onChange:p,required:f,disabled:l,readOnly:o,label:a,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:g}),onBlur:d&&(e=>d(n,e.target.checked)),onFocus:m&&(e=>m(n,e.target.checked))})}function f(e){const{disabled:t,options:n,value:r,readonly:l,onChange:o,label:a,schema:s,uiSchema:d={}}=e,{enumOptions:u,enumDisabled:m=[],enumDescriptions:p=[],style:f}=n,g=d["ui:description"]||s.description,h=u.map(((e,t)=>({...e,disabled:m.includes(e.value),help:p[t]&&(0,i.createElement)(c.Lu,{noWrap:!0,content:p[t]})})));return(0,i.createElement)(c.w2,{value:r||[],onChange:o,options:h,label:a||d["ui:title"]||s.title,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:g}),readOnly:l,disabled:t,style:f})}const{asNumber:g,guessType:h}=u.P6,b=new Set(["number","integer"]);function E(e,t){const{type:n,items:r}=e;if(""!==t){if("array"===n&&r&&b.has(r.type))return t.map(g);if("boolean"===n)return"true"===t;if("number"===n)return g(t);if(e.enum){if(e.enum.every((e=>"number"===h(e))))return g(t);if(e.enum.every((e=>"boolean"===h(e))))return"true"===t}return t}}function v(e,t){return t?[].slice.call(e.target.options).filter((e=>e.selected)).map((e=>e.value)):e.target.value}const y=function(e){const{schema:t,uiSchema:n={},id:r,options:l,value:o,label:a,required:d,disabled:u,readonly:m,multiple:p,onChange:f,onBlur:g,onFocus:h,placeholder:b}=e,{enumOptions:y,enumDisabled:x}=l,_=p?[]:"",w=[];p||void 0!==t.default||w.push({value:"",label:b});for(const e of y)w.push({...e,disabled:x&&x.includes(e.value)});const C=n["ui:description"]||t.description;return(0,i.createElement)(s.SelectControl,{multiple:p,options:w,value:void 0===o?_:o,label:a,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:C}),required:d,disabled:u,readOnly:m,onChange:e=>f(E(t,e)),onBlur:g&&(e=>g(r,E(t,v(e,p)))),onFocus:h&&(e=>h(r,E(t,v(e,p))))})},{getUiOptions:x}=u.P6;function _({schema:e,uiSchema:t={},id:n,value:r,disabled:l,readonly:d,label:u,onBlur:m,onFocus:p,onChange:f,...g}){const h=x(t),{rows:b,placeholder:E,description:v=e.description}=h;return(0,i.createElement)(s.TextareaControl,(0,a.Z)({value:void 0===r?"":r,onChange:f,disabled:l,readOnly:d,label:u,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:v}),onBlur:m&&(e=>m(n,e.target.value)),onFocus:p&&(e=>p(n,e.target.value)),rows:b,placeholder:E},(0,o.without)(g,["autofocus","formContext","registry","rawErrors"])))}const{asNumber:w,guessType:C}=u.P6,S=new Set(["number","integer"]);function N(e,t){const{type:n,items:r}=e;if(""!==t){if("array"===n&&r&&S.has(r.type))return t.map(w);if("boolean"===n)return"true"===t;if("number"===n)return w(t);if(e.enum){if(e.enum.every((e=>"number"===C(e))))return w(t);if(e.enum.every((e=>"boolean"===C(e))))return"true"===t}return t}}function L({schema:e,uiSchema:t={},id:n,options:r,value:l,label:o,required:a,disabled:d,readonly:u,onChange:m,onBlur:p,onFocus:f}){const{enumOptions:g}=r,h=t["ui:description"]||e.description;return(0,i.createElement)(s.RadioControl,{selected:l,options:g,label:o,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:h}),required:a,disabled:d,readOnly:u,onChange:t=>m(N(e,t)),onBlur:p&&(t=>p(n,N(e,t.target.value))),onFocus:f&&(t=>f(n,N(e,t.target.value)))})}var F=n(95122),O=n(82839),k=n(81019);function j({id:e,disabled:t,options:n,value:r,onChange:l,schema:a,autofocus:c,readonly:d}){const{enumOptions:u,enumDisabled:m=[],excludeList:{title:p=(0,F.__)("Excluded","it-l10n-ithemes-security-pro"),description:f=(0,F.__)("The list of items to exclude from the selection.","it-l10n-ithemes-security-pro"),button:g=(0,F.__)("Include","it-l10n-ithemes-security-pro")}={},includeList:{title:h=(0,F.__)("Included","it-l10n-ithemes-security-pro"),description:b=(0,F.__)("The list of items to include in the selection.","it-l10n-ithemes-security-pro"),button:E=(0,F.__)("Exclude","it-l10n-ithemes-security-pro")}={},title:v=a.title,description:y=a.description}=n;(0,i.useEffect)((()=>{const e=u.map((e=>e.value)),t=r.filter((t=>e.includes(t)));t.length!==r.length&&l(t)}),[r,u,l]);const[x,_]=(0,o.partition)(u,(e=>!r.includes(e.value)));return(0,i.createElement)("div",{className:"itsec-rjsf-include-exclude-widget"},v&&(0,i.createElement)(s.BaseControl.VisualLabel,null,v),y&&(0,i.createElement)("p",null,y),(0,i.createElement)("div",{className:"itsec-rjsf-include-exclude-widget__sides",id:e},(0,i.createElement)(T,{id:e+"__exclude",options:x,label:p,description:f,button:g,disabled:t||d,disabledOptions:m,autofocus:c,onToggle:e=>{(0,O.speak)((0,F.sprintf)((0,F.__)("Moved %1$s to %2$s.","it-l10n-ithemes-security-pro"),(0,o.find)(x,{value:e}).label,h)),l([...r,e])}}),(0,i.createElement)(T,{id:e+"__include",options:_,label:h,description:b,button:E,disabled:t||d,disabledOptions:m,onToggle:e=>{(0,O.speak)((0,F.sprintf)((0,F.__)("Moved %1$s to %2$s.","it-l10n-ithemes-security-pro"),(0,o.find)(_,{value:e}).label,p)),l(r.filter((t=>t!==e)))}})))}function T({id:e,label:t,description:n,options:r,button:l,onToggle:a,disabled:d,disabledOptions:u=[],autofocus:m}){const p=e+"__option__",[f,g]=(0,i.useState)("");return f&&!(0,o.find)(r,{value:f})&&g(""),(0,i.createElement)("div",{className:"itsec-rjsf-include-exclude-widget__side"},(0,i.createElement)(s.BaseControl,{id:e,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:n}),className:"itsec-rjsf-include-exclude-widget__listbox"},(0,i.createElement)("span",{className:"components-base-control__label",id:e+"__label"},t),(0,i.createElement)(c.T2,{role:"listbox",id:e,active:f&&p+f,"aria-labelledby":e+"__label","aria-describedby":n&&e+"__help",onNavigate:e=>g(e.substr(p.length)),onKeyDown:({keyCode:e})=>{if(!f||e!==k.DELETE&&e!==k.BACKSPACE)return;const t=(0,o.findIndex)(r,{value:f}),n=t+1<r.length?t+1:t-1;a(f),g(r[n]?.value||"")},autoFocus:m},r.map((e=>(0,i.createElement)("div",{id:p+e.value,key:e.value,role:d||u.includes(e.value)?"presentation":"option","aria-selected":e.value===f||void 0,onClick:d||u.includes(e.value)?void 0:()=>g(e.value)},e.label))))),(0,i.createElement)(s.Button,{variant:"secondary",disabled:!f,className:"itsec-rjsf-include-exclude-widget__move",onClick:()=>a(f),"aria-keyshortcuts":"Delete Backspace"},l))}const I="*";function A(e){const{id:t,title:n,required:r}=e;return(0,i.createElement)("span",{className:"itsec-rjsf-title-field",id:t},n,r&&(0,i.createElement)("span",{className:"required"},I))}var R=n(47959);const{getUiOptions:D}=u.P6;function B({uiSchema:e,schema:t,idSchema:n,name:r,formData:l,disabled:o,readonly:a,onChange:s}){const c=D(e);return(0,i.createElement)(R.fv,{id:n.$id,value:l,disabled:o,readonly:a,onChange:s,isMultiple:"array"===t.type,label:e["ui:title"]||t.title||r,description:e["ui:description"]||t.description,path:c.path,query:c.query,labelAttr:c.labelAttr,idAttr:c.idAttr,searchArg:c.searchArg})}const{getUiOptions:P}=u.P6;function M({uiSchema:e,schema:t,name:n,formData:r,disabled:l,readonly:o,onChange:a}){const s=e["ui:title"]||t.title||n,d=e["ui:description"]||t.description,u=P(e),{rows:m,placeholder:p}=u;return(0,i.createElement)(c.yA,{label:s,help:(0,i.createElement)(c.Lu,{noWrap:!0,content:d}),disabled:l,readonly:o,rows:m,value:r,onChange:a,placeholder:p})}var Z=n(87514),W=n.n(Z),$=n(73470);function q({idSchema:e,formData:t,onChange:n,uiSchema:r,schema:l,name:a,disabled:d,readonly:u,autofocus:m}){const p=e.$id,f=r["ui:title"]||l.title||a,g=r["ui:description"]||l.description,[h,b]=(0,i.useState)([]),[E,v]=(0,i.useState)("");(0,i.useEffect)((()=>{W()({path:(0,$.addQueryArgs)("/ithemes-security/rpc/file-change/file-tree",{directory:"/"})}).then(b)}),[]);const y=e=>{n(t.includes(e)?t.filter((t=>t!==e)):[...t,e])};return(0,i.createElement)("div",{className:"itsec-rjsf-file-tree"},g&&(0,i.createElement)(c.Lu,{content:g,tagName:"p"}),(0,i.createElement)("div",{className:"itsec-rjsf-file-tree__controls"},(0,i.createElement)("div",null,(0,i.createElement)(c.mp,{tree:h,id:p,label:(0,F.__)("File Selector","it-l10n-ithemes-security-pro"),active:E,setActive:v,onActivate:y,onLoad:async e=>{const t=await W()({path:(0,$.addQueryArgs)("/ithemes-security/rpc/file-change/file-tree",{directory:e})}),n=(0,o.cloneDeep)(h);(0,c.in)(n,(n=>{if(n.id===e)return n.children=t,c.in.halt})),b(n)}}),(0,i.createElement)(s.Button,{variant:"secondary",disabled:!E,className:"itsec-rjsf-file-tree__select",onClick:()=>y(E),"aria-keyshortcuts":"Enter Space"},(0,F.__)("Select","it-l10n-ithemes-security-pro"))),(0,i.createElement)(c.yA,{value:t,onChange:n,className:"itsec-rjsf-file-tree__list",label:f,disabled:d,readonly:u,autoFocus:m})))}function z({name:e,...t}){return(0,i.createElement)(s.Fill,(0,a.Z)({name:`RjsfField${e}`},t))}function U({name:e,...t}){return(0,i.createElement)(s.Slot,(0,a.Z)({name:`RjsfField${e}`},t))}const{ADDITIONAL_PROPERTY_FLAG:K,getUiOptions:H}=u.P6;function V(e){const{id:t,classNames:n,disabled:r,label:l,onKeyChange:o,onDropPropertyClick:a,readonly:c,required:d,schema:u,uiSchema:m}=e,p=`${l} Key`,f=u.hasOwnProperty(K),{removable:g}=H(m);return f&&!1!==g?(0,i.createElement)("div",{className:n},(0,i.createElement)("div",{className:"row"},(0,i.createElement)("div",{className:"col-xs-5 form-additional"},(0,i.createElement)(s.TextControl,{label:p,required:d,id:`${t}-key`,onBlur:e=>o(e.target.value)})),(0,i.createElement)("div",{className:"form-additional form-group col-xs-5"},e.children),(0,i.createElement)("div",{className:"col-xs-2"},(0,i.createElement)(s.Button,{icon:"no-alt",isDestructive:!0,disabled:r||c,onClick:a(l)})))):(0,i.createElement)("div",{className:n},e.children)}const{canExpand:X}=u.P6;function G({className:e,onClick:t,disabled:n}){return(0,i.createElement)("div",{className:"row"},(0,i.createElement)("p",{className:`col-xs-3 col-xs-offset-9 text-right ${e}`},(0,i.createElement)(s.Button,{icon:"plus-alt2",className:"btn-add col-xs-12","aria-label":(0,F.__)("Add","it-l10n-ithemes-security-pro"),tabIndex:"0",onClick:t,disabled:n})))}const Q={FieldTemplate:function(e){const{children:t,errors:n,hidden:r,schema:l,uiSchema:o,formContext:a,onChange:c}=e;if(r)return null;const{resettable:d}=H(o);return(0,i.createElement)(V,e,t,(0,i.createElement)(U,{name:e.id,fillProps:e}),d&&(0,i.createElement)(s.Button,{className:"itsec-rjsf-reset-field",variant:"secondary",onClick:()=>c(l.default)},(0,F.__)("Restore Default","it-l10n-ithemes-security-pro")),!0!==a?.disableInlineErrors&&n)},ObjectFieldTemplate:function(e){const{TitleField:t,DescriptionField:n,schema:r,uiSchema:l,properties:o}=e;if(!o.length)return null;const a=(l["ui:sections"]||[]).reduce(((e,t)=>({...e,[t.fields.find((e=>!!r.properties[e]))]:t})),{});return(0,i.createElement)("div",{className:"itsec-rjsf-object-fieldset",id:e.idSchema.$id},(l["ui:title"]||e.title)&&(0,i.createElement)(t,{id:`${e.idSchema.$id}__title`,title:e.title||l["ui:title"],required:e.required,formContext:e.formContext}),e.description&&(0,i.createElement)(n,{id:`${e.idSchema.$id}__description`,description:(0,i.createElement)(c.Lu,{noWrap:!0,content:e.description}),formContext:e.formContext}),o.map((({name:e,content:t})=>a[e]?(0,i.createElement)(i.Fragment,{key:e},(0,i.createElement)("h3",{className:"itsec-rjsf-section-title"},a[e].title),a[e].description&&(0,i.createElement)("p",{className:"itsec-rjsf-section-description"},(0,i.createElement)(c.Lu,{noWrap:!0,content:a[e].description})),t):t)),X(r,l,e.formData)&&(0,i.createElement)(G,{className:"object-property-expand",onClick:e.onAddClick(r),disabled:e.disabled||e.readonly}))},ErrorList:function({errors:e}){return(0,i.createElement)(c.KM,{errors:e.map((({stack:e}={})=>e)).filter((e=>!!e))})},widgets:r,fields:l},J=Q},96302:(e,t,n)=>{"use strict";n.d(t,{T:()=>b,b:()=>E});var r=n(87462),l=n(6293),o=n(73727),a=n(64893),i=n(95122),s=n(9576),c=n(13173),d=n(65813),u=n(47959),m=n(52117),p=n(54639),f=n(33590);const g=(0,p.Zz)(f.ZP),h=(0,m.Z)(g,{target:"ejy4qm0"})(".itsec-rjsf-object-fieldset{display:grid;grid-template-columns:[label fields] minmax(0, 1fr);grid-template-rows:auto;grid-gap:.5rem 0;@media (min-width: ",(({theme:{breaks:e}})=>e.small),"px){grid-template-columns:[label] 10rem [fields] minmax(0, 1fr);}}.itsec-rjsf-section-description{margin-top:0;grid-column:fields;}>.field-object>.itsec-rjsf-object-fieldset{&>.itsec-rjsf-title-field,&>.itsec-rjsf-section-title{grid-column:label;font-size:1rem;padding-right:1rem;margin-top:0;&:not(:first-child){border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";margin-top:.5rem;padding-top:1rem;@media (min-width: ",(({theme:{breaks:e}})=>e.small),"px){&+*{border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";margin-top:.5rem;padding-top:1rem;}}}}&>.form-group:not(.field-object){grid-column:label/fields-end;}&>.itsec-rjsf-section-title~.form-group{grid-column:fields;}&>.field-object{grid-column:label/fields-end;}&>.field-description{margin-top:0;}}.itsec-rjsf-object-fieldset>*>.itsec-rjsf-object-fieldset{&>.itsec-rjsf-title-field{grid-column:label;font-size:1rem;padding-right:1rem;}&>.form-group{grid-column:fields;}&>.field-description{grid-column:fields;margin-top:0;}}.components-base-control__label,.components-input-control__label,label,caption,legend{color:",(({theme:e})=>e.colors.text.dark),";}.itsec-highlighted-search-result{.components-base-control__label,.components-input-control__label,label,caption{border-bottom:3px solid ",(({theme:e})=>e.colors.border.info),";padding-bottom:3px;margin-bottom:6px;}.components-base-control__field{margin-bottom:12px;}}.field-object:not(:first-child):not(:empty){border-top:1px solid ",(({theme:e})=>e.colors.border.normal),";margin-top:1rem;padding-top:1rem;}.field-object:empty{display:none;}.itsec-rjsf-title-field+.field-object:not(:first-child),.itsec-rjsf-section-description+.field-object:not(:first-child){border-top:none;margin-top:0;padding-top:0;}");function b({saveLabel:e,isSaving:t,saveDisabled:n,cancelLabel:o,onCancel:i,cancelRoute:c,undoLabel:d,undoDisabled:m,onUndo:p,children:f,errors:g,apiError:h,schemaError:y,withCard:x,alignActions:_,...w}){let C=(0,s.useInstanceId)(b,"itsec-schema-form");C=w.id||C;const S=(0,l.createElement)(React.Fragment,null,(0,l.createElement)(u.KM,{errors:g,apiError:h,schemaError:y}),(0,l.createElement)(E,(0,r.Z)({},w,{id:C})));return(0,l.createElement)(a.Flex,{direction:"column",gap:7,justify:"start",expanded:!1},(0,l.createElement)(a.FlexItem,null,x&&(0,l.createElement)(a.Card,null,(0,l.createElement)(a.CardBody,null,S)),!x&&S),(0,l.createElement)(a.FlexItem,null,(0,l.createElement)(v,{id:C,saveLabel:e,cancelLabel:o,isSaving:t,saveDisabled:n,onCancel:i,cancelRoute:c,undoLabel:d,undoDisabled:m,onUndo:p,align:_},f)))}const E=(0,l.forwardRef)((({className:e,...t},o)=>(0,l.createElement)(h,(0,r.Z)({},t,{ref:o,className:e,additionalMetaSchemas:[n(27171)]}),(0,l.createElement)(React.Fragment,null))));function v({id:e,saveLabel:t=(0,i.__)("Save","it-l10n-ithemes-security-pro"),isSaving:n,saveDisabled:r,cancelLabel:s=(0,i.__)("Cancel","it-l10n-ithemes-security-pro"),onCancel:m,cancelRoute:p,undoLabel:f=(0,i.__)("Undo Changes","it-l10n-ithemes-security-pro"),undoDisabled:g,onUndo:h,align:b,children:E}){return(0,l.createElement)(a.Flex,{align:b},m&&(0,l.createElement)(a.FlexItem,null,(0,l.createElement)(c.zx,{variant:"tertiary",type:"button",onClick:m},s)),p&&(0,l.createElement)(a.FlexItem,null,(0,l.createElement)(o.rU,{component:(0,d.Sj)(c.zx),variant:"tertiary",type:"button",to:p},s)),!b&&(0,l.createElement)(u.Xp,null),E,h&&(0,l.createElement)(a.FlexItem,null,(0,l.createElement)(c.zx,{variant:"secondary",disabled:g,onClick:h},f)),(0,l.createElement)(a.FlexItem,null,(0,l.createElement)(c.zx,{variant:"primary",isBusy:n,disabled:n||r,form:e,type:"submit"},t)))}},52278:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(6293),l=n(14776);const o=(0,r.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(l.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"}))},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},82839:e=>{e.exports=function(){return this.wp.a11y}()},87514:e=>{e.exports=function(){return this.wp.apiFetch}()},64893:e=>{e.exports=function(){return this.wp.components}()},9576:e=>{e.exports=function(){return this.wp.compose}()},48015:e=>{e.exports=function(){return this.wp.data}()},82521:e=>{e.exports=function(){return this.wp.date}()},25993:e=>{e.exports=function(){return this.wp.domReady}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81834:e=>{e.exports=function(){return this.wp.isShallowEqual}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},14776:e=>{e.exports=function(){return this.wp.primitives}()},73470:e=>{e.exports=function(){return this.wp.url}()},99196:e=>{"use strict";e.exports=window.React},91850:e=>{"use strict";e.exports=window.ReactDOM},92819:e=>{"use strict";e.exports=window.lodash},76292:e=>{"use strict";e.exports=window.moment}},e=>{e.O(0,[7271,3173,5307,5257,6364,2704,3828,1511,976,7959,6179],(()=>(77388,e(e.s=77388))));var t=e.O();((window.itsec=window.itsec||{}).pages=window.itsec.pages||{}).tools=t}]);

Youez - 2016 - github.com/yon3zu
LinuXploit