PageSourceSearch

https://dsco-rutgers26.web.app/assets/Login-DpjTqcSs.js

js dsco-rutgers26.web.app collected 2026-10-03 12:21:49 UTC 1,514 bytes, 1 lines download raw bytes

1import{d as w,r as d,a as y,f as e,e as r,u as t,N as g,aq as m,ar as p,B as x,m as N,as as _,E as h,af as C,o as I}from"./index-Ca3ZwpZT.js";import{N as K}from"./Image-BihA9QUZ.js";import{u as q}from"./use-message-BbV2GmPD.js";import{N as c}from"./FormItem-UPIqbbTC.js";import{N as f}from"./Input-DQuntruQ.js";import"./utils-B0jGQAY7.js";import"./use-locale-oB88v_tC.js";import"./_createCompounder-BqXtkGH5.js";import"./download-C2161hUv.js";import"./Suffix-15Jw9tLT.js";const B={class:"flex justify-center items-center min-h-screen"},V=w({__name:"Login",setup(E){const o=d(""),s=d(""),u=C(),v=q();async function n(){try{await _(h,o.value,s.value);const i=u.currentRoute.value.query.redirect??"/admin";u.replace(i)}catch{v.error("Incorrect username or password")}}return(i,a)=>(I(),y("div",B,[e(t(g),{title:"Login to DSCO",class:"max-w-lg rounded-xl"},{"header-extra":r(()=>[e(t(K),{width:"50",src:"DSCO-Logo.png"})]),default:r(()=>[e(t(c),{label:"Email"},{default:r(()=>[e(t(f),{value:o.value,"onUpdate:value":a[0]||(a[0]=l=>o.value=l),type:"text",required:"",onKeydown:m(p(n,["exact","prevent"]),["enter"])},null,8,["value","onKeydown"])]),_:1}),e(t(c),{label:"Password"},{default:r(()=>[e(t(f),{value:s.value,"onUpdate:value":a[1]||(a[1]=l=>s.value=l),type:"password",required:"",onKeydown:m(p(n,["exact","prevent"]),["enter"])},null,8,["value","onKeydown"])]),_:1}),e(t(x),{class:"w-full",type:"primary",onClick:n},{default:r(()=>[...a[2]||(a[2]=[N(" Login ",-1)])]),_:1})]),_:1})]))}});export{V 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.