1import{z as f}from"./chunk-HVHJBPYH.js";import"./chunk-HGDZ6AMD.js";import"./chunk-LSBESHNF.js";import"./chunk-BVHX55FD.js";import"./chunk-XKES3XAV.js";import{ua as p}from"./chunk-MI6MLOSR.js";import{Bc as g,Xb as r,Yb as a,_a as c,jc as u,ob as d,pa as s,tb as m,ua as l,zc as o}from"./chunk-EOSBAT63.js";import"./chunk-UGY2Q5IC.js";import"./chunk-ZGVHDELW.js";var k=(()=>{class t extends f{constructor(){super(...arguments),this.isJwtFlowEnabled=s(!1,{}),this.buttonLabel=s("Switch to JWT Login",{})}ngOnInit(){this.syncFromCookie()}toggleLoginMode(){this.isJwtFlowEnabled()?this.cookieService.clearCookie("jwt_flow"):this.cookieService.setCookie("jwt_flow","true"),this.syncFromCookie()}syncFromCookie(){let e=this.cookieService.getCookie("jwt_flow")==="true";this.isJwtFlowEnabled.set(e),this.buttonLabel.set(e?"Switch to Session Login":"Switch to JWT Login")}static{this.\u0275fac=(()=>{let e;return function(i){return(e||(e=l(t)))(i||t)}})()}static{this.\u0275cmp=d({type:t,selectors:[["app-jwt-login"]],features:[m],decls:6,vars:1,consts:[[1,"flex","min-h-screen","items-center","justify-center","bg-[radial-gradient(circle_at_top,_rgba(37,99,235,0.16),_transparent_34%),linear-gradient(180deg,_#f8fafc_0%,_#e2e8f0_100%)]","p-6"],["type","button",1,"min-w-[240px]","rounded-full","border-0","bg-slate-900","px-7","py-4","text-base","font-semibold","tracking-[0.01em]","text-white","shadow-[0_16px_40px_rgba(15,23,42,0.24)]","transition","duration-150","ease-in-out","hover:-translate-y-px","hover:bg-slate-950","hover:shadow-[0_20px_48px_rgba(15,23,42,0.28)]","focus-visible:outline","focus-visible:outline-3","focus-visible:outline-offset-4","focus-visible:outline-blue-500/35","active:translate-y-0",3,"click"]],template:function(n,i){n&1&&(r(0,"main",0),o(1,` 2 `),r(2,"button",1),u("click",function(){return i.toggleLoginMode()}),o(3),a(),o(4,` 3`),a(),o(5,` 4`)),n&2&&(c(3),g(` 5 `,i.buttonLabel(),` 6 `))},dependencies:[p],encapsulation:2})}}return t})();export{k as JwtLoginComponent}; 7//# sourceMappingURL=chunk-BPRUZVDM.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.