HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
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_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpskycap/wp-content/plugins/defender-security/assets/app/waf.js
"use strict";(self.webpackChunkwp_defender=self.webpackChunkwp_defender||[]).push([[522],{682:(e,t,n)=>{n.d(t,{X:()=>o,m:()=>i});var r=n(9726),a=(0,r.KR)(defender.misc.high_contrast||!1),i=function(e){a.value=e},o=function(){var e=(0,r.KR)(1===parseInt(defender.is_free)),t=(0,r.KR)(defender.tracking_modal),n=(0,r.KR)(defender.is_whitelabel),i=(0,r.KR)(defender.misc||{}),o=(0,r.KR)(defender.whitelabel||{}),u=(0,r.KR)(defender.upgrade_title||""),s=(0,r.KR)(defender.is_membership||!1),l=(0,r.KR)(defender.wpmudev_support_ticket_text||""),c=(0,r.KR)(defender.hosted||!1),d=(0,r.EW)(function(){return"show"===t.value}),f=(0,r.EW)(function(){return"disabled"===n.value}),p=(0,r.EW)(function(){return"enabled"===n.value}),v=(0,r.EW)(function(){return!0===a.value});return{is_free:e,tracking_modal:t,is_whitelabel:n,is_membership:s,misc:i,whitelabel:o,upgradeTitle:u,support_text:l,hosted:c,showTrackingModal:d,isWhitelabelDisabled:f,isWhitelabelEnabled:p,showSupportLinks:function(){return f.value&&!e.value},hasFeature:function(t){if(!e.value)return!0;return["security_tweaks","firewall","scan_free","audit_free","two_fa_free"].includes(t)},maybeHighContrast:function(){return{"sui-color-accessible":v.value}},isHighContrast:function(){return v.value}}}},1289:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(9726),a=n(7476),i=n(6965),o={class:"sui-loading-text"},u={class:"sui-button-text-default"},s={class:"sui-button-text-onload"};const l={__name:"sui-button",props:{id:{type:String,default:""},label:{type:String,default:""},type:{type:String,default:"button"},variant:{type:String,default:"auto"},icon:{type:String,default:""},action:{type:String,default:""},disabled:{type:Boolean,default:!1},loadingText:{type:String,default:""},customClass:{type:String,default:""},onlyIcon:{type:[Boolean,String],default:!1},href:{type:String,default:""}},emits:["click"],setup:function(e){var t=(0,a.r)(),n=(0,i.S)().stringToId,l=e,c=(0,r.EW)(function(){return l.icon||(l.action.includes("save")?"sui-icon-save":"")}),d=(0,r.EW)(function(){return"auto"===l.variant?"submit"===l.type?"sui-button-blue":"sui-button-ghost":{blue:"sui-button-blue",ghost:"sui-button-ghost",red:"sui-button-red",gray:"",purple:"sui-button-purple"}[l.variant]}),f=(0,r.EW)(function(){return l.action&&t.isLoading(l.action)}),p=(0,r.EW)(function(){var e=[l.onlyIcon?"sui-button-icon":"sui-button",d.value];return f.value&&e.push(l.loadingText?"sui-button-onload-text":"sui-button-onload"),l.customClass&&e.push(l.customClass),e}),v=(0,r.EW)(function(){return l.id?l.id:l.action?n(l.action):n(l.label)});return function(t,n){return(0,r.uX)(),(0,r.Wv)((0,r.$y)(e.href?"a":"button"),(0,r.v6)({id:v.value,type:e.href?void 0:e.type,href:e.href,class:p.value,disabled:e.href?void 0:f.value||e.disabled,"aria-live":e.loadingText?"polite":void 0,onClick:n[0]||(n[0]=function(e){return t.$emit("click")})},t.$attrs),{default:(0,r.k6)(function(){return[e.loadingText?((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.Lk)("span",u,[c.value?((0,r.uX)(),(0,r.CE)("span",{key:0,class:(0,r.C4)(c.value),"aria-hidden":"true"},null,2)):(0,r.Q3)("",!0),(0,r.eW)(" "+(0,r.v_)(e.label)+" ",1),(0,r.RG)(t.$slots,"default")]),(0,r.Lk)("span",s,[n[2]||(n[2]=(0,r.Lk)("span",{class:"sui-icon-loader sui-loading","aria-hidden":"true"},null,-1)),(0,r.eW)(" "+(0,r.v_)(e.loadingText),1)])],64)):((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[(0,r.Lk)("span",o,[c.value?((0,r.uX)(),(0,r.CE)("span",{key:0,class:(0,r.C4)(c.value),"aria-hidden":"true"},null,2)):(0,r.Q3)("",!0),(0,r.eW)(" "+(0,r.v_)(e.label)+" ",1),(0,r.RG)(t.$slots,"default")]),n[1]||(n[1]=(0,r.Lk)("span",{class:"sui-icon-loader sui-loading","aria-hidden":"true"},null,-1))],64))]}),_:3},16,["id","type","href","class","disabled","aria-live"])}}}},1669:e=>{e.exports=jQuery},1751:(e,t,n)=>{n.d(t,{q:()=>b});var r=n(4335),a=n(3279),i=n(2720),o=n(7786),u=n(8261);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function i(n,r,a,i){var s=r&&r.prototype instanceof u?r:u,l=Object.create(s.prototype);return c(l,"_invoke",function(n,r,a){var i,u,s,l=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,s=e,f.n=n,o}};function p(n,r){for(u=n,s=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,i=c[t],p=f.p,v=i[2];n>3?(a=v===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((a=n<2&&p<i[1])?(u=0,f.v=r,f.n=i[1]):p<v&&(a=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,u=0))}if(a||n>1)return o;throw d=!0,r}return function(a,c,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),u=c,s=v;(t=u<2?e:s)||!d;){i||(u?u<3?(u>1&&(f.n=-1),p(u,s)):f.n=s:f.v=s);try{if(l=2,i){if(u||(a="next"),t=i[a]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),u=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){i=e,u=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,a,i),!0),l}var o={};function u(){}function s(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(c(t={},r,function(){return this}),t),p=d.prototype=u.prototype=Object.create(f);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=d,c(p,"constructor",d),c(d,"constructor",s),s.displayName="GeneratorFunction",c(d,a,"GeneratorFunction"),c(p),c(p,a,"Generator"),c(p,r,function(){return this}),c(p,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m:v}})()}function c(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}c=function(e,t,n,r){function i(t,n){c(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},c(e,t,n,r)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){p(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t,n,r,a,i,o){try{var u=e[i](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}function m(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){v(i,r,a,o,u,"next",e)}function u(e){v(i,r,a,o,u,"throw",e)}o(void 0)})}}function b(){var e=(0,u.m)().rebindSUI,t=r.A.create({baseURL:"".concat(ajaxurl,"?action=wp_defender/v1/hub/"),timeout:3e4,transitional:{clarifyTimeoutError:!0},withCredentials:!1});function n(e,t){return"&route=".concat(encodeURIComponent(e),"&_def_nonce=").concat(encodeURIComponent(t))}function s(e,t,n,r){return c.apply(this,arguments)}function c(){return c=m(l().m(function r(o,u,s,c){var p,v,m,b,h,y,g,k,_,w,C,S,E,L,x,R,j,T,O,W=arguments;return l().w(function(r){for(;;)switch(r.n){case 0:return y=W.length>4&&void 0!==W[4]?W[4]:{},g=new FormData,c instanceof File&&"application/json"===c.type?g.append("file",c):(k=JSON.stringify(c),g.append("data",k)),_=n(u,s),r.n=1,(0,a.q)(_,f({method:o,data:g},y),t);case 1:if(w=r.v,C=w.data,!w.error.value){r.n=2;break}return r.a(2,null);case 2:return S=C.value,E=S.success,L=(null===(p=S.data)||void 0===p?void 0:p.message)||null,x=(null===(v=S.data)||void 0===v?void 0:v.redirect)||null,R=(null===(m=S.data)||void 0===m?void 0:m.interval)||null,j=(null===(b=S.data)||void 0===b?void 0:b.type_notice)||!1,(void 0===(null===(h=S.data)||void 0===h?void 0:h.auto_close)||S.data.auto_close)&&null!==L&&(O=!0===(null===(T=S.data)||void 0===T?void 0:T.auto_close),Defender.showNotification(E?j||"success":"error",L,O)),"session_out"===j&&null===x&&d(),null!==R?(0,i.TO)(function(){null!==x?location.href=x:location.reload()},1e3*R):null!==x&&(location.href=x),e(),r.a(2,S.data)}},r)})),c.apply(this,arguments)}function d(){(0,i.TO)(function(){(0,o.MLh)(document,"heartbeat-tick",function(){jQuery(document).trigger("heartbeat-tick.wp-auth-check",[{"wp-auth-check":!1}])}),(0,o.MLh)(window,"load",function(){var e=document.getElementById("wp-auth-check-frame");if(e){var t,n=null===(t=e.contentDocument)||void 0===t?void 0:t.getElementById("loginform");n&&n.addEventListener("submit",function(){(0,i.TO)(function(){location.reload()},1e3)})}})},2e3)}var p=function(){var e=m(l().m(function e(t,n){var r,i,o,u,s,c,d,p,v,m,b,h,y=arguments;return l().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=y.length>2&&void 0!==y[2]?y[2]:{},i=y.length>3&&void 0!==y[3]?y[3]:{},e.p=1,o="".concat(window.ajaxurl,"?action=").concat(t,"&_def_nonce=").concat(n),e.n=2,(0,a.q)(f({url:o,method:"POST",data:r},i));case 2:if(u=e.v,!(s=u.data).value){e.n=4;break}if(!(c=s.value).success){e.n=3;break}return e.a(2,c.data||c);case 3:throw null!==(d=c.data)&&void 0!==d&&d.message&&null!==(p=window.Defender)&&void 0!==p&&p.showNotification&&window.Defender.showNotification("error",c.data.message),new Error((null===(v=c.data)||void 0===v?void 0:v.message)||"Request failed");case 4:throw new Error("No response received");case 5:throw e.p=5,h=e.v,403===(null===(m=h.response)||void 0===m?void 0:m.status)&&(null!==(b=window.Defender)&&void 0!==b&&b.showNotification&&window.Defender.showNotification("error","Session expired. Please refresh the page."),setTimeout(function(){return window.location.reload()},2e3)),h;case 6:return e.a(2)}},e,null,[[1,5]])}));return function(t,n){return e.apply(this,arguments)}}();return{ajax:p,post:function(e,t,n){return s("post",e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})},get:function(e,t,n){return s("get",e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})}}}},2366:(e,t,n)=>{n.d(t,{A:()=>Se});var r=n(9726),a=n(682),i=n(5945),o=n(5592),u=n(1751),s=n(9919);function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function i(n,r,a,i){var s=r&&r.prototype instanceof u?r:u,l=Object.create(s.prototype);return c(l,"_invoke",function(n,r,a){var i,u,s,l=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,s=e,f.n=n,o}};function p(n,r){for(u=n,s=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,i=c[t],p=f.p,v=i[2];n>3?(a=v===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((a=n<2&&p<i[1])?(u=0,f.v=r,f.n=i[1]):p<v&&(a=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,u=0))}if(a||n>1)return o;throw d=!0,r}return function(a,c,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),u=c,s=v;(t=u<2?e:s)||!d;){i||(u?u<3?(u>1&&(f.n=-1),p(u,s)):f.n=s:f.v=s);try{if(l=2,i){if(u||(a="next"),t=i[a]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),u=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){i=e,u=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,a,i),!0),l}var o={};function u(){}function s(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(c(t={},r,function(){return this}),t),p=d.prototype=u.prototype=Object.create(f);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,c(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=d,c(p,"constructor",d),c(d,"constructor",s),s.displayName="GeneratorFunction",c(d,a,"GeneratorFunction"),c(p),c(p,a,"Generator"),c(p,r,function(){return this}),c(p,"toString",function(){return"[object Generator]"}),(l=function(){return{w:i,m:v}})()}function c(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}c=function(e,t,n,r){function i(t,n){c(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},c(e,t,n,r)}function d(e,t,n,r,a,i,o){try{var u=e[i](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}function f(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){d(i,r,a,o,u,"next",e)}function u(e){d(i,r,a,o,u,"throw",e)}o(void 0)})}}var p={key:0,class:"defender-rate-notice sui-notice sui-notice-info"},v={class:"sui-notice-content"},m={class:"sui-notice-message"},b={class:"sui-notice-actions"},h={class:"sui-screen-reader-text"};const y={__name:"rate-notice",props:{message:String,type:String},setup:function(e){var t=(0,o.B)().__,n=(0,u.q)(),a=(0,r.WQ)("store"),i=(0,r.KR)(!0),c=(0,r.EW)(function(){return a.misc.rating_is_displayed}),d=(0,r.EW)(function(){return a.misc.rating_text}),y=(0,r.EW)(function(){return a.misc.rating_type}),g=(0,r.EW)(function(){return a.routes}),k=(0,r.EW)(function(){return a.nonces}),_=function(){var e=f(l().m(function e(){return l().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,n.post(g.value.handle_notice,k.value.handle_notice,{});case 1:i.value=!1,window.open("https://wordpress.org/support/plugin/defender-security/reviews/#new-post","_blank");case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),w=function(){var e=f(l().m(function e(){var t,r,a;return l().w(function(e){for(;;)switch(e.n){case 0:return t="tweak"===y.value,r=t?g.value.refuse_notice:g.value.postpone_notice,a=t?k.value.refuse_notice:k.value.postpone_notice,e.n=1,n.post(r,a,{});case 1:i.value=!1;case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),C=function(){var e=f(l().m(function e(){return l().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,n.post(g.value.refuse_notice,k.value.refuse_notice,{});case 1:i.value=!1;case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return function(e,n){return c.value&&i.value?((0,r.uX)(),(0,r.CE)("div",p,[(0,r.Lk)("div",v,[(0,r.Lk)("div",m,[(0,r.Lk)("p",null,(0,r.v_)(d.value),1),(0,r.bF)((0,r.R1)(s.A),{id:"rate-defender","css-class":"sui-button-blue",onClick:_},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)((0,r.R1)(t)("Rate Defender")),1)]}),_:1}),(0,r.bF)((0,r.R1)(s.A),{id:"postpone-notice",onClick:w,"css-class":"sui-button-ghost dismiss"},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)((0,r.R1)(t)("Maybe later")),1)]}),_:1}),(0,r.Lk)("a",{href:"#",id:"refuse-notice",onClick:(0,r.D$)(C,["prevent"]),class:"refuse"},(0,r.v_)((0,r.R1)(t)("No thanks")),1)]),(0,r.Lk)("div",b,[(0,r.Lk)("button",{id:"close-notice",class:"sui-button-icon",onClick:C},[n[0]||(n[0]=(0,r.Lk)("span",{class:"sui-icon-cross-close","aria-hidden":"true"},null,-1)),(0,r.Lk)("span",h,(0,r.v_)((0,r.R1)(t)("Close this notice")),1)])])])])):(0,r.Q3)("",!0)}}};var g={key:0,class:"sui-notice sui-notice-info"},k={class:"sui-notice-content"},_={class:"sui-notice-message"},w={class:"m-0"},C=["innerHTML"];const S={__name:"opcache-notice",setup:function(e){var t=(0,o.B)().__,n=(0,r.KR)(defender.opcache_save_comments),a=(0,r.KR)(defender.opcache_message);return function(e,i){return"disabled"===n.value?((0,r.uX)(),(0,r.CE)("div",g,[(0,r.Lk)("div",k,[(0,r.Lk)("div",_,[(0,r.Lk)("h3",w,(0,r.v_)((0,r.R1)(t)("Enable OPcache Save Comments")),1),(0,r.Lk)("p",{innerHTML:a.value},null,8,C)])])])):(0,r.Q3)("",!0)}}};var E=n(6874),L=n(4073),x=n(5067),R={class:"sui-row-with-sidenav"},j={role:"navigation",class:"sui-sidenav"},T={class:"sui-vertical-tabs sui-sidenav-hide-md"},O=["id"],W=["id","data-tab","onClick"],X={key:0,class:"wd-new-feature-dot"},A={key:1,class:"sui-tag sui-tag-pro right-10px top-10px"},I={class:"sui-sidenav-hide-lg"},P=["id"];const F={__name:"side-menu",props:{tabs:{type:Array,required:!0},defaultTab:{type:String,default:null},boxed:{type:Boolean,default:!1}},setup:function(e){var t,n=(0,L.I)().adminUrl,a=(0,o.B)().__,i=e,u=(0,r.KR)(i.defaultTab||(null===(t=i.tabs[0])||void 0===t?void 0:t.id));(0,r.wB)(u,function(){var e=n("admin.php?page="+s()+"&view="+u.value),t=window.location.hash;void 0!==t&&(e+=t),history.replaceState({},null,e)});var s=function(){return new URLSearchParams(window.location.search).get("page")};return(0,r.sV)(function(){var e=new URLSearchParams(window.location.search).get("view");e&&i.tabs.some(function(t){return t.id===e})?u.value=e:!i.defaultTab&&i.tabs.length>0&&(u.value=i.tabs[0].id)}),function(t,i){return(0,r.uX)(),(0,r.CE)("section",R,[(0,r.Lk)("div",j,[(0,r.Lk)("ul",T,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.tabs,function(e){return(0,r.uX)(),(0,r.CE)("li",{key:e.id,class:(0,r.C4)(["sui-vertical-tab",{current:u.value===e.id,"heading pl-5px":e.heading}]),id:"tab-".concat(e.id)},[e.heading?((0,r.uX)(),(0,r.CE)(r.FK,{key:0},[(0,r.eW)((0,r.v_)(e.heading),1)],64)):((0,r.uX)(),(0,r.CE)("a",{key:1,id:"tab-link-".concat(e.id),href:"#",role:"button","data-tab":e.id,onClick:(0,r.D$)(function(t){return r=e.id,u.value=r,void history.replaceState({},null,n("admin.php?page="+s()+"&view="+r));var r},["prevent"])},[(0,r.eW)((0,r.v_)(e.label)+" ",1),e.showDot?((0,r.uX)(),(0,r.CE)("span",X)):e.showPro?((0,r.uX)(),(0,r.CE)("span",A,(0,r.v_)((0,r.R1)(a)("Pro")),1)):e.badge?((0,r.uX)(),(0,r.CE)("span",{key:2,class:(0,r.C4)(["sui-tag",[e.badgeColor,{"sui-tag-grey":u.value===e.id}]])},(0,r.v_)(e.badge),3)):e.icon?((0,r.uX)(),(0,r.CE)("span",{key:3,class:(0,r.C4)(e.icon),"aria-hidden":"true"},null,2)):(0,r.Q3)("",!0)],8,W))],10,O)}),128))]),(0,r.Lk)("div",I,[(0,r.bF)(x.A,{"has-field":!1,class:"margin-bottom-30",modelValue:u.value,"onUpdate:modelValue":i[0]||(i[0]=function(e){return u.value=e}),options:e.tabs.map(function(e){return{label:e.label,value:e.id}})},null,8,["modelValue","options"])])]),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.tabs,function(n){return(0,r.uX)(),(0,r.CE)("div",{key:n.id,class:(0,r.C4)({"sui-box":e.boxed}),style:(0,r.Tr)({display:u.value===n.id?"block":"none"}),id:"".concat(n.id,"-content")},[n.heading?(0,r.Q3)("",!0):(0,r.RG)(t.$slots,n.id,{key:0,tab:n},function(){return[(0,r.Lk)("p",null,"Content for "+(0,r.v_)(n.label),1)]})],14,P)}),128))])}}};var U=n(5072),M=n.n(U),K=n(7565),G={insert:"head",singleton:!1};M()(K.A,G);K.A.locals;const Q=(0,n(6262).A)(F,[["__scopeId","data-v-0cbd3b8a"]]);var B=n(9806),H=n(6965),D={class:"sui-list-detail flex items-center"},$=["id","href"];const V={__name:"unlock-pro",props:{feature:{type:String,required:!0},campaignUrl:{type:String,required:!0}},setup:function(e){var t=(0,o.B)().__;return function(n,a){return(0,r.uX)(),(0,r.CE)("span",D,[(0,r.Lk)("a",{id:"unlock-pro-".concat((0,r.R1)(H.S)().stringToId(e.feature)),href:e.campaignUrl,target:"_blank",class:"defender-upgrade-text"},(0,r.v_)((0,r.R1)(t)("Unlock with Pro")),9,$),a[0]||(a[0]=(0,r.Lk)("svg",{width:"36",height:"26",viewBox:"0 0 36 26",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,r.Lk)("rect",{x:"0.5",y:"0.5",width:"35",height:"25",rx:"12.5",fill:"#F9E1FF"}),(0,r.Lk)("rect",{x:"0.5",y:"0.5",width:"35",height:"25",rx:"12.5",stroke:"#8D00B1"}),(0,r.Lk)("path",{d:"M14.6133 12V10.8047C14.6289 10.3438 14.7305 9.91406 14.918 9.51562C15.1055 9.10938 15.3516 8.75781 15.6562 8.46094C15.9609 8.16406 16.3125 7.92969 16.7109 7.75781C17.1172 7.58594 17.5469 7.5 18 7.5C18.4609 7.5 18.8906 7.58594 19.2891 7.75781C19.6953 7.92969 20.0508 8.16406 20.3555 8.46094C20.6602 8.75781 20.9062 9.10938 21.0938 9.51562C21.2734 9.91406 21.375 10.3438 21.3984 10.8047V12H21.75C21.9609 12 22.1367 12.0742 22.2773 12.2227C22.4258 12.3633 22.5 12.5391 22.5 12.75V17.25C22.5 17.4609 22.4258 17.6406 22.2773 17.7891C22.1367 17.9297 21.9609 18 21.75 18H14.25C14.0391 18 13.8594 17.9297 13.7109 17.7891C13.5703 17.6406 13.5 17.4609 13.5 17.25V12.75C13.5 12.5391 13.5703 12.3633 13.7109 12.2227C13.8594 12.0742 14.0391 12 14.25 12H14.6133ZM16.5234 12H19.4766V10.8047C19.4766 10.3906 19.332 10.0391 19.043 9.75C18.7539 9.45312 18.4062 9.30469 18 9.30469C17.5938 9.30469 17.2461 9.45312 16.957 9.75C16.668 10.0391 16.5234 10.3906 16.5234 10.8047V12Z",fill:"#8D00B1"})],-1))])}}};var q=n(1289);function N(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Y=["id"],Z={class:"sui-summary-segment"},J=["id"],ee={class:"sui-summary-large"},te=["data-tooltip"],ne={key:1,class:"sui-summary-percent"},re={class:"sui-summary-sub"},ae={key:2,class:"sui-summary-detail"},ie={key:3,class:"sui-summary-sub"},oe={key:0,class:"sui-summary-segment"},ue={class:"sui-list"},se=["id"],le={class:"sui-list-label"},ce=["data-tooltip"],de={class:"sui-list-detail"},fe=["id","href"],pe={key:0,class:"sui-tag sui-tag-brown"},ve={key:2,"aria-hidden":"true",class:"sui-icon-check-tick sui-success"},me={key:0,"aria-hidden":"true",class:"sui-icon-check-tick sui-success"},be={key:1,class:"sui-tag sui-tag-brown"},he={key:1,class:"sui-summary-segment"};const ye={__name:"sui-summary",props:{feature:{type:String,default:""},summary:{type:Object,default:function(){return{}}},small:{type:Boolean,default:!1},title:{type:String,default:""},customContent:{type:Boolean,default:!1}},emits:["action"],setup:function(e,t){var n=t.emit,a=e,i=n,u=(0,B.p)(),s=u.maybeHideBranding,l=u.whitelabelHeroImage,c=u.backgroundImageStyle,d=(0,o.B)().__,f=(0,r.EW)(function(){return a.feature?a.feature+"-summary":a.title?(0,H.S)().stringToId(a.title):(0,H.S)().generateId("summary")});return function(t,n){return(0,r.uX)(),(0,r.CE)("div",{class:(0,r.C4)(["sui-box sui-summary",{"sui-summary-sm":e.small,"sui-rebranded":(0,r.R1)(s)&&(0,r.R1)(l),"sui-unbranded":(0,r.R1)(s)&&!(0,r.R1)(l)}]),id:f.value},[(0,r.Lk)("div",{class:"sui-summary-image-space","aria-hidden":"true",style:(0,r.Tr)((0,r.R1)(c))},null,4),(0,r.Lk)("div",Z,[(0,r.Lk)("div",{class:"sui-summary-details",id:e.summary.mainId||(0,r.R1)(H.S)().stringToId(e.summary.mainLabel)},[e.customContent?(0,r.RG)(t.$slots,"custom-content",{key:0}):((0,r.uX)(),(0,r.CE)(r.FK,{key:1},[(0,r.Lk)("span",ee,(0,r.v_)(e.summary.mainValue),1),e.summary.tooltip?((0,r.uX)(),(0,r.CE)("span",{key:0,"data-tooltip":e.summary.tooltip,class:"sui-tooltip sui-tooltip-top-center sui-tooltip-constrained"},[n[0]||(n[0]=(0,r.eW)("  ",-1)),e.summary.icon?((0,r.uX)(),(0,r.CE)("span",{key:0,class:(0,r.C4)([e.summary.icon,e.summary.iconColor]),"aria-hidden":"true"},null,2)):(0,r.Q3)("",!0)],8,te)):(0,r.Q3)("",!0),e.summary.maxValue?((0,r.uX)(),(0,r.CE)("span",ne,"/"+(0,r.v_)(e.summary.maxValue),1)):(0,r.Q3)("",!0),(0,r.Lk)("span",re,(0,r.v_)(e.summary.mainLabel),1),e.summary.subValue?((0,r.uX)(),(0,r.CE)("span",ae,(0,r.v_)(e.summary.subValue),1)):(0,r.Q3)("",!0),e.summary.subLabel?((0,r.uX)(),(0,r.CE)("span",ie,(0,r.v_)(e.summary.subLabel),1)):(0,r.Q3)("",!0)],64))],8,J)]),e.summary.listItems&&e.summary.listItems.length?((0,r.uX)(),(0,r.CE)("div",oe,[(0,r.Lk)("ul",ue,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(e.summary.listItems,function(e){return(0,r.uX)(),(0,r.CE)("li",{key:e.label,id:e.id||(0,r.R1)(H.S)().stringToId(e.label),class:"sui-list-item"},[(0,r.Lk)("span",le,[(0,r.eW)((0,r.v_)(e.label)+" ",1),e.tooltip?((0,r.uX)(),(0,r.CE)("span",{key:0,"data-tooltip":e.tooltip,class:"sui-tooltip sui-tooltip-constrained sui-tooltip-top-center"},N(n[1]||(n[1]=[(0,r.Lk)("span",{"aria-hidden":"true",class:"ml-2 sui-icon-info sui-sm"},null,-1)])),8,ce)):(0,r.Q3)("",!0)]),(0,r.Lk)("span",de,[e.button?((0,r.uX)(),(0,r.Wv)(q.A,{key:0,id:e.button.id,label:e.button.label||e.value,type:e.button.type||"button",variant:e.button.variant||"default",size:e.button.size||"small",disabled:e.button.disabled||!1,icon:e.button.icon,action:e.button.action||"default",onClick:function(t){return function(e){var t,n;i("action",{action:(null===(t=e.button)||void 0===t?void 0:t.action)||"default",data:(null===(n=e.button)||void 0===n?void 0:n.data)||{},item:e,label:e.label})}(e)}},null,8,["id","label","type","variant","size","disabled","icon","action","onClick"])):e.upsellUrl?((0,r.uX)(),(0,r.Wv)(V,{key:1,"campaign-url":e.upsellUrl,feature:e.label},null,8,["campaign-url","feature"])):e.link?((0,r.uX)(),(0,r.CE)("a",{key:2,id:"summary-item-link-".concat(e.id||(0,r.R1)(H.S)().stringToId(e.label)),href:e.link,target:"_blank"},["disabled"===e.value?((0,r.uX)(),(0,r.CE)("span",pe,(0,r.v_)((0,r.R1)(d)("Disabled")),1)):e.tag?((0,r.uX)(),(0,r.CE)("span",{key:1,class:(0,r.C4)(["sui-tag",e.tagClass||"sui-tag-error"])},(0,r.v_)(e.value),3)):"check"===e.value?((0,r.uX)(),(0,r.CE)("i",ve)):((0,r.uX)(),(0,r.CE)(r.FK,{key:3},[(0,r.eW)((0,r.v_)(e.value),1)],64))],8,fe)):((0,r.uX)(),(0,r.CE)(r.FK,{key:3},["check"===e.value?((0,r.uX)(),(0,r.CE)("i",me)):"disabled"===e.value?((0,r.uX)(),(0,r.CE)("span",be,(0,r.v_)((0,r.R1)(d)("Disabled")),1)):e.tag?((0,r.uX)(),(0,r.CE)("span",{key:2,class:(0,r.C4)(["sui-tag",e.tagClass||"sui-tag-error"])},(0,r.v_)(e.value),3)):((0,r.uX)(),(0,r.CE)(r.FK,{key:3},[(0,r.eW)((0,r.v_)(e.value),1)],64))],64))])],8,se)}),128))])])):(0,r.Q3)("",!0),t.$slots.segment?((0,r.uX)(),(0,r.CE)("div",he,[(0,r.RG)(t.$slots,"segment")])):(0,r.Q3)("",!0)],10,Y)}}};var ge=n(3498),ke=["id"],_e={class:"sui-header"},we={class:"sui-header-title"},Ce={key:5};const Se={__name:"base-layout",props:{title:{type:String,required:!0},pageClass:{type:String,default:""},docLink:{type:String,default:null},summary:{type:Object,default:null},showSummary:{type:Boolean,default:!0},tabs:{type:Array,default:null},defaultTab:{type:String,default:null},boxed:{type:Boolean,default:!1},feature:{type:String,default:"base-layout"}},emits:["action"],setup:function(e,t){var n=t.emit,o=e,u=n,s=(0,a.X)(),l=s.maybeHighContrast,c=s.showTrackingModal,d=["file-scanning","security-tweaks"].includes(o.feature),f=function(e){u("action",e)};return function(t,n){return(0,r.uX)(),(0,r.CE)("div",{class:(0,r.C4)(["sui-wrap",(0,r.R1)(l)()]),id:e.feature},[(0,r.Lk)("div",{class:(0,r.C4)(e.pageClass)},[(0,r.Lk)("div",_e,[(0,r.Lk)("h1",we,(0,r.v_)(e.title),1),(0,r.RG)(t.$slots,"header-actions"),e.docLink?((0,r.uX)(),(0,r.Wv)(i.A,{key:0,link:e.docLink},null,8,["link"])):(0,r.Q3)("",!0)]),(0,r.RG)(t.$slots,"notices"),(0,r.R1)(d)?((0,r.uX)(),(0,r.Wv)(y,{key:0})):(0,r.Q3)("",!0),(0,r.bF)(S),(0,r.R1)(c)?((0,r.uX)(),(0,r.Wv)(E.A,{key:1})):(0,r.Q3)("",!0),e.summary&&e.showSummary?((0,r.uX)(),(0,r.Wv)(ye,{key:2,feature:e.feature,summary:e.summary,onAction:f},null,8,["feature","summary"])):(0,r.RG)(t.$slots,"summary",{key:3}),e.tabs?((0,r.uX)(),(0,r.Wv)(Q,{key:4,tabs:e.tabs,"default-tab":e.defaultTab,boxed:e.boxed},(0,r.eX)({_:2},[(0,r.pI)(e.tabs,function(e){return{name:e.id,fn:(0,r.k6)(function(){return[(0,r.RG)(t.$slots,e.id)]})}})]),1032,["tabs","default-tab","boxed"])):((0,r.uX)(),(0,r.CE)("div",Ce,[(0,r.RG)(t.$slots,"default")])),n[0]||(n[0]=(0,r.Lk)("div",{class:"clearfix"},null,-1)),n[1]||(n[1]=(0,r.Lk)("div",{class:"padding-bottom-30"},null,-1))],2),(0,r.bF)(ge.A),(0,r.RG)(t.$slots,"modals")],10,ke)}}}},3498:(e,t,n)=>{n.d(t,{A:()=>h});var r=n(9726),a=n(5592),i=n(682),o=n(6965),u=n(4073);function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var c=["innerHTML"],d={key:0},f={class:"sui-footer-nav"},p=["id","href"],v={class:"sui-footer-social"},m=["id","href"],b={class:"sui-screen-reader-text"};const h={__name:"app-footer",setup:function(e){var t=(0,a.B)().__,n=(0,i.X)(),l=n.is_free,h=n.whitelabel,y=(0,u.I)().wpmuDevHubUrl,g=(0,r.EW)(function(){return h.value.footer_text}),k=(0,r.EW)(function(){return h.value.change_footer}),_=[{url:"https://wpmudev.com/roadmap/",text:t("Roadmap")},{url:"https://wpmudev.com/docs/",text:t("Docs")},{url:"https://wpmudev.com/terms-of-service/",text:t("Terms of Service")},{url:"https://incsub.com/privacy-policy/",text:t("Privacy Policy")}],w=[{url:y(),text:t("The Hub")},{url:"https://wpmudev.com/projects/category/plugins/",text:t("Plugins")},{url:y("support/"),text:t("Support")},{url:y("community/"),text:t("Community")}],C=[{url:"https://profiles.wordpress.org/wpmudev#content-plugins",text:t("Free Plugins")},{url:"https://wpmudev.com/features/",text:t("Membership")},{url:"https://wordpress.org/support/plugin/defender-security/",text:t("Support")},{url:"https://wpmudev.com/hub-welcome/",text:t("The Hub")}],S=(0,r.EW)(function(){return[].concat(s(l.value?C:w),_)}),E=[{url:"https://www.facebook.com/wpmudev",icon:"sui-icon-social-facebook",name:t("Facebook")},{url:"https://twitter.com/wpmudev",icon:"sui-icon-social-twitter",name:t("Twitter")},{url:"https://www.instagram.com/wpmu_dev/",icon:"sui-icon-instagram",name:t("Instagram")}];return function(e,t){return(0,r.uX)(),(0,r.CE)("div",null,[(0,r.Lk)("div",{class:"sui-footer",innerHTML:g.value},null,8,c),k.value?(0,r.Q3)("",!0):((0,r.uX)(),(0,r.CE)("div",d,[(0,r.Lk)("ul",f,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(S.value,function(e){return(0,r.uX)(),(0,r.CE)("li",{key:e.url},[(0,r.Lk)("a",{id:(0,r.R1)(o.S)().stringToId(e.text),href:e.url,target:"_blank"},(0,r.v_)(e.text),9,p)])}),128))]),(0,r.Lk)("ul",v,[((0,r.uX)(),(0,r.CE)(r.FK,null,(0,r.pI)(E,function(e){return(0,r.Lk)("li",{key:e.url},[(0,r.Lk)("a",{id:e.name,href:e.url,target:"_blank"},[(0,r.Lk)("i",{class:(0,r.C4)(e.icon),"aria-hidden":"true"},null,2),(0,r.Lk)("span",b,(0,r.v_)(e.name),1)],8,m)])}),64))])]))])}}}},4073:(e,t,n)=>{n.d(t,{I:()=>r});var r=function(){return{homeUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.home_url+e},siteUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.site_url+e},adminUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.admin_url+e},assetUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.defender_url+e},wpmuDevApiBaseUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.wpmudev_api_base_url+e},campaign_url:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"project/wp-defender",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return n=n&&!n.endsWith("&")?n+"&":n,"".concat(defender.wpmudev_api_base_url).concat(t,"/?").concat(n,"utm_source=defender&utm_medium=plugin&utm_campaign=").concat(e)},isUrlOrSlug:function(e){return/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/i.test(e)?"url":"slug"},wpmuDevHubUrl:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.wpmudev_hub_link+e}}}},5067:(e,t,n)=>{n.d(t,{A:()=>T});var r=n(9726),a=n(7786),i=n(682),o=n(1669),u=n.n(o);const s={mounted:function(e,t){(0,i.X)().isHighContrast()&&!u()("body").hasClass("sui-elements-accessible")&&u()("body").addClass("sui-elements-accessible");var n=jQuery(e).closest(".sui-modal-content"),r=n.length?n:"body";"function"==typeof jQuery.fn.SUIselect2&&jQuery(e).SUIselect2({dropdownParent:r}),jQuery(e).on("select2:select",function(){var n,r=new Event("change",{bubbles:!0,cancelable:!0});e.dispatchEvent(r),null===(n=t.value)||void 0===n||n.call(t,e)}),jQuery(e).on("select2:unselect",function(){var t=new Event("change",{bubbles:!0,cancelable:!0});e.dispatchEvent(t)})},updated:function(e){var t=jQuery(e);t.hasClass("select2-hidden-accessible")&&t.SUIselect2("destroy");var n=t.closest(".sui-modal-content"),r=n.length?n:"body";"function"==typeof t.SUIselect2&&t.SUIselect2({dropdownParent:r})},unmounted:function(e){var t=jQuery(e);t.hasClass("select2-hidden-accessible")&&t.SUIselect2("destroy")}};var l=n(6965);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,u=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return u}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var v=["for"],m={key:1,class:"sui-field-prefix"},b={key:2,class:"relative"},h=["id","multiple","data-placeholder","data-minimum-results-for-search","data-width"],y={key:0,value:""},g=["value"],k=["id","name","multiple","data-placeholder","data-minimum-results-for-search","data-width"],_={key:0,value:""},w=["value"],C={key:4,class:"sui-error-message"},S={key:5,class:"sui-description"};const E={__name:"sui-select",props:{modelValue:{type:[String,Number,Array],default:""},options:{type:[Array,Object],required:!0},id:{type:String,default:""},name:{type:String,default:""},label:{type:String,default:""},prefix:{type:String,default:""},placeholder:{type:String,default:""},multiple:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},hasField:{type:Boolean,default:!0},hasError:{type:Boolean,default:!1},errorMessage:{type:String,default:""},helperMessage:{type:String,default:""},customClass:{type:String,default:""},width:{type:String,default:"100%"},icon:{type:String,default:""}},emits:["update:modelValue"],setup:function(e,t){var n=t.emit,i=s,o=e,u=n,c=(0,r.EW)(function(){return o.id||(0,l.S)().stringToId(o.label)||"select-".concat(Math.random().toString(36).substr(2,9))}),p=(0,r.EW)(function(){return(Array.isArray(o.options)?o.options:Object.entries(o.options).map(function(e){var t=f(e,2);return d({},t[0],t[1])})).map(function(e){if("string"==typeof e)return{value:e,label:e};if(void 0!==e.value||void 0!==e.label)return e;var t=f(Object.entries(e)[0]||[],2);return{value:t[0],label:t[1]}})}),E=(0,a.hRP)(o,"modelValue",u);return function(t,n){return(0,r.uX)(),(0,r.CE)("div",{class:(0,r.C4)({"sui-form-field":e.hasField,"sui-form-field-error":e.hasError})},[e.label?((0,r.uX)(),(0,r.CE)("label",{key:0,class:"sui-label",for:c.value},(0,r.v_)(e.label),9,v)):(0,r.Q3)("",!0),e.prefix?((0,r.uX)(),(0,r.CE)("span",m,(0,r.v_)(e.prefix),1)):(0,r.Q3)("",!0),e.icon?((0,r.uX)(),(0,r.CE)("div",b,[n[2]||(n[2]=(0,r.Lk)("span",{class:"prefix-icon sui-icon-web-globe-world"},null,-1)),(0,r.bo)(((0,r.uX)(),(0,r.CE)("select",{id:c.value,"onUpdate:modelValue":n[0]||(n[0]=function(e){return(0,r.i9)(E)?E.value=e:null}),class:(0,r.C4)(["sui-select",e.customClass]),multiple:e.multiple,"data-placeholder":e.placeholder,"data-minimum-results-for-search":e.searchable?0:"Infinity","data-width":e.width||"100%"},[!e.multiple&&e.placeholder?((0,r.uX)(),(0,r.CE)("option",y)):(0,r.Q3)("",!0),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(p.value,function(e){return(0,r.uX)(),(0,r.CE)("option",{key:e.value,value:e.value},(0,r.v_)(e.label),9,g)}),128))],10,h)),[[r.u1,(0,r.R1)(E)],[(0,r.R1)(i)]])])):(0,r.bo)(((0,r.uX)(),(0,r.CE)("select",{key:3,id:c.value,name:e.name,"onUpdate:modelValue":n[1]||(n[1]=function(e){return(0,r.i9)(E)?E.value=e:null}),class:(0,r.C4)(["sui-select",e.customClass]),multiple:e.multiple,"data-placeholder":e.placeholder,"data-minimum-results-for-search":e.searchable?0:"Infinity","data-width":e.width||"100%"},[!e.multiple&&e.placeholder?((0,r.uX)(),(0,r.CE)("option",_)):(0,r.Q3)("",!0),((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(p.value,function(e){return(0,r.uX)(),(0,r.CE)("option",{key:e.value,value:e.value},(0,r.v_)(e.label),9,w)}),128))],10,k)),[[r.u1,(0,r.R1)(E)],[(0,r.R1)(i)]]),e.hasError&&e.errorMessage?((0,r.uX)(),(0,r.CE)("p",C,(0,r.v_)(e.errorMessage),1)):(0,r.Q3)("",!0),e.helperMessage?((0,r.uX)(),(0,r.CE)("p",S,(0,r.v_)(e.helperMessage),1)):(0,r.Q3)("",!0),(0,r.RG)(t.$slots,"default")],2)}}};var L=n(5072),x=n.n(L),R=n(7389),j={insert:"head",singleton:!1};x()(R.A,j);R.A.locals;const T=(0,n(6262).A)(E,[["__scopeId","data-v-bc246b6e"]])},5592:(e,t,n)=>{n.d(t,{B:()=>i});var r=n(4005),a=new r.FilterXSS({whiteList:{a:["href","title","target"],span:["class"],strong:[]},safeAttrValue:function(e,t,n){return"a"===e&&"href"===t&&"%s"===n?"%s":(0,r.safeAttrValue)(e,t,n)}}),i=function(){var e=wp.i18n;return{__:function(t){return a.process(e.__(t,"defender-security"))},_n:function(t,n,r){return a.process(e._n(t,n,r,"defender-security"))},xss:function(e){return a.process(e)},sprintf:function(){return e.sprintf.apply(e,arguments)}}}},5945:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(9726),a=n(5592),i={key:0,class:"sui-actions-right"},o=["href"];const u={__name:"doc-link",props:{link:{type:String,required:!0}},setup:function(e){var t=e,n=(0,a.B)().__,u=(0,r.KR)(defender.whitelabel.hide_doc_link),s=(0,r.EW)(function(){return defender.wpmudev_url+t.link});return function(e,t){return!1===u.value?((0,r.uX)(),(0,r.CE)("div",i,[(0,r.Lk)("a",{id:"doc-link",href:s.value,target:"_blank",class:"sui-button sui-button-ghost"},[t[0]||(t[0]=(0,r.Lk)("i",{class:"sui-icon-academy","aria-hidden":"true"},null,-1)),(0,r.eW)(" "+(0,r.v_)((0,r.R1)(n)("Documentation")),1)],8,o)])):(0,r.Q3)("",!0)}}}},5977:(e,t,n)=>{var r=n(9726),a=n(5592),i=n(2366),o=n(6874),u=n(1289),s=n(1751),l=n(9806),c=n(4073),d=n(7476),f=n(682),p={class:"sui-box"},v={class:"sui-box-header"},m={class:"sui-box-title"},b={class:"sui-actions-left"},h={class:"sui-tag sui-tag-pro"},y={class:"sui-message sui-message-lg"},g=["src"],k={class:"sui-message-content"},_=["href"],w={class:"text-center sui-description margin-top-15"};const C={__name:"waf-free",setup:function(e){var t=(0,a.B)().__,n=(0,c.I)(),i=n.assetUrl,o=n.campaign_url,u=(0,f.X)(),s=u.upgradeTitle,l=u.is_membership,d=(0,r.EW)(function(){return l.value?o("defender_waf_try_hosting","waf"):"https://wpmudev.com/waf/"});return function(e,n){return(0,r.uX)(),(0,r.CE)("div",p,[(0,r.Lk)("div",v,[(0,r.Lk)("h3",m,(0,r.v_)((0,r.R1)(t)("Get Started")),1),(0,r.Lk)("div",b,[(0,r.Lk)("span",h,(0,r.v_)((0,r.R1)(t)("Pro")),1)])]),(0,r.Lk)("div",y,[(0,r.Lk)("img",{class:"sui-image",src:(0,r.R1)(i)("assets/img/defender-circle-128.png")},null,8,g),(0,r.Lk)("div",k,[(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("The new Web Application Firewall (WAF) is a first layer of protection to block hackers and bot attacks before they reach your site.")),1),(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("It filters requests against a highly optimized managed ruleset covering common attacks (OWASP top ten) and performs virtual patching of WordPress core, plugin, and theme vulnerabilities.")),1),(0,r.Lk)("a",{id:"upgrade-waf",href:d.value,target:"_blank",class:"sui-button sui-button-purple"},(0,r.v_)((0,r.R1)(s)),9,_),(0,r.Lk)("p",w,(0,r.v_)((0,r.R1)(t)("This feature is available to members who host their sites with WPMU DEV.")),1)])])])}}};function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function i(n,r,a,i){var s=r&&r.prototype instanceof u?r:u,l=Object.create(s.prototype);return E(l,"_invoke",function(n,r,a){var i,u,s,l=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,s=e,f.n=n,o}};function p(n,r){for(u=n,s=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,i=c[t],p=f.p,v=i[2];n>3?(a=v===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((a=n<2&&p<i[1])?(u=0,f.v=r,f.n=i[1]):p<v&&(a=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,u=0))}if(a||n>1)return o;throw d=!0,r}return function(a,c,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),u=c,s=v;(t=u<2?e:s)||!d;){i||(u?u<3?(u>1&&(f.n=-1),p(u,s)):f.n=s:f.v=s);try{if(l=2,i){if(u||(a="next"),t=i[a]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),u=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){i=e,u=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,a,i),!0),l}var o={};function u(){}function s(){}function l(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(E(t={},r,function(){return this}),t),d=l.prototype=u.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,E(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=l,E(d,"constructor",l),E(l,"constructor",s),s.displayName="GeneratorFunction",E(l,a,"GeneratorFunction"),E(d),E(d,a,"Generator"),E(d,r,function(){return this}),E(d,"toString",function(){return"[object Generator]"}),(S=function(){return{w:i,m:f}})()}function E(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}E=function(e,t,n,r){function i(t,n){E(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},E(e,t,n,r)}function L(e,t,n,r,a,i,o){try{var u=e[i](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}function x(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){L(i,r,a,o,u,"next",e)}function u(e){L(i,r,a,o,u,"throw",e)}o(void 0)})}}var R={key:1,class:"sui-box"},j={class:"sui-box-header"},T={class:"sui-box-title"},O={class:"sui-box-body"},W={class:"sui-notice sui-notice-success"},X={class:"sui-notice-content"},A={class:"sui-notice-message"},I={class:"sui-box-settings-row"},P={class:"sui-box-settings-col-1"},F={class:"sui-settings-label-with-tag"},U={class:"sui-tag sui-tag-blue"},M={class:"sui-description"},K={class:"sui-box-settings-col-2"},G=["innerHTML"],Q=["href"],B={key:2,class:"sui-box"},H={class:"sui-box-header"},D={class:"sui-box-title"},$={class:"sui-actions-right"},V={key:0,class:"sui-message sui-message-lg"},q=["src"],N=["src"],z={class:"sui-message-content"},Y=["href"],Z=["innerHTML"],J={key:1,class:"sui-message sui-message-lg"},ee=["src"],te={class:"sui-message-content"},ne=["data-notice-message","href"],re=["innerHTML"];const ae={__name:"waf",setup:function(e){var t=(0,a.B)().__,n=(0,c.I)().assetUrl,p=(0,l.p)(),v=p.maybeHideBranding,m=p.whitelabelHeroImage,b=(0,f.X)().is_free,h=(0,d.r)(),y=(0,r.KR)(waf.waf.hosted),g=(0,r.KR)(waf.site_id),k=(0,r.KR)(waf.waf.status),_=(0,r.KR)({on_saving:!1}),w=(0,r.KR)(waf.nonces),E=(0,r.KR)(waf.routes),L=(0,r.KR)(defender.tracking_modal),ae=(0,r.EW)(function(){return"https://wpmudev.com/hub2/site/"+g.value+"/hosting?utm_source=defender&utm_medium=plugin&utm_campaign=defender_waf_migrate_my_site"}),ie=(0,r.EW)(function(){return"https://wpmudev.com/hub2/site/"+g.value+"/hosting/tools#update-waf"}),oe=(0,r.EW)(function(){return t('At this time, you can manage all WAF settings via <a id="hub-link" target="_blank" href="%s">The Hub.</a>').replace("%s","https://wpmudev.com/hub2/")}),ue=(0,r.EW)(function(){return"<p>"+t("The status can be cached for 5 minutes, and it's likely the changes you make in the Hub won't be updated in-plugin immediately. You can wait a little bit and re-check again to get the updated status.")+"</p>"}),se=(0,r.EW)(function(){return!1===y.value?t('You can learn more about the WAF <a id="waf-link" target="_blank" href="%s">here</a>.').replace("%s","https://wpmudev.com/waf/?utm_source=defender&utm_medium=plugin&utm_campaign=defender_waf_project_page"):!0===y.value&&!1===k.value?t('Enable this feature via <a id="hub-link" target="_blank" href="%s">The Hub</a> today or learn more <a id="learn-link" target="_blank" href="%s">here</a>.').replace("%s",ie.value).replace("%s","https://wpmudev.com/waf/"):""}),le=function(){h.withLoading("recheck-waf",x(S().m(function e(){var t;return S().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,(0,s.q)().post(E.value.recheck,w.value.recheck,{});case 1:t=e.v,k.value=t.waf.status,_.value.on_saving=!1;case 2:return e.a(2)}},e)})))};return function(e,a){return(0,r.uX)(),(0,r.Wv)(i.A,{title:(0,r.R1)(t)("Web Application Firewall"),"page-class":"waf",feature:"waf","doc-link":"?utm_source=defender&utm_medium=plugin&utm_campaign=defender_waf_docs#web-application-firewall-waf"},{default:(0,r.k6)(function(){return[(0,r.R1)(b)?((0,r.uX)(),(0,r.Wv)(C,{key:0})):!0===y.value&&!0===k.value?((0,r.uX)(),(0,r.CE)("div",R,[(0,r.Lk)("div",j,[(0,r.Lk)("h3",T,(0,r.v_)((0,r.R1)(t)("Settings")),1)]),(0,r.Lk)("div",O,[(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("Web Application Firewall (WAF) is a first layer of protection to block hackers and bot attacks before they ever reach your site. The WAF filters request against our highly optimized managed ruleset covering common attacks (OWASP top ten) and performs virtual patching of WordPress core, plugin, and theme vulnerabilities.")),1),(0,r.Lk)("div",W,[(0,r.Lk)("div",X,[(0,r.Lk)("div",A,[a[0]||(a[0]=(0,r.Lk)("i",{class:"sui-notice-icon sui-icon-check-tick sui-md","aria-hidden":"true"},null,-1)),(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("This site has WAF protection enabled. Please keep in mind that the status can be cached for 5 minutes, and it's likely the changes you make in the Hub won't be updated in-plugin immediately.")),1)])])]),(0,r.Lk)("div",I,[(0,r.Lk)("div",P,[(0,r.Lk)("span",F,[(0,r.eW)((0,r.v_)((0,r.R1)(t)("Configure"))+" ",1),(0,r.Lk)("span",U,(0,r.v_)((0,r.R1)(t)("Coming Soon")),1)]),(0,r.Lk)("span",M,(0,r.v_)((0,r.R1)(t)("Configure and manage your IP and user agent rules. Note: we'll honor the rules set in Defender's basic Firewall too.")),1)]),(0,r.Lk)("div",K,[(0,r.Lk)("p",{class:"margin-bottom-10",innerHTML:oe.value},null,8,G),(0,r.Lk)("a",{id:"manage-waf-rules",target:"_blank",href:ie.value,class:"sui-button sui-button-ghost"},[a[1]||(a[1]=(0,r.Lk)("i",{class:"sui-icon-wrench-tool"},null,-1)),(0,r.eW)((0,r.v_)((0,r.R1)(t)("Manage Rules")),1)],8,Q)])])])])):((0,r.uX)(),(0,r.CE)("div",B,[a[2]||(a[2]=(0,r.Lk)("div",{class:"sui-floating-notices"},[(0,r.Lk)("div",{role:"alert",id:"status-cached",class:"sui-notice sui-notice-info","aria-live":"assertive"})],-1)),(0,r.Lk)("div",H,[(0,r.Lk)("h3",D,(0,r.v_)((0,r.R1)(t)("Get Started")),1),(0,r.Lk)("div",$,[!0!==y.value||!0!==k.value?((0,r.uX)(),(0,r.Wv)(u.A,{key:0,action:"recheck-waf",label:(0,r.R1)(t)("Re-check Status"),icon:"sui-icon-update",onClick:le},null,8,["label"])):(0,r.Q3)("",!0)])]),!0!==y.value?((0,r.uX)(),(0,r.CE)("div",V,[!1===(0,r.R1)(v)?((0,r.uX)(),(0,r.CE)("img",{key:0,class:"sui-image","aria-hidden":"true",src:(0,r.R1)(n)("assets/img/disabled-module.png")},null,8,q)):(0,r.Q3)("",!0),(0,r.R1)(v)&&(0,r.R1)(m)?((0,r.uX)(),(0,r.CE)("img",{key:1,class:"sui-image wd-whitelabel-custom-branding-logo",src:(0,r.R1)(m),"aria-hidden":"true"},null,8,N)):(0,r.Q3)("",!0),(0,r.Lk)("div",z,[(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("The new Web Application Firewall (WAF) is a first layer of protection to block hackers and bot attacks before they reach your site.")),1),(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("It filters requests against a highly optimized managed ruleset covering common attacks (OWASP top ten) and performs virtual patching of WordPress core, plugin, and theme vulnerabilities.")),1),(0,r.Lk)("a",{id:"migrate-waf",target:"_blank",href:ae.value,class:"sui-button sui-button-blue"},(0,r.v_)((0,r.R1)(t)("Migrate my site")),9,Y),(0,r.Lk)("p",{class:"text-center sui-description margin-top-15",innerHTML:se.value},null,8,Z)])])):(0,r.Q3)("",!0),!0===y.value&&!1===k.value?((0,r.uX)(),(0,r.CE)("div",J,[(0,r.Lk)("img",{class:"sui-image",src:(0,r.R1)(n)("assets/img/disabled-module.png")},null,8,ee),(0,r.Lk)("div",te,[(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("The new Web Application Firewall (WAF) is a first layer of protection to block hackers and bot attacks before they reach your site.")),1),(0,r.Lk)("p",null,(0,r.v_)((0,r.R1)(t)("It filters requests against a highly optimized managed ruleset covering common attacks (OWASP top ten) and performs virtual patching of WordPress core, plugin, and theme vulnerabilities.")),1),(0,r.Lk)("a",{id:"activate-waf",target:"_blank","data-notice-open":"status-cached","data-notice-message":ue.value,href:ie.value,"data-notice-dismiss":"true",class:"sui-button sui-button-blue"},(0,r.v_)((0,r.R1)(t)("Activate WAF")),9,ne),(0,r.Lk)("p",{class:"text-center sui-description margin-top-15",innerHTML:se.value},null,8,re)])])):(0,r.Q3)("",!0)])),"show"===L.value?((0,r.uX)(),(0,r.Wv)(o.A,{key:3})):(0,r.Q3)("",!0)]}),_:1},8,["title"])}}};var ie=n(810),oe=(0,r.Ef)(ae);oe.use((0,ie.Ey)()),oe.mount("#defender")},6874:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(9726),a=n(5592),i=n(8261),o=n(1751),u=n(9919);function s(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function i(n,r,a,i){var s=r&&r.prototype instanceof u?r:u,c=Object.create(s.prototype);return l(c,"_invoke",function(n,r,a){var i,u,s,l=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,u=0,s=e,f.n=n,o}};function p(n,r){for(u=n,s=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,i=c[t],p=f.p,v=i[2];n>3?(a=v===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=p&&((a=n<2&&p<i[1])?(u=0,f.v=r,f.n=i[1]):p<v&&(a=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,u=0))}if(a||n>1)return o;throw d=!0,r}return function(a,c,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),u=c,s=v;(t=u<2?e:s)||!d;){i||(u?u<3?(u>1&&(f.n=-1),p(u,s)):f.n=s:f.v=s);try{if(l=2,i){if(u||(a="next"),t=i[a]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),u=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){i=e,u=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,a,i),!0),c}var o={};function u(){}function c(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(l(t={},r,function(){return this}),t),p=d.prototype=u.prototype=Object.create(f);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,l(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=d,l(p,"constructor",d),l(d,"constructor",c),c.displayName="GeneratorFunction",l(d,a,"GeneratorFunction"),l(p),l(p,a,"Generator"),l(p,r,function(){return this}),l(p,"toString",function(){return"[object Generator]"}),(s=function(){return{w:i,m:v}})()}function l(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}l=function(e,t,n,r){function i(t,n){l(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},l(e,t,n,r)}function c(e,t,n,r,a,i,o){try{var u=e[i](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}function d(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){c(i,r,a,o,u,"next",e)}function u(e){c(i,r,a,o,u,"throw",e)}o(void 0)})}}var f={class:"sui-modal sui-modal-md"},p=["aria-label"],v={class:"sui-box margin-bottom-5"},m={class:"sui-box-header sui-flatten sui-content-center sui-spacing-top--60"},b={class:"sui-box-banner margin-bottom-30","aria-hidden":"true"},h=["src","srcset","alt"],y={class:"sui-screen-reader-text"},g=["innerHTML"],k=["innerHTML"],_={class:"sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--50"};const w={__name:"tracking-modal",setup:function(e){var t=(0,a.B)().__,n=(0,i.m)().suiRemoveModalClass,l=(0,o.q)().post,c=(0,r.KR)(defender.misc.banner_1x),w=(0,r.KR)(defender.misc.banner_2x),C=(0,r.KR)(defender.misc.title),S=(0,r.KR)(defender.misc.title),E=(0,r.KR)(defender.misc.desc),L=(0,r.KR)(defender.misc.optin_button_title),x=(0,r.KR)(defender.misc.skip_button_title),R=(0,r.KR)(defender.misc.nonces),j=(0,r.KR)(defender.misc.routes),T=(0,r.KR)(!1);(0,r.sV)(function(){document.onreadystatechange=function(){SUI.openModal("defender-tracking-modal",jQuery("body"),void 0,!1,!0)}});var O=function(){var e=d(s().m(function e(){return s().w(function(e){for(;;)switch(e.n){case 0:return T.value=!0,e.n=1,l(j.value.save_track_modal,R.value.save_track_modal,{});case 1:SUI.closeModal(),n(),T.value=!1;case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}(),W=function(){var e=d(s().m(function e(){return s().w(function(e){for(;;)switch(e.n){case 0:return T.value=!0,e.n=1,l(j.value.close_track_modal,R.value.close_track_modal,{});case 1:SUI.closeModal(),n(),T.value=!1;case 2:return e.a(2)}},e)}));return function(){return e.apply(this,arguments)}}();return function(e,n){return(0,r.uX)(),(0,r.CE)("div",f,[(0,r.Lk)("div",{role:"dialog",id:"defender-tracking-modal","aria-modal":"true",class:"sui-modal-content","aria-label":(0,r.R1)(t)("Tracking Preferences Modal")},[(0,r.Lk)("div",v,[(0,r.Lk)("div",m,[(0,r.Lk)("figure",b,[(0,r.Lk)("img",{src:c.value,srcset:c.value+" 1x, "+w.value+" 2x",alt:C.value},null,8,h)]),(0,r.Lk)("button",{class:"modal-close-button sui-button-white sui-button-icon sui-button-float--right",onClick:W},[n[0]||(n[0]=(0,r.Lk)("i",{class:"sui-icon-close sui-md","aria-hidden":"true"},null,-1)),(0,r.Lk)("span",y,(0,r.v_)((0,r.R1)(t)("Close this dialog.")),1)]),(0,r.Lk)("h3",{class:"sui-box-title sui-lg",id:"defender-tracking-modal-label",innerHTML:S.value},null,8,g),(0,r.Lk)("p",{class:"sui-description",innerHTML:E.value},null,8,k)]),(0,r.Lk)("div",_,[(0,r.bF)((0,r.R1)(u.A),{onClick:O,doing_ajax:T.value,"css-class":"sui-button-blue"},{default:(0,r.k6)(function(){return[(0,r.eW)((0,r.v_)(L.value),1)]}),_:1},8,["doing_ajax"])])]),(0,r.Lk)("button",{type:"button",onClick:W,class:"sui-modal-skip defender-tracking-modal-skip-link"},(0,r.v_)(x.value),1)],8,p)])}}}},6965:(e,t,n)=>{function r(){return{capitalizeFirstLetter:function(e){return e?e.charAt(0).toUpperCase()+e.slice(1):""},stringToId:function(e){return e?e.toLowerCase().replace(/\s+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,""):""},generateId:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=Math.random().toString(36).substring(2,15);return e?"".concat(e,"-").concat(t):t}}}n.d(t,{S:()=>r})},7389:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6314),a=n.n(r)()(function(e){return e[1]});a.push([e.id,".prefix-icon[data-v-bc246b6e]{left:14px;position:absolute;top:50%;transform:translateY(-50%)}",""]);const i=a},7476:(e,t,n)=>{n.d(t,{r:()=>s});var r=n(810),a=n(9726);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function u(n,r,a,i){var u=r&&r.prototype instanceof l?r:l,c=Object.create(u.prototype);return o(c,"_invoke",function(n,r,a){var i,o,u,l=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return i=t,o=0,u=e,f.n=n,s}};function p(n,r){for(o=n,u=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,i=c[t],p=f.p,v=i[2];n>3?(a=v===r)&&(u=i[(o=i[4])?5:(o=3,3)],i[4]=i[5]=e):i[0]<=p&&((a=n<2&&p<i[1])?(o=0,f.v=r,f.n=i[1]):p<v&&(a=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,o=0))}if(a||n>1)return s;throw d=!0,r}return function(a,c,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&p(c,v),o=c,u=v;(t=o<2?e:u)||!d;){i||(o?o<3?(o>1&&(f.n=-1),p(o,u)):f.n=u:f.v=u);try{if(l=2,i){if(o||(a="next"),t=i[a]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,o<2&&(o=0)}else 1===o&&(t=i.return)&&t.call(i),o<2&&(u=TypeError("The iterator does not provide a '"+a+"' method"),o=1);i=e}else if((t=(d=f.n<0)?u:n.call(r,f))!==s)break}catch(t){i=e,o=1,u=t}finally{l=1}}return{value:t,done:d}}}(n,a,i),!0),c}var s={};function l(){}function c(){}function d(){}t=Object.getPrototypeOf;var f=[][r]?t(t([][r]())):(o(t={},r,function(){return this}),t),p=d.prototype=l.prototype=Object.create(f);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,o(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return c.prototype=d,o(p,"constructor",d),o(d,"constructor",c),c.displayName="GeneratorFunction",o(d,a,"GeneratorFunction"),o(p),o(p,a,"Generator"),o(p,r,function(){return this}),o(p,"toString",function(){return"[object Generator]"}),(i=function(){return{w:u,m:v}})()}function o(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}o=function(e,t,n,r){function i(t,n){o(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},o(e,t,n,r)}function u(e,t,n,r,a,i,o){try{var u=e[i](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}var s=(0,r.nY)("loading",function(){var e=(0,a.KR)([]);function t(t){e.value.push(t)}function n(t){e.value=e.value.filter(function(e){return e!==t})}function r(t){return e.value.includes(t)}var o=function(){var e,a=(e=i().m(function e(a,o){return i().w(function(e){for(;;)switch(e.p=e.n){case 0:if(!r(a)){e.n=1;break}return e.a(2);case 1:return t(a),e.p=2,e.n=3,o();case 3:return e.a(2,e.v);case 4:return e.p=4,n(a),e.f(4);case 5:return e.a(2)}},e,null,[[2,,4,5]])}),function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(e){u(i,r,a,o,s,"next",e)}function s(e){u(i,r,a,o,s,"throw",e)}o(void 0)})});return function(e,t){return a.apply(this,arguments)}}();return{start:t,stop:n,isLoading:r,clear:function(){for(var t in e)e[t]=!1},withLoading:o}})},7565:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6314),a=n.n(r)()(function(e){return e[1]});a.push([e.id,".heading[data-v-0cbd3b8a]{color:#999;font-size:12px;font-weight:600}.sidenav-tooltip-icon[data-v-0cbd3b8a]{right:-5px;top:2px}",""]);const i=a},8261:(e,t,n)=>{n.d(t,{m:()=>u});var r=n(9726),a=n(7786);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){s=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(s)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var u=function(){var e=function(){(0,r.dY)(function(){"undefined"!=typeof SUI&&(t(),SUI.tabs(),SUI.modalDialog(),n()),"undefined"!=typeof SUI&&SUI.select2&&document.querySelectorAll(".sui-select").forEach(function(e){var t=e.dataset.placeholder||"";SUI.select2(e,{placeholder:t,dropdownCssClass:"sui-select-dropdown"})})})};function t(){document.querySelectorAll(".sui-accordion").forEach(function(e){SUI.suiAccordion(e)})}var n=function(){var e=document.querySelector(".sui-has-modal");e&&e.classList.remove("sui-has-modal")};e(),(0,a.MLh)(document,"modalClosed",n);var o=(0,a.Ubj)("(max-width: 767px)"),u=(0,a.Ubj)("(min-width: 768px) and (max-width: 1024px)"),s=(0,a.Ubj)("(min-width: 1025px)"),l=(0,a.Ubj)("(max-width: 1444px)");return{rebindSUI:e,associateSUIselect2WithModal:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("undefined"!=typeof SUI&&SUI.select2){if(!t){var n=e.closest('.sui-modal-content[aria-modal="true"]');t=(null==n?void 0:n.getAttribute("id"))||""}if(t){var r=document.getElementById(t);r&&SUI.select2(e,{dropdownParent:r})}}},suiRemoveModalClass:n,observeModalChanges:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".sui-modal";(0,a.P1n)(document.body,function(n){var r,a=i(n);try{for(a.s();!(r=a.n()).done;){var o=r.value;if("childList"===o.type)Array.from(o.addedNodes).some(function(e){var n,r;return e.nodeType===Node.ELEMENT_NODE&&((null===(n=e.matches)||void 0===n?void 0:n.call(e,t))||(null===(r=e.querySelector)||void 0===r?void 0:r.call(e,t)))})&&e()}}catch(e){a.e(e)}finally{a.f()}},{childList:!0,subtree:!0})},reloadAccordion:t,isMobile:o,isTablet:u,isDesktop:s,isLargeDesktop:l}}},9806:(e,t,n)=>{n.d(t,{p:()=>i});var r=n(5592),a=n(9726);function i(){(0,r.B)().__;var e=(0,a.EW)(function(){return defender.whitelabel.hide_branding}),t=(0,a.EW)(function(){return"disabled"===defender.is_whitelabel&&0===parseInt(defender.is_free)}),n=(0,a.EW)(function(){return"disabled"===defender.is_whitelabel}),i=(0,a.EW)(function(){return defender.whitelabel.hero_image||!1}),o=(0,a.EW)(function(){return defender.whitelabel.hide_doc_link||!1}),u=(0,a.EW)(function(){return e.value&&i.value?{backgroundImage:"url(".concat(i.value,")")}:{}});return{maybeHideBranding:e,showSupportLinks:t,isWhitelabelDisabled:n,whitelabelHeroImage:i,hide_doc_link:o,backgroundImageStyle:u}}},9919:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(9726);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var i=["type","disabled"],o={class:"sui-loading-text"};const u={__name:"submit-button2",props:{cssClass:String,disabled:Boolean,type:String,is_icon:Boolean,doing_ajax:[Boolean,String],action:String},emits:["click"],setup:function(e){var t=e,n=(0,r.nI)().proxy,u=null==n?void 0:n.$store,s=(0,r.EW)(function(){var e,n=["sui-button"];return!0===t.is_icon&&(n=[]),t.cssClass&&n.push(t.cssClass),void 0===t.doing_ajax?("object"===a(null==u?void 0:u.state.doing_ajax)&&t.action&&-1!==u.state.doing_ajax.indexOf(t.action)||!0===(null==u?void 0:u.state.doing_ajax))&&(e=!0):e=t.doing_ajax,!0===e&&n.push("sui-button-onload"),n}),l=(0,r.EW)(function(){return!0===t.disabled}),c=(0,r.EW)(function(){return""===t.type?"submit":t.type});return function(e,t){return(0,r.uX)(),(0,r.CE)("button",{type:c.value,onClick:t[0]||(t[0]=function(t){return e.$emit("click")}),class:(0,r.C4)(s.value),disabled:l.value},[(0,r.Lk)("span",o,[(0,r.RG)(e.$slots,"default")]),t[1]||(t[1]=(0,r.Lk)("i",{class:"sui-icon-loader sui-loading","aria-hidden":"true"},null,-1))],10,i)}}}}},e=>{e.O(0,[270],()=>{return t=5977,e(e.s=t);var t});e.O()}]);