PageSourceSearch

https://superlive.chat/_nuxt/B_cV8vTCNgWr.js

js superlive.chat collected 2026-10-08 17:34:49 UTC 2,612 bytes, 1 lines download raw bytes

1try{let a="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new a.Error).stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="0ccbc4a2-ba9a-4070-8496-1e8a8569202c",a._sentryDebugIdIdentifier="sentry-dbid-0ccbc4a2-ba9a-4070-8496-1e8a8569202c")}catch(R){}import{_ as a}from"./H_65vOYDCKqz.js";import{_ as e}from"./BxSK2vrJlMHf.js";import{_ as s}from"./CB6WZwQjtFMr.js";import{c as d,a as t,d as r,F as l,b as o,E as n}from"./DlJsC1UHr0Ef.js";import{bw as i,by as p,bz as m,bI as u,gt as c,bH as b,cr as w,d0 as f}from"./Bq_YjAq9y6kq.js";import{C as _,_ as g,I as y,Q as v,x as h,a6 as x,j,V as I}from"./B9WoIr7xBb0v.js";import"./BqcvQ29vVXJB.js";const q={class:"md:mt-9 md:max-w-3xl md:mx-auto"},D=_({__name:"add-password",setup(_){const D=i(),R=p(),$=m().t,z=j(!1),E=d({password:t().min(8,$(u.passwords_min_length_error)).required($(u.required)),passwordRepeat:t().oneOf([r("password")],$(u.not_match)).required($(u.required))}),k=async a=>{if(!z.value){z.value=!0;try{const{data:e,error:s}=await c({password:a.password});if(s.value||!e.value?.success)return void b.error(w(s));D.settings.implementation.password_setup_required=!1,b.success($(u.password_changed_header)),f(R("/settings"))}finally{z.value=!1}}};return(d,t)=>{const r=a,i=e,p=s;return g(),y("div",q,[v(r,{title:d.$t(h(u).set_password),"has-go-back-button":""},null,8,["title"]),v(h(l),{"validation-schema":h(E),class:"px-6 py-2.5 mt-5 md:border md:border-label-200 md:rounded-2xl md:py-6 md:mt-4",onSubmit:k},{default:x(({meta:a})=>[v(h(o),{name:"password"},{default:x(({field:a,meta:e})=>[v(i,I(a,{id:"password",autocomplete:"new-password",type:"password",label:d.$t(h(u).set_password),placeholder:"*******","wrapper-class":"my-3","model-value":a.value,class:{"border-danger-600":e.touched&&!e.valid}}),null,16,["label","model-value","class"]),v(h(n),{name:"password",class:"text-xs text-danger-600"})]),_:1}),v(h(o),{name:"passwordRepeat"},{default:x(({field:a,meta:e})=>[v(i,I(a,{id:"passwordRepeat",autocomplete:"new-password",type:"password",label:d.$t(h(u).repeat_password),placeholder:"*******","wrapper-class":"my-3","model-value":a.value,class:{"border-danger-600":e.touched&&!e.valid}}),null,16,["label","model-value","class"]),v(h(n),{name:"passwordRepeat",class:"text-xs text-danger-600"})]),_:1}),v(p,{type:"submit",size:"large","full-width":"",class:"mt-8",loading:h(z),disabled:!a.valid||h(z),label:d.$t(h(u).confirm)},null,8,["loading","disabled","label"])]),_:1},8,["validation-schema"])])}}});export{D 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.