PageSourceSearch

https://app.cicle.ai/_expo/static/js/web/staff-sign-in-e911d9167590e45b0e70f90accbb60cf.js

js cicle.ai collected 2026-10-05 14:41:43 UTC 2,262 bytes, 1 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 y}});var t=r(d[0]),s=r(d[1]),n=e(r(d[2])),l=e(r(d[3])),u=r(d[4]),c=r(d[5]),o=r(d[6]),x=r(d[7]),f=r(d[8]),h=r(d[9]),j=r(d[10]),p=r(d[11]),T=r(d[12]),b=r(d[13]);function y(){const{_:e}=(0,t.useLingui)(),[y,N]=n.default.useState(""),[v,S]=n.default.useState(""),[_,C]=n.default.useState(null),[E,P]=n.default.useState(!1),w=(0,T.normalizeStaffUsername)(y),z=w&&!(0,T.isStaffUsername)(y)?e({id:"8Tn5sg"}):null;async function A(){if(w&&v.trim())if(z)C(z);else{C(null),P(!0);try{const t=await p.authClient.signIn.username({username:w,password:v.trim()});if(t.error)return void C(t.error.message??e({id:"HXbEFO"}));(0,u.goAfterAuth)(null)}catch(t){C(t instanceof Error?t.message:e({id:"yR4uyW"}))}finally{P(!1)}}else C(e({id:"Tncuq1"}))}return(0,b.jsxs)(c.AuthShell,{children:[(0,b.jsx)(j.WebMeta,{title:e({id:"zPlbDO"}),description:e({id:"_iM0CG"})}),(0,b.jsxs)(l.default,{className:"gap-3.5",children:[(0,b.jsxs)(l.default,{className:"gap-1.5",children:[(0,b.jsx)(f.Label,{children:(0,b.jsx)(t.Trans,{id:"7sNhEz"})}),(0,b.jsx)(x.Input,{value:y,onChangeText:N,placeholder:e({id:"Ej5415"}),autoCapitalize:"none",autoCorrect:!1}),z?(0,b.jsx)(h.Text,{className:"text-xs text-destructive",children:z}):null]}),(0,b.jsxs)(l.default,{className:"gap-1.5",children:[(0,b.jsx)(f.Label,{children:(0,b.jsx)(t.Trans,{id:"sXULwc"})}),(0,b.jsx)(x.Input,{value:v,onChangeText:S,placeholder:"\u2022\u2022\u2022\u2022\u2022\u2022",keyboardType:"number-pad",secureTextEntry:!0,onSubmitEditing:()=>{A()}})]}),_?(0,b.jsx)(h.Text,{className:"text-sm text-destructive",children:_}):null,(0,b.jsx)(o.Button,{onPress:()=>{A()},loading:E,disabled:!!z,className:"h-12 mt-1.5",children:(0,b.jsx)(h.Text,{children:(0,b.jsx)(t.Trans,{id:"5lWFkC"})})})]}),(0,b.jsx)(h.Text,{className:"text-center text-sm text-muted-foreground",children:(0,b.jsx)(h.Text,{onPress:()=>s.router.replace("/sign-in"),className:"font-medium text-foreground text-sm hover:underline",children:(0,b.jsx)(t.Trans,{id:"KwgUAV"})})})]})}},1025,[1036,1053,12,112,1586,1555,1071,1075,1554,1050,1078,1558,1115,6]);

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.