PageSourceSearch

https://app.captivet.com/_expo/static/js/web/login-add24f3ce39281e851690d711f10ec3a.js

js captivet.com collected 2026-10-02 01:26:28 UTC 2,983 bytes, 3 lines download raw bytes

1__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return p}});var t=r(d[0]),l=e(r(d[1]));r(d[2]);var s=e(r(d[3])),n=e(r(d[4])),o=r(d[5]),c=r(d[6]),u=r(d[7]);function p(){const{signIn:e}=(0,c.useAuth)(),[p,f]=(0,t.useState)(''),[x,h]=(0,t.useState)(''),[y,b]=(0,t.useState)(null),[j,A]=(0,t.useState)(!1),[w,S]=(0,t.useState)(!1);return(0,u.jsx)(l.default,{style:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#1c1917'},children:(0,u.jsx)(l.default,{style:{width:'100%',maxWidth:400,padding:32},children:(0,u.jsxs)(o.AppStack,{spacing:24,className:'animate-fade-in-up',children:[(0,u.jsxs)(l.default,{className:"items-center mb-2",children:[(0,u.jsxs)(l.default,{className:"flex-row items-center gap-2 px-4 py-2 rounded-2xl mb-6",style:{backgroundColor:'rgba(245, 158, 11, 0.1)'},children:[(0,u.jsx)(l.default,{className:"w-7 h-7 rounded-lg items-center justify-center",style:[{backgroundImage:'linear-gradient(135deg, #f59e0b, #d97706)'},!1],children:(0,u.jsx)(s.default,{style:{color:'#fff',fontWeight:'800',fontSize:14},children:"CV"})}),(0,u.jsx)(o.AppText,{weight:"semibold",style:{color:'#f59e0b'},children:"Platform Admin"})]}),(0,u.jsx)(o.AppHeading,{level:1,style:{color:'#ffffff'},children:"Admin Access"}),(0,u.jsx)(o.AppText,{style:{color:'#a8a29e',marginTop:4},children:"Sign in with your super admin credentials"})]}),(0,u.jsxs)(o.AppStack,{spacing:16,children:[(0,u.jsx)(o.AppInput,{label:"Email",placeholder:"[email protected]",value:p,onChangeText:f,autoCapitalize:"none",autoComplete:"email",keyboardType:"email-address",leftElement:(0,u.jsx)(o.AppIcon,{name:"mail",size:18,color:"#78716c"})}),(0,u.jsx)(o.AppInput,{label:"Password",placeholder:"Enter your password",value:x,onChangeText:h,secureTextEntry:!w,autoComplete:"password",leftElement:(0,u.jsx)(o.AppIcon,{name:"key",size:18,color:"#78716c"}),rightElement:(0,u.jsx)(n.default,{onPress:()=>S(e=>!e),accessibilityLabel:w?'Hide password':'Show password',accessibilityRole:"button",hitSlop:8,children:(0,u.jsx)(o.AppIcon,{name:w?'eye-off':'eye',size:18,color:"#78716c"})})}),y&&(0,u.jsxs)(l.default,{className:"flex-row items-center gap-2 bg-red-950 border border-red-800/50 rounded-xl p-3",children:[(0,u.jsx)(o.AppIcon,{name:"alert-circle",size:16,color:"#ef4444"}),(0,u.jsx)(o.AppText,{size:"sm",style:{color:'#fca5a5'},children:y})]}),(0,u.jsx)(o.AppButton,{onPress:async()=>{if(p&&x){b(null),A(!0);try{await e(p,x)}catch(e){b(e instanceof Error?e.message:'Failed to sign in')}finally{A(!1)}}else b('Please enter your email and password')},loading:j,disabled:j,size:"lg",fullWidth:!0,style:{backgroundColor:'#f59e0b'},children:"Sign In"})]})]})})})}},2657,[3,109,104,188,242,1494,970,2]);
2//# sourceMappingURL=/_expo/static/js/web/login-add24f3ce39281e851690d711f10ec3a.js.map
3//# debugId=55a35c8a-c481-4649-aa99-080b8ee2ce9e

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.