File "firewall.js"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/better-wp-security/dist/promos/firewall.js
File size: 7.94 KB
MIME-type: text/plain
Charset: utf-8
(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[1969],{77965:(e,t,r)=>{"use strict";r.r(t);var a=r(6293),i=r(3571),n=r(95122),o=r(48015),s=r(27231),l=r(26755),c=r(64893),p=r(71930),u=r(81324),m=r(31600),h=r(65813),d=r(60976),w=r(52117);const g=(0,w.Z)("div",{target:"el8q4i26"})({name:"tff7fe",styles:"max-width:280px;display:flex;flex-direction:column;flex-wrap:wrap;align-content:center;justify-content:space-around;align-items:flex-end;gap:1rem;margin-bottom:-3rem"}),x=(0,w.Z)(p.Tg,{target:"el8q4i25"})("position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:0.5rem;padding:1.25rem 0.75rem;border-radius:2px;border-left:4px solid ",(({theme:e})=>e.colors.primary.base),";@media screen and (min-width: ",(({theme:e})=>e.breaks.medium),"px){flex-direction:row;gap:2rem;align-items:center;}"),f=(0,w.Z)("div",{target:"el8q4i24"})({name:"p5tmle",styles:"display:flex;flex-direction:column;gap:0.5rem"}),b=(0,w.Z)(d.P_,{target:"el8q4i23"})("width:150px;height:1.25rem;@media screen and (min-width: ",(({theme:e})=>e.breaks.medium),"px){width:115px;height:1rem;}"),v=(0,w.Z)(p.zx,{target:"el8q4i22"})("background:",(({theme:e})=>e.colors.surface.dark),"!important;color:",(({theme:e})=>e.colors.text.white),"!important;box-shadow:inset 0 0 0 1px transparent!important;padding:0.5rem 0.75rem;border-radius:20px;@media screen and (min-width: ",(({theme:e})=>e.breaks.medium),"px){width:100%;max-width:200px;}"),y=(0,w.Z)(p.zx,{target:"el8q4i21"})("position:absolute;top:0;right:0;box-shadow:none!important;color:",(({theme:e})=>e.colors.text.normal),"!important;&:hover,&:active,&:focus{color:",(({theme:e})=>e.colors.text.accent),"!important;}"),P=(0,w.Z)(p.Tg,{target:"el8q4i20"})({name:"136gbb5",styles:"padding:1.25rem 1.5rem;border-radius:2px"});function E(){const{installType:e,hasPatchstack:t,isLiquidWeb:r}=(0,o.useSelect)((e=>({installType:e(m.coreStore).getInstallType(),hasPatchstack:e(m.coreStore).hasPatchstack(),isLiquidWeb:e(m.coreStore).isLiquidWebCustomer()})),[]);return(0,a.createElement)(React.Fragment,null,!t&&!r&&(0,a.createElement)(u.FirewallBannerFill,null,(0,a.createElement)(k,{installType:e})),"free"===e&&(0,a.createElement)(u.AsideHeaderFill,null,"free"===e&&(0,a.createElement)(g,null,(0,a.createElement)(p.zx,{iconPosition:"right",text:(0,n.__)("Upgrade","better-wp-security"),variant:"secondary",href:"https://go.solidwp.com/upgrade-virtual-patching",target:"_blank"}),(0,a.createElement)(p.xv,{text:(0,a.createInterpolateElement)((0,n.__)("Upgrade to enable automatic protection with <strong>virtual patches</strong>.","better-wp-security"),{strong:(0,a.createElement)("strong",null)}),variant:p.rK.MUTED}))),("free"===e||!t&&!r)&&(0,a.createElement)(u.BeforeCreateFirewallRuleFill,null,(0,a.createElement)(_,{installType:e})))}function k({installType:e}){const[t,r]=(0,h._)("patchstackPromo");return t?null:(0,a.createElement)(x,null,(0,a.createElement)(f,null,(0,a.createElement)(b,null),(0,a.createElement)(p.xv,{text:"free"===e?(0,n.__)("Rest easy at night. Upgrade to Solid Security Pro with Patchstack and reduce your WordPress website’s risk to nearly zero thanks to Patchstack’s automated Virtual Patching. Vulnerabilities are patched when your attention is elsewhere and even when a patch hasn’t been released. Go Pro.","better-wp-security"):(0,a.createInterpolateElement)((0,n.__)("Thank you for being an iThemes Security Pro customer. You recently upgraded to Solid Security Pro and we hope you’re enjoying all the great <a>new features</a>. For even more protection, we suggest enabling Patchstack. This automatically patches vulnerabilities when your attention is elsewhere or before a patch is even released. Purchase an additional license per site.","better-wp-security"),{a:(0,a.createElement)("a",{href:"https://go.solidwp.com/all-the-great-new-features"})}),variant:p.rK.MUTED})),(0,a.createElement)(y,{label:(0,n.__)("Dismiss","better-wp-security"),icon:s.Z,onClick:()=>r(!0)}),(0,a.createElement)(v,{text:"free"===e?(0,n.__)("Upgrade Now","better-wp-security"):(0,n.__)("Enable Patchstack","better-wp-security"),icon:l.Z,iconPosition:"right",href:"free"===e?"https://go.solidwp.com/patchstack-banner-upgrade-now":"https://go.solidwp.com/enable-patchstack"}))}function _({installType:e}){return(0,a.createElement)(P,{as:"aside"},(0,a.createElement)(c.Flex,{direction:"column",gap:3,expanded:!1,align:"start"},(0,a.createElement)(d.P_,{height:12}),(0,a.createElement)(c.Flex,{direction:"column",gap:2,expanded:!1},(0,a.createElement)(p.X6,{level:3,size:p.yH.LARGE,weight:p.fs.HEAVY,variant:p.rK.DARK,text:(0,n.__)("Confused by Firewall Rules? Automate it!","better-wp-security")}),(0,a.createElement)(p.xv,{variant:p.rK.MUTED,text:"free"===e?(0,n.__)("We know creating Firewall Rules can be complex, but thanks to our Patchstack integration, Solid Security Pro automatically patches your website vulnerabilities with no action required. Upgrade to Pro with a Patchstack license to be protected while you sleep!","better-wp-security"):(0,n.__)("We know creating custom Firewall Rules can be complex, but thanks to our Patchstack integration, Solid Security automatically patches your website vulnerabilities with no action required. Upgrade to a Patchstack license and be protected while you sleep!","better-wp-security")})),(0,a.createElement)(p.zx,{variant:"primary",text:"free"===e?(0,n.__)("Get Solid Security Pro + Patchstack","better-wp-security"):(0,n.__)("Upgrade to a Patchstack License","better-wp-security"),icon:l.Z,iconPosition:"right",iconGap:0,href:"free"===e?"https://go.solidwp.com/patchstack-banner-upgrade-now":"https://go.solidwp.com/enable-patchstack"})))}r.p=window.itsecWebpackPublicPath,(0,n.setLocaleData)({"":{}},"ithemes-security-pro"),(0,i.registerPlugin)("itsec-promos-firewall",{render:()=>(0,a.createElement)(E,null)})},27231:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6293),i=r(14776);const n=(0,a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(i.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,r)=>{"use strict";r.d(t,{Z:()=>n});var a=r(6293),i=r(14776);const n=(0,a.createElement)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(i.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"}))},31600:e=>{e.exports=function(){return this.itsec.packages.data}()},81324:e=>{e.exports=function(){return this.itsec.pages.firewall}()},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}()},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},92819:e=>{"use strict";e.exports=window.lodash},4942:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(49142);function i(e,t,r){return(t=(0,a.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},49142:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var a=r(71002);function i(e){var t=function(e,t){if("object"!==(0,a.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,"string");if("object"!==(0,a.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,a.Z)(t)?t:String(t)}}},e=>{e.O(0,[1930,976,5813],(()=>(77965,e(e.s=77965))));var t=e.O();((window.itsec=window.itsec||{}).promos=window.itsec.promos||{}).firewall=t}]);