PageSourceSearch

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

js softcollie.ai collected 2026-10-05 15:03:06 UTC 5,279 bytes, 1 lines download raw bytes

1import{a as K}from"./chunk-KLFQLKK6.js";import"./chunk-ZJEC3Q4G.js";import"./chunk-AOJN6WNJ.js";import{a as J}from"./chunk-6AT5A2BN.js";import{i as H}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 B}from"./chunk-UYODVI7O.js";import"./chunk-KM6MCLXU.js";import"./chunk-FV2IMS43.js";import{c as R,f as L,g as N,i as F,k as q,l as U,s as W,u as j,w as G}from"./chunk-3KLM56HX.js";import{b as V}from"./chunk-MOXDLQT4.js";import"./chunk-VLJ55T5Q.js";import"./chunk-ZACTTJ4S.js";import{c as z,e as D}from"./chunk-EKU7OH35.js";import"./chunk-V2PPMFND.js";import{$a as h,Da as M,Db as x,Ha as y,Ib as k,Nb as n,Ob as o,Tb as v,Vb as P,Wb as m,ba as _,db as e,fc as a,gc as p,hc as b,kc as T,kd as I,lc as E,ma as g,mc as O,md as A,na as w,pb as S,uc as c,vb as C,vc as s}from"./chunk-5SAOKRHL.js";import{g as f}from"./chunk-NZN5XTIE.js";function Q(t,u){t&1&&(n(0,"p"),a(1),c(2,"translate"),o()),t&2&&(e(),p(s(2,1,"account.working")))}function X(t,u){if(t&1&&(n(0,"div",1),a(1,"\u2713"),o(),n(2,"h1"),a(3),c(4,"translate"),o(),n(5,"a",2),a(6),c(7,"translate"),o()),t&2){let i=m();e(3),p(s(4,3,i.isReset?"account.resetDone":"account.verifyDone")),e(2),x("href",i.loginLink(),h),e(),p(s(7,5,"account.loginCta"))}}function Y(t,u){if(t&1&&(n(0,"div",3),a(1,"\u2715"),o(),n(2,"h1"),a(3),c(4,"translate"),o(),n(5,"p"),a(6),c(7,"translate"),o(),n(8,"a",2),a(9),c(10,"translate"),o()),t&2){let i=m();e(3),p(s(4,4,"account.linkExpired")),e(3),p(s(7,6,"account.linkExpiredHint")),e(2),x("href",i.loginLink(),h),e(),p(s(10,8,"account.forgotLink"))}}function Z(t,u){t&1&&(n(0,"p",4),a(1),o()),t&2&&(e(),p(u))}function $(t,u){if(t&1){let i=v();n(0,"h1"),a(1),c(2,"translate"),o(),C(3,Z,2,1,"p",4),n(4,"form",5),P("ngSubmit",function(){g(i);let l=m();return w(l.submit())}),n(5,"label"),a(6),c(7,"translate"),n(8,"input",6),O("ngModelChange",function(l){g(i);let d=m();return E(d.password,l)||(d.password=l),w(l)}),o()(),n(9,"button",7),a(10),c(11,"translate"),o()()}if(t&2){let i,r=m();e(),p(s(2,6,"account.resetTitle")),e(2),k((i=r.store.error())?3:-1,i),e(3),b(" ",s(7,8,"account.newPassword")," "),e(2),T("ngModel",r.password),e(),x("disabled",r.store.busy()||r.password.length<8),e(),b(" ",s(11,10,r.store.busy()?"account.working":"account.resetCta")," ")}}var _t=(()=>{class t{constructor(){this.store=_(J),this.state=M("working"),this.password="",this.isReset=!1,this.route=_(B),this.siteCtx=_(V),this.platformId=_(y),this.token=""}loginLink(){return H("/account/signin",this.siteCtx.getContext())}ngOnInit(){return f(this,null,function*(){if(this.isReset=this.route.snapshot.data.mode==="reset",this.token=this.route.snapshot.queryParamMap.get("token")??"",!!A(this.platformId)){if(!this.token){this.state.set("failed");return}if(this.isReset){this.state.set("form");return}this.state.set((yield this.store.verifyEmail(this.token))?"done":"failed")}})}submit(){return f(this,null,function*(){let i=yield this.store.resetPassword(this.token,this.password);this.state.set(i?"done":"failed"),i&&(yield this.store.logout())})}static{this.\u0275fac=function(r){return new(r||t)}}static{this.\u0275cmp=S({type:t,selectors:[["wr-account-token"]],decls:6,vars:1,consts:[[1,"wr-acct"],[1,"wr-acct__icon","wr-acct__icon--ok"],[1,"wr-acct__cta",3,"href"],[1,"wr-acct__icon","wr-acct__icon--ko"],["role","alert",1,"wr-acct__err"],[1,"wr-acct__form",3,"ngSubmit"],["name","password","type","password","required","","minlength","8","autocomplete","new-password",3,"ngModelChange","ngModel"],["type","submit",1,"wr-acct__cta",3,"disabled"]],template:function(r,l){if(r&1&&(n(0,"wr-store-chrome")(1,"section",0),C(2,Q,3,3,"p")(3,X,8,7)(4,Y,11,10)(5,$,12,12),o()()),r&2){let d;e(2),k((d=l.state())==="working"?2:d==="done"?3:d==="failed"?4:5)}},dependencies:[I,G,U,R,L,N,W,j,q,F,D,z,K],styles:[".wr-acct[_ngcontent-%COMP%]{width:100%;max-width:420px;box-sizing:border-box;margin:0 auto;padding:56px 24px;display:flex;flex-direction:column;gap:16px;align-items:center;text-align:center}.wr-acct[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:22px;margin:0}.wr-acct__icon[_ngcontent-%COMP%]{width:66px;height:66px;line-height:66px;border-radius:50%;font-size:30px}.wr-acct__icon--ok[_ngcontent-%COMP%]{background:#e7f6ec;color:#1e9e54}.wr-acct__icon--ko[_ngcontent-%COMP%]{background:#fdecea;color:#c0392b}.wr-acct__form[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;width:100%;text-align:left}.wr-acct__form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:5px;font-size:14px;font-weight:600}.wr-acct__form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:1px solid #d5d9e0;border-radius:9px;padding:11px 12px;font-size:15px;font-weight:400}.wr-acct__cta[_ngcontent-%COMP%]{border:0;border-radius:10px;padding:12px 22px;background:var(--wr-primary, #004793);color:#fff;font-weight:700;text-decoration:none;cursor:pointer}.wr-acct__cta[disabled][_ngcontent-%COMP%]{opacity:.55;cursor:default}.wr-acct__err[_ngcontent-%COMP%]{background:#fdecea;color:#a4291c;border-radius:9px;padding:11px 13px;font-size:14px;margin:0;width:100%;text-align:left}"],changeDetection:0})}}return t})();export{_t as AccountTokenComponent};

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.