PageSourceSearch

https://softcollie.ai/chunk-A5OWX7HX.js

js softcollie.ai collected 2026-10-05 15:03:05 UTC 3,798 bytes, 1 lines download raw bytes

1import{a as B}from"./chunk-KLFQLKK6.js";import{c as I}from"./chunk-ZJEC3Q4G.js";import"./chunk-AOJN6WNJ.js";import{a as E}from"./chunk-6AT5A2BN.js";import{i as P}from"./chunk-5VBVN4XO.js";import"./chunk-SWH5CKOF.js";import"./chunk-YU36PPIJ.js";import"./chunk-2UG4SRGW.js";import"./chunk-Y4S62ETF.js";import"./chunk-MCJE6KLX.js";import{f as M,h as T}from"./chunk-UYODVI7O.js";import"./chunk-KM6MCLXU.js";import"./chunk-FV2IMS43.js";import"./chunk-3KLM56HX.js";import{b as y,c as U}from"./chunk-MOXDLQT4.js";import"./chunk-VLJ55T5Q.js";import"./chunk-ZACTTJ4S.js";import{c as S,e as O}from"./chunk-EKU7OH35.js";import"./chunk-V2PPMFND.js";import{Da as g,Db as _,Ib as C,Jc as A,Nb as o,Ob as i,Tb as w,Vb as v,Wb as d,ba as a,db as n,fc as s,gc as p,kd as b,ma as m,na as f,pb as x,uc as u,vb as h,vc as l}from"./chunk-5SAOKRHL.js";import"./chunk-NZN5XTIE.js";function D(e,R){e&1&&(o(0,"section",1)(1,"h1"),s(2),u(3,"translate"),i(),o(4,"p",2),s(5),u(6,"translate"),i()()),e&2&&(n(2),p(l(3,2,"account.unavailable")),n(3),p(l(6,4,"account.unavailableHint")))}function F(e,R){if(e&1){let t=w();o(0,"section",1)(1,"h1"),s(2),u(3,"translate"),i(),o(4,"p",2),s(5),u(6,"translate"),i(),o(7,"wr-account-auth-form",3),v("modeChange",function(c){m(t);let V=d();return f(V.mode.set(c))})("done",function(){m(t);let c=d();return f(c.goToAccount())}),i()()}if(e&2){let t=d();n(2),p(l(3,4,t.title())),n(3),p(l(6,6,t.subtitle())),n(2),_("initialMode",t.initialMode())("googleReturnTo",t.accountUrl("/account"))}}var Z=(()=>{class e{constructor(){this.store=a(E),this.mode=g("login"),this.initialMode=g("login"),this.site=a(U),this.route=a(M),this.router=a(T),this.siteCtx=a(y),this.enabled=A(()=>this.site.effective()?.customerAccountsEnabled??!1)}title(){let t=this.mode();return t==="register"?"account.createTitle":t==="forgot"?"account.forgotTitle":"account.loginTitle"}subtitle(){let t=this.mode();return t==="register"?"account.createHint":t==="forgot"?"account.forgotHint":"account.loginHint"}ngOnInit(){if(this.store.consumeOAuthFragment()){this.goToAccount();return}this.route.snapshot.queryParamMap.get("modo")==="alta"&&(this.initialMode.set("register"),this.mode.set("register")),this.store.isLoggedIn()&&this.goToAccount()}goToAccount(){return this.router.navigateByUrl(this.accountUrl("/account"))}accountUrl(t){return P(t,this.siteCtx.getContext())}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=x({type:e,selectors:[["wr-account-auth"]],decls:4,vars:1,consts:[[1,"wr-acc"],[1,"wr-acc__card"],[1,"wr-acc__sub"],[3,"modeChange","done","initialMode","googleReturnTo"]],template:function(r,c){r&1&&(o(0,"wr-store-chrome")(1,"div",0),h(2,D,7,6,"section",1)(3,F,8,8,"section",1),i()()),r&2&&(n(2),C(c.enabled()?3:2))},dependencies:[b,O,S,B,I],styles:['@charset "UTF-8";.wr-acc[_ngcontent-%COMP%]{flex:1 0 auto;display:grid;place-items:center;padding:48px 20px 64px;background:color-mix(in srgb,var(--wr-on-surface, #0f172a) 3%,transparent)}.wr-acc__card[_ngcontent-%COMP%]{width:min(420px,100%);box-sizing:border-box;display:flex;flex-direction:column;gap:14px;padding:32px 30px 30px;background:var(--wr-surface, #fff);color:var(--wr-on-surface, #0f172a);border:1px solid color-mix(in srgb,currentColor 9%,transparent);border-radius:18px;box-shadow:0 18px 44px #02061714;font-family:var(--wr-font-body, system-ui, sans-serif)}.wr-acc__card[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-family:var(--wr-font-heading);font-size:23px;line-height:1.2;margin:0}.wr-acc__sub[_ngcontent-%COMP%]{margin:-6px 0 2px;font-size:13.5px;opacity:.65;line-height:1.4}@media (max-width: 560px){.wr-acc[_ngcontent-%COMP%]{padding:24px 14px 40px}.wr-acc__card[_ngcontent-%COMP%]{padding:26px 20px 24px;border-radius:16px}}'],changeDetection:0})}}return e})();export{Z as AccountAuthComponent};

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.