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AgD,EAAE,EAAE,CAAC,CAAE,CAAA,EAAE,gBAAgB,CAAC,QAAkN,WAAa,AAAS,aAAT,EAAE,IAAI,CAAe,CAAA,EAAE,IAAI,CAAC,OAAO,MAAA,GAAA,EAAG,SAAS,CAAC,OAAO,CAAC,EAAE,EAAA,EAAK,CAAA,EAAE,IAAI,CAAC,WAAW,MAAA,GAAA,EAAG,SAAS,CAAC,OAAO,CAAC,EAAE,EAAA,CAAG,GAA/T,GAAI,CAAA,EAAE,KAAK,EAAE,EAAE,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,gBAAgB,CAAC,QAAQ,KAAsF,IAAA,CAAjF,CAAA,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG,CAAC,UAAA,AAA0B,OAAhB,CAAA,EAAA,OAAO,SAAS,AAAT,GAAP,AAAA,KAAA,IAAA,GAAA,EAAkB,sBAAsB,CAAC,EAAE,EAAA,CAA6H,EAAviB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,EAAG,SAAS,aAAa","sources":["","wwwroot/js/libs/password-toggle.js","node_modules/@nephele/password-toggle/index.iife.js"],"sourcesContent":["(function () {\n(function() {\n \"use strict\";\n (function(s) {\n var _s_getAttribute, _s_getAttribute1;\n if (!s) {\n console.error(\"Password Toggle\", \"Could not find the current script\");\n return;\n }\n var _s_getAttribute_split_map, _s_getAttribute_split_map1, _s_getAttribute2, _s_getAttribute3;\n const r = (_s_getAttribute_split_map = (_s_getAttribute = s.getAttribute(\"data-password-toggle-selector\")) === null || _s_getAttribute === void 0 ? void 0 : _s_getAttribute.split(\",\").map((t)=>t.trim())) !== null && _s_getAttribute_split_map !== void 0 ? _s_getAttribute_split_map : [], o = (_s_getAttribute_split_map1 = (_s_getAttribute1 = s.getAttribute(\"data-password-input-selector\")) === null || _s_getAttribute1 === void 0 ? void 0 : _s_getAttribute1.split(\",\").map((t)=>t.trim())) !== null && _s_getAttribute_split_map1 !== void 0 ? _s_getAttribute_split_map1 : [], i = (_s_getAttribute2 = s.getAttribute(\"data-password-hidden-icon-class\")) !== null && _s_getAttribute2 !== void 0 ? _s_getAttribute2 : \"\", e = (_s_getAttribute3 = s.getAttribute(\"data-password-visible-icon-class\")) !== null && _s_getAttribute3 !== void 0 ? _s_getAttribute3 : \"\";\n if (!r || !o) throw new Error(\"Missing required attributes\");\n if (r.length !== o.length) throw new Error(\"The number of password toggle selectors must match the number of password input selectors\");\n for(let t = 0; t < Math.min(r.length, o.length); t++)n(o[t], r[t], e, i);\n })(document.currentScript);\n function n(s, r, o, i) {\n const e = document.querySelector(s), t = document.querySelector(r);\n if (!t) throw new Error(`Missing toggle password element, with selector: ${r}`);\n t.addEventListener(\"click\", a), e && (e.value || t.classList.add(\"hidden\"), e.addEventListener(\"input\", ()=>{\n var _window_formUtils;\n e.value && e.value.length > 0 ? t.classList.remove(\"hidden\") : t.classList.add(\"hidden\"), (_window_formUtils = window.formUtils) === null || _window_formUtils === void 0 ? void 0 : _window_formUtils.checkSubmitButtonState(e);\n }));\n function a() {\n e.type === \"password\" ? (e.type = \"text\", t === null || t === void 0 ? void 0 : t.classList.replace(o, i)) : (e.type = \"password\", t === null || t === void 0 ? void 0 : t.classList.replace(i, o));\n }\n }\n})();\n\n\n\n})();\n//# sourceMappingURL=password-toggle.js.map\n","import '@nephele/password-toggle/index.iife.js';\n","(function(){\"use strict\";(function(s){if(!s){console.error(\"Password Toggle\",\"Could not find the current script\");return}const r=s.getAttribute(\"data-password-toggle-selector\")?.split(\",\").map(t=>t.trim())??[],o=s.getAttribute(\"data-password-input-selector\")?.split(\",\").map(t=>t.trim())??[],i=s.getAttribute(\"data-password-hidden-icon-class\")??\"\",e=s.getAttribute(\"data-password-visible-icon-class\")??\"\";if(!r||!o)throw new Error(\"Missing required attributes\");if(r.length!==o.length)throw new Error(\"The number of password toggle selectors must match the number of password input selectors\");for(let t=0;t{e.value&&e.value.length>0?t.classList.remove(\"hidden\"):t.classList.add(\"hidden\"),window.formUtils?.checkSubmitButtonState(e)}));function a(){e.type===\"password\"?(e.type=\"text\",t?.classList.replace(o,i)):(e.type=\"password\",t?.classList.replace(i,o))}}})();\n"],"names":["s","_s_getAttribute","_s_getAttribute1","_s_getAttribute_split_map","_s_getAttribute_split_map1","_s_getAttribute2","_s_getAttribute3","console","error","r","getAttribute","split","map","t","trim","o","i","e","Error","length","Math","min","n","document","querySelector","addEventListener","type","classList","replace","value","add","_window_formUtils","remove","window","formUtils","checkSubmitButtonState","currentScript"],"version":3,"file":"password-toggle.js.map"}