AnonSec Shell
Server IP : 104.21.14.48  /  Your IP : 3.147.75.192   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/chroot/var/www/wp-content/plugins/defender-security/assets/app/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/chroot/var/www/wp-content/plugins/defender-security/assets/app/advanced-tools.js
/*! For license information please see advanced-tools.js.LICENSE.txt */
!function(t){var e={};function s(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=t,s.c=e,s.d=function(t,e,i){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)s.d(i,r,function(e){return t[e]}.bind(null,r));return i},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="/",s(s.s=245)}({1:function(t,e,s){"use strict";function i(t,e,s,i,r,a,o,n){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=s,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=n?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:l}}s.d(e,"a",(function(){return i}))},11:function(t,e,s){var i=s(17),r=s(34);for(var a in(e=t.exports=function(t,e){return new r(e).process(t)}).FilterCSS=r,i)e[a]=i[a];"undefined"!=typeof window&&(window.filterCSS=t.exports)},12:function(t,e){t.exports={indexOf:function(t,e){var s,i;if(Array.prototype.indexOf)return t.indexOf(e);for(s=0,i=t.length;s<i;s++)if(t[s]===e)return s;return-1},forEach:function(t,e,s){var i,r;if(Array.prototype.forEach)return t.forEach(e,s);for(i=0,r=t.length;i<r;i++)e.call(s,t[i],i,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}}},13:function(t,e,s){var i=s(16),r=s(19),a=s(36);function o(t,e){return new a(e).process(t)}(e=t.exports=o).filterXSS=o,e.FilterXSS=a,function(){for(var t in i)e[t]=i[t];for(var s in r)e[s]=r[s]}(),"undefined"!=typeof window&&(window.filterXSS=t.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)},14:function(t,e,s){"use strict";var i={mixins:[s(2).a],data:function(){return{whitelabel:defender.whitelabel,is_free:parseInt(defender.is_free)}}},r=s(1),a=Object(r.a)(i,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"sui-footer",domProps:{innerHTML:t._s(t.whitelabel.footer_text)}}),t._v(" "),!1===t.whitelabel.change_footer?e("div",[1===t.is_free?e("ul",{staticClass:"sui-footer-nav"},[e("li",[e("a",{attrs:{href:"https://profiles.wordpress.org/wpmudev#content-plugins",target:"_blank"}},[t._v(t._s(t.__("Free Plugins")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/features/",target:"_blank"}},[t._v(t._s(t.__("Membership")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/roadmap/",target:"_blank"}},[t._v(t._s(t.__("Roadmap")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wordpress.org/support/plugin/defender-security/",target:"_blank"}},[t._v(t._s(t.__("Support")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/docs/",target:"_blank"}},[t._v(t._s(t.__("Docs")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/hub-welcome/",target:"_blank"}},[t._v(t._s(t.__("The Hub")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/terms-of-service/",target:"_blank"}},[t._v(t._s(t.__("Terms of Service")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://incsub.com/privacy-policy/",target:"_blank"}},[t._v(t._s(t.__("Privacy Policy")))])])]):e("ul",{staticClass:"sui-footer-nav"},[e("li",[e("a",{attrs:{href:"https://wpmudev.com/hub2/",target:"_blank"}},[t._v(t._s(t.__("The Hub")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/projects/category/plugins/",target:"_blank"}},[t._v(t._s(t.__("Plugins")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/roadmap/",target:"_blank"}},[t._v(t._s(t.__("Roadmap")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/hub2/support/",target:"_blank"}},[t._v(t._s(t.__("Support")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/docs/",target:"_blank"}},[t._v(t._s(t.__("Docs")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/hub2/community/",target:"_blank"}},[t._v(t._s(t.__("Community")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://wpmudev.com/terms-of-service/",target:"_blank"}},[t._v(t._s(t.__("Terms of Service")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://incsub.com/privacy-policy/",target:"_blank"}},[t._v(t._s(t.__("Privacy Policy")))])])]),t._v(" "),e("ul",{staticClass:"sui-footer-social"},[e("li",[e("a",{attrs:{href:"https://www.facebook.com/wpmudev",target:"_blank"}},[e("i",{staticClass:"sui-icon-social-facebook",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-screen-reader-text"},[t._v(t._s(t.__("Facebook")))])])]),t._v(" "),e("li",[t._m(0),t._v(" "),e("span",{staticClass:"sui-screen-reader-text"},[t._v(t._s(t.__("Twitter")))])]),t._v(" "),e("li",[e("a",{attrs:{href:"https://www.instagram.com/wpmu_dev/",target:"_blank"}},[e("i",{staticClass:"sui-icon-instagram",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-screen-reader-text"},[t._v(t._s(t.__("Instagram")))])])])])]):t._e()])}),[function(){var t=this._self._c;return t("a",{attrs:{href:"https://twitter.com/wpmudev",target:"_blank"}},[t("i",{staticClass:"sui-icon-social-twitter",attrs:{"aria-hidden":"true"}})])}],!1,null,null,null);e.a=a.exports},15:function(t,e,s){"use strict";(function(e){var i=s(7),r=s(43),a=s(22),o={"Content-Type":"application/x-www-form-urlencoded"};function n(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var c,l={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(c=s(23)),c),transformRequest:[function(t,e){return r(e,"Accept"),r(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t)?t:i.isArrayBufferView(t)?t.buffer:i.isURLSearchParams(t)?(n(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):i.isObject(t)||e&&"application/json"===e["Content-Type"]?(n(e,"application/json"),function(t,e,s){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(s||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,s=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,o=!s&&"json"===this.responseType;if(o||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw a(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],(function(t){l.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){l.headers[t]=i.merge(o)})),t.exports=l}).call(this,s(37))},16:function(t,e,s){var i=s(11).FilterCSS,r=s(11).getDefaultWhiteList,a=s(12);function o(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var n=new i;function c(t){return t.replace(l,"&lt;").replace(u,"&gt;")}var l=/</g,u=/>/g,d=/"/g,_=/&quot;/g,p=/&#([a-zA-Z0-9]*);?/gim,f=/&colon;?/gim,v=/&newline;?/gim,h=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,m=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,g=/u\s*r\s*l\s*\(.*/gi;function b(t){return t.replace(d,"&quot;")}function y(t){return t.replace(_,'"')}function w(t){return t.replace(p,(function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))}))}function x(t){return t.replace(f,":").replace(v," ")}function C(t){for(var e="",s=0,i=t.length;s<i;s++)e+=t.charCodeAt(s)<32?" ":t.charAt(s);return a.trim(e)}function k(t){return t=C(t=x(t=w(t=y(t))))}function j(t){return t=c(t=b(t))}e.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},e.getDefaultWhiteList=o,e.onTag=function(t,e,s){},e.onIgnoreTag=function(t,e,s){},e.onTagAttr=function(t,e,s){},e.onIgnoreTagAttr=function(t,e,s){},e.safeAttrValue=function(t,e,s,i){if(s=k(s),"href"===e||"src"===e){if("#"===(s=a.trim(s)))return"#";if("http://"!==s.substr(0,7)&&"https://"!==s.substr(0,8)&&"mailto:"!==s.substr(0,7)&&"tel:"!==s.substr(0,4)&&"data:image/"!==s.substr(0,11)&&"ftp://"!==s.substr(0,6)&&"./"!==s.substr(0,2)&&"../"!==s.substr(0,3)&&"#"!==s[0]&&"/"!==s[0])return""}else if("background"===e){if(h.lastIndex=0,h.test(s))return""}else if("style"===e){if(m.lastIndex=0,m.test(s))return"";if(g.lastIndex=0,g.test(s)&&(h.lastIndex=0,h.test(s)))return"";!1!==i&&(s=(i=i||n).process(s))}return s=j(s)},e.escapeHtml=c,e.escapeQuote=b,e.unescapeQuote=y,e.escapeHtmlEntities=w,e.escapeDangerHtml5Entities=x,e.clearNonPrintableCharacter=C,e.friendlyAttrValue=k,e.escapeAttrValue=j,e.onIgnoreTagStripAll=function(){return""},e.StripTagBody=function(t,e){"function"!=typeof e&&(e=function(){});var s=!Array.isArray(t),i=[],r=!1;return{onIgnoreTag:function(o,n,c){if(function(e){return!!s||-1!==a.indexOf(t,e)}(o)){if(c.isClosing){var l="[/removed]",u=c.position+l.length;return i.push([!1!==r?r:c.position,u]),r=!1,l}return r||(r=c.position),"[removed]"}return e(o,n,c)},remove:function(t){var e="",s=0;return a.forEach(i,(function(i){e+=t.slice(s,i[0]),s=i[1]})),e+=t.slice(s)}}},e.stripCommentTag=function(t){for(var e="",s=0;s<t.length;){var i=t.indexOf("\x3c!--",s);if(-1===i){e+=t.slice(s);break}e+=t.slice(s,i);var r=t.indexOf("--\x3e",i);if(-1===r)break;s=r+3}return e},e.stripBlankChar=function(t){var e=t.split("");return(e=e.filter((function(t){var e=t.charCodeAt(0);return 127!==e&&(!(e<=31)||(10===e||13===e))}))).join("")},e.attributeWrapSign='"',e.cssFilter=n,e.getDefaultCSSWhiteList=r},17:function(t,e){function s(){var t={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return t}var i=/javascript\s*\:/gim;e.whiteList=s(),e.getDefaultWhiteList=s,e.onAttr=function(t,e,s){},e.onIgnoreAttr=function(t,e,s){},e.safeAttrValue=function(t,e){return i.test(e)?"":e}},18:function(t,e){t.exports={indexOf:function(t,e){var s,i;if(Array.prototype.indexOf)return t.indexOf(e);for(s=0,i=t.length;s<i;s++)if(t[s]===e)return s;return-1},forEach:function(t,e,s){var i,r;if(Array.prototype.forEach)return t.forEach(e,s);for(i=0,r=t.length;i<r;i++)e.call(s,t[i],i,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}}},19:function(t,e,s){var i=s(12);function r(t){var e,s=i.spaceIndex(t);return e=-1===s?t.slice(1,-1):t.slice(1,s+1),"/"===(e=i.trim(e).toLowerCase()).slice(0,1)&&(e=e.slice(1)),"/"===e.slice(-1)&&(e=e.slice(0,-1)),e}function a(t){return"</"===t.slice(0,2)}var o=/[^a-zA-Z0-9\\_:.-]/gim;function n(t,e){for(;e<t.length;e++){var s=t[e];if(" "!==s)return"="===s?e:-1}}function c(t,e){for(;e<t.length;e++){var s=t[e];if(" "!==s)return"'"===s||'"'===s?e:-1}}function l(t,e){for(;e>0;e--){var s=t[e];if(" "!==s)return"="===s?e:-1}}function u(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}e.parseTag=function(t,e,s){"use strict";var i="",o=0,n=!1,c=!1,l=0,u=t.length,d="",_="";t:for(l=0;l<u;l++){var p=t.charAt(l);if(!1===n){if("<"===p){n=l;continue}}else if(!1===c){if("<"===p){i+=s(t.slice(o,l)),n=l,o=l;continue}if(">"===p||l===u-1){i+=s(t.slice(o,n)),d=r(_=t.slice(n,l+1)),i+=e(n,i.length,d,_,a(_)),o=l+1,n=!1;continue}if('"'===p||"'"===p)for(var f=1,v=t.charAt(l-f);""===v.trim()||"="===v;){if("="===v){c=p;continue t}v=t.charAt(l-++f)}}else if(p===c){c=!1;continue}}return o<u&&(i+=s(t.substr(o))),i},e.parseAttr=function(t,e){"use strict";var s=0,r=0,a=[],d=!1,_=t.length;function p(t,s){if(!((t=(t=i.trim(t)).replace(o,"").toLowerCase()).length<1)){var r=e(t,s||"");r&&a.push(r)}}for(var f=0;f<_;f++){var v,h=t.charAt(f);if(!1!==d||"="!==h)if(!1===d||f!==r)if(/\s|\n|\t/.test(h)){if(t=t.replace(/\s|\n|\t/g," "),!1===d){if(-1===(v=n(t,f))){p(i.trim(t.slice(s,f))),d=!1,s=f+1;continue}f=v-1;continue}if(-1===(v=l(t,f-1))){p(d,u(i.trim(t.slice(s,f)))),d=!1,s=f+1;continue}}else;else{if(-1===(v=t.indexOf(h,f+1)))break;p(d,i.trim(t.slice(r+1,v))),d=!1,s=(f=v)+1}else d=t.slice(s,f),s=f+1,r='"'===t.charAt(s)||"'"===t.charAt(s)?s:c(t,f+1)}return s<t.length&&(!1===d?p(t.slice(s)):p(d,u(i.trim(t.slice(s))))),i.trim(a.join(" "))}},2:function(t,e,s){"use strict";var i=s(13),r=wp.i18n,a={whiteList:{a:["href","title","target"],span:["class"],strong:["*"]},safeAttrValue:function(t,e,s,r){return"a"===t&&"href"===e&&"%s"===s?"%s":Object(i.safeAttrValue)(t,e,s,r)}},o=new i.FilterXSS(a),n=[];e.a={data:function(){return{width:{document:0},mobileWidth:768,tabletWidth:1024,isMobile:!1,isTablet:!1}},methods:{__:function(t){var e=r.__(t,"defender-security");return o.process(e)},multipleTranslation:function(t,e,s){var i=r._n(t,e,s,"defender-security");return o.process(i)},xss:function(t){return o.process(t)},vsprintf:function(t){return r.sprintf.apply(null,arguments)},homeUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.home_url+t},siteUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.site_url+t},adminUrl:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return defender.admin_url+t},assetUrl:function(t){return defender.defender_url+t},maybeHighContrast:function(){return{"sui-color-accessible":!0===defender.misc.high_contrast}},isHighContrast:function(){return!0===defender.misc.high_contrast},maybeHideBranding:function(){return defender.whitelabel.hide_branding},showSupportLinks:function(){return"disabled"===defender.is_whitelabel&&0===parseInt(defender.is_free)},isWhitelabelDisabled:function(){return"disabled"===defender.is_whitelabel},whitelabelHeroImage:function(){var t=defender.whitelabel.hero_image;return t||!1},campaign_url:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"project/wp-defender",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return s=s&&"&"!==s.slice(-1)?s+"&":s,defender.wpmudev_api_base_url+e+"/?"+s+"utm_source=defender&utm_medium=plugin&utm_campaign="+t},httpRequest:function(t,e,s,i,r){var a=this;void 0===r&&(this.state.on_saving=!0);var o=ajaxurl+"?action="+this.endpoints[e]+"&_def_nonce="+this.nonces[e],c=jQuery.ajax({url:o,method:t,data:s,success:function(t){var e=t.data;a.state.on_saving=!1,void 0!==e&&void 0!==e.message&&(t.success?Defender.showNotification("success",e.message):Defender.showNotification("error",e.message)),void 0!==i&&i(t)}});n.push(c)},httpGetRequest:function(t,e,s,i){this.httpRequest("get",t,e,s,i)},httpPostRequest:function(t,e,s,i){this.httpRequest("post",t,e,s,i)},rebindSUI:function(){jQuery(".sui-accordion").each((function(){SUI.suiAccordion(this)})),SUI.tabs(),SUI.modalDialog(),jQuery(".sui-select").SUIselect2({placeholder:function(){$(this).data("placeholder")},dropdownCssClass:"sui-select-dropdown"})},associateSUIselect2WithModal:function(t,e){""===e&&(e=jQuery(t).closest('.sui-modal-content[aria-modal="true"]').attr("id")),jQuery(t).SUIselect2({dropdownParent:jQuery("#"+e)})},ucFirst:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},windowWidth:function(t){this.width.document=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,this.isMobile=this.mobileWidth>=this.width.document,this.isTablet=this.tabletWidth>=this.width.document},getFlagEmoji:function(t){if(2===t.length)return t.toUpperCase().replace(/./g,(function(t){return String.fromCodePoint(127397+t.charCodeAt())}))},getCountryName:function(t){return 2===t.length?new Intl.DisplayNames(["en"],{type:"region"}).of(t):this.__("Unknown")},suiRemoveModalClass:function(){var t;null===(t=document.querySelector(".sui-has-modal"))||void 0===t||null===(t=t.classList)||void 0===t||t.remove("sui-has-modal")}},created:function(){this.$nextTick().then(this.windowWidth),window.addEventListener("resize",this.windowWidth)},beforeDestroy:function(){window.removeEventListener("resize",this.windowWidth)}}},20:function(t,e,s){"use strict";t.exports=function(t,e){return function(){for(var s=new Array(arguments.length),i=0;i<s.length;i++)s[i]=arguments[i];return t.apply(e,s)}}},21:function(t,e,s){"use strict";var i=s(7);function r(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,s){if(!e)return t;var a;if(s)a=s(e);else if(i.isURLSearchParams(e))a=e.toString();else{var o=[];i.forEach(e,(function(t,e){null!=t&&(i.isArray(t)?e+="[]":t=[t],i.forEach(t,(function(t){i.isDate(t)?t=t.toISOString():i.isObject(t)&&(t=JSON.stringify(t)),o.push(r(e)+"="+r(t))})))})),a=o.join("&")}if(a){var n=t.indexOf("#");-1!==n&&(t=t.slice(0,n)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}},22:function(t,e,s){"use strict";t.exports=function(t,e,s,i,r){return t.config=e,s&&(t.code=s),t.request=i,t.response=r,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},229:function(t,e,s){var i=s(247);"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};s(59)(i,r);i.locals&&(t.exports=i.locals)},23:function(t,e,s){"use strict";var i=s(7),r=s(44),a=s(45),o=s(21),n=s(46),c=s(49),l=s(50),u=s(24);t.exports=function(t){return new Promise((function(e,s){var d=t.data,_=t.headers,p=t.responseType;i.isFormData(d)&&delete _["Content-Type"];var f=new XMLHttpRequest;if(t.auth){var v=t.auth.username||"",h=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";_.Authorization="Basic "+btoa(v+":"+h)}var m=n(t.baseURL,t.url);function g(){if(f){var i="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,a={data:p&&"text"!==p&&"json"!==p?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:i,config:t,request:f};r(e,s,a),f=null}}if(f.open(t.method.toUpperCase(),o(m,t.params,t.paramsSerializer),!0),f.timeout=t.timeout,"onloadend"in f?f.onloadend=g:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(g)},f.onabort=function(){f&&(s(u("Request aborted",t,"ECONNABORTED",f)),f=null)},f.onerror=function(){s(u("Network Error",t,null,f)),f=null},f.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),s(u(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},i.isStandardBrowserEnv()){var b=(t.withCredentials||l(m))&&t.xsrfCookieName?a.read(t.xsrfCookieName):void 0;b&&(_[t.xsrfHeaderName]=b)}"setRequestHeader"in f&&i.forEach(_,(function(t,e){void 0===d&&"content-type"===e.toLowerCase()?delete _[e]:f.setRequestHeader(e,t)})),i.isUndefined(t.withCredentials)||(f.withCredentials=!!t.withCredentials),p&&"json"!==p&&(f.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&f.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){f&&(f.abort(),s(t),f=null)})),d||(d=null),f.send(d)}))}},230:function(t,e,s){var i=s(249);"string"==typeof i&&(i=[[t.i,i,""]]);var r={hmr:!0,transform:void 0,insertInto:void 0};s(59)(i,r);i.locals&&(t.exports=i.locals)},24:function(t,e,s){"use strict";var i=s(22);t.exports=function(t,e,s,r,a){var o=new Error(t);return i(o,e,s,r,a)}},245:function(t,e,s){s(291),s(301),s(303),t.exports=s(305)},246:function(t,e,s){"use strict";s(229)},247:function(t,e,s){(t.exports=s(58)(!1)).push([t.i,"#redirect_trafficwp_page_box .sui-select textarea{min-height:0}",""])},248:function(t,e,s){"use strict";s(230)},249:function(t,e,s){(t.exports=s(58)(!1)).push([t.i,".sui-vertical-tabs .sui-icon-info[data-v-054fcc33]:before{color:#fecf2f}.sui-vertical-tabs .sui-icon-info.sui-error[data-v-054fcc33]:before{color:#ff6d6d}",""])},25:function(t,e,s){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},26:function(t,e,s){"use strict";var i=s(7);t.exports=function(t,e){e=e||{};var s={},r=["url","method","data"],a=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],n=["validateStatus"];function c(t,e){return i.isPlainObject(t)&&i.isPlainObject(e)?i.merge(t,e):i.isPlainObject(e)?i.merge({},e):i.isArray(e)?e.slice():e}function l(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(s[r]=c(void 0,t[r])):s[r]=c(t[r],e[r])}i.forEach(r,(function(t){i.isUndefined(e[t])||(s[t]=c(void 0,e[t]))})),i.forEach(a,l),i.forEach(o,(function(r){i.isUndefined(e[r])?i.isUndefined(t[r])||(s[r]=c(void 0,t[r])):s[r]=c(void 0,e[r])})),i.forEach(n,(function(i){i in e?s[i]=c(t[i],e[i]):i in t&&(s[i]=c(void 0,t[i]))}));var u=r.concat(a).concat(o).concat(n),d=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return i.forEach(d,l),s}},27:function(t,e,s){"use strict";function i(t){this.message=t}i.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},i.prototype.__CANCEL__=!0,t.exports=i},28:function(t,e,s){t.exports=s(38)},29:function(t,e,s){"use strict";var i={name:"submit-button",props:["id","state","text","css-class","type"],computed:{getClass:function(){return"sui-button "+this.cssClass},disabled:function(){return!0===this.state.disabled||this.state.on_saving}}},r=s(1),a=Object(r.a)(i,(function(){var t=this,e=t._self._c;return e("button",{staticClass:"sui-button",class:[t.getClass,{"sui-button-onload":t.state.on_saving}],attrs:{id:t.id,type:t.type,disabled:t.disabled},on:{click:function(e){return t.$emit("click")}}},[e("span",{staticClass:"sui-loading-text"},[t._t("default")],2),t._v(" "),e("i",{staticClass:"sui-icon-loader sui-loading",attrs:{"aria-hidden":"true"}})])}),[],!1,null,null,null);e.a=a.exports},291:function(t,e,s){"use strict";s.r(e);var i=s(8),r=s.n(i),a=s(2),o=s(4),n=s(6),c=s(33),l={name:"search-post",mixins:[a.a],mounted:function(){var t=this,e=jQuery("#search-post"),s=ajaxurl+"?action=wp_defender/v1/hub/&route="+this.$store.state.mask_login.routes.get_posts+"&_def_nonce="+this.$store.state.mask_login.nonces.get_posts;jQuery((function(){e.SUIselect2({minimumInputLength:3,maximumSelectionLength:1,dropdownCssClass:"sui-search-dropdown",ajax:{url:s,type:"POST",dataType:"json",delay:250,data:function(t){var e={search:t.term,per_page:50},s=JSON.stringify(e);return{data:s}},processResults:function(t){return{results:jQuery.map(t.data,(function(t,e){return{text:t.name,url:t.url,id:t.id}}))}}}}),e.on("select2:select",(function(s){var i=s.params.data;t.$store.dispatch("mask_login/updateRedirectPage",i),e.val(null).trigger("change")}))}))},computed:{redirect_traffic_page_title:function(){return this.$store.state.mask_login.redirect_traffic_page_title},redirect_traffic_page_url:function(){return this.$store.state.mask_login.redirect_traffic_page_url}}},u=s(1),d=Object(u.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"search-post-wrap"},[e("p",{staticClass:"sui-description"},[t._v(t._s(t.__("Select the page or post your default login URLs will redirect to.")))]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label",attrs:{for:"search-post",id:"search-post-label"}},[t._v(t._s(t.__("Redirect URL")))]),t._v(" "),e("select",{staticClass:"sui-select",attrs:{id:"search-post","data-placeholder":t.__("Type Post/Page title"),"data-theme":"search","data-search":"true","aria-required":"true","aria-labelledby":"search-post-label"}})]),t._v(" "),t.redirect_traffic_page_title?e("div",{staticClass:"margin-top-30"},[e("span",{staticClass:"sui-dark"},[t._v(t._s(t.__("Selected Post/Page")))]),t._v(" "),e("div",{staticClass:"selected-post"},[e("span",{staticClass:"selected-post-title truncate"},[e("a",{attrs:{href:t.redirect_traffic_page_url}},[t._v("\n          "+t._s(t.redirect_traffic_page_title)+"\n        ")])]),t._v(" "),e("div",{staticClass:"selected-post-icons"},[e("button",{staticClass:"sui-button-icon sui-tooltip sui-button-red",attrs:{type:"button","data-tooltip":t.__("Remove Post/Page")},on:{click:function(e){return t.$store.dispatch("mask_login/removeRedirectPage")}}},[e("i",{staticClass:"sui-icon-trash",attrs:{"aria-hidden":"true"}})])])])]):t._e()])}),[],!1,null,null,null).exports,_=s(9);function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function v(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?f(Object(s),!0).forEach((function(e){h(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):f(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function h(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=p(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=p(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==p(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var m={components:{Sidetab:c.a,SubmitButton2:n.a,SearchPost:d},mixins:[a.a],props:["onMaskState","onMaskEnabled"],name:"mask-login",data:function(){return{show_notice:!0}},methods:v({handleResult:function(t){this.$store.dispatch("mask_login/toggle"),this.trackFeature({event:t?"def_feature_deactivated":"def_feature_activated",data:{Feature:"Mask Login Area","Triggered From":"Feature page"}})},toggle:function(t){var e=this,s={};s.enabled=t,this.httpPostRequest("update_settings",{data:s},(function(){e.model.enabled=t}))},isUrlOrSlug:function(t){return/^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w\.-]+)+[\w\-\._~:/?#[\]@!\$&'\(\)\*\+,;=.]+$/i.test(t)?"url":"slug"}},Object(_.b)("AnalyticsTracking",["trackFeature"])),computed:v({new_mask_login:function(){return""===this.new_login_url?"":this.new_login_url},login_redirect_url:function(){return this.misc.login_redirect_url},masking_url_desc:function(){var t=this.__("Replace the default <strong>wp-admin</strong> or <strong>wp-login</strong> with a custom slug below.\n        For security reasons, less obvious URLs are recommended as they are harder for bots to guess.\n        Note that the following list of slugs cannot be used for masking your login area:");return t+=" <em>wp-admin, wp-login.php, wp-login, login, dashboard, admin</em>."},show_mask_url_error_notice:function(){return this.show_notice&&this.is_mask_url_page_post_exists&&!this.is_active},show_mask_url_warning_notice:function(){return this.is_mask_url_empty&&!this.is_active},show_mask_url_success_notice:function(){return this.is_active}},Object(o.b)("mask_login",{model:"model",new_login_url:"new_login_url",is_active:"is_active",notices:"notices",redirect_traffic_page_title:"redirect_traffic_page_title",redirect_traffic_page_url:"redirect_traffic_page_url",is_mask_url_empty:"is_mask_url_empty",is_mask_url_page_post_exists:"is_mask_url_page_post_exists"})),mounted:function(){var t=sessionStorage.getItem("wpdef_mask_url");if(t){var e=JSON.parse(t);void 0!==(null==e?void 0:e.error)&&(this.show_notice=!1,"undefined"==typeof SUI?document.onreadystatechange=function(){"complete"===document.readyState&&Defender.showNotification("error",e.error,!1)}:Defender.showNotification("error",e.error,!1)),sessionStorage.removeItem("wpdef_mask_url")}}},g=(s(246),Object(u.a)(m,(function(){var t=this,e=t._self._c;return!1===t.model.enabled?e("div",{staticClass:"sui-box",attrs:{id:"mask-login-disabled"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n      "+t._s(t.__("Mask Login Area"))+"\n    ")])]),t._v(" "),e("div",{staticClass:"sui-message"},[t.maybeHideBranding()?t._e():e("img",{staticClass:"sui-image",attrs:{src:t.assetUrl("assets/img/disabled-module.png"),"aria-hidden":"true"}}),t._v(" "),t.maybeHideBranding()&&t.whitelabelHeroImage()?e("img",{staticClass:"sui-image wd-whitelabel-custom-branding-logo",attrs:{src:t.whitelabelHeroImage(),"aria-hidden":"true"}}):t._e(),t._v(" "),e("div",{staticClass:"sui-message-content"},[e("p",[t._v("\n        "+t._s(t.__("Change the location of WordPress's default login area, making it harder for automated bots to find and also more convenient for your users."))+"\n      ")]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.handleResult(t.model.enabled)}}},[e("submit-button2",{attrs:{action:"toggle","css-class":"sui-button-blue activate"}},[t._v("\n          "+t._s(t.__("Activate"))+"\n        ")])],1)])])]):e("div",{staticClass:"sui-box",attrs:{id:"mask-login"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n      "+t._s(t.__("Mask Login Area"))+"\n    ")])]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.$store.dispatch("mask_login/saveSettings")}}},[e("div",{staticClass:"sui-box-body"},[e("p",[t._v("\n        "+t._s(t.__("Change your default WordPress login URL to hide your login area from hackers and bots."))+"\n      ")]),t._v(" "),t.notices.length?e("div",{staticClass:"sui-notice sui-notice-error"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",t._l(t.notices,(function(s){return e("span",[t._v("\n                  "+t._s(s)+"\n              ")])})),0)])])]):t._e(),t._v(" "),t.show_mask_url_error_notice?e("div",{staticClass:"sui-notice sui-notice-error"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v("\n                      "+t._s(t.__("A page already exists at this URL. Please enter a unique URL for your login area."))+"\n                  ")])])])]):t.show_mask_url_warning_notice?e("div",{staticClass:"sui-notice sui-notice-warning"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v("\n              "+t._s(t.__("Masking is currently inactive. Choose your URL and save your settings to finish setup."))+"\n            ")])])])]):t.show_mask_url_success_notice?e("div",{staticClass:"sui-notice sui-notice-success"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-check-tick sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v("\n              "+t._s(t.__("Masking is currently active at "))+" "),e("a",{attrs:{href:t.new_login_url,target:"_blank"},domProps:{textContent:t._s(t.new_login_url)}})])])])]):t._e(),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n            "+t._s(t.__("Masking URL slug"))+"\n          ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n            "+t._s(t.__("Choose the new URL slug where users of your website will now navigate to log in or register."))+"\n          ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("span",{staticClass:"sui-description",domProps:{innerHTML:t._s(t.masking_url_desc)}}),t._v(" "),e("div",{staticClass:"sui-form-field",class:{"sui-form-field-error":t.is_mask_url_page_post_exists}},[e("label",{staticClass:"sui-label"},[t._v("\n              "+t._s(t.__("New Login URL slug"))+"\n            ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.mask_url,expression:"model.mask_url"}],staticClass:"sui-form-control",attrs:{type:"text",name:"mask_url",placeholder:"new-login-slug"},domProps:{value:t.model.mask_url},on:{input:function(e){e.target.composing||t.$set(t.model,"mask_url",e.target.value)}}}),t._v(" "),t.is_mask_url_page_post_exists?e("span",{staticClass:"sui-error-message",attrs:{role:"alert"}},[t._v("\n              "+t._s(t.__("URL already exists. Please enter a different slug."))+"\n            ")]):t._e(),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Note: Registration and Password Reset emails have hardcoded URLs in them. We will update them automatically to match your new login URL."))+"\n            ")])])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n            "+t._s(t.__("Redirect traffic"))+"\n          ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n            "+t._s(t.__("Send visitors and bots who try to visit the default WordPress login URLs to a separate URL to avoid 404s."))+"\n          ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("sidetab",{attrs:{slug:"redirect_traffic",active:t.model.redirect_traffic,labels:[{text:t.__("Off"),mute:!0,value:"off"},{text:t.__("Choose redirect page"),mute:!1,value:"wp_page"},{text:t.__("Custom Url"),mute:!1,value:"custom_url"}]},on:{selected:function(e){t.model.redirect_traffic=e}},scopedSlots:t._u([{key:"wp_page",fn:function(){return[e("search-post")]},proxy:!0},{key:"custom_url",fn:function(){return[e("p",{staticClass:"sui-description"},[t._v("\n                "+t._s(t.__("Visitors who visit the default login URLs will be redirected to the custom URL you will set below."))+"\n              ")]),t._v(" "),e("label",{staticClass:"sui-label"},[t._v(t._s(t.__("Redirection URL")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.redirect_traffic_url,expression:"model.redirect_traffic_url"}],staticClass:"sui-form-control",attrs:{placeholder:t.__("E.g. 404-error"),type:"text",name:"redirect_traffic_url"},domProps:{value:t.model.redirect_traffic_url},on:{input:function(e){e.target.composing||t.$set(t.model,"redirect_traffic_url",e.target.value)}}})]},proxy:!0}])})],1)]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n            "+t._s(t.__("Deactivate"))+"\n          ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n            "+t._s(t.__("Disable login area masking and return to the default wp-admin and wp-login URLS."))+"\n          ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("submit-button2",{attrs:{action:"toggle","css-class":"sui-button-ghost",type:"button"},on:{click:function(e){return t.handleResult(t.model.enabled)}}},[t._v("\n            "+t._s(t.__("Deactivate"))+"\n          ")])],1)])]),t._v(" "),e("div",{staticClass:"sui-box-footer"},[e("div",{staticClass:"sui-actions-right"},[e("submit-button2",{attrs:{action:"settings","css-class":"sui-button-blue save-changes"}},[e("i",{staticClass:"sui-icon-save",attrs:{"aria-hidden":"true"}}),t._v("\n          "+t._s(t.__("Save Changes"))+"\n        ")])],1)])])])}),[],!1,null,null,null).exports),b={mixins:[a.a],props:["misc","model"],name:"sh-xframe",data:function(){return{state:{on_saving:!1},tabUrlsText:""}},created:function(){this.tabUrlsText=vsprintf(this.__("The page <strong>%s</strong> will only be displayed in a frame on the specified origin. One per line."),this.siteUrl)}},y=Object(u.a)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-toggle-content"},[e("span",{staticClass:"sui-description toogle-content-description"},[t._v("\n\t\t"+t._s(t.__("Choose whether or not you want to allow your webpages to be embedded inside iframes."))+"\n\t")]),t._v(" "),e("div",{staticClass:"sui-side-tabs"},[e("div",{staticClass:"sui-tabs-menu"},[e("label",{staticClass:"sui-tab-item",class:{active:"sameorigin"===t.model.sh_xframe_mode},attrs:{for:"xf-sameorigin"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_xframe_mode,expression:"model.sh_xframe_mode"}],attrs:{type:"radio",name:"sh_xframe_mode",value:"sameorigin",id:"xf-sameorigin","data-tab-menu":"xf-sameorigin-box"},domProps:{checked:t._q(t.model.sh_xframe_mode,"sameorigin")},on:{change:function(e){return t.$set(t.model,"sh_xframe_mode","sameorigin")}}}),t._v("\n\t\t\t\t"+t._s(t.__("Sameorigin"))+"\n\t\t\t")]),t._v(" "),e("label",{staticClass:"sui-tab-item",class:{active:"deny"===t.model.sh_xframe_mode},attrs:{for:"xf-deny"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_xframe_mode,expression:"model.sh_xframe_mode"}],attrs:{type:"radio",name:"sh_xframe_mode",value:"deny",id:"xf-deny","data-tab-menu":"xf-deny-box"},domProps:{checked:t._q(t.model.sh_xframe_mode,"deny")},on:{change:function(e){return t.$set(t.model,"sh_xframe_mode","deny")}}}),t._v("\n\t\t\t\t"+t._s(t.__("Deny"))+"\n\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-tabs-content"},[e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"sameorigin"===t.model.sh_xframe_mode},attrs:{id:"xf-sameorigin-box","data-tab-content":"xf-sameorigin-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n\t\t\t\t\t"+t._s(t.__("The page can only be displayed in a frame on the same origin as the page itself. The spec leaves it up to browser vendors to decide whether this option applies to the top level, the parent, or the whole chain."))+"\n\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"deny"===t.model.sh_xframe_mode},attrs:{id:"xf-deny-box","data-tab-content":"xf-deny-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n\t\t\t\t\t"+t._s(t.__("The page can’t be displayed in a frame, regardless of the site attempting to do so."))+"\n\t\t\t\t")])])])])])}),[],!1,null,null,null).exports,w={mixins:[a.a],props:["misc","model"],name:"sh_xss_protection",data:function(){return{state:{on_saving:!1}}}},x=Object(u.a)(w,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-toggle-content"},[e("span",{staticClass:"sui-description toogle-content-description"},[t._v("\n        "+t._s(t.__("Choose what level of protection X-XSS protection you would like to apply when XSS attacks are detected."))+"\n    ")]),t._v(" "),e("div",{staticClass:"sui-side-tabs"},[e("div",{staticClass:"sui-tabs-menu"},[e("label",{staticClass:"sui-tab-item",class:{active:"sanitize"===t.model.sh_xss_protection_mode},attrs:{for:"xss-sanitize"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_xss_protection_mode,expression:"model.sh_xss_protection_mode"}],attrs:{type:"radio",name:"sh_xss_protection_mode",value:"sanitize",id:"xss-sanitize","data-tab-menu":"xss-sanitize-box"},domProps:{checked:t._q(t.model.sh_xss_protection_mode,"sanitize")},on:{change:function(e){return t.$set(t.model,"sh_xss_protection_mode","sanitize")}}}),t._v("\n                "+t._s(t.__("Sanitize"))+"\n            ")]),t._v(" "),e("label",{staticClass:"sui-tab-item",class:{active:"block"===t.model.sh_xss_protection_mode},attrs:{for:"xss-block"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_xss_protection_mode,expression:"model.sh_xss_protection_mode"}],attrs:{type:"radio",name:"sh_xss_protection_mode",value:"block",id:"xss-block","data-tab-menu":"xss-block-box"},domProps:{checked:t._q(t.model.sh_xss_protection_mode,"block")},on:{change:function(e){return t.$set(t.model,"sh_xss_protection_mode","block")}}}),t._v("\n                "+t._s(t.__("Block"))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-tabs-content"},[e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"sanitize"===t.model.sh_xss_protection_mode},attrs:{id:"xss-sanitize-box","data-tab-content":"xss-sanitize-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n                    "+t._s(t.__("If a cross-site scripting attack is detected, the browser will sanitize the page (remove the unsafe parts)."))+"\n                ")])]),t._v(" "),e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"block"===t.model.sh_xss_protection_mode},attrs:{id:"xss-block-box","data-tab-content":"xss-allow-from-box"}},[e("span",{staticClass:"sui-description"},[t._v("\n                    "+t._s(t.__("Enables XSS filtering. Rather than sanitizing the page, the browser will prevent rendering of the page if an attack is detected."))+"\n                ")])])])])])}),[],!1,null,null,null).exports,C={mixins:[a.a],name:"sh-content-type-options"},k=Object(u.a)(C,(function(){var t=this._self._c;return t("div",{staticClass:"sui-toggle-content"},[t("span",{staticClass:"sui-description toogle-content-description"},[this._v("\n\t\t\t"+this._s(this.__("Defender will automatically enforce the 'nosniff' X-Content-Type-Options header to help prevent MIME type sniffing and XSS attacks."))+"\n\t\t")])])}),[],!1,null,null,null).exports,j={mixins:[a.a],name:"sh-strict-transport",props:["misc","model"],data:function(){return{state:{on_saving:!1},hsts_preload:null,allow_subdomain:null,include_subdomain:null,hsts_cache_duration:null}},created:function(){this.hsts_preload=this.misc.diff.hsts_preload,this.allow_subdomain=this.misc.diff.allow_subdomain,this.include_subdomain=this.misc.diff.include_subdomain,!1===this.allow_subdomain&&(this.include_subdomain=!1),this.hsts_cache_duration=this.misc.diff.hsts_cache_duration},mounted:function(){var t=this;jQuery("#hsts-cache-duration").on("change",(function(){var e=jQuery(this).val();t.hsts_cache_duration=e,t.$parent.$emit("hsts_maximum_age",e)}))},computed:{show_hsts_warning:function(){return 1===parseInt(this.model.hsts_preload)},hsts_warning_text:function(){return vsprintf(this.__('Note: Do not include the preload directive by default if you maintain a project that provides HTTPS configuration advice or provides an option to enable HSTS. Be aware that inclusion in the preload list cannot easily be undone. Domains can be removed, but it takes months for a change. Check <a target="_blank" href="%s">here</a> for more information.'),"https://hstspreload.org/")},text_browser_caching:function(){return vsprintf(this.__('Select when the browser should cache and enforce the Strict Transport Security policy. The HSTS Maximum Age should be set to at least 30 days. To find out more about the differences in max-age values, click <a target="_blank" href="%s">here</a>.'),"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security#Examples")}}},P=Object(u.a)(j,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-toggle-content"},[e("div",{staticClass:"sui-border-frame"},[e("label",{staticClass:"sui-checkbox",attrs:{for:"hsts_preload"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.hsts_preload,expression:"model.hsts_preload"}],attrs:{type:"checkbox",name:"model.hsts_preload","true-value":"1","false-value":"0","aria-labelledby":"label_hsts_preload",id:"hsts_preload"},domProps:{checked:Array.isArray(t.model.hsts_preload)?t._i(t.model.hsts_preload,null)>-1:t._q(t.model.hsts_preload,"1")},on:{change:function(e){var s=t.model.hsts_preload,i=e.target,r=i.checked?"1":"0";if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"hsts_preload",s.concat([null])):a>-1&&t.$set(t.model,"hsts_preload",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"hsts_preload",r)}}}),t._v(" "),e("span",{attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{attrs:{id:"label_hsts_preload"}},[t._v(t._s(t.__("HSTS Preload")))])]),t._v(" "),e("span",{staticClass:"sui-description margin-bottom-10"},[t._v(t._s(t.__("Google maintains an HSTS preload service. By following the guidelines and successfully submitting your domain, browsers will never connect to your domain using an insecure connection.")))]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.show_hsts_warning,expression:"show_hsts_warning"}],staticClass:"sui-notice sui-notice-warning"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.hsts_warning_text)}})])])]),t._v(" "),!0===t.allow_subdomain?e("div",{staticClass:"margin-bottom-30"},[e("label",{staticClass:"sui-checkbox",attrs:{for:"include_subdomain"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.include_subdomain,expression:"model.include_subdomain"}],attrs:{type:"checkbox","true-value":"1","false-value":"0","aria-labelledby":"label_include_subdomain",id:"include_subdomain"},domProps:{checked:Array.isArray(t.model.include_subdomain)?t._i(t.model.include_subdomain,null)>-1:t._q(t.model.include_subdomain,"1")},on:{change:function(e){var s=t.model.include_subdomain,i=e.target,r=i.checked?"1":"0";if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"include_subdomain",s.concat([null])):a>-1&&t.$set(t.model,"include_subdomain",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"include_subdomain",r)}}}),t._v(" "),e("span",{attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{attrs:{id:"label_include_subdomain"}},[t._v(t._s(t.__("Include Subdomains")))])]),t._v(" "),e("span",{staticClass:"sui-description margin-bottom-10"},[t._v(t._s(t.__("If this optional parameter is specified, this rule applies to all of the site's subdomains as well.")))])]):t._e(),t._v(" "),e("div",{staticClass:"toggle-content-header"},[t._v(t._s(t.__("Browser Caching")))]),t._v(" "),e("span",{staticClass:"sui-description",domProps:{innerHTML:t._s(t.text_browser_caching)}}),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("div",{staticClass:"sui-row"},[e("div",{staticClass:"sui-col-md-5"},[e("label",{staticClass:"sui-label",attrs:{for:"hsts-cache-duration",id:"label-hsts-cache-duration"}},[t._v(t._s(t.__("HSTS Maximum Age")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.model.hsts_cache_duration,expression:"model.hsts_cache_duration"}],staticClass:"sui-select sui-select-sm",attrs:{id:"hsts-cache-duration",name:"hsts_cache_duration","data-module":"sh-strict-transport","aria-labelledby":"label-hsts-cache-duration","data-key":"hsts_cache_duration"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.model,"hsts_cache_duration",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"1 hour"}},[t._v(t._s(t.__("1 hour")))]),t._v(" "),e("option",{attrs:{value:"24 hours"}},[t._v(t._s(t.__("24 hours")))]),t._v(" "),e("option",{attrs:{value:"7 days"}},[t._v(t._s(t.__("7 days")))]),t._v(" "),e("option",{attrs:{value:"30 days"}},[t._v(t._s(t.__("30 days")))]),t._v(" "),e("option",{attrs:{value:"3 months"}},[t._v(t._s(t.__("3 months")))]),t._v(" "),e("option",{attrs:{value:"6 months"}},[t._v(t._s(t.__("6 months")))]),t._v(" "),e("option",{attrs:{value:"1 year"}},[t._v(t._s(t.__("1 year")))]),t._v(" "),e("option",{attrs:{value:"2 years"}},[t._v(t._s(t.__("2 years")))])])])])])])])}),[],!1,null,null,null).exports,S={mixins:[a.a],name:"sh-referrer-policy",props:["misc","model"],data:function(){return{state:{on_saving:!1},mode:null,policyDesc:""}},created:function(){this.mode=this.misc.diff.mode},mounted:function(){var t=this;jQuery("#referrer-policy").on("change",(function(){t.mode=jQuery(this).val()}))},watch:{mode:function(){"no-referrer"===this.mode&&(this.policyDesc=this.__("The Referer header will be omitted entirely. No referrer information is sent along with requests.")),"no-referrer-when-downgrade"===this.mode&&(this.policyDesc=this.__("This is the user agent's default behavior if no policy is specified. The origin is sent as referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but isn't sent to a less secure destination (HTTPS->HTTP).")),"origin"===this.mode&&(this.policyDesc=this.__("Only send the origin of the document as the referrer in all cases. The document https://example.com/page.html will send the referrer https://example.com/.")),"origin-when-cross-origin"===this.mode&&(this.policyDesc=this.__("Send a full URL when performing a same-origin request, but only send the origin of the document for other cases.")),"same-origin"===this.mode&&(this.policyDesc=this.__("A referrer will be sent for same-site origins, but cross-origin requests will contain no referrer information.")),"strict-origin"===this.mode&&(this.policyDesc=this.__("Only send the origin of the document as the referrer to a-priori as-much-secure destination (HTTPS->HTTPS), but don't send it to a less secure destination (HTTPS->HTTP).")),"strict-origin-when-cross-origin"===this.mode&&(this.policyDesc=this.__("Send a full URL when performing a same-origin request, only send the origin of the document to a-priori as-much-secure destination (HTTPS->HTTPS), and send no header to a less secure destination (HTTPS->HTTP).")),"unsafe-url"===this.mode&&(this.policyDesc=this.__("Send a full URL (stripped from parameters) when performing a a same-origin or cross-origin request.")),this.$parent.$emit("mode_referrer_policy",this.mode)}}},A=Object(u.a)(S,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-toggle-content"},[e("span",{staticClass:"sui-description toogle-content-description"},[t._v("\n\t\t"+t._s(t.__("Choose which referrer information to send along with requests."))+"\n\t")]),t._v(" "),e("div",{staticClass:"sui-border-frame"},[e("div",{staticClass:"sui-row"},[e("div",{staticClass:"sui-col-md-7"},[e("label",{staticClass:"sui-label",attrs:{for:"referrer-policy",id:"label-referrer-policy"}},[t._v(t._s(t.__("Referrer Information")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_referrer_policy_mode,expression:"model.sh_referrer_policy_mode"}],staticClass:"sui-select sui-select-sm",attrs:{id:"referrer-policy",name:"sh_referrer_policy_mode","aria-labelledby":"label-referrer-policy"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.model,"sh_referrer_policy_mode",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"no-referrer"}},[t._v("no-referrer")]),t._v(" "),e("option",{attrs:{value:"no-referrer-when-downgrade"}},[t._v("no-referrer-when-downgrade")]),t._v(" "),e("option",{attrs:{value:"origin"}},[t._v("origin")]),t._v(" "),e("option",{attrs:{value:"origin-when-cross-origin"}},[t._v("origin-when-cross-origin")]),t._v(" "),e("option",{attrs:{value:"same-origin"}},[t._v("same-origin")]),t._v(" "),e("option",{attrs:{value:"strict-origin"}},[t._v("strict-origin")]),t._v(" "),e("option",{attrs:{value:"strict-origin-when-cross-origin"}},[t._v("strict-origin-when-cross-origin")]),t._v(" "),e("option",{attrs:{value:"unsafe-url"}},[t._v("unsafe-url")])])]),t._v(" "),e("div",{staticClass:"sui-col-md-12",style:{marginTop:"10px"}},[e("p",{staticClass:"sui-description",domProps:{innerHTML:t._s(t.policyDesc)}})])])])])}),[],!1,null,null,null).exports,O={mixins:[a.a],props:["misc","model"],name:"sh-feature-policy",data:function(){return{state:{on_saving:!1},tabUrlsText:""}},created:function(){this.tabUrlsText=vsprintf(this.__("The feature is allowed for specific origins. Place URLs here <strong>%s</strong>, one per line."),this.siteUrl)}},T=Object(u.a)(O,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-toggle-content"},[e("span",{staticClass:"sui-description toogle-content-description"},[t._v("\n        "+t._s(t.__("Choose an option that matches your requirements from the options below to prevent unwanted actions when your webpages are embedded elsewhere."))+"\n    ")]),t._v(" "),e("div",{staticClass:"sui-side-tabs"},[e("div",{staticClass:"sui-tabs-menu"},[e("label",{staticClass:"sui-tab-item",class:{active:"self"===t.model.sh_feature_policy_mode},attrs:{for:"fp-site"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_feature_policy_mode,expression:"model.sh_feature_policy_mode"}],attrs:{type:"radio",name:"model.sh_feature_policy_mode",value:"self",id:"fp-site","data-tab-menu":"fp-site-box"},domProps:{checked:t._q(t.model.sh_feature_policy_mode,"self")},on:{change:function(e){return t.$set(t.model,"sh_feature_policy_mode","self")}}}),t._v("\n                "+t._s(t.__("On site & iframe"))+"\n            ")]),t._v(" "),e("label",{staticClass:"sui-tab-item",class:{active:"allow"===t.model.sh_feature_policy_mode},attrs:{for:"fp-allow"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_feature_policy_mode,expression:"model.sh_feature_policy_mode"}],attrs:{type:"radio",name:"model.sh_feature_policy_mode",value:"allow",id:"fp-allow","data-tab-menu":"fp-allow-box"},domProps:{checked:t._q(t.model.sh_feature_policy_mode,"allow")},on:{change:function(e){return t.$set(t.model,"sh_feature_policy_mode","allow")}}}),t._v("\n                "+t._s(t.__("All"))+"\n            ")]),t._v(" "),e("label",{staticClass:"sui-tab-item",class:{active:"origins"===t.model.sh_feature_policy_mode},attrs:{for:"fp-origins"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_feature_policy_mode,expression:"model.sh_feature_policy_mode"}],attrs:{type:"radio",name:"model.sh_feature_policy_mode",value:"origins",id:"fp-origins","data-tab-menu":"fp-origins-box"},domProps:{checked:t._q(t.model.sh_feature_policy_mode,"origins")},on:{change:function(e){return t.$set(t.model,"sh_feature_policy_mode","origins")}}}),t._v("\n                "+t._s(t.__("Specific Origins"))+"\n            ")]),t._v(" "),e("label",{staticClass:"sui-tab-item",class:{active:"none"===t.model.sh_feature_policy_mode},attrs:{for:"fp-none"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_feature_policy_mode,expression:"model.sh_feature_policy_mode"}],attrs:{type:"radio",name:"model.sh_feature_policy_mode",value:"none",id:"fp-none","data-tab-menu":"fp-none-box"},domProps:{checked:t._q(t.model.sh_feature_policy_mode,"none")},on:{change:function(e){return t.$set(t.model,"sh_feature_policy_mode","none")}}}),t._v("\n                "+t._s(t.__("None"))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-tabs-content"},[e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"self"===t.model.sh_feature_policy_mode},attrs:{id:"fp-site-box","data-tab-content":"fp-site-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n                    "+t._s(t.__("The page can only be displayed in a frame on the same origin as the page itself. The spec leaves it up to browser vendors to decide whether this option applies to the top level, the parent, or the whole chain."))+"\n                ")])]),t._v(" "),e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"allow"===t.model.sh_feature_policy_mode},attrs:{id:"fp-allow-box","data-tab-content":"fp-allow-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n                    "+t._s(t.__("The feature will be allowed in this document, and all nested browsing contexts (iframes) regardless of their origin."))+"\n                ")])]),t._v(" "),e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"origins"===t.model.sh_feature_policy_mode},attrs:{id:"fp-origins-box","data-tab-content":"fp-origins-box"}},[e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label"},[t._v(t._s(t.__("Origin URL")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_feature_policy_urls,expression:"model.sh_feature_policy_urls"}],staticClass:"sui-form-control",attrs:{name:"sh_feature_policy_urls",placeholder:t.__("Place URLs here, one per line")},domProps:{value:t.model.sh_feature_policy_urls},on:{input:function(e){e.target.composing||t.$set(t.model,"sh_feature_policy_urls",e.target.value)}}}),t._v(" "),e("span",{staticClass:"sui-description",domProps:{innerHTML:t._s(t.tabUrlsText)}})])]),t._v(" "),e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:{active:"none"===t.model.sh_feature_policy_mode},attrs:{id:"fp-none-box","data-tab-content":"fp-none-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n                    "+t._s(t.__("The feature is disabled in top-level and nested browsing contexts."))+"\n                ")])])])])])}),[],!1,null,null,null).exports;function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function $(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function L(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=E(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=E(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==E(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var R={mixins:[a.a],components:{SubmitButton2:n.a,"sh-xframe":y,"sh-xss-protection":x,"sh-content-type":k,"sh-strict-transport":P,"sh-referrer-policy":A,"sh-feature-policy":T},name:"security-headers",methods:{updateSettings:function(){var t=this.model;this.httpPostRequest("update_settings",{data:t})},header_label:function(t){return this.vsprintf(this.__("Enable %s"),t)}},created:function(){this.$on("mode_referrer_policy",(function(t){this.model.sh_referrer_policy_mode=t})),this.$on("hsts_maximum_age",(function(t){this.model.hsts_cache_duration=t}))},computed:function(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?$(Object(s),!0).forEach((function(e){L(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):$(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}({},Object(o.b)("security_headers",{model:"model",misc:"misc"}))},N=Object(u.a)(R,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-box",attrs:{id:"security-headers"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n\t\t\t"+t._s(t.__("Security Headers"))+"\n\t\t")])]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.$store.dispatch("security_headers/saveSettings")}}},[e("div",{staticClass:"sui-box-body"},[e("p",[t._v(t._s(t.__("Add extra security to your website by enabling and configuring the security headers.")))]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_xframe.title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_xframe.diff.intro_text)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field",attrs:{id:"sh_xframe_wrap"}},[e("label",{staticClass:"sui-toggle",attrs:{for:"sh_xframe"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_xframe,expression:"model.sh_xframe"}],staticClass:"toggle-checkbox",attrs:{role:"presentation",type:"checkbox",name:"sh_xframe",id:"sh_xframe","aria-labelledby":"sh_xframe_label","false-value":!1,"true-value":!0},domProps:{checked:Array.isArray(t.model.sh_xframe)?t._i(t.model.sh_xframe,null)>-1:t.model.sh_xframe},on:{change:function(e){var s=t.model.sh_xframe,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"sh_xframe",s.concat([null])):a>-1&&t.$set(t.model,"sh_xframe",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"sh_xframe",r)}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{id:"sh_xframe_label"}},[t._v(t._s(t.header_label(t.misc.sh_xframe.title)))])]),t._v(" "),e("sh-xframe",{directives:[{name:"show",rawName:"v-show",value:!0===t.model.sh_xframe,expression:"true === model.sh_xframe"}],attrs:{misc:t.misc.sh_xframe,model:t.model}})],1)])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_xss_protection.title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_xss_protection.diff.intro_text)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field",attrs:{id:"sh_xss_protection_wrap"}},[e("label",{staticClass:"sui-toggle",attrs:{for:"sh_xss_protection"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_xss_protection,expression:"model.sh_xss_protection"}],staticClass:"toggle-checkbox",attrs:{role:"presentation",type:"checkbox",name:"sh_xss_protection",id:"sh_xss_protection","aria-labelledby":"sh_xss_protection_label","false-value":!1,"true-value":!0},domProps:{checked:Array.isArray(t.model.sh_xss_protection)?t._i(t.model.sh_xss_protection,null)>-1:t.model.sh_xss_protection},on:{change:function(e){var s=t.model.sh_xss_protection,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"sh_xss_protection",s.concat([null])):a>-1&&t.$set(t.model,"sh_xss_protection",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"sh_xss_protection",r)}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{id:"sh_xss_protection_label"}},[t._v(t._s(t.header_label(t.misc.sh_xss_protection.title)))])]),t._v(" "),e("sh-xss-protection",{directives:[{name:"show",rawName:"v-show",value:!0===t.model.sh_xss_protection,expression:"true === model.sh_xss_protection"}],attrs:{misc:t.misc.sh_xss_protection,model:t.model}})],1)])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_content_type_options.title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_content_type_options.diff.intro_text)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field",attrs:{id:"sh_content_type_options_wrap"}},[e("label",{staticClass:"sui-toggle",attrs:{for:"sh_content_type_options"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_content_type_options,expression:"model.sh_content_type_options"}],staticClass:"toggle-checkbox",attrs:{role:"presentation",type:"checkbox",name:"sh_content_type_options",id:"sh_content_type_options","aria-labelledby":"sh_content_type_options_label","false-value":!1,"true-value":!0},domProps:{checked:Array.isArray(t.model.sh_content_type_options)?t._i(t.model.sh_content_type_options,null)>-1:t.model.sh_content_type_options},on:{change:function(e){var s=t.model.sh_content_type_options,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"sh_content_type_options",s.concat([null])):a>-1&&t.$set(t.model,"sh_content_type_options",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"sh_content_type_options",r)}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{id:"sh_content_type_options_label"}},[t._v(t._s(t.header_label(t.misc.sh_content_type_options.title)))])]),t._v(" "),e("sh-content-type",{directives:[{name:"show",rawName:"v-show",value:!0===t.model.sh_content_type_options,expression:"true === model.sh_content_type_options"}]})],1)])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_strict_transport.title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_strict_transport.diff.intro_text)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field",attrs:{id:"sh_strict_transport_wrap"}},[e("label",{staticClass:"sui-toggle",attrs:{for:"sh_strict_transport"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_strict_transport,expression:"model.sh_strict_transport"}],staticClass:"toggle-checkbox",attrs:{role:"presentation",type:"checkbox",name:"sh_strict_transport",id:"sh_strict_transport","aria-labelledby":"sh_strict_transport_label","false-value":!1,"true-value":!0},domProps:{checked:Array.isArray(t.model.sh_strict_transport)?t._i(t.model.sh_strict_transport,null)>-1:t.model.sh_strict_transport},on:{change:function(e){var s=t.model.sh_strict_transport,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"sh_strict_transport",s.concat([null])):a>-1&&t.$set(t.model,"sh_strict_transport",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"sh_strict_transport",r)}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{id:"sh_strict_transport_label"}},[t._v(t._s(t.header_label(t.misc.sh_strict_transport.title)))])]),t._v(" "),e("sh-strict-transport",{directives:[{name:"show",rawName:"v-show",value:!0===t.model.sh_strict_transport,expression:"true === model.sh_strict_transport"}],attrs:{misc:t.misc.sh_strict_transport,model:t.model}})],1)])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_referrer_policy.title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_referrer_policy.diff.intro_text)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field",attrs:{id:"sh_referrer_policy_wrap"}},[e("label",{staticClass:"sui-toggle",attrs:{for:"sh_referrer_policy"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_referrer_policy,expression:"model.sh_referrer_policy"}],staticClass:"toggle-checkbox",attrs:{role:"presentation",type:"checkbox",name:"sh_referrer_policy",id:"sh_referrer_policy","aria-labelledby":"sh_referrer_policy_label","false-value":!1,"true-value":!0},domProps:{checked:Array.isArray(t.model.sh_referrer_policy)?t._i(t.model.sh_referrer_policy,null)>-1:t.model.sh_referrer_policy},on:{change:function(e){var s=t.model.sh_referrer_policy,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"sh_referrer_policy",s.concat([null])):a>-1&&t.$set(t.model,"sh_referrer_policy",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"sh_referrer_policy",r)}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{id:"sh_referrer_policy_label"}},[t._v(t._s(t.header_label(t.misc.sh_referrer_policy.title)))])]),t._v(" "),e("sh-referrer-policy",{directives:[{name:"show",rawName:"v-show",value:!0===t.model.sh_referrer_policy,expression:"true === model.sh_referrer_policy"}],attrs:{misc:t.misc.sh_referrer_policy,model:t.model}})],1)])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_feature_policy.title)+"\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n\t\t\t\t\t\t"+t._s(t.misc.sh_feature_policy.diff.intro_text)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field",attrs:{id:"sh_feature_policy_wrap"}},[e("label",{staticClass:"sui-toggle",attrs:{for:"sh_feature_policy"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.model.sh_feature_policy,expression:"model.sh_feature_policy"}],staticClass:"toggle-checkbox",attrs:{role:"presentation",type:"checkbox",name:"sh_feature_policy",id:"sh_feature_policy","aria-labelledby":"sh_feature_policy_label","false-value":!1,"true-value":!0},domProps:{checked:Array.isArray(t.model.sh_feature_policy)?t._i(t.model.sh_feature_policy,null)>-1:t.model.sh_feature_policy},on:{change:function(e){var s=t.model.sh_feature_policy,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&t.$set(t.model,"sh_feature_policy",s.concat([null])):a>-1&&t.$set(t.model,"sh_feature_policy",s.slice(0,a).concat(s.slice(a+1)))}else t.$set(t.model,"sh_feature_policy",r)}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{id:"sh_feature_policy_label"}},[t._v(t._s(t.header_label(t.misc.sh_feature_policy.title)))])]),t._v(" "),e("sh-feature-policy",{directives:[{name:"show",rawName:"v-show",value:!0===t.model.sh_feature_policy,expression:"true === model.sh_feature_policy"}],attrs:{misc:t.misc.sh_feature_policy,model:t.model}})],1)])])]),t._v(" "),e("div",{staticClass:"sui-box-footer"},[e("div",{staticClass:"sui-actions-right"},[e("submit-button2",{attrs:{"css-class":"sui-button-blue save-changes"}},[e("i",{staticClass:"sui-icon-save",attrs:{"aria-hidden":"true"}}),t._v("\n\t\t\t\t\t"+t._s(t.__("Save Changes"))+"\n\t\t\t\t")])],1)])])])}),[],!1,null,null,null).exports;function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function D(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function H(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?D(Object(s),!0).forEach((function(e){U(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):D(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function U(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=I(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=I(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==I(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var M={components:{SubmitButton2:n.a},mixins:[a.a],name:"password-protection",data:function(){return{url:"https://haveibeenpwned.com/API/v3#License"}},computed:H(H({},Object(o.b)("password_protection",["model.enabled","model.user_roles","model.pwned_checks","model.pwned_actions","all_roles","is_active","default_message"])),{},{footer_credit:function(){return vsprintf(this.__('Passwords are checked with <strong><a href="%s" target="_blank">Have I Been Pwned API</a></strong>.'),this.url)}}),methods:H({handleResult:function(t){this.$store.dispatch("password_protection/toggle"),this.trackFeature({event:t?"def_feature_deactivated":"def_feature_activated",data:{Feature:"Pwned Passwords","Triggered From":"Feature page"}})}},Object(_.b)("AnalyticsTracking",["trackFeature"]))},F=Object(u.a)(M,(function(){var t=this,e=t._self._c;return!1===t.enabled?e("div",{staticClass:"sui-box",attrs:{id:"password-protection-disabled"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n      "+t._s(t.__("Pwned Passwords"))+"\n    ")])]),t._v(" "),e("div",{staticClass:"sui-message"},[t.maybeHideBranding()?t._e():e("img",{staticClass:"sui-image",attrs:{src:t.assetUrl("assets/img/disabled-module.png"),"aria-hidden":"true"}}),t._v(" "),t.maybeHideBranding()&&t.whitelabelHeroImage()?e("img",{staticClass:"sui-image wd-whitelabel-custom-branding-logo",attrs:{src:t.whitelabelHeroImage(),"aria-hidden":"true"}}):t._e(),t._v(" "),e("div",{staticClass:"sui-message-content"},[e("p",[t._v("\n        "+t._s(t.__("Protect your site against password leak attacks. Block logins from users using a known compromised password that exists in database breach records."))+"\n      ")]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.handleResult(t.enabled)}}},[e("submit-button2",{attrs:{action:"toggle","css-class":"sui-button-blue activate"}},[t._v("\n          "+t._s(t.__("Activate"))+"\n        ")])],1)])])]):e("div",{staticClass:"sui-box",attrs:{id:"password-protection-enabled"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n      "+t._s(t.__("Pwned Passwords"))+"\n    ")])]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.$store.dispatch("password_protection/saveSettings",{intention:"save_settings"})}}},[e("div",{staticClass:"sui-box-body"},[e("p",[t._v("\n        "+t._s(t.__("Protect your site from the risk of being breached by compromised passwords. All passwords entered in default login or registration forms will be checked against the public pwned database to ensure they haven't appeared in a known data breach."))+"\n      ")]),t._v(" "),t.is_active?e("div",{staticClass:"sui-notice sui-notice-success"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-check-tick sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v("\n              "+t._s(t.__("Pwned Passwords check is currently active."))+"\n            ")])])])]):e("div",{staticClass:"sui-notice sui-notice-warning"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v("\n              "+t._s(t.__("Pwned Passwords check is currently inactive. You need to check at least one of the options below and save your settings to finish setup."))+"\n            ")])])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row user-roles"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v(t._s(t.__("User Roles")))]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n            "+t._s(t.__("Choose the user roles you want to enable pwned password checks for. The Administrator role is enabled by default and can't be disabled."))+"\n          ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-field-list"},[e("div",{staticClass:"sui-field-list-header"},[e("h3",{staticClass:"sui-field-list-title"},[t._v("\n                "+t._s(t.__("User role"))+"\n              ")])]),t._v(" "),e("div",{staticClass:"sui-field-list-body"},t._l(t.all_roles,(function(s,i){return e("div",{staticClass:"sui-field-list-item"},[e("label",{staticClass:"sui-field-list-item-label",attrs:{for:"password_pwned_toggle_"+i},domProps:{innerHTML:t._s(s)}}),t._v(" "),e("label",{staticClass:"sui-toggle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user_roles,expression:"user_roles"}],attrs:{type:"checkbox",id:"password_pwned_toggle_"+i,disabled:"administrator"===i},domProps:{value:i,checked:Array.isArray(t.user_roles)?t._i(t.user_roles,i)>-1:t.user_roles},on:{change:function(e){var s=t.user_roles,r=e.target,a=!!r.checked;if(Array.isArray(s)){var o=i,n=t._i(s,o);r.checked?n<0&&(t.user_roles=s.concat([o])):n>-1&&(t.user_roles=s.slice(0,n).concat(s.slice(n+1)))}else t.user_roles=a}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider"})])])})),0)])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row force-password-change"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v(t._s(t.__("Force password change")))]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n            "+t._s(t.__("Users will be forced to reset their password and will not be allowed to visit other pages until their password is changed."))+"\n          ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field sui-no-margin-bottom"},[e("label",{staticClass:"sui-label",attrs:{for:"force-password-message",id:"label-force-password-message"}},[t._v(t._s(t.__("Custom message")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pwned_actions.force_change_message,expression:"pwned_actions.force_change_message"}],staticClass:"sui-form-control",attrs:{placeholder:t.default_message,id:"force-password-message","aria-labelledby":"label-force-password-message","aria-describedby":"error-force-password-message description-force-password-message"},domProps:{value:t.pwned_actions.force_change_message},on:{input:function(e){e.target.composing||t.$set(t.pwned_actions,"force_change_message",e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n            "+t._s(t.__("Deactivate"))+"\n          ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n            "+t._s(t.__("Disable the Pwned Passwords feature."))+"\n          ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("submit-button2",{attrs:{action:"toggle","css-class":"sui-button-ghost",type:"button"},on:{click:function(e){return t.handleResult(t.enabled)}}},[t._v("\n            "+t._s(t.__("Deactivate"))+"\n          ")])],1)])]),t._v(" "),e("div",{staticClass:"sui-box-footer"},[e("div",{staticClass:"sui-actions-left"},[e("span",{staticClass:"sui-description",domProps:{innerHTML:t._s(t.footer_credit)}})]),t._v(" "),e("div",{staticClass:"sui-actions-right"},[e("submit-button2",{attrs:{action:"settings","css-class":"sui-button-blue save-changes"}},[e("i",{staticClass:"sui-icon-save",attrs:{"aria-hidden":"true"}}),t._v("\n          "+t._s(t.__("Save Changes"))+"\n        ")])],1)])])])}),[],!1,null,null,null).exports;function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function V(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function q(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?V(Object(s),!0).forEach((function(e){z(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):V(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function z(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=B(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=B(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==B(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var G={components:{SubmitButton2:n.a},mixins:[a.a],name:"password-reset",computed:q(q({},Object(o.b)("password_reset",["model.message","model.user_roles","model.expire_force","all_roles","reset_last","default_message"])),{},{modal_header:function(){return this.vsprintf(this.__("Are you sure you want to force %s a password reset?"),"<br/>")}}),methods:q({forceResult:function(){this.$store.dispatch("password_reset/forceReset"),this.trackFeature({event:"def_feature_activated",data:{Feature:"Password Reset","Triggered From":"Feature page"}})},undoResult:function(){this.$store.dispatch("password_reset/undoReset"),this.trackFeature({event:"def_feature_deactivated",data:{Feature:"Password Reset","Triggered From":"Feature page"}})}},Object(_.b)("AnalyticsTracking",["trackFeature"]))},W=Object(u.a)(G,(function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"password-reset-enabled"}},[e("div",{staticClass:"sui-box"},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n        "+t._s(t.__("Password Reset"))+"\n      ")])]),t._v(" "),e("div",{staticClass:"sui-box-body"},[e("div",{staticClass:"sui-message-content"},[e("p",[t._v("\n          "+t._s(t.__("Force users to change their password upon next login if there is a security breach."))+"\n        ")]),t._v(" "),t.expire_force?e("div",{staticClass:"sui-notice"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v("\n                "+t._s(t.vsprintf(t.__("Passwords created before %s are required to be reset."),t.reset_last))),e("br"),t._v(" "),e("a",{attrs:{id:"undo_reset_link",href:"#"},on:{click:t.undoResult}},[t._v(t._s(t.__("Undo force password reset")))])])])])]):t._e(),t._v(" "),e("submit-button2",{attrs:{type:"button","data-modal-open":"reset-password-confirm","data-modal-mask":"false","data-esc-close":"true"}},[t._v("\n          "+t._s(t.__("Force password reset"))+"\n        ")])],1)])]),t._v(" "),e("div",{staticClass:"sui-box"},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n        "+t._s(t.__("Settings"))+"\n      ")])]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.$store.dispatch("password_reset/saveSettings")}}},[e("div",{staticClass:"sui-box-body"},[e("div",{staticClass:"sui-box-settings-row user-roles"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v(t._s(t.__("User Roles")))]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Choose the user roles you want to enable Password Reset for if there is a security breach. Users with those roles will then be required to change their password upon next login."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-field-list"},[e("div",{staticClass:"sui-field-list-header"},[e("h3",{staticClass:"sui-field-list-title"},[t._v("\n                  "+t._s(t.__("User role"))+"\n                ")])]),t._v(" "),e("div",{staticClass:"sui-field-list-body"},t._l(t.all_roles,(function(s,i){return e("div",{staticClass:"sui-field-list-item"},[e("label",{staticClass:"sui-field-list-item-label",attrs:{for:"password_reset_toggle_"+i},domProps:{innerHTML:t._s(s)}}),t._v(" "),e("label",{staticClass:"sui-toggle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.user_roles,expression:"user_roles"}],attrs:{type:"checkbox",id:"password_reset_toggle_"+i,disabled:"administrator"===i},domProps:{value:i,checked:Array.isArray(t.user_roles)?t._i(t.user_roles,i)>-1:t.user_roles},on:{change:function(e){var s=t.user_roles,r=e.target,a=!!r.checked;if(Array.isArray(s)){var o=i,n=t._i(s,o);r.checked?n<0&&(t.user_roles=s.concat([o])):n>-1&&(t.user_roles=s.slice(0,n).concat(s.slice(n+1)))}else t.user_roles=a}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider"})])])})),0)])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row force-password-change"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v(t._s(t.__("Message")))]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Customize the message shown to users when a password reset is forced."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field sui-no-margin-bottom"},[e("label",{staticClass:"sui-label",attrs:{for:"password-reset-message",id:"label-password-reset-message"}},[t._v(t._s(t.__("Custom message")))]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],staticClass:"sui-form-control",attrs:{placeholder:t.default_message,id:"password-reset-message","aria-labelledby":"label-password-reset-message","aria-describedby":"error-force-password-message description-force-password-message"},domProps:{value:t.message},on:{input:function(e){e.target.composing||(t.message=e.target.value)}}})])])])]),t._v(" "),e("div",{staticClass:"sui-box-footer"},[e("div",{staticClass:"sui-actions-right"},[e("submit-button2",{attrs:{"css-class":"sui-button-blue save-changes"}},[e("i",{staticClass:"sui-icon-save",attrs:{"aria-hidden":"true"}}),t._v("\n            "+t._s(t.__("Save Changes"))+"\n          ")])],1)])]),t._v(" "),e("div",{staticClass:"sui-modal sui-modal-sm"},[e("div",{staticClass:"sui-modal-content",attrs:{role:"dialog",id:"reset-password-confirm","aria-modal":"true","aria-labelledby":"modal-reset-data-confirm","aria-describedby":"modal-reset-data-confirm"}},[e("div",{staticClass:"sui-box",attrs:{role:"document"}},[e("div",{staticClass:"sui-box-header sui-flatten sui-content-center sui-spacing-top--60"},[e("h3",{staticClass:"sui-box-title sui-lg",domProps:{innerHTML:t._s(t.modal_header)}}),t._v(" "),e("button",{staticClass:"sui-button-icon sui-button-float--right",attrs:{type:"button","data-modal-close":""}},[e("i",{staticClass:"sui-icon-close sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-screen-reader-text"},[t._v(t._s(t.__("Close this dialog.")))])]),t._v(" "),e("p",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Users with the selected role(s), including logged-in users who will be automatically logged-out, will be forced to reset their password and will not be allowed to visit other pages until that is done."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-footer sui-flatten sui-content-center"},[e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.forceResult.apply(null,arguments)}}},[e("button",{staticClass:"sui-button sui-button-ghost",attrs:{type:"button","data-modal-close":""}},[t._v("\n                "+t._s(t.__("Cancel"))+"\n              ")]),t._v(" "),e("submit-button2",{attrs:{type:"submit","css-class":"sui-button-ghost sui-button-red"}},[t._v("\n                "+t._s(t.__("Confirm"))+"\n              ")])],1)])])])])])])}),[],!1,null,null,null).exports,Q={mixins:[a.a],name:"v2-checkbox",props:["is_active","preloading","ticket_text"],mounted:function(){var t=this;jQuery("#v2_checkbox_size").on("change",(function(){t.$store.getters["recaptcha/dataV2Checkbox"].size=jQuery(this).val()})),jQuery("#v2_checkbox_style").on("change",(function(){t.$store.getters["recaptcha/dataV2Checkbox"].style=jQuery(this).val()}))}},J=Object(u.a)(Q,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-tab-content sui-tab-boxed",attrs:{id:"v2-checkbox-box","data-tab-content":"v2-checkbox-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n    "+t._s(t.__("Enter the API keys for reCAPTCHA v2 Checkbox type below."))+"\n  ")]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label",attrs:{for:"v2_captcha_key",id:"v2recaptcha-sitekey-label"}},[t._v(t._s(t.__("Site key")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV2Checkbox"].key,expression:"$store.getters['recaptcha/dataV2Checkbox'].key"}],staticClass:"sui-form-control",attrs:{type:"text",name:"v2_captcha_key",placeholder:t.__("Enter your site key here"),id:"v2_captcha_key","aria-labelledby":"v2recaptcha-sitekey-label"},domProps:{value:t.$store.getters["recaptcha/dataV2Checkbox"].key},on:{input:function(e){e.target.composing||t.$set(t.$store.getters["recaptcha/dataV2Checkbox"],"key",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"sui-form-field form-field-separator"},[e("label",{staticClass:"sui-label",attrs:{for:"v2_captcha_secret",id:"v2recaptcha-secretkey-label"}},[t._v(t._s(t.__("Secret Key")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV2Checkbox"].secret,expression:"$store.getters['recaptcha/dataV2Checkbox'].secret"}],staticClass:"sui-form-control",attrs:{type:"text",name:"v2_captcha_secret",placeholder:t.__("Enter your secret key here"),id:"v2_captcha_secret","aria-labelledby":"v2recaptcha-secretkey-label"},domProps:{value:t.$store.getters["recaptcha/dataV2Checkbox"].secret},on:{input:function(e){e.target.composing||t.$set(t.$store.getters["recaptcha/dataV2Checkbox"],"secret",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("span",{staticClass:"sui-settings-label"},[t._v(t._s(t.__("Style")))]),t._v(" "),e("p",{staticClass:"sui-description"},[t._v(t._s(t.__("Choose how you want your reCAPTCHA to be shown.")))]),t._v(" "),e("div",{staticClass:"sui-row"},[e("div",{staticClass:"sui-col"},[e("label",{staticClass:"sui-label",attrs:{for:"v2_checkbox_size"}},[t._v(t._s(t.__("Size")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV2Checkbox"].size,expression:"$store.getters['recaptcha/dataV2Checkbox'].size"}],staticClass:"sui-select",attrs:{id:"v2_checkbox_size"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.getters["recaptcha/dataV2Checkbox"],"size",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"normal"}},[t._v(t._s(t.__("Normal")))]),t._v(" "),e("option",{attrs:{value:"compact"}},[t._v(t._s(t.__("Compact")))])])]),t._v(" "),e("div",{staticClass:"sui-col"},[e("label",{staticClass:"sui-label",attrs:{for:"v2_checkbox_style"}},[t._v(t._s(t.__("Theme")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV2Checkbox"].style,expression:"$store.getters['recaptcha/dataV2Checkbox'].style"}],staticClass:"sui-select",attrs:{id:"v2_checkbox_style"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.getters["recaptcha/dataV2Checkbox"],"style",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"light"}},[t._v(t._s(t.__("Light")))]),t._v(" "),e("option",{attrs:{value:"dark"}},[t._v(t._s(t.__("Dark")))])])])])]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label mb-2"},[t._v(t._s(t.__("reCAPTCHA Preview")))]),t._v(" "),t.preloading?e("i",{staticClass:"sui-notice-icon sui-icon-loader sui-loading sui-md",attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "),e("div",{attrs:{id:"v2_checkbox-recaptcha-preview"}}),t._v(" "),t.is_active?e("p",{staticClass:"sui-p-small mt-2",attrs:{id:"v2_checkbox_notice_1"}},[t._v("\n      "+t._s(t.__("If you see any errors in the preview, make sure the keys you've entered are valid, and you've listed your domain name while generating the keys."))+"\n    ")]):t._e(),t._v(" "),e("p",{staticClass:"sui-p-small mt-2 wd-hide",attrs:{id:"v2_checkbox_notice_2"},domProps:{innerHTML:t._s(t.ticket_text)}})])])}),[],!1,null,null,null).exports,X={mixins:[a.a],name:"v2-invisible",props:["is_active","preloading","ticket_text"]},K=Object(u.a)(X,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-tab-content sui-tab-boxed",attrs:{id:"v2-invisible-box","data-tab-content":"v2-invisible-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n    "+t._s(t.__("Enter the API keys for reCAPTCHA V2 Invisible type below."))+"\n  ")]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label",attrs:{for:"v2_invisible_key",id:"v2invisible-sitekey-label"}},[t._v(t._s(t.__("Site key")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV2Invisible"].key,expression:"$store.getters['recaptcha/dataV2Invisible'].key"}],staticClass:"sui-form-control",attrs:{type:"text",name:"v2_invisible_key",placeholder:t.__("Enter your site key here"),id:"v2_invisible_key","aria-labelledby":"v2invisible-sitekey-label"},domProps:{value:t.$store.getters["recaptcha/dataV2Invisible"].key},on:{input:function(e){e.target.composing||t.$set(t.$store.getters["recaptcha/dataV2Invisible"],"key",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"sui-form-field form-field-separator"},[e("label",{staticClass:"sui-label",attrs:{for:"v2_invisible_secret",id:"v2invisible-secretkey-label"}},[t._v(t._s(t.__("Secret Key")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV2Invisible"].secret,expression:"$store.getters['recaptcha/dataV2Invisible'].secret"}],staticClass:"sui-form-control",attrs:{type:"text",name:"v2_invisible_secret",placeholder:t.__("Enter your secret key here"),id:"v2_invisible_secret","aria-labelledby":"v2invisible-secretkey-label"},domProps:{value:t.$store.getters["recaptcha/dataV2Invisible"].secret},on:{input:function(e){e.target.composing||t.$set(t.$store.getters["recaptcha/dataV2Invisible"],"secret",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label mb-2"},[t._v(t._s(t.__("reCAPTCHA Preview")))]),t._v(" "),t.preloading?e("i",{staticClass:"sui-notice-icon sui-icon-loader sui-loading sui-md",attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "),e("div",{attrs:{id:"v2_invisible-recaptcha-preview"}}),t._v(" "),t.is_active?e("p",{staticClass:"sui-p-small mt-2",attrs:{id:"v2_invisible_notice_1"}},[t._v("\n      "+t._s(t.__("If you see any errors in the preview, make sure the keys you've entered are valid, and you've listed your domain name while generating the keys."))+"\n    ")]):t._e(),t._v(" "),e("p",{staticClass:"sui-p-small mt-2 wd-hide",attrs:{id:"v2_invisible_notice_2"},domProps:{innerHTML:t._s(t.ticket_text)}})])])}),[],!1,null,null,null).exports,Y={mixins:[a.a],name:"v2-checkbox",props:["is_active","preloading","ticket_text"],mounted:function(){var t=this;jQuery("#v3_recaptcha_threshold").on("change",(function(){t.$store.getters["recaptcha/dataV3Recaptcha"].threshold=jQuery(this).val()}))}},Z=Object(u.a)(Y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-tab-content sui-tab-boxed",attrs:{id:"v3-recaptcha-box","data-tab-content":"v3-recaptcha-box"}},[e("p",{staticClass:"sui-p-small"},[t._v("\n    "+t._s(t.__("Enter the API keys for reCAPTCHA V3 type below."))+"\n  ")]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label",attrs:{for:"v3_recaptcha_key",id:"v3_recaptcha-sitekey-label"}},[t._v(t._s(t.__("Site key")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV3Recaptcha"].key,expression:"$store.getters['recaptcha/dataV3Recaptcha'].key"}],staticClass:"sui-form-control",attrs:{type:"text",name:"v3_recaptcha_key",placeholder:t.__("Enter your site key here"),id:"v3_recaptcha_key","aria-labelledby":"v3_recaptcha-sitekey-label"},domProps:{value:t.$store.getters["recaptcha/dataV3Recaptcha"].key},on:{input:function(e){e.target.composing||t.$set(t.$store.getters["recaptcha/dataV3Recaptcha"],"key",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"sui-form-field form-field-separator"},[e("label",{staticClass:"sui-label",attrs:{for:"v3_recaptcha_secret",id:"v3_recaptcha-secretkey-label"}},[t._v(t._s(t.__("Secret Key")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV3Recaptcha"].secret,expression:"$store.getters['recaptcha/dataV3Recaptcha'].secret"}],staticClass:"sui-form-control",attrs:{type:"text",name:"v3_recaptcha_secret",placeholder:t.__("Enter your secret key here"),id:"v3_recaptcha_secret","aria-labelledby":"v3_recaptcha-secretkey-label"},domProps:{value:t.$store.getters["recaptcha/dataV3Recaptcha"].secret},on:{input:function(e){e.target.composing||t.$set(t.$store.getters["recaptcha/dataV3Recaptcha"],"secret",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"sui-form-field form-field-separator"},[e("span",{staticClass:"sui-settings-label"},[t._v(t._s(t.__("Score")))]),t._v(" "),e("p",{staticClass:"sui-description"},[t._v(t._s(t.__("reCAPTCHA v3 returns a score based on user interactions. Choose the score below which the verification should fail.")))]),t._v(" "),e("label",{staticClass:"sui-label",attrs:{for:"v3_recaptcha_threshold",id:"v3_recaptcha-threshold-label"}},[t._v(t._s(t.__("Score Threshold")))]),t._v(" "),e("div",{staticClass:"w-32"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.$store.getters["recaptcha/dataV3Recaptcha"].threshold,expression:"$store.getters['recaptcha/dataV3Recaptcha'].threshold"}],staticClass:"sui-select",attrs:{name:"v3_recaptcha_threshold",id:"v3_recaptcha_threshold","aria-labelledby":"v3_recaptcha-threshold-label"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.$store.getters["recaptcha/dataV3Recaptcha"],"threshold",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"0"}},[t._v("0")]),t._v(" "),e("option",{attrs:{value:"0.2"}},[t._v("0.2")]),t._v(" "),e("option",{attrs:{value:"0.5"}},[t._v("0.5")]),t._v(" "),e("option",{attrs:{value:"0.8"}},[t._v("0.8")]),t._v(" "),e("option",{attrs:{value:"1"}},[t._v("1")])])]),t._v(" "),e("p",{staticClass:"sui-p-small"},[t._v(t._s(t.__("1 is very likely a good interaction, 0 is very likely a bot.")))])]),t._v(" "),e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label mb-2"},[t._v(t._s(t.__("reCAPTCHA Preview")))]),t._v(" "),t.preloading?e("i",{staticClass:"sui-notice-icon sui-icon-loader sui-loading sui-md",attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "),e("div",{attrs:{id:"v3_recaptcha-preview"}}),t._v(" "),t.is_active?e("p",{staticClass:"sui-p-small mt-2",attrs:{id:"v3_recaptcha_notice_1"}},[t._v("\n      "+t._s(t.__("If you see any errors in the preview, make sure the keys you've entered are valid, and you've listed your domain name while generating the keys."))+"\n    ")]):t._e(),t._v(" "),e("p",{staticClass:"sui-p-small mt-2 wd-hide",attrs:{id:"v3_recaptcha_notice_2"},domProps:{innerHTML:t._s(t.ticket_text)}})])])}),[],!1,null,null,null).exports,tt={mixins:[a.a],name:"recaptcha-countries",props:["language"]},et=Object(u.a)(tt,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-form-field w-56"},[e("label",{staticClass:"sui-label",attrs:{for:"recaptha_language",id:"rechaptcha-language-label"}},[t._v(t._s(t.__("Language")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.language,expression:"language"}],staticClass:"sui-select",attrs:{name:"recaptha_language",id:"recaptha_language","data-search":"true","aria-labelledby":"rechaptcha-language-label"},on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.language=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"automatic"}},[t._v(t._s(t.__("Automatic")))]),t._v(" "),e("option",{attrs:{value:"af"}},[t._v(t._s(t.__("Afrikaans")))]),t._v(" "),e("option",{attrs:{value:"am"}},[t._v(t._s(t.__("Amharic")))]),t._v(" "),e("option",{attrs:{value:"hy"}},[t._v(t._s(t.__("Armenian")))]),t._v(" "),e("option",{attrs:{value:"az"}},[t._v(t._s(t.__("Azerbaijani")))]),t._v(" "),e("option",{attrs:{value:"eu"}},[t._v(t._s(t.__("Basque")))]),t._v(" "),e("option",{attrs:{value:"bn"}},[t._v(t._s(t.__("Bengali")))]),t._v(" "),e("option",{attrs:{value:"bg"}},[t._v(t._s(t.__("Bulgarian")))]),t._v(" "),e("option",{attrs:{value:"ca"}},[t._v(t._s(t.__("Catalan")))]),t._v(" "),e("option",{attrs:{value:"zh-HK"}},[t._v(t._s(t.__("Chinese (Hong Kong) ")))]),t._v(" "),e("option",{attrs:{value:"zh-CN"}},[t._v(t._s(t.__("Chinese (Simplified)")))]),t._v(" "),e("option",{attrs:{value:"zh-TW"}},[t._v(t._s(t.__("Chinese (Traditional)")))]),t._v(" "),e("option",{attrs:{value:"hr"}},[t._v(t._s(t.__("Croatian")))]),t._v(" "),e("option",{attrs:{value:"cs"}},[t._v(t._s(t.__("Czech")))]),t._v(" "),e("option",{attrs:{value:"da"}},[t._v(t._s(t.__("Danish")))]),t._v(" "),e("option",{attrs:{value:"nl"}},[t._v(t._s(t.__("Dutch")))]),t._v(" "),e("option",{attrs:{value:"en-GB"}},[t._v(t._s(t.__("English"))+" (UK)")]),t._v(" "),e("option",{attrs:{value:"en"}},[t._v(t._s(t.__("English"))+" (US)")]),t._v(" "),e("option",{attrs:{value:"et"}},[t._v(t._s(t.__("Estonian")))]),t._v(" "),e("option",{attrs:{value:"fil"}},[t._v(t._s(t.__("Filipino")))]),t._v(" "),e("option",{attrs:{value:"fi"}},[t._v(t._s(t.__("Finnish")))]),t._v(" "),e("option",{attrs:{value:"fr"}},[t._v(t._s(t.__("French")))]),t._v(" "),e("option",{attrs:{value:"fr-CA"}},[t._v(t._s(t.__("French"))+" (Canadian)")]),t._v(" "),e("option",{attrs:{value:"gl"}},[t._v(t._s(t.__("Galician")))]),t._v(" "),e("option",{attrs:{value:"ka"}},[t._v(t._s(t.__("Georgian")))]),t._v(" "),e("option",{attrs:{value:"de"}},[t._v(t._s(t.__("German")))]),t._v(" "),e("option",{attrs:{value:"de-AT"}},[t._v(t._s(t.__("German"))+" (Austria)")]),t._v(" "),e("option",{attrs:{value:"de-CH"}},[t._v(t._s(t.__("German"))+" (Switzerland)")]),t._v(" "),e("option",{attrs:{value:"el"}},[t._v(t._s(t.__("Greek")))]),t._v(" "),e("option",{attrs:{value:"gu"}},[t._v(t._s(t.__("Gujarati")))]),t._v(" "),e("option",{attrs:{value:"iw"}},[t._v(t._s(t.__("Hebrew")))]),t._v(" "),e("option",{attrs:{value:"hi"}},[t._v(t._s(t.__("Hindi")))]),t._v(" "),e("option",{attrs:{value:"hu"}},[t._v(t._s(t.__("Hungarain")))]),t._v(" "),e("option",{attrs:{value:"is"}},[t._v(t._s(t.__("Icelandic")))]),t._v(" "),e("option",{attrs:{value:"id"}},[t._v(t._s(t.__("Indonesian")))]),t._v(" "),e("option",{attrs:{value:"it"}},[t._v(t._s(t.__("Italian")))]),t._v(" "),e("option",{attrs:{value:"ja"}},[t._v(t._s(t.__("Japanese")))]),t._v(" "),e("option",{attrs:{value:"kn"}},[t._v(t._s(t.__("Kannada")))]),t._v(" "),e("option",{attrs:{value:"ko"}},[t._v(t._s(t.__("Korean")))]),t._v(" "),e("option",{attrs:{value:"lo"}},[t._v(t._s(t.__("Laothian")))]),t._v(" "),e("option",{attrs:{value:"lv"}},[t._v(t._s(t.__("Latvian")))]),t._v(" "),e("option",{attrs:{value:"lt"}},[t._v(t._s(t.__("Lithuanian")))]),t._v(" "),e("option",{attrs:{value:"ms"}},[t._v(t._s(t.__("Malay")))]),t._v(" "),e("option",{attrs:{value:"ml"}},[t._v(t._s(t.__("Malayalam")))]),t._v(" "),e("option",{attrs:{value:"mr"}},[t._v(t._s(t.__("Marathi")))]),t._v(" "),e("option",{attrs:{value:"mn"}},[t._v(t._s(t.__("Mongolian")))]),t._v(" "),e("option",{attrs:{value:"no"}},[t._v(t._s(t.__("Norwegian")))]),t._v(" "),e("option",{attrs:{value:"fa"}},[t._v(t._s(t.__("Persian")))]),t._v(" "),e("option",{attrs:{value:"pl"}},[t._v(t._s(t.__("Polish")))]),t._v(" "),e("option",{attrs:{value:"pt"}},[t._v(t._s(t.__("Portuguese")))]),t._v(" "),e("option",{attrs:{value:"pt-BR"}},[t._v(t._s(t.__("Portuguese"))+" (Brazil)")]),t._v(" "),e("option",{attrs:{value:"pt-PT"}},[t._v(t._s(t.__("Portuguese"))+" (Portugal)")]),t._v(" "),e("option",{attrs:{value:"ro"}},[t._v(t._s(t.__("Romanian")))]),t._v(" "),e("option",{attrs:{value:"ru"}},[t._v(t._s(t.__("Russian")))]),t._v(" "),e("option",{attrs:{value:"rs"}},[t._v(t._s(t.__("Serbian")))])])])}),[],!1,null,null,null).exports;function st(t){return(st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function it(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function rt(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?it(Object(s),!0).forEach((function(e){at(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):it(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function at(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=st(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=st(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==st(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var ot={mixins:[a.a],name:"deactivate-modal",props:["is_active"],methods:rt(rt({},Object(_.b)("AnalyticsTracking",["trackFeature"])),{},{handleResult:function(){this.$store.dispatch("recaptcha/toggle"),this.trackFeature({event:"def_feature_deactivated",data:{Feature:"Google reCAPTCHA","Triggered From":"Feature page"}})}})},nt=Object(u.a)(ot,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-modal sui-modal-sm"},[e("div",{staticClass:"sui-modal-content sui-content-fade-out",attrs:{role:"dialog",id:"deactivate-recaptcha","aria-modal":"true","ria-labelledby":"deactivate-recaptcha-title","aria-describedby":"deactivate-recaptcha-desc"}},[e("div",{staticClass:"sui-box"},[e("div",{staticClass:"sui-box-header sui-flatten sui-content-center sui-spacing-top--60"},[e("button",{staticClass:"sui-button-icon sui-button-float--right",attrs:{"data-modal-close":""}},[e("span",{staticClass:"sui-icon-close sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-screen-reader-text"},[t._v(t._s(t.__("Close this dialog")))])]),t._v(" "),e("h3",{staticClass:"sui-box-title sui-lg",attrs:{id:"deactivate-recaptcha-title"}},[t._v(t._s(t.__("Deactivate Google reCAPTCHA")))]),t._v(" "),e("p",{staticClass:"sui-description",attrs:{id:"deactivate-recaptcha-desc"}},[t._v("\n          "+t._s(t.__("Are you sure you want to deactivate Google reCAPTCHA? You can turn it on again at any time."))+"\n        ")])]),t._v(" "),e("div",{staticClass:"sui-box-footer sui-flatten sui-content-center"},[e("button",{staticClass:"sui-button sui-button-ghost",attrs:{"data-modal-close":""}},[t._v(t._s(t.__("Cancel")))]),t._v(" "),e("button",{staticClass:"sui-button sui-button-red sui-button-ghost",attrs:{"data-modal-close":""},on:{click:t.handleResult}},[e("span",{staticClass:"sui-icon-power-on-off",attrs:{"aria-hidden":"true"}}),t._v(" "+t._s(t.__("Deactivate"))+"\n        ")])])])])])}),[],!1,null,null,null).exports;function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function lt(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function ut(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(s),!0).forEach((function(e){dt(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):lt(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function dt(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=ct(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=ct(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ct(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}var _t={components:{Sidetab:c.a,SubmitButton2:n.a,"v2-checkbox":J,"v2-invisible":K,"v3-recaptcha":Z,"recaptcha-countries":et,"deactivate-modal":nt},mixins:[a.a],name:"recaptcha",computed:ut(ut({},Object(o.b)("recaptcha",["model.enabled","model.active_type","model.data_v2_checkbox","model.data_v2_invisible","model.data_v3_recaptcha","model.language","model.message","model.locations","model.woo_checked_locations","model.detect_woo","model.buddypress_checked_locations","model.detect_buddypress","model.disable_for_known_users","is_active","default_locations","woo_locations","buddypress_locations","default_message","notice_type","notice_text","ticket_text","is_woo_active","is_buddypress_active","preloading","exist_error_notice","error_keys"])),{},{description_text:function(){return this.vsprintf(this.__("<a href='%s' target='_blank'>Click here</a> to create your Google reCAPTCHA keys. Note that each reCAPTCHA type requires a different set of API keys."),"https://www.google.com/recaptcha/admin#list")},notice_for_deactivated_plugin_locations:function(){return this.__("Please select at least one option.")}}),mounted:function(){var t=this;jQuery("#recaptha_language").on("change",(function(){t.$store.state.recaptcha.model.language=jQuery(this).val()}))},beforeMount:function(){this.enabled&&this.$store.dispatch("recaptcha/previewTypes")},methods:ut({handleResult:function(){this.$store.dispatch("recaptcha/toggle"),this.trackFeature({event:"def_feature_activated",data:{Feature:"Google reCAPTCHA","Triggered From":"Feature page"}})},displayErrorNotice:function(t){var e=this.$store.getters["recaptcha/getErrorKeys"];return!0===this.exist_error_notice&&e.length>0&&e.includes(t)},isCheckoutChecked:function(){var t=this.woo_checked_locations;return t.length>0&&t.includes("woo_checkout")}},Object(_.b)("AnalyticsTracking",["trackFeature"]))},pt=Object(u.a)(_t,(function(){var t=this,e=t._self._c;return!1===t.enabled?e("div",{staticClass:"sui-box",attrs:{id:"recaptcha-disabled"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n        "+t._s(t.__("Google reCAPTCHA"))+"\n      ")])]),t._v(" "),e("div",{staticClass:"sui-message"},[t.maybeHideBranding()?t._e():e("img",{staticClass:"sui-image",attrs:{src:t.assetUrl("assets/img/disabled-module.png"),"aria-hidden":"true"}}),t._v(" "),t.maybeHideBranding()&&t.whitelabelHeroImage()?e("img",{staticClass:"sui-image wd-whitelabel-custom-branding-logo",attrs:{src:t.whitelabelHeroImage(),"aria-hidden":"true"}}):t._e(),t._v(" "),e("div",{staticClass:"sui-message-content"},[e("p",[t._v("\n          "+t._s(t.__("Set up a human verification system to keep malicious software from engaging in abusive activities on your website while helping your legitimate users to enter with ease."))+"\n        ")]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.handleResult.apply(null,arguments)}}},[e("submit-button2",{attrs:{action:"toggle","css-class":"sui-button-blue activate"}},[t._v("\n            "+t._s(t.__("Activate"))+"\n          ")])],1)])])]):e("div",{staticClass:"sui-box",attrs:{id:"recaptcha-enabled"}},[e("div",{staticClass:"sui-box-header"},[e("h3",{staticClass:"sui-box-title"},[t._v("\n        "+t._s(t.__("Google reCAPTCHA"))+"\n      ")])]),t._v(" "),e("form",{attrs:{method:"post"},on:{submit:function(e){return e.preventDefault(),t.$store.dispatch("recaptcha/saveSettings")}}},[e("div",{staticClass:"sui-box-body"},[e("p",[t._v("\n          "+t._s(t.__("Set up a human verification system to keep malicious software from engaging in abusive activities on your website while helping your legitimate users to enter with ease."))+"\n        ")]),t._v(" "),e("div",{staticClass:"sui-notice",class:"warning"===t.notice_type?"sui-notice-warning":"sui-notice-success"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-md",class:"warning"===t.notice_type?"sui-icon-info":"sui-icon-check-tick",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.notice_text)}})])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("Configure reCAPTCHA"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Choose the reCAPTCHA type you want to use in your forms and enter your Site and Secret keys for use throughout the plugin."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field"},[e("span",{staticClass:"sui-description mb-3 mt-0",domProps:{innerHTML:t._s(t.description_text)}}),t._v(" "),e("sidetab",{attrs:{slug:"",active:t.active_type,labels:[{text:t.__("V2 Checkbox"),mute:!1,value:"v2_checkbox"},{text:t.__("V2 Invisible"),mute:!1,value:"v2_invisible"},{text:t.__("reCAPTCHA V3"),mute:!1,value:"v3_recaptcha"}]},on:{selected:function(e){t.active_type=e}},scopedSlots:t._u([{key:"v2_checkbox",fn:function(){return[e("v2-checkbox",{attrs:{is_active:t.is_active,preloading:t.preloading,ticket_text:t.ticket_text}})]},proxy:!0},{key:"v2_invisible",fn:function(){return[e("v2-invisible",{attrs:{is_active:t.is_active,preloading:t.preloading,ticket_text:t.ticket_text}})]},proxy:!0},{key:"v3_recaptcha",fn:function(){return[e("v3-recaptcha",{attrs:{is_active:t.is_active,preloading:t.preloading,ticket_text:t.ticket_text}})]},proxy:!0}])})],1)])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("Language"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("By default, we'll show the reCAPTCHA in your website's language."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("recaptcha-countries",{attrs:{language:t.language}})],1)]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("Error Message"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Choose the error message you want to display on your form when reCAPTCHA verification fails."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-label",attrs:{for:"error_message",id:"error_message-label"}},[t._v(t._s(t.__("Error Message")))]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.message,expression:"message"}],staticClass:"sui-form-control",attrs:{type:"text",name:"error_message",id:"error_message",placeholder:t.default_message,"aria-labelledby":"error_message-label"},domProps:{value:t.message},on:{input:function(e){e.target.composing||(t.message=e.target.value)}}})])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("reCAPTCHA Locations"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Choose the forms for which reCAPTCHA human verification system will be deployed."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-field-list"},[e("div",{staticClass:"sui-field-list-header"},[e("h3",{staticClass:"sui-field-list-title font-bold leading-22px"},[t._v("\n                  "+t._s(t.__("Locations"))+"\n                ")])]),t._v(" "),e("div",{staticClass:"sui-field-list-body"},t._l(t.default_locations,(function(s,i){return e("div",{staticClass:"sui-field-list-item"},[e("label",{staticClass:"sui-field-list-item-label text-base font-medium leading-22px",attrs:{for:"toggle_"+i}},[t._v(t._s(s))]),t._v(" "),e("label",{staticClass:"sui-toggle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.locations,expression:"locations"}],attrs:{type:"checkbox",id:"toggle_"+i},domProps:{value:i,checked:Array.isArray(t.locations)?t._i(t.locations,i)>-1:t.locations},on:{change:function(e){var s=t.locations,r=e.target,a=!!r.checked;if(Array.isArray(s)){var o=i,n=t._i(s,o);r.checked?n<0&&(t.locations=s.concat([o])):n>-1&&(t.locations=s.slice(0,n).concat(s.slice(n+1)))}else t.locations=a}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider"})])])})),0)])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("WooCommerce"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Enable reCAPTCHA in order to validate visitors to your WooCommerce store pages."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-toggle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.detect_woo,expression:"detect_woo"}],attrs:{type:"checkbox",id:"detect_woo",disabled:!1===t.is_woo_active,name:"detect_woo"},domProps:{checked:Array.isArray(t.detect_woo)?t._i(t.detect_woo,null)>-1:t.detect_woo},on:{change:function(e){var s=t.detect_woo,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.detect_woo=s.concat([null])):a>-1&&(t.detect_woo=s.slice(0,a).concat(s.slice(a+1)))}else t.detect_woo=r}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider"}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{for:"detect_woo"}},[t._v("\n                  "+t._s(t.__("Enable reCAPTCHA for WooCommerce"))+"\n                ")]),t._v(" "),t.is_woo_active?t._e():e("div",{staticClass:"sui-notice margin-top-10 sui-description"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v(t._s(t.__("WooCommerce must be active to use this feature.")))])])])])]),t._v(" "),t.is_woo_active&&t.detect_woo?e("div",[e("div",{staticClass:"sui-border-frame sui-toggle-content margin-bottom-10"},[e("p",{staticClass:"sui-p-small margin-bottom-15"},[t._v("\n                    "+t._s(t.__("Select the forms in which reCAPTCHA will be deployed."))+"\n                  ")]),t._v(" "),t._l(t.woo_locations,(function(s,i){return e("label",{staticClass:"sui-checkbox sui-checkbox-stacked sui-checkbox-sm",attrs:{for:"toggle_"+i}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.woo_checked_locations,expression:"woo_checked_locations"}],attrs:{type:"checkbox","aria-labelledby":"label_"+i,id:"toggle_"+i},domProps:{value:i,checked:Array.isArray(t.woo_checked_locations)?t._i(t.woo_checked_locations,i)>-1:t.woo_checked_locations},on:{change:function(e){var s=t.woo_checked_locations,r=e.target,a=!!r.checked;if(Array.isArray(s)){var o=i,n=t._i(s,o);r.checked?n<0&&(t.woo_checked_locations=s.concat([o])):n>-1&&(t.woo_checked_locations=s.slice(0,n).concat(s.slice(n+1)))}else t.woo_checked_locations=a}}}),t._v(" "),e("span",{attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{attrs:{id:"label_"+i}},[t._v(t._s(s))])])})),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isCheckoutChecked(),expression:"isCheckoutChecked()"}],staticClass:"sui-notice sui-notice-warning",style:{marginLeft:"26px"}},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v(t._s(t.__("This feature supports only the [woocommerce_checkout] shortcode.")))])])])]),t._v(" "),t.displayErrorNotice("enable_woo")?e("div",{staticClass:"sui-notice sui-notice-red"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-md sui-icon-info",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.notice_for_deactivated_plugin_locations)}})])])]):t._e()],2),t._v(" "),e("p",{staticClass:"sui-description sui-toggle-content no-margin-top"},[t._v("\n                  "+t._s(t.__("Note: You must select at least one of the forms listed above."))+"\n                ")])]):t._e()])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("BuddyPress"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Enable reCAPTCHA in order to validate visitors to your BuddyPress  pages."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-toggle"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.detect_buddypress,expression:"detect_buddypress"}],attrs:{type:"checkbox",id:"detect_buddypress",disabled:!1===t.is_buddypress_active,name:"detect_buddypress"},domProps:{checked:Array.isArray(t.detect_buddypress)?t._i(t.detect_buddypress,null)>-1:t.detect_buddypress},on:{change:function(e){var s=t.detect_buddypress,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.detect_buddypress=s.concat([null])):a>-1&&(t.detect_buddypress=s.slice(0,a).concat(s.slice(a+1)))}else t.detect_buddypress=r}}}),t._v(" "),e("span",{staticClass:"sui-toggle-slider"}),t._v(" "),e("span",{staticClass:"sui-toggle-label",attrs:{for:"detect_buddypress"}},[t._v("\n                  "+t._s(t.__("Enable reCAPTCHA for BuddyPress"))+"\n                ")]),t._v(" "),t.is_buddypress_active?t._e():e("div",{staticClass:"sui-notice margin-top-10 sui-description"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-icon-info sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",[t._v(t._s(t.__("BuddyPress must be active to use this feature.")))])])])])]),t._v(" "),t.is_buddypress_active&&t.detect_buddypress?e("div",[e("div",{staticClass:"sui-border-frame sui-toggle-content margin-bottom-10"},[e("p",{staticClass:"sui-p-small margin-bottom-15"},[t._v("\n                    "+t._s(t.__("Select the forms in which reCAPTCHA will be deployed."))+"\n                  ")]),t._v(" "),t._l(t.buddypress_locations,(function(s,i){return e("label",{staticClass:"sui-checkbox sui-checkbox-stacked sui-checkbox-sm",attrs:{for:"toggle_"+i}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.buddypress_checked_locations,expression:"buddypress_checked_locations"}],attrs:{type:"checkbox","aria-labelledby":"label_"+i,id:"toggle_"+i},domProps:{value:i,checked:Array.isArray(t.buddypress_checked_locations)?t._i(t.buddypress_checked_locations,i)>-1:t.buddypress_checked_locations},on:{change:function(e){var s=t.buddypress_checked_locations,r=e.target,a=!!r.checked;if(Array.isArray(s)){var o=i,n=t._i(s,o);r.checked?n<0&&(t.buddypress_checked_locations=s.concat([o])):n>-1&&(t.buddypress_checked_locations=s.slice(0,n).concat(s.slice(n+1)))}else t.buddypress_checked_locations=a}}}),t._v(" "),e("span",{attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{attrs:{id:"label_"+i}},[t._v(t._s(s))])])})),t._v(" "),t.displayErrorNotice("enable_buddypress")?e("div",{staticClass:"sui-notice sui-notice-red"},[e("div",{staticClass:"sui-notice-content"},[e("div",{staticClass:"sui-notice-message"},[e("i",{staticClass:"sui-notice-icon sui-md sui-icon-info",attrs:{"aria-hidden":"true"}}),t._v(" "),e("p",{domProps:{innerHTML:t._s(t.notice_for_deactivated_plugin_locations)}})])])]):t._e()],2),t._v(" "),e("p",{staticClass:"sui-description sui-toggle-content no-margin-top"},[t._v("\n                  "+t._s(t.__("Note: Select at least one form."))+"\n                ")])]):t._e()])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("Disable for logged in users"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("Disable reCAPTCHA for logged in users."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("div",{staticClass:"sui-form-field"},[e("label",{staticClass:"sui-checkbox",attrs:{for:"disable_for_known_users"}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.disable_for_known_users,expression:"disable_for_known_users"}],attrs:{type:"checkbox",id:"disable_for_known_users",name:"disable_for_known_users","aria-labelledby":"label-disable_for_known_users"},domProps:{checked:Array.isArray(t.disable_for_known_users)?t._i(t.disable_for_known_users,null)>-1:t.disable_for_known_users},on:{change:function(e){var s=t.disable_for_known_users,i=e.target,r=!!i.checked;if(Array.isArray(s)){var a=t._i(s,null);i.checked?a<0&&(t.disable_for_known_users=s.concat([null])):a>-1&&(t.disable_for_known_users=s.slice(0,a).concat(s.slice(a+1)))}else t.disable_for_known_users=r}}}),t._v(" "),e("span",{attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{attrs:{id:"label-disable_for_known_users"}},[t._v("\n                  "+t._s(t.__("Disable reCAPTCHA verification for logged in users"))+"\n                ")])])])])]),t._v(" "),e("div",{staticClass:"sui-box-settings-row"},[e("div",{staticClass:"sui-box-settings-col-1"},[e("span",{staticClass:"sui-settings-label"},[t._v("\n              "+t._s(t.__("Deactivate"))+"\n            ")]),t._v(" "),e("span",{staticClass:"sui-description"},[t._v("\n              "+t._s(t.__("If you no longer want to add reCAPTCHA you can turn it off. You can activate again at any time."))+"\n            ")])]),t._v(" "),e("div",{staticClass:"sui-box-settings-col-2"},[e("submit-button2",{attrs:{action:"toggle","css-class":"sui-button-ghost","data-modal-open":"deactivate-recaptcha","data-esc-close":"true",type:"button"}},[t._v("\n              "+t._s(t.__("Deactivate"))+"\n            ")])],1)])]),t._v(" "),e("div",{staticClass:"sui-box-footer"},[e("div",{staticClass:"sui-actions-right"},[e("submit-button2",{attrs:{action:"settings","css-class":"sui-button-blue save-changes"}},[e("i",{staticClass:"sui-icon-save",attrs:{"aria-hidden":"true"}}),t._v("\n            "+t._s(t.__("Save Changes"))+"\n          ")])],1)])]),t._v(" "),e("deactivate-modal")],1)}),[],!1,null,null,null).exports,ft={mixins:[a.a],components:{"mask-login":g,"security-headers":N,"password-protection":F,"password-reset":W,recaptcha:pt},data:function(){return{whitelabel:defender.whitelabel,is_free:defender.is_free,view:"",tracking_modal:defender.tracking_modal}},created:function(){var t=new URLSearchParams(window.location.search).get("view");null===t&&(t="mask-login"),this.view=t},watch:{view:function(t,e){history.replaceState({},null,this.adminUrl()+"admin.php?page=wdf-advanced-tools&view="+this.view)}},mounted:function(){var t=this;jQuery(".sui-mobile-nav").on("change",(function(){t.view=jQuery(this).val()}))},beforeMount:function(){this.$store.commit("init",advanced_tools),this.$store.commit("mask_login/init",advanced_tools.mask_login),this.$store.commit("security_headers/init",advanced_tools.security_headers),this.$store.commit("password_protection/init",advanced_tools.password_protection),this.$store.commit("password_reset/init",advanced_tools.password_reset),this.$store.commit("recaptcha/init",advanced_tools.recaptcha)}},vt=(s(248),Object(u.a)(ft,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-wrap",class:[t.maybeHighContrast()]},["show"===t.tracking_modal?e("tracking-modal"):t._e(),t._v(" "),e("div",{staticClass:"advanced-tools"},[e("div",{staticClass:"sui-header"},[e("h1",{staticClass:"sui-header-title"},[t._v(t._s(t.__("Tools")))]),t._v(" "),e("doc-link",{attrs:{link:"?utm_source=defender&utm_medium=plugin&utm_campaign=defender_tools_docs#tools"}})],1),t._v(" "),e("opcache-notice"),t._v(" "),e("div",{staticClass:"sui-row-with-sidenav"},[e("div",{staticClass:"sui-sidenav",attrs:{role:"navigation"}},[e("ul",{staticClass:"sui-vertical-tabs sui-sidenav-hide-md"},[e("li",{staticClass:"sui-vertical-tab",class:{current:"mask-login"===t.view}},[e("a",{attrs:{role:"button",href:"#"},on:{click:function(e){e.preventDefault(),t.view="mask-login"}}},[t._v(t._s(t.__("Mask Login Area")))]),t._v(" "),e("i",{class:t.$store.getters["mask_login/getIndicator"],attrs:{"aria-hidden":"true"}})]),t._v(" "),e("li",{staticClass:"sui-vertical-tab",class:{current:"security-headers"===t.view}},[e("a",{attrs:{role:"button",href:"#"},on:{click:function(e){e.preventDefault(),t.view="security-headers"}}},[t._v(t._s(t.__("Security Headers")))])]),t._v(" "),e("li",{staticClass:"sui-vertical-tab",class:{current:"password-protection"===t.view}},[e("a",{attrs:{role:"button",href:"#"},on:{click:function(e){e.preventDefault(),t.view="password-protection"}}},[t._v(t._s(t.__("Pwned Passwords")))]),t._v(" "),e("i",{class:t.$store.getters["password_protection/getIndicator"],attrs:{"aria-hidden":"true"}})]),t._v(" "),e("li",{staticClass:"sui-vertical-tab",class:{current:"password-reset"===t.view}},[e("a",{attrs:{role:"button",href:"#"},on:{click:function(e){e.preventDefault(),t.view="password-reset"}}},[t._v(t._s(t.__("Password Reset")))])]),t._v(" "),e("li",{staticClass:"sui-vertical-tab",class:{current:"recaptcha"===t.view}},[e("a",{attrs:{role:"button",href:"#"},on:{click:function(e){e.preventDefault(),t.view="recaptcha"}}},[t._v(t._s(t.__("Google reCAPTCHA")))]),t._v(" "),e("i",{class:t.$store.getters["recaptcha/getIndicator"],attrs:{"aria-hidden":"true"}})])]),t._v(" "),e("div",{staticClass:"sui-sidenav-hide-lg margin-bottom-30"},[e("select",{staticClass:"sui-select sui-mobile-nav",attrs:{"data-minimum-results-for-search":"Infinity"}},[e("option",{attrs:{value:"mask-login"},domProps:{selected:"mask-login"===t.view}},[t._v(t._s(t.__("Mask Login Area")))]),t._v(" "),e("option",{attrs:{value:"security-headers"},domProps:{selected:"security-headers"===t.view}},[t._v(t._s(t.__("Security Headers")))]),t._v(" "),e("option",{attrs:{value:"password-protection"},domProps:{selected:"password-protection"===t.view}},[t._v(t._s(t.__("Pwned Passwords")))]),t._v(" "),e("option",{attrs:{value:"password-reset"},domProps:{selected:"password-reset"===t.view}},[t._v(t._s(t.__("Password Reset")))]),t._v(" "),e("option",{attrs:{value:"recaptcha"},domProps:{selected:"recaptcha"===t.view}},[t._v(t._s(t.__("Google reCAPTCHA")))])])])]),t._v(" "),e("mask-login",{directives:[{name:"show",rawName:"v-show",value:"mask-login"===t.view,expression:"view==='mask-login'"}]}),t._v(" "),e("security-headers",{directives:[{name:"show",rawName:"v-show",value:"security-headers"===t.view,expression:"view==='security-headers'"}]}),t._v(" "),e("password-protection",{directives:[{name:"show",rawName:"v-show",value:"password-protection"===t.view,expression:"view==='password-protection'"}]}),t._v(" "),e("password-reset",{directives:[{name:"show",rawName:"v-show",value:"password-reset"===t.view,expression:"view==='password-reset'"}]}),t._v(" "),e("recaptcha",{directives:[{name:"show",rawName:"v-show",value:"recaptcha"===t.view,expression:"view==='recaptcha'"}]})],1)],1),t._v(" "),e("app-footer")],1)}),[],!1,null,"054fcc33",null).exports),ht=s(29),mt=s(14),gt=s(30),bt=s(31),yt=s(5),wt={namespaced:!0,state:function(){return{model:{},is_active:!1,routes:{},nonces:{},new_login_url:"",notices:[],redirect_traffic_page_title:"",redirect_traffic_page_url:"",is_mask_url_empty:!1,is_mask_url_page_post_exists:!1}},mutations:{updateField:o.c,init:function(t,e){t.model=e.model,t.is_active=e.is_active,t.nonces=e.nonces,t.routes=e.routes,t.new_login_url=e.new_login_url,t.notices=e.notices,t.redirect_traffic_page_title=e.redirect_traffic_page_title,t.redirect_traffic_page_url=e.redirect_traffic_page_url,t.is_mask_url_empty=e.is_mask_url_empty,t.is_mask_url_page_post_exists=e.is_mask_url_page_post_exists},updatePageForRedirect:function(t,e){t.model.redirect_traffic_page_id=e.redirect_page.id,t.redirect_traffic_page_title=e.redirect_page.text,t.redirect_traffic_page_url=e.redirect_page.url}},getters:{getField:o.a,getIndicator:function(t){if(t.is_active)return"sui-icon-check-tick sui-info";if(!0===t.model.enabled){if(t.is_mask_url_page_post_exists)return"sui-icon-info sui-error";if(t.is_mask_url_empty)return"sui-icon-warning-alert sui-warning"}}},actions:{saveSettings:function(t){t.commit("doingAjax","settings",{root:!0}),yt.makePost(t.state.routes.save_settings,t.state.nonces.save_settings,t.state.model).then((function(e){t.commit("ajaxDone","settings",{root:!0}),t.commit("init",e)}))},toggle:function(t){t.commit("doingAjax","toggle",{root:!0});var e={enabled:!t.state.model.enabled};yt.makePost(t.state.routes.toggle_module,t.state.nonces.toggle_module,e).then((function(e){if(void 0!==(null==e?void 0:e.error)){var s={error:e.error};sessionStorage.setItem("wpdef_mask_url",JSON.stringify(s))}t.commit("ajaxDone","toggle",{root:!0}),setTimeout((function(){return location.reload()}),500)}))},updateRedirectPage:function(t,e){t.commit("updatePageForRedirect",{redirect_page:e})},removeRedirectPage:function(t){t.commit("updatePageForRedirect",{redirect_page:{text:"",url:"",id:0}})}}},xt={namespaced:!0,state:function(){return{model:{},misc:{},routes:{},nonces:{}}},mutations:{updateField:o.c,init:function(t,e){t.model=e.model,t.nonces=e.nonces,t.routes=e.routes,t.misc=e.misc}},getters:{getField:o.a},actions:{saveSettings:function(t){t.commit("doingAjax",{},{root:!0}),yt.makePost(t.state.routes.save_settings,t.state.nonces.save_settings,t.state.model).then((function(e){t.commit("ajaxDone",{},{root:!0}),t.commit("init",e)}))}}},Ct={namespaced:!0,state:function(){return{model:{},all_roles:{},is_active:!1,default_message:"",routes:{},nonces:{}}},mutations:{updateField:o.c,init:function(t,e){t.model=e.model,t.all_roles=e.all_roles,t.is_active=e.is_active,t.nonces=e.nonces,t.routes=e.routes,t.default_message=e.default_message}},getters:{getField:o.a,getIndicator:function(t){return t.is_active?"sui-icon-check-tick sui-success":!0===t.model.enabled?"sui-icon-warning-alert sui-warning":void 0},isActive:function(t){return!0===t.model.enabled&&t.model.user_roles.length>1}},actions:{saveSettings:function(t,e){t.commit("doingAjax","settings",{root:!0});var s=Object.assign({},t.state.model,e);yt.makePost(t.state.routes.save_settings,t.state.nonces.save_settings,s).then((function(e){t.commit("ajaxDone","settings",{root:!0}),t.commit("init",e)}))},toggle:function(t){t.commit("doingAjax","toggle",{root:!0});var e=Object.assign({},t.state.model);e.enabled=!e.enabled,yt.makePost(t.state.routes.save_settings,t.state.nonces.save_settings,e).then((function(e){t.commit("ajaxDone","toggle",{root:!0}),setTimeout((function(){return location.reload()}),500)}))}}},kt={namespaced:!0,state:function(){return{model:{},all_roles:{},reset_last:"",default_message:"",routes:{},nonces:{}}},mutations:{updateField:o.c,init:function(t,e){t.model=e.model,t.all_roles=e.all_roles,t.reset_last=e.reset_last,t.nonces=e.nonces,t.routes=e.routes,t.default_message=e.default_message}},getters:{getField:o.a},actions:{saveSettings:function(t,e){t.commit("doingAjax",{},{root:!0});var s=Object.assign({},t.state.model,e);yt.makePost(t.state.routes.save_settings,t.state.nonces.save_settings,s).then((function(e){t.commit("ajaxDone",{},{root:!0}),t.commit("init",e)}))},forceReset:function(t){t.commit("doingAjax",{},{root:!0});var e=Object.assign({},t.state.model);e.expire_force=!0,yt.makePost(t.state.routes.toggle_reset,t.state.nonces.toggle_reset,e).then((function(e){SUI.closeModal(),t.commit("ajaxDone",{},{root:!0}),t.commit("init",e)}))},undoReset:function(t){t.commit("doingAjax",{},{root:!0});var e=Object.assign({},t.state.model);e.expire_force=!1,yt.makePost(t.state.routes.toggle_reset,t.state.nonces.toggle_reset,e).then((function(e){t.commit("ajaxDone",{},{root:!0}),t.commit("init",e)}))}}},jt={namespaced:!0,state:function(){return{model:{},is_active:!1,default_message:"",default_locations:[],woo_locations:[],buddypress_locations:[],notice_type:"",notice_text:"",preloading:!1,ticket_text:"",is_woo_active:!1,is_buddypress_active:!1,exist_error_notice:!1,error_keys:[],routes:{},nonces:{}}},mutations:{updateField:o.c,init:function(t,e){t.model=e.model,t.is_active=e.is_active,t.nonces=e.nonces,t.routes=e.routes,t.default_message=e.default_message,t.default_locations=e.default_locations,t.woo_locations=e.woo_locations,t.buddypress_locations=e.buddypress_locations,t.notice_type=e.notice_type,t.notice_text=e.notice_text,t.ticket_text=e.ticket_text,t.is_woo_active=e.is_woo_active,t.is_buddypress_active=e.is_buddypress_active},showPreloading:function(t){t.preloading=!0},hidePreloading:function(t){t.preloading=!1},showErrorNotice:function(t){t.exist_error_notice=!0},showErrorDetails:function(t,e){t.error_keys=e},hideErrorNotice:function(t){t.exist_error_notice=!1},clearErrorKeys:function(t){t.error_keys=[]}},getters:{getField:o.a,getIndicator:function(t){return"success"===t.notice_type?"sui-icon-check-tick sui-success":!0===t.model.enabled?"sui-icon-warning-alert sui-warning":void 0},dataV2Checkbox:function(t){return t.model.data_v2_checkbox},dataV2Invisible:function(t){return t.model.data_v2_invisible},dataV3Recaptcha:function(t){return t.model.data_v3_recaptcha},getErrorKeys:function(t){return t.error_keys}},actions:{saveSettings:function(t,e){t.commit("doingAjax","settings",{root:!0});var s=Object.assign({},t.state.model,e);yt.makePost(t.state.routes.save_settings,t.state.nonces.save_settings,s).then((function(e){void 0!==e.error_keys?(t.commit("showErrorNotice"),t.commit("showErrorDetails",e.error_keys)):(t.commit("hideErrorNotice"),t.commit("clearErrorKeys")),t.commit("ajaxDone","settings",{root:!0}),t.commit("init",e),t.dispatch("previewTypes")}))},toggle:function(t){t.commit("doingAjax","toggle",{root:!0});var e={enabled:!t.state.model.enabled};yt.makePost(t.state.routes.toggle_module,t.state.nonces.toggle_module,e).then((function(e){t.commit("ajaxDone","toggle",{root:!0}),setTimeout((function(){return location.reload()}),500)}))},previewTypes:function(t){t.dispatch("loadRecaptchaPreview","v2_checkbox"),t.dispatch("loadRecaptchaPreview","v2_invisible"),t.dispatch("loadRecaptchaPreview","v3_recaptcha")},loadRecaptchaPreview:function(t,e){t.commit("showPreloading"),yt.makePost(t.state.routes.load_recaptcha_preview,t.state.nonces.load_recaptcha_preview,{captcha_type:e}).then((function(s){s.preview&&(t.commit("hidePreloading"),"v2_checkbox"===e?jQuery("#v2_checkbox-recaptcha-preview").html(s.html):"v2_invisible"===e?jQuery("#v2_invisible-recaptcha-preview").html(s.html):"v3_recaptcha"===e&&jQuery("#v3_recaptcha-preview").html(s.html))}))}}},Pt=s(60),St=new _.a.Store({state:{doing_ajax:[],routes:{},nonces:{}},mutations:{init:function(t,e){t.routes=e.routes,t.nonces=e.nonces},doingAjax:function(t,e){t.doing_ajax.includes(e)||t.doing_ajax.push(e)},ajaxDone:function(t,e){t.doing_ajax=t.doing_ajax.filter((function(t){return t!==e}))}},modules:{mask_login:wt,security_headers:xt,password_protection:Ct,password_reset:kt,recaptcha:jt,AnalyticsTracking:Pt.a}}),At=s(32);r.a.component("app-footer",mt.a),r.a.component("doc-link",gt.a),r.a.component("submit-button",ht.a),r.a.component("opcache-notice",bt.a),r.a.component("tracking-modal",At.a);new r.a({el:"#defender",store:St,components:{advanced_tools:vt},render:function(t){return t(vt)}})},30:function(t,e,s){"use strict";var i={mixins:[s(2).a],name:"doc-link",props:["link"],data:function(){return{whitelabel:defender.whitelabel}},methods:{build_url:function(t){return defender.wpmudev_url+t}}},r=s(1),a=Object(r.a)(i,(function(){var t=this._self._c;return!1===this.whitelabel.hide_doc_link?t("div",{staticClass:"sui-actions-right"},[t("a",{staticClass:"sui-button sui-button-ghost",attrs:{href:this.build_url(this.link),target:"_blank"}},[t("i",{staticClass:"sui-icon-academy"}),this._v(" "+this._s(this.__("Documentation"))+"\n    ")])]):this._e()}),[],!1,null,null,null);e.a=a.exports},301:function(t,e){},303:function(t,e){},305:function(t,e){},31:function(t,e,s){"use strict";var i={name:"OPcacheNotice",mixins:[s(2).a],data:function(){return{opcacheSaveComments:defender.opcache_save_comments,opcacheMessage:defender.opcache_message}}},r=s(1),a=Object(r.a)(i,(function(){var t=this._self._c;return"disabled"==this.opcacheSaveComments?t("div",{staticClass:"sui-notice sui-notice-info"},[t("div",{staticClass:"sui-notice-content"},[t("div",{staticClass:"sui-notice-message"},[t("h3",{staticClass:"m-0"},[this._v(this._s(this.__("Enable OPcache Save Comments")))]),this._v(" "),t("p",{domProps:{innerHTML:this._s(this.opcacheMessage)}})])])]):this._e()}),[],!1,null,null,null);e.a=a.exports},32:function(t,e,s){"use strict";var i=s(2),r=s(6),a=s(5),o={name:"tracking-modal",mixins:[i.a],components:{SubmitButton2:r.a},data:function(){return{banner_1x:defender.misc.banner_1x,banner_2x:defender.misc.banner_2x,banner_alt:defender.misc.title,title:defender.misc.title,desc:defender.misc.desc,optin_button_title:defender.misc.optin_button_title,skip_button_title:defender.misc.skip_button_title,nonces:defender.misc.nonces,routes:defender.misc.routes,doing_ajax:!1}},mounted:function(){document.onreadystatechange=function(){SUI.openModal("defender-tracking-modal",jQuery("body"),void 0,!1,!0)}},methods:{handleResult:function(){var t=this,e=this;return e.doing_ajax=!0,new Promise((function(s,i){a.makePost(e.routes.save_track_modal,e.nonces.save_track_modal,{}).then((function(i){e.doing_ajax=!1,SUI.closeModal(),t.suiRemoveModalClass(),s(i)})).catch((function(t){i(t)}))}))},hideModal:function(){var t=this,e=this;return e.doing_ajax=!0,new Promise((function(s,i){a.makePost(e.routes.close_track_modal,e.nonces.close_track_modal,{}).then((function(i){e.doing_ajax=!1,SUI.closeModal(),t.suiRemoveModalClass(),s(i)})).catch((function(t){i(t)}))}))}}},n=s(1),c=Object(n.a)(o,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-modal sui-modal-md"},[e("div",{staticClass:"sui-modal-content",attrs:{role:"dialog",id:"defender-tracking-modal","aria-modal":"true","aria-label":"defender-tracking-modal-label"}},[e("div",{staticClass:"sui-box margin-bottom-5"},[e("div",{staticClass:"sui-box-header sui-flatten sui-content-center sui-spacing-top--60"},[e("figure",{staticClass:"sui-box-banner margin-bottom-30",attrs:{"aria-hidden":"true"}},[e("img",{attrs:{src:t.banner_1x,srcset:t.banner_1x+" 1x, "+t.banner_2x+" 2x",alt:t.banner_alt}})]),t._v(" "),e("button",{staticClass:"modal-close-button sui-button-white sui-button-icon sui-button-float--right",on:{click:t.hideModal}},[e("i",{staticClass:"sui-icon-close sui-md",attrs:{"aria-hidden":"true"}}),t._v(" "),e("span",{staticClass:"sui-screen-reader-text"},[t._v(t._s(t.__("Close this dialog.")))])]),t._v(" "),e("h3",{staticClass:"sui-box-title sui-lg",attrs:{id:"defender-tracking-modal-label"},domProps:{innerHTML:t._s(t.title)}}),t._v(" "),e("p",{staticClass:"sui-description",domProps:{innerHTML:t._s(t.desc)}})]),t._v(" "),e("div",{staticClass:"sui-box-footer sui-flatten sui-content-center sui-spacing-bottom--50"},[e("submit-button2",{attrs:{doing_ajax:t.doing_ajax,"css-class":"sui-button-blue"},on:{click:function(e){return t.handleResult()}}},[t._v("\n          "+t._s(t.optin_button_title)+"\n        ")])],1)]),t._v(" "),e("button",{staticClass:"sui-modal-skip defender-tracking-modal-skip-link",attrs:{type:"button"},on:{click:function(e){return t.hideModal()}}},[t._v("\n      "+t._s(t.skip_button_title)+"\n    ")])])])}),[],!1,null,null,null);e.a=c.exports},33:function(t,e,s){"use strict";var i={name:"sidetab",props:["labels","slug","active","contentClass"],methods:{getBoxId:function(t){return this.slug+t+"_box"},getId:function(t){return this.slug+t},getClass:function(t){if(this.active===t)return"active"}}},r=s(1),a=Object(r.a)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"sui-side-tabs"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.labels.length>1,expression:"labels.length > 1"}],staticClass:"sui-tabs-menu"},t._l(t.labels,(function(s){return e("label",{staticClass:"sui-tab-item",class:t.getClass(s.value),attrs:{for:t.getId(s.value)},on:{click:function(e){return t.$emit("selected",s.value)}}},[e("input",{attrs:{type:"radio",name:t.slug,id:t.getId(s.value),"data-tab-menu":t.getBoxId(s.value)},domProps:{value:s.value}}),t._v("\n      "+t._s(s.text)+"\n    ")])})),0),t._v(" "),e("div",{staticClass:"sui-tabs-content"},[t._l(t.labels,(function(s){return!0!==s.mute?e("div",{staticClass:"sui-tab-content sui-tab-boxed",class:[t.getClass(s.value),t.contentClass],attrs:{id:t.getBoxId(s.value)}},[t._t(s.value)],2):t._e()})),t._v(" "),t._t("shared")],2)])}),[],!1,null,null,null);e.a=a.exports},34:function(t,e,s){var i=s(17),r=s(35);s(18);function a(t){return null==t}function o(t){(t=function(t){var e={};for(var s in t)e[s]=t[s];return e}(t||{})).whiteList=t.whiteList||i.whiteList,t.onAttr=t.onAttr||i.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||i.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||i.safeAttrValue,this.options=t}o.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,s=e.whiteList,i=e.onAttr,o=e.onIgnoreAttr,n=e.safeAttrValue;return r(t,(function(t,e,r,c,l){var u=s[r],d=!1;if(!0===u?d=u:"function"==typeof u?d=u(c):u instanceof RegExp&&(d=u.test(c)),!0!==d&&(d=!1),c=n(r,c)){var _,p={position:e,sourcePosition:t,source:l,isWhite:d};return d?a(_=i(r,c,p))?r+":"+c:_:a(_=o(r,c,p))?void 0:_}}))},t.exports=o},35:function(t,e,s){var i=s(18);t.exports=function(t,e){";"!==(t=i.trimRight(t))[t.length-1]&&(t+=";");var s=t.length,r=!1,a=0,o=0,n="";function c(){if(!r){var s=i.trim(t.slice(a,o)),c=s.indexOf(":");if(-1!==c){var l=i.trim(s.slice(0,c)),u=i.trim(s.slice(c+1));if(l){var d=e(a,n.length,l,u,s);d&&(n+=d+"; ")}}}a=o+1}for(;o<s;o++){var l=t[o];if("/"===l&&"*"===t[o+1]){var u=t.indexOf("*/",o+2);if(-1===u)break;a=(o=u+1)+1,r=!1}else"("===l?r=!0:")"===l?r=!1:";"===l?r||c():"\n"===l&&c()}return i.trim(n)}},36:function(t,e,s){var i=s(11).FilterCSS,r=s(16),a=s(19),o=a.parseTag,n=a.parseAttr,c=s(12);function l(t){return null==t}function u(t){(t=function(t){var e={};for(var s in t)e[s]=t[s];return e}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=r.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=function(t){var e={};for(var s in t)Array.isArray(t[s])?e[s.toLowerCase()]=t[s].map((function(t){return t.toLowerCase()})):e[s.toLowerCase()]=t[s];return e}(t.whiteList||t.allowList):t.whiteList=r.whiteList,this.attributeWrapSign=!0===t.singleQuotedAttributeValue?"'":r.attributeWrapSign,t.onTag=t.onTag||r.onTag,t.onTagAttr=t.onTagAttr||r.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||r.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||r.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||r.safeAttrValue,t.escapeHtml=t.escapeHtml||r.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new i(t.css))}u.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,s=e.whiteList,i=e.onTag,a=e.onIgnoreTag,u=e.onTagAttr,d=e.onIgnoreTagAttr,_=e.safeAttrValue,p=e.escapeHtml,f=this.attributeWrapSign,v=this.cssFilter;e.stripBlankChar&&(t=r.stripBlankChar(t)),e.allowCommentTag||(t=r.stripCommentTag(t));var h=!1;e.stripIgnoreTagBody&&(h=r.StripTagBody(e.stripIgnoreTagBody,a),a=h.onIgnoreTag);var m=o(t,(function(t,e,r,o,h){var m={sourcePosition:t,position:e,isClosing:h,isWhite:Object.prototype.hasOwnProperty.call(s,r)},g=i(r,o,m);if(!l(g))return g;if(m.isWhite){if(m.isClosing)return"</"+r+">";var b=function(t){var e=c.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var s="/"===(t=c.trim(t.slice(e+1,-1)))[t.length-1];return s&&(t=c.trim(t.slice(0,-1))),{html:t,closing:s}}(o),y=s[r],w=n(b.html,(function(t,e){var s=-1!==c.indexOf(y,t),i=u(r,t,e,s);return l(i)?s?(e=_(r,t,e,v))?t+"="+f+e+f:t:l(i=d(r,t,e,s))?void 0:i:i}));return o="<"+r,w&&(o+=" "+w),b.closing&&(o+=" /"),o+=">"}return l(g=a(r,o,m))?p(o):g}),p);return h&&(m=h.remove(m)),m},t.exports=u},37:function(t,e){var s,i,r=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function n(t){if(s===setTimeout)return setTimeout(t,0);if((s===a||!s)&&setTimeout)return s=setTimeout,setTimeout(t,0);try{return s(t,0)}catch(e){try{return s.call(null,t,0)}catch(e){return s.call(this,t,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:a}catch(t){s=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch(t){i=o}}();var c,l=[],u=!1,d=-1;function _(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&p())}function p(){if(!u){var t=n(_);u=!0;for(var e=l.length;e;){for(c=l,l=[];++d<e;)c&&c[d].run();d=-1,e=l.length}c=null,u=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function v(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)e[s-1]=arguments[s];l.push(new f(t,e)),1!==l.length||u||n(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},38:function(t,e,s){"use strict";var i=s(7),r=s(20),a=s(39),o=s(26);function n(t){var e=new a(t),s=r(a.prototype.request,e);return i.extend(s,a.prototype,e),i.extend(s,e),s}var c=n(s(15));c.Axios=a,c.create=function(t){return n(o(c.defaults,t))},c.Cancel=s(27),c.CancelToken=s(53),c.isCancel=s(25),c.all=function(t){return Promise.all(t)},c.spread=s(54),c.isAxiosError=s(55),t.exports=c,t.exports.default=c},39:function(t,e,s){"use strict";var i=s(7),r=s(21),a=s(40),o=s(41),n=s(26),c=s(51),l=c.validators;function u(t){this.defaults=t,this.interceptors={request:new a,response:new a}}u.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=n(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:l.transitional(l.boolean,"1.0.0"),forcedJSONParsing:l.transitional(l.boolean,"1.0.0"),clarifyTimeoutError:l.transitional(l.boolean,"1.0.0")},!1);var s=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));var r,a=[];if(this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)})),!i){var u=[o,void 0];for(Array.prototype.unshift.apply(u,s),u=u.concat(a),r=Promise.resolve(t);u.length;)r=r.then(u.shift(),u.shift());return r}for(var d=t;s.length;){var _=s.shift(),p=s.shift();try{d=_(d)}catch(t){p(t);break}}try{r=o(d)}catch(t){return Promise.reject(t)}for(;a.length;)r=r.then(a.shift(),a.shift());return r},u.prototype.getUri=function(t){return t=n(this.defaults,t),r(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(t){u.prototype[t]=function(e,s){return this.request(n(s||{},{method:t,url:e,data:(s||{}).data}))}})),i.forEach(["post","put","patch"],(function(t){u.prototype[t]=function(e,s,i){return this.request(n(i||{},{method:t,url:e,data:s}))}})),t.exports=u},4:function(t,e,s){"use strict";function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var s=[],i=!0,r=!1,a=void 0;try{for(var o,n=t[Symbol.iterator]();!(i=(o=n.next()).done)&&(s.push(o.value),!e||s.length!==e);i=!0);}catch(t){r=!0,a=t}finally{try{i||null==n.return||n.return()}finally{if(r)throw a}}return s}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t,e)||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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s<e;s++)i[s]=t[s];return i}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.reduce((function(t,e){var s=e.split(".").slice(-1)[0];if(t[s])throw new Error("The key `".concat(s,"` is already in use."));return t[s]=e,t}),{})}function o(t){return function(){for(var e=arguments.length,s=new Array(e),r=0;r<e;r++)s[r]=arguments[r];var a="string"==typeof s[0]?[].concat(s):[""].concat(s),o=i(a,4),n=o[0],c=o[1],l=o[2],u=o[3];return n.length&&"/"!==n.charAt(n.length-1)&&(n+="/"),l="".concat(n).concat(l||"getField"),u="".concat(n).concat(u||"updateField"),t(n,c,l,u)}}function n(t){return function(e){return e.split(/[.[\]]+/).reduce((function(t,e){return t[e]}),t)}}function c(t,e){var s=e.path,i=e.value;s.split(/[.[\]]+/).reduce((function(t,e,s,r){return r.length===s+1&&(t[e]=i),t[e]}),t)}s.d(e,"a",(function(){return n})),s.d(e,"b",(function(){return l})),s.d(e,"c",(function(){return c}));var l=o((function(t,e,s,i){var r=Array.isArray(e)?a(e):e;return Object.keys(r).reduce((function(t,e){var a=r[e],o={get:function(){return this.$store.getters[s](a)},set:function(t){this.$store.commit(i,{path:a,value:t})}};return t[e]=o,t}),{})}));o((function(t,e,s,i){var r=Array.isArray(e)?a(e):e;return Object.keys(r).reduce((function(t,e){var a=r[e];return t[e]={get:function(){var t,e=this.$store;return(t=e.getters[s](a),Object.keys(t).map((function(e){return[e,t[e]]}))).map((function(t){return Object.keys(t[1]).reduce((function(r,o){var n="".concat(a,"[").concat(t[0],"].").concat(o);return Object.defineProperty(r,o,{get:function(){return e.getters[s](n)},set:function(t){e.commit(i,{path:n,value:t})}})}),{})}))}},t}),{})}))},40:function(t,e,s){"use strict";var i=s(7);function r(){this.handlers=[]}r.prototype.use=function(t,e,s){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!s&&s.synchronous,runWhen:s?s.runWhen:null}),this.handlers.length-1},r.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},r.prototype.forEach=function(t){i.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=r},41:function(t,e,s){"use strict";var i=s(7),r=s(42),a=s(25),o=s(15);function n(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return n(t),t.headers=t.headers||{},t.data=r.call(t,t.data,t.headers,t.transformRequest),t.headers=i.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),i.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||o.adapter)(t).then((function(e){return n(t),e.data=r.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return a(e)||(n(t),e&&e.response&&(e.response.data=r.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},42:function(t,e,s){"use strict";var i=s(7),r=s(15);t.exports=function(t,e,s){var a=this||r;return i.forEach(s,(function(s){t=s.call(a,t,e)})),t}},43:function(t,e,s){"use strict";var i=s(7);t.exports=function(t,e){i.forEach(t,(function(s,i){i!==e&&i.toUpperCase()===e.toUpperCase()&&(t[e]=s,delete t[i])}))}},44:function(t,e,s){"use strict";var i=s(24);t.exports=function(t,e,s){var r=s.config.validateStatus;s.status&&r&&!r(s.status)?e(i("Request failed with status code "+s.status,s.config,null,s.request,s)):t(s)}},45:function(t,e,s){"use strict";var i=s(7);t.exports=i.isStandardBrowserEnv()?{write:function(t,e,s,r,a,o){var n=[];n.push(t+"="+encodeURIComponent(e)),i.isNumber(s)&&n.push("expires="+new Date(s).toGMTString()),i.isString(r)&&n.push("path="+r),i.isString(a)&&n.push("domain="+a),!0===o&&n.push("secure"),document.cookie=n.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},46:function(t,e,s){"use strict";var i=s(47),r=s(48);t.exports=function(t,e){return t&&!i(e)?r(t,e):e}},47:function(t,e,s){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},48:function(t,e,s){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},49:function(t,e,s){"use strict";var i=s(7),r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,s,a,o={};return t?(i.forEach(t.split("\n"),(function(t){if(a=t.indexOf(":"),e=i.trim(t.substr(0,a)).toLowerCase(),s=i.trim(t.substr(a+1)),e){if(o[e]&&r.indexOf(e)>=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([s]):o[e]?o[e]+", "+s:s}})),o):o}},5:function(t,e,s){"use strict";s.r(e),s.d(e,"makePost",(function(){return _})),s.d(e,"makeGet",(function(){return p}));var i=s(28);function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){a=function(){return e};var t,e={},s=Object.prototype,i=s.hasOwnProperty,o=Object.defineProperty||function(t,e,s){t[e]=s.value},n="function"==typeof Symbol?Symbol:{},c=n.iterator||"@@iterator",l=n.asyncIterator||"@@asyncIterator",u=n.toStringTag||"@@toStringTag";function d(t,e,s){return Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,s){return t[e]=s}}function _(t,e,s,i){var r=e&&e.prototype instanceof g?e:g,a=Object.create(r.prototype),n=new E(i||[]);return o(a,"_invoke",{value:S(t,s,n)}),a}function p(t,e,s){try{return{type:"normal",arg:t.call(e,s)}}catch(t){return{type:"throw",arg:t}}}e.wrap=_;var f="suspendedStart",v="executing",h="completed",m={};function g(){}function b(){}function y(){}var w={};d(w,c,(function(){return this}));var x=Object.getPrototypeOf,C=x&&x(x($([])));C&&C!==s&&i.call(C,c)&&(w=C);var k=y.prototype=g.prototype=Object.create(w);function j(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function s(a,o,n,c){var l=p(t[a],t,o);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==r(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){s("next",t,n,c)}),(function(t){s("throw",t,n,c)})):e.resolve(d).then((function(t){u.value=t,n(u)}),(function(t){return s("throw",t,n,c)}))}c(l.arg)}var a;o(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){s(t,i,e,r)}))}return a=a?a.then(r,r):r()}})}function S(e,s,i){var r=f;return function(a,o){if(r===v)throw Error("Generator is already running");if(r===h){if("throw"===a)throw o;return{value:t,done:!0}}for(i.method=a,i.arg=o;;){var n=i.delegate;if(n){var c=A(n,i);if(c){if(c===m)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===f)throw r=h,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=v;var l=p(e,s,i);if("normal"===l.type){if(r=i.done?h:"suspendedYield",l.arg===m)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=h,i.method="throw",i.arg=l.arg)}}}function A(e,s){var i=s.method,r=e.iterator[i];if(r===t)return s.delegate=null,"throw"===i&&e.iterator.return&&(s.method="return",s.arg=t,A(e,s),"throw"===s.method)||"return"!==i&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+i+"' method")),m;var a=p(r,e.iterator,s.arg);if("throw"===a.type)return s.method="throw",s.arg=a.arg,s.delegate=null,m;var o=a.arg;return o?o.done?(s[e.resultName]=o.value,s.next=e.nextLoc,"return"!==s.method&&(s.method="next",s.arg=t),s.delegate=null,m):o:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,m)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function $(e){if(e||""===e){var s=e[c];if(s)return s.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function s(){for(;++a<e.length;)if(i.call(e,a))return s.value=e[a],s.done=!1,s;return s.value=t,s.done=!0,s};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return b.prototype=y,o(k,"constructor",{value:y,configurable:!0}),o(y,"constructor",{value:b,configurable:!0}),b.displayName=d(y,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,d(t,u,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},j(P.prototype),d(P.prototype,l,(function(){return this})),e.AsyncIterator=P,e.async=function(t,s,i,r,a){void 0===a&&(a=Promise);var o=new P(_(t,s,i,r),a);return e.isGeneratorFunction(s)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},j(k),d(k,u,"Generator"),d(k,c,(function(){return this})),d(k,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),s=[];for(var i in e)s.push(i);return s.reverse(),function t(){for(;s.length;){var i=s.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=$,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var s in this)"t"===s.charAt(0)&&i.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var s=this;function r(i,r){return n.type="throw",n.arg=e,s.next=i,r&&(s.method="next",s.arg=t),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],n=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(c&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var s=this.tryEntries.length-1;s>=0;--s){var r=this.tryEntries[s];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),m},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),T(s),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var r=i.arg;T(s)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,s,i){return this.delegate={iterator:$(e),resultName:s,nextLoc:i},"next"===this.method&&(this.arg=t),m}},e}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function n(t){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?o(Object(s),!0).forEach((function(e){c(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function c(t,e,s){return(e=function(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}function l(t,e,s,i,r,a,o){try{var n=t[a](o),c=n.value}catch(t){return void s(t)}n.done?e(c):Promise.resolve(c).then(i,r)}function u(t){return function(){var e=this,s=arguments;return new Promise((function(i,r){var a=t.apply(e,s);function o(t){l(a,i,r,o,n,"next",t)}function n(t){l(a,i,r,o,n,"throw",t)}o(void 0)}))}}var d=s.n(i).a.create({baseURL:ajaxurl+"?action=wp_defender/v1/hub/",timeout:15e3});function _(t,e,s){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return v("post",t,e,s,i).then((function(t){return t}))}function p(t,e,s){return f.apply(this,arguments)}function f(){return(f=u(a().mark((function t(e,s,i){var r,o=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=o.length>3&&void 0!==o[3]?o[3]:{},t.abrupt("return",v("get",e,s,i,r));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function v(t,e,s,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=JSON.stringify(i),o=new FormData;return o.append("data",a),d.request(n(n({},r),{},{url:h(e,s),method:t,data:o})).then((function(t){var e=t.data,s=e.success,i=void 0!==e.data.message?e.data.message:null,r=void 0!==e.data.redirect?e.data.redirect:null,a=void 0!==e.data.interval?e.data.interval:null,o=void 0!==e.data.type_notice&&e.data.type_notice;if(null!==i){var n=void 0!==e.data.auto_close&&!0===e.data.auto_close;Defender.showNotification(s?o||"success":"error",i,n)}return"session_out"===o&&null===r&&m(),null!==a?setTimeout((function(){null!==r?location.href=r:location.reload()}),1e3*a):null!==r&&(location.href=r),e.data}))}function h(t,e){return"&route="+t+"&_def_nonce="+e}function m(){setTimeout((function(){jQuery(document).trigger("heartbeat-tick.wp-auth-check",[{"wp-auth-check":!1}]),jQuery((function(){jQuery("#wp-auth-check-frame").load((function(){jQuery(this).contents().find("#loginform").submit((function(){return setTimeout((function(){location.reload()}),1e3),!0}))}))}))}),2e3)}},50:function(t,e,s){"use strict";var i=s(7);t.exports=i.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),s=document.createElement("a");function r(t){var i=t;return e&&(s.setAttribute("href",i),i=s.href),s.setAttribute("href",i),{href:s.href,protocol:s.protocol?s.protocol.replace(/:$/,""):"",host:s.host,search:s.search?s.search.replace(/^\?/,""):"",hash:s.hash?s.hash.replace(/^#/,""):"",hostname:s.hostname,port:s.port,pathname:"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname}}return t=r(window.location.href),function(e){var s=i.isString(e)?r(e):e;return s.protocol===t.protocol&&s.host===t.host}}():function(){return!0}},51:function(t,e,s){"use strict";var i=s(52),r={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){r[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}}));var a={},o=i.version.split(".");function n(t,e){for(var s=e?e.split("."):o,i=t.split("."),r=0;r<3;r++){if(s[r]>i[r])return!0;if(s[r]<i[r])return!1}return!1}r.transitional=function(t,e,s){var r=e&&n(e);function o(t,e){return"[Axios v"+i.version+"] Transitional option '"+t+"'"+e+(s?". "+s:"")}return function(s,i,n){if(!1===t)throw new Error(o(i," has been removed in "+e));return r&&!a[i]&&(a[i]=!0,console.warn(o(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(s,i,n)}},t.exports={isOlderVersion:n,assertOptions:function(t,e,s){if("object"!=typeof t)throw new TypeError("options must be an object");for(var i=Object.keys(t),r=i.length;r-- >0;){var a=i[r],o=e[a];if(o){var n=t[a],c=void 0===n||o(n,a,t);if(!0!==c)throw new TypeError("option "+a+" must be "+c)}else if(!0!==s)throw Error("Unknown option "+a)}},validators:r}},52:function(t){t.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},53:function(t,e,s){"use strict";var i=s(27);function r(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var s=this;t((function(t){s.reason||(s.reason=new i(t),e(s.reason))}))}r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var t;return{token:new r((function(e){t=e})),cancel:t}},t.exports=r},54:function(t,e,s){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},55:function(t,e,s){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},56:function(t,e){var s;s=function(){return this}();try{s=s||new Function("return this")()}catch(t){"object"==typeof window&&(s=window)}t.exports=s},58:function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var s=function(t,e){var s=t[1]||"",i=t[3];if(!i)return s;if(e&&"function"==typeof btoa){var r=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),a=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[s].concat(a).concat([r]).join("\n")}var o;return[s].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+s+"}":s})).join("")},e.i=function(t,s){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(i[a]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"==typeof o[0]&&i[o[0]]||(s&&!o[2]?o[2]=s:s&&(o[2]="("+o[2]+") and ("+s+")"),e.push(o))}},e}},59:function(t,e,s){var i,r,a={},o=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===r&&(r=i.apply(this,arguments)),r}),n=function(t,e){return e?e.querySelector(t):document.querySelector(t)},c=function(t){var e={};return function(t,s){if("function"==typeof t)return t();if(void 0===e[t]){var i=n.call(this,t,s);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),l=null,u=0,d=[],_=s(64);function p(t,e){for(var s=0;s<t.length;s++){var i=t[s],r=a[i.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](i.parts[o]);for(;o<i.parts.length;o++)r.parts.push(b(i.parts[o],e))}else{var n=[];for(o=0;o<i.parts.length;o++)n.push(b(i.parts[o],e));a[i.id]={id:i.id,refs:1,parts:n}}}}function f(t,e){for(var s=[],i={},r=0;r<t.length;r++){var a=t[r],o=e.base?a[0]+e.base:a[0],n={css:a[1],media:a[2],sourceMap:a[3]};i[o]?i[o].parts.push(n):s.push(i[o]={id:o,parts:[n]})}return s}function v(t,e){var s=c(t.insertInto);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=d[d.length-1];if("top"===t.insertAt)i?i.nextSibling?s.insertBefore(e,i.nextSibling):s.appendChild(e):s.insertBefore(e,s.firstChild),d.push(e);else if("bottom"===t.insertAt)s.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var r=c(t.insertAt.before,s);s.insertBefore(e,r)}}function h(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return s.nc}();i&&(t.attrs.nonce=i)}return g(e,t.attrs),v(t,e),e}function g(t,e){Object.keys(e).forEach((function(s){t.setAttribute(s,e[s])}))}function b(t,e){var s,i,r,a;if(e.transform&&t.css){if(!(a="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=a}if(e.singleton){var o=u++;s=l||(l=m(e)),i=x.bind(null,s,o,!1),r=x.bind(null,s,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(s=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",g(e,t.attrs),v(t,e),e}(e),i=k.bind(null,s,e),r=function(){h(s),s.href&&URL.revokeObjectURL(s.href)}):(s=m(e),i=C.bind(null,s),r=function(){h(s)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var s=f(t,e);return p(s,e),function(t){for(var i=[],r=0;r<s.length;r++){var o=s[r];(n=a[o.id]).refs--,i.push(n)}t&&p(f(t,e),e);for(r=0;r<i.length;r++){var n;if(0===(n=i[r]).refs){for(var c=0;c<n.parts.length;c++)n.parts[c]();delete a[n.id]}}}};var y,w=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")});function x(t,e,s,i){var r=s?"":i.css;if(t.styleSheet)t.styleSheet.cssText=w(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}function C(t,e){var s=e.css,i=e.media;if(i&&t.setAttribute("media",i),t.styleSheet)t.styleSheet.cssText=s;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(s))}}function k(t,e,s){var i=s.css,r=s.sourceMap,a=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||a)&&(i=_(i)),r&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([i],{type:"text/css"}),n=t.href;t.href=URL.createObjectURL(o),n&&URL.revokeObjectURL(n)}},6:function(t,e,s){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r={name:"submit-button2",props:["css-class","disabled","type","is_icon","doing_ajax","action"],computed:{getClass:function(){var t,e=["sui-button"];return!0===this.is_icon&&(e=[]),e.push(this.cssClass),void 0===this.doing_ajax?("object"===i(this.$store.state.doing_ajax)&&-1!==this.$store.state.doing_ajax.indexOf(this.action)||!0===this.$store.state.doing_ajax)&&(t=!0):t=this.doing_ajax,!0===t&&e.push("sui-button-onload"),e},isDisable:function(){return!0===this.disabled},buttonType:function(){return""===this.type?"submit":this.type}}},a=s(1),o=Object(a.a)(r,(function(){var t=this,e=t._self._c;return e("button",{class:t.getClass,attrs:{type:t.buttonType,disabled:t.isDisable},on:{click:function(e){return t.$emit("click")}}},[e("span",{staticClass:"sui-loading-text"},[t._t("default")],2),t._v(" "),e("i",{staticClass:"sui-icon-loader sui-loading",attrs:{"aria-hidden":"true"}})])}),[],!1,null,null,null);e.a=o.exports},60:function(t,e,s){"use strict";var i=s(5),r={namespaced:!0,actions:{trackFeature:function(t,e){var s,r;if(void 0!==(null==t||null===(s=t.rootState)||void 0===s||null===(s=s.nonces)||void 0===s?void 0:s.track_feature_handler)&&void 0!==(null==t||null===(r=t.rootState)||void 0===r||null===(r=r.routes)||void 0===r?void 0:r.track_feature_handler))return i.makePost(t.rootState.routes.track_feature_handler,t.rootState.nonces.track_feature_handler,e)}}};e.a=r},64:function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var s=e.protocol+"//"+e.host,i=s+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var r,a=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(a)?t:(r=0===a.indexOf("//")?a:0===a.indexOf("/")?s+a:i+a.replace(/^\.\//,""),"url("+JSON.stringify(r)+")")}))}},7:function(t,e,s){"use strict";var i=s(20),r=Object.prototype.toString;function a(t){return"[object Array]"===r.call(t)}function o(t){return void 0===t}function n(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==r.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function l(t){return"[object Function]"===r.call(t)}function u(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var s=0,i=t.length;s<i;s++)e.call(null,t[s],s,t);else for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.call(null,t[r],r,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===r.call(t)},isBuffer:function(t){return null!==t&&!o(t)&&null!==t.constructor&&!o(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:n,isPlainObject:c,isUndefined:o,isDate:function(t){return"[object Date]"===r.call(t)},isFile:function(t){return"[object File]"===r.call(t)},isBlob:function(t){return"[object Blob]"===r.call(t)},isFunction:l,isStream:function(t){return n(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function t(){var e={};function s(s,i){c(e[i])&&c(s)?e[i]=t(e[i],s):c(s)?e[i]=t({},s):a(s)?e[i]=s.slice():e[i]=s}for(var i=0,r=arguments.length;i<r;i++)u(arguments[i],s);return e},extend:function(t,e,s){return u(e,(function(e,r){t[r]=s&&"function"==typeof e?i(e,s):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},8:function(t,e){t.exports=Vue},9:function(t,e,s){"use strict";(function(t){s.d(e,"b",(function(){return C})),s.d(e,"c",(function(){return x})),s.d(e,"d",(function(){return w})),s.d(e,"e",(function(){return y}));var i=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var s,i=(s=function(e){return e.original===t},e.filter(s)[0]);if(i)return i.copy;var a=Array.isArray(t)?[]:{};return e.push({original:t,copy:a}),Object.keys(t).forEach((function(s){a[s]=r(t[s],e)})),a}function a(t,e){Object.keys(t).forEach((function(s){return e(t[s],s)}))}function o(t){return null!==t&&"object"==typeof t}var n=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var s=t.state;this.state=("function"==typeof s?s():s)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},n.prototype.addChild=function(t,e){this._children[t]=e},n.prototype.removeChild=function(t){delete this._children[t]},n.prototype.getChild=function(t){return this._children[t]},n.prototype.hasChild=function(t){return t in this._children},n.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},n.prototype.forEachChild=function(t){a(this._children,t)},n.prototype.forEachGetter=function(t){this._rawModule.getters&&a(this._rawModule.getters,t)},n.prototype.forEachAction=function(t){this._rawModule.actions&&a(this._rawModule.actions,t)},n.prototype.forEachMutation=function(t){this._rawModule.mutations&&a(this._rawModule.mutations,t)},Object.defineProperties(n.prototype,c);var l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,s){return t+((e=e.getChild(s)).namespaced?s+"/":"")}),"")},l.prototype.update=function(t){!function t(e,s,i){0;if(s.update(i),i.modules)for(var r in i.modules){if(!s.getChild(r))return void 0;t(e.concat(r),s.getChild(r),i.modules[r])}}([],this.root,t)},l.prototype.register=function(t,e,s){var i=this;void 0===s&&(s=!0);var r=new n(e,s);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&a(e.modules,(function(e,r){i.register(t.concat(r),e,s)}))},l.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1],i=e.getChild(s);i&&i.runtime&&e.removeChild(s)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),s=t[t.length-1];return!!e&&e.hasChild(s)};var u;var d=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&b(window.Vue);var s=t.plugins;void 0===s&&(s=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,n=this.commit;this.dispatch=function(t,e){return o.call(a,t,e)},this.commit=function(t,e,s){return n.call(a,t,e,s)},this.strict=r;var c=this._modules.root.state;h(this,c,[],this._modules.root),v(this,c),s.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.config.devtools)&&function(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},_={state:{configurable:!0}};function p(t,e,s){return e.indexOf(t)<0&&(s&&s.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function f(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var s=t.state;h(t,s,[],t._modules.root,!0),v(t,s,e)}function v(t,e,s){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,o={};a(r,(function(e,s){o[s]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,s,{get:function(){return t._vm[s]},enumerable:!0})}));var n=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:o}),u.config.silent=n,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(s&&t._withCommit((function(){i._data.$$state=null})),u.nextTick((function(){return i.$destroy()})))}function h(t,e,s,i,r){var a=!s.length,o=t._modules.getNamespace(s);if(i.namespaced&&(t._modulesNamespaceMap[o],t._modulesNamespaceMap[o]=i),!a&&!r){var n=m(e,s.slice(0,-1)),c=s[s.length-1];t._withCommit((function(){u.set(n,c,i.state)}))}var l=i.context=function(t,e,s){var i=""===e,r={dispatch:i?t.dispatch:function(s,i,r){var a=g(s,i,r),o=a.payload,n=a.options,c=a.type;return n&&n.root||(c=e+c),t.dispatch(c,o)},commit:i?t.commit:function(s,i,r){var a=g(s,i,r),o=a.payload,n=a.options,c=a.type;n&&n.root||(c=e+c),t.commit(c,o,n)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var s={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var a=r.slice(i);Object.defineProperty(s,a,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=s}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return m(t.state,s)}}}),r}(t,o,s);i.forEachMutation((function(e,s){!function(t,e,s,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){s.call(t,i.state,e)}))}(t,o+s,e,l)})),i.forEachAction((function(e,s){var i=e.root?s:o+s,r=e.handler||e;!function(t,e,s,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,a=s.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=a)&&"function"==typeof r.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,r,l)})),i.forEachGetter((function(e,s){!function(t,e,s,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return s(i.state,i.getters,t.state,t.getters)}}(t,o+s,e,l)})),i.forEachChild((function(i,a){h(t,e,s.concat(a),i,r)}))}function m(t,e){return e.reduce((function(t,e){return t[e]}),t)}function g(t,e,s){return o(t)&&t.type&&(s=e,e=t,t=t.type),{type:t,payload:e,options:s}}function b(t){u&&t===u||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:s});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[s].concat(t.init):s,e.call(this,t)}}function s(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(u=t)}_.state.get=function(){return this._vm._data.$$state},_.state.set=function(t){0},d.prototype.commit=function(t,e,s){var i=this,r=g(t,e,s),a=r.type,o=r.payload,n=(r.options,{type:a,payload:o}),c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(o)}))})),this._subscribers.slice().forEach((function(t){return t(n,i.state)})))},d.prototype.dispatch=function(t,e){var s=this,i=g(t,e),r=i.type,a=i.payload,o={type:r,payload:a},n=this._actions[r];if(n){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(o,s.state)}))}catch(t){0}var c=n.length>1?Promise.all(n.map((function(t){return t(a)}))):n[0](a);return new Promise((function(t,e){c.then((function(e){try{s._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(o,s.state)}))}catch(t){0}t(e)}),(function(t){try{s._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(o,s.state,t)}))}catch(t){0}e(t)}))}))}},d.prototype.subscribe=function(t,e){return p(t,this._subscribers,e)},d.prototype.subscribeAction=function(t,e){return p("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},d.prototype.watch=function(t,e,s){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,s)},d.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},d.prototype.registerModule=function(t,e,s){void 0===s&&(s={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),h(this,this.state,t,this._modules.get(t),s.preserveState),v(this,this.state)},d.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var s=m(e.state,t.slice(0,-1));u.delete(s,t[t.length-1])})),f(this)},d.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},d.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},d.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(d.prototype,_);var y=j((function(t,e){var s={};return k(e).forEach((function(e){var i=e.key,r=e.val;s[i]=function(){var e=this.$store.state,s=this.$store.getters;if(t){var i=P(this.$store,"mapState",t);if(!i)return;e=i.context.state,s=i.context.getters}return"function"==typeof r?r.call(this,e,s):e[r]},s[i].vuex=!0})),s})),w=j((function(t,e){var s={};return k(e).forEach((function(e){var i=e.key,r=e.val;s[i]=function(){for(var e=[],s=arguments.length;s--;)e[s]=arguments[s];var i=this.$store.commit;if(t){var a=P(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),s})),x=j((function(t,e){var s={};return k(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,s[i]=function(){if(!t||P(this.$store,"mapGetters",t))return this.$store.getters[r]},s[i].vuex=!0})),s})),C=j((function(t,e){var s={};return k(e).forEach((function(e){var i=e.key,r=e.val;s[i]=function(){for(var e=[],s=arguments.length;s--;)e[s]=arguments[s];var i=this.$store.dispatch;if(t){var a=P(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),s}));function k(t){return function(t){return Array.isArray(t)||o(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function j(t){return function(e,s){return"string"!=typeof e?(s=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,s)}}function P(t,e,s){return t._modulesNamespaceMap[s]}function S(t,e,s){var i=s?t.groupCollapsed:t.group;try{i.call(t,e)}catch(s){t.log(e)}}function A(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function O(){var t=new Date;return" @ "+T(t.getHours(),2)+":"+T(t.getMinutes(),2)+":"+T(t.getSeconds(),2)+"."+T(t.getMilliseconds(),3)}function T(t,e){return s="0",i=e-t.toString().length,new Array(i+1).join(s)+t;var s,i}var E={Store:d,install:b,version:"3.6.2",mapState:y,mapMutations:w,mapGetters:x,mapActions:C,createNamespacedHelpers:function(t){return{mapState:y.bind(null,t),mapGetters:x.bind(null,t),mapMutations:w.bind(null,t),mapActions:C.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var s=t.filter;void 0===s&&(s=function(t,e,s){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var a=t.mutationTransformer;void 0===a&&(a=function(t){return t});var o=t.actionFilter;void 0===o&&(o=function(t,e){return!0});var n=t.actionTransformer;void 0===n&&(n=function(t){return t});var c=t.logMutations;void 0===c&&(c=!0);var l=t.logActions;void 0===l&&(l=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=r(t.state);void 0!==u&&(c&&t.subscribe((function(t,o){var n=r(o);if(s(t,d,n)){var c=O(),l=a(t),_="mutation "+t.type+c;S(u,_,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",l),u.log("%c next state","color: #4CAF50; font-weight: bold",i(n)),A(u)}d=n})),l&&t.subscribeAction((function(t,s){if(o(t,s)){var i=O(),r=n(t),a="action "+t.type+i;S(u,a,e),u.log("%c action","color: #03A9F4; font-weight: bold",r),A(u)}})))}}};e.a=E}).call(this,s(56))}});

Anon7 - 2022
AnonSec Team