1"use strict";(globalThis.webpackChunkcenterpiece_ui=globalThis.webpackChunkcenterpiece_ui||[]).push([[43],{8029(e,n,t){t.d(n,{K:()=>o});var o={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var n=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||n>=o.F1&&n<=o.F12)return!1;switch(n){case o.ALT:case o.CAPS_LOCK:case o.CONTEXT_MENU:case o.CTRL:case o.DOWN:case o.END:case o.ESC:case o.HOME:case o.INSERT:case o.LEFT:case o.MAC_FF_META:case o.META:case o.NUMLOCK:case o.NUM_CENTER:case o.PAGE_DOWN:case o.PAGE_UP:case o.PAUSE:case o.PRINT_SCREEN:case o.RIGHT:case o.SHIFT:case o.UP:case o.WIN_KEY:case o.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=o.ZERO&&e<=o.NINE||e>=o.NUM_ZERO&&e<=o.NUM_MULTIPLY||e>=o.A&&e<=o.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case o.SPACE:case o.QUESTION_MARK:case o.NUM_PLUS:case o.NUM_MINUS:case o.NUM_PERIOD:case o.NUM_DIVISION:case o.SEMICOLON:case o.DASH:case o.EQUALS:case o.COMMA:case o.PERIOD:case o.SLASH:case o.APOSTROPHE:case o.SINGLE_QUOTE:case o.OPEN_SQUARE_BRACKET:case o.BACKSLASH:case o.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}}},4043(e,n,t){t.d(n,{A:()=>V});var o=t(9950),r=t(9398),a=t(6744),c=t(3304),i=t(8029),l=t(3919),s=t(1376),u=t(3250),f=t(4617),d=t(7119);function m(e){return!(!e||!e.then)}const p=function(e){var n=o.useRef(!1),t=o.useRef(),r=function(){var e=o.useRef(!0);return o.useEffect(function(){return function(){e.current=!1}},[]),function(){return!e.current}}(),c=o.useState(!1),i=(0,a._)(c,2),l=i[0],u=i[1];o.useEffect(function(){var n;if(e.autoFocus){var o=t.current;n=setTimeout(function(){return o.focus()})}return function(){n&&clearTimeout(n)}},[]);var f=e.type,d=e.children,p=e.prefixCls,v=e.buttonProps;return o.createElement(s.B,(0,a.g)({},(0,s.c)(f),{onClick:function(t){var o=e.actionFn,a=e.close;if(!n.current){if(n.current=!0,!o)return void a();var c;if(e.emitEvent){if(c=o(t),e.quitOnNullishReturnValue&&!m(c))return n.current=!1,void a(t)}else if(o.length)c=o(a),n.current=!1;else if(!(c=o()))return void a();!function(t){var o=e.close;!m(t)||(u(!0),t.then(function(){r()||u(!1),o.apply(void 0,arguments),n.current=!1},function(e){console.error(e),r()||u(!1),n.current=!1}))}(c)}},loading:l,prefixCls:p},v,{ref:t}),d)};function v(e){var n=e.prefixCls,t=e.style,r=e.visible,c=e.maskProps,i=e.motionName;return o.createElement(a.C,{key:"mask",visible:r,motionName:i,leavedClassName:"".concat(n,"-mask-hidden")},function(e){var r=e.className,i=e.style;return o.createElement("div",(0,a.g)({style:(0,a.l)((0,a.l)({},i),t),className:(0,a.c)("".concat(n,"-mask"),r)},c))})}function g(e,n,t){var o=n;return!o&&t&&(o="".concat(e,"-").concat(t)),o}var C=-1;function h(e,n){var t=e["page".concat(n?"Y":"X","Offset")],o="scroll".concat(n?"Top":"Left");if("number"!=typeof t){var r=e.document;"number"!=typeof(t=r.documentElement[o])&&(t=r.body[o])}return t}const E=o.memo(function(e){return e.children},function(e,n){return!n.shouldUpdate});var y={width:0,height:0,overflow:"hidden",outline:"none"},N=o.forwardRef(function(e,n){var t=e.closable,r=e.prefixCls,c=e.width,i=e.height,l=e.footer,s=e.title,u=e.closeIcon,f=e.style,d=e.className,m=e.visible,p=e.forceRender,v=e.bodyStyle,g=e.bodyProps,C=e.children,N=e.destroyOnClose,T=e.modalRender,b=e.motionName,k=e.ariaId,S=e.onClose,w=e.onVisibleChanged,x=e.onMouseDown,O=e.onMouseUp,P=e.mousePosition,M=(0,o.useRef)(),R=(0,o.useRef)(),I=(0,o.useRef)();o.useImperativeHandle(n,function(){return{focus:function(){var e;null===(e=M.current)||void 0===e||e.focus()},changeActive:function(e){var n=document.activeElement;e&&n===R.current?M.current.focus():!e&&n===M.current&&R.current.focus()}}});var _,A,U,L=o.useState(),F=(0,a._)(L,2),D=F[0],K=F[1],H={};function W(){var e=function(e){var n=e.getBoundingClientRect(),t={left:n.left,top:n.top},o=e.ownerDocument,r=o.defaultView||o.parentWindow;return t.left+=h(r),t.top+=h(r,!0),t}(I.current);K(P?"".concat(P.x-e.left,"px ").concat(P.y-e.top,"px"):"")}void 0!==c&&(H.width=c),void 0!==i&&(H.height=i),D&&(H.transformOrigin=D),l&&(_=o.createElement("div",{className:"".concat(r,"-footer")},l)),s&&(A=o.createElement("div",{className:"".concat(r,"-header")},o.createElement("div",{className:"".concat(r,"-title"),id:k},s))),t&&(U=o.createElement("button",{type:"button",onClick:S,"aria-label":"Close",className:"".concat(r,"-close")},u||o.createElement("span",{className:"".concat(r,"-close-x")})));var B=o.createElement("div",{className:"".concat(r,"-content")},U,A,o.createElement("div",(0,a.g)({className:"".concat(r,"-body"),style:v},g),C),_);return o.createElement(a.C,{visible:m,onVisibleChanged:w,onAppearPrepare:W,onEnterPrepare:W,forceRender:p,motionName:b,removeOnLeave:N,ref:I},function(e,n){var t=e.className,c=e.style;return o.createElement("div",{key:"dialog-element",role:"document",ref:n,style:(0,a.l)((0,a.l)((0,a.l)({},c),f),H),className:(0,a.c)(r,d,t),onMouseDown:x,onMouseUp:O},o.createElement("div",{tabIndex:0,ref:M,style:y,"aria-hidden":"true"}),o.createElement(E,{shouldUpdate:m||p},T?T(B):B),o.createElement("div",{tabIndex:0,ref:R,style:y,"aria-hidden":"true"}))})});function T(e){var n=e.prefixCls,t=void 0===n?"rc-dialog":n,r=e.zIndex,c=e.visible,s=void 0!==c&&c,u=e.keyboard,f=void 0===u||u,d=e.focusTriggerAfterClose,m=void 0===d||d,p=e.scrollLocker,h=e.title,E=e.wrapStyle,y=e.wrapClassName,T=e.wrapProps,b=e.onClose,k=e.afterClose,S=e.transitionName,w=e.animation,x=e.closable,O=void 0===x||x,P=e.mask,M=void 0===P||P,R=e.maskTransitionName,I=e.maskAnimation,_=e.maskClosable,A=void 0===_||_,U=e.maskStyle,L=e.maskProps,F=(0,o.useRef)(),D=(0,o.useRef)(),K=(0,o.useRef)(),H=o.useState(s),W=(0,a._)(H,2),B=W[0],j=W[1],G=(0,o.useRef)();function V(e){null==b||b(e)}G.current||(G.current="rcDialogTitle".concat(C+=1));var Q=(0,o.useRef)(!1),Y=(0,o.useRef)(),X=null;return A&&(X=function(e){Q.current?Q.current=!1:D.current===e.target&&V(e)}),(0,o.useEffect)(function(){return s&&j(!0),function(){}},[s]),(0,o.useEffect)(function(){return function(){clearTimeout(Y.current)}},[]),(0,o.useEffect)(function(){return B?(null==p||p.lock(),null==p?void 0:p.unLock):function(){}},[B,p]),o.createElement("div",(0,a.g)({className:"".concat(t,"-root")},(0,l.p)(e,{data:!0})),o.createElement(v,{prefixCls:t,visible:M&&s,motionName:g(t,R,I),style:(0,a.l)({zIndex:r},U),maskProps:L}),o.createElement("div",(0,a.g)({tabIndex:-1,onKeyDown:function(e){if(f&&e.keyCode===i.K.ESC)return e.stopPropagation(),void V(e);s&&e.keyCode===i.K.TAB&&K.current.changeActive(!e.shiftKey)},className:(0,a.c)("".concat(t,"-wrap"),y),ref:D,onClick:X,role:"dialog","aria-labelledby":h?G.current:null,style:(0,a.l)((0,a.l)({zIndex:r},E),{},{display:B?null:"none"})},T),o.createElement(N,(0,a.g)({},e,{onMouseDown:function(){clearTimeout(Y.current),Q.current=!0},onMouseUp:function(){Y.current=setTimeout(function(){Q.current=!1})},ref:K,closable:O,ariaId:G.current,prefixCls:t,visible:s,onClose:V,onVisibleChanged:function(e){if(e){var n;if(!(0,a.F)(D.current,document.activeElement))F.current=document.activeElement,null===(n=K.current)||void 0===n||n.focus()}else{if(j(!1),M&&F.current&&m){try{F.current.focus({preventScroll:!0})}catch{}F.current=null}B&&(null==k||k())}},motionName:g(t,S,w)}))))}N.displayName="Content";var b=function(e){var n=e.visible,t=e.getContainer,r=e.forceRender,i=e.destroyOnClose,l=void 0!==i&&i,s=e.afterClose,u=o.useState(n),f=(0,a._)(u,2),d=f[0],m=f[1];return o.useEffect(function(){n&&m(!0)},[n]),!1===t?o.createElement(T,(0,a.g)({},e,{getOpenCount:function(){return 2}})):r||!l||d?o.createElement(c.P,{visible:n,forceRender:r,getContainer:t},function(n){return o.createElement(T,(0,a.g)({},e,{destroyOnClose:l,afterClose:function(){null==s||s(),m(!1)}},n))}):null};b.displayName="Dialog";var k,S=globalThis&&globalThis.__rest||function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t};(0,u.c)()&&document.documentElement.addEventListener("click",function(e){k={x:e.pageX,y:e.pageY},setTimeout(function(){k=null},100)},!0);var w=function(e){var n,t=o.useContext(a.k),r=t.getPopupContainer,c=t.getPrefixCls,i=t.direction,l=function(n){var t=e.onCancel;null==t||t(n)},u=function(n){var t=e.onOk;null==t||t(n)},d=function(n){var t=e.okText,r=e.okType,c=e.cancelText,i=e.confirmLoading;return o.createElement(o.Fragment,null,o.createElement(s.B,(0,a.g)({onClick:l},e.cancelButtonProps),c||n.cancelText),o.createElement(s.B,(0,a.g)({},(0,s.c)(r),{loading:i,onClick:u},e.okButtonProps),t||n.okText))},m=e.prefixCls,p=e.footer,v=e.visible,g=e.wrapClassName,C=e.centered,h=e.getContainer,E=e.closeIcon,y=e.focusTriggerAfterClose,N=void 0===y||y,T=S(e,["prefixCls","footer","visible","wrapClassName","centered","getContainer","closeIcon","focusTriggerAfterClose"]),w=c("modal",m),x=c(),O
1=o.createElement(a.Q,{componentName:"Modal",defaultLocale:(0,a.V)()},d),P=o.createElement("span",{className:"".concat(w,"-close-x")},E||o.createElement(a.m,{className:"".concat(w,"-close-icon")})),M=(0,a.c)(g,(n={},(0,a.a)(n,"".concat(w,"-centered"),!!C),(0,a.a)(n,"".concat(w,"-wrap-rtl"),"rtl"===i),n));return o.createElement(b,(0,a.g)({},T,{getContainer:void 0===h?r:h,prefixCls:w,wrapClassName:M,footer:void 0===p?O:p,visible:v,mousePosition:k,onClose:l,closeIcon:P,focusTriggerAfterClose:N,transitionName:(0,f.g)(x,"zoom",e.transitionName),maskTransitionName:(0,f.g)(x,"fade",e.maskTransitionName)}))};w.defaultProps={width:520,confirmLoading:!1,visible:!1,okType:"primary"};const x=w;const O=function(e){var n=e.icon,t=e.onCancel,r=e.onOk,c=e.close,i=e.zIndex,l=e.afterClose,s=e.visible,u=e.keyboard,d=e.centered,m=e.getContainer,v=e.maskStyle,g=e.okText,C=e.okButtonProps,h=e.cancelText,E=e.cancelButtonProps,y=e.direction,N=e.prefixCls,T=e.wrapClassName,b=e.rootPrefixCls,k=e.iconPrefixCls,S=e.bodyStyle,w=e.closable,O=void 0!==w&&w,P=e.closeIcon,M=e.modalRender,R=e.focusTriggerAfterClose;(0,a.j)(!("string"==typeof n&&n.length>2),"Modal","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(n,"` at https://ant.design/components/icon"));var I=e.okType||"primary",_="".concat(N,"-confirm"),A=!("okCancel"in e)||e.okCancel,U=e.width||416,L=e.style||{},F=void 0===e.mask||e.mask,D=void 0!==e.maskClosable&&e.maskClosable,K=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),H=(0,a.c)(_,"".concat(_,"-").concat(e.type),(0,a.a)({},"".concat(_,"-rtl"),"rtl"===y),e.className),W=A&&o.createElement(p,{actionFn:t,close:c,autoFocus:"cancel"===K,buttonProps:E,prefixCls:"".concat(b,"-btn")},h);return o.createElement(a.W,{prefixCls:b,iconPrefixCls:k,direction:y},o.createElement(x,{prefixCls:N,className:H,wrapClassName:(0,a.c)((0,a.a)({},"".concat(_,"-centered"),!!e.centered),T),onCancel:function(){return c({triggerCancel:!0})},visible:s,title:"",footer:"",transitionName:(0,f.g)(b,"zoom",e.transitionName),maskTransitionName:(0,f.g)(b,"fade",e.maskTransitionName),mask:F,maskClosable:D,maskStyle:v,style:L,bodyStyle:S,width:U,zIndex:i,afterClose:l,keyboard:u,centered:d,getContainer:m,closable:O,closeIcon:P,modalRender:M,focusTriggerAfterClose:R},o.createElement("div",{className:"".concat(_,"-body-wrapper")},o.createElement("div",{className:"".concat(_,"-body")},n,void 0===e.title?null:o.createElement("span",{className:"".concat(_,"-title")},e.title),o.createElement("div",{className:"".concat(_,"-content")},e.content)),o.createElement("div",{className:"".concat(_,"-btns")},W,o.createElement(p,{type:I,actionFn:r,close:c,autoFocus:"ok"===K,buttonProps:C,prefixCls:"".concat(b,"-btn")},g)))))};const P=[];var M=globalThis&&globalThis.__rest||function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)n.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(t[o[r]]=e[o[r]])}return t},R="";function I(e){var n=document.createDocumentFragment(),t=(0,a.g)((0,a.g)({},e),{close:i,visible:!0});function r(){d.unmountComponentAtNode(n);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];var a=o.some(function(e){return e&&e.triggerCancel});e.onCancel&&a&&e.onCancel.apply(e,o);for(var c=0;c<P.length;c++){if(P[c]===i){P.splice(c,1);break}}}function c(e){var t=e.okText,r=e.cancelText,c=e.prefixCls,i=M(e,["okText","cancelText","prefixCls"]);setTimeout(function(){var e=(0,a.V)(),l=(0,a.X)(),s=l.getPrefixCls,u=l.getIconPrefixCls,f=s(void 0,R),m=c||"".concat(f,"-modal"),p=u();d.render(o.createElement(O,(0,a.g)({},i,{prefixCls:m,rootPrefixCls:f,iconPrefixCls:p,okText:t||(i.okCancel?e.okText:e.justOkText),cancelText:r||e.cancelText})),n)})}function i(){for(var n=this,o=arguments.length,i=new Array(o),l=0;l<o;l++)i[l]=arguments[l];c(t=(0,a.g)((0,a.g)({},t),{visible:!1,afterClose:function(){"function"==typeof e.afterClose&&e.afterClose(),r.apply(n,i)}}))}return c(t),P.push(i),{destroy:i,update:function(e){c(t="function"==typeof e?e(t):(0,a.g)((0,a.g)({},t),e))}}}function _(e){return(0,a.g)((0,a.g)({icon:o.createElement(a.u,null),okCancel:!1},e),{type:"warning"})}function A(e){return(0,a.g)((0,a.g)({icon:o.createElement(a.q,null),okCancel:!1},e),{type:"info"})}function U(e){return(0,a.g)((0,a.g)({icon:o.createElement(a.p,null),okCancel:!1},e),{type:"success"})}function L(e){return(0,a.g)((0,a.g)({icon:o.createElement(a.s,null),okCancel:!1},e),{type:"error"})}function F(e){return(0,a.g)((0,a.g)({icon:o.createElement(a.u,null),okCancel:!0},e),{type:"confirm"})}var D=function(e,n){var t=e.afterClose,r=e.config,c=o.useState(!0),i=(0,a._)(c,2),l=i[0],s=i[1],u=o.useState(r),f=(0,a._)(u,2),d=f[0],m=f[1],p=o.useContext(a.k),v=p.direction,g=p.getPrefixCls,C=g("modal"),h=g(),E=function(){s(!1);for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var o=n.some(function(e){return e&&e.triggerCancel});d.onCancel&&o&&d.onCancel()};return o.useImperativeHandle(n,function(){return{destroy:E,update:function(e){m(function(n){return(0,a.g)((0,a.g)({},n),e)})}}}),o.createElement(a.Q,{componentName:"Modal",defaultLocale:a.Y.Modal},function(e){return o.createElement(O,(0,a.g)({prefixCls:C,rootPrefixCls:h},d,{close:E,visible:l,afterClose:t,okText:d.okText||(d.okCancel?e.okText:e.justOkText),direction:v,cancelText:d.cancelText||e.cancelText}))})};const K=o.forwardRef(D);var H=0,W=o.memo(o.forwardRef(function(e,n){var t=function(){var e=o.useState([]),n=(0,a._)(e,2),t=n[0],r=n[1];return[t,o.useCallback(function(e){return r(function(n){return[].concat((0,a.h)(n),[e])}),function(){r(function(n){return n.filter(function(n){return n!==e})})}},[])]}(),r=(0,a._)(t,2),c=r[0],i=r[1];return o.useImperativeHandle(n,function(){return{patchElement:i}},[]),o.createElement(o.Fragment,null,c)}));function B(e){return I(_(e))}var j=x;j.useModal=function(){var e=o.useRef(null),n=o.useState([]),t=(0,a._)(n,2),r=t[0],c=t[1];o.useEffect(function(){r.length&&((0,a.h)(r).forEach(function(e){e()}),c([]))},[r]);var i=o.useCallback(function(n){return function(t){var r;H+=1;var i,l=o.createRef(),s=o.createElement(K,{key:"modal-".concat(H),config:n(t),ref:l,afterClose:function(){i()}});return i=null===(r=e.current)||void 0===r?void 0:r.patchElement(s),{destroy:function(){function e(){var e;null===(e=l.current)||void 0===e||e.destroy()}l.current?e():c(function(n){return[].concat((0,a.h)(n),[e])})},update:function(e){function n(){var n;null===(n=l.current)||void 0===n||n.update(e)}l.current?n():c(function(e){return[].concat((0,a.h)(e),[n])})}}}},[]);return[o.useMemo(function(){return{info:i(A),success:i(U),error:i(L),warning:i(_),confirm:i(F)}},[]),o.createElement(W,{ref:e})]},j.info=function(e){return I(A(e))},j.success=function(e){return I(U(e))},j.error=function(e){return I(L(e))},j.warning=B,j.warn=B,j.confirm=function(e){return I(F(e))},j.destroyAll=function(){for(;P.length;){var e=P.pop();e&&e()}},j.config=function(e){var n=e.rootPrefixCls;(0,a.j)(!1,"Modal","Modal.config is deprecated. Please use ConfigProvider.config instead."),R=n};const G=j;class V extends o.Component{static getClassName(e){switch(e){case"info":default:return"st-modal-info";case"success":return"st-modal-success";case"warning":return"st-modal-warning";case"error":return"st-modal-error"}}static show(e){const{type:n,content:t,...o}=e;G.info({...o,className:`st-modal st-modal-content ${this.getClassName(n)}`,focusTriggerAfterClose:!0,content:(0,r.j)("span",{children:t})})}render(){const{className:e,children:n,...t}=this.props;return(0,r.j)(G,{...t,className:`st-modal ${e||""}`,closeIcon:(0,r.j)("i",{className:"fa-solid fa-xmark"}),children:n})}}},3304(e,n,t){t.d(n,{P:()=>y});var o=t(6744),r=t(9950),a=t(6052),c=t(5678);function i(e){if(!e)return{};var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).element,t=void 0===n?document.body:n,o={},r=Object.keys(e);return r.forEach(function(e){o[e]=t.style[e]}),r.forEach(function(n){t.style[n]=e[n]}),o}var l={};const s=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var n="ant-scrolling-effect",t=new RegExp("".concat(n),"g"),o=document.body.className;if(e){if(!t.test(o))return;return i(l),l={},void(document.body.className=o.replace(t,"").trim())}var r=(0,c.g)();if(r&&(l=i({position:"relative",width:"calc(100% - ".concat(r,"px)")}),!t.test(o))){var a="".concat(o," ").concat(n);document.body.className=a.trim()}}};var u=0,f=[],d="ant-scrolling-effect",m=new RegExp("".concat(d),"g"),p=new Map,v=(0,o.f)(function e(n){var t=this;(0,o.e)(this,e),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var e;return null===(e=t.options)||void 0===e?void 0:e.container},this.reLock=function(e){var n=f.find(function(e){return e.target===t.lockTarget});n&&t.unLock(),t.options=e,n&&(n.options=e,t.lock())},this.lock=function(){var e;if(!f.some(function(e){return e.target===t.lockTarget}
1)){if(f.some(function(e){var n,o=e.options;return(null==o?void 0:o.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))return void(f=[].concat((0,o.h)(f),[{target:t.lockTarget,options:t.options}]));var n=0,r=(null===(e=t.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(n=(0,c.g)());var a=r.className;if(0===f.filter(function(e){var n,o=e.options;return(null==o?void 0:o.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}).length&&p.set(r,i({width:0!==n?"calc(100% - ".concat(n,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!m.test(a)){var l="".concat(a," ").concat(d);r.className=l.trim()}f=[].concat((0,o.h)(f),[{target:t.lockTarget,options:t.options}])}},this.unLock=function(){var e,n=f.find(function(e){return e.target===t.lockTarget});if(f=f.filter(function(e){return e.target!==t.lockTarget}),n&&!f.some(function(e){var t,o=e.options;return(null==o?void 0:o.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})){var o=(null===(e=t.options)||void 0===e?void 0:e.container)||document.body,r=o.className;!m.test(r)||(i(p.get(o),{element:o}),p.delete(o),o.className=o.className.replace(m,"").trim())}},this.lockTarget=u++,this.options=n}),g=0,C=(0,o.K)(),h={},E=function(e){if(!C)return null;if(e){if("string"==typeof e)return document.querySelectorAll(e)[0];if("function"==typeof e)return e();if("object"===(0,o.i)(e)&&e instanceof window.HTMLElement)return e}return document.body},y=function(e){(0,o.b)(t,e);var n=(0,o.d)(t);function t(e){var a;return(0,o.e)(this,t),(a=n.call(this,e)).container=void 0,a.componentRef=r.createRef(),a.rafId=void 0,a.scrollLocker=void 0,a.renderComponent=void 0,a.updateScrollLocker=function(e){var n=(e||{}).visible,t=a.props,o=t.getContainer,r=t.visible;r&&r!==n&&C&&E(o)!==a.scrollLocker.getContainer()&&a.scrollLocker.reLock({container:E(o)})},a.updateOpenCount=function(e){var n=e||{},t=n.visible,o=n.getContainer,r=a.props,c=r.visible,i=r.getContainer;c!==t&&C&&E(i)===document.body&&(c&&!t?g+=1:e&&(g-=1)),("function"==typeof i&&"function"==typeof o?i.toString()!==o.toString():i!==o)&&a.removeCurrentContainer()},a.attachToParent=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]||a.container&&!a.container.parentNode){var e=E(a.props.getContainer);return!!e&&(e.appendChild(a.container),!0)}return!0},a.getContainer=function(){return C?(a.container||(a.container=document.createElement("div"),a.attachToParent(!0)),a.setWrapperClassName(),a.container):null},a.setWrapperClassName=function(){var e=a.props.wrapperClassName;a.container&&e&&e!==a.container.className&&(a.container.className=e)},a.removeCurrentContainer=function(){var e,n;null===(e=a.container)||void 0===e||null===(n=e.parentNode)||void 0===n||n.removeChild(a.container)},a.switchScrollingEffect=function(){1!==g||Object.keys(h).length?g||(i(h),h={},s(!0)):(s(),h=i({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},a.scrollLocker=new v({container:E(e.getContainer)}),a}
1return(0,o.f)(t,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,o.G)(function(){e.forceUpdate()}))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,n=e.visible,t=e.getContainer;C&&E(t)===document.body&&(g=n&&g?g-1:g),this.removeCurrentContainer(),o.G.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,n=e.children,t=e.forceRender,o=e.visible,c=null,i={getOpenCount:function(){return g},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(t||o||this.componentRef.current)&&(c=r.createElement(a.P,{getContainer:this.getContainer,ref:this.componentRef},n(i))),c}}]),t}(r.Component)},5678(e,n,t){var o;function r(e){if(typeof document>"u")return 0;if(e||void 0===o){var n=document.createElement("div");n.style.width="100%",n.style.height="200px";var t=document.createElement("div"),r=t.style;r.position="absolute",r.top="0",r.left="0",r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",t.appendChild(n),document.body.appendChild(t);var a=n.offsetWidth;t.style.overflow="scroll";var c=n.offsetWidth;a===c&&(c=t.clientWidth),document.body.removeChild(t),o=a-c}return o}function a(e){var n=e.match(/^(.*)px$/),t=Number(null==n?void 0:n[1]);return Number.isNaN(t)?r():t}function c(e){if(typeof document>"u"||!e||!(e instanceof Element))return{width:0,height:0};var n=getComputedStyle(e,"::-webkit-scrollbar"),t=n.width,o=n.height;return{width:a(t),height:a(o)}}t.d(n,{a:()=>c,g:()=>r})},3919(e,n,t){t.d(n,{p:()=>c});var o=t(6744),r="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/);function a(e,n){return 0===e.indexOf(n)}function c(e){var n,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n=!1===t?{aria:!0,data:!0,attr:!0}:!0===t?{aria:!0}:(0,o.l)({},t);var c={};return Object.keys(e).forEach(function(t){(n.aria&&("role"===t||a(t,"aria-"))||n.data&&a(t,"data-")||n.attr&&r.includes(t))&&(c[t]=e[t])}),c}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.