(self.webpackChunkokx_nav=self.webpackChunkokx_nav||[]).push([[983],{7363:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});const o=t(6803).A},983:(e,n,t)=>{"use strict";t.d(n,{A:()=>gn});var o=t(9379),i=t(968);i.A.okdThemes=i.A.okdThemes||{},i.A.okdThemes.light=i.A.okdThemes.light||{};var r=i.A.okdThemes.light.okd||{};i.A.okdThemes.light.okd=(0,o.A)((0,o.A)({},r),{dialog:{footer:{action:{cancel:{type:"secondary",size:"sm"},confirm:{type:"highlight",size:"sm"}}}}}),i.A.okdThemes.light.okd6215=(0,o.A)((0,o.A)({},r),{dialog:{footer:{action:{cancel:{type:"secondary",size:"sm"},confirm:{type:"highlight",size:"sm"}}}}}),i.A.okdThemes.default=i.A.okdThemes.light;var a=t(7757);a.A.okdThemes=a.A.okdThemes||{},a.A.okdThemes.dark=a.A.okdThemes.dark||{};var l=a.A.okdThemes.dark.okd||{};a.A.okdThemes.dark.okd=(0,o.A)((0,o.A)({},l),{dialog:{footer:{action:{cancel:{type:"primary",size:"sm"},confirm:{type:"highlight",size:"sm"}}}}}),a.A.okdThemes.dark.okd6215=(0,o.A)((0,o.A)({},l),{dialog:{footer:{action:{cancel:{type:"primary",size:"sm"},confirm:{type:"highlight",size:"sm"}}}}});var c=t(1594),s=t.n(c),d=t(1744),u=t.n(d),f=t(401),m=t(8565),p=t(6985),h=t(1800),v=t(6321),A=t(2305),g=t(8795),C=t(5494),b=t(3029),y=t(2901),x=t(6822),T=t(2176),w=t(3954),k=t(5501),N=t(5206),B=t.n(N);const P=function(e){function n(){return(0,b.A)(this,n),e=this,t=n,o=arguments,t=(0,w.A)(t),(0,x.A)(e,(0,T.A)()?Reflect.construct(t,o||[],(0,w.A)(e).constructor):t.apply(e,o));var e,t,o}return(0,k.A)(n,e),(0,y.A)(n,[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(e){var n=this.props.didUpdate;n&&n(e)}},{key:"createContainer",value:function(){this.container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){var e,n,t;!(0,f.f)()&&this.container&&this.container!==(null===(e=A.A.document)||void 0===e?void 0:e.body)&&(null===(n=this.container)||void 0===n||null===(t=n.parentNode)||void 0===t||t.removeChild(this.container))}},{key:"render",value:function(){return this.container?(0,f.f)()?this.props.children:B().createPortal(this.props.children,this.container):null}}])}(s().Component);var M=t(9698),j=t(4476),L=t(4216),E="".concat(j.H3,"-dialog"),R={right:"right",left:"left",full:"full"},S={horizontal:"horizontal",vertical:"vertical"},D={success:L.A.success,info:L.A.info,prompt:L.A.prompt,alert:L.A.alert,warn:L.A.warn,error:L.A.error,default:"normal"},z=(0,M.A)(),I="sm",F=s().createContext({}),O=function(){return s().useContext(F)};const W=F.Provider;var Y=t(5531),V=t(4718),H=new((0,y.A)((function e(){var n=this;(0,b.A)(this,e),this.store=[],this.destroyAll=function(){n.store.forEach((function(e){e()}))},this.create=function(e,t){var i,r,a,l,c=null===(i=A.A.document)||void 0===i?void 0:i.createElement("div");c.style.width="100%",c&&(null===(r=A.A.document)||void 0===r||null===(a=r.body)||void 0===a||a.appendChild(c));var s=null,d=function(){},u=(0,o.A)((0,o.A)({},t),{},{visible:!0,onClose:function(){d()}});function m(n){var t=e;(0,f.f)()||(l?l.render((0,V.jsx)(t,(0,o.A)((0,o.A)({getContainer:function(){return c}},n),{},{operation:s}))):(l=Y.createRoot(c)).render((0,V.jsx)(t,(0,o.A)((0,o.A)({getContainer:function(){return c}},n),{},{operation:s}))))}var p=function(){m((0,o.A)((0,o.A)({},u),{},{visible:!1})),setTimeout((function(){if(!(0,f.f)()){var e,t;if(null===(e=l)||void 0===e||e.unmount(),null!==c&&void 0!==c&&c.parentNode)null===c||void 0===c||null===(t=c.parentNode)||void 0===t||t.removeChild(c);l=null,n.store=n.store.filter((function(e){return e!==p}))}}),500)};return d=function(){p(),t.onClose&&t.onClose()},s={destroy:p,update:function(e){m(u=(0,o.A)((0,o.A)({},u),e))},destroyAll:n.destroyAll},m(u),n.store.push(p),s}})));function _(e,n){return H.create(e,n)}_.destroyAll=function(){H.destroyAll()};const Z=_;var U=t(5544),$=t(45),X=t(9302),q=t(3664),K=["keyChain","isMobile","OriginComponent","defaultProps"];function G(e){return e.replace(/-([a-z])/g,(function(e,n){return n.toUpperCase()}))}function J(e){var n=e.keyChain,t=void 0===n?"":n,i=e.isMobile,r=e.OriginComponent,a=e.defaultProps,l=(0,$.A)(e,K);(0,X.KS)();var c=(0,X.Am)(),s=l,d={},u=t.split("."),f=(A.A.okdThemes||{})[G(c)]||{};return u.forEach((function(e){f=f[e]||{}})),0===Object.keys(f).length?s=(0,o.A)((0,o.A)({},a),s):Object.keys(f).forEach((function(e){var n=i&&"size"===e?null:f[e];d[e]=s[e]||n||a[e]})),(0,V.jsx)(r,(0,o.A)((0,o.A)({currentTheme:c,changeTheme:q.KN},s),d))}var Q=t(7363),ee=t(2512),ne=["children","loading","onClose","operation","onClick"],te=function(e){var n=e.children,t=e.loading,i=e.onClose,r=e.operation,a=e.onClick,l=(0,$.A)(e,ne),s=(0,c.useState)(!1),d=(0,U.A)(s,2),u=d[0],f=d[1];return(0,V.jsx)(Q.A,(0,o.A)((0,o.A)({className:"dialog-btn",size:Q.A.SIZE.md,loading:u||t,onClick:function(e){if(a){var n=a(r,e);n&&n.then&&(f(!0),n.then((function(e){f(!1),"boolean"===typeof e&&e||i&&i({fromAction:!0})}),(function(){f(!1)})).catch((function(){})))}else i&&i({fromAction:!0})}},l),{},{children:n}))};te.SIZE=Q.A.SIZE,te.TYPE=Q.A.TYPE;const oe=te;var ie=["text","confirmBtnProps","cancelBtnProps"],re=Q.A.TYPE,ae=Q.A.CATEGORY,le=Q.A.SIZE,ce="confirm",se=function(e){var n=e.item,t=e.isMobile,i=e.confirmBtnType,r=e.isAverageLayout,a=e.twoButtons,l=e.operation,c=n.text,s=n.confirmBtnProps,d=n.cancelBtnProps,f=(0,$.A)(n,ie),m=(0,ee.VP)(f,["hasCancelBtn","hasConfirmBtn","color","type","size","className"]),p=n.hasCancelBtn?d:s,h={size:t?le.md:le.sm},v=n.hasCancelBtn?"cancel":ce;return v===ce&&(h=(0,o.A)((0,o.A)({},h),{},{type:i||re.primary})),(0,V.jsx)(J,(0,o.A)((0,o.A)((0,o.A)({OriginComponent:oe,keyChain:"okd.dialog.footer.action.".concat(v),defaultProps:h,isMobile:t},m),p),{},{className:u()("dialog-btn",a&&!r&&"double-btn",null===m||void 0===m?void 0:m.className,null===p||void 0===p?void 0:p.className),operation:l,children:c}))};function de(e){var n=e.btnLayout,t=void 0===n?R.right:n,o=e.isMobile,i=void 0===o||o,r=e.confirmBtnType,a=e.btnList,l=e.onClose,c=e.confirmText,s=e.cancelText,d=e.onConfirm,u=e.onCancel,f=e.confirmDisabled,m=e.confirmLoading,p=e.confirmBtnProps,h=e.cancelBtnProps,v=e.operation,A=function(){var e=null!==c&&void 0!==c,n=null!==s&&void 0!==s,t=[];return n&&t.push({text:s,category:Q.A.CATEGORY.outline,onClick:u||l,hasCancelBtn:n,cancelBtnProps:h,onClose:l,"data-testid":"okd-dialog-cancel-btn"}),e&&t.push({text:c,category:ae.fill,onClick:d,loading:m,disabled:f,hasConfirmBtn:e,confirmBtnProps:p,onClose:l,"data-testid":"okd-dialog-confirm-btn"}),a&&0!==a.length?a:t||[]}(),g=(0,U.A)(A,2),C=g[0],b=g[1],y=A.length>1,x=(null===b||void 0===b?void 0:b.block)&&(null===C||void 0===C?void 0:C.block);return(0,V.jsx)("div",{className:"".concat(E,"-btn-box layout-").concat(t),children:A.map((function(e,n){return(0,V.jsx)(se,{item:e,isAverageLayout:x,twoButtons:y,confirmBtnType:r,isMobile:i,operation:v},n)}))})}const ue=s().memo(de);var fe=t(4467),me=t(4214),pe=t.n(me),he=function(e){return e.touches&&e.touches[0]?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}},ve=function(e,n){var t;return null!==e&&void 0!==e&&null!==(t=e.includes)&&void 0!==t&&t.call(e,"%")?parseFloat(e.replace("%","")/100)*n:e};function Ae(){}var ge=(0,c.forwardRef)((function(e,n){var t=v.A.mergeProps(ge.defaultPropsValue,e),o=t.getMoveRef,i=t.getDragRef,r=t.getDragRefList,a=t.children,l=t.dragInViewport,s=t.noTextSelection,d=t.onDragMove,u=t.viewportOverflow,f=void 0===u?{}:u,m=t.detectWindowResize,p=t.stopPropagationWhenMove,h=t.dispatchClickEventOnMove,g=(0,c.useRef)(!1),C=(0,c.useRef)(5),b=(0,c.useRef)(1e3),y=(0,c.useRef)(null),x=(0,c.useRef)(null),T=function(){x.current.style.left=y.current.left,x.current.style.top=y.current.top};(0,c.useImperativeHandle)(n,(function(){return{resetPosition:T}}),[]),(0,c.useEffect)((function(){if(m){var e=T;return A.A.addEventListener("resize",e),function(){A.A.removeEventListener("resize",e)}}return function(){}}),[m]);var w=function(e,n){var t=e,o=n;x.current=o,y.current={left:o.style.left,top:o.style.top};var i=o.getBoundingClientRect(),r=f.left,a=f.right,c=f.top,u=f.bottom,m=ve(r,i.width),v=ve(a,i.width),T=ve(c,i.height),w=ve(u,i.height),k=o.offsetWidth,N=o.offsetHeight,B=function(e){var n=e||A.A.event,t=he(n),r=t.clientX,a=t.clientY,c=r-o.offsetLeft,u=a-o.offsetTop,f=o.offsetLeft,p=o.offsetTop,y=(new Date).getTime(),x=function(e){h&&!g.current&&A.A.document.documentElement.dispatchEvent(new Event("click",{bubbles:!0})),g.current=!0;var n=e||A.A.event,t=he(n),r=t.clientX,a=t.clientY,f=r-c,p=a-u,C=A.A.innerWidth,b=A.A.innerHeight,y=d({left:f,top:p,viewportWidth:C,viewportHeight:b,moveDom:o,moveDomRect:i,viewportOverflowValues:{left:m,right:v,top:T,bottom:w}});if(y)Object.assign(o.style,y);else{var x=r-c,B=a-u;l&&(x=Math.max(0-m,Math.min(C-k+v,r-c)),B=Math.max(0-T,Math.min(b-N+w,a-u))),o.style.left="".concat(x,"px"),o.style.top="".concat(B,"px")}s&&(A.A.document.body.style.userSelect="none")},B=function(){A.A.document.onmousemove=null,A.A.document.onmouseup=null,A.A.document.ontouchmove=null,A.A.document.ontouchend=null,A.A.document.body.style.userSelect=null;var e=Math.abs(o.offsetLeft-f),n=Math.abs(o.offsetTop-p),t=(new Date).getTime()-y;Math.max(e,n)<C.current&&t<b.current?g.current=!1:setTimeout((function(){g.current=!1}),700)};A.A.document.onmouseup=B,A.A.document.ontouchend=B,A.A.document.onmousemove=x,A.A.document.ontouchmove=x};t.addEventListener("mousedown",B),t.addEventListener("touchstart",B,{passive:!1}),t.addEventListener("click",(function(e){g.current&&(e.preventDefault(),p&&e.stopPropagation())}))};return(0,c.useEffect)((function(){!function(){var e=o(),n=i();n=n||e;var t=r?r():[],a=0===t.length;e&&(a?n&&w(n,e):t.forEach((function(n){w(n,e)})))}()}),[]),(0,V.jsx)(V.Fragment,{children:a})}));ge.propTypes={getMoveRef:pe().func,getDragRef:pe().func,getDragRefList:pe().func,onDragMove:pe().func,dragInViewport:pe().bool,viewportOverflow:pe().object,detectWindowResize:pe().bool,noTextSelection:pe().bool,stopPropagationWhenMove:pe().bool,dispatchClickEventOnMove:pe().bool},ge.defaultPropsValue={getMoveRef:Ae,getDragRef:Ae,onDragMove:Ae,getDragRefList:null,dragInViewport:!1,noTextSelection:!1,detectWindowResize:!1,stopPropagationWhenMove:!0,dispatchClickEventOnMove:!1,viewportOverflow:{left:0,right:0,top:0,bottom:0}};const Ce=ge;var be=t(7998),ye=t(7327),xe=["type","children","visible","timeout"],Te={fade:"fade",slide:"slide"},we=function(e){var n=v.A.mergeProps(we.defaultPropsValue,e),t=n.type,i=n.children,r=n.visible,a=n.timeout,l=(0,$.A)(n,xe),c=be.A;switch(t){case Te.fade:c=be.A;break;case Te.slide:c=ye.A}return(0,V.jsx)(c,(0,o.A)((0,o.A)({visible:r,transitionDuration:a},l),{},{children:i}))};we.defaultPropsValue={timeout:100,type:Te.fade},we.TYPE=Te;const ke=we;var Ne=t(2622),Be=function(e,n,t){return e<n?n:e>t?t:e},Pe=function(e){var n=e.left,t=e.top,o=e.moveDom,i=e.viewportWidth,r=e.viewportHeight,a=e.viewportOverflowValues,l=a.left,c=a.right,s=a.top,d=a.bottom,u=o.getBoundingClientRect(),f=u.width,m=u.height,p=(0,h.bx)(o).y,v=Math.abs(p),A=f/2,g=m-v;return(0,fe.A)((0,fe.A)({},(0,Ne.U)("left"),"".concat(Be((0,Ne.DY)()?i-n-f:n,A-l,i-A+c),"px")),"top","".concat(Be(t,v-s,r-g+d),"px"))},Me=function(e){var n=["mousedown","mousemove"],t=function(e){e.preventDefault(),e.stopPropagation()},o=e.map((function(e){return document.querySelector(e)}));return function(e){e.forEach((function(e){n.forEach((function(n){null===e||void 0===e||e.addEventListener(n,t,{passive:!1})}))}))}(o),function(){return function(e){e.forEach((function(e){n.forEach((function(n){null===e||void 0===e||e.removeEventListener(n,t)}))}))}(o)}};function je(e){var n=e.frozenBg,t=e.float,o=e.dialogWindowRef,i=e.preventScrollLeakage,r=(0,c.useRef)(!1);return(0,c.useEffect)((function(){i&&!n&&t&&o.current&&(o.current.addEventListener("mouseleave",(function(){ee.Ay.frozenScroll(!1),r.current=!1})),o.current.addEventListener("mousemove",(function(e){if(!r.current){var n=o.current.getBoundingClientRect(),t=n.x,i=n.width,a=n.y,l=n.height,c=e.clientX,s=e.clientY;c>t&&c<t+i&&s>a&&s<a+l&&(ee.Ay.frozenScroll(!0),r.current=!0)}})))}),[n,t,i]),(0,c.useEffect)((function(){return n?ee.Ay.frozenScroll(!0):ee.Ay.frozenScroll(!1),function(){ee.Ay.frozenScroll(!1)}}),[n]),null}var Le=t(3352),Ee=t(3360),Re=t(8543),Se=t(5507);function De(e){var n=e.footer,t=e.confirmText,i=e.cancelText,r=e.renderFooter,a=e.footerStyle,l=e.footerLine,c=void 0===l||l,d=e.btnFull,f=void 0!==d&&d,m=e.customRenderFooter,p=e.footerClassName,h=e.isMobile,v=null!==i&&void 0!==i||null!==t&&void 0!==t,A=f&&h?{btnLayout:R.full}:{btnLayout:e.btnLayout},g=(0,V.jsx)(ue,(0,o.A)({confirmText:e.confirmText,cancelText:e.cancelText,onConfirm:e.onConfirm,onCancel:e.onCancel,operation:e.operation,confirmBtnType:e.confirmBtnType,btnList:e.btnList,onClose:e.onClose,confirmDisabled:e.confirmDisabled,confirmLoading:e.confirmLoading,confirmBtnProps:e.confirmBtnProps,cancelBtnProps:e.cancelBtnProps,isMobile:h},A)),C=u()("".concat(E,"-footer-box"),(0,fe.A)({},"".concat(E,"-footer-line"),c&&!h),p);return v||n||r||m?m?(0,V.jsx)(V.Fragment,{children:m((function(){return g}))}):(0,V.jsx)("div",{className:C,style:a,children:r?r((function(){return g})):(0,V.jsxs)(s().Fragment,{children:[g,n]})}):null}const ze=s().memo(De);var Ie=function(e){var n=e.children,t=e.noContentPadding,o=e.className,i=e.style,r=u()("".concat(E,"-customer-box"),t&&"no-padding",o);return(0,V.jsx)("div",{className:r,style:i,children:n})},Fe=function(e){var n=e.children,t=e.noContentPadding,o=e.scrollDisable,i=e.scrollBoxClassName,r=e.containerClassName,a=e.setContainerRef,l=void 0===a?function(){}:a,c=u()("".concat(E,"-container"),{"no-padding":t},r);return(0,V.jsx)("div",{id:"scroll-box",className:u()("".concat(E,"-scroll-box"),o&&"scroll-disable",i),ref:l,children:(0,V.jsx)("div",{className:c,children:n})})};function Oe(e){var n=e.renderContent,t=e.scrollDisable,o=e.noContentPadding,i=e.children,r=e.scrollBoxClassName,a=e.containerClassName,l=function(e){var n,t,o=e.title,i=e.cancelText,r=e.confirmText,a=e.topContent,l=e.footer;return o||a||(n="".concat(E,"-scroll-bar-start")),null!==r&&void 0!==r||null!==i&&void 0!==i||l||(t="".concat(E,"-scroll-bar-end")),{scrollBarStartClass:n,scrollBarEndClass:t}}({title:e.title,confirmText:e.confirmText,cancelText:e.cancelText,footer:e.footer,topContent:e.topContent}),c=l.scrollBarStartClass,d=l.scrollBarEndClass;return(0,V.jsx)(s().Fragment,{children:n?n(Fe,Ie):(0,V.jsx)(Fe,{scrollDisable:t,noContentPadding:o,containerClassName:a,scrollBoxClassName:u()(r,c,d),children:i})})}var We=t(2210),Ye=t(9363),Ve=function(e){var n=e.showBackBtn,t=e.onBack,o=e.renderTopLeft,i=e.hideCloseBtn,r=e.onClose,a=e.renderTopRight,l=e.titleCenter,d=e.defaultTitleStyle,f=e.children,m=e.closeClassName,p=e.closeIconClassName,h=e.draggable,v="".concat(E,l?"-top-hidden-for-t-center":"-top-action-hidden");(0,c.useEffect)((function(){return h?Me(["#okdDialogBackBtn","#okdDialogCloseBtn"]):function(){}}),[]);var A=(0,V.jsx)(We.A,{localeKey:"a11y_web_btn_back_universal_default",children:(0,V.jsx)(Ye.A,{onClick:n?t:void 0,id:"okdDialogBackBtn",className:u()((0,fe.A)({},v,!n),"okds-arrow-chevron-left-centered-sm","".concat(E,"-b-btn")),"aria-hidden":!n})}),g=(0,V.jsx)(We.A,{localeKey:"a11y_web_btn_close_universal_default",children:(0,V.jsx)(Ye.A,{id:"okdDialogCloseBtn",onClick:i?void 0:r,className:u()((0,fe.A)({},v,i),"okds-close","".concat(E,"-c-btn"),p),"aria-hidden":i})}),C="function"===typeof o?o():o,b=C||A,y="function"===typeof a?a():a,x=y||g,T=u()("".concat(E,"-top-l"),(0,fe.A)((0,fe.A)({},"".concat(E,"-top-action-fixed"),!d),v,!C&&!n)),w=u()("".concat(E,"-top-r"),(0,fe.A)((0,fe.A)({},"".concat(E,"-top-action-fixed"),!d),v,!y&&i),m);return(0,V.jsxs)(s().Fragment,{children:[(0,V.jsx)("div",{className:T,children:b}),f,(0,V.jsx)("div",{className:w,children:x})]})};function He(e){var n=e.title,t=e.subTitle,o=e.titleCenter,i=e.closeBtn,r=e.hideCloseBtn,a=e.showBackBtn,l=e.onBack,c=e.onClose,d=e.topContent,f=e.renderTopLeft,m=e.renderTopRight,p=e.topStyle,h=e.topClassName,v=void 0===h?"":h,A=e.headerLine,g=void 0===A||A,C=e.closeClassName,b=e.closeIconClassName,y=e.isMobile,x=e.draggable,T=!d&&(n||t),w=i?function(){return(0,V.jsx)("span",{className:"".concat(E,"-close-box"),onClick:c,children:i})}:m,k=u()("".concat(E,"-title-container"),(0,fe.A)({"title-center":o,"has-back":a},"".concat(E,"-header-line"),g&&!y),v),N=O().titleId;return(0,V.jsxs)(s().Fragment,{children:[d,T&&(0,V.jsx)("div",{className:k,style:p,children:(0,V.jsx)(Ve,{titleCenter:o,showBackBtn:a,hideCloseBtn:r,onBack:l,renderTopLeft:f,closeBtn:i,onClose:c,renderTopRight:w,defaultTitleStyle:T,closeClassName:C,closeIconClassName:b,draggable:x,children:(0,V.jsxs)("div",{className:"".concat(E,"-title-block ").concat(o?"title-center":""),children:[n&&(0,V.jsx)("span",{className:"modal-title",role:"heading","aria-level":"1",id:N,children:n}),t&&(0,V.jsx)("span",{className:"modal-sub-title",children:t})]})})}),!T&&(0,V.jsx)(Ve,{showBackBtn:a,hideCloseBtn:r,onBack:l,renderTopLeft:f,closeBtn:i,onClose:c,renderTopRight:w,closeClassName:C,defaultTitleStyle:T,closeIconClassName:b})]})}var _e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.windowProps,t=e.showLoading,i=void 0!==t&&t,r=e.className,a=e.style,l=e.getRef,c=e.dir,d=e.children,u=e.whiteboard,f=e.containerMode,m=e.visible,p=e.innerOnClose,h=e.id,v=e["aria-describedby"],A=e["aria-labelledby"],g=e["aria-label"],C=e.autoFocus,b=e.focusManagerProps,y=s().useRef(),x=O().titleId;(0,Ee.A)(Le.OC.ESC,(function(e){e.stopPropagation(),m&&p()}),{target:y.current});var T=u||f,w=T?d:(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(He,(0,o.A)({},e)),(0,V.jsx)(Oe,(0,o.A)({},e)),(0,V.jsx)(ze,(0,o.A)({},e)),(0,V.jsx)(Se.A,{loading:i,hasMask:!0})]});return(0,V.jsx)("div",(0,o.A)((0,o.A)({className:r,style:a,ref:function(e){null===l||void 0===l||l(e),y.current=e},dir:c},n),{},{role:"dialog","aria-modal":"true",id:h,"aria-describedby":v,"aria-labelledby":g?void 0:A||x,"aria-label":g,children:T?w:(0,V.jsx)(Re.A,(0,o.A)((0,o.A)({getContainer:function(){return y.current}},b),{},{autoFocus:C,children:w}))}))};_e.elementType="Dialog.Window",_e.Top=He,_e.Bottom=ze,_e.Content=Oe;const Ze=_e;const Ue=function(e){var n=e.visible,t=e.frozenBg,i=e.isFull,r=e.isShowHeader,a=e.float,l=e.children,d=e.noMargin,f=e.containerMode,m=e.width,p=e.windowClass,h=e.alignBottom,g=e.zIndex,C=e.className,b=e.transitionProps,y=void 0===b?{}:b,x=e.animateDisable,T=e.draggable,w=e.getDragRef,k=e.dragProps,N=e.getDragRefList,B=e.ignoreScrollBar,P=e.mobileWidth,M=e.windowStyle,j=e.isMobile,L=e.bodyWidth,R=e.containerZIndex,S=e.innerOnClose,D=e.rebirthDialog,z=e.finalVisible,I=e.windowProps,F=void 0===I?{}:I,O=e.afterTransition,W=e.mobileMode,Y=e.layerPositionAbsolute,H=e.renderWindow,_=e.preventScrollLeakage,Z=s().createRef(),$=s().createRef(),X=(0,c.useRef)(!1),q=(0,c.useState)(n&&!D),K=(0,U.A)(q,2),G=K[0],J=K[1];(0,c.useEffect)((function(){n&&X.current&&!D&&J(!0),X.current=!0}),[n,D]);var Q=G&&!n?{display:"none"}:null,ee=j||!a||B||!t?{}:{width:L||void 0},ne=(0,o.A)((0,o.A)({zIndex:g||R},ee),{},{position:Y?"absolute":void 0}),te=u()(E,C,(0,fe.A)({},"".concat(E,"-float"),a),W&&"".concat(E,"-mobile-mode")),oe=(0,o.A)((0,o.A)((0,o.A)((0,o.A)({},P&&j?{width:P}:{}),m&&!j?{width:m}:{}),function(){if(j&&i&&r){var e=A.A||{},n=e.devicePixelRatio,t=e.okMeta,o=void 0===t?{}:t,a=("string"===typeof o?JSON.parse(o):o).statusBarHeight/n||24,l="calc(100% - ".concat(a,"px - 44px - 12px)");return{minHeight:l,maxHeight:l}}return{}}()),M),ie=j&&(i||h),re=u()(v.A.data.popupClassName,v.A.data.okdNamespace,"".concat(E,"-window"),ie&&"".concat(E,"-window-safe"),(0,fe.A)({},"".concat(E,"-window-float"),a),(0,fe.A)({},p,!!p),{"full-page":i&&!r},{"full-page-with-show-header":i&&r},{"bottom-align":i||h},{"no-margin":d},{"container-mode":f}),ae=(0,V.jsx)(Ze,(0,o.A)((0,o.A)({isFull:i,alignBottom:h,dir:v.A.data.popupDir},e),{},{onClose:S,className:re,style:oe,getRef:function(e){Z.current=e,$.current=e},windowProps:F,isMobile:j,children:l}));return T&&(ae=(0,V.jsx)(Ce,(0,o.A)((0,o.A)({getMoveRef:function(){return Z.current},getDragRef:w,getDragRefList:N},k),{},{onDragMove:null!==k&&void 0!==k&&k.dragInViewport?function(){for(var e,n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];var i=null===(e=k.onDragMove)||void 0===e?void 0:e.call.apply(e,[k].concat(t));return i||Pe.apply(void 0,t)}:void 0,children:ae}))),x?z||G?(0,V.jsxs)("div",{style:(0,o.A)((0,o.A)({},ne),Q),className:te,children:[(null===H||void 0===H?void 0:H((function(){return ae})))||ae,(0,V.jsx)(je,{frozenBg:t,float:a,dialogWindowRef:$,preventScrollLeakage:_})]}):null:(0,V.jsxs)(ke,(0,o.A)((0,o.A)({visible:z,renderDom:G,onTransitionEnd:O},y),{},{style:(0,o.A)((0,o.A)({},ne),Q),className:te,children:[(null===H||void 0===H?void 0:H((function(){return ae})))||ae,z&&(0,V.jsx)(je,{frozenBg:t,preventScrollLeakage:_,float:a,dialogWindowRef:$})]}))};function $e(){}function Xe(e){var n=v.A.mergeProps(Xe.defaultPropsValue,e,v.A.componentNames.Dialog),t=n.visible,i=n.getContainer,r=n.parentSelector,a=n.onMediaChange,l=n.frozenBg,d=n.onClose,b=n.onTransitionEnd,y=n.float,x=n.openWhen,T=n.zIndex,w=n.mask,k=n.maskClosable,N=n.maskClassName,B=n.mobileMode,M=(0,c.useRef)({}),j=(0,c.useId)(),L=(0,c.useMemo)((function(){return t&&(M.current={mask:g.cb.next().value,window:g.cb.next().value}),{maskZIndex:y?M.current.mask:1,containerZIndex:y?M.current.window:1}}),[t,y]),R=L.maskZIndex,S=L.containerZIndex,D=(0,p.A)({frozenBg:l}),z=(0,m.A)(),I=z.isSm,F=z.media,O=B||I;(0,c.useEffect)((function(){a&&a({media:F,isMobile:O})}),[F]);var Y=function(){d&&d(),b&&setTimeout(b,300)},H=Object.prototype.hasOwnProperty.call(n,"openWhen")?x:t;if((0,h.un)()&&!(0,f.f)()){var _,Z,U=null===(_=A.A.document)||void 0===_||null===(Z=_.getElementsByTagName("meta"))||void 0===Z?void 0:Z.viewport,$=null===U||void 0===U?void 0:U.content;null!==$&&void 0!==$&&$.includes("viewport-fit=cover")||null===U||void 0===U||U.setAttribute("content","".concat($,",viewport-fit=cover"))}var X=void 0===k?O:k,q=T?{zIndex:T-1}:{zIndex:R},K=(0,V.jsxs)(s().Fragment,{children:[w&&y&&(0,V.jsx)(C.A,{visible:H,onClick:X?Y:null,className:u()("".concat(E,"-mask"),N),style:(0,o.A)({position:n.layerPositionAbsolute?"absolute":void 0},q)}),(0,V.jsx)(Ue,(0,o.A)((0,o.A)({},n),{},{isMobile:O,bodyWidth:D,containerZIndex:S,innerOnClose:Y,finalVisible:H}))]}),G=(0,c.useMemo)((function(){return{titleId:j}}),[]);return(0,V.jsx)(W,{value:G,children:(0,V.jsx)(P,{getContainer:function(){if((0,f.f)())return null;var e=A.A.document.body;return i&&i()?e=i():r&&A.A.document.querySelector(r)&&(e=A.A.document.querySelector(r)),e},children:K})})}Xe.BTN_LAYOUT=R,Xe.THEME={},Xe.Footer=ue,Xe.Window=Ze,Xe.create=function(e){return Z(Xe,e)},Xe.defaultPropsValue={visible:!1,hideCloseBtn:!1,noMargin:!1,alignBottom:!1,noContentPadding:!1,isFull:!1,isShowHeader:!1,mobileMode:!1,layerPositionAbsolute:!1,title:"",subTitle:"",titleCenter:!1,topContent:null,topClassName:"",closeClassName:"",closeIconClassName:"",renderTopLeft:null,renderTopRight:null,onClose:null,showBackBtn:!1,onBack:null,scrollDisable:!1,zIndex:void 0,className:"",maskClassName:"",width:null,windowClass:"",windowStyle:{},mask:!0,draggable:!1,getDragRef:$e,getDragRefList:null,maskClosable:void 0,animateDisable:!1,getContainer:$e,onMediaChange:null,frozenBg:!0,whiteboard:!1,containerMode:!1,renderContent:null,float:!0,showLoading:!1,confirmText:null,cancelText:null,confirmDisabled:!1,confirmLoading:!1,onConfirm:null,onCancel:null,confirmBtnProps:{},cancelBtnProps:{},transitionProps:{},footer:null,renderFooter:null,scrollBoxClassName:"",topStyle:{},footerStyle:{},footerClassName:"",btnFull:!1,ignoreScrollBar:!1,mobileWidth:"",containerClassName:"",rebirthDialog:!0,escToClose:!1,dragProps:null,autoFocusWindow:!1,afterTransition:null,renderWindow:null,autoFocus:!0,preventScrollLeakage:!0},Xe.displayName=v.A.componentNames.Dialog;const qe=Xe;var Ke={error:"okds-fail-circle",alert:"okds-strong-alert",warn:"okds-warning-circle",prompt:"okds-bell",info:"okds-information-circle",success:"okds-success-circle"};const Ge=function(e){var n=e.infoType;return(0,V.jsx)("div",{className:"".concat(E,"-tip-icon-bg"),children:(0,V.jsx)(Ye.A,{className:"tip-icon ".concat(Ke[n]," ").concat(E,"-").concat(n,"-icon")})})};t(9480);var Je=["dialogType","infoType","title","titleList","text","textList","noContent","className","children","confirmBtnProps","cancelBtnProps"];var Qe=Q.A.SIZE,en=function(e){function n(){var e,t,o,i;(0,b.A)(this,n);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return t=this,o=n,i=[].concat(a),o=(0,w.A)(o),(e=(0,x.A)(t,(0,T.A)()?Reflect.construct(o,i||[],(0,w.A)(t).constructor):o.apply(t,i))).state={isMobile:z.media===I},e.onConfirm=function(){var n=e.props,t=n.onConfirm,o=n.operation;return t&&t(o)},e.onCancel=function(){var n=e.props,t=n.onCancel,o=n.onClose;return t?t():(o&&o(),null)},e.onMediaChange=function(n){var t=n.media,o=n.isMobile,i=e.props.onMediaChange;i&&i({media:t,isMobile:o}),e.setState({isMobile:o})},e}return(0,k.A)(n,e),(0,y.A)(n,[{key:"render",value:function(){var e=this.props,n=(e.dialogType,e.infoType),t=e.title,i=e.titleList,r=e.text,a=e.textList,l=e.noContent,c=e.className,s=e.children,d=e.confirmBtnProps,f=e.cancelBtnProps,m=(0,$.A)(e,Je),p=this.state.isMobile,h=t&&0!==t.length?[t]:i||[],v=r&&0!==r.length?[r]:a||[],A=u()((0,fe.A)({},c,!!c),"".concat(j.H3,"-tip-dialog")),g=u()("".concat(E,"-tip-content"),{"two-btn":m.cancelText&&m.confirmText}),C=p?Qe.lg:Qe.sm;return(0,V.jsxs)(qe,(0,o.A)((0,o.A)({confirmBtnProps:(0,o.A)({size:C},d),cancelBtnProps:(0,o.A)({size:C},f),btnLayout:qe.BTN_LAYOUT.full,alignBottom:!0},m),{},{className:A,onConfirm:this.onConfirm,onCancel:this.onCancel,onMediaChange:this.onMediaChange,footerLine:!1,children:[!l&&(0,V.jsxs)("div",{className:g,children:[n&&(0,V.jsx)(Ge,{infoType:n}),(0!==h.length||0!==v.length)&&(0,V.jsxs)("div",{className:"tip-title-box",children:[h.map((function(e,n){return(0,V.jsx)("div",{className:"tip-title",children:e},"tip_title".concat(n))})),v.map((function(e,n){return(0,V.jsx)("div",{className:"tip-detail",children:e},"tip_text".concat(n))}))]})]}),s]}))}}])}(s().PureComponent);en.defaultProps={infoType:D.prompt,title:"",titleList:[],text:"",textList:[]},en.INFO_TYPE=D,en.LAYOUT=S,en.infoType=D,en.dialogType={confirm:"confirm",prompt:"prompt"},en.Icon=Ge,en.create=function(e){var n=null;return n=Z(en,(0,o.A)((0,o.A)({},e),{},{onCancel:function(){n.destroy(),e.onCancel&&e.onCancel(),e.onClose&&e.onClose()}}))};const nn=en;var tn={error:"okds-fail-circle-fill",warn:"okds-warning-circle-fill",info:"okds-information-circle-fill",success:"okds-success-circle-fill"};const on=function(e){var n=e.infoType;return tn[n]?(0,V.jsx)(Ye.A,{className:"".concat(E,"-tip-icon ").concat(tn[n]," ").concat(E,"-").concat(n,"-tip-icon")}):null};var rn=["dialogType","infoType","title","titleList","text","textList","noContent","className","children","confirmBtnProps","cancelBtnProps","btnFull","confirmText","cancelText"];var an=function(e){function n(){var e,t,o,i;(0,b.A)(this,n);for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];return t=this,o=n,i=[].concat(a),o=(0,w.A)(o),(e=(0,x.A)(t,(0,T.A)()?Reflect.construct(o,i||[],(0,w.A)(t).constructor):o.apply(t,i))).state={isMobile:z.media===I},e.onConfirm=function(){var n=e.props,t=n.onConfirm,o=n.operation;return t&&t(o)},e.onCancel=function(){var n=e.props,t=n.onCancel,o=n.onClose;return t?t():(o&&o(),null)},e.onMediaChange=function(n){var t=n.media,o=n.isMobile,i=e.props.onMediaChange;i&&i({media:t,isMobile:o}),e.setState({isMobile:o})},e}return(0,k.A)(n,e),(0,y.A)(n,[{key:"render",value:function(){var e=this.props,n=(e.dialogType,e.infoType),t=e.title,i=(e.titleList,e.text,e.textList,e.noContent,e.className),r=e.children,a=e.confirmBtnProps,l=e.cancelBtnProps,c=e.btnFull,s=void 0===c||c,d=e.confirmText,f=e.cancelText,m=(0,$.A)(e,rn),p=this.state.isMobile,h=u()(i,"".concat(j.H3,"-new-tip-dialog")),v=t&&(0,V.jsxs)(V.Fragment,{children:[n&&!p&&(0,V.jsx)(on,{infoType:n}),t]}),A=null!==d&&void 0!==d,g=null!==f&&void 0!==f,C=p?{category:Q.A.CATEGORY.text,type:Q.A.TYPE.primary,className:u()("".concat(E,"-tip-button"),(0,fe.A)((0,fe.A)((0,fe.A)({},"".concat(E,"-tip-border-left"),!s&&A&&g&&p),"".concat(E,"-tip-border-top"),s&&A&&g&&p),"".concat(E,"-tip-only-one"),!(A&&g)&&p)),block:!0}:{},b=u()("".concat(E,"-new-tip-footer")),y=u()("".concat(E,"-new-tip-top")),x=u()("".concat(E,"-new-tip-container"),(0,fe.A)({},"".concat(E,"-no-title"),p&&!t));return(0,V.jsx)(qe,(0,o.A)((0,o.A)({confirmBtnProps:(0,o.A)((0,o.A)((0,o.A)({},C),{className:u()(C.className,(0,fe.A)((0,fe.A)({},"".concat(E,"-tip-button-color"),!a&&p),"".concat(E,"-tip-button-confirm"),p))}),a),btnFull:s,cancelBtnProps:(0,o.A)((0,o.A)((0,o.A)({},C),l),{className:u()(C.className,(0,fe.A)((0,fe.A)({},"".concat(E,"-tip-button-color"),!(null!==l&&void 0!==l&&l.type)&&!(null!==l&&void 0!==l&&l.category)&&p),"".concat(E,"-tip-button-cancel"),p),null===l||void 0===l?void 0:l.className)}),hideCloseBtn:!0,width:420,confirmText:d,cancelText:f},m),{},{className:h,onConfirm:this.onConfirm,onCancel:this.onCancel,onMediaChange:this.onMediaChange,title:v,footerLine:!1,headerLine:!1,topClassName:y,footerClassName:b,containerClassName:x,children:r}))}}])}(s().PureComponent);an.defaultProps={infoType:D.default,title:""},an.INFO_TYPE=D,an.LAYOUT=S,an.Icon=on,an.create=function(e){var n=null;return n=Z(an,(0,o.A)((0,o.A)({},e),{},{onCancel:function(){n.destroy(),e.onCancel&&e.onCancel(),e.onClose&&e.onClose()}}))};const ln=an;var cn=["children","title","className","confirmText","cancelText"],sn="".concat(j.H3,"-dialog-confirmation");function dn(e){var n=e.children,t=e.title,i=e.className,r=e.confirmText,a=e.cancelText,l=(0,$.A)(e,cn),s=u()(i,sn),d=(0,m.A)().isSm,f=(0,c.useId)();if(d)return(0,V.jsx)(qe,(0,o.A)({noMargin:!0,alignBottom:!0},e));var p=null!==r&&void 0!==r||null!==a&&void 0!==a,h=u()("".concat(sn,"-container"),(0,fe.A)((0,fe.A)({},"".concat(sn,"-container-no-header"),!t),"".concat(sn,"-container-no-footer"),!p)),v=u()("".concat(sn,"-header"),(0,fe.A)({},"".concat(sn,"-header-margin"),!1===l.hideCloseBtn));return(0,V.jsx)(qe,(0,o.A)((0,o.A)({className:s,width:420,topContent:t?(0,V.jsx)("div",{id:f,role:"heading","aria-level":"1",className:v,children:t}):null,hideCloseBtn:!0,renderContent:function(){return(0,V.jsx)("div",{className:h,children:n})},confirmText:r,cancelText:a,customRenderFooter:function(e){return p?(0,V.jsx)("div",{className:"".concat(sn,"-footer"),children:(0,V.jsx)(e,{})}):null}},l),{},{"aria-labelledby":l["aria-labelledby"]||f}))}dn.create=function(e){var n=null;return n=Z(dn,(0,o.A)((0,o.A)({},e),{},{onCancel:function(){n.destroy(),e.onCancel&&e.onCancel(),e.onClose&&e.onClose()}}))};const un=dn;var fn=["onMediaChange","className","closeBtn","windowClass","children","noTopRadius"];function mn(e){var n=v.A.mergeProps(mn.defaultPropsValue,e,v.A.componentNames.Dialog),t=n.onMediaChange,i=n.className,r=(n.closeBtn,n.windowClass),a=n.children,l=n.noTopRadius,s=(0,$.A)(n,fn),d=(0,c.useState)(z.media===I),f=(0,U.A)(d,2),m=f[0],p=f[1],h={className:i,windowClass:r};if(m||s.mobileMode){var A=u()((0,fe.A)({},r,!!r),{"no-radius":l});h={className:"".concat(i||""," ").concat(j.H3,"-action-dialog"),windowClass:A,alignBottom:!0,noMargin:!0,maskClosable:!0,noContentPadding:!0,transitionProps:{type:"slide",placement:"bottom",timeout:300}}}return(0,V.jsx)(qe,(0,o.A)((0,o.A)((0,o.A)({},h),s),{},{onMediaChange:function(e){var n=e.media,o=e.isMobile;t&&t({media:n,isMobile:o}),p(o)},children:a}))}mn.defaultPropsValue={title:"",noTopRadius:!1},mn.create=function(e){return Z(mn,e)};const pn=mn;var hn=["children","windowClass"];const vn=function(e){var n=e.children,t=e.windowClass,i=(0,$.A)(e,hn);return(0,V.jsx)(qe,(0,o.A)((0,o.A)({windowClass:"".concat(j.H3,"-dialog-group ").concat(t||"")},i),{},{whiteboard:!0,children:s().Children.map(n,(function(e){var n=e.props.className,t=n;return e.type.elementType===qe.Window.elementType&&(t="".concat(j.H3,"-dialog-group-window ").concat(n)),s().cloneElement(e,{className:t})}))}))};function An(e){return function(n){var t=(0,o.A)({dialogType:nn.dialogType.prompt,infoType:nn.infoType[e],hideCloseBtn:!0},n);return nn.create(t)}}qe.success=An(nn.infoType.success),qe.info=An(nn.infoType.info),qe.prompt=An(nn.infoType.prompt),qe.warn=An(nn.infoType.warn),qe.alert=An(nn.infoType.alert),qe.error=An(nn.infoType.error),qe.confirm=qe.warn,qe.tip=function(e){var n=(0,o.A)({hideCloseBtn:!0},e);return ln.create(n)},qe.confirmation=function(e){var n=(0,o.A)({},e);return un.create(n)},qe.action=function(e){return pn.create(e)},qe.show=function(e){return qe.create(e)},qe.destroyAll=Z.destroyAll,qe.LAYOUT=nn.LAYOUT,qe.Prompt=nn,qe.Action=pn,qe.Tip=ln,qe.Confirmation=un,qe.Group=vn;const gn=qe},9302:(e,n,t)=>{"use strict";t.d(n,{Am:()=>a,KS:()=>l});var o=t(5544),i=t(1594),r=t(3664);function a(e){var n=(0,i.useState)((0,r.j1)(e)),t=(0,o.A)(n,2),a=t[0],l=t[1];return(0,i.useEffect)((function(){var e=function(e){l(e)};return(0,r.Fq)(e),function(){(0,r.i9)(e)}}),[]),a}function l(){var e=(0,i.useState)(""),n=(0,o.A)(e,2)[1];(0,i.useEffect)((function(){var e=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];n(t)};return(0,r.Zr)(e),function(){(0,r.o)(e)}}),[])}},9687:(e,n)=>{n.z={dark:"dark"}},3664:(e,n,t)=>{"use strict";t.d(n,{Zr:()=>x,Fq:()=>C,KN:()=>g,j1:()=>h,o:()=>T,i9:()=>b});t(5544);var o=t(9105),i=t(401),r=t(2305),a=t(9687),l=t(3029),c=t(2901),s=function(){function e(){(0,l.A)(this,e)}return(0,c.A)(e,null,[{key:"$setCurrentTheme",value:function(n){e.currentTheme=n}},{key:"$setDefaultTheme",value:function(n){e.defaultTheme=n}},{key:"get",value:function(n){var t,o=e.currentTheme||e.defaultTheme,a=e.$themesData[o],l=r.A.document.body;if(!(0,i.f)()&&getComputedStyle(l).getPropertyValue(n))return null===(t=getComputedStyle(l))||void 0===t?void 0:t.getPropertyValue(n);if(!a&&r.A.okd&&r.A.okd.themes&&r.A.okd.themes[o]&&(a=r.A.okd.themes[o]),a){for(var c=a[n]||"";c&&c.startsWith("@");)c=a[c]||"";return c}return""}}])}();s.defaultTheme="default",s.currentTheme=void 0,s.$themesData={};const d=s;var u=[],f=(a.z,"theme-");function m(){return d.defaultTheme?d.defaultTheme:(r.A.okd||(r.A.okd={}),r.A.okd.themes||(r.A.okd.themes={$default:"default"}),r.A.okd.themes.$default)}var p=function(e){var n="".concat(e,"-okd-theme"),t=o.A.g.get(n);return null===t||void 0===t?void 0:t.replace("theme-","")};function h(e){if((0,i.f)()&&e)return p(e);if(d.currentTheme)return d.currentTheme;var n=m();if(!(0,i.f)()){var t=r.A.document.body.classList,o=/^theme-([a-z-]{2})/i;t.forEach((function(e){o.test(e)&&(n=e.replace(o,"$1"))}))}return n}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.biz){var n="".concat(e.biz,"-okd-theme");o.A.g.set(n,"theme-".concat(e.themeName))}},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e;if("string"===typeof e)n={biz:"",themeName:e};else if(!e.biz)throw new Error("biz is required");return n};function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m(),n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=A(e),o=t.biz,a=t.themeName,l=h();if((a!==l||n)&&(v({biz:o,themeName:a}),d.$setCurrentTheme(a),!(0,i.f)())){var c="".concat(f).concat(a);r.A.document.body.classList.remove("".concat(f).concat(l)),a&&r.A.document.body.classList.add(c),r.A.cssVars&&r.A.cssVars({watch:!1,onComplete:function(){r.A.cssVars({watch:!0})}}),u.forEach((function(e){e(a,l)})),function(e){r.A.dispatchEvent(new CustomEvent("okd-theme-change",{detail:{currentTheme:e}}))}(a)}}function C(e){return e instanceof Function&&u.push(e),e}function b(e){u=u.filter((function(n){return n!==e}))}var y=[];function x(e){y.push(e)}function T(e){y=y.filter((function(n){return n!==e}))}}}]);
//# sourceMappingURL=https://static-daily.okg.com/crash/okfe/okx-nav/common/983.a233451a.js.map