adminizer 4.6.0-build.220 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{u as t,j as o}from"./app.js";import{A as m}from"./app-layout-eaqKl80J.js";import{A as p}from"./RelationDialogStack-D9UVEF9s.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-QWCtn9ye.js";import"./app-sidebar-D7JH6Mij.js";import"./nav-main-BctqyzeV.js";import"./material-icon-DMT8KdmE.js";import"./app-sidebar-header-BsPFDhZ8.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-Bn1Lt-BZ.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-0XYOCMaA.js";import"./theme-switcher-DfExsHW2.js";import"./icon-DfDLMG5f.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-DuuqFgZa.js";const i=[];function P(){const r=t();return o.jsx(m,{breadcrumbs:i,children:o.jsx(p,{page:r,catalog:!1})})}export{P as default};
1
+ import{u as t,j as o}from"./app.js";import{A as m}from"./app-layout-CAm60qoE.js";import{A as p}from"./RelationDialogStack-D9UVEF9s.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-QWCtn9ye.js";import"./app-sidebar-CfaYbnSy.js";import"./nav-main-BctqyzeV.js";import"./material-icon-DMT8KdmE.js";import"./app-sidebar-header-BsPFDhZ8.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-Bn1Lt-BZ.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-0XYOCMaA.js";import"./theme-switcher-DfExsHW2.js";import"./icon-DfDLMG5f.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-DuuqFgZa.js";const i=[];function P(){const r=t();return o.jsx(m,{breadcrumbs:i,children:o.jsx(p,{page:r,catalog:!1})})}export{P as default};
@@ -1 +1 @@
1
- import{j as r}from"./app.js";import{A as o}from"./app-layout-eaqKl80J.js";import t from"./add-group-form-B01gwDGu.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-QWCtn9ye.js";import"./app-sidebar-D7JH6Mij.js";import"./nav-main-BctqyzeV.js";import"./material-icon-DMT8KdmE.js";import"./app-sidebar-header-BsPFDhZ8.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-Bn1Lt-BZ.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-0XYOCMaA.js";import"./theme-switcher-DfExsHW2.js";import"./icon-DfDLMG5f.js";import"./RelationDialogStack-D9UVEF9s.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-DuuqFgZa.js";const m=[];function L(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{L as default};
1
+ import{j as r}from"./app.js";import{A as o}from"./app-layout-CAm60qoE.js";import t from"./add-group-form-B01gwDGu.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-QWCtn9ye.js";import"./app-sidebar-CfaYbnSy.js";import"./nav-main-BctqyzeV.js";import"./material-icon-DMT8KdmE.js";import"./app-sidebar-header-BsPFDhZ8.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-Bn1Lt-BZ.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-0XYOCMaA.js";import"./theme-switcher-DfExsHW2.js";import"./icon-DfDLMG5f.js";import"./RelationDialogStack-D9UVEF9s.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-DuuqFgZa.js";const m=[];function L(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{L as default};
@@ -1 +1 @@
1
- import{j as r}from"./app.js";import{A as o}from"./app-layout-eaqKl80J.js";import t from"./add-user-form-Cgwc9JkI.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-QWCtn9ye.js";import"./app-sidebar-D7JH6Mij.js";import"./nav-main-BctqyzeV.js";import"./material-icon-DMT8KdmE.js";import"./app-sidebar-header-BsPFDhZ8.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-Bn1Lt-BZ.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-0XYOCMaA.js";import"./theme-switcher-DfExsHW2.js";import"./icon-DfDLMG5f.js";import"./RelationDialogStack-D9UVEF9s.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-DuuqFgZa.js";const m=[];function L(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{L as default};
1
+ import{j as r}from"./app.js";import{A as o}from"./app-layout-CAm60qoE.js";import t from"./add-user-form-Cgwc9JkI.js";import"./jsoneditor-De1FvcYu.js";import"./handsontable-PxYdjN8c.js";import"./monaco-BhBYtg3d.js";import"./app-shell-QWCtn9ye.js";import"./app-sidebar-CfaYbnSy.js";import"./nav-main-BctqyzeV.js";import"./material-icon-DMT8KdmE.js";import"./app-sidebar-header-BsPFDhZ8.js";import"./breadcrumbs-CZZirDj8.js";import"./nav-user-Bn1Lt-BZ.js";import"./user-info-DtBK5Kh8.js";import"./user-menu-content-0XYOCMaA.js";import"./theme-switcher-DfExsHW2.js";import"./icon-DfDLMG5f.js";import"./RelationDialogStack-D9UVEF9s.js";import"./dynamic-controls-k61T9W2P.js";import"./input-error-DuuqFgZa.js";const m=[];function L(){return r.jsx(o,{breadcrumbs:m,children:r.jsx(t,{})})}export{L as default};
@@ -1 +1 @@
1
- import{u as E,j as e,ah as I,ar as P,as as L,B as y,at as R,S as z,c as C,d as D,e as M,f as T,au as w,av as k,L as O}from"./app.js";import B from"./app-shell-QWCtn9ye.js";import{AppSidebar as K}from"./app-sidebar-D7JH6Mij.js";import{A as V,a as N,N as _,b as F}from"./app-sidebar-header-BsPFDhZ8.js";import{r as l}from"./handsontable-PxYdjN8c.js";import{R as H}from"./RelationDialogStack-D9UVEF9s.js";const $=l.memo(({children:o,breadcrumbs:a=[],className:i})=>{const n=E();return e.jsxs(B,{variant:"sidebar",children:[e.jsx(I,{title:n.props.title}),e.jsx(K,{}),e.jsxs(P,{className:i,children:[e.jsx(V,{breadcrumbs:a}),e.jsx("div",{className:"relative flex-1 overflow-hidden",children:e.jsx("div",{className:"h-full",children:o})})]})]})});function q({width:o="min(25vw, 420px)"}){const{isEnabled:a,isOpen:i,closeChat:n,models:s,activeModel:r,setActiveModel:d,messages:c,loading:m,sending:x,error:g,sendMessage:v}=N(),[f,h]=l.useState(""),j=l.useRef(null);l.useEffect(()=>{i||h("")},[i]),l.useEffect(()=>{j.current&&j.current.scrollIntoView({behavior:"smooth"})},[c]);const u=s.length>0,A=async t=>{t.preventDefault();const p=f.trim();p&&(await v(p),h(""))},S=t=>{if((t.ctrlKey||t.metaKey)&&t.key==="Enter"){t.preventDefault();const p=f.trim();p&&!x&&(v(p),h(""))}};return a?e.jsxs("aside",{id:"ai-assistant-panel","aria-label":"AI assistant chat","aria-hidden":!i,className:w("bg-card text-card-foreground fixed bottom-0 right-0 top-0 z-[60] flex h-full flex-col border-l shadow-xl transition-all duration-300 ease-in-out","md:w-auto w-full",i?"translate-x-0 opacity-100":"translate-x-full opacity-0 pointer-events-none"),style:{width:"var(--ai-assistant-panel-actual-width, "+o+")"},children:[e.jsxs("div",{className:"flex items-center justify-between border-b px-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"size-5 text-primary"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"font-semibold leading-tight",children:"AI assistant"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Chat with your selected model."})]})]}),e.jsx(y,{variant:"ghost",size:"icon",onClick:n,"aria-label":"Close AI assistant",children:e.jsx(R,{className:"size-4"})})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 overflow-hidden px-4 py-4",children:[!u&&!m&&e.jsx("div",{className:"flex flex-1 items-center justify-center rounded-md border border-dashed p-6 text-sm text-muted-foreground",children:"No AI models are available for your account."}),u&&e.jsxs(e.Fragment,{children:[e.jsxs(z,{value:r,onValueChange:d,children:[e.jsx(C,{className:"w-full",children:e.jsx(D,{placeholder:"Select a model"})}),e.jsx(M,{className:"z-[70]",children:s.map(t=>e.jsx(T,{value:t.id,children:e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx("span",{className:"font-medium",children:t.name}),t.description&&e.jsx("span",{className:"text-xs text-muted-foreground",children:t.description})]})},t.id))})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-3 overflow-hidden rounded-md border bg-background p-4",children:[e.jsxs("div",{className:"flex-1 space-y-3 overflow-y-auto pr-2","data-ai-assistant-messages":!0,children:[m&&e.jsx("div",{className:"flex justify-center py-6 text-sm text-muted-foreground",children:"Loading conversation..."}),!m&&c.length===0&&e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"Start a conversation to see responses here."}),c.map(t=>e.jsxs("div",{className:w("flex flex-col gap-1 rounded-md border p-3 text-sm shadow-xs",t.role==="assistant"?"border-primary/30 bg-primary/5":"border-border bg-background"),children:[e.jsx("span",{className:"font-semibold",children:t.role==="assistant"?"Assistant":"You"}),e.jsx("p",{className:"whitespace-pre-wrap leading-relaxed",children:t.content}),e.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(t.timestamp).toLocaleTimeString()})]},t.id)),e.jsx("div",{ref:j})]}),e.jsxs("form",{className:"space-y-2",onSubmit:A,children:[e.jsx(k,{placeholder:u?"Type your question... (Ctrl+Enter to send)":"No models available",value:f,onChange:t=>h(t.target.value),onKeyDown:S,disabled:!u||x,rows:3}),e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g&&e.jsx("span",{className:"text-xs text-destructive",children:g}),e.jsx(y,{type:"submit",disabled:!u||x||!f.trim(),children:x?e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(O,{className:"size-4 animate-spin"}),"Sending…"]}):"Send"})]})]})]})]})]})]}):null}const G="min(25vw, 420px)",b="margin-right 300ms ease-in-out";function U({children:o,panelWidth:a=G}){const{isEnabled:i,isOpen:n}=N();return l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=s.style.transition,d=r==null?void 0:r.includes("margin-right");return d||(s.style.transition=r?`${r}, ${b}`:b),s.classList.add("ai-assistant-host"),s.style.setProperty("--ai-assistant-panel-width",a),()=>{s.classList.remove("ai-assistant-host"),s.style.removeProperty("--ai-assistant-panel-width"),s.style.removeProperty("--ai-assistant-panel-actual-width"),s.style.removeProperty("margin-right"),delete s.dataset.aiAssistantOpen,d||(s.style.transition=r)}},[a]),l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=window.innerWidth<768,d=r?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",d),i&&n?(s.style.marginRight=r?"0":a,s.dataset.aiAssistantOpen="true"):(s.style.removeProperty("margin-right"),s.dataset.aiAssistantOpen="false");const c=()=>{const m=window.innerWidth<768,x=m?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",x),i&&n&&(s.style.marginRight=m?"0":a)};return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[i,n,a]),e.jsxs(e.Fragment,{children:[o,e.jsx(q,{width:a})]})}const ee=l.memo(({children:o,className:a,breadcrumbs:i,...n})=>e.jsx(_,{children:e.jsx(F,{children:e.jsxs(H,{children:[e.jsx($,{breadcrumbs:i,className:a,...n,children:o}),e.jsx(U,{})]})})}));export{ee as A};
1
+ import{u as E,j as e,ah as I,ar as P,as as L,B as y,at as R,S as z,c as C,d as D,e as M,f as T,au as w,av as k,L as O}from"./app.js";import B from"./app-shell-QWCtn9ye.js";import{AppSidebar as K}from"./app-sidebar-CfaYbnSy.js";import{A as V,a as N,N as _,b as F}from"./app-sidebar-header-BsPFDhZ8.js";import{r as l}from"./handsontable-PxYdjN8c.js";import{R as H}from"./RelationDialogStack-D9UVEF9s.js";const $=l.memo(({children:o,breadcrumbs:a=[],className:i})=>{const n=E();return e.jsxs(B,{variant:"sidebar",children:[e.jsx(I,{title:n.props.title}),e.jsx(K,{}),e.jsxs(P,{className:i,children:[e.jsx(V,{breadcrumbs:a}),e.jsx("div",{className:"relative flex-1 overflow-hidden",children:e.jsx("div",{className:"h-full",children:o})})]})]})});function q({width:o="min(25vw, 420px)"}){const{isEnabled:a,isOpen:i,closeChat:n,models:s,activeModel:r,setActiveModel:d,messages:c,loading:m,sending:x,error:g,sendMessage:v}=N(),[f,h]=l.useState(""),j=l.useRef(null);l.useEffect(()=>{i||h("")},[i]),l.useEffect(()=>{j.current&&j.current.scrollIntoView({behavior:"smooth"})},[c]);const u=s.length>0,A=async t=>{t.preventDefault();const p=f.trim();p&&(await v(p),h(""))},S=t=>{if((t.ctrlKey||t.metaKey)&&t.key==="Enter"){t.preventDefault();const p=f.trim();p&&!x&&(v(p),h(""))}};return a?e.jsxs("aside",{id:"ai-assistant-panel","aria-label":"AI assistant chat","aria-hidden":!i,className:w("bg-card text-card-foreground fixed bottom-0 right-0 top-0 z-[60] flex h-full flex-col border-l shadow-xl transition-all duration-300 ease-in-out","md:w-auto w-full",i?"translate-x-0 opacity-100":"translate-x-full opacity-0 pointer-events-none"),style:{width:"var(--ai-assistant-panel-actual-width, "+o+")"},children:[e.jsxs("div",{className:"flex items-center justify-between border-b px-4 py-3",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(L,{className:"size-5 text-primary"}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("span",{className:"font-semibold leading-tight",children:"AI assistant"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:"Chat with your selected model."})]})]}),e.jsx(y,{variant:"ghost",size:"icon",onClick:n,"aria-label":"Close AI assistant",children:e.jsx(R,{className:"size-4"})})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-4 overflow-hidden px-4 py-4",children:[!u&&!m&&e.jsx("div",{className:"flex flex-1 items-center justify-center rounded-md border border-dashed p-6 text-sm text-muted-foreground",children:"No AI models are available for your account."}),u&&e.jsxs(e.Fragment,{children:[e.jsxs(z,{value:r,onValueChange:d,children:[e.jsx(C,{className:"w-full",children:e.jsx(D,{placeholder:"Select a model"})}),e.jsx(M,{className:"z-[70]",children:s.map(t=>e.jsx(T,{value:t.id,children:e.jsxs("div",{className:"flex flex-col text-left",children:[e.jsx("span",{className:"font-medium",children:t.name}),t.description&&e.jsx("span",{className:"text-xs text-muted-foreground",children:t.description})]})},t.id))})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-3 overflow-hidden rounded-md border bg-background p-4",children:[e.jsxs("div",{className:"flex-1 space-y-3 overflow-y-auto pr-2","data-ai-assistant-messages":!0,children:[m&&e.jsx("div",{className:"flex justify-center py-6 text-sm text-muted-foreground",children:"Loading conversation..."}),!m&&c.length===0&&e.jsx("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"Start a conversation to see responses here."}),c.map(t=>e.jsxs("div",{className:w("flex flex-col gap-1 rounded-md border p-3 text-sm shadow-xs",t.role==="assistant"?"border-primary/30 bg-primary/5":"border-border bg-background"),children:[e.jsx("span",{className:"font-semibold",children:t.role==="assistant"?"Assistant":"You"}),e.jsx("p",{className:"whitespace-pre-wrap leading-relaxed",children:t.content}),e.jsx("span",{className:"text-xs text-muted-foreground",children:new Date(t.timestamp).toLocaleTimeString()})]},t.id)),e.jsx("div",{ref:j})]}),e.jsxs("form",{className:"space-y-2",onSubmit:A,children:[e.jsx(k,{placeholder:u?"Type your question... (Ctrl+Enter to send)":"No models available",value:f,onChange:t=>h(t.target.value),onKeyDown:S,disabled:!u||x,rows:3}),e.jsxs("div",{className:"flex items-center justify-between gap-3",children:[g&&e.jsx("span",{className:"text-xs text-destructive",children:g}),e.jsx(y,{type:"submit",disabled:!u||x||!f.trim(),children:x?e.jsxs("span",{className:"flex items-center gap-2",children:[e.jsx(O,{className:"size-4 animate-spin"}),"Sending…"]}):"Send"})]})]})]})]})]})]}):null}const G="min(25vw, 420px)",b="margin-right 300ms ease-in-out";function U({children:o,panelWidth:a=G}){const{isEnabled:i,isOpen:n}=N();return l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=s.style.transition,d=r==null?void 0:r.includes("margin-right");return d||(s.style.transition=r?`${r}, ${b}`:b),s.classList.add("ai-assistant-host"),s.style.setProperty("--ai-assistant-panel-width",a),()=>{s.classList.remove("ai-assistant-host"),s.style.removeProperty("--ai-assistant-panel-width"),s.style.removeProperty("--ai-assistant-panel-actual-width"),s.style.removeProperty("margin-right"),delete s.dataset.aiAssistantOpen,d||(s.style.transition=r)}},[a]),l.useEffect(()=>{const s=document.getElementById("app");if(!s)return;const r=window.innerWidth<768,d=r?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",d),i&&n?(s.style.marginRight=r?"0":a,s.dataset.aiAssistantOpen="true"):(s.style.removeProperty("margin-right"),s.dataset.aiAssistantOpen="false");const c=()=>{const m=window.innerWidth<768,x=m?"100vw":a;s.style.setProperty("--ai-assistant-panel-actual-width",x),i&&n&&(s.style.marginRight=m?"0":a)};return window.addEventListener("resize",c),()=>window.removeEventListener("resize",c)},[i,n,a]),e.jsxs(e.Fragment,{children:[o,e.jsx(q,{width:a})]})}const ee=l.memo(({children:o,className:a,breadcrumbs:i,...n})=>e.jsx(_,{children:e.jsx(F,{children:e.jsxs(H,{children:[e.jsx($,{breadcrumbs:i,className:a,...n,children:o}),e.jsx(U,{})]})})}));export{ee as A};
@@ -1 +1 @@
1
- import{u as R,j as e,D as V,U as G,aX as Y,i as J,k as Q,l as W,aY as I,aZ as ee,V as se,b as M,I as ae,av as re,B as D,a_ as te,at as le,a$ as ne,L as ie,h as ce,b0 as de,b1 as oe,b2 as F,b3 as S,b4 as xe,b5 as pe,b6 as he,b7 as w,b8 as me,b9 as ue,ba as je,bb as be,bc as fe,bd as z,ai as v,be as ge,bf as E,bg as L,C as P,bh as B,bi as O,bj as $,bk as A,bl as Ne,bm as ve}from"./app.js";import{NavMain as ke}from"./nav-main-BctqyzeV.js";import{r as i,a as ye}from"./handsontable-PxYdjN8c.js";import d from"./material-icon-DMT8KdmE.js";import"./jsoneditor-De1FvcYu.js";import"./monaco-BhBYtg3d.js";const Ce=5*1024*1024,X=i.memo(({routePrefix:t,triggerLabel:s,placeholder:a,ui:x,onClose:p})=>{const l=r=>x[r]??r,[m,k]=i.useState(""),[g,y]=i.useState(""),[j,b]=i.useState([]),[o,N]=i.useState({}),[h,_]=i.useState(!1),[C,Z]=i.useState(!1),T=i.useRef(null),q=r=>{if(!r)return;const n={},u=[];Array.from(r).forEach(c=>{c.size>Ce?n[c.name]=l("File size exceeds the 5 MB limit"):u.push(c)}),b(c=>[...c,...u]),Object.keys(n).length&&N(c=>({...c,...n}))},H=r=>b(n=>n.filter((u,c)=>c!==r)),K=async r=>{var u,c;if(r.preventDefault(),!m.trim()){N({title:l("Title is required")});return}_(!0),N({});const n=new FormData;n.append("title",m.trim()),n.append("description",g.trim()),j.forEach(f=>n.append("files",f));try{await ce.post(`${t}/api/feedback`,n),Z(!0)}catch(f){const U=((c=(u=f==null?void 0:f.response)==null?void 0:u.data)==null?void 0:c.error)??l("Internal server error");N({_global:U}),_(!1)}};return i.useEffect(()=>{if(!C)return;const r=setTimeout(p,2e3);return()=>clearTimeout(r)},[C,p]),C?e.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 py-24 text-center",children:[e.jsx(I,{size:48,className:"text-green-500 dark:text-green-400"}),e.jsx("p",{className:"text-base font-medium",children:l("Feedback sent successfully")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(ee,{className:"mb-4",children:[e.jsx(se,{children:s??l("Feedback")}),a&&e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:a})]}),e.jsxs("form",{onSubmit:K,className:"space-y-5",noValidate:!0,children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(M,{htmlFor:"fb-title",children:l("Title")}),e.jsx(ae,{id:"fb-title",value:m,onChange:r=>k(r.target.value),disabled:h,placeholder:l("Title"),className:o.title?"border-destructive":""}),o.title&&e.jsx("p",{className:"text-xs text-destructive",children:o.title})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(M,{htmlFor:"fb-desc",children:l("Description")}),e.jsx(re,{id:"fb-desc",value:g,onChange:r=>y(r.target.value),disabled:h,placeholder:l("Description"),rows:5,className:"resize-none"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(M,{children:l("Attach files")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(D,{type:"button",variant:"outline",size:"sm",onClick:()=>{var r;return(r=T.current)==null?void 0:r.click()},disabled:h,children:[e.jsx(te,{size:14,className:"mr-1"}),l("Attach files")]}),e.jsx("span",{className:"text-xs text-muted-foreground",children:l("Max 5 MB per file")})]}),e.jsx("input",{ref:T,type:"file",multiple:!0,className:"hidden",onChange:r=>q(r.target.files),disabled:h}),j.length>0&&e.jsx("ul",{className:"mt-2 space-y-1",children:j.map((r,n)=>e.jsxs("li",{className:"flex items-center justify-between rounded-md border bg-muted/40 px-3 py-1.5 text-xs",children:[e.jsx("span",{className:"truncate max-w-[340px]",children:r.name}),e.jsx("button",{type:"button",onClick:()=>H(n),className:"ml-2 text-muted-foreground hover:text-destructive transition-colors","aria-label":l("Remove file"),disabled:h,children:e.jsx(le,{size:13})})]},n))}),Object.entries(o).filter(([r])=>r!=="title"&&r!=="_global").map(([r,n])=>e.jsx("p",{className:"text-xs text-destructive",children:n},r))]}),o._global&&e.jsx("p",{className:"text-xs text-destructive",children:o._global}),e.jsx(ne,{children:e.jsx(D,{type:"submit",disabled:h,children:h?e.jsxs(e.Fragment,{children:[e.jsx(ie,{size:14,className:"mr-1.5 animate-spin"}),l("Sending...")]}):l("Send")})})]})]})});X.displayName="FeedbackForm";function Me(){const t=R(),s=t.props.uiMessages??{},a=t.props.routePrefix??window.routePrefix??"",x=t.props.feedbackTriggerLabel??null,p=t.props.feedbackPlaceholder??null,[l,m]=i.useState(!1),[k,g]=i.useState(0),y=i.useCallback(()=>m(!1),[]),j=i.useCallback(b=>{m(b),b||g(o=>o+1)},[]);return e.jsxs(V,{open:l,onOpenChange:j,children:[e.jsx(G,{asChild:!0,children:e.jsxs("button",{className:"flex items-center gap-1.5 text-xs opacity-60 hover:opacity-100 transition-opacity cursor-pointer mt-1 mx-auto","aria-label":x??s["Send feedback"]??"Send feedback",children:[e.jsx(Y,{size:13}),x??s["Send feedback"]??"Send feedback"]})}),ye.createPortal(e.jsx(J,{}),document.body),e.jsx(Q,{children:e.jsx(W,{children:e.jsx(X,{routePrefix:a,triggerLabel:x,placeholder:p,ui:s,onClose:y},k)})})]})}function ze(){const t=R();return e.jsxs(de,{collapsible:"icon",variant:"inset",children:[e.jsx(oe,{children:e.jsx(F,{children:e.jsxs(S,{children:[e.jsx(xe,{className:"p-0 shadow-none border-none bg-transparent hidden md:block",children:e.jsxs(pe,{children:[e.jsx(he,{asChild:!0,className:"text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground rounded-md",children:e.jsx(w,{asChild:!0,children:e.jsx(D,{variant:"ghost",asChild:!0,className:`w-full ${t.props.section?"":"pointer-events-none"}`,children:e.jsxs("div",{children:[e.jsx(d,{name:"rocket_launch",className:"!text-[18px]"}),e.jsx("span",{className:"group-data-[state=collapsed]:hidden",children:t.props.brand}),t.props.section&&e.jsx(me,{className:"ml-auto group-data-[state=collapsed]:hidden"})]})})})}),t.props.section&&e.jsx(ue,{side:"right",className:"z-[1003]",children:t.props.section.map(s=>e.jsx("div",{children:s.subItems?e.jsxs(je,{children:[e.jsxs(be,{className:"flex gap-2 items-center cursor-pointer",children:[e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]}),e.jsx(fe,{children:s.subItems.map(a=>e.jsx(z,{children:a.type==="blank"?e.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]},a.id):e.jsxs(v,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]},a.id)},a.id))})]}):e.jsx(z,{children:s.type==="blank"?e.jsxs("a",{href:s.link,target:"_blank",className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]}):e.jsxs(v,{href:s.link,className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]})})},s.id))})]})}),e.jsx(ge,{className:"px-2 py-0 block md:hidden",children:e.jsx(F,{children:e.jsx(E,{asChild:!0,className:"group/collapsible",children:e.jsxs(S,{children:[e.jsx(L,{asChild:!0,children:e.jsxs(w,{children:[e.jsx(d,{name:"rocket_launch",className:"!text-[18px]"}),e.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:t.props.brand}),t.props.section&&e.jsx(P,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})}),t.props.section&&e.jsx(B,{children:e.jsx(O,{children:t.props.section&&t.props.section.map(s=>s.subItems?e.jsx(F,{children:e.jsx(E,{asChild:!0,className:"group/collapsible-sub",children:e.jsxs(S,{children:[e.jsx(L,{asChild:!0,children:e.jsxs(w,{children:[e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:s.title}),e.jsx(P,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible-sub:rotate-90"})]})}),e.jsx(B,{children:e.jsx(O,{children:s.subItems.map(a=>e.jsx($,{children:e.jsx(A,{asChild:!0,children:a.type==="blank"?e.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]}):e.jsxs(v,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]})})},a.id))})})]})})},s.id):e.jsx($,{children:e.jsx(A,{asChild:!0,children:s.type==="blank"?e.jsxs("a",{href:s.link,target:"_blank",className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]}):e.jsxs(v,{href:s.link,className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]})})},s.id))})})]})})})})]},t.props.brand)})}),e.jsx(Ne,{children:e.jsx(ke,{items:t.props.menu})}),e.jsx(ve,{children:e.jsxs("div",{className:"flex flex-col items-center",children:[t.props.version&&(()=>{const s=t.props.version,a=s.text||"4.6.0",x=new Date("2026-05-15T15:09:13.388Z").toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"}),p=s.text?`v.${a}`:`v.${a} · ${x}`,l="text-center opacity-70 hover:opacity-100 transition-opacity text-xs";return s.link?e.jsx("a",{href:s.link,target:"_blank",rel:"noreferrer",title:s.hint??void 0,className:l,children:p}):e.jsx("span",{title:s.hint??void 0,className:l,children:p})})(),t.props.showFeedback&&e.jsx(Me,{})]})})]})}export{ze as AppSidebar};
1
+ import{u as R,j as e,D as V,U as G,aX as Y,i as J,k as Q,l as W,aY as I,aZ as ee,V as se,b as M,I as ae,av as re,B as D,a_ as te,at as le,a$ as ne,L as ie,h as ce,b0 as de,b1 as oe,b2 as F,b3 as S,b4 as xe,b5 as pe,b6 as he,b7 as w,b8 as me,b9 as ue,ba as je,bb as be,bc as fe,bd as z,ai as v,be as ge,bf as E,bg as L,C as P,bh as B,bi as O,bj as $,bk as A,bl as Ne,bm as ve}from"./app.js";import{NavMain as ke}from"./nav-main-BctqyzeV.js";import{r as i,a as ye}from"./handsontable-PxYdjN8c.js";import d from"./material-icon-DMT8KdmE.js";import"./jsoneditor-De1FvcYu.js";import"./monaco-BhBYtg3d.js";const Ce=5*1024*1024,X=i.memo(({routePrefix:t,triggerLabel:s,placeholder:a,ui:x,onClose:p})=>{const l=r=>x[r]??r,[m,k]=i.useState(""),[g,y]=i.useState(""),[j,b]=i.useState([]),[o,N]=i.useState({}),[h,_]=i.useState(!1),[C,Z]=i.useState(!1),T=i.useRef(null),q=r=>{if(!r)return;const n={},u=[];Array.from(r).forEach(c=>{c.size>Ce?n[c.name]=l("File size exceeds the 5 MB limit"):u.push(c)}),b(c=>[...c,...u]),Object.keys(n).length&&N(c=>({...c,...n}))},H=r=>b(n=>n.filter((u,c)=>c!==r)),K=async r=>{var u,c;if(r.preventDefault(),!m.trim()){N({title:l("Title is required")});return}_(!0),N({});const n=new FormData;n.append("title",m.trim()),n.append("description",g.trim()),j.forEach(f=>n.append("files",f));try{await ce.post(`${t}/api/feedback`,n),Z(!0)}catch(f){const U=((c=(u=f==null?void 0:f.response)==null?void 0:u.data)==null?void 0:c.error)??l("Internal server error");N({_global:U}),_(!1)}};return i.useEffect(()=>{if(!C)return;const r=setTimeout(p,2e3);return()=>clearTimeout(r)},[C,p]),C?e.jsxs("div",{className:"flex flex-col items-center justify-center gap-4 py-24 text-center",children:[e.jsx(I,{size:48,className:"text-green-500 dark:text-green-400"}),e.jsx("p",{className:"text-base font-medium",children:l("Feedback sent successfully")})]}):e.jsxs(e.Fragment,{children:[e.jsxs(ee,{className:"mb-4",children:[e.jsx(se,{children:s??l("Feedback")}),a&&e.jsx("p",{className:"text-sm text-muted-foreground mt-1",children:a})]}),e.jsxs("form",{onSubmit:K,className:"space-y-5",noValidate:!0,children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(M,{htmlFor:"fb-title",children:l("Title")}),e.jsx(ae,{id:"fb-title",value:m,onChange:r=>k(r.target.value),disabled:h,placeholder:l("Title"),className:o.title?"border-destructive":""}),o.title&&e.jsx("p",{className:"text-xs text-destructive",children:o.title})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(M,{htmlFor:"fb-desc",children:l("Description")}),e.jsx(re,{id:"fb-desc",value:g,onChange:r=>y(r.target.value),disabled:h,placeholder:l("Description"),rows:5,className:"resize-none"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(M,{children:l("Attach files")}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs(D,{type:"button",variant:"outline",size:"sm",onClick:()=>{var r;return(r=T.current)==null?void 0:r.click()},disabled:h,children:[e.jsx(te,{size:14,className:"mr-1"}),l("Attach files")]}),e.jsx("span",{className:"text-xs text-muted-foreground",children:l("Max 5 MB per file")})]}),e.jsx("input",{ref:T,type:"file",multiple:!0,className:"hidden",onChange:r=>q(r.target.files),disabled:h}),j.length>0&&e.jsx("ul",{className:"mt-2 space-y-1",children:j.map((r,n)=>e.jsxs("li",{className:"flex items-center justify-between rounded-md border bg-muted/40 px-3 py-1.5 text-xs",children:[e.jsx("span",{className:"truncate max-w-[340px]",children:r.name}),e.jsx("button",{type:"button",onClick:()=>H(n),className:"ml-2 text-muted-foreground hover:text-destructive transition-colors","aria-label":l("Remove file"),disabled:h,children:e.jsx(le,{size:13})})]},n))}),Object.entries(o).filter(([r])=>r!=="title"&&r!=="_global").map(([r,n])=>e.jsx("p",{className:"text-xs text-destructive",children:n},r))]}),o._global&&e.jsx("p",{className:"text-xs text-destructive",children:o._global}),e.jsx(ne,{children:e.jsx(D,{type:"submit",disabled:h,children:h?e.jsxs(e.Fragment,{children:[e.jsx(ie,{size:14,className:"mr-1.5 animate-spin"}),l("Sending...")]}):l("Send")})})]})]})});X.displayName="FeedbackForm";function Me(){const t=R(),s=t.props.uiMessages??{},a=t.props.routePrefix??window.routePrefix??"",x=t.props.feedbackTriggerLabel??null,p=t.props.feedbackPlaceholder??null,[l,m]=i.useState(!1),[k,g]=i.useState(0),y=i.useCallback(()=>m(!1),[]),j=i.useCallback(b=>{m(b),b||g(o=>o+1)},[]);return e.jsxs(V,{open:l,onOpenChange:j,children:[e.jsx(G,{asChild:!0,children:e.jsxs("button",{className:"flex items-center gap-1.5 text-xs opacity-60 hover:opacity-100 transition-opacity cursor-pointer mt-1 mx-auto","aria-label":x??s["Send feedback"]??"Send feedback",children:[e.jsx(Y,{size:13}),x??s["Send feedback"]??"Send feedback"]})}),ye.createPortal(e.jsx(J,{}),document.body),e.jsx(Q,{children:e.jsx(W,{children:e.jsx(X,{routePrefix:a,triggerLabel:x,placeholder:p,ui:s,onClose:y},k)})})]})}function ze(){const t=R();return e.jsxs(de,{collapsible:"icon",variant:"inset",children:[e.jsx(oe,{children:e.jsx(F,{children:e.jsxs(S,{children:[e.jsx(xe,{className:"p-0 shadow-none border-none bg-transparent hidden md:block",children:e.jsxs(pe,{children:[e.jsx(he,{asChild:!0,className:"text-sidebar-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground rounded-md",children:e.jsx(w,{asChild:!0,children:e.jsx(D,{variant:"ghost",asChild:!0,className:`w-full ${t.props.section?"":"pointer-events-none"}`,children:e.jsxs("div",{children:[e.jsx(d,{name:"rocket_launch",className:"!text-[18px]"}),e.jsx("span",{className:"group-data-[state=collapsed]:hidden",children:t.props.brand}),t.props.section&&e.jsx(me,{className:"ml-auto group-data-[state=collapsed]:hidden"})]})})})}),t.props.section&&e.jsx(ue,{side:"right",className:"z-[1003]",children:t.props.section.map(s=>e.jsx("div",{children:s.subItems?e.jsxs(je,{children:[e.jsxs(be,{className:"flex gap-2 items-center cursor-pointer",children:[e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]}),e.jsx(fe,{children:s.subItems.map(a=>e.jsx(z,{children:a.type==="blank"?e.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]},a.id):e.jsxs(v,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]},a.id)},a.id))})]}):e.jsx(z,{children:s.type==="blank"?e.jsxs("a",{href:s.link,target:"_blank",className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]}):e.jsxs(v,{href:s.link,className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]})})},s.id))})]})}),e.jsx(ge,{className:"px-2 py-0 block md:hidden",children:e.jsx(F,{children:e.jsx(E,{asChild:!0,className:"group/collapsible",children:e.jsxs(S,{children:[e.jsx(L,{asChild:!0,children:e.jsxs(w,{children:[e.jsx(d,{name:"rocket_launch",className:"!text-[18px]"}),e.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:t.props.brand}),t.props.section&&e.jsx(P,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90"})]})}),t.props.section&&e.jsx(B,{children:e.jsx(O,{children:t.props.section&&t.props.section.map(s=>s.subItems?e.jsx(F,{children:e.jsx(E,{asChild:!0,className:"group/collapsible-sub",children:e.jsxs(S,{children:[e.jsx(L,{asChild:!0,children:e.jsxs(w,{children:[e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:s.title}),e.jsx(P,{className:"ml-auto transition-transform duration-200 group-data-[state=open]/collapsible-sub:rotate-90"})]})}),e.jsx(B,{children:e.jsx(O,{children:s.subItems.map(a=>e.jsx($,{children:e.jsx(A,{asChild:!0,children:a.type==="blank"?e.jsxs("a",{href:a.link,target:"_blank",className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]}):e.jsxs(v,{href:a.link,className:"flex gap-2 items-center",children:[a.icon&&e.jsx(d,{name:a.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:a.title})]})})},a.id))})})]})})},s.id):e.jsx($,{children:e.jsx(A,{asChild:!0,children:s.type==="blank"?e.jsxs("a",{href:s.link,target:"_blank",className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]}):e.jsxs(v,{href:s.link,className:"flex gap-2 items-center",children:[s.icon&&e.jsx(d,{name:s.icon,className:"!text-[18px]"}),e.jsx("span",{className:"hover:underline",children:s.title})]})})},s.id))})})]})})})})]},t.props.brand)})}),e.jsx(Ne,{children:e.jsx(ke,{items:t.props.menu})}),e.jsx(ve,{children:e.jsxs("div",{className:"flex flex-col items-center",children:[t.props.version&&(()=>{const s=t.props.version,a=s.text||"4.6.0",x=new Date("2026-05-22T02:42:31.050Z").toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"}),p=s.text?`v.${a}`:`v.${a} · ${x}`,l="text-center opacity-70 hover:opacity-100 transition-opacity text-xs";return s.link?e.jsx("a",{href:s.link,target:"_blank",rel:"noreferrer",title:s.hint??void 0,className:l,children:p}):e.jsx("span",{title:s.hint??void 0,className:l,children:p})})(),t.props.showFeedback&&e.jsx(Me,{})]})})]})}export{ze as AppSidebar};
package/assets/app.js CHANGED
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-B9JLJ-Va.js","./app-layout-eaqKl80J.js","./app-shell-QWCtn9ye.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-D7JH6Mij.js","./nav-main-BctqyzeV.js","./material-icon-DMT8KdmE.js","./app-sidebar-header-BsPFDhZ8.js","./breadcrumbs-CZZirDj8.js","./nav-user-Bn1Lt-BZ.js","./user-info-DtBK5Kh8.js","./user-menu-content-0XYOCMaA.js","./theme-switcher-DfExsHW2.js","./icon-DfDLMG5f.js","./RelationDialogStack-D9UVEF9s.js","./dynamic-controls-k61T9W2P.js","./input-error-DuuqFgZa.js","./RelationDialogStack-DV8OITPR.css","./add-group-form-B01gwDGu.js","./add-user-XpnnP6H3.js","./add-user-form-Cgwc9JkI.js","./add-UbYCOEiH.js","./catalog-BcRt4ROd.js","./del-modal-BoyXZloG.js","./catalog-D4n6dpGl.css","./dashboard-BtOlwyEq.js","./dashboard-BOltB2Hq.css","./form-CPqj1jmF.js","./form-1WGY0YgG.js","./history-Dd6SJZpb.js","./home-JmQxKJUy.js","./init-user-CF80MEnT.js","./list-BKkw1gD-.js","./list-table-BsEWjTKY.js","./pagination-render-DxD78ahJ.js","./login-eDemYzN-.js","./module-BC9jG3ya.js","./notification-Coh8e4AC.js","./register-349PwYbe.js","./welcome-R6Ht32h7.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./add-group-1Uoq9NWe.js","./app-layout-CAm60qoE.js","./app-shell-QWCtn9ye.js","./handsontable-PxYdjN8c.js","./jsoneditor-De1FvcYu.js","./monaco-BhBYtg3d.js","./app-sidebar-CfaYbnSy.js","./nav-main-BctqyzeV.js","./material-icon-DMT8KdmE.js","./app-sidebar-header-BsPFDhZ8.js","./breadcrumbs-CZZirDj8.js","./nav-user-Bn1Lt-BZ.js","./user-info-DtBK5Kh8.js","./user-menu-content-0XYOCMaA.js","./theme-switcher-DfExsHW2.js","./icon-DfDLMG5f.js","./RelationDialogStack-D9UVEF9s.js","./dynamic-controls-k61T9W2P.js","./input-error-DuuqFgZa.js","./RelationDialogStack-DV8OITPR.css","./add-group-form-B01gwDGu.js","./add-user-BQCAsaRy.js","./add-user-form-Cgwc9JkI.js","./add-BlvzWQKF.js","./catalog-k5myk7fk.js","./del-modal-BoyXZloG.js","./catalog-D4n6dpGl.css","./dashboard-BkL9ybBw.js","./dashboard-BOltB2Hq.css","./form-DJapG3qF.js","./form-1WGY0YgG.js","./history-CluyR-yJ.js","./home-Dug9zBzM.js","./init-user-CF80MEnT.js","./list-CuexshNt.js","./list-table-BsEWjTKY.js","./pagination-render-DxD78ahJ.js","./login-eDemYzN-.js","./module-Cd4Tm6uq.js","./notification-D64qvni-.js","./register-349PwYbe.js","./welcome-PDp-gUei.js"])))=>i.map(i=>d[i]);
2
2
  import{a as wee,c as QH,b as xa,s as Ma,d as ka,i as Mi,h as TF,m as Dj,e as _ee,f as See,z as JH,v as Cee,_ as gn}from"./jsoneditor-De1FvcYu.js";import{r as p,e as ge,a as Kd,b as RF,c as Nee,R as SP,d as ur,F as Ca,f as Na,g as La,h as Ea,i as Ia,j as Aa,k as Ta,l as Ra,m as $a,n as ja,o as Pa,p as Oa,q as Da,s as za,t as qa,u as Ha,v as Va,w as Ba,x as Fa,y as Ua,z as Ga,A as Wa,B as Za,C as Xa,D as Ka,E as Ya,G as Qa,H as Ja,I as eo,J as to,K as no,L as ao,M as oo,N as ro,O as io,P as co,Q as so,S as lo,T as uo,U as ho,V as po,W as fo,X as yo,Y as mo,Z as vo,_ as go,$ as ko,a0 as Mo,a1 as xo,a2 as bo,a3 as wo,a4 as _o,a5 as So,a6 as Co,a7 as No,a8 as Lo,a9 as Eo,aa as Io,ab as Ao,ac as To,ad as Ro,ae as $o,af as jo,ag as Po,ah as Oo,ai as Do,aj as zo,ak as qo,al as Ho,am as Vo,an as Bo,ao as Fo,ap as Yd,aq as Qd,ar as Jd,as as Lee,at as Eee,au as Iee,av as Aee,aw as Tee,ax as Ree,ay as $ee,az as jee}from"./handsontable-PxYdjN8c.js";import{F as Pee}from"./monaco-BhBYtg3d.js";var c$={exports:{}},n2={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.js
@@ -8070,4 +8070,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8070
8070
  * Last updated: Mar 09, 2023
8071
8071
  *
8072
8072
  * Description: Definition file for Chinese - China language-country.
8073
- */const yVe={languageCode:"zh-CN",[Fo]:"上方插入行",[Bo]:"下方插入行",[Vo]:"左方插入列",[Ho]:"右方插入列",[qo]:["移除该行","移除多行"],[zo]:["移除该列","移除多列"],[Do]:"撤销",[Oo]:"恢复",[Po]:"只读",[jo]:"清空该列",[$o]:"对齐",[Ro]:"左对齐",[To]:"水平居中",[Ao]:"右对齐",[Io]:"两端对齐",[Eo]:"顶端对齐",[Lo]:"垂直居中",[No]:"底端对齐",[Co]:"冻结该列",[So]:"取消冻结",[_o]:"边框",[wo]:"上",[bo]:"右",[xo]:"下",[Mo]:"左",[ko]:"移除边框",[go]:"插入批注",[vo]:"编辑批注",[mo]:"删除批注",[yo]:"只读批注",[fo]:"合并",[po]:"取消合并",[ho]:"复制",[Jd]:"带标题的复制",[Qd]:"带标题组的复制",[Yd]:"仅复制标题",[uo]:"剪切",[lo]:"插入子行",[so]:"与母行分离",[co]:["隐藏该列","隐藏多列"],[io]:["显示该列","显示多列"],[ro]:["隐藏该行","隐藏多行"],[oo]:["显示该行","显示多行"],[ao]:"无",[no]:"为空",[to]:"不为空",[eo]:"等于",[Ja]:"不等于",[Qa]:"开头是",[Ya]:"结尾是",[Ka]:"包含",[Xa]:"不包含",[Za]:"大于",[Wa]:"大于或等于",[Ga]:"小于",[Ua]:"小于或等于",[Fa]:"在此范围",[Ba]:"不在此范围",[Va]:"之后",[Ha]:"之前",[qa]:"今天",[za]:"明天",[Da]:"昨天",[Oa]:"空白单元格",[Pa]:"按条件过滤",[ja]:"按值过滤",[$a]:"且",[Ra]:"或",[Ta]:"全选",[Aa]:"清除",[Ia]:"确认",[Ea]:"取消",[La]:"搜索",[Na]:"值",[Ca]:"第二值"};Aee();const IF={de:rVe,en:$ee,es:iVe,fr:cVe,it:sVe,ja:lVe,ko:dVe,nl:uVe,pl:hVe,pt:pVe,ru:fVe,zh:yVe},mVe=document.documentElement.lang,dQ=IF[mVe]??IF.en;Tee(dQ);const uQ=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=iD(),[s,l]=p.useState("ht-theme-main"),[h,f]=p.useState(!1),y=p.useCallback((m,x)=>{var b,w;if(x==="loadData")return;const S=(w=(b=g.current)==null?void 0:b.hotInstance)==null?void 0:w.getSourceData();a(S)},[]),g=p.useRef(null);return p.useEffect(()=>{const m=setTimeout(()=>{var x;(x=g.current)!=null&&x.hotInstance&&(g.current.hotInstance.loadData(t??[]),f(!0))},100);return()=>clearTimeout(m)},[t]),p.useEffect(()=>{l(i==="dark"?"ht-theme-main-dark":"ht-theme-main")},[i]),M.jsx("div",{style:{opacity:h?1:0},children:M.jsx(Ree,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:dQ.languageCode,ref:g,...e,afterChange:y,children:e.columns.map(m=>M.jsx(jee,{data:m.data,...m},m.data))})})},KVe=Object.freeze(Object.defineProperty({__proto__:null,default:uQ},Symbol.toStringTag,{value:"Module"})),vVe=()=>{const[e,t]=p.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return p.useEffect(()=>{if(typeof window>"u")return;const a=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),e},hQ=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=iD(),[s,l]=p.useState("light"),h=p.useRef(null),f=p.useRef(null),{width:y}=vVe(),g=y<768,m=y>=768&&y<1024,x=_=>{e(_)},S=_=>{h.current=_,b()},b=()=>{var N;if(!h.current)return;const _={minimap:{enabled:!g},fontSize:g?12:m?13:14,lineNumbers:g?"off":"on",lineDecorationsWidth:g?5:10,scrollBeyondLastLine:!g,wordWrap:g?"on":"bounded",renderWhitespace:g?"none":"selection",padding:{top:g?8:16,bottom:g?8:16}};h.current.updateOptions(_),(N=f.current)==null||N.classList.add("overflow-hidden"),setTimeout(()=>{var L,I;(L=h.current)==null||L.layout(),(I=f.current)==null||I.classList.remove("overflow-hidden")},100)};p.useEffect(()=>{l(i==="dark"?"vs-dark":"light")},[i]),p.useEffect(()=>{b()},[y]);const w=g?"300px":m?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${g?"p-1":"p-2"}`,ref:f,children:M.jsx(Pee,{height:w,language:a.language,value:t,theme:s,options:{automaticLayout:!0,...g&&{wordWrap:"on"},minimap:{enabled:!g}},onChange:x,onMount:S,className:`transition-all duration-200 ease-in-out ${o?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},YVe=Object.freeze(Object.defineProperty({__proto__:null,default:hQ},Symbol.toStringTag,{value:"Module"})),Oj=bA("m-1 flex items-center border rounded-sm px-1",{variants:{variant:{default:"border-foreground/10 text-foreground bg-card hover:bg-card/80",secondary:"border-foreground/10 bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",inverted:"inverted"}},defaultVariants:{variant:"default"}}),cD=p.forwardRef(({options:e,onValueChange:t,variant:a,processing:o,disabled:i,defaultValue:s=[],placeholder:l="",notFound:h="",search:f="",animation:y=0,maxCount:g=3,modalPopover:m=!1,asChild:x=!1,className:S,mode:b="multiple",onOpenItem:w,onAddNew:_,...N},L)=>{const O=xA().props.uiMessages||{},[D,P]=p.useState(s),[A,j]=p.useState(!1),[V,K]=p.useState(!1);p.useEffect(()=>{s&&P(s)},[s]);const q=$=>{if($.key==="Enter")j(!0);else if($.key==="Backspace"&&!$.currentTarget.value){const T=[...D];T.pop(),P(T),t(T)}},B=$=>{let T;b==="single"?T=D.includes($)?[]:[$]:T=D.includes($)?D.filter(G=>G!==$):[...D,$],P(T),t(T),b==="single"&&j(!1)},F=()=>{P([]),t([])},ee=()=>{j($=>!$)},pe=()=>{const $=D.slice(0,g);P($),t($)},R=()=>_?M.jsxs("div",{role:"button",className:J("m-1 cursor-pointer",V?"animate-bounce":"",Oj({variant:a})),style:{animationDuration:`${y}s`},onClick:$=>{$.stopPropagation(),_()},children:[M.jsx(M2,{className:"mr-1 h-3.5 w-3.5"}),M.jsx("span",{children:O.Add||"Add"})]}):null;return M.jsxs(SK,{open:A,onOpenChange:j,modal:m,children:[M.jsx(CK,{asChild:!0,children:M.jsx(wA,{ref:L,...N,onClick:ee,disabled:i,className:J("flex w-full p-1 rounded-md border-input border-1 min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto",S),children:D.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[D.slice(0,g).map($=>{const T=e.find(W=>W.value===$),G=T==null?void 0:T.icon;return M.jsxs("div",{className:J(V?"animate-bounce":"",Oj({variant:a})),style:{animationDuration:`${y}s`},children:[G&&M.jsx(G,{className:"h-4 w-4 mr-2"}),T==null?void 0:T.label,w&&M.jsx(k2,{className:"ml-2 h-4 w-4 cursor-pointer text-muted-foreground hover:text-foreground",onClick:W=>{W.stopPropagation(),w($)}}),M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:W=>{W.stopPropagation(),o||B($)}})]},$)}),b==="multiple"&&D.length>g&&M.jsxs("div",{className:J("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",V?"animate-bounce":"",Oj({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${D.length-g} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:$=>{$.stopPropagation(),pe()}})]}),R()]}),M.jsxs("div",{className:"flex items-center justify-between",children:[D.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:$=>{$.stopPropagation(),F()}}),M.jsx(eD,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(xi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[M.jsx("span",{className:"text-sm text-muted-foreground mx-3",children:l}),M.jsxs("div",{className:"flex items-center",children:[R(),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})]})})}),M.jsx(NK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(hO,{children:[M.jsx(GW,{placeholder:f,onKeyDown:q}),M.jsxs(WW,{children:[M.jsx(ZW,{children:h}),M.jsx(XW,{children:e.map($=>{const T=D.includes($.value);return M.jsxs(YW,{onSelect:()=>B($.value),className:"cursor-pointer",children:[M.jsx("div",{className:J("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",T?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),$.icon&&M.jsx($.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:$.label})]},$.value)})}),M.jsx(KW,{})]})]})}),y>0&&D.length>0&&b==="multiple"&&M.jsx(gi,{className:J("cursor-pointer my-2 text-foreground bg-background w-3 h-3",V?"":"text-muted-foreground"),onClick:()=>K(!V)})]})});cD.displayName="MultiSelect";const QVe=Object.freeze(Object.defineProperty({__proto__:null,default:cD},Symbol.toStringTag,{value:"Module"}));function gVe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=Lt,window.sonner=lHe,Object.assign(window.UIComponents,{Avatar:Jre,AvatarImage:eie,AvatarFallback:tie,Badge:aie,Breadcrumb:rSe,BreadcrumbList:iSe,BreadcrumbItem:cSe,BreadcrumbLink:sSe,BreadcrumbPage:lSe,BreadcrumbSeparator:dSe,BreadcrumbEllipsis:uSe,Button:wA,Calendar:QNe,Card:JNe,CardHeader:eLe,CardFooter:rLe,CardTitle:tLe,CardAction:aLe,CardDescription:nLe,CardContent:oLe,Checkbox:SLe,Collapsible:HLe,CollapsibleTrigger:VLe,CollapsibleContent:BLe,Command:hO,CommandDialog:QIe,CommandInput:GW,CommandList:WW,CommandEmpty:ZW,CommandGroup:XW,CommandItem:YW,CommandShortcut:JIe,CommandSeparator:KW,ContextMenu:w$e,ContextMenuTrigger:_$e,ContextMenuContent:A$e,ContextMenuItem:T$e,ContextMenuCheckboxItem:R$e,ContextMenuRadioItem:$$e,ContextMenuLabel:j$e,ContextMenuSeparator:P$e,ContextMenuShortcut:O$e,ContextMenuGroup:S$e,ContextMenuPortal:C$e,ContextMenuSub:N$e,ContextMenuSubContent:I$e,ContextMenuSubTrigger:E$e,ContextMenuRadioGroup:L$e,Dialog:zW,DialogClose:KIe,DialogContent:VW,DialogDescription:UW,DialogFooter:YIe,DialogHeader:BW,DialogOverlay:HW,DialogPortal:qW,DialogTitle:FW,DialogTrigger:XIe,DialogStack:xX,DialogStackTrigger:z$e,DialogStackOverlay:q$e,DialogStackBody:H$e,DialogStackContent:V$e,DialogStackTitle:B$e,DialogStackDescription:F$e,DialogStackHeader:U$e,DialogStackFooter:G$e,DialogStackNext:W$e,DialogStackPrevious:Z$e,DropdownMenu:$je,DropdownMenuPortal:jje,DropdownMenuTrigger:Pje,DropdownMenuContent:Oje,DropdownMenuGroup:Dje,DropdownMenuLabel:Bje,DropdownMenuItem:zje,DropdownMenuCheckboxItem:qje,DropdownMenuRadioGroup:Hje,DropdownMenuRadioItem:Vje,DropdownMenuSeparator:Fje,DropdownMenuShortcut:Uje,DropdownMenuSub:Gje,DropdownMenuSubTrigger:Wje,DropdownMenuSubContent:Zje,Input:HX,Label:Yje,Menubar:qPe,MenubarPortal:uK,MenubarMenu:HPe,MenubarTrigger:FPe,MenubarContent:UPe,MenubarGroup:VPe,MenubarSeparator:KPe,MenubarLabel:XPe,MenubarItem:GPe,MenubarShortcut:YPe,MenubarCheckboxItem:WPe,MenubarRadioGroup:BPe,MenubarRadioItem:ZPe,MenubarSub:QPe,MenubarSubTrigger:JPe,MenubarSubContent:eOe,Pagination:tOe,PaginationContent:nOe,PaginationLink:KO,PaginationItem:aOe,PaginationPrevious:oOe,PaginationNext:rOe,PaginationEllipsis:iOe,Popover:SK,PopoverTrigger:CK,PopoverContent:NK,PopoverAnchor:IOe,Select:ADe,SelectContent:jDe,SelectGroup:TDe,SelectItem:ODe,SelectLabel:PDe,SelectScrollDownButton:sY,SelectScrollUpButton:cY,SelectSeparator:DDe,SelectTrigger:$De,SelectValue:RDe,Separator:eD,Sheet:dY,SheetTrigger:BDe,SheetClose:FDe,SheetContent:uY,SheetHeader:hY,SheetFooter:WDe,SheetTitle:pY,SheetDescription:fY,Sidebar:Rze,SidebarContent:Hze,SidebarFooter:zze,SidebarGroup:Vze,SidebarGroupAction:Fze,SidebarGroupContent:Uze,SidebarGroupLabel:Bze,SidebarHeader:Dze,SidebarInput:Oze,SidebarInset:Pze,SidebarMenu:Gze,SidebarMenuAction:Kze,SidebarMenuBadge:Yze,SidebarMenuButton:Xze,SidebarMenuItem:Wze,SidebarMenuSkeleton:Qze,SidebarMenuSub:Jze,SidebarMenuSubButton:tqe,SidebarMenuSubItem:eqe,SidebarProvider:Tze,SidebarRail:jze,SidebarSeparator:qze,SidebarTrigger:$ze,useSidebar:t0,Skeleton:vP,Slider:Iqe,Toaster:dHe,Switch:CHe,Tabs:VHe,TabsList:BHe,TabsTrigger:FHe,TabsContent:UHe,Table:GHe,TableHeader:WHe,TableBody:ZHe,TableFooter:XHe,TableHead:YHe,TableRow:KHe,TableCell:QHe,TableCaption:JHe,Textarea:eVe,Tooltip:NY,TooltipTrigger:LY,TooltipContent:EY,TooltipProvider:aD,VanillaJSONEditor:_P}),Object.assign(window.JSComponents,{VanillaJSONEditor:_P,HandsonTable:uQ,MonacoEditor:hQ,MultiSelect:cD})}const{createInertiaApp:kVe,router:pQ}=ZU;window.React=ge;window.ReactDOM=ur;window.InertiajsReact=ZU;window.LucideReact=oSe;gVe();async function MVe(e,t){for(const a of Array.isArray(e)?e:[e]){const o=t[a];if(!(typeof o>"u"))return typeof o=="function"?o():o}throw new Error(`Page not found: ${e}`)}let sD=!1;pQ.on("navigate",e=>{sD=!0});pQ.on("finish",e=>{sD=!1});const AF=document.createElement.bind(document);document.createElement=function(e,t){const a=AF(e,t);return e.toLowerCase()==="iframe"&&sD?(console.warn("[Adminizer] Prevented iframe creation, forcing full page reload"),setTimeout(()=>{window.location.reload()},0),AF("div")):a};kVe({title:e=>`${e}`,resolve:e=>MVe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>gn(()=>import("./add-group-B9JLJ-Va.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"./pages/add-user.tsx":()=>gn(()=>import("./add-user-XpnnP6H3.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]),import.meta.url),"./pages/add.tsx":()=>gn(()=>import("./add-UbYCOEiH.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/catalog.tsx":()=>gn(()=>import("./catalog-BcRt4ROd.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,26]),import.meta.url),"./pages/dashboard.tsx":()=>gn(()=>import("./dashboard-BtOlwyEq.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,28]),import.meta.url),"./pages/form.tsx":()=>gn(()=>import("./form-CPqj1jmF.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30]),import.meta.url),"./pages/history.tsx":()=>gn(()=>import("./history-Dd6SJZpb.js"),__vite__mapDeps([31,3,4,16,15,5,17,18,19,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url),"./pages/home.tsx":()=>gn(()=>import("./home-JmQxKJUy.js"),__vite__mapDeps([32,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>gn(()=>import("./init-user-CF80MEnT.js"),__vite__mapDeps([33,3,4,18,5]),import.meta.url),"./pages/list.tsx":()=>gn(()=>import("./list-BKkw1gD-.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,35,25,36]),import.meta.url),"./pages/login.tsx":()=>gn(()=>import("./login-eDemYzN-.js"),__vite__mapDeps([37,15,4,3,5,18]),import.meta.url),"./pages/module.tsx":()=>gn(()=>import("./module-BC9jG3ya.js"),__vite__mapDeps([38,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/notification.tsx":()=>gn(()=>import("./notification-Coh8e4AC.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/register.tsx":()=>gn(()=>import("./register-349PwYbe.js"),__vite__mapDeps([40,3,4,18,5]),import.meta.url),"./pages/welcome.tsx":()=>gn(()=>import("./welcome-R6Ht32h7.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)})),setup({el:e,App:t,props:a}){Voe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{SK as $,A$e as A,wA as B,lr as C,xX as D,u5 as E,T$e as F,JNe as G,eLe as H,HX as I,tLe as J,rLe as K,Fs as L,aD as M,NY as N,LY as O,M2 as P,EY as Q,CHe as R,ADe as S,dHe as T,z$e as U,B$e as V,hr as W,yj as X,l2 as Y,d2 as Z,DSe as _,d5 as a,G$e as a$,CK as a0,pv as a1,W1 as a2,NK as a3,QNe as a4,GHe as a5,WHe as a6,KHe as a7,YHe as a8,ZHe as a9,k_ as aA,sr as aB,WL as aC,M1 as aD,J as aE,YIe as aF,KIe as aG,kf as aH,ef as aI,of as aJ,lf as aK,XIe as aL,Rs as aM,q7 as aN,vM as aO,Tze as aP,LVe as aQ,$je as aR,wy as aS,zje as aT,Fje as aU,$ze as aV,Z8 as aW,Ub as aX,Vc as aY,U$e as aZ,Vw as a_,QHe as aa,vc as ab,zW as ac,VW as ad,BW as ae,FW as af,_G as ag,Aoe as ah,Roe as ai,HU as aj,UVe as ak,OE as al,Px as am,VHe as an,BHe as ao,FHe as ap,UHe as aq,Pze as ar,vl as as,bi as at,oG as au,eVe as av,vVe as aw,iD as ax,db as ay,G8 as az,Yje as b,YVe as b$,Rze as b0,Dze as b1,Gze as b2,Wze as b3,qPe as b4,HPe as b5,FPe as b6,Xze as b7,n4 as b8,UPe as b9,Bze as bA,Uze as bB,HLe as bC,BLe as bD,t0 as bE,ZDe as bF,SN as bG,S7 as bH,NN as bI,Jre as bJ,eie as bK,tie as bL,Bje as bM,Dx as bN,BVe as bO,pf as bP,x2 as bQ,r1 as bR,C_ as bS,tOe as bT,nOe as bU,aOe as bV,KO as bW,oOe as bX,rOe as bY,XVe as bZ,KVe as b_,QPe as ba,JPe as bb,eOe as bc,GPe as bd,Vze as be,ZG as bf,VLe as bg,YG as bh,Jze as bi,eqe as bj,tqe as bk,Hze as bl,zze as bm,rSe as bn,iSe as bo,cSe as bp,lSe as bq,sSe as br,dSe as bs,cD as bt,Iqe as bu,Un as bv,d7 as bw,ZVe as bx,WVe as by,GVe as bz,$De as c,QVe as c0,RDe as d,jDe as e,ODe as f,SLe as g,Lt as h,q$e as i,M as j,H$e as k,V$e as l,vP as m,aie as n,e9 as o,Wf as p,wX as q,WU as r,Pje as s,Yqe as t,xA as u,fc as v,Oje as w,Dje as x,w$e as y,_$e as z};
8073
+ */const yVe={languageCode:"zh-CN",[Fo]:"上方插入行",[Bo]:"下方插入行",[Vo]:"左方插入列",[Ho]:"右方插入列",[qo]:["移除该行","移除多行"],[zo]:["移除该列","移除多列"],[Do]:"撤销",[Oo]:"恢复",[Po]:"只读",[jo]:"清空该列",[$o]:"对齐",[Ro]:"左对齐",[To]:"水平居中",[Ao]:"右对齐",[Io]:"两端对齐",[Eo]:"顶端对齐",[Lo]:"垂直居中",[No]:"底端对齐",[Co]:"冻结该列",[So]:"取消冻结",[_o]:"边框",[wo]:"上",[bo]:"右",[xo]:"下",[Mo]:"左",[ko]:"移除边框",[go]:"插入批注",[vo]:"编辑批注",[mo]:"删除批注",[yo]:"只读批注",[fo]:"合并",[po]:"取消合并",[ho]:"复制",[Jd]:"带标题的复制",[Qd]:"带标题组的复制",[Yd]:"仅复制标题",[uo]:"剪切",[lo]:"插入子行",[so]:"与母行分离",[co]:["隐藏该列","隐藏多列"],[io]:["显示该列","显示多列"],[ro]:["隐藏该行","隐藏多行"],[oo]:["显示该行","显示多行"],[ao]:"无",[no]:"为空",[to]:"不为空",[eo]:"等于",[Ja]:"不等于",[Qa]:"开头是",[Ya]:"结尾是",[Ka]:"包含",[Xa]:"不包含",[Za]:"大于",[Wa]:"大于或等于",[Ga]:"小于",[Ua]:"小于或等于",[Fa]:"在此范围",[Ba]:"不在此范围",[Va]:"之后",[Ha]:"之前",[qa]:"今天",[za]:"明天",[Da]:"昨天",[Oa]:"空白单元格",[Pa]:"按条件过滤",[ja]:"按值过滤",[$a]:"且",[Ra]:"或",[Ta]:"全选",[Aa]:"清除",[Ia]:"确认",[Ea]:"取消",[La]:"搜索",[Na]:"值",[Ca]:"第二值"};Aee();const IF={de:rVe,en:$ee,es:iVe,fr:cVe,it:sVe,ja:lVe,ko:dVe,nl:uVe,pl:hVe,pt:pVe,ru:fVe,zh:yVe},mVe=document.documentElement.lang,dQ=IF[mVe]??IF.en;Tee(dQ);const uQ=({config:e,data:t=[],onChange:a,disabled:o})=>{const{appearance:i}=iD(),[s,l]=p.useState("ht-theme-main"),[h,f]=p.useState(!1),y=p.useCallback((m,x)=>{var b,w;if(x==="loadData")return;const S=(w=(b=g.current)==null?void 0:b.hotInstance)==null?void 0:w.getSourceData();a(S)},[]),g=p.useRef(null);return p.useEffect(()=>{const m=setTimeout(()=>{var x;(x=g.current)!=null&&x.hotInstance&&(g.current.hotInstance.loadData(t??[]),f(!0))},100);return()=>clearTimeout(m)},[t]),p.useEffect(()=>{l(i==="dark"?"ht-theme-main-dark":"ht-theme-main")},[i]),M.jsx("div",{style:{opacity:h?1:0},children:M.jsx(Ree,{className:o?"pointer-events-none opacity-50":"",themeName:s,language:dQ.languageCode,ref:g,...e,afterChange:y,children:e.columns.map(m=>M.jsx(jee,{data:m.data,...m},m.data))})})},KVe=Object.freeze(Object.defineProperty({__proto__:null,default:uQ},Symbol.toStringTag,{value:"Module"})),vVe=()=>{const[e,t]=p.useState({width:typeof window<"u"?window.innerWidth:1024,height:typeof window<"u"?window.innerHeight:768});return p.useEffect(()=>{if(typeof window>"u")return;const a=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]),e},hQ=({onChange:e,value:t,options:a,disabled:o})=>{const{appearance:i}=iD(),[s,l]=p.useState("light"),h=p.useRef(null),f=p.useRef(null),{width:y}=vVe(),g=y<768,m=y>=768&&y<1024,x=_=>{e(_)},S=_=>{h.current=_,b()},b=()=>{var N;if(!h.current)return;const _={minimap:{enabled:!g},fontSize:g?12:m?13:14,lineNumbers:g?"off":"on",lineDecorationsWidth:g?5:10,scrollBeyondLastLine:!g,wordWrap:g?"on":"bounded",renderWhitespace:g?"none":"selection",padding:{top:g?8:16,bottom:g?8:16}};h.current.updateOptions(_),(N=f.current)==null||N.classList.add("overflow-hidden"),setTimeout(()=>{var L,I;(L=h.current)==null||L.layout(),(I=f.current)==null||I.classList.remove("overflow-hidden")},100)};p.useEffect(()=>{l(i==="dark"?"vs-dark":"light")},[i]),p.useEffect(()=>{b()},[y]);const w=g?"300px":m?"400px":"500px";return M.jsx("div",{className:`border rounded-lg ${g?"p-1":"p-2"}`,ref:f,children:M.jsx(Pee,{height:w,language:a.language,value:t,theme:s,options:{automaticLayout:!0,...g&&{wordWrap:"on"},minimap:{enabled:!g}},onChange:x,onMount:S,className:`transition-all duration-200 ease-in-out ${o?"pointer-events-none opacity-50 cursor-not-allowed":""}`})})},YVe=Object.freeze(Object.defineProperty({__proto__:null,default:hQ},Symbol.toStringTag,{value:"Module"})),Oj=bA("m-1 flex items-center border rounded-sm px-1",{variants:{variant:{default:"border-foreground/10 text-foreground bg-card hover:bg-card/80",secondary:"border-foreground/10 bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",inverted:"inverted"}},defaultVariants:{variant:"default"}}),cD=p.forwardRef(({options:e,onValueChange:t,variant:a,processing:o,disabled:i,defaultValue:s=[],placeholder:l="",notFound:h="",search:f="",animation:y=0,maxCount:g=3,modalPopover:m=!1,asChild:x=!1,className:S,mode:b="multiple",onOpenItem:w,onAddNew:_,...N},L)=>{const O=xA().props.uiMessages||{},[D,P]=p.useState(s),[A,j]=p.useState(!1),[V,K]=p.useState(!1);p.useEffect(()=>{s&&P(s)},[s]);const q=$=>{if($.key==="Enter")j(!0);else if($.key==="Backspace"&&!$.currentTarget.value){const T=[...D];T.pop(),P(T),t(T)}},B=$=>{let T;b==="single"?T=D.includes($)?[]:[$]:T=D.includes($)?D.filter(G=>G!==$):[...D,$],P(T),t(T),b==="single"&&j(!1)},F=()=>{P([]),t([])},ee=()=>{j($=>!$)},pe=()=>{const $=D.slice(0,g);P($),t($)},R=()=>_?M.jsxs("div",{role:"button",className:J("m-1 cursor-pointer",V?"animate-bounce":"",Oj({variant:a})),style:{animationDuration:`${y}s`},onClick:$=>{$.stopPropagation(),_()},children:[M.jsx(M2,{className:"mr-1 h-3.5 w-3.5"}),M.jsx("span",{children:O.Add||"Add"})]}):null;return M.jsxs(SK,{open:A,onOpenChange:j,modal:m,children:[M.jsx(CK,{asChild:!0,children:M.jsx(wA,{ref:L,...N,onClick:ee,disabled:i,className:J("flex w-full p-1 rounded-md border-input border-1 min-h-10 h-auto items-center justify-between bg-inherit hover:bg-inherit [&_svg]:pointer-events-auto",S),children:D.length>0?M.jsxs("div",{className:"flex justify-between items-center w-full",children:[M.jsxs("div",{className:"flex flex-wrap items-center",children:[D.slice(0,g).map($=>{const T=e.find(W=>W.value===$),G=T==null?void 0:T.icon;return M.jsxs("div",{className:J(V?"animate-bounce":"",Oj({variant:a})),style:{animationDuration:`${y}s`},children:[G&&M.jsx(G,{className:"h-4 w-4 mr-2"}),T==null?void 0:T.label,w&&M.jsx(k2,{className:"ml-2 h-4 w-4 cursor-pointer text-muted-foreground hover:text-foreground",onClick:W=>{W.stopPropagation(),w($)}}),M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:W=>{W.stopPropagation(),o||B($)}})]},$)}),b==="multiple"&&D.length>g&&M.jsxs("div",{className:J("bg-transparent text-foreground border-foreground/1 hover:bg-transparent",V?"animate-bounce":"",Oj({variant:a})),style:{animationDuration:`${y}s`},children:[`+ ${D.length-g} more`,M.jsx(Or,{className:"ml-2 h-4 w-4 cursor-pointer",onClick:$=>{$.stopPropagation(),pe()}})]}),R()]}),M.jsxs("div",{className:"flex items-center justify-between",children:[D.length>0&&M.jsxs(M.Fragment,{children:[M.jsx(bi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground",onClick:$=>{$.stopPropagation(),F()}}),M.jsx(eD,{orientation:"vertical",className:"flex min-h-6 h-full"})]}),M.jsx(xi,{className:"h-4 mx-2 cursor-pointer text-muted-foreground"})]})]}):M.jsxs("div",{className:"flex items-center justify-between w-full mx-auto",children:[M.jsx("span",{className:"text-sm text-muted-foreground mx-3",children:l}),M.jsxs("div",{className:"flex items-center",children:[R(),M.jsx(xi,{className:"h-4 cursor-pointer text-muted-foreground mx-2"})]})]})})}),M.jsx(NK,{className:"w-auto p-0 z-[1003]",align:"start",onEscapeKeyDown:()=>j(!1),children:M.jsxs(hO,{children:[M.jsx(GW,{placeholder:f,onKeyDown:q}),M.jsxs(WW,{children:[M.jsx(ZW,{children:h}),M.jsx(XW,{children:e.map($=>{const T=D.includes($.value);return M.jsxs(YW,{onSelect:()=>B($.value),className:"cursor-pointer",children:[M.jsx("div",{className:J("mr-2 flex h-5 w-5 items-center justify-center rounded border border-primary",T?"bg-primary text-primary-foreground":"opacity-50 [&_svg]:invisible"),children:M.jsx(sr,{className:"h-4 w-4 text-primary-foreground"})}),$.icon&&M.jsx($.icon,{className:"mr-2 h-4 w-4 text-muted-foreground"}),M.jsx("span",{children:$.label})]},$.value)})}),M.jsx(KW,{})]})]})}),y>0&&D.length>0&&b==="multiple"&&M.jsx(gi,{className:J("cursor-pointer my-2 text-foreground bg-background w-3 h-3",V?"":"text-muted-foreground"),onClick:()=>K(!V)})]})});cD.displayName="MultiSelect";const QVe=Object.freeze(Object.defineProperty({__proto__:null,default:cD},Symbol.toStringTag,{value:"Module"}));function gVe(){window.UIComponents??(window.UIComponents={}),window.JSComponents??(window.JSComponents={}),window.axios=Lt,window.sonner=lHe,Object.assign(window.UIComponents,{Avatar:Jre,AvatarImage:eie,AvatarFallback:tie,Badge:aie,Breadcrumb:rSe,BreadcrumbList:iSe,BreadcrumbItem:cSe,BreadcrumbLink:sSe,BreadcrumbPage:lSe,BreadcrumbSeparator:dSe,BreadcrumbEllipsis:uSe,Button:wA,Calendar:QNe,Card:JNe,CardHeader:eLe,CardFooter:rLe,CardTitle:tLe,CardAction:aLe,CardDescription:nLe,CardContent:oLe,Checkbox:SLe,Collapsible:HLe,CollapsibleTrigger:VLe,CollapsibleContent:BLe,Command:hO,CommandDialog:QIe,CommandInput:GW,CommandList:WW,CommandEmpty:ZW,CommandGroup:XW,CommandItem:YW,CommandShortcut:JIe,CommandSeparator:KW,ContextMenu:w$e,ContextMenuTrigger:_$e,ContextMenuContent:A$e,ContextMenuItem:T$e,ContextMenuCheckboxItem:R$e,ContextMenuRadioItem:$$e,ContextMenuLabel:j$e,ContextMenuSeparator:P$e,ContextMenuShortcut:O$e,ContextMenuGroup:S$e,ContextMenuPortal:C$e,ContextMenuSub:N$e,ContextMenuSubContent:I$e,ContextMenuSubTrigger:E$e,ContextMenuRadioGroup:L$e,Dialog:zW,DialogClose:KIe,DialogContent:VW,DialogDescription:UW,DialogFooter:YIe,DialogHeader:BW,DialogOverlay:HW,DialogPortal:qW,DialogTitle:FW,DialogTrigger:XIe,DialogStack:xX,DialogStackTrigger:z$e,DialogStackOverlay:q$e,DialogStackBody:H$e,DialogStackContent:V$e,DialogStackTitle:B$e,DialogStackDescription:F$e,DialogStackHeader:U$e,DialogStackFooter:G$e,DialogStackNext:W$e,DialogStackPrevious:Z$e,DropdownMenu:$je,DropdownMenuPortal:jje,DropdownMenuTrigger:Pje,DropdownMenuContent:Oje,DropdownMenuGroup:Dje,DropdownMenuLabel:Bje,DropdownMenuItem:zje,DropdownMenuCheckboxItem:qje,DropdownMenuRadioGroup:Hje,DropdownMenuRadioItem:Vje,DropdownMenuSeparator:Fje,DropdownMenuShortcut:Uje,DropdownMenuSub:Gje,DropdownMenuSubTrigger:Wje,DropdownMenuSubContent:Zje,Input:HX,Label:Yje,Menubar:qPe,MenubarPortal:uK,MenubarMenu:HPe,MenubarTrigger:FPe,MenubarContent:UPe,MenubarGroup:VPe,MenubarSeparator:KPe,MenubarLabel:XPe,MenubarItem:GPe,MenubarShortcut:YPe,MenubarCheckboxItem:WPe,MenubarRadioGroup:BPe,MenubarRadioItem:ZPe,MenubarSub:QPe,MenubarSubTrigger:JPe,MenubarSubContent:eOe,Pagination:tOe,PaginationContent:nOe,PaginationLink:KO,PaginationItem:aOe,PaginationPrevious:oOe,PaginationNext:rOe,PaginationEllipsis:iOe,Popover:SK,PopoverTrigger:CK,PopoverContent:NK,PopoverAnchor:IOe,Select:ADe,SelectContent:jDe,SelectGroup:TDe,SelectItem:ODe,SelectLabel:PDe,SelectScrollDownButton:sY,SelectScrollUpButton:cY,SelectSeparator:DDe,SelectTrigger:$De,SelectValue:RDe,Separator:eD,Sheet:dY,SheetTrigger:BDe,SheetClose:FDe,SheetContent:uY,SheetHeader:hY,SheetFooter:WDe,SheetTitle:pY,SheetDescription:fY,Sidebar:Rze,SidebarContent:Hze,SidebarFooter:zze,SidebarGroup:Vze,SidebarGroupAction:Fze,SidebarGroupContent:Uze,SidebarGroupLabel:Bze,SidebarHeader:Dze,SidebarInput:Oze,SidebarInset:Pze,SidebarMenu:Gze,SidebarMenuAction:Kze,SidebarMenuBadge:Yze,SidebarMenuButton:Xze,SidebarMenuItem:Wze,SidebarMenuSkeleton:Qze,SidebarMenuSub:Jze,SidebarMenuSubButton:tqe,SidebarMenuSubItem:eqe,SidebarProvider:Tze,SidebarRail:jze,SidebarSeparator:qze,SidebarTrigger:$ze,useSidebar:t0,Skeleton:vP,Slider:Iqe,Toaster:dHe,Switch:CHe,Tabs:VHe,TabsList:BHe,TabsTrigger:FHe,TabsContent:UHe,Table:GHe,TableHeader:WHe,TableBody:ZHe,TableFooter:XHe,TableHead:YHe,TableRow:KHe,TableCell:QHe,TableCaption:JHe,Textarea:eVe,Tooltip:NY,TooltipTrigger:LY,TooltipContent:EY,TooltipProvider:aD,VanillaJSONEditor:_P}),Object.assign(window.JSComponents,{VanillaJSONEditor:_P,HandsonTable:uQ,MonacoEditor:hQ,MultiSelect:cD})}const{createInertiaApp:kVe,router:pQ}=ZU;window.React=ge;window.ReactDOM=ur;window.InertiajsReact=ZU;window.LucideReact=oSe;gVe();async function MVe(e,t){for(const a of Array.isArray(e)?e:[e]){const o=t[a];if(!(typeof o>"u"))return typeof o=="function"?o():o}throw new Error(`Page not found: ${e}`)}let sD=!1;pQ.on("navigate",e=>{sD=!0});pQ.on("finish",e=>{sD=!1});const AF=document.createElement.bind(document);document.createElement=function(e,t){const a=AF(e,t);return e.toLowerCase()==="iframe"&&sD?(console.warn("[Adminizer] Prevented iframe creation, forcing full page reload"),setTimeout(()=>{window.location.reload()},0),AF("div")):a};kVe({title:e=>`${e}`,resolve:e=>MVe(`./pages/${e}.tsx`,Object.assign({"./pages/add-group.tsx":()=>gn(()=>import("./add-group-1Uoq9NWe.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]),import.meta.url),"./pages/add-user.tsx":()=>gn(()=>import("./add-user-BQCAsaRy.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,22]),import.meta.url),"./pages/add.tsx":()=>gn(()=>import("./add-BlvzWQKF.js"),__vite__mapDeps([23,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/catalog.tsx":()=>gn(()=>import("./catalog-k5myk7fk.js"),__vite__mapDeps([24,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,25,26]),import.meta.url),"./pages/dashboard.tsx":()=>gn(()=>import("./dashboard-BkL9ybBw.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,28]),import.meta.url),"./pages/form.tsx":()=>gn(()=>import("./form-DJapG3qF.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,30]),import.meta.url),"./pages/history.tsx":()=>gn(()=>import("./history-CluyR-yJ.js"),__vite__mapDeps([31,3,4,16,15,5,17,18,19,1,2,6,7,8,9,10,11,12,13,14]),import.meta.url),"./pages/home.tsx":()=>gn(()=>import("./home-Dug9zBzM.js"),__vite__mapDeps([32,4,3,5]),import.meta.url),"./pages/init-user.tsx":()=>gn(()=>import("./init-user-CF80MEnT.js"),__vite__mapDeps([33,3,4,18,5]),import.meta.url),"./pages/list.tsx":()=>gn(()=>import("./list-CuexshNt.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,35,25,36]),import.meta.url),"./pages/login.tsx":()=>gn(()=>import("./login-eDemYzN-.js"),__vite__mapDeps([37,15,4,3,5,18]),import.meta.url),"./pages/module.tsx":()=>gn(()=>import("./module-Cd4Tm6uq.js"),__vite__mapDeps([38,3,4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/notification.tsx":()=>gn(()=>import("./notification-D64qvni-.js"),__vite__mapDeps([39,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url),"./pages/register.tsx":()=>gn(()=>import("./register-349PwYbe.js"),__vite__mapDeps([40,3,4,18,5]),import.meta.url),"./pages/welcome.tsx":()=>gn(()=>import("./welcome-PDp-gUei.js"),__vite__mapDeps([41,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]),import.meta.url)})),setup({el:e,App:t,props:a}){Voe.createRoot(e).render(M.jsx(t,{...a}))},progress:{color:"#0f4898"}});export{SK as $,A$e as A,wA as B,lr as C,xX as D,u5 as E,T$e as F,JNe as G,eLe as H,HX as I,tLe as J,rLe as K,Fs as L,aD as M,NY as N,LY as O,M2 as P,EY as Q,CHe as R,ADe as S,dHe as T,z$e as U,B$e as V,hr as W,yj as X,l2 as Y,d2 as Z,DSe as _,d5 as a,G$e as a$,CK as a0,pv as a1,W1 as a2,NK as a3,QNe as a4,GHe as a5,WHe as a6,KHe as a7,YHe as a8,ZHe as a9,k_ as aA,sr as aB,WL as aC,M1 as aD,J as aE,YIe as aF,KIe as aG,kf as aH,ef as aI,of as aJ,lf as aK,XIe as aL,Rs as aM,q7 as aN,vM as aO,Tze as aP,LVe as aQ,$je as aR,wy as aS,zje as aT,Fje as aU,$ze as aV,Z8 as aW,Ub as aX,Vc as aY,U$e as aZ,Vw as a_,QHe as aa,vc as ab,zW as ac,VW as ad,BW as ae,FW as af,_G as ag,Aoe as ah,Roe as ai,HU as aj,UVe as ak,OE as al,Px as am,VHe as an,BHe as ao,FHe as ap,UHe as aq,Pze as ar,vl as as,bi as at,oG as au,eVe as av,vVe as aw,iD as ax,db as ay,G8 as az,Yje as b,YVe as b$,Rze as b0,Dze as b1,Gze as b2,Wze as b3,qPe as b4,HPe as b5,FPe as b6,Xze as b7,n4 as b8,UPe as b9,Bze as bA,Uze as bB,HLe as bC,BLe as bD,t0 as bE,ZDe as bF,SN as bG,S7 as bH,NN as bI,Jre as bJ,eie as bK,tie as bL,Bje as bM,Dx as bN,BVe as bO,pf as bP,x2 as bQ,r1 as bR,C_ as bS,tOe as bT,nOe as bU,aOe as bV,KO as bW,oOe as bX,rOe as bY,XVe as bZ,KVe as b_,QPe as ba,JPe as bb,eOe as bc,GPe as bd,Vze as be,ZG as bf,VLe as bg,YG as bh,Jze as bi,eqe as bj,tqe as bk,Hze as bl,zze as bm,rSe as bn,iSe as bo,cSe as bp,lSe as bq,sSe as br,dSe as bs,cD as bt,Iqe as bu,Un as bv,d7 as bw,ZVe as bx,WVe as by,GVe as bz,$De as c,QVe as c0,RDe as d,jDe as e,ODe as f,SLe as g,Lt as h,q$e as i,M as j,H$e as k,V$e as l,vP as m,aie as n,e9 as o,Wf as p,wX as q,WU as r,Pje as s,Yqe as t,xA as u,fc as v,Oje as w,Dje as x,w$e as y,_$e as z};