@inntechcorp/it-design 2.0.155 → 2.0.157

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ export type FormContextType = {
14
14
  setName: (name: string) => void;
15
15
  setInitialValues: (initialFields: {}, update?: boolean, validation?: boolean) => {};
16
16
  setInvalidField: (name: string, message: string) => void;
17
- setInvalidFields: (names: [], message: string) => void;
17
+ setInvalidFields: (names: string[], message: string) => void;
18
18
  setFieldValue: (name: string, value: FormValueProps) => void;
19
19
  setFieldValueByName: (name: string, value: FormValueProps, update: boolean, validation: boolean) => void;
20
20
  setFieldError: (name: string, message: string, validation?: boolean) => void;
package/dist/index.cjs.js CHANGED
@@ -538,4 +538,4 @@ function Ql(n,e){if(su(n))for(let o=0;o<n.length&&!1!==e(n[o],o,n);o++);else n&&
538
538
  position: relative;
539
539
  width: max-content;
540
540
 
541
- `,Mv=({label:n="",value:o=[],children:t=null,single:p=!1,minWidth:b=0,className:M="",onChange:z=null})=>{const c=e.useRef(null),[r,i]=e.useState(!1),[a,O]=e.useState([]),[s,d]=e.useState("");e.useEffect((()=>{o&&o.length>0&&t.length>0&&(O(o),e.Children.map(t,(n=>{n.props.value===o[0]&&d(n.props.children)})))}),[o,t]),iM(c,(()=>{i(!1)}));const A=(n,e)=>{if(z?z(n,e):console.warn("InlineSelect: 'onChange' method couldn't be called because it is not defined!"),p)O(n),d(e);else{const e=n[n.length-1];O(e||[])}};return e.createElement(bv,{className:(()=>{let n="itd-inline-select";return r&&(n+=" itd-inline-select-open"),""!==M&&(n+=" "+M),n})(),ref:c},e.createElement(pv,{onChange:n=>{i(n)},isOpen:r,count:a.length,single:p,label:(()=>{let e=p||!p&&1===a.length?s:n;return""===e?"··········":e})()}),e.createElement(ZR,{onChange:A,value:a,isOpen:r,single:p,minWidth:b},e.Children.map(t,(n=>{if(n&&n.hasOwnProperty("type")&&null!==n.type&&void 0!==n.type)return n.type===QR?e.cloneElement(n,{...n.props,onChange:A,single:p}):void 0}))))};Mv.Option=QR;var zv,cv,rv,iv,av,Ov,sv,dv,Av,lv=or.div(av||(av=l(["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"],["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"])),(function(){return Zc(zv||(zv=l(["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "],["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "])))}),(function(){return Zc(rv||(rv=l(["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "],["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "])))}),(function(){return Zc(iv||(iv=l(["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "],["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "])))}),(function(){return Zc(cv||(cv=l(["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "],["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "])))})),uv=or.span(Ov||(Ov=l(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"],["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"]))),qv=or.span(sv||(sv=l(["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"],["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"]))),fv=or.span(dv||(dv=l(["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"],["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"])),(function(n){return n.$noTitle?0:"5px"})),hv=or.div(Av||(Av=l(["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"],["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"]))),Wv=function(e){var o=e.type,t=void 0===o?"info":o,b=e.size,M=void 0===b?"small":b,z=e.title,c=void 0===z?"":z,r=e.className,i=void 0===r?"":r,a=e.children,O=void 0===a?"":a,s=function(){var n="itd-alert";return n+=" itd-alert-"+t,n+=" itd-alert-"+("x-small"===M?"xs":"small"===M?"sm":"medium"===M?"md":"default"===M?"df":"large"===M?"lg":"x-large"===M?"xlg":"df"),""!==i&&(n+=" "+i),n};return n.jsxs(lv,{className:s(),children:[n.jsx(hv,{children:n.jsx(p.ReactSVG,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' stroke-linecap='round' stroke-linejoin='round'%3e %3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e %3cline x1='12' x2='12' y1='8' y2='12'%3e%3c/line%3e %3cline x1='12' x2='12.01' y1='16' y2='16'%3e%3c/line%3e%3c/svg%3e"})}),n.jsxs(fv,{$noTitle:!c,children:[""!==c?n.jsx(uv,{children:c}):null,""!==O?n.jsx(qv,{children:O}):null]})]})};Wv.displayName="ITD-Alert";var gv=or.div(wv||(wv=l(['\n\n position: relative;\n width: 100%;\n\n input[type="file"] {\n\n width: 100%;\n height: 100%;\n position: absolute;\n opacity: 0;\n \n }\n\n'],['\n\n position: relative;\n width: 100%;\n\n input[type="file"] {\n\n width: 100%;\n height: 100%;\n position: absolute;\n opacity: 0;\n \n }\n\n']))),mv=or.div(Xv||(Xv=l(["\n\n >img {\n max-width: 70%;\n }\n\n transition-property: border-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n border: 1px solid ",";\n border-radius: 6px;\n padding: ",";\n //overflow: hidden;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n height: 100px;\n min-height: 100px;\n\n position: relative;\n\n"],["\n\n >img {\n max-width: 70%;\n }\n\n transition-property: border-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n border: 1px solid ",";\n border-radius: 6px;\n padding: ",";\n //overflow: hidden;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n height: 100px;\n min-height: 100px;\n\n position: relative;\n\n"])),(function(n){return n.$hasError?"#f8285a":n.$showBorder&&!n.$disabled?"#252f4a60":"#DBDFE9"}),(function(n){return n.$padding+"px"})),Rv=or.label(kv||(kv=l(["\n\n display: block;\n\n outline: ",";\n outline-offset: 1px;\n border-radius: 6px;\n\n transition-property: outline-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n"],["\n\n display: block;\n\n outline: ",";\n outline-offset: 1px;\n border-radius: 6px;\n\n transition-property: outline-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n"])),(function(n){return n.$showFocus?"2px solid #1b84ff":"2px solid #1b84ff00"})),vv=or.div(Sv||(Sv=l(["\n\n position: absolute;\n top: 50%;\n right: 15px;\n transform: translateY(-50%);\n\n"],["\n\n position: absolute;\n top: 50%;\n right: 15px;\n transform: translateY(-50%);\n\n"]))),Lv=or.div(Ev||(Ev=l(["\n\n display: flex;\n justify-content: center;\n align-items: center;\n padding: ",";\n\n img {\n width: ",";\n height: ",";\n }\n\n"],["\n\n display: flex;\n justify-content: center;\n align-items: center;\n padding: ",";\n\n img {\n width: ",";\n height: ",";\n }\n\n"])),(function(n){return n.$padding?"string"==typeof n.$padding?n.$padding:n.$padding+"px":"100%"}),(function(n){return n.$width?"string"==typeof n.$width?n.$width:n.$width+"px":"100%"}),(function(n){return n.$height?"string"==typeof n.$height?n.$height:n.$height+"px":"100%"})),yv=or.div(Cv||(Cv=l(["\n\n transition-property: all;\n transition-duration: 0ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n transition-delay: 0ms;\n //animation-direction: reverse;\n\n position: absolute;\n top: 150%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n display: flex;\n flex-direction: column;\n width: 100%;\n \n span {\n &:nth-child(1) {\n color: #000000;\n font-weight: 600; \n font-size: 14px;\n text-align: center;\n }\n &:nth-child(2) {\n color: #00000090;\n font-weight: 500;\n font-size: 12px;\n text-align: center;\n }\n }\n\n ","\n\n"],["\n\n transition-property: all;\n transition-duration: 0ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n transition-delay: 0ms;\n //animation-direction: reverse;\n\n position: absolute;\n top: 150%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n display: flex;\n flex-direction: column;\n width: 100%;\n \n span {\n &:nth-child(1) {\n color: #000000;\n font-weight: 600; \n font-size: 14px;\n text-align: center;\n }\n &:nth-child(2) {\n color: #00000090;\n font-weight: 500;\n font-size: 12px;\n text-align: center;\n }\n }\n\n ","\n\n"])),(function(n){return n.$isHover&&Zc(Tv||(Tv=l(["\n top: 50%;\n "],["\n top: 50%;\n "])))})),xv=or.div(Dv||(Dv=l(["\n\n position: absolute;\n\n display: flex;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n animation-direction: reverse;\n\n width: 100%;\n height: 100%;\n background-color: #ffffff00;\n backdrop-filter: blur(0px);\n border-radius: 5px;\n overflow: hidden;\n\n ","\n\n"],["\n\n position: absolute;\n\n display: flex;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n animation-direction: reverse;\n\n width: 100%;\n height: 100%;\n background-color: #ffffff00;\n backdrop-filter: blur(0px);\n border-radius: 5px;\n overflow: hidden;\n\n ","\n\n"])),(function(n){return n.$isHover&&Zc(_v||(_v=l(["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "],["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "])))})),Nv=or.div(jv||(jv=l(["\n\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n width: 100%;\n height: 100%;\n background-color: #1b84ff00;\n border-radius: 5px;\n overflow: hidden;\n\n span, div {\n\n color: #ffffff00;\n z-index: 1;\n pointer-events: none;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n }\n \n ","\n\n"],["\n\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n width: 100%;\n height: 100%;\n background-color: #1b84ff00;\n border-radius: 5px;\n overflow: hidden;\n\n span, div {\n\n color: #ffffff00;\n z-index: 1;\n pointer-events: none;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n }\n \n ","\n\n"])),(function(n){var e=n.$isActive,o=n.$complete,t=n.$error;return e&&Zc(Pv||(Pv=l(["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "],["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "])),o?"#91DB7D":t?"#ff0000":"#1b84ff")})),Bv=or.div(Iv||(Iv=l(['\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n content: "";\n\n background-color : ',";\n width : ",";\n"],['\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n content: "";\n\n background-color : ',";\n width : ",";\n"])),(function(n){return n.$complete?"#91DB7D":n.$error?"#ff0000":"#54A3FF"}),(function(n){return n.$progress+"%"}));or.div(Fv||(Fv=l(["\n\n position: absolute;\n border: 1px solid #f8285a;\n width: calc(100% + 2px);\n height: calc(100% + 2px);\n border-radius: 6px;\n top: -1px;\n left: -1px;\n pointer-events: none;\n z-index: 1;\n\n"],["\n\n position: absolute;\n border: 1px solid #f8285a;\n width: calc(100% + 2px);\n height: calc(100% + 2px);\n border-radius: 6px;\n top: -1px;\n left: -1px;\n pointer-events: none;\n z-index: 1;\n\n"])));var wv,Xv,kv,Sv,Ev,Tv,Cv,_v,Dv,Pv,jv,Iv,Fv,Uv,$v,Vv,Hv,Yv,Gv,Kv,Qv,Jv,Zv,nL,eL,oL,tL=or.div(Uv||(Uv=l(['\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n color: #000000CC;\n font-size: 10px;\n cursor: pointer;\n position: relative;\n\n &:hover {\n color: #000000;\n }\n\n &[data-icon="i"] {\n &::before {\n padding: 4px;\n border-radius: 50px;\n }\n }\n\n'],['\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n color: #000000CC;\n font-size: 10px;\n cursor: pointer;\n position: relative;\n\n &:hover {\n color: #000000;\n }\n\n &[data-icon="i"] {\n &::before {\n padding: 4px;\n border-radius: 50px;\n }\n }\n\n']))),pL=or(tL)($v||($v=l(["\n\n &::before {\n background-color: #f8285a;\n }\n\n"],["\n\n &::before {\n background-color: #f8285a;\n }\n\n"]))),bL=or.span(Vv||(Vv=l(['\n \n position: absolute;\n display: flex;\n justify-content: center;\n align-items: flex-end;\n\n font-size: 13px;\n line-height: 14px;\n\n border-radius: 5px;\n padding: 10px 7px;\n right: -14px;\n bottom: 32px;\n color: #ffffff;\n background: #f8285a;\n width: max-content;\n max-width: 210px;\n\n z-index: 2;\n\n &::after {\n\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n bottom: -6px;\n right: 17px;\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-top: 10px solid #f8285a;\n\n }\n\n'],['\n \n position: absolute;\n display: flex;\n justify-content: center;\n align-items: flex-end;\n\n font-size: 13px;\n line-height: 14px;\n\n border-radius: 5px;\n padding: 10px 7px;\n right: -14px;\n bottom: 32px;\n color: #ffffff;\n background: #f8285a;\n width: max-content;\n max-width: 210px;\n\n z-index: 2;\n\n &::after {\n\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n bottom: -6px;\n right: 17px;\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-top: 10px solid #f8285a;\n\n }\n\n']))),ML=e.forwardRef((function(o,t){var p=o.resultFileName,b=void 0===p?null:p,M=o.action,z=void 0===M?"":M,c=o.filePath,r=void 0===c?"":c,i=o.binaryName,a=void 0===i?"file":i,A=o.showDeleteIcon,l=void 0!==A&&A,u=o.showPreviewIcon,q=void 0!==u&&u,f=o.padding,h=void 0===f?10:f,W=o.fileHeight,g=void 0===W?"100%":W,m=o.previewFileWidth,R=void 0===m?"100%":m,v=o.previewFileHeight,L=void 0===v?"100%":v,y=o.previewFilePadding,x=void 0===y?"0":y,N=o.requestMethod,B=void 0===N?"put":N,w=o.maxFileSize,X=void 0===w?1024:w,k=o.disabled,S=void 0!==k&&k,E=o.extraFormData,T=void 0===E?{}:E,C=o.extraQueryString,_=void 0===C?{}:C,D=o.extraHeader,P=void 0===D?{}:D,j=o.fileTypes,I=void 0===j?[exports.FileTypes.JPG,exports.FileTypes.PNG,exports.FileTypes.SVG,exports.FileTypes.PDF]:j,F=o.removeAction,U=void 0===F?"":F,$=o.removeExtraFormData,V=void 0===$?{}:$,H=o.removeExtraQueryString,Y=void 0===H?{}:H,G=o.removeExtraHeader,K=void 0===G?{}:G,Q=o.onUpdate,J=o.onUploadSuccess,Z=o.onUploadFailed,nn=o.onRemoveFileSuccess,en=o.onRemoveFileFailed,on=e.useRef(null),tn=Fd.useNotifications().addNotification,pn=ba.useModal().showModal,bn=dM(),Mn=bn.fetch,zn=bn.cancel,cn=Wn().t,rn=e.useState(!1),an=rn[0],On=rn[1],sn=e.useState(!1),dn=sn[0],An=sn[1],ln=e.useState(".svg, .png, .jpg"),un=ln[0],qn=ln[1],fn=e.useState(!1),hn=fn[0],gn=fn[1],mn=e.useState(!1),Rn=mn[0],vn=mn[1],Ln=e.useState(!1),yn=Ln[0],xn=Ln[1],Nn=e.useState(null),Bn=Nn[0],wn=Nn[1],Xn=e.useState(null),kn=Xn[0],Sn=Xn[1],En=e.useState(""),Tn=En[0],Cn=En[1],_n=e.useState(!1),Dn=_n[0],Pn=_n[1],jn=e.useState(!1),In=jn[0],Fn=jn[1],Un=e.useState(null),$n=Un[0],Vn=Un[1],Hn=e.useState(!1),Yn=Hn[0],Gn=Hn[1],Kn=e.useState(null),Qn=Kn[0],Jn=Kn[1];e.useEffect((function(){return function(){zn()}}),[]),e.useEffect((function(){An(S)}),[S]),e.useEffect((function(){Sn(r?r.split("?")[0]:"")}),[r]),e.useEffect((function(){null!==kn&&(void 0!==kn?ee():On(!1))}),[kn]),e.useEffect((function(){var n=[];I.map((function(e){n.push(zA(e))})),qn(n.join(", "))}),[I]);var Zn=function(n,e){tn({title:n,description:e,placement:"topRight",autoHide:!0,delay:5e3,type:"error"})},ne=function(n,e,o){void 0===e&&(e=!0),void 0===o&&(o=!0),Q&&Q(n,e,o)};e.useImperativeHandle(t,(function(){return{setFocus:function(){xn(!0)},reset:function(n,e){void 0===n&&(n=!1),void 0===e&&(e=!1),oe(),Sn(null),Cn(""),ne("",n,e)},setValue:function(n,e,o){void 0===e&&(e=!0),void 0===o&&(o=!0),Sn(n),ne(n,e,o)},getValue:function(){return kn||""},setError:function(n){Cn(n)},forceUpdate:function(){ne(kn||"")},clear:function(){Sn("")}}}));var ee=function(){return s(void 0,void 0,void 0,(function(){var n;return d(this,(function(e){switch(e.label){case 0:return n=!1,kn?(console.time("Checking file completed in"),[4,bA(kn)]):[3,2];case 1:n=e.sent(),wn(n),n?ne(kn):ne("",!0,!0),an||On(!0),console.timeEnd("Checking file completed in"),e.label=2;case 2:return""!==kn||an||On(!0),""===kn&&an&&ne("",!0,!0),[2]}}))}))},oe=function(){Jn(null),Vn(null),Gn(!1),wn(null)},te=function(){return s(void 0,void 0,void 0,(function(){return d(this,(function(e){return An(!0),pn({content:n.jsx("div",{children:cn("uploader.areYouSureToDeleteThisFile")}),title:cn("uploader.removeFile"),okButtonText:cn("uploader.yes"),cancelButtonText:cn("uploader.no"),okButtonProps:{variant:"statable",state:"reject"},closeOnClickOutside:!1,showCloseButton:!1,onOk:function(){return U?Mn({action:U,params:V,queries:Y,headers:K,onFetched:function(n){n.data.success?(oe(),ne("",!0,!0),nn&&nn(n.data.data)):en&&en()},onError:function(){en&&en()}}):(oe(),ne("",!0,!0),nn&&nn()),An(!1),!0},onCancel:function(){return An(!1),!0}}),[2]}))}))},pe=function(n){n.preventDefault(),In||vn(!0)},be=function(n){n.preventDefault(),In||vn(!1)},ze=function(n){n.preventDefault(),In||(vn(!1),n.dataTransfer&&0!==n.dataTransfer.files.length?ie(n.dataTransfer.files[0]):console.log(cn("uploader.browserDoesntSupportDND")))},ce=function(n){vn(!1);var e=n.target.files[0];ie(e)},re=function(n){return s(void 0,[n],void 0,(function(n){var e=n.path,o=n.errorMessage,t=n.errorCode;return d(this,(function(n){switch(n.label){case 0:return[4,cA(1e3)];case 1:return n.sent(),Vn(null),Fn(!1),[4,cA(1500)];case 2:return n.sent(),Gn(!1),e?J&&J(e):o&&Z&&Z(o,t||0),[2]}}))}))},ie=function(n){if(n&&function(n){return!!I.includes(n.type)||(Zn(cn("uploader.error"),cn("uploader.fileFormatError",{fileFormat:un})),!1)}(n)&&function(n){return!(n.size>1024*X&&(Zn(cn("uploader.error"),cn("uploader.fileSizeError",{fileSize:MA(1024*X)})),1))}(n)){if(b){var e=zA(n.type);n=new File([n],b+e,{type:e,lastModified:n.lastModified})}!function(n){s(void 0,void 0,void 0,(function(){var e;return d(this,(function(o){return n?((e=new FormData).append(a,n),b&&e.append("name",b),Object.keys(T).forEach((function(n){e.append(n,T[n])})),Mn({action:z,requestMethod:B,params:e,queries:_,headers:P,onFetched:function(n){n.data.success?(Jn({message:cn("uploader.fileUploadSuccess"),status:"success"}),Gn(!0),Sn(n.data.data.url),re({path:n.data.data.url})):(Jn({message:cn("uploader.fileUploadFailed"),status:"error"}),ne("",!0,!0),re({errorMessage:cn("uploader.fileUploadFailed")}))},onError:function(n,e){Jn({message:cn("uploader.fileUploadFailed"),status:"error"}),ne("",!0,!0),re({errorMessage:n,errorCode:e})},onProgress:function(n){Vn({estimated:n.estimated?(Math.round(100*n.estimated)/100).toFixed(2):"0",progress:n.progress?Math.round(100*n.progress):0,bytes:n.bytes?MA(n.bytes):"",total:n.total?MA(n.total):""})}}),[2]):[2]}))}))}(n),Fn(!0)}},ae=function(){An(!0),pn({content:n.jsx(Lv,{className:"itd-upload-preview-content",$width:R,$height:L,$padding:x,children:n.jsx(pi,{src:kn})}),showOkButton:!1,showCancelButton:!1,contentPadding:"0px",width:"max-content",onCancel:function(){return An(!1),!0}})},Oe=function(){if(l&&kn&&!In&&Bn)return n.jsx("span",{children:n.jsx(Ti,{variant:"solid",size:"small",type:"button",circle:!0,onClick:te,disabled:dn,icon:n.jsx(SA,{width:16,height:16}),className:"itd-upload-delete-button"})})},se=function(){if(q&&kn&&!In&&Bn)return n.jsx("span",{children:n.jsx(Ti,{variant:"solid",size:"small",type:"button",circle:!0,onClick:ae,disabled:dn,icon:n.jsx(EA,{width:16,height:16}),className:"itd-upload-preview-button"})})},de=n.jsx("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("g",{id:"Error",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:n.jsxs("g",{id:"ErrorGroup",fillRule:"nonzero",children:[n.jsx("circle",{id:"ErrorBackground",fill:"#F8285A",cx:"10",cy:"10",r:"10"}),n.jsx("path",{d:"M10.0355339,8.6213203 L12.863961,5.79289322 C13.2544853,5.40236893 13.8876503,5.40236893 14.2781746,5.79289322 C14.6686989,6.18341751 14.6686989,6.81658249 14.2781746,7.20710678 L11.4497475,10.0355339 \n L14.2781746,12.863961 C14.6686989,13.2544853 14.6686989,13.8876503 14.2781746,14.2781746 C13.8876503,14.6686989 13.2544853,14.6686989 12.863961,14.2781746 L10.0355339,11.4497475 L7.20710678,14.2781746\n C6.81658249,14.6686989 6.18341751,14.6686989 5.79289322,14.2781746 C5.40236893,13.8876503 5.40236893,13.2544853 5.79289322,12.863961 L8.6213203,10.0355339 L5.79289322,7.20710678 C5.40236893,6.81658249\n 5.40236893,6.18341751 5.79289322,5.79289322 C6.18341751,5.40236893 6.81658249,5.40236893 7.20710678,5.79289322 L10.0355339,8.6213203 Z",id:"ErrorIcon",fill:"#FFFFFF"})]})})}),Ae=function(){if(""!==Tn&&!In){var e={className:"itd-upload-failed itd-failed-status",onPointerOver:function(){return Pn(!0)},onPointerOut:function(){return Pn(!1)}};return n.jsxs(pL,O({},e,{children:[Dn?n.jsx(bL,{className:"itd-upload-error-tooltip itd-error-tooltip",children:Tn}):null,de]}))}},le=function(){if(an)return null===Bn?n.jsx(BA,{width:24,height:24}):!1===Bn?n.jsx(TA,{width:40,height:40}):n.jsx(pi,{src:kn,height:g})};return function(e){return void 0===e&&(e=Me("itd-upload-")),n.jsxs(gv,{className:"itd-upload",children:[n.jsx("input",{type:"file",id:e,accept:un,onChange:ce,onFocus:function(){return xn(!0)},onBlur:function(){return xn(!1)},onClick:function(){var n;null===(n=on.current)||void 0===n||n.blur()},disabled:In||dn,ref:on}),n.jsx(Rv,{htmlFor:e,$showFocus:yn,className:"itd-upload-label",children:n.jsxs(mv,{$showBorder:(Rn||hn)&&!In,$padding:h,$disabled:S,$hasError:""!==Tn&&!In,className:"itd-upload-content",children:[le(),n.jsxs(Nv,{className:"itd-upload-status",$isActive:In,$complete:"success"===(null==Qn?void 0:Qn.status),$error:"error"===(null==Qn?void 0:Qn.status),children:[n.jsx(Bv,{className:"itd-upload-status-box",$progress:$n?$n.progress:0,$complete:"success"===(null==Qn?void 0:Qn.status),$error:"error"===(null==Qn?void 0:Qn.status)}),n.jsx("span",{className:"itd-upload-status-message",children:cn(Yn||Qn?String(null==Qn?void 0:Qn.message):"uploader.fileUploading")}),$n?n.jsx("span",{className:"itd-upload-status-info",children:cn("uploader.info",{total:$n.total,estimated:$n.estimated})}):n.jsx("span",{className:"itd-upload-status-calculating",children:cn("uploader.calculating")})]}),(o=(hn||Rn)&&!In&&!dn,n.jsx(xv,{onPointerOver:function(){!Rn&&gn(!0)},onPointerOut:function(){!Rn&&gn(!1)},onDragOver:pe,onDragLeave:be,onDrop:ze,$isHover:o,className:"itd-upload-overlay",children:n.jsxs(yv,{$isHover:o,className:"itd-upload-overlay-content",children:[n.jsx("span",{className:"itd-upload-header",children:cn("uploader.header")}),n.jsx("span",{className:"itd-upload-hint",children:cn("uploader.hint")})]})})),n.jsxs(vv,{children:[n.jsxs(Cy,{vertical:!0,gap:"small",className:"itd-upload-icons",children:[Oe(),se()]}),Ae()]})]})})]});var o}()})),zL=or.section(Hv||(Hv=l(["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"],["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"]))),cL=tr(Yv||(Yv=l(["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"],["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"]))),rL=or.div(Gv||(Gv=l(["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"],["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"]))),iL=or.div(Kv||(Kv=l(["\n\n animation: "," 0.5s ease-out;\n transition: all 0.5s ease-out;\n transform-origin: 50% 50%;\n opacity: 1;\n\n padding: 50px 20px 40px;\n border-radius: 6px;\n width: 100%;\n height: ",";\n max-width: ",";\n background-color: ",";\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n \n"],["\n\n animation: "," 0.5s ease-out;\n transition: all 0.5s ease-out;\n transform-origin: 50% 50%;\n opacity: 1;\n\n padding: 50px 20px 40px;\n border-radius: 6px;\n width: 100%;\n height: ",";\n max-width: ",";\n background-color: ",";\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n \n"])),cL,(function(n){return"true"===n.$fill?"100%":"auto"}),(function(n){return"true"===n.$fill?"100%":"500px"}),(function(n){return"default"===n.$type?"#10233b":"#0E153180"})),aL=or.div(Qv||(Qv=l(['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n'],['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n']))),OL=or.div(Jv||(Jv=l(["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"],["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"]))),sL=or.div(Zv||(Zv=l(["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"],["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"]))),dL=or.div(nL||(nL=l(["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"],["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"]))),AL=or.div(eL||(eL=l(["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"],["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"]))),lL=or.div(oL||(oL=l(["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"],["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"]))),uL=function(o){var t=o.image,p=void 0===t?"":t,b=o.title,M=void 0===b?"":b,z=o.description,c=void 0===z?"":z,r=o.extra,i=void 0===r?null:r,a=o.footer,O=void 0===a?null:a,s=o.type,d=void 0===s?"default":s,A=o.fill,l=void 0!==A&&A,u=o.autoCenter,q=void 0===u||u,f=e.useState(""),h=f[0],W=f[1];e.useEffect((function(){""!==p&&W(p)}),[p]);var g,m=function(){if(i)return n.jsx(OL,{className:"itd-result-extras",children:i})},R=function(){if(O)return n.jsx(sL,{className:"itd-result-footer",children:O})};return n.jsx(zL,{className:(g="itd-result",g+=" itd-result-"+d,q&&(g+=" itd-result-auto-center"),l&&(g+=" itd-result-fill"),g),children:n.jsx(rL,{className:"itd-result-content-wrapper",children:n.jsxs(iL,{className:"itd-result-content",$autoCenter:q,$type:d,$fill:l.toString(),children:[n.jsxs(dL,{className:"itd-result-body",children:[n.jsx(aL,{className:"itd-image-wrapper",children:n.jsx(pi,{src:h})}),n.jsx(AL,{className:"itd-result-title",children:M}),n.jsx(lL,{className:"itd-result-sub-title",children:c})]}),m(),R()]})})})};uL.displayName="ITD-Result";var qL,fL,hL,WL=or.div(qL||(qL=l(["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "],["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "]))),gL=or.a(fL||(fL=l(["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "],["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "])),(function(n){return n.$show?"visible":"hidden"}),(function(n){return n.$show?mL:"none"})),mL=tr(hL||(hL=l(["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"],["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"])));var RL,vL,LL={"gray-1":{background:"#F9F9F9",text:"#0714374D"},"gray-2":{background:"#F9F9F9",text:"#585455"},"gray-3":{background:"#F5F5F5",text:"#071437"},green:{background:"#DFFFEA",text:"#17C653"},yellow:{background:"#FFF8DD",text:"#F6C000"},red:{background:"#FFEEF3",text:"#F8285A"},brown:{background:"#FFF3F1",text:"#CB6F5B"},lavender:{background:"#FCF3FF",text:"#AB60C0"},blue:{background:"#F1F4FF",text:"#3256D9"},pink:{background:"#FFEEF6",text:"#E25698"},violet:{background:"#F5F1FF",text:"#7239EA"},"filled-red":{background:"#F8285A",text:"#F7EFF1"},"filled-yellow":{background:"#F6C000",text:"#FBFAF4"},"filled-pink":{background:"#CC79E3",text:"#F7F3F9"},"filled-blue":{background:"#1B84FF",text:"#EDF0F4"},"filled-green":{background:"#17C653",text:"#F5FAF6"},"filled-purple":{background:"#C417C6",text:"#F6F0F6"},"filled-black":{background:"#071437",text:"#F1F3F7"}},yL=or.div(vL||(vL=l(["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"],["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"])),(function(n){var e,o=n.$status;return e=o,Zc(RL||(RL=l(["\n background: ",";\n span {\n color: ",";\n }\n "],["\n background: ",";\n span {\n color: ",";\n }\n "])),LL[e].background,LL[e].text)}));var xL,NL,BL={normal:{background:"#1B84FF",remaining:"#efefef"},active:{background:"#1B84FF",remaining:"#efefef"},success:{background:"#17C653",remaining:"#efefef"},exception:{background:"#F8285A",remaining:"#efefef"}},wL=or.div(NL||(NL=l(["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"],["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"])),(function(n){return n.$percent+"%"}),(function(n){var e,o=n.$status;return e=o,Zc(xL||(xL=l(["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "],["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "])),BL[e].remaining,BL[e].background,BL[e].background)}));var XL,kL,SL,EL,TL,CL,_L,DL,PL,jL,IL,FL,UL,$L,VL,HL,YL,GL,KL,QL,JL,ZL,ny,ey,oy,ty,py,by,My,zy,cy,ry,iy,ay,Oy,sy,dy,Ay,ly,uy,qy,fy,hy,Wy=or.div(XL||(XL=l(["\n\n height: ",";\n\n"],["\n\n height: ",";\n\n"])),(function(n){return n.$height?n.$height+"px":"75px"})),gy=or.div(_L||(_L=l(["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"],["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"])),(function(n){if(n.$isBold)return Zc(kL||(kL=l(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "])))}),(function(n){return n.$isBold?Zc(SL||(SL=l(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "]))):Zc(EL||(EL=l(["\n span {\n color: #071437;\n }\n "],["\n span {\n color: #071437;\n }\n "])))}),(function(n){return n.$isBold?Zc(TL||(TL=l(["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "],["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "]))):Zc(CL||(CL=l(["\n span {\n font-weight: 500;\n }\n "],["\n span {\n font-weight: 500;\n }\n "])))})),my=or.div(DL||(DL=l(["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"],["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"]))),Ry=function(o){var t=o.tabs,p=void 0===t?[]:t,b=o.activeTabKey,M=void 0===b?"":b,c=o.variant,r=void 0===c?"default":c,i=o.height,a=o.onTabChange,O=e.useState(M),s=O[0],d=O[1];e.useEffect((function(){s!==M&&d(M)}),[M]);var A=function(n,e){return o=!1,p.map((function(n){n.link&&(o=!0)})),o?"":s?s===n?"active":"":M&&0===e?"active":"";var o},l=function(n){d(n),a&&a(n)},u=function(e,o){return n.jsx("a",{className:A(e.key,o),onClick:function(){return l(e.key)},children:n.jsx("span",{children:e.tab})})},q=function(e,o){return n.jsx(z.NavLink,{className:A(e.key,o),onClick:function(){return l(e.key)},to:e.link?e.link:"",children:n.jsx("span",{children:e.tab})})};return n.jsxs(Wy,{$height:i,className:"itd-tabs",children:[n.jsx(gy,{$isBold:"bold"===r,children:n.jsx("ul",{children:p.map((function(e,o){return n.jsx("li",{children:e.link?q(e,o):u(e,o)},e.key)}))})}),function(){var e=p.filter((function(n){return n.key===s}))[0];if(e&&e.children)return n.jsx(my,{className:"itd-content-body",children:e.children})}()]})},vy=or.div(PL||(PL=l(["\n position: relative;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"],["\n position: relative;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"]))),Ly=or.div(jL||(jL=l(["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"],["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"])),(function(n){return n.$minWidth?n.$minWidth+"px":"200px"}),(function(n){return n.$minHeight?n.$minHeight+"px":"100px"}),(function(n){return n.$hasHeader?"75px 1fr":"1fr"})),yy=or.div(FL||(FL=l(["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"],["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"])),(function(n){if(void 0===n.$showSeparator||!0===n.$showSeparator)return Zc(IL||(IL=l(["\n border-bottom: 1px solid #f1f1f4;\n "],["\n border-bottom: 1px solid #f1f1f4;\n "])))})),xy=or.div(UL||(UL=l(["\n padding: 20px 0;\n height: 100%;\n"],["\n padding: 20px 0;\n height: 100%;\n"]))),Ny=or.div($L||($L=l(["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"],["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"])),(function(n){return n.$padding?n.$padding:"30px"})),By=or.div(VL||(VL=l(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"],["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"]))),wy=or.div(by||(by=l(["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"],["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"])),(function(n){return"x-small"===n.$size?Zc(HL||(HL=l(["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"small"===n.$size?Zc(YL||(YL=l(["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"medium"===n.$size?Zc(GL||(GL=l(["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"default"===n.$size?Zc(KL||(KL=l(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"large"===n.$size?Zc(QL||(QL=l(["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):"x-large"===n.$size?Zc(JL||(JL=l(["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):Zc(ZL||(ZL=l(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "])))}),(function(n){return n.$noGaps?Zc(ny||(ny=l(["\n padding-left: 0;\n padding-right: 0;\n "],["\n padding-left: 0;\n padding-right: 0;\n "]))):"x-small"===n.$size?Zc(ey||(ey=l(["\n padding-left: 10px;\n padding-right: 10px;\n "],["\n padding-left: 10px;\n padding-right: 10px;\n "]))):"small"===n.$size||"medium"===n.$size||"default"===n.$size?Zc(oy||(oy=l(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "]))):"large"===n.$size||"x-large"===n.$size?Zc(ty||(ty=l(["\n padding-left: 20px;\n padding-right: 20px;\n "],["\n padding-left: 20px;\n padding-right: 20px;\n "]))):Zc(py||(py=l(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "])))})),Xy=or.div(My||(My=l(["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"],["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"]))),ky=or.span(cy||(cy=l(["\n\n ","\n \n"],["\n\n ","\n \n"])),(function(n){if(n.$overflow)return Zc(zy||(zy=l(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "],["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "])))})),Sy=or.span(iy||(iy=l(["\n\n ","\n\n"],["\n\n ","\n\n"])),(function(n){if(n.$overflow)return Zc(ry||(ry=l(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "],["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "])))})),Ey=e.forwardRef((function(o,t){var p=o.columns,b=o.data,M=o.cellHeight,z=o.size,c=void 0===z?"default":z,r=o.headless,i=void 0!==r&&r,a=o.bordered,s=void 0!==a&&a,d=o.dashed,A=void 0!==d&&d,l=o.noGaps,u=void 0!==l&&l,q=o.overflow,f=void 0!==q&&q,h=o.hideGroupButtons,W=void 0!==h&&h,g=o.getTRProps,m=Wn().t,R=e.useState(new Set),v=R[0],L=R[1],y=function(n){L((function(e){var o=new Set(e);return o.has(n)?o.delete(n):o.add(n),o}))};e.useImperativeHandle(t,(function(){return{toggleRow:y,expandedRows:v}}));var x,N=function(n,e){var o={};return"string"==typeof n.width?o.width=n.width:"number"==typeof n.width?o.minWidth=n.width+"px":o.width="auto",void 0!==n.maxWidth&&("string"==typeof n.maxWidth?o.maxWidth=n.maxWidth:"number"==typeof n.maxWidth&&(o.maxWidth=n.maxWidth+"px")),"td"===e&&("string"==typeof M?o.height=M:"number"==typeof M?o.minHeight=M+"px":o.height="auto"),o},B=function(){var n=!1;return null==b||b.map((function(e){e.hasOwnProperty("children")&&(n=!0)})),!W&&n},w=function(n,e,o){return g?g(n,e,o):{}},X=function(n,e,o){var t,p=((t={})["data-index"]=e+"_"+n,t["data-level"]=e,t);return e>0&&(0===n&&(p["data-first"]="true"),n===o-1&&(p["data-last"]="true")),p},k=function(o,t){return void 0===t&&(t=0),o.map((function(b,M){return n.jsxs(e.Fragment,{children:[n.jsxs("tr",O({},X(M,t,null==o?void 0:o.length),w(b,M,t),{children:[B()?b.children?n.jsx("td",{style:{width:"40px"},children:n.jsx("div",{className:"expand-button",children:n.jsx(Ti,{variant:"filled",size:"x-small",onClick:function(){return y(b.key)},circle:!0,children:n.jsx("span",{children:v.has(b.key)?"-":"+"})})})}):n.jsx("td",{}):null,p.map((function(e){return n.jsx("td",{style:N(e,"td"),children:n.jsx(Sy,{$overflow:f,title:String(b[e.dataIndex]),children:e.render?e.render(b[e.dataIndex],b,t):e.dataIndex?String(b[e.dataIndex]):null})},String(e.key)+"_"+M+"_"+t)}))]})),b.children&&v.has(b.key)&&k(b.children,t+1)]},String(t+"_"+M+"_"+b.key))}))};return n.jsx(wy,{$size:c,$noGaps:u,children:n.jsxs("table",{className:(x="itd-table",x+=" itd-table-"+li(c),i&&(x+=" itd-table-headless"),s&&(x+=" itd-table-bordered"),u&&(x+=" itd-table-no-gaps"),b||(x+=" itd-table-empty"),0===(null==b?void 0:b.length)&&(x+=" itd-table-no-data"),x+=A?" itd-table-dashed":" itd-table-solid",x+=" itd-table-main-table"),children:[function(){if(!i)return n.jsx("thead",{children:n.jsxs("tr",{children:[B()&&n.jsx("th",{style:{maxWidth:"40px"}}),p.map((function(e){return n.jsx("th",{style:N(e,"th"),children:n.jsx(ky,{$overflow:f,title:e.title,children:e.title})},String(e.key))}))]})})}(),b?0===b.length?n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(Xy,{children:n.jsxs("div",{children:[n.jsx(CA,{height:30}),n.jsx("span",{children:m("table.noData")})]})})})})}):n.jsx("tbody",{children:k(b)}):n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(Xy,{})})})})]})})})),Ty=or.div(hy||(hy=l(["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"],["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"])),(function(n){if(n.$stretch&&!0===n.$stretch)return n.$vertical&&!0===n.$vertical?Zc(ay||(ay=l(["\n height : 100%;\n "],["\n height : 100%;\n "]))):Zc(Oy||(Oy=l(["\n width : 100%;\n "],["\n width : 100%;\n "])))}),(function(n){if(n.$wrap)return!0===n.$wrap&&Zc(sy||(sy=l(["\n flex-wrap : wrap;\n "],["\n flex-wrap : wrap;\n "])))}),(function(n){return n.$vertical?!0===n.$vertical&&Zc(dy||(dy=l(["\n flex-direction : column;\n "],["\n flex-direction : column;\n "]))):Zc(Ay||(Ay=l(["\n flex-direction : row;\n "],["\n flex-direction : row;\n "])))}),(function(n){if(n.$justify)return Zc(ly||(ly=l(["\n justify-content : ",";\n "],["\n justify-content : ",";\n "])),n.$justify)}),(function(n){return n.$align?Zc(uy||(uy=l(["\n align-items : ",";\n "],["\n align-items : ",";\n "])),n.$align):Zc(qy||(qy=l(["\n align-items : center;\n "],["\n align-items : center;\n "])))}),(function(n){if(n.$gap){var e=0,o="";return"small"===n.$gap?e=10:"medium"===n.$gap?e=16:"large"===n.$gap?e=24:"string"==typeof n.$gap?o=n.$gap:e=n.$gap,""===o&&(o=e+"px"),Zc(fy||(fy=l(["\n gap : ",";\n "],["\n gap : ",";\n "])),o)}})),Cy=function(e){var o=e.gap,t=e.justify,p=e.align,b=e.vertical,M=e.wrap,z=e.stretch,c=e.style,r=e.className,i=e.children;return n.jsx(Ty,{$gap:o,$justify:t,$align:p,$vertical:b,$wrap:M,$stretch:z,style:c,className:r,children:i})};on.use(un).init({preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["translation"],defaultNS:["translation"],initImmediate:!1,debug:!1,resources:{}}),on.addResourceBundle("en","translation",{success:"Success",error:"Error",table:{noData:"No Data"},placeholders:{username:"Username",email:"E-Mail",password:"Password",confirmPassword:"Confirm password",typeYourNoteHere:"Type your note here",selectGender:"Select Gender",selectLanguage:"Select Language",selectCountry:"Select Country",birthday:"Birthday",multipleSelection:"Selected ({{- count}})"},options:{all:"All",male:"Male",female:"Female",languages:{turkish:"Turkish",english:"English"}},buttons:{submit:"Submit",reset:"Reset"},errors:{required:"This field is required!",minLength:"Should contain at least {{- length}} characters",maxLength:"Is too long. Max size is {{- length}}",passwordRule:"Your password must be at least 8 characters long, contain at least one digit, one uppercase letter, one lowercase letter, one special character, and must not contain spaces.",invalidEmailAddress:"Invalid email address",passwordsDontMatch:"The two passwords that you entered do not match!",usernameRule:"Only English letters, digits and symbols (-_). No space is allowed",wrongTCIdentity:"Wrong TC Identity Number",fieldMustBeTheSame:"This field must be the same as: {{- fields}}"},uploader:{header:"Drag and drop an file",hint:"or Browse to choose a file",fileUploading:"File uploading...",info:"Total: {{- total}} - {{- estimated}} s remaining.",delete:"Delete",preview:"Preview",error:"Error",fileFormatError:"You can only upload {{fileFormat}} file",fileSizeError:"File must smaller than {{fileSize}}",fileUploadSuccess:"File successfully uploaded.",fileUploadFailed:"File upload failed!",removeFileSuccess:"File successfully delete!",browserDoesntSupportDND:"Browser doesn't support drag and drop!",calculating:"Calculating...",removeFile:"Remove File",areYouSureToDeleteThisFile:"Are you sure to delete this file?",yes:"Yes",no:"No"},results:{authentication:{title:"You Need To Sign In",subtitle:"You need to login to access this page. Please login by clicking the button below.",button:"LOGIN"}},countries:O({},xn)}),on.addResourceBundle("tr","translation",{success:"Başarılı",error:"Hata",table:{noData:"Veri Yok"},placeholders:{username:"Kullanıcı adı",email:"E-Posta",password:"Şifre",confirmPassword:"Şifre tekrar",typeYourNoteHere:"Notunuzu buraya yazınız",selectGender:"Cinsiyet Seçin",selectLanguage:"Dil Seçin",selectCountry:"Ülke Seçin",birthday:"Doğum Tarihi",multipleSelection:"Seçili ({{- count}})"},options:{all:"Hepsi",male:"Erkek",female:"Kadın",languages:{turkish:"Türkçe",english:"İngilizce"}},buttons:{submit:"Gönder",reset:"Temizle"},errors:{required:"Bu alan zorunludur!",minLength:"En az {{- length}} karakter olmalıdır",maxLength:"Çok uzun. Maks uzunluk {{- length}} karakter olmalıdır.",exactLength:"This field must be {{- length}} characters long.",passwordRule:"Şifreniz en az 8 harf olmalı, bir rakam, bir büyük ve bir küçük harf, bir özel karakter içermeli ve boşluk kullanılmamalıdır.",invalidEmailAddress:"Geçersiz e-posta adresi",passwordsDontMatch:"Girdiğiniz şifreler birbirleriyle uyuşmuyor!",usernameRule:"Harf, sayı ve bazı özel karakterlerden oluşmalıdır (-_). Boşluk kullanılmamalıdır",wrongTCIdentity:"TC Kimlik Numarası Yanlış",fieldMustBeTheSame:"Bu alan şunlarla aynı olmalıdır: {{- fields}}"},uploader:{header:"Bir resmi sürükleyip bırakın",hint:"ya da bir dosya seçmek için tıklayın.",fileUploading:"Dosya yükleniyor...",info:"Toplam: {{- total}} - {{- estimated}} sn kaldı.",delete:"Sil",preview:"Önizleme",error:"Hata",fileFormatError:"Yalnızca {{fileFormat}} dosyası yükleyebilirsiniz.",fileSizeError:"Dosya boyutu {{fileSize}}'den küçük olmalıdır.",fileUploadSuccess:"Dosya başarıyla yüklendi.",fileUploadFailed:"Dosya yüklenemedi!",removeFileSuccess:"Dosya başarıyla silindi!",browserDoesntSupportDND:"Tarayıcı taşı&bırak özelliğini desteklemiyor!",calculating:"Hesaplanıyor...",removeFile:"Dosya Silme",areYouSureToDeleteThisFile:"Bu dosyayı silmek istediğinize emin misiniz?",yes:"Evet",no:"Hayır"},results:{authentication:{title:"Üye Girişi Gerekiyor",subtitle:"Bu bölüme ulaşmanız için üye girişi yapmanız gerekiyor. Aşağıdaki tuşa tıklayarak lütfen üye girişi yapınız.",button:"GİRİŞ YAP"}},countries:O({},yn)}),exports.ALink=xR,exports.Accordion=VW,exports.AddDefaultThemeStyle=function(){var n=document.createElement("style");document.head.appendChild(n),n.textContent=":root{color: #ffffff}"},exports.AddZero=function(n){var e=Number(n),o=n.toString().split(".");return(-1===n.toString().indexOf(".")||o[1].length<3||o[1].length>2)&&(n=(e=e.toFixed(2)).toString()),parseFloat(n).toFixed(2)},exports.Alert=Wv,exports.ArrowIcon=NA,exports.BackToTop=wA,exports.BackTop=function(o){var t=o.children,p=void 0===t?null:t,b=e.useState(!1),M=b[0],z=b[1];e.useEffect((function(){return document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)}}),[]);var c=function(){z(document.body.scrollTop>window.innerHeight)},r=function(){window.scrollTo({top:0,behavior:"smooth"})};return n.jsx(WL,{className:"itd-back-to-top",children:n.jsx(gL,{onClick:r,$show:M,children:p||n.jsx(wA,{width:30,height:30})})})},exports.Button=Ti,exports.Calendar=wg,exports.Card=function(o){var t=o.title,p=o.titleSeparator,b=o.extra,M=o.tabs,z=o.onTabChange,c=o.minWidth,r=o.minHeight,i=o.children,a=o.activeTabKey,O=void 0===a?"":a,s=o.updating,d=void 0!==s&&s,A=o.contentPadding,l=void 0===A?"30px":A;e.useEffect((function(){}));var u=function(){if(b)return n.jsx(By,{className:"itd-card-extra",children:b})},q=function(){if(M)return n.jsx(Ry,{tabs:M,activeTabKey:O,onTabChange:function(n){return z&&z(n)}})},f=function(){if(t)return n.jsx(xy,{className:"itd-card-title",children:n.jsx(LA,{children:t})})},h=function(){return!!(t||b||M)};return n.jsx(vy,{children:n.jsx(qr,{updating:d,children:n.jsxs(Ly,{className:"itd-card",$minWidth:c,$minHeight:r,$hasHeader:h(),children:[function(){if(h())return n.jsxs(yy,{$showSeparator:p,className:"itd-card-header",children:[f(),q(),u()]})}(),function(){if(i)return n.jsx(Ny,{className:"itd-card-body",$padding:l,children:i})}()]})})})},exports.CheckFileURL=bA,exports.Checkbox=el,exports.Checkmark=XA,exports.ChunkArray=function(n,e){var o=0,t=[];for(o=0;o<n.length;o+=e){var p=n.slice(o,o+e);"object"!=typeof p&&t.push(p)}return t},exports.Collapse=SR,exports.ConsoleLog=Dn,exports.ConvertCurrency=function(n,e){return n||(n=0),tA(n,"TRY"===e?"₺":"USD"===e?"$":"EUR"===e?"€":"?")},exports.DatePicker=Dg,exports.DetermineNewHeight=function(n,e,o){return n/e*o},exports.DetermineNewWidth=function(n,e,o){return e/n*o},exports.FileChecker=function(n,e){void 0===n&&(n="config"),void 0===e&&(e="resource");var o=void 0!==performance.getEntries().filter((function(n){return n.entryType===e})).filter((function(e){return e.name.indexOf(n)>-1}))[0];return o?console.log("script already loaded"):console.log("script was not loaded"),o},exports.FindSelector=cM,exports.Flex=Cy,exports.Form=BW,exports.FormatBytes=MA,exports.FormatDate=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="D MMMM YYYY dddd"),AA(new Date(n)).locale(e).format(o)},exports.FormatDateTime=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="D MMMM YYYY dddd - HH:mm"),AA(new Date(n)).locale(e).format(o)},exports.FormatSimpleDate=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="D MMMM YYYY"),AA(new Date(n)).locale(e).format(o)},exports.FormatSimpleDateTime=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="MM/DD/YYYY - HH:mm"),AA(new Date(n)).locale(e).format(o)},exports.FormatTime=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="HH:mm"),AA(n).locale(e).format(o)},exports.GetByCurrency=function(n,e,o){if(void 0===e&&(e=!0),void 0===o&&(o=""),""===o)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");isNaN(n)&&(n=0);var t=oA(o);return e?new Intl.NumberFormat(t,{style:"currency",currency:o}).format(n):n},exports.GetCountryCodeByCurrencyCode=oA,exports.GetCountryCodeByLanguage=function(n){return"tr"===n?"tur":"en"===n?"usa":"language_not_found"},exports.GetCurrencyFormat=function(n,e){if(void 0===e&&(e=""),""===e)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return""===n?"":n="".concat(pA(e)).concat(n).replace(/\B(?=(\d{3})+(?!\d))/g,".")},exports.GetCurrencySymbol=pA,exports.GetDecimalByCurrency=function(n){if(void 0===n&&(n=""),""===n)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return"TRY"===n?",":"EUR"===n||"USD"===n?".":","},exports.GetTypeByFileType=zA,exports.H1=function(e){var o=e.children;return n.jsx(gA,{children:n.jsx("span",{children:o})})},exports.H2=LA,exports.H3=function(e){var o=e.children;return n.jsx(RA,{children:n.jsx("span",{children:o})})},exports.H4=yA,exports.ITDContext=eA,exports.ITDProvider=function(o){var t=e.useState(o.theme?o.theme:"dark"),p=t[0],b=t[1],M=e.useState(o.dateFormat?o.dateFormat:"MM/DD/YYYY"),z=M[0],c=M[1],r=e.useState(o.language?o.language:"en"),i=r[0],a=r[1],O=e.useState("en-US"),s=O[0],d=O[1],A=e.useState(""),l=A[0],u=A[1];e.useEffect((function(){o.theme&&q(o.theme),o.language&&h(o.language),o.dateFormat&&f(o.dateFormat)}),[o.theme,o.language,o.dateFormat]);var q=function(n){b(n)},f=function(n){c(n)},h=function(n){a(n),on.changeLanguage(n)},W={theme:p,brokenImage:l,dateFormat:z,language:i,locale:s,changeTheme:q,changeBrokenImage:function(n){u(n)},changeDateFormat:f,changeLanguage:h,changeLocale:function(n){d(n)}};return n.jsx(nA,{className:"itd-provider","data-theme":p,"data-lang":i,children:n.jsx(eA.Provider,{value:W,children:n.jsx(Id,{children:n.jsx(Qd,{children:n.jsx(pa,{children:o.children})})})})})},exports.Image=pi,exports.InlineSelect=Mv,exports.InlineSelectArrow=kA,exports.Input=tR,exports.IsValidJSON=function(n){n="string"!=typeof n?JSON.stringify(n):n;try{n=JSON.parse(String(n))}catch(n){return!1}return"object"==typeof n&&null!==n},exports.LockIcon=xA,exports.ModalManager=ba,exports.NoData=CA,exports.Notification=Fd,exports.Picture=TA,exports.Progress=function(e){var o,t=e.status,p=e.percent,b=void 0===p?0:p,M=e.alwaysShowPercent,z=void 0!==M&&M,c=e.showInfo,r=void 0===c||c,i=e.className,a=void 0===i?"":i,O=n.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"})}),s=n.jsx("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),d=function(){return t||(b<100?"normal":"success")},A=function(){if(r)return n.jsx("span",{className:"itd-progress-status",children:l()})},l=function(){var e=d();return"active"===e||"normal"===e||z?n.jsx("span",{className:"itd-progress-status-text",children:b+"%"}):"success"===e?O:"exception"===e?s:void 0};return n.jsx(wL,{$status:d(),$percent:b,className:(o="itd-progress",o+=" itd-progress-"+t,o+=" itd-progress-percent-"+b,""!==a&&null!==a&&(o+=" "+a),o),children:n.jsxs("div",{className:"itd-progress-outer",children:[n.jsx("div",{className:"itd-progress-inner",children:n.jsx("div",{className:"itd-progress-bg"})}),A()]})})},exports.Radio=VR,exports.RemoveUnits=function(n){return n?(n=n.replaceAll("%","").replaceAll("px","").replaceAll("em","").replaceAll("ex","").replaceAll("ch","").replaceAll("rem","").replaceAll("vw","").replaceAll("vh","").replaceAll("vmin","").replaceAll("vmax","").replaceAll("pt","").replaceAll("pc","").replaceAll("in","").replaceAll("mm","").replaceAll("cm",""),parseInt(n)):0},exports.Result=uL,exports.SVGLoader=function(e,o,t){return n.jsx(OA,{$width:o,$height:t,children:n.jsx(p.ReactSVG,{src:e})})},exports.Select=MW,exports.Spin=qr,exports.Status=function(e){var o,t=e.variant,p=void 0===t?"gray-1":t,b=e.size,M=void 0===b?"default":b,z=e.stretch,c=void 0!==z&&z,r=e.children,i=void 0===r?"":r,a=e.className,O=void 0===a?"":a;return n.jsx(yL,{$status:p,className:(o="itd-status",o+=" itd-status-"+p,o+=" itd-status-"+li(M),c&&(o+=" itd-status-stretch"),""!==O&&null!==O&&(o+=" "+O),o),children:n.jsx("span",{children:i})})},exports.Switch=vR,exports.Table=Ey,exports.Tabs=Ry,exports.TextArea=lR,exports.TinyScrollbar=Bh,exports.Tooltip=Jd,exports.Trash=SA,exports.UniUpperCase=function(n,e){void 0===n&&(n=""),void 0===e&&(e="tr");var o={i:"İ","ş":"Ş","ğ":"Ğ","ü":"Ü","ö":"Ö","ç":"Ç","ı":"I"};return"tr"===e&&(n=n.replace(/(([iışğüçö]))/g,(function(n){return o[n]}))),n.toUpperCase()},exports.UpdateThemeStyle=function(n){var e="",o=document.styleSheets[0];Object.keys(n).forEach((function(o){e+="".concat(o,":").concat(n[o],";")})),o.hasOwnProperty("cssRules")&&(o.cssRules[0].style.cssText=e)},exports.Upload=ML,exports.UploadIcon=BA,exports.Wait=cA,exports.ZoomIn=EA,exports.ZoomOut=function(e){var o=e.className,t=void 0===o?"":o,p=e.height,b=void 0===p?24:p,M=e.width,z=void 0===M?24:M;return n.jsx("svg",{className:t,height:b,width:z,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:n.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[n.jsx("rect",{x:"0",y:"0",width:"24",height:"24"}),n.jsx("path",{d:"M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z",fill:"#000000",fillRule:"nonzero",opacity:"0.3"}),n.jsx("path",{d:"M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z",fill:"#000000",fillRule:"nonzero"}),n.jsx("rect",{fill:"#000000",opacity:"0.3",x:"9",y:"10.5",width:"4",height:"1",rx:"0.5"})]})})},exports.useAddExternalCSS=function(n,o){void 0===o&&(o=!1),e.useEffect((function(){var e=!1,p=document.head,b=t();return document.querySelectorAll("head > link").forEach((function(o){-1!==o.href.indexOf(n)&&(e=!0)})),e||p.appendChild(b),function(){o&&document.querySelectorAll("head > link").forEach((function(e){-1!==e.href.indexOf(n)&&document.head.removeChild(e)}))}}),[n]);var t=function(){var e=document.createElement("link");return e.type="text/css",e.rel="stylesheet",e.href=n,e}},exports.useComponentSize=function(n){var o=e.useState({width:0,height:0}),t=o[0],p=o[1];return e.useEffect((function(){if(n.current){var e=new ResizeObserver((function(n){n.forEach((function(n){var e=n.target;p({width:e.clientWidth,height:e.clientHeight})}))}));return e.observe(n.current),function(){return e.disconnect()}}}),[n]),[t]},exports.useConnectionStatus=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("online",e),function(){window.removeEventListener("online",e)}}),[n])},exports.useConstructor=function(n){void 0===n&&(n=function(){});var o=e.useState(!1),t=o[0],p=o[1];t||(n(),p(!0))},exports.useContextBridge=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];if(0===o.length)return function(e){var o=e.children;return n.jsx(n.Fragment,{children:o})};var p=o.map(e.useContext),b=e.useRef(p);return b.current=p,e.useMemo((function(){return function(e){var t=e.children;return o.reduceRight((function(e,o,t){return n.jsx(o.Provider,{value:b.current[t],children:e})}),t)}}),[])},exports.useCoreFetch=dM,exports.useCreateDynamicStyle=function(n,o,t){void 0===t&&(t=Me("itd-dynamic-style")),e.useEffect((function(){return z()||p(),function(){var n=c();"string"!=typeof n&&n.parentNode&&n.parentNode.removeChild(n)}}),[]);var p=function(){r(),o("cs-"+t)},z=function(){return 0===Object.keys(n).length},c=function(){var n="";return document.querySelectorAll("head > style").forEach((function(e){e.id===t&&(n=e)})),n},r=function(){var e=i(n),o=document.createElement("style");o.setAttribute("type","text/css"),o.setAttribute("id",t),o.innerHTML=e.join(""),document.head.appendChild(o)},i=function(n){var e=[];for(var o in n){var p=JSON.stringify(n[o]).split('","').join(";").replace(/"/g,"");p=M().use(b).use(zM).use($b({})).process(p).css;var z=".cs-".concat(t," ").concat(o," ");z+=p,z+=" ",e.push(z)}return e}},exports.useCreateStyledStyle=rM,exports.useMultiQuery=sM,exports.useOnClickOutside=iM,exports.useOnESCKeyDown=aM,exports.useOnResize=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[n])},exports.useReCaptcha=function(n){var o,t=e.useState(""),p=t[0],b=t[1];e.useEffect((function(){return function(){document.body.removeChild(o)}}),[]);return{loadReCaptcha:function(n){(o=document.createElement("script")).src="https://www.google.com/recaptcha/api.js?render="+n,o.onload=function(){b(n)},document.body.appendChild(o)},executeReCaptcha:function(){if(""===p)return Dn.double("useReCaptcha","Not yet initialized! reCaptcha can't execute right now.","error"),void(n&&n(null));window.grecaptcha.ready((function(e){try{window.grecaptcha.execute(p,{action:"login"}).then((function(e){Dn.double("ReCaptcha V3","Token is valid"),console.log("token: "+e),n&&n(e)}))}catch(n){Dn.double("ReCaptcha V3","Token is invalid","error")}}))}}},exports.useSingleQuery=OM;
541
+ `,Mv=({label:n="",value:o=[],children:t=null,single:p=!1,minWidth:b=0,className:M="",onChange:z=null})=>{const c=e.useRef(null),[r,i]=e.useState(!1),[a,O]=e.useState([]),[s,d]=e.useState("");e.useEffect((()=>{o&&o.length>0&&t.length>0&&(O(o),e.Children.map(t,(n=>{n.props.value===o[0]&&d(n.props.children)})))}),[o,t]),iM(c,(()=>{i(!1)}));const A=(n,e)=>{if(z?z(n,e):console.warn("InlineSelect: 'onChange' method couldn't be called because it is not defined!"),p)O(n),d(e);else{const e=n[n.length-1];O(e||[])}};return e.createElement(bv,{className:(()=>{let n="itd-inline-select";return r&&(n+=" itd-inline-select-open"),""!==M&&(n+=" "+M),n})(),ref:c},e.createElement(pv,{onChange:n=>{i(n)},isOpen:r,count:a.length,single:p,label:(()=>{let e=p||!p&&1===a.length?s:n;return""===e?"··········":e})()}),e.createElement(ZR,{onChange:A,value:a,isOpen:r,single:p,minWidth:b},e.Children.map(t,(n=>{if(n&&n.hasOwnProperty("type")&&null!==n.type&&void 0!==n.type)return n.type===QR?e.cloneElement(n,{...n.props,onChange:A,single:p}):void 0}))))};Mv.Option=QR;var zv,cv,rv,iv,av,Ov,sv,dv,Av,lv=or.div(av||(av=l(["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"],["\n\n display: flex;\n align-items: center;\n gap: 10px;\n\n padding: 15px;\n border-radius: 6px;\n font-weight: 500;\n\n svg {\n width: 16px;\n height: 16px;\n }\n \n /* ------------------------ */\n // SUCCESS\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // INFO\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // WARNING\n /* ------------------------ */\n ","\n\n /* ------------------------ */\n // ERROR\n /* ------------------------ */\n ","\n \n"])),(function(){return Zc(zv||(zv=l(["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "],["\n\n &.itd-alert-success {\n\n background: #dfffea;\n border: 1px solid #8adea7;\n\n span, svg {\n color: #34a059;\n }\n \n }\n "])))}),(function(){return Zc(rv||(rv=l(["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "],["\n\n &.itd-alert-info {\n\n background: #2c99ff15;\n border: 1px solid #cfddff;\n\n span, svg {\n color: #717ec8;\n }\n \n }\n "])))}),(function(){return Zc(iv||(iv=l(["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "],["\n\n &.itd-alert-warning {\n\n background: #f6ffdf;\n border: 1px solid #b8dd7b;\n\n span, svg {\n color: #808d35;\n }\n \n }\n "])))}),(function(){return Zc(cv||(cv=l(["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "],["\n\n &.itd-alert-error {\n\n background: #ffeef3;\n border: 1px solid #e6a9a9;\n\n span, svg {\n color: #f8285a;\n }\n\n }\n "])))})),uv=or.span(Ov||(Ov=l(["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"],["\n font-size: 14px;\n line-height: 14px;\n font-weight: 500;\n display: flex;\n align-self: flex-start;\n"]))),qv=or.span(sv||(sv=l(["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"],["\n font-weight: 400;\n font-size: 13px;\n line-height: 15px;\n"]))),fv=or.span(dv||(dv=l(["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"],["\n\n display: flex;\n flex-direction: column;\n justify-content: flex-end;\n height: 100%;\n gap: ",";\n\n"])),(function(n){return n.$noTitle?0:"5px"})),hv=or.div(Av||(Av=l(["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"],["\n\n width: 16px;\n min-width: 16px;\n height: 100%;\n\n display: flex;\n align-self: flex-start;\n \n svg {\n display: flex;\n align-self: flex-start;\n }\n\n"]))),Wv=function(e){var o=e.type,t=void 0===o?"info":o,b=e.size,M=void 0===b?"small":b,z=e.title,c=void 0===z?"":z,r=e.className,i=void 0===r?"":r,a=e.children,O=void 0===a?"":a,s=function(){var n="itd-alert";return n+=" itd-alert-"+t,n+=" itd-alert-"+("x-small"===M?"xs":"small"===M?"sm":"medium"===M?"md":"default"===M?"df":"large"===M?"lg":"x-large"===M?"xlg":"df"),""!==i&&(n+=" "+i),n};return n.jsxs(lv,{className:s(),children:[n.jsx(hv,{children:n.jsx(p.ReactSVG,{src:"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' strokeWidth='2' stroke-linecap='round' stroke-linejoin='round'%3e %3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e %3cline x1='12' x2='12' y1='8' y2='12'%3e%3c/line%3e %3cline x1='12' x2='12.01' y1='16' y2='16'%3e%3c/line%3e%3c/svg%3e"})}),n.jsxs(fv,{$noTitle:!c,children:[""!==c?n.jsx(uv,{children:c}):null,""!==O?n.jsx(qv,{children:O}):null]})]})};Wv.displayName="ITD-Alert";var gv=or.div(wv||(wv=l(['\n\n position: relative;\n width: 100%;\n\n input[type="file"] {\n\n width: 100%;\n height: 100%;\n position: absolute;\n opacity: 0;\n \n }\n\n'],['\n\n position: relative;\n width: 100%;\n\n input[type="file"] {\n\n width: 100%;\n height: 100%;\n position: absolute;\n opacity: 0;\n \n }\n\n']))),mv=or.div(Xv||(Xv=l(["\n\n >img {\n max-width: 70%;\n }\n\n transition-property: border-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n border: 1px solid ",";\n border-radius: 6px;\n padding: ",";\n //overflow: hidden;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n height: 100px;\n min-height: 100px;\n\n position: relative;\n\n"],["\n\n >img {\n max-width: 70%;\n }\n\n transition-property: border-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n border: 1px solid ",";\n border-radius: 6px;\n padding: ",";\n //overflow: hidden;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n height: 100px;\n min-height: 100px;\n\n position: relative;\n\n"])),(function(n){return n.$hasError?"#f8285a":n.$showBorder&&!n.$disabled?"#252f4a60":"#DBDFE9"}),(function(n){return n.$padding+"px"})),Rv=or.label(kv||(kv=l(["\n\n display: block;\n\n outline: ",";\n outline-offset: 1px;\n border-radius: 6px;\n\n transition-property: outline-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n"],["\n\n display: block;\n\n outline: ",";\n outline-offset: 1px;\n border-radius: 6px;\n\n transition-property: outline-color;\n transition-duration: 500ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n"])),(function(n){return n.$showFocus?"2px solid #1b84ff":"2px solid #1b84ff00"})),vv=or.div(Sv||(Sv=l(["\n\n position: absolute;\n top: 50%;\n right: 15px;\n transform: translateY(-50%);\n\n"],["\n\n position: absolute;\n top: 50%;\n right: 15px;\n transform: translateY(-50%);\n\n"]))),Lv=or.div(Ev||(Ev=l(["\n\n display: flex;\n justify-content: center;\n align-items: center;\n padding: ",";\n\n img {\n width: ",";\n height: ",";\n }\n\n"],["\n\n display: flex;\n justify-content: center;\n align-items: center;\n padding: ",";\n\n img {\n width: ",";\n height: ",";\n }\n\n"])),(function(n){return n.$padding?"string"==typeof n.$padding?n.$padding:n.$padding+"px":"100%"}),(function(n){return n.$width?"string"==typeof n.$width?n.$width:n.$width+"px":"100%"}),(function(n){return n.$height?"string"==typeof n.$height?n.$height:n.$height+"px":"100%"})),yv=or.div(Cv||(Cv=l(["\n\n transition-property: all;\n transition-duration: 0ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n transition-delay: 0ms;\n //animation-direction: reverse;\n\n position: absolute;\n top: 150%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n display: flex;\n flex-direction: column;\n width: 100%;\n \n span {\n &:nth-child(1) {\n color: #000000;\n font-weight: 600; \n font-size: 14px;\n text-align: center;\n }\n &:nth-child(2) {\n color: #00000090;\n font-weight: 500;\n font-size: 12px;\n text-align: center;\n }\n }\n\n ","\n\n"],["\n\n transition-property: all;\n transition-duration: 0ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n transition-delay: 0ms;\n //animation-direction: reverse;\n\n position: absolute;\n top: 150%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n\n display: flex;\n flex-direction: column;\n width: 100%;\n \n span {\n &:nth-child(1) {\n color: #000000;\n font-weight: 600; \n font-size: 14px;\n text-align: center;\n }\n &:nth-child(2) {\n color: #00000090;\n font-weight: 500;\n font-size: 12px;\n text-align: center;\n }\n }\n\n ","\n\n"])),(function(n){return n.$isHover&&Zc(Tv||(Tv=l(["\n top: 50%;\n "],["\n top: 50%;\n "])))})),xv=or.div(Dv||(Dv=l(["\n\n position: absolute;\n\n display: flex;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n animation-direction: reverse;\n\n width: 100%;\n height: 100%;\n background-color: #ffffff00;\n backdrop-filter: blur(0px);\n border-radius: 5px;\n overflow: hidden;\n\n ","\n\n"],["\n\n position: absolute;\n\n display: flex;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n animation-direction: reverse;\n\n width: 100%;\n height: 100%;\n background-color: #ffffff00;\n backdrop-filter: blur(0px);\n border-radius: 5px;\n overflow: hidden;\n\n ","\n\n"])),(function(n){return n.$isHover&&Zc(_v||(_v=l(["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "],["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "])))})),Nv=or.div(jv||(jv=l(["\n\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n width: 100%;\n height: 100%;\n background-color: #1b84ff00;\n border-radius: 5px;\n overflow: hidden;\n\n span, div {\n\n color: #ffffff00;\n z-index: 1;\n pointer-events: none;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n }\n \n ","\n\n"],["\n\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n\n width: 100%;\n height: 100%;\n background-color: #1b84ff00;\n border-radius: 5px;\n overflow: hidden;\n\n span, div {\n\n color: #ffffff00;\n z-index: 1;\n pointer-events: none;\n\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n }\n \n ","\n\n"])),(function(n){var e=n.$isActive,o=n.$complete,t=n.$error;return e&&Zc(Pv||(Pv=l(["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "],["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "])),o?"#91DB7D":t?"#ff0000":"#1b84ff")})),Bv=or.div(Iv||(Iv=l(['\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n content: "";\n\n background-color : ',";\n width : ",";\n"],['\n transition-property: all;\n transition-duration: 400ms;\n transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);\n \n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n content: "";\n\n background-color : ',";\n width : ",";\n"])),(function(n){return n.$complete?"#91DB7D":n.$error?"#ff0000":"#54A3FF"}),(function(n){return n.$progress+"%"}));or.div(Fv||(Fv=l(["\n\n position: absolute;\n border: 1px solid #f8285a;\n width: calc(100% + 2px);\n height: calc(100% + 2px);\n border-radius: 6px;\n top: -1px;\n left: -1px;\n pointer-events: none;\n z-index: 1;\n\n"],["\n\n position: absolute;\n border: 1px solid #f8285a;\n width: calc(100% + 2px);\n height: calc(100% + 2px);\n border-radius: 6px;\n top: -1px;\n left: -1px;\n pointer-events: none;\n z-index: 1;\n\n"])));var wv,Xv,kv,Sv,Ev,Tv,Cv,_v,Dv,Pv,jv,Iv,Fv,Uv,$v,Vv,Hv,Yv,Gv,Kv,Qv,Jv,Zv,nL,eL,oL,tL=or.div(Uv||(Uv=l(['\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n color: #000000CC;\n font-size: 10px;\n cursor: pointer;\n position: relative;\n\n &:hover {\n color: #000000;\n }\n\n &[data-icon="i"] {\n &::before {\n padding: 4px;\n border-radius: 50px;\n }\n }\n\n'],['\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n color: #000000CC;\n font-size: 10px;\n cursor: pointer;\n position: relative;\n\n &:hover {\n color: #000000;\n }\n\n &[data-icon="i"] {\n &::before {\n padding: 4px;\n border-radius: 50px;\n }\n }\n\n']))),pL=or(tL)($v||($v=l(["\n\n &::before {\n background-color: #f8285a;\n }\n\n"],["\n\n &::before {\n background-color: #f8285a;\n }\n\n"]))),bL=or.span(Vv||(Vv=l(['\n \n position: absolute;\n display: flex;\n justify-content: center;\n align-items: flex-end;\n\n font-size: 13px;\n line-height: 14px;\n\n border-radius: 5px;\n padding: 10px 7px;\n right: -14px;\n bottom: 32px;\n color: #ffffff;\n background: #f8285a;\n width: max-content;\n max-width: 210px;\n\n z-index: 2;\n\n &::after {\n\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n bottom: -6px;\n right: 17px;\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-top: 10px solid #f8285a;\n\n }\n\n'],['\n \n position: absolute;\n display: flex;\n justify-content: center;\n align-items: flex-end;\n\n font-size: 13px;\n line-height: 14px;\n\n border-radius: 5px;\n padding: 10px 7px;\n right: -14px;\n bottom: 32px;\n color: #ffffff;\n background: #f8285a;\n width: max-content;\n max-width: 210px;\n\n z-index: 2;\n\n &::after {\n\n content: "";\n width: 0;\n height: 0;\n position: absolute;\n bottom: -6px;\n right: 17px;\n border-left: 7px solid transparent;\n border-right: 7px solid transparent;\n border-top: 10px solid #f8285a;\n\n }\n\n']))),ML=e.forwardRef((function(o,t){var p=o.resultFileName,b=void 0===p?null:p,M=o.action,z=void 0===M?"":M,c=o.filePath,r=void 0===c?"":c,i=o.binaryName,a=void 0===i?"file":i,A=o.showDeleteIcon,l=void 0!==A&&A,u=o.showPreviewIcon,q=void 0!==u&&u,f=o.padding,h=void 0===f?10:f,W=o.fileHeight,g=void 0===W?"100%":W,m=o.previewFileWidth,R=void 0===m?"100%":m,v=o.previewFileHeight,L=void 0===v?"100%":v,y=o.previewFilePadding,x=void 0===y?"0":y,N=o.requestMethod,B=void 0===N?"put":N,w=o.maxFileSize,X=void 0===w?1024:w,k=o.disabled,S=void 0!==k&&k,E=o.extraFormData,T=void 0===E?{}:E,C=o.extraQueryString,_=void 0===C?{}:C,D=o.extraHeader,P=void 0===D?{}:D,j=o.fileTypes,I=void 0===j?[exports.FileTypes.JPG,exports.FileTypes.PNG,exports.FileTypes.SVG,exports.FileTypes.PDF]:j,F=o.removeAction,U=void 0===F?"":F,$=o.removeExtraFormData,V=void 0===$?{}:$,H=o.removeExtraQueryString,Y=void 0===H?{}:H,G=o.removeExtraHeader,K=void 0===G?{}:G,Q=o.onUpdate,J=o.onUploadSuccess,Z=o.onUploadFailed,nn=o.onRemoveFileSuccess,en=o.onRemoveFileFailed,on=e.useRef(null),tn=Fd.useNotifications().addNotification,pn=ba.useModal().showModal,bn=dM(),Mn=bn.fetch,zn=bn.cancel,cn=Wn().t,rn=e.useState(!1),an=rn[0],On=rn[1],sn=e.useState(!1),dn=sn[0],An=sn[1],ln=e.useState(".svg, .png, .jpg"),un=ln[0],qn=ln[1],fn=e.useState(!1),hn=fn[0],gn=fn[1],mn=e.useState(!1),Rn=mn[0],vn=mn[1],Ln=e.useState(!1),yn=Ln[0],xn=Ln[1],Nn=e.useState(null),Bn=Nn[0],wn=Nn[1],Xn=e.useState(null),kn=Xn[0],Sn=Xn[1],En=e.useState(""),Tn=En[0],Cn=En[1],_n=e.useState(!1),Dn=_n[0],Pn=_n[1],jn=e.useState(!1),In=jn[0],Fn=jn[1],Un=e.useState(null),$n=Un[0],Vn=Un[1],Hn=e.useState(!1),Yn=Hn[0],Gn=Hn[1],Kn=e.useState(null),Qn=Kn[0],Jn=Kn[1];e.useEffect((function(){return function(){zn()}}),[]),e.useEffect((function(){An(S)}),[S]),e.useEffect((function(){Sn(r?r.split("?")[0]:"")}),[r]),e.useEffect((function(){null!==kn&&(void 0!==kn?ee():On(!1))}),[kn]),e.useEffect((function(){var n=[];I.map((function(e){n.push(zA(e))})),qn(n.join(", "))}),[I]);var Zn=function(n,e){tn({title:n,description:e,placement:"topRight",autoHide:!0,delay:5e3,type:"error"})},ne=function(n,e,o){void 0===e&&(e=!0),void 0===o&&(o=!0),Q&&Q(n,e,o)};e.useImperativeHandle(t,(function(){return{setFocus:function(){xn(!0)},reset:function(n,e){void 0===n&&(n=!1),void 0===e&&(e=!1),oe(),Sn(null),Cn(""),ne("",n,e)},setValue:function(n,e,o){void 0===e&&(e=!0),void 0===o&&(o=!0),Sn(n),ne(n,e,o)},getValue:function(){return kn||""},setError:function(n){Cn(n)},forceUpdate:function(){ne(kn||"")},clear:function(){Sn("")}}}));var ee=function(){return s(void 0,void 0,void 0,(function(){var n;return d(this,(function(e){switch(e.label){case 0:return n=!1,kn?(console.time("Checking file completed in"),[4,bA(kn)]):[3,2];case 1:n=e.sent(),wn(n),n?ne(kn):ne("",!0,!0),an||On(!0),console.timeEnd("Checking file completed in"),e.label=2;case 2:return""!==kn||an||On(!0),""===kn&&an&&ne("",!0,!0),[2]}}))}))},oe=function(){Jn(null),Vn(null),Gn(!1),wn(null)},te=function(){return s(void 0,void 0,void 0,(function(){return d(this,(function(e){return An(!0),pn({content:n.jsx("div",{children:cn("uploader.areYouSureToDeleteThisFile")}),title:cn("uploader.removeFile"),okButtonText:cn("uploader.yes"),cancelButtonText:cn("uploader.no"),okButtonProps:{variant:"statable",state:"reject"},closeOnClickOutside:!1,showCloseButton:!1,onOk:function(){return U?Mn({action:U,params:V,queries:Y,headers:K,onFetched:function(n){n.data.success?(oe(),ne("",!0,!0),nn&&nn(n.data.data)):en&&en()},onError:function(){en&&en()}}):(oe(),ne("",!0,!0),nn&&nn()),An(!1),!0},onCancel:function(){return An(!1),!0}}),[2]}))}))},pe=function(n){n.preventDefault(),In||vn(!0)},be=function(n){n.preventDefault(),In||vn(!1)},ze=function(n){n.preventDefault(),In||(vn(!1),n.dataTransfer&&0!==n.dataTransfer.files.length?ie(n.dataTransfer.files[0]):console.log(cn("uploader.browserDoesntSupportDND")))},ce=function(n){vn(!1);var e=n.target.files[0];ie(e)},re=function(n){return s(void 0,[n],void 0,(function(n){var e=n.path,o=n.errorMessage,t=n.errorCode;return d(this,(function(n){switch(n.label){case 0:return[4,cA(1e3)];case 1:return n.sent(),Vn(null),Fn(!1),[4,cA(1500)];case 2:return n.sent(),Gn(!1),e?J&&J(e):o&&Z&&Z(o,t||0),[2]}}))}))},ie=function(n){if(n&&function(n){return!!I.includes(n.type)||(Zn(cn("uploader.error"),cn("uploader.fileFormatError",{fileFormat:un})),!1)}(n)&&function(n){return!(n.size>1024*X&&(Zn(cn("uploader.error"),cn("uploader.fileSizeError",{fileSize:MA(1024*X)})),1))}(n)){if(b){var e=zA(n.type);n=new File([n],b+e,{type:e,lastModified:n.lastModified})}!function(n){s(void 0,void 0,void 0,(function(){var e;return d(this,(function(o){return n?((e=new FormData).append(a,n),b&&e.append("name",b),Object.keys(T).forEach((function(n){e.append(n,T[n])})),Mn({action:z,requestMethod:B,params:e,queries:_,headers:P,onFetched:function(n){n.data.success?(Jn({message:cn("uploader.fileUploadSuccess"),status:"success"}),Gn(!0),Sn(n.data.data.url),re({path:n.data.data.url})):(Jn({message:cn("uploader.fileUploadFailed"),status:"error"}),ne("",!0,!0),re({errorMessage:cn("uploader.fileUploadFailed")}))},onError:function(n,e){Jn({message:cn("uploader.fileUploadFailed"),status:"error"}),ne("",!0,!0),re({errorMessage:n,errorCode:e})},onProgress:function(n){Vn({estimated:n.estimated?(Math.round(100*n.estimated)/100).toFixed(2):"0",progress:n.progress?Math.round(100*n.progress):0,bytes:n.bytes?MA(n.bytes):"",total:n.total?MA(n.total):""})}}),[2]):[2]}))}))}(n),Fn(!0)}},ae=function(){An(!0),pn({content:n.jsx(Lv,{className:"itd-upload-preview-content",$width:R,$height:L,$padding:x,children:n.jsx(pi,{src:kn})}),showOkButton:!1,showCancelButton:!1,contentPadding:"0px",width:"max-content",onCancel:function(){return An(!1),!0}})},Oe=function(){if(l&&kn&&!In&&Bn)return n.jsx("span",{children:n.jsx(Ti,{variant:"solid",size:"small",type:"button",circle:!0,onClick:te,disabled:dn,icon:n.jsx(SA,{width:16,height:16}),className:"itd-upload-delete-button"})})},se=function(){if(q&&kn&&!In&&Bn)return n.jsx("span",{children:n.jsx(Ti,{variant:"solid",size:"small",type:"button",circle:!0,onClick:ae,disabled:dn,icon:n.jsx(EA,{width:16,height:16}),className:"itd-upload-preview-button"})})},de=n.jsx("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("g",{id:"Error",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:n.jsxs("g",{id:"ErrorGroup",fillRule:"nonzero",children:[n.jsx("circle",{id:"ErrorBackground",fill:"#F8285A",cx:"10",cy:"10",r:"10"}),n.jsx("path",{d:"M10.0355339,8.6213203 L12.863961,5.79289322 C13.2544853,5.40236893 13.8876503,5.40236893 14.2781746,5.79289322 C14.6686989,6.18341751 14.6686989,6.81658249 14.2781746,7.20710678 L11.4497475,10.0355339 \n L14.2781746,12.863961 C14.6686989,13.2544853 14.6686989,13.8876503 14.2781746,14.2781746 C13.8876503,14.6686989 13.2544853,14.6686989 12.863961,14.2781746 L10.0355339,11.4497475 L7.20710678,14.2781746\n C6.81658249,14.6686989 6.18341751,14.6686989 5.79289322,14.2781746 C5.40236893,13.8876503 5.40236893,13.2544853 5.79289322,12.863961 L8.6213203,10.0355339 L5.79289322,7.20710678 C5.40236893,6.81658249\n 5.40236893,6.18341751 5.79289322,5.79289322 C6.18341751,5.40236893 6.81658249,5.40236893 7.20710678,5.79289322 L10.0355339,8.6213203 Z",id:"ErrorIcon",fill:"#FFFFFF"})]})})}),Ae=function(){if(""!==Tn&&!In){var e={className:"itd-upload-failed itd-failed-status",onPointerOver:function(){return Pn(!0)},onPointerOut:function(){return Pn(!1)}};return n.jsxs(pL,O({},e,{children:[Dn?n.jsx(bL,{className:"itd-upload-error-tooltip itd-error-tooltip",children:Tn}):null,de]}))}},le=function(){if(an)return null===Bn?n.jsx(BA,{width:24,height:24}):!1===Bn?n.jsx(TA,{width:40,height:40}):n.jsx(pi,{src:kn,height:g})};return function(e){return void 0===e&&(e=Me("itd-upload-")),n.jsxs(gv,{className:"itd-upload",children:[n.jsx("input",{type:"file",id:e,accept:un,onChange:ce,onFocus:function(){return xn(!0)},onBlur:function(){return xn(!1)},onClick:function(){var n;null===(n=on.current)||void 0===n||n.blur()},disabled:In||dn,ref:on}),n.jsx(Rv,{htmlFor:e,$showFocus:yn,className:"itd-upload-label",children:n.jsxs(mv,{$showBorder:(Rn||hn)&&!In,$padding:h,$disabled:S,$hasError:""!==Tn&&!In,className:"itd-upload-content",children:[le(),n.jsxs(Nv,{className:"itd-upload-status",$isActive:In,$complete:"success"===(null==Qn?void 0:Qn.status),$error:"error"===(null==Qn?void 0:Qn.status),children:[n.jsx(Bv,{className:"itd-upload-status-box",$progress:$n?$n.progress:0,$complete:"success"===(null==Qn?void 0:Qn.status),$error:"error"===(null==Qn?void 0:Qn.status)}),n.jsx("span",{className:"itd-upload-status-message",children:cn(Yn||Qn?String(null==Qn?void 0:Qn.message):"uploader.fileUploading")}),$n?n.jsx("span",{className:"itd-upload-status-info",children:cn("uploader.info",{total:$n.total,estimated:$n.estimated})}):n.jsx("span",{className:"itd-upload-status-calculating",children:cn("uploader.calculating")})]}),(o=(hn||Rn)&&!In&&!dn,n.jsx(xv,{onPointerOver:function(){!Rn&&gn(!0)},onPointerOut:function(){!Rn&&gn(!1)},onDragOver:pe,onDragLeave:be,onDrop:ze,$isHover:o,className:"itd-upload-overlay",children:n.jsxs(yv,{$isHover:o,className:"itd-upload-overlay-content",children:[n.jsx("span",{className:"itd-upload-header",children:cn("uploader.header")}),n.jsx("span",{className:"itd-upload-hint",children:cn("uploader.hint")})]})})),n.jsxs(vv,{children:[n.jsxs(Cy,{vertical:!0,gap:"small",className:"itd-upload-icons",children:[Oe(),se()]}),Ae()]})]})})]});var o}()})),zL=or.section(Hv||(Hv=l(["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"],["\n width: 100%;\n height: 100%;\n position: relative;\n overflow: hidden;\n"]))),cL=tr(Yv||(Yv=l(["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"],["\n 0% { transform: scale(.5); opacity: 0;}\n 50% { transform: scale(1.05); opacity: 1;}\n 75% { transform: scale(0.95); opacity: 1;}\n 100% { transform: scale(1); opacity: 1;}\n"]))),rL=or.div(Gv||(Gv=l(["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"],["\n\n width: 100%;\n height: 100%;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n"]))),iL=or.div(Kv||(Kv=l(["\n\n animation: "," 0.5s ease-out;\n transition: all 0.5s ease-out;\n transform-origin: 50% 50%;\n opacity: 1;\n\n padding: 50px 20px 40px;\n border-radius: 6px;\n width: 100%;\n height: ",";\n max-width: ",";\n background-color: ",";\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n \n"],["\n\n animation: "," 0.5s ease-out;\n transition: all 0.5s ease-out;\n transform-origin: 50% 50%;\n opacity: 1;\n\n padding: 50px 20px 40px;\n border-radius: 6px;\n width: 100%;\n height: ",";\n max-width: ",";\n background-color: ",";\n\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n \n"])),cL,(function(n){return"true"===n.$fill?"100%":"auto"}),(function(n){return"true"===n.$fill?"100%":"500px"}),(function(n){return n.$background?"default"===n.$type?"#10233b":"#0E153180":"transparent"})),aL=or.div(Qv||(Qv=l(['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n'],['\n\n position: relative;\n display: flex;\n justify-content: center;\n\n width: 100%;\n min-height: 0;\n margin-bottom: 34px;\n\n &::before {\n background-color: #04112780;\n border-radius: 100px;\n width: 84px;\n height: 84px;\n display: inline;\n content: "";\n position: absolute;\n z-index: 0;\n top: -20px;\n }\n \n img {\n z-index: 1;\n width: 44px;\n height: 44px;\n }\n \n']))),OL=or.div(Jv||(Jv=l(["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"],["\n display: flex;\n justify-content: center;\n margin-top: 20px;\n\n a {\n min-width: 150px;\n\n &:not(:last-child) {\n margin-right: 20px;\n }\n\n }\n"]))),sL=or.div(Zv||(Zv=l(["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"],["\n\n display: flex;\n justify-content: center;\n\n width: 100%;\n\n >div {\n width: 100%;\n }\n \n"]))),dL=or.div(nL||(nL=l(["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"],["\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 10px;\n\n"]))),AL=or.div(eL||(eL=l(["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"],["\n color: #57d43c;\n font-size: 18px;\n font-weight: 600;\n text-align: center;\n max-width: 80%; \n"]))),lL=or.div(oL||(oL=l(["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"],["\n color: #cccccc;\n font-size: 13px;\n line-height: 18px;\n font-weight: 500;\n text-align: center;\n max-width: 80%;\n"]))),uL=function(o){var t=o.image,p=void 0===t?"":t,b=o.title,M=void 0===b?"":b,z=o.description,c=void 0===z?"":z,r=o.extra,i=void 0===r?null:r,a=o.footer,O=void 0===a?null:a,s=o.type,d=void 0===s?"default":s,A=o.fill,l=void 0!==A&&A,u=o.autoCenter,q=void 0===u||u,f=o.background,h=void 0===f||f,W=e.useState(""),g=W[0],m=W[1];e.useEffect((function(){""!==p&&m(p)}),[p]);var R,v=function(){if(i)return n.jsx(OL,{className:"itd-result-extras",children:i})},L=function(){if(O)return n.jsx(sL,{className:"itd-result-footer",children:O})};return n.jsx(zL,{className:(R="itd-result",R+=" itd-result-"+d,q&&(R+=" itd-result-auto-center"),l&&(R+=" itd-result-fill"),R),children:n.jsx(rL,{className:"itd-result-content-wrapper",children:n.jsxs(iL,{className:"itd-result-content",$autoCenter:q,$type:d,$background:h,$fill:l.toString(),children:[n.jsxs(dL,{className:"itd-result-body",children:[n.jsx(aL,{className:"itd-image-wrapper",children:n.jsx(pi,{src:g})}),n.jsx(AL,{className:"itd-result-title",children:M}),n.jsx(lL,{className:"itd-result-sub-title",children:c})]}),v(),L()]})})})};uL.displayName="ITD-Result";var qL,fL,hL,WL=or.div(qL||(qL=l(["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "],["\n position: fixed;\n bottom: 80px;\n right: 30px;\n visibility: hidden;\n "]))),gL=or.a(fL||(fL=l(["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "],["\n\n visibility: ",";\n animation: "," 0.5s;\n\n display: block;\n transition: fill .3s ease-out;\n cursor: pointer;\n fill: #ffffff80;\n\n &:hover {\n fill: #3396fb;\n }\n \n "])),(function(n){return n.$show?"visible":"hidden"}),(function(n){return n.$show?mL:"none"})),mL=tr(hL||(hL=l(["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"],["\n 0% { transform: scale(.2) }\n 50% { transform: scale(1.1) }\n 75% { transform: scale(0.9) }\n 100% { transform: scale(1) }\n"])));var RL,vL,LL={"gray-1":{background:"#F9F9F9",text:"#0714374D"},"gray-2":{background:"#F9F9F9",text:"#585455"},"gray-3":{background:"#F5F5F5",text:"#071437"},green:{background:"#DFFFEA",text:"#17C653"},yellow:{background:"#FFF8DD",text:"#F6C000"},red:{background:"#FFEEF3",text:"#F8285A"},brown:{background:"#FFF3F1",text:"#CB6F5B"},lavender:{background:"#FCF3FF",text:"#AB60C0"},blue:{background:"#F1F4FF",text:"#3256D9"},pink:{background:"#FFEEF6",text:"#E25698"},violet:{background:"#F5F1FF",text:"#7239EA"},"filled-red":{background:"#F8285A",text:"#F7EFF1"},"filled-yellow":{background:"#F6C000",text:"#FBFAF4"},"filled-pink":{background:"#CC79E3",text:"#F7F3F9"},"filled-blue":{background:"#1B84FF",text:"#EDF0F4"},"filled-green":{background:"#17C653",text:"#F5FAF6"},"filled-purple":{background:"#C417C6",text:"#F6F0F6"},"filled-black":{background:"#071437",text:"#F1F3F7"}},yL=or.div(vL||(vL=l(["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"],["\n\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n width: max-content;\n border-radius: 4px;\n\n >span {\n text-align: center;\n user-select: none;\n }\n\n &.itd-status-stretch {\n width: 100%;\n }\n\n &.itd-status-xs {\n padding: 4px 8px;\n span {\n font-size: 9px;\n font-weight: 600;\n }\n }\n\n &.itd-status-sm {\n padding: 4px 8px;\n span {\n font-size: 10px;\n font-weight: 600;\n }\n }\n\n &.itd-status-md {\n padding: 4px 8px;\n span {\n font-size: 11px;\n font-weight: 600;\n }\n }\n\n &.itd-status-df {\n padding: 6px 10px;\n span {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.itd-status-lg {\n padding: 8px 12px;\n span {\n font-size: 12.4px;\n font-weight: 600;\n }\n }\n\n &.itd-status-xlg {\n padding: 10px 14px;\n span {\n font-size: 12.6px;\n font-weight: 600;\n }\n }\n\n ","\n\n"])),(function(n){var e,o=n.$status;return e=o,Zc(RL||(RL=l(["\n background: ",";\n span {\n color: ",";\n }\n "],["\n background: ",";\n span {\n color: ",";\n }\n "])),LL[e].background,LL[e].text)}));var xL,NL,BL={normal:{background:"#1B84FF",remaining:"#efefef"},active:{background:"#1B84FF",remaining:"#efefef"},success:{background:"#17C653",remaining:"#efefef"},exception:{background:"#F8285A",remaining:"#efefef"}},wL=or.div(NL||(NL=l(["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"],["\n\n position: relative;\n width: 100%;\n\n .itd-progress-outer {\n \n width: 100%;\n min-height: 20px;\n margin: 0;\n padding: 0;\n list-style: none;\n\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 10px;\n\n .itd-progress-status {\n display: flex;\n align-items: center;\n .itd-progress-status-text {\n color: #071437;\n }\n }\n\n .itd-progress-inner {\n\n position: relative;\n display: inline-block;\n width: 100%;\n flex: 1;\n overflow: hidden;\n vertical-align: middle;\n border-radius: 6px;\n\n .itd-progress-bg {\n transition: all 0.25s ease-out;\n width: ",";\n height: 8px;\n }\n \n }\n\n }\n\n ","\n\n"])),(function(n){return n.$percent+"%"}),(function(n){var e,o=n.$status;return e=o,Zc(xL||(xL=l(["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "],["\n .itd-progress-inner {\n background: ",";\n .itd-progress-bg {\n background: ",";\n }\n }\n .itd-progress-status {\n color: ",";\n }\n "])),BL[e].remaining,BL[e].background,BL[e].background)}));var XL,kL,SL,EL,TL,CL,_L,DL,PL,jL,IL,FL,UL,$L,VL,HL,YL,GL,KL,QL,JL,ZL,ny,ey,oy,ty,py,by,My,zy,cy,ry,iy,ay,Oy,sy,dy,Ay,ly,uy,qy,fy,hy,Wy=or.div(XL||(XL=l(["\n\n height: ",";\n\n"],["\n\n height: ",";\n\n"])),(function(n){return n.$height?n.$height+"px":"75px"})),gy=or.div(_L||(_L=l(["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"],["\n\n font-size: 14px;\n height: 100%;\n\n ul {\n\n display: flex;\n align-items: stretch;\n flex-wrap: wrap;\n list-style: none;\n\n margin: 0;\n padding: 0;\n height: 100%;\n\n li {\n\n display: flex;\n align-items: stretch;\n\n height: 100%;\n\n &:not(:last-child) { \n margin-right: 30px;\n }\n\n a {\n \n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #1b84ff00;\n transition: color .2s ease;\n display: flex;\n align-items: center;\n height: 100%;\n cursor: pointer;\n\n transition: all .3s ease-out;\n\n span {\n transition: all .3s ease-out;\n }\n\n span {\n color: #99a1b7;\n }\n\n &:hover:not(&.active) {\n ","\n border-color: #1b84ff;\n }\n\n &.active {\n ","\n border-color: #1b84ff;\n }\n\n ","\n\n }\n }\n\n }\n\n"])),(function(n){if(n.$isBold)return Zc(kL||(kL=l(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "])))}),(function(n){return n.$isBold?Zc(SL||(SL=l(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "]))):Zc(EL||(EL=l(["\n span {\n color: #071437;\n }\n "],["\n span {\n color: #071437;\n }\n "])))}),(function(n){return n.$isBold?Zc(TL||(TL=l(["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "],["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "]))):Zc(CL||(CL=l(["\n span {\n font-weight: 500;\n }\n "],["\n span {\n font-weight: 500;\n }\n "])))})),my=or.div(DL||(DL=l(["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"],["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"]))),Ry=function(o){var t=o.tabs,p=void 0===t?[]:t,b=o.activeTabKey,M=void 0===b?"":b,c=o.variant,r=void 0===c?"default":c,i=o.height,a=o.onTabChange,O=e.useState(M),s=O[0],d=O[1];e.useEffect((function(){s!==M&&d(M)}),[M]);var A=function(n,e){return o=!1,p.map((function(n){n.link&&(o=!0)})),o?"":s?s===n?"active":"":M&&0===e?"active":"";var o},l=function(n){d(n),a&&a(n)},u=function(e,o){return n.jsx("a",{className:A(e.key,o),onClick:function(){return l(e.key)},children:n.jsx("span",{children:e.tab})})},q=function(e,o){return n.jsx(z.NavLink,{className:A(e.key,o),onClick:function(){return l(e.key)},to:e.link?e.link:"",children:n.jsx("span",{children:e.tab})})};return n.jsxs(Wy,{$height:i,className:"itd-tabs",children:[n.jsx(gy,{$isBold:"bold"===r,children:n.jsx("ul",{children:p.map((function(e,o){return n.jsx("li",{children:e.link?q(e,o):u(e,o)},e.key)}))})}),function(){var e=p.filter((function(n){return n.key===s}))[0];if(e&&e.children)return n.jsx(my,{className:"itd-content-body",children:e.children})}()]})},vy=or.div(PL||(PL=l(["\n position: relative;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"],["\n position: relative;\n\n >.itd-spin {\n height: 100%;\n }\n\n .itd-spin-spinner div {\n div { border-color: #000000 transparent transparent transparent; }\n }\n \n"]))),Ly=or.div(jL||(jL=l(["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"],["\n\n position: relative;\n background-color: #ffffff;\n border-radius: 8px;\n border: 1px solid #F1F1F4;\n box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);\n\n min-width : ",";\n min-height : ",";\n\n display: flex;\n flex-direction: column;\n\n\n height: 100%;\n display: grid;\n grid-template-rows: ",";\n\n \n"])),(function(n){return n.$minWidth?n.$minWidth+"px":"200px"}),(function(n){return n.$minHeight?n.$minHeight+"px":"100px"}),(function(n){return n.$hasHeader?"75px 1fr":"1fr"})),yy=or.div(FL||(FL=l(["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"],["\n\n padding: 0 30px;\n\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n ","\n\n >div {\n display: flex;\n align-items: center;\n }\n\n"])),(function(n){if(void 0===n.$showSeparator||!0===n.$showSeparator)return Zc(IL||(IL=l(["\n border-bottom: 1px solid #f1f1f4;\n "],["\n border-bottom: 1px solid #f1f1f4;\n "])))})),xy=or.div(UL||(UL=l(["\n padding: 20px 0;\n height: 100%;\n"],["\n padding: 20px 0;\n height: 100%;\n"]))),Ny=or.div($L||($L=l(["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"],["\n\n padding: ",";\n \n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n"])),(function(n){return n.$padding?n.$padding:"30px"})),By=or.div(VL||(VL=l(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"],["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n gap: 10px;\n"]))),wy=or.div(by||(by=l(["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"],["\n\n &:has(table.itd-table-no-data), &:has(table.itd-table-empty) {\n height: 100%;\n table {\n height: 100%;\n }\n }\n\n .expand-button {\n\n width: 100%;\n height: 100%;\n cursor: pointer;\n position: absolute;\n top: 0;\n left: 0;\n user-select: none;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n button:hover {\n //background-color: #ececec;\n }\n\n button span span {\n //color: #555;\n font-size: 15px;\n line-height: 14px;\n font-weight: 600;\n }\n\n }\n\n table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n //border-spacing: 2px;\n border-spacing: 0;\n\n th {\n text-align: left;\n span {\n color: #071437;\n }\n }\n\n td>span, th>span {\n font-weight: 500;\n }\n\n th, td {\n position: relative;\n width: auto;\n vertical-align: middle;\n }\n\n }\n\n >table {\n\n >tbody, >thead {\n \n ","\n\n td, th {\n \n ","\n\n }\n\n }\n\n &:not(.itd-table-no-gaps) {\n\n >thead {\n\n background-color: #FAFAFA;\n\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n \n }\n\n &:not(.itd-table-no-data):not(.itd-table-empty) {\n >tbody {\n td:first-child, th:first-child {\n padding-left: 30px;\n }\n }\n }\n\n /**\n * Tabloda içeriği boşsa.\n */\n &.itd-table-no-data {\n\n >tbody {\n >tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n /**\n * Tabloda içeriği boş değilse.\n */\n &:not(.itd-table-empty) {\n\n /**\n * Ana tablo satırların üstüne gelindiğinde\n */\n >tbody >tr:not(.itd-table-row-inner):hover {\n background-color: #FAFAFA;\n }\n\n /**\n * Alt tablo satırların üstüne gelindiğinde\n */\n .itd-table-inner-table >tbody >tr:hover {\n background-color: #FAFAFA;\n }\n\n }\n\n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n }\n \n }\n\n /**\n * DÜZ ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr , >thead >tr {\n\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n\n >td, >th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px solid #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px solid #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px solid #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px solid #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ, DIŞ KENARLIKSIZ\n */\n &.itd-table-dashed {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * KESİK ÇİZGİLİ VE DIŞ KENARLIKLI\n */\n &.itd-table-dashed.itd-table-bordered {\n\n /**\n * Ana tablo hücre kenarlıkları\n */\n >tbody >tr, >thead >tr {\n \n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n\n >td, >th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\n\n /**\n * Alt tablo hücre kenarlıkları\n */\n .itd-table-inner-table {\n >tbody >tr {\n\n &:not(:first-child) {\n border-top: 1px dashed #f1f1f4;\n }\n\n &:not(:last-child) {\n border-bottom: 1px dashed #f1f1f4;\n }\n\n >td:not(:first-child) {\n border-left: 1px dashed #f1f1f4;\n }\n\n >td:not(:last-child) {\n border-right: 1px dashed #f1f1f4;\n }\n \n }\n }\n\n }\n\n /**\n * ÇİZGİSİZ VE KENARLIKSIZ\n */\n &:not(.itd-table-bordered) {\n\n thead tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n tbody tr:last-child {\n border-bottom-style: none;\n border-bottom-style: none;\n }\n\n &.itd-table-headless {\n tbody tr:first-child {\n border-top-style: none;\n border-top-style: none;\n }\n }\n\n }\n\n }\n\n"])),(function(n){return"x-small"===n.$size?Zc(HL||(HL=l(["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 5px;\n padding-bottom: 5px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"small"===n.$size?Zc(YL||(YL=l(["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "],["\n td, th {\n padding-top: 8px;\n padding-bottom: 8px;\n }\n th>span {\n font-size: 13px;\n }\n td>span {\n font-size: 12px;\n }\n "]))):"medium"===n.$size?Zc(GL||(GL=l(["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 12px;\n padding-bottom: 12px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"default"===n.$size?Zc(KL||(KL=l(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "]))):"large"===n.$size?Zc(QL||(QL=l(["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 18px;\n padding-bottom: 18px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):"x-large"===n.$size?Zc(JL||(JL=l(["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "],["\n td, th {\n padding-top: 20px;\n padding-bottom: 20px;\n }\n th>span {\n font-size: 15px;\n }\n td>span {\n font-size: 14px;\n }\n "]))):Zc(ZL||(ZL=l(["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "],["\n td, th {\n padding-top: 15px;\n padding-bottom: 15px;\n }\n th>span {\n font-size: 14px;\n }\n td>span {\n font-size: 13px;\n }\n "])))}),(function(n){return n.$noGaps?Zc(ny||(ny=l(["\n padding-left: 0;\n padding-right: 0;\n "],["\n padding-left: 0;\n padding-right: 0;\n "]))):"x-small"===n.$size?Zc(ey||(ey=l(["\n padding-left: 10px;\n padding-right: 10px;\n "],["\n padding-left: 10px;\n padding-right: 10px;\n "]))):"small"===n.$size||"medium"===n.$size||"default"===n.$size?Zc(oy||(oy=l(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "]))):"large"===n.$size||"x-large"===n.$size?Zc(ty||(ty=l(["\n padding-left: 20px;\n padding-right: 20px;\n "],["\n padding-left: 20px;\n padding-right: 20px;\n "]))):Zc(py||(py=l(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "])))})),Xy=or.div(My||(My=l(["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"],["\n\n height: 150px;\n display: flex;\n align-items: center;\n justify-content: center;\n\n >div {\n display: flex;\n flex-direction: column;\n gap: 7px;\n }\n\n span {\n font-size: 12px;\n font-weight: 500;\n color: #4D4D4D;\n }\n\n svg {\n fill: #4D4D4D;\n }\n \n"]))),ky=or.span(cy||(cy=l(["\n\n ","\n \n"],["\n\n ","\n \n"])),(function(n){if(n.$overflow)return Zc(zy||(zy=l(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "],["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "])))})),Sy=or.span(iy||(iy=l(["\n\n ","\n\n"],["\n\n ","\n\n"])),(function(n){if(n.$overflow)return Zc(ry||(ry=l(["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "],["\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n position: relative;\n display: block;\n "])))})),Ey=e.forwardRef((function(o,t){var p=o.columns,b=o.data,M=o.cellHeight,z=o.size,c=void 0===z?"default":z,r=o.headless,i=void 0!==r&&r,a=o.bordered,s=void 0!==a&&a,d=o.dashed,A=void 0!==d&&d,l=o.noGaps,u=void 0!==l&&l,q=o.overflow,f=void 0!==q&&q,h=o.hideGroupButtons,W=void 0!==h&&h,g=o.getTRProps,m=Wn().t,R=e.useState(new Set),v=R[0],L=R[1],y=function(n){L((function(e){var o=new Set(e);return o.has(n)?o.delete(n):o.add(n),o}))};e.useImperativeHandle(t,(function(){return{toggleRow:y,expandedRows:v}}));var x,N=function(n,e){var o={};return"string"==typeof n.width?o.width=n.width:"number"==typeof n.width?o.minWidth=n.width+"px":o.width="auto",void 0!==n.maxWidth&&("string"==typeof n.maxWidth?o.maxWidth=n.maxWidth:"number"==typeof n.maxWidth&&(o.maxWidth=n.maxWidth+"px")),"td"===e&&("string"==typeof M?o.height=M:"number"==typeof M?o.minHeight=M+"px":o.height="auto"),o},B=function(){var n=!1;return null==b||b.map((function(e){e.hasOwnProperty("children")&&(n=!0)})),!W&&n},w=function(n,e,o){return g?g(n,e,o):{}},X=function(n,e,o){var t,p=((t={})["data-index"]=e+"_"+n,t["data-level"]=e,t);return e>0&&(0===n&&(p["data-first"]="true"),n===o-1&&(p["data-last"]="true")),p},k=function(o,t){return void 0===t&&(t=0),o.map((function(b,M){return n.jsxs(e.Fragment,{children:[n.jsxs("tr",O({},X(M,t,null==o?void 0:o.length),w(b,M,t),{children:[B()?b.children?n.jsx("td",{style:{width:"40px"},children:n.jsx("div",{className:"expand-button",children:n.jsx(Ti,{variant:"filled",size:"x-small",onClick:function(){return y(b.key)},circle:!0,children:n.jsx("span",{children:v.has(b.key)?"-":"+"})})})}):n.jsx("td",{}):null,p.map((function(e){return n.jsx("td",{style:N(e,"td"),children:n.jsx(Sy,{$overflow:f,title:String(b[e.dataIndex]),children:e.render?e.render(b[e.dataIndex],b,t):e.dataIndex?String(b[e.dataIndex]):null})},String(e.key)+"_"+M+"_"+t)}))]})),b.children&&v.has(b.key)&&k(b.children,t+1)]},String(t+"_"+M+"_"+b.key))}))};return n.jsx(wy,{$size:c,$noGaps:u,children:n.jsxs("table",{className:(x="itd-table",x+=" itd-table-"+li(c),i&&(x+=" itd-table-headless"),s&&(x+=" itd-table-bordered"),u&&(x+=" itd-table-no-gaps"),b||(x+=" itd-table-empty"),0===(null==b?void 0:b.length)&&(x+=" itd-table-no-data"),x+=A?" itd-table-dashed":" itd-table-solid",x+=" itd-table-main-table"),children:[function(){if(!i)return n.jsx("thead",{children:n.jsxs("tr",{children:[B()&&n.jsx("th",{style:{maxWidth:"40px"}}),p.map((function(e){return n.jsx("th",{style:N(e,"th"),children:n.jsx(ky,{$overflow:f,title:e.title,children:e.title})},String(e.key))}))]})})}(),b?0===b.length?n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(Xy,{children:n.jsxs("div",{children:[n.jsx(CA,{height:30}),n.jsx("span",{children:m("table.noData")})]})})})})}):n.jsx("tbody",{children:k(b)}):n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:p.length,children:n.jsx(Xy,{})})})})]})})})),Ty=or.div(hy||(hy=l(["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"],["\n\n display : flex;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n"])),(function(n){if(n.$stretch&&!0===n.$stretch)return n.$vertical&&!0===n.$vertical?Zc(ay||(ay=l(["\n height : 100%;\n "],["\n height : 100%;\n "]))):Zc(Oy||(Oy=l(["\n width : 100%;\n "],["\n width : 100%;\n "])))}),(function(n){if(n.$wrap)return!0===n.$wrap&&Zc(sy||(sy=l(["\n flex-wrap : wrap;\n "],["\n flex-wrap : wrap;\n "])))}),(function(n){return n.$vertical?!0===n.$vertical&&Zc(dy||(dy=l(["\n flex-direction : column;\n "],["\n flex-direction : column;\n "]))):Zc(Ay||(Ay=l(["\n flex-direction : row;\n "],["\n flex-direction : row;\n "])))}),(function(n){if(n.$justify)return Zc(ly||(ly=l(["\n justify-content : ",";\n "],["\n justify-content : ",";\n "])),n.$justify)}),(function(n){return n.$align?Zc(uy||(uy=l(["\n align-items : ",";\n "],["\n align-items : ",";\n "])),n.$align):Zc(qy||(qy=l(["\n align-items : center;\n "],["\n align-items : center;\n "])))}),(function(n){if(n.$gap){var e=0,o="";return"small"===n.$gap?e=10:"medium"===n.$gap?e=16:"large"===n.$gap?e=24:"string"==typeof n.$gap?o=n.$gap:e=n.$gap,""===o&&(o=e+"px"),Zc(fy||(fy=l(["\n gap : ",";\n "],["\n gap : ",";\n "])),o)}})),Cy=function(e){var o=e.gap,t=e.justify,p=e.align,b=e.vertical,M=e.wrap,z=e.stretch,c=e.style,r=e.className,i=e.children;return n.jsx(Ty,{$gap:o,$justify:t,$align:p,$vertical:b,$wrap:M,$stretch:z,style:c,className:r,children:i})};on.use(un).init({preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["translation"],defaultNS:["translation"],initImmediate:!1,debug:!1,resources:{}}),on.addResourceBundle("en","translation",{success:"Success",error:"Error",table:{noData:"No Data"},placeholders:{username:"Username",email:"E-Mail",password:"Password",confirmPassword:"Confirm password",typeYourNoteHere:"Type your note here",selectGender:"Select Gender",selectLanguage:"Select Language",selectCountry:"Select Country",birthday:"Birthday",multipleSelection:"Selected ({{- count}})"},options:{all:"All",male:"Male",female:"Female",languages:{turkish:"Turkish",english:"English"}},buttons:{submit:"Submit",reset:"Reset"},errors:{required:"This field is required!",minLength:"Should contain at least {{- length}} characters",maxLength:"Is too long. Max size is {{- length}}",passwordRule:"Your password must be at least 8 characters long, contain at least one digit, one uppercase letter, one lowercase letter, one special character, and must not contain spaces.",invalidEmailAddress:"Invalid email address",passwordsDontMatch:"The two passwords that you entered do not match!",usernameRule:"Only English letters, digits and symbols (-_). No space is allowed",wrongTCIdentity:"Wrong TC Identity Number",fieldMustBeTheSame:"This field must be the same as: {{- fields}}"},uploader:{header:"Drag and drop an file",hint:"or Browse to choose a file",fileUploading:"File uploading...",info:"Total: {{- total}} - {{- estimated}} s remaining.",delete:"Delete",preview:"Preview",error:"Error",fileFormatError:"You can only upload {{fileFormat}} file",fileSizeError:"File must smaller than {{fileSize}}",fileUploadSuccess:"File successfully uploaded.",fileUploadFailed:"File upload failed!",removeFileSuccess:"File successfully delete!",browserDoesntSupportDND:"Browser doesn't support drag and drop!",calculating:"Calculating...",removeFile:"Remove File",areYouSureToDeleteThisFile:"Are you sure to delete this file?",yes:"Yes",no:"No"},results:{authentication:{title:"You Need To Sign In",subtitle:"You need to login to access this page. Please login by clicking the button below.",button:"LOGIN"}},countries:O({},xn)}),on.addResourceBundle("tr","translation",{success:"Başarılı",error:"Hata",table:{noData:"Veri Yok"},placeholders:{username:"Kullanıcı adı",email:"E-Posta",password:"Şifre",confirmPassword:"Şifre tekrar",typeYourNoteHere:"Notunuzu buraya yazınız",selectGender:"Cinsiyet Seçin",selectLanguage:"Dil Seçin",selectCountry:"Ülke Seçin",birthday:"Doğum Tarihi",multipleSelection:"Seçili ({{- count}})"},options:{all:"Hepsi",male:"Erkek",female:"Kadın",languages:{turkish:"Türkçe",english:"İngilizce"}},buttons:{submit:"Gönder",reset:"Temizle"},errors:{required:"Bu alan zorunludur!",minLength:"En az {{- length}} karakter olmalıdır",maxLength:"Çok uzun. Maks uzunluk {{- length}} karakter olmalıdır.",exactLength:"This field must be {{- length}} characters long.",passwordRule:"Şifreniz en az 8 harf olmalı, bir rakam, bir büyük ve bir küçük harf, bir özel karakter içermeli ve boşluk kullanılmamalıdır.",invalidEmailAddress:"Geçersiz e-posta adresi",passwordsDontMatch:"Girdiğiniz şifreler birbirleriyle uyuşmuyor!",usernameRule:"Harf, sayı ve bazı özel karakterlerden oluşmalıdır (-_). Boşluk kullanılmamalıdır",wrongTCIdentity:"TC Kimlik Numarası Yanlış",fieldMustBeTheSame:"Bu alan şunlarla aynı olmalıdır: {{- fields}}"},uploader:{header:"Bir resmi sürükleyip bırakın",hint:"ya da bir dosya seçmek için tıklayın.",fileUploading:"Dosya yükleniyor...",info:"Toplam: {{- total}} - {{- estimated}} sn kaldı.",delete:"Sil",preview:"Önizleme",error:"Hata",fileFormatError:"Yalnızca {{fileFormat}} dosyası yükleyebilirsiniz.",fileSizeError:"Dosya boyutu {{fileSize}}'den küçük olmalıdır.",fileUploadSuccess:"Dosya başarıyla yüklendi.",fileUploadFailed:"Dosya yüklenemedi!",removeFileSuccess:"Dosya başarıyla silindi!",browserDoesntSupportDND:"Tarayıcı taşı&bırak özelliğini desteklemiyor!",calculating:"Hesaplanıyor...",removeFile:"Dosya Silme",areYouSureToDeleteThisFile:"Bu dosyayı silmek istediğinize emin misiniz?",yes:"Evet",no:"Hayır"},results:{authentication:{title:"Üye Girişi Gerekiyor",subtitle:"Bu bölüme ulaşmanız için üye girişi yapmanız gerekiyor. Aşağıdaki tuşa tıklayarak lütfen üye girişi yapınız.",button:"GİRİŞ YAP"}},countries:O({},yn)}),exports.ALink=xR,exports.Accordion=VW,exports.AddDefaultThemeStyle=function(){var n=document.createElement("style");document.head.appendChild(n),n.textContent=":root{color: #ffffff}"},exports.AddZero=function(n){var e=Number(n),o=n.toString().split(".");return(-1===n.toString().indexOf(".")||o[1].length<3||o[1].length>2)&&(n=(e=e.toFixed(2)).toString()),parseFloat(n).toFixed(2)},exports.Alert=Wv,exports.ArrowIcon=NA,exports.BackToTop=wA,exports.BackTop=function(o){var t=o.children,p=void 0===t?null:t,b=e.useState(!1),M=b[0],z=b[1];e.useEffect((function(){return document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)}}),[]);var c=function(){z(document.body.scrollTop>window.innerHeight)},r=function(){window.scrollTo({top:0,behavior:"smooth"})};return n.jsx(WL,{className:"itd-back-to-top",children:n.jsx(gL,{onClick:r,$show:M,children:p||n.jsx(wA,{width:30,height:30})})})},exports.Button=Ti,exports.Calendar=wg,exports.Card=function(o){var t=o.title,p=o.titleSeparator,b=o.extra,M=o.tabs,z=o.onTabChange,c=o.minWidth,r=o.minHeight,i=o.children,a=o.activeTabKey,O=void 0===a?"":a,s=o.updating,d=void 0!==s&&s,A=o.contentPadding,l=void 0===A?"30px":A;e.useEffect((function(){}));var u=function(){if(b)return n.jsx(By,{className:"itd-card-extra",children:b})},q=function(){if(M)return n.jsx(Ry,{tabs:M,activeTabKey:O,onTabChange:function(n){return z&&z(n)}})},f=function(){if(t)return n.jsx(xy,{className:"itd-card-title",children:n.jsx(LA,{children:t})})},h=function(){return!!(t||b||M)};return n.jsx(vy,{children:n.jsx(qr,{updating:d,children:n.jsxs(Ly,{className:"itd-card",$minWidth:c,$minHeight:r,$hasHeader:h(),children:[function(){if(h())return n.jsxs(yy,{$showSeparator:p,className:"itd-card-header",children:[f(),q(),u()]})}(),function(){if(i)return n.jsx(Ny,{className:"itd-card-body",$padding:l,children:i})}()]})})})},exports.CheckFileURL=bA,exports.Checkbox=el,exports.Checkmark=XA,exports.ChunkArray=function(n,e){var o=0,t=[];for(o=0;o<n.length;o+=e){var p=n.slice(o,o+e);"object"!=typeof p&&t.push(p)}return t},exports.Collapse=SR,exports.ConsoleLog=Dn,exports.ConvertCurrency=function(n,e){return n||(n=0),tA(n,"TRY"===e?"₺":"USD"===e?"$":"EUR"===e?"€":"?")},exports.DatePicker=Dg,exports.DetermineNewHeight=function(n,e,o){return n/e*o},exports.DetermineNewWidth=function(n,e,o){return e/n*o},exports.FileChecker=function(n,e){void 0===n&&(n="config"),void 0===e&&(e="resource");var o=void 0!==performance.getEntries().filter((function(n){return n.entryType===e})).filter((function(e){return e.name.indexOf(n)>-1}))[0];return o?console.log("script already loaded"):console.log("script was not loaded"),o},exports.FindSelector=cM,exports.Flex=Cy,exports.Form=BW,exports.FormatBytes=MA,exports.FormatDate=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="D MMMM YYYY dddd"),AA(new Date(n)).locale(e).format(o)},exports.FormatDateTime=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="D MMMM YYYY dddd - HH:mm"),AA(new Date(n)).locale(e).format(o)},exports.FormatSimpleDate=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="D MMMM YYYY"),AA(new Date(n)).locale(e).format(o)},exports.FormatSimpleDateTime=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="MM/DD/YYYY - HH:mm"),AA(new Date(n)).locale(e).format(o)},exports.FormatTime=function(n,e,o){return void 0===e&&(e="tr"),void 0===o&&(o="HH:mm"),AA(n).locale(e).format(o)},exports.GetByCurrency=function(n,e,o){if(void 0===e&&(e=!0),void 0===o&&(o=""),""===o)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");isNaN(n)&&(n=0);var t=oA(o);return e?new Intl.NumberFormat(t,{style:"currency",currency:o}).format(n):n},exports.GetCountryCodeByCurrencyCode=oA,exports.GetCountryCodeByLanguage=function(n){return"tr"===n?"tur":"en"===n?"usa":"language_not_found"},exports.GetCurrencyFormat=function(n,e){if(void 0===e&&(e=""),""===e)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return""===n?"":n="".concat(pA(e)).concat(n).replace(/\B(?=(\d{3})+(?!\d))/g,".")},exports.GetCurrencySymbol=pA,exports.GetDecimalByCurrency=function(n){if(void 0===n&&(n=""),""===n)throw new Error("Currency Error: You must send the currency (EUR, USD, TRY, etc...");return"TRY"===n?",":"EUR"===n||"USD"===n?".":","},exports.GetTypeByFileType=zA,exports.H1=function(e){var o=e.children;return n.jsx(gA,{children:n.jsx("span",{children:o})})},exports.H2=LA,exports.H3=function(e){var o=e.children;return n.jsx(RA,{children:n.jsx("span",{children:o})})},exports.H4=yA,exports.ITDContext=eA,exports.ITDProvider=function(o){var t=e.useState(o.theme?o.theme:"dark"),p=t[0],b=t[1],M=e.useState(o.dateFormat?o.dateFormat:"MM/DD/YYYY"),z=M[0],c=M[1],r=e.useState(o.language?o.language:"en"),i=r[0],a=r[1],O=e.useState("en-US"),s=O[0],d=O[1],A=e.useState(""),l=A[0],u=A[1];e.useEffect((function(){o.theme&&q(o.theme),o.language&&h(o.language),o.dateFormat&&f(o.dateFormat)}),[o.theme,o.language,o.dateFormat]);var q=function(n){b(n)},f=function(n){c(n)},h=function(n){a(n),on.changeLanguage(n)},W={theme:p,brokenImage:l,dateFormat:z,language:i,locale:s,changeTheme:q,changeBrokenImage:function(n){u(n)},changeDateFormat:f,changeLanguage:h,changeLocale:function(n){d(n)}};return n.jsx(nA,{className:"itd-provider","data-theme":p,"data-lang":i,children:n.jsx(eA.Provider,{value:W,children:n.jsx(Id,{children:n.jsx(Qd,{children:n.jsx(pa,{children:o.children})})})})})},exports.Image=pi,exports.InlineSelect=Mv,exports.InlineSelectArrow=kA,exports.Input=tR,exports.IsValidJSON=function(n){n="string"!=typeof n?JSON.stringify(n):n;try{n=JSON.parse(String(n))}catch(n){return!1}return"object"==typeof n&&null!==n},exports.LockIcon=xA,exports.ModalManager=ba,exports.NoData=CA,exports.Notification=Fd,exports.Picture=TA,exports.Progress=function(e){var o,t=e.status,p=e.percent,b=void 0===p?0:p,M=e.alwaysShowPercent,z=void 0!==M&&M,c=e.showInfo,r=void 0===c||c,i=e.className,a=void 0===i?"":i,O=n.jsx("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"})}),s=n.jsx("svg",{fillRule:"evenodd",viewBox:"64 64 896 896",focusable:"false","data-icon":"close-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n.jsx("path",{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"})}),d=function(){return t||(b<100?"normal":"success")},A=function(){if(r)return n.jsx("span",{className:"itd-progress-status",children:l()})},l=function(){var e=d();return"active"===e||"normal"===e||z?n.jsx("span",{className:"itd-progress-status-text",children:b+"%"}):"success"===e?O:"exception"===e?s:void 0};return n.jsx(wL,{$status:d(),$percent:b,className:(o="itd-progress",o+=" itd-progress-"+t,o+=" itd-progress-percent-"+b,""!==a&&null!==a&&(o+=" "+a),o),children:n.jsxs("div",{className:"itd-progress-outer",children:[n.jsx("div",{className:"itd-progress-inner",children:n.jsx("div",{className:"itd-progress-bg"})}),A()]})})},exports.Radio=VR,exports.RemoveUnits=function(n){return n?(n=n.replaceAll("%","").replaceAll("px","").replaceAll("em","").replaceAll("ex","").replaceAll("ch","").replaceAll("rem","").replaceAll("vw","").replaceAll("vh","").replaceAll("vmin","").replaceAll("vmax","").replaceAll("pt","").replaceAll("pc","").replaceAll("in","").replaceAll("mm","").replaceAll("cm",""),parseInt(n)):0},exports.Result=uL,exports.SVGLoader=function(e,o,t){return n.jsx(OA,{$width:o,$height:t,children:n.jsx(p.ReactSVG,{src:e})})},exports.Select=MW,exports.Spin=qr,exports.Status=function(e){var o,t=e.variant,p=void 0===t?"gray-1":t,b=e.size,M=void 0===b?"default":b,z=e.stretch,c=void 0!==z&&z,r=e.children,i=void 0===r?"":r,a=e.className,O=void 0===a?"":a;return n.jsx(yL,{$status:p,className:(o="itd-status",o+=" itd-status-"+p,o+=" itd-status-"+li(M),c&&(o+=" itd-status-stretch"),""!==O&&null!==O&&(o+=" "+O),o),children:n.jsx("span",{children:i})})},exports.Switch=vR,exports.Table=Ey,exports.Tabs=Ry,exports.TextArea=lR,exports.TinyScrollbar=Bh,exports.Tooltip=Jd,exports.Trash=SA,exports.UniUpperCase=function(n,e){void 0===n&&(n=""),void 0===e&&(e="tr");var o={i:"İ","ş":"Ş","ğ":"Ğ","ü":"Ü","ö":"Ö","ç":"Ç","ı":"I"};return"tr"===e&&(n=n.replace(/(([iışğüçö]))/g,(function(n){return o[n]}))),n.toUpperCase()},exports.UpdateThemeStyle=function(n){var e="",o=document.styleSheets[0];Object.keys(n).forEach((function(o){e+="".concat(o,":").concat(n[o],";")})),o.hasOwnProperty("cssRules")&&(o.cssRules[0].style.cssText=e)},exports.Upload=ML,exports.UploadIcon=BA,exports.Wait=cA,exports.ZoomIn=EA,exports.ZoomOut=function(e){var o=e.className,t=void 0===o?"":o,p=e.height,b=void 0===p?24:p,M=e.width,z=void 0===M?24:M;return n.jsx("svg",{className:t,height:b,width:z,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:n.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[n.jsx("rect",{x:"0",y:"0",width:"24",height:"24"}),n.jsx("path",{d:"M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z",fill:"#000000",fillRule:"nonzero",opacity:"0.3"}),n.jsx("path",{d:"M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z",fill:"#000000",fillRule:"nonzero"}),n.jsx("rect",{fill:"#000000",opacity:"0.3",x:"9",y:"10.5",width:"4",height:"1",rx:"0.5"})]})})},exports.useAddExternalCSS=function(n,o){void 0===o&&(o=!1),e.useEffect((function(){var e=!1,p=document.head,b=t();return document.querySelectorAll("head > link").forEach((function(o){-1!==o.href.indexOf(n)&&(e=!0)})),e||p.appendChild(b),function(){o&&document.querySelectorAll("head > link").forEach((function(e){-1!==e.href.indexOf(n)&&document.head.removeChild(e)}))}}),[n]);var t=function(){var e=document.createElement("link");return e.type="text/css",e.rel="stylesheet",e.href=n,e}},exports.useComponentSize=function(n){var o=e.useState({width:0,height:0}),t=o[0],p=o[1];return e.useEffect((function(){if(n.current){var e=new ResizeObserver((function(n){n.forEach((function(n){var e=n.target;p({width:e.clientWidth,height:e.clientHeight})}))}));return e.observe(n.current),function(){return e.disconnect()}}}),[n]),[t]},exports.useConnectionStatus=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("online",e),function(){window.removeEventListener("online",e)}}),[n])},exports.useConstructor=function(n){void 0===n&&(n=function(){});var o=e.useState(!1),t=o[0],p=o[1];t||(n(),p(!0))},exports.useContextBridge=function(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];if(0===o.length)return function(e){var o=e.children;return n.jsx(n.Fragment,{children:o})};var p=o.map(e.useContext),b=e.useRef(p);return b.current=p,e.useMemo((function(){return function(e){var t=e.children;return o.reduceRight((function(e,o,t){return n.jsx(o.Provider,{value:b.current[t],children:e})}),t)}}),[])},exports.useCoreFetch=dM,exports.useCreateDynamicStyle=function(n,o,t){void 0===t&&(t=Me("itd-dynamic-style")),e.useEffect((function(){return z()||p(),function(){var n=c();"string"!=typeof n&&n.parentNode&&n.parentNode.removeChild(n)}}),[]);var p=function(){r(),o("cs-"+t)},z=function(){return 0===Object.keys(n).length},c=function(){var n="";return document.querySelectorAll("head > style").forEach((function(e){e.id===t&&(n=e)})),n},r=function(){var e=i(n),o=document.createElement("style");o.setAttribute("type","text/css"),o.setAttribute("id",t),o.innerHTML=e.join(""),document.head.appendChild(o)},i=function(n){var e=[];for(var o in n){var p=JSON.stringify(n[o]).split('","').join(";").replace(/"/g,"");p=M().use(b).use(zM).use($b({})).process(p).css;var z=".cs-".concat(t," ").concat(o," ");z+=p,z+=" ",e.push(z)}return e}},exports.useCreateStyledStyle=rM,exports.useMultiQuery=sM,exports.useOnClickOutside=iM,exports.useOnESCKeyDown=aM,exports.useOnResize=function(n){e.useEffect((function(){var e=function(e){n(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[n])},exports.useReCaptcha=function(n){var o,t=e.useState(""),p=t[0],b=t[1];e.useEffect((function(){return function(){document.body.removeChild(o)}}),[]);return{loadReCaptcha:function(n){(o=document.createElement("script")).src="https://www.google.com/recaptcha/api.js?render="+n,o.onload=function(){b(n)},document.body.appendChild(o)},executeReCaptcha:function(){if(""===p)return Dn.double("useReCaptcha","Not yet initialized! reCaptcha can't execute right now.","error"),void(n&&n(null));window.grecaptcha.ready((function(e){try{window.grecaptcha.execute(p,{action:"login"}).then((function(e){Dn.double("ReCaptcha V3","Token is valid"),console.log("token: "+e),n&&n(e)}))}catch(n){Dn.double("ReCaptcha V3","Token is invalid","error")}}))}}},exports.useSingleQuery=OM;
package/dist/index.d.ts CHANGED
@@ -431,7 +431,7 @@ type FormContextType = {
431
431
  setName: (name: string) => void;
432
432
  setInitialValues: (initialFields: {}, update?: boolean, validation?: boolean) => {};
433
433
  setInvalidField: (name: string, message: string) => void;
434
- setInvalidFields: (names: [], message: string) => void;
434
+ setInvalidFields: (names: string[], message: string) => void;
435
435
  setFieldValue: (name: string, value: FormValueProps) => void;
436
436
  setFieldValueByName: (name: string, value: FormValueProps, update: boolean, validation: boolean) => void;
437
437
  setFieldError: (name: string, message: string, validation?: boolean) => void;
@@ -645,7 +645,7 @@ declare const Alert: {
645
645
  declare const Upload: react.ForwardRefExoticComponent<UploadProps & react.RefAttributes<ITDImperativeFuncProps>>;
646
646
 
647
647
  declare const Result: {
648
- ({ image, title, description, extra, footer, type, fill, autoCenter }: ResultProps$1): react_jsx_runtime.JSX.Element;
648
+ ({ image, title, description, extra, footer, type, fill, autoCenter, background }: ResultProps$1): react_jsx_runtime.JSX.Element;
649
649
  displayName: string;
650
650
  };
651
651
 
@@ -1296,6 +1296,7 @@ type ResultProps = {
1296
1296
  footer?: JSX.Element | null;
1297
1297
  fill?: boolean;
1298
1298
  autoCenter?: boolean;
1299
+ background?: boolean;
1299
1300
  };
1300
1301
 
1301
1302
  type TabsItemProps = {