adminizer 4.3.0-build.73 → 4.3.0-build.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,72 +1,73 @@
1
- {
2
- "Action completed": "Harakat tugadi",
3
- "Actions": "Harakatlar",
4
- "All": "Hamma",
5
- "Are you sure?": "Ishonasizmi?",
6
- "Back": "Orqaga qaytish",
7
- "Back to Login": "Kirish uchun qaytish",
8
- "Clean": "Tozalamoq",
9
- "Confirm Password": "Parolni tasdiqlang",
10
- "Confirm Password*": "Parolni tasdiqlang*",
11
- "Create": "Yaratmoq",
12
- "Create a new administrator": "Yangi ma'mur yarating",
13
- "Create an Account": "Hisob ochish",
14
- "Custom": "Odat",
15
- "Delete": "O'chirmoq",
16
- "E-mail": "Elektron pochta",
17
- "Edit": "Tahrirlamoq",
18
- "Email": "Elektron pochta",
19
- "Fast links": "Tez havolalar",
20
- "Full Name": "To'liq ism",
21
- "Full name": "To'liq ism",
22
- "Group description": "Guruh tavsifi",
23
- "Group name": "Guruh nomi",
24
- "Group settings": "Guruh sozlamalari",
25
- "Info": "Ma'lumot",
26
- "Is Administrator": "Bu ma'mur",
27
- "Is confirmed": "Tasdiqlangan",
28
- "Link": "Bog'lamoq",
29
- "Locale": "Mahalliy",
30
- "Log in": "Tizimga kirish",
31
- "Login": "Tizimga kirish",
32
- "Members": "A'zolari",
33
- "New record was created": "Yangi rekord yaratildi",
34
- "No": "Yo'q",
35
- "No records found !": "Yozuvlar topilmadi!",
36
- "No widgets found": "Vidjetlar topilmadi",
37
- "Not found": "Topilmadi",
38
- "OR": "Yoki",
39
- "Open in a new window": "Yangi oynada oching",
40
- "Password": "Parol",
41
- "Passwords do not match!": "Parollar mos kelmaydi!",
42
- "Performing an action...": "Harakatni bajarish ...",
43
- "Please fill out the fields below": "Iltimos, quyidagi maydonlarni to'ldiring",
44
- "Pretend to be a user": "Foydalanuvchi deb da'vo qiling",
45
- "Profile expires": "Profil muddati tugaydi",
46
- "Quick actions": "Tez harakatlar",
47
- "Record was not removed": "Yozuv olib tashlanmadi",
48
- "Record was removed successfully !": "Yozuv muvaffaqiyatli olib tashlandi!",
49
- "Record was updated": "Yozuv yangilandi",
50
- "Register": "Ro'yxatga olmoq",
51
- "Repeat password": "Parolni qayta kiriting",
52
- "Reset": "Qayta o'rnatmoq",
53
- "Save": "Tejash",
54
- "Search": "Qidirish",
55
- "Select": "Tanlamoq",
56
- "Select Ids": "IDS-ni tanlang",
57
- "Select Item type": "Element turi-ni tanlang",
58
- "Select Items": "Elementlarni tanlang",
59
- "Switcher": "O'zgartirmoq",
60
- "Timezone": "Vaqtincha",
61
- "Title": "Sarlavha",
62
- "Toggle to change the grid. To save the grid, turn it off.": "Panjarani o'zgartirish uchun almashtiring. Gridni saqlash uchun uni o'chiring.",
63
- "User groups": "Foydalanuvchi guruhlari",
64
- "User settings": "Foydalanuvchi parametrlari",
65
- "Values in \"password\" and \"repeatPassword\" fields should be the same": "\"Parol\" va \"Raqamli\" maydonidagi qiymatlar bir xil bo'lishi kerak",
66
- "View": "Qarash",
67
- "Welcome": "Xush kelibsiz",
68
- "Yes": "Ha",
69
- "You don't have any widgets selected yet. You can add them by clicking on the plus sign at the top right.": "Sizda hali tanlangan hech qanday vidjet yo'q. Siz ularni yuqori o'ng tomonda plyus belgisini bosish orqali qo'shishingiz mumkin.",
70
- "create": "yaratmoq",
71
- "create new": "Yangi yarating"
72
- }
1
+ {
2
+ "Action completed": "Harakat tugadi",
3
+ "Actions": "Harakatlar",
4
+ "All": "Hamma",
5
+ "Are you sure?": "Ishonasizmi?",
6
+ "Back": "Orqaga qaytish",
7
+ "Back to Login": "Kirish uchun qaytish",
8
+ "Additional login page": "Qo'shimcha kirish sahifasi",
9
+ "Clean": "Tozalamoq",
10
+ "Confirm Password": "Parolni tasdiqlang",
11
+ "Confirm Password*": "Parolni tasdiqlang*",
12
+ "Create": "Yaratmoq",
13
+ "Create a new administrator": "Yangi ma'mur yarating",
14
+ "Create an Account": "Hisob ochish",
15
+ "Custom": "Odat",
16
+ "Delete": "O'chirmoq",
17
+ "E-mail": "Elektron pochta",
18
+ "Edit": "Tahrirlamoq",
19
+ "Email": "Elektron pochta",
20
+ "Fast links": "Tez havolalar",
21
+ "Full Name": "To'liq ism",
22
+ "Full name": "To'liq ism",
23
+ "Group description": "Guruh tavsifi",
24
+ "Group name": "Guruh nomi",
25
+ "Group settings": "Guruh sozlamalari",
26
+ "Info": "Ma'lumot",
27
+ "Is Administrator": "Bu ma'mur",
28
+ "Is confirmed": "Tasdiqlangan",
29
+ "Link": "Bog'lamoq",
30
+ "Locale": "Mahalliy",
31
+ "Log in": "Tizimga kirish",
32
+ "Login": "Tizimga kirish",
33
+ "Members": "A'zolari",
34
+ "New record was created": "Yangi rekord yaratildi",
35
+ "No": "Yo'q",
36
+ "No records found !": "Yozuvlar topilmadi!",
37
+ "No widgets found": "Vidjetlar topilmadi",
38
+ "Not found": "Topilmadi",
39
+ "OR": "Yoki",
40
+ "Open in a new window": "Yangi oynada oching",
41
+ "Password": "Parol",
42
+ "Passwords do not match!": "Parollar mos kelmaydi!",
43
+ "Performing an action...": "Harakatni bajarish ...",
44
+ "Please fill out the fields below": "Iltimos, quyidagi maydonlarni to'ldiring",
45
+ "Pretend to be a user": "Foydalanuvchi deb da'vo qiling",
46
+ "Profile expires": "Profil muddati tugaydi",
47
+ "Quick actions": "Tez harakatlar",
48
+ "Record was not removed": "Yozuv olib tashlanmadi",
49
+ "Record was removed successfully !": "Yozuv muvaffaqiyatli olib tashlandi!",
50
+ "Record was updated": "Yozuv yangilandi",
51
+ "Register": "Ro'yxatga olmoq",
52
+ "Repeat password": "Parolni qayta kiriting",
53
+ "Reset": "Qayta o'rnatmoq",
54
+ "Save": "Tejash",
55
+ "Search": "Qidirish",
56
+ "Select": "Tanlamoq",
57
+ "Select Ids": "IDS-ni tanlang",
58
+ "Select Item type": "Element turi-ni tanlang",
59
+ "Select Items": "Elementlarni tanlang",
60
+ "Switcher": "O'zgartirmoq",
61
+ "Timezone": "Vaqtincha",
62
+ "Title": "Sarlavha",
63
+ "Toggle to change the grid. To save the grid, turn it off.": "Panjarani o'zgartirish uchun almashtiring. Gridni saqlash uchun uni o'chiring.",
64
+ "User groups": "Foydalanuvchi guruhlari",
65
+ "User settings": "Foydalanuvchi parametrlari",
66
+ "Values in \"password\" and \"repeatPassword\" fields should be the same": "\"Parol\" va \"Raqamli\" maydonidagi qiymatlar bir xil bo'lishi kerak",
67
+ "View": "Qarash",
68
+ "Welcome": "Xush kelibsiz",
69
+ "Yes": "Ha",
70
+ "You don't have any widgets selected yet. You can add them by clicking on the plus sign at the top right.": "Sizda hali tanlangan hech qanday vidjet yo'q. Siz ularni yuqori o'ng tomonda plyus belgisini bosish orqali qo'shishingiz mumkin.",
71
+ "create": "yaratmoq",
72
+ "create new": "Yangi yarating"
73
+ }
@@ -3,9 +3,10 @@
3
3
  "Actions": "Hành động",
4
4
  "All": "Tất cả",
5
5
  "Are you sure?": "Bạn có chắc không?",
6
- "Back": "Mặt sau",
7
- "Back to Login": "Quay lại để đăng nhập",
8
- "Clean": "Lau dọn",
6
+ "Back": "Mặt sau",
7
+ "Back to Login": "Quay lại để đăng nhập",
8
+ "Additional login page": "Trang đăng nhập bổ sung",
9
+ "Clean": "Lau dọn",
9
10
  "Confirm Password": "Xác nhận mật khẩu",
10
11
  "Confirm Password*": "Xác nhận mật khẩu*",
11
12
  "Create": "Tạo nên",
@@ -69,4 +70,4 @@
69
70
  "You don't have any widgets selected yet. You can add them by clicking on the plus sign at the top right.": "Bạn chưa có bất kỳ vật dụng nào được chọn. Bạn có thể thêm chúng bằng cách nhấp vào dấu cộng ở phía trên bên phải.",
70
71
  "create": "tạo nên",
71
72
  "create new": "Tạo mới"
72
- }
73
+ }
@@ -1 +0,0 @@
1
- import{c as Fe,r as te,q as He,a1 as Oe,j as a,a as xe,I as be,B as _e,$ as ze,T as De,a2 as ve,L as Ge,t as Ee}from"./app.js";import{Icon as ue}from"./icon-ChQBPA5l.js";import pe from"./input-error-g1h6ps7t.js";import{i as Ke}from"./use-appearance-CXP5cHaQ.js";const ke=(e,t,s)=>{let r=1n,n=e%s;for(;t;)t&1n&&(r=r*n%s),n=n*n%s,t=t>>1n;return r};function re(e,t,s){return typeof e=="bigint"&&typeof t=="bigint"&&typeof s=="bigint"?ke(e,t,s):Number(ke(BigInt(e),BigInt(t),BigInt(s)))}const v=crypto,qe=new TextEncoder,Ve=new TextDecoder("utf-8",{ignoreBOM:!0}),Y={encode:e=>qe.encode(e),decode:e=>Ve.decode(e)},Ne=(()=>{const t=[..."0123456789abcdef"],s=new Array(256);for(let r=0;r<256;r++)s[r]=`${t[r>>>4&15]}${t[r&15]}`;return s})(),We=(()=>{const e={};for(let t=0;t<256;t++){const s=Ne[t],r=s[0],n=r.toUpperCase(),c=s[1],o=c.toUpperCase();e[s]=t,e[`${r}${o}`]=t,e[`${n}${c}`]=t,e[`${n}${o}`]=t}return e})(),Xe=e=>!(e.length%2||!/^[a-fA-F0-9]*$/.test(e)),fe={encode:e=>{let t="";for(let s=0,r=e.length;s<r;s++)t+=Ne[e[s]];return t},encodeStr:e=>fe.encode(Y.encode(e)),decode:e=>{const t=e.length/2,s=new Uint8Array(t);for(let r=0;r<t;r++)s[r]=We[e.slice(r*2,r*2+2)];return s},decodeStr:e=>Y.decode(fe.decode(e)),is:Xe},Ie=e=>fe.encode(e),Se=new TextEncoder,se=e=>{const t=async o=>o instanceof Uint8Array?v.subtle.importKey("raw",o,{name:"PBKDF2"},!1,["deriveBits"]):typeof o=="string"?t(Se.encode(o.normalize())):o,s=(o,i,l,d)=>(i=typeof i=="string"?Se.encode(i):i,v.subtle.deriveBits({name:"PBKDF2",salt:i,iterations:l,hash:{name:e}},o,d)),r=async(o,i,l,d)=>{const u=await t(o);return await s(u,i,l,d*8)},n=async(o,i,l,d)=>new Uint8Array(await r(o,i,l,d)),c=async(o,i,l,d)=>Ie(await n(o,i,l,d));return c.buffer=r,c.hex=c,c.uint8=n,c},Te={sha1:se("SHA-1"),sha256:se("SHA-256"),sha384:se("SHA-384"),sha512:se("SHA-512")},ge=e=>{const t=new Uint8Array(e);return v.getRandomValues(t),t},Je=new TextEncoder,oe=e=>{const t=n=>(n=typeof n=="string"?Je.encode(n):n,v.subtle.digest(e,n)),s=async n=>new Uint8Array(await t(n)),r=async n=>Ie(await s(n));return r.buffer=t,r.hex=r,r.uint8=s,r};oe("SHA-1");const Ue=oe("SHA-256");oe("SHA-384");oe("SHA-512");const w={encode:e=>{if(e!==e>>0)throw new Error("Invalid 32-bit integer");const t=e>>24&255,s=e>>16&255,r=e>>8&255,n=e>>0&255;return new Uint8Array([t,s,r,n])},decode:e=>{if(e.length!==4)throw new Error("Invalid 32-bit integer");const t=e[0],s=e[1],r=e[2],n=e[3];return(t<<24)+(s<<16)+(r<<8)+(n<<0)}},Le=e=>{const t=e.reduce((r,n)=>r+n.byteLength,0),s=new Uint8Array(t);for(let r=0,n=0,c=e.length;n<c;n++)s.set(e[n],r),r+=e[n].byteLength;return s},Ye=async(e,t,s,r)=>{e=typeof e=="string"?Y.encode(e):e,s=typeof s=="string"?Y.encode(s):s||ge(32),s=s.length===32?s:await Ue.uint8(s);const n=new Uint8Array([1]),c=Math.max(1,r||0),o=await Te.sha256.uint8(t,s,c,32),i=await v.subtle.importKey("raw",o,"AES-GCM",!1,["encrypt"]),l=ge(16),d=await v.subtle.encrypt({name:"AES-GCM",iv:l,length:256,tagLength:128},i,e),u=new Uint8Array(d);return Le([n,s,w.encode(c),l,u])},Qe=async(e,t)=>{if(e[0]!==1)throw new Error("Unsupported encrypted archive version");const r=e.subarray(1,33),n=w.decode(e.subarray(33,37)),c=e.subarray(37,53),o=e.subarray(53),i=await Te.sha256.uint8(t,r,n,32),l=await v.subtle.importKey("raw",i,"AES-GCM",!1,["decrypt"]),d=await v.subtle.decrypt({name:"AES-GCM",iv:c,length:256,tagLength:128},l,o);return new Uint8Array(d)},je=Object.freeze(Object.defineProperty({__proto__:null,decrypt:Qe,encrypt:Ye},Symbol.toStringTag,{value:"Module"}));function J(e){let t,s=0;return()=>((!t||s===t.length)&&(t=new e(65536/(e.BYTES_PER_ELEMENT*8)),s=0,v.getRandomValues(t)),t[s++])}function Ze(e,t){let s=0,r=t;return()=>(r===t&&(s=e(),r=0),s&1<<r++?1:0)}const Q={get1:Ze(J(Uint8Array),8),get8:J(Uint8Array),get16:J(Uint16Array),get32:J(Uint32Array),get64:J(BigUint64Array)},en=Object.assign(()=>BigInt(Q.get1()),{BITS:1}),nn=Object.assign(()=>BigInt(Q.get8()),{BITS:8}),tn=Object.assign(()=>BigInt(Q.get16()),{BITS:16}),sn=Object.assign(()=>BigInt(Q.get32()),{BITS:32}),rn=Object.assign(()=>Q.get64(),{BITS:64}),f=e=>{const t=e<=1?en:e<=8?nn:e<=16?tn:e<=32?sn:rn,s=t.BITS;if(e===s)return t();if(e===128)return t()<<64n|t();if(e===160)return f(128)<<32n|f(32);if(e===192)return f(128)<<64n|f(64);if(e===224)return f(160)<<64n|f(64);if(e===256)return f(128)<<128n|f(128);if(e===384)return f(256)<<128n|f(128);if(e===512)return f(256)<<256n|f(256);if(e===1024)return f(512)<<512n|f(512);if(e===2048)return f(1024)<<1024n|f(1024);let r=0,n=0n;for(;r<e;){const c=Math.min(s,e-r),o=2n**BigInt(c)-1n,l=t()&o;if(e===c)return l;n=r?n|l<<BigInt(r):l,r+=c}return n},Me=(e,t)=>{if(e=BigInt(e),t=BigInt(t),e<0n||t<0n)throw new Error("Negative ranges are not supported");if(t<=e)throw new Error('"max" must be at least equal to "min" plus 1');const s=t-e-1n,r=s.toString(2).length;for(;;){const n=f(r);if(!(n>s))return n+e}},Ce=[2n,3n,5n,7n,11n,13n,17n,19n,23n,29n,31n,37n,41n,43n,47n,53n,59n,61n,67n,71n,73n,79n,83n,89n,97n,101n,103n,107n,109n,113n,127n,131n,137n,139n,149n,151n,157n,163n,167n,173n,179n,181n,191n,193n,197n,199n,211n,223n,227n,229n,233n,239n,241n,251n,257n,263n,269n,271n,277n,281n,283n,293n,307n,311n,313n,317n,331n,337n,347n,349n,353n,359n,367n,373n,379n,383n,389n,397n,401n,409n,419n,421n,431n,433n,439n,443n,449n,457n,461n,463n,467n,479n,487n,491n,499n,503n,509n,521n,523n,541n,547n,557n,563n,569n,571n,577n,587n,593n,599n,601n,607n,613n,617n,619n,631n,641n,643n,647n,653n,659n,661n,673n,677n,683n,691n,701n,709n,719n,727n,733n,739n,743n,751n,757n,761n,769n,773n,787n,797n,809n,811n,821n,823n,827n,829n,839n,853n,857n,859n,863n,877n,881n,883n,887n,907n,911n,919n,929n,937n,941n,947n,953n,967n,971n,977n,983n,991n,997n],on=(e,t=8)=>{if(e<=1n)return!1;for(let n=0,c=Ce.length;n<c;n++){const o=Ce[n];if(e%o===0n)return e===o}if(e<=1000n)return!1;let s=0n,r=e-1n;for(;(r&1n)===0n;)s+=1n,r>>=1n;for(let n=0;n<t;n++){const c=Me(2n,e-2n);let o=re(c,r,e),i=0n;for(let l=0;l<s;l++){if(i=re(o,2n,e),i===1n&&o!==1n&&o!==e-1n)return!1;o=i}if(i!==1n)return!1}return!0},Be=(e,t=8)=>{let s=f(e);for((s&1n)===0n&&(s+=1n);;){if(on(s,t))return s;s+=2n}},x={encode:e=>{let t=0n;for(let s=0,r=e.length;s<r;s++)t|=BigInt(e[s])<<(BigInt(r)-BigInt(s)-1n)*8n;return t},decode:e=>{if(e<0n)throw new Error("Negative BigInts are not supported");const t=[];for(;e;)t.push(Number(e&0xffn)),e>>=8n;return new Uint8Array(t.reverse())}},Ae={archive:e=>{const[t,s,r,n,c]=e,o=x.decode(t),i=w.encode(o.length),l=x.decode(s),d=w.encode(l.length),u=x.decode(r),h=w.encode(u.length),g=x.decode(n),m=w.encode(g.length);return Le([i,o,d,l,h,u,m,g,c])},unarchive:e=>{const s=e.slice(0,4),r=w.decode(s),n=4,c=e.slice(n,n+r),o=x.encode(c),i=n+r,l=e.slice(i,i+4),d=w.decode(l),u=i+4,h=e.slice(u,u+d),g=x.encode(h),m=u+d,y=e.slice(m,m+4),k=w.decode(y),p=m+4,N=e.slice(p,p+k),S=x.encode(N),b=p+k,I=e.slice(b,b+4),_=w.decode(I),j=b+4,C=e.slice(j,j+_),B=x.encode(C),A=j+_,E=e.slice(A);return[o,g,S,B,E]}},cn=(e,t,s)=>{let r=e%s;if(t<=BigInt(Number.MAX_SAFE_INTEGER))for(let n=Number(t);n>0;n--)r=r*r%s;else for(let n=t;n>0n;n--)r=r*r%s;return r%s},an={generate:async e=>{const t=e.primeBits??100,s=e.primeRounds??20,r=e.opsPerSecond??33e5,n=e.duration??1e3,c=e.message,o=Be(t,s),i=Be(t,s),l=o*i,d=(o-1n)*(i-1n),u=r,h=n,g=BigInt(Math.round(Math.max(1,u/1e3)*h)),m=await Ue.uint8(ge(32)),y=c,k=await je.encrypt(y,m),p=Me(1n,l-1n),N=re(2n,g,d),S=re(p,N,l),b=x.encode(m)+S;return Ae.archive([l,p,g,b,k])},solve:async e=>{const[t,s,r,n,c]=Ae.unarchive(e),o=cn(s,r,t),i=x.decode(n-o),l=await je.decrypt(c,i);return Y.decode(l)}};function mn(){const e=Fe.c(85),[t,s]=te.useState(!1);let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],e[0]=r):r=e[0],te.useEffect(un,r);const n=He(),c=Array.isArray(n.props.captchaTask)&&n.props.captchaTask.length>0,[o,i]=te.useState("I'm not a robot"),[l,d]=te.useState(!1);let u;e[1]===Symbol.for("react.memo_cache_sentinel")?(u={login:"",password:"",captchaSolution:""},e[1]=u):u=e[1];const{post:h,data:g,setData:m,processing:y,transform:k,errors:p,clearErrors:N}=Oe(u);let S;e[2]!==c||e[3]!==n.props.captchaTask||e[4]!==n.props.submitLink||e[5]!==h||e[6]!==k?(S=T=>{if(T.preventDefault(),!c){h(n.props.submitLink,{onError:dn});return}s(!0),i("Solving CAPTCHA..."),d(!1),(async()=>{try{await function(Re){return new Promise($e=>setTimeout($e,Re))}(100);const ye=new Uint8Array(n.props.captchaTask),Pe=await an.solve(ye);i("Verification complete!"),s(!1),d(!0),k(we=>({...we,captchaSolution:Pe})),h(n.props.submitLink,{onError:ln})}catch(me){console.error("Error solving CAPTCHA:",me),i("Error solving CAPTCHA. Try again.")}})()},e[2]=c,e[3]=n.props.captchaTask,e[4]=n.props.submitLink,e[5]=h,e[6]=k,e[7]=S):S=e[7];const b=S;let I;e[8]!==N||e[9]!==m?(I=(T,he)=>{N(),m(T,he)},e[8]=N,e[9]=m,e[10]=I):I=e[10];const _=I;let j;e[11]===Symbol.for("react.memo_cache_sentinel")?(j=a.jsx(De,{position:"top-center",richColors:!0,closeButton:!0}),e[11]=j):j=e[11];let C;e[12]!==n.props.title?(C=a.jsx("h1",{className:"font-medium mb-6 text-xl",children:n.props.title}),e[12]=n.props.title,e[13]=C):C=e[13];let B;e[14]!==n.props.description?(B=n.props.description&&a.jsx("p",{className:"font-thin mb-6 text-xs pb-10",children:n.props.description}),e[14]=n.props.description,e[15]=B):B=e[15];let A;e[16]!==p.captchaSolution||e[17]!==c?(A=c&&a.jsx(pe,{message:p.captchaSolution}),e[16]=p.captchaSolution,e[17]=c,e[18]=A):A=e[18];let E;e[19]!==n.props.login?(E=a.jsx(xe,{htmlFor:"login",children:n.props.login}),e[19]=n.props.login,e[20]=E):E=e[20];let Z;e[21]===Symbol.for("react.memo_cache_sentinel")?(Z=a.jsx(ue,{iconNode:ve,className:"size-5 absolute inset-2"}),e[21]=Z):Z=e[21];const ce=`pl-10 ${p.login?"border-red-500":""}`,ie=y||t;let U;e[22]!==_?(U=T=>{_("login",T.target.value)},e[22]=_,e[23]=U):U=e[23];let L;e[24]!==g.login||e[25]!==n.props.login||e[26]!==ce||e[27]!==ie||e[28]!==U?(L=a.jsx(be,{id:"login",className:ce,type:"text",required:!0,tabIndex:1,autoComplete:"username",value:g.login,disabled:ie,onChange:U,placeholder:n.props.login}),e[24]=g.login,e[25]=n.props.login,e[26]=ce,e[27]=ie,e[28]=U,e[29]=L):L=e[29];let M;e[30]!==p.login?(M=a.jsx(pe,{message:p.login}),e[30]=p.login,e[31]=M):M=e[31];let P;e[32]!==L||e[33]!==M?(P=a.jsxs("div",{className:"relative",children:[Z,L,M]}),e[32]=L,e[33]=M,e[34]=P):P=e[34];let R;e[35]!==P||e[36]!==E?(R=a.jsxs("div",{className:"grid gap-4",children:[E,P]}),e[35]=P,e[36]=E,e[37]=R):R=e[37];let $;e[38]!==n.props.password?($=a.jsx(xe,{htmlFor:"login",children:n.props.password}),e[38]=n.props.password,e[39]=$):$=e[39];let ee;e[40]===Symbol.for("react.memo_cache_sentinel")?(ee=a.jsx(ue,{iconNode:ve,className:"size-5 absolute inset-2"}),e[40]=ee):ee=e[40];const ae=`pl-10 ${p.password?"border-red-500":""}`,le=y||t;let F;e[41]!==_?(F=T=>{_("password",T.target.value)},e[41]=_,e[42]=F):F=e[42];let H;e[43]!==g.password||e[44]!==n.props.password||e[45]!==ae||e[46]!==le||e[47]!==F?(H=a.jsx(be,{id:"password",className:ae,type:"password",required:!0,disabled:le,tabIndex:1,autoComplete:"current-password",value:g.password,onChange:F,placeholder:n.props.password}),e[43]=g.password,e[44]=n.props.password,e[45]=ae,e[46]=le,e[47]=F,e[48]=H):H=e[48];let O;e[49]!==p.password?(O=a.jsx(pe,{message:p.password}),e[49]=p.password,e[50]=O):O=e[50];let z;e[51]!==H||e[52]!==O?(z=a.jsxs("div",{className:"relative",children:[ee,H,O]}),e[51]=H,e[52]=O,e[53]=z):z=e[53];let D;e[54]!==$||e[55]!==z?(D=a.jsxs("div",{className:"grid gap-4",children:[$,z]}),e[54]=$,e[55]=z,e[56]=D):D=e[56];const de=y||t;let G;e[57]!==n.props.submitButton||e[58]!==de?(G=a.jsx(_e,{type:"submit",className:"w-fit",disabled:de,children:n.props.submitButton}),e[57]=n.props.submitButton,e[58]=de,e[59]=G):G=e[59];let K;e[60]!==t||e[61]!==n.props.registerLink||e[62]!==y?(K=n.props.registerLink&&a.jsx(_e,{asChild:!0,variant:"outline",children:a.jsx(ze,{href:n.props.registerLink.link,className:`${y||t} ? 'pointer-events-none opacity-50' : ''`,children:n.props.registerLink.title})}),e[60]=t,e[61]=n.props.registerLink,e[62]=y,e[63]=K):K=e[63];let q;e[64]!==G||e[65]!==K?(q=a.jsxs("div",{className:"flex gap-4",children:[G,K]}),e[64]=G,e[65]=K,e[66]=q):q=e[66];let V;e[67]!==R||e[68]!==D||e[69]!==q||e[70]!==A?(V=a.jsxs("div",{className:"grid gap-5",children:[A,R,D,q]}),e[67]=R,e[68]=D,e[69]=q,e[70]=A,e[71]=V):V=e[71];let W;e[72]!==o||e[73]!==t||e[74]!==c||e[75]!==l?(W=c&&a.jsxs("div",{className:"bg-white rounded-lg shadow-lg p-4 mt-6 flex items-center space-x-4",children:[a.jsxs("div",{className:"relative",children:[a.jsx("div",{className:"w-10 h-10 bg-blue-100 rounded-full flex items-center justify-center",children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 text-yellow-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",children:a.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 22 12 18.27 5.82 22 7 14.14l-5-4.87 6.91-1.01L12 2z"})})}),a.jsx("div",{className:`${t?"":"hidden"}`,children:a.jsx(ue,{iconNode:Ge,className:"animate-spin size-6 absolute inset-0 m-auto !text-gray-600"})})]}),a.jsx("div",{className:"text-gray-600 font-semibold",children:o}),a.jsx("div",{className:`transition-opacity ${l?"opacity-100 visible":"opacity-0 invisible"}`,children:a.jsx("svg",{id:"checkmark",xmlns:"http://www.w3.org/2000/svg",className:"h-8 w-8 text-green-500",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",children:a.jsx("path",{className:"checkmark",strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})})]}),e[72]=o,e[73]=t,e[74]=c,e[75]=l,e[76]=W):W=e[76];let X;e[77]!==b||e[78]!==V||e[79]!==W?(X=a.jsxs("form",{onSubmit:b,children:[V,W]}),e[77]=b,e[78]=V,e[79]=W,e[80]=X):X=e[80];let ne;return e[81]!==X||e[82]!==C||e[83]!==B?(ne=a.jsxs("div",{className:"bg-sidebar flex min-h-svh w-full justify-center",children:[j,a.jsxs("div",{className:"rounded-xl border bg-card text-card-foreground shadow p-6 max-w-sm w-full h-fit mt-[15%]",children:[C,B,X]})]}),e[81]=X,e[82]=C,e[83]=B,e[84]=ne):ne=e[84],ne}function ln(e){for(const t of Object.keys(e))Ee.error(e[t])}function dn(e){for(const t of Object.keys(e))Ee.error(e[t])}function un(){Ke()}export{mn as default};