ados-rcm 1.0.579 → 1.0.580

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,18 @@
1
+ /**
2
+ *
3
+ */
1
4
  declare function toBase64(file: File): Promise<string | undefined>;
5
+ /**
6
+ * toFile : Convert Base64 to File
7
+ *
8
+ * Description: Convert Base64 to File
9
+ */
10
+ declare function toFile(base64Data: string, filename: string): File;
2
11
  /**
3
12
  * fileF : File Functions
4
13
  */
5
14
  export declare const fileF: {
6
15
  toBase64: typeof toBase64;
16
+ toFile: typeof toFile;
7
17
  };
8
18
  export {};
package/dist/index.cjs.js CHANGED
@@ -56,4 +56,4 @@ function print() { __p += __j.call(arguments, '') }
56
56
  `);return r.map((o,s)=>c.jsxs(u.Fragment,{children:[o,s!==r.length-1&&c.jsx("br",{})]},s))}const E3="_Base_1vu9b_1",M3="_ATextArea_1vu9b_5",P3="_Primary_1vu9b_33",L3="_UnAvailable_1vu9b_38",O3="_Secondary_1vu9b_46",N3="_ReadOnly_1vu9b_58",Ji={Base:E3,ATextArea:M3,Primary:P3,UnAvailable:L3,Secondary:O3,ReadOnly:N3,Error:"_Error_1vu9b_65"},F3=["Primary","Secondary","ReadOnly","Error"],j3=n=>{const{onEnterPress:r,errorMessage:o,type:s="Primary",textAreaRef:l,useValue:d,rows:h,isReadonly:y,placeholder:p,maxLength:v,tabIndex:m,autoFocus:b,textAreaProps:w,wrapProps:x,helperText:D,label:M,wrapType:R,...k}=n,C=u.useMemo(()=>B3(o)?"Error":s,[o,s]),O=u.useMemo(()=>C==="ReadOnly"?!0:y,[C,y]),fe=u.useMemo(()=>k.isDisabled||k.isLoading,[k.isDisabled,k.isLoading]),[J,te]=Et(d,""),z=u.useCallback(P=>{te&&te(P)},[te]),ne=u.useCallback(P=>{var ee;fe||(z(P.target.value),(ee=w==null?void 0:w.onChange)==null||ee.call(w,P))},[fe,z,w]),V=u.useCallback(P=>{var ee;if(!fe){if((ee=w==null?void 0:w.onKeyDown)==null||ee.call(w,P),P.key==="Tab"){const U=P.currentTarget.selectionStart,B=P.currentTarget.selectionEnd;P.currentTarget.value=P.currentTarget.value.substring(0,U)+" "+P.currentTarget.value.substring(B),P.currentTarget.selectionStart=P.currentTarget.selectionEnd=U+1,P.preventDefault()}else P.key==="Enter"&&(r==null||r(P.currentTarget.value),P.stopPropagation());P.key!=="Escape"&&P.stopPropagation()}},[fe,r,w]);return c.jsx(yo,{wrapProps:x,label:M,helperText:D,errorMessage:o,wrapType:R??C==="Error"?"Error":"Default",children:c.jsx(_t,{...k,className:X.clsx(Ji.Base,k.className),children:c.jsx("textarea",{...w,className:X.clsx(Ji.ATextArea,Ji[C],fe&&Ji.UnAvailable,w==null?void 0:w.className),value:J,rows:h,readOnly:O,onChange:ne,onKeyDown:V,placeholder:p,maxLength:v,tabIndex:k.isDisabled||k.isLoading?-1:m,autoFocus:b,ref:l})})})};function B3(n){return Array.isArray(n)?n.filter(Boolean).length>0:!!n}function ca(n,r){Array.isArray(n)||(n=[n]);for(const o of n){if(r(o))return o;if(!o.children||o.children.length<1)continue;const s=ca(o.children,r);if(s)return s}}function va(n,r){Array.isArray(n)||(n=[n]);for(const o of n)r(o),!(!o.children||o.children.length<1)&&va(o.children,r)}function $3(n,r){const o=[];return va(n,(s,l)=>o.push(r(s,l))),o}function ud(n,r){Array.isArray(n)||(n=[n]);for(const o of n){if(!r(o))return!1;if(!(!o.children||o.children.length<1)&&!ud(o.children,r))return!1}return!0}function W3(n,r){const o=[];return va(n,(s,l)=>{r(s,l)&&o.push(s)}),o}function fd(n){return Array.isArray(n)||(n=[n]),n.reduce((r,o)=>r+1+(o.children?fd(o.children):0),0)}function H3(n,r,o,s){if(s(r,o))return null;Array.isArray(n)||(n=[n]);const l=ca(n,h=>{var y;return(y=h.children)==null?void 0:y.some(p=>s(p,r))}),d=ca(n,h=>{var y;return(y=h.children)==null?void 0:y.some(p=>s(p,o))});if(l===void 0&&d===void 0){const h=n.findIndex(p=>s(p,r)),y=n.findIndex(p=>s(p,o));return n.splice(h,1),n.splice(y,0,r),[...n]}else if(l!==void 0&&d!==void 0&&s(l,d)&&l.children){const h=l.children.findIndex(p=>s(p,r)),y=l.children.findIndex(p=>s(p,o));return h===void 0||y===void 0?null:(l.children.splice(h,1),l.children.splice(y,0,r),l.children=[...l.children],[...n])}return null}const rr={find:ca,forEach:va,map:$3,every:ud,filter:W3,length:fd,replace:H3},z3="_AWrap_gzzqo_1",U3="_AContainer_gzzqo_10",q3="_ATree_gzzqo_18",V3="_ATreeHeader_gzzqo_31",K3="_MainBorder_gzzqo_37",Y3="_ATreeBodyHeader_gzzqo_42",G3="_ATreeItem_gzzqo_51",Z3="_IsSelected_gzzqo_68",J3="_IsSearchSelected_gzzqo_73",X3="_IsHovered_gzzqo_84",Q3="_CheckBox_gzzqo_88",e6="_Indents_gzzqo_100",t6="_ExpandIcon_gzzqo_107",n6="_Content_gzzqo_120",r6="_RightSticky_gzzqo_129",o6="_SearchInputWrap_gzzqo_141",i6="_SearchInput_gzzqo_141",a6="_RightAddon_gzzqo_153",s6="_RightAddonIcon_gzzqo_163",St={AWrap:z3,AContainer:U3,ATree:q3,ATreeHeader:V3,MainBorder:K3,ATreeBodyHeader:Y3,ATreeItem:G3,IsSelected:Z3,IsSearchSelected:J3,IsHovered:X3,CheckBox:Q3,Indents:e6,ExpandIcon:t6,Content:n6,RightSticky:r6,SearchInputWrap:o6,SearchInput:i6,RightAddon:a6,RightAddonIcon:s6},l6=n=>{const{isEqual:r,item:o,selectDisabled:s,isParentDisabled:l,indents:d,useExpand:h,useSelect:y,useSearch:p,onDragStart:v,onDragOver:m,onDragEnd:b,showCheckbox:w,icons:x,iconWidth:D,isSelectMulti:M,isDraggable:R,isParentCheckHovered:k,ContentRenderer:C,TreeItemRenderer:O,RightStickyAddon:fe,resources:J,containerRef:te}=n,{children:z}=u.useMemo(()=>o,[o]),[ne,V]=u.useMemo(()=>h,[h]),[P,ee]=u.useMemo(()=>y,[y]),[U,B]=u.useMemo(()=>p,[p]),F=u.useMemo(()=>!s||l?l:s(o),[s,l,o]),K=u.useMemo(()=>ne.some(q=>r(q,o)),[ne,r,o]),ce=u.useMemo(()=>!z||z.length<1?"noChild":K?"expanded":"collapsed",[z,K]),oe=u.useMemo(()=>{const q=x[ce];return Zs.includes(q)?c.jsx(kt,{style:{width:D,height:D},icon:q}):q},[x,D,ce]),Ce=u.useCallback(q=>{!V||ce==="noChild"||(V(K?ne.filter(j=>!r(j,o)):[...ne,o]),q.stopPropagation())},[V,ne,K,o,r,ce]),_e=u.useMemo(()=>P.some(q=>r(q,o)),[P,r,o]),ve=u.useCallback(()=>{!ee||F||(ee(M?_e?P.filter(q=>!r(q,o)):[...P,o]:[o]),U&&B&&U.items.some(q=>r(q,o))&&B({...U,item:o}))},[M,F,_e,U,B,ee,r,P,o]),be=u.useMemo(()=>U==null?void 0:U.items.some(q=>r(q,o)),[U,r,o]),pe=u.useMemo(()=>be&&(U==null?void 0:U.item)&&r(U.item,o),[be,U,r,o]),je=u.useRef(null);u.useEffect(()=>{setTimeout(()=>{if(pe&&je.current&&te.current){const{top:q,bottom:j}=je.current.getBoundingClientRect(),{top:G,bottom:ke}=te.current.getBoundingClientRect();(q<G||j>ke)&&je.current.scrollIntoView({behavior:"smooth",block:"center"})}},10)},[te,pe]);const[xe,Ue]=u.useState(!1),Ge=u.useCallback(()=>!F&&Ue(!0),[F]),Ne=u.useCallback(()=>!F&&Ue(!1),[F]),Q=u.useMemo(()=>s?rr.map(o,q=>q).filter(q=>!s(q)):rr.map(o,q=>q),[s,o]),Re=u.useMemo(()=>!w||!M?!1:_e&&Q.some(q=>P.some(j=>r(q,j)))&&Q.some(q=>!P.some(j=>r(q,j))),[w,M,_e,Q,r,P]),Se=u.useMemo(()=>w?M?Q.every(q=>P.some(j=>r(q,j))):P.some(q=>r(q,o)):!1,[w,M,Q,o,r,P]),Ee=u.useCallback(()=>{if(!(!ee||F))if(M)if(_e){const q=P.filter(j=>!(s!=null&&s(j))&&Q.some(G=>r(G,j)));q.length>0&&ee(P.filter(j=>!q.some(G=>r(j,G))))}else{const q=Q.filter(j=>!(s!=null&&s(j))&&!P.some(G=>r(G,j)));q.length>0&&ee([...P,...q])}else ee([o])},[F,s,M,ee,r,_e,P,Q,o]),we=u.useCallback(q=>{F||Ee(),q.stopPropagation()},[F,Ee]),qe=u.useMemo(()=>{if(!w||!M||F)return"";if(_e){const j=P.filter(G=>!(s!=null&&s(G))&&Q.some(ke=>r(ke,G)));if(j.length>0)return J["deselect n"](j.length)}const q=Q.filter(j=>!(s!=null&&s(j))&&!P.some(G=>r(G,j)));return J["select n"](q.length)},[s,J,F,w,M,_e,Q,r,P]),Pe=u.useMemo(()=>ht.getContent(fe,n),[fe,n]);return c.jsxs(u.Fragment,{children:[c.jsxs(_t,{className:X.clsx(St.ATreeItem,_e&&St.IsSelected,!F&&(xe||k)&&St.IsHovered,be&&St.IsSearched,pe&&St.IsSearchSelected,"NoSelect"),draggable:R,onDragStart:()=>v==null?void 0:v(o),onDragEnter:q=>m==null?void 0:m(q,o),onDragEnd:q=>b==null?void 0:b(q,o),onClick:ve,abaseRef:je,isDisabled:F,children:[w&&c.jsx(_o,{style:{visibility:F?"hidden":"visible",zIndex:F?0:2},className:St.CheckBox,useCheck:[+Se,Ee],onClick:we,isIndeterminate:Re,onMouseOver:Ge,onMouseOut:Ne,tooltip:qe,isDisabled:F}),c.jsx("div",{className:St.Indents,style:{paddingLeft:w?0:n.icons.noChild?12:0},children:d.map((q,j)=>{const G=j===d.length-1;return c.jsx(nd,{value:q,map:{Collapsed:c.jsx(u6,{iconWidth:D}),Expanded:c.jsx(c6,{iconWidth:D,isLast:G}),IsLast:c.jsx(f6,{iconWidth:D})}},j)})}),oe&&c.jsx("div",{className:St.ExpandIcon,style:{width:D,minWidth:D,maxWidth:D},onClick:Ce,children:oe}),c.jsx("div",{className:X.clsx(St.Content,"NoSelect"),children:c.jsx(C,{isEqual:r,item:o,indents:d,useExpand:h,useSelect:y,useSearch:p,onDragStart:v,onDragOver:m,onDragEnd:b,showCheckbox:w,icons:x,iconWidth:D,isSelectMulti:M,isDraggable:R,isParentCheckHovered:M&&(xe||k),ContentRenderer:C,TreeItemRenderer:O,RightStickyAddon:fe,resources:J,containerRef:te})}),Pe&&c.jsx("div",{className:St.RightSticky,children:Pe})]}),K&&(z==null?void 0:z.map((q,j)=>c.jsx(O,{isEqual:r,item:q,selectDisabled:s,indents:[...d.map(G=>G==="IsLast"?"Collapsed":G),j===z.length-1?"IsLast":"Expanded"],ContentRenderer:C,useExpand:h,useSelect:y,useSearch:p,onDragStart:v,onDragOver:m,onDragEnd:b,showCheckbox:w,icons:x,iconWidth:D,isSelectMulti:M,isDraggable:R,isParentCheckHovered:M&&(xe||k),TreeItemRenderer:O,RightStickyAddon:fe,resources:J,containerRef:te},j)))]})},c6=({iconWidth:n,isLast:r})=>c.jsx("div",{style:{width:n/8*3,height:"100%",borderLeft:"var(--ATree_Indent_border)",marginLeft:n/2,marginRight:n/8,boxSizing:"border-box",transition:"border-color 0.3s"},children:r&&c.jsx("div",{style:{borderBottom:"var(--ATree_Indent_border)",height:"50%",transition:"border-color 0.3s"}})}),u6=({iconWidth:n})=>c.jsx("div",{style:{width:n,height:"100%",borderLeft:"none",marginLeft:0,transition:"border-color 0.3s"}}),f6=({iconWidth:n})=>c.jsx("div",{style:{width:n/8*3,height:"50%",borderLeft:"var(--ATree_Indent_border)",borderBottom:"var(--ATree_Indent_border)",marginLeft:n/2,marginRight:n/8,boxSizing:"border-box",transition:"border-color 0.3s"}}),d6=n=>{const{isEqual:r,searchResult:o,initSearch:s,searchUp:l,searchDown:d,isDisabled:h,isLoading:y,resources:p,maxLength:v,autoFocus:m}=n,b=u.useCallback(D=>{D.key==="Enter"||D.key==="ArrowDown"?(d(),D.preventDefault(),D.stopPropagation()):D.key==="ArrowUp"&&(l(),D.preventDefault(),D.stopPropagation())},[d,l]),w=u.useCallback(D=>{s(D)},[s]),x=u.useMemo(()=>h||y?-1:void 0,[h,y]);return c.jsx(xr,{className:St.SearchInput,wrapProps:{className:St.SearchInputWrap},isDisabled:h,tabIndex:x,useValue:[(o==null?void 0:o.keyword)??"",w],onKeyDown:b,placeholder:p.Search,RightAddon:c.jsx(h6,{isEqual:r,searchResult:o,searchUp:l,searchDown:d}),maxLength:v,autoFocus:m})},h6=n=>{const{isEqual:r,searchResult:o,searchUp:s,searchDown:l}=n,d=u.useMemo(()=>!o||o.items.length<1?0:o.items.findIndex(w=>o.item&&r(w,o.item))+1,[o,r]),h=u.useMemo(()=>!o||o.items.length<1?0:o.items.length,[o]),y=u.useMemo(()=>d<2,[d]),p=u.useMemo(()=>d>=h,[d,h]),v=u.useCallback(w=>{w.stopPropagation(),!y&&s()},[s,y]),m=u.useCallback(w=>{w.stopPropagation(),!p&&l()},[l,p]),b=u.useCallback(w=>{w.stopPropagation(),l()},[l]);return c.jsx("div",{className:X.clsx(St.RightAddon,"NoSelect"),children:o?c.jsxs(c.Fragment,{children:[d,"/",h,c.jsx(_t,{onClick:v,isDisabled:y,children:c.jsx(kt,{className:St.RightAddonIcon,icon:"ArrowUp",mask:""})}),c.jsx(_t,{onClick:m,isDisabled:p,children:c.jsx(kt,{className:St.RightAddonIcon,icon:"ArrowDown"})})]}):c.jsx(kt,{className:St.RightAddonIcon,icon:"Search",onClick:b})})},g6=n=>{const{pk:r,selectDisabled:o,useItems:s,useExpand:l,useSelect:d,useSearch:h,showCheckbox:y,iconWidth:p=24,icons:v={noChild:"Folder",collapsed:"FolderCopy",expanded:"FolderOpen"},isSelectMulti:m=!1,noSearch:b=!1,isDraggable:w=!1,noSyncSearchSelect:x=!1,actionRef:D,placeholder:M,searchPredicate:R=p6,isDisabled:k,isLoading:C,ContentRenderer:O=v6,TreeItemRenderer:fe=l6,RightStickyAddon:J,TopRightAddon:te,TreeTopAddon:z,resources:ne,maxLength:V,autoFocus:P,...ee}=n,U=u.useMemo(()=>({...Vn.ATree,...ne}),[ne]),B=u.useCallback((le,Ae)=>r!==void 0?Array.isArray(r)?r.every(Ze=>Un.isEqual(le[Ze],Ae[Ze])):Un.isEqual(le[r],Ae[r]):Un.isEqual(le,Ae),[r]),F=u.useRef(null),[K,ce]=Et(s,[]),oe=u.useMemo(()=>rr.map(K,le=>le),[K]),[Ce,_e]=Et(l,[]),[ve,be]=Et(d,[]),[pe,je]=Et(h,void 0),xe=u.useCallback(le=>{if(k||!_e||Ce.some(gt=>B(gt,le)))return;const Ae=[];let Ze=le;for(;Ze;){const gt=Ze;Ce.find(en=>B(en,gt))||Ae.push(gt),Ze=oe.find(en=>{var On;return(On=en.children)==null?void 0:On.some(Nt=>B(Nt,gt))})}_e([...Ce,...Ae])},[Ce,k,B,_e,oe]),Ue=u.useCallback(()=>{!_e||k||_e([...oe])},[oe,k,_e]),Ge=u.useCallback(()=>{!_e||k||_e([])},[_e,k]),Ne=u.useCallback(le=>{!be||k||(be([le]),xe(le))},[be,k,xe]),Q=u.useCallback(le=>{if(!je||k)return;if(!le||b){je(void 0),x||be==null||be([]);return}const Ae=rr.filter(K,gt=>R(le,gt));let Ze;if(Ae.find(gt=>(pe==null?void 0:pe.item)&&B(gt,pe.item))?Ze=pe==null?void 0:pe.item:Ae.length>0&&(Ze=Ae[0]),je({keyword:le,items:Ae,item:Ze}),be&&!x)if(m)be(Ae);else{const gt=Ae.find(en=>Ze&&B(en,Ze));be(gt?[gt]:[])}},[K,k,B,R,je,be,x,b,m,pe]),Re=u.useRef(!1);u.useEffect(()=>{Re.current=!0},[K]),u.useEffect(()=>{pe&&Re.current&&(Q(pe.keyword),Re.current=!1)},[Q,pe]);const Se=u.useCallback(()=>{if(!pe||!je||k)return;let le=pe.items.findIndex(Ae=>pe.item&&B(Ae,pe.item))-1;le<0||(je({...pe,item:pe.items[le]}),xe(pe.items[le]),x||Ne(pe.items[le]))},[pe,xe,je,k,Ne,B,x]),Ee=u.useCallback(()=>{if(!pe||!je||k)return;let le=pe.items.findIndex(Ae=>pe.item&&B(Ae,pe.item))+1;le>=pe.items.length||(je({...pe,item:pe.items[le]}),xe(pe.items[le]),x||Ne(pe.items[le]))},[pe,xe,k,je,Ne,B,x]),[we,qe]=u.useState(!1),Pe=u.useCallback(()=>qe(!0),[]),q=u.useCallback(()=>qe(!1),[]),j=u.useMemo(()=>o?rr.map(K,le=>le).filter(le=>!o(le)):rr.map(K,le=>le),[o,K]),G=u.useMemo(()=>!y||!m?!1:ve.length>0&&j.length>ve.length,[y,m,ve,j]),ke=u.useMemo(()=>!y||!m?!1:ve.length>0&&j.length===ve.length,[y,m,ve,j]),Oe=u.useCallback(()=>{if(!be||!m||k)return;const le=ve.filter(Ae=>!(o!=null&&o(Ae))&&j.some(Ze=>B(Ze,Ae)));if(le.length>0)be(ve.filter(Ae=>!le.some(Ze=>B(Ae,Ze))));else{const Ae=j.filter(Ze=>!(o!=null&&o(Ze))&&!ve.some(gt=>B(gt,Ze)));Ae.length>0&&be([...ve,...Ae])}},[m,k,o,be,ve,j,B]),re=u.useMemo(()=>{if(!y||!m||k)return"";const le=ve.filter(Ae=>!(o!=null&&o(Ae))&&j.some(Ze=>B(Ze,Ae)));if(le.length>0)return U["deselect n"](le.length);{const Ae=j.filter(Ze=>!(o!=null&&o(Ze))&&!ve.some(gt=>B(gt,Ze)));return U["select n"](Ae.length)}},[o,k,U,y,m,j,ve,B]),[ye,nt]=u.useState(null),[$,ue]=u.useState(null),it=u.useCallback(le=>{!w||k||nt(le)},[k,w]),It=u.useCallback((le,Ae)=>{if(!w||k||!ye||(le.preventDefault(),le.stopPropagation(),ue(Ae),!ce))return;const Ze=rr.replace(K,ye,Ae,B);Ze&&ce(Ze)},[w,K,ye,k,ce,B]),Be=u.useCallback(()=>{if(!w||k||!ye||!$||!ce||B(ye,$))return;const le=rr.replace(K,ye,$,B);le&&(ce(le),nt(null))},[w,ce,K,ye,$,B,k]);u.useEffect(()=>{var le;y||(le=F.current)==null||le.scrollTo(0,0)},[y,F]),u.useEffect(()=>{!m&&ve.length>1&&(be==null||be([ve[ve.length-1]]))},[m,be,ve]),u.useEffect(()=>{D&&(D.current={expandAll:Ue,collapseAll:Ge})},[D,Ue,Ge]),u.useEffect(()=>{if(!o||!be)return;const le=ve.filter(Ae=>!o(Ae));ve.length!==le.length&&be(le)},[o,ve,be]),u.useEffect(()=>{je&&je(void 0)},[je]);const[Ke,Mt]=u.useState(!1);return u.useEffect(()=>{Mt(le=>!le)},[K]),c.jsxs(_t,{...ee,isDisabled:k,className:X.clsx(ee.className,St.AWrap),children:[(!b||te)&&c.jsxs(qn,{className:St.ATreeHeader,children:[!b&&c.jsx(d6,{isEqual:B,searchResult:pe,initSearch:Q,searchUp:Se,searchDown:Ee,isLoading:C,isDisabled:k,resources:U,maxLength:V,autoFocus:P}),!b&&te&&c.jsx($t,{w:8}),te]}),(!b||te||y&&m)&&c.jsx(ld,{isLoading:C&&K.length!==0}),y&&m&&c.jsxs("div",{className:St.ATreeBodyHeader,children:[c.jsx(_o,{className:St.CheckBox,useCheck:[+ke,()=>Oe()],isIndeterminate:G,onMouseOver:Pe,onMouseOut:q,isDisabled:k,tooltip:re}),U.Items,c.jsx(Ur,{}),U["*Click row for single select"]]}),c.jsx("div",{ref:F,className:X.clsx(ee.className,St.AContainer),children:c.jsxs("div",{className:St.ATree,children:[K.length===0?C?c.jsx(_6,{text:U["Loading Contents..."]}):M:z,K.map((le,Ae)=>c.jsx(fe,{isEqual:B,indents:[],item:le,selectDisabled:o,isParentDisabled:k,useExpand:[Ce,_e],useSelect:[ve,be],useSearch:[pe,je],onDragStart:it,onDragOver:It,onDragEnd:Be,showCheckbox:y,icons:v,iconWidth:p,isSelectMulti:m,isDraggable:w,isParentCheckHovered:m&&we,ContentRenderer:O,TreeItemRenderer:fe,RightStickyAddon:J,resources:U,containerRef:F},`${Ae}${Ke}`))]})})]})},v6=n=>{const{item:r}=n,o={};return We.keys(r).forEach(s=>{s!=="children"&&(o[s]=r[s])}),JSON.stringify(o)};function p6(n,r){return We.some(r,(o,s)=>{var l;return(l=We.stringify(s))==null?void 0:l.toLowerCase().includes(n.toLowerCase())})}const _6=n=>{const{text:r}=n;return c.jsxs(qn,{className:St.Loader,children:[c.jsx(kt,{icon:"Spinner",style:{height:40},height:40,width:40}),c.jsx(cd,{text:r})]})};function y6(n,r){u.useEffect(()=>{if(n.current)for(const o in r){const s=r[o];s!==void 0&&n.current.style.setProperty(o,s)}},[n,r])}var m6=Error,b6=EvalError,x6=RangeError,A6=ReferenceError,dd=SyntaxError,ri=TypeError,S6=URIError,w6=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),s=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var l=42;r[o]=l;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var d=Object.getOwnPropertySymbols(r);if(d.length!==1||d[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var h=Object.getOwnPropertyDescriptor(r,o);if(h.value!==l||h.enumerable!==!0)return!1}return!0},Yu=typeof Symbol<"u"&&Symbol,C6=w6,k6=function(){return typeof Yu!="function"||typeof Symbol!="function"||typeof Yu("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:C6()},Ts={__proto__:null,foo:{}},I6=Object,D6=function(){return{__proto__:Ts}.foo===Ts.foo&&!(Ts instanceof I6)},T6="Function.prototype.bind called on incompatible ",R6=Object.prototype.toString,E6=Math.max,M6="[object Function]",Gu=function(r,o){for(var s=[],l=0;l<r.length;l+=1)s[l]=r[l];for(var d=0;d<o.length;d+=1)s[d+r.length]=o[d];return s},P6=function(r,o){for(var s=[],l=o||0,d=0;l<r.length;l+=1,d+=1)s[d]=r[l];return s},L6=function(n,r){for(var o="",s=0;s<n.length;s+=1)o+=n[s],s+1<n.length&&(o+=r);return o},O6=function(r){var o=this;if(typeof o!="function"||R6.apply(o)!==M6)throw new TypeError(T6+o);for(var s=P6(arguments,1),l,d=function(){if(this instanceof l){var m=o.apply(this,Gu(s,arguments));return Object(m)===m?m:this}return o.apply(r,Gu(s,arguments))},h=E6(0,o.length-s.length),y=[],p=0;p<h;p++)y[p]="$"+p;if(l=Function("binder","return function ("+L6(y,",")+"){ return binder.apply(this,arguments); }")(d),o.prototype){var v=function(){};v.prototype=o.prototype,l.prototype=new v,v.prototype=null}return l},N6=O6,nl=Function.prototype.bind||N6,F6=Function.prototype.call,j6=Object.prototype.hasOwnProperty,B6=nl,$6=B6.call(F6,j6),et,W6=m6,H6=b6,z6=x6,U6=A6,mo=dd,po=ri,q6=S6,hd=Function,Rs=function(n){try{return hd('"use strict"; return ('+n+").constructor;")()}catch{}},Hr=Object.getOwnPropertyDescriptor;if(Hr)try{Hr({},"")}catch{Hr=null}var Es=function(){throw new po},V6=Hr?function(){try{return arguments.callee,Es}catch{try{return Hr(arguments,"callee").get}catch{return Es}}}():Es,lo=k6(),K6=D6(),jt=Object.getPrototypeOf||(K6?function(n){return n.__proto__}:null),fo={},Y6=typeof Uint8Array>"u"||!jt?et:jt(Uint8Array),zr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?et:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?et:ArrayBuffer,"%ArrayIteratorPrototype%":lo&&jt?jt([][Symbol.iterator]()):et,"%AsyncFromSyncIteratorPrototype%":et,"%AsyncFunction%":fo,"%AsyncGenerator%":fo,"%AsyncGeneratorFunction%":fo,"%AsyncIteratorPrototype%":fo,"%Atomics%":typeof Atomics>"u"?et:Atomics,"%BigInt%":typeof BigInt>"u"?et:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?et:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?et:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?et:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":W6,"%eval%":eval,"%EvalError%":H6,"%Float32Array%":typeof Float32Array>"u"?et:Float32Array,"%Float64Array%":typeof Float64Array>"u"?et:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?et:FinalizationRegistry,"%Function%":hd,"%GeneratorFunction%":fo,"%Int8Array%":typeof Int8Array>"u"?et:Int8Array,"%Int16Array%":typeof Int16Array>"u"?et:Int16Array,"%Int32Array%":typeof Int32Array>"u"?et:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":lo&&jt?jt(jt([][Symbol.iterator]())):et,"%JSON%":typeof JSON=="object"?JSON:et,"%Map%":typeof Map>"u"?et:Map,"%MapIteratorPrototype%":typeof Map>"u"||!lo||!jt?et:jt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?et:Promise,"%Proxy%":typeof Proxy>"u"?et:Proxy,"%RangeError%":z6,"%ReferenceError%":U6,"%Reflect%":typeof Reflect>"u"?et:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?et:Set,"%SetIteratorPrototype%":typeof Set>"u"||!lo||!jt?et:jt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?et:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":lo&&jt?jt(""[Symbol.iterator]()):et,"%Symbol%":lo?Symbol:et,"%SyntaxError%":mo,"%ThrowTypeError%":V6,"%TypedArray%":Y6,"%TypeError%":po,"%Uint8Array%":typeof Uint8Array>"u"?et:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?et:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?et:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?et:Uint32Array,"%URIError%":q6,"%WeakMap%":typeof WeakMap>"u"?et:WeakMap,"%WeakRef%":typeof WeakRef>"u"?et:WeakRef,"%WeakSet%":typeof WeakSet>"u"?et:WeakSet};if(jt)try{null.error}catch(n){var G6=jt(jt(n));zr["%Error.prototype%"]=G6}var Z6=function n(r){var o;if(r==="%AsyncFunction%")o=Rs("async function () {}");else if(r==="%GeneratorFunction%")o=Rs("function* () {}");else if(r==="%AsyncGeneratorFunction%")o=Rs("async function* () {}");else if(r==="%AsyncGenerator%"){var s=n("%AsyncGeneratorFunction%");s&&(o=s.prototype)}else if(r==="%AsyncIteratorPrototype%"){var l=n("%AsyncGenerator%");l&&jt&&(o=jt(l.prototype))}return zr[r]=o,o},Zu={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},oi=nl,ua=$6,J6=oi.call(Function.call,Array.prototype.concat),X6=oi.call(Function.apply,Array.prototype.splice),Ju=oi.call(Function.call,String.prototype.replace),fa=oi.call(Function.call,String.prototype.slice),Q6=oi.call(Function.call,RegExp.prototype.exec),e4=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,t4=/\\(\\)?/g,n4=function(r){var o=fa(r,0,1),s=fa(r,-1);if(o==="%"&&s!=="%")throw new mo("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&o!=="%")throw new mo("invalid intrinsic syntax, expected opening `%`");var l=[];return Ju(r,e4,function(d,h,y,p){l[l.length]=y?Ju(p,t4,"$1"):h||d}),l},r4=function(r,o){var s=r,l;if(ua(Zu,s)&&(l=Zu[s],s="%"+l[0]+"%"),ua(zr,s)){var d=zr[s];if(d===fo&&(d=Z6(s)),typeof d>"u"&&!o)throw new po("intrinsic "+r+" exists, but is not available. Please file an issue!");return{alias:l,name:s,value:d}}throw new mo("intrinsic "+r+" does not exist!")},Ao=function(r,o){if(typeof r!="string"||r.length===0)throw new po("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new po('"allowMissing" argument must be a boolean');if(Q6(/^%?[^%]*%?$/,r)===null)throw new mo("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=n4(r),l=s.length>0?s[0]:"",d=r4("%"+l+"%",o),h=d.name,y=d.value,p=!1,v=d.alias;v&&(l=v[0],X6(s,J6([0,1],v)));for(var m=1,b=!0;m<s.length;m+=1){var w=s[m],x=fa(w,0,1),D=fa(w,-1);if((x==='"'||x==="'"||x==="`"||D==='"'||D==="'"||D==="`")&&x!==D)throw new mo("property names with quotes must have matching quotes");if((w==="constructor"||!b)&&(p=!0),l+="."+w,h="%"+l+"%",ua(zr,h))y=zr[h];else if(y!=null){if(!(w in y)){if(!o)throw new po("base intrinsic for "+r+" exists, but the property is not available.");return}if(Hr&&m+1>=s.length){var M=Hr(y,w);b=!!M,b&&"get"in M&&!("originalValue"in M.get)?y=M.get:y=y[w]}else b=ua(y,w),y=y[w];b&&!p&&(zr[h]=y)}}return y},gd={exports:{}},Ms,Xu;function rl(){if(Xu)return Ms;Xu=1;var n=Ao,r=n("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}return Ms=r,Ms}var o4=Ao,ra=o4("%Object.getOwnPropertyDescriptor%",!0);if(ra)try{ra([],"length")}catch{ra=null}var vd=ra,Qu=rl(),i4=dd,co=ri,ef=vd,a4=function(r,o,s){if(!r||typeof r!="object"&&typeof r!="function")throw new co("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new co("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new co("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new co("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new co("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new co("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,d=arguments.length>4?arguments[4]:null,h=arguments.length>5?arguments[5]:null,y=arguments.length>6?arguments[6]:!1,p=!!ef&&ef(r,o);if(Qu)Qu(r,o,{configurable:h===null&&p?p.configurable:!h,enumerable:l===null&&p?p.enumerable:!l,value:s,writable:d===null&&p?p.writable:!d});else if(y||!l&&!d&&!h)r[o]=s;else throw new i4("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ws=rl(),pd=function(){return!!Ws};pd.hasArrayLengthDefineBug=function(){if(!Ws)return null;try{return Ws([],"length",{value:1}).length!==1}catch{return!0}};var s4=pd,l4=Ao,tf=a4,c4=s4(),nf=vd,rf=ri,u4=l4("%Math.floor%"),f4=function(r,o){if(typeof r!="function")throw new rf("`fn` is not a function");if(typeof o!="number"||o<0||o>4294967295||u4(o)!==o)throw new rf("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],l=!0,d=!0;if("length"in r&&nf){var h=nf(r,"length");h&&!h.configurable&&(l=!1),h&&!h.writable&&(d=!1)}return(l||d||!s)&&(c4?tf(r,"length",o,!0,!0):tf(r,"length",o)),r};(function(n){var r=nl,o=Ao,s=f4,l=ri,d=o("%Function.prototype.apply%"),h=o("%Function.prototype.call%"),y=o("%Reflect.apply%",!0)||r.call(h,d),p=rl(),v=o("%Math.max%");n.exports=function(w){if(typeof w!="function")throw new l("a function is required");var x=y(r,h,arguments);return s(x,1+v(0,w.length-(arguments.length-1)),!0)};var m=function(){return y(r,d,arguments)};p?p(n.exports,"apply",{value:m}):n.exports.apply=m})(gd);var d4=gd.exports,_d=Ao,yd=d4,h4=yd(_d("String.prototype.indexOf")),g4=function(r,o){var s=_d(r,!!o);return typeof s=="function"&&h4(r,".prototype.")>-1?yd(s):s};const v4={},p4=Object.freeze(Object.defineProperty({__proto__:null,default:v4},Symbol.toStringTag,{value:"Module"})),_4=$0(p4);var ol=typeof Map=="function"&&Map.prototype,Ps=Object.getOwnPropertyDescriptor&&ol?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,da=ol&&Ps&&typeof Ps.get=="function"?Ps.get:null,of=ol&&Map.prototype.forEach,il=typeof Set=="function"&&Set.prototype,Ls=Object.getOwnPropertyDescriptor&&il?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ha=il&&Ls&&typeof Ls.get=="function"?Ls.get:null,af=il&&Set.prototype.forEach,y4=typeof WeakMap=="function"&&WeakMap.prototype,Zo=y4?WeakMap.prototype.has:null,m4=typeof WeakSet=="function"&&WeakSet.prototype,Jo=m4?WeakSet.prototype.has:null,b4=typeof WeakRef=="function"&&WeakRef.prototype,sf=b4?WeakRef.prototype.deref:null,x4=Boolean.prototype.valueOf,A4=Object.prototype.toString,S4=Function.prototype.toString,w4=String.prototype.match,al=String.prototype.slice,br=String.prototype.replace,C4=String.prototype.toUpperCase,lf=String.prototype.toLowerCase,md=RegExp.prototype.test,cf=Array.prototype.concat,zn=Array.prototype.join,k4=Array.prototype.slice,uf=Math.floor,Hs=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Os=Object.getOwnPropertySymbols,zs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,bo=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Vt=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===bo||!0)?Symbol.toStringTag:null,bd=Object.prototype.propertyIsEnumerable,ff=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(n){return n.__proto__}:null);function df(n,r){if(n===1/0||n===-1/0||n!==n||n&&n>-1e3&&n<1e3||md.call(/e/,r))return r;var o=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof n=="number"){var s=n<0?-uf(-n):uf(n);if(s!==n){var l=String(s),d=al.call(r,l.length+1);return br.call(l,o,"$&_")+"."+br.call(br.call(d,/([0-9]{3})/g,"$&_"),/_$/,"")}}return br.call(r,o,"$&_")}var Us=_4,hf=Us.custom,gf=Ad(hf)?hf:null,I4=function n(r,o,s,l){var d=o||{};if(yr(d,"quoteStyle")&&d.quoteStyle!=="single"&&d.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(yr(d,"maxStringLength")&&(typeof d.maxStringLength=="number"?d.maxStringLength<0&&d.maxStringLength!==1/0:d.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=yr(d,"customInspect")?d.customInspect:!0;if(typeof h!="boolean"&&h!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(yr(d,"indent")&&d.indent!==null&&d.indent!==" "&&!(parseInt(d.indent,10)===d.indent&&d.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(yr(d,"numericSeparator")&&typeof d.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var y=d.numericSeparator;if(typeof r>"u")return"undefined";if(r===null)return"null";if(typeof r=="boolean")return r?"true":"false";if(typeof r=="string")return wd(r,d);if(typeof r=="number"){if(r===0)return 1/0/r>0?"0":"-0";var p=String(r);return y?df(r,p):p}if(typeof r=="bigint"){var v=String(r)+"n";return y?df(r,v):v}var m=typeof d.depth>"u"?5:d.depth;if(typeof s>"u"&&(s=0),s>=m&&m>0&&typeof r=="object")return qs(r)?"[Array]":"[Object]";var b=q4(d,s);if(typeof l>"u")l=[];else if(Sd(l,r)>=0)return"[Circular]";function w(B,F,K){if(F&&(l=k4.call(l),l.push(F)),K){var ce={depth:d.depth};return yr(d,"quoteStyle")&&(ce.quoteStyle=d.quoteStyle),n(B,ce,s+1,l)}return n(B,d,s+1,l)}if(typeof r=="function"&&!vf(r)){var x=N4(r),D=Xi(r,w);return"[Function"+(x?": "+x:" (anonymous)")+"]"+(D.length>0?" { "+zn.call(D,", ")+" }":"")}if(Ad(r)){var M=bo?br.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):zs.call(r);return typeof r=="object"&&!bo?Yo(M):M}if(H4(r)){for(var R="<"+lf.call(String(r.nodeName)),k=r.attributes||[],C=0;C<k.length;C++)R+=" "+k[C].name+"="+xd(D4(k[C].value),"double",d);return R+=">",r.childNodes&&r.childNodes.length&&(R+="..."),R+="</"+lf.call(String(r.nodeName))+">",R}if(qs(r)){if(r.length===0)return"[]";var O=Xi(r,w);return b&&!U4(O)?"["+Vs(O,b)+"]":"[ "+zn.call(O,", ")+" ]"}if(R4(r)){var fe=Xi(r,w);return!("cause"in Error.prototype)&&"cause"in r&&!bd.call(r,"cause")?"{ ["+String(r)+"] "+zn.call(cf.call("[cause]: "+w(r.cause),fe),", ")+" }":fe.length===0?"["+String(r)+"]":"{ ["+String(r)+"] "+zn.call(fe,", ")+" }"}if(typeof r=="object"&&h){if(gf&&typeof r[gf]=="function"&&Us)return Us(r,{depth:m-s});if(h!=="symbol"&&typeof r.inspect=="function")return r.inspect()}if(F4(r)){var J=[];return of&&of.call(r,function(B,F){J.push(w(F,r,!0)+" => "+w(B,r))}),pf("Map",da.call(r),J,b)}if($4(r)){var te=[];return af&&af.call(r,function(B){te.push(w(B,r))}),pf("Set",ha.call(r),te,b)}if(j4(r))return Ns("WeakMap");if(W4(r))return Ns("WeakSet");if(B4(r))return Ns("WeakRef");if(M4(r))return Yo(w(Number(r)));if(L4(r))return Yo(w(Hs.call(r)));if(P4(r))return Yo(x4.call(r));if(E4(r))return Yo(w(String(r)));if(typeof window<"u"&&r===window)return"{ [object Window] }";if(r===uo)return"{ [object globalThis] }";if(!T4(r)&&!vf(r)){var z=Xi(r,w),ne=ff?ff(r)===Object.prototype:r instanceof Object||r.constructor===Object,V=r instanceof Object?"":"null prototype",P=!ne&&Vt&&Object(r)===r&&Vt in r?al.call(Ar(r),8,-1):V?"Object":"",ee=ne||typeof r.constructor!="function"?"":r.constructor.name?r.constructor.name+" ":"",U=ee+(P||V?"["+zn.call(cf.call([],P||[],V||[]),": ")+"] ":"");return z.length===0?U+"{}":b?U+"{"+Vs(z,b)+"}":U+"{ "+zn.call(z,", ")+" }"}return String(r)};function xd(n,r,o){var s=(o.quoteStyle||r)==="double"?'"':"'";return s+n+s}function D4(n){return br.call(String(n),/"/g,"&quot;")}function qs(n){return Ar(n)==="[object Array]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function T4(n){return Ar(n)==="[object Date]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function vf(n){return Ar(n)==="[object RegExp]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function R4(n){return Ar(n)==="[object Error]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function E4(n){return Ar(n)==="[object String]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function M4(n){return Ar(n)==="[object Number]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function P4(n){return Ar(n)==="[object Boolean]"&&(!Vt||!(typeof n=="object"&&Vt in n))}function Ad(n){if(bo)return n&&typeof n=="object"&&n instanceof Symbol;if(typeof n=="symbol")return!0;if(!n||typeof n!="object"||!zs)return!1;try{return zs.call(n),!0}catch{}return!1}function L4(n){if(!n||typeof n!="object"||!Hs)return!1;try{return Hs.call(n),!0}catch{}return!1}var O4=Object.prototype.hasOwnProperty||function(n){return n in this};function yr(n,r){return O4.call(n,r)}function Ar(n){return A4.call(n)}function N4(n){if(n.name)return n.name;var r=w4.call(S4.call(n),/^function\s*([\w$]+)/);return r?r[1]:null}function Sd(n,r){if(n.indexOf)return n.indexOf(r);for(var o=0,s=n.length;o<s;o++)if(n[o]===r)return o;return-1}function F4(n){if(!da||!n||typeof n!="object")return!1;try{da.call(n);try{ha.call(n)}catch{return!0}return n instanceof Map}catch{}return!1}function j4(n){if(!Zo||!n||typeof n!="object")return!1;try{Zo.call(n,Zo);try{Jo.call(n,Jo)}catch{return!0}return n instanceof WeakMap}catch{}return!1}function B4(n){if(!sf||!n||typeof n!="object")return!1;try{return sf.call(n),!0}catch{}return!1}function $4(n){if(!ha||!n||typeof n!="object")return!1;try{ha.call(n);try{da.call(n)}catch{return!0}return n instanceof Set}catch{}return!1}function W4(n){if(!Jo||!n||typeof n!="object")return!1;try{Jo.call(n,Jo);try{Zo.call(n,Zo)}catch{return!0}return n instanceof WeakSet}catch{}return!1}function H4(n){return!n||typeof n!="object"?!1:typeof HTMLElement<"u"&&n instanceof HTMLElement?!0:typeof n.nodeName=="string"&&typeof n.getAttribute=="function"}function wd(n,r){if(n.length>r.maxStringLength){var o=n.length-r.maxStringLength,s="... "+o+" more character"+(o>1?"s":"");return wd(al.call(n,0,r.maxStringLength),r)+s}var l=br.call(br.call(n,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,z4);return xd(l,"single",r)}function z4(n){var r=n.charCodeAt(0),o={8:"b",9:"t",10:"n",12:"f",13:"r"}[r];return o?"\\"+o:"\\x"+(r<16?"0":"")+C4.call(r.toString(16))}function Yo(n){return"Object("+n+")"}function Ns(n){return n+" { ? }"}function pf(n,r,o,s){var l=s?Vs(o,s):zn.call(o,", ");return n+" ("+r+") {"+l+"}"}function U4(n){for(var r=0;r<n.length;r++)if(Sd(n[r],`
57
57
  `)>=0)return!1;return!0}function q4(n,r){var o;if(n.indent===" ")o=" ";else if(typeof n.indent=="number"&&n.indent>0)o=zn.call(Array(n.indent+1)," ");else return null;return{base:o,prev:zn.call(Array(r+1),o)}}function Vs(n,r){if(n.length===0)return"";var o=`
58
58
  `+r.prev+r.base;return o+zn.call(n,","+o)+`
59
- `+r.prev}function Xi(n,r){var o=qs(n),s=[];if(o){s.length=n.length;for(var l=0;l<n.length;l++)s[l]=yr(n,l)?r(n[l],n):""}var d=typeof Os=="function"?Os(n):[],h;if(bo){h={};for(var y=0;y<d.length;y++)h["$"+d[y]]=d[y]}for(var p in n)yr(n,p)&&(o&&String(Number(p))===p&&p<n.length||bo&&h["$"+p]instanceof Symbol||(md.call(/[^\w$]/,p)?s.push(r(p,n)+": "+r(n[p],n)):s.push(p+": "+r(n[p],n))));if(typeof Os=="function")for(var v=0;v<d.length;v++)bd.call(n,d[v])&&s.push("["+r(d[v])+"]: "+r(n[d[v]],n));return s}var Cd=Ao,So=g4,V4=I4,K4=ri,Qi=Cd("%WeakMap%",!0),ea=Cd("%Map%",!0),Y4=So("WeakMap.prototype.get",!0),G4=So("WeakMap.prototype.set",!0),Z4=So("WeakMap.prototype.has",!0),J4=So("Map.prototype.get",!0),X4=So("Map.prototype.set",!0),Q4=So("Map.prototype.has",!0),sl=function(n,r){for(var o=n,s;(s=o.next)!==null;o=s)if(s.key===r)return o.next=s.next,s.next=n.next,n.next=s,s},eA=function(n,r){var o=sl(n,r);return o&&o.value},tA=function(n,r,o){var s=sl(n,r);s?s.value=o:n.next={key:r,next:n.next,value:o}},nA=function(n,r){return!!sl(n,r)},rA=function(){var r,o,s,l={assert:function(d){if(!l.has(d))throw new K4("Side channel does not contain "+V4(d))},get:function(d){if(Qi&&d&&(typeof d=="object"||typeof d=="function")){if(r)return Y4(r,d)}else if(ea){if(o)return J4(o,d)}else if(s)return eA(s,d)},has:function(d){if(Qi&&d&&(typeof d=="object"||typeof d=="function")){if(r)return Z4(r,d)}else if(ea){if(o)return Q4(o,d)}else if(s)return nA(s,d);return!1},set:function(d,h){Qi&&d&&(typeof d=="object"||typeof d=="function")?(r||(r=new Qi),G4(r,d,h)):ea?(o||(o=new ea),X4(o,d,h)):(s||(s={key:{},next:null}),tA(s,d,h))}};return l},oA=String.prototype.replace,iA=/%20/g,Fs={RFC1738:"RFC1738",RFC3986:"RFC3986"},ll={default:Fs.RFC3986,formatters:{RFC1738:function(n){return oA.call(n,iA,"+")},RFC3986:function(n){return String(n)}},RFC1738:Fs.RFC1738,RFC3986:Fs.RFC3986},aA=ll,js=Object.prototype.hasOwnProperty,Wr=Array.isArray,Wn=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),sA=function(r){for(;r.length>1;){var o=r.pop(),s=o.obj[o.prop];if(Wr(s)){for(var l=[],d=0;d<s.length;++d)typeof s[d]<"u"&&l.push(s[d]);o.obj[o.prop]=l}}},kd=function(r,o){for(var s=o&&o.plainObjects?Object.create(null):{},l=0;l<r.length;++l)typeof r[l]<"u"&&(s[l]=r[l]);return s},lA=function n(r,o,s){if(!o)return r;if(typeof o!="object"){if(Wr(r))r.push(o);else if(r&&typeof r=="object")(s&&(s.plainObjects||s.allowPrototypes)||!js.call(Object.prototype,o))&&(r[o]=!0);else return[r,o];return r}if(!r||typeof r!="object")return[r].concat(o);var l=r;return Wr(r)&&!Wr(o)&&(l=kd(r,s)),Wr(r)&&Wr(o)?(o.forEach(function(d,h){if(js.call(r,h)){var y=r[h];y&&typeof y=="object"&&d&&typeof d=="object"?r[h]=n(y,d,s):r.push(d)}else r[h]=d}),r):Object.keys(o).reduce(function(d,h){var y=o[h];return js.call(d,h)?d[h]=n(d[h],y,s):d[h]=y,d},l)},cA=function(r,o){return Object.keys(o).reduce(function(s,l){return s[l]=o[l],s},r)},uA=function(n,r,o){var s=n.replace(/\+/g," ");if(o==="iso-8859-1")return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch{return s}},fA=function(r,o,s,l,d){if(r.length===0)return r;var h=r;if(typeof r=="symbol"?h=Symbol.prototype.toString.call(r):typeof r!="string"&&(h=String(r)),s==="iso-8859-1")return escape(h).replace(/%u[0-9a-f]{4}/gi,function(m){return"%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var y="",p=0;p<h.length;++p){var v=h.charCodeAt(p);if(v===45||v===46||v===95||v===126||v>=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||d===aA.RFC1738&&(v===40||v===41)){y+=h.charAt(p);continue}if(v<128){y=y+Wn[v];continue}if(v<2048){y=y+(Wn[192|v>>6]+Wn[128|v&63]);continue}if(v<55296||v>=57344){y=y+(Wn[224|v>>12]+Wn[128|v>>6&63]+Wn[128|v&63]);continue}p+=1,v=65536+((v&1023)<<10|h.charCodeAt(p)&1023),y+=Wn[240|v>>18]+Wn[128|v>>12&63]+Wn[128|v>>6&63]+Wn[128|v&63]}return y},dA=function(r){for(var o=[{obj:{o:r},prop:"o"}],s=[],l=0;l<o.length;++l)for(var d=o[l],h=d.obj[d.prop],y=Object.keys(h),p=0;p<y.length;++p){var v=y[p],m=h[v];typeof m=="object"&&m!==null&&s.indexOf(m)===-1&&(o.push({obj:h,prop:v}),s.push(m))}return sA(o),r},hA=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},gA=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},vA=function(r,o){return[].concat(r,o)},pA=function(r,o){if(Wr(r)){for(var s=[],l=0;l<r.length;l+=1)s.push(o(r[l]));return s}return o(r)},Id={arrayToObject:kd,assign:cA,combine:vA,compact:dA,decode:uA,encode:fA,isBuffer:gA,isRegExp:hA,maybeMap:pA,merge:lA},Dd=rA,oa=Id,Xo=ll,_A=Object.prototype.hasOwnProperty,Td={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,o){return r+"["+o+"]"},repeat:function(r){return r}},Hn=Array.isArray,yA=Array.prototype.push,Rd=function(n,r){yA.apply(n,Hn(r)?r:[r])},mA=Date.prototype.toISOString,_f=Xo.default,Ot={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:oa.encode,encodeValuesOnly:!1,format:_f,formatter:Xo.formatters[_f],indices:!1,serializeDate:function(r){return mA.call(r)},skipNulls:!1,strictNullHandling:!1},bA=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},Bs={},xA=function n(r,o,s,l,d,h,y,p,v,m,b,w,x,D,M,R,k,C){for(var O=r,fe=C,J=0,te=!1;(fe=fe.get(Bs))!==void 0&&!te;){var z=fe.get(r);if(J+=1,typeof z<"u"){if(z===J)throw new RangeError("Cyclic object value");te=!0}typeof fe.get(Bs)>"u"&&(J=0)}if(typeof m=="function"?O=m(o,O):O instanceof Date?O=x(O):s==="comma"&&Hn(O)&&(O=oa.maybeMap(O,function(ve){return ve instanceof Date?x(ve):ve})),O===null){if(h)return v&&!R?v(o,Ot.encoder,k,"key",D):o;O=""}if(bA(O)||oa.isBuffer(O)){if(v){var ne=R?o:v(o,Ot.encoder,k,"key",D);return[M(ne)+"="+M(v(O,Ot.encoder,k,"value",D))]}return[M(o)+"="+M(String(O))]}var V=[];if(typeof O>"u")return V;var P;if(s==="comma"&&Hn(O))R&&v&&(O=oa.maybeMap(O,v)),P=[{value:O.length>0?O.join(",")||null:void 0}];else if(Hn(m))P=m;else{var ee=Object.keys(O);P=b?ee.sort(b):ee}var U=p?o.replace(/\./g,"%2E"):o,B=l&&Hn(O)&&O.length===1?U+"[]":U;if(d&&Hn(O)&&O.length===0)return B+"[]";for(var F=0;F<P.length;++F){var K=P[F],ce=typeof K=="object"&&typeof K.value<"u"?K.value:O[K];if(!(y&&ce===null)){var oe=w&&p?K.replace(/\./g,"%2E"):K,Ce=Hn(O)?typeof s=="function"?s(B,oe):B:B+(w?"."+oe:"["+oe+"]");C.set(r,J);var _e=Dd();_e.set(Bs,C),Rd(V,n(ce,Ce,s,l,d,h,y,p,s==="comma"&&R&&Hn(O)?null:v,m,b,w,x,D,M,R,k,_e))}}return V},AA=function(r){if(!r)return Ot;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.encodeDotInKeys<"u"&&typeof r.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(r.encoder!==null&&typeof r.encoder<"u"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var o=r.charset||Ot.charset;if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=Xo.default;if(typeof r.format<"u"){if(!_A.call(Xo.formatters,r.format))throw new TypeError("Unknown format option provided.");s=r.format}var l=Xo.formatters[s],d=Ot.filter;(typeof r.filter=="function"||Hn(r.filter))&&(d=r.filter);var h;if(r.arrayFormat in Td?h=r.arrayFormat:"indices"in r?h=r.indices?"indices":"repeat":h=Ot.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:Ot.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:Ot.addQueryPrefix,allowDots:y,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Ot.allowEmptyArrays,arrayFormat:h,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Ot.charsetSentinel,commaRoundTrip:r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?Ot.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:Ot.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:Ot.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:Ot.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:Ot.encodeValuesOnly,filter:d,format:s,formatter:l,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:Ot.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:Ot.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Ot.strictNullHandling}},SA=function(n,r){var o=n,s=AA(r),l,d;typeof s.filter=="function"?(d=s.filter,o=d("",o)):Hn(s.filter)&&(d=s.filter,l=d);var h=[];if(typeof o!="object"||o===null)return"";var y=Td[s.arrayFormat],p=y==="comma"&&s.commaRoundTrip;l||(l=Object.keys(o)),s.sort&&l.sort(s.sort);for(var v=Dd(),m=0;m<l.length;++m){var b=l[m];s.skipNulls&&o[b]===null||Rd(h,xA(o[b],b,y,p,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,v))}var w=h.join(s.delimiter),x=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(s.charset==="iso-8859-1"?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),w.length>0?x+w:""},xo=Id,Ks=Object.prototype.hasOwnProperty,wA=Array.isArray,Rt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:xo.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},CA=function(n){return n.replace(/&#(\d+);/g,function(r,o){return String.fromCharCode(parseInt(o,10))})},Ed=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},kA="utf8=%26%2310003%3B",IA="utf8=%E2%9C%93",DA=function(r,o){var s={__proto__:null},l=o.ignoreQueryPrefix?r.replace(/^\?/,""):r,d=o.parameterLimit===1/0?void 0:o.parameterLimit,h=l.split(o.delimiter,d),y=-1,p,v=o.charset;if(o.charsetSentinel)for(p=0;p<h.length;++p)h[p].indexOf("utf8=")===0&&(h[p]===IA?v="utf-8":h[p]===kA&&(v="iso-8859-1"),y=p,p=h.length);for(p=0;p<h.length;++p)if(p!==y){var m=h[p],b=m.indexOf("]="),w=b===-1?m.indexOf("="):b+1,x,D;w===-1?(x=o.decoder(m,Rt.decoder,v,"key"),D=o.strictNullHandling?null:""):(x=o.decoder(m.slice(0,w),Rt.decoder,v,"key"),D=xo.maybeMap(Ed(m.slice(w+1),o),function(R){return o.decoder(R,Rt.decoder,v,"value")})),D&&o.interpretNumericEntities&&v==="iso-8859-1"&&(D=CA(D)),m.indexOf("[]=")>-1&&(D=wA(D)?[D]:D);var M=Ks.call(s,x);M&&o.duplicates==="combine"?s[x]=xo.combine(s[x],D):(!M||o.duplicates==="last")&&(s[x]=D)}return s},TA=function(n,r,o,s){for(var l=s?r:Ed(r,o),d=n.length-1;d>=0;--d){var h,y=n[d];if(y==="[]"&&o.parseArrays)h=o.allowEmptyArrays&&l===""?[]:[].concat(l);else{h=o.plainObjects?Object.create(null):{};var p=y.charAt(0)==="["&&y.charAt(y.length-1)==="]"?y.slice(1,-1):y,v=o.decodeDotInKeys?p.replace(/%2E/g,"."):p,m=parseInt(v,10);!o.parseArrays&&v===""?h={0:l}:!isNaN(m)&&y!==v&&String(m)===v&&m>=0&&o.parseArrays&&m<=o.arrayLimit?(h=[],h[m]=l):v!=="__proto__"&&(h[v]=l)}l=h}return l},RA=function(r,o,s,l){if(r){var d=s.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,h=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,p=s.depth>0&&h.exec(d),v=p?d.slice(0,p.index):d,m=[];if(v){if(!s.plainObjects&&Ks.call(Object.prototype,v)&&!s.allowPrototypes)return;m.push(v)}for(var b=0;s.depth>0&&(p=y.exec(d))!==null&&b<s.depth;){if(b+=1,!s.plainObjects&&Ks.call(Object.prototype,p[1].slice(1,-1))&&!s.allowPrototypes)return;m.push(p[1])}return p&&m.push("["+d.slice(p.index)+"]"),TA(m,o,s,l)}},EA=function(r){if(!r)return Rt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.decodeDotInKeys<"u"&&typeof r.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(r.decoder!==null&&typeof r.decoder<"u"&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=typeof r.charset>"u"?Rt.charset:r.charset,s=typeof r.duplicates>"u"?Rt.duplicates:r.duplicates;if(s!=="combine"&&s!=="first"&&s!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var l=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:Rt.allowDots:!!r.allowDots;return{allowDots:l,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Rt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:Rt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:Rt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:Rt.arrayLimit,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Rt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:Rt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:Rt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:Rt.decoder,delimiter:typeof r.delimiter=="string"||xo.isRegExp(r.delimiter)?r.delimiter:Rt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:Rt.depth,duplicates:s,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:Rt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:Rt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:Rt.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Rt.strictNullHandling}},MA=function(n,r){var o=EA(r);if(n===""||n===null||typeof n>"u")return o.plainObjects?Object.create(null):{};for(var s=typeof n=="string"?DA(n,o):n,l=o.plainObjects?Object.create(null):{},d=Object.keys(s),h=0;h<d.length;++h){var y=d[h],p=RA(y,s[y],o,typeof n=="string");l=xo.merge(l,p,o)}return o.allowSparse===!0?l:xo.compact(l)},PA=SA,LA=MA,OA=ll,NA={formats:OA,parse:LA,stringify:PA};const FA=yf(NA),Ys={StoredContexts:{},defaultHandler:()=>{}},Md={Init:()=>{},Create:n=>{const r=n.method+n.url;return Ys.StoredContexts[r]=n,jA(n)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:n=>{Ys.defaultHandler=n}};function jA(n){const r=`[${n.method}] ${n.url}`;return{Call:async s=>{let{url:l,method:d,stream:h,paramType:y}=n;const{po:p,onStream:v,onStreamEnd:m,noDefaultHandle:b=[]}=s??{};(y==="query"||d==="GET")&&p!==void 0&&(l+="?"+FA.stringify(p,{arrayFormat:"comma"}));const w={method:d,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(y==="form"){const M=new FormData;if(p!==void 0)for(const R in p){const k=p[R];M.append(R,k)}w.body=M}else(y==="body"||y===void 0&&n.method!=="GET")&&(w.body=JSON.stringify(p),w.headers["Content-Type"]="application/json;charset=UTF-8");let x={errorCode:0,message:""};const D=Date.now();l=Md.FetchBaseUrl()+l;try{let M=await fetch(l,w);if(M.ok===!1)return x.errorCode=M.status,x.message=M.statusText,x;{const R=new TextDecoder("utf-8");if(h){if(M.body){let k=M.body.getReader(),C="";for(;;){const O=await k.read();if(O.done)break;const fe=R.decode(O.value).trim();C+=fe;let J=null;try{const te=fe.split("\0");let z=te[te.length-1];for(let ne=te.length-2;ne>=0;ne--)if(te[ne].trim().length!==0){z=te[ne];break}J=await JSON.parse(z)}catch{try{const z=C.split("\0");let ne=z[z.length-1];for(let V=z.length-2;V>=0;V--)if(z[V].trim().length!==0){ne=z[V];break}J=await JSON.parse(ne)}catch{}}if(J!=null&&(Object.keys(J).includes("err_code")?x.errorCode=J.err_code:(x.errorCode=0,x.data=J,C="",O.done?m==null||m(x.data):v==null||v(x.data))),O.done)break}}}else if(M.body){const C=await M.body.getReader().read(),O=R.decode(C.value);if(O==="null")return x;{let fe=await JSON.parse(O.replaceAll("\0",""));Object.keys(fe).includes("err_code")?(x.errorCode=fe.err_code,x.message=fe.err_msg):x.data=fe}}}}catch(M){console.warn(M),x.errorCode=-1,x.message=M.message}return console.debug(`${r} ${Date.now()-D}ms`),b!==!0&&await Ys.defaultHandler(x,b),x}}}async function BA(n){const r=new Promise((o,s)=>{const l=new FileReader;l.onloadend=()=>{l.result?typeof l.result=="string"?o(l.result.split(",")[1]):s(new Error("Failed to convert file to Base64: Invalid result type.")):s(new Error("Failed to convert file to Base64: Empty result."))},l.onerror=d=>{s(d)},l.readAsDataURL(n)});try{return await r}catch{return}}const $A={toBase64:BA};exports.ABase=_t;exports.ABaseStyleKeys=Tf;exports.AButton=Qt;exports.AButtonStyleKeys=Ef;exports.AButtonTypes=Sy;exports.ACheckBox=_o;exports.ACheckBoxStyleKeys=Lf;exports.AClock=qy;exports.AColFrame=td;exports.ADatePicker=el;exports.ADatePickerStyleKeys=Uf;exports.ADatePickerTypes=x2;exports.ADateRangePicker=tl;exports.ADateRangePickerStyleKeys=qf;exports.ADialog=tb;exports.ADialogStyleKeys=Of;exports.ADialogTypes=eb;exports.ADivideFrame=sm;exports.AFileBox=fb;exports.AFileBoxStyleKeys=Wf;exports.AFloatMenu=_b;exports.AFloatMenuKeys=Gf;exports.AFrameStyleKeys=Yf;exports.AGrow=Ur;exports.AIcon=kt;exports.AIconButton=ho;exports.AIconButtonStyleKeys=Vf;exports.AIconButtonTypes=wy;exports.AIconHOC=sy;exports.AIcons=Zs;exports.AInput=xr;exports.AInputStyleKeys=Mf;exports.AInputTypes=Am;exports.AListView=kb;exports.AListViewStyleKeys=Hf;exports.ALoadingBorderKeys=Cy;exports.AMultiSelect=Wb;exports.AMultiSelectStyleKeys=Ff;exports.ANumInput=xb;exports.AOverflowFrame=ei;exports.ARowFrame=qn;exports.ASelect=qr;exports.ASelectStyleKeys=Nf;exports.ASelectTypes=Vm;exports.ASpace=$t;exports.AStepper=nx;exports.AStepperStyleKeys=zf;exports.ASwitch=sx;exports.ASwitchFrame=nd;exports.ASwitchStyleKeys=Bf;exports.ATab=_x;exports.ATabStyleKeys=$f;exports.ATabTypes=px;exports.ATable=C3;exports.ATableStyleKeys=Kf;exports.AText=cd;exports.ATextArea=j3;exports.ATextAreaStyleKeys=Pf;exports.ATextAreaTypes=F3;exports.AThemeButton=Oy;exports.AThemes=ta;exports.ATooltip=Df;exports.ATooltipStyleKeys=Rf;exports.ATree=g6;exports.ATreeStyleKeys=jf;exports.AWrap=yo;exports.AWrapTypes=Uy;exports.ApiContext=Md;exports.ComponentStyleKeys=ky;exports.CreateADC=sb;exports.DarkTheme=Ly;exports.Dummy=bf;exports.EDir12=ti;exports.EDir4=Bt;exports.IsCursorPointer=Sf;exports.IsFixedShape=Af;exports.IsInteractive=wf;exports.NoSelect=xf;exports.Resources=Vn;exports.SetResources=Pm;exports.ThemeKeys=Dy;exports.bound=Go;exports.cbF=ht;exports.createEvent=$r;exports.dateF=se;exports.defaultPredicate=id;exports.fileF=$A;exports.numF=rd;exports.objF=We;exports.sF=X;exports.setDir12Style=Js;exports.setDir12StyleElem=kf;exports.strF=ed;exports.tableF=_r;exports.treeF=rr;exports.useADialogCore=ib;exports.useADialogCores=ob;exports.useEvent=sd;exports.useInit=od;exports.useTheme=y6;exports.useValues=Et;
59
+ `+r.prev}function Xi(n,r){var o=qs(n),s=[];if(o){s.length=n.length;for(var l=0;l<n.length;l++)s[l]=yr(n,l)?r(n[l],n):""}var d=typeof Os=="function"?Os(n):[],h;if(bo){h={};for(var y=0;y<d.length;y++)h["$"+d[y]]=d[y]}for(var p in n)yr(n,p)&&(o&&String(Number(p))===p&&p<n.length||bo&&h["$"+p]instanceof Symbol||(md.call(/[^\w$]/,p)?s.push(r(p,n)+": "+r(n[p],n)):s.push(p+": "+r(n[p],n))));if(typeof Os=="function")for(var v=0;v<d.length;v++)bd.call(n,d[v])&&s.push("["+r(d[v])+"]: "+r(n[d[v]],n));return s}var Cd=Ao,So=g4,V4=I4,K4=ri,Qi=Cd("%WeakMap%",!0),ea=Cd("%Map%",!0),Y4=So("WeakMap.prototype.get",!0),G4=So("WeakMap.prototype.set",!0),Z4=So("WeakMap.prototype.has",!0),J4=So("Map.prototype.get",!0),X4=So("Map.prototype.set",!0),Q4=So("Map.prototype.has",!0),sl=function(n,r){for(var o=n,s;(s=o.next)!==null;o=s)if(s.key===r)return o.next=s.next,s.next=n.next,n.next=s,s},eA=function(n,r){var o=sl(n,r);return o&&o.value},tA=function(n,r,o){var s=sl(n,r);s?s.value=o:n.next={key:r,next:n.next,value:o}},nA=function(n,r){return!!sl(n,r)},rA=function(){var r,o,s,l={assert:function(d){if(!l.has(d))throw new K4("Side channel does not contain "+V4(d))},get:function(d){if(Qi&&d&&(typeof d=="object"||typeof d=="function")){if(r)return Y4(r,d)}else if(ea){if(o)return J4(o,d)}else if(s)return eA(s,d)},has:function(d){if(Qi&&d&&(typeof d=="object"||typeof d=="function")){if(r)return Z4(r,d)}else if(ea){if(o)return Q4(o,d)}else if(s)return nA(s,d);return!1},set:function(d,h){Qi&&d&&(typeof d=="object"||typeof d=="function")?(r||(r=new Qi),G4(r,d,h)):ea?(o||(o=new ea),X4(o,d,h)):(s||(s={key:{},next:null}),tA(s,d,h))}};return l},oA=String.prototype.replace,iA=/%20/g,Fs={RFC1738:"RFC1738",RFC3986:"RFC3986"},ll={default:Fs.RFC3986,formatters:{RFC1738:function(n){return oA.call(n,iA,"+")},RFC3986:function(n){return String(n)}},RFC1738:Fs.RFC1738,RFC3986:Fs.RFC3986},aA=ll,js=Object.prototype.hasOwnProperty,Wr=Array.isArray,Wn=function(){for(var n=[],r=0;r<256;++r)n.push("%"+((r<16?"0":"")+r.toString(16)).toUpperCase());return n}(),sA=function(r){for(;r.length>1;){var o=r.pop(),s=o.obj[o.prop];if(Wr(s)){for(var l=[],d=0;d<s.length;++d)typeof s[d]<"u"&&l.push(s[d]);o.obj[o.prop]=l}}},kd=function(r,o){for(var s=o&&o.plainObjects?Object.create(null):{},l=0;l<r.length;++l)typeof r[l]<"u"&&(s[l]=r[l]);return s},lA=function n(r,o,s){if(!o)return r;if(typeof o!="object"){if(Wr(r))r.push(o);else if(r&&typeof r=="object")(s&&(s.plainObjects||s.allowPrototypes)||!js.call(Object.prototype,o))&&(r[o]=!0);else return[r,o];return r}if(!r||typeof r!="object")return[r].concat(o);var l=r;return Wr(r)&&!Wr(o)&&(l=kd(r,s)),Wr(r)&&Wr(o)?(o.forEach(function(d,h){if(js.call(r,h)){var y=r[h];y&&typeof y=="object"&&d&&typeof d=="object"?r[h]=n(y,d,s):r.push(d)}else r[h]=d}),r):Object.keys(o).reduce(function(d,h){var y=o[h];return js.call(d,h)?d[h]=n(d[h],y,s):d[h]=y,d},l)},cA=function(r,o){return Object.keys(o).reduce(function(s,l){return s[l]=o[l],s},r)},uA=function(n,r,o){var s=n.replace(/\+/g," ");if(o==="iso-8859-1")return s.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(s)}catch{return s}},fA=function(r,o,s,l,d){if(r.length===0)return r;var h=r;if(typeof r=="symbol"?h=Symbol.prototype.toString.call(r):typeof r!="string"&&(h=String(r)),s==="iso-8859-1")return escape(h).replace(/%u[0-9a-f]{4}/gi,function(m){return"%26%23"+parseInt(m.slice(2),16)+"%3B"});for(var y="",p=0;p<h.length;++p){var v=h.charCodeAt(p);if(v===45||v===46||v===95||v===126||v>=48&&v<=57||v>=65&&v<=90||v>=97&&v<=122||d===aA.RFC1738&&(v===40||v===41)){y+=h.charAt(p);continue}if(v<128){y=y+Wn[v];continue}if(v<2048){y=y+(Wn[192|v>>6]+Wn[128|v&63]);continue}if(v<55296||v>=57344){y=y+(Wn[224|v>>12]+Wn[128|v>>6&63]+Wn[128|v&63]);continue}p+=1,v=65536+((v&1023)<<10|h.charCodeAt(p)&1023),y+=Wn[240|v>>18]+Wn[128|v>>12&63]+Wn[128|v>>6&63]+Wn[128|v&63]}return y},dA=function(r){for(var o=[{obj:{o:r},prop:"o"}],s=[],l=0;l<o.length;++l)for(var d=o[l],h=d.obj[d.prop],y=Object.keys(h),p=0;p<y.length;++p){var v=y[p],m=h[v];typeof m=="object"&&m!==null&&s.indexOf(m)===-1&&(o.push({obj:h,prop:v}),s.push(m))}return sA(o),r},hA=function(r){return Object.prototype.toString.call(r)==="[object RegExp]"},gA=function(r){return!r||typeof r!="object"?!1:!!(r.constructor&&r.constructor.isBuffer&&r.constructor.isBuffer(r))},vA=function(r,o){return[].concat(r,o)},pA=function(r,o){if(Wr(r)){for(var s=[],l=0;l<r.length;l+=1)s.push(o(r[l]));return s}return o(r)},Id={arrayToObject:kd,assign:cA,combine:vA,compact:dA,decode:uA,encode:fA,isBuffer:gA,isRegExp:hA,maybeMap:pA,merge:lA},Dd=rA,oa=Id,Xo=ll,_A=Object.prototype.hasOwnProperty,Td={brackets:function(r){return r+"[]"},comma:"comma",indices:function(r,o){return r+"["+o+"]"},repeat:function(r){return r}},Hn=Array.isArray,yA=Array.prototype.push,Rd=function(n,r){yA.apply(n,Hn(r)?r:[r])},mA=Date.prototype.toISOString,_f=Xo.default,Ot={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:oa.encode,encodeValuesOnly:!1,format:_f,formatter:Xo.formatters[_f],indices:!1,serializeDate:function(r){return mA.call(r)},skipNulls:!1,strictNullHandling:!1},bA=function(r){return typeof r=="string"||typeof r=="number"||typeof r=="boolean"||typeof r=="symbol"||typeof r=="bigint"},Bs={},xA=function n(r,o,s,l,d,h,y,p,v,m,b,w,x,D,M,R,k,C){for(var O=r,fe=C,J=0,te=!1;(fe=fe.get(Bs))!==void 0&&!te;){var z=fe.get(r);if(J+=1,typeof z<"u"){if(z===J)throw new RangeError("Cyclic object value");te=!0}typeof fe.get(Bs)>"u"&&(J=0)}if(typeof m=="function"?O=m(o,O):O instanceof Date?O=x(O):s==="comma"&&Hn(O)&&(O=oa.maybeMap(O,function(ve){return ve instanceof Date?x(ve):ve})),O===null){if(h)return v&&!R?v(o,Ot.encoder,k,"key",D):o;O=""}if(bA(O)||oa.isBuffer(O)){if(v){var ne=R?o:v(o,Ot.encoder,k,"key",D);return[M(ne)+"="+M(v(O,Ot.encoder,k,"value",D))]}return[M(o)+"="+M(String(O))]}var V=[];if(typeof O>"u")return V;var P;if(s==="comma"&&Hn(O))R&&v&&(O=oa.maybeMap(O,v)),P=[{value:O.length>0?O.join(",")||null:void 0}];else if(Hn(m))P=m;else{var ee=Object.keys(O);P=b?ee.sort(b):ee}var U=p?o.replace(/\./g,"%2E"):o,B=l&&Hn(O)&&O.length===1?U+"[]":U;if(d&&Hn(O)&&O.length===0)return B+"[]";for(var F=0;F<P.length;++F){var K=P[F],ce=typeof K=="object"&&typeof K.value<"u"?K.value:O[K];if(!(y&&ce===null)){var oe=w&&p?K.replace(/\./g,"%2E"):K,Ce=Hn(O)?typeof s=="function"?s(B,oe):B:B+(w?"."+oe:"["+oe+"]");C.set(r,J);var _e=Dd();_e.set(Bs,C),Rd(V,n(ce,Ce,s,l,d,h,y,p,s==="comma"&&R&&Hn(O)?null:v,m,b,w,x,D,M,R,k,_e))}}return V},AA=function(r){if(!r)return Ot;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.encodeDotInKeys<"u"&&typeof r.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(r.encoder!==null&&typeof r.encoder<"u"&&typeof r.encoder!="function")throw new TypeError("Encoder has to be a function.");var o=r.charset||Ot.charset;if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=Xo.default;if(typeof r.format<"u"){if(!_A.call(Xo.formatters,r.format))throw new TypeError("Unknown format option provided.");s=r.format}var l=Xo.formatters[s],d=Ot.filter;(typeof r.filter=="function"||Hn(r.filter))&&(d=r.filter);var h;if(r.arrayFormat in Td?h=r.arrayFormat:"indices"in r?h=r.indices?"indices":"repeat":h=Ot.arrayFormat,"commaRoundTrip"in r&&typeof r.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var y=typeof r.allowDots>"u"?r.encodeDotInKeys===!0?!0:Ot.allowDots:!!r.allowDots;return{addQueryPrefix:typeof r.addQueryPrefix=="boolean"?r.addQueryPrefix:Ot.addQueryPrefix,allowDots:y,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Ot.allowEmptyArrays,arrayFormat:h,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Ot.charsetSentinel,commaRoundTrip:r.commaRoundTrip,delimiter:typeof r.delimiter>"u"?Ot.delimiter:r.delimiter,encode:typeof r.encode=="boolean"?r.encode:Ot.encode,encodeDotInKeys:typeof r.encodeDotInKeys=="boolean"?r.encodeDotInKeys:Ot.encodeDotInKeys,encoder:typeof r.encoder=="function"?r.encoder:Ot.encoder,encodeValuesOnly:typeof r.encodeValuesOnly=="boolean"?r.encodeValuesOnly:Ot.encodeValuesOnly,filter:d,format:s,formatter:l,serializeDate:typeof r.serializeDate=="function"?r.serializeDate:Ot.serializeDate,skipNulls:typeof r.skipNulls=="boolean"?r.skipNulls:Ot.skipNulls,sort:typeof r.sort=="function"?r.sort:null,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Ot.strictNullHandling}},SA=function(n,r){var o=n,s=AA(r),l,d;typeof s.filter=="function"?(d=s.filter,o=d("",o)):Hn(s.filter)&&(d=s.filter,l=d);var h=[];if(typeof o!="object"||o===null)return"";var y=Td[s.arrayFormat],p=y==="comma"&&s.commaRoundTrip;l||(l=Object.keys(o)),s.sort&&l.sort(s.sort);for(var v=Dd(),m=0;m<l.length;++m){var b=l[m];s.skipNulls&&o[b]===null||Rd(h,xA(o[b],b,y,p,s.allowEmptyArrays,s.strictNullHandling,s.skipNulls,s.encodeDotInKeys,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,v))}var w=h.join(s.delimiter),x=s.addQueryPrefix===!0?"?":"";return s.charsetSentinel&&(s.charset==="iso-8859-1"?x+="utf8=%26%2310003%3B&":x+="utf8=%E2%9C%93&"),w.length>0?x+w:""},xo=Id,Ks=Object.prototype.hasOwnProperty,wA=Array.isArray,Rt={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:xo.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},CA=function(n){return n.replace(/&#(\d+);/g,function(r,o){return String.fromCharCode(parseInt(o,10))})},Ed=function(n,r){return n&&typeof n=="string"&&r.comma&&n.indexOf(",")>-1?n.split(","):n},kA="utf8=%26%2310003%3B",IA="utf8=%E2%9C%93",DA=function(r,o){var s={__proto__:null},l=o.ignoreQueryPrefix?r.replace(/^\?/,""):r,d=o.parameterLimit===1/0?void 0:o.parameterLimit,h=l.split(o.delimiter,d),y=-1,p,v=o.charset;if(o.charsetSentinel)for(p=0;p<h.length;++p)h[p].indexOf("utf8=")===0&&(h[p]===IA?v="utf-8":h[p]===kA&&(v="iso-8859-1"),y=p,p=h.length);for(p=0;p<h.length;++p)if(p!==y){var m=h[p],b=m.indexOf("]="),w=b===-1?m.indexOf("="):b+1,x,D;w===-1?(x=o.decoder(m,Rt.decoder,v,"key"),D=o.strictNullHandling?null:""):(x=o.decoder(m.slice(0,w),Rt.decoder,v,"key"),D=xo.maybeMap(Ed(m.slice(w+1),o),function(R){return o.decoder(R,Rt.decoder,v,"value")})),D&&o.interpretNumericEntities&&v==="iso-8859-1"&&(D=CA(D)),m.indexOf("[]=")>-1&&(D=wA(D)?[D]:D);var M=Ks.call(s,x);M&&o.duplicates==="combine"?s[x]=xo.combine(s[x],D):(!M||o.duplicates==="last")&&(s[x]=D)}return s},TA=function(n,r,o,s){for(var l=s?r:Ed(r,o),d=n.length-1;d>=0;--d){var h,y=n[d];if(y==="[]"&&o.parseArrays)h=o.allowEmptyArrays&&l===""?[]:[].concat(l);else{h=o.plainObjects?Object.create(null):{};var p=y.charAt(0)==="["&&y.charAt(y.length-1)==="]"?y.slice(1,-1):y,v=o.decodeDotInKeys?p.replace(/%2E/g,"."):p,m=parseInt(v,10);!o.parseArrays&&v===""?h={0:l}:!isNaN(m)&&y!==v&&String(m)===v&&m>=0&&o.parseArrays&&m<=o.arrayLimit?(h=[],h[m]=l):v!=="__proto__"&&(h[v]=l)}l=h}return l},RA=function(r,o,s,l){if(r){var d=s.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,h=/(\[[^[\]]*])/,y=/(\[[^[\]]*])/g,p=s.depth>0&&h.exec(d),v=p?d.slice(0,p.index):d,m=[];if(v){if(!s.plainObjects&&Ks.call(Object.prototype,v)&&!s.allowPrototypes)return;m.push(v)}for(var b=0;s.depth>0&&(p=y.exec(d))!==null&&b<s.depth;){if(b+=1,!s.plainObjects&&Ks.call(Object.prototype,p[1].slice(1,-1))&&!s.allowPrototypes)return;m.push(p[1])}return p&&m.push("["+d.slice(p.index)+"]"),TA(m,o,s,l)}},EA=function(r){if(!r)return Rt;if(typeof r.allowEmptyArrays<"u"&&typeof r.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof r.decodeDotInKeys<"u"&&typeof r.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(r.decoder!==null&&typeof r.decoder<"u"&&typeof r.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof r.charset<"u"&&r.charset!=="utf-8"&&r.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=typeof r.charset>"u"?Rt.charset:r.charset,s=typeof r.duplicates>"u"?Rt.duplicates:r.duplicates;if(s!=="combine"&&s!=="first"&&s!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var l=typeof r.allowDots>"u"?r.decodeDotInKeys===!0?!0:Rt.allowDots:!!r.allowDots;return{allowDots:l,allowEmptyArrays:typeof r.allowEmptyArrays=="boolean"?!!r.allowEmptyArrays:Rt.allowEmptyArrays,allowPrototypes:typeof r.allowPrototypes=="boolean"?r.allowPrototypes:Rt.allowPrototypes,allowSparse:typeof r.allowSparse=="boolean"?r.allowSparse:Rt.allowSparse,arrayLimit:typeof r.arrayLimit=="number"?r.arrayLimit:Rt.arrayLimit,charset:o,charsetSentinel:typeof r.charsetSentinel=="boolean"?r.charsetSentinel:Rt.charsetSentinel,comma:typeof r.comma=="boolean"?r.comma:Rt.comma,decodeDotInKeys:typeof r.decodeDotInKeys=="boolean"?r.decodeDotInKeys:Rt.decodeDotInKeys,decoder:typeof r.decoder=="function"?r.decoder:Rt.decoder,delimiter:typeof r.delimiter=="string"||xo.isRegExp(r.delimiter)?r.delimiter:Rt.delimiter,depth:typeof r.depth=="number"||r.depth===!1?+r.depth:Rt.depth,duplicates:s,ignoreQueryPrefix:r.ignoreQueryPrefix===!0,interpretNumericEntities:typeof r.interpretNumericEntities=="boolean"?r.interpretNumericEntities:Rt.interpretNumericEntities,parameterLimit:typeof r.parameterLimit=="number"?r.parameterLimit:Rt.parameterLimit,parseArrays:r.parseArrays!==!1,plainObjects:typeof r.plainObjects=="boolean"?r.plainObjects:Rt.plainObjects,strictNullHandling:typeof r.strictNullHandling=="boolean"?r.strictNullHandling:Rt.strictNullHandling}},MA=function(n,r){var o=EA(r);if(n===""||n===null||typeof n>"u")return o.plainObjects?Object.create(null):{};for(var s=typeof n=="string"?DA(n,o):n,l=o.plainObjects?Object.create(null):{},d=Object.keys(s),h=0;h<d.length;++h){var y=d[h],p=RA(y,s[y],o,typeof n=="string");l=xo.merge(l,p,o)}return o.allowSparse===!0?l:xo.compact(l)},PA=SA,LA=MA,OA=ll,NA={formats:OA,parse:LA,stringify:PA};const FA=yf(NA),Ys={StoredContexts:{},defaultHandler:()=>{}},Md={Init:()=>{},Create:n=>{const r=n.method+n.url;return Ys.StoredContexts[r]=n,jA(n)},FetchBaseUrl:()=>window.location.href,useDefaultHandler:n=>{Ys.defaultHandler=n}};function jA(n){const r=`[${n.method}] ${n.url}`;return{Call:async s=>{let{url:l,method:d,stream:h,paramType:y}=n;const{po:p,onStream:v,onStreamEnd:m,noDefaultHandle:b=[]}=s??{};(y==="query"||d==="GET")&&p!==void 0&&(l+="?"+FA.stringify(p,{arrayFormat:"comma"}));const w={method:d,headers:{Accept:"application/json;charset=UTF-8","X-Requested-With":"XMLHttpRequest","Cache-Control":"no-cache",Pragma:"no-cache",crossDomain:"true"}};if(y==="form"){const M=new FormData;if(p!==void 0)for(const R in p){const k=p[R];M.append(R,k)}w.body=M}else(y==="body"||y===void 0&&n.method!=="GET")&&(w.body=JSON.stringify(p),w.headers["Content-Type"]="application/json;charset=UTF-8");let x={errorCode:0,message:""};const D=Date.now();l=Md.FetchBaseUrl()+l;try{let M=await fetch(l,w);if(M.ok===!1)return x.errorCode=M.status,x.message=M.statusText,x;{const R=new TextDecoder("utf-8");if(h){if(M.body){let k=M.body.getReader(),C="";for(;;){const O=await k.read();if(O.done)break;const fe=R.decode(O.value).trim();C+=fe;let J=null;try{const te=fe.split("\0");let z=te[te.length-1];for(let ne=te.length-2;ne>=0;ne--)if(te[ne].trim().length!==0){z=te[ne];break}J=await JSON.parse(z)}catch{try{const z=C.split("\0");let ne=z[z.length-1];for(let V=z.length-2;V>=0;V--)if(z[V].trim().length!==0){ne=z[V];break}J=await JSON.parse(ne)}catch{}}if(J!=null&&(Object.keys(J).includes("err_code")?x.errorCode=J.err_code:(x.errorCode=0,x.data=J,C="",O.done?m==null||m(x.data):v==null||v(x.data))),O.done)break}}}else if(M.body){const C=await M.body.getReader().read(),O=R.decode(C.value);if(O==="null")return x;{let fe=await JSON.parse(O.replaceAll("\0",""));Object.keys(fe).includes("err_code")?(x.errorCode=fe.err_code,x.message=fe.err_msg):x.data=fe}}}}catch(M){console.warn(M),x.errorCode=-1,x.message=M.message}return console.debug(`${r} ${Date.now()-D}ms`),b!==!0&&await Ys.defaultHandler(x,b),x}}}async function BA(n){const r=new Promise((o,s)=>{const l=new FileReader;l.onloadend=()=>{l.result?typeof l.result=="string"?o(l.result):s(new Error("Failed to convert file to Base64: Invalid result type.")):s(new Error("Failed to convert file to Base64: Empty result."))},l.onerror=s,l.readAsDataURL(n)});try{return await r}catch{return}}function $A(n,r){var y,p;const o=n.split(","),s=(p=(y=o[0])==null?void 0:y.match(/:(.*?);/))==null?void 0:p[1],l=atob(o[1]);let d=l.length;const h=new Uint8Array(d);for(;d--;)h[d]=l.charCodeAt(d);return new File([h],r,{type:s})}const WA={toBase64:BA,toFile:$A};exports.ABase=_t;exports.ABaseStyleKeys=Tf;exports.AButton=Qt;exports.AButtonStyleKeys=Ef;exports.AButtonTypes=Sy;exports.ACheckBox=_o;exports.ACheckBoxStyleKeys=Lf;exports.AClock=qy;exports.AColFrame=td;exports.ADatePicker=el;exports.ADatePickerStyleKeys=Uf;exports.ADatePickerTypes=x2;exports.ADateRangePicker=tl;exports.ADateRangePickerStyleKeys=qf;exports.ADialog=tb;exports.ADialogStyleKeys=Of;exports.ADialogTypes=eb;exports.ADivideFrame=sm;exports.AFileBox=fb;exports.AFileBoxStyleKeys=Wf;exports.AFloatMenu=_b;exports.AFloatMenuKeys=Gf;exports.AFrameStyleKeys=Yf;exports.AGrow=Ur;exports.AIcon=kt;exports.AIconButton=ho;exports.AIconButtonStyleKeys=Vf;exports.AIconButtonTypes=wy;exports.AIconHOC=sy;exports.AIcons=Zs;exports.AInput=xr;exports.AInputStyleKeys=Mf;exports.AInputTypes=Am;exports.AListView=kb;exports.AListViewStyleKeys=Hf;exports.ALoadingBorderKeys=Cy;exports.AMultiSelect=Wb;exports.AMultiSelectStyleKeys=Ff;exports.ANumInput=xb;exports.AOverflowFrame=ei;exports.ARowFrame=qn;exports.ASelect=qr;exports.ASelectStyleKeys=Nf;exports.ASelectTypes=Vm;exports.ASpace=$t;exports.AStepper=nx;exports.AStepperStyleKeys=zf;exports.ASwitch=sx;exports.ASwitchFrame=nd;exports.ASwitchStyleKeys=Bf;exports.ATab=_x;exports.ATabStyleKeys=$f;exports.ATabTypes=px;exports.ATable=C3;exports.ATableStyleKeys=Kf;exports.AText=cd;exports.ATextArea=j3;exports.ATextAreaStyleKeys=Pf;exports.ATextAreaTypes=F3;exports.AThemeButton=Oy;exports.AThemes=ta;exports.ATooltip=Df;exports.ATooltipStyleKeys=Rf;exports.ATree=g6;exports.ATreeStyleKeys=jf;exports.AWrap=yo;exports.AWrapTypes=Uy;exports.ApiContext=Md;exports.ComponentStyleKeys=ky;exports.CreateADC=sb;exports.DarkTheme=Ly;exports.Dummy=bf;exports.EDir12=ti;exports.EDir4=Bt;exports.IsCursorPointer=Sf;exports.IsFixedShape=Af;exports.IsInteractive=wf;exports.NoSelect=xf;exports.Resources=Vn;exports.SetResources=Pm;exports.ThemeKeys=Dy;exports.bound=Go;exports.cbF=ht;exports.createEvent=$r;exports.dateF=se;exports.defaultPredicate=id;exports.fileF=WA;exports.numF=rd;exports.objF=We;exports.sF=X;exports.setDir12Style=Js;exports.setDir12StyleElem=kf;exports.strF=ed;exports.tableF=_r;exports.treeF=rr;exports.useADialogCore=ib;exports.useADialogCores=ob;exports.useEvent=sd;exports.useInit=od;exports.useTheme=y6;exports.useValues=Et;
package/dist/index.es.js CHANGED
@@ -4397,7 +4397,7 @@ const Q = {
4397
4397
  }, Ot = (n) => {
4398
4398
  const { icon: r, svgRef: o, ...s } = n, c = M(() => tc[r], [r]);
4399
4399
  return /* @__PURE__ */ l.jsx(c, { ...s });
4400
- }, _A = (n) => {
4400
+ }, pA = (n) => {
4401
4401
  const r = qe.keys(n);
4402
4402
  return (s) => {
4403
4403
  const { icon: c, svgRef: f, ...d } = s, p = M(() => r.includes(c) ? n[c] : tc[c], [c]);
@@ -5042,7 +5042,7 @@ const H0 = "_ABase_1ii07_1", z0 = "_UseDimming_1ii07_6", U0 = "_Dimmer_1ii07_6",
5042
5042
  Secondary: J0,
5043
5043
  AIconButton: X0,
5044
5044
  AThemeButton: Q0
5045
- }, pA = ["Primary", "Secondary", "Raw"], dn = (n) => {
5045
+ }, yA = ["Primary", "Secondary", "Raw"], dn = (n) => {
5046
5046
  const { type: r = "Primary", onClick: o, ...s } = n, c = M(
5047
5047
  () => s.isDisabled || s.isLoading,
5048
5048
  [s.isDisabled, s.isLoading]
@@ -5066,7 +5066,7 @@ const H0 = "_ABase_1ii07_1", z0 = "_UseDimming_1ii07_6", U0 = "_Dimmer_1ii07_6",
5066
5066
  onClick: f
5067
5067
  }
5068
5068
  );
5069
- }, yA = ["Primary", "Raw"], Xo = (n) => {
5069
+ }, mA = ["Primary", "Raw"], Xo = (n) => {
5070
5070
  const { icon: r, type: o = "Primary", onClick: s, isDisabled: c, isLoading: f, tooltip: d, className: p, ...v } = n, g = M(() => c || f, [c, f]), y = L(
5071
5071
  (S) => {
5072
5072
  g || s == null || s(S);
@@ -5281,11 +5281,11 @@ const H0 = "_ABase_1ii07_1", z0 = "_UseDimming_1ii07_6", U0 = "_Dimmer_1ii07_6",
5281
5281
  "--AFloatMenu_background-color",
5282
5282
  "--AFloatMenu_hover_background-color",
5283
5283
  "--AFloatMenu_color"
5284
- ], mA = [
5284
+ ], bA = [
5285
5285
  "--ALoadingBorder_background-color",
5286
5286
  "--ALoadingBorder_ProgressBar_background-color",
5287
5287
  "--ALoadingBorder_Cover_background-color"
5288
- ], bA = [
5288
+ ], xA = [
5289
5289
  ...ey,
5290
5290
  ...ty,
5291
5291
  ...ny,
@@ -5700,7 +5700,7 @@ const H0 = "_ABase_1ii07_1", z0 = "_UseDimming_1ii07_6", U0 = "_Dimmer_1ii07_6",
5700
5700
  "--ALoadingBorder_Cover_background-color": "var(--content-primary)"
5701
5701
  // #endregion
5702
5702
  // #endregion
5703
- }, nc = { "--ThemeName": "Default", ...xy }, xA = qe.keys(nc), po = [nc], En = {
5703
+ }, nc = { "--ThemeName": "Default", ...xy }, AA = qe.keys(nc), po = [nc], En = {
5704
5704
  themeName: "Default",
5705
5705
  save: "",
5706
5706
  followDeviceSetting: !1
@@ -5775,7 +5775,7 @@ function Iy({ themeName: n, save: r, followDeviceSetting: o }) {
5775
5775
  }
5776
5776
  n !== void 0 && (En.themeName = n), Rf(En.themeName);
5777
5777
  }
5778
- const AA = rc({
5778
+ const SA = rc({
5779
5779
  ...nc,
5780
5780
  "--ThemeName": "Dark",
5781
5781
  "--Body-background-color": "#161616",
@@ -5882,7 +5882,7 @@ const AA = rc({
5882
5882
  editTheme: wy,
5883
5883
  getStyleValue: Cy,
5884
5884
  init: Iy
5885
- }, SA = (n) => {
5885
+ }, wA = (n) => {
5886
5886
  const { onChange: r, onClick: o, ...s } = n, [c, f] = Oe(Es.getCurrentThemeName() === "Dark" ? "Moon" : "Sun"), d = L(
5887
5887
  (p) => {
5888
5888
  const v = Es.getCurrentThemeName();
@@ -5950,7 +5950,7 @@ const ky = "_ACheckBoxWrap_w2y46_1", Ty = "_ACheckBox_w2y46_1", Wu = {
5950
5950
  HelperTextConatiner: Oy,
5951
5951
  HelperText: My,
5952
5952
  Error: "_Error_911gx_31"
5953
- }, wA = ["Default", "Error"], oi = (n) => {
5953
+ }, CA = ["Default", "Error"], oi = (n) => {
5954
5954
  const { wrapProps: r, errorMessage: o, helperText: s, wrapType: c = "Default", label: f, children: d } = n, p = it(null), [v, g] = Oe({ height: 0 }), y = it(null), [m, S] = M(() => {
5955
5955
  let b = s, D = c;
5956
5956
  if (Array.isArray(o)) {
@@ -5975,7 +5975,7 @@ const ky = "_ACheckBoxWrap_w2y46_1", Ty = "_ACheckBox_w2y46_1", Wu = {
5975
5975
  d,
5976
5976
  m !== void 0 && /* @__PURE__ */ l.jsx("div", { className: Q.clsx(Yo.HelperTextConatiner, "NoSelect"), style: v, children: /* @__PURE__ */ l.jsx("div", { className: Q.clsx(Yo.HelperText, Yo[S]), ref: p, children: m }) })
5977
5977
  ] });
5978
- }, CA = (n) => {
5978
+ }, IA = (n) => {
5979
5979
  const {
5980
5980
  maxTicks: r = 300,
5981
5981
  interval: o = 1e3,
@@ -6108,7 +6108,7 @@ const le = {
6108
6108
  }, Xy = (n) => {
6109
6109
  const { value: r, map: o } = n;
6110
6110
  return /* @__PURE__ */ l.jsx(bf, { children: o[r] });
6111
- }, Ps = {}, IA = (n) => {
6111
+ }, Ps = {}, DA = (n) => {
6112
6112
  const {
6113
6113
  pk: r,
6114
6114
  direction: o = "Row",
@@ -6232,7 +6232,7 @@ const bo = () => /* @__PURE__ */ l.jsx("div", { style: { display: "flex", flexGr
6232
6232
  ReadOnly: fm,
6233
6233
  Error: "_Error_1grra_53",
6234
6234
  ANumInput: dm
6235
- }, DA = ["Primary", "Secondary", "ReadOnly", "Error"], Yr = (n) => {
6235
+ }, kA = ["Primary", "Secondary", "ReadOnly", "Error"], Yr = (n) => {
6236
6236
  const {
6237
6237
  onEnterPress: r,
6238
6238
  errorMessage: o,
@@ -6382,7 +6382,7 @@ function Am(n, r) {
6382
6382
  n[o] = r[o];
6383
6383
  });
6384
6384
  }
6385
- const kA = (n, r) => {
6385
+ const TA = (n, r) => {
6386
6386
  Am(lr[n], r);
6387
6387
  }, Sm = "_ASelect_1q1nn_1", wm = "_Arrow_1q1nn_14", Cm = "_Primary_1q1nn_23", Im = "_UnAvailable_1q1nn_34", Dm = "_IsOpen_1q1nn_34", km = "_Secondary_1q1nn_41", Tm = "_ValuesContainer_1q1nn_50", Rm = "_Values_1q1nn_50", Em = "_Options_1q1nn_69", Pm = "_Option_1q1nn_69", Lm = "_Selected_1q1nn_111", Om = "_CheckBox_1q1nn_118", Tn = {
6388
6388
  ASelect: Sm,
@@ -6397,7 +6397,7 @@ const kA = (n, r) => {
6397
6397
  Option: Pm,
6398
6398
  Selected: Lm,
6399
6399
  CheckBox: Om
6400
- }, TA = ["Primary", "Secondary"], xo = (n) => {
6400
+ }, RA = ["Primary", "Secondary"], xo = (n) => {
6401
6401
  const {
6402
6402
  options: r,
6403
6403
  useSelect: o,
@@ -6594,7 +6594,7 @@ const Nm = (n) => {
6594
6594
  IsHovered: a2,
6595
6595
  Week: s2,
6596
6596
  WeekDay: c2
6597
- }, RA = ["Primary", "Secondary", "Raw"], Ef = (n) => {
6597
+ }, EA = ["Primary", "Secondary", "Raw"], Ef = (n) => {
6598
6598
  const {
6599
6599
  type: r = "Primary",
6600
6600
  className: o,
@@ -7199,7 +7199,7 @@ const O2 = "_Paper_zwj6w_1", M2 = "_Card_zwj6w_15", N2 = "_Body_zwj6w_26", F2 =
7199
7199
  Content: j2,
7200
7200
  Action: B2,
7201
7201
  Button: $2
7202
- }, EA = ["okCancel", "cancelOk", "ok", "cancel", "none"], PA = (n) => {
7202
+ }, PA = ["okCancel", "cancelOk", "ok", "cancel", "none"], LA = (n) => {
7203
7203
  const {
7204
7204
  dlgCore: r,
7205
7205
  type: o = "okCancel",
@@ -7349,7 +7349,7 @@ const O2 = "_Paper_zwj6w_1", M2 = "_Card_zwj6w_15", N2 = "_Body_zwj6w_26", F2 =
7349
7349
  /* @__PURE__ */ l.jsx(dn, { ...y })
7350
7350
  ] })
7351
7351
  ] }, r);
7352
- }, LA = (n) => {
7352
+ }, OA = (n) => {
7353
7353
  const r = M(() => [], []), o = M(() => (r.length = 0, r.push(...n), r), [r, n]), [s, c] = Oe([]), f = it(
7354
7354
  (() => {
7355
7355
  const y = {};
@@ -7383,7 +7383,7 @@ const O2 = "_Paper_zwj6w_1", M2 = "_Card_zwj6w_15", N2 = "_Body_zwj6w_26", F2 =
7383
7383
  action: p[y]
7384
7384
  };
7385
7385
  }), v), [v, o, d, p]);
7386
- }, OA = () => {
7386
+ }, MA = () => {
7387
7387
  const [n, r] = Oe(!1), o = it({
7388
7388
  open: () => r(!0),
7389
7389
  close: () => {
@@ -7407,14 +7407,14 @@ const O2 = "_Paper_zwj6w_1", M2 = "_Card_zwj6w_15", N2 = "_Body_zwj6w_26", F2 =
7407
7407
  }, z2 = (n) => {
7408
7408
  const { dlgCore: r, children: o } = n, [s, c] = r.state.useIsOpen;
7409
7409
  return Se(() => () => c == null ? void 0 : c(!1), [c]), /* @__PURE__ */ l.jsx(bf, { children: s && o });
7410
- }, MA = (n) => (r) => {
7410
+ }, NA = (n) => (r) => {
7411
7411
  const { dlgCore: o } = r;
7412
7412
  return /* @__PURE__ */ l.jsx(z2, { dlgCore: o, children: sr.cloneElement(/* @__PURE__ */ l.jsx(n, { ...r }), { dlgCore: o }) });
7413
7413
  }, U2 = "_AFileBox_vo97x_1", q2 = "_SelectedFile_vo97x_16", V2 = "_Dropping_vo97x_26", ia = {
7414
7414
  AFileBox: U2,
7415
7415
  SelectedFile: q2,
7416
7416
  Dropping: V2
7417
- }, NA = (n) => {
7417
+ }, FA = (n) => {
7418
7418
  const {
7419
7419
  useFile: r,
7420
7420
  FileRenderer: o = K2,
@@ -7513,7 +7513,7 @@ const mt = {
7513
7513
  }, Z2 = "_AFloatMenu_1ohwp_1", J2 = "_Content_1ohwp_9", Ku = {
7514
7514
  AFloatMenu: Z2,
7515
7515
  Content: J2
7516
- }, FA = (n) => {
7516
+ }, jA = (n) => {
7517
7517
  const {
7518
7518
  defs: r,
7519
7519
  defaultDef: o,
@@ -7642,7 +7642,7 @@ function Q2(n) {
7642
7642
  }
7643
7643
  const eb = {
7644
7644
  parseInt: Q2
7645
- }, tb = `${Number.MAX_SAFE_INTEGER}`.length - 1, jA = (n) => {
7645
+ }, tb = `${Number.MAX_SAFE_INTEGER}`.length - 1, BA = (n) => {
7646
7646
  const {
7647
7647
  unit: r,
7648
7648
  type: o = "Secondary",
@@ -7700,7 +7700,7 @@ const eb = {
7700
7700
  Row: rb,
7701
7701
  Label: ob,
7702
7702
  Content: ib
7703
- }, BA = (n) => {
7703
+ }, $A = (n) => {
7704
7704
  const { defs: r, defaultDef: o, item: s, rowHeight: c, labelWidth: f, ...d } = n, p = M(() => ({
7705
7705
  content: sb,
7706
7706
  label: ab,
@@ -7752,7 +7752,7 @@ const eb = {
7752
7752
  Option: pb,
7753
7753
  Selected: yb,
7754
7754
  CheckBox: mb
7755
- }, $A = (n) => {
7755
+ }, WA = (n) => {
7756
7756
  const {
7757
7757
  options: r,
7758
7758
  useSelect: o,
@@ -7921,7 +7921,7 @@ const xb = (n) => {
7921
7921
  Right: Eb,
7922
7922
  ContentContainer: Pb,
7923
7923
  Content: Lb
7924
- }, WA = (n) => {
7924
+ }, HA = (n) => {
7925
7925
  const { useSelect: r, steps: o, StepRenderer: s = Yu, ContentRenderer: c = Yu } = n;
7926
7926
  if (o.length === 0)
7927
7927
  throw new Error("steps should have at least one element");
@@ -7951,7 +7951,7 @@ const xb = (n) => {
7951
7951
  Track: Mb,
7952
7952
  Truthy: Nb,
7953
7953
  Thumb: Fb
7954
- }, HA = (n) => {
7954
+ }, zA = (n) => {
7955
7955
  const {
7956
7956
  wrapProps: r,
7957
7957
  helperText: o,
@@ -7975,7 +7975,7 @@ const xb = (n) => {
7975
7975
  Primary: zb,
7976
7976
  Secondary: Ub,
7977
7977
  IsDiabled: qb
7978
- }, zA = ["Primary", "Secondary"], UA = (n) => {
7978
+ }, UA = ["Primary", "Secondary"], qA = (n) => {
7979
7979
  const {
7980
7980
  options: r,
7981
7981
  useSelect: o,
@@ -8949,7 +8949,7 @@ const Ex = "_ATableFooter_4nlon_1", Px = "_Button_4nlon_10", Lx = "_IsSelected_4
8949
8949
  ),
8950
8950
  m && /* @__PURE__ */ l.jsx("div", { className: Q.clsx(Un.TopRightAddon, Un.HItem), children: m })
8951
8951
  ] });
8952
- }, qA = (n) => {
8952
+ }, VA = (n) => {
8953
8953
  const {
8954
8954
  defs: r,
8955
8955
  pk: o,
@@ -9232,7 +9232,7 @@ const c3 = "_Base_1vu9b_1", l3 = "_ATextArea_1vu9b_5", u3 = "_Primary_1vu9b_33",
9232
9232
  Secondary: d3,
9233
9233
  ReadOnly: h3,
9234
9234
  Error: "_Error_1vu9b_65"
9235
- }, VA = ["Primary", "Secondary", "ReadOnly", "Error"], KA = (n) => {
9235
+ }, KA = ["Primary", "Secondary", "ReadOnly", "Error"], YA = (n) => {
9236
9236
  const {
9237
9237
  onEnterPress: r,
9238
9238
  errorMessage: o,
@@ -9698,7 +9698,7 @@ const Ar = {
9698
9698
  /* @__PURE__ */ l.jsx(At, { onClick: g, isDisabled: p, children: /* @__PURE__ */ l.jsx(Ot, { className: Dt.RightAddonIcon, icon: "ArrowUp", mask: "" }) }),
9699
9699
  /* @__PURE__ */ l.jsx(At, { onClick: y, isDisabled: v, children: /* @__PURE__ */ l.jsx(Ot, { className: Dt.RightAddonIcon, icon: "ArrowDown" }) })
9700
9700
  ] }) : /* @__PURE__ */ l.jsx(Ot, { className: Dt.RightAddonIcon, icon: "Search", onClick: m }) });
9701
- }, YA = (n) => {
9701
+ }, GA = (n) => {
9702
9702
  const {
9703
9703
  pk: r,
9704
9704
  selectDisabled: o,
@@ -9951,7 +9951,7 @@ const q3 = (n) => {
9951
9951
  /* @__PURE__ */ l.jsx(s3, { text: r })
9952
9952
  ] });
9953
9953
  };
9954
- function GA(n, r) {
9954
+ function ZA(n, r) {
9955
9955
  Se(() => {
9956
9956
  if (n.current)
9957
9957
  for (const o in r) {
@@ -11315,10 +11315,8 @@ async function hA(n) {
11315
11315
  const r = new Promise((o, s) => {
11316
11316
  const c = new FileReader();
11317
11317
  c.onloadend = () => {
11318
- c.result ? typeof c.result == "string" ? o(c.result.split(",")[1]) : s(new Error("Failed to convert file to Base64: Invalid result type.")) : s(new Error("Failed to convert file to Base64: Empty result."));
11319
- }, c.onerror = (f) => {
11320
- s(f);
11321
- }, c.readAsDataURL(n);
11318
+ c.result ? typeof c.result == "string" ? o(c.result) : s(new Error("Failed to convert file to Base64: Invalid result type.")) : s(new Error("Failed to convert file to Base64: Empty result."));
11319
+ }, c.onerror = s, c.readAsDataURL(n);
11322
11320
  });
11323
11321
  try {
11324
11322
  return await r;
@@ -11326,81 +11324,91 @@ async function hA(n) {
11326
11324
  return;
11327
11325
  }
11328
11326
  }
11329
- const ZA = {
11330
- toBase64: hA
11327
+ function gA(n, r) {
11328
+ var p, v;
11329
+ const o = n.split(","), s = (v = (p = o[0]) == null ? void 0 : p.match(/:(.*?);/)) == null ? void 0 : v[1], c = atob(o[1]);
11330
+ let f = c.length;
11331
+ const d = new Uint8Array(f);
11332
+ for (; f--; )
11333
+ d[f] = c.charCodeAt(f);
11334
+ return new File([d], r, { type: s });
11335
+ }
11336
+ const JA = {
11337
+ toBase64: hA,
11338
+ toFile: gA
11331
11339
  };
11332
11340
  export {
11333
11341
  At as ABase,
11334
11342
  ey as ABaseStyleKeys,
11335
11343
  dn as AButton,
11336
11344
  ny as AButtonStyleKeys,
11337
- pA as AButtonTypes,
11345
+ yA as AButtonTypes,
11338
11346
  ri as ACheckBox,
11339
11347
  iy as ACheckBoxStyleKeys,
11340
- CA as AClock,
11348
+ IA as AClock,
11341
11349
  Jy as AColFrame,
11342
11350
  Ef as ADatePicker,
11343
11351
  vy as ADatePickerStyleKeys,
11344
- RA as ADatePickerTypes,
11352
+ EA as ADatePickerTypes,
11345
11353
  Pf as ADateRangePicker,
11346
11354
  _y as ADateRangePickerStyleKeys,
11347
- PA as ADialog,
11355
+ LA as ADialog,
11348
11356
  ay as ADialogStyleKeys,
11349
- EA as ADialogTypes,
11350
- IA as ADivideFrame,
11351
- NA as AFileBox,
11357
+ PA as ADialogTypes,
11358
+ DA as ADivideFrame,
11359
+ FA as AFileBox,
11352
11360
  dy as AFileBoxStyleKeys,
11353
- FA as AFloatMenu,
11361
+ jA as AFloatMenu,
11354
11362
  by as AFloatMenuKeys,
11355
11363
  my as AFrameStyleKeys,
11356
11364
  bo as AGrow,
11357
11365
  Ot as AIcon,
11358
11366
  Xo as AIconButton,
11359
11367
  py as AIconButtonStyleKeys,
11360
- yA as AIconButtonTypes,
11361
- _A as AIconHOC,
11368
+ mA as AIconButtonTypes,
11369
+ pA as AIconHOC,
11362
11370
  wf as AIcons,
11363
11371
  Yr as AInput,
11364
11372
  ry as AInputStyleKeys,
11365
- DA as AInputTypes,
11366
- BA as AListView,
11373
+ kA as AInputTypes,
11374
+ $A as AListView,
11367
11375
  hy as AListViewStyleKeys,
11368
- mA as ALoadingBorderKeys,
11369
- $A as AMultiSelect,
11376
+ bA as ALoadingBorderKeys,
11377
+ WA as AMultiSelect,
11370
11378
  cy as AMultiSelectStyleKeys,
11371
- jA as ANumInput,
11379
+ BA as ANumInput,
11372
11380
  da as AOverflowFrame,
11373
11381
  cr as ARowFrame,
11374
11382
  xo as ASelect,
11375
11383
  sy as ASelectStyleKeys,
11376
- TA as ASelectTypes,
11384
+ RA as ASelectTypes,
11377
11385
  Kt as ASpace,
11378
- WA as AStepper,
11386
+ HA as AStepper,
11379
11387
  gy as AStepperStyleKeys,
11380
- HA as ASwitch,
11388
+ zA as ASwitch,
11381
11389
  Xy as ASwitchFrame,
11382
11390
  uy as ASwitchStyleKeys,
11383
- UA as ATab,
11391
+ qA as ATab,
11384
11392
  fy as ATabStyleKeys,
11385
- zA as ATabTypes,
11386
- qA as ATable,
11393
+ UA as ATabTypes,
11394
+ VA as ATable,
11387
11395
  yy as ATableStyleKeys,
11388
11396
  s3 as AText,
11389
- KA as ATextArea,
11397
+ YA as ATextArea,
11390
11398
  oy as ATextAreaStyleKeys,
11391
- VA as ATextAreaTypes,
11392
- SA as AThemeButton,
11399
+ KA as ATextAreaTypes,
11400
+ wA as AThemeButton,
11393
11401
  Es as AThemes,
11394
11402
  $0 as ATooltip,
11395
11403
  ty as ATooltipStyleKeys,
11396
- YA as ATree,
11404
+ GA as ATree,
11397
11405
  ly as ATreeStyleKeys,
11398
11406
  oi as AWrap,
11399
- wA as AWrapTypes,
11407
+ CA as AWrapTypes,
11400
11408
  fA as ApiContext,
11401
- bA as ComponentStyleKeys,
11402
- MA as CreateADC,
11403
- AA as DarkTheme,
11409
+ xA as ComponentStyleKeys,
11410
+ NA as CreateADC,
11411
+ SA as DarkTheme,
11404
11412
  I0 as Dummy,
11405
11413
  ma as EDir12,
11406
11414
  Vt as EDir4,
@@ -11409,14 +11417,14 @@ export {
11409
11417
  R0 as IsInteractive,
11410
11418
  D0 as NoSelect,
11411
11419
  lr as Resources,
11412
- kA as SetResources,
11413
- xA as ThemeKeys,
11420
+ TA as SetResources,
11421
+ AA as ThemeKeys,
11414
11422
  Gi as bound,
11415
11423
  mt as cbF,
11416
11424
  fo as createEvent,
11417
11425
  le as dateF,
11418
11426
  Yb as defaultPredicate,
11419
- ZA as fileF,
11427
+ JA as fileF,
11420
11428
  eb as numF,
11421
11429
  qe as objF,
11422
11430
  Q as sF,
@@ -11425,10 +11433,10 @@ export {
11425
11433
  Ey as strF,
11426
11434
  Ur as tableF,
11427
11435
  Ar as treeF,
11428
- OA as useADialogCore,
11429
- LA as useADialogCores,
11436
+ MA as useADialogCore,
11437
+ OA as useADialogCores,
11430
11438
  ox as useEvent,
11431
11439
  Kb as useInit,
11432
- GA as useTheme,
11440
+ ZA as useTheme,
11433
11441
  Nt as useValues
11434
11442
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.0.579",
3
+ "version": "1.0.580",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",