芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/optimyar/wp-content/plugins/ithemes-security-pro/dist/pages/vulnerabilities.min.js
/*! For license information please see vulnerabilities.min.js.LICENSE.txt */ (globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[4378],{79612:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var r=n(90071),a=n(17563),l=n(92819);function i(e,t){const n=(0,r.lX)(),i=n=>{const l="string"==typeof n?(0,r.cP)(n):n,i=(0,a.parse)(l.search?.substring(1))||{};return{...l,pathname:e.pathname,search:"?"+(0,a.stringify)({...i,path:l.pathname,...t})}};return{get length(){return n.length},get action(){return n.action},get location(){const e=(0,a.parse)(n.location.search.substring(1)),r=e.path||"/";return{...n.location,pathname:r,search:"?"+(0,a.stringify)((0,l.omit)(e,["path",Object.keys(t)]))}},createHref:e=>n.createHref(i(e)),push:(e,t)=>{n.push(i(e),t)},replace:(e,t)=>{n.replace(i(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)}))}}}},78406:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BeforeHeaderFill:()=>ie,severityColor:()=>ee,vulnerabilityIcon:()=>J});var r=n(6293),a=n(25993),l=n.n(a),i=n(52117),s=n(16550),c=n(42236),o=n(12614),u=n(64893),m=n(3571),d=n(13173),p=n(20567),v=n(73727),g=n(92819),h=n(48015),E=n(95122),y=n(9576),x=n(89522),f=n(16282),w=n(62462),_=n(31600),b=n(65813),L=n(82521),S=n(60976);const N=(0,i.Z)("header",{target:"egry9926"})("display:flex;flex-direction:",(({isSmall:e})=>e&&"column"),";justify-content:space-between;align-items:",(({isSmall:e})=>e?"flex-start":"center"),";padding:1rem 1.25rem;"),I=(0,i.Z)(d.X6,{target:"egry9925"})("margin-top:",(({isSmall:e})=>e&&"-1.25rem"),";"),O=(0,i.Z)(d.xv,{shouldForwardProp:e=>"hasScanDate"!==e,target:"egry9924"})("visibility:",(({hasScanDate:e})=>e?"visible":"hidden"),";"),A=(0,i.Z)("div",{target:"egry9923"})("display:flex;flex-direction:",(({isSmall:e})=>e&&"column"),";gap:1rem;margin-top:1rem;"),Z=(0,i.Z)("div",{target:"egry9922"})("display:flex;flex-direction:column;align-items:flex-end;order:",(({isSmall:e})=>e&&"-1"),";align-self:",(({isSmall:e})=>e&&"flex-end"),";"),k=(0,i.Z)(d.xv,{target:"egry9921"})({name:"kc0l0i",styles:"font-size:0.625rem"}),z=(0,i.Z)(S.P_,{shouldForwardProp:e=>"isLarge"!==e,target:"egry9920"})("width:",(({isLarge:e})=>e?"170px":"124px"),";");function R(){const{scans:e}=(0,h.useSelect)((e=>({scans:e(_.siteScannerStore).getScans()})),[]),t=(0,y.useViewportMatch)("small","<"),n=(0,y.useViewportMatch)("large");return(0,r.createElement)(N,{isSmall:t},(0,r.createElement)("div",null,(0,r.createElement)(I,{isSmall:t,level:2,size:d.yH.LARGE,variant:d.rK.DARK,weight:600,text:(0,E.__)("Vulnerable Software","it-l10n-ithemes-security-pro")}),(0,r.createElement)(O,{hasScanDate:e.length>0,variant:d.rK.MUTED,text:(0,E.sprintf)((0,E.__)("This website was last checked against the vulnerability database on %s.","it-l10n-ithemes-security-pro"),(0,L.dateI18n)("m/d/Y (g:i A)",e[0]?.time))}),(0,r.createElement)(A,{isSmall:t},(0,r.createElement)(p.U9,null),(0,r.createElement)(p.oB,null))),(0,r.createElement)(Z,{isSmall:t},(0,r.createElement)(k,{weight:600,text:(0,E.__)("Powered by","it-l10n-ithemes-security-pro")}),(0,r.createElement)(z,{isLarge:n})))}var D=n(71941),P=n(36713),H=n(48562),V=n(27231),C=n(28184);const F=(0,i.Z)("div",{target:"e1p1tpjx2"})({name:"tgjssi",styles:"display:flex;align-items:center;justify-content:center;max-width:1680px"}),K=(0,i.Z)("div",{target:"e1p1tpjx1"})({name:"1e6v2hq",styles:"display:flex;flex-direction:column;align-items:center;gap:1.25rem;max-width:300px;padding-top:70px;padding-bottom:70px"}),T=(0,i.Z)(d.xv,{shouldForwardProp:e=>"hasScanDate"!==e,target:"e1p1tpjx0"})("visibility:",(({hasScanDate:e})=>e?"visible":"hidden"),";");function M({getScans:e}){return(0,r.createElement)(F,null,(0,r.createElement)(K,null,(0,r.createElement)(p.nU,{icon:(0,r.createElement)(S.Ie,{style:{height:"135px"}})}),(0,r.createElement)(d.xv,{variant:d.rK.DARK,weight:700,text:(0,E.__)("No Vulnerabilities Found!","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{align:"center",variant:d.rK.DARK,text:(0,E.__)("Your site has been successfully checked against the Patchstack vulnerability database.","it-l10n-ithemes-security-pro")}),(0,r.createElement)(T,{hasScanDate:e.length,variant:d.rK.DARK,weight:600,text:(0,E.sprintf)((0,E.__)("Last Scan: %s","it-l10n-ithemes-security-pro"),(0,L.dateI18n)("m/d/Y",e[0]?.time))}),(0,r.createElement)(v.rU,{to:"/scan",replace:!0,component:(0,b.Sj)(d.zx),variant:"primary",text:(0,E.__)("Scan for Vulnerabilities","it-l10n-ithemes-security-pro")})))}const B=(0,i.Z)(d.Tg,{target:"eu3ynho9"})({name:"ic1ezh",styles:"flex-shrink:1;position:relative"}),j=(0,i.Z)("tr",{target:"eu3ynho8"})("vertical-align:",(({isSmall:e,isLarge:t})=>!e&&!t&&"top"),";"),G=(0,i.Z)(d.xv,{target:"eu3ynho7"})({name:"104g9nb",styles:"grid-area:name"}),U=(0,i.Z)(d.xv,{target:"eu3ynho6"})({name:"1olbkha",styles:"grid-area:version"}),q=(0,i.Z)(d.xv,{target:"eu3ynho5"})({name:"29p8i5",styles:"grid-area:detail"}),W=(0,i.Z)("div",{target:"eu3ynho4"})({name:"1doqzcq",styles:'display:grid;grid-template-columns:0.5fr 1fr;grid-template-areas:"severity name";justify-items:start'}),Y=(0,i.Z)(d.Tg,{target:"eu3ynho3"})({name:"144dajy",styles:'display:grid;grid-template-columns:1fr;grid-template-areas:"name" "version" "detail";align-items:center;@media screen and (min-width: 960px){grid-template-columns:1fr 1fr 1fr;grid-template-areas:"name version detail";}'}),Q=(0,i.Z)(d.xv,{target:"eu3ynho2"})("display:flex;justify-content:center;width:min-content;min-width:2rem;margin:",(({isSmall:e})=>!e&&"0 auto"),";padding:1.5px 6.5px;background-color:",(({backgroundColor:e})=>e),";border-radius:2px;"),$=(0,i.Z)(u.Icon,{target:"eu3ynho1"})({name:"1svyz14",styles:"background-color:#438C56;border-radius:2rem"}),X=(0,i.Z)(u.Icon,{target:"eu3ynho0"})({name:"i7362z",styles:"background-color:#FFABAF;border-radius:2rem"});function J(e){switch(e){case"plugin":return D.Z;case"theme":return P.Z;case"wordpress":return H.Z;default:return}}function ee(e){switch(!0){case isNaN(e):return"#CECECE";case e<3:return"#B8E6BF";case e<7:return"#FFC518";case e<9:return"#FFABAF";default:return"#D63638"}}function te(e){switch(e){case"":return(0,r.createElement)(X,{icon:V.Z,style:{fill:"#D75A4B"}});case"auto-updated":case"deactivated":case"deleted":case"updated":return(0,r.createElement)($,{icon:C.Z,style:{fill:"#FFFFFF"}});case"patched":return(0,r.createElement)(S.dz,null);case"muted":return(0,r.createElement)(S.PH,null)}}function ne({getScans:e,items:t,filters:n}){const a=(0,y.useViewportMatch)("small","<"),l=(0,y.useViewportMatch)("large");return(0,r.createElement)(B,{as:"section"},(0,r.createElement)("table",{className:"itsec-card-vulnerable-software__table"},(0,r.createElement)("thead",null,a?(0,r.createElement)("tr",null,(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Type","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Severity and Name","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Status","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Action","it-l10n-ithemes-security-pro")})):(0,r.createElement)("tr",null,(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Type","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Vulnerability","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Severity","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Status","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Date","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Action","it-l10n-ithemes-security-pro")}))),t.length>0&&(0,r.createElement)("tbody",null,t.map((e=>{var t,n;const i=e.details.id;return(0,r.createElement)(j,{key:i,isSmall:a,isLarge:l},a?(0,r.createElement)(React.Fragment,null,(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{icon:J(e.software.type.slug)})),(0,r.createElement)("td",null,(0,r.createElement)(W,null,(0,r.createElement)(Q,{backgroundColor:ee(e.details.score),isSmall:a,status:e.status,weight:600,text:null!==(t=e.details.score)&&void 0!==t?t:"??"}),(0,r.createElement)(G,{weight:500,text:e.software.label||e.software.slug}))),(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{icon:te(e.resolution.slug),iconSize:16,text:e.resolution.label})),(0,r.createElement)("td",null,(0,r.createElement)(v.rU,{to:`/vulnerability/${i}`},(0,E.__)("View Details","it-l10n-ithemes-security-pro")))):(0,r.createElement)(React.Fragment,null,(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{icon:J(e.software.type.slug),text:e.software.type.label})),(0,r.createElement)("td",null,(0,r.createElement)(Y,{isLarge:l},(0,r.createElement)(G,{weight:500,text:e.software.label||e.software.slug}),(0,r.createElement)(U,{text:e.details.affected_in}),(0,r.createElement)(q,{text:e.details.type.label}))),(0,r.createElement)("td",null,(0,r.createElement)(Q,{backgroundColor:ee(e.details.score),status:e.status,weight:600,text:null!==(n=e.details.score)&&void 0!==n?n:"??"})),(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{icon:te(e.resolution.slug),iconSize:16,text:e.resolution.label})),(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{text:(0,E.sprintf)((0,E.__)("%s ago","it-l10n-ithemes-security-pro"),e.last_seen_diff)})),(0,r.createElement)("td",null,(0,r.createElement)(v.rU,{to:`/vulnerability/${i}`},(0,E.__)("View Details","it-l10n-ithemes-security-pro")))))}))),0===t.length&&n?.resolution?.includes("")&&(0,r.createElement)("tbody",null,(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:"6"},(0,r.createElement)(M,{getScans:e})))),0===t.length&&!n?.resolution?.includes("")&&(0,r.createElement)("tbody",null,(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:"6"},(0,E.__)("No vulnerabilities found","it-l10n-ithemes-security-pro"))))))}const re=(0,i.Z)("div",{target:"e5qch01"})({name:"n7u7td",styles:"display:flex;flex-direction:column;gap:1rem;width:100%;max-width:1680px;margin:0 auto;padding:1rem 1.25rem"}),ae=(0,i.Z)("header",{target:"e5qch00"})("display:flex;justify-content:space-between;align-items:",(({isSmall:e})=>e?"flex-start":"center"),";"),{Slot:le,Fill:ie}=(0,u.createSlotFill)("BeforeHeader"),se=(0,i.Z)(d.x$,{target:"e14j518i4"})({name:"lee4ct",styles:"width:350px"}),ce=(0,i.Z)("div",{target:"e14j518i3"})({name:"r2g86h",styles:"display:flex;align-items:center;gap:1rem"}),oe=(0,i.Z)("span",{target:"e14j518i2"})({name:"14cgj8g",styles:"color:#c0c0c0"}),ue=(0,i.Z)("div",{target:"e14j518i1"})("display:flex;flex-direction:",(({isSmall:e})=>e&&"column"),";gap:1rem;"),me=(0,i.Z)("div",{target:"e14j518i0"})({name:"1vltohq",styles:"display:flex;gap:2rem;justify-content:flex-end;& .components-button.is-tertiary:disabled{background:transparent!important;}"}),de={per_page:100};function pe(){const e={resolution:["unresolved","patched","deactivated"]},[t,n]=(0,r.useState)(e),{query:a,fetchQueryNextPage:l,fetchQueryPrevPage:i}=(0,h.useDispatch)(_.vulnerabilitiesStore),{items:s,isQuerying:c,hasResolved:o,getScans:m,queryHasNextPage:p,queryHasPrevPage:L}=(0,h.useSelect)((e=>({items:e(_.vulnerabilitiesStore).getVulnerabilities(),isQuerying:e(_.vulnerabilitiesStore).isQuerying("main"),hasResolved:e(_.vulnerabilitiesStore).hasFinishedResolution("getVulnerabilities"),queryHasNextPage:e(_.vulnerabilitiesStore).queryHasNextPage("main"),queryHasPrevPage:e(_.vulnerabilitiesStore).queryHasPrevPage("main"),getScans:e(_.siteScannerStore).getScans()})),[]),S=(0,y.useViewportMatch)("small","<"),N=e=>{n(e),a("main",{...e,...de})},I=()=>{n(e),a("main",{...e,...de}),N(e)},O=Object.keys(t).filter((e=>!(0,g.isEmpty)(t[e]))).length;return(0,r.createElement)(re,null,(0,r.createElement)(le,null),(0,r.createElement)(ae,{isSmall:S},(0,r.createElement)(ce,null,(0,r.createElement)(u.Dropdown,{popoverProps:{focusOnMount:"container"},renderToggle:({isOpen:e,onToggle:t})=>(0,r.createElement)(d.zx,{icon:x.Z,onClick:t,"aria-expanded":e,variant:"tertiary",text:(0,E.sprintf)((0,E.__)("Filter (%d)","it-l10n-ithemes-security-pro"),O)}),renderContent:()=>(0,r.createElement)(se,{initialValue:t,initialOpen:["software_type"],expandSingle:!0,isBusy:c,onApply:N},(0,r.createElement)(d.By,{slug:"software_type",title:(0,E.__)("Types","it-l10n-ithemes-security-pro"),options:[{value:"theme",label:(0,E.__)("Themes","it-l10n-ithemes-security-pro")},{value:"plugin",label:(0,E.__)("Plugins","it-l10n-ithemes-security-pro")},{value:"wordpress",label:(0,E.__)("Core","it-l10n-ithemes-security-pro")}]}),(0,r.createElement)(d.By,{slug:"resolution",title:(0,E.__)("Status","it-l10n-ithemes-security-pro"),options:[{value:"unresolved",label:(0,E.__)("Unresolved","it-l10n-ithemes-security-pro")},{value:"patched",label:(0,E.__)("Mitigated","it-l10n-ithemes-security-pro")},{value:"auto-updated",label:(0,E.__)("Auto-Updated","it-l10n-ithemes-security-pro")},{value:"updated",label:(0,E.__)("Updated","it-l10n-ithemes-security-pro")},{value:"muted",label:(0,E.__)("Muted","it-l10n-ithemes-security-pro")},{value:"deactivated",label:(0,E.__)("Deactivated","it-l10n-ithemes-security-pro")},{value:"deleted",label:(0,E.__)("Deleted","it-l10n-ithemes-security-pro")}]}))}),O>0&&(0,r.createElement)(React.Fragment,null,(0,r.createElement)(oe,null,"|"),(0,r.createElement)(d.zx,{onClick:I,variant:"tertiary",text:(0,E.__)("Reset all","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(ue,{isSmall:S},(0,r.createElement)(v.rU,{to:"/database",component:(0,b.Sj)(d.zx),text:(0,E.__)("Browse Vulnerability Database","it-l10n-ithemes-security-pro")}),(0,r.createElement)(v.rU,{to:"/scan",replace:!0,component:(0,b.Sj)(d.zx),onClick:I,variant:"primary",text:(0,E.__)("Scan for Vulnerabilities","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(d.Tg,{as:"section"},(0,r.createElement)(R,null),o&&(0,r.createElement)(ne,{getScans:m,items:s,filters:t})),(0,r.createElement)(me,null,(0,r.createElement)(d.zx,{disabled:!L,icon:f.Z,iconGap:0,variant:"tertiary",onClick:()=>{i("main","replace")},text:(0,E.__)("Prev","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.zx,{disabled:!p,icon:w.Z,iconPosition:"right",iconGap:0,variant:"tertiary",onClick:()=>{l("main","replace")},text:(0,E.__)("Next","it-l10n-ithemes-security-pro")})))}var ve=n(87329),ge=n(26755);const he=(0,i.Z)(d.Tg,{target:"e1itr1mv10"})({name:"ic1ezh",styles:"flex-shrink:1;position:relative"}),Ee=(0,i.Z)(d.xv,{target:"e1itr1mv9"})({name:"104g9nb",styles:"grid-area:name"}),ye=(0,i.Z)(d.xv,{target:"e1itr1mv8"})({name:"1olbkha",styles:"grid-area:version"}),xe=(0,i.Z)(d.xv,{target:"e1itr1mv7"})({name:"29p8i5",styles:"grid-area:detail"}),fe=(0,i.Z)("td",{target:"e1itr1mv6"})({name:"1bmnxg7",styles:"white-space:nowrap"}),we=(0,i.Z)(d.Tg,{target:"e1itr1mv5"})('display:grid;grid-template-columns:1fr 0.5fr 1fr;grid-template-areas:"name name name" "version detail detail";align-items:center;@media screen and (min-width: 960px){grid-template-columns:1fr 0.5fr 1fr;grid-template-areas:"name version detail";gap:',(({theme:{getSize:e}})=>e(1)),";}"),_e=(0,i.Z)(d.xv,{target:"e1itr1mv4"})("padding:1.5px 6.5px;background-color:",(({backgroundColor:e})=>e),";border-radius:2px;width:35px;display:flex;justify-content:center;"),be=(0,i.Z)(u.Icon,{target:"e1itr1mv3"})({name:"o0zq48",styles:"fill:white;background-color:#438C56;border-radius:2rem"}),Le=(0,i.Z)(u.Icon,{target:"e1itr1mv2"})({name:"i7362z",styles:"background-color:#FFABAF;border-radius:2rem"}),Se=(0,i.Z)(d.Tg,{target:"e1itr1mv0"})("display:block;align-items:center;justify-content:space-between;padding:",(({theme:{getSize:e}})=>`${e(.5)} ${e(1.5)}`),";text-align:center;");function Ne(e){switch(e.toLowerCase()){case"plugin":return D.Z;case"theme":return P.Z;case"wordpress":return H.Z;default:return}}function Ie(e){switch(!0){case e<3:return"#B8E6BF";case e<7:return"#FFC518";case e<9:return"#FFABAF";default:return"#D63638"}}function Oe(e){return""===e?(0,E.__)("No Fix","it-l10n-ithemes-security-pro"):(0,E.__)("Fix Available","it-l10n-ithemes-security-pro")}function Ae(e){e=new Date(e);const t=new Date;return Math.round((t.getTime()-e.getTime())/864e5)}function Ze({items:e}){return(0,r.createElement)(he,{as:"section"},(0,r.createElement)("table",{className:"itsec-card-vulnerable-software__table"},(0,r.createElement)("thead",null,(0,r.createElement)("tr",null,(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Type","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Vulnerability","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Severity","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Status","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Date","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Action","it-l10n-ithemes-security-pro")}))),e.length>0&&(0,r.createElement)("tbody",null,e.map((e=>{const t=e.id;return(0,r.createElement)("tr",{key:t},(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{icon:Ne(e.product_type),text:e.product_type})),(0,r.createElement)("td",null,(0,r.createElement)(we,null,(0,r.createElement)(Ee,{weight:500,text:e.product_name||e.product_slug}),(0,r.createElement)(ye,{text:e.affected_in}),(0,r.createElement)(xe,{text:e.vuln_type}))),(0,r.createElement)("td",null,(0,r.createElement)(_e,{backgroundColor:Ie(e.cvss_score),status:e.status,weight:600,text:e.cvss_score})),(0,r.createElement)("td",null,(0,r.createElement)(d.xv,{icon:(n=e.fixed_in,""===n?(0,r.createElement)(Le,{icon:V.Z,style:{fill:"#D75A4B"}}):(0,r.createElement)(be,{icon:C.Z,style:{fill:"#FFFFFF"}})),iconSize:16,text:Oe(e.fixed_in)})),(0,r.createElement)(fe,null,(0,r.createElement)(d.xv,{text:(0,E.sprintf)((0,E.__)("%s days ago","it-l10n-ithemes-security-pro"),Ae(e.created_at))})),(0,r.createElement)(fe,null,(0,r.createElement)(d.zx,{icon:ge.Z,iconSize:15,iconPosition:"right",href:e.direct_url,text:(0,E.__)("View Details","it-l10n-ithemes-security-pro"),variant:"link",target:"_blank"})));var n}))),0===e.length&&(0,r.createElement)("tbody",null,(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:"6"},(0,E.__)("No vulnerabilities found","it-l10n-ithemes-security-pro"))))))}function ke(){return(0,r.createElement)(N,null,(0,r.createElement)("div",null,(0,r.createElement)(d.X6,{level:2,size:d.yH.LARGE,variant:d.rK.DARK,weight:600,text:(0,E.__)("Vulnerability Database","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{variant:d.rK.MUTED,text:(0,E.__)("You are viewing the last two weeks of vulnerabilities from the database.","it-l10n-ithemes-security-pro")})),(0,r.createElement)(Z,null,(0,r.createElement)(d.xv,{text:(0,E.__)("Powered by","it-l10n-ithemes-security-pro")}),(0,r.createElement)(S.P_,null)))}function ze(){const e={},[t,n]=(0,r.useState)(e),{query:a,fetchQueryNextPage:l,fetchQueryPrevPage:i}=(0,h.useDispatch)(_.patchstackStore),{items:s,isQuerying:c,queryHasNextPage:o,queryHasPrevPage:m}=(0,h.useSelect)((e=>({items:e(_.patchstackStore).getPatchstackVulnerabilities(),isQuerying:e(_.patchstackStore).isQuerying("main"),hasResolved:e(_.patchstackStore).hasFinishedResolution("getPatchstackVulnerabilities"),queryHasNextPage:e(_.patchstackStore).queryHasNextPage("main"),queryHasPrevPage:e(_.patchstackStore).queryHasPrevPage("main")})),[]),p=e=>{n(e),a("main",e)};return(0,r.createElement)(React.Fragment,null,(0,r.createElement)(Se,{variant:d.h1.DARK},(0,r.createElement)(d.xv,{icon:ve.Z,text:(0,E.__)("You are browsing the vulnerability database. These vulnerabilities do not affect your site. To see active vulnerabilities on your site, stop browsing the database.","it-l10n-ithemes-security-pro"),align:"center"})),(0,r.createElement)(re,null,(0,r.createElement)(le,null),(0,r.createElement)(ae,null,(0,r.createElement)(ce,null,(0,r.createElement)(u.Dropdown,{popoverProps:{focusOnMount:"container"},renderToggle:({isOpen:e,onToggle:n})=>(0,r.createElement)(d.zx,{icon:x.Z,onClick:n,"aria-expanded":e,variant:"tertiary",text:(0,E.sprintf)((0,E.__)("Filter (%d)","it-l10n-ithemes-security-pro"),Object.keys(t).filter((e=>!(0,g.isEmpty)(t[e]))).length)}),renderContent:()=>(0,r.createElement)(se,{initialValue:t,initialOpen:["type"],expandSingle:!0,isBusy:c,onApply:p},(0,r.createElement)(d.C2,{slug:"type",title:(0,E.__)("Types","it-l10n-ithemes-security-pro"),options:[{value:"themes",label:(0,E.__)("Themes","it-l10n-ithemes-security-pro")},{value:"plugins",label:(0,E.__)("Plugins","it-l10n-ithemes-security-pro")},{value:"wordpress",label:(0,E.__)("Core","it-l10n-ithemes-security-pro")}]}))}),(0,r.createElement)(d.xv,{variant:d.rK.MUTED},"|"),(0,r.createElement)(d.zx,{onClick:()=>{n(e),a("main",e),p(e)},variant:"tertiary",text:(0,E.__)("Reset all","it-l10n-ithemes-security-pro")})),(0,r.createElement)(ue,null,(0,r.createElement)(v.rU,{to:"/active",component:(0,b.Sj)(d.zx),text:(0,E.__)("Stop Browsing Database","it-l10n-ithemes-security-pro")}),(0,r.createElement)(v.rU,{to:"/scan",replace:!0,component:(0,b.Sj)(d.zx),variant:"primary",text:(0,E.__)("Scan for Vulnerabilities","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(d.Tg,{as:"section"},(0,r.createElement)(ke,null),(0,r.createElement)(Ze,{items:s})),(0,r.createElement)(me,null,(0,r.createElement)(d.zx,{disabled:!m,icon:f.Z,variant:"tertiary",onClick:()=>{i("main","replace")},text:(0,E.__)("Prev","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.zx,{disabled:!o,icon:w.Z,iconPosition:"right",variant:"tertiary",onClick:()=>{l("main","replace")},text:(0,E.__)("Next","it-l10n-ithemes-security-pro")}))))}const Re=(0,i.Z)("div",{target:"e1dcuk7f2"})({name:"1uvji1u",styles:"display:flex;gap:1rem;margin-left:auto"}),De=(0,i.Z)("div",{target:"e1dcuk7f1"})({name:"1nbimis",styles:"display:flex;flex-direction:column;align-items:center;gap:0.75rem;margin:0 auto;padding:70px 0;max-width:36ch"}),Pe=(0,i.Z)(u.Spinner,{target:"e1dcuk7f0"})({name:"1goa6k7",styles:"width:80px!important;height:80px!important"});function He(){const e=(0,s.k6)(),{runScan:t,refreshQuery:n}=(0,h.useDispatch)(_.siteScannerStore),{refreshQuery:a}=(0,h.useDispatch)(_.vulnerabilitiesStore);return(0,r.useEffect)((()=>{t().then((()=>Promise.allSettled([n("main"),a("main")]))).then((()=>e.replace("/active")))}),[e,n,a,t]),(0,r.createElement)(re,null,(0,r.createElement)(le,null),(0,r.createElement)(ae,null,(0,r.createElement)(Re,null,(0,r.createElement)(v.rU,{to:"/database",component:(0,b.Sj)(d.zx),text:(0,E.__)("Browse Vulnerability Database","it-l10n-ithemes-security-pro")}),(0,r.createElement)(v.rU,{to:"/scan",component:(0,b.Sj)(d.zx),variant:"primary",disabled:!0,text:(0,E.__)("Scan for vulnerabilities","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(d.Tg,{as:"section"},(0,r.createElement)(R,null),(0,r.createElement)("table",{className:"itsec-card-vulnerable-software__table"},(0,r.createElement)("thead",null,(0,r.createElement)("tr",null,(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Type","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Vulnerability","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Severity","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Status","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Date","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{as:"th",text:(0,E.__)("Action","it-l10n-ithemes-security-pro")}))),(0,r.createElement)("tbody",null,(0,r.createElement)("tr",null,(0,r.createElement)("td",{colSpan:6},(0,r.createElement)(De,null,(0,r.createElement)(Pe,null),(0,r.createElement)(d.xv,{text:(0,E.__)("Scanning for vulnerabilities…","it-l10n-ithemes-security-pro"),size:d.yH.LARGE,weight:d.fs.HEAVY,variant:d.rK.DARK}),(0,r.createElement)(d.xv,{text:(0,E.__)("Currently checking your site for any vulnerable plugins, themes, or WordPress Core.","it-l10n-ithemes-security-pro"),size:d.yH.SMALL,align:"center",variant:d.rK.MUTED}))))))))}var Ve=n(63708),Ce=n(65430);const Fe=(0,i.Z)("div",{target:"e1pwvo0s21"})("display:flex;flex-direction:",(({isSmall:e})=>e&&"column"),";justify-content:space-between;align-items:",(({isSmall:e})=>e?"flex-start":"center"),";"),Ke=(0,i.Z)("div",{target:"e1pwvo0s20"})({name:"damvy5",styles:"display:flex;gap:1rem"}),Te=(0,i.Z)(d.Tg,{target:"e1pwvo0s18"})({name:"1v03bf2",styles:"padding:2rem"}),Me=(0,i.Z)("div",{shouldForwardProp:e=>"isLarge"!==e,target:"e1pwvo0s17"})("display:flex;flex-direction:",(({isLarge:e})=>e?"row":"column"),";justify-content:space-between;gap:",(({isLarge:e})=>e?"6rem":"1rem"),";"),Be=(0,i.Z)(d.X6,{target:"e1pwvo0s16"})({name:"1h026t7",styles:"margin-bottom:1.5rem"}),je=(0,i.Z)("div",{target:"e1pwvo0s15"})("display:flex;flex-direction:column;align-items:flex-end;order:",(({isLarge:e})=>!e&&"-1"),";"),Ge=(0,i.Z)(d.xv,{target:"e1pwvo0s14"})({name:"kc0l0i",styles:"font-size:0.625rem"}),Ue=(0,i.Z)(S.P_,{shouldForwardProp:e=>"isLarge"!==e,target:"e1pwvo0s13"})("width:",(({isLarge:e})=>e?"170px":"124px"),";"),qe=(0,i.Z)("div",{target:"e1pwvo0s12"})("display:flex;flex-direction:",(({isLarge:e})=>e?"row":"column"),";width:100%;gap:1.25rem;"),We=(0,i.Z)(d.Tg,{target:"e1pwvo0s11"})({name:"w15bqf",styles:"display:flex;justify-content:center;align-items:center;gap:1rem;width:100%;padding:1.25rem 0"}),Ye=(0,i.Z)(d.xv,{target:"e1pwvo0s10"})("color:",(({color:e})=>e),";"),Qe=(0,i.Z)("div",{target:"e1pwvo0s9"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"}),$e=(0,i.Z)("div",{target:"e1pwvo0s8"})({name:"18ggg9v",styles:"display:flex;flex-direction:column;gap:0.875rem"}),Xe=(0,i.Z)(d.X6,{target:"e1pwvo0s7"})({name:"11qopbe",styles:"padding-top:2rem"}),Je=(0,i.Z)(d.xv,{target:"e1pwvo0s6"})({name:"mqz0wn",styles:"max-width:90ch"}),et=(0,i.Z)("div",{target:"e1pwvo0s5"})({name:"g8ag6v",styles:"display:flex;flex-wrap:wrap;gap:1.5rem"}),tt=(0,i.Z)("div",{target:"e1pwvo0s4"})("display:flex;flex-direction:",(({isSmall:e})=>e&&"column"),";justify-content:space-between;gap:",(({isSmall:e})=>e&&"0.5rem"),";padding:1.5rem 0;border-bottom:",(({isLastRow:e,theme:t})=>!e&&`1px solid ${t.colors.border.normal}`),";"),nt=(0,i.Z)("div",{target:"e1pwvo0s3"})({name:"a0377c",styles:"display:flex;align-items:center;gap:0.75rem"}),rt=(0,i.Z)(u.Icon,{target:"e1pwvo0s2"})("fill:",(({theme:e})=>e.colors.primary.darker20),";"),at=(0,i.Z)("div",{target:"e1pwvo0s1"})({name:"r2g86h",styles:"display:flex;align-items:center;gap:1rem"}),lt=(0,i.Z)("div",{target:"e1pwvo0s0"})({name:"25ihgi",styles:"display:flex;justify-content:center;padding:2rem 0 1rem"});function it(e){switch(!0){case isNaN(e):return(0,E.__)("Unknown Severity","it-l10n-ithemes-security-pro");case e<3:return(0,E.__)("Low Severity","it-l10n-ithemes-security-pro");case e<7:return(0,E.__)("Medium Severity","it-l10n-ithemes-security-pro");case e<9:return(0,E.__)("High Severity","it-l10n-ithemes-security-pro");default:return(0,E.__)("Critical Severity","it-l10n-ithemes-security-pro")}}function st(e){switch(!0){case isNaN(e):return"#CECECE";case e<3:return"#B8E6BF";case e<7:return"#FFC518";case e<9:return"#FFABAF";default:return"#D63638"}}function ct({action:e,isApplying:t,onApply:n}){return(0,r.createElement)(d.zx,{isBusy:t,onClick:n,variant:"ithemes-security:fix-vulnerability"===e.rel?"primary":"secondary",text:e.title})}function ot({action:e,isApplying:t,onApply:n}){const a={title:(0,E.__)("Confirm your action","it-l10n-ithemes-security-pro"),body:(0,E.__)("Are you sure you want to do this?","it-l10n-ithemes-security-pro"),onContinue:n,continueText:e.title},[l,i]=(0,d.HW)(a);return(0,r.createElement)(React.Fragment,null,(0,r.createElement)(d.zx,{isDestructive:e.isDestructive,isBusy:t,onClick:l,text:e.title}),i)}function ut({action:e,vulnerability:t}){const{applyVulnerabilityAction:n}=(0,h.useDispatch)(_.vulnerabilitiesStore),{isApplying:a}=(0,h.useSelect)((n=>({isApplying:n(_.vulnerabilitiesStore).isApplyingAction(t,e.rel)})),[e.rel,t]),l=()=>{n(t,e.rel)};return e.isDestructive?(0,r.createElement)(ot,{action:e,isApplying:a,onApply:l}):(0,r.createElement)(ct,{action:e,isApplying:a,onApply:l})}function mt({vulnerability:e,vulnerabilityActions:t}){return["updated","auto-updated","deleted"].includes(e.resolution.slug)?null:(0,r.createElement)($e,null,(0,r.createElement)(Xe,{level:3,size:d.yH.EXTRA_LARGE,variant:d.rK.DARK,text:(0,E.__)("Solution","it-l10n-ithemes-security-pro")}),e.details.fixed_in&&(0,r.createElement)(d.xv,{variant:d.rK.DARK,weight:600,text:(0,E.sprintf)((0,E.__)("Update the %1$s %2$s to the latest available version (at least %3$s).","it-l10n-ithemes-security-pro"),e.software.label,e.software.type.slug,e.details.fixed_in)}),!e.details.fixed_in&&(0,r.createElement)(d.xv,{variant:d.rK.DARK,weight:600,text:(0,E.__)("No fix has been released for this vulnerability.","it-l10n-ithemes-security-pro")}),!t.find((({rel:e})=>"ithemes-security:fix-vulnerability"===e))&&(0,r.createElement)(Je,{as:"p",size:d.yH.SMALL,variant:d.rK.DARK,text:(0,r.createElement)(React.Fragment,null,"plugin"===e.software.type.slug&&(0,E.__)("If no update is available, you should deactivate the plugin.","it-l10n-ithemes-security-pro")+" ","theme"===e.software.type.slug&&(0,E.__)("If no update is available, you should switch themes.","it-l10n-ithemes-security-pro")+" ",t.find((({rel:e})=>"ithemes-security:mute-vulnerability"===e))&&(0,r.createInterpolateElement)((0,E.__)("Muting the issue will exclude it from future scans.
Only mute the issue after you’ve confirmed the vulnerability does not affect your site.
","it-l10n-ithemes-security-pro"),{b:(0,r.createElement)("strong",null)}))}),t.length>0&&(0,r.createElement)(et,null,t.map((t=>(0,r.createElement)(ut,{key:t.rel,action:t,vulnerability:e})))))}function dt(){var e;const{id:t}=(0,s.UO)(),{vulnerability:n,vulnerabilityActions:a}=(0,h.useSelect)((function(e){const n=e(_.vulnerabilitiesStore).getVulnerabilityById(t);return{vulnerability:n,vulnerabilityActions:e(_.vulnerabilitiesStore).getVulnerabilityActions(n)}}),[t]),l=(0,y.useViewportMatch)("small","<"),i=(0,y.useViewportMatch)("large");return(0,r.createElement)(re,null,(0,r.createElement)(le,null),(0,r.createElement)(Fe,{isSmall:l},(0,r.createElement)(v.rU,{to:"/active",component:(0,b.Sj)(d.zx),icon:f.Z,variant:"tertiary",text:(0,E.__)("Back to Vulnerabilities","it-l10n-ithemes-security-pro")}),(0,r.createElement)(Ke,{isSmall:l},(0,r.createElement)(p.U9,null),(0,r.createElement)(p.oB,null))),n&&(0,r.createElement)(React.Fragment,null,(0,r.createElement)(Te,null,(0,r.createElement)(Me,{isLarge:i},(0,r.createElement)(Be,{isSmall:l,level:2,size:l?d.yH.EXTRA_LARGE:d.yH.GIGANTIC,variant:d.rK.DARK,text:n.details.title}),(0,r.createElement)(je,{isLarge:i},(0,r.createElement)(Ge,{variant:d.rK.DARK,weight:600,text:(0,E.__)("Powered by","it-l10n-ithemes-security-pro")}),(0,r.createElement)(Ue,{isLarge:i}))),(0,r.createElement)(qe,{isLarge:i},(0,r.createElement)(We,{variant:"tertiary"},(0,r.createElement)(Ye,{color:st(n.details.score),size:d.yH.GIGANTIC,text:null!==(e=n.details.score)&&void 0!==e?e:"??"}),(0,r.createElement)(Qe,null,(0,r.createElement)(d.xv,{size:d.yH.LARGE,weight:600,text:it(n.details.score)}),(0,r.createElement)(d.xv,{variant:d.rK.MUTED,text:(0,E.__)("CVSS 3.1 score","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(We,{variant:"tertiary"},n.details.is_exploited?(0,r.createElement)(S.aF,null):(0,r.createElement)(S.eV,null),(0,r.createElement)(Qe,null,(0,r.createElement)(d.xv,{size:d.yH.LARGE,weight:600,text:n.details.is_exploited?(0,E.__)("Exploited Vulnerability","it-l10n-ithemes-security-pro"):(0,E.__)("Not Known to be Exploited","it-l10n-ithemes-security-pro")}),(0,r.createElement)("a",{href:"https://patchstack.com/database/report"},(0,E.__)("Report an attack","it-l10n-ithemes-security-pro")))),"patched"===n.resolution.slug&&(0,r.createElement)(We,{variant:"tertiary"},(0,r.createElement)(S.DI,null),(0,r.createElement)(d.xv,{size:d.yH.LARGE,weight:600,text:(0,E.__)("Patched Automatically","it-l10n-ithemes-security-pro")}))),(0,r.createElement)(mt,{vulnerability:n,vulnerabilityActions:a}),n.resolution.description&&(0,r.createElement)($e,null,(0,r.createElement)(Xe,{level:3,size:d.yH.EXTRA_LARGE,variant:d.rK.DARK,text:(0,E.__)("Status","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{variant:d.rK.DARK,text:n.resolution.description})),(0,r.createElement)($e,null,(0,r.createElement)(Xe,{level:3,size:d.yH.EXTRA_LARGE,variant:d.rK.DARK,text:(0,E.__)("Details","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{text:n.details.description}))),(0,r.createElement)(Te,null,"wordpress"!==n.software.type.slug&&(0,r.createElement)(tt,{isSmall:l},(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.MUTED,weight:d.fs.HEAVY,text:(0,E.__)("Software","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.DARK,weight:d.fs.HEAVY,text:n.software.label||n.software.slug})),(0,r.createElement)(tt,{isSmall:l},(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.MUTED,weight:d.fs.HEAVY,text:(0,E.__)("Type","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.DARK,weight:d.fs.HEAVY,text:n.software.type.label})),(0,r.createElement)(tt,{isSmall:l},(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.MUTED,weight:d.fs.HEAVY,text:(0,E.__)("Vulnerable Versions","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.DARK,weight:d.fs.HEAVY,text:n.details.affected_in})),n.details.references.filter((e=>"patchstack"!==e.slug)).map((e=>(0,r.createElement)(tt,{key:e.slug,isSmall:l},(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.MUTED,weight:d.fs.HEAVY,text:e.label}),(0,r.createElement)("a",{href:e.refs[0].link},(0,r.createElement)(at,null,(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.DARK,weight:d.fs.HEAVY,text:"CVE"===e.label?`CVE-${e.refs[0].value}`:e.refs[0].value}),(0,r.createElement)(u.Icon,{icon:Ve.Z,size:16})))))),(0,r.createElement)(tt,{isSmall:l},(0,r.createElement)(nt,null,(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.MUTED,weight:d.fs.HEAVY,text:(0,E.__)("Classification","it-l10n-ithemes-security-pro")}),(0,r.createElement)(u.Tooltip,{text:(0,E.__)("Vulnerability Type","it-l10n-ithemes-security-pro")},(0,r.createElement)("span",null,(0,r.createElement)(rt,{icon:Ce.Z})))),(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.DARK,weight:d.fs.HEAVY,text:n.details.type.label})),(0,r.createElement)(tt,{isLastRow:!0,isSmall:l},(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.MUTED,weight:d.fs.HEAVY,text:(0,E.__)("Publicly Disclosed","it-l10n-ithemes-security-pro")}),(0,r.createElement)(d.xv,{size:d.yH.LARGE,variant:d.rK.DARK,weight:d.fs.HEAVY,text:(0,L.dateI18n)("F j, Y",n.details.published_at)})),(0,r.createElement)(lt,null,(0,r.createElement)(d.zx,{href:n.details.references[0].refs[0].link,icon:ge.Z,iconPosition:"right",variant:"link",text:(0,E.__)("Vulnerability Details")})))))}const pt=(0,i.Z)(d.Tg,{target:"eogikur0"})({name:"1fttcpj",styles:"display:flex;flex-direction:column"});function vt({history:e}){return(0,r.createElement)(o.a,{theme:d.U1},(0,r.createElement)(s.F0,{history:e},(0,r.createElement)(c.Fz,{ReactRouterRoute:s.AW},(0,r.createElement)(pt,{className:"itsec-vulnerabilities",variant:d.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)(p.Qf,null),(0,r.createElement)(s.rs,null,(0,r.createElement)(s.AW,{path:"/database",component:ze}),(0,r.createElement)(s.AW,{path:"/vulnerability/:id",component:dt}),(0,r.createElement)(s.AW,{path:"/scan",component:He}),(0,r.createElement)(s.AW,{path:"/active",component:pe}),(0,r.createElement)(s.AW,{path:"/"},(0,r.createElement)(s.l_,{to:"/active"}))))))))}var gt=n(79612);n.p=window.itsecWebpackPublicPath;const ht=(0,gt.f)(document.location,{page:"itsec-vulnerabilities"});l()((()=>{const e=document.getElementById("itsec-vulnerabilities-root");(0,r.render)((0,r.createElement)(vt,{history:ht}),e)}))},65813:(e,t,n)=>{"use strict";n.d(t,{r5:()=>h,OR:()=>E,Zk:()=>x,_:()=>f,qq:()=>w,$X:()=>_,eH:()=>g,gU:()=>c,nP:()=>o,Sj:()=>p,lo:()=>d,vl:()=>i,of:()=>m});var r=n(87462),a=n(6293),l=n(9576);function i(e){return(0,l.createHigherOrderComponent)((t=>class extends a.Component{render(){return(0,a.createElement)(t,(0,r.Z)({},this.props,e))}}),"withProps")}var s=n(92819);function c(e,t,n={}){return(0,l.createHigherOrderComponent)((r=>class extends a.Component{constructor(){super(...arguments),this.debouncedPropInvoke=(0,s.debounce)(((...t)=>this.props[e](...t)),"function"==typeof t?t(this.props):t,n),this.handler=(e,...t)=>(e&&"function"==typeof e.persist&&e.persist(),this.debouncedPropInvoke(e,...t))}componentWillUnmount(){this.debouncedPropInvoke.cancel()}render(){const t={...this.props,[e]:this.handler};return(0,a.createElement)(r,t)}}),"withDebounceHandler")}function o(e,t){let n;return n=(0,s.isFunction)(t)?[{delay:e,cb:t}]:e,(0,l.createHigherOrderComponent)((e=>class extends a.Component{constructor(){super(...arguments),this.intervalIds=[]}componentDidMount(){for(const e of n)(t=>{this.intervalIds.push(setInterval((()=>t(this.props)),e.delay))})(e.cb)}componentWillUnmount(){this.intervalIds.forEach(clearInterval)}render(){return(0,a.createElement)(e,this.props)}}),"withInterval")}var u=n(4942);const m=(0,l.createHigherOrderComponent)((e=>{var t;return t=class extends a.Component{constructor(...e){super(...e),(0,u.Z)(this,"state",{width:1280}),(0,u.Z)(this,"mounted",!1),(0,u.Z)(this,"ref",null),(0,u.Z)(this,"onWindowResize",(()=>{if(!this.mounted)return;const e=(0,a.findDOMNode)(this);if(e instanceof window.HTMLElement){const t=e.offsetWidth;this.setState({width:t})}}))}componentDidMount(){this.mounted=!0,window.addEventListener("resize",this.onWindowResize),document.getElementById("collapse-button").addEventListener("click",this.onWindowResize),this.onWindowResize()}componentWillUnmount(){this.mounted=!1,window.removeEventListener("resize",this.onWindowResize),document.getElementById("collapse-button").removeEventListener("click",this.onWindowResize)}render(){const{measureBeforeMount:t,...n}=this.props;return t&&!this.mounted?(0,a.createElement)("div",{className:this.props.className,style:this.props.style}):(0,a.createElement)(e,(0,r.Z)({},n,{width:this.state.width+20}))}},(0,u.Z)(t,"defaultProps",{measureBeforeMount:!1}),t}),"withWidth"),d=(0,l.createHigherOrderComponent)((e=>class extends a.Component{constructor(){super(...arguments),(0,u.Z)(this,"state",{pressed:{shift:!1,ctrl:!1,meta:!1,alt:!1}}),(0,u.Z)(this,"mounted",!1),this.listener=this.listener.bind(this),this.onBlur=this.onBlur.bind(this)}componentDidMount(){this.mounted=!0,window.addEventListener("keydown",this.listener),window.addEventListener("keyup",this.listener),window.addEventListener("click",this.listener),window.addEventListener("blur",this.onBlur)}componentWillUnmount(){this.mounted=!1,window.removeEventListener("keydown",this.listener),window.removeEventListener("keyup",this.listener),window.removeEventListener("click",this.listener),window.removeEventListener("blur",this.onBlur)}listener(e){this.mounted&&this.setState({pressed:{shift:e.shiftKey,ctrl:e.ctrlKey,meta:e.metaKey,alt:e.altKey}})}onBlur(){this.setState({pressed:{shift:!1,ctrl:!1,meta:!1,alt:!1}})}render(){return(0,a.createElement)(e,(0,r.Z)({pressedModifierKeys:this.state.pressed},this.props))}}),"withPressedModifierKeys"),p=(0,l.createHigherOrderComponent)((e=>function({navigate:t,...n}){return(0,a.createElement)(e,(0,r.Z)({},n,{onClick:e=>{try{n.onClick&&n.onClick(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||n.target&&"_self"!==n.target||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),t())}}))}),"withNavigate"),v=new WeakMap;function g(e,t){(0,a.useLayoutEffect)((()=>{v.has(e)||(t(),v.set(e,!0))}),[])}function h(e,t=!0){const[n,r]=(0,a.useState)("idle"),[l,i]=(0,a.useState)(null),[s,c]=(0,a.useState)(null),o=(0,a.useCallback)(((...t)=>(r("pending"),c(null),e(...t).then((e=>{i(e),r("success")})).catch((e=>{c(e),i(null),r("error")})))),[e]);return(0,a.useEffect)((()=>{t&&o()}),[o,t]),{execute:o,status:n,value:l,error:s}}function E(e,t,n=window){const r=(0,a.useRef)();(0,a.useEffect)((()=>{r.current=t}),[t]),(0,a.useEffect)((()=>{if(!n||!n.addEventListener)return;const t=e=>r.current(e);return n.addEventListener(e,t),()=>n.removeEventListener(e,t)}),[e,n])}const y=["button","submit"];function x(e){const t=(0,a.useRef)(e);(0,a.useEffect)((()=>{t.current=e}),[e]);const n=(0,a.useRef)(!1),r=(0,a.useRef)(),l=(0,a.useCallback)((()=>{clearTimeout(r.current)}),[]);(0,a.useEffect)((()=>()=>l()),[]),(0,a.useEffect)((()=>{e||l()}),[e,l]);const i=(0,a.useCallback)((e=>{const{type:t,target:r}=e;(0,s.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,s.includes)(y,e.type)}return!1}(r)&&(n.current=!0)}),[]),c=(0,a.useCallback)((e=>{e.persist(),n.current||(r.current=setTimeout((()=>{document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:l,onMouseDown:i,onMouseUp:i,onTouchStart:i,onTouchEnd:i,onBlur:c}}function f(e,t){const[n,r]=(0,a.useState)((()=>{try{const n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return console.error(e),t}}));return[n,t=>{try{const a=t instanceof Function?t(n):t;r(a),window.localStorage.setItem(e,JSON.stringify(a))}catch(e){console.error(e)}}]}function w(e){const t=(0,a.useRef)(null),n=(0,a.useRef)(!1),r=(0,a.useRef)(e),l=(0,a.useRef)(e);return l.current=e,(0,a.useLayoutEffect)((()=>{e.forEach(((e,a)=>{const l=r.current[a];"function"==typeof e&&e!==l&&!1===n.current&&(l(null),e(t.current))})),r.current=e}),e),(0,a.useLayoutEffect)((()=>{n.current=!1})),(0,a.useCallback)((e=>{t.current=e,n.current=!0,(e?l.current:r.current).forEach((t=>{"function"==typeof t?t(e):t&&t.hasOwnProperty("current")&&(t.current=e)}))}),[])}function _(e=[]){const[t,n]=(0,a.useState)(e);return[t,(0,a.useCallback)((e=>n((t=>[...t,e]))),[]),(0,a.useCallback)((e=>n((t=>t.filter((t=>t!==e))))),[]),n]}n(48015),n(31600)},63708:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"}))},36713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M4 20h8v-1.5H4V20zM18.9 3.5c-.6-.6-1.5-.6-2.1 0l-7.2 7.2c-.4-.1-.7 0-1.1.1-.5.2-1.5.7-1.9 2.2-.4 1.7-.8 2.2-1.1 2.7-.1.1-.2.3-.3.4l-.6 1.1H6c2 0 3.4-.4 4.7-1.4.8-.6 1.2-1.4 1.3-2.3 0-.3 0-.5-.1-.7L19 5.7c.5-.6.5-1.6-.1-2.2zM9.7 14.7c-.7.5-1.5.8-2.4 1 .2-.5.5-1.2.8-2.3.2-.6.4-1 .8-1.1.5-.1 1 .1 1.3.3.2.2.3.5.2.8 0 .3-.1.9-.7 1.3z"}))},16282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"}))},62462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"}))},27231:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"}))},26755:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))},65430:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z"}))},71941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}))},89522:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(a.Path,{d:"M14.5 13.8c-1.1 0-2.1.7-2.4 1.8H4V17h8.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20v-1.5h-3.1c-.3-1-1.3-1.7-2.4-1.7zM11.9 7c-.3-1-1.3-1.8-2.4-1.8S7.4 6 7.1 7H4v1.5h3.1c.3 1 1.3 1.8 2.4 1.8s2.1-.7 2.4-1.8H20V7h-8.1z"}))},87329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"}))},48562:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(6293),a=n(14776);const l=(0,r.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(a.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"}))},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},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}()},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,3627,3828,976,1511,567],(()=>(78406,e(e.s=78406))));var t=e.O();((window.itsec=window.itsec||{}).pages=window.itsec.pages||{}).vulnerabilities=t}]);