PageSourceSearch

https://www.rewasd.com/_nuxt/PHA-iN5z.js

js rewasd.com collected 2026-10-03 21:39:51 UTC 2,029 bytes, 1 lines download raw bytes

1import{_ as k}from"./6HuN2jx9.js";import{d as b,a as q,q as N,s as $,u as C,o as O,v as i,g as u,e as _,f as d,h as e,t as r,i as l,l as p,k as h,r as S,m as y}from"./CFxGRstO.js";import{u as T}from"./CPU1O4No.js";import{_ as B}from"./DlAUqK2U.js";const U={key:0},A={class:"container tw-py-12 tw-my-6"},E={class:"tw-mx-auto tw-w-3/4 tw-text-center"},I={class:"tw-text-display-5 !tw-text-yellow password-form-header tw-mb-6"},R={class:"tw-text-center tw-text-lg tw-mb-6"},V={key:1},D={class:"container tw-py-12 tw-my-6"},M={class:"tw-mx-auto tw-w-3/4 tw-text-center"},j={class:"tw-text-display-5 !tw-text-yellow password-form-header tw-mb-6"},L={class:"tw-text-center tw-text-lg"},W=b({__name:"OauthCallback",props:{softwareName:{}},setup(w){const m=w,s=q(),x=N(),f=$(),{t:a}=C(),c=S(!1);s.query.code?O(async()=>{try{const{userErrors:t}=await f.signInByOAuth(s.query.code);if(await x.replace({query:{}}),t?.error_message)c.value=!!t.error_message;else if(f.isSignedIn){const{get:n}=T(),o=n();o?i(o):i("/account")}}catch{i("/user/sign-in")}}):c.value=!0;const g=y(()=>s.query.error==="access_denied"?a("user.oauth.access_denied_title"):a("user.oauth.account_exists_title")),v=y(()=>s.query.error==="access_denied"?a("user.oauth.access_denied_description"):a("user.oauth.account_exists_description",{software:m.softwareName}));return(t,n)=>{const o=k;return u(c)?(_(),d("div",U,[e("div",A,[e("div",E,[e("h1",I,r(u(g)),1),e("div",R,r(u(v)),1),l(o,{to:"/user/sign-in"},{default:p(()=>[h(r(t.$t("user.login_form.sign_in_title")),1)]),_:1}),n[0]||(n[0]=e("br",null,null,-1)),l(o,{to:"/user/password-restore"},{default:p(()=>[h(r(t.$t("user.reset_password")),1)]),_:1})])])])):(_(),d("div",V,[e("div",D,[e("div",M,[e("h1",j,r(t.$t("user.oauth.verifying_details_title")),1),e("div",L,r(t.$t("user.oauth.verifying_details_description")),1)])])]))}}}),z=Object.assign(W,{__name:"UserOauthCallback"}),F={};function G(w,m){const s=z;return _(),d("div",null,[l(s,{"software-name":"reWASD"})])}const Q=B(F,[["render",G]]);export{Q as default};

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.