@inntechcorp/it-design 2.0.143 → 2.0.145

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.
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"})),Wv=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"]))),hv=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(Wv,{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]})]})};hv.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(Pv||(Pv=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(Dv||(Dv=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,Pv,Dv,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,W=void 0===f?10:f,h=o.fileHeight,g=void 0===h?"100%":h,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,P=o.extraHeader,D=void 0===P?{}:P,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=hn().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),Wn=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),Pn=_n[0],Dn=_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:D,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 Dn(!0)},onPointerOut:function(){return Dn(!1)}};return n.jsxs(pL,O({},e,{children:[Pn?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||Wn)&&!In,$padding:W,$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=(Wn||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(Ty,{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(""),W=f[0],h=f[1];e.useEffect((function(){""!==p&&h(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:W})}),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,WL,hL=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(WL||(WL=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,PL,DL,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,Wy,hy=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(PL||(PL=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(hy,{$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(DL||(DL=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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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=or.div(Wy||(Wy=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)}})),Ty=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(Ey,{$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=Vh,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=hv,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(hL,{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})})},W=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:W(),children:[function(){if(W())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=Pn,exports.ConvertCurrency=function(n,e){return n||(n=0),tA(n,"TRY"===e?"₺":"USD"===e?"$":"EUR"===e?"€":"?")},exports.DatePicker=Pg,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=Ty,exports.Form=Bh,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&&W(o.language),o.dateFormat&&f(o.dateFormat)}),[o.theme,o.language,o.dateFormat]);var q=function(n){b(n)},f=function(n){c(n)},W=function(n){a(n),on.changeLanguage(n)},h={theme:p,brokenImage:l,dateFormat:z,language:i,locale:s,changeTheme:q,changeBrokenImage:function(n){u(n)},changeDateFormat:f,changeLanguage:W,changeLocale:function(n){d(n)}};return n.jsx(nA,{className:"itd-provider","data-theme":p,"data-lang":i,children:n.jsx(eA.Provider,{value:h,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=Mh,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=function(e){var o,t=e.columns,p=e.data,b=e.cellHeight,M=e.size,z=void 0===M?"default":M,c=e.headless,r=void 0!==c&&c,i=e.bordered,a=void 0!==i&&i,O=e.dashed,s=void 0!==O&&O,d=e.noGaps,A=void 0!==d&&d,l=e.overflow,u=void 0!==l&&l,q=hn().t,f=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 b?o.height=b:"number"==typeof b?o.minHeight=b+"px":o.height="auto"),o};return n.jsx(wy,{$size:z,$noGaps:A,children:n.jsxs("table",{className:(o="itd-table",o+=" itd-table-"+li(z),r&&(o+=" itd-table-headless"),a&&(o+=" itd-table-bordered"),A&&(o+=" itd-table-no-gaps"),p||(o+=" itd-table-empty"),0===(null==p?void 0:p.length)&&(o+=" itd-table-no-data"),o+=s?" itd-table-dashed":" itd-table-solid"),children:[function(){if(!r)return n.jsx("thead",{children:n.jsx("tr",{children:t.map((function(e){return n.jsx("th",{style:f(e,"th"),children:n.jsx(ky,{$overflow:u,title:e.title,children:e.title})},String(e.key))}))})})}(),p?0===p.length?n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:t.length,children:n.jsx(Xy,{children:n.jsxs("div",{children:[n.jsx(CA,{height:30}),n.jsx("span",{children:q("table.noData")})]})})})})}):n.jsx("tbody",{children:p.map((function(e,o){return n.jsx("tr",{children:t.map((function(t){return n.jsx("td",{style:f(t,"td"),children:n.jsx(Sy,{$overflow:u,title:e[t.dataIndex],children:t.render?t.render(e[t.dataIndex],e,o):t.dataIndex?e[t.dataIndex]:null})},String(t.key))}))},String(e.key))}))}):n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:t.length,children:n.jsx(Xy,{})})})})]})})},exports.Tabs=Ry,exports.TextArea=lR,exports.TinyScrollbar=BW,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 Pn.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){Pn.double("ReCaptcha V3","Token is valid"),console.log("token: "+e),n&&n(e)}))}catch(n){Pn.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"})),Wv=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"]))),hv=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(Wv,{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]})]})};hv.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(Pv||(Pv=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(Dv||(Dv=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,Pv,Dv,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,W=void 0===f?10:f,h=o.fileHeight,g=void 0===h?"100%":h,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,P=o.extraHeader,D=void 0===P?{}:P,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=hn().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),Wn=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),Pn=_n[0],Dn=_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:D,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 Dn(!0)},onPointerOut:function(){return Dn(!1)}};return n.jsxs(pL,O({},e,{children:[Pn?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||Wn)&&!In,$padding:W,$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=(Wn||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(Ty,{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(""),W=f[0],h=f[1];e.useEffect((function(){""!==p&&h(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:W})}),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,WL,hL=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(WL||(WL=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,PL,DL,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,Wy,hy=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(PL||(PL=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(hy,{$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(DL||(DL=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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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=or.div(Wy||(Wy=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)}})),Ty=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(Ey,{$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=Vh,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=hv,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(hL,{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})})},W=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:W(),children:[function(){if(W())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=Pn,exports.ConvertCurrency=function(n,e){return n||(n=0),tA(n,"TRY"===e?"₺":"USD"===e?"$":"EUR"===e?"€":"?")},exports.DatePicker=Pg,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=Ty,exports.Form=Bh,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&&W(o.language),o.dateFormat&&f(o.dateFormat)}),[o.theme,o.language,o.dateFormat]);var q=function(n){b(n)},f=function(n){c(n)},W=function(n){a(n),on.changeLanguage(n)},h={theme:p,brokenImage:l,dateFormat:z,language:i,locale:s,changeTheme:q,changeBrokenImage:function(n){u(n)},changeDateFormat:f,changeLanguage:W,changeLocale:function(n){d(n)}};return n.jsx(nA,{className:"itd-provider","data-theme":p,"data-lang":i,children:n.jsx(eA.Provider,{value:h,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=Mh,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=function(e){var o,t=e.columns,p=e.data,b=e.cellHeight,M=e.size,z=void 0===M?"default":M,c=e.headless,r=void 0!==c&&c,i=e.bordered,a=void 0!==i&&i,O=e.dashed,s=void 0!==O&&O,d=e.noGaps,A=void 0!==d&&d,l=e.overflow,u=void 0!==l&&l,q=e.getTRProps,f=hn().t,W=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 b?o.height=b:"number"==typeof b?o.minHeight=b+"px":o.height="auto"),o};return n.jsx(wy,{$size:z,$noGaps:A,children:n.jsxs("table",{className:(o="itd-table",o+=" itd-table-"+li(z),r&&(o+=" itd-table-headless"),a&&(o+=" itd-table-bordered"),A&&(o+=" itd-table-no-gaps"),p||(o+=" itd-table-empty"),0===(null==p?void 0:p.length)&&(o+=" itd-table-no-data"),o+=s?" itd-table-dashed":" itd-table-solid"),children:[function(){if(!r)return n.jsx("thead",{children:n.jsx("tr",{children:t.map((function(e){return n.jsx("th",{style:W(e,"th"),children:n.jsx(ky,{$overflow:u,title:e.title,children:e.title})},String(e.key))}))})})}(),p?0===p.length?n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:t.length,children:n.jsx(Xy,{children:n.jsxs("div",{children:[n.jsx(CA,{height:30}),n.jsx("span",{children:f("table.noData")})]})})})})}):n.jsx("tbody",{children:p.map((function(e,o){return n.jsx("tr",{style:q?q(e,o):{},children:t.map((function(t){return n.jsx("td",{style:W(t,"td"),children:n.jsx(Sy,{$overflow:u,title:String(e[t.dataIndex]),children:t.render?t.render(e[t.dataIndex],e,o):t.dataIndex?String(e[t.dataIndex]):null})},String(t.key))}))},String(e.key))}))}):n.jsx("tbody",{children:n.jsx("tr",{children:n.jsx("td",{colSpan:t.length,children:n.jsx(Xy,{})})})})]})})},exports.Tabs=Ry,exports.TextArea=lR,exports.TinyScrollbar=BW,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 Pn.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){Pn.double("ReCaptcha V3","Token is valid"),console.log("token: "+e),n&&n(e)}))}catch(n){Pn.double("ReCaptcha V3","Token is invalid","error")}}))}}},exports.useSingleQuery=OM;
package/dist/index.d.ts CHANGED
@@ -676,7 +676,7 @@ declare const Tabs: ({ tabs, activeTabKey, variant, height, onTabChange }: TabsP
676
676
 
677
677
  declare const Card: ({ title, titleSeparator, extra, tabs, onTabChange, minWidth, minHeight, children, activeTabKey, updating, contentPadding, }: CardProps) => react_jsx_runtime.JSX.Element;
678
678
 
679
- declare const Table: <T>({ columns, data, cellHeight, size, headless, bordered, dashed, noGaps, overflow }: TableProps<T>) => react_jsx_runtime.JSX.Element;
679
+ declare const Table: <T>({ columns, data, cellHeight, size, headless, bordered, dashed, noGaps, overflow, getTRProps }: TableProps<T>) => react_jsx_runtime.JSX.Element;
680
680
 
681
681
  declare const Flex: ({ gap, justify, align, vertical, wrap, stretch, style, className, children }: FlexProps) => react_jsx_runtime.JSX.Element;
682
682
 
@@ -1328,6 +1328,7 @@ type TableProps<T> = {
1328
1328
  dashed?: boolean;
1329
1329
  noGaps?: boolean;
1330
1330
  overflow?: boolean;
1331
+ getTRProps?: (row: T, rowIndex: number) => React.CSSProperties;
1331
1332
  };
1332
1333
 
1333
1334
  type CardProps = {
package/dist/index.esm.js CHANGED
@@ -538,4 +538,4 @@ function oq(n,o){if(uq(n))for(let e=0;e<n.length&&!1!==o(n[e],e,n);e++);else n&&
538
538
  position: relative;
539
539
  width: max-content;
540
540
 
541
- `,iL=({label:n="",value:o=[],children:e=null,single:t=!1,minWidth:b=0,className:M="",onChange:i=null})=>{const a=c(null),[O,s]=z(!1),[d,A]=z([]),[l,q]=z("");r((()=>{o&&o.length>0&&e.length>0&&(A(o),W.map(e,(n=>{n.props.value===o[0]&&q(n.props.children)})))}),[o,e]),DM(a,(()=>{s(!1)}));const f=(n,o)=>{if(i?i(n,o):console.warn("InlineSelect: 'onChange' method couldn't be called because it is not defined!"),t)A(n),q(o);else{const o=n[n.length-1];A(o||[])}};return p.createElement(rL,{className:(()=>{let n="itd-inline-select";return O&&(n+=" itd-inline-select-open"),""!==M&&(n+=" "+M),n})(),ref:a},p.createElement(cL,{onChange:n=>{s(n)},isOpen:O,count:d.length,single:t,label:(()=>{let o=t||!t&&1===d.length?l:n;return""===o?"··········":o})()}),p.createElement(tL,{onChange:f,value:d,isOpen:O,single:t,minWidth:b},W.map(e,(n=>{if(n&&n.hasOwnProperty("type")&&null!==n.type&&void 0!==n.type)return n.type===oL?u(n,{...n.props,onChange:f,single:t}):void 0}))))};iL.Option=oL;var aL,OL,sL,dL,AL,lL,uL,qL,fL,WL=Sr.div(AL||(AL=D(["\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 kr(aL||(aL=D(["\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 kr(sL||(sL=D(["\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 kr(dL||(dL=D(["\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 kr(OL||(OL=D(["\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 "])))})),hL=Sr.span(lL||(lL=D(["\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"]))),gL=Sr.span(uL||(uL=D(["\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"]))),mL=Sr.span(qL||(qL=D(["\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"})),RL=Sr.div(fL||(fL=D(["\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"]))),vL=function(o){var t=o.type,p=void 0===t?"info":t,b=o.size,M=void 0===b?"small":b,z=o.title,c=void 0===z?"":z,r=o.className,i=void 0===r?"":r,a=o.children,O=void 0===a?"":a;return e(WL,{className:function(){var n="itd-alert";return n+=" itd-alert-"+p,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}(),children:[n(RL,{children:n(L,{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"})}),e(mL,{$noTitle:!c,children:[""!==c?n(hL,{children:c}):null,""!==O?n(gL,{children:O}):null]})]})};vL.displayName="ITD-Alert";var LL=Sr.div(EL||(EL=D(['\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']))),yL=Sr.div(SL||(SL=D(["\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"})),NL=Sr.label(_L||(_L=D(["\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"})),xL=Sr.div(CL||(CL=D(["\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"]))),BL=Sr.div(PL||(PL=D(["\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%"})),wL=Sr.div(IL||(IL=D(["\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&&kr(DL||(DL=D(["\n top: 50%;\n "],["\n top: 50%;\n "])))})),XL=Sr.div(jL||(jL=D(["\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&&kr(FL||(FL=D(["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "],["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "])))})),kL=Sr.div($L||($L=D(["\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 o=n.$isActive,e=n.$complete,t=n.$error;return o&&kr(UL||(UL=D(["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "],["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "])),e?"#91DB7D":t?"#ff0000":"#1b84ff")})),TL=Sr.div(VL||(VL=D(['\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+"%"}));Sr.div(HL||(HL=D(["\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 EL,SL,_L,CL,PL,DL,IL,FL,jL,UL,$L,VL,HL,YL,GL,KL,QL,JL,ZL,ny,oy,ey,ty,py,by,My,zy=Sr.div(YL||(YL=D(['\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']))),cy=Sr(zy)(GL||(GL=D(["\n\n &::before {\n background-color: #f8285a;\n }\n\n"],["\n\n &::before {\n background-color: #f8285a;\n }\n\n"]))),ry=Sr.span(KL||(KL=D(['\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']))),iy=f((function(o,t){var p=o.resultFileName,b=void 0===p?null:p,M=o.action,i=void 0===M?"":M,a=o.filePath,O=void 0===a?"":a,s=o.binaryName,d=void 0===s?"file":s,A=o.showDeleteIcon,l=void 0!==A&&A,u=o.showPreviewIcon,q=void 0!==u&&u,f=o.padding,W=void 0===f?10:f,g=o.fileHeight,m=void 0===g?"100%":g,R=o.previewFileWidth,v=void 0===R?"100%":R,L=o.previewFileHeight,y=void 0===L?"100%":L,N=o.previewFilePadding,x=void 0===N?"0":N,B=o.requestMethod,w=void 0===B?"put":B,X=o.maxFileSize,k=void 0===X?1024:X,T=o.disabled,E=void 0!==T&&T,P=o.extraFormData,D=void 0===P?{}:P,I=o.extraQueryString,F=void 0===I?{}:I,j=o.extraHeader,U=void 0===j?{}:j,$=o.fileTypes,V=void 0===$?[Hn.JPG,Hn.PNG,Hn.SVG,Hn.PDF]:$,H=o.removeAction,Y=void 0===H?"":H,G=o.removeExtraFormData,K=void 0===G?{}:G,Q=o.removeExtraQueryString,J=void 0===Q?{}:Q,Z=o.removeExtraHeader,nn=void 0===Z?{}:Z,on=o.onUpdate,en=o.onUploadSuccess,tn=o.onUploadFailed,pn=o.onRemoveFileSuccess,bn=o.onRemoveFileFailed,Mn=c(null),zn=mA.useNotifications().addNotification,cn=Pa.useModal().showModal,rn=HM(),an=rn.fetch,On=rn.cancel,sn=$n().t,dn=z(!1),An=dn[0],ln=dn[1],un=z(!1),qn=un[0],fn=un[1],Wn=z(".svg, .png, .jpg"),hn=Wn[0],gn=Wn[1],mn=z(!1),Rn=mn[0],vn=mn[1],Ln=z(!1),yn=Ln[0],Nn=Ln[1],xn=z(!1),Bn=xn[0],wn=xn[1],Xn=z(null),kn=Xn[0],Tn=Xn[1],En=z(null),Sn=En[0],_n=En[1],Cn=z(""),Pn=Cn[0],Dn=Cn[1],In=z(!1),Fn=In[0],jn=In[1],Un=z(!1),Vn=Un[0],Yn=Un[1],Gn=z(null),Kn=Gn[0],Qn=Gn[1],Jn=z(!1),Zn=Jn[0],no=Jn[1],oo=z(null),eo=oo[0],to=oo[1];r((function(){return function(){On()}}),[]),r((function(){fn(E)}),[E]),r((function(){_n(O?O.split("?")[0]:"")}),[O]),r((function(){null!==Sn&&(void 0!==Sn?Mo():ln(!1))}),[Sn]),r((function(){var n=[];V.map((function(o){n.push(tl(o))})),gn(n.join(", "))}),[V]);var po=function(n,o){zn({title:n,description:o,placement:"topRight",autoHide:!0,delay:5e3,type:"error"})},bo=function(n,o,e){void 0===o&&(o=!0),void 0===e&&(e=!0),on&&on(n,o,e)};h(t,(function(){return{setFocus:function(){wn(!0)},reset:function(n,o){void 0===n&&(n=!1),void 0===o&&(o=!1),zo(),_n(null),Dn(""),bo("",n,o)},setValue:function(n,o,e){void 0===o&&(o=!0),void 0===e&&(e=!0),_n(n),bo(n,o,e)},getValue:function(){return Sn||""},setError:function(n){Dn(n)},forceUpdate:function(){bo(Sn||"")},clear:function(){_n("")}}}));var Mo=function(){return _(void 0,void 0,void 0,(function(){var n;return C(this,(function(o){switch(o.label){case 0:return n=!1,Sn?(console.time("Checking file completed in"),[4,nl(Sn)]):[3,2];case 1:n=o.sent(),Tn(n),n?bo(Sn):bo("",!0,!0),An||ln(!0),console.timeEnd("Checking file completed in"),o.label=2;case 2:return""!==Sn||An||ln(!0),""===Sn&&An&&bo("",!0,!0),[2]}}))}))},zo=function(){to(null),Qn(null),no(!1),Tn(null)},co=function(){return _(void 0,void 0,void 0,(function(){return C(this,(function(o){return fn(!0),cn({content:n("div",{children:sn("uploader.areYouSureToDeleteThisFile")}),title:sn("uploader.removeFile"),okButtonText:sn("uploader.yes"),cancelButtonText:sn("uploader.no"),okButtonProps:{variant:"statable",state:"reject"},closeOnClickOutside:!1,showCloseButton:!1,onOk:function(){return Y?an({action:Y,params:K,queries:J,headers:nn,onFetched:function(n){n.data.success?(zo(),bo("",!0,!0),pn&&pn(n.data.data)):bn&&bn()},onError:function(){bn&&bn()}}):(zo(),bo("",!0,!0),pn&&pn()),fn(!1),!0},onCancel:function(){return fn(!1),!0}}),[2]}))}))},ro=function(n){n.preventDefault(),Vn||Nn(!0)},io=function(n){n.preventDefault(),Vn||Nn(!1)},ao=function(n){n.preventDefault(),Vn||(Nn(!1),n.dataTransfer&&0!==n.dataTransfer.files.length?Ao(n.dataTransfer.files[0]):console.log(sn("uploader.browserDoesntSupportDND")))},Oo=function(n){Nn(!1);var o=n.target.files[0];Ao(o)},so=function(n){return _(void 0,[n],void 0,(function(n){var o=n.path,e=n.errorMessage,t=n.errorCode;return C(this,(function(n){switch(n.label){case 0:return[4,pl(1e3)];case 1:return n.sent(),Qn(null),Yn(!1),[4,pl(1500)];case 2:return n.sent(),no(!1),o?en&&en(o):e&&tn&&tn(e,t||0),[2]}}))}))},Ao=function(n){if(n&&function(n){return!!V.includes(n.type)||(po(sn("uploader.error"),sn("uploader.fileFormatError",{fileFormat:hn})),!1)}(n)&&function(n){return!(n.size>1024*k&&(po(sn("uploader.error"),sn("uploader.fileSizeError",{fileSize:el(1024*k)})),1))}(n)){if(b){var o=tl(n.type);n=new File([n],b+o,{type:o,lastModified:n.lastModified})}!function(n){_(void 0,void 0,void 0,(function(){var o;return C(this,(function(e){return n?((o=new FormData).append(d,n),b&&o.append("name",b),Object.keys(D).forEach((function(n){o.append(n,D[n])})),an({action:i,requestMethod:w,params:o,queries:F,headers:U,onFetched:function(n){n.data.success?(to({message:sn("uploader.fileUploadSuccess"),status:"success"}),no(!0),_n(n.data.data.url),so({path:n.data.data.url})):(to({message:sn("uploader.fileUploadFailed"),status:"error"}),bo("",!0,!0),so({errorMessage:sn("uploader.fileUploadFailed")}))},onError:function(n,o){to({message:sn("uploader.fileUploadFailed"),status:"error"}),bo("",!0,!0),so({errorMessage:n,errorCode:o})},onProgress:function(n){Qn({estimated:n.estimated?(Math.round(100*n.estimated)/100).toFixed(2):"0",progress:n.progress?Math.round(100*n.progress):0,bytes:n.bytes?el(n.bytes):"",total:n.total?el(n.total):""})}}),[2]):[2]}))}))}(n),Yn(!0)}},lo=function(){fn(!0),cn({content:n(BL,{className:"itd-upload-preview-content",$width:v,$height:y,$padding:x,children:n(Ci,{src:Sn})}),showOkButton:!1,showCancelButton:!1,contentPadding:"0px",width:"max-content",onCancel:function(){return fn(!1),!0}})},uo=function(){if(l&&Sn&&!Vn&&kn)return n("span",{children:n(la,{variant:"solid",size:"small",type:"button",circle:!0,onClick:co,disabled:qn,icon:n(_l,{width:16,height:16}),className:"itd-upload-delete-button"})})},qo=function(){if(q&&Sn&&!Vn&&kn)return n("span",{children:n(la,{variant:"solid",size:"small",type:"button",circle:!0,onClick:lo,disabled:qn,icon:n(Cl,{width:16,height:16}),className:"itd-upload-preview-button"})})},fo=n("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:n("g",{id:"Error",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e("g",{id:"ErrorGroup",fillRule:"nonzero",children:[n("circle",{id:"ErrorBackground",fill:"#F8285A",cx:"10",cy:"10",r:"10"}),n("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"})]})})}),Wo=function(){if(""!==Pn&&!Vn)return e(cy,S({},{className:"itd-upload-failed itd-failed-status",onPointerOver:function(){return jn(!0)},onPointerOut:function(){return jn(!1)}},{children:[Fn?n(ry,{className:"itd-upload-error-tooltip itd-error-tooltip",children:Pn}):null,fo]}))},ho=function(){if(An)return null===kn?n(kl,{width:24,height:24}):!1===kn?n(Dl,{width:40,height:40}):n(Ci,{src:Sn,height:m})};return function(o){return void 0===o&&(o=To("itd-upload-")),e(LL,{className:"itd-upload",children:[n("input",{type:"file",id:o,accept:hn,onChange:Oo,onFocus:function(){return wn(!0)},onBlur:function(){return wn(!1)},onClick:function(){var n;null===(n=Mn.current)||void 0===n||n.blur()},disabled:Vn||qn,ref:Mn}),n(NL,{htmlFor:o,$showFocus:Bn,className:"itd-upload-label",children:e(yL,{$showBorder:(yn||Rn)&&!Vn,$padding:W,$disabled:E,$hasError:""!==Pn&&!Vn,className:"itd-upload-content",children:[ho(),e(kL,{className:"itd-upload-status",$isActive:Vn,$complete:"success"===(null==eo?void 0:eo.status),$error:"error"===(null==eo?void 0:eo.status),children:[n(TL,{className:"itd-upload-status-box",$progress:Kn?Kn.progress:0,$complete:"success"===(null==eo?void 0:eo.status),$error:"error"===(null==eo?void 0:eo.status)}),n("span",{className:"itd-upload-status-message",children:sn(Zn||eo?String(null==eo?void 0:eo.message):"uploader.fileUploading")}),n("span",Kn?{className:"itd-upload-status-info",children:sn("uploader.info",{total:Kn.total,estimated:Kn.estimated})}:{className:"itd-upload-status-calculating",children:sn("uploader.calculating")})]}),(t=(Rn||yn)&&!Vn&&!qn,n(XL,{onPointerOver:function(){!yn&&vn(!0)},onPointerOut:function(){!yn&&vn(!1)},onDragOver:ro,onDragLeave:io,onDrop:ao,$isHover:t,className:"itd-upload-overlay",children:e(wL,{$isHover:t,className:"itd-upload-overlay-content",children:[n("span",{className:"itd-upload-header",children:sn("uploader.header")}),n("span",{className:"itd-upload-hint",children:sn("uploader.hint")})]})})),e(xL,{children:[e($N,{vertical:!0,gap:"small",className:"itd-upload-icons",children:[uo(),qo()]}),Wo()]})]})})]});var t}()})),ay=Sr.section(QL||(QL=D(["\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"]))),Oy=_r(JL||(JL=D(["\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"]))),sy=Sr.div(ZL||(ZL=D(["\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"]))),dy=Sr.div(ny||(ny=D(["\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"])),Oy,(function(n){return"true"===n.$fill?"100%":"auto"}),(function(n){return"true"===n.$fill?"100%":"500px"}),(function(n){return"default"===n.$type?"#10233b":"#0E153180"})),Ay=Sr.div(oy||(oy=D(['\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']))),ly=Sr.div(ey||(ey=D(["\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"]))),uy=Sr.div(ty||(ty=D(["\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"]))),qy=Sr.div(py||(py=D(["\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"]))),fy=Sr.div(by||(by=D(["\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"]))),Wy=Sr.div(My||(My=D(["\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"]))),hy=function(o){var t=o.image,p=void 0===t?"":t,b=o.title,M=void 0===b?"":b,c=o.description,i=void 0===c?"":c,a=o.extra,O=void 0===a?null:a,s=o.footer,d=void 0===s?null:s,A=o.type,l=void 0===A?"default":A,u=o.fill,q=void 0!==u&&u,f=o.autoCenter,W=void 0===f||f,h=z(""),g=h[0],m=h[1];r((function(){""!==p&&m(p)}),[p]);var R,v=function(){if(O)return n(ly,{className:"itd-result-extras",children:O})},L=function(){if(d)return n(uy,{className:"itd-result-footer",children:d})};return n(ay,{className:(R="itd-result",R+=" itd-result-"+l,W&&(R+=" itd-result-auto-center"),q&&(R+=" itd-result-fill"),R),children:n(sy,{className:"itd-result-content-wrapper",children:e(dy,{className:"itd-result-content",$autoCenter:W,$type:l,$fill:q.toString(),children:[e(qy,{className:"itd-result-body",children:[n(Ay,{className:"itd-image-wrapper",children:n(Ci,{src:g})}),n(fy,{className:"itd-result-title",children:M}),n(Wy,{className:"itd-result-sub-title",children:i})]}),v(),L()]})})})};hy.displayName="ITD-Result";var gy,my,Ry,vy=Sr.div(gy||(gy=D(["\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 "]))),Ly=Sr.a(my||(my=D(["\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?yy:"none"})),yy=_r(Ry||(Ry=D(["\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"])));function Ny(o){var e=o.children,t=void 0===e?null:e,p=z(!1),b=p[0],M=p[1];r((function(){return document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)}}),[]);var c=function(){M(document.body.scrollTop>window.innerHeight)};return n(vy,{className:"itd-back-to-top",children:n(Ly,{onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},$show:b,children:t||n(Tl,{width:30,height:30})})})}var xy,By,wy={"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"}},Xy=Sr.div(By||(By=D(["\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 o,e=n.$status;return o=e,kr(xy||(xy=D(["\n background: ",";\n span {\n color: ",";\n }\n "],["\n background: ",";\n span {\n color: ",";\n }\n "])),wy[o].background,wy[o].text)}));function ky(o){var e,t=o.variant,p=void 0===t?"gray-1":t,b=o.size,M=void 0===b?"default":b,z=o.stretch,c=void 0!==z&&z,r=o.children,i=void 0===r?"":r,a=o.className,O=void 0===a?"":a;return n(Xy,{$status:p,className:(e="itd-status",e+=" itd-status-"+p,e+=" itd-status-"+Ki(M),c&&(e+=" itd-status-stretch"),""!==O&&null!==O&&(e+=" "+O),e),children:n("span",{children:i})})}var Ty,Ey,Sy={normal:{background:"#1B84FF",remaining:"#efefef"},active:{background:"#1B84FF",remaining:"#efefef"},success:{background:"#17C653",remaining:"#efefef"},exception:{background:"#F8285A",remaining:"#efefef"}},_y=Sr.div(Ey||(Ey=D(["\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 o,e=n.$status;return o=e,kr(Ty||(Ty=D(["\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 "])),Sy[o].remaining,Sy[o].background,Sy[o].background)}));function Cy(o){var t,p=o.status,b=o.percent,M=void 0===b?0:b,z=o.alwaysShowPercent,c=void 0!==z&&z,r=o.showInfo,i=void 0===r||r,a=o.className,O=void 0===a?"":a,s=n("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n("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"})}),d=n("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("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"})}),A=function(){return p||(M<100?"normal":"success")},l=function(){if(i)return n("span",{className:"itd-progress-status",children:u()})},u=function(){var o=A();return"active"===o||"normal"===o||c?n("span",{className:"itd-progress-status-text",children:M+"%"}):"success"===o?s:"exception"===o?d:void 0};return n(_y,{$status:A(),$percent:M,className:(t="itd-progress",t+=" itd-progress-"+p,t+=" itd-progress-percent-"+M,""!==O&&null!==O&&(t+=" "+O),t),children:e("div",{className:"itd-progress-outer",children:[n("div",{className:"itd-progress-inner",children:n("div",{className:"itd-progress-bg"})}),l()]})})}var Py,Dy,Iy,Fy,jy,Uy,$y,Vy,Hy,Yy,Gy,Ky,Qy,Jy,Zy,nN,oN,eN,tN,pN,bN,MN,zN,cN,rN,iN,aN,ON,sN,dN,AN,lN,uN,qN,fN,WN,hN,gN,mN,RN,vN,LN,yN,NN=Sr.div(Py||(Py=D(["\n\n height: ",";\n\n"],["\n\n height: ",";\n\n"])),(function(n){return n.$height?n.$height+"px":"75px"})),xN=Sr.div($y||($y=D(["\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 kr(Dy||(Dy=D(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "])))}),(function(n){return n.$isBold?kr(Iy||(Iy=D(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "]))):kr(Fy||(Fy=D(["\n span {\n color: #071437;\n }\n "],["\n span {\n color: #071437;\n }\n "])))}),(function(n){return n.$isBold?kr(jy||(jy=D(["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "],["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "]))):kr(Uy||(Uy=D(["\n span {\n font-weight: 500;\n }\n "],["\n span {\n font-weight: 500;\n }\n "])))})),BN=Sr.div(Vy||(Vy=D(["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"],["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"]))),wN=function(o){var t=o.tabs,p=void 0===t?[]:t,b=o.activeTabKey,M=void 0===b?"":b,c=o.variant,i=void 0===c?"default":c,a=o.height,O=o.onTabChange,s=z(M),d=s[0],A=s[1];r((function(){d!==M&&A(M)}),[M]);var l=function(n,o){return e=!1,p.map((function(n){n.link&&(e=!0)})),e?"":d?d===n?"active":"":M&&0===o?"active":"";var e},u=function(n){A(n),O&&O(n)},q=function(o,e){return n("a",{className:l(o.key,e),onClick:function(){return u(o.key)},children:n("span",{children:o.tab})})},f=function(o,e){return n(X,{className:l(o.key,e),onClick:function(){return u(o.key)},to:o.link?o.link:"",children:n("span",{children:o.tab})})};return e(NN,{$height:a,className:"itd-tabs",children:[n(xN,{$isBold:"bold"===i,children:n("ul",{children:p.map((function(o,e){return n("li",{children:o.link?f(o,e):q(o,e)},o.key)}))})}),function(){var o=p.filter((function(n){return n.key===d}))[0];if(o&&o.children)return n(BN,{className:"itd-content-body",children:o.children})}()]})},XN=Sr.div(Hy||(Hy=D(["\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"]))),kN=Sr.div(Yy||(Yy=D(["\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"})),TN=Sr.div(Ky||(Ky=D(["\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 kr(Gy||(Gy=D(["\n border-bottom: 1px solid #f1f1f4;\n "],["\n border-bottom: 1px solid #f1f1f4;\n "])))})),EN=Sr.div(Qy||(Qy=D(["\n padding: 20px 0;\n height: 100%;\n"],["\n padding: 20px 0;\n height: 100%;\n"]))),SN=Sr.div(Jy||(Jy=D(["\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"})),_N=Sr.div(Zy||(Zy=D(["\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"]))),CN=function(o){var t=o.title,p=o.titleSeparator,b=o.extra,M=o.tabs,z=o.onTabChange,c=o.minWidth,i=o.minHeight,a=o.children,O=o.activeTabKey,s=void 0===O?"":O,d=o.updating,A=void 0!==d&&d,l=o.contentPadding,u=void 0===l?"30px":l;r((function(){}));var q=function(){if(b)return n(_N,{className:"itd-card-extra",children:b})},f=function(){if(M)return n(wN,{tabs:M,activeTabKey:s,onTabChange:function(n){return z&&z(n)}})},W=function(){if(t)return n(EN,{className:"itd-card-title",children:n(Nl,{children:t})})},h=function(){return!!(t||b||M)};return n(XN,{children:n(Jr,{updating:A,children:e(kN,{className:"itd-card",$minWidth:c,$minHeight:i,$hasHeader:h(),children:[function(){if(h())return e(TN,{$showSeparator:p,className:"itd-card-header",children:[W(),f(),q()]})}(),function(){if(a)return n(SN,{className:"itd-card-body",$padding:u,children:a})}()]})})})},PN=Sr.div(ON||(ON=D(["\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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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?kr(nN||(nN=D(["\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?kr(oN||(oN=D(["\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?kr(eN||(eN=D(["\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?kr(tN||(tN=D(["\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?kr(pN||(pN=D(["\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?kr(bN||(bN=D(["\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 "]))):kr(MN||(MN=D(["\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?kr(zN||(zN=D(["\n padding-left: 0;\n padding-right: 0;\n "],["\n padding-left: 0;\n padding-right: 0;\n "]))):"x-small"===n.$size?kr(cN||(cN=D(["\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?kr(rN||(rN=D(["\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?kr(iN||(iN=D(["\n padding-left: 20px;\n padding-right: 20px;\n "],["\n padding-left: 20px;\n padding-right: 20px;\n "]))):kr(aN||(aN=D(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "])))})),DN=Sr.div(sN||(sN=D(["\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"]))),IN=Sr.span(AN||(AN=D(["\n\n ","\n \n"],["\n\n ","\n \n"])),(function(n){if(n.$overflow)return kr(dN||(dN=D(["\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 "])))})),FN=Sr.span(uN||(uN=D(["\n\n ","\n\n"],["\n\n ","\n\n"])),(function(n){if(n.$overflow)return kr(lN||(lN=D(["\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 "])))})),jN=function(o){var t,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,O=void 0!==a&&a,s=o.dashed,d=void 0!==s&&s,A=o.noGaps,l=void 0!==A&&A,u=o.overflow,q=void 0!==u&&u,f=$n().t,W=function(n,o){var e={};return"string"==typeof n.width?e.width=n.width:"number"==typeof n.width?e.minWidth=n.width+"px":e.width="auto",void 0!==n.maxWidth&&("string"==typeof n.maxWidth?e.maxWidth=n.maxWidth:"number"==typeof n.maxWidth&&(e.maxWidth=n.maxWidth+"px")),"td"===o&&("string"==typeof M?e.height=M:"number"==typeof M?e.minHeight=M+"px":e.height="auto"),e};return n(PN,{$size:c,$noGaps:l,children:e("table",{className:(t="itd-table",t+=" itd-table-"+Ki(c),i&&(t+=" itd-table-headless"),O&&(t+=" itd-table-bordered"),l&&(t+=" itd-table-no-gaps"),b||(t+=" itd-table-empty"),0===(null==b?void 0:b.length)&&(t+=" itd-table-no-data"),t+=d?" itd-table-dashed":" itd-table-solid"),children:[function(){if(!i)return n("thead",{children:n("tr",{children:p.map((function(o){return n("th",{style:W(o,"th"),children:n(IN,{$overflow:q,title:o.title,children:o.title})},String(o.key))}))})})}(),b?0===b.length?n("tbody",{children:n("tr",{children:n("td",{colSpan:p.length,children:n(DN,{children:e("div",{children:[n(Il,{height:30}),n("span",{children:f("table.noData")})]})})})})}):n("tbody",{children:b.map((function(o,e){return n("tr",{children:p.map((function(t){return n("td",{style:W(t,"td"),children:n(FN,{$overflow:q,title:o[t.dataIndex],children:t.render?t.render(o[t.dataIndex],o,e):t.dataIndex?o[t.dataIndex]:null})},String(t.key))}))},String(o.key))}))}):n("tbody",{children:n("tr",{children:n("td",{colSpan:p.length,children:n(DN,{})})})})]})})},UN=Sr.div(yN||(yN=D(["\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?kr(qN||(qN=D(["\n height : 100%;\n "],["\n height : 100%;\n "]))):kr(fN||(fN=D(["\n width : 100%;\n "],["\n width : 100%;\n "])))}),(function(n){if(n.$wrap)return!0===n.$wrap&&kr(WN||(WN=D(["\n flex-wrap : wrap;\n "],["\n flex-wrap : wrap;\n "])))}),(function(n){return n.$vertical?!0===n.$vertical&&kr(hN||(hN=D(["\n flex-direction : column;\n "],["\n flex-direction : column;\n "]))):kr(gN||(gN=D(["\n flex-direction : row;\n "],["\n flex-direction : row;\n "])))}),(function(n){if(n.$justify)return kr(mN||(mN=D(["\n justify-content : ",";\n "],["\n justify-content : ",";\n "])),n.$justify)}),(function(n){return n.$align?kr(RN||(RN=D(["\n align-items : ",";\n "],["\n align-items : ",";\n "])),n.$align):kr(vN||(vN=D(["\n align-items : center;\n "],["\n align-items : center;\n "])))}),(function(n){if(n.$gap){var o=0,e="";return"small"===n.$gap?o=10:"medium"===n.$gap?o=16:"large"===n.$gap?o=24:"string"==typeof n.$gap?e=n.$gap:o=n.$gap,""===e&&(e=o+"px"),kr(LN||(LN=D(["\n gap : ",";\n "],["\n gap : ",";\n "])),e)}})),$N=function(o){var e=o.gap,t=o.justify,p=o.align,b=o.vertical,M=o.wrap,z=o.stretch,c=o.style,r=o.className,i=o.children;return n(UN,{$gap:e,$justify:t,$align:p,$vertical:b,$wrap:M,$stretch:z,style:c,className:r,children:i})};yn.use(In).init({preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["translation"],defaultNS:["translation"],initImmediate:!1,debug:!1,resources:{}}),yn.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:S({},Jn)}),yn.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:S({},Qn)});export{Xv as ALink,Kg as Accordion,HA as AddDefaultThemeStyle,KA as AddZero,vL as Alert,Xl as ArrowIcon,Tl as BackToTop,Ny as BackTop,la as Button,Em as Calendar,CN as Card,nl as CheckFileURL,bu as Checkbox,El as Checkmark,JA as ChunkArray,Cv as Collapse,ro as ConsoleLog,IA as ConvertCurrency,jm as DatePicker,_A as DetermineNewHeight,CA as DetermineNewWidth,ZA as FileChecker,Yn as FileExtensions,Hn as FileTypes,CM as FindSelector,$N as Flex,Tg as Form,el as FormatBytes,dl as FormatDate,Al as FormatDateTime,ll as FormatSimpleDate,ul as FormatSimpleDateTime,ql as FormatTime,jA as GetByCurrency,PA as GetCountryCodeByCurrencyCode,DA as GetCountryCodeByLanguage,$A as GetCurrencyFormat,UA as GetCurrencySymbol,VA as GetDecimalByCurrency,tl as GetTypeByFileType,yl as H1,Nl as H2,xl as H3,Bl as H4,EA as ITDContext,SA as ITDProvider,Ci as Image,iL as InlineSelect,Sl as InlineSelectArrow,zv as Input,GA as IsValidJSON,wl as LockIcon,Pa as ModalManager,Vn as ModalState,Il as NoData,mA as Notification,Dl as Picture,Cy as Progress,Kv as Radio,QA as RemoveUnits,hy as Result,cl as SVGLoader,ig as Select,Jr as Spin,ky as Status,xv as Switch,jN as Table,wN as Tabs,Wv as TextArea,Th as TinyScrollbar,XA as Tooltip,_l as Trash,ol as UniUpperCase,YA as UpdateThemeStyle,iy as Upload,kl as UploadIcon,pl as Wait,Cl as ZoomIn,Pl as ZoomOut,Oo as useAddExternalCSS,VM as useComponentSize,$M as useConnectionStatus,ao as useConstructor,YM as useContextBridge,HM as useCoreFetch,_M as useCreateDynamicStyle,PM as useCreateStyledStyle,jM as useMultiQuery,DM as useOnClickOutside,IM as useOnESCKeyDown,UM as useOnResize,io as useReCaptcha,FM as useSingleQuery};
541
+ `,iL=({label:n="",value:o=[],children:e=null,single:t=!1,minWidth:b=0,className:M="",onChange:i=null})=>{const a=c(null),[O,s]=z(!1),[d,A]=z([]),[l,q]=z("");r((()=>{o&&o.length>0&&e.length>0&&(A(o),W.map(e,(n=>{n.props.value===o[0]&&q(n.props.children)})))}),[o,e]),DM(a,(()=>{s(!1)}));const f=(n,o)=>{if(i?i(n,o):console.warn("InlineSelect: 'onChange' method couldn't be called because it is not defined!"),t)A(n),q(o);else{const o=n[n.length-1];A(o||[])}};return p.createElement(rL,{className:(()=>{let n="itd-inline-select";return O&&(n+=" itd-inline-select-open"),""!==M&&(n+=" "+M),n})(),ref:a},p.createElement(cL,{onChange:n=>{s(n)},isOpen:O,count:d.length,single:t,label:(()=>{let o=t||!t&&1===d.length?l:n;return""===o?"··········":o})()}),p.createElement(tL,{onChange:f,value:d,isOpen:O,single:t,minWidth:b},W.map(e,(n=>{if(n&&n.hasOwnProperty("type")&&null!==n.type&&void 0!==n.type)return n.type===oL?u(n,{...n.props,onChange:f,single:t}):void 0}))))};iL.Option=oL;var aL,OL,sL,dL,AL,lL,uL,qL,fL,WL=Sr.div(AL||(AL=D(["\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 kr(aL||(aL=D(["\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 kr(sL||(sL=D(["\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 kr(dL||(dL=D(["\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 kr(OL||(OL=D(["\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 "])))})),hL=Sr.span(lL||(lL=D(["\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"]))),gL=Sr.span(uL||(uL=D(["\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"]))),mL=Sr.span(qL||(qL=D(["\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"})),RL=Sr.div(fL||(fL=D(["\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"]))),vL=function(o){var t=o.type,p=void 0===t?"info":t,b=o.size,M=void 0===b?"small":b,z=o.title,c=void 0===z?"":z,r=o.className,i=void 0===r?"":r,a=o.children,O=void 0===a?"":a;return e(WL,{className:function(){var n="itd-alert";return n+=" itd-alert-"+p,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}(),children:[n(RL,{children:n(L,{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"})}),e(mL,{$noTitle:!c,children:[""!==c?n(hL,{children:c}):null,""!==O?n(gL,{children:O}):null]})]})};vL.displayName="ITD-Alert";var LL=Sr.div(EL||(EL=D(['\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']))),yL=Sr.div(SL||(SL=D(["\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"})),NL=Sr.label(_L||(_L=D(["\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"})),xL=Sr.div(CL||(CL=D(["\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"]))),BL=Sr.div(PL||(PL=D(["\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%"})),wL=Sr.div(IL||(IL=D(["\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&&kr(DL||(DL=D(["\n top: 50%;\n "],["\n top: 50%;\n "])))})),XL=Sr.div(jL||(jL=D(["\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&&kr(FL||(FL=D(["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "],["\n backdrop-filter: blur(2px);\n background-color: #ffffff90;\n "])))})),kL=Sr.div($L||($L=D(["\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 o=n.$isActive,e=n.$complete,t=n.$error;return o&&kr(UL||(UL=D(["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "],["\n background-color : ",";\n span {\n color: #ffffff;\n }\n "])),e?"#91DB7D":t?"#ff0000":"#1b84ff")})),TL=Sr.div(VL||(VL=D(['\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+"%"}));Sr.div(HL||(HL=D(["\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 EL,SL,_L,CL,PL,DL,IL,FL,jL,UL,$L,VL,HL,YL,GL,KL,QL,JL,ZL,ny,oy,ey,ty,py,by,My,zy=Sr.div(YL||(YL=D(['\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']))),cy=Sr(zy)(GL||(GL=D(["\n\n &::before {\n background-color: #f8285a;\n }\n\n"],["\n\n &::before {\n background-color: #f8285a;\n }\n\n"]))),ry=Sr.span(KL||(KL=D(['\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']))),iy=f((function(o,t){var p=o.resultFileName,b=void 0===p?null:p,M=o.action,i=void 0===M?"":M,a=o.filePath,O=void 0===a?"":a,s=o.binaryName,d=void 0===s?"file":s,A=o.showDeleteIcon,l=void 0!==A&&A,u=o.showPreviewIcon,q=void 0!==u&&u,f=o.padding,W=void 0===f?10:f,g=o.fileHeight,m=void 0===g?"100%":g,R=o.previewFileWidth,v=void 0===R?"100%":R,L=o.previewFileHeight,y=void 0===L?"100%":L,N=o.previewFilePadding,x=void 0===N?"0":N,B=o.requestMethod,w=void 0===B?"put":B,X=o.maxFileSize,k=void 0===X?1024:X,T=o.disabled,E=void 0!==T&&T,P=o.extraFormData,D=void 0===P?{}:P,I=o.extraQueryString,F=void 0===I?{}:I,j=o.extraHeader,U=void 0===j?{}:j,$=o.fileTypes,V=void 0===$?[Hn.JPG,Hn.PNG,Hn.SVG,Hn.PDF]:$,H=o.removeAction,Y=void 0===H?"":H,G=o.removeExtraFormData,K=void 0===G?{}:G,Q=o.removeExtraQueryString,J=void 0===Q?{}:Q,Z=o.removeExtraHeader,nn=void 0===Z?{}:Z,on=o.onUpdate,en=o.onUploadSuccess,tn=o.onUploadFailed,pn=o.onRemoveFileSuccess,bn=o.onRemoveFileFailed,Mn=c(null),zn=mA.useNotifications().addNotification,cn=Pa.useModal().showModal,rn=HM(),an=rn.fetch,On=rn.cancel,sn=$n().t,dn=z(!1),An=dn[0],ln=dn[1],un=z(!1),qn=un[0],fn=un[1],Wn=z(".svg, .png, .jpg"),hn=Wn[0],gn=Wn[1],mn=z(!1),Rn=mn[0],vn=mn[1],Ln=z(!1),yn=Ln[0],Nn=Ln[1],xn=z(!1),Bn=xn[0],wn=xn[1],Xn=z(null),kn=Xn[0],Tn=Xn[1],En=z(null),Sn=En[0],_n=En[1],Cn=z(""),Pn=Cn[0],Dn=Cn[1],In=z(!1),Fn=In[0],jn=In[1],Un=z(!1),Vn=Un[0],Yn=Un[1],Gn=z(null),Kn=Gn[0],Qn=Gn[1],Jn=z(!1),Zn=Jn[0],no=Jn[1],oo=z(null),eo=oo[0],to=oo[1];r((function(){return function(){On()}}),[]),r((function(){fn(E)}),[E]),r((function(){_n(O?O.split("?")[0]:"")}),[O]),r((function(){null!==Sn&&(void 0!==Sn?Mo():ln(!1))}),[Sn]),r((function(){var n=[];V.map((function(o){n.push(tl(o))})),gn(n.join(", "))}),[V]);var po=function(n,o){zn({title:n,description:o,placement:"topRight",autoHide:!0,delay:5e3,type:"error"})},bo=function(n,o,e){void 0===o&&(o=!0),void 0===e&&(e=!0),on&&on(n,o,e)};h(t,(function(){return{setFocus:function(){wn(!0)},reset:function(n,o){void 0===n&&(n=!1),void 0===o&&(o=!1),zo(),_n(null),Dn(""),bo("",n,o)},setValue:function(n,o,e){void 0===o&&(o=!0),void 0===e&&(e=!0),_n(n),bo(n,o,e)},getValue:function(){return Sn||""},setError:function(n){Dn(n)},forceUpdate:function(){bo(Sn||"")},clear:function(){_n("")}}}));var Mo=function(){return _(void 0,void 0,void 0,(function(){var n;return C(this,(function(o){switch(o.label){case 0:return n=!1,Sn?(console.time("Checking file completed in"),[4,nl(Sn)]):[3,2];case 1:n=o.sent(),Tn(n),n?bo(Sn):bo("",!0,!0),An||ln(!0),console.timeEnd("Checking file completed in"),o.label=2;case 2:return""!==Sn||An||ln(!0),""===Sn&&An&&bo("",!0,!0),[2]}}))}))},zo=function(){to(null),Qn(null),no(!1),Tn(null)},co=function(){return _(void 0,void 0,void 0,(function(){return C(this,(function(o){return fn(!0),cn({content:n("div",{children:sn("uploader.areYouSureToDeleteThisFile")}),title:sn("uploader.removeFile"),okButtonText:sn("uploader.yes"),cancelButtonText:sn("uploader.no"),okButtonProps:{variant:"statable",state:"reject"},closeOnClickOutside:!1,showCloseButton:!1,onOk:function(){return Y?an({action:Y,params:K,queries:J,headers:nn,onFetched:function(n){n.data.success?(zo(),bo("",!0,!0),pn&&pn(n.data.data)):bn&&bn()},onError:function(){bn&&bn()}}):(zo(),bo("",!0,!0),pn&&pn()),fn(!1),!0},onCancel:function(){return fn(!1),!0}}),[2]}))}))},ro=function(n){n.preventDefault(),Vn||Nn(!0)},io=function(n){n.preventDefault(),Vn||Nn(!1)},ao=function(n){n.preventDefault(),Vn||(Nn(!1),n.dataTransfer&&0!==n.dataTransfer.files.length?Ao(n.dataTransfer.files[0]):console.log(sn("uploader.browserDoesntSupportDND")))},Oo=function(n){Nn(!1);var o=n.target.files[0];Ao(o)},so=function(n){return _(void 0,[n],void 0,(function(n){var o=n.path,e=n.errorMessage,t=n.errorCode;return C(this,(function(n){switch(n.label){case 0:return[4,pl(1e3)];case 1:return n.sent(),Qn(null),Yn(!1),[4,pl(1500)];case 2:return n.sent(),no(!1),o?en&&en(o):e&&tn&&tn(e,t||0),[2]}}))}))},Ao=function(n){if(n&&function(n){return!!V.includes(n.type)||(po(sn("uploader.error"),sn("uploader.fileFormatError",{fileFormat:hn})),!1)}(n)&&function(n){return!(n.size>1024*k&&(po(sn("uploader.error"),sn("uploader.fileSizeError",{fileSize:el(1024*k)})),1))}(n)){if(b){var o=tl(n.type);n=new File([n],b+o,{type:o,lastModified:n.lastModified})}!function(n){_(void 0,void 0,void 0,(function(){var o;return C(this,(function(e){return n?((o=new FormData).append(d,n),b&&o.append("name",b),Object.keys(D).forEach((function(n){o.append(n,D[n])})),an({action:i,requestMethod:w,params:o,queries:F,headers:U,onFetched:function(n){n.data.success?(to({message:sn("uploader.fileUploadSuccess"),status:"success"}),no(!0),_n(n.data.data.url),so({path:n.data.data.url})):(to({message:sn("uploader.fileUploadFailed"),status:"error"}),bo("",!0,!0),so({errorMessage:sn("uploader.fileUploadFailed")}))},onError:function(n,o){to({message:sn("uploader.fileUploadFailed"),status:"error"}),bo("",!0,!0),so({errorMessage:n,errorCode:o})},onProgress:function(n){Qn({estimated:n.estimated?(Math.round(100*n.estimated)/100).toFixed(2):"0",progress:n.progress?Math.round(100*n.progress):0,bytes:n.bytes?el(n.bytes):"",total:n.total?el(n.total):""})}}),[2]):[2]}))}))}(n),Yn(!0)}},lo=function(){fn(!0),cn({content:n(BL,{className:"itd-upload-preview-content",$width:v,$height:y,$padding:x,children:n(Ci,{src:Sn})}),showOkButton:!1,showCancelButton:!1,contentPadding:"0px",width:"max-content",onCancel:function(){return fn(!1),!0}})},uo=function(){if(l&&Sn&&!Vn&&kn)return n("span",{children:n(la,{variant:"solid",size:"small",type:"button",circle:!0,onClick:co,disabled:qn,icon:n(_l,{width:16,height:16}),className:"itd-upload-delete-button"})})},qo=function(){if(q&&Sn&&!Vn&&kn)return n("span",{children:n(la,{variant:"solid",size:"small",type:"button",circle:!0,onClick:lo,disabled:qn,icon:n(Cl,{width:16,height:16}),className:"itd-upload-preview-button"})})},fo=n("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:n("g",{id:"Error",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:e("g",{id:"ErrorGroup",fillRule:"nonzero",children:[n("circle",{id:"ErrorBackground",fill:"#F8285A",cx:"10",cy:"10",r:"10"}),n("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"})]})})}),Wo=function(){if(""!==Pn&&!Vn)return e(cy,S({},{className:"itd-upload-failed itd-failed-status",onPointerOver:function(){return jn(!0)},onPointerOut:function(){return jn(!1)}},{children:[Fn?n(ry,{className:"itd-upload-error-tooltip itd-error-tooltip",children:Pn}):null,fo]}))},ho=function(){if(An)return null===kn?n(kl,{width:24,height:24}):!1===kn?n(Dl,{width:40,height:40}):n(Ci,{src:Sn,height:m})};return function(o){return void 0===o&&(o=To("itd-upload-")),e(LL,{className:"itd-upload",children:[n("input",{type:"file",id:o,accept:hn,onChange:Oo,onFocus:function(){return wn(!0)},onBlur:function(){return wn(!1)},onClick:function(){var n;null===(n=Mn.current)||void 0===n||n.blur()},disabled:Vn||qn,ref:Mn}),n(NL,{htmlFor:o,$showFocus:Bn,className:"itd-upload-label",children:e(yL,{$showBorder:(yn||Rn)&&!Vn,$padding:W,$disabled:E,$hasError:""!==Pn&&!Vn,className:"itd-upload-content",children:[ho(),e(kL,{className:"itd-upload-status",$isActive:Vn,$complete:"success"===(null==eo?void 0:eo.status),$error:"error"===(null==eo?void 0:eo.status),children:[n(TL,{className:"itd-upload-status-box",$progress:Kn?Kn.progress:0,$complete:"success"===(null==eo?void 0:eo.status),$error:"error"===(null==eo?void 0:eo.status)}),n("span",{className:"itd-upload-status-message",children:sn(Zn||eo?String(null==eo?void 0:eo.message):"uploader.fileUploading")}),n("span",Kn?{className:"itd-upload-status-info",children:sn("uploader.info",{total:Kn.total,estimated:Kn.estimated})}:{className:"itd-upload-status-calculating",children:sn("uploader.calculating")})]}),(t=(Rn||yn)&&!Vn&&!qn,n(XL,{onPointerOver:function(){!yn&&vn(!0)},onPointerOut:function(){!yn&&vn(!1)},onDragOver:ro,onDragLeave:io,onDrop:ao,$isHover:t,className:"itd-upload-overlay",children:e(wL,{$isHover:t,className:"itd-upload-overlay-content",children:[n("span",{className:"itd-upload-header",children:sn("uploader.header")}),n("span",{className:"itd-upload-hint",children:sn("uploader.hint")})]})})),e(xL,{children:[e($N,{vertical:!0,gap:"small",className:"itd-upload-icons",children:[uo(),qo()]}),Wo()]})]})})]});var t}()})),ay=Sr.section(QL||(QL=D(["\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"]))),Oy=_r(JL||(JL=D(["\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"]))),sy=Sr.div(ZL||(ZL=D(["\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"]))),dy=Sr.div(ny||(ny=D(["\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"])),Oy,(function(n){return"true"===n.$fill?"100%":"auto"}),(function(n){return"true"===n.$fill?"100%":"500px"}),(function(n){return"default"===n.$type?"#10233b":"#0E153180"})),Ay=Sr.div(oy||(oy=D(['\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']))),ly=Sr.div(ey||(ey=D(["\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"]))),uy=Sr.div(ty||(ty=D(["\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"]))),qy=Sr.div(py||(py=D(["\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"]))),fy=Sr.div(by||(by=D(["\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"]))),Wy=Sr.div(My||(My=D(["\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"]))),hy=function(o){var t=o.image,p=void 0===t?"":t,b=o.title,M=void 0===b?"":b,c=o.description,i=void 0===c?"":c,a=o.extra,O=void 0===a?null:a,s=o.footer,d=void 0===s?null:s,A=o.type,l=void 0===A?"default":A,u=o.fill,q=void 0!==u&&u,f=o.autoCenter,W=void 0===f||f,h=z(""),g=h[0],m=h[1];r((function(){""!==p&&m(p)}),[p]);var R,v=function(){if(O)return n(ly,{className:"itd-result-extras",children:O})},L=function(){if(d)return n(uy,{className:"itd-result-footer",children:d})};return n(ay,{className:(R="itd-result",R+=" itd-result-"+l,W&&(R+=" itd-result-auto-center"),q&&(R+=" itd-result-fill"),R),children:n(sy,{className:"itd-result-content-wrapper",children:e(dy,{className:"itd-result-content",$autoCenter:W,$type:l,$fill:q.toString(),children:[e(qy,{className:"itd-result-body",children:[n(Ay,{className:"itd-image-wrapper",children:n(Ci,{src:g})}),n(fy,{className:"itd-result-title",children:M}),n(Wy,{className:"itd-result-sub-title",children:i})]}),v(),L()]})})})};hy.displayName="ITD-Result";var gy,my,Ry,vy=Sr.div(gy||(gy=D(["\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 "]))),Ly=Sr.a(my||(my=D(["\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?yy:"none"})),yy=_r(Ry||(Ry=D(["\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"])));function Ny(o){var e=o.children,t=void 0===e?null:e,p=z(!1),b=p[0],M=p[1];r((function(){return document.addEventListener("scroll",c),function(){document.removeEventListener("scroll",c)}}),[]);var c=function(){M(document.body.scrollTop>window.innerHeight)};return n(vy,{className:"itd-back-to-top",children:n(Ly,{onClick:function(){window.scrollTo({top:0,behavior:"smooth"})},$show:b,children:t||n(Tl,{width:30,height:30})})})}var xy,By,wy={"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"}},Xy=Sr.div(By||(By=D(["\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 o,e=n.$status;return o=e,kr(xy||(xy=D(["\n background: ",";\n span {\n color: ",";\n }\n "],["\n background: ",";\n span {\n color: ",";\n }\n "])),wy[o].background,wy[o].text)}));function ky(o){var e,t=o.variant,p=void 0===t?"gray-1":t,b=o.size,M=void 0===b?"default":b,z=o.stretch,c=void 0!==z&&z,r=o.children,i=void 0===r?"":r,a=o.className,O=void 0===a?"":a;return n(Xy,{$status:p,className:(e="itd-status",e+=" itd-status-"+p,e+=" itd-status-"+Ki(M),c&&(e+=" itd-status-stretch"),""!==O&&null!==O&&(e+=" "+O),e),children:n("span",{children:i})})}var Ty,Ey,Sy={normal:{background:"#1B84FF",remaining:"#efefef"},active:{background:"#1B84FF",remaining:"#efefef"},success:{background:"#17C653",remaining:"#efefef"},exception:{background:"#F8285A",remaining:"#efefef"}},_y=Sr.div(Ey||(Ey=D(["\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 o,e=n.$status;return o=e,kr(Ty||(Ty=D(["\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 "])),Sy[o].remaining,Sy[o].background,Sy[o].background)}));function Cy(o){var t,p=o.status,b=o.percent,M=void 0===b?0:b,z=o.alwaysShowPercent,c=void 0!==z&&z,r=o.showInfo,i=void 0===r||r,a=o.className,O=void 0===a?"":a,s=n("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:n("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"})}),d=n("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("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"})}),A=function(){return p||(M<100?"normal":"success")},l=function(){if(i)return n("span",{className:"itd-progress-status",children:u()})},u=function(){var o=A();return"active"===o||"normal"===o||c?n("span",{className:"itd-progress-status-text",children:M+"%"}):"success"===o?s:"exception"===o?d:void 0};return n(_y,{$status:A(),$percent:M,className:(t="itd-progress",t+=" itd-progress-"+p,t+=" itd-progress-percent-"+M,""!==O&&null!==O&&(t+=" "+O),t),children:e("div",{className:"itd-progress-outer",children:[n("div",{className:"itd-progress-inner",children:n("div",{className:"itd-progress-bg"})}),l()]})})}var Py,Dy,Iy,Fy,jy,Uy,$y,Vy,Hy,Yy,Gy,Ky,Qy,Jy,Zy,nN,oN,eN,tN,pN,bN,MN,zN,cN,rN,iN,aN,ON,sN,dN,AN,lN,uN,qN,fN,WN,hN,gN,mN,RN,vN,LN,yN,NN=Sr.div(Py||(Py=D(["\n\n height: ",";\n\n"],["\n\n height: ",";\n\n"])),(function(n){return n.$height?n.$height+"px":"75px"})),xN=Sr.div($y||($y=D(["\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 kr(Dy||(Dy=D(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "])))}),(function(n){return n.$isBold?kr(Iy||(Iy=D(["\n span {\n color: #1b84ff;\n }\n "],["\n span {\n color: #1b84ff;\n }\n "]))):kr(Fy||(Fy=D(["\n span {\n color: #071437;\n }\n "],["\n span {\n color: #071437;\n }\n "])))}),(function(n){return n.$isBold?kr(jy||(jy=D(["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "],["\n border-width: 2px;\n span {\n font-weight: 600;\n }\n "]))):kr(Uy||(Uy=D(["\n span {\n font-weight: 500;\n }\n "],["\n span {\n font-weight: 500;\n }\n "])))})),BN=Sr.div(Vy||(Vy=D(["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"],["\n\n padding: 20px 0;\n color: #99a1b7;\n \n"]))),wN=function(o){var t=o.tabs,p=void 0===t?[]:t,b=o.activeTabKey,M=void 0===b?"":b,c=o.variant,i=void 0===c?"default":c,a=o.height,O=o.onTabChange,s=z(M),d=s[0],A=s[1];r((function(){d!==M&&A(M)}),[M]);var l=function(n,o){return e=!1,p.map((function(n){n.link&&(e=!0)})),e?"":d?d===n?"active":"":M&&0===o?"active":"";var e},u=function(n){A(n),O&&O(n)},q=function(o,e){return n("a",{className:l(o.key,e),onClick:function(){return u(o.key)},children:n("span",{children:o.tab})})},f=function(o,e){return n(X,{className:l(o.key,e),onClick:function(){return u(o.key)},to:o.link?o.link:"",children:n("span",{children:o.tab})})};return e(NN,{$height:a,className:"itd-tabs",children:[n(xN,{$isBold:"bold"===i,children:n("ul",{children:p.map((function(o,e){return n("li",{children:o.link?f(o,e):q(o,e)},o.key)}))})}),function(){var o=p.filter((function(n){return n.key===d}))[0];if(o&&o.children)return n(BN,{className:"itd-content-body",children:o.children})}()]})},XN=Sr.div(Hy||(Hy=D(["\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"]))),kN=Sr.div(Yy||(Yy=D(["\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"})),TN=Sr.div(Ky||(Ky=D(["\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 kr(Gy||(Gy=D(["\n border-bottom: 1px solid #f1f1f4;\n "],["\n border-bottom: 1px solid #f1f1f4;\n "])))})),EN=Sr.div(Qy||(Qy=D(["\n padding: 20px 0;\n height: 100%;\n"],["\n padding: 20px 0;\n height: 100%;\n"]))),SN=Sr.div(Jy||(Jy=D(["\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"})),_N=Sr.div(Zy||(Zy=D(["\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"]))),CN=function(o){var t=o.title,p=o.titleSeparator,b=o.extra,M=o.tabs,z=o.onTabChange,c=o.minWidth,i=o.minHeight,a=o.children,O=o.activeTabKey,s=void 0===O?"":O,d=o.updating,A=void 0!==d&&d,l=o.contentPadding,u=void 0===l?"30px":l;r((function(){}));var q=function(){if(b)return n(_N,{className:"itd-card-extra",children:b})},f=function(){if(M)return n(wN,{tabs:M,activeTabKey:s,onTabChange:function(n){return z&&z(n)}})},W=function(){if(t)return n(EN,{className:"itd-card-title",children:n(Nl,{children:t})})},h=function(){return!!(t||b||M)};return n(XN,{children:n(Jr,{updating:A,children:e(kN,{className:"itd-card",$minWidth:c,$minHeight:i,$hasHeader:h(),children:[function(){if(h())return e(TN,{$showSeparator:p,className:"itd-card-header",children:[W(),f(),q()]})}(),function(){if(a)return n(SN,{className:"itd-card-body",$padding:u,children:a})}()]})})})},PN=Sr.div(ON||(ON=D(["\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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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 table {\n \n width: 100%;\n \n caption-side: bottom;\n border-collapse: collapse;\n text-indent: initial;\n border-spacing: 2px;\n\n th, td {\n width: auto;\n vertical-align: middle;\n }\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 ","\n\n td, th {\n \n ","\n\n }\n\n tr {\n\n display: table-row;\n border-top-width: 1px;\n border-top-color: #f1f1f4;\n border-bottom-width: 1px;\n border-bottom-color: #f1f1f4;\n\n td {\n //color: #ff0000;\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 &.itd-table-no-data {\n\n tbody {\n tr {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n &:not(.itd-table-empty) {\n\n tbody {\n tr:hover {\n background-color: #FAFAFA;\n }\n }\n\n }\n\n }\n\n &:not(.itd-table-bordered) {\n\n tr {\n border-top: 1px solid #f1f1f4;\n border-bottom: 1px solid #f1f1f4;\n }\n \n }\n\n &.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px solid #f1f1f4;\n border-right: 1px solid #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed {\n\n tr {\n border-top: 1px dashed #f1f1f4;\n border-bottom: 1px dashed #f1f1f4;\n }\n\n }\n\n &.itd-table-dashed.itd-table-bordered {\n\n tr {\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\n td, th {\n border-left: 1px dashed #f1f1f4;\n border-right: 1px dashed #f1f1f4;\n }\n\n }\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?kr(nN||(nN=D(["\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?kr(oN||(oN=D(["\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?kr(eN||(eN=D(["\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?kr(tN||(tN=D(["\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?kr(pN||(pN=D(["\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?kr(bN||(bN=D(["\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 "]))):kr(MN||(MN=D(["\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?kr(zN||(zN=D(["\n padding-left: 0;\n padding-right: 0;\n "],["\n padding-left: 0;\n padding-right: 0;\n "]))):"x-small"===n.$size?kr(cN||(cN=D(["\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?kr(rN||(rN=D(["\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?kr(iN||(iN=D(["\n padding-left: 20px;\n padding-right: 20px;\n "],["\n padding-left: 20px;\n padding-right: 20px;\n "]))):kr(aN||(aN=D(["\n padding-left: 15px;\n padding-right: 15px;\n "],["\n padding-left: 15px;\n padding-right: 15px;\n "])))})),DN=Sr.div(sN||(sN=D(["\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"]))),IN=Sr.span(AN||(AN=D(["\n\n ","\n \n"],["\n\n ","\n \n"])),(function(n){if(n.$overflow)return kr(dN||(dN=D(["\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 "])))})),FN=Sr.span(uN||(uN=D(["\n\n ","\n\n"],["\n\n ","\n\n"])),(function(n){if(n.$overflow)return kr(lN||(lN=D(["\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 "])))})),jN=function(o){var t,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,O=void 0!==a&&a,s=o.dashed,d=void 0!==s&&s,A=o.noGaps,l=void 0!==A&&A,u=o.overflow,q=void 0!==u&&u,f=o.getTRProps,W=$n().t,h=function(n,o){var e={};return"string"==typeof n.width?e.width=n.width:"number"==typeof n.width?e.minWidth=n.width+"px":e.width="auto",void 0!==n.maxWidth&&("string"==typeof n.maxWidth?e.maxWidth=n.maxWidth:"number"==typeof n.maxWidth&&(e.maxWidth=n.maxWidth+"px")),"td"===o&&("string"==typeof M?e.height=M:"number"==typeof M?e.minHeight=M+"px":e.height="auto"),e};return n(PN,{$size:c,$noGaps:l,children:e("table",{className:(t="itd-table",t+=" itd-table-"+Ki(c),i&&(t+=" itd-table-headless"),O&&(t+=" itd-table-bordered"),l&&(t+=" itd-table-no-gaps"),b||(t+=" itd-table-empty"),0===(null==b?void 0:b.length)&&(t+=" itd-table-no-data"),t+=d?" itd-table-dashed":" itd-table-solid"),children:[function(){if(!i)return n("thead",{children:n("tr",{children:p.map((function(o){return n("th",{style:h(o,"th"),children:n(IN,{$overflow:q,title:o.title,children:o.title})},String(o.key))}))})})}(),b?0===b.length?n("tbody",{children:n("tr",{children:n("td",{colSpan:p.length,children:n(DN,{children:e("div",{children:[n(Il,{height:30}),n("span",{children:W("table.noData")})]})})})})}):n("tbody",{children:b.map((function(o,e){return n("tr",{style:f?f(o,e):{},children:p.map((function(t){return n("td",{style:h(t,"td"),children:n(FN,{$overflow:q,title:String(o[t.dataIndex]),children:t.render?t.render(o[t.dataIndex],o,e):t.dataIndex?String(o[t.dataIndex]):null})},String(t.key))}))},String(o.key))}))}):n("tbody",{children:n("tr",{children:n("td",{colSpan:p.length,children:n(DN,{})})})})]})})},UN=Sr.div(yN||(yN=D(["\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?kr(qN||(qN=D(["\n height : 100%;\n "],["\n height : 100%;\n "]))):kr(fN||(fN=D(["\n width : 100%;\n "],["\n width : 100%;\n "])))}),(function(n){if(n.$wrap)return!0===n.$wrap&&kr(WN||(WN=D(["\n flex-wrap : wrap;\n "],["\n flex-wrap : wrap;\n "])))}),(function(n){return n.$vertical?!0===n.$vertical&&kr(hN||(hN=D(["\n flex-direction : column;\n "],["\n flex-direction : column;\n "]))):kr(gN||(gN=D(["\n flex-direction : row;\n "],["\n flex-direction : row;\n "])))}),(function(n){if(n.$justify)return kr(mN||(mN=D(["\n justify-content : ",";\n "],["\n justify-content : ",";\n "])),n.$justify)}),(function(n){return n.$align?kr(RN||(RN=D(["\n align-items : ",";\n "],["\n align-items : ",";\n "])),n.$align):kr(vN||(vN=D(["\n align-items : center;\n "],["\n align-items : center;\n "])))}),(function(n){if(n.$gap){var o=0,e="";return"small"===n.$gap?o=10:"medium"===n.$gap?o=16:"large"===n.$gap?o=24:"string"==typeof n.$gap?e=n.$gap:o=n.$gap,""===e&&(e=o+"px"),kr(LN||(LN=D(["\n gap : ",";\n "],["\n gap : ",";\n "])),e)}})),$N=function(o){var e=o.gap,t=o.justify,p=o.align,b=o.vertical,M=o.wrap,z=o.stretch,c=o.style,r=o.className,i=o.children;return n(UN,{$gap:e,$justify:t,$align:p,$vertical:b,$wrap:M,$stretch:z,style:c,className:r,children:i})};yn.use(In).init({preload:["en","tr"],fallbackLng:["en","tr"],lng:"en-US",load:"languageOnly",ns:["translation"],defaultNS:["translation"],initImmediate:!1,debug:!1,resources:{}}),yn.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:S({},Jn)}),yn.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:S({},Qn)});export{Xv as ALink,Kg as Accordion,HA as AddDefaultThemeStyle,KA as AddZero,vL as Alert,Xl as ArrowIcon,Tl as BackToTop,Ny as BackTop,la as Button,Em as Calendar,CN as Card,nl as CheckFileURL,bu as Checkbox,El as Checkmark,JA as ChunkArray,Cv as Collapse,ro as ConsoleLog,IA as ConvertCurrency,jm as DatePicker,_A as DetermineNewHeight,CA as DetermineNewWidth,ZA as FileChecker,Yn as FileExtensions,Hn as FileTypes,CM as FindSelector,$N as Flex,Tg as Form,el as FormatBytes,dl as FormatDate,Al as FormatDateTime,ll as FormatSimpleDate,ul as FormatSimpleDateTime,ql as FormatTime,jA as GetByCurrency,PA as GetCountryCodeByCurrencyCode,DA as GetCountryCodeByLanguage,$A as GetCurrencyFormat,UA as GetCurrencySymbol,VA as GetDecimalByCurrency,tl as GetTypeByFileType,yl as H1,Nl as H2,xl as H3,Bl as H4,EA as ITDContext,SA as ITDProvider,Ci as Image,iL as InlineSelect,Sl as InlineSelectArrow,zv as Input,GA as IsValidJSON,wl as LockIcon,Pa as ModalManager,Vn as ModalState,Il as NoData,mA as Notification,Dl as Picture,Cy as Progress,Kv as Radio,QA as RemoveUnits,hy as Result,cl as SVGLoader,ig as Select,Jr as Spin,ky as Status,xv as Switch,jN as Table,wN as Tabs,Wv as TextArea,Th as TinyScrollbar,XA as Tooltip,_l as Trash,ol as UniUpperCase,YA as UpdateThemeStyle,iy as Upload,kl as UploadIcon,pl as Wait,Cl as ZoomIn,Pl as ZoomOut,Oo as useAddExternalCSS,VM as useComponentSize,$M as useConnectionStatus,ao as useConstructor,YM as useContextBridge,HM as useCoreFetch,_M as useCreateDynamicStyle,PM as useCreateStyledStyle,jM as useMultiQuery,DM as useOnClickOutside,IM as useOnESCKeyDown,UM as useOnResize,io as useReCaptcha,FM as useSingleQuery};
@@ -90,6 +90,32 @@
90
90
  align-items: center;
91
91
  }
92
92
 
93
+ .option {
94
+ display: flex;
95
+ align-items: center;
96
+ cursor: pointer;
97
+ min-width: max-content;
98
+ padding: 10px 30px 10px 15px;
99
+ }
100
+ .option:not(:last-child) {
101
+ margin-bottom: 1px;
102
+ }
103
+ .option:hover {
104
+ background-color: rgba(29, 38, 73, 0.5019607843);
105
+ }
106
+
107
+ .selected .single, .selected .option span {
108
+ color: #ffffff;
109
+ }
110
+
111
+ .single, .option span {
112
+ color: rgba(255, 255, 255, 0.6666666667);
113
+ font-weight: 400;
114
+ font-size: 12px;
115
+ line-height: 12px;
116
+ white-space: nowrap;
117
+ }
118
+
93
119
  .menu {
94
120
  background-color: #050A20;
95
121
  border-radius: 0 5px 5px 5px;
@@ -156,32 +182,6 @@
156
182
  transition: height 150ms ease-out;
157
183
  }
158
184
 
159
- .option {
160
- display: flex;
161
- align-items: center;
162
- cursor: pointer;
163
- min-width: max-content;
164
- padding: 10px 30px 10px 15px;
165
- }
166
- .option:not(:last-child) {
167
- margin-bottom: 1px;
168
- }
169
- .option:hover {
170
- background-color: rgba(29, 38, 73, 0.5019607843);
171
- }
172
-
173
- .selected .single, .selected .option span {
174
- color: #ffffff;
175
- }
176
-
177
- .single, .option span {
178
- color: rgba(255, 255, 255, 0.6666666667);
179
- font-weight: 400;
180
- font-size: 12px;
181
- line-height: 12px;
182
- white-space: nowrap;
183
- }
184
-
185
185
  .container {
186
186
  display: flex;
187
187
  align-items: center;
@@ -12,6 +12,14 @@ declare const meta: {
12
12
  };
13
13
  export default meta;
14
14
  type Story = StoryObj<typeof meta>;
15
+ export type UserLogType = {
16
+ key: string;
17
+ location: string;
18
+ status: string;
19
+ device: string;
20
+ ip: string;
21
+ time: string;
22
+ };
15
23
  export declare const Default: Story;
16
24
  export declare const NoData: Story;
17
25
  export declare const Empty: Story;
@@ -1,3 +1,3 @@
1
1
  import { TableProps } from "../index";
2
- declare const Table: <T>({ columns, data, cellHeight, size, headless, bordered, dashed, noGaps, overflow }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
2
+ declare const Table: <T>({ columns, data, cellHeight, size, headless, bordered, dashed, noGaps, overflow, getTRProps }: TableProps<T>) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Table;
@@ -18,4 +18,5 @@ export type TableProps<T> = {
18
18
  dashed?: boolean;
19
19
  noGaps?: boolean;
20
20
  overflow?: boolean;
21
+ getTRProps?: (row: T, rowIndex: number) => React.CSSProperties;
21
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.0.143",
3
+ "version": "2.0.145",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",