langflow-base-nightly 0.5.0.dev8__py3-none-any.whl → 0.5.0.dev9__py3-none-any.whl

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.
Files changed (149) hide show
  1. langflow/frontend/assets/{SlackIcon-BotWPNKm.js → SlackIcon-DZ1aT_Zf.js} +1 -1
  2. langflow/frontend/assets/{Wikipedia-DRNSYQow.js → Wikipedia-D1MF1xHp.js} +1 -1
  3. langflow/frontend/assets/{Wolfram-Db_jUSZI.js → Wolfram-Bu1y6eWN.js} +1 -1
  4. langflow/frontend/assets/index--M5OJlKX.js +1 -0
  5. langflow/frontend/assets/{index-hBPtgyCi.js → index-0ttxvdXm.js} +1 -1
  6. langflow/frontend/assets/{index-BBMaOGes.js → index-6_J_Q3ej.js} +1 -1
  7. langflow/frontend/assets/{index-LwzAiYbw.js → index-B0Ln4Y0M.js} +1 -1
  8. langflow/frontend/assets/{index-B3deLAql.js → index-B1pCwO7w.js} +1 -1
  9. langflow/frontend/assets/{index-CAmO1XSL.js → index-B2q8-22d.js} +1 -1
  10. langflow/frontend/assets/{index-CMYQp6pC.js → index-B3iG0ucj.js} +1 -1
  11. langflow/frontend/assets/{index-CGhiKIDc.js → index-B4K5BWeu.js} +1 -1
  12. langflow/frontend/assets/{index-C4BUzloQ.js → index-B6T6iwzz.js} +1 -1
  13. langflow/frontend/assets/{index-DMI44bfI.js → index-B7_RAtW2.js} +1 -1
  14. langflow/frontend/assets/{index-B75wIMbZ.js → index-B7g04R_m.js} +1 -1
  15. langflow/frontend/assets/{index-DTpPH-qx.js → index-B9HjUWVE.js} +1 -1
  16. langflow/frontend/assets/{index-D-Dm_2dJ.js → index-BBlKT0Bz.js} +1 -1
  17. langflow/frontend/assets/index-BBq18hqx.js +1 -0
  18. langflow/frontend/assets/{index-C2s1ji9H.js → index-BC1IeVU1.js} +1 -1
  19. langflow/frontend/assets/{index-CMK4jYBV.js → index-BC3CIG8d.js} +1 -1
  20. langflow/frontend/assets/{index-Cb44GO2-.js → index-BFk7GUrj.js} +1 -1
  21. langflow/frontend/assets/{index-CDSNOzuw.js → index-BJH-sZAv.js} +39 -39
  22. langflow/frontend/assets/{index-BVhxSlDg.js → index-BLWD3_vy.js} +1 -1
  23. langflow/frontend/assets/{index-BsyeSq2y.js → index-BLoFUaRi.js} +1 -1
  24. langflow/frontend/assets/{index-DhTYsc2t.js → index-BQVlWbJq.js} +1 -1
  25. langflow/frontend/assets/{index-DfskV-9v.js → index-BRtNHpy5.js} +1 -1
  26. langflow/frontend/assets/{index-DJKnttt_.js → index-BSNb6jUq.js} +1 -1
  27. langflow/frontend/assets/{index-BdhLcBhs.js → index-BYKbvQCV.js} +1 -1
  28. langflow/frontend/assets/index-B_0PBktA.js +1 -0
  29. langflow/frontend/assets/{index-9eXY-QWQ.js → index-BcKmzZOu.js} +1 -1
  30. langflow/frontend/assets/{index-CPi2CElO.js → index-BcataUkS.js} +1 -1
  31. langflow/frontend/assets/{index-19eRIFZ4.js → index-Bd1TQW2N.js} +1 -1
  32. langflow/frontend/assets/{index-CTaTVU6A.js → index-BkXXR4oe.js} +1 -1
  33. langflow/frontend/assets/{index-DClHt8s8.js → index-Bo7mehm9.js} +1 -1
  34. langflow/frontend/assets/{index-BXLF4EEk.js → index-BojmIHoo.js} +1 -1
  35. langflow/frontend/assets/{index-Cc4M6_Fy.js → index-BqGGFyiq.js} +2 -2
  36. langflow/frontend/assets/{index-DVc55Ocl.js → index-Btpd5ABe.js} +1 -1
  37. langflow/frontend/assets/{index-2TJmaEup.js → index-Bwsn-lQB.js} +1 -1
  38. langflow/frontend/assets/{index-DqlruG43.js → index-Bx2IXtdQ.js} +1 -1
  39. langflow/frontend/assets/{index-jPlDcnJ4.js → index-ByJ8GzPq.js} +1 -1
  40. langflow/frontend/assets/{index-DU3H6Mds.js → index-BzA_2OOX.js} +1 -1
  41. langflow/frontend/assets/{index-CKRjoqeo.js → index-BzfMIVWu.js} +1 -1
  42. langflow/frontend/assets/{index-q3MWMz-i.js → index-C-r14tFz.js} +1 -1
  43. langflow/frontend/assets/{index-B6o6dq6E.js → index-C1f4etee.js} +1 -1
  44. langflow/frontend/assets/{index-DiPI-D9B.js → index-C1roq-7s.js} +1 -1
  45. langflow/frontend/assets/{index-Cb-gNPdm.js → index-C5itu9AQ.js} +1 -1
  46. langflow/frontend/assets/{index-BangDkTU.js → index-C9Th6E-p.js} +1 -1
  47. langflow/frontend/assets/{index-BOyq956u.js → index-C9ZZ6URM.js} +1 -1
  48. langflow/frontend/assets/{index-cx7aCRlX.js → index-C9k4JNN9.js} +1 -1
  49. langflow/frontend/assets/{index-D1aaBEVW.js → index-CAmjfJVt.js} +1 -1
  50. langflow/frontend/assets/{index-CVfho6H1.js → index-CESbYylK.js} +1 -1
  51. langflow/frontend/assets/{index-ByGM4QOw.js → index-CHc4cSsn.js} +1 -1
  52. langflow/frontend/assets/index-CHvEDMhh.js +1 -0
  53. langflow/frontend/assets/{index-CQI2hSXh.js → index-CIH7XBmr.js} +1 -1
  54. langflow/frontend/assets/{index-b7e24JLR.js → index-CMEkIANd.js} +1 -1
  55. langflow/frontend/assets/index-COKDBl8e.js +1 -0
  56. langflow/frontend/assets/{index-DKsEUeWS.js → index-CQnnGuA4.js} +1 -1
  57. langflow/frontend/assets/{index-COm8KYOy.js → index-CVV9YFq4.js} +1 -1
  58. langflow/frontend/assets/index-CXHt8rUv.js +1 -0
  59. langflow/frontend/assets/{index-CQpFrkqi.js → index-CZOxlvZN.js} +1 -1
  60. langflow/frontend/assets/{index-DtrUiU1_.js → index-Ca-iIvgT.js} +1 -1
  61. langflow/frontend/assets/index-CaAxZTAQ.js +1 -0
  62. langflow/frontend/assets/index-Cc56TqLJ.js +1 -0
  63. langflow/frontend/assets/index-CjgKQmu-.js +1 -0
  64. langflow/frontend/assets/{index-B5Oxgk9P.js → index-Ck5CNf7-.js} +1 -1
  65. langflow/frontend/assets/{index-DM-IghpO.js → index-ClWYF093.js} +1 -1
  66. langflow/frontend/assets/{index-DQXZuPZj.js → index-ClhZDgl7.js} +1 -1
  67. langflow/frontend/assets/{index-BD5Qd3fi.js → index-Cn8OX_CM.js} +1 -1
  68. langflow/frontend/assets/index-CnTMIPba.js +1 -0
  69. langflow/frontend/assets/{index-DBZ4408N.js → index-CpwmD_9A.js} +1 -1
  70. langflow/frontend/assets/{index-BPbfRYEA.js → index-CqB3cR5l.js} +1 -1
  71. langflow/frontend/assets/{index-CDRdM5TZ.js → index-CrBs1nwc.js} +1 -1
  72. langflow/frontend/assets/index-Ct7GuQjS.js +2 -0
  73. langflow/frontend/assets/index-CuYwSn3U.js +1 -0
  74. langflow/frontend/assets/{index-CfY-quU3.js → index-Cw1n0VgG.js} +1 -1
  75. langflow/frontend/assets/index-Cygo70hO.js +1 -0
  76. langflow/frontend/assets/{index-Bppwxzbg.js → index-D0GIiSAn.js} +1 -1
  77. langflow/frontend/assets/{index-KWI6UqFH.js → index-D0pxkcHO.js} +1 -1
  78. langflow/frontend/assets/{index-CRoCIu83.js → index-D1j7yWdb.js} +1 -1
  79. langflow/frontend/assets/{index-DOGGSk6U.js → index-D209-7aw.js} +1 -1
  80. langflow/frontend/assets/index-D2VizGDj.js +1 -0
  81. langflow/frontend/assets/{index-DkhYUMYL.js → index-D62Ch4Dv.js} +1 -1
  82. langflow/frontend/assets/{index-DjWYMbHt.js → index-D6He5wXg.js} +1 -1
  83. langflow/frontend/assets/{index-y_Xw1u9n.js → index-D7-oveQq.js} +1 -1
  84. langflow/frontend/assets/{index-CODEJbFb.js → index-D8JX1cRS.js} +1 -1
  85. langflow/frontend/assets/{index-D1gs-kle.js → index-DBpxcoMV.js} +1 -1
  86. langflow/frontend/assets/{index-B5EkhN3K.js → index-DFI7sw8T.js} +3 -3
  87. langflow/frontend/assets/index-DGL66TBK.js +1 -0
  88. langflow/frontend/assets/{index-D18rYlC2.js → index-DGrvGoqZ.js} +1 -1
  89. langflow/frontend/assets/{index-CJvkgxHw.js → index-DIV6505q.js} +1 -1
  90. langflow/frontend/assets/{index-Djk9t5II.js → index-DM3wOq2U.js} +1 -1
  91. langflow/frontend/assets/{index-CF7pTwIL.js → index-DOZbHiHX.js} +1 -1
  92. langflow/frontend/assets/{index-kFptuRSN.js → index-DPevQFZ6.js} +1 -1
  93. langflow/frontend/assets/{index-C8ndiw7Q.js → index-DQ1FRhsz.js} +1 -1
  94. langflow/frontend/assets/index-DRKtgHt5.js +1 -0
  95. langflow/frontend/assets/{index-C2phiJRY.js → index-DSicyBaT.js} +1 -1
  96. langflow/frontend/assets/{index-DN8sDPsU.js → index-Dc9kV0Ka.js} +1 -1
  97. langflow/frontend/assets/index-DeC3GJP9.js +1 -0
  98. langflow/frontend/assets/{index-C2ZbGcjb.js → index-DesgBINf.js} +1 -1
  99. langflow/frontend/assets/{index-CDHXigRf.js → index-DiYFoC0a.js} +1 -1
  100. langflow/frontend/assets/{index-eI0i0Az1.js → index-DjH3O0u7.js} +1 -1
  101. langflow/frontend/assets/{index-B1sswgB8.js → index-Dw4kgUUj.js} +1 -1
  102. langflow/frontend/assets/{index-HjrnO1wn.js → index-DwRpKQY3.js} +1 -1
  103. langflow/frontend/assets/{index-kMJ0V4NP.js → index-EQ9XVZMK.js} +1 -1
  104. langflow/frontend/assets/{index-DqbvHtMI.js → index-Jurj0j25.js} +1 -1
  105. langflow/frontend/assets/{index-DWVXan_1.js → index-K9fveZF2.js} +1 -1
  106. langflow/frontend/assets/{index-CiodZmyb.js → index-OpC5rDNC.js} +1 -1
  107. langflow/frontend/assets/{index-Cq6t6B77.js → index-VyN_s8K0.js} +1 -1
  108. langflow/frontend/assets/{index-BbQbwO0t.js → index-W4Xgxc86.js} +1 -1
  109. langflow/frontend/assets/{index-Dz_Mkcgd.js → index-YcrG1VlA.js} +1 -1
  110. langflow/frontend/assets/{index-Ds4x3X2V.js → index-_9h3RxcL.js} +1 -1
  111. langflow/frontend/assets/{index-C7B7bkdw.js → index-_isovt-w.js} +1 -1
  112. langflow/frontend/assets/{index-BFj0D1r7.js → index-b-rN9AfQ.js} +1 -1
  113. langflow/frontend/assets/index-dHc2SZAk.js +1 -0
  114. langflow/frontend/assets/{index-D1RpzgF-.js → index-e7U99ghU.js} +1 -1
  115. langflow/frontend/assets/{index-CMf3qp3F.js → index-fieuePG_.js} +1 -1
  116. langflow/frontend/assets/index-gQhP4vXD.js +1 -0
  117. langflow/frontend/assets/{index-XdytYvV3.js → index-rUaDK5fV.js} +1 -1
  118. langflow/frontend/assets/{index-DEEl5v3D.js → index-rjWOnQKQ.js} +1 -1
  119. langflow/frontend/assets/{index-DVq9C8tV.js → index-s4nJc-Yr.js} +1 -1
  120. langflow/frontend/assets/{index-DR9RVbk7.js → index-u8xPJhQ9.js} +1 -1
  121. langflow/frontend/assets/{index-DcjXNb_-.js → index-ue1deu4E.js} +1 -1
  122. langflow/frontend/assets/{index-O2Bsl-oh.js → index-zoFDYFyk.js} +1 -1
  123. langflow/frontend/assets/lazyIconImports-DRAvJxst.js +2 -0
  124. langflow/frontend/assets/{use-post-add-user-e7yXa1cg.js → use-post-add-user-Cv--9zv4.js} +1 -1
  125. langflow/frontend/index.html +1 -1
  126. {langflow_base_nightly-0.5.0.dev8.dist-info → langflow_base_nightly-0.5.0.dev9.dist-info}/METADATA +1 -1
  127. {langflow_base_nightly-0.5.0.dev8.dist-info → langflow_base_nightly-0.5.0.dev9.dist-info}/RECORD +129 -129
  128. langflow/frontend/assets/index-3vqHLc3t.js +0 -1
  129. langflow/frontend/assets/index-B-ES6eS-.js +0 -1
  130. langflow/frontend/assets/index-BOHPjPHg.js +0 -2
  131. langflow/frontend/assets/index-BhqoRytd.js +0 -1
  132. langflow/frontend/assets/index-BkDauS6L.js +0 -1
  133. langflow/frontend/assets/index-BlVoki6h.js +0 -1
  134. langflow/frontend/assets/index-BuasQFB9.js +0 -1
  135. langflow/frontend/assets/index-BwlRbSOp.js +0 -1
  136. langflow/frontend/assets/index-CDkpZKzC.js +0 -1
  137. langflow/frontend/assets/index-CnXzxDXQ.js +0 -1
  138. langflow/frontend/assets/index-Cq19RyYM.js +0 -1
  139. langflow/frontend/assets/index-D-jkcji5.js +0 -1
  140. langflow/frontend/assets/index-DZFxYYFn.js +0 -1
  141. langflow/frontend/assets/index-DlQJ30-N.js +0 -1
  142. langflow/frontend/assets/index-DrK2fUFE.js +0 -1
  143. langflow/frontend/assets/index-GFf8D09h.js +0 -1
  144. langflow/frontend/assets/index-HvyyG2sS.js +0 -1
  145. langflow/frontend/assets/index-uW6TJm8N.js +0 -1
  146. langflow/frontend/assets/index-z7mu-rPB.js +0 -1
  147. langflow/frontend/assets/lazyIconImports-qQ2xBw6p.js +0 -2
  148. {langflow_base_nightly-0.5.0.dev8.dist-info → langflow_base_nightly-0.5.0.dev9.dist-info}/WHEEL +0 -0
  149. {langflow_base_nightly-0.5.0.dev8.dist-info → langflow_base_nightly-0.5.0.dev9.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1 @@
1
+ import{j as s,r as e}from"./index-BJH-sZAv.js";const i=t=>s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"278",height:"278",fill:"none",viewBox:"0 0 278 278",...t,children:[s.jsx("path",{fill:t.isDark?"url(#paint0_linear_102_21_dark)":"url(#paint0_linear_102_21)",d:"M137.362 262.02c-7.072-4.084-14.015-8.403-21.241-12.189-9.857-5.162-10.456-18.679-.674-23.989 5.93-3.217 10.307-7.977 12.023-14.746 2.414-9.503.058-17.739-7.334-24.089-7.243-6.213-15.746-7.815-24.674-4.145-9.01 3.697-13.87 10.731-14.673 20.486-.086.992-.035 1.993-.062 2.985-.28 10.578-10.759 16.642-19.988 11.398-14.83-8.429-29.553-17.029-44.314-25.577a17 17 0 0 1-2.237-1.535c-8.53-7.04-10.771-18.266-5.282-27.934a3227 3227 0 0 1 25.18-43.611c5.674-9.654 17.976-9.411 23.608.306 8.99 15.517 29.838 16.883 40.16 2.508 5.436-7.567 6.094-15.876 2.007-24.197S88.796 85.04 79.503 84.426c-2.508-.163-5.18-.16-7.455-1.063-7.475-2.947-10.588-11.369-6.572-18.529 8.512-15.193 17.135-30.348 26.172-45.23 5.842-9.623 17.467-12.541 27.69-7.78a48 48 0 0 1 3.609 1.906c13.592 7.84 27.271 15.543 40.725 23.622 4.269 2.566 8.677.123 8.526-4.968-.407-13.953 8.484-26.283 21.361-30.628 13.382-4.523 27.891-.117 36.253 11.007 8.417 11.19 8.922 26.459.582 37.806-2.763 3.753-6.601 7.086-10.641 9.43-4.087 2.367-4.235 7.378.112 9.795 14.03 7.807 27.873 15.951 41.755 24.016 9.273 5.388 13.664 14.085 11.698 23.596-.558 2.7-1.621 5.411-2.983 7.815-7.967 14.047-16.252 27.919-24.125 42.02-5.866 10.508-19.253 10.034-24.462.066-4.683-8.975-14.458-13.377-24.273-11.865-9.472 1.458-17.344 8.81-19.485 18.203-2.157 9.467 1.726 19.333 9.945 24.977 3.992 2.74 8.508 4.357 13.321 3.989 11.701-.896 18.42 11.212 12.146 21.51-8.257 13.561-15.939 27.463-23.897 41.203-7.022 12.134-19.534 15.497-31.651 8.535-6.839-3.931-13.67-7.892-20.502-11.837z"}),s.jsxs("defs",{children:[s.jsxs("linearGradient",{id:"paint0_linear_102_21",x1:"-2.153",x2:"368.564",y1:"42.449",y2:"304.786",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:"0.184",stopColor:"#FA242D"}),s.jsx("stop",{offset:"0.958",stopColor:"#EF5B3C"})]}),s.jsxs("linearGradient",{id:"paint0_linear_102_21_dark",x1:"-2.153",x2:"368.564",y1:"42.449",y2:"304.786",gradientUnits:"userSpaceOnUse",children:[s.jsx("stop",{offset:"0.184",stopColor:"#FA242D"}),s.jsx("stop",{offset:"0.958",stopColor:"#EF5B3C"})]})]})]}),a=e.forwardRef((t,r)=>s.jsx(i,{ref:r,...t}));export{a as JigsawStackIcon};
@@ -1 +1 @@
1
- import{U as le,a as ce,g as oe,r as i,j as e,c as v,C as he,A as de,B as M,F as E,$ as pe,b as k,d as P,e as $,f as F,E as K,h as Q,i as Y,k as X,l as fe,P as ee,m as se,u as te,n as je,o as Ne,p as ge,I as ve,q as Ce,S as W,s as h,t as ae,v as be,w as we,x as Se,y as _e,z as q,D as J,G as ne,H as ie,J as Ee}from"./index-CDSNOzuw.js";import{u as Te}from"./use-post-add-user-e7yXa1cg.js";const Ue=r=>{const{mutate:l}=le();return l(["useDeleteUsers"],async({user_id:p})=>(await ce.delete(`${oe("USERS")}/${p}`)).data,r)},ye=r=>{const{mutate:l}=le();async function c({skip:p,limit:C}){const a=await ce.get(`${oe("USERS")}/?skip=${p}&limit=${C}`);return a.status===200?a.data:[]}return l(["useGetUsers"],c,r)},me=i.forwardRef(({className:r,...l},c)=>e.jsx("div",{className:"",children:e.jsx("table",{ref:c,className:v("w-full caption-bottom text-sm",r),...l})}));me.displayName="Table";const ue=i.forwardRef(({className:r,...l},c)=>e.jsx("thead",{ref:c,className:v("[&_tr]:border-b",r),...l}));ue.displayName="TableHeader";const xe=i.forwardRef(({className:r,...l},c)=>e.jsx("tbody",{ref:c,className:v("[&_tr:last-child]:border-0",r),...l}));xe.displayName="TableBody";const Re=i.forwardRef(({className:r,...l},c)=>e.jsx("tfoot",{ref:c,className:v("bg-primary font-medium text-primary-foreground",r),...l}));Re.displayName="TableFooter";const Z=i.forwardRef(({className:r,...l},c)=>e.jsx("tr",{ref:c,className:v("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...l}));Z.displayName="TableRow";const N=i.forwardRef(({className:r,...l},c)=>e.jsx("th",{ref:c,className:v("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...l}));N.displayName="TableHead";const g=i.forwardRef(({className:r,...l},c)=>e.jsx("td",{ref:c,className:v("p-4 align-middle [&:has([role=checkbox])]:pr-0",r),...l}));g.displayName="TableCell";const Ae=i.forwardRef(({className:r,...l},c)=>e.jsx("caption",{ref:c,className:v("mt-4 text-sm text-muted-foreground",r),...l}));Ae.displayName="TableCaption";function re({title:r,titleHeader:l,cancelText:c,confirmationText:S,children:p,icon:C,data:a,index:b,onConfirm:G,asChild:z}){const[f,L]=i.useState(!1),[u,O]=i.useState(!1),[d,T]=i.useState(!1),[m,U]=i.useState((a==null?void 0:a.password)??""),[w,_]=i.useState((a==null?void 0:a.username)??""),[j,H]=i.useState((a==null?void 0:a.password)??""),[x,y]=i.useState((a==null?void 0:a.is_active)??!1),[R,A]=i.useState((a==null?void 0:a.is_superuser)??!1),[B,V]=i.useState(he),{userData:D}=i.useContext(de);function s({target:{name:t,value:o}}){V(I=>({...I,[t]:o}))}i.useEffect(()=>{d&&(a?(_(a.username),y(a.is_active),A(a.is_superuser),s({target:{name:"username",value:w}}),s({target:{name:"is_active",value:x}}),s({target:{name:"is_superuser",value:R}})):n())},[d]);function n(){U(""),_(""),H(""),y(!1),A(!1)}return e.jsxs(M,{size:"medium-h-full",open:d,setOpen:T,children:[e.jsx(M.Trigger,{asChild:z,children:p}),e.jsxs(M.Header,{description:l,children:[e.jsx("span",{className:"pr-2",children:r}),e.jsx(E,{name:C,className:"h-6 w-6 pl-1 text-foreground","aria-hidden":"true"})]}),e.jsx(M.Content,{children:e.jsxs(pe,{onSubmit:t=>{if(m!==j){t.preventDefault();return}n(),G(1,B),T(!1),t.preventDefault()},children:[e.jsxs("div",{className:"grid gap-5",children:[e.jsxs(k,{name:"username",children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid",children:["Username"," ",e.jsx("span",{className:"font-medium text-destructive",children:"*"})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"username",value:t}}),_(t)},value:w,className:"primary-input",required:!0,placeholder:"Username"})}),e.jsx(F,{match:"valueMissing",className:"field-invalid",children:"Please enter your username"})]}),e.jsxs("div",{className:"flex flex-row",children:[e.jsx("div",{className:"mr-3 basis-1/2",children:e.jsxs(k,{name:"password",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),f&&e.jsx(K,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5}),!f&&e.jsx(Q,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"password",value:t}}),U(t)},value:m,className:"primary-input",required:!a,type:f?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please enter a password"}),m!=j&&e.jsx(F,{className:"field-invalid",children:"Passwords do not match"})]})}),e.jsx("div",{className:"basis-1/2",children:e.jsxs(k,{name:"confirmpassword",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Confirm password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),u&&e.jsx(K,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5}),!u&&e.jsx(Q,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:t=>{H(t.target.value)},value:j,className:"primary-input",required:!a,type:u?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please confirm your password"})]})})]}),e.jsxs("div",{className:"flex gap-8",children:[e.jsx(k,{name:"is_active",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Active"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{value:x,checked:x,id:"is_active",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_active",value:t}}),y(t)}})})]})}),(D==null?void 0:D.is_superuser)&&e.jsx(k,{name:"is_superuser",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Superuser"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{checked:R,value:R,id:"is_superuser",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_superuser",value:t}}),A(t)}})})]})})]})]}),e.jsxs("div",{className:"float-right",children:[e.jsx(X,{variant:"outline",onClick:()=>{T(!1)},className:"mr-3",children:c}),e.jsx(fe,{asChild:!0,children:e.jsx(X,{className:"mt-8",children:S})})]})]})})]})}function ke(){const[r,l]=i.useState(""),[c,S]=i.useState(ee),[p,C]=i.useState(se),a=te(s=>s.setSuccessData),b=te(s=>s.setErrorData),{userData:G}=i.useContext(de),[z,f]=i.useState(0),{mutate:L}=Ue(),{mutate:u}=je(),{mutate:O}=Te(),d=i.useRef([]);i.useEffect(()=>{setTimeout(()=>{j()},500)},[]);const[T,m]=i.useState(d.current),{mutate:U,isPending:w,isIdle:_}=ye({});function j(){U({skip:c*(p-1),limit:c},{onSuccess:s=>{f(s.total_count),d.current=s.users,m(s.users)},onError:()=>{}})}function H(s,n){S(n),C(s),U({skip:n*(s-1),limit:n},{onSuccess:t=>{f(t.total_count),d.current=t.users,m(t.users)}})}function x(){C(se),S(ee),j()}function y(s){if(l(s),s==="")m(d.current);else{const n=d.current.filter(t=>t.username.toLowerCase().includes(s.toLowerCase()));m(n)}}function R(s){L({user_id:s.id},{onSuccess:()=>{x(),a({title:_e})},onError:n=>{b({title:Se,list:[n.response.data.detail]})}})}function A(s,n){u({user_id:s,user:n},{onSuccess:()=>{x(),a({title:J})},onError:t=>{b({title:q,list:[t.response.data.detail]})}})}function B(s,n,t){const o=ne.cloneDeep(t);o.is_active=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function V(s,n,t){const o=ne.cloneDeep(t);o.is_superuser=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function D(s){O(s,{onSuccess:n=>{u({user_id:n.id,user:{is_active:s.is_active,is_superuser:s.is_superuser}},{onSuccess:()=>{x(),a({title:Ee})},onError:t=>{b({title:ie,list:[t.response.data.detail]})}})},onError:n=>{b({title:ie,list:[n.response.data.detail]})}})}return e.jsx(e.Fragment,{children:G&&e.jsxs("div",{className:"admin-page-panel flex h-full flex-col pb-8",children:[e.jsx("div",{className:"main-page-nav-arrangement",children:e.jsxs("span",{className:"main-page-nav-title",children:[e.jsx(E,{name:"Shield",className:"w-6"}),Ne]})}),e.jsx("span",{className:"admin-page-description-text",children:ge}),e.jsxs("div",{className:"flex w-full justify-between px-4",children:[e.jsxs("div",{className:"flex w-96 items-center gap-4",children:[e.jsx(ve,{placeholder:"Search Username",value:r,onChange:s=>y(s.target.value)}),r.length>0?e.jsx("div",{className:"cursor-pointer",onClick:()=>{l(""),m(d.current)},children:e.jsx(E,{name:"X",className:"w-6 text-foreground"})}):e.jsx("div",{children:e.jsx(E,{name:"Search",className:"w-6 text-foreground"})})]}),e.jsx("div",{children:e.jsx(re,{title:"New User",titleHeader:"Add a new user",cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",onConfirm:(s,n)=>{D(n)},asChild:!0,children:e.jsx(X,{variant:"primary",children:"New User"})})})]}),w||_?e.jsx("div",{className:"flex h-full w-full items-center justify-center",children:e.jsx(Ce,{remSize:12})}):d.current.length===0&&!_?e.jsx(e.Fragment,{children:e.jsx("div",{className:"m-4 flex items-center justify-between text-sm",children:"No users registered."})}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"m-4 h-fit overflow-x-hidden overflow-y-scroll rounded-md border-2 bg-background custom-scroll"+(w?" border-0":""),children:e.jsxs(me,{className:"table-fixed outline-1",children:[e.jsx(ue,{className:w?"hidden":"table-fixed bg-muted outline-1",children:e.jsxs(Z,{children:[e.jsx(N,{className:"h-10",children:"Id"}),e.jsx(N,{className:"h-10",children:"Username"}),e.jsx(N,{className:"h-10",children:"Active"}),e.jsx(N,{className:"h-10",children:"Superuser"}),e.jsx(N,{className:"h-10",children:"Created At"}),e.jsx(N,{className:"h-10",children:"Updated At"}),e.jsx(N,{className:"h-10 w-[100px] text-right"})]})}),!w&&e.jsx(xe,{children:T.map((s,n)=>e.jsxs(Z,{children:[e.jsx(g,{className:"truncate py-2 font-medium",children:e.jsx(W,{content:s.id,children:e.jsx("span",{className:"cursor-default",children:s.id})})}),e.jsx(g,{className:"truncate py-2",children:e.jsx(W,{content:s.username,children:e.jsx("span",{className:"cursor-default",children:s.username})})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{B(o.is_active,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_active})})})]})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{V(o.is_superuser,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_superuser})})})]})}),e.jsx(g,{className:"truncate py-2",children:new Date(s.create_at).toISOString().split("T")[0]}),e.jsx(g,{className:"truncate py-2",children:new Date(s.updated_at).toISOString().split("T")[0]}),e.jsx(g,{className:"flex w-[100px] py-2 text-right",children:e.jsxs("div",{className:"flex",children:[e.jsx(re,{title:"Edit",titleHeader:`${s.id}`,cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",data:s,index:n,onConfirm:(t,o)=>{A(s.id,o)},children:e.jsx(W,{content:"Edit",side:"top",children:e.jsx(E,{name:"Pencil",className:"h-4 w-4 cursor-pointer"})})}),e.jsxs(h,{size:"x-small",title:"Delete",titleHeader:"Delete User",modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Delete",icon:"UserMinus2",data:s,index:n,onConfirm:(t,o)=>{R(o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you sure you want to delete this user? This action cannot be undone."})}),e.jsx(h.Trigger,{children:e.jsx(E,{name:"Trash2",className:"ml-2 h-4 w-4 cursor-pointer"})})]})]})})]},n))})]})}),e.jsx(be,{pageIndex:p,pageSize:c,totalRowsCount:z,paginate:H,rowsCount:we})]})]})})}export{ke as default};
1
+ import{U as le,a as ce,g as oe,r as i,j as e,c as v,C as he,A as de,B as M,F as E,$ as pe,b as k,d as P,e as $,f as F,E as K,h as Q,i as Y,k as X,l as fe,P as ee,m as se,u as te,n as je,o as Ne,p as ge,I as ve,q as Ce,S as W,s as h,t as ae,v as be,w as we,x as Se,y as _e,z as q,D as J,G as ne,H as ie,J as Ee}from"./index-BJH-sZAv.js";import{u as Te}from"./use-post-add-user-Cv--9zv4.js";const Ue=r=>{const{mutate:l}=le();return l(["useDeleteUsers"],async({user_id:p})=>(await ce.delete(`${oe("USERS")}/${p}`)).data,r)},ye=r=>{const{mutate:l}=le();async function c({skip:p,limit:C}){const a=await ce.get(`${oe("USERS")}/?skip=${p}&limit=${C}`);return a.status===200?a.data:[]}return l(["useGetUsers"],c,r)},me=i.forwardRef(({className:r,...l},c)=>e.jsx("div",{className:"",children:e.jsx("table",{ref:c,className:v("w-full caption-bottom text-sm",r),...l})}));me.displayName="Table";const ue=i.forwardRef(({className:r,...l},c)=>e.jsx("thead",{ref:c,className:v("[&_tr]:border-b",r),...l}));ue.displayName="TableHeader";const xe=i.forwardRef(({className:r,...l},c)=>e.jsx("tbody",{ref:c,className:v("[&_tr:last-child]:border-0",r),...l}));xe.displayName="TableBody";const Re=i.forwardRef(({className:r,...l},c)=>e.jsx("tfoot",{ref:c,className:v("bg-primary font-medium text-primary-foreground",r),...l}));Re.displayName="TableFooter";const Z=i.forwardRef(({className:r,...l},c)=>e.jsx("tr",{ref:c,className:v("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",r),...l}));Z.displayName="TableRow";const N=i.forwardRef(({className:r,...l},c)=>e.jsx("th",{ref:c,className:v("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",r),...l}));N.displayName="TableHead";const g=i.forwardRef(({className:r,...l},c)=>e.jsx("td",{ref:c,className:v("p-4 align-middle [&:has([role=checkbox])]:pr-0",r),...l}));g.displayName="TableCell";const Ae=i.forwardRef(({className:r,...l},c)=>e.jsx("caption",{ref:c,className:v("mt-4 text-sm text-muted-foreground",r),...l}));Ae.displayName="TableCaption";function re({title:r,titleHeader:l,cancelText:c,confirmationText:S,children:p,icon:C,data:a,index:b,onConfirm:G,asChild:z}){const[f,L]=i.useState(!1),[u,O]=i.useState(!1),[d,T]=i.useState(!1),[m,U]=i.useState((a==null?void 0:a.password)??""),[w,_]=i.useState((a==null?void 0:a.username)??""),[j,H]=i.useState((a==null?void 0:a.password)??""),[x,y]=i.useState((a==null?void 0:a.is_active)??!1),[R,A]=i.useState((a==null?void 0:a.is_superuser)??!1),[B,V]=i.useState(he),{userData:D}=i.useContext(de);function s({target:{name:t,value:o}}){V(I=>({...I,[t]:o}))}i.useEffect(()=>{d&&(a?(_(a.username),y(a.is_active),A(a.is_superuser),s({target:{name:"username",value:w}}),s({target:{name:"is_active",value:x}}),s({target:{name:"is_superuser",value:R}})):n())},[d]);function n(){U(""),_(""),H(""),y(!1),A(!1)}return e.jsxs(M,{size:"medium-h-full",open:d,setOpen:T,children:[e.jsx(M.Trigger,{asChild:z,children:p}),e.jsxs(M.Header,{description:l,children:[e.jsx("span",{className:"pr-2",children:r}),e.jsx(E,{name:C,className:"h-6 w-6 pl-1 text-foreground","aria-hidden":"true"})]}),e.jsx(M.Content,{children:e.jsxs(pe,{onSubmit:t=>{if(m!==j){t.preventDefault();return}n(),G(1,B),T(!1),t.preventDefault()},children:[e.jsxs("div",{className:"grid gap-5",children:[e.jsxs(k,{name:"username",children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid",children:["Username"," ",e.jsx("span",{className:"font-medium text-destructive",children:"*"})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"username",value:t}}),_(t)},value:w,className:"primary-input",required:!0,placeholder:"Username"})}),e.jsx(F,{match:"valueMissing",className:"field-invalid",children:"Please enter your username"})]}),e.jsxs("div",{className:"flex flex-row",children:[e.jsx("div",{className:"mr-3 basis-1/2",children:e.jsxs(k,{name:"password",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),f&&e.jsx(K,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5}),!f&&e.jsx(Q,{onClick:()=>L(!f),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:({target:{value:t}})=>{s({target:{name:"password",value:t}}),U(t)},value:m,className:"primary-input",required:!a,type:f?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please enter a password"}),m!=j&&e.jsx(F,{className:"field-invalid",children:"Passwords do not match"})]})}),e.jsx("div",{className:"basis-1/2",children:e.jsxs(k,{name:"confirmpassword",serverInvalid:m!=j,children:[e.jsx("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between"},children:e.jsxs(P,{className:"data-[invalid]:label-invalid flex",children:["Confirm password"," ",e.jsx("span",{className:"ml-1 mr-1 font-medium text-destructive",children:"*"}),u&&e.jsx(K,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5}),!u&&e.jsx(Q,{onClick:()=>O(!u),className:"h-5 cursor-pointer",strokeWidth:1.5})]})}),e.jsx($,{asChild:!0,children:e.jsx("input",{onChange:t=>{H(t.target.value)},value:j,className:"primary-input",required:!a,type:u?"text":"password"})}),e.jsx(F,{className:"field-invalid",match:"valueMissing",children:"Please confirm your password"})]})})]}),e.jsxs("div",{className:"flex gap-8",children:[e.jsx(k,{name:"is_active",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Active"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{value:x,checked:x,id:"is_active",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_active",value:t}}),y(t)}})})]})}),(D==null?void 0:D.is_superuser)&&e.jsx(k,{name:"is_superuser",children:e.jsxs("div",{children:[e.jsx(P,{className:"data-[invalid]:label-invalid mr-3",children:"Superuser"}),e.jsx($,{asChild:!0,children:e.jsx(Y,{checked:R,value:R,id:"is_superuser",className:"relative top-0.5",onCheckedChange:t=>{s({target:{name:"is_superuser",value:t}}),A(t)}})})]})})]})]}),e.jsxs("div",{className:"float-right",children:[e.jsx(X,{variant:"outline",onClick:()=>{T(!1)},className:"mr-3",children:c}),e.jsx(fe,{asChild:!0,children:e.jsx(X,{className:"mt-8",children:S})})]})]})})]})}function ke(){const[r,l]=i.useState(""),[c,S]=i.useState(ee),[p,C]=i.useState(se),a=te(s=>s.setSuccessData),b=te(s=>s.setErrorData),{userData:G}=i.useContext(de),[z,f]=i.useState(0),{mutate:L}=Ue(),{mutate:u}=je(),{mutate:O}=Te(),d=i.useRef([]);i.useEffect(()=>{setTimeout(()=>{j()},500)},[]);const[T,m]=i.useState(d.current),{mutate:U,isPending:w,isIdle:_}=ye({});function j(){U({skip:c*(p-1),limit:c},{onSuccess:s=>{f(s.total_count),d.current=s.users,m(s.users)},onError:()=>{}})}function H(s,n){S(n),C(s),U({skip:n*(s-1),limit:n},{onSuccess:t=>{f(t.total_count),d.current=t.users,m(t.users)}})}function x(){C(se),S(ee),j()}function y(s){if(l(s),s==="")m(d.current);else{const n=d.current.filter(t=>t.username.toLowerCase().includes(s.toLowerCase()));m(n)}}function R(s){L({user_id:s.id},{onSuccess:()=>{x(),a({title:_e})},onError:n=>{b({title:Se,list:[n.response.data.detail]})}})}function A(s,n){u({user_id:s,user:n},{onSuccess:()=>{x(),a({title:J})},onError:t=>{b({title:q,list:[t.response.data.detail]})}})}function B(s,n,t){const o=ne.cloneDeep(t);o.is_active=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function V(s,n,t){const o=ne.cloneDeep(t);o.is_superuser=!s,u({user_id:n,user:o},{onSuccess:()=>{x(),a({title:J})},onError:I=>{b({title:q,list:[I.response.data.detail]})}})}function D(s){O(s,{onSuccess:n=>{u({user_id:n.id,user:{is_active:s.is_active,is_superuser:s.is_superuser}},{onSuccess:()=>{x(),a({title:Ee})},onError:t=>{b({title:ie,list:[t.response.data.detail]})}})},onError:n=>{b({title:ie,list:[n.response.data.detail]})}})}return e.jsx(e.Fragment,{children:G&&e.jsxs("div",{className:"admin-page-panel flex h-full flex-col pb-8",children:[e.jsx("div",{className:"main-page-nav-arrangement",children:e.jsxs("span",{className:"main-page-nav-title",children:[e.jsx(E,{name:"Shield",className:"w-6"}),Ne]})}),e.jsx("span",{className:"admin-page-description-text",children:ge}),e.jsxs("div",{className:"flex w-full justify-between px-4",children:[e.jsxs("div",{className:"flex w-96 items-center gap-4",children:[e.jsx(ve,{placeholder:"Search Username",value:r,onChange:s=>y(s.target.value)}),r.length>0?e.jsx("div",{className:"cursor-pointer",onClick:()=>{l(""),m(d.current)},children:e.jsx(E,{name:"X",className:"w-6 text-foreground"})}):e.jsx("div",{children:e.jsx(E,{name:"Search",className:"w-6 text-foreground"})})]}),e.jsx("div",{children:e.jsx(re,{title:"New User",titleHeader:"Add a new user",cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",onConfirm:(s,n)=>{D(n)},asChild:!0,children:e.jsx(X,{variant:"primary",children:"New User"})})})]}),w||_?e.jsx("div",{className:"flex h-full w-full items-center justify-center",children:e.jsx(Ce,{remSize:12})}):d.current.length===0&&!_?e.jsx(e.Fragment,{children:e.jsx("div",{className:"m-4 flex items-center justify-between text-sm",children:"No users registered."})}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"m-4 h-fit overflow-x-hidden overflow-y-scroll rounded-md border-2 bg-background custom-scroll"+(w?" border-0":""),children:e.jsxs(me,{className:"table-fixed outline-1",children:[e.jsx(ue,{className:w?"hidden":"table-fixed bg-muted outline-1",children:e.jsxs(Z,{children:[e.jsx(N,{className:"h-10",children:"Id"}),e.jsx(N,{className:"h-10",children:"Username"}),e.jsx(N,{className:"h-10",children:"Active"}),e.jsx(N,{className:"h-10",children:"Superuser"}),e.jsx(N,{className:"h-10",children:"Created At"}),e.jsx(N,{className:"h-10",children:"Updated At"}),e.jsx(N,{className:"h-10 w-[100px] text-right"})]})}),!w&&e.jsx(xe,{children:T.map((s,n)=>e.jsxs(Z,{children:[e.jsx(g,{className:"truncate py-2 font-medium",children:e.jsx(W,{content:s.id,children:e.jsx("span",{className:"cursor-default",children:s.id})})}),e.jsx(g,{className:"truncate py-2",children:e.jsx(W,{content:s.username,children:e.jsx("span",{className:"cursor-default",children:s.username})})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{B(o.is_active,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_active})})})]})}),e.jsx(g,{className:"relative left-1 truncate py-2 text-align-last-left",children:e.jsxs(h,{size:"x-small",title:"Edit",titleHeader:`${s.username}`,modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Confirm",icon:"UserCog2",data:s,index:n,onConfirm:(t,o)=>{V(o.is_superuser,o.id,o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you completely confident about the changes you are making to this user?"})}),e.jsx(h.Trigger,{children:e.jsx("div",{className:"flex w-fit",children:e.jsx(ae,{checked:s.is_superuser})})})]})}),e.jsx(g,{className:"truncate py-2",children:new Date(s.create_at).toISOString().split("T")[0]}),e.jsx(g,{className:"truncate py-2",children:new Date(s.updated_at).toISOString().split("T")[0]}),e.jsx(g,{className:"flex w-[100px] py-2 text-right",children:e.jsxs("div",{className:"flex",children:[e.jsx(re,{title:"Edit",titleHeader:`${s.id}`,cancelText:"Cancel",confirmationText:"Save",icon:"UserPlus2",data:s,index:n,onConfirm:(t,o)=>{A(s.id,o)},children:e.jsx(W,{content:"Edit",side:"top",children:e.jsx(E,{name:"Pencil",className:"h-4 w-4 cursor-pointer"})})}),e.jsxs(h,{size:"x-small",title:"Delete",titleHeader:"Delete User",modalContentTitle:"Attention!",cancelText:"Cancel",confirmationText:"Delete",icon:"UserMinus2",data:s,index:n,onConfirm:(t,o)=>{R(o)},children:[e.jsx(h.Content,{children:e.jsx("span",{children:"Are you sure you want to delete this user? This action cannot be undone."})}),e.jsx(h.Trigger,{children:e.jsx(E,{name:"Trash2",className:"ml-2 h-4 w-4 cursor-pointer"})})]})]})})]},n))})]})}),e.jsx(be,{pageIndex:p,pageSize:c,totalRowsCount:z,paginate:H,rowsCount:we})]})]})})}export{ke as default};
@@ -1 +1 @@
1
- import{j as l,r as s}from"./index-CDSNOzuw.js";const t=c=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100",...c,children:[l.jsx("path",{fill:"#fff",d:"M6.017 4.313 61.35.226c6.797-.583 8.543-.19 12.817 2.917L91.83 15.586c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277-1.553 6.807-6.99 7.193l-64.256 3.892c-4.08.193-6.023-.39-8.16-3.113L3.3 79.94C.967 76.827 0 74.497 0 71.773v-60.66c0-3.497 1.553-6.413 6.017-6.8z"}),l.jsx("path",{fill:"#000",fillRule:"evenodd",d:"M61.35.227 6.017 4.314C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257-3.89c5.433-.387 6.99-2.917 6.99-7.193V20.64c0-2.21-.873-2.847-3.443-4.733L74.167 3.143C69.894.036 68.147-.357 61.35.226zM25.92 19.523c-5.247.353-6.437.433-9.417-1.99l-7.576-6.026c-.77-.78-.383-1.753 1.557-1.947l53.193-3.887c4.467-.39 6.793 1.167 8.54 2.527l9.123 6.61c.39.197 1.36 1.36.193 1.36L26.6 19.477l-.68.047zM19.803 88.3V30.367c0-2.53.777-3.697 3.103-3.893L86 22.78c2.14-.193 3.107 1.167 3.107 3.693V84.02c0 2.53-.39 4.67-3.883 4.863l-60.377 3.5c-3.493.193-5.043-.97-5.043-4.083zm59.6-54.827c.387 1.75 0 3.5-1.75 3.7l-2.91.577v42.773c-2.527 1.36-4.853 2.137-6.797 2.137-3.107 0-3.883-.973-6.21-3.887l-19.03-29.94V77.8l6.02 1.363s0 3.5-4.857 3.5l-13.39.777c-.39-.78 0-2.723 1.357-3.11l3.497-.97v-38.3l-4.853-.393c-.39-1.75.58-4.277 3.3-4.473l14.367-.967 19.8 30.327v-26.83l-5.047-.58c-.39-2.143 1.163-3.7 3.103-3.89l13.4-.78z",clipRule:"evenodd"})]}),n=s.forwardRef((c,o)=>l.jsx(t,{ref:o,...c}));export{n as NotionIcon};
1
+ import{j as l,r as s}from"./index-BJH-sZAv.js";const t=c=>l.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 100 100",...c,children:[l.jsx("path",{fill:"#fff",d:"M6.017 4.313 61.35.226c6.797-.583 8.543-.19 12.817 2.917L91.83 15.586c2.913 2.14 3.883 2.723 3.883 5.053v68.243c0 4.277-1.553 6.807-6.99 7.193l-64.256 3.892c-4.08.193-6.023-.39-8.16-3.113L3.3 79.94C.967 76.827 0 74.497 0 71.773v-60.66c0-3.497 1.553-6.413 6.017-6.8z"}),l.jsx("path",{fill:"#000",fillRule:"evenodd",d:"M61.35.227 6.017 4.314C1.553 4.7 0 7.617 0 11.113v60.66c0 2.723.967 5.053 3.3 8.167l13.007 16.913c2.137 2.723 4.08 3.307 8.16 3.113l64.257-3.89c5.433-.387 6.99-2.917 6.99-7.193V20.64c0-2.21-.873-2.847-3.443-4.733L74.167 3.143C69.894.036 68.147-.357 61.35.226zM25.92 19.523c-5.247.353-6.437.433-9.417-1.99l-7.576-6.026c-.77-.78-.383-1.753 1.557-1.947l53.193-3.887c4.467-.39 6.793 1.167 8.54 2.527l9.123 6.61c.39.197 1.36 1.36.193 1.36L26.6 19.477l-.68.047zM19.803 88.3V30.367c0-2.53.777-3.697 3.103-3.893L86 22.78c2.14-.193 3.107 1.167 3.107 3.693V84.02c0 2.53-.39 4.67-3.883 4.863l-60.377 3.5c-3.493.193-5.043-.97-5.043-4.083zm59.6-54.827c.387 1.75 0 3.5-1.75 3.7l-2.91.577v42.773c-2.527 1.36-4.853 2.137-6.797 2.137-3.107 0-3.883-.973-6.21-3.887l-19.03-29.94V77.8l6.02 1.363s0 3.5-4.857 3.5l-13.39.777c-.39-.78 0-2.723 1.357-3.11l3.497-.97v-38.3l-4.853-.393c-.39-1.75.58-4.277 3.3-4.473l14.367-.967 19.8 30.327v-26.83l-5.047-.58c-.39-2.143 1.163-3.7 3.103-3.89l13.4-.78z",clipRule:"evenodd"})]}),n=s.forwardRef((c,o)=>l.jsx(t,{ref:o,...c}));export{n as NotionIcon};
@@ -1 +1 @@
1
- import{j as e,r}from"./index-CDSNOzuw.js";const o=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",viewBox:"0 0 271.68 271.44",...t,children:[e.jsx("path",{fill:"#4b28be",fillRule:"evenodd",stroke:"#4b28be",strokeLinecap:"square",strokeLinejoin:"bevel",strokeWidth:"0.372",d:"M0 0H236.16V200.16H0z",transform:"translate(16.8 33.6)"}),e.jsx("path",{fill:"#4b28be",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M271.438 211.394c.352 6.937-.443 13.75-2.614 20.34-2.327 7.064-5.873 13.473-10.703 19.19-4.434 5.25-9.531 9.648-15.478 13.082-5.521 3.188-11.408 5.458-17.703 6.396-3.903.582-7.89.602-12.213.876-29.839-.003-59.304-.01-88.77-.008-21.55.001-43.101.017-64.651.026-7.198.248-14.2-.73-21.033-3.084-6.44-2.22-12.137-5.627-17.396-9.925-9.476-7.743-15.557-17.645-18.872-29.302-1.522-5.354-2.134-10.862-1.812-16.82 0-12.484-.02-24.595.016-36.706.117-40.516.255-81.032.385-121.549.783-10.437 3.87-20.055 9.783-28.786C15.52 17.53 22.195 11.63 30.125 7.279c5.944-3.26 12.392-5.275 19.239-6.146C56.162.268 62.942.018 69.772.023c47.72.033 95.44-.083 143.16.104 9.438.036 18.839 1.547 27.249 6.296 3.968 2.24 7.638 5.06 11.254 7.862 6.317 4.895 10.991 11.184 14.38 18.37 2.683 5.686 4.512 11.692 5.174 17.967.353 3.348.317 6.737.433 10.481a1974.9 1974.9 0 00-.05 13.548c-.002 27.216-.01 54.432.002 81.647.007 18.365.041 36.73.064 55.096m-71.57 14.931c.194.042.39.12.584.12 10.57.007 21.141.127 31.708-.058 3.554-.062 6.769-1.583 8.802-4.744 2.357-3.665 2.788-7.602.902-11.587-2.08-4.395-5.844-6.167-10.526-6.248-9.103-.156-18.208-.313-27.312-.383-1.36-.01-2.724.45-4.413.613-1.053-.116-2.106-.333-3.16-.333-16.836-.007-33.671.009-50.508.036-1.995.003-3.998.01-5.984.174-4.559.375-7.655 2.96-9.495 6.957-1.726 3.75-1.124 7.38 1.304 10.734 2.508 3.464 5.958 5.006 10.132 5.01 18.167.02 36.335.015 54.502-.009 1.053-.001 2.104-.246 3.463-.282m-34.406-30.618c2.127.055 4.255.161 6.381.156 8.972-.023 17.95.118 26.912-.19 6.22-.215 10.965-5.693 10.761-11.687-.204-6.01-5.264-10.889-11.478-10.993-9.575-.16-19.15-.296-28.725-.392-1.245-.012-2.493.271-4.112.372-1.262-.034-2.525-.096-3.788-.097-29.802-.005-59.605-.015-89.407.018-2.38.003-4.772.217-7.137.507-4.912.602-8.257 3.765-9.092 8.43-.968 5.404.976 10.397 5.434 12.382 2.399 1.069 5.24 1.586 7.884 1.595 30.866.106 61.733.07 92.6.059 1.126 0 2.252-.142 3.767-.16m-33.916-30.538c.26.053.52.152.78.153 10.903.013 21.812.23 32.707-.062 6.042-.161 11.023-6.043 10.917-11.94-.113-6.298-5.103-11.248-11.906-11.3-9.574-.071-15.429.1-25.004.13-.848.004-5.776.003-6.995.075-.996-.038-1.992-.109-2.988-.109-31.332-.006-62.663-.006-93.995-.002-.93 0-1.866-.011-2.792.066-5.449.45-9.537 3.899-10.47 8.799-1.084 5.698.915 10.817 5.68 12.766 2.543 1.04 5.565 1.24 8.373 1.252 26.674.11 53.35.1 80.025.118 5.119.004 10.238-.03 15.668.054m34.378-55.225c-1.061-.055-2.122-.159-3.184-.159-31.267.01-62.533.028-93.8.056-1.194.001-2.402.024-3.58.196-5.91.867-9.494 4.807-9.831 10.733-.333 5.836 3.05 10.554 8.796 11.86 2.31.526 4.743.698 7.12.701 29.87.036 59.74.012 89.609-.002 1.063 0 2.127-.059 3.582-.028 6.047.066 12.093.162 18.14.187 4.985.021 9.975.097 14.953-.102 6.363-.254 12.095-5.974 12.102-11.894.005-4.857-3.841-11.69-11.479-11.67-10.689.03-21.378.116-32.428.122M144.75 48.498c-1.264-.023-2.528-.074-3.792-.065-7.121.048-14.243.227-21.363.143-11.378-.135-22.754-.462-34.132-.67-8.178-.15-16.358-.393-24.534-.304-5.435.059-10.961.107-16.276 1.086-9.787 1.804-10.814 11.04-6.7 17.956 2.134 3.586 5.693 4.878 9.896 4.87 26.092-.05 52.184.005 78.276-.002 6.587-.001 13.174-.098 20.15-.082 12.045.028 24.09.137 36.136.04 4.331-.035 7.48-3.111 7.992-7.463.278-2.367.357-4.785.232-7.165-.279-5.297-3.992-8.213-9.275-8.264-8.648-.085-15.617-.022-24.266-.04-3.514-.008-8.468-.182-12.344-.04M192.3 78.792c-.399-.018-.797-.052-1.196-.052-31.617.008-63.234.01-94.85.056-1.58.002-3.207.21-4.727.63-5.403 1.489-8.849 5.923-8.864 11.187-.016 5.283 3.31 9.742 8.615 11.108 1.961.505 4.084.52 6.133.524 27.624.044 55.247.052 82.87.054 4.258 0 8.515-.07 13.132-.043 10.369.102 20.738.214 31.107.287.99.007 1.986-.195 2.969-.361 4.645-.785 8.307-4.333 9.173-8.859 1.535-8.026-3.65-14.499-11.9-14.587-10.167-.108-20.337-.022-30.506-.013-.53 0-1.061.067-1.956.069z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M193.236 102.058c-4.259.037-8.516.106-12.774.106-27.624-.002-55.246-.01-82.87-.054-2.049-.003-4.172-.019-6.133-.524-5.305-1.366-8.63-5.825-8.615-11.108.015-5.265 3.461-9.698 8.864-11.187a18.09 18.09 0 014.726-.63c31.617-.046 63.234-.048 94.85-.056.4 0 2.227.485 1.453.177 2.11 1.044 3.568 2.207 4.52 3.715 3.834 4.268 4.287 10.821.555 15.43-.439 2.172-2.404 3.217-4.576 4.13z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M146.064 71.227c-6.586.052-13.173.149-19.76.15-26.092.007-52.184-.048-78.276.002-4.203.008-7.762-1.284-9.896-4.87-4.114-6.916-3.087-16.152 6.7-17.956 5.314-.98 10.84-1.027 16.276-1.086 8.176-.09 16.357.153 24.534.303 11.378.21 22.754.535 34.132.67 7.12.085 14.242-.094 21.363-.143a45.935 45.935 0 014.07.165c.973.482 1.663.877 2.367 1.244 8.685 4.53 9.57 14.355 1.344 19.628a87.625 87.625 0 00-2.854 1.893z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M164.423 133.103c-1.063.032-2.127.091-3.19.092-29.87.014-59.74.037-89.61.001-2.377-.003-4.81-.175-7.119-.7-5.745-1.307-9.129-6.025-8.796-11.86.337-5.927 3.92-9.867 9.83-10.733 1.179-.173 2.387-.196 3.58-.197 31.268-.028 62.535-.046 93.801-.056 1.061 0 3.563 1.319 4.867 1.516 1.527 1.392 1.41 1.39 2.646 2.686 4.339 4.545 4.02 11.574-.783 15.606-1.26 1.941-3.059 3.114-5.226 3.645z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M131.415 164.935c-5.12.016-10.239.048-15.358.045-26.675-.017-53.35-.008-80.025-.118-2.808-.012-5.83-.211-8.372-1.252-4.766-1.95-6.765-7.068-5.68-12.766.932-4.9 5.02-8.348 10.47-8.8.925-.076 1.86-.065 2.791-.065 31.332-.003 62.663-.004 93.995.002.996 0 1.992.071 3.247.246 1.877.977 3.464 2.02 4.353 3.411 5.006 5.198 3.583 13.637-2.365 17.73-1.037.715-2.017.855-3.056 1.567z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M165.253 195.515c-1.127.075-2.253.217-3.38.217-30.866.012-61.733.047-92.6-.059-2.644-.009-5.485-.526-7.883-1.595-4.458-1.985-6.402-6.978-5.434-12.383.835-4.664 4.18-7.828 9.092-8.429 2.365-.29 4.757-.504 7.137-.507 29.803-.034 59.605-.023 89.407-.018 1.263 0 2.526.063 4.063.218 1.513 1.115 2.83 2.027 3.974 3.118 5.934 5.657 4.87 13.972-2.249 18.003-.742.42-1.42.954-2.127 1.435z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M199.74 226.094c-1.051.132-2.104.377-3.156.378-18.167.024-36.335.029-54.502.009-4.174-.005-7.624-1.545-10.132-5.01-2.428-3.354-3.03-6.983-1.304-10.734 1.84-3.997 4.936-6.582 9.495-6.957 1.986-.164 3.989-.171 5.984-.175 16.836-.026 33.673-.042 50.508-.035 1.054 0 2.197.487 3.506.74 1.067.716 1.8 1.007 2.596 1.603 6.008 4.498 6.166 12.992.323 17.66-1.085.867-2.21 1.682-3.317 2.521z"}),e.jsx("path",{fill:"#5a5571",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M146.259 71.261c.616-.607 1.405-1.212 2.24-1.747 7.478-5.273 7.067-15.278-.925-19.808a44.945 44.945 0 01-2.187-1.233c3.418-.252 7.832-.047 11.346-.04 8.649.018 13.862-.075 22.511.01 3.706.208 8.706.029 12.83 5.729 1.731 2.468 1.595 9.188.06 11.657-3.51 4.838-6.914 5.331-9.545 5.506-12.044.097-24.09-.012-36.33-.074z"}),e.jsx("path",{fill:"#5a5571",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M193.415 102.09c1.38-1.05 2.989-2.126 4.397-4.164 3.516-4.436 3.192-10.974-.555-15.43-1.006-1.353-3.001-2.791-5.058-3.908.457-.143 1.707 0 2.238 0 10.169-.01 20.338-.095 30.506.013 8.25.088 13.434 6.561 11.9 14.587-.866 4.526-4.528 8.074-9.173 8.859-.983.166-1.98.368-2.969.361-10.37-.073-20.738-.185-31.286-.318z"}),e.jsx("path",{fill:"#595471",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M164.62 133.135c1.704-.782 3.556-1.875 5.03-3.677 4.802-4.032 5.12-11.06.782-15.606-1.384-2.276-5.855-3.918-6.875-4.234 10.626-.175 24.285.098 34.974.07 7.638-.02 11.484 6.812 11.479 11.668-.006 5.921-5.74 11.641-12.102 11.895-4.978.199-9.968.123-14.953.102-6.047-.025-12.093-.121-18.336-.218z"}),e.jsx("path",{fill:"#595471",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M131.57 164.984c.893-.73 2.056-1.05 2.961-2.185 5.625-4.03 6.8-11.287 2.621-16.65-.617-1.56-4.183-3.575-6.149-4.253.775-.238 3.288-.117 4.136-.12 9.575-.031 19.15-.082 28.724-.01 6.803.05 12.153 5.12 12.266 11.42.106 5.896-4.875 11.778-10.917 11.94-10.895.29-21.804.074-32.707.06-.26 0-.52-.099-.936-.202z"}),e.jsx("path",{fill:"#585170",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M165.447 195.543c.513-.51 1.528-.706 2.27-1.126 7.12-4.03 7.847-12.683 1.912-18.34-1.145-1.091-2.462-2.003-3.788-3.095 1.158-.245 2.406-.528 3.651-.516 9.575.096 19.15.232 28.725.392 6.214.104 11.274 4.982 11.478 10.993.204 5.994-4.542 11.473-10.76 11.686-8.963.309-17.941.168-26.913.19-2.127.006-4.254-.1-6.575-.184z"}),e.jsx("path",{fill:"#554e6e",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M199.894 226.142c.953-.887 2.079-1.702 3.164-2.569 5.843-4.668 5.685-13.162-.323-17.66-.585-.878-4.018-2.084-5.245-2.328 1.27-.34 5.356-.306 6.716-.295 9.105.07 18.208.227 27.312.383 4.682.08 8.447 1.853 10.526 6.248 1.886 3.985 1.454 7.922-.902 11.587-2.033 3.16-5.248 4.682-8.802 4.744-10.567.185-21.138.065-31.708.058-.195 0-.39-.078-.738-.168z"})]}),a=r.forwardRef((t,s)=>e.jsx(o,{ref:s,...t}));export{a as LMStudioIcon};
1
+ import{j as e,r}from"./index-BJH-sZAv.js";const o=t=>e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1.5em",height:"1.5em",viewBox:"0 0 271.68 271.44",...t,children:[e.jsx("path",{fill:"#4b28be",fillRule:"evenodd",stroke:"#4b28be",strokeLinecap:"square",strokeLinejoin:"bevel",strokeWidth:"0.372",d:"M0 0H236.16V200.16H0z",transform:"translate(16.8 33.6)"}),e.jsx("path",{fill:"#4b28be",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M271.438 211.394c.352 6.937-.443 13.75-2.614 20.34-2.327 7.064-5.873 13.473-10.703 19.19-4.434 5.25-9.531 9.648-15.478 13.082-5.521 3.188-11.408 5.458-17.703 6.396-3.903.582-7.89.602-12.213.876-29.839-.003-59.304-.01-88.77-.008-21.55.001-43.101.017-64.651.026-7.198.248-14.2-.73-21.033-3.084-6.44-2.22-12.137-5.627-17.396-9.925-9.476-7.743-15.557-17.645-18.872-29.302-1.522-5.354-2.134-10.862-1.812-16.82 0-12.484-.02-24.595.016-36.706.117-40.516.255-81.032.385-121.549.783-10.437 3.87-20.055 9.783-28.786C15.52 17.53 22.195 11.63 30.125 7.279c5.944-3.26 12.392-5.275 19.239-6.146C56.162.268 62.942.018 69.772.023c47.72.033 95.44-.083 143.16.104 9.438.036 18.839 1.547 27.249 6.296 3.968 2.24 7.638 5.06 11.254 7.862 6.317 4.895 10.991 11.184 14.38 18.37 2.683 5.686 4.512 11.692 5.174 17.967.353 3.348.317 6.737.433 10.481a1974.9 1974.9 0 00-.05 13.548c-.002 27.216-.01 54.432.002 81.647.007 18.365.041 36.73.064 55.096m-71.57 14.931c.194.042.39.12.584.12 10.57.007 21.141.127 31.708-.058 3.554-.062 6.769-1.583 8.802-4.744 2.357-3.665 2.788-7.602.902-11.587-2.08-4.395-5.844-6.167-10.526-6.248-9.103-.156-18.208-.313-27.312-.383-1.36-.01-2.724.45-4.413.613-1.053-.116-2.106-.333-3.16-.333-16.836-.007-33.671.009-50.508.036-1.995.003-3.998.01-5.984.174-4.559.375-7.655 2.96-9.495 6.957-1.726 3.75-1.124 7.38 1.304 10.734 2.508 3.464 5.958 5.006 10.132 5.01 18.167.02 36.335.015 54.502-.009 1.053-.001 2.104-.246 3.463-.282m-34.406-30.618c2.127.055 4.255.161 6.381.156 8.972-.023 17.95.118 26.912-.19 6.22-.215 10.965-5.693 10.761-11.687-.204-6.01-5.264-10.889-11.478-10.993-9.575-.16-19.15-.296-28.725-.392-1.245-.012-2.493.271-4.112.372-1.262-.034-2.525-.096-3.788-.097-29.802-.005-59.605-.015-89.407.018-2.38.003-4.772.217-7.137.507-4.912.602-8.257 3.765-9.092 8.43-.968 5.404.976 10.397 5.434 12.382 2.399 1.069 5.24 1.586 7.884 1.595 30.866.106 61.733.07 92.6.059 1.126 0 2.252-.142 3.767-.16m-33.916-30.538c.26.053.52.152.78.153 10.903.013 21.812.23 32.707-.062 6.042-.161 11.023-6.043 10.917-11.94-.113-6.298-5.103-11.248-11.906-11.3-9.574-.071-15.429.1-25.004.13-.848.004-5.776.003-6.995.075-.996-.038-1.992-.109-2.988-.109-31.332-.006-62.663-.006-93.995-.002-.93 0-1.866-.011-2.792.066-5.449.45-9.537 3.899-10.47 8.799-1.084 5.698.915 10.817 5.68 12.766 2.543 1.04 5.565 1.24 8.373 1.252 26.674.11 53.35.1 80.025.118 5.119.004 10.238-.03 15.668.054m34.378-55.225c-1.061-.055-2.122-.159-3.184-.159-31.267.01-62.533.028-93.8.056-1.194.001-2.402.024-3.58.196-5.91.867-9.494 4.807-9.831 10.733-.333 5.836 3.05 10.554 8.796 11.86 2.31.526 4.743.698 7.12.701 29.87.036 59.74.012 89.609-.002 1.063 0 2.127-.059 3.582-.028 6.047.066 12.093.162 18.14.187 4.985.021 9.975.097 14.953-.102 6.363-.254 12.095-5.974 12.102-11.894.005-4.857-3.841-11.69-11.479-11.67-10.689.03-21.378.116-32.428.122M144.75 48.498c-1.264-.023-2.528-.074-3.792-.065-7.121.048-14.243.227-21.363.143-11.378-.135-22.754-.462-34.132-.67-8.178-.15-16.358-.393-24.534-.304-5.435.059-10.961.107-16.276 1.086-9.787 1.804-10.814 11.04-6.7 17.956 2.134 3.586 5.693 4.878 9.896 4.87 26.092-.05 52.184.005 78.276-.002 6.587-.001 13.174-.098 20.15-.082 12.045.028 24.09.137 36.136.04 4.331-.035 7.48-3.111 7.992-7.463.278-2.367.357-4.785.232-7.165-.279-5.297-3.992-8.213-9.275-8.264-8.648-.085-15.617-.022-24.266-.04-3.514-.008-8.468-.182-12.344-.04M192.3 78.792c-.399-.018-.797-.052-1.196-.052-31.617.008-63.234.01-94.85.056-1.58.002-3.207.21-4.727.63-5.403 1.489-8.849 5.923-8.864 11.187-.016 5.283 3.31 9.742 8.615 11.108 1.961.505 4.084.52 6.133.524 27.624.044 55.247.052 82.87.054 4.258 0 8.515-.07 13.132-.043 10.369.102 20.738.214 31.107.287.99.007 1.986-.195 2.969-.361 4.645-.785 8.307-4.333 9.173-8.859 1.535-8.026-3.65-14.499-11.9-14.587-10.167-.108-20.337-.022-30.506-.013-.53 0-1.061.067-1.956.069z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M193.236 102.058c-4.259.037-8.516.106-12.774.106-27.624-.002-55.246-.01-82.87-.054-2.049-.003-4.172-.019-6.133-.524-5.305-1.366-8.63-5.825-8.615-11.108.015-5.265 3.461-9.698 8.864-11.187a18.09 18.09 0 014.726-.63c31.617-.046 63.234-.048 94.85-.056.4 0 2.227.485 1.453.177 2.11 1.044 3.568 2.207 4.52 3.715 3.834 4.268 4.287 10.821.555 15.43-.439 2.172-2.404 3.217-4.576 4.13z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M146.064 71.227c-6.586.052-13.173.149-19.76.15-26.092.007-52.184-.048-78.276.002-4.203.008-7.762-1.284-9.896-4.87-4.114-6.916-3.087-16.152 6.7-17.956 5.314-.98 10.84-1.027 16.276-1.086 8.176-.09 16.357.153 24.534.303 11.378.21 22.754.535 34.132.67 7.12.085 14.242-.094 21.363-.143a45.935 45.935 0 014.07.165c.973.482 1.663.877 2.367 1.244 8.685 4.53 9.57 14.355 1.344 19.628a87.625 87.625 0 00-2.854 1.893z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M164.423 133.103c-1.063.032-2.127.091-3.19.092-29.87.014-59.74.037-89.61.001-2.377-.003-4.81-.175-7.119-.7-5.745-1.307-9.129-6.025-8.796-11.86.337-5.927 3.92-9.867 9.83-10.733 1.179-.173 2.387-.196 3.58-.197 31.268-.028 62.535-.046 93.801-.056 1.061 0 3.563 1.319 4.867 1.516 1.527 1.392 1.41 1.39 2.646 2.686 4.339 4.545 4.02 11.574-.783 15.606-1.26 1.941-3.059 3.114-5.226 3.645z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M131.415 164.935c-5.12.016-10.239.048-15.358.045-26.675-.017-53.35-.008-80.025-.118-2.808-.012-5.83-.211-8.372-1.252-4.766-1.95-6.765-7.068-5.68-12.766.932-4.9 5.02-8.348 10.47-8.8.925-.076 1.86-.065 2.791-.065 31.332-.003 62.663-.004 93.995.002.996 0 1.992.071 3.247.246 1.877.977 3.464 2.02 4.353 3.411 5.006 5.198 3.583 13.637-2.365 17.73-1.037.715-2.017.855-3.056 1.567z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M165.253 195.515c-1.127.075-2.253.217-3.38.217-30.866.012-61.733.047-92.6-.059-2.644-.009-5.485-.526-7.883-1.595-4.458-1.985-6.402-6.978-5.434-12.383.835-4.664 4.18-7.828 9.092-8.429 2.365-.29 4.757-.504 7.137-.507 29.803-.034 59.605-.023 89.407-.018 1.263 0 2.526.063 4.063.218 1.513 1.115 2.83 2.027 3.974 3.118 5.934 5.657 4.87 13.972-2.249 18.003-.742.42-1.42.954-2.127 1.435z"}),e.jsx("path",{fill:"#fff",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M199.74 226.094c-1.051.132-2.104.377-3.156.378-18.167.024-36.335.029-54.502.009-4.174-.005-7.624-1.545-10.132-5.01-2.428-3.354-3.03-6.983-1.304-10.734 1.84-3.997 4.936-6.582 9.495-6.957 1.986-.164 3.989-.171 5.984-.175 16.836-.026 33.673-.042 50.508-.035 1.054 0 2.197.487 3.506.74 1.067.716 1.8 1.007 2.596 1.603 6.008 4.498 6.166 12.992.323 17.66-1.085.867-2.21 1.682-3.317 2.521z"}),e.jsx("path",{fill:"#5a5571",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M146.259 71.261c.616-.607 1.405-1.212 2.24-1.747 7.478-5.273 7.067-15.278-.925-19.808a44.945 44.945 0 01-2.187-1.233c3.418-.252 7.832-.047 11.346-.04 8.649.018 13.862-.075 22.511.01 3.706.208 8.706.029 12.83 5.729 1.731 2.468 1.595 9.188.06 11.657-3.51 4.838-6.914 5.331-9.545 5.506-12.044.097-24.09-.012-36.33-.074z"}),e.jsx("path",{fill:"#5a5571",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M193.415 102.09c1.38-1.05 2.989-2.126 4.397-4.164 3.516-4.436 3.192-10.974-.555-15.43-1.006-1.353-3.001-2.791-5.058-3.908.457-.143 1.707 0 2.238 0 10.169-.01 20.338-.095 30.506.013 8.25.088 13.434 6.561 11.9 14.587-.866 4.526-4.528 8.074-9.173 8.859-.983.166-1.98.368-2.969.361-10.37-.073-20.738-.185-31.286-.318z"}),e.jsx("path",{fill:"#595471",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M164.62 133.135c1.704-.782 3.556-1.875 5.03-3.677 4.802-4.032 5.12-11.06.782-15.606-1.384-2.276-5.855-3.918-6.875-4.234 10.626-.175 24.285.098 34.974.07 7.638-.02 11.484 6.812 11.479 11.668-.006 5.921-5.74 11.641-12.102 11.895-4.978.199-9.968.123-14.953.102-6.047-.025-12.093-.121-18.336-.218z"}),e.jsx("path",{fill:"#595471",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M131.57 164.984c.893-.73 2.056-1.05 2.961-2.185 5.625-4.03 6.8-11.287 2.621-16.65-.617-1.56-4.183-3.575-6.149-4.253.775-.238 3.288-.117 4.136-.12 9.575-.031 19.15-.082 28.724-.01 6.803.05 12.153 5.12 12.266 11.42.106 5.896-4.875 11.778-10.917 11.94-10.895.29-21.804.074-32.707.06-.26 0-.52-.099-.936-.202z"}),e.jsx("path",{fill:"#585170",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M165.447 195.543c.513-.51 1.528-.706 2.27-1.126 7.12-4.03 7.847-12.683 1.912-18.34-1.145-1.091-2.462-2.003-3.788-3.095 1.158-.245 2.406-.528 3.651-.516 9.575.096 19.15.232 28.725.392 6.214.104 11.274 4.982 11.478 10.993.204 5.994-4.542 11.473-10.76 11.686-8.963.309-17.941.168-26.913.19-2.127.006-4.254-.1-6.575-.184z"}),e.jsx("path",{fill:"#554e6e",stroke:"#000",strokeLinecap:"square",strokeLinejoin:"bevel",strokeOpacity:"0",strokeWidth:"0",d:"M199.894 226.142c.953-.887 2.079-1.702 3.164-2.569 5.843-4.668 5.685-13.162-.323-17.66-.585-.878-4.018-2.084-5.245-2.328 1.27-.34 5.356-.306 6.716-.295 9.105.07 18.208.227 27.312.383 4.682.08 8.447 1.853 10.526 6.248 1.886 3.985 1.454 7.922-.902 11.587-2.033 3.16-5.248 4.682-8.802 4.744-10.567.185-21.138.065-31.708.058-.195 0-.39-.078-.738-.168z"})]}),a=r.forwardRef((t,s)=>e.jsx(o,{ref:s,...t}));export{a as LMStudioIcon};