(()=>{var e={919:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});var s=t(5769),n=t.n(s),i=t(959),o={insert:"head",singleton:!1};n()(i.A,o);const a=i.A.locals||{}},959:(e,r,t)=>{"use strict";t.d(r,{A:()=>i});var s=t(3541),n=t.n(s)()((function(e){return e[1]}));n.push([e.id,'.fls_login_wrapper{max-width:500px}.fls_login_wrapper *{box-sizing:border-box}.fls_login_wrapper #fls_2fa_form>p,.fls_login_wrapper form#loginform>p{display:block;margin-bottom:15px}.fls_login_wrapper #fls_2fa_form .wp-pwd{margin-bottom:20px}.fls_login_wrapper #fls_2fa_form label,.fls_login_wrapper form#loginform label{display:block;font-weight:500}.fls_login_wrapper #fls_2fa_form .input,.fls_login_wrapper .fls_magic_input,.fls_login_wrapper form#loginform .input{margin-top:10px;padding:10px;width:100%}.fls_login_wrapper #fls_2fa_form,.fls_login_wrapper form#loginform{box-sizing:border-box;display:block;overflow:hidden;width:100%}.fls_login_wrapper #fls_magic_submit,.fls_login_wrapper input#wp-submit{background:#0275ff;border:0;border-radius:5px;color:#fff;padding:10px 15px;width:100%}.fls_registration_wrapper{max-width:500px}.fls_registration_wrapper .fls_registration_form{display:grid}.fls_registration_wrapper .fls_registration_form .fls_field_group{display:block;margin-bottom:15px}.fls_registration_wrapper .fls_registration_form .fls_field_group .fls_field_label.is-required label:after{color:#f56c6c;content:" *";margin-left:3px}.fls_registration_wrapper .fls_registration_form .fls_field_group.is-error input{border-color:#f56c6c}.fls_registration_wrapper .fls_registration_form input{margin-top:10px;padding:10px;width:100%}.fls_registration_wrapper .fls_registration_form #fls_submit,.fls_registration_wrapper .fls_registration_form #fls_verification_submit{background:#0275ff;border:0;border-radius:5px;color:#fff;padding:10px 15px;width:100%}.fls_registration_wrapper .fls_registration_form #fls_submit span,.fls_registration_wrapper .fls_registration_form #fls_verification_submit span{opacity:1;transition:all 1s}.fls_registration_wrapper .fls_registration_form #fls_submit svg,.fls_registration_wrapper .fls_registration_form #fls_verification_submit svg{display:none;margin:0 auto;transition:all 1s}.fls_registration_wrapper .fls_registration_form #fls_submit svg path,.fls_registration_wrapper .fls_registration_form #fls_submit svg rect,.fls_registration_wrapper .fls_registration_form #fls_verification_submit svg path,.fls_registration_wrapper .fls_registration_form #fls_verification_submit svg rect{fill:#fff;transition:initial}.fls_registration_wrapper .fls_registration_form #fls_submit.fls_loading,.fls_registration_wrapper .fls_registration_form #fls_verification_submit.fls_loading{background:rgba(2,117,255,.569)}.fls_registration_wrapper .fls_registration_form #fls_submit.fls_loading span,.fls_registration_wrapper .fls_registration_form #fls_verification_submit.fls_loading span{display:none;opacity:0}.fls_registration_wrapper .fls_registration_form #fls_submit.fls_loading svg,.fls_registration_wrapper .fls_registration_form #fls_verification_submit.fls_loading svg{display:block;opacity:1}.fls_registration_wrapper .fls_signup_verification{margin-bottom:30px}.fls_reset_pass_wrapper{max-width:500px}.fls_reset_pass_wrapper .fls_reset_pass_form{display:grid}.fls_reset_pass_wrapper .fls_reset_pass_form .fls_field_group{display:block;margin-bottom:15px}.fls_reset_pass_wrapper .fls_reset_pass_form .fls_field_group .fls_field_label.is-required label:after{color:#f56c6c;content:" *";margin-left:3px}.fls_reset_pass_wrapper .fls_reset_pass_form .fls_field_group.is-error input{border-color:#f56c6c}.fls_reset_pass_wrapper .fls_reset_pass_form input{margin-top:10px;padding:10px;width:100%}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass{background:#0275ff;border:0;border-radius:5px;color:#fff;padding:15px;width:100%}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass span{opacity:1;transition:all 1s}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass svg{display:none;margin:0 auto;transition:all 1s}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass svg path,.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass svg rect{fill:#fff;transition:initial}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass.fls_loading{background:rgba(2,117,255,.569)}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass.fls_loading span{display:none;opacity:0}.fls_reset_pass_wrapper .fls_reset_pass_form #fls_reset_pass.fls_loading svg{display:block;opacity:1}.fls_reset_pass_wrapper .success.text-success{margin-top:15px;text-align:center}.error.text-danger{color:#f56c6c;font-size:12px;margin-top:4px}.fls_auth_wrapper .hide{display:none}.fls_auth_wrapper #fls_submit{margin-bottom:15px}button#fls_2fa_confirm.fls_loading{background:gray!important;border-color:gray!important;color:#fff!important}.fls_loading{cursor:wait!important;opacity:.7!important}',""]);const i=n},3541:e=>{"use strict";e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var t=e(r);return r[2]?"@media ".concat(r[2]," {").concat(t,"}"):t})).join("")},r.i=function(e,t,s){"string"==typeof e&&(e=[[null,e,""]]);var n={};if(s)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(n[o]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);s&&n[l[0]]||(t&&(l[2]?l[2]="".concat(t," and ").concat(l[2]):l[2]=t),r.push(l))}},r}},5769:(e,r,t)=>{"use strict";var s,n=function(){return void 0===s&&(s=Boolean(window&&document&&document.all&&!window.atob)),s},i=function(){var e={};return function(r){if(void 0===e[r]){var t=document.querySelector(r);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[r]=t}return e[r]}}(),o=[];function a(e){for(var r=-1,t=0;t<o.length;t++)if(o[t].identifier===e){r=t;break}return r}function l(e,r){for(var t={},s=[],n=0;n<e.length;n++){var i=e[n],l=r.base?i[0]+r.base:i[0],f=t[l]||0,_="".concat(l," ").concat(f);t[l]=f+1;var p=a(_),d={css:i[1],media:i[2],sourceMap:i[3]};-1!==p?(o[p].references++,o[p].updater(d)):o.push({identifier:_,updater:g(d,r),references:1}),s.push(_)}return s}function f(e){var r=document.createElement("style"),s=e.attributes||{};if(void 0===s.nonce){var n=t.nc;n&&(s.nonce=n)}if(Object.keys(s).forEach((function(e){r.setAttribute(e,s[e])})),"function"==typeof e.insert)e.insert(r);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(r)}return r}var _,p=(_=[],function(e,r){return _[e]=r,_.filter(Boolean).join("\n")});function d(e,r,t,s){var n=t?"":s.media?"@media ".concat(s.media," {").concat(s.css,"}"):s.css;if(e.styleSheet)e.styleSheet.cssText=p(r,n);else{var i=document.createTextNode(n),o=e.childNodes;o[r]&&e.removeChild(o[r]),o.length?e.insertBefore(i,o[r]):e.appendChild(i)}}function c(e,r,t){var s=t.css,n=t.media,i=t.sourceMap;if(n?e.setAttribute("media",n):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(s+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=s;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(s))}}var u=null,m=0;function g(e,r){var t,s,n;if(r.singleton){var i=m++;t=u||(u=f(r)),s=d.bind(null,t,i,!1),n=d.bind(null,t,i,!0)}else t=f(r),s=c.bind(null,t,r),n=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return s(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;s(e=r)}else n()}}e.exports=function(e,r){(r=r||{}).singleton||"boolean"==typeof r.singleton||(r.singleton=n());var t=l(e=e||[],r);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var s=0;s<t.length;s++){var n=a(t[s]);o[n].references--}for(var i=l(e,r),f=0;f<t.length;f++){var _=a(t[f]);0===o[_].references&&(o[_].updater(),o.splice(_,1))}t=i}}}}},r={};function t(s){var n=r[s];if(void 0!==n)return n.exports;var i=r[s]={id:s,exports:{}};return e[s](i,i.exports,t),i.exports}t.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return t.d(r,{a:r}),r},t.d=(e,r)=>{for(var s in r)t.o(r,s)&&!t.o(e,s)&&Object.defineProperty(e,s,{enumerable:!0,get:r[s]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.nc=void 0,t(919),document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("flsRegistrationForm"),r=document.getElementById("flsResetPasswordForm"),t=document.getElementById("loginform");function s(e){e&&(e.classList.toggle("fls_loading"),e.disabled=!e.disabled)}function n(){var e=document.getElementById("fls_2fa_form");e&&e.addEventListener("submit",(function(r){r.preventDefault(),i(e,"fls_2fa_confirm","fluent_auth_2fa_email")}))}function i(e,r,t,n,i){var a=document.getElementById(r);s(a),document.querySelectorAll(".error.text-danger").forEach((function(e){e.parentNode.parentNode.classList.remove("is-error"),e.remove()}));var l=new FormData(e);l.append("action",t),l.append("_nonce",window.fluentAuthPublic.fls_login_nonce),l.append("_is_fls_form","yes");var f=new XMLHttpRequest,_=window.fluentAuthPublic.ajax_url;f.open("POST",_,!0),f.responseType="json",f.onload=function(){if(s(a),200===this.status){if(n)return void n(this.response);o(this.response,e)}else{var r=this.response.error;if((!r&&this.response.message||r&&403===this.response.data.status)&&(r=this.response.message),r){var t=document.createElement("div");t.classList.add("error","text-danger"),t.innerHTML=r,e.appendChild(t)}else for(var l in this.response){var f=document.getElementById("flt_"+l);if(f){var _=document.createElement("div");_.classList.add("error","text-danger"),_.innerHTML=Object.values(this.response[l])[0],f.parentNode.insertBefore(_,f.nextSibling),f.parentNode.parentNode.classList.add("is-error")}}i&&i(this.response)}},f.send(l)}function o(e,r){if(e.load_2fa)document.getElementById("fls_login_form").innerHTML=e.two_fa_form,setTimeout((function(){n()}),200);else{if(e.redirect)return void(window.location.href=e.redirect);if(!e.message)return void window.location.reload();var t=document.createElement("div");t.classList.add("success","text-success","fls-text-success"),t.innerHTML=e.message,r.appendChild(t),r.reset()}}function a(e,r,t){e.preventDefault(),r.parentNode.parentNode.classList.toggle("hide"),document.querySelector(t).classList.toggle("hide")}!function(){var e=document.getElementById("user_login");e&&(e.placeholder=window.fluentAuthPublic.i18n.Username_or_Email);var r=document.getElementById("user_pass");r&&(r.placeholder=window.fluentAuthPublic.i18n.Password)}(),e&&e.addEventListener("submit",(function(r){r.preventDefault();var t=document.getElementById("fls_verification_submit");s(t),i(e,"fls_submit","fluent_auth_signup",(function(r){if(s(t),r.verifcation_html){var n=r.verifcation_html,i=document.createElement("div");i.innerHTML=n,e.appendChild(i);for(var a=e.getElementsByClassName("fls_registration_fields"),l=0;l<a.length;l++)a[l].style.display="none"}else o(r,e)}),(function(e){s(t)}))})),r&&r.addEventListener("submit",(function(e){e.preventDefault(),i(r,"fls_reset_pass","fluent_auth_rp")})),t&&t.addEventListener("submit",(function(e){e.preventDefault(),i(t,"wp-submit","fluent_auth_login")})),n(),document.getElementById("fls_show_signup")&&document.getElementById("fls_show_signup").addEventListener("click",(function(e){a(e,this,".fls_registration_wrapper")})),document.getElementById("fls_show_reset_password")&&document.getElementById("fls_show_reset_password").addEventListener("click",(function(e){a(e,this,".fls_reset_pass_wrapper")})),document.getElementById("fls_show_login")&&document.getElementById("fls_show_login").addEventListener("click",(function(e){a(e,this,".fls_login_wrapper")}))}))})();