libre-webui 0.2.4

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 (233) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +204 -0
  3. package/backend/dist/db.d.ts +19 -0
  4. package/backend/dist/db.d.ts.map +1 -0
  5. package/backend/dist/db.js +355 -0
  6. package/backend/dist/db.js.map +1 -0
  7. package/backend/dist/env.d.ts +2 -0
  8. package/backend/dist/env.d.ts.map +1 -0
  9. package/backend/dist/env.js +22 -0
  10. package/backend/dist/env.js.map +1 -0
  11. package/backend/dist/index.d.ts +4 -0
  12. package/backend/dist/index.d.ts.map +1 -0
  13. package/backend/dist/index.js +751 -0
  14. package/backend/dist/index.js.map +1 -0
  15. package/backend/dist/middleware/auth.d.ts +18 -0
  16. package/backend/dist/middleware/auth.d.ts.map +1 -0
  17. package/backend/dist/middleware/auth.js +98 -0
  18. package/backend/dist/middleware/auth.js.map +1 -0
  19. package/backend/dist/middleware/index.d.ts +5 -0
  20. package/backend/dist/middleware/index.d.ts.map +1 -0
  21. package/backend/dist/middleware/index.js +62 -0
  22. package/backend/dist/middleware/index.js.map +1 -0
  23. package/backend/dist/models/personaModel.d.ts +37 -0
  24. package/backend/dist/models/personaModel.d.ts.map +1 -0
  25. package/backend/dist/models/personaModel.js +269 -0
  26. package/backend/dist/models/personaModel.js.map +1 -0
  27. package/backend/dist/models/userModel.d.ts +86 -0
  28. package/backend/dist/models/userModel.d.ts.map +1 -0
  29. package/backend/dist/models/userModel.js +212 -0
  30. package/backend/dist/models/userModel.js.map +1 -0
  31. package/backend/dist/routes/auth.d.ts +3 -0
  32. package/backend/dist/routes/auth.d.ts.map +1 -0
  33. package/backend/dist/routes/auth.js +389 -0
  34. package/backend/dist/routes/auth.js.map +1 -0
  35. package/backend/dist/routes/chat.d.ts +3 -0
  36. package/backend/dist/routes/chat.d.ts.map +1 -0
  37. package/backend/dist/routes/chat.js +767 -0
  38. package/backend/dist/routes/chat.js.map +1 -0
  39. package/backend/dist/routes/documents.d.ts +3 -0
  40. package/backend/dist/routes/documents.d.ts.map +1 -0
  41. package/backend/dist/routes/documents.js +244 -0
  42. package/backend/dist/routes/documents.js.map +1 -0
  43. package/backend/dist/routes/ollama.d.ts +3 -0
  44. package/backend/dist/routes/ollama.d.ts.map +1 -0
  45. package/backend/dist/routes/ollama.js +549 -0
  46. package/backend/dist/routes/ollama.js.map +1 -0
  47. package/backend/dist/routes/personas.d.ts +3 -0
  48. package/backend/dist/routes/personas.d.ts.map +1 -0
  49. package/backend/dist/routes/personas.js +505 -0
  50. package/backend/dist/routes/personas.js.map +1 -0
  51. package/backend/dist/routes/plugins.d.ts +3 -0
  52. package/backend/dist/routes/plugins.d.ts.map +1 -0
  53. package/backend/dist/routes/plugins.js +417 -0
  54. package/backend/dist/routes/plugins.js.map +1 -0
  55. package/backend/dist/routes/preferences.d.ts +3 -0
  56. package/backend/dist/routes/preferences.d.ts.map +1 -0
  57. package/backend/dist/routes/preferences.js +303 -0
  58. package/backend/dist/routes/preferences.js.map +1 -0
  59. package/backend/dist/routes/tts.d.ts +3 -0
  60. package/backend/dist/routes/tts.d.ts.map +1 -0
  61. package/backend/dist/routes/tts.js +304 -0
  62. package/backend/dist/routes/tts.js.map +1 -0
  63. package/backend/dist/routes/users.d.ts +3 -0
  64. package/backend/dist/routes/users.d.ts.map +1 -0
  65. package/backend/dist/routes/users.js +246 -0
  66. package/backend/dist/routes/users.js.map +1 -0
  67. package/backend/dist/services/authService.d.ts +51 -0
  68. package/backend/dist/services/authService.d.ts.map +1 -0
  69. package/backend/dist/services/authService.js +153 -0
  70. package/backend/dist/services/authService.js.map +1 -0
  71. package/backend/dist/services/chatService.d.ts +52 -0
  72. package/backend/dist/services/chatService.d.ts.map +1 -0
  73. package/backend/dist/services/chatService.js +645 -0
  74. package/backend/dist/services/chatService.js.map +1 -0
  75. package/backend/dist/services/documentService.d.ts +34 -0
  76. package/backend/dist/services/documentService.d.ts.map +1 -0
  77. package/backend/dist/services/documentService.js +428 -0
  78. package/backend/dist/services/documentService.js.map +1 -0
  79. package/backend/dist/services/encryptionService.d.ts +62 -0
  80. package/backend/dist/services/encryptionService.d.ts.map +1 -0
  81. package/backend/dist/services/encryptionService.js +284 -0
  82. package/backend/dist/services/encryptionService.js.map +1 -0
  83. package/backend/dist/services/memoryService.d.ts +140 -0
  84. package/backend/dist/services/memoryService.d.ts.map +1 -0
  85. package/backend/dist/services/memoryService.js +867 -0
  86. package/backend/dist/services/memoryService.js.map +1 -0
  87. package/backend/dist/services/mutationEngineService.d.ts +49 -0
  88. package/backend/dist/services/mutationEngineService.d.ts.map +1 -0
  89. package/backend/dist/services/mutationEngineService.js +432 -0
  90. package/backend/dist/services/mutationEngineService.js.map +1 -0
  91. package/backend/dist/services/ollamaService.d.ts +55 -0
  92. package/backend/dist/services/ollamaService.d.ts.map +1 -0
  93. package/backend/dist/services/ollamaService.js +450 -0
  94. package/backend/dist/services/ollamaService.js.map +1 -0
  95. package/backend/dist/services/personaService.d.ts +67 -0
  96. package/backend/dist/services/personaService.d.ts.map +1 -0
  97. package/backend/dist/services/personaService.js +373 -0
  98. package/backend/dist/services/personaService.js.map +1 -0
  99. package/backend/dist/services/pluginService.d.ts +42 -0
  100. package/backend/dist/services/pluginService.d.ts.map +1 -0
  101. package/backend/dist/services/pluginService.js +961 -0
  102. package/backend/dist/services/pluginService.js.map +1 -0
  103. package/backend/dist/services/preferencesService.d.ts +35 -0
  104. package/backend/dist/services/preferencesService.d.ts.map +1 -0
  105. package/backend/dist/services/preferencesService.js +255 -0
  106. package/backend/dist/services/preferencesService.js.map +1 -0
  107. package/backend/dist/services/simpleGitHubOAuth.d.ts +48 -0
  108. package/backend/dist/services/simpleGitHubOAuth.d.ts.map +1 -0
  109. package/backend/dist/services/simpleGitHubOAuth.js +203 -0
  110. package/backend/dist/services/simpleGitHubOAuth.js.map +1 -0
  111. package/backend/dist/services/simpleHuggingFaceOAuth.d.ts +43 -0
  112. package/backend/dist/services/simpleHuggingFaceOAuth.d.ts.map +1 -0
  113. package/backend/dist/services/simpleHuggingFaceOAuth.js +159 -0
  114. package/backend/dist/services/simpleHuggingFaceOAuth.js.map +1 -0
  115. package/backend/dist/services/userService.d.ts +1 -0
  116. package/backend/dist/services/userService.d.ts.map +1 -0
  117. package/backend/dist/services/userService.js +18 -0
  118. package/backend/dist/services/userService.js.map +1 -0
  119. package/backend/dist/storage.d.ts +55 -0
  120. package/backend/dist/storage.d.ts.map +1 -0
  121. package/backend/dist/storage.js +741 -0
  122. package/backend/dist/storage.js.map +1 -0
  123. package/backend/dist/test-encryption.d.ts +2 -0
  124. package/backend/dist/test-encryption.d.ts.map +1 -0
  125. package/backend/dist/test-encryption.js +64 -0
  126. package/backend/dist/test-encryption.js.map +1 -0
  127. package/backend/dist/types/index.d.ts +523 -0
  128. package/backend/dist/types/index.d.ts.map +1 -0
  129. package/backend/dist/types/index.js +31 -0
  130. package/backend/dist/types/index.js.map +1 -0
  131. package/backend/dist/utils/generationUtils.d.ts +10 -0
  132. package/backend/dist/utils/generationUtils.d.ts.map +1 -0
  133. package/backend/dist/utils/generationUtils.js +49 -0
  134. package/backend/dist/utils/generationUtils.js.map +1 -0
  135. package/backend/dist/utils/hash.d.ts +29 -0
  136. package/backend/dist/utils/hash.d.ts.map +1 -0
  137. package/backend/dist/utils/hash.js +73 -0
  138. package/backend/dist/utils/hash.js.map +1 -0
  139. package/backend/dist/utils/jwt.d.ts +37 -0
  140. package/backend/dist/utils/jwt.d.ts.map +1 -0
  141. package/backend/dist/utils/jwt.js +86 -0
  142. package/backend/dist/utils/jwt.js.map +1 -0
  143. package/bin/cli.js +150 -0
  144. package/electron/main.js +322 -0
  145. package/frontend/dist/_redirects +1 -0
  146. package/frontend/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
  147. package/frontend/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
  148. package/frontend/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
  149. package/frontend/dist/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
  150. package/frontend/dist/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
  151. package/frontend/dist/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
  152. package/frontend/dist/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
  153. package/frontend/dist/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
  154. package/frontend/dist/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
  155. package/frontend/dist/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
  156. package/frontend/dist/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
  157. package/frontend/dist/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
  158. package/frontend/dist/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
  159. package/frontend/dist/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
  160. package/frontend/dist/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
  161. package/frontend/dist/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
  162. package/frontend/dist/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
  163. package/frontend/dist/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
  164. package/frontend/dist/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
  165. package/frontend/dist/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
  166. package/frontend/dist/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
  167. package/frontend/dist/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
  168. package/frontend/dist/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
  169. package/frontend/dist/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
  170. package/frontend/dist/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
  171. package/frontend/dist/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
  172. package/frontend/dist/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
  173. package/frontend/dist/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
  174. package/frontend/dist/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
  175. package/frontend/dist/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
  176. package/frontend/dist/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
  177. package/frontend/dist/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
  178. package/frontend/dist/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
  179. package/frontend/dist/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
  180. package/frontend/dist/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
  181. package/frontend/dist/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
  182. package/frontend/dist/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
  183. package/frontend/dist/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
  184. package/frontend/dist/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
  185. package/frontend/dist/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
  186. package/frontend/dist/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
  187. package/frontend/dist/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
  188. package/frontend/dist/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
  189. package/frontend/dist/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
  190. package/frontend/dist/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
  191. package/frontend/dist/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
  192. package/frontend/dist/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
  193. package/frontend/dist/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
  194. package/frontend/dist/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
  195. package/frontend/dist/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
  196. package/frontend/dist/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
  197. package/frontend/dist/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
  198. package/frontend/dist/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
  199. package/frontend/dist/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
  200. package/frontend/dist/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
  201. package/frontend/dist/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
  202. package/frontend/dist/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
  203. package/frontend/dist/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
  204. package/frontend/dist/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
  205. package/frontend/dist/assets/index-CRQkB7Wz.js +3 -0
  206. package/frontend/dist/css/index-B1OjddR-.css +1 -0
  207. package/frontend/dist/favicon-dark.png +0 -0
  208. package/frontend/dist/favicon-light.png +0 -0
  209. package/frontend/dist/index.html +23 -0
  210. package/frontend/dist/js/ArtifactContainer-c_oi7XMs.js +23 -0
  211. package/frontend/dist/js/ArtifactDemoPage-CdfwJVXu.js +98 -0
  212. package/frontend/dist/js/ChatPage-CyotkmS0.js +281 -0
  213. package/frontend/dist/js/ModelsPage-DNaziPHc.js +2 -0
  214. package/frontend/dist/js/PersonasPage-DcnbJf8Q.js +13 -0
  215. package/frontend/dist/js/UserManagementPage-DtTf92dS.js +1 -0
  216. package/frontend/dist/js/markdown-vendor-D-79K2xZ.js +22 -0
  217. package/frontend/dist/js/react-vendor-N--QU9DW.js +8 -0
  218. package/frontend/dist/js/router-vendor-B-t91v39.js +3 -0
  219. package/frontend/dist/js/ui-vendor-VxSCY_bv.js +177 -0
  220. package/frontend/dist/js/utils-vendor-DNzxLBGx.js +6 -0
  221. package/frontend/dist/logo-dark.png +0 -0
  222. package/frontend/dist/logo-light.png +0 -0
  223. package/frontend/dist/logo.svg +14 -0
  224. package/package.json +128 -0
  225. package/plugins/anthropic.json +25 -0
  226. package/plugins/elevenlabs.json +58 -0
  227. package/plugins/gemini.json +57 -0
  228. package/plugins/github.json +23 -0
  229. package/plugins/groq.json +25 -0
  230. package/plugins/mistral.json +73 -0
  231. package/plugins/openai-tts.json +38 -0
  232. package/plugins/openai.json +132 -0
  233. package/plugins/openrouter.json +353 -0
@@ -0,0 +1,177 @@
1
+ import{r as d}from"./router-vendor-B-t91v39.js";let K={data:""},W=e=>{if(typeof window=="object"){let t=(e?e.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||K},X=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Y=/\/\*[^]*?\*\/| +/g,S=/\n+/g,M=(e,t)=>{let a="",n="",c="";for(let r in e){let s=e[r];r[0]=="@"?r[1]=="i"?a=r+" "+s+";":n+=r[1]=="f"?M(s,r):r+"{"+M(s,r[1]=="k"?"":t)+"}":typeof s=="object"?n+=M(s,t?t.replace(/([^,])+/g,i=>r.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,l=>/&/.test(l)?l.replace(/&/g,i):i?i+" "+l:l)):r):s!=null&&(r=/^--/.test(r)?r:r.replace(/[A-Z]/g,"-$&").toLowerCase(),c+=M.p?M.p(r,s):r+":"+s+";")}return a+(t&&c?t+"{"+c+"}":c)+n},g={},P=e=>{if(typeof e=="object"){let t="";for(let a in e)t+=a+P(e[a]);return t}return e},Q=(e,t,a,n,c)=>{let r=P(e),s=g[r]||(g[r]=(l=>{let y=0,h=11;for(;y<l.length;)h=101*h+l.charCodeAt(y++)>>>0;return"go"+h})(r));if(!g[s]){let l=r!==e?e:(y=>{let h,p,k=[{}];for(;h=X.exec(y.replace(Y,""));)h[4]?k.shift():h[3]?(p=h[3].replace(S," ").trim(),k.unshift(k[0][p]=k[0][p]||{})):k[0][h[1]]=h[2].replace(S," ").trim();return k[0]})(e);g[s]=M(c?{["@keyframes "+s]:l}:l,a?"":"."+s)}let i=a&&g.g?g.g:null;return a&&(g.g=g[s]),((l,y,h,p)=>{p?y.data=y.data.replace(p,l):y.data.indexOf(l)===-1&&(y.data=h?l+y.data:y.data+l)})(g[s],t,n,i),s},J=(e,t,a)=>e.reduce((n,c,r)=>{let s=t[r];if(s&&s.call){let i=s(a),l=i&&i.props&&i.props.className||/^go/.test(i)&&i;s=l?"."+l:i&&typeof i=="object"?i.props?"":M(i,""):i===!1?"":i}return n+c+(s??"")},"");function j(e){let t=this||{},a=e.call?e(t.p):e;return Q(a.unshift?a.raw?J(a,[].slice.call(arguments,1),t.p):a.reduce((n,c)=>Object.assign(n,c&&c.call?c(t.p):c),{}):a,W(t.target),t.g,t.o,t.k)}let I,H,L;j.bind({g:1});let x=j.bind({k:1});function e1(e,t,a,n){M.p=t,I=e,H=a,L=n}function _(e,t){let a=this||{};return function(){let n=arguments;function c(r,s){let i=Object.assign({},r),l=i.className||c.className;a.p=Object.assign({theme:H&&H()},i),a.o=/ *go\d+/.test(l),i.className=j.apply(a,n)+(l?" "+l:"");let y=e;return e[0]&&(y=i.as||e,delete i.as),L&&y[0]&&L(i),I(y,i)}return c}}var t1=e=>typeof e=="function",z=(e,t)=>t1(e)?e(t):e,a1=(()=>{let e=0;return()=>(++e).toString()})(),T=(()=>{let e;return()=>{if(e===void 0&&typeof window<"u"){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),o1=20,E="default",F=(e,t)=>{let{toastLimit:a}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,a)};case 1:return{...e,toasts:e.toasts.map(s=>s.id===t.toast.id?{...s,...t.toast}:s)};case 2:let{toast:n}=t;return F(e,{type:e.toasts.find(s=>s.id===n.id)?1:0,toast:n});case 3:let{toastId:c}=t;return{...e,toasts:e.toasts.map(s=>s.id===c||c===void 0?{...s,dismissed:!0,visible:!1}:s)};case 4:return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(s=>s.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let r=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(s=>({...s,pauseDuration:s.pauseDuration+r}))}}},N=[],R={toasts:[],pausedAt:void 0,settings:{toastLimit:o1}},v={},U=(e,t=E)=>{v[t]=F(v[t]||R,e),N.forEach(([a,n])=>{a===t&&n(v[t])})},B=e=>Object.keys(v).forEach(t=>U(e,t)),s1=e=>Object.keys(v).find(t=>v[t].toasts.some(a=>a.id===e)),q=(e=E)=>t=>{U(t,e)},n1={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},r1=(e={},t=E)=>{let[a,n]=d.useState(v[t]||R),c=d.useRef(v[t]);d.useEffect(()=>(c.current!==v[t]&&n(v[t]),N.push([t,n]),()=>{let s=N.findIndex(([i])=>i===t);s>-1&&N.splice(s,1)}),[t]);let r=a.toasts.map(s=>{var i,l,y;return{...e,...e[s.type],...s,removeDelay:s.removeDelay||((i=e[s.type])==null?void 0:i.removeDelay)||e?.removeDelay,duration:s.duration||((l=e[s.type])==null?void 0:l.duration)||e?.duration||n1[s.type],style:{...e.style,...(y=e[s.type])==null?void 0:y.style,...s.style}}});return{...a,toasts:r}},c1=(e,t="blank",a)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...a,id:a?.id||a1()}),b=e=>(t,a)=>{let n=c1(t,e,a);return q(n.toasterId||s1(n.id))({type:2,toast:n}),n.id},u=(e,t)=>b("blank")(e,t);u.error=b("error");u.success=b("success");u.loading=b("loading");u.custom=b("custom");u.dismiss=(e,t)=>{let a={type:3,toastId:e};t?q(t)(a):B(a)};u.dismissAll=e=>u.dismiss(void 0,e);u.remove=(e,t)=>{let a={type:4,toastId:e};t?q(t)(a):B(a)};u.removeAll=e=>u.remove(void 0,e);u.promise=(e,t,a)=>{let n=u.loading(t.loading,{...a,...a?.loading});return typeof e=="function"&&(e=e()),e.then(c=>{let r=t.success?z(t.success,c):void 0;return r?u.success(r,{id:n,...a,...a?.success}):u.dismiss(n),c}).catch(c=>{let r=t.error?z(t.error,c):void 0;r?u.error(r,{id:n,...a,...a?.error}):u.dismiss(n)}),e};var i1=1e3,d1=(e,t="default")=>{let{toasts:a,pausedAt:n}=r1(e,t),c=d.useRef(new Map).current,r=d.useCallback((p,k=i1)=>{if(c.has(p))return;let m=setTimeout(()=>{c.delete(p),s({type:4,toastId:p})},k);c.set(p,m)},[]);d.useEffect(()=>{if(n)return;let p=Date.now(),k=a.map(m=>{if(m.duration===1/0)return;let w=(m.duration||0)+m.pauseDuration-(p-m.createdAt);if(w<0){m.visible&&u.dismiss(m.id);return}return setTimeout(()=>u.dismiss(m.id,t),w)});return()=>{k.forEach(m=>m&&clearTimeout(m))}},[a,n,t]);let s=d.useCallback(q(t),[t]),i=d.useCallback(()=>{s({type:5,time:Date.now()})},[s]),l=d.useCallback((p,k)=>{s({type:1,toast:{id:p,height:k}})},[s]),y=d.useCallback(()=>{n&&s({type:6,time:Date.now()})},[n,s]),h=d.useCallback((p,k)=>{let{reverseOrder:m=!1,gutter:w=8,defaultPosition:V}=k||{},C=a.filter(f=>(f.position||V)===(p.position||V)&&f.height),G=C.findIndex(f=>f.id===p.id),D=C.filter((f,A)=>A<G&&f.visible).length;return C.filter(f=>f.visible).slice(...m?[D+1]:[0,D]).reduce((f,A)=>f+(A.height||0)+w,0)},[a]);return d.useEffect(()=>{a.forEach(p=>{if(p.dismissed)r(p.id,p.removeDelay);else{let k=c.get(p.id);k&&(clearTimeout(k),c.delete(p.id))}})},[a,r]),{toasts:a,handlers:{updateHeight:l,startPause:i,endPause:y,calculateOffset:h}}},l1=x`
2
+ from {
3
+ transform: scale(0) rotate(45deg);
4
+ opacity: 0;
5
+ }
6
+ to {
7
+ transform: scale(1) rotate(45deg);
8
+ opacity: 1;
9
+ }`,y1=x`
10
+ from {
11
+ transform: scale(0);
12
+ opacity: 0;
13
+ }
14
+ to {
15
+ transform: scale(1);
16
+ opacity: 1;
17
+ }`,h1=x`
18
+ from {
19
+ transform: scale(0) rotate(90deg);
20
+ opacity: 0;
21
+ }
22
+ to {
23
+ transform: scale(1) rotate(90deg);
24
+ opacity: 1;
25
+ }`,p1=_("div")`
26
+ width: 20px;
27
+ opacity: 0;
28
+ height: 20px;
29
+ border-radius: 10px;
30
+ background: ${e=>e.primary||"#ff4b4b"};
31
+ position: relative;
32
+ transform: rotate(45deg);
33
+
34
+ animation: ${l1} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
35
+ forwards;
36
+ animation-delay: 100ms;
37
+
38
+ &:after,
39
+ &:before {
40
+ content: '';
41
+ animation: ${y1} 0.15s ease-out forwards;
42
+ animation-delay: 150ms;
43
+ position: absolute;
44
+ border-radius: 3px;
45
+ opacity: 0;
46
+ background: ${e=>e.secondary||"#fff"};
47
+ bottom: 9px;
48
+ left: 4px;
49
+ height: 2px;
50
+ width: 12px;
51
+ }
52
+
53
+ &:before {
54
+ animation: ${h1} 0.15s ease-out forwards;
55
+ animation-delay: 180ms;
56
+ transform: rotate(90deg);
57
+ }
58
+ `,k1=x`
59
+ from {
60
+ transform: rotate(0deg);
61
+ }
62
+ to {
63
+ transform: rotate(360deg);
64
+ }
65
+ `,u1=_("div")`
66
+ width: 12px;
67
+ height: 12px;
68
+ box-sizing: border-box;
69
+ border: 2px solid;
70
+ border-radius: 100%;
71
+ border-color: ${e=>e.secondary||"#e0e0e0"};
72
+ border-right-color: ${e=>e.primary||"#616161"};
73
+ animation: ${k1} 1s linear infinite;
74
+ `,m1=x`
75
+ from {
76
+ transform: scale(0) rotate(45deg);
77
+ opacity: 0;
78
+ }
79
+ to {
80
+ transform: scale(1) rotate(45deg);
81
+ opacity: 1;
82
+ }`,f1=x`
83
+ 0% {
84
+ height: 0;
85
+ width: 0;
86
+ opacity: 0;
87
+ }
88
+ 40% {
89
+ height: 0;
90
+ width: 6px;
91
+ opacity: 1;
92
+ }
93
+ 100% {
94
+ opacity: 1;
95
+ height: 10px;
96
+ }`,v1=_("div")`
97
+ width: 20px;
98
+ opacity: 0;
99
+ height: 20px;
100
+ border-radius: 10px;
101
+ background: ${e=>e.primary||"#61d345"};
102
+ position: relative;
103
+ transform: rotate(45deg);
104
+
105
+ animation: ${m1} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
106
+ forwards;
107
+ animation-delay: 100ms;
108
+ &:after {
109
+ content: '';
110
+ box-sizing: border-box;
111
+ animation: ${f1} 0.2s ease-out forwards;
112
+ opacity: 0;
113
+ animation-delay: 200ms;
114
+ position: absolute;
115
+ border-right: 2px solid;
116
+ border-bottom: 2px solid;
117
+ border-color: ${e=>e.secondary||"#fff"};
118
+ bottom: 6px;
119
+ left: 6px;
120
+ height: 10px;
121
+ width: 6px;
122
+ }
123
+ `,g1=_("div")`
124
+ position: absolute;
125
+ `,x1=_("div")`
126
+ position: relative;
127
+ display: flex;
128
+ justify-content: center;
129
+ align-items: center;
130
+ min-width: 20px;
131
+ min-height: 20px;
132
+ `,M1=x`
133
+ from {
134
+ transform: scale(0.6);
135
+ opacity: 0.4;
136
+ }
137
+ to {
138
+ transform: scale(1);
139
+ opacity: 1;
140
+ }`,_1=_("div")`
141
+ position: relative;
142
+ transform: scale(0.6);
143
+ opacity: 0.4;
144
+ min-width: 20px;
145
+ animation: ${M1} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
146
+ forwards;
147
+ `,b1=({toast:e})=>{let{icon:t,type:a,iconTheme:n}=e;return t!==void 0?typeof t=="string"?d.createElement(_1,null,t):t:a==="blank"?null:d.createElement(x1,null,d.createElement(u1,{...n}),a!=="loading"&&d.createElement(g1,null,a==="error"?d.createElement(p1,{...n}):d.createElement(v1,{...n})))},w1=e=>`
148
+ 0% {transform: translate3d(0,${e*-200}%,0) scale(.6); opacity:.5;}
149
+ 100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
150
+ `,$1=e=>`
151
+ 0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
152
+ 100% {transform: translate3d(0,${e*-150}%,-1px) scale(.6); opacity:0;}
153
+ `,N1="0%{opacity:0;} 100%{opacity:1;}",z1="0%{opacity:1;} 100%{opacity:0;}",j1=_("div")`
154
+ display: flex;
155
+ align-items: center;
156
+ background: #fff;
157
+ color: #363636;
158
+ line-height: 1.3;
159
+ will-change: transform;
160
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
161
+ max-width: 350px;
162
+ pointer-events: auto;
163
+ padding: 8px 10px;
164
+ border-radius: 8px;
165
+ `,q1=_("div")`
166
+ display: flex;
167
+ justify-content: center;
168
+ margin: 4px 10px;
169
+ color: inherit;
170
+ flex: 1 1 auto;
171
+ white-space: pre-line;
172
+ `,C1=(e,t)=>{let a=e.includes("top")?1:-1,[n,c]=T()?[N1,z1]:[w1(a),$1(a)];return{animation:t?`${x(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${x(c)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},A1=d.memo(({toast:e,position:t,style:a,children:n})=>{let c=e.height?C1(e.position||t||"top-center",e.visible):{opacity:0},r=d.createElement(b1,{toast:e}),s=d.createElement(q1,{...e.ariaProps},z(e.message,e));return d.createElement(j1,{className:e.className,style:{...c,...a,...e.style}},typeof n=="function"?n({icon:r,message:s}):d.createElement(d.Fragment,null,r,s))});e1(d.createElement);var H1=({id:e,className:t,style:a,onHeightUpdate:n,children:c})=>{let r=d.useCallback(s=>{if(s){let i=()=>{let l=s.getBoundingClientRect().height;n(e,l)};i(),new MutationObserver(i).observe(s,{subtree:!0,childList:!0,characterData:!0})}},[e,n]);return d.createElement("div",{ref:r,className:t,style:a},c)},L1=(e,t)=>{let a=e.includes("top"),n=a?{top:0}:{bottom:0},c=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:T()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(a?1:-1)}px)`,...n,...c}},E1=j`
173
+ z-index: 9999;
174
+ > * {
175
+ pointer-events: auto;
176
+ }
177
+ `,$=16,mt=({reverseOrder:e,position:t="top-center",toastOptions:a,gutter:n,children:c,toasterId:r,containerStyle:s,containerClassName:i})=>{let{toasts:l,handlers:y}=d1(a,r);return d.createElement("div",{"data-rht-toaster":r||"",style:{position:"fixed",zIndex:9999,top:$,left:$,right:$,bottom:$,pointerEvents:"none",...s},className:i,onMouseEnter:y.startPause,onMouseLeave:y.endPause},l.map(h=>{let p=h.position||t,k=y.calculateOffset(h,{reverseOrder:e,gutter:n,defaultPosition:t}),m=L1(p,k);return d.createElement(H1,{id:h.id,key:h.id,onHeightUpdate:y.updateHeight,className:h.visible?E1:"",style:m},h.type==="custom"?z(h.message,h):c?c(h):d.createElement(A1,{toast:h,position:p}))}))},ft=u;const V1=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),D1=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,a,n)=>n?n.toUpperCase():a.toLowerCase()),O=e=>{const t=D1(e);return t.charAt(0).toUpperCase()+t.slice(1)},Z=(...e)=>e.filter((t,a,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===a).join(" ").trim(),S1=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var O1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const P1=d.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:a=2,absoluteStrokeWidth:n,className:c="",children:r,iconNode:s,...i},l)=>d.createElement("svg",{ref:l,...O1,width:t,height:t,stroke:e,strokeWidth:n?Number(a)*24/Number(t):a,className:Z("lucide",c),...!r&&!S1(i)&&{"aria-hidden":"true"},...i},[...s.map(([y,h])=>d.createElement(y,h)),...Array.isArray(r)?r:[r]]));const o=(e,t)=>{const a=d.forwardRef(({className:n,...c},r)=>d.createElement(P1,{ref:r,iconNode:t,className:Z(`lucide-${V1(O(e))}`,`lucide-${e}`,n),...c}));return a.displayName=O(e),a};const I1=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],vt=o("activity",I1);const T1=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],gt=o("archive",T1);const F1=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],xt=o("arrow-down",F1);const R1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Mt=o("arrow-right",R1);const U1=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],_t=o("book-open",U1);const B1=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],bt=o("bot",B1);const Z1=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],wt=o("brain",Z1);const G1=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],$t=o("camera",G1);const K1=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Nt=o("check",K1);const W1=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],zt=o("chevron-down",W1);const X1=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],jt=o("chevron-left",X1);const Y1=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],qt=o("chevron-right",Y1);const Q1=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Ct=o("chevron-up",Q1);const J1=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],At=o("clock",J1);const ee=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],Ht=o("cloud",ee);const te=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],Lt=o("code-xml",te);const ae=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],Et=o("code",ae);const oe=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Vt=o("copy",oe);const se=[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]],Dt=o("cpu",se);const ne=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],St=o("database",ne);const re=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ot=o("download",re);const ce=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Pt=o("ellipsis",ce);const ie=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],It=o("external-link",ie);const de=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Tt=o("eye-off",de);const le=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Ft=o("eye",le);const ye=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}]],Rt=o("file-code",ye);const he=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],Ut=o("file-down",he);const pe=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Bt=o("file-text",pe);const ke=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],Zt=o("file",ke);const ue=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],Gt=o("funnel",ue);const me=[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]],Kt=o("gauge",me);const fe=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Wt=o("git-branch",fe);const ve=[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]],Xt=o("github",ve);const ge=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Yt=o("globe",ge);const xe=[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]],Qt=o("hard-drive",xe);const Me=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],Jt=o("hash",Me);const _e=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],ea=o("image",_e);const be=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ta=o("info",be);const we=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],aa=o("key",we);const $e=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],oa=o("keyboard",$e);const Ne=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],sa=o("layers",Ne);const ze=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],na=o("loader-circle",ze);const je=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],ra=o("log-in",je);const qe=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],ca=o("log-out",qe);const Ce=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],ia=o("maximize-2",Ce);const Ae=[["path",{d:"M12 12v-2",key:"fwoke6"}],["path",{d:"M12 18v-2",key:"qj6yno"}],["path",{d:"M16 12v-2",key:"heuere"}],["path",{d:"M16 18v-2",key:"s1ct0w"}],["path",{d:"M2 11h1.5",key:"15p63e"}],["path",{d:"M20 18v-2",key:"12ehxp"}],["path",{d:"M20.5 11H22",key:"khsy7a"}],["path",{d:"M4 18v-2",key:"1c3oqr"}],["path",{d:"M8 12v-2",key:"1mwtfd"}],["path",{d:"M8 18v-2",key:"qcmpov"}],["rect",{x:"2",y:"6",width:"20",height:"10",rx:"2",key:"1qcswk"}]],da=o("memory-stick",Ae);const He=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],la=o("message-square",He);const Le=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],ya=o("minimize-2",Le);const Ee=[["path",{d:"M5 12h14",key:"1ays0h"}]],ha=o("minus",Ee);const Ve=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],pa=o("monitor",Ve);const De=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],ka=o("moon",De);const Se=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],ua=o("palette",Se);const Oe=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],ma=o("paperclip",Oe);const Pe=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],fa=o("pen-line",Pe);const Ie=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],va=o("play",Ie);const Te=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],ga=o("plus",Te);const Fe=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],xa=o("puzzle",Fe);const Re=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Ma=o("refresh-cw",Re);const Ue=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],_a=o("rotate-ccw",Ue);const Be=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],ba=o("save",Be);const Ze=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],wa=o("search",Ze);const Ge=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],$a=o("send",Ge);const Ke=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],Na=o("server",Ke);const We=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],za=o("settings",We);const Xe=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],ja=o("settings-2",Xe);const Ye=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],qa=o("shield",Ye);const Qe=[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]],Ca=o("sliders-vertical",Qe);const Je=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],Aa=o("sparkles",Je);const et=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Ha=o("square-pen",et);const tt=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],La=o("square",tt);const at=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],Ea=o("star",at);const ot=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Va=o("sun",ot);const st=[["path",{d:"M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2",key:"125lnx"}],["path",{d:"M8.5 2h7",key:"csnxdl"}],["path",{d:"M14.5 16h-5",key:"1ox875"}]],Da=o("test-tube",st);const nt=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],Sa=o("trash-2",nt);const rt=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],Oa=o("trending-up",rt);const ct=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Pa=o("triangle-alert",ct);const it=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],Ia=o("upload",it);const dt=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Ta=o("user-plus",dt);const lt=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Fa=o("user",lt);const yt=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],Ra=o("volume-2",yt);const ht=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]],Ua=o("volume-x",ht);const pt=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ba=o("x",pt);const kt=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Za=o("zap",kt);export{wt as $,Mt as A,bt as B,Nt as C,St as D,It as E,aa as F,Xt as G,Pa as H,ea as I,Vt as J,oa as K,na as L,pa as M,mt as N,zt as O,ua as P,Ua as Q,_a as R,Ca as S,Sa as T,Ia as U,Ra as V,Ma as W,Ba as X,ba as Y,Za as Z,Ct as _,xa as a,Wt as a0,xt as a1,Lt as a2,Bt as a3,Zt as a4,_t as a5,Et as a6,ma as a7,ha as a8,$a as a9,ja as aa,Na as ab,Qt as ac,sa as ad,vt as ae,wa as af,Ht as ag,Gt as ah,da as ai,At as aj,Jt as ak,Rt as al,Da as am,Kt as an,Ea as ao,Ha as ap,Pt as aq,gt as ar,Ut as as,Oa as at,ya as au,ia as av,ta as b,la as c,Ot as d,La as e,va as f,Dt as g,Va as h,ka as i,Aa as j,Fa as k,jt as l,qt as m,ga as n,fa as o,za as p,ca as q,qa as r,$t as s,u as t,Tt as u,Ft as v,ra as w,Ta as x,Yt as y,ft as z};
@@ -0,0 +1,6 @@
1
+ import{R as Se}from"./router-vendor-B-t91v39.js";function Et(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Et(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function $o(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Et(e))&&(n&&(n+=" "),n+=t);return n}const ir=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},ar=(e,t)=>({classGroupId:e,validator:t}),Rt=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),ve="-",et=[],lr="arbitrary..",cr=e=>{const t=dr(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return ur(s);const a=s.split(ve),u=a[0]===""&&a.length>1?1:0;return At(a,u,t)},getConflictingClassGroupIds:(s,a)=>{if(a){const u=n[s],c=r[s];return u?c?ir(c,u):u:c||et}return r[s]||et}}},At=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],i=r.nextPart.get(o);if(i){const c=At(e,t+1,i);if(c)return c}const s=r.validators;if(s===null)return;const a=t===0?e.join(ve):e.slice(t).join(ve),u=s.length;for(let c=0;c<u;c++){const d=s[c];if(d.validator(a))return d.classGroupId}},ur=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?lr+n:void 0})(),dr=e=>{const{theme:t,classGroups:r}=e;return fr(r,t)},fr=(e,t)=>{const r=Rt();for(const n in e){const o=e[n];We(o,r,n,t)}return r},We=(e,t,r,n)=>{const o=e.length;for(let i=0;i<o;i++){const s=e[i];pr(s,t,r,n)}},pr=(e,t,r,n)=>{if(typeof e=="string"){mr(e,t,r);return}if(typeof e=="function"){hr(e,t,r,n);return}br(e,t,r,n)},mr=(e,t,r)=>{const n=e===""?t:Ot(t,e);n.classGroupId=r},hr=(e,t,r,n)=>{if(gr(e)){We(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(ar(r,e))},br=(e,t,r,n)=>{const o=Object.entries(e),i=o.length;for(let s=0;s<i;s++){const[a,u]=o[s];We(u,Ot(t,a),r,n)}},Ot=(e,t)=>{let r=e;const n=t.split(ve),o=n.length;for(let i=0;i<o;i++){const s=n[i];let a=r.nextPart.get(s);a||(a=Rt(),r.nextPart.set(s,a)),r=a}return r},gr=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,yr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(i,s)=>{r[i]=s,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(i){let s=r[i];if(s!==void 0)return s;if((s=n[i])!==void 0)return o(i,s),s},set(i,s){i in r?r[i]=s:o(i,s)}}},qe="!",tt=":",wr=[],rt=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),xr=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const i=[];let s=0,a=0,u=0,c;const d=o.length;for(let g=0;g<d;g++){const p=o[g];if(s===0&&a===0){if(p===tt){i.push(o.slice(u,g)),u=g+1;continue}if(p==="/"){c=g;continue}}p==="["?s++:p==="]"?s--:p==="("?a++:p===")"&&a--}const m=i.length===0?o:o.slice(u);let k=m,R=!1;m.endsWith(qe)?(k=m.slice(0,-1),R=!0):m.startsWith(qe)&&(k=m.slice(1),R=!0);const f=c&&c>u?c-u:void 0;return rt(i,R,k,f)};if(t){const o=t+tt,i=n;n=s=>s.startsWith(o)?i(s.slice(o.length)):rt(wr,!1,s,void 0,!0)}if(r){const o=n;n=i=>r({className:i,parseClassName:o})}return n},kr=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let i=0;i<r.length;i++){const s=r[i],a=s[0]==="[",u=t.has(s);a||u?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(s)):o.push(s)}return o.length>0&&(o.sort(),n.push(...o)),n}},Sr=e=>({cache:yr(e.cacheSize),parseClassName:xr(e),sortModifiers:kr(e),...cr(e)}),Er=/\s+/,Rr=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(Er);let u="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{isExternal:m,modifiers:k,hasImportantModifier:R,baseClassName:f,maybePostfixModifierPosition:g}=r(d);if(m){u=d+(u.length>0?" "+u:u);continue}let p=!!g,E=n(p?f.substring(0,g):f);if(!E){if(!p){u=d+(u.length>0?" "+u:u);continue}if(E=n(f),!E){u=d+(u.length>0?" "+u:u);continue}p=!1}const U=k.length===0?"":k.length===1?k[0]:i(k).join(":"),A=R?U+qe:U,O=A+E;if(s.indexOf(O)>-1)continue;s.push(O);const N=o(E,p);for(let j=0;j<N.length;++j){const F=N[j];s.push(A+F)}u=d+(u.length>0?" "+u:u)}return u},Ar=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Tt(r))&&(o&&(o+=" "),o+=n);return o},Tt=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Tt(e[n]))&&(r&&(r+=" "),r+=t);return r},Or=(e,...t)=>{let r,n,o,i;const s=u=>{const c=t.reduce((d,m)=>m(d),e());return r=Sr(c),n=r.cache.get,o=r.cache.set,i=a,a(u)},a=u=>{const c=n(u);if(c)return c;const d=Rr(u,r);return o(u,d),d};return i=s,(...u)=>i(Ar(...u))},Tr=[],P=e=>{const t=r=>r[e]||Tr;return t.isThemeGetter=!0,t},Ct=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,vt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Cr=/^\d+\/\d+$/,vr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Nr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Fr=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,_r=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ne=e=>Cr.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>!!e&&Number.isInteger(Number(e)),je=e=>e.endsWith("%")&&S(e.slice(0,-1)),K=e=>vr.test(e),Lr=()=>!0,Ur=e=>Pr.test(e)&&!Nr.test(e),Pt=()=>!1,zr=e=>Fr.test(e),jr=e=>_r.test(e),Br=e=>!h(e)&&!b(e),Ir=e=>se(e,_t,Pt),h=e=>Ct.test(e),Z=e=>se(e,Lt,Ur),Be=e=>se(e,$r,S),nt=e=>se(e,Nt,Pt),Dr=e=>se(e,Ft,jr),Ee=e=>se(e,Ut,zr),b=e=>vt.test(e),fe=e=>ie(e,Lt),Mr=e=>ie(e,Vr),ot=e=>ie(e,Nt),qr=e=>ie(e,_t),Hr=e=>ie(e,Ft),Re=e=>ie(e,Ut,!0),se=(e,t,r)=>{const n=Ct.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},ie=(e,t,r=!1)=>{const n=vt.exec(e);return n?n[1]?t(n[1]):r:!1},Nt=e=>e==="position"||e==="percentage",Ft=e=>e==="image"||e==="url",_t=e=>e==="length"||e==="size"||e==="bg-size",Lt=e=>e==="length",$r=e=>e==="number",Vr=e=>e==="family-name",Ut=e=>e==="shadow",Gr=()=>{const e=P("color"),t=P("font"),r=P("text"),n=P("font-weight"),o=P("tracking"),i=P("leading"),s=P("breakpoint"),a=P("container"),u=P("spacing"),c=P("radius"),d=P("shadow"),m=P("inset-shadow"),k=P("text-shadow"),R=P("drop-shadow"),f=P("blur"),g=P("perspective"),p=P("aspect"),E=P("ease"),U=P("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],O=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...O(),b,h],j=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],w=()=>[b,h,u],B=()=>[ne,"full","auto",...w()],ce=()=>[Y,"none","subgrid",b,h],ue=()=>["auto",{span:["full",Y,b,h]},Y,b,h],W=()=>[Y,"auto",b,h],X=()=>["auto","min","max","fr",b,h],M=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],C=()=>["auto",...w()],$=()=>[ne,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],y=()=>[e,b,h],de=()=>[...O(),ot,nt,{position:[b,h]}],ye=()=>["no-repeat",{repeat:["","x","y","space","round"]}],q=()=>["auto","cover","contain",qr,Ir,{size:[b,h]}],V=()=>[je,fe,Z],v=()=>["","none","full",c,b,h],_=()=>["",S,fe,Z],Q=()=>["solid","dashed","dotted","double"],Qe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>[S,je,ot,nt],Ze=()=>["","none",f,b,h],we=()=>["none",S,b,h],xe=()=>["none",S,b,h],ze=()=>[S,b,h],ke=()=>[ne,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[K],breakpoint:[K],color:[Lr],container:[K],"drop-shadow":[K],ease:["in","out","in-out"],font:[Br],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[K],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[K],shadow:[K],spacing:["px",S],text:[K],"text-shadow":[K],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ne,h,b,p]}],container:["container"],columns:[{columns:[S,h,b,a]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:N()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{start:B()}],end:[{end:B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[Y,"auto",b,h]}],basis:[{basis:[ne,"full","auto",a,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,ne,"auto","initial","none",h]}],grow:[{grow:["",S,b,h]}],shrink:[{shrink:["",S,b,h]}],order:[{order:[Y,"first","last","none",b,h]}],"grid-cols":[{"grid-cols":ce()}],"col-start-end":[{col:ue()}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":ce()}],"row-start-end":[{row:ue()}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":X()}],"auto-rows":[{"auto-rows":X()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...M(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...M()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":M()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],w:[{w:[a,"screen",...$()]}],"min-w":[{"min-w":[a,"screen","none",...$()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,fe,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,b,Be]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",je,h]}],"font-family":[{font:[Mr,h,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,b,h]}],"line-clamp":[{"line-clamp":[S,"none",b,Be]}],leading:[{leading:[i,...w()]}],"list-image":[{"list-image":["none",b,h]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",b,h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:y()}],"text-color":[{text:y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Q(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",b,Z]}],"text-decoration-color":[{decoration:y()}],"underline-offset":[{"underline-offset":[S,"auto",b,h]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",b,h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",b,h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:de()}],"bg-repeat":[{bg:ye()}],"bg-size":[{bg:q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Y,b,h],radial:["",b,h],conic:[Y,b,h]},Hr,Dr]}],"bg-color":[{bg:y()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:y()}],"gradient-via":[{via:y()}],"gradient-to":[{to:y()}],rounded:[{rounded:v()}],"rounded-s":[{"rounded-s":v()}],"rounded-e":[{"rounded-e":v()}],"rounded-t":[{"rounded-t":v()}],"rounded-r":[{"rounded-r":v()}],"rounded-b":[{"rounded-b":v()}],"rounded-l":[{"rounded-l":v()}],"rounded-ss":[{"rounded-ss":v()}],"rounded-se":[{"rounded-se":v()}],"rounded-ee":[{"rounded-ee":v()}],"rounded-es":[{"rounded-es":v()}],"rounded-tl":[{"rounded-tl":v()}],"rounded-tr":[{"rounded-tr":v()}],"rounded-br":[{"rounded-br":v()}],"rounded-bl":[{"rounded-bl":v()}],"border-w":[{border:_()}],"border-w-x":[{"border-x":_()}],"border-w-y":[{"border-y":_()}],"border-w-s":[{"border-s":_()}],"border-w-e":[{"border-e":_()}],"border-w-t":[{"border-t":_()}],"border-w-r":[{"border-r":_()}],"border-w-b":[{"border-b":_()}],"border-w-l":[{"border-l":_()}],"divide-x":[{"divide-x":_()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":_()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Q(),"hidden","none"]}],"divide-style":[{divide:[...Q(),"hidden","none"]}],"border-color":[{border:y()}],"border-color-x":[{"border-x":y()}],"border-color-y":[{"border-y":y()}],"border-color-s":[{"border-s":y()}],"border-color-e":[{"border-e":y()}],"border-color-t":[{"border-t":y()}],"border-color-r":[{"border-r":y()}],"border-color-b":[{"border-b":y()}],"border-color-l":[{"border-l":y()}],"divide-color":[{divide:y()}],"outline-style":[{outline:[...Q(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,b,h]}],"outline-w":[{outline:["",S,fe,Z]}],"outline-color":[{outline:y()}],shadow:[{shadow:["","none",d,Re,Ee]}],"shadow-color":[{shadow:y()}],"inset-shadow":[{"inset-shadow":["none",m,Re,Ee]}],"inset-shadow-color":[{"inset-shadow":y()}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:y()}],"ring-offset-w":[{"ring-offset":[S,Z]}],"ring-offset-color":[{"ring-offset":y()}],"inset-ring-w":[{"inset-ring":_()}],"inset-ring-color":[{"inset-ring":y()}],"text-shadow":[{"text-shadow":["none",k,Re,Ee]}],"text-shadow-color":[{"text-shadow":y()}],opacity:[{opacity:[S,b,h]}],"mix-blend":[{"mix-blend":[...Qe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Qe()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":y()}],"mask-image-linear-to-color":[{"mask-linear-to":y()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":y()}],"mask-image-t-to-color":[{"mask-t-to":y()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":y()}],"mask-image-r-to-color":[{"mask-r-to":y()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":y()}],"mask-image-b-to-color":[{"mask-b-to":y()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":y()}],"mask-image-l-to-color":[{"mask-l-to":y()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":y()}],"mask-image-x-to-color":[{"mask-x-to":y()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":y()}],"mask-image-y-to-color":[{"mask-y-to":y()}],"mask-image-radial":[{"mask-radial":[b,h]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":y()}],"mask-image-radial-to-color":[{"mask-radial-to":y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":O()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":y()}],"mask-image-conic-to-color":[{"mask-conic-to":y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:de()}],"mask-repeat":[{mask:ye()}],"mask-size":[{mask:q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",b,h]}],filter:[{filter:["","none",b,h]}],blur:[{blur:Ze()}],brightness:[{brightness:[S,b,h]}],contrast:[{contrast:[S,b,h]}],"drop-shadow":[{"drop-shadow":["","none",R,Re,Ee]}],"drop-shadow-color":[{"drop-shadow":y()}],grayscale:[{grayscale:["",S,b,h]}],"hue-rotate":[{"hue-rotate":[S,b,h]}],invert:[{invert:["",S,b,h]}],saturate:[{saturate:[S,b,h]}],sepia:[{sepia:["",S,b,h]}],"backdrop-filter":[{"backdrop-filter":["","none",b,h]}],"backdrop-blur":[{"backdrop-blur":Ze()}],"backdrop-brightness":[{"backdrop-brightness":[S,b,h]}],"backdrop-contrast":[{"backdrop-contrast":[S,b,h]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,b,h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,b,h]}],"backdrop-invert":[{"backdrop-invert":["",S,b,h]}],"backdrop-opacity":[{"backdrop-opacity":[S,b,h]}],"backdrop-saturate":[{"backdrop-saturate":[S,b,h]}],"backdrop-sepia":[{"backdrop-sepia":["",S,b,h]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",b,h]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",b,h]}],ease:[{ease:["linear","initial",E,b,h]}],delay:[{delay:[S,b,h]}],animate:[{animate:["none",U,b,h]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,b,h]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:we()}],"rotate-x":[{"rotate-x":we()}],"rotate-y":[{"rotate-y":we()}],"rotate-z":[{"rotate-z":we()}],scale:[{scale:xe()}],"scale-x":[{"scale-x":xe()}],"scale-y":[{"scale-y":xe()}],"scale-z":[{"scale-z":xe()}],"scale-3d":["scale-3d"],skew:[{skew:ze()}],"skew-x":[{"skew-x":ze()}],"skew-y":[{"skew-y":ze()}],transform:[{transform:[b,h,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ke()}],"translate-x":[{"translate-x":ke()}],"translate-y":[{"translate-y":ke()}],"translate-z":[{"translate-z":ke()}],"translate-none":["translate-none"],accent:[{accent:y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",b,h]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",b,h]}],fill:[{fill:["none",...y()]}],"stroke-w":[{stroke:[S,fe,Z,Be]}],stroke:[{stroke:["none",...y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Vo=Or(Gr),st=e=>{let t;const r=new Set,n=(c,d)=>{const m=typeof c=="function"?c(t):c;if(!Object.is(m,t)){const k=t;t=d??(typeof m!="object"||m===null)?m:Object.assign({},t,m),r.forEach(R=>R(t,k))}},o=()=>t,a={setState:n,getState:o,getInitialState:()=>u,subscribe:c=>(r.add(c),()=>r.delete(c))},u=t=e(n,o,a);return a},Wr=(e=>e?st(e):st),Jr=e=>e;function Kr(e,t=Jr){const r=Se.useSyncExternalStore(e.subscribe,Se.useCallback(()=>t(e.getState()),[e,t]),Se.useCallback(()=>t(e.getInitialState()),[e,t]));return Se.useDebugValue(r),r}const it=e=>{const t=Wr(e),r=n=>Kr(t,n);return Object.assign(r,t),r},Go=(e=>e?it(e):it);function zt(e,t){return function(){return e.apply(t,arguments)}}const{toString:Xr}=Object.prototype,{getPrototypeOf:Je}=Object,{iterator:Ne,toStringTag:jt}=Symbol,Fe=(e=>t=>{const r=Xr.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),H=e=>(e=e.toLowerCase(),t=>Fe(t)===e),_e=e=>t=>typeof t===e,{isArray:ae}=Array,oe=_e("undefined");function me(e){return e!==null&&!oe(e)&&e.constructor!==null&&!oe(e.constructor)&&I(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bt=H("ArrayBuffer");function Yr(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bt(e.buffer),t}const Qr=_e("string"),I=_e("function"),It=_e("number"),he=e=>e!==null&&typeof e=="object",Zr=e=>e===!0||e===!1,Oe=e=>{if(Fe(e)!=="object")return!1;const t=Je(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(jt in e)&&!(Ne in e)},en=e=>{if(!he(e)||me(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},tn=H("Date"),rn=H("File"),nn=H("Blob"),on=H("FileList"),sn=e=>he(e)&&I(e.pipe),an=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||I(e.append)&&((t=Fe(e))==="formdata"||t==="object"&&I(e.toString)&&e.toString()==="[object FormData]"))},ln=H("URLSearchParams"),[cn,un,dn,fn]=["ReadableStream","Request","Response","Headers"].map(H),pn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function be(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),ae(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(me(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(n=0;n<s;n++)a=i[n],t.call(null,e[a],a,e)}}function Dt(e,t){if(me(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const ee=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Mt=e=>!oe(e)&&e!==ee;function He(){const{caseless:e,skipUndefined:t}=Mt(this)&&this||{},r={},n=(o,i)=>{const s=e&&Dt(r,i)||i;Oe(r[s])&&Oe(o)?r[s]=He(r[s],o):Oe(o)?r[s]=He({},o):ae(o)?r[s]=o.slice():(!t||!oe(o))&&(r[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&be(arguments[o],n);return r}const mn=(e,t,r,{allOwnKeys:n}={})=>(be(t,(o,i)=>{r&&I(o)?e[i]=zt(o,r):e[i]=o},{allOwnKeys:n}),e),hn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),bn=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},gn=(e,t,r,n)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&Je(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},yn=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},wn=e=>{if(!e)return null;if(ae(e))return e;let t=e.length;if(!It(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},xn=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Je(Uint8Array)),kn=(e,t)=>{const n=(e&&e[Ne]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Sn=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},En=H("HTMLFormElement"),Rn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),at=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),An=H("RegExp"),qt=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};be(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},On=e=>{qt(e,(t,r)=>{if(I(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(I(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Tn=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return ae(e)?n(e):n(String(e).split(t)),r},Cn=()=>{},vn=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Pn(e){return!!(e&&I(e.append)&&e[jt]==="FormData"&&e[Ne])}const Nn=e=>{const t=new Array(10),r=(n,o)=>{if(he(n)){if(t.indexOf(n)>=0)return;if(me(n))return n;if(!("toJSON"in n)){t[o]=n;const i=ae(n)?[]:{};return be(n,(s,a)=>{const u=r(s,o+1);!oe(u)&&(i[a]=u)}),t[o]=void 0,i}}return n};return r(e,0)},Fn=H("AsyncFunction"),_n=e=>e&&(he(e)||I(e))&&I(e.then)&&I(e.catch),Ht=((e,t)=>e?setImmediate:t?((r,n)=>(ee.addEventListener("message",({source:o,data:i})=>{o===ee&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),ee.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",I(ee.postMessage)),Ln=typeof queueMicrotask<"u"?queueMicrotask.bind(ee):typeof process<"u"&&process.nextTick||Ht,Un=e=>e!=null&&I(e[Ne]),l={isArray:ae,isArrayBuffer:Bt,isBuffer:me,isFormData:an,isArrayBufferView:Yr,isString:Qr,isNumber:It,isBoolean:Zr,isObject:he,isPlainObject:Oe,isEmptyObject:en,isReadableStream:cn,isRequest:un,isResponse:dn,isHeaders:fn,isUndefined:oe,isDate:tn,isFile:rn,isBlob:nn,isRegExp:An,isFunction:I,isStream:sn,isURLSearchParams:ln,isTypedArray:xn,isFileList:on,forEach:be,merge:He,extend:mn,trim:pn,stripBOM:hn,inherits:bn,toFlatObject:gn,kindOf:Fe,kindOfTest:H,endsWith:yn,toArray:wn,forEachEntry:kn,matchAll:Sn,isHTMLForm:En,hasOwnProperty:at,hasOwnProp:at,reduceDescriptors:qt,freezeMethods:On,toObjectSet:Tn,toCamelCase:Rn,noop:Cn,toFiniteNumber:vn,findKey:Dt,global:ee,isContextDefined:Mt,isSpecCompliantForm:Pn,toJSONObject:Nn,isAsyncFn:Fn,isThenable:_n,setImmediate:Ht,asap:Ln,isIterable:Un};function x(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}l.inherits(x,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:l.toJSONObject(this.config),code:this.code,status:this.status}}});const $t=x.prototype,Vt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Vt[e]={value:e}});Object.defineProperties(x,Vt);Object.defineProperty($t,"isAxiosError",{value:!0});x.from=(e,t,r,n,o,i)=>{const s=Object.create($t);l.toFlatObject(e,s,function(d){return d!==Error.prototype},c=>c!=="isAxiosError");const a=e&&e.message?e.message:"Error",u=t==null&&e?e.code:t;return x.call(s,a,u,r,n,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const zn=null;function $e(e){return l.isPlainObject(e)||l.isArray(e)}function Gt(e){return l.endsWith(e,"[]")?e.slice(0,-2):e}function lt(e,t,r){return e?e.concat(t).map(function(o,i){return o=Gt(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function jn(e){return l.isArray(e)&&!e.some($e)}const Bn=l.toFlatObject(l,{},null,function(t){return/^is[A-Z]/.test(t)});function Le(e,t,r){if(!l.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=l.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,p){return!l.isUndefined(p[g])});const n=r.metaTokens,o=r.visitor||d,i=r.dots,s=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&l.isSpecCompliantForm(t);if(!l.isFunction(o))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(l.isDate(f))return f.toISOString();if(l.isBoolean(f))return f.toString();if(!u&&l.isBlob(f))throw new x("Blob is not supported. Use a Buffer instead.");return l.isArrayBuffer(f)||l.isTypedArray(f)?u&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function d(f,g,p){let E=f;if(f&&!p&&typeof f=="object"){if(l.endsWith(g,"{}"))g=n?g:g.slice(0,-2),f=JSON.stringify(f);else if(l.isArray(f)&&jn(f)||(l.isFileList(f)||l.endsWith(g,"[]"))&&(E=l.toArray(f)))return g=Gt(g),E.forEach(function(A,O){!(l.isUndefined(A)||A===null)&&t.append(s===!0?lt([g],O,i):s===null?g:g+"[]",c(A))}),!1}return $e(f)?!0:(t.append(lt(p,g,i),c(f)),!1)}const m=[],k=Object.assign(Bn,{defaultVisitor:d,convertValue:c,isVisitable:$e});function R(f,g){if(!l.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));m.push(f),l.forEach(f,function(E,U){(!(l.isUndefined(E)||E===null)&&o.call(t,E,l.isString(U)?U.trim():U,g,k))===!0&&R(E,g?g.concat(U):[U])}),m.pop()}}if(!l.isObject(e))throw new TypeError("data must be an object");return R(e),t}function ct(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Ke(e,t){this._pairs=[],e&&Le(e,this,t)}const Wt=Ke.prototype;Wt.append=function(t,r){this._pairs.push([t,r])};Wt.toString=function(t){const r=t?function(n){return t.call(this,n,ct)}:ct;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function In(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Jt(e,t,r){if(!t)return e;const n=r&&r.encode||In;l.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(o?i=o(t,r):i=l.isURLSearchParams(t)?t.toString():new Ke(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ut{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){l.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Kt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dn=typeof URLSearchParams<"u"?URLSearchParams:Ke,Mn=typeof FormData<"u"?FormData:null,qn=typeof Blob<"u"?Blob:null,Hn={isBrowser:!0,classes:{URLSearchParams:Dn,FormData:Mn,Blob:qn},protocols:["http","https","file","blob","url","data"]},Xe=typeof window<"u"&&typeof document<"u",Ve=typeof navigator=="object"&&navigator||void 0,$n=Xe&&(!Ve||["ReactNative","NativeScript","NS"].indexOf(Ve.product)<0),Vn=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gn=Xe&&window.location.href||"http://localhost",Wn=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Xe,hasStandardBrowserEnv:$n,hasStandardBrowserWebWorkerEnv:Vn,navigator:Ve,origin:Gn},Symbol.toStringTag,{value:"Module"})),z={...Wn,...Hn};function Jn(e,t){return Le(e,new z.classes.URLSearchParams,{visitor:function(r,n,o,i){return z.isNode&&l.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Kn(e){return l.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xn(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function Xt(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),u=i>=r.length;return s=!s&&l.isArray(o)?o.length:s,u?(l.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!a):((!o[s]||!l.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&l.isArray(o[s])&&(o[s]=Xn(o[s])),!a)}if(l.isFormData(e)&&l.isFunction(e.entries)){const r={};return l.forEachEntry(e,(n,o)=>{t(Kn(n),o,r,0)}),r}return null}function Yn(e,t,r){if(l.isString(e))try{return(t||JSON.parse)(e),l.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ge={transitional:Kt,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=l.isObject(t);if(i&&l.isHTMLForm(t)&&(t=new FormData(t)),l.isFormData(t))return o?JSON.stringify(Xt(t)):t;if(l.isArrayBuffer(t)||l.isBuffer(t)||l.isStream(t)||l.isFile(t)||l.isBlob(t)||l.isReadableStream(t))return t;if(l.isArrayBufferView(t))return t.buffer;if(l.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Jn(t,this.formSerializer).toString();if((a=l.isFileList(t))||n.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Le(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Yn(t)):t}],transformResponse:[function(t){const r=this.transitional||ge.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(l.isResponse(t)||l.isReadableStream(t))return t;if(t&&l.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?x.from(a,x.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:z.classes.FormData,Blob:z.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};l.forEach(["delete","get","head","post","put","patch"],e=>{ge.headers[e]={}});const Qn=l.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Zn=e=>{const t={};let r,n,o;return e&&e.split(`
2
+ `).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&Qn[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},dt=Symbol("internals");function pe(e){return e&&String(e).trim().toLowerCase()}function Te(e){return e===!1||e==null?e:l.isArray(e)?e.map(Te):String(e)}function eo(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const to=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ie(e,t,r,n,o){if(l.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!l.isString(t)){if(l.isString(n))return t.indexOf(n)!==-1;if(l.isRegExp(n))return n.test(t)}}function ro(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function no(e,t){const r=l.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}let D=class{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(a,u,c){const d=pe(u);if(!d)throw new Error("header name must be a non-empty string");const m=l.findKey(o,d);(!m||o[m]===void 0||c===!0||c===void 0&&o[m]!==!1)&&(o[m||u]=Te(a))}const s=(a,u)=>l.forEach(a,(c,d)=>i(c,d,u));if(l.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(l.isString(t)&&(t=t.trim())&&!to(t))s(Zn(t),r);else if(l.isObject(t)&&l.isIterable(t)){let a={},u,c;for(const d of t){if(!l.isArray(d))throw TypeError("Object iterator must return a key-value pair");a[c=d[0]]=(u=a[c])?l.isArray(u)?[...u,d[1]]:[u,d[1]]:d[1]}s(a,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=pe(t),t){const n=l.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return eo(o);if(l.isFunction(r))return r.call(this,o,n);if(l.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=pe(t),t){const n=l.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Ie(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=pe(s),s){const a=l.findKey(n,s);a&&(!r||Ie(n,n[a],a,r))&&(delete n[a],o=!0)}}return l.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||Ie(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return l.forEach(this,(o,i)=>{const s=l.findKey(n,i);if(s){r[s]=Te(o),delete r[i];return}const a=t?ro(i):String(i).trim();a!==i&&delete r[i],r[a]=Te(o),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return l.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&l.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
3
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[dt]=this[dt]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=pe(s);n[a]||(no(o,s),n[a]=!0)}return l.isArray(t)?t.forEach(i):i(t),this}};D.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);l.reduceDescriptors(D.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});l.freezeMethods(D);function De(e,t){const r=this||ge,n=t||r,o=D.from(n.headers);let i=n.data;return l.forEach(e,function(a){i=a.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Yt(e){return!!(e&&e.__CANCEL__)}function le(e,t,r){x.call(this,e??"canceled",x.ERR_CANCELED,t,r),this.name="CanceledError"}l.inherits(le,x,{__CANCEL__:!0});function Qt(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new x("Request failed with status code "+r.status,[x.ERR_BAD_REQUEST,x.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function oo(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function so(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const c=Date.now(),d=n[i];s||(s=c),r[o]=u,n[o]=c;let m=i,k=0;for(;m!==o;)k+=r[m++],m=m%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s<t)return;const R=d&&c-d;return R?Math.round(k*1e3/R):void 0}}function io(e,t){let r=0,n=1e3/t,o,i;const s=(c,d=Date.now())=>{r=d,o=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const d=Date.now(),m=d-r;m>=n?s(c,d):(o=c,i||(i=setTimeout(()=>{i=null,s(o)},n-m)))},()=>o&&s(o)]}const Pe=(e,t,r=3)=>{let n=0;const o=so(50,250);return io(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,u=s-n,c=o(u),d=s<=a;n=s;const m={loaded:s,total:a,progress:a?s/a:void 0,bytes:u,rate:c||void 0,estimated:c&&a&&d?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(m)},r)},ft=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},pt=e=>(...t)=>l.asap(()=>e(...t)),ao=z.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,z.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(z.origin),z.navigator&&/(msie|trident)/i.test(z.navigator.userAgent)):()=>!0,lo=z.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if(typeof document>"u")return;const a=[`${e}=${encodeURIComponent(t)}`];l.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),l.isString(n)&&a.push(`path=${n}`),l.isString(o)&&a.push(`domain=${o}`),i===!0&&a.push("secure"),l.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function co(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function uo(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Zt(e,t,r){let n=!co(t);return e&&(n||r==!1)?uo(e,t):t}const mt=e=>e instanceof D?{...e}:e;function re(e,t){t=t||{};const r={};function n(c,d,m,k){return l.isPlainObject(c)&&l.isPlainObject(d)?l.merge.call({caseless:k},c,d):l.isPlainObject(d)?l.merge({},d):l.isArray(d)?d.slice():d}function o(c,d,m,k){if(l.isUndefined(d)){if(!l.isUndefined(c))return n(void 0,c,m,k)}else return n(c,d,m,k)}function i(c,d){if(!l.isUndefined(d))return n(void 0,d)}function s(c,d){if(l.isUndefined(d)){if(!l.isUndefined(c))return n(void 0,c)}else return n(void 0,d)}function a(c,d,m){if(m in t)return n(c,d);if(m in e)return n(void 0,c)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(c,d,m)=>o(mt(c),mt(d),m,!0)};return l.forEach(Object.keys({...e,...t}),function(d){const m=u[d]||o,k=m(e[d],t[d],d);l.isUndefined(k)&&m!==a||(r[d]=k)}),r}const er=e=>{const t=re({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=D.from(s),t.url=Jt(Zt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),l.isFormData(r)){if(z.hasStandardBrowserEnv||z.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(l.isFunction(r.getHeaders)){const u=r.getHeaders(),c=["content-type","content-length"];Object.entries(u).forEach(([d,m])=>{c.includes(d.toLowerCase())&&s.set(d,m)})}}if(z.hasStandardBrowserEnv&&(n&&l.isFunction(n)&&(n=n(t)),n||n!==!1&&ao(t.url))){const u=o&&i&&lo.read(i);u&&s.set(o,u)}return t},fo=typeof XMLHttpRequest<"u",po=fo&&function(e){return new Promise(function(r,n){const o=er(e);let i=o.data;const s=D.from(o.headers).normalize();let{responseType:a,onUploadProgress:u,onDownloadProgress:c}=o,d,m,k,R,f;function g(){R&&R(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let p=new XMLHttpRequest;p.open(o.method.toUpperCase(),o.url,!0),p.timeout=o.timeout;function E(){if(!p)return;const A=D.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),N={data:!a||a==="text"||a==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:A,config:e,request:p};Qt(function(F){r(F),g()},function(F){n(F),g()},N),p=null}"onloadend"in p?p.onloadend=E:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(E)},p.onabort=function(){p&&(n(new x("Request aborted",x.ECONNABORTED,e,p)),p=null)},p.onerror=function(O){const N=O&&O.message?O.message:"Network Error",j=new x(N,x.ERR_NETWORK,e,p);j.event=O||null,n(j),p=null},p.ontimeout=function(){let O=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const N=o.transitional||Kt;o.timeoutErrorMessage&&(O=o.timeoutErrorMessage),n(new x(O,N.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,e,p)),p=null},i===void 0&&s.setContentType(null),"setRequestHeader"in p&&l.forEach(s.toJSON(),function(O,N){p.setRequestHeader(N,O)}),l.isUndefined(o.withCredentials)||(p.withCredentials=!!o.withCredentials),a&&a!=="json"&&(p.responseType=o.responseType),c&&([k,f]=Pe(c,!0),p.addEventListener("progress",k)),u&&p.upload&&([m,R]=Pe(u),p.upload.addEventListener("progress",m),p.upload.addEventListener("loadend",R)),(o.cancelToken||o.signal)&&(d=A=>{p&&(n(!A||A.type?new le(null,e,p):A),p.abort(),p=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const U=oo(o.url);if(U&&z.protocols.indexOf(U)===-1){n(new x("Unsupported protocol "+U+":",x.ERR_BAD_REQUEST,e));return}p.send(i||null)})},mo=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(c){if(!o){o=!0,a();const d=c instanceof Error?c:this.reason;n.abort(d instanceof x?d:new le(d instanceof Error?d.message:d))}};let s=t&&setTimeout(()=>{s=null,i(new x(`timeout ${t} of ms exceeded`,x.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>l.asap(a),u}},ho=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},bo=async function*(e,t){for await(const r of go(e))yield*ho(r,t)},go=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},ht=(e,t,r,n)=>{const o=bo(e,t);let i=0,s,a=u=>{s||(s=!0,n&&n(u))};return new ReadableStream({async pull(u){try{const{done:c,value:d}=await o.next();if(c){a(),u.close();return}let m=d.byteLength;if(r){let k=i+=m;r(k)}u.enqueue(new Uint8Array(d))}catch(c){throw a(c),c}},cancel(u){return a(u),o.return()}},{highWaterMark:2})},bt=64*1024,{isFunction:Ae}=l,yo=(({Request:e,Response:t})=>({Request:e,Response:t}))(l.global),{ReadableStream:gt,TextEncoder:yt}=l.global,wt=(e,...t)=>{try{return!!e(...t)}catch{return!1}},wo=e=>{e=l.merge.call({skipUndefined:!0},yo,e);const{fetch:t,Request:r,Response:n}=e,o=t?Ae(t):typeof fetch=="function",i=Ae(r),s=Ae(n);if(!o)return!1;const a=o&&Ae(gt),u=o&&(typeof yt=="function"?(f=>g=>f.encode(g))(new yt):async f=>new Uint8Array(await new r(f).arrayBuffer())),c=i&&a&&wt(()=>{let f=!1;const g=new r(z.origin,{body:new gt,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!g}),d=s&&a&&wt(()=>l.isReadableStream(new n("").body)),m={stream:d&&(f=>f.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!m[f]&&(m[f]=(g,p)=>{let E=g&&g[f];if(E)return E.call(g);throw new x(`Response type '${f}' is not supported`,x.ERR_NOT_SUPPORT,p)})});const k=async f=>{if(f==null)return 0;if(l.isBlob(f))return f.size;if(l.isSpecCompliantForm(f))return(await new r(z.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(l.isArrayBufferView(f)||l.isArrayBuffer(f))return f.byteLength;if(l.isURLSearchParams(f)&&(f=f+""),l.isString(f))return(await u(f)).byteLength},R=async(f,g)=>{const p=l.toFiniteNumber(f.getContentLength());return p??k(g)};return async f=>{let{url:g,method:p,data:E,signal:U,cancelToken:A,timeout:O,onDownloadProgress:N,onUploadProgress:j,responseType:F,headers:w,withCredentials:B="same-origin",fetchOptions:ce}=er(f),ue=t||fetch;F=F?(F+"").toLowerCase():"text";let W=mo([U,A&&A.toAbortSignal()],O),X=null;const M=W&&W.unsubscribe&&(()=>{W.unsubscribe()});let J;try{if(j&&c&&p!=="get"&&p!=="head"&&(J=await R(w,E))!==0){let q=new r(g,{method:"POST",body:E,duplex:"half"}),V;if(l.isFormData(E)&&(V=q.headers.get("content-type"))&&w.setContentType(V),q.body){const[v,_]=ft(J,Pe(pt(j)));E=ht(q.body,bt,v,_)}}l.isString(B)||(B=B?"include":"omit");const C=i&&"credentials"in r.prototype,$={...ce,signal:W,method:p.toUpperCase(),headers:w.normalize().toJSON(),body:E,duplex:"half",credentials:C?B:void 0};X=i&&new r(g,$);let y=await(i?ue(X,ce):ue(g,$));const de=d&&(F==="stream"||F==="response");if(d&&(N||de&&M)){const q={};["status","statusText","headers"].forEach(Q=>{q[Q]=y[Q]});const V=l.toFiniteNumber(y.headers.get("content-length")),[v,_]=N&&ft(V,Pe(pt(N),!0))||[];y=new n(ht(y.body,bt,v,()=>{_&&_(),M&&M()}),q)}F=F||"text";let ye=await m[l.findKey(m,F)||"text"](y,f);return!de&&M&&M(),await new Promise((q,V)=>{Qt(q,V,{data:ye,headers:D.from(y.headers),status:y.status,statusText:y.statusText,config:f,request:X})})}catch(C){throw M&&M(),C&&C.name==="TypeError"&&/Load failed|fetch/i.test(C.message)?Object.assign(new x("Network Error",x.ERR_NETWORK,f,X),{cause:C.cause||C}):x.from(C,C&&C.code,f,X)}}},xo=new Map,tr=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s=i.length,a=s,u,c,d=xo;for(;a--;)u=i[a],c=d.get(u),c===void 0&&d.set(u,c=a?new Map:wo(t)),d=c;return c};tr();const Ye={http:zn,xhr:po,fetch:{get:tr}};l.forEach(Ye,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xt=e=>`- ${e}`,ko=e=>l.isFunction(e)||e===null||e===!1;function So(e,t){e=l.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){n=e[s];let a;if(o=n,!ko(n)&&(o=Ye[(a=String(n)).toLowerCase()],o===void 0))throw new x(`Unknown adapter '${a}'`);if(o&&(l.isFunction(o)||(o=o.get(t))))break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=r?s.length>1?`since :
4
+ `+s.map(xt).join(`
5
+ `):" "+xt(s[0]):"as no adapter specified";throw new x("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const rr={getAdapter:So,adapters:Ye};function Me(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new le(null,e)}function kt(e){return Me(e),e.headers=D.from(e.headers),e.data=De.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),rr.getAdapter(e.adapter||ge.adapter,e)(e).then(function(n){return Me(e),n.data=De.call(e,e.transformResponse,n),n.headers=D.from(n.headers),n},function(n){return Yt(n)||(Me(e),n&&n.response&&(n.response.data=De.call(e,e.transformResponse,n.response),n.response.headers=D.from(n.response.headers))),Promise.reject(n)})}const nr="1.13.2",Ue={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ue[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const St={};Ue.transitional=function(t,r,n){function o(i,s){return"[Axios v"+nr+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(t===!1)throw new x(o(s," has been removed"+(r?" in "+r:"")),x.ERR_DEPRECATED);return r&&!St[s]&&(St[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,a):!0}};Ue.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Eo(e,t,r){if(typeof e!="object")throw new x("options must be an object",x.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const a=e[i],u=a===void 0||s(a,i,e);if(u!==!0)throw new x("option "+i+" must be "+u,x.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new x("Unknown option "+i,x.ERR_BAD_OPTION)}}const Ce={assertOptions:Eo,validators:Ue},G=Ce.validators;let te=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ut,response:new ut}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
6
+ `+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=re(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&Ce.assertOptions(n,{silentJSONParsing:G.transitional(G.boolean),forcedJSONParsing:G.transitional(G.boolean),clarifyTimeoutError:G.transitional(G.boolean)},!1),o!=null&&(l.isFunction(o)?r.paramsSerializer={serialize:o}:Ce.assertOptions(o,{encode:G.function,serialize:G.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ce.assertOptions(r,{baseUrl:G.spelling("baseURL"),withXsrfToken:G.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&l.merge(i.common,i[r.method]);i&&l.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),r.headers=D.concat(s,i);const a=[];let u=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(r)===!1||(u=u&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let d,m=0,k;if(!u){const f=[kt.bind(this),void 0];for(f.unshift(...a),f.push(...c),k=f.length,d=Promise.resolve(r);m<k;)d=d.then(f[m++],f[m++]);return d}k=a.length;let R=r;for(;m<k;){const f=a[m++],g=a[m++];try{R=f(R)}catch(p){g.call(this,p);break}}try{d=kt.call(this,R)}catch(f){return Promise.reject(f)}for(m=0,k=c.length;m<k;)d=d.then(c[m++],c[m++]);return d}getUri(t){t=re(this.defaults,t);const r=Zt(t.baseURL,t.url,t.allowAbsoluteUrls);return Jt(r,t.params,t.paramsSerializer)}};l.forEach(["delete","get","head","options"],function(t){te.prototype[t]=function(r,n){return this.request(re(n||{},{method:t,url:r,data:(n||{}).data}))}});l.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,a){return this.request(re(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}te.prototype[t]=r(),te.prototype[t+"Form"]=r(!0)});let Ro=class or{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{n.subscribe(a),i=a}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,a){n.reason||(n.reason=new le(i,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new or(function(o){t=o}),cancel:t}}};function Ao(e){return function(r){return e.apply(null,r)}}function Oo(e){return l.isObject(e)&&e.isAxiosError===!0}const Ge={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ge).forEach(([e,t])=>{Ge[t]=e});function sr(e){const t=new te(e),r=zt(te.prototype.request,t);return l.extend(r,te.prototype,t,{allOwnKeys:!0}),l.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return sr(re(e,o))},r}const T=sr(ge);T.Axios=te;T.CanceledError=le;T.CancelToken=Ro;T.isCancel=Yt;T.VERSION=nr;T.toFormData=Le;T.AxiosError=x;T.Cancel=T.CanceledError;T.all=function(t){return Promise.all(t)};T.spread=Ao;T.isAxiosError=Oo;T.mergeConfig=re;T.AxiosHeaders=D;T.formToJSON=e=>Xt(l.isHTMLForm(e)?new FormData(e):e);T.getAdapter=rr.getAdapter;T.HttpStatusCode=Ge;T.default=T;const{Axios:To,AxiosError:Co,CanceledError:vo,isCancel:Po,CancelToken:No,VERSION:Fo,all:_o,Cancel:Lo,isAxiosError:Uo,spread:zo,toFormData:jo,AxiosHeaders:Bo,HttpStatusCode:Io,formToJSON:Do,getAdapter:Mo,mergeConfig:qo}=T,Ko=Object.freeze(Object.defineProperty({__proto__:null,Axios:To,AxiosError:Co,AxiosHeaders:Bo,Cancel:Lo,CancelToken:No,CanceledError:vo,HttpStatusCode:Io,VERSION:Fo,all:_o,default:T,formToJSON:Do,getAdapter:Mo,isAxiosError:Uo,isCancel:Po,mergeConfig:qo,spread:zo,toFormData:jo},Symbol.toStringTag,{value:"Module"}));export{Go as a,T as b,$o as c,Ko as i,Vo as t};
Binary file
Binary file
@@ -0,0 +1,14 @@
1
+ <svg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'>
2
+ <defs>
3
+ <linearGradient id='iconGradient' x1='0%' y1='0%' x2='100%' y2='100%'>
4
+ <stop offset='0%' style='stop-color:#ff6b6b;stop-opacity:1' />
5
+ <stop offset='20%' style='stop-color:#feca57;stop-opacity:1' />
6
+ <stop offset='40%' style='stop-color:#48dbfb;stop-opacity:1' />
7
+ <stop offset='60%' style='stop-color:#ff9ff3;stop-opacity:1' />
8
+ <stop offset='80%' style='stop-color:#54a0ff;stop-opacity:1' />
9
+ <stop offset='100%' style='stop-color:#5f27cd;stop-opacity:1' />
10
+ </linearGradient>
11
+ </defs>
12
+ <rect x='0' y='0' width='64' height='64' rx='12' ry='12' fill='url(#iconGradient)'/>
13
+ <path d='M 16 12 L 16 52 L 48 52 L 48 44 L 24 44 L 24 12 Z' fill='white' opacity='0.95'/>
14
+ </svg>
package/package.json ADDED
@@ -0,0 +1,128 @@
1
+ {
2
+ "name": "libre-webui",
3
+ "version": "0.2.4",
4
+ "description": "Privacy-first AI chat interface. Self-hosted, open source, extensible.",
5
+ "main": "electron/main.js",
6
+ "bin": {
7
+ "libre-webui": "./bin/cli.js"
8
+ },
9
+ "files": [
10
+ "bin",
11
+ "backend/dist",
12
+ "frontend/dist",
13
+ "plugins/*.json",
14
+ "README.md",
15
+ "LICENSE"
16
+ ],
17
+ "workspaces": [
18
+ "frontend",
19
+ "backend"
20
+ ],
21
+ "scripts": {
22
+ "dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
23
+ "dev:host": "concurrently \"npm run dev:backend\" \"cd frontend && npm run dev -- --host --port 8080\"",
24
+ "dev:frontend": "cd frontend && npm run dev",
25
+ "dev:backend": "cd backend && npm run dev",
26
+ "build": "npm run build:frontend && npm run build:backend",
27
+ "build:frontend": "cd frontend && npm run build",
28
+ "build:backend": "cd backend && npm run build",
29
+ "start": "cd backend && npm start",
30
+ "install:all": "npm install && cd frontend && npm install && cd ../backend && npm install",
31
+ "format": "node scripts/add-headers.js && prettier --write \"frontend/src/**/*.{ts,tsx,js,jsx,json,css,md}\" \"backend/src/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" \".github/**/*.{yml,yaml}\"",
32
+ "format:check": "prettier --check \"frontend/src/**/*.{ts,tsx,js,jsx,json,css,md}\" \"backend/src/**/*.{ts,js,json,md}\" \"*.{json,md,yml,yaml}\" \".github/**/*.{yml,yaml}\"",
33
+ "add-headers": "node scripts/add-headers.js",
34
+ "lint": "npm run lint:frontend && npm run lint:backend",
35
+ "lint:frontend": "cd frontend && npm run lint",
36
+ "lint:backend": "cd backend && npm run lint",
37
+ "lint:fix": "npm run lint:fix:frontend && npm run lint:fix:backend",
38
+ "lint:fix:frontend": "cd frontend && npm run lint:fix",
39
+ "lint:fix:backend": "cd backend && npm run lint:fix",
40
+ "setup-hooks": "git config core.hooksPath .githooks",
41
+ "postinstall": "node -e \"try { require('child_process').execSync('git rev-parse --git-dir', {stdio:'ignore'}); require('child_process').execSync('npm run setup-hooks', {stdio:'inherit'}); } catch(e) {}\"",
42
+ "release": "node scripts/release.js",
43
+ "release:patch": "node scripts/release.js patch",
44
+ "release:minor": "node scripts/release.js minor",
45
+ "release:major": "node scripts/release.js major",
46
+ "changelog": "node scripts/generate-changelog.js",
47
+ "changelog:ai": "node scripts/ai-changelog-generator.js",
48
+ "changelog:ai:summary": "node scripts/ai-changelog-generator.js summary",
49
+ "changelog:ai:impact": "node scripts/ai-changelog-generator.js impact",
50
+ "analyze": "node scripts/analyze-development.js",
51
+ "analyze:quick": "node scripts/analyze-development.js --quick",
52
+ "analyze:metrics": "node scripts/analyze-development.js --metrics",
53
+ "version": "npm run changelog && git add CHANGELOG.md",
54
+ "electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:5173 && electron .\"",
55
+ "electron:build": "ELECTRON_BUILD=true npm run build:frontend && npm run build:backend && electron-builder build --mac --arm64 --publish never",
56
+ "electron:build:universal": "npm run build && electron-builder build --mac --arm64 --x64",
57
+ "electron:pack": "electron-builder --dir",
58
+ "generate-icons": "node scripts/generate-icons.js",
59
+ "prepublishOnly": "npm run build",
60
+ "npm:publish": "npm publish --access public"
61
+ },
62
+ "repository": {
63
+ "type": "git",
64
+ "url": "git+https://github.com/libre-webui/libre-webui.git"
65
+ },
66
+ "bugs": {
67
+ "url": "https://github.com/libre-webui/libre-webui/issues"
68
+ },
69
+ "homepage": "https://librewebui.org",
70
+ "engines": {
71
+ "node": ">=18.0.0"
72
+ },
73
+ "overrides": {
74
+ "prismjs": "^1.30.0",
75
+ "brace-expansion": "2.0.2",
76
+ "react": "^18.2.0",
77
+ "react-dom": "^18.2.0",
78
+ "refractor": {
79
+ "prismjs": "^1.30.0"
80
+ },
81
+ "react-syntax-highlighter": {
82
+ "prismjs": "^1.30.0",
83
+ "refractor": {
84
+ "prismjs": "^1.30.0"
85
+ }
86
+ }
87
+ },
88
+ "devDependencies": {
89
+ "@typescript-eslint/eslint-plugin": "^8.51.0",
90
+ "@typescript-eslint/parser": "^8.34.0",
91
+ "concurrently": "^9.2.1",
92
+ "electron": "^39.2.7",
93
+ "electron-builder": "^26.0.12",
94
+ "eslint": "^9.39.2",
95
+ "prettier": "^3.7.4",
96
+ "sharp": "^0.34.5",
97
+ "wait-on": "^9.0.3"
98
+ },
99
+ "keywords": [
100
+ "llm",
101
+ "ollama",
102
+ "chat",
103
+ "webui",
104
+ "ai",
105
+ "open-source"
106
+ ],
107
+ "author": "Libre WebUI Contributors",
108
+ "license": "Apache-2.0",
109
+ "dependencies": {
110
+ "sonner": "^2.0.7",
111
+ "@journeyapps/sqlcipher": "^5.3.1",
112
+ "axios": "^1.13.2",
113
+ "bcrypt": "^6.0.0",
114
+ "better-sqlite3": "^12.5.0",
115
+ "cors": "^2.8.5",
116
+ "dotenv": "^17.2.3",
117
+ "express": "^5.2.1",
118
+ "express-rate-limit": "^8.2.1",
119
+ "helmet": "^8.1.0",
120
+ "jsonwebtoken": "^9.0.3",
121
+ "morgan": "^1.10.0",
122
+ "multer": "^2.0.1",
123
+ "pdfjs-dist": "^5.4.530",
124
+ "sanitize-filename": "^1.6.3",
125
+ "uuid": "^13.0.0",
126
+ "ws": "^8.14.2"
127
+ }
128
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "id": "anthropic",
3
+ "name": "Anthropic Claude",
4
+ "type": "completion",
5
+ "endpoint": "https://api.anthropic.com/v1/messages",
6
+ "auth": {
7
+ "header": "x-api-key",
8
+ "prefix": "",
9
+ "key_env": "ANTHROPIC_API_KEY"
10
+ },
11
+ "model_map": [
12
+ "claude-3-5-haiku-20241022",
13
+ "claude-3-7-sonnet-20250219",
14
+ "claude-3-haiku-20240307",
15
+ "claude-3-opus-20240229",
16
+ "claude-4-opus-20250514",
17
+ "claude-4-sonnet-20250514",
18
+ "claude-haiku-4-5-20251001",
19
+ "claude-opus-4-1-20250805",
20
+ "claude-opus-4-20250514",
21
+ "claude-opus-4-5-20251101",
22
+ "claude-sonnet-4-20250514",
23
+ "claude-sonnet-4-5-20250929"
24
+ ]
25
+ }