@bwg-ui/core 1.1.25 → 1.1.27

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.
Files changed (122) hide show
  1. package/dist/chunks/common-components-CniOkOzu.js +15776 -0
  2. package/dist/chunks/common-components-DrcQahsO.cjs +183 -0
  3. package/dist/chunks/{core-Dl0PdDdT.js → core-CEDyqniq.js} +1 -2
  4. package/dist/chunks/core-lmAmbqvY.cjs +1 -0
  5. package/dist/chunks/{enc-base64-D7t4BoUA.js → enc-base64-CF2tIkYl.js} +4 -5
  6. package/dist/chunks/enc-base64-Dxq399hI.cjs +1 -0
  7. package/dist/chunks/{sha256-C2-s1oZe.js → sha256-DYurgXCU.js} +12 -13
  8. package/dist/chunks/sha256-H5WWQnKT.cjs +1 -0
  9. package/dist/components/common/BwgPagination.d.ts +1 -1
  10. package/dist/components/common/BwgPagination.d.ts.map +1 -1
  11. package/dist/components/common/index.cjs +1 -2
  12. package/dist/components/common/index.d.ts +3 -1
  13. package/dist/components/common/index.d.ts.map +1 -1
  14. package/dist/components/common/index.js +16 -17
  15. package/dist/components/core/BwgFormItem.d.ts +2 -2
  16. package/dist/components/core/BwgFormItem.d.ts.map +1 -1
  17. package/dist/components/core/BwgInput.d.ts.map +1 -1
  18. package/dist/components/core/index.cjs +1 -2
  19. package/dist/components/core/index.js +1218 -23
  20. package/dist/components/guide/index.cjs +1 -2
  21. package/dist/components/guide/index.js +3 -4
  22. package/dist/components/layout/index.cjs +35 -2
  23. package/dist/components/layout/index.js +350 -10
  24. package/dist/components/popup/MenuReport.d.ts.map +1 -1
  25. package/dist/index.cjs +1 -2
  26. package/dist/index.js +211 -222
  27. package/dist/provider/index.cjs +1 -2
  28. package/dist/provider/index.js +384 -25
  29. package/dist/stores/index.cjs +2 -2
  30. package/dist/stores/index.js +1394 -24
  31. package/dist/utils/index.cjs +1 -2
  32. package/dist/utils/index.js +1369 -200
  33. package/package.json +2 -3
  34. package/dist/chunks/AuthContext-CXng9fj0.cjs +0 -2
  35. package/dist/chunks/AuthContext-CXng9fj0.cjs.map +0 -1
  36. package/dist/chunks/AuthContext-DrEpBrpB.js +0 -57
  37. package/dist/chunks/AuthContext-DrEpBrpB.js.map +0 -1
  38. package/dist/chunks/BwgSpace-CnLM4qcg.js +0 -27
  39. package/dist/chunks/BwgSpace-CnLM4qcg.js.map +0 -1
  40. package/dist/chunks/BwgSpace-b0hmM1Ht.cjs +0 -2
  41. package/dist/chunks/BwgSpace-b0hmM1Ht.cjs.map +0 -1
  42. package/dist/chunks/BwgSwitch-DOlc57wi.cjs +0 -2
  43. package/dist/chunks/BwgSwitch-DOlc57wi.cjs.map +0 -1
  44. package/dist/chunks/BwgSwitch-D_scwi9_.js +0 -269
  45. package/dist/chunks/BwgSwitch-D_scwi9_.js.map +0 -1
  46. package/dist/chunks/BwgUploader-CkXwkcUL.cjs +0 -3
  47. package/dist/chunks/BwgUploader-CkXwkcUL.cjs.map +0 -1
  48. package/dist/chunks/BwgUploader-DBFF9BPF.js +0 -3250
  49. package/dist/chunks/BwgUploader-DBFF9BPF.js.map +0 -1
  50. package/dist/chunks/LoadingOverlay-DAZJF5wg.js +0 -19
  51. package/dist/chunks/LoadingOverlay-DAZJF5wg.js.map +0 -1
  52. package/dist/chunks/LoadingOverlay-DcmKvoZA.cjs +0 -2
  53. package/dist/chunks/LoadingOverlay-DcmKvoZA.cjs.map +0 -1
  54. package/dist/chunks/SSOHandler-BY6LXMLc.cjs +0 -237
  55. package/dist/chunks/SSOHandler-BY6LXMLc.cjs.map +0 -1
  56. package/dist/chunks/SSOHandler-CxvxEBaH.js +0 -28654
  57. package/dist/chunks/SSOHandler-CxvxEBaH.js.map +0 -1
  58. package/dist/chunks/ScreenProtectContext-3my4PHFa.js +0 -154
  59. package/dist/chunks/ScreenProtectContext-3my4PHFa.js.map +0 -1
  60. package/dist/chunks/ScreenProtectContext-CVuXrJm6.cjs +0 -2
  61. package/dist/chunks/ScreenProtectContext-CVuXrJm6.cjs.map +0 -1
  62. package/dist/chunks/SearchBoxContext-DwFDOyYG.cjs +0 -2
  63. package/dist/chunks/SearchBoxContext-DwFDOyYG.cjs.map +0 -1
  64. package/dist/chunks/SearchBoxContext-gWM7FHIw.js +0 -86
  65. package/dist/chunks/SearchBoxContext-gWM7FHIw.js.map +0 -1
  66. package/dist/chunks/ViewContainer-Bhq22_B3.cjs +0 -36
  67. package/dist/chunks/ViewContainer-Bhq22_B3.cjs.map +0 -1
  68. package/dist/chunks/ViewContainer-D9SKBnrn.js +0 -338
  69. package/dist/chunks/ViewContainer-D9SKBnrn.js.map +0 -1
  70. package/dist/chunks/apiUtils-BZ6s0_NI.cjs +0 -3
  71. package/dist/chunks/apiUtils-BZ6s0_NI.cjs.map +0 -1
  72. package/dist/chunks/apiUtils-DSwE62oG.js +0 -1450
  73. package/dist/chunks/apiUtils-DSwE62oG.js.map +0 -1
  74. package/dist/chunks/codeStore-il4-kZPe.cjs +0 -2
  75. package/dist/chunks/codeStore-il4-kZPe.cjs.map +0 -1
  76. package/dist/chunks/codeStore-vPj4Y0TK.js +0 -450
  77. package/dist/chunks/codeStore-vPj4Y0TK.js.map +0 -1
  78. package/dist/chunks/core-BHejg5iS.cjs +0 -2
  79. package/dist/chunks/core-BHejg5iS.cjs.map +0 -1
  80. package/dist/chunks/core-Dl0PdDdT.js.map +0 -1
  81. package/dist/chunks/enc-base64-BkBtNBQV.cjs +0 -2
  82. package/dist/chunks/enc-base64-BkBtNBQV.cjs.map +0 -1
  83. package/dist/chunks/enc-base64-D7t4BoUA.js.map +0 -1
  84. package/dist/chunks/favoriteStore-Bh1FuZm9.js +0 -439
  85. package/dist/chunks/favoriteStore-Bh1FuZm9.js.map +0 -1
  86. package/dist/chunks/favoriteStore-CcKg_nEH.cjs +0 -2
  87. package/dist/chunks/favoriteStore-CcKg_nEH.cjs.map +0 -1
  88. package/dist/chunks/jsx-runtime-CeSfJrVB.cjs +0 -31
  89. package/dist/chunks/jsx-runtime-CeSfJrVB.cjs.map +0 -1
  90. package/dist/chunks/jsx-runtime-Dpn_P65e.js +0 -634
  91. package/dist/chunks/jsx-runtime-Dpn_P65e.js.map +0 -1
  92. package/dist/chunks/popupStore-BRRmB4zH.js +0 -92
  93. package/dist/chunks/popupStore-BRRmB4zH.js.map +0 -1
  94. package/dist/chunks/popupStore-DUApUBF2.cjs +0 -2
  95. package/dist/chunks/popupStore-DUApUBF2.cjs.map +0 -1
  96. package/dist/chunks/realFormat-Cha7OTd9.cjs +0 -2
  97. package/dist/chunks/realFormat-Cha7OTd9.cjs.map +0 -1
  98. package/dist/chunks/realFormat-DRGLFabQ.js +0 -305
  99. package/dist/chunks/realFormat-DRGLFabQ.js.map +0 -1
  100. package/dist/chunks/sha256-C2-s1oZe.js.map +0 -1
  101. package/dist/chunks/sha256-DiIRoCQ8.cjs +0 -2
  102. package/dist/chunks/sha256-DiIRoCQ8.cjs.map +0 -1
  103. package/dist/chunks/usePopup-D2JEuDrO.cjs +0 -2
  104. package/dist/chunks/usePopup-D2JEuDrO.cjs.map +0 -1
  105. package/dist/chunks/usePopup-DarKTbRC.js +0 -109
  106. package/dist/chunks/usePopup-DarKTbRC.js.map +0 -1
  107. package/dist/components/common/index.cjs.map +0 -1
  108. package/dist/components/common/index.js.map +0 -1
  109. package/dist/components/core/index.cjs.map +0 -1
  110. package/dist/components/core/index.js.map +0 -1
  111. package/dist/components/guide/index.cjs.map +0 -1
  112. package/dist/components/guide/index.js.map +0 -1
  113. package/dist/components/layout/index.cjs.map +0 -1
  114. package/dist/components/layout/index.js.map +0 -1
  115. package/dist/index.cjs.map +0 -1
  116. package/dist/index.js.map +0 -1
  117. package/dist/provider/index.cjs.map +0 -1
  118. package/dist/provider/index.js.map +0 -1
  119. package/dist/stores/index.cjs.map +0 -1
  120. package/dist/stores/index.js.map +0 -1
  121. package/dist/utils/index.cjs.map +0 -1
  122. package/dist/utils/index.js.map +0 -1
@@ -0,0 +1,183 @@
1
+ "use strict";const Ve=require("../utils/index.cjs"),ct=require("../stores/index.cjs"),s=require("react/jsx-runtime"),me=require("@ant-design/icons"),y=require("antd"),v=require("react"),Mr=require("../provider/index.cjs"),Au=require("dompurify"),Nu=require("quill-image-resize-module-react"),ji=require("react-quill"),ao=require("react-dom"),Ke=require("realgrid"),Pa=require("realgrid-react"),xl=require("react-rnd"),Cl=require("../components/layout/index.cjs"),Du=require("dayjs"),Pe=require("../components/core/index.cjs"),Ma=require("react-router-dom");function wl(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const nn=wl(me),h=wl(v);var Bu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zu(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var o=!1;try{o=this instanceof n}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}const Lu=({grpId:e,menuId:t,btnEvent:r,layout:n="horizontal",size:o="middle",style:i,className:a,onButtonClick:l})=>{const c=Mr.useServiceCodeValue("AUTH_BTNS"),{user:u}=ct.useUserStore(),[f,d]=v.useState([]),[g,C]=v.useState(!0),[b,w]=v.useState(null),[p,S]=v.useState({}),m=async()=>{try{C(!0),w(null),console.log("@@ 커스텀버튼그룹 영역 조회시작",e,t);const R=await Ve.callService(c,{userId:u?.userId,crprCd:u?.crprCd,grpId:e.toUpperCase(),menuId:t});if(console.log("@@ 커스텀버튼그룹 영역 조회결과",R),R?.data&&Array.isArray(R.data)){const x=R.data.sort((E,$)=>E.btnSq-$.btnSq);d(x)}else d([])}catch(R){console.error("버튼 권한 조회 실패:",R),w("버튼 권한을 조회하는 중 오류가 발생했습니다."),d([])}finally{C(!1)}};v.useEffect(()=>{m()},[e,t]);const O=async(R,x)=>{S(E=>({...E,[R]:{loading:!0}}));try{const E=r?.[R];E?await E():console.warn(`버튼 이벤트 핸들러를 찾을 수 없습니다: ${R}`),l&&l(R,x,e)}catch(E){console.error("버튼 이벤트 실행 실패:",E),y.message.error("작업 중 오류가 발생했습니다.")}finally{S(E=>({...E,[R]:{loading:!1}}))}},T=R=>{const x=p[R.btnId]||{loading:!1};return s.jsxs(y.Button,{size:o,loading:x.loading,onClick:()=>O(R.btnId,R.btnNm),className:"bwg-btn",style:{...R.iconVal&&{display:"flex",alignItems:"center",gap:"4px"}},children:[R.iconVal&&s.jsxs(s.Fragment,{children:[R.iconType==="ANTD"&&nn[R.iconVal]&&v.createElement(nn[R.iconVal],{style:{fontSize:"14px"}}),R.iconType!=="ANTD"&&s.jsx("span",{className:R.iconVal,style:{fontSize:"14px"}})]}),R.btnNm]},R.btnId)};return g?s.jsx("div",{className:`bwg-button-group bwg-button-group-${n} ${a||""}`,style:i,children:s.jsx(y.Space,{direction:n==="vertical"?"vertical":"horizontal",size:o,children:s.jsx(y.Button,{loading:!0,size:o,children:"권한 조회 중..."})})}):b?s.jsx("div",{className:`bwg-button-group bwg-button-group-${n} ${a||""}`,style:i,children:s.jsx(y.Alert,{message:"권한 오류",description:b,type:"error",showIcon:!0,style:{minHeight:"40px"}})}):f.length===0?s.jsx("div",{className:`bwg-button-group bwg-button-group-${n} ${a||""}`,style:i,children:s.jsx(y.Alert,{message:"부여된 권한이 없습니다",type:"warning",showIcon:!0,style:{height:"20px",display:"flex",alignItems:"center",margin:0,padding:"10px 10px"}})}):s.jsx("div",{className:`bwg-button-group bwg-button-group-${n} ${a||""}`,style:i,children:s.jsx(y.Flex,{gap:3,children:f.map(T)})})},Fu=({content:e,layout:t="flex",gap:r=16,minWidth:n=120,maxWidth:o=300,style:i,className:a})=>{if(!(Array.isArray(e)&&e.length>0&&Array.isArray(e[0])))return s.jsx("div",{style:i,className:a,children:e});const c=e.filter(C=>C&&C.length>0),u=v.useMemo(()=>{const C=c[0];if(!C||C.length===0)return{totalCols:0,baseWidth:0};let b=0;const w=[];C.forEach(S=>{const m=S,O=m?.props?.["data-colspan"]?parseInt(String(m.props["data-colspan"])):1;b+=O,w.push(O)});const p=b>0?100/b:0;return{totalCols:b,baseWidth:p,componentWidths:w}},[c]),f=(C,b,w)=>{const p=C,S=p?.props?.["data-colspan"]?parseInt(String(p.props["data-colspan"])):1;switch(t){case"equal":return 100/w;case"auto":return 100/w;case"grid":return 100/u.totalCols*S;case"flex":default:const m=u.baseWidth*S;return Math.max(n,Math.min(o,m))}},d=C=>{if(!C||typeof C!="object")return C;const b=C;if(!b.props)return C;const p={...b.props.style||{},width:"100%"};return v.cloneElement(b,{...b.props,style:p})},g=(C,b)=>{if(!C||C.length===0)return null;const w=C.length;return t==="grid"?s.jsx("div",{className:"erp-cmm-form",style:{display:"grid",gridTemplateColumns:`repeat(${u.totalCols}, 1fr)`,gap:`${r}px`,width:"100%"},children:C.map((p,S)=>{const m=p?.props?.["data-colspan"]?parseInt(String(p.props["data-colspan"])):1,O=d(p);return s.jsx("div",{style:{gridColumn:`span ${m}`,minWidth:`${n}px`},className:"form-component-wrapper",children:O},`row-${b}-col-${S}`)})},`row-${b}`):s.jsx(y.Flex,{gap:r,className:"erp-cmm-form",wrap:t==="auto"?"wrap":"nowrap",style:{width:"100%"},children:C.map((p,S)=>{const m=f(p,S,w),O=d(p),T=t==="flex"?{width:`${m}px`,minWidth:`${n}px`,maxWidth:`${o}px`,flexShrink:0}:{width:`${m}%`,minWidth:`${n}px`};return s.jsx("div",{style:T,className:"form-component-wrapper",children:O},`row-${b}-col-${S}`)})},`row-${b}`)};return s.jsx(y.Flex,{gap:"small",vertical:!0,style:i,className:a,children:c.map((C,b)=>g(C,b+1))})},Hu=({children:e,...t})=>s.jsx(y.Col,{...t,className:"bwg-col",children:e});var Ur={},Uo={exports:{}},ka;function yo(){return ka||(ka=1,(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Uo)),Uo.exports}var Kr={},Aa;function Vu(){if(Aa)return Kr;Aa=1,Object.defineProperty(Kr,"__esModule",{value:!0}),Kr.default=void 0;var e={items_per_page:"/ 페이지",jump_to:"이동하기",jump_to_confirm:"확인하다",page:"페이지",prev_page:"이전 페이지",next_page:"다음 페이지",prev_5:"이전 5 페이지",next_5:"다음 5 페이지",prev_3:"이전 3 페이지",next_3:"다음 3 페이지",page_size:"페이지 크기"};return Kr.default=e,Kr}var Gr={},Yr={},Xr={},Ko={exports:{}},Go={exports:{}},Yo={exports:{}},Xo={exports:{}},Na;function Sl(){return Na||(Na=1,(function(e){function t(r){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Xo)),Xo.exports}var Qo={exports:{}},Da;function Wu(){return Da||(Da=1,(function(e){var t=Sl().default;function r(n,o){if(t(n)!="object"||!n)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var a=i.call(n,o||"default");if(t(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(n)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Qo)),Qo.exports}var Ba;function qu(){return Ba||(Ba=1,(function(e){var t=Sl().default,r=Wu();function n(o){var i=r(o,"string");return t(i)=="symbol"?i:i+""}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Yo)),Yo.exports}var za;function Uu(){return za||(za=1,(function(e){var t=qu();function r(n,o,i){return(o=t(o))in n?Object.defineProperty(n,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[o]=i,n}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Go)),Go.exports}var La;function Ku(){return La||(La=1,(function(e){var t=Uu();function r(o,i){var a=Object.keys(o);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);i&&(l=l.filter(function(c){return Object.getOwnPropertyDescriptor(o,c).enumerable})),a.push.apply(a,l)}return a}function n(o){for(var i=1;i<arguments.length;i++){var a=arguments[i]!=null?arguments[i]:{};i%2?r(Object(a),!0).forEach(function(l){t(o,l,a[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach(function(l){Object.defineProperty(o,l,Object.getOwnPropertyDescriptor(a,l))})}return o}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Ko)),Ko.exports}var Qr={},Fa;function Gu(){return Fa||(Fa=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.commonLocale=void 0,Qr.commonLocale={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0}),Qr}var Ha;function Yu(){if(Ha)return Xr;Ha=1;var e=yo().default;Object.defineProperty(Xr,"__esModule",{value:!0}),Xr.default=void 0;var t=e(Ku()),r=Gu(),n=(0,t.default)((0,t.default)({},r.commonLocale),{},{locale:"ko_KR",today:"오늘",now:"현재 시각",backToToday:"오늘로 돌아가기",ok:"확인",clear:"지우기",week:"주",month:"월",year:"년",timeSelect:"시간 선택",dateSelect:"날짜 선택",monthSelect:"달 선택",yearSelect:"연 선택",decadeSelect:"연대 선택",yearFormat:"YYYY년",dateFormat:"YYYY-MM-DD",dateTimeFormat:"YYYY-MM-DD HH:mm:ss",monthBeforeYear:!1,previousMonth:"이전 달 (PageUp)",nextMonth:"다음 달 (PageDown)",previousYear:"이전 해 (Control + left)",nextYear:"다음 해 (Control + right)",previousDecade:"이전 연대",nextDecade:"다음 연대",previousCentury:"이전 세기",nextCentury:"다음 세기"});return Xr.default=n,Xr}var Zr={},Va;function El(){if(Va)return Zr;Va=1,Object.defineProperty(Zr,"__esModule",{value:!0}),Zr.default=void 0;const e={placeholder:"시간 선택",rangePlaceholder:["시작 시간","종료 시간"]};return Zr.default=e,Zr}var Wa;function Rl(){if(Wa)return Yr;Wa=1;var e=yo().default;Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.default=void 0;var t=e(Yu()),r=e(El());const n={lang:Object.assign({placeholder:"날짜 선택",yearPlaceholder:"연도 선택",quarterPlaceholder:"분기 선택",monthPlaceholder:"월 선택",weekPlaceholder:"주 선택",rangePlaceholder:["시작일","종료일"],rangeYearPlaceholder:["시작 연도","종료 연도"],rangeMonthPlaceholder:["시작 월","종료 월"],rangeQuarterPlaceholder:["시작 분기","종료 분기"],rangeWeekPlaceholder:["시작 주","종료 주"],shortWeekDays:["일","월","화","수","목","금","토"],shortMonths:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},t.default),timePickerLocale:Object.assign({},r.default)};return Yr.default=n,Yr}var qa;function Xu(){if(qa)return Gr;qa=1;var e=yo().default;Object.defineProperty(Gr,"__esModule",{value:!0}),Gr.default=void 0;var t=e(Rl());return Gr.default=t.default,Gr}var Ua;function Qu(){if(Ua)return Ur;Ua=1;var e=yo().default;Object.defineProperty(Ur,"__esModule",{value:!0}),Ur.default=void 0;var t=e(Vu()),r=e(Xu()),n=e(Rl()),o=e(El());const i="${label} 유효하지 않은 ${type}",a={locale:"ko",Pagination:t.default,DatePicker:n.default,TimePicker:o.default,Calendar:r.default,global:{placeholder:"선택하세요",close:"닫기"},Table:{filterTitle:"필터 메뉴",filterConfirm:"확인",filterReset:"초기화",filterEmptyText:"필터 없음",filterCheckAll:"전체 선택",filterSearchPlaceholder:"필터 검색",emptyText:"데이터 없음",selectAll:"전체 선택",selectInvert:"선택 반전",selectNone:"없음",selectionAll:"전체 선택",sortTitle:"정렬",expand:"펼치기",collapse:"접기",triggerDesc:"내림차순으로 정렬하기",triggerAsc:"오름차순으로 정렬하기",cancelSort:"정렬 취소하기"},Tour:{Next:"다음",Previous:"이전",Finish:"종료"},Modal:{okText:"확인",cancelText:"취소",justOkText:"확인"},Popconfirm:{okText:"확인",cancelText:"취소"},Transfer:{titles:["",""],searchPlaceholder:"여기에 검색하세요",itemUnit:"개",itemsUnit:"개",remove:"삭제",selectCurrent:"현재 페이지 선택",removeCurrent:"현재 페이지 삭제",selectAll:"전체 선택",removeAll:"전체 삭제",selectInvert:"선택 반전"},Upload:{uploading:"업로드 중...",removeFile:"파일 삭제",uploadError:"업로드 실패",previewFile:"파일 미리보기",downloadFile:"파일 다운로드"},Empty:{description:"데이터 없음"},Icon:{icon:"아이콘"},Text:{edit:"수정",copy:"복사",copied:"복사 됨",expand:"확장"},Form:{optional:"(선택사항)",defaultValidateMessages:{default:"필드 유효성 검사 오류 ${label}",required:"${label} 값을 입력해 주세요",enum:"${label} [${enum}] 중에 하나여야 합니다",whitespace:"${label} 비워둘 수 없습니다",date:{format:"${label} 유효하지 않은 날짜 형식입니다",parse:"${label} 날짜 형식으로 변환될 수 없습니다",invalid:"${label} 유효하지 않은 날짜입니다"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label} ${len}글자여야 합니다",min:"${label} 적어도 ${min}글자 이상이어야 합니다",max:"${label} ${max}글자 이하여야 합니다",range:"${label} ${min}-${max}글자 사이어야 합니다"},number:{len:"${label} 값은 ${len}이어야 합니다",min:"${label} 최솟값은 ${min}입니다",max:"${label} 최댓값은 ${max}입니다",range:"${label} 값은 ${min}-${max} 사이어야 합니다"},array:{len:"${len}이어야 합니다 ${label}",min:"최소 ${min}이어야 합니다 ${label}",max:"최대 ${max}이어야 합니다 ${label}",range:"${label} ${min}-${max} 사이어야 합니다"},pattern:{mismatch:"${label} ${pattern} 패턴과 일치하지 않습니다"}}},Image:{preview:"미리보기"},QRCode:{expired:"만료된 QR 코드",refresh:"새로고침"},ColorPicker:{presetEmpty:"미정",transparent:"투명",singleColor:"단색",gradientColor:"그라데이션"}};return Ur.default=a,Ur}var Zo,Ka;function Zu(){return Ka||(Ka=1,Zo=Qu()),Zo}var Ju=Zu();const jl=bo(Ju),la=({children:e,customTheme:t,customComponentSize:r="middle",layout:n="comfortable",getPopupContainer:o})=>{const a=(()=>{const c={token:{colorPrimary:"#1890ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1890ff",fontFamily:'"Noto Sans KR", sans-serif',fontSize:14,fontSizeHeading1:30,fontSizeHeading2:20,fontSizeHeading3:18,fontSizeHeading4:16,fontSizeHeading5:14,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",boxShadowSecondary:"0 2px 4px rgba(0, 0, 0, 0.12)"},algorithm:y.theme.defaultAlgorithm};switch(n){case"compact":return{...c,token:{...c.token,padding:8,margin:8,borderRadius:4,fontSize:12,fontSizeHeading1:30,fontSizeHeading2:20,fontSizeHeading3:18,fontSizeHeading4:16,fontSizeHeading5:14}};case"spacious":return{...c,token:{...c.token,padding:24,margin:24,borderRadius:8,fontSize:16,fontSizeHeading1:44,fontSizeHeading2:36,fontSizeHeading3:28,fontSizeHeading4:24,fontSizeHeading5:20}};default:return{...c,token:{...c.token,padding:16,margin:16,borderRadius:6,fontSize:14,fontSizeHeading1:30,fontSizeHeading2:20,fontSizeHeading3:18,fontSizeHeading4:16,fontSizeHeading5:14}}}})(),l={...a,...t,token:{...a.token,...t?.token},components:{Checkbox:{colorPrimary:"var(--check-primary)",colorPrimaryBorder:"var(--check-primary)",colorPrimaryHover:"var(--check-primary-active)",colorText:"var(--text-primary)"},Radio:{colorPrimary:"var(--check-primary)",colorPrimaryActive:"var(--check-primary-active)",colorPrimaryHover:"var(--check-primary-active)"},Tree:{nodeHoverBg:"var(--tree-selected-bg)",nodeHoverColor:"var(--primary-color)",nodeSelectedBg:"var(--tree-selected-bg)",nodeSelectedColor:"var(--primary-color)",colorText:"var(--text-primary)"},...t?.components??{}}};return s.jsx(y.ConfigProvider,{locale:jl,theme:l,componentSize:r,space:{size:r},form:{validateMessages:{required:"${label}을(를) 입력해주세요.",types:{email:"${label}이(가) 유효한 이메일이 아닙니다.",number:"${label}이(가) 유효한 숫자가 아닙니다."},number:{range:"${label}은(는) ${min} ~ ${max} 사이의 값이어야 합니다."}}},pagination:{showSizeChanger:!0},getPopupContainer:o,children:e})},ed=({children:e})=>{const{activeDetailItem:t}=ct.useMenuViewStore();return s.jsx("div",{className:"bwg-view main-view",style:{height:"100%",display:"flex",flexDirection:"column"},children:s.jsx("div",{className:"bwgview-content",children:s.jsxs("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:[s.jsx(y.Breadcrumb,{separator:">",items:[{title:t?.prntInfo?.menuNm},{title:t?.viewLabel}]}),e]})})})},xo=({title:e,icons:t,tooltip:r,iconVisible:n=!0,paddingBottom:o=0,marginBottom:i=0,children:a})=>{const l=nn.AppstoreTwoTone;return v.useMemo(()=>t?.type==="antd"&&t.icon&&nn[t.icon]||l,[t?.type,t?.icon]),s.jsx(y.Flex,{vertical:!0,style:{width:"100%"},children:s.jsxs("div",{className:`bwg-title-box ${o?`pb${o}`:""} ${i?`mb${i}`:""}`,style:{display:"flex",justifyContent:"space-between"},children:[s.jsx("div",{className:"bwg-title-box-left",children:s.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[s.jsx(y.Typography.Title,{level:4,children:s.jsx("span",{children:e})}),r&&s.jsx(y.Tooltip,{title:r.title,placement:r.placement,children:s.jsx(nn.QuestionCircleTwoTone,{style:{marginLeft:5}})})]})}),s.jsx("div",{className:"bwg-title-box-right",children:s.jsx(y.Flex,{gap:6,children:a})})]})})},{Panel:Ga}=y.Collapse,Co=v.forwardRef(({reqRows:e,subRows:t,border:r=!1,labelDisplay:n,header:o},i)=>{const[a]=y.Form.useForm(),[l,c]=v.useState("1"),u=()=>n?{flex:n.md||n.lg||n.sm||"100px"}:{flex:"100px"};v.useImperativeHandle(i,()=>({getFormData:()=>a.getFieldsValue(),setFormData:d=>{a.setFieldsValue(d)},resetForm:()=>{a.resetFields()},validateForm:async()=>{try{return{success:!0,data:await a.validateFields()}}catch(d){return{success:!1,error:d}}}}));const f=()=>{c(d=>d.includes("subRows")?d.filter(g=>g!=="subRows"):[...d,"subRows"])};return s.jsxs("div",{style:r?{border:"1px solid #ddd",padding:"10px 12px",borderRadius:"8px",marginBottom:"10px"}:{},children:[o&&s.jsx(xo,{title:o.title,children:o.buttons}),s.jsx(y.Form,{form:a,layout:"inline",style:{width:"100%",paddingBottom:e||t?"10px":"0px"},labelCol:u(),labelAlign:"left",children:s.jsxs("div",{style:{position:"relative",width:"100%"},children:[t&&s.jsx("div",{style:{position:"absolute",top:"15px",left:"-9px",zIndex:10},children:l.includes("subRows")?s.jsx(y.Tooltip,{title:"접기",children:s.jsx("span",{className:"search-collapsed-arrow",onClick:f,children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"6",viewBox:"0 0 9 6",fill:"none",children:s.jsx("path",{d:"M5.28321 0.986589C4.88285 0.482264 4.11715 0.482265 3.71679 0.986589L1.0243 4.37824C0.50404 5.0336 0.970753 6 1.80751 6L7.19249 6C8.02925 6 8.49596 5.0336 7.9757 4.37824L5.28321 0.986589Z",fill:"#AEB9C4"})})})}):s.jsx(y.Tooltip,{title:"펼치기",children:s.jsx("span",{className:"search-collapsed-arrow",onClick:f,children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"6",viewBox:"0 0 9 6",fill:"none",children:s.jsx("path",{d:"M5.28321 5.01341C4.88285 5.51774 4.11715 5.51773 3.71679 5.01341L1.0243 1.62176C0.50404 0.966397 0.970753 1.64312e-07 1.80751 2.37464e-07L7.19249 7.08234e-07C8.02925 7.81386e-07 8.49596 0.966399 7.9757 1.62176L5.28321 5.01341Z",fill:"#AEB9C4"})})})})}),s.jsx(y.ConfigProvider,{theme:{components:{Collapse:{}}},children:s.jsxs(y.Collapse,{activeKey:["reqRows",...l.includes("subRows")?["subRows"]:[]],onChange:c,className:"searchbox-collapse",bordered:!1,ghost:!0,children:[e&&s.jsx(Ga,{style:{padding:0,margin:0},header:void 0,showArrow:!1,collapsible:"disabled",children:e},"reqRows"),t&&s.jsx(Ga,{style:{padding:0,margin:0},header:void 0,showArrow:!1,collapsible:"icon",children:t},"subRows")]})})]})})]})}),td=({children:e,showSearchBox:t,showCloseButton:r=!0,showEyesButton:n=!1,shotSettingButton:o=!0,styles:i,...a})=>{const[l,c]=v.useState(!0),[u,f]=v.useState(()=>{const S=a.placement;return S==="left"||S==="right"||S==="top"||S==="bottom"?S:"bottom"}),[d,g]=v.useState(!1),b=(S=>{const m={wrapper:{...a.width&&{width:a.width},...a.height&&{height:a.height},margin:"0 auto"},content:{},header:{backgroundColor:"var(--drawer-header-bg)",color:"var(--text-primary)"}};switch(S){case"bottom":return{...m,wrapper:{...m.wrapper,borderRadius:"30px 30px 0 0"},content:{borderRadius:"30px 30px 0 0"},header:{...m.header,borderRadius:"30px 30px 0 0"}};case"top":return{...m,wrapper:{...m.wrapper,borderRadius:"0 0 30px 30px"},content:{borderRadius:"0 0 30px 30px"},header:{...m.header}};case"left":return{...m,wrapper:{...m.wrapper,borderRadius:"0 30px 0px 0"},content:{borderRadius:"0 30px 0px 0"},header:{...m.header,borderRadius:"0 30px 0 0"}};case"right":return{...m,wrapper:{...m.wrapper,borderRadius:"30px 0 0 0"},content:{borderRadius:"30px 0 0 0"},header:{...m.header,borderRadius:"30px 0 0 0"}};default:return m}})(u),w={wrapper:{...b?.wrapper,...i?.wrapper},content:{...b?.content,...i?.content},header:{...b?.header,...i?.header}},p=()=>{const S=[];if(o){const m=[{key:"top",label:"상단",icon:s.jsx(me.CaretUpOutlined,{})},{key:"right",label:"우측",icon:s.jsx(me.CaretRightOutlined,{})},{key:"bottom",label:"하단",icon:s.jsx(me.CaretDownOutlined,{})},{key:"left",label:"좌측",icon:s.jsx(me.CaretLeftOutlined,{})}],O=s.jsx(y.Space.Compact,{children:m.map(T=>s.jsx(y.Button,{type:u===T.key?"primary":"default",size:"small",onClick:()=>{f(T.key),g(!1)},icon:T.icon},T.key))});S.push(s.jsx(y.Popover,{content:O,trigger:"click",placement:"left",open:d,onOpenChange:g,children:s.jsx(y.Tooltip,{placement:"bottom",title:"위치변경",zIndex:2100,children:s.jsx(y.Button,{icon:s.jsx(me.SettingOutlined,{}),type:"text",size:"middle"})})},"shotSetting"))}return n&&S.push(s.jsx(y.Tooltip,{placement:"bottom",title:l?"배경 보기":"배경 숨기기",zIndex:2100,children:s.jsx(y.Button,{icon:s.jsx(me.EyeOutlined,{}),type:"text",size:"middle",onClick:()=>c(!l)})},"eyes")),a.extra&&S.push(s.jsx("div",{style:{margin:"0 8px"},children:a.extra},"extra")),r&&S.push(s.jsx(y.Tooltip,{placement:"bottom",title:"닫기",zIndex:2100,children:s.jsx(y.Button,{icon:s.jsx(me.CloseOutlined,{}),onClick:a.onClose,type:"text",size:"middle"})},"close")),S};return s.jsx(y.Drawer,{className:"main-drawer",footer:!0,...a,placement:u,styles:w,maskClosable:!1,closable:!1,mask:l,extra:s.jsx(y.Space,{size:"small",align:"center",children:p()}),afterOpenChange:S=>{S||(c(!0),f(a.placement)),a.afterOpenChange?.(S)},destroyOnHidden:!0,children:t?s.jsxs(dr,{type:"vertical",children:[s.jsxs(y.Flex,{justify:"space-between",align:"center",style:{width:"100%"},children:[s.jsx("div",{children:t.title}),s.jsx(y.Flex,{gap:2,children:t.extra})]}),s.jsx(Co,{...t.searchBox}),s.jsx(y.Divider,{}),e]}):e})},cr=({width:e="100%",height:t="100%",boxAlign:r,display:n="show",overflow:o,style:i,className:a,border:l=!0,children:c,ref:u})=>s.jsx("div",{style:{width:e,height:t,display:n==="show"?"":n,overflowX:o?.x,overflowY:o?.y,...i},className:`bwgview-content-box ${r?`content-box-${r}`:""} ${a||""} ${l?"":"none-box-st"}`,ref:u,children:c});ji.Quill.register("modules/imageResize",Nu);const so=e=>Au.sanitize(e??"",{ALLOWED_TAGS:["p","br","div","span","strong","b","em","i","u","s","blockquote","pre","code","ul","ol","li","h1","h2","h3","h4","h5","h6","a","img"],ALLOWED_ATTR:["style","class","href","target","rel","src","alt","width","height","data-*","align"],ALLOWED_URI_REGEXP:/^(?:(?:https?|data|mailto|tel):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,KEEP_CONTENT:!0,RETURN_TRUSTED_TYPE:!1}),lo=v.forwardRef(({border:e=!0,editorProps:t,value:r,defaultValue:n,onChange:o,onBlur:i,disabled:a},l)=>{const{isEditing:c=!0,title:u,containerHeight:f="100%"}=t||{},d=v.useRef(null),g=v.useMemo(()=>({toolbar:c?[[{header:[1,2,3,4,5,6,!1]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{list:"ordered"},{list:"bullet"}],[{indent:"-1"},{indent:"+1"}],[{align:[]}],["link","image"],["clean"]]:!1,imageResize:{parchment:ji.Quill.import("parchment"),modules:["Resize","DisplaySize","Toolbar"],displayStyles:{backgroundColor:"black",border:"none",color:"white"}}}),[c]),C=v.useMemo(()=>["header","bold","italic","underline","strike","color","background","list","bullet","indent","align","link","image","width","height"],[]),b=r!==void 0,[w,p]=v.useState(n??""),S=b?r:w,m=v.useCallback((x,E,$,L)=>{const N=so(x??"");b||p(N),o?.(N,E,$,L)},[b,o]),R=`calc(100% - ${c?"42px":"0px"} - ${u?"40px":"0px"})`;return v.useImperativeHandle(l,()=>({getHTML:()=>S??"",getText:()=>d.current?.getEditor()?.getText()??"",insertHTML:x=>{const E=d.current?.getEditor();if(!E)return;const $=E.getSelection(!0),L=so(x??"");E.clipboard.dangerouslyPasteHTML($?$.index:E.getLength(),L)},insertImage:(x,E)=>{const $=d.current?.getEditor();if(!$)return;const L=$.getSelection(!0),N=typeof x=="string"?x:"";$.insertEmbed(L?L.index:$.getLength(),"image",N,"user")},getQuill:()=>d.current?.getEditor?.()??null})),s.jsxs(cr,{border:e,style:{opacity:a?.6:1,pointerEvents:a?"none":"auto",height:typeof f=="number"?`${f}px`:f},children:[u&&s.jsx(xo,{...u,paddingBottom:10}),s.jsx(ji,{ref:d,readOnly:!c,value:S,onChange:m,onBlur:i,modules:g,formats:C,style:{width:"100%",height:R}},c?"snow":"bubble")]})}),rd=(e,t,r,n)=>so(e??""),nd=({itemProps:e,...t})=>{const{rules:r,shouldUpdate:n,dependencies:o,noStyle:i,...a}=e;return s.jsx(y.Form.Item,{valuePropName:"value",trigger:"onChange",getValueFromEvent:rd,normalize:l=>l??"",rules:r,shouldUpdate:n,dependencies:o,noStyle:i,...a,children:s.jsx(lo,{...t})})},od=e=>{const{itemProps:t,onChange:r,editorProps:n,...o}=e,i=y.Form.useFormInstance();if(t?.name!=null){const a=t.name;return s.jsxs(s.Fragment,{children:[s.jsx(y.Form.Item,{hidden:!0,name:a,rules:t.rules,normalize:l=>l??"",children:s.jsx("input",{type:"hidden"})}),s.jsx(lo,{...o,editorProps:n,value:i.getFieldValue(a)??"",onChange:(l,c,u,f)=>{const d=so(l??"");i.setFieldValue(a,d),r?.(d,c,u,f)},onBlur:()=>{i.validateFields([a]).catch(()=>{})}})]})}return s.jsx(lo,{...e})},$i=Object.assign(od,{FormItem:nd,Core:lo});var br={},Ya;function id(){if(Ya)return br;Ya=1;var e=ao;if(process.env.NODE_ENV==="production")br.createRoot=e.createRoot,br.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;br.createRoot=function(r,n){t.usingClientEntryPoint=!0;try{return e.createRoot(r,n)}finally{t.usingClientEntryPoint=!1}},br.hydrateRoot=function(r,n,o){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(r,n,o)}finally{t.usingClientEntryPoint=!1}}}return br}var ad=id();const wo=v.forwardRef(({currentPage:e,totalPages:t,pageSize:r=10,totalData:n,onPageChange:o,pageSizeOptions:i=[10,20,50,100],gridRef:a,mode:l="client",onServerPageChange:c},u)=>{const[f,d]=v.useState(r),[g,C]=v.useState(1),[b,w]=v.useState(r),[p,S]=v.useState(0);v.useEffect(()=>{d(r)},[r]),v.useEffect(()=>{d(r)},[]),v.useImperativeHandle(u,()=>({currentPage:g,pageSize:b,totalData:p,totalPages:Math.ceil(p/b),setPage:_=>{C(_),c?.(_,b)},setPageSize:_=>{w(_),C(1),c?.(1,_)},setTotalData:_=>{S(_)},reset:()=>{C(1),w(r),S(0)}}),[g,b,p,c,r]);const m=l==="client",O=m?(e||0)+1:g,T=m?(t||0)>0:p>0,x=m?T?Math.ceil((n||0)/f):0:Math.ceil(p/b),E=m?T&&n||0:p,$=Math.min(O,x||1),L=`${f}-${x}-${$}`,N=_=>{m?o?.(_-1):(C(_),c?.(_,b))},U=_=>{if(m){d(_);try{a?.current?.gridView?(a.current.gridView.setPaging(!0,_),a.current.gridView.setPage(0)):o?.(0)}catch(A){console.warn("페이지 사이즈 변경 중 오류:",A),o?.(0)}}else w(_),C(1),c?.(1,_)};return s.jsxs("div",{style:{padding:"10px",display:"flex",justifyContent:"space-between",alignItems:"center",borderTop:"1px solid #f0f0f0",backgroundColor:"#fafafa"},children:[s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[s.jsx("span",{style:{fontSize:"12px"},children:"페이지당"}),s.jsx("select",{value:m?f:b,onChange:_=>U(Number(_.target.value)),disabled:!T,style:{padding:"4px 8px",border:"1px solid #d9d9d9",borderRadius:"4px",fontSize:"12px",opacity:T?1:.5},children:i.map(_=>s.jsxs("option",{value:_,children:[_,"개"]},_))}),s.jsxs("span",{style:{fontSize:"12px",color:"#666",opacity:T?1:.5},children:["/ 총 ",E,"개"]})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"4px"},children:[s.jsx(y.Button,{onClick:()=>N(1),disabled:!T||$===1,style:{width:"30px",height:"24px",background:!T||$===1?"#f5f5f5":"white",cursor:!T||$===1?"not-allowed":"pointer",opacity:T?1:.5},icon:s.jsx(me.DoubleLeftOutlined,{})}),s.jsx(y.Button,{onClick:()=>N($-1),disabled:!T||$===1,style:{width:"30px",height:"24px",background:!T||$===1?"#f5f5f5":"white",cursor:!T||$===1?"not-allowed":"pointer",opacity:T?1:.5},icon:s.jsx(me.LeftOutlined,{})}),s.jsx("div",{children:(()=>{if(!T||x===0)return s.jsx(y.Button,{disabled:!0,style:{width:"30px",height:"24px"},children:"1"});const _=5;let A=1,z=Math.min(_,x);$>3&&x>_&&(A=Math.max(1,$-2),z=Math.min(x,A+_-1),z===x&&(A=Math.max(1,z-_+1)));const P=[];for(let M=A;M<=z;M++)P.push(s.jsx(y.Button,{onClick:()=>N(M),style:{width:"30px",height:"24px",background:$===M?"#1890ff":"white",color:$===M?"white":"black",cursor:"pointer"},children:M},M));return P})()},L),s.jsx(y.Button,{onClick:()=>N($+1),disabled:!T||$>=x,style:{width:"30px",height:"24px",background:!T||$>=x?"#f5f5f5":"white",cursor:!T||$>=x?"not-allowed":"pointer",opacity:T?1:.5},icon:s.jsx(me.RightOutlined,{})}),s.jsx(y.Button,{onClick:()=>N(x),disabled:!T||$>=x,style:{width:"30px",height:"24px",background:!T||$>=x?"#f5f5f5":"white",cursor:!T||$>=x?"not-allowed":"pointer",opacity:T?1:.5},icon:s.jsx(me.DoubleRightOutlined,{})})]})]})});wo.displayName="BwgPagination";const sd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC7SURBVHgBZZDLDcJADETHUe7QQVJC6AAqACoAKkCcESh8JI60kBKgg3TA0kE6gAISzHgj0BJ8sWw/j2cXCCI7aD446g2diDp1aWyWaz9sxmHhNlJSyUCDnlQeQpEKm5UCDwgqvHBnTji4MvcEKGw3FsVFDeCmCCbMYwIpQY4wMnX5mj5pKrXfTFSxc1sp/o03yLlZaoSpRFhme53/QF4FmNl9txbH8wuC5893tEo1PZivBs6/sgVXBlv9BpvVRX62Og6eAAAAAElFTkSuQmCC",ld="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAC7SURBVHgBZVDbDcIwDHSiqL90AzoCI5S/fvQBEwATIDYoE7BCRwjqAtmAsEE3gAlqzlFBKbXknJ2cL5cQRcF13SIf9Bd63mmHdcN5nsbbJm6UtY6bxlGaCunNZZmTUpniqhpQvIhZ8AlcI+9QXYHYIb3BgQ0ETAJ36BvUmQiDuBV19TNdFBkliUyK0lX1fbc0bkyL1WF6D7UzbBxnpKCi9YHG0UPeoz6BePt+h55UxMMA9NMrPa68BDLiAxmcQh0cAM62AAAAAElFTkSuQmCC",cd=[{label:"엑셀다운로드",tag:"excel"},{label:"엑셀(제목포함)",tag:"withTitleExcel"},{label:"-"},{label:"필터",type:"check",checked:!1,tag:"filter"},{label:"열고정",tag:"fixedCol"},{label:"행고정",tag:"fixedRow"},{label:"고정해제",tag:"fixedCancel"},{label:"-"},{label:"숨기기",tag:"hide"},{label:"숨기기해제",tag:"hideClear"}],ud=[{label:"엑셀다운로드",tag:"excel"},{label:"엑셀(들여쓰기 표시)",tag:"showIndentExcel"},{label:"엑셀(제목포함)",tag:"withTitleExcel"},{label:"-"},{label:"필터",type:"check",checked:!1,tag:"filter"},{label:"열고정",tag:"fixedCol"},{label:"행고정",tag:"fixedRow"},{label:"고정해제",tag:"fixedCancel"},{label:"-"},{label:"숨기기",tag:"hide"},{label:"숨기기해제",tag:"hideClear"}],dd=({children:e})=>{const[t,r]=v.useState(!1),[n,o]=v.useState(null);return t?s.jsx("div",{style:{padding:"20px",border:"1px solid #ff4d4f",borderRadius:"6px",backgroundColor:"#fff2f0",margin:"10px"},children:s.jsx(y.Alert,{message:"리얼그리드 로드 실패",description:s.jsxs("div",{children:[s.jsx("p",{children:"리얼그리드 라이센스 또는 초기화 중 오류가 발생했습니다."}),s.jsxs("p",{style:{fontSize:"12px",color:"#666",marginTop:"8px"},children:["오류: ",n?.message||"알 수 없는 오류"]}),s.jsx(y.Button,{type:"primary",size:"small",style:{marginTop:"8px"},onClick:()=>{r(!1),o(null),window.location.reload()},children:"다시 시도"})]}),type:"error",showIcon:!0})}):s.jsx(fd,{onError:i=>{console.error("BwgGrid 에러:",i),o(i),r(!0)},children:e})};class fd extends v.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(t){return{hasError:!0}}componentDidCatch(t,r){this.props.onError(t)}render(){return this.state.hasError?null:this.props.children}}const $l=v.forwardRef(({type:e="nrml",gridDivStyle:t,gridDivClassName:r,gridColumns:n,gridOptions:o,gridEvents:i,bindRef:a,gridContext:l,renderers:c,gridInitCallback:u},f)=>{const d=v.useRef(null),g=v.useRef(new Map),C=(j,k,D,B)=>{let V=[],q=[];const Z="treeNode";for(let I in j){let H=j[I];V[H[D]]=j[I];let G=V[H[k]];if(G==null||G=="-"){q.push(H);continue}G[Z]==null&&(G[Z]=[]),G[Z].push(H)}return q},b=v.useCallback(j=>{const k=B=>{const V=[];return B.forEach(q=>{q.children&&q.children.length>0?V.push(...k(q.children)):V.push(q)}),V};return k(j).map(B=>({fieldName:B.fieldName,dataType:B.dataType||"text"}))},[]),w=v.useCallback(j=>{const k=B=>{const V=[];return B.forEach(q=>{q.children&&q.children.length>0?V.push(...k(q.children)):V.push(q)}),V};return k(j).map(B=>({...B,header:{template:B.required?`<img src='${ld}' style='margin-top:4px; margin-right: 2px;' alt='Required input' >\${headerText} `:B.editable?`<img src='${sd}' style='margin-top:4px; margin-right: 2px;' alt='Required input' >\${headerText} `:"${headerText}",values:{headerText:B.header?.text??""},text:B.header?.text||""},styleName:B.dataType==="number"?"right":B.styleName||"center"}))},[]);v.useImperativeHandle(f,()=>({addAllData(j,k){const D=d.current?.gridView.getCurrent().dataRow;if(d.current?.dataProvider instanceof Ke.LocalDataProvider){d.current.dataProvider.clearRows();try{d.current?.gridView.showLoading(),d.current.dataProvider.setRows(j)}catch(B){console.error("fillJsonData 오류:",B)}finally{d.current?.gridView.closeLoading()}}if(d.current?.dataProvider instanceof Ke.LocalTreeDataProvider){if(d.current.dataProvider.clearRows(),k?.treeOption?.dataField==null||k?.treeOption?.parentField==null)return;const B={rows:"treeNode"};try{d.current?.gridView.showLoading();let V=C(j,k.treeOption?.parentField,k.treeOption?.dataField);d.current.dataProvider.fillJsonData({treeNode:V},B),k.treeOption.isExpand&&d.current.gridView?.expandAll()}catch(V){console.error("fillJsonData 오류:",V)}finally{d.current?.gridView.closeLoading()}}k?.isCurrent?d.current?.gridView.setCurrent({dataRow:D}):d.current?.gridView.setCurrent({dataRow:0})},getGridInstance:()=>d.current,getCurrentRow:()=>d.current?.gridView.getCurrent().dataRow??-1,getCurrentIndex:()=>d.current?.gridView.getCurrent().itemIndex??-1,gridExcelDown(j){d.current?.gridView.exportGrid({type:"excel",target:"local",allItems:!1,lookupDisplay:!0,showProgress:!0,progressMessage:"엑셀 Export 중 입니다.",applyDynamicStyles:!1,separateRows:!0,indenting:!!j?.indenting,header:"default",footer:"default",sheetName:"",fileName:j?.fileName||"sample.xlsx",...j})},getGridSaveData:()=>{const j=d.current?.dataProvider?.getAllStateRows();if(j===void 0)return[{}];let k=[];if(j.created!==void 0&&j.created.length>0)for(const D in j.created){let B=d.current?.dataProvider?.getJsonRow(j.created[D]);B={...B,iudFlag:"I"},k.push(B)}if(j.updated!==void 0&&j.updated.length>0)for(const D in j.updated){let B=d.current?.dataProvider?.getJsonRow(j.updated[D]);B={...B,iudFlag:"U"},k.push(B)}if(j.deleted!==void 0&&j.deleted.length>0)for(const D in j.deleted){let B=d.current?.dataProvider?.getJsonRow(j.deleted[D]);B={...B,iudFlag:"D"},k.push(B)}return k},deleteGridData:()=>{d?.current?.gridView?.getCheckedItems()?.map(k=>{let D=d?.current?.gridView?.getDataRow(k)??-1;const B=d?.current?.dataProvider?.getRowState(D);B==Ke.RowState.DELETED?(d?.current?.dataProvider?.setRowState(D,g.current.get(k)??Ke.RowState.NONE),g.current.delete(k)):B==Ke.RowState.CREATED?d?.current?.dataProvider?.setRowState(D,Ke.RowState.CREATE_AND_DELETED):B==Ke.RowState.CREATE_AND_DELETED?d?.current?.dataProvider?.setRowState(D,Ke.RowState.CREATED):(g.current.set(k,B??Ke.RowState.NONE),d?.current?.dataProvider?.setRowState(D,Ke.RowState.DELETED)),d?.current?.gridView?.checkItem(k,!1)})},_oriRowState:[{}],dp:d.current?.dataProvider??null,vw:d.current?.gridView??null}));const p=v.useCallback((j,k,D)=>{if(a!==void 0&&D>=0){let B=j.getDataSource().getJsonRow(D);a?.current?.setFieldsValue(B)}else a!==void 0&&D<0&&a?.current?.resetFields();j.setCurrent({dataRow:0}),i?.onCurrentRowChanged&&i?.onCurrentRowChanged(j,k,D)},[a,i]),S=v.useCallback((j,k,D)=>{const B=k.fieldName??"";a?.current?.getFieldInstance(B)&&a?.current.setFieldValue(B,D),i?.onEditChange&&i?.onEditChange(j,k,D)},[a,i]),m=v.useCallback((j,k,D)=>{const B=j.getOrgFieldName(D),V=j.getValue(k,D);a?.current?.setFieldValue(B,V)},[a]),O=v.useCallback((j,k,D,B)=>{const V=j.getColumn(B).name??"",q=j.getValue(k,B);a?.current?.getFieldInstance(V)&&a?.current.setFieldValue(V,q),i?.onCellEdited&&i?.onCellEdited(j,k,D,B)},[a,i]),T=v.useCallback(j=>{if(!d.current)return;const k=d.current.gridView,D=k.getDataSource();if(o?.container?.page){const B=k.getPage(),V=k.getPageCount(),q=D.getRowCount();X({currentPage:B,totalPages:V,totalData:q})}},[o?.container?.page]),R=v.useCallback(()=>{if(!d.current)return;const j=d.current.gridView,k=j.getDataSource(),D=["onKeyDown"],B=["onRowInserted"];Object.keys(i??{}).map(V=>{D.includes(V)?j[V+"Add"]=i?.[V]:j[V]=i?.[V],B.includes(V)?k[V+"Add"]=i?.[V]:k[V]=i?.[V]}),k instanceof Ke.LocalDataProvider&&(k.onRowInserted=(V,q)=>{q<0||(setTimeout(function(){j?.setCurrent({dataRow:q})},1),V.onRowInsertedAdd!==void 0&&V.onRowInsertedAdd(V,q))}),j.onKeyDown=function(V,q){if(q.code=="Space"){let Z=V.getSelectedItems(!0);for(const I in Z)V.isCheckable(Z[I])&&(V.isCheckedItem(Z[I])?V.checkItem(Z[I],!1,!1):V.checkItem(Z[I],!0,!1))}return V.onKeyDownAdd!==void 0&&V.onKeyDownAdd(V,q),!0},d.current.gridView.onCurrentRowChanged=p,d.current.gridView.onEditChange=S,d.current.gridView.getDataSource().onValueChanged=m,d.current.gridView.onCellEdited=O,d.current.gridView.onDataLoadComplated=T},[p,S,m,O,T]),x=v.useCallback(j=>{if(j){try{j.gridView.setSortingOptions({enabled:!0}),j.gridView.sortMode=Ke.SortMode.EXPLICIT,j.gridView.editorOptions.viewGridInside=!0,j.gridView instanceof Ke.TreeView&&j.gridView.setTreeOptions({expandWhenSetData:Ke.ExpandWhenSetData.REMAIN_AND_EXPAND,expanderIconStyle:Ke.TreeExpanderIconStyle.SQUARE,iconVisible:!1,lineVisible:!0}),j.gridView.setDisplayOptions({showEmptyMessage:!0,emptyMessage:"조회된 데이터가 존재하지 않습니다.",useFocusClass:!0,minRowHeight:o?.display?.minRowHeight||43,maxRowHeight:o?.display?.maxRowHeight||100,rowHeight:o?.display?.rowHeight||43,rowChangeDelay:o?.display?.rowChangeDelay||0,selectionStyle:o?.display?.selectionStyle||Ke.SelectionStyle.ROWS,fitStyle:o?.display?.fitStyle||Ke.GridFitStyle.FILL,useAlternateRowStyle:o?.display?.useAlternateRowStyle||!1}),j.gridView.setEditOptions({commitWhenExitLast:!0,columnEditableFirst:!1,commitByCell:!0,commitWhenLeave:!0,crossWhenExitLast:!0,confirmWhenDelete:!1,deletable:!1,revertable:!1,showOnlyValidationMessage:!0,editable:o?.edit?.editable||!1,validateOnEdited:o?.edit?.validateOnEdited||!1}),j.gridView.setCopyOptions({singleMode:o?.copy?.singleMode||!1}),j.gridView.setPasteOptions({selectBlockPaste:!0,checkReadOnly:!0,throwValidationError:!1}),j.gridView.header.height=o?.header?.height||43,j.gridView.header.styleName=o?.header?.styleName||"bwgGridHeader",o?.container?.radio?j.gridView.setCheckBar({exclusive:o?.container?.radio||!1}):j.gridView.setCheckBar({visible:o?.container?.check||!1,showAll:o?.container?.checkAll||!1}),j.gridView.setStateBar({visible:o?.container?.state||!1}),j.gridView.rowIndicator.visible=o?.container?.indicator||!1,j.gridView instanceof Ke.GridView&&(j.gridView.groupPanel.visible=o?.container?.panel||!1),j.gridView.setFooters({visible:o?.container?.footer||!1}),j.gridView.setHeader({visible:o?.container?.header||!0}),j.gridView.formatOptions.numberFormat="#,##0"}catch(k){console.log("그리드 옵션 설정 중 오류:",k)}try{j.gridView instanceof Ke.TreeView?j.gridView.setContextMenu(ud):j.gridView.setContextMenu(cd),j.gridView.onContextMenuItemClicked=function(k,D,B){if(!(!B||!B.column)){if(D.tag=="excel")_(k,{isTitle:!1},l?.excel);else if(D.tag=="showIndentExcel")_(k,{isTitle:!1,treeBlank:!0},l?.excel);else if(D.tag=="withTitleExcel")_(k,{isTitle:!0,treeBlank:!1},l?.excel);else if(D.tag=="filter")A(k,D);else if(D.tag=="fixedCol"){const q=k.getDataSource().getFieldIndex(B.column);k.setFixedOptions({colCount:q})}else if(D.tag=="fixedRow")k.setFixedOptions({rowCount:(B.itemIndex||0)+1});else if(D.tag=="fixedCancel")k.setFixedOptions({colCount:0,rowCount:0});else if(D.tag=="hide")k.setColumnProperty(B.column,"visible",!1),k._hideCols[k._hideCols.length]=B.column;else if(D.tag=="hideClear")for(var V=0;V<k._hideCols.length;V++)k.setColumnProperty(k._hideCols[V],"visible",!0)}}}catch(k){console.log("컨텍스트 설정 중 오류:",k)}}},[o]),E=j=>{if(!(!c||c.length===0))try{c.forEach(k=>{const{name:D,renderer:B}=k;if(D&&B){const V=typeof B=="function"?new B:B;j.gridView.registerCustomRenderer(D,V)}})}catch(k){console.error("커스텀 렌더러 초기화 중 오류:",k)}},$=j=>{j.onPageChanged=(k,D)=>{X(B=>({...B,currentPage:D}))},j.onPageCountChanged=(k,D)=>{X(B=>({...B,totalPages:D}))}},L=j=>{d.current?.gridView&&d.current.gridView.setPage(j)},N=j=>{if(o?.layout?.colspan&&o.layout.colspan.length>0&&o?.layout?.colspan.forEach(k=>{const D=j.gridView.layoutByColumn(k.fieldName);if(D){const B=k.span;D.spanCallback=function(V,q,Z){return B}}}),n&&n.length>0&&n.some(D=>D.children&&D.children.length>0))try{(()=>{const B=JSON.parse(JSON.stringify(n)),V=[],q=Z=>{const I=[];return Z.children.map(H=>{if(H.children&&H.children.length>0){const G=q(H),J=H.header?.text||H.fieldName,ie=j.gridView.getColumnProperty(H.fieldName,"header");delete H.children,delete H.header;let ae={name:H.fieldName,header:{text:ie?.text||J,template:ie?.template,values:ie?.values,visible:ie?.visible??!0},items:G,...H};I.push(ae)}else I.push(H.fieldName)}),I};B.map(Z=>{if(Z.children&&Z.children.length>0){const I=q(Z),H=Z.header?.text||Z.fieldName,G=Z.header?.visible??!0,J=j.gridView.getColumnProperty(Z.fieldName,"header");delete Z.children,delete Z.header;const ie={name:Z.fieldName,header:{text:J?.text||H,template:J?.template,values:J?.values,visible:J?.visible||G},items:I,...Z};V.push(ie)}else V.push(Z.fieldName)}),console.log("Final Layout!!",V),j.gridView.setColumnLayout(V)})()}catch(D){console.error("컬럼 레이아웃 설정 오류:",D)}},U=()=>{if(d.current){if(e==="nrml"){const j=d.current;if(x(j),E(j),n&&n.length>0){const k=b(n),D=w(n);j.gridView.getDataSource().setFields(k),j.gridView.setColumns(D)}if(N(j),o?.container?.page){const k=o?.pagingOption?.pageSize||10;j.gridView.setPaging(!0,k),$(j.gridView)}}else{const j=d.current;if(x(j),E(j),n&&n.length>0){const k=b(n),D=w(n);j.gridView.getDataSource().setFields(k),j.gridView.setColumns(D)}N(d.current)}setTimeout(()=>{if(u){const j=typeof f=="object"&&f!==null?f.current:null;u(j)}},0)}},_=(j,k,D)=>{const B=j.getDataSource();let V=D?.footer==null?"default":D.footer;B.getRowCount()<1&&(V="hidden");let q={type:"excel",target:"local",allItems:!1,lookupDisplay:!0,compatibility:!0,showProgress:!0,progressMessage:"엑셀 Export 중 입니다.",applyDynamicStyles:!1,separateRows:!0,indenting:!!k?.treeBlank,footer:V,sheetName:"",documentTitle:{},documentSubtitle:{},documentTail:{},fileName:D?.fileName||"sample.xlsx"};B instanceof Ke.LocalTreeDataProvider&&(q.indenting=!!k?.treeBlank),D?.isCellMerge==!0&&(q.separateRows=!1),Ve.isEmpty(D?.sheetName)==!1&&(q.sheetName=D?.sheetName),k?.isTitle&&(q.documentTitle={message:Ve.isSafeEmpty(D?.mainTitle,"No Title"),visible:!0,styleName:"documentStyle",spaceTop:1,spaceBottom:0,height:43},Ve.isEmpty(D?.subTitle)==!1&&(q.documentSubtitle={message:D?.subTitle,visible:!0,styleName:"center",height:20}),Ve.isEmpty(D?.tailTitle)==!1&&(q.documentTail={message:D?.tailTitle,visible:!0,styleName:"documentStyle"})),j.exportGrid(q)},A=(j,k)=>{const D=j.getDataSource(),B=D.getOrgFieldNames();if(k.checked)for(var V=0;V<B.length;V++){let Z=[],I=D.getDistinctValues(B[V])??[];if(I.length==0)continue;let H=j.columnByName(B[V]);for(var q=0;q<I.length;q++){if(I[q]==null)continue;let G=H.values!=null&&H.values.indexOf(I[q])!=-1?H?.labels?.[H.values.indexOf(I[q])]:I[q];Ve.isEmpty(G)&&(Ve.isEmpty(I[q])?G=" ":G=I[q]);let J="";I[q]==null?J="value="+I[q]:J="value='"+I[q]+"'",Z.push({name:G,criteria:J})}j.setColumnFilters(B[V],Z)}else for(var V=0;V<B.length;V++)j.clearColumnFilters(B[V]),j.activateAllColumnFilters(B[V],!1),j.clearColumnFilters(B[V])};v.useEffect(()=>{if(d.current&&d.current.gridView)if(e==="nrml"){const j=d.current;x(j)}else{const j=d.current;x(j)}},[e,o,x]),v.useEffect(()=>{!d.current||!n||n.length===0||U()},[n]),v.useEffect(()=>{d.current&&R()},[i,R]);const[z,P]=v.useState(!1),[M,Y]=v.useState(""),W=v.useRef(null),[F,X]=v.useState({currentPage:0,totalPages:0,totalData:0});v.useEffect(()=>{X({currentPage:0,totalPages:0,totalData:0})},[]),v.useEffect(()=>{z&&setTimeout(()=>{W.current?.focus?.()},0)},[z]),v.useEffect(()=>()=>{if(d.current)try{const j=d.current;j.gridView&&(j.gridView.onDataLoadComplated=void 0,j.gridView.onCurrentRowChanged=void 0,j.gridView.onCellClicked=void 0,j.gridView.onCellDblClicked=void 0,j.gridView.onEditRowChanged=void 0,j.gridView.onItemChecked=void 0,j.gridView.onItemAllChecked=void 0,j.gridView.onColumnCheckedChanged=void 0,j.gridView.onCellButtonClicked=void 0,j.gridView.onEditChange=void 0,j.gridView.onCellEdited=void 0,j.gridView.onKeyUp=void 0,j.gridView.onKeyDown=void 0,j.gridView.onWheel=void 0,j.gridView.onValidateColumn=void 0,j.gridView.onValidateRow=void 0,j.gridView.onValidationFail=void 0,j.gridView.onRowInserting=void 0,j.gridView.onCellItemClicked=void 0,j.gridView.onShowEditor=void 0,j.gridView.getDataSource()&&(j.gridView.getDataSource().clearRows(),j.gridView.getDataSource().setFields([])),j.gridView.getDataSource().clearRows())}catch(j){console.warn("⚠️ BwgGrid cleanup error:",j)}},[]);const ee=v.useCallback(j=>{K(j)},[]),K=v.useCallback(j=>{const k=d.current?.gridView;if(k?.isFiltered()){console.log("EE:: [그리드 Filtering 으로 인한 오류] 그리드 내 Filter를 해제 후 진행해 주십시오.");return}if(k?.commit(),Ve.isEmpty(j))return;const D=k?.getCurrent().itemIndex??-1;if(D<0)return;const B={value:j,startIndex:D+1,wrap:!0,caseSensitive:!1,partialMatch:!0},V=k?.searchCell(B);k?.setCurrent(V)},[]),re=v.useCallback(j=>{j.key==="Escape"&&(j.preventDefault(),P(!1))},[]),le=v.useCallback(j=>{j.ctrlKey&&j.code==="KeyF"&&(j.preventDefault(),Y(""),P(!z))},[z]),he={searchRow:ee,searchEnter:K,handleCloseKeyword:re,handleSearch:le},ue=v.useMemo(()=>({...t,position:"relative",width:t?.width||"100%",height:t?.height||"100%"}),[t]);return s.jsxs(dd,{children:[s.jsxs("div",{style:ue,className:r,onKeyDown:j=>he.handleSearch(j),children:[z&&s.jsx("div",{className:"grid-search-box",children:s.jsxs(y.Flex,{gap:3,children:[s.jsx(y.ConfigProvider,{theme:{components:{Button:{controlHeight:32},Input:{controlHeight:32}}},children:s.jsxs(y.Space.Compact,{children:[s.jsx(y.Button,{icon:s.jsx(me.SearchOutlined,{})}),s.jsx(y.Input,{ref:W,value:M,name:"srchField",autoComplete:"off",onKeyUp:j=>he.handleCloseKeyword(j),onChange:j=>Y(j.target.value),onPressEnter:j=>he.searchEnter(j)})]})}),s.jsx(y.Button,{variant:"solid",icon:s.jsx(me.CloseOutlined,{}),onClick:()=>P(!1)})]})}),e==="nrml"?s.jsx(Pa.RealGridReact,{ref:d,autoGenerateField:!0,onInitialized:U}):s.jsx(Pa.RealTreeReact,{ref:d,autoGenerateField:!1,onInitialized:U})]}),o?.container?.page&&s.jsx(wo,{currentPage:F.currentPage,totalPages:F.totalPages,pageSize:o?.pagingOption?.pageSize,totalData:F.totalData,onPageChange:L,pageSizeOptions:o?.pagingOption?.pageSizeOptions,gridRef:d})]})}),Jn=e=>({initContent(t){this._root=ad.createRoot(t)},render(t,r,n,o){const i=this._root;i&&e(t,r,n,o,i)},clearContent(t){const r=this._root;r&&setTimeout(()=>{r&&(r.unmount(),this._root=null)},0)},canClick(t){return!0},click(){return{}}}),hd=v.memo(({title:e,border:t,children:r,titleChildren:n})=>{const o=v.useMemo(()=>({components:{Form:{labelColor:"#9A9A9A"},Select:{colorTextDisabled:"#000"}}}),[]);return s.jsxs(dr,{type:"vertical",children:[s.jsx(xo,{title:e,icons:{type:"antd",icon:"InfoCircleTwoTone"},children:n}),s.jsx(cr,{border:!1,children:s.jsx(y.ConfigProvider,{theme:o,children:r})})]})}),dr=({type:e="horizontal",layoutAlign:t="left",verticalAlign:r,className:n,style:o,children:i})=>s.jsx("div",{style:o,className:`bwgview-content-layout ${e=="horizontal"?"hz-layout":"vt-layout"} layout-${t} ${r&&`vertical-${r}`} ${n||""}`,children:i}),Xa=(e,t)=>{const r=window.innerWidth,n=window.innerHeight,o=Math.min(Math.max(e.x,0),Math.max(0,r-t.width)),i=Math.min(Math.max(e.y,0),Math.max(0,n-t.height));return{x:o,y:i}},gd=({buttons:e,popupData:t,onButtonClick:r})=>!e||e.length===0?null:s.jsx("div",{style:{display:"flex",gap:6},children:e.map(n=>s.jsx(y.Button,{type:n.type||"default",danger:n.danger,disabled:n.disabled,onClick:()=>r?.(n.key,t),className:"bwg-btn popup-btn",children:n.text},n.key))}),pd=({popup:e,popupEvent:t,onClose:r,children:n})=>{const o=v.useRef(null),i=e?.popupTitle||"팝업",a=e?.width||800,l=e?.height||600,c=e?.buttonList?.map((x,E)=>({key:x.btnId||`btn_${E}`,text:x.btnNm,type:x.btnId==="CLOSE"?"default":"primary",disabled:x.enblYn!=="Y",danger:!1}))||[],f=c.some(x=>x.key==="CLOSE"||x.key==="close")?c:[...c,{key:"CLOSE",text:"닫기",type:"default",disabled:!1,danger:!1}],[d,g]=v.useState(a),[C,b]=v.useState(l),w=v.useMemo(()=>{const x=Math.max(0,(window.innerWidth-a)/2),E=Math.max(0,(window.innerHeight-l)/2);return{x,y:E}},[a,l]),[p,S]=v.useState(w),m=(x,E)=>{if(x==="CLOSE"||x==="close"){e?.close?.()||r?.();return}t&&t[x]?t[x]():e?.close?.()||r?.()},O=(x,E)=>{const $=Xa({x:E.x,y:E.y},{width:d,height:C});S($)},T=(x,E,$,L,N)=>{const U={width:parseInt($.style.width,10),height:parseInt($.style.height,10)},_=Xa(N,U);g(U.width),b(U.height),S(_)},R=()=>o.current??document.body;return s.jsxs("div",{style:{position:"fixed",inset:0,zIndex:1e3},children:[s.jsx("div",{onClick:r,style:{position:"absolute",inset:0,backgroundColor:"rgba(0,0,0,0.3)",zIndex:0}}),s.jsxs(xl.Rnd,{className:"bwg-popup",size:{width:d,height:C},position:p,bounds:"window",minWidth:400,minHeight:300,onDragStop:O,onResizeStop:T,dragHandleClassName:"drag-handle",cancel:".rnd-cancel",enableUserSelectHack:!1,style:{backgroundColor:"white",borderRadius:20,boxShadow:"0 4px 15px rgba(0,0,0,0.25)",overflow:"visible",position:"absolute",zIndex:1},children:[s.jsx("div",{className:"bwg-popup-content",style:{overflow:"hidden",borderRadius:20,height:"100%"},children:s.jsx(la,{getPopupContainer:R,children:s.jsx(dr,{type:"vertical",children:s.jsx(y.Card,{className:"popup-drag-container",title:s.jsx("div",{className:"drag-handle",style:{display:"flex",alignItems:"center",gap:8},children:i}),style:{width:"100%",height:"100%"},styles:{body:{height:"calc(100% - 77px)",padding:20,overflow:"auto"}},extra:s.jsx(gd,{buttons:f,popupData:e,onButtonClick:m}),children:s.jsx("div",{className:"rnd-cancel",style:{height:"100%"},children:s.jsx(Mr.SearchBoxProvider,{children:n})})})})})}),s.jsx("div",{ref:o,className:"bwg-popup-portal-root",style:{position:"relative"}})]})]})},md=({children:e,...t})=>s.jsx(y.Row,{...t,className:"bwg-row",children:e}),vd=({children:e})=>s.jsx("div",{style:{height:"100%",padding:"20px 30px 26px"},children:s.jsx("div",{style:{width:"100%",height:"100%",border:"1px solid #ddd",borderRadius:"15px",background:"#fff"},children:e})}),bd=({rowKey:e="id",columns:t,dataSource:r,loading:n=!1,rowSelection:o,size:i="middle",pagination:a=!1,...l})=>s.jsx(y.Table,{rowKey:e,columns:t,dataSource:r,loading:n,rowSelection:o,size:i,pagination:a,bordered:!0,scroll:{x:"max-content"},locale:{emptyText:"데이터가 없습니다."},...l}),yd=e=>{const{type:t="card",animated:r=!0,...n}=e;return s.jsx(y.Tabs,{type:t,animated:r,...n})};function Ti(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function xd(e){if(Array.isArray(e))return Ti(e)}function Tl(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ca(e,t){if(e){if(typeof e=="string")return Ti(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ti(e,t):void 0}}function Cd(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rt(e){return xd(e)||Tl(e)||ca(e)||Cd()}function Ze(){return Ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ze.apply(null,arguments)}var wd={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"};function Ol(e){if(Array.isArray(e))return e}function Sd(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(f){u=!0,o=f}finally{try{if(!c&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}function _l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ne(e,t){return Ol(e)||Sd(e,t)||ca(e,t)||_l()}function Se(e){"@babel/helpers - typeof";return Se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Se(e)}function Ed(e,t){if(Se(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Se(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Il(e){var t=Ed(e,"string");return Se(t)=="symbol"?t:t+""}function te(e,t,r){return(t=Il(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rd(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function $t(e,t){if(e==null)return{};var r,n,o=Rd(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Jo={exports:{}};/*!
4
+ Copyright (c) 2018 Jed Watson.
5
+ Licensed under the MIT License (MIT), see
6
+ http://jedwatson.github.io/classnames
7
+ */var Qa;function jd(){return Qa||(Qa=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",a=0;a<arguments.length;a++){var l=arguments[a];l&&(i=o(i,n(l)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var a="";for(var l in i)t.call(i,l)&&i[l]&&(a=o(a,l));return a}function o(i,a){return a?i?i+" "+a:i+a:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(Jo)),Jo.exports}var $d=jd();const pe=bo($d),et=Math.round;function ei(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)n[o]=t(n[o]||0,r[o]||"",o);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const Za=(e,t,r)=>r===0?e:e/100;function Jr(e,t){const r=t||255;return e>r?r:e<0?0:e}let Qe=class Pl{constructor(t){te(this,"isValid",!0),te(this,"r",0),te(this,"g",0),te(this,"b",0),te(this,"a",1),te(this,"_h",void 0),te(this,"_s",void 0),te(this,"_l",void 0),te(this,"_v",void 0),te(this,"_max",void 0),te(this,"_min",void 0),te(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let o=function(i){return n.startsWith(i)};const n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(t instanceof Pl)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=Jr(t.r),this.g=Jr(t.g),this.b=Jr(t.b),this.a=typeof t.a=="number"?Jr(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const a=i/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const r=t(this.r),n=t(this.g),o=t(this.b);return .2126*r+.7152*n+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=et(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),n=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:r,s:n,l:o,a:this.a})}lighten(t=10){const r=this.getHue(),n=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:r,s:n,l:o,a:this.a})}mix(t,r=50){const n=this._c(t),o=r/100,i=l=>(n[l]-this[l])*o+this[l],a={r:et(i("r")),g:et(i("g")),b:et(i("b")),a:et(i("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),n=this.a+r.a*(1-this.a),o=i=>et((this[i]*this.a+r[i]*r.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=et(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=et(this.getSaturation()*100),n=et(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){const o=this.clone();return o[t]=Jr(r,n),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function n(o,i){return parseInt(r[o]+r[i||o],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:o}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof o=="number"?o:1,r<=0){const g=et(n*255);this.r=g,this.g=g,this.b=g}let i=0,a=0,l=0;const c=t/60,u=(1-Math.abs(2*n-1))*r,f=u*(1-Math.abs(c%2-1));c>=0&&c<1?(i=u,a=f):c>=1&&c<2?(i=f,a=u):c>=2&&c<3?(a=u,l=f):c>=3&&c<4?(a=f,l=u):c>=4&&c<5?(i=f,l=u):c>=5&&c<6&&(i=u,l=f);const d=n-u/2;this.r=et((i+d)*255),this.g=et((a+d)*255),this.b=et((l+d)*255)}fromHsv({h:t,s:r,v:n,a:o}){this._h=t%360,this._s=r,this._v=n,this.a=typeof o=="number"?o:1;const i=et(n*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const a=t/60,l=Math.floor(a),c=a-l,u=et(n*(1-r)*255),f=et(n*(1-r*c)*255),d=et(n*(1-r*(1-c))*255);switch(l){case 0:this.g=d,this.b=u;break;case 1:this.r=f,this.b=u;break;case 2:this.r=u,this.b=d;break;case 3:this.r=u,this.g=f;break;case 4:this.r=d,this.g=u;break;case 5:default:this.g=u,this.b=f;break}}fromHsvString(t){const r=ei(t,Za);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=ei(t,Za);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=ei(t,(n,o)=>o.includes("%")?et(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}};var Ln=2,Ja=.16,Td=.05,Od=.05,_d=.15,Ml=5,kl=4,Id=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function es(e,t,r){var n;return Math.round(e.h)>=60&&Math.round(e.h)<=240?n=r?Math.round(e.h)-Ln*t:Math.round(e.h)+Ln*t:n=r?Math.round(e.h)+Ln*t:Math.round(e.h)-Ln*t,n<0?n+=360:n>=360&&(n-=360),n}function ts(e,t,r){if(e.h===0&&e.s===0)return e.s;var n;return r?n=e.s-Ja*t:t===kl?n=e.s+Ja:n=e.s+Td*t,n>1&&(n=1),r&&t===Ml&&n>.1&&(n=.1),n<.06&&(n=.06),Math.round(n*100)/100}function rs(e,t,r){var n;return r?n=e.v+Od*t:n=e.v-_d*t,n=Math.max(0,Math.min(1,n)),Math.round(n*100)/100}function ln(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[],n=new Qe(e),o=n.toHsv(),i=Ml;i>0;i-=1){var a=new Qe({h:es(o,i,!0),s:ts(o,i,!0),v:rs(o,i,!0)});r.push(a)}r.push(n);for(var l=1;l<=kl;l+=1){var c=new Qe({h:es(o,l),s:ts(o,l),v:rs(o,l)});r.push(c)}return t.theme==="dark"?Id.map(function(u){var f=u.index,d=u.amount;return new Qe(t.backgroundColor||"#141414").mix(r[f],d).toHexString()}):r.map(function(u){return u.toHexString()})}var ti={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Oi=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Oi.primary=Oi[5];var _i=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];_i.primary=_i[5];var Ii=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Ii.primary=Ii[5];var co=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];co.primary=co[5];var Pi=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Pi.primary=Pi[5];var Mi=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Mi.primary=Mi[5];var ki=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ki.primary=ki[5];var Ai=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Ai.primary=Ai[5];var uo=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];uo.primary=uo[5];var Ni=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Ni.primary=Ni[5];var Di=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Di.primary=Di[5];var Bi=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Bi.primary=Bi[5];var zi=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];zi.primary=zi[5];var ri={red:Oi,volcano:_i,orange:Ii,gold:co,yellow:Pi,lime:Mi,green:ki,cyan:Ai,blue:uo,geekblue:Ni,purple:Di,magenta:Bi,grey:zi},ua=v.createContext({});function ns(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ns(Object(r),!0).forEach(function(n){te(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ns(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function st(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Pd(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var r=t;r;){if(r===e)return!0;r=r.parentNode}return!1}var os="data-rc-order",is="data-rc-priority",Md="rc-util-key",Li=new Map;function Al(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Md}function So(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function kd(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function da(e){return Array.from((Li.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function Nl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!st())return null;var r=t.csp,n=t.prepend,o=t.priority,i=o===void 0?0:o,a=kd(n),l=a==="prependQueue",c=document.createElement("style");c.setAttribute(os,a),l&&i&&c.setAttribute(is,"".concat(i)),r!=null&&r.nonce&&(c.nonce=r?.nonce),c.innerHTML=e;var u=So(t),f=u.firstChild;if(n){if(l){var d=(t.styles||da(u)).filter(function(g){if(!["prepend","prependQueue"].includes(g.getAttribute(os)))return!1;var C=Number(g.getAttribute(is)||0);return i>=C});if(d.length)return u.insertBefore(c,d[d.length-1].nextSibling),c}u.insertBefore(c,f)}else u.appendChild(c);return c}function Dl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=So(t);return(t.styles||da(r)).find(function(n){return n.getAttribute(Al(t))===e})}function cn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Dl(e,t);if(r){var n=So(t);n.removeChild(r)}}function Ad(e,t){var r=Li.get(e);if(!r||!Pd(document,r)){var n=Nl("",t),o=n.parentNode;Li.set(e,o),e.removeChild(n)}}function Ht(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=So(r),o=da(n),i=Q(Q({},r),{},{styles:o});Ad(n,i);var a=Dl(t,i);if(a){var l,c;if((l=i.csp)!==null&&l!==void 0&&l.nonce&&a.nonce!==((c=i.csp)===null||c===void 0?void 0:c.nonce)){var u;a.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var f=Nl(e,i);return f.setAttribute(Al(i),t),f}function Bl(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Nd(e){return Bl(e)instanceof ShadowRoot}function fo(e){return Nd(e)?Bl(e):null}var Fi={},fa=[],Dd=function(t){fa.push(t)};function Rr(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=fa.reduce(function(n,o){return o(n??"","warning")},t);r&&console.error("Warning: ".concat(r))}}function Bd(e,t){if(process.env.NODE_ENV!=="production"&&!e&&console!==void 0){var r=fa.reduce(function(n,o){return o(n??"","note")},t);r&&console.warn("Note: ".concat(r))}}function zl(){Fi={}}function Ll(e,t,r){!t&&!Fi[r]&&(e(!1,r),Fi[r]=!0)}function Wt(e,t){Ll(Rr,e,t)}function zd(e,t){Ll(Bd,e,t)}Wt.preMessage=Dd;Wt.resetWarned=zl;Wt.noteOnce=zd;function Ld(e){return e.replace(/-(.)/g,function(t,r){return r.toUpperCase()})}function Fd(e,t){Wt(e,"[@ant-design/icons] ".concat(t))}function as(e){return Se(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Se(e.icon)==="object"||typeof e.icon=="function")}function ss(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:delete t[r],t[Ld(r)]=n}return t},{})}function Hi(e,t,r){return r?v.createElement(e.tag,Q(Q({key:t},ss(e.attrs)),r),(e.children||[]).map(function(n,o){return Hi(n,"".concat(t,"-").concat(e.tag,"-").concat(o))})):v.createElement(e.tag,Q({key:t},ss(e.attrs)),(e.children||[]).map(function(n,o){return Hi(n,"".concat(t,"-").concat(e.tag,"-").concat(o))}))}function Fl(e){return ln(e)[0]}function Hl(e){return e?Array.isArray(e)?e:[e]:[]}var Hd=`
8
+ .anticon {
9
+ display: inline-flex;
10
+ align-items: center;
11
+ color: inherit;
12
+ font-style: normal;
13
+ line-height: 0;
14
+ text-align: center;
15
+ text-transform: none;
16
+ vertical-align: -0.125em;
17
+ text-rendering: optimizeLegibility;
18
+ -webkit-font-smoothing: antialiased;
19
+ -moz-osx-font-smoothing: grayscale;
20
+ }
21
+
22
+ .anticon > * {
23
+ line-height: 1;
24
+ }
25
+
26
+ .anticon svg {
27
+ display: inline-block;
28
+ }
29
+
30
+ .anticon::before {
31
+ display: none;
32
+ }
33
+
34
+ .anticon .anticon-icon {
35
+ display: block;
36
+ }
37
+
38
+ .anticon[tabindex] {
39
+ cursor: pointer;
40
+ }
41
+
42
+ .anticon-spin::before,
43
+ .anticon-spin {
44
+ display: inline-block;
45
+ -webkit-animation: loadingCircle 1s infinite linear;
46
+ animation: loadingCircle 1s infinite linear;
47
+ }
48
+
49
+ @-webkit-keyframes loadingCircle {
50
+ 100% {
51
+ -webkit-transform: rotate(360deg);
52
+ transform: rotate(360deg);
53
+ }
54
+ }
55
+
56
+ @keyframes loadingCircle {
57
+ 100% {
58
+ -webkit-transform: rotate(360deg);
59
+ transform: rotate(360deg);
60
+ }
61
+ }
62
+ `,Vd=function(t){var r=v.useContext(ua),n=r.csp,o=r.prefixCls,i=r.layer,a=Hd;o&&(a=a.replace(/anticon/g,o)),i&&(a="@layer ".concat(i,` {
63
+ `).concat(a,`
64
+ }`)),v.useEffect(function(){var l=t.current,c=fo(l);Ht(a,"@ant-design-icons",{prepend:!i,csp:n,attachTo:c})},[])},Wd=["icon","className","onClick","style","primaryColor","secondaryColor"],on={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function qd(e){var t=e.primaryColor,r=e.secondaryColor;on.primaryColor=t,on.secondaryColor=r||Fl(t),on.calculated=!!r}function Ud(){return Q({},on)}var kr=function(t){var r=t.icon,n=t.className,o=t.onClick,i=t.style,a=t.primaryColor,l=t.secondaryColor,c=$t(t,Wd),u=h.useRef(),f=on;if(a&&(f={primaryColor:a,secondaryColor:l||Fl(a)}),Vd(u),Fd(as(r),"icon should be icon definiton, but got ".concat(r)),!as(r))return null;var d=r;return d&&typeof d.icon=="function"&&(d=Q(Q({},d),{},{icon:d.icon(f.primaryColor,f.secondaryColor)})),Hi(d.icon,"svg-".concat(d.name),Q(Q({className:n,onClick:o,style:i,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};kr.displayName="IconReact";kr.getTwoToneColors=Ud;kr.setTwoToneColors=qd;function Vl(e){var t=Hl(e),r=ne(t,2),n=r[0],o=r[1];return kr.setTwoToneColors({primaryColor:n,secondaryColor:o})}function Kd(){var e=kr.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Gd=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];Vl(uo.primary);var qt=h.forwardRef(function(e,t){var r=e.className,n=e.icon,o=e.spin,i=e.rotate,a=e.tabIndex,l=e.onClick,c=e.twoToneColor,u=$t(e,Gd),f=h.useContext(ua),d=f.prefixCls,g=d===void 0?"anticon":d,C=f.rootClassName,b=pe(C,g,te(te({},"".concat(g,"-").concat(n.name),!!n.name),"".concat(g,"-spin"),!!o||n.name==="loading"),r),w=a;w===void 0&&l&&(w=-1);var p=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,S=Hl(c),m=ne(S,2),O=m[0],T=m[1];return h.createElement("span",Ze({role:"img","aria-label":n.name},u,{ref:t,tabIndex:w,onClick:l,className:b}),h.createElement(kr,{icon:n,primaryColor:O,secondaryColor:T,style:p}))});qt.displayName="AntdIcon";qt.getTwoToneColor=Kd;qt.setTwoToneColor=Vl;var Yd=function(t,r){return h.createElement(qt,Ze({},t,{ref:r,icon:wd}))},Wl=h.forwardRef(Yd);process.env.NODE_ENV!=="production"&&(Wl.displayName="EditOutlined");var Xd=Symbol.for("react.element"),Qd=Symbol.for("react.transitional.element"),Zd=Symbol.for("react.fragment");function ql(e){return e&&Se(e)==="object"&&(e.$$typeof===Xd||e.$$typeof===Qd)&&e.type===Zd}function un(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=[];return v.Children.forEach(e,function(n){n==null&&!t.keepEmpty||(Array.isArray(n)?r=r.concat(un(n)):ql(n)&&n.props?r=r.concat(un(n.props.children,t)):r.push(n))}),r}function dn(e){return e instanceof HTMLElement||e instanceof SVGElement}function Jd(e){return e&&Se(e)==="object"&&dn(e.nativeElement)?e.nativeElement:dn(e)?e:null}function eo(e){var t=Jd(e);if(t)return t;if(e instanceof v.Component){var r;return(r=ao.findDOMNode)===null||r===void 0?void 0:r.call(ao,e)}return null}var Fn={exports:{}},je={};/**
65
+ * @license React
66
+ * react-is.production.min.js
67
+ *
68
+ * Copyright (c) Facebook, Inc. and its affiliates.
69
+ *
70
+ * This source code is licensed under the MIT license found in the
71
+ * LICENSE file in the root directory of this source tree.
72
+ */var ls;function ef(){if(ls)return je;ls=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function w(p){if(typeof p=="object"&&p!==null){var S=p.$$typeof;switch(S){case e:switch(p=p.type,p){case r:case o:case n:case u:case f:return p;default:switch(p=p&&p.$$typeof,p){case l:case a:case c:case g:case d:case i:return p;default:return S}}case t:return S}}}return je.ContextConsumer=a,je.ContextProvider=i,je.Element=e,je.ForwardRef=c,je.Fragment=r,je.Lazy=g,je.Memo=d,je.Portal=t,je.Profiler=o,je.StrictMode=n,je.Suspense=u,je.SuspenseList=f,je.isAsyncMode=function(){return!1},je.isConcurrentMode=function(){return!1},je.isContextConsumer=function(p){return w(p)===a},je.isContextProvider=function(p){return w(p)===i},je.isElement=function(p){return typeof p=="object"&&p!==null&&p.$$typeof===e},je.isForwardRef=function(p){return w(p)===c},je.isFragment=function(p){return w(p)===r},je.isLazy=function(p){return w(p)===g},je.isMemo=function(p){return w(p)===d},je.isPortal=function(p){return w(p)===t},je.isProfiler=function(p){return w(p)===o},je.isStrictMode=function(p){return w(p)===n},je.isSuspense=function(p){return w(p)===u},je.isSuspenseList=function(p){return w(p)===f},je.isValidElementType=function(p){return typeof p=="string"||typeof p=="function"||p===r||p===o||p===n||p===u||p===f||p===C||typeof p=="object"&&p!==null&&(p.$$typeof===g||p.$$typeof===d||p.$$typeof===i||p.$$typeof===a||p.$$typeof===c||p.$$typeof===b||p.getModuleId!==void 0)},je.typeOf=w,je}var $e={};/**
73
+ * @license React
74
+ * react-is.development.js
75
+ *
76
+ * Copyright (c) Facebook, Inc. and its affiliates.
77
+ *
78
+ * This source code is licensed under the MIT license found in the
79
+ * LICENSE file in the root directory of this source tree.
80
+ */var cs;function tf(){return cs||(cs=1,process.env.NODE_ENV!=="production"&&(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),b=!1,w=!1,p=!1,S=!1,m=!1,O;O=Symbol.for("react.module.reference");function T(I){return!!(typeof I=="string"||typeof I=="function"||I===r||I===o||m||I===n||I===u||I===f||S||I===C||b||w||p||typeof I=="object"&&I!==null&&(I.$$typeof===g||I.$$typeof===d||I.$$typeof===i||I.$$typeof===a||I.$$typeof===c||I.$$typeof===O||I.getModuleId!==void 0))}function R(I){if(typeof I=="object"&&I!==null){var H=I.$$typeof;switch(H){case e:var G=I.type;switch(G){case r:case o:case n:case u:case f:return G;default:var J=G&&G.$$typeof;switch(J){case l:case a:case c:case g:case d:case i:return J;default:return H}}case t:return H}}}var x=a,E=i,$=e,L=c,N=r,U=g,_=d,A=t,z=o,P=n,M=u,Y=f,W=!1,F=!1;function X(I){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ee(I){return F||(F=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function K(I){return R(I)===a}function re(I){return R(I)===i}function le(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function he(I){return R(I)===c}function ue(I){return R(I)===r}function j(I){return R(I)===g}function k(I){return R(I)===d}function D(I){return R(I)===t}function B(I){return R(I)===o}function V(I){return R(I)===n}function q(I){return R(I)===u}function Z(I){return R(I)===f}$e.ContextConsumer=x,$e.ContextProvider=E,$e.Element=$,$e.ForwardRef=L,$e.Fragment=N,$e.Lazy=U,$e.Memo=_,$e.Portal=A,$e.Profiler=z,$e.StrictMode=P,$e.Suspense=M,$e.SuspenseList=Y,$e.isAsyncMode=X,$e.isConcurrentMode=ee,$e.isContextConsumer=K,$e.isContextProvider=re,$e.isElement=le,$e.isForwardRef=he,$e.isFragment=ue,$e.isLazy=j,$e.isMemo=k,$e.isPortal=D,$e.isProfiler=B,$e.isStrictMode=V,$e.isSuspense=q,$e.isSuspenseList=Z,$e.isValidElementType=T,$e.typeOf=R})()),$e}var us;function rf(){return us||(us=1,process.env.NODE_ENV==="production"?Fn.exports=ef():Fn.exports=tf()),Fn.exports}var ni=rf();function ha(e,t,r){var n=h.useRef({});return(!("value"in n.current)||r(n.current.condition,t))&&(n.current.value=e(),n.current.condition=t),n.current.value}var nf=Number(v.version.split(".")[0]),ga=function(t,r){typeof t=="function"?t(r):Se(t)==="object"&&t&&"current"in t&&(t.current=r)},xn=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.filter(Boolean);return o.length<=1?o[0]:function(i){r.forEach(function(a){ga(a,i)})}},pa=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return ha(function(){return xn.apply(void 0,r)},r,function(o,i){return o.length!==i.length||o.every(function(a,l){return a!==i[l]})})},Eo=function(t){var r,n;if(!t)return!1;if(Ul(t)&&nf>=19)return!0;var o=ni.isMemo(t)?t.type.type:t.type;return!(typeof o=="function"&&!((r=o.prototype)!==null&&r!==void 0&&r.render)&&o.$$typeof!==ni.ForwardRef||typeof t=="function"&&!((n=t.prototype)!==null&&n!==void 0&&n.render)&&t.$$typeof!==ni.ForwardRef)};function Ul(e){return v.isValidElement(e)&&!ql(e)}var ma=function(t){if(t&&Ul(t)){var r=t;return r.props.propertyIsEnumerable("ref")?r.props.ref:r.ref}return null},Vi=h.createContext(null);function of(e){var t=e.children,r=e.onBatchResize,n=h.useRef(0),o=h.useRef([]),i=h.useContext(Vi),a=h.useCallback(function(l,c,u){n.current+=1;var f=n.current;o.current.push({size:l,element:c,data:u}),Promise.resolve().then(function(){f===n.current&&(r?.(o.current),o.current=[])}),i?.(l,c,u)},[r,i]);return h.createElement(Vi.Provider,{value:a},t)}var Kl=(function(){if(typeof Map<"u")return Map;function e(t,r){var n=-1;return t.some(function(o,i){return o[0]===r?(n=i,!0):!1}),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(r){var n=e(this.__entries__,r),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(r,n){var o=e(this.__entries__,r);~o?this.__entries__[o][1]=n:this.__entries__.push([r,n])},t.prototype.delete=function(r){var n=this.__entries__,o=e(n,r);~o&&n.splice(o,1)},t.prototype.has=function(r){return!!~e(this.__entries__,r)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(r,n){n===void 0&&(n=null);for(var o=0,i=this.__entries__;o<i.length;o++){var a=i[o];r.call(n,a[1],a[0])}},t})()})(),Wi=typeof window<"u"&&typeof document<"u"&&window.document===document,ho=(function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()})(),af=(function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(ho):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}})(),sf=2;function lf(e,t){var r=!1,n=!1,o=0;function i(){r&&(r=!1,e()),n&&l()}function a(){af(i)}function l(){var c=Date.now();if(r){if(c-o<sf)return;n=!0}else r=!0,n=!1,setTimeout(a,t);o=c}return l}var cf=20,uf=["top","right","bottom","left","width","height","size","weight"],df=typeof MutationObserver<"u",ff=(function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=lf(this.refresh.bind(this),cf)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var r=this.observers_,n=r.indexOf(t);~n&&r.splice(n,1),!r.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(r){return r.gatherActive(),r.hasActive()});return t.forEach(function(r){return r.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!Wi||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),df?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!Wi||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var r=t.propertyName,n=r===void 0?"":r,o=uf.some(function(i){return!!~n.indexOf(i)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e})(),Gl=(function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e}),jr=(function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||ho}),Yl=Ro(0,0,0,0);function go(e){return parseFloat(e)||0}function ds(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce(function(n,o){var i=e["border-"+o+"-width"];return n+go(i)},0)}function hf(e){for(var t=["top","right","bottom","left"],r={},n=0,o=t;n<o.length;n++){var i=o[n],a=e["padding-"+i];r[i]=go(a)}return r}function gf(e){var t=e.getBBox();return Ro(0,0,t.width,t.height)}function pf(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return Yl;var n=jr(e).getComputedStyle(e),o=hf(n),i=o.left+o.right,a=o.top+o.bottom,l=go(n.width),c=go(n.height);if(n.boxSizing==="border-box"&&(Math.round(l+i)!==t&&(l-=ds(n,"left","right")+i),Math.round(c+a)!==r&&(c-=ds(n,"top","bottom")+a)),!vf(e)){var u=Math.round(l+i)-t,f=Math.round(c+a)-r;Math.abs(u)!==1&&(l-=u),Math.abs(f)!==1&&(c-=f)}return Ro(o.left,o.top,l,c)}var mf=(function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof jr(e).SVGGraphicsElement}:function(e){return e instanceof jr(e).SVGElement&&typeof e.getBBox=="function"}})();function vf(e){return e===jr(e).document.documentElement}function bf(e){return Wi?mf(e)?gf(e):pf(e):Yl}function yf(e){var t=e.x,r=e.y,n=e.width,o=e.height,i=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,a=Object.create(i.prototype);return Gl(a,{x:t,y:r,width:n,height:o,top:r,right:t+n,bottom:o+r,left:t}),a}function Ro(e,t,r,n){return{x:e,y:t,width:r,height:n}}var xf=(function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Ro(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=bf(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e})(),Cf=(function(){function e(t,r){var n=yf(r);Gl(this,{target:t,contentRect:n})}return e})(),wf=(function(){function e(t,r,n){if(this.activeObservations_=[],this.observations_=new Kl,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=r,this.callbackCtx_=n}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof jr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new xf(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof jr(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(n){return new Cf(n.target,n.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e})(),Xl=typeof WeakMap<"u"?new WeakMap:new Kl,Ql=(function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ff.getInstance(),n=new wf(t,r,this);Xl.set(this,n)}return e})();["observe","unobserve","disconnect"].forEach(function(e){Ql.prototype[e]=function(){var t;return(t=Xl.get(this))[e].apply(t,arguments)}});var Sf=(function(){return typeof ho.ResizeObserver<"u"?ho.ResizeObserver:Ql})(),Ft=new Map;function Zl(e){e.forEach(function(t){var r,n=t.target;(r=Ft.get(n))===null||r===void 0||r.forEach(function(o){return o(n)})})}var Jl=new Sf(Zl);process.env.NODE_ENV;process.env.NODE_ENV;function Ef(e,t){Ft.has(e)||(Ft.set(e,new Set),Jl.observe(e)),Ft.get(e).add(t)}function Rf(e,t){Ft.has(e)&&(Ft.get(e).delete(t),Ft.get(e).size||(Jl.unobserve(e),Ft.delete(e)))}function bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jf(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Il(n.key),n)}}function yt(e,t,r){return t&&jf(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function qi(e,t){return qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},qi(e,t)}function Cn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qi(e,t)}function po(e){return po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},po(e)}function ec(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ec=function(){return!!e})()}function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $f(e,t){if(t&&(Se(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return an(e)}function wn(e){var t=ec();return function(){var r,n=po(e);if(t){var o=po(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return $f(this,r)}}var Tf=(function(e){Cn(r,e);var t=wn(r);function r(){return bt(this,r),t.apply(this,arguments)}return yt(r,[{key:"render",value:function(){return this.props.children}}]),r})(h.Component);function Of(e,t){var r=e.children,n=e.disabled,o=h.useRef(null),i=h.useRef(null),a=h.useContext(Vi),l=typeof r=="function",c=l?r(o):r,u=h.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),f=!l&&h.isValidElement(c)&&Eo(c),d=f?ma(c):null,g=pa(d,o),C=function(){var S;return eo(o.current)||(o.current&&Se(o.current)==="object"?eo((S=o.current)===null||S===void 0?void 0:S.nativeElement):null)||eo(i.current)};h.useImperativeHandle(t,function(){return C()});var b=h.useRef(e);b.current=e;var w=h.useCallback(function(p){var S=b.current,m=S.onResize,O=S.data,T=p.getBoundingClientRect(),R=T.width,x=T.height,E=p.offsetWidth,$=p.offsetHeight,L=Math.floor(R),N=Math.floor(x);if(u.current.width!==L||u.current.height!==N||u.current.offsetWidth!==E||u.current.offsetHeight!==$){var U={width:L,height:N,offsetWidth:E,offsetHeight:$};u.current=U;var _=E===Math.round(R)?R:E,A=$===Math.round(x)?x:$,z=Q(Q({},U),{},{offsetWidth:_,offsetHeight:A});a?.(z,p,O),m&&Promise.resolve().then(function(){m(z,p)})}},[]);return h.useEffect(function(){var p=C();return p&&!n&&Ef(p,w),function(){return Rf(p,w)}},[o.current,n]),h.createElement(Tf,{ref:i},f?h.cloneElement(c,{ref:g}):c)}var tc=h.forwardRef(Of);process.env.NODE_ENV!=="production"&&(tc.displayName="SingleObserver");var _f="rc-observer-key";function If(e,t){var r=e.children,n=typeof r=="function"?[r]:un(r);return process.env.NODE_ENV!=="production"&&(n.length>1?Rr(!1,"Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead."):n.length===0&&Rr(!1,"`children` of ResizeObserver is empty. Nothing is in observe.")),n.map(function(o,i){var a=o?.key||"".concat(_f,"-").concat(i);return h.createElement(tc,Ze({},e,{key:a,ref:i===0?t:void 0}),o)})}var Ar=h.forwardRef(If);process.env.NODE_ENV!=="production"&&(Ar.displayName="ResizeObserver");Ar.Collection=of;var fs=process.env.NODE_ENV!=="test"&&st()?h.useLayoutEffect:h.useEffect,Le=function(t,r){var n=h.useRef(!0);fs(function(){return t(n.current)},r),fs(function(){return n.current=!1,function(){n.current=!0}},[])},hs=function(t,r){Le(function(n){if(!n)return t()},r)};function ft(e){var t=h.useRef();t.current=e;var r=h.useCallback(function(){for(var n,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=t.current)===null||n===void 0?void 0:n.call.apply(n,[t].concat(i))},[]);return r}function fn(e){var t=h.useRef(!1),r=h.useState(e),n=ne(r,2),o=n[0],i=n[1];h.useEffect(function(){return t.current=!1,function(){t.current=!0}},[]);function a(l,c){c&&t.current||i(l)}return[o,a]}function oi(e){return e!==void 0}function $r(e,t){var r=t||{},n=r.defaultValue,o=r.value,i=r.onChange,a=r.postState,l=fn(function(){return oi(o)?o:oi(n)?typeof n=="function"?n():n:typeof e=="function"?e():e}),c=ne(l,2),u=c[0],f=c[1],d=o!==void 0?o:u,g=a?a(d):d,C=ft(i),b=fn([d]),w=ne(b,2),p=w[0],S=w[1];hs(function(){var O=p[0];u!==O&&C(u,O)},[p]),hs(function(){oi(o)||f(o)},[o]);var m=ft(function(O,T){f(O,T),S([d],T)});return[g,m]}function rc(e,t){var r=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(n){delete r[n]}),r}var Pf=function(t){if(st()&&window.document.documentElement){var r=Array.isArray(t)?t:[t],n=window.document.documentElement;return r.some(function(o){return o in n.style})}return!1};function gs(e,t){return Pf(e)}function hn(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function Mf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=new Set;function o(i,a){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=n.has(i);if(Wt(!c,"Warning: There may be circular references"),c)return!1;if(i===a)return!0;if(r&&l>1)return!1;n.add(i);var u=l+1;if(Array.isArray(i)){if(!Array.isArray(a)||i.length!==a.length)return!1;for(var f=0;f<i.length;f++)if(!o(i[f],a[f],u))return!1;return!0}if(i&&a&&Se(i)==="object"&&Se(a)==="object"){var d=Object.keys(i);return d.length!==Object.keys(a).length?!1:d.every(function(g){return o(i[g],a[g],u)})}return!1}return o(e,t)}var kf="%";function Ui(e){return e.join(kf)}var Af=(function(){function e(t){bt(this,e),te(this,"instanceId",void 0),te(this,"cache",new Map),te(this,"extracted",new Set),this.instanceId=t}return yt(e,[{key:"get",value:function(r){return this.opGet(Ui(r))}},{key:"opGet",value:function(r){return this.cache.get(r)||null}},{key:"update",value:function(r,n){return this.opUpdate(Ui(r),n)}},{key:"opUpdate",value:function(r,n){var o=this.cache.get(r),i=n(o);i===null?this.cache.delete(r):this.cache.set(r,i)}}]),e})(),gn="data-token-hash",Mt="data-css-hash",Nf="data-cache-path",er="__cssinjs_instance__";function Df(){var e=Math.random().toString(12).slice(2);if(typeof document<"u"&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(Mt,"]"))||[],r=document.head.firstChild;Array.from(t).forEach(function(o){o[er]=o[er]||e,o[er]===e&&document.head.insertBefore(o,r)});var n={};Array.from(document.querySelectorAll("style[".concat(Mt,"]"))).forEach(function(o){var i=o.getAttribute(Mt);if(n[i]){if(o[er]===e){var a;(a=o.parentNode)===null||a===void 0||a.removeChild(o)}}else n[i]=!0})}return new Af(e)}var Sn=h.createContext({hashPriority:"low",cache:Df(),defaultCache:!0});function Bf(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var va=(function(){function e(){bt(this,e),te(this,"cache",void 0),te(this,"keys",void 0),te(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return yt(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(r){var n,o,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return r.forEach(function(l){if(!a)a=void 0;else{var c;a=(c=a)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(l)}}),(n=a)!==null&&n!==void 0&&n.value&&i&&(a.value[1]=this.cacheCallTimes++),(o=a)===null||o===void 0?void 0:o.value}},{key:"get",value:function(r){var n;return(n=this.internalGet(r,!0))===null||n===void 0?void 0:n[0]}},{key:"has",value:function(r){return!!this.internalGet(r)}},{key:"set",value:function(r,n){var o=this;if(!this.has(r)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce(function(u,f){var d=ne(u,2),g=d[1];return o.internalGet(f)[1]<g?[f,o.internalGet(f)[1]]:u},[this.keys[0],this.cacheCallTimes]),a=ne(i,1),l=a[0];this.delete(l)}this.keys.push(r)}var c=this.cache;r.forEach(function(u,f){if(f===r.length-1)c.set(u,{value:[n,o.cacheCallTimes++]});else{var d=c.get(u);d?d.map||(d.map=new Map):c.set(u,{map:new Map}),c=c.get(u).map}})}},{key:"deleteByPath",value:function(r,n){var o=r.get(n[0]);if(n.length===1){var i;return o.map?r.set(n[0],{map:o.map}):r.delete(n[0]),(i=o.value)===null||i===void 0?void 0:i[0]}var a=this.deleteByPath(o.map,n.slice(1));return(!o.map||o.map.size===0)&&!o.value&&r.delete(n[0]),a}},{key:"delete",value:function(r){if(this.has(r))return this.keys=this.keys.filter(function(n){return!Bf(n,r)}),this.deleteByPath(this.cache,r)}}]),e})();te(va,"MAX_CACHE_SIZE",20);te(va,"MAX_CACHE_OFFSET",5);var ps=0,nc=(function(){function e(t){bt(this,e),te(this,"derivatives",void 0),te(this,"id",void 0),this.derivatives=Array.isArray(t)?t:[t],this.id=ps,t.length===0&&Rr(t.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),ps+=1}return yt(e,[{key:"getDerivativeToken",value:function(r){return this.derivatives.reduce(function(n,o){return o(r,n)},void 0)}}]),e})(),ii=new va;function Ki(e){var t=Array.isArray(e)?e:[e];return ii.has(t)||ii.set(t,new nc(t)),ii.get(t)}var zf=new WeakMap,ai={};function Lf(e,t){for(var r=zf,n=0;n<t.length;n+=1){var o=t[n];r.has(o)||r.set(o,new WeakMap),r=r.get(o)}return r.has(ai)||r.set(ai,e()),r.get(ai)}var ms=new WeakMap;function sn(e){var t=ms.get(e)||"";return t||(Object.keys(e).forEach(function(r){var n=e[r];t+=r,n instanceof nc?t+=n.id:n&&Se(n)==="object"?t+=sn(n):t+=n}),t=hn(t),ms.set(e,t)),t}function vs(e,t){return hn("".concat(t,"_").concat(sn(e)))}var Gi=st();function Oe(e){return typeof e=="number"?"".concat(e,"px"):e}var to=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(r?"".concat(r,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Ff=function(t,r,n){return Object.keys(t).length?".".concat(r).concat(n!=null&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(t).map(function(o){var i=ne(o,2),a=i[0],l=i[1];return"".concat(a,":").concat(l,";")}).join(""),"}"):""},oc=function(t,r,n){var o={},i={};return Object.entries(t).forEach(function(a){var l,c,u=ne(a,2),f=u[0],d=u[1];if(n!=null&&(l=n.preserve)!==null&&l!==void 0&&l[f])i[f]=d;else if((typeof d=="string"||typeof d=="number")&&!(n!=null&&(c=n.ignore)!==null&&c!==void 0&&c[f])){var g,C=to(f,n?.prefix);o[C]=typeof d=="number"&&!(n!=null&&(g=n.unitless)!==null&&g!==void 0&&g[f])?"".concat(d,"px"):String(d),i[f]="var(".concat(C,")")}}),[i,Ff(o,r,{scope:n?.scope})]},Hf=Q({},h),bs=Hf.useInsertionEffect,Vf=function(t,r,n){h.useMemo(t,n),Le(function(){return r(!0)},n)},Wf=bs?function(e,t,r){return bs(function(){return e(),t()},r)}:Vf,qf=Q({},h),Uf=qf.useInsertionEffect,Kf=function(t){var r=[],n=!1;function o(i){if(n){process.env.NODE_ENV!=="production"&&Rr(!1,"[Ant Design CSS-in-JS] You are registering a cleanup function after unmount, which will not have any effect.");return}r.push(i)}return h.useEffect(function(){return n=!1,function(){n=!0,r.length&&r.forEach(function(i){return i()})}},t),o},Gf=function(){return function(t){t()}},Yf=typeof Uf<"u"?Kf:Gf;function Xf(){return!1}var Yi=!1;function Qf(){return Yi}const Zf=process.env.NODE_ENV==="production"?Xf:Qf;if(process.env.NODE_ENV!=="production"&&typeof module<"u"&&module&&module.hot&&typeof window<"u"){var Hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:null;if(Hn&&typeof Hn.webpackHotUpdate=="function"){var Jf=Hn.webpackHotUpdate;Hn.webpackHotUpdate=function(){return Yi=!0,setTimeout(function(){Yi=!1},0),Jf.apply(void 0,arguments)}}}function ba(e,t,r,n,o){var i=h.useContext(Sn),a=i.cache,l=[e].concat(rt(t)),c=Ui(l),u=Yf([c]),f=Zf(),d=function(w){a.opUpdate(c,function(p){var S=p||[void 0,void 0],m=ne(S,2),O=m[0],T=O===void 0?0:O,R=m[1],x=R;process.env.NODE_ENV!=="production"&&R&&f&&(n?.(x,f),x=null);var E=x||r(),$=[T,E];return w?w($):$})};h.useMemo(function(){d()},[c]);var g=a.opGet(c);process.env.NODE_ENV!=="production"&&!g&&(d(),g=a.opGet(c));var C=g[1];return Wf(function(){o?.(C)},function(b){return d(function(w){var p=ne(w,2),S=p[0],m=p[1];return b&&S===0&&o?.(C),[S+1,m]}),function(){a.opUpdate(c,function(w){var p=w||[],S=ne(p,2),m=S[0],O=m===void 0?0:m,T=S[1],R=O-1;return R===0?(u(function(){(b||!a.opGet(c))&&n?.(T,!1)}),null):[O-1,T]})}},[c]),C}var eh={},th=process.env.NODE_ENV!=="production"?"css-dev-only-do-not-override":"css",lr=new Map;function rh(e){lr.set(e,(lr.get(e)||0)+1)}function nh(e,t){if(typeof document<"u"){var r=document.querySelectorAll("style[".concat(gn,'="').concat(e,'"]'));r.forEach(function(n){if(n[er]===t){var o;(o=n.parentNode)===null||o===void 0||o.removeChild(n)}})}}var oh=0;function ih(e,t){lr.set(e,(lr.get(e)||0)-1);var r=new Set;lr.forEach(function(n,o){n<=0&&r.add(o)}),lr.size-r.size>oh&&r.forEach(function(n){nh(n,t),lr.delete(n)})}var ah=function(t,r,n,o){var i=n.getDerivativeToken(t),a=Q(Q({},i),r);return o&&(a=o(a)),a},sh="token";function lh(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=v.useContext(Sn),o=n.cache.instanceId,i=n.container,a=r.salt,l=a===void 0?"":a,c=r.override,u=c===void 0?eh:c,f=r.formatToken,d=r.getComputedToken,g=r.cssVar,C=Lf(function(){return Object.assign.apply(Object,[{}].concat(rt(t)))},t),b=sn(C),w=sn(u),p=g?sn(g):"",S=ba(sh,[l,e.id,b,w,p],function(){var m,O=d?d(C,u,e):ah(C,u,e,f),T=Q({},O),R="";if(g){var x=oc(O,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),E=ne(x,2);O=E[0],R=E[1]}var $=vs(O,l);O._tokenKey=$,T._tokenKey=vs(T,l);var L=(m=g?.key)!==null&&m!==void 0?m:$;O._themeKey=L,rh(L);var N="".concat(th,"-").concat(hn($));return O._hashId=N,[O,N,T,R,g?.key||""]},function(m){ih(m[0]._themeKey,o)},function(m){var O=ne(m,4),T=O[0],R=O[3];if(g&&R){var x=Ht(R,hn("css-variables-".concat(T._themeKey)),{mark:Mt,prepend:"queue",attachTo:i,priority:-999});x[er]=o,x.setAttribute(gn,T._themeKey)}});return S}var ch={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ic="comm",ac="rule",sc="decl",uh="@import",dh="@namespace",fh="@keyframes",hh="@layer",lc=Math.abs,ya=String.fromCharCode;function cc(e){return e.trim()}function ro(e,t,r){return e.replace(t,r)}function gh(e,t,r){return e.indexOf(t,r)}function Er(e,t){return e.charCodeAt(t)|0}function Tr(e,t,r){return e.slice(t,r)}function Pt(e){return e.length}function ph(e){return e.length}function Vn(e,t){return t.push(e),e}var jo=1,Or=1,uc=0,vt=0,Ge=0,Nr="";function xa(e,t,r,n,o,i,a,l){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:jo,column:Or,length:a,return:"",siblings:l}}function mh(){return Ge}function vh(){return Ge=vt>0?Er(Nr,--vt):0,Or--,Ge===10&&(Or=1,jo--),Ge}function jt(){return Ge=vt<uc?Er(Nr,vt++):0,Or++,Ge===10&&(Or=1,jo++),Ge}function tr(){return Er(Nr,vt)}function no(){return vt}function $o(e,t){return Tr(Nr,e,t)}function pn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bh(e){return jo=Or=1,uc=Pt(Nr=e),vt=0,[]}function yh(e){return Nr="",e}function si(e){return cc($o(vt-1,Xi(e===91?e+2:e===40?e+1:e)))}function xh(e){for(;(Ge=tr())&&Ge<33;)jt();return pn(e)>2||pn(Ge)>3?"":" "}function Ch(e,t){for(;--t&&jt()&&!(Ge<48||Ge>102||Ge>57&&Ge<65||Ge>70&&Ge<97););return $o(e,no()+(t<6&&tr()==32&&jt()==32))}function Xi(e){for(;jt();)switch(Ge){case e:return vt;case 34:case 39:e!==34&&e!==39&&Xi(Ge);break;case 40:e===41&&Xi(e);break;case 92:jt();break}return vt}function wh(e,t){for(;jt()&&e+Ge!==57;)if(e+Ge===84&&tr()===47)break;return"/*"+$o(t,vt-1)+"*"+ya(e===47?e:jt())}function Sh(e){for(;!pn(tr());)jt();return $o(e,vt)}function Eh(e){return yh(oo("",null,null,null,[""],e=bh(e),0,[0],e))}function oo(e,t,r,n,o,i,a,l,c){for(var u=0,f=0,d=a,g=0,C=0,b=0,w=1,p=1,S=1,m=0,O="",T=o,R=i,x=n,E=O;p;)switch(b=m,m=jt()){case 40:if(b!=108&&Er(E,d-1)==58){gh(E+=ro(si(m),"&","&\f"),"&\f",lc(u?l[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:E+=si(m);break;case 9:case 10:case 13:case 32:E+=xh(b);break;case 92:E+=Ch(no()-1,7);continue;case 47:switch(tr()){case 42:case 47:Vn(Rh(wh(jt(),no()),t,r,c),c),(pn(b||1)==5||pn(tr()||1)==5)&&Pt(E)&&Tr(E,-1,void 0)!==" "&&(E+=" ");break;default:E+="/"}break;case 123*w:l[u++]=Pt(E)*S;case 125*w:case 59:case 0:switch(m){case 0:case 125:p=0;case 59+f:S==-1&&(E=ro(E,/\f/g,"")),C>0&&(Pt(E)-d||w===0&&b===47)&&Vn(C>32?xs(E+";",n,r,d-1,c):xs(ro(E," ","")+";",n,r,d-2,c),c);break;case 59:E+=";";default:if(Vn(x=ys(E,t,r,u,f,o,l,O,T=[],R=[],d,i),i),m===123)if(f===0)oo(E,t,x,x,T,i,d,l,R);else{switch(g){case 99:if(Er(E,3)===110)break;case 108:if(Er(E,2)===97)break;default:f=0;case 100:case 109:case 115:}f?oo(e,x,x,n&&Vn(ys(e,x,x,0,0,o,l,O,o,T=[],d,R),R),o,R,d,l,n?T:R):oo(E,x,x,x,[""],R,0,l,R)}}u=f=C=0,w=S=1,O=E="",d=a;break;case 58:d=1+Pt(E),C=b;default:if(w<1){if(m==123)--w;else if(m==125&&w++==0&&vh()==125)continue}switch(E+=ya(m),m*w){case 38:S=f>0?1:(E+="\f",-1);break;case 44:l[u++]=(Pt(E)-1)*S,S=1;break;case 64:tr()===45&&(E+=si(jt())),g=tr(),f=d=Pt(O=E+=Sh(no())),m++;break;case 45:b===45&&Pt(E)==2&&(w=0)}}return i}function ys(e,t,r,n,o,i,a,l,c,u,f,d){for(var g=o-1,C=o===0?i:[""],b=ph(C),w=0,p=0,S=0;w<n;++w)for(var m=0,O=Tr(e,g+1,g=lc(p=a[w])),T=e;m<b;++m)(T=cc(p>0?C[m]+" "+O:ro(O,/&\f/g,C[m])))&&(c[S++]=T);return xa(e,t,r,o===0?ac:l,c,u,f,d)}function Rh(e,t,r,n){return xa(e,t,r,ic,ya(mh()),Tr(e,2,-2),0,n)}function xs(e,t,r,n,o){return xa(e,t,r,sc,Tr(e,0,n),Tr(e,n+1,-1),n,o)}function Qi(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function jh(e,t,r,n){switch(e.type){case hh:if(e.children.length)break;case uh:case dh:case sc:return e.return=e.return||e.value;case ic:return"";case fh:return e.return=e.value+"{"+Qi(e.children,n)+"}";case ac:if(!Pt(e.value=e.props.join(",")))return""}return Pt(r=Qi(e.children,n))?e.return=e.value+"{"+r+"}":""}function dc(e,t){var r=t.path,n=t.parentSelectors;Wt(!1,"[Ant Design CSS-in-JS] ".concat(r?"Error in ".concat(r,": "):"").concat(e).concat(n.length?" Selector: ".concat(n.join(" | ")):""))}var $h=function(t,r,n){if(t==="content"){var o=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,i=["normal","none","initial","inherit","unset"];(typeof r!="string"||i.indexOf(r)===-1&&!o.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'"))&&dc("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(r,"\"'`."),n)}},Th=function(t,r,n){t==="animation"&&n.hashId&&r!=="none"&&dc("You seem to be using hashed animation '".concat(r,"', in which case 'animationName' with Keyframe as value is recommended."),n)},Cs="data-ant-cssinjs-cache-path",fc="_FILE_STYLE__",ur,hc=!0;function Oh(){if(!ur&&(ur={},st())){var e=document.createElement("div");e.className=Cs,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(o){var i=o.split(":"),a=ne(i,2),l=a[0],c=a[1];ur[l]=c});var r=document.querySelector("style[".concat(Cs,"]"));if(r){var n;hc=!1,(n=r.parentNode)===null||n===void 0||n.removeChild(r)}document.body.removeChild(e)}}function _h(e){return Oh(),!!ur[e]}function Ih(e){var t=ur[e],r=null;if(t&&st())if(hc)r=fc;else{var n=document.querySelector("style[".concat(Mt,'="').concat(ur[e],'"]'));n?r=n.innerHTML:delete ur[e]}return[r,t]}var gc="_skip_check_",pc="_multi_value_";function li(e){var t=Qi(Eh(e),jh);return t.replace(/\{%%%\:[^;];}/g,";")}function Ph(e){return Se(e)==="object"&&e&&(gc in e||pc in e)}function ws(e,t,r){if(!t)return e;var n=".".concat(t),o=r==="low"?":where(".concat(n,")"):n,i=e.split(",").map(function(a){var l,c=a.trim().split(/\s+/),u=c[0]||"",f=((l=u.match(/^\w+/))===null||l===void 0?void 0:l[0])||"";return u="".concat(f).concat(o).concat(u.slice(f.length)),[u].concat(rt(c.slice(1))).join(" ")});return i.join(",")}var Mh=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},o=n.root,i=n.injectHash,a=n.parentSelectors,l=r.hashId,c=r.layer,u=r.path,f=r.hashPriority,d=r.transformers,g=d===void 0?[]:d,C=r.linters,b=C===void 0?[]:C,w="",p={};function S(T){var R=T.getName(l);if(!p[R]){var x=e(T.style,r,{root:!1,parentSelectors:a}),E=ne(x,1),$=E[0];p[R]="@keyframes ".concat(T.getName(l)).concat($)}}function m(T){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return T.forEach(function(x){Array.isArray(x)?m(x,R):x&&R.push(x)}),R}var O=m(Array.isArray(t)?t:[t]);return O.forEach(function(T){var R=typeof T=="string"&&!o?{}:T;if(typeof R=="string")w+="".concat(R,`
81
+ `);else if(R._keyframe)S(R);else{var x=g.reduce(function(E,$){var L;return($==null||(L=$.visit)===null||L===void 0?void 0:L.call($,E))||E},R);Object.keys(x).forEach(function(E){var $=x[E];if(Se($)==="object"&&$&&(E!=="animationName"||!$._keyframe)&&!Ph($)){var L=!1,N=E.trim(),U=!1;(o||i)&&l?N.startsWith("@")?L=!0:N==="&"?N=ws("",l,f):N=ws(E,l,f):o&&!l&&(N==="&"||N==="")&&(N="",U=!0);var _=e($,r,{root:U,injectHash:L,parentSelectors:[].concat(rt(a),[N])}),A=ne(_,2),z=A[0],P=A[1];p=Q(Q({},p),P),w+="".concat(N).concat(z)}else{let W=function(F,X){process.env.NODE_ENV!=="production"&&(Se($)!=="object"||!($!=null&&$[gc]))&&[$h,Th].concat(rt(b)).forEach(function(re){return re(F,X,{path:u,hashId:l,parentSelectors:a})});var ee=F.replace(/[A-Z]/g,function(re){return"-".concat(re.toLowerCase())}),K=X;!ch[F]&&typeof K=="number"&&K!==0&&(K="".concat(K,"px")),F==="animationName"&&X!==null&&X!==void 0&&X._keyframe&&(S(X),K=X.getName(l)),w+="".concat(ee,":").concat(K,";")};var M,Y=(M=$?.value)!==null&&M!==void 0?M:$;Se($)==="object"&&$!==null&&$!==void 0&&$[pc]&&Array.isArray(Y)?Y.forEach(function(F){W(E,F)}):W(E,Y)}})}}),o?c&&(w&&(w="@layer ".concat(c.name," {").concat(w,"}")),c.dependencies&&(p["@layer ".concat(c.name)]=c.dependencies.map(function(T){return"@layer ".concat(T,", ").concat(c.name,";")}).join(`
82
+ `))):w="{".concat(w,"}"),[w,p]};function mc(e,t){return hn("".concat(e.join("%")).concat(t))}function kh(){return null}var Ah="style";function Zi(e,t){var r=e.token,n=e.path,o=e.hashId,i=e.layer,a=e.nonce,l=e.clientOnly,c=e.order,u=c===void 0?0:c,f=h.useContext(Sn),d=f.autoClear,g=f.mock,C=f.defaultCache,b=f.hashPriority,w=f.container,p=f.ssrInline,S=f.transformers,m=f.linters,O=f.cache,T=f.layer,R=r._tokenKey,x=[R];T&&x.push("layer"),x.push.apply(x,rt(n));var E=Gi;process.env.NODE_ENV!=="production"&&g!==void 0&&(E=g==="client");var $=ba(Ah,x,function(){var A=x.join("|");if(_h(A)){var z=Ih(A),P=ne(z,2),M=P[0],Y=P[1];if(M)return[M,R,Y,{},l,u]}var W=t(),F=Mh(W,{hashId:o,hashPriority:b,layer:T?i:void 0,path:n.join("-"),transformers:S,linters:m}),X=ne(F,2),ee=X[0],K=X[1],re=li(ee),le=mc(x,re);return[re,R,le,K,l,u]},function(A,z){var P=ne(A,3),M=P[2];(z||d)&&Gi&&cn(M,{mark:Mt,attachTo:w})},function(A){var z=ne(A,4),P=z[0],M=z[2],Y=z[3];if(E&&P!==fc){var W={mark:Mt,prepend:T?!1:"queue",attachTo:w,priority:u},F=typeof a=="function"?a():a;F&&(W.csp={nonce:F});var X=[],ee=[];Object.keys(Y).forEach(function(re){re.startsWith("@layer")?X.push(re):ee.push(re)}),X.forEach(function(re){Ht(li(Y[re]),"_layer-".concat(re),Q(Q({},W),{},{prepend:!0}))});var K=Ht(P,M,W);K[er]=O.instanceId,K.setAttribute(gn,R),process.env.NODE_ENV!=="production"&&K.setAttribute(Nf,x.join("|")),ee.forEach(function(re){Ht(li(Y[re]),"_effect-".concat(re),W)})}}),L=ne($,3),N=L[0],U=L[1],_=L[2];return function(A){var z;return!p||E||!C?z=h.createElement(kh,null):z=h.createElement("style",Ze({},te(te({},gn,U),Mt,_),{dangerouslySetInnerHTML:{__html:N}})),h.createElement(h.Fragment,null,z,A)}}var Nh="cssVar",Dh=function(t,r){var n=t.key,o=t.prefix,i=t.unitless,a=t.ignore,l=t.token,c=t.scope,u=c===void 0?"":c,f=v.useContext(Sn),d=f.cache.instanceId,g=f.container,C=l._tokenKey,b=[].concat(rt(t.path),[n,u,C]),w=ba(Nh,b,function(){var p=r(),S=oc(p,n,{prefix:o,unitless:i,ignore:a,scope:u}),m=ne(S,2),O=m[0],T=m[1],R=mc(b,T);return[O,T,R,n]},function(p){var S=ne(p,3),m=S[2];Gi&&cn(m,{mark:Mt,attachTo:g})},function(p){var S=ne(p,3),m=S[1],O=S[2];if(m){var T=Ht(m,O,{mark:Mt,prepend:"queue",attachTo:g,priority:-999});T[er]=d,T.setAttribute(gn,n)}});return w},xt=(function(){function e(t,r){bt(this,e),te(this,"name",void 0),te(this,"style",void 0),te(this,"_keyframe",!0),this.name=t,this.style=r}return yt(e,[{key:"getName",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return r?"".concat(r,"-").concat(this.name):this.name}}]),e})();function Bh(e){return Ol(e)||Tl(e)||ca(e)||_l()}function Ji(e,t){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;r=r[t[n]]}return r}function vc(e,t,r,n){if(!t.length)return r;var o=Bh(t),i=o[0],a=o.slice(1),l;return!e&&typeof i=="number"?l=[]:Array.isArray(e)?l=rt(e):l=Q({},e),n&&r===void 0&&a.length===1?delete l[i][a[0]]:l[i]=vc(l[i],a,r,n),l}function ci(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&n&&r===void 0&&!Ji(e,t.slice(0,-1))?e:vc(e,t,r,n)}function zh(e){return Se(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function Ss(e){return Array.isArray(e)?[]:{}}var Lh=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Fh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Ss(t[0]);return t.forEach(function(o){function i(a,l){var c=new Set(l),u=Ji(o,a),f=Array.isArray(u);if(f||zh(u)){if(!c.has(u)){c.add(u);var d=Ji(n,a);f?n=ci(n,a,[]):(!d||Se(d)!=="object")&&(n=ci(n,a,Ss(u))),Lh(u).forEach(function(g){i([].concat(rt(a),[g]),c)})}}else n=ci(n,a,u)}i([])}),n}function bc(){}let zt=null;function Hh(){zt=null,zl()}let yc=bc;process.env.NODE_ENV!=="production"&&(yc=(e,t,r)=>{Wt(e,`[antd: ${t}] ${r}`),process.env.NODE_ENV==="test"&&Hh()});const En=yc,xc=h.createContext({}),kt=process.env.NODE_ENV!=="production"?e=>{const{strict:t}=h.useContext(xc),r=(n,o,i)=>{if(!n)if(t===!1&&o==="deprecated"){const a=zt;zt||(zt={}),zt[e]=zt[e]||[],zt[e].includes(i||"")||zt[e].push(i||""),a||console.warn("[antd] There exists deprecated usage in your code:",zt)}else process.env.NODE_ENV!=="production"&&En(n,e,i)};return r.deprecated=(n,o,i,a)=>{r(n,"deprecated",`\`${o}\` is deprecated. Please use \`${i}\` instead.${a?` ${a}`:""}`)},r}:()=>{const e=()=>{};return e.deprecated=bc,e},Vh=v.createContext(void 0);var Wh={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},qh={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Uh=Q(Q({},qh),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",week:"Week",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const Cc={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Es={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},Uh),timePickerLocale:Object.assign({},Cc)},ut="${label} is not a valid ${type}",_r={locale:"en",Pagination:Wh,DatePicker:Es,TimePicker:Cc,Calendar:Es,global:{placeholder:"Please select",close:"Close"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckAll:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:ut,method:ut,array:ut,object:ut,number:ut,date:ut,boolean:ut,integer:ut,float:ut,regexp:ut,email:ut,url:ut,hex:ut},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};Object.assign({},_r.Modal);let io=[];const Rs=()=>io.reduce((e,t)=>Object.assign(Object.assign({},e),t),_r.Modal);function Kh(e){if(e){const t=Object.assign({},e);return io.push(t),Rs(),()=>{io=io.filter(r=>r!==t),Rs()}}Object.assign({},_r.Modal)}const Ca=v.createContext(void 0),Gh=(e,t)=>{const r=h.useContext(Ca),n=h.useMemo(()=>{var i;const a=_r[e],l=(i=r?.[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),l||{})},[e,t,r]),o=h.useMemo(()=>{const i=r?.locale;return r?.exist&&!i?_r.locale:i},[r]);return[n,o]},wc="internalMark",Sc=e=>{const{locale:t={},children:r,_ANT_MARK__:n}=e;if(process.env.NODE_ENV!=="production"){const i=kt("LocaleProvider");process.env.NODE_ENV!=="production"&&i(n===wc,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale")}h.useEffect(()=>Kh(t?.Modal),[t]);const o=h.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return h.createElement(Ca.Provider,{value:o},r)};process.env.NODE_ENV!=="production"&&(Sc.displayName="LocaleProvider");const Ec={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},mn=Object.assign(Object.assign({},Ec),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
83
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
84
+ 'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});function Yh(e,{generateColorPalettes:t,generateNeutralColorPalettes:r}){const{colorSuccess:n,colorWarning:o,colorError:i,colorInfo:a,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,f=t(l),d=t(n),g=t(o),C=t(i),b=t(a),w=r(c,u),p=e.colorLink||e.colorInfo,S=t(p),m=new Qe(C[1]).mix(new Qe(C[3]),50).toHexString();return Object.assign(Object.assign({},w),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:C[1],colorErrorBgHover:C[2],colorErrorBgFilledHover:m,colorErrorBgActive:C[3],colorErrorBorder:C[3],colorErrorBorderHover:C[4],colorErrorHover:C[5],colorError:C[6],colorErrorActive:C[7],colorErrorTextHover:C[8],colorErrorText:C[9],colorErrorTextActive:C[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:S[4],colorLink:S[6],colorLinkActive:S[7],colorBgMask:new Qe("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const Xh=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}};function Qh(e){const{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1},Xh(n))}const Zh=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function Jh(e){return(e+8)/e}function eg(e){const t=Array.from({length:10}).map((r,n)=>{const o=n-1,i=e*Math.pow(Math.E,o/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return t[1]=e,t.map(r=>({size:r,lineHeight:Jh(r)}))}const tg=e=>{const t=eg(e),r=t.map(f=>f.size),n=t.map(f=>f.lineHeight),o=r[1],i=r[0],a=r[2],l=n[1],c=n[0],u=n[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(l*o),fontHeightLG:Math.round(u*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}};function rg(e){const{sizeUnit:t,sizeStep:r}=e;return{sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}const pt=(e,t)=>new Qe(e).setA(t).toRgbString(),en=(e,t)=>new Qe(e).darken(t).toHexString(),ng=e=>{const t=ln(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},og=(e,t)=>{const r=e||"#fff",n=t||"#000";return{colorBgBase:r,colorTextBase:n,colorText:pt(n,.88),colorTextSecondary:pt(n,.65),colorTextTertiary:pt(n,.45),colorTextQuaternary:pt(n,.25),colorFill:pt(n,.15),colorFillSecondary:pt(n,.06),colorFillTertiary:pt(n,.04),colorFillQuaternary:pt(n,.02),colorBgSolid:pt(n,1),colorBgSolidHover:pt(n,.75),colorBgSolidActive:pt(n,.95),colorBgLayout:en(r,4),colorBgContainer:en(r,0),colorBgElevated:en(r,0),colorBgSpotlight:pt(n,.85),colorBgBlur:"transparent",colorBorder:en(r,15),colorBorderSecondary:en(r,6)}};function ig(e){ti.pink=ti.magenta,ri.pink=ri.magenta;const t=Object.keys(Ec).map(r=>{const n=e[r]===ti[r]?ri[r]:ln(e[r]);return Array.from({length:10},()=>1).reduce((o,i,a)=>(o[`${r}-${a+1}`]=n[a],o[`${r}${a+1}`]=n[a],o),{})}).reduce((r,n)=>(r=Object.assign(Object.assign({},r),n),r),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),Yh(e,{generateColorPalettes:ng,generateNeutralColorPalettes:og})),tg(e.fontSize)),rg(e)),Zh(e)),Qh(e))}const Rc=Ki(ig),ea={token:mn,override:{override:mn},hashed:!0},jc=v.createContext(ea),ta="ant",wa="anticon",ag=["outlined","borderless","filled","underlined"],sg=(e,t)=>t||(e?`${ta}-${e}`:ta),Vt=h.createContext({getPrefixCls:sg,iconPrefixCls:wa}),js={};function To(e){const t=h.useContext(Vt),{getPrefixCls:r,direction:n,getPopupContainer:o}=t,i=t[e];return Object.assign(Object.assign({classNames:js,styles:js},i),{getPrefixCls:r,direction:n,getPopupContainer:o})}const lg=`-ant-${Date.now()}-${Math.random()}`;function cg(e,t){const r={},n=(a,l)=>{let c=a.clone();return c=l?.(c)||c,c.toRgbString()},o=(a,l)=>{const c=new Qe(a),u=ln(c.toRgbString());r[`${l}-color`]=n(c),r[`${l}-color-disabled`]=u[1],r[`${l}-color-hover`]=u[4],r[`${l}-color-active`]=u[6],r[`${l}-color-outline`]=c.clone().setA(.2).toRgbString(),r[`${l}-color-deprecated-bg`]=u[0],r[`${l}-color-deprecated-border`]=u[2]};if(t.primaryColor){o(t.primaryColor,"primary");const a=new Qe(t.primaryColor),l=ln(a.toRgbString());l.forEach((u,f)=>{r[`primary-${f+1}`]=u}),r["primary-color-deprecated-l-35"]=n(a,u=>u.lighten(35)),r["primary-color-deprecated-l-20"]=n(a,u=>u.lighten(20)),r["primary-color-deprecated-t-20"]=n(a,u=>u.tint(20)),r["primary-color-deprecated-t-50"]=n(a,u=>u.tint(50)),r["primary-color-deprecated-f-12"]=n(a,u=>u.setA(u.a*.12));const c=new Qe(l[0]);r["primary-color-active-deprecated-f-30"]=n(c,u=>u.setA(u.a*.3)),r["primary-color-active-deprecated-d-02"]=n(c,u=>u.darken(2))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`
85
+ :root {
86
+ ${Object.keys(r).map(a=>`--${e}-${a}: ${r[a]};`).join(`
87
+ `)}
88
+ }
89
+ `.trim()}function ug(e,t){const r=cg(e,t);st()?Ht(r,`${lg}-dynamic-theme`):process.env.NODE_ENV!=="production"&&En(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}const vn=h.createContext(!1),dg=({children:e,disabled:t})=>{const r=h.useContext(vn);return h.createElement(vn.Provider,{value:t??r},e)},Ir=h.createContext(void 0),fg=({children:e,size:t})=>{const r=h.useContext(Ir);return h.createElement(Ir.Provider,{value:t||r},e)};function hg(){const e=v.useContext(vn),t=v.useContext(Ir);return{componentDisabled:e,componentSize:t}}var $c=yt(function e(){bt(this,e)}),Tc="CALC_UNIT",gg=new RegExp(Tc,"g");function ui(e){return typeof e=="number"?"".concat(e).concat(Tc):e}var pg=(function(e){Cn(r,e);var t=wn(r);function r(n,o){var i;bt(this,r),i=t.call(this),te(an(i),"result",""),te(an(i),"unitlessCssVar",void 0),te(an(i),"lowPriority",void 0);var a=Se(n);return i.unitlessCssVar=o,n instanceof r?i.result="(".concat(n.result,")"):a==="number"?i.result=ui(n):a==="string"&&(i.result=n),i}return yt(r,[{key:"add",value:function(o){return o instanceof r?this.result="".concat(this.result," + ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," + ").concat(ui(o))),this.lowPriority=!0,this}},{key:"sub",value:function(o){return o instanceof r?this.result="".concat(this.result," - ").concat(o.getResult()):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," - ").concat(ui(o))),this.lowPriority=!0,this}},{key:"mul",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof r?this.result="".concat(this.result," * ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," * ").concat(o)),this.lowPriority=!1,this}},{key:"div",value:function(o){return this.lowPriority&&(this.result="(".concat(this.result,")")),o instanceof r?this.result="".concat(this.result," / ").concat(o.getResult(!0)):(typeof o=="number"||typeof o=="string")&&(this.result="".concat(this.result," / ").concat(o)),this.lowPriority=!1,this}},{key:"getResult",value:function(o){return this.lowPriority||o?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(o){var i=this,a=o||{},l=a.unit,c=!0;return typeof l=="boolean"?c=l:Array.from(this.unitlessCssVar).some(function(u){return i.result.includes(u)})&&(c=!1),this.result=this.result.replace(gg,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),r})($c),mg=(function(e){Cn(r,e);var t=wn(r);function r(n){var o;return bt(this,r),o=t.call(this),te(an(o),"result",0),n instanceof r?o.result=n.result:typeof n=="number"&&(o.result=n),o}return yt(r,[{key:"add",value:function(o){return o instanceof r?this.result+=o.result:typeof o=="number"&&(this.result+=o),this}},{key:"sub",value:function(o){return o instanceof r?this.result-=o.result:typeof o=="number"&&(this.result-=o),this}},{key:"mul",value:function(o){return o instanceof r?this.result*=o.result:typeof o=="number"&&(this.result*=o),this}},{key:"div",value:function(o){return o instanceof r?this.result/=o.result:typeof o=="number"&&(this.result/=o),this}},{key:"equal",value:function(){return this.result}}]),r})($c),vg=function(t,r){var n=t==="css"?pg:mg;return function(o){return new n(o,r)}},$s=function(t,r){return"".concat([r,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Ts(e,t,r,n){var o=Q({},t[e]);if(n!=null&&n.deprecatedTokens){var i=n.deprecatedTokens;i.forEach(function(l){var c=ne(l,2),u=c[0],f=c[1];if(process.env.NODE_ENV!=="production"&&Wt(!(o!=null&&o[u]),"Component Token `".concat(String(u),"` of ").concat(String(e)," is deprecated. Please use `").concat(String(f),"` instead.")),o!=null&&o[u]||o!=null&&o[f]){var d;(d=o[f])!==null&&d!==void 0||(o[f]=o?.[u])}})}var a=Q(Q({},r),o);return Object.keys(a).forEach(function(l){a[l]===t[l]&&delete a[l]}),a}var Oc=process.env.NODE_ENV!=="production"||typeof CSSINJS_STATISTIC<"u",ra=!0;function Ut(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!Oc)return Object.assign.apply(Object,[{}].concat(t));ra=!1;var n={};return t.forEach(function(o){if(Se(o)==="object"){var i=Object.keys(o);i.forEach(function(a){Object.defineProperty(n,a,{configurable:!0,enumerable:!0,get:function(){return o[a]}})})}}),ra=!0,n}var Os={};function bg(){}var yg=function(t){var r,n=t,o=bg;return Oc&&typeof Proxy<"u"&&(r=new Set,n=new Proxy(t,{get:function(a,l){if(ra){var c;(c=r)===null||c===void 0||c.add(l)}return a[l]}}),o=function(a,l){var c;Os[a]={global:Array.from(r),component:Q(Q({},(c=Os[a])===null||c===void 0?void 0:c.component),l)}}),{token:n,keys:r,flush:o}};function _s(e,t,r){if(typeof r=="function"){var n;return r(Ut(t,(n=t[e])!==null&&n!==void 0?n:{}))}return r??{}}function xg(e){return e==="js"?{max:Math.max,min:Math.min}:{max:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return"max(".concat(n.map(function(i){return Oe(i)}).join(","),")")},min:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return"min(".concat(n.map(function(i){return Oe(i)}).join(","),")")}}}var Cg=1e3*60*10,wg=(function(){function e(){bt(this,e),te(this,"map",new Map),te(this,"objectIDMap",new WeakMap),te(this,"nextID",0),te(this,"lastAccessBeat",new Map),te(this,"accessBeat",0)}return yt(e,[{key:"set",value:function(r,n){this.clear();var o=this.getCompositeKey(r);this.map.set(o,n),this.lastAccessBeat.set(o,Date.now())}},{key:"get",value:function(r){var n=this.getCompositeKey(r),o=this.map.get(n);return this.lastAccessBeat.set(n,Date.now()),this.accessBeat+=1,o}},{key:"getCompositeKey",value:function(r){var n=this,o=r.map(function(i){return i&&Se(i)==="object"?"obj_".concat(n.getObjectID(i)):"".concat(Se(i),"_").concat(i)});return o.join("|")}},{key:"getObjectID",value:function(r){if(this.objectIDMap.has(r))return this.objectIDMap.get(r);var n=this.nextID;return this.objectIDMap.set(r,n),this.nextID+=1,n}},{key:"clear",value:function(){var r=this;if(this.accessBeat>1e4){var n=Date.now();this.lastAccessBeat.forEach(function(o,i){n-o>Cg&&(r.map.delete(i),r.lastAccessBeat.delete(i))}),this.accessBeat=0}}}]),e})(),Is=new wg;function Sg(e,t){return v.useMemo(function(){var r=Is.get(t);if(r)return r;var n=e();return Is.set(t,n),n},t)}var Eg=function(){return{}};function Rg(e){var t=e.useCSP,r=t===void 0?Eg:t,n=e.useToken,o=e.usePrefix,i=e.getResetStyles,a=e.getCommonStyle,l=e.getCompUnitless;function c(g,C,b,w){var p=Array.isArray(g)?g[0]:g;function S($){return"".concat(String(p)).concat($.slice(0,1).toUpperCase()).concat($.slice(1))}var m=w?.unitless||{},O=typeof l=="function"?l(g):{},T=Q(Q({},O),{},te({},S("zIndexPopup"),!0));Object.keys(m).forEach(function($){T[S($)]=m[$]});var R=Q(Q({},w),{},{unitless:T,prefixToken:S}),x=f(g,C,b,R),E=u(p,b,R);return function($){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$,N=x($,L),U=ne(N,2),_=U[1],A=E(L),z=ne(A,2),P=z[0],M=z[1];return[P,_,M]}}function u(g,C,b){var w=b.unitless,p=b.injectStyle,S=p===void 0?!0:p,m=b.prefixToken,O=b.ignore,T=function(E){var $=E.rootCls,L=E.cssVar,N=L===void 0?{}:L,U=n(),_=U.realToken;return Dh({path:[g],prefix:N.prefix,key:N.key,unitless:w,ignore:O,token:_,scope:$},function(){var A=_s(g,_,C),z=Ts(g,_,A,{deprecatedTokens:b?.deprecatedTokens});return Object.keys(A).forEach(function(P){z[m(P)]=z[P],delete z[P]}),z}),null},R=function(E){var $=n(),L=$.cssVar;return[function(N){return S&&L?v.createElement(v.Fragment,null,v.createElement(T,{rootCls:E,cssVar:L,component:g}),N):N},L?.key]};return R}function f(g,C,b){var w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},p=Array.isArray(g)?g:[g,g],S=ne(p,1),m=S[0],O=p.join("-"),T=e.layer||{name:"antd"};return function(R){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,E=n(),$=E.theme,L=E.realToken,N=E.hashId,U=E.token,_=E.cssVar,A=o(),z=A.rootPrefixCls,P=A.iconPrefixCls,M=r(),Y=_?"css":"js",W=Sg(function(){var le=new Set;return _&&Object.keys(w.unitless||{}).forEach(function(he){le.add(to(he,_.prefix)),le.add(to(he,$s(m,_.prefix)))}),vg(Y,le)},[Y,m,_?.prefix]),F=xg(Y),X=F.max,ee=F.min,K={theme:$,token:U,hashId:N,nonce:function(){return M.nonce},clientOnly:w.clientOnly,layer:T,order:w.order||-999};typeof i=="function"&&Zi(Q(Q({},K),{},{clientOnly:!1,path:["Shared",z]}),function(){return i(U,{prefix:{rootPrefixCls:z,iconPrefixCls:P},csp:M})});var re=Zi(Q(Q({},K),{},{path:[O,R,P]}),function(){if(w.injectStyle===!1)return[];var le=yg(U),he=le.token,ue=le.flush,j=_s(m,L,b),k=".".concat(R),D=Ts(m,L,j,{deprecatedTokens:w.deprecatedTokens});_&&j&&Se(j)==="object"&&Object.keys(j).forEach(function(Z){j[Z]="var(".concat(to(Z,$s(m,_.prefix)),")")});var B=Ut(he,{componentCls:k,prefixCls:R,iconCls:".".concat(P),antCls:".".concat(z),calc:W,max:X,min:ee},_?j:D),V=C(B,{hashId:N,prefixCls:R,rootPrefixCls:z,iconPrefixCls:P});ue(m,D);var q=typeof a=="function"?a(B,R,x,w.resetFont):null;return[w.resetStyle===!1?null:q,V]});return[re,N]}}function d(g,C,b){var w=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},p=f(g,C,b,Q({resetStyle:!1,order:-998},w)),S=function(O){var T=O.prefixCls,R=O.rootCls,x=R===void 0?T:R;return p(T,x),null};return process.env.NODE_ENV!=="production"&&(S.displayName="SubStyle_".concat(String(Array.isArray(g)?g.join("."):g))),S}return{genStyleHooks:c,genSubStyleComponent:d,genComponentStyleHook:f}}const mo=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],jg="5.27.1";function di(e){return e>=0&&e<=255}function Wn(e,t){const{r,g:n,b:o,a:i}=new Qe(e).toRgb();if(i<1)return e;const{r:a,g:l,b:c}=new Qe(t).toRgb();for(let u=.01;u<=1;u+=.01){const f=Math.round((r-a*(1-u))/u),d=Math.round((n-l*(1-u))/u),g=Math.round((o-c*(1-u))/u);if(di(f)&&di(d)&&di(g))return new Qe({r:f,g:d,b:g,a:Math.round(u*100)/100}).toRgbString()}return new Qe({r,g:n,b:o,a:1}).toRgbString()}var $g=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function _c(e){const{override:t}=e,r=$g(e,["override"]),n=Object.assign({},t);Object.keys(mn).forEach(g=>{delete n[g]});const o=Object.assign(Object.assign({},r),n),i=480,a=576,l=768,c=992,u=1200,f=1600;return o.motion===!1&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:Wn(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:Wn(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:Wn(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:Wn(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
90
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
91
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
92
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
93
+ `,boxShadowSecondary:`
94
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
95
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
96
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
97
+ `,boxShadowTertiary:`
98
+ 0 1px 2px 0 rgba(0, 0, 0, 0.03),
99
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02),
100
+ 0 2px 4px 0 rgba(0, 0, 0, 0.02)
101
+ `,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:f-1,screenXXL:f,screenXXLMin:f,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
102
+ 0 1px 2px -2px ${new Qe("rgba(0, 0, 0, 0.16)").toRgbString()},
103
+ 0 3px 6px 0 ${new Qe("rgba(0, 0, 0, 0.12)").toRgbString()},
104
+ 0 5px 12px 4px ${new Qe("rgba(0, 0, 0, 0.09)").toRgbString()}
105
+ `,boxShadowDrawerRight:`
106
+ -6px 0 16px 0 rgba(0, 0, 0, 0.08),
107
+ -3px 0 6px -4px rgba(0, 0, 0, 0.12),
108
+ -9px 0 28px 8px rgba(0, 0, 0, 0.05)
109
+ `,boxShadowDrawerLeft:`
110
+ 6px 0 16px 0 rgba(0, 0, 0, 0.08),
111
+ 3px 0 6px -4px rgba(0, 0, 0, 0.12),
112
+ 9px 0 28px 8px rgba(0, 0, 0, 0.05)
113
+ `,boxShadowDrawerUp:`
114
+ 0 6px 16px 0 rgba(0, 0, 0, 0.08),
115
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12),
116
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05)
117
+ `,boxShadowDrawerDown:`
118
+ 0 -6px 16px 0 rgba(0, 0, 0, 0.08),
119
+ 0 -3px 6px -4px rgba(0, 0, 0, 0.12),
120
+ 0 -9px 28px 8px rgba(0, 0, 0, 0.05)
121
+ `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),n)}var Ps=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Ic={lineHeight:!0,lineHeightSM:!0,lineHeightLG:!0,lineHeightHeading1:!0,lineHeightHeading2:!0,lineHeightHeading3:!0,lineHeightHeading4:!0,lineHeightHeading5:!0,opacityLoading:!0,fontWeightStrong:!0,zIndexPopupBase:!0,zIndexBase:!0,opacityImage:!0},Tg={motionBase:!0,motionUnit:!0},Og={screenXS:!0,screenXSMin:!0,screenXSMax:!0,screenSM:!0,screenSMMin:!0,screenSMMax:!0,screenMD:!0,screenMDMin:!0,screenMDMax:!0,screenLG:!0,screenLGMin:!0,screenLGMax:!0,screenXL:!0,screenXLMin:!0,screenXLMax:!0,screenXXL:!0,screenXXLMin:!0},Pc=(e,t,r)=>{const n=r.getDerivativeToken(e),{override:o}=t,i=Ps(t,["override"]);let a=Object.assign(Object.assign({},n),{override:o});return a=_c(a),i&&Object.entries(i).forEach(([l,c])=>{const{theme:u}=c,f=Ps(c,["theme"]);let d=f;u&&(d=Pc(Object.assign(Object.assign({},a),f),{override:f},u)),a[l]=d}),a};function Dr(){const{token:e,hashed:t,theme:r,override:n,cssVar:o}=v.useContext(jc),i=`${jg}-${t||""}`,a=r||Rc,[l,c,u]=lh(a,[mn,e],{salt:i,override:n,getComputedToken:Pc,formatToken:_c,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:Ic,ignore:Tg,preserve:Og}});return[a,u,t?c:"",l,o]}const Sa=(e,t=!1)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}),_g=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Ig=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Pg=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Mg=(e,t,r,n)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=r?`.${r}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let l={};return n!==!1&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},l),a),{[o]:a})}},kg=(e,t)=>({outline:`${Oe(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Ag=(e,t)=>({"&:focus-visible":kg(e,t)}),Mc=e=>({[`.${e}`]:Object.assign(Object.assign({},_g()),{[`.${e} .${e}-icon`]:{display:"block"}})}),kc=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Ag(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:Rn}=Rg({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=v.useContext(Vt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,r,n,o]=Dr();return{theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{const{csp:e}=v.useContext(Vt);return e??{}},getResetStyles:(e,t)=>{var r;const n=Pg(e);return[n,{"&":n},Mc((r=t?.prefix.iconPrefixCls)!==null&&r!==void 0?r:wa)]},getCommonStyle:Mg,getCompUnitless:()=>Ic});function Ng(e,t){return mo.reduce((r,n)=>{const o=e[`${n}1`],i=e[`${n}3`],a=e[`${n}6`],l=e[`${n}7`];return Object.assign(Object.assign({},r),t(n,{lightColor:o,lightBorderColor:i,darkColor:a,textColor:l}))},{})}const Dg=(e,t)=>{const[r,n]=Dr();return Zi({token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>t?.nonce,layer:{name:"antd"}},()=>Mc(e))},Bg=Object.assign({},h),{useId:Ms}=Bg,zg=()=>"",Lg=typeof Ms>"u"?zg:Ms;function Fg(e,t,r){var n,o;const i=kt("ConfigProvider"),a=e||{},l=a.inherit===!1||!t?Object.assign(Object.assign({},ea),{hashed:(n=t?.hashed)!==null&&n!==void 0?n:ea.hashed,cssVar:t?.cssVar}):t,c=Lg();if(process.env.NODE_ENV!=="production"){const u=a.cssVar||l.cssVar,f=!!(typeof a.cssVar=="object"&&(!((o=a.cssVar)===null||o===void 0)&&o.key)||c);process.env.NODE_ENV!=="production"&&i(!u||f,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.")}return ha(()=>{var u,f;if(!e)return t;const d=Object.assign({},l.components);Object.keys(e.components||{}).forEach(b=>{d[b]=Object.assign(Object.assign({},d[b]),e.components[b])});const g=`css-var-${c.replace(/:/g,"")}`,C=((u=a.cssVar)!==null&&u!==void 0?u:l.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:r?.prefixCls},typeof l.cssVar=="object"?l.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((f=a.cssVar)===null||f===void 0?void 0:f.key)||g});return Object.assign(Object.assign(Object.assign({},l),a),{token:Object.assign(Object.assign({},l.token),a.token),components:d,cssVar:C})},[a,l],(u,f)=>u.some((d,g)=>{const C=f[g];return!Mf(d,C,!0)}))}var Hg=["children"],Ac=h.createContext({});function Vg(e){var t=e.children,r=$t(e,Hg);return h.createElement(Ac.Provider,{value:r},t)}var Wg=(function(e){Cn(r,e);var t=wn(r);function r(){return bt(this,r),t.apply(this,arguments)}return yt(r,[{key:"render",value:function(){return this.props.children}}]),r})(h.Component);function qg(e){var t=h.useReducer(function(l){return l+1},0),r=ne(t,2),n=r[1],o=h.useRef(e),i=ft(function(){return o.current}),a=ft(function(l){o.current=typeof l=="function"?l(o.current):l,n()});return[i,a]}var Jt="none",qn="appear",Un="enter",Kn="leave",ks="none",Rt="prepare",wr="start",Sr="active",Ea="end",Nc="prepared";function As(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit".concat(e)]="webkit".concat(t),r["Moz".concat(e)]="moz".concat(t),r["ms".concat(e)]="MS".concat(t),r["O".concat(e)]="o".concat(t.toLowerCase()),r}function Ug(e,t){var r={animationend:As("Animation","AnimationEnd"),transitionend:As("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete r.animationend.animation,"TransitionEvent"in t||delete r.transitionend.transition),r}var Kg=Ug(st(),typeof window<"u"?window:{}),Dc={};if(st()){var Gg=document.createElement("div");Dc=Gg.style}var Gn={};function Bc(e){if(Gn[e])return Gn[e];var t=Kg[e];if(t)for(var r=Object.keys(t),n=r.length,o=0;o<n;o+=1){var i=r[o];if(Object.prototype.hasOwnProperty.call(t,i)&&i in Dc)return Gn[e]=t[i],Gn[e]}return""}var zc=Bc("animationend"),Lc=Bc("transitionend"),Yg=!!(zc&&Lc),Ns=zc||"animationend",Ds=Lc||"transitionend";function Bs(e,t){if(!e)return null;if(Se(e)==="object"){var r=t.replace(/-\w/g,function(n){return n[1].toUpperCase()});return e[r]}return"".concat(e,"-").concat(t)}const Xg=(function(e){var t=v.useRef();function r(o){o&&(o.removeEventListener(Ds,e),o.removeEventListener(Ns,e))}function n(o){t.current&&t.current!==o&&r(t.current),o&&o!==t.current&&(o.addEventListener(Ds,e),o.addEventListener(Ns,e),t.current=o)}return h.useEffect(function(){return function(){r(t.current)}},[]),[n,r]});var Fc=st()?v.useLayoutEffect:v.useEffect,Hc=function(t){return+setTimeout(t,16)},Vc=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(Hc=function(t){return window.requestAnimationFrame(t)},Vc=function(t){return window.cancelAnimationFrame(t)});var zs=0,Oo=new Map;function Wc(e){Oo.delete(e)}var Pr=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;zs+=1;var n=zs;function o(i){if(i===0)Wc(n),t();else{var a=Hc(function(){o(i-1)});Oo.set(n,a)}}return o(r),n};Pr.cancel=function(e){var t=Oo.get(e);return Wc(e),Vc(t)};process.env.NODE_ENV!=="production"&&(Pr.ids=function(){return Oo});const Qg=(function(){var e=h.useRef(null);function t(){Pr.cancel(e.current)}function r(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Pr(function(){o<=1?n({isCanceled:function(){return i!==e.current}}):r(n,o-1)});e.current=i}return h.useEffect(function(){return function(){t()}},[]),[r,t]});var Zg=[Rt,wr,Sr,Ea],Jg=[Rt,Nc],qc=!1,e0=!0;function Uc(e){return e===Sr||e===Ea}const t0=(function(e,t,r){var n=fn(ks),o=ne(n,2),i=o[0],a=o[1],l=Qg(),c=ne(l,2),u=c[0],f=c[1];function d(){a(Rt,!0)}var g=t?Jg:Zg;return Fc(function(){if(i!==ks&&i!==Ea){var C=g.indexOf(i),b=g[C+1],w=r(i);w===qc?a(b,!0):b&&u(function(p){function S(){p.isCanceled()||a(b,!0)}w===!0?S():Promise.resolve(w).then(S)})}},[e,i]),h.useEffect(function(){return function(){f()}},[]),[d,i]});function r0(e,t,r,n){var o=n.motionEnter,i=o===void 0?!0:o,a=n.motionAppear,l=a===void 0?!0:a,c=n.motionLeave,u=c===void 0?!0:c,f=n.motionDeadline,d=n.motionLeaveImmediately,g=n.onAppearPrepare,C=n.onEnterPrepare,b=n.onLeavePrepare,w=n.onAppearStart,p=n.onEnterStart,S=n.onLeaveStart,m=n.onAppearActive,O=n.onEnterActive,T=n.onLeaveActive,R=n.onAppearEnd,x=n.onEnterEnd,E=n.onLeaveEnd,$=n.onVisibleChanged,L=fn(),N=ne(L,2),U=N[0],_=N[1],A=qg(Jt),z=ne(A,2),P=z[0],M=z[1],Y=fn(null),W=ne(Y,2),F=W[0],X=W[1],ee=P(),K=v.useRef(!1),re=v.useRef(null);function le(){return r()}var he=v.useRef(!1);function ue(){M(Jt),X(null,!0)}var j=ft(function(be){var we=P();if(we!==Jt){var de=le();if(!(be&&!be.deadline&&be.target!==de)){var oe=he.current,ye;we===qn&&oe?ye=R?.(de,be):we===Un&&oe?ye=x?.(de,be):we===Kn&&oe&&(ye=E?.(de,be)),oe&&ye!==!1&&ue()}}}),k=Xg(j),D=ne(k,1),B=D[0],V=function(we){switch(we){case qn:return te(te(te({},Rt,g),wr,w),Sr,m);case Un:return te(te(te({},Rt,C),wr,p),Sr,O);case Kn:return te(te(te({},Rt,b),wr,S),Sr,T);default:return{}}},q=h.useMemo(function(){return V(ee)},[ee]),Z=t0(ee,!e,function(be){if(be===Rt){var we=q[Rt];return we?we(le()):qc}if(G in q){var de;X(((de=q[G])===null||de===void 0?void 0:de.call(q,le(),null))||null)}return G===Sr&&ee!==Jt&&(B(le()),f>0&&(clearTimeout(re.current),re.current=setTimeout(function(){j({deadline:!0})},f))),G===Nc&&ue(),e0}),I=ne(Z,2),H=I[0],G=I[1],J=Uc(G);he.current=J;var ie=v.useRef(null);Fc(function(){if(!(K.current&&ie.current===t)){_(t);var be=K.current;K.current=!0;var we;!be&&t&&l&&(we=qn),be&&t&&i&&(we=Un),(be&&!t&&u||!be&&d&&!t&&u)&&(we=Kn);var de=V(we);we&&(e||de[Rt])?(M(we),H()):M(Jt),ie.current=t}},[t]),v.useEffect(function(){(ee===qn&&!l||ee===Un&&!i||ee===Kn&&!u)&&M(Jt)},[l,i,u]),v.useEffect(function(){return function(){K.current=!1,clearTimeout(re.current)}},[]);var ae=h.useRef(!1);v.useEffect(function(){U&&(ae.current=!0),U!==void 0&&ee===Jt&&((ae.current||U)&&$?.(U),ae.current=!0)},[U,ee]);var xe=F;return q[Rt]&&G===wr&&(xe=Q({transition:"none"},xe)),[ee,G,xe,U??t]}function n0(e){var t=e;Se(e)==="object"&&(t=e.transitionSupport);function r(o,i){return!!(o.motionName&&t&&i!==!1)}var n=h.forwardRef(function(o,i){var a=o.visible,l=a===void 0?!0:a,c=o.removeOnLeave,u=c===void 0?!0:c,f=o.forceRender,d=o.children,g=o.motionName,C=o.leavedClassName,b=o.eventProps,w=h.useContext(Ac),p=w.motion,S=r(o,p),m=v.useRef(),O=v.useRef();function T(){try{return m.current instanceof HTMLElement?m.current:eo(O.current)}catch{return null}}var R=r0(S,l,T,o),x=ne(R,4),E=x[0],$=x[1],L=x[2],N=x[3],U=h.useRef(N);N&&(U.current=!0);var _=h.useCallback(function(W){m.current=W,ga(i,W)},[i]),A,z=Q(Q({},b),{},{visible:l});if(!d)A=null;else if(E===Jt)N?A=d(Q({},z),_):!u&&U.current&&C?A=d(Q(Q({},z),{},{className:C}),_):f||!u&&!C?A=d(Q(Q({},z),{},{style:{display:"none"}}),_):A=null;else{var P;$===Rt?P="prepare":Uc($)?P="active":$===wr&&(P="start");var M=Bs(g,"".concat(E,"-").concat(P));A=d(Q(Q({},z),{},{className:pe(Bs(g,E),te(te({},M,M&&P),g,typeof g=="string")),style:L}),_)}if(h.isValidElement(A)&&Eo(A)){var Y=ma(A);Y||(A=h.cloneElement(A,{ref:_}))}return h.createElement(Wg,{ref:O},A)});return n.displayName="CSSMotion",n}const Kc=n0(Yg),na=h.createContext(!0);process.env.NODE_ENV!=="production"&&(na.displayName="MotionCacheContext");function o0(e){const t=h.useContext(na),{children:r}=e,[,n]=Dr(),{motion:o}=n,i=h.useRef(!1);return i.current||(i.current=t!==o),i.current?h.createElement(na.Provider,{value:o},h.createElement(Vg,{motion:o},r)):r}const Gc=h.memo(({dropdownMatchSelectWidth:e})=>(kt("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Gc.displayName="PropWarning");const i0=process.env.NODE_ENV!=="production"?Gc:()=>null;var a0=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};let oa=!1;process.env.NODE_ENV;const s0=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"];let Yc;function l0(){return Yc||ta}function c0(e){return Object.keys(e).some(t=>t.endsWith("Color"))}const u0=e=>{const{prefixCls:t,theme:r}=e;t!==void 0&&(Yc=t),r&&c0(r)&&(process.env.NODE_ENV!=="production"&&En(!1,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),ug(l0(),r))},d0=e=>{const{children:t,csp:r,autoInsertSpaceInButton:n,alert:o,anchor:i,form:a,locale:l,componentSize:c,direction:u,space:f,splitter:d,virtual:g,dropdownMatchSelectWidth:C,popupMatchSelectWidth:b,popupOverflow:w,legacyLocale:p,parentContext:S,iconPrefixCls:m,theme:O,componentDisabled:T,segmented:R,statistic:x,spin:E,calendar:$,carousel:L,cascader:N,collapse:U,typography:_,checkbox:A,descriptions:z,divider:P,drawer:M,skeleton:Y,steps:W,image:F,layout:X,list:ee,mentions:K,modal:re,progress:le,result:he,slider:ue,breadcrumb:j,menu:k,pagination:D,input:B,textArea:V,empty:q,badge:Z,radio:I,rate:H,switch:G,transfer:J,avatar:ie,message:ae,tag:xe,table:be,card:we,tabs:de,timeline:oe,timePicker:ye,upload:Ee,notification:Ye,tree:Me,colorPicker:ke,datePicker:Ce,rangePicker:Ae,flex:ze,wave:_e,dropdown:ve,warning:Ne,tour:ce,tooltip:fe,popover:We,popconfirm:At,floatButton:rr,floatButtonGroup:fr,variant:zr,inputNumber:hr,treeSelect:Ct}=e,nt=h.useCallback((Ie,Ue)=>{const{prefixCls:at}=e;if(Ue)return Ue;const it=at||S.getPrefixCls("");return Ie?`${it}-${Ie}`:it},[S.getPrefixCls,e.prefixCls]),qe=m||S.iconPrefixCls||wa,Nt=r||S.csp;Dg(qe,Nt);const ot=Fg(O,S.theme,{prefixCls:nt("")});process.env.NODE_ENV!=="production"&&(oa=oa||!!ot);const Te={csp:Nt,autoInsertSpaceInButton:n,alert:o,anchor:i,locale:l||p,direction:u,space:f,splitter:d,virtual:g,popupMatchSelectWidth:b??C,popupOverflow:w,getPrefixCls:nt,iconPrefixCls:qe,theme:ot,segmented:R,statistic:x,spin:E,calendar:$,carousel:L,cascader:N,collapse:U,typography:_,checkbox:A,descriptions:z,divider:P,drawer:M,skeleton:Y,steps:W,image:F,input:B,textArea:V,layout:X,list:ee,mentions:K,modal:re,progress:le,result:he,slider:ue,breadcrumb:j,menu:k,pagination:D,empty:q,badge:Z,radio:I,rate:H,switch:G,transfer:J,avatar:ie,message:ae,tag:xe,table:be,card:we,tabs:de,timeline:oe,timePicker:ye,upload:Ee,notification:Ye,tree:Me,colorPicker:ke,datePicker:Ce,rangePicker:Ae,flex:ze,wave:_e,dropdown:ve,warning:Ne,tour:ce,tooltip:fe,popover:We,popconfirm:At,floatButton:rr,floatButtonGroup:fr,variant:zr,inputNumber:hr,treeSelect:Ct};process.env.NODE_ENV!=="production"&&kt("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");const Re=Object.assign({},S);Object.keys(Te).forEach(Ie=>{Te[Ie]!==void 0&&(Re[Ie]=Te[Ie])}),s0.forEach(Ie=>{const Ue=e[Ie];Ue&&(Re[Ie]=Ue)}),typeof n<"u"&&(Re.button=Object.assign({autoInsertSpace:n},Re.button));const Je=ha(()=>Re,Re,(Ie,Ue)=>{const at=Object.keys(Ie),it=Object.keys(Ue);return at.length!==it.length||at.some(Ot=>Ie[Ot]!==Ue[Ot])}),{layer:Tt}=h.useContext(Sn),lt=h.useMemo(()=>({prefixCls:qe,csp:Nt,layer:Tt?"antd":void 0}),[qe,Nt,Tt]);let Fe=h.createElement(h.Fragment,null,h.createElement(i0,{dropdownMatchSelectWidth:C}),t);const Kt=h.useMemo(()=>{var Ie,Ue,at,it;return Fh(((Ie=_r.Form)===null||Ie===void 0?void 0:Ie.defaultValidateMessages)||{},((at=(Ue=Je.locale)===null||Ue===void 0?void 0:Ue.Form)===null||at===void 0?void 0:at.defaultValidateMessages)||{},((it=Je.form)===null||it===void 0?void 0:it.validateMessages)||{},a?.validateMessages||{})},[Je,a?.validateMessages]);Object.keys(Kt).length>0&&(Fe=h.createElement(Vh.Provider,{value:Kt},Fe)),l&&(Fe=h.createElement(Sc,{locale:l,_ANT_MARK__:wc},Fe)),Fe=h.createElement(ua.Provider,{value:lt},Fe),c&&(Fe=h.createElement(fg,{size:c},Fe)),Fe=h.createElement(o0,null,Fe);const Dt=h.useMemo(()=>{const Ie=ot||{},{algorithm:Ue,token:at,components:it,cssVar:Ot}=Ie,gr=a0(Ie,["algorithm","token","components","cssVar"]),wt=Ue&&(!Array.isArray(Ue)||Ue.length>0)?Ki(Ue):Rc,ht={};Object.entries(it||{}).forEach(([St,pr])=>{const De=Object.assign({},pr);"algorithm"in De&&(De.algorithm===!0?De.theme=wt:(Array.isArray(De.algorithm)||typeof De.algorithm=="function")&&(De.theme=Ki(De.algorithm)),delete De.algorithm),ht[St]=De});const _t=Object.assign(Object.assign({},mn),at);return Object.assign(Object.assign({},gr),{theme:wt,token:_t,components:ht,override:Object.assign({override:_t},ht),cssVar:Ot})},[ot]);return O&&(Fe=h.createElement(jc.Provider,{value:Dt},Fe)),Je.warning&&(Fe=h.createElement(xc.Provider,{value:Je.warning},Fe)),T!==void 0&&(Fe=h.createElement(dg,{disabled:T},Fe)),h.createElement(Vt.Provider,{value:Je},Fe)},Br=e=>{const t=h.useContext(Vt),r=h.useContext(Ca);return h.createElement(d0,Object.assign({parentContext:t,legacyLocale:r},e))};Br.ConfigContext=Vt;Br.SizeContext=Ir;Br.config=u0;Br.useConfig=hg;Object.defineProperty(Br,"SizeContext",{get:()=>(process.env.NODE_ENV!=="production"&&En(!1,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Ir)});process.env.NODE_ENV!=="production"&&(Br.displayName="ConfigProvider");function Xc(e){var t=e.children,r=e.prefixCls,n=e.id,o=e.overlayInnerStyle,i=e.bodyClassName,a=e.className,l=e.style;return h.createElement("div",{className:pe("".concat(r,"-content"),a),style:l},h.createElement("div",{className:pe("".concat(r,"-inner"),i),id:n,role:"tooltip",style:o},typeof t=="function"?t():t))}var Qc=h.createContext(null),Ls=[];function f0(e,t){var r=h.useState(function(){if(!st())return null;var b=document.createElement("div");return process.env.NODE_ENV!=="production"&&t&&b.setAttribute("data-debug",t),b}),n=ne(r,1),o=n[0],i=h.useRef(!1),a=h.useContext(Qc),l=h.useState(Ls),c=ne(l,2),u=c[0],f=c[1],d=a||(i.current?void 0:function(b){f(function(w){var p=[b].concat(rt(w));return p})});function g(){o.parentElement||document.body.appendChild(o),i.current=!0}function C(){var b;(b=o.parentElement)===null||b===void 0||b.removeChild(o),i.current=!1}return Le(function(){return e?a?a(g):g():C(),C},[e]),Le(function(){u.length&&(u.forEach(function(b){return b()}),f(Ls))},[u]),[o,d]}function h0(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),r=document.createElement("div");r.id=t;var n=r.style;n.position="absolute",n.left="0",n.top="0",n.width="100px",n.height="100px",n.overflow="scroll";var o,i;if(e){var a=getComputedStyle(e);n.scrollbarColor=a.scrollbarColor,n.scrollbarWidth=a.scrollbarWidth;var l=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(l.width,10),u=parseInt(l.height,10);try{var f=c?"width: ".concat(l.width,";"):"",d=u?"height: ".concat(l.height,";"):"";Ht(`
122
+ #`.concat(t,`::-webkit-scrollbar {
123
+ `).concat(f,`
124
+ `).concat(d,`
125
+ }`),t)}catch(b){console.error(b),o=c,i=u}}document.body.appendChild(r);var g=e&&o&&!isNaN(o)?o:r.offsetWidth-r.clientWidth,C=e&&i&&!isNaN(i)?i:r.offsetHeight-r.clientHeight;return document.body.removeChild(r),cn(t),{width:g,height:C}}function g0(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:h0(e)}function p0(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var m0="rc-util-locker-".concat(Date.now()),Fs=0;function v0(e){var t=!!e,r=h.useState(function(){return Fs+=1,"".concat(m0,"_").concat(Fs)}),n=ne(r,1),o=n[0];Le(function(){if(t){var i=g0(document.body).width,a=p0();Ht(`
126
+ html body {
127
+ overflow-y: hidden;
128
+ `.concat(a?"width: calc(100% - ".concat(i,"px);"):"",`
129
+ }`),o)}else cn(o);return function(){cn(o)}},[t,o])}var b0=!1;function y0(e){return b0}var Hs=function(t){return t===!1?!1:!st()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Ra=h.forwardRef(function(e,t){var r=e.open,n=e.autoLock,o=e.getContainer,i=e.debug,a=e.autoDestroy,l=a===void 0?!0:a,c=e.children,u=h.useState(r),f=ne(u,2),d=f[0],g=f[1],C=d||r;process.env.NODE_ENV!=="production"&&Wt(st()||!r,"Portal only work in client side. Please call 'useEffect' to show Portal instead default render in SSR."),h.useEffect(function(){(l||r)&&g(r)},[r,l]);var b=h.useState(function(){return Hs(o)}),w=ne(b,2),p=w[0],S=w[1];h.useEffect(function(){var _=Hs(o);S(_??null)});var m=f0(C&&!p,i),O=ne(m,2),T=O[0],R=O[1],x=p??T;v0(n&&r&&st()&&(x===T||x===document.body));var E=null;if(c&&Eo(c)&&t){var $=c;E=$.ref}var L=pa(E,t);if(!C||!st()||p===void 0)return null;var N=x===!1||y0(),U=c;return t&&(U=h.cloneElement(c,{ref:L})),h.createElement(Qc.Provider,{value:R},N?U:ao.createPortal(U,x))});process.env.NODE_ENV!=="production"&&(Ra.displayName="Portal");function x0(){var e=Q({},h);return e.useId}var Vs=0,Ws=x0();const Zc=Ws?function(t){var r=Ws();return t||(process.env.NODE_ENV==="test"?"test-id":r)}:function(t){var r=h.useState("ssr-id"),n=ne(r,2),o=n[0],i=n[1];return h.useEffect(function(){var a=Vs;Vs+=1,i("rc_unique_".concat(a))},[]),t||(process.env.NODE_ENV==="test"?"test-id":o)},C0=(function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e?.substr(0,4))});function w0(e){var t=e.prefixCls,r=e.align,n=e.arrow,o=e.arrowPos,i=n||{},a=i.className,l=i.content,c=o.x,u=c===void 0?0:c,f=o.y,d=f===void 0?0:f,g=h.useRef();if(!r||!r.points)return null;var C={position:"absolute"};if(r.autoArrow!==!1){var b=r.points[0],w=r.points[1],p=b[0],S=b[1],m=w[0],O=w[1];p===m||!["t","b"].includes(p)?C.top=d:p==="t"?C.top=0:C.bottom=0,S===O||!["l","r"].includes(S)?C.left=u:S==="l"?C.left=0:C.right=0}return h.createElement("div",{ref:g,className:pe("".concat(t,"-arrow"),a),style:C},l)}function S0(e){var t=e.prefixCls,r=e.open,n=e.zIndex,o=e.mask,i=e.motion;return o?h.createElement(Kc,Ze({},i,{motionAppear:!0,visible:r,removeOnLeave:!0}),function(a){var l=a.className;return h.createElement("div",{style:{zIndex:n},className:pe("".concat(t,"-mask"),l)})}):null}var Jc=h.memo(function(e){var t=e.children;return t},function(e,t){return t.cache});process.env.NODE_ENV!=="production"&&(Jc.displayName="PopupContent");var eu=h.forwardRef(function(e,t){var r=e.popup,n=e.className,o=e.prefixCls,i=e.style,a=e.target,l=e.onVisibleChanged,c=e.open,u=e.keepDom,f=e.fresh,d=e.onClick,g=e.mask,C=e.arrow,b=e.arrowPos,w=e.align,p=e.motion,S=e.maskMotion,m=e.forceRender,O=e.getPopupContainer,T=e.autoDestroy,R=e.portal,x=e.zIndex,E=e.onMouseEnter,$=e.onMouseLeave,L=e.onPointerEnter,N=e.onPointerDownCapture,U=e.ready,_=e.offsetX,A=e.offsetY,z=e.offsetR,P=e.offsetB,M=e.onAlign,Y=e.onPrepare,W=e.stretch,F=e.targetWidth,X=e.targetHeight,ee=typeof r=="function"?r():r,K=c||u,re=O?.length>0,le=h.useState(!O||!re),he=ne(le,2),ue=he[0],j=he[1];if(Le(function(){!ue&&re&&a&&j(!0)},[ue,re,a]),!ue)return null;var k="auto",D={left:"-1000vw",top:"-1000vh",right:k,bottom:k};if(U||!c){var B,V=w.points,q=w.dynamicInset||((B=w._experimental)===null||B===void 0?void 0:B.dynamicInset),Z=q&&V[0][1]==="r",I=q&&V[0][0]==="b";Z?(D.right=z,D.left=k):(D.left=_,D.right=k),I?(D.bottom=P,D.top=k):(D.top=A,D.bottom=k)}var H={};return W&&(W.includes("height")&&X?H.height=X:W.includes("minHeight")&&X&&(H.minHeight=X),W.includes("width")&&F?H.width=F:W.includes("minWidth")&&F&&(H.minWidth=F)),c||(H.pointerEvents="none"),h.createElement(R,{open:m||K,getContainer:O&&function(){return O(a)},autoDestroy:T},h.createElement(S0,{prefixCls:o,open:c,zIndex:x,mask:g,motion:S}),h.createElement(Ar,{onResize:M,disabled:!c},function(G){return h.createElement(Kc,Ze({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:m,leavedClassName:"".concat(o,"-hidden")},p,{onAppearPrepare:Y,onEnterPrepare:Y,visible:c,onVisibleChanged:function(ie){var ae;p==null||(ae=p.onVisibleChanged)===null||ae===void 0||ae.call(p,ie),l(ie)}}),function(J,ie){var ae=J.className,xe=J.style,be=pe(o,ae,n);return h.createElement("div",{ref:xn(G,t,ie),className:be,style:Q(Q(Q(Q({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},D),H),xe),{},{boxSizing:"border-box",zIndex:x},i),onMouseEnter:E,onMouseLeave:$,onPointerEnter:L,onClick:d,onPointerDownCapture:N},C&&h.createElement(w0,{prefixCls:o,arrow:C,arrowPos:b,align:w}),h.createElement(Jc,{cache:!c&&!f},ee))})}))});process.env.NODE_ENV!=="production"&&(eu.displayName="Popup");var tu=h.forwardRef(function(e,t){var r=e.children,n=e.getTriggerDOMNode,o=Eo(r),i=h.useCallback(function(l){ga(t,n?n(l):l)},[n]),a=pa(i,ma(r));return o?h.cloneElement(r,{ref:a}):r});process.env.NODE_ENV!=="production"&&(tu.displayName="TriggerWrapper");var qs=h.createContext(null);function Us(e){return e?Array.isArray(e)?e:[e]:[]}function E0(e,t,r,n){return h.useMemo(function(){var o=Us(r??t),i=Us(n??t),a=new Set(o),l=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),l.has("hover")&&(l.delete("hover"),l.add("click"))),[a,l]},[e,t,r,n])}const R0=(function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),r=t.width,n=t.height;if(r||n)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1});function j0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return r?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function $0(e,t,r,n){for(var o=r.points,i=Object.keys(e),a=0;a<i.length;a+=1){var l,c=i[a];if(j0((l=e[c])===null||l===void 0?void 0:l.points,o,n))return"".concat(t,"-placement-").concat(c)}return""}function Ks(e,t,r,n){return t||(r?{motionName:"".concat(e,"-").concat(r)}:n?{motionName:n}:null)}function jn(e){return e.ownerDocument.defaultView}function ia(e){for(var t=[],r=e?.parentElement,n=["hidden","scroll","clip","auto"];r;){var o=jn(r).getComputedStyle(r),i=o.overflowX,a=o.overflowY,l=o.overflow;[i,a,l].some(function(c){return n.includes(c)})&&t.push(r),r=r.parentElement}return t}function bn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function tn(e){return bn(parseFloat(e),0)}function Gs(e,t){var r=Q({},e);return(t||[]).forEach(function(n){if(!(n instanceof HTMLBodyElement||n instanceof HTMLHtmlElement)){var o=jn(n).getComputedStyle(n),i=o.overflow,a=o.overflowClipMargin,l=o.borderTopWidth,c=o.borderBottomWidth,u=o.borderLeftWidth,f=o.borderRightWidth,d=n.getBoundingClientRect(),g=n.offsetHeight,C=n.clientHeight,b=n.offsetWidth,w=n.clientWidth,p=tn(l),S=tn(c),m=tn(u),O=tn(f),T=bn(Math.round(d.width/b*1e3)/1e3),R=bn(Math.round(d.height/g*1e3)/1e3),x=(b-w-m-O)*T,E=(g-C-p-S)*R,$=p*R,L=S*R,N=m*T,U=O*T,_=0,A=0;if(i==="clip"){var z=tn(a);_=z*T,A=z*R}var P=d.x+N-_,M=d.y+$-A,Y=P+d.width+2*_-N-U-x,W=M+d.height+2*A-$-L-E;r.left=Math.max(r.left,P),r.top=Math.max(r.top,M),r.right=Math.min(r.right,Y),r.bottom=Math.min(r.bottom,W)}}),r}function Ys(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r="".concat(t),n=r.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(r)}function Xs(e,t){var r=t||[],n=ne(r,2),o=n[0],i=n[1];return[Ys(e.width,o),Ys(e.height,i)]}function Qs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function yr(e,t){var r=t[0],n=t[1],o,i;return r==="t"?i=e.y:r==="b"?i=e.y+e.height:i=e.y+e.height/2,n==="l"?o=e.x:n==="r"?o=e.x+e.width:o=e.x+e.width/2,{x:o,y:i}}function Zt(e,t){var r={t:"b",b:"t",l:"r",r:"l"};return e.map(function(n,o){return o===t?r[n]||"c":n}).join("")}function T0(e,t,r,n,o,i,a){var l=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:o[n]||{}}),c=ne(l,2),u=c[0],f=c[1],d=h.useRef(0),g=h.useMemo(function(){return t?ia(t):[]},[t]),C=h.useRef({}),b=function(){C.current={}};e||b();var w=ft(function(){if(t&&r&&e){let gt=function(Wr,Bt){var Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ye,qr=K.x+Wr,Dn=K.y+Bt,Ho=qr+I,Vo=Dn+Z,Wo=Math.max(qr,Qt.left),se=Math.max(Dn,Qt.top),ge=Math.min(Ho,Qt.right),Be=Math.min(Vo,Qt.bottom);return Math.max(0,(ge-Wo)*(Be-se))},vr=function(){wt=K.y+Re,ht=wt+Z,_t=K.x+Te,St=_t+I};var m,O,T,R,x=t,E=x.ownerDocument,$=jn(x),L=$.getComputedStyle(x),N=L.position,U=x.style.left,_=x.style.top,A=x.style.right,z=x.style.bottom,P=x.style.overflow,M=Q(Q({},o[n]),i),Y=E.createElement("div");(m=x.parentElement)===null||m===void 0||m.appendChild(Y),Y.style.left="".concat(x.offsetLeft,"px"),Y.style.top="".concat(x.offsetTop,"px"),Y.style.position=N,Y.style.height="".concat(x.offsetHeight,"px"),Y.style.width="".concat(x.offsetWidth,"px"),x.style.left="0",x.style.top="0",x.style.right="auto",x.style.bottom="auto",x.style.overflow="hidden";var W;if(Array.isArray(r))W={x:r[0],y:r[1],width:0,height:0};else{var F,X,ee=r.getBoundingClientRect();ee.x=(F=ee.x)!==null&&F!==void 0?F:ee.left,ee.y=(X=ee.y)!==null&&X!==void 0?X:ee.top,W={x:ee.x,y:ee.y,width:ee.width,height:ee.height}}var K=x.getBoundingClientRect(),re=$.getComputedStyle(x),le=re.height,he=re.width;K.x=(O=K.x)!==null&&O!==void 0?O:K.left,K.y=(T=K.y)!==null&&T!==void 0?T:K.top;var ue=E.documentElement,j=ue.clientWidth,k=ue.clientHeight,D=ue.scrollWidth,B=ue.scrollHeight,V=ue.scrollTop,q=ue.scrollLeft,Z=K.height,I=K.width,H=W.height,G=W.width,J={left:0,top:0,right:j,bottom:k},ie={left:-q,top:-V,right:D-q,bottom:B-V},ae=M.htmlRegion,xe="visible",be="visibleFirst";ae!=="scroll"&&ae!==be&&(ae=xe);var we=ae===be,de=Gs(ie,g),oe=Gs(J,g),ye=ae===xe?oe:de,Ee=we?oe:ye;x.style.left="auto",x.style.top="auto",x.style.right="0",x.style.bottom="0";var Ye=x.getBoundingClientRect();x.style.left=U,x.style.top=_,x.style.right=A,x.style.bottom=z,x.style.overflow=P,(R=x.parentElement)===null||R===void 0||R.removeChild(Y);var Me=bn(Math.round(I/parseFloat(he)*1e3)/1e3),ke=bn(Math.round(Z/parseFloat(le)*1e3)/1e3);if(Me===0||ke===0||dn(r)&&!R0(r))return;var Ce=M.offset,Ae=M.targetOffset,ze=Xs(K,Ce),_e=ne(ze,2),ve=_e[0],Ne=_e[1],ce=Xs(W,Ae),fe=ne(ce,2),We=fe[0],At=fe[1];W.x-=We,W.y-=At;var rr=M.points||[],fr=ne(rr,2),zr=fr[0],hr=fr[1],Ct=Qs(hr),nt=Qs(zr),qe=yr(W,Ct),Nt=yr(K,nt),ot=Q({},M),Te=qe.x-Nt.x+ve,Re=qe.y-Nt.y+Ne,Je=gt(Te,Re),Tt=gt(Te,Re,oe),lt=yr(W,["t","l"]),Fe=yr(K,["t","l"]),Kt=yr(W,["b","r"]),Dt=yr(K,["b","r"]),Ie=M.overflow||{},Ue=Ie.adjustX,at=Ie.adjustY,it=Ie.shiftX,Ot=Ie.shiftY,gr=function(Bt){return typeof Bt=="boolean"?Bt:Bt>=0},wt,ht,_t,St;vr();var pr=gr(at),De=nt[0]===Ct[0];if(pr&&nt[0]==="t"&&(ht>Ee.bottom||C.current.bt)){var nr=Re;De?nr-=Z-H:nr=lt.y-Dt.y-Ne;var Tn=gt(Te,nr),Io=gt(Te,nr,oe);Tn>Je||Tn===Je&&(!we||Io>=Tt)?(C.current.bt=!0,Re=nr,Ne=-Ne,ot.points=[Zt(nt,0),Zt(Ct,0)]):C.current.bt=!1}if(pr&&nt[0]==="b"&&(wt<Ee.top||C.current.tb)){var or=Re;De?or+=Z-H:or=Kt.y-Fe.y-Ne;var On=gt(Te,or),Po=gt(Te,or,oe);On>Je||On===Je&&(!we||Po>=Tt)?(C.current.tb=!0,Re=or,Ne=-Ne,ot.points=[Zt(nt,0),Zt(Ct,0)]):C.current.tb=!1}var _n=gr(Ue),In=nt[1]===Ct[1];if(_n&&nt[1]==="l"&&(St>Ee.right||C.current.rl)){var ir=Te;In?ir-=I-G:ir=lt.x-Dt.x-ve;var ar=gt(ir,Re),Lr=gt(ir,Re,oe);ar>Je||ar===Je&&(!we||Lr>=Tt)?(C.current.rl=!0,Te=ir,ve=-ve,ot.points=[Zt(nt,1),Zt(Ct,1)]):C.current.rl=!1}if(_n&&nt[1]==="r"&&(_t<Ee.left||C.current.lr)){var sr=Te;In?sr+=I-G:sr=Kt.x-Fe.x-ve;var Fr=gt(sr,Re),mr=gt(sr,Re,oe);Fr>Je||Fr===Je&&(!we||mr>=Tt)?(C.current.lr=!0,Te=sr,ve=-ve,ot.points=[Zt(nt,1),Zt(Ct,1)]):C.current.lr=!1}vr();var Et=it===!0?0:it;typeof Et=="number"&&(_t<oe.left&&(Te-=_t-oe.left-ve,W.x+G<oe.left+Et&&(Te+=W.x-oe.left+G-Et)),St>oe.right&&(Te-=St-oe.right-ve,W.x>oe.right-Et&&(Te+=W.x-oe.right+Et)));var Gt=Ot===!0?0:Ot;typeof Gt=="number"&&(wt<oe.top&&(Re-=wt-oe.top-Ne,W.y+H<oe.top+Gt&&(Re+=W.y-oe.top+H-Gt)),ht>oe.bottom&&(Re-=ht-oe.bottom-Ne,W.y>oe.bottom-Gt&&(Re+=W.y-oe.bottom+Gt)));var Yt=K.x+Te,Xt=Yt+I,Hr=K.y+Re,Mo=Hr+Z,Pn=W.x,Mn=Pn+G,kn=W.y,ko=kn+H,Ao=Math.max(Yt,Pn),An=Math.min(Xt,Mn),No=(Ao+An)/2,Do=No-Yt,Nn=Math.max(Hr,kn),Bo=Math.min(Mo,ko),zo=(Nn+Bo)/2,Lo=zo-Hr;a?.(t,ot);var It=Ye.right-K.x-(Te+K.width),Vr=Ye.bottom-K.y-(Re+K.height);Me===1&&(Te=Math.round(Te),It=Math.round(It)),ke===1&&(Re=Math.round(Re),Vr=Math.round(Vr));var Fo={ready:!0,offsetX:Te/Me,offsetY:Re/ke,offsetR:It/Me,offsetB:Vr/ke,arrowX:Do/Me,arrowY:Lo/ke,scaleX:Me,scaleY:ke,align:ot};f(Fo)}}),p=function(){d.current+=1;var O=d.current;Promise.resolve().then(function(){d.current===O&&w()})},S=function(){f(function(O){return Q(Q({},O),{},{ready:!1})})};return Le(S,[n]),Le(function(){e||S()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,p]}function O0(e,t,r,n,o){Le(function(){if(e&&t&&r){let d=function(){n(),o()};var i=t,a=r,l=ia(i),c=ia(a),u=jn(a),f=new Set([u].concat(rt(l),rt(c)));return f.forEach(function(g){g.addEventListener("scroll",d,{passive:!0})}),u.addEventListener("resize",d,{passive:!0}),n(),function(){f.forEach(function(g){g.removeEventListener("scroll",d),u.removeEventListener("resize",d)})}}},[e,t,r])}function _0(e,t,r,n,o,i,a,l){var c=h.useRef(e);c.current=e;var u=h.useRef(!1);h.useEffect(function(){if(t&&n&&(!o||i)){var d=function(){u.current=!1},g=function(T){var R;c.current&&!a(((R=T.composedPath)===null||R===void 0||(R=R.call(T))===null||R===void 0?void 0:R[0])||T.target)&&!u.current&&l(!1)},C=jn(n);C.addEventListener("pointerdown",d,!0),C.addEventListener("mousedown",g,!0),C.addEventListener("contextmenu",g,!0);var b=fo(r);if(b&&(b.addEventListener("mousedown",g,!0),b.addEventListener("contextmenu",g,!0)),process.env.NODE_ENV!=="production"){var w,p,S=r==null||(w=r.getRootNode)===null||w===void 0?void 0:w.call(r),m=(p=n.getRootNode)===null||p===void 0?void 0:p.call(n);Rr(S===m,"trigger element and popup element should in same shadow root.")}return function(){C.removeEventListener("pointerdown",d,!0),C.removeEventListener("mousedown",g,!0),C.removeEventListener("contextmenu",g,!0),b&&(b.removeEventListener("mousedown",g,!0),b.removeEventListener("contextmenu",g,!0))}}},[t,r,n,o,i]);function f(){u.current=!0}return f}var I0=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function P0(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ra,t=h.forwardRef(function(r,n){var o=r.prefixCls,i=o===void 0?"rc-trigger-popup":o,a=r.children,l=r.action,c=l===void 0?"hover":l,u=r.showAction,f=r.hideAction,d=r.popupVisible,g=r.defaultPopupVisible,C=r.onPopupVisibleChange,b=r.afterPopupVisibleChange,w=r.mouseEnterDelay,p=r.mouseLeaveDelay,S=p===void 0?.1:p,m=r.focusDelay,O=r.blurDelay,T=r.mask,R=r.maskClosable,x=R===void 0?!0:R,E=r.getPopupContainer,$=r.forceRender,L=r.autoDestroy,N=r.destroyPopupOnHide,U=r.popup,_=r.popupClassName,A=r.popupStyle,z=r.popupPlacement,P=r.builtinPlacements,M=P===void 0?{}:P,Y=r.popupAlign,W=r.zIndex,F=r.stretch,X=r.getPopupClassNameFromAlign,ee=r.fresh,K=r.alignPoint,re=r.onPopupClick,le=r.onPopupAlign,he=r.arrow,ue=r.popupMotion,j=r.maskMotion,k=r.popupTransitionName,D=r.popupAnimation,B=r.maskTransitionName,V=r.maskAnimation,q=r.className,Z=r.getTriggerDOMNode,I=$t(r,I0),H=L||N||!1,G=h.useState(!1),J=ne(G,2),ie=J[0],ae=J[1];Le(function(){ae(C0())},[]);var xe=h.useRef({}),be=h.useContext(qs),we=h.useMemo(function(){return{registerSubPopup:function(ge,Be){xe.current[ge]=Be,be?.registerSubPopup(ge,Be)}}},[be]),de=Zc(),oe=h.useState(null),ye=ne(oe,2),Ee=ye[0],Ye=ye[1],Me=h.useRef(null),ke=ft(function(se){Me.current=se,dn(se)&&Ee!==se&&Ye(se),be?.registerSubPopup(de,se)}),Ce=h.useState(null),Ae=ne(Ce,2),ze=Ae[0],_e=Ae[1],ve=h.useRef(null),Ne=ft(function(se){dn(se)&&ze!==se&&(_e(se),ve.current=se)}),ce=h.Children.only(a),fe=ce?.props||{},We={},At=ft(function(se){var ge,Be,Xe=ze;return Xe?.contains(se)||((ge=fo(Xe))===null||ge===void 0?void 0:ge.host)===se||se===Xe||Ee?.contains(se)||((Be=fo(Ee))===null||Be===void 0?void 0:Be.host)===se||se===Ee||Object.values(xe.current).some(function(He){return He?.contains(se)||se===He})}),rr=Ks(i,ue,D,k),fr=Ks(i,j,V,B),zr=h.useState(g||!1),hr=ne(zr,2),Ct=hr[0],nt=hr[1],qe=d??Ct,Nt=ft(function(se){d===void 0&&nt(se)});Le(function(){nt(d||!1)},[d]);var ot=h.useRef(qe);ot.current=qe;var Te=h.useRef([]);Te.current=[];var Re=ft(function(se){var ge;Nt(se),((ge=Te.current[Te.current.length-1])!==null&&ge!==void 0?ge:qe)!==se&&(Te.current.push(se),C?.(se))}),Je=h.useRef(),Tt=function(){clearTimeout(Je.current)},lt=function(ge){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Tt(),Be===0?Re(ge):Je.current=setTimeout(function(){Re(ge)},Be*1e3)};h.useEffect(function(){return Tt},[]);var Fe=h.useState(!1),Kt=ne(Fe,2),Dt=Kt[0],Ie=Kt[1];Le(function(se){(!se||qe)&&Ie(!0)},[qe]);var Ue=h.useState(null),at=ne(Ue,2),it=at[0],Ot=at[1],gr=h.useState(null),wt=ne(gr,2),ht=wt[0],_t=wt[1],St=function(ge){_t([ge.clientX,ge.clientY])},pr=T0(qe,Ee,K&&ht!==null?ht:ze,z,M,Y,le),De=ne(pr,11),nr=De[0],Tn=De[1],Io=De[2],or=De[3],On=De[4],Po=De[5],_n=De[6],In=De[7],ir=De[8],ar=De[9],Lr=De[10],sr=E0(ie,c,u,f),Fr=ne(sr,2),mr=Fr[0],Et=Fr[1],Gt=mr.has("click"),Yt=Et.has("click")||Et.has("contextMenu"),Xt=ft(function(){Dt||Lr()}),Hr=function(){ot.current&&K&&Yt&&lt(!1)};O0(qe,ze,Ee,Xt,Hr),Le(function(){Xt()},[ht,z]),Le(function(){qe&&!(M!=null&&M[z])&&Xt()},[JSON.stringify(Y)]);var Mo=h.useMemo(function(){var se=$0(M,i,ar,K);return pe(se,X?.(ar))},[ar,X,M,i,K]);h.useImperativeHandle(n,function(){return{nativeElement:ve.current,popupElement:Me.current,forceAlign:Xt}});var Pn=h.useState(0),Mn=ne(Pn,2),kn=Mn[0],ko=Mn[1],Ao=h.useState(0),An=ne(Ao,2),No=An[0],Do=An[1],Nn=function(){if(F&&ze){var ge=ze.getBoundingClientRect();ko(ge.width),Do(ge.height)}},Bo=function(){Nn(),Xt()},zo=function(ge){Ie(!1),Lr(),b?.(ge)},Lo=function(){return new Promise(function(ge){Nn(),Ot(function(){return ge})})};Le(function(){it&&(Lr(),it(),Ot(null))},[it]);function It(se,ge,Be,Xe){We[se]=function(He){var Bn;Xe?.(He),lt(ge,Be);for(var qo=arguments.length,Ia=new Array(qo>1?qo-1:0),zn=1;zn<qo;zn++)Ia[zn-1]=arguments[zn];(Bn=fe[se])===null||Bn===void 0||Bn.call.apply(Bn,[fe,He].concat(Ia))}}(Gt||Yt)&&(We.onClick=function(se){var ge;ot.current&&Yt?lt(!1):!ot.current&&Gt&&(St(se),lt(!0));for(var Be=arguments.length,Xe=new Array(Be>1?Be-1:0),He=1;He<Be;He++)Xe[He-1]=arguments[He];(ge=fe.onClick)===null||ge===void 0||ge.call.apply(ge,[fe,se].concat(Xe))});var Vr=_0(qe,Yt,ze,Ee,T,x,At,lt),Fo=mr.has("hover"),gt=Et.has("hover"),vr,Wr;Fo&&(It("onMouseEnter",!0,w,function(se){St(se)}),It("onPointerEnter",!0,w,function(se){St(se)}),vr=function(ge){(qe||Dt)&&Ee!==null&&Ee!==void 0&&Ee.contains(ge.target)&&lt(!0,w)},K&&(We.onMouseMove=function(se){var ge;(ge=fe.onMouseMove)===null||ge===void 0||ge.call(fe,se)})),gt&&(It("onMouseLeave",!1,S),It("onPointerLeave",!1,S),Wr=function(){lt(!1,S)}),mr.has("focus")&&It("onFocus",!0,m),Et.has("focus")&&It("onBlur",!1,O),mr.has("contextMenu")&&(We.onContextMenu=function(se){var ge;ot.current&&Et.has("contextMenu")?lt(!1):(St(se),lt(!0)),se.preventDefault();for(var Be=arguments.length,Xe=new Array(Be>1?Be-1:0),He=1;He<Be;He++)Xe[He-1]=arguments[He];(ge=fe.onContextMenu)===null||ge===void 0||ge.call.apply(ge,[fe,se].concat(Xe))}),q&&(We.className=pe(fe.className,q));var Bt=h.useRef(!1);Bt.current||(Bt.current=$||qe||Dt);var Qt=Q(Q({},fe),We),qr={},Dn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Dn.forEach(function(se){I[se]&&(qr[se]=function(){for(var ge,Be=arguments.length,Xe=new Array(Be),He=0;He<Be;He++)Xe[He]=arguments[He];(ge=Qt[se])===null||ge===void 0||ge.call.apply(ge,[Qt].concat(Xe)),I[se].apply(I,Xe)})});var Ho=h.cloneElement(ce,Q(Q({},Qt),qr)),Vo={x:Po,y:_n},Wo=he?Q({},he!==!0?he:{}):null;return h.createElement(h.Fragment,null,h.createElement(Ar,{disabled:!qe,ref:Ne,onResize:Bo},h.createElement(tu,{getTriggerDOMNode:Z},Ho)),Bt.current&&h.createElement(qs.Provider,{value:we},h.createElement(eu,{portal:e,ref:ke,prefixCls:i,popup:U,className:pe(_,Mo),style:A,target:ze,onMouseEnter:vr,onMouseLeave:Wr,onPointerEnter:vr,zIndex:W,open:qe,keepDom:Dt,fresh:ee,onClick:re,onPointerDownCapture:Vr,mask:T,motion:rr,maskMotion:fr,onVisibleChanged:zo,onPrepare:Lo,forceRender:$,autoDestroy:H,getPopupContainer:E,align:ar,arrow:Wo,arrowPos:Vo,ready:nr,offsetX:Tn,offsetY:Io,offsetR:or,offsetB:On,onAlign:Xt,stretch:F,targetWidth:kn/In,targetHeight:No/ir})))});return process.env.NODE_ENV!=="production"&&(t.displayName="Trigger"),t}const M0=P0(Ra);var xr={shiftX:64,adjustY:1},Cr={adjustX:1,shiftY:!0},mt=[0,0],k0={left:{points:["cr","cl"],overflow:Cr,offset:[-4,0],targetOffset:mt},right:{points:["cl","cr"],overflow:Cr,offset:[4,0],targetOffset:mt},top:{points:["bc","tc"],overflow:xr,offset:[0,-4],targetOffset:mt},bottom:{points:["tc","bc"],overflow:xr,offset:[0,4],targetOffset:mt},topLeft:{points:["bl","tl"],overflow:xr,offset:[0,-4],targetOffset:mt},leftTop:{points:["tr","tl"],overflow:Cr,offset:[-4,0],targetOffset:mt},topRight:{points:["br","tr"],overflow:xr,offset:[0,-4],targetOffset:mt},rightTop:{points:["tl","tr"],overflow:Cr,offset:[4,0],targetOffset:mt},bottomRight:{points:["tr","br"],overflow:xr,offset:[0,4],targetOffset:mt},rightBottom:{points:["bl","br"],overflow:Cr,offset:[4,0],targetOffset:mt},bottomLeft:{points:["tl","bl"],overflow:xr,offset:[0,4],targetOffset:mt},leftBottom:{points:["br","bl"],overflow:Cr,offset:[-4,0],targetOffset:mt}},A0=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],N0=function(t,r){var n=t.overlayClassName,o=t.trigger,i=o===void 0?["hover"]:o,a=t.mouseEnterDelay,l=a===void 0?0:a,c=t.mouseLeaveDelay,u=c===void 0?.1:c,f=t.overlayStyle,d=t.prefixCls,g=d===void 0?"rc-tooltip":d,C=t.children,b=t.onVisibleChange,w=t.afterVisibleChange,p=t.transitionName,S=t.animation,m=t.motion,O=t.placement,T=O===void 0?"right":O,R=t.align,x=R===void 0?{}:R,E=t.destroyTooltipOnHide,$=E===void 0?!1:E,L=t.defaultVisible,N=t.getTooltipContainer,U=t.overlayInnerStyle,_=t.overlay,A=t.id,z=t.showArrow,P=z===void 0?!0:z,M=t.classNames,Y=t.styles,W=$t(t,A0),F=Zc(A),X=v.useRef(null);v.useImperativeHandle(r,function(){return X.current});var ee=Q({},W);"visible"in t&&(ee.popupVisible=t.visible);var K=function(){return h.createElement(Xc,{key:"content",prefixCls:g,id:F,bodyClassName:M?.body,overlayInnerStyle:Q(Q({},U),Y?.body)},_)},re=function(){var he=h.Children.only(C),ue=he?.props||{},j=Q(Q({},ue),{},{"aria-describedby":_?F:null});return h.cloneElement(C,j)};return h.createElement(M0,Ze({popupClassName:pe(n,M?.root),prefixCls:g,popup:K,action:i,builtinPlacements:k0,popupPlacement:T,ref:X,popupAlign:x,getPopupContainer:N,onPopupVisibleChange:b,afterPopupVisibleChange:w,popupTransitionName:p,popupAnimation:S,popupMotion:m,defaultPopupVisible:L,autoDestroy:$,mouseLeaveDelay:u,popupStyle:Q(Q({},f),Y?.root),mouseEnterDelay:l,arrow:P},ee),re())};const D0=v.forwardRef(N0),yn=h.createContext({});process.env.NODE_ENV!=="production"&&(yn.displayName="FormItemInputContext");const B0=({children:e,status:t,override:r})=>{const n=h.useContext(yn),o=h.useMemo(()=>{const i=Object.assign({},n);return r&&delete i.isFormItemInput,t&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[t,r,n]);return h.createElement(yn.Provider,{value:o},e)},z0=h.createContext(void 0),ru=e=>{const t=v.useContext(Ir);return v.useMemo(()=>e?typeof e=="string"?e??t:typeof e=="function"?e(t):t:t,[e,t])},nu=h.createContext(null),ou=(e,t)=>{const r=h.useContext(nu),n=h.useMemo(()=>{if(!r)return"";const{compactDirection:o,isFirstItem:i,isLastItem:a}=r,l=o==="vertical"?"-vertical-":"-";return pe(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:t==="rtl"})},[e,t,r]);return{compactSize:r?.compactSize,compactDirection:r?.compactDirection,compactItemClassnames:n}},L0=e=>{const{children:t}=e;return h.createElement(nu.Provider,{value:null},t)},aa=e=>{const{space:t,form:r,children:n}=e;if(n==null)return null;let o=n;return r&&(o=v.createElement(B0,{override:!0,status:!0},o)),t&&(o=v.createElement(L0,null,o)),o},ja=v.createContext(void 0);process.env.NODE_ENV!=="production"&&(ja.displayName="zIndexContext");const Lt=100,F0=10,H0=Lt*F0,V0=H0+Lt,iu={Modal:Lt,Drawer:Lt,Popover:Lt,Popconfirm:Lt,Tooltip:Lt,Tour:Lt,FloatButton:Lt},W0={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function q0(e){return e in iu}const U0=(e,t)=>{const[,r]=Dr(),n=v.useContext(ja),o=q0(e);let i;if(t!==void 0)i=[t,t];else{let a=n??0;o?a+=(n?0:r.zIndexPopupBase)+iu[e]:a+=W0[e],i=[n===void 0?t:a,a]}if(process.env.NODE_ENV!=="production"){const a=kt(e),l=r.zIndexPopupBase+V0,c=i[0]||0;process.env.NODE_ENV!=="production"&&a(t!==void 0||c<=l,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.")}return i},K0=(e,t,r)=>r!==void 0?r:`${e}-${t}`;function G0(e){const{sizePopupArrow:t,borderRadiusXS:r,borderRadiusOuter:n}=e,o=t/2,i=0,a=o,l=n*1/Math.sqrt(2),c=o-n*(1-1/Math.sqrt(2)),u=o-r*(1/Math.sqrt(2)),f=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),d=2*o-u,g=f,C=2*o-l,b=c,w=2*o-i,p=a,S=o*Math.sqrt(2)+n*(Math.sqrt(2)-2),m=n*(Math.sqrt(2)-1),O=`polygon(${m}px 100%, 50% ${m}px, ${2*o-m}px 100%, ${m}px 100%)`,T=`path('M ${i} ${a} A ${n} ${n} 0 0 0 ${l} ${c} L ${u} ${f} A ${r} ${r} 0 0 1 ${d} ${g} L ${C} ${b} A ${n} ${n} 0 0 0 ${w} ${p} Z')`;return{arrowShadowWidth:S,arrowPath:T,arrowPolygon:O}}const Y0=(e,t,r)=>{const{sizePopupArrow:n,arrowPolygon:o,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:l,calc:c}=e;return{pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:c(n).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[o,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Oe(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}},au=8;function su(e){const{contentRadius:t,limitVerticalRadius:r}=e,n=t>12?t+2:12;return{arrowOffsetHorizontal:n,arrowOffsetVertical:r?au:n}}function Yn(e,t){return e?t:{}}function X0(e,t,r){const{componentCls:n,boxShadowPopoverArrow:o,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:l=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}={};return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({[`${n}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},Y0(e,t,o)),{"&:before":{background:t}})]},Yn(!!c.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Oe(a)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),Yn(!!c.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${n}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Oe(a)})`,[`> ${n}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),Yn(!!c.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:!0,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:i},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:i}})),Yn(!!c.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:!0,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:i},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:i}}))}}function Q0(e,t,r,n){if(n===!1)return{adjustX:!1,adjustY:!1};const o=n&&typeof n=="object"?n:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+r,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+r,i.shiftX=!0,i.adjustX=!0;break}const a=Object.assign(Object.assign({},i),o);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const Zs={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Z0={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},J0=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function ep(e){const{arrowWidth:t,autoAdjustOverflow:r,arrowPointAtCenter:n,offset:o,borderRadius:i}=e,a=t/2,l={},c=su({contentRadius:i,limitVerticalRadius:!0});return Object.keys(Zs).forEach(u=>{const f=n&&Z0[u]||Zs[u],d=Object.assign(Object.assign({},f),{offset:[0,0],dynamicInset:!0});switch(l[u]=d,J0.has(u)&&(d.autoArrow=!1),u){case"top":case"topLeft":case"topRight":d.offset[1]=-a-o;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=a+o;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-a-o;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=a+o;break}if(n)switch(u){case"topLeft":case"bottomLeft":d.offset[0]=-c.arrowOffsetHorizontal-a;break;case"topRight":case"bottomRight":d.offset[0]=c.arrowOffsetHorizontal+a;break;case"leftTop":case"rightTop":d.offset[1]=-c.arrowOffsetHorizontal*2+a;break;case"leftBottom":case"rightBottom":d.offset[1]=c.arrowOffsetHorizontal*2-a;break}d.overflow=Q0(u,c,t,r),d.htmlRegion="visibleFirst"}),l}function tp(e){return e&&v.isValidElement(e)&&e.type===v.Fragment}const rp=(e,t,r)=>v.isValidElement(e)?v.cloneElement(e,typeof r=="function"?r(e.props||{}):r):t;function lu(e,t){return rp(e,e,t)}const np=e=>({animationDuration:e,animationFillMode:"both"}),op=e=>({animationDuration:e,animationFillMode:"both"}),ip=(e,t,r,n,o=!1)=>{const i=o?"&":"";return{[`
130
+ ${i}${e}-enter,
131
+ ${i}${e}-appear
132
+ `]:Object.assign(Object.assign({},np(n)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},op(n)),{animationPlayState:"paused"}),[`
133
+ ${i}${e}-enter${e}-enter-active,
134
+ ${i}${e}-appear${e}-appear-active
135
+ `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:r,animationPlayState:"running",pointerEvents:"none"}}},ap=new xt("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),sp=new xt("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Js=new xt("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),el=new xt("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),lp=new xt("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),cp=new xt("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),up=new xt("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),dp=new xt("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),fp=new xt("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),hp=new xt("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),gp=new xt("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),pp=new xt("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),mp={zoom:{inKeyframes:ap,outKeyframes:sp},"zoom-big":{inKeyframes:Js,outKeyframes:el},"zoom-big-fast":{inKeyframes:Js,outKeyframes:el},"zoom-left":{inKeyframes:up,outKeyframes:dp},"zoom-right":{inKeyframes:fp,outKeyframes:hp},"zoom-up":{inKeyframes:lp,outKeyframes:cp},"zoom-down":{inKeyframes:gp,outKeyframes:pp}},vp=(e,t)=>{const{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:o,outKeyframes:i}=mp[t];return[ip(n,o,i,e.motionDurationFast),{[`
136
+ ${n}-enter,
137
+ ${n}-appear
138
+ `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},bp=e=>{const{calc:t,componentCls:r,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:l,controlHeight:c,boxShadowSecondary:u,paddingSM:f,paddingXS:d,arrowOffsetHorizontal:g,sizePopupArrow:C}=e,b=t(a).add(C).add(g).equal(),w=t(a).mul(2).add(C).equal();return[{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},Sa(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${r}-inner`]:{minWidth:w,minHeight:c,padding:`${Oe(e.calc(f).div(2).equal())} ${Oe(d)}`,color:`var(--ant-tooltip-color, ${o})`,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:u,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:b},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${r}-inner`]:{borderRadius:e.min(a,au)}},[`${r}-content`]:{position:"relative"}}),Ng(e,(p,{darkColor:S})=>({[`&${r}-${p}`]:{[`${r}-inner`]:{backgroundColor:S},[`${r}-arrow`]:{"--antd-arrow-background-color":S}}}))),{"&-rtl":{direction:"rtl"}})},X0(e,"var(--antd-arrow-background-color)"),{[`${r}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},yp=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},su({contentRadius:e.borderRadius,limitVerticalRadius:!0})),G0(Ut(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),cu=(e,t=!0)=>Rn("Tooltip",n=>{const{borderRadius:o,colorTextLightSolid:i,colorBgSpotlight:a}=n,l=Ut(n,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:o,tooltipBg:a});return[bp(l),vp(n,"zoom-big-fast")]},yp,{resetStyle:!1,injectStyle:t})(e),xp=mo.map(e=>`${e}-inverse`);function Cp(e,t=!0){return t?[].concat(rt(xp),rt(mo)).includes(e):mo.includes(e)}const tt=Math.round;function fi(e,t){const r=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],n=r.map(o=>parseFloat(o));for(let o=0;o<3;o+=1)n[o]=t(n[o]||0,r[o]||"",o);return r[3]?n[3]=r[3].includes("%")?n[3]/100:n[3]:n[3]=1,n}const tl=(e,t,r)=>r===0?e:e/100;function rn(e,t){const r=t||255;return e>r?r:e<0?0:e}class _o{constructor(t){te(this,"isValid",!0),te(this,"r",0),te(this,"g",0),te(this,"b",0),te(this,"a",1),te(this,"_h",void 0),te(this,"_s",void 0),te(this,"_l",void 0),te(this,"_v",void 0),te(this,"_max",void 0),te(this,"_min",void 0),te(this,"_brightness",void 0);function r(n){return n[0]in t&&n[1]in t&&n[2]in t}if(t)if(typeof t=="string"){let o=function(i){return n.startsWith(i)};const n=t.trim();/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):o("rgb")?this.fromRgbString(n):o("hsl")?this.fromHslString(n):(o("hsv")||o("hsb"))&&this.fromHsvString(n)}else if(t instanceof _o)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(r("rgb"))this.r=rn(t.r),this.g=rn(t.g),this.b=rn(t.b),this.a=typeof t.a=="number"?rn(t.a,1):1;else if(r("hsl"))this.fromHsl(t);else if(r("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const r=this.toHsv();return r.h=t,this._c(r)}getLuminance(){function t(i){const a=i/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const r=t(this.r),n=t(this.g),o=t(this.b);return .2126*r+.7152*n+.0722*o}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=tt(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/t+2:(this.r-this.g)/t+4))}return this._h}getSaturation(){if(typeof this._s>"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const r=this.getHue(),n=this.getSaturation();let o=this.getLightness()-t/100;return o<0&&(o=0),this._c({h:r,s:n,l:o,a:this.a})}lighten(t=10){const r=this.getHue(),n=this.getSaturation();let o=this.getLightness()+t/100;return o>1&&(o=1),this._c({h:r,s:n,l:o,a:this.a})}mix(t,r=50){const n=this._c(t),o=r/100,i=l=>(n[l]-this[l])*o+this[l],a={r:tt(i("r")),g:tt(i("g")),b:tt(i("b")),a:tt(i("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const r=this._c(t),n=this.a+r.a*(1-this.a),o=i=>tt((this[i]*this.a+r[i]*r.a*(1-this.a))/n);return this._c({r:o("r"),g:o("g"),b:o("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const r=(this.r||0).toString(16);t+=r.length===2?r:"0"+r;const n=(this.g||0).toString(16);t+=n.length===2?n:"0"+n;const o=(this.b||0).toString(16);if(t+=o.length===2?o:"0"+o,typeof this.a=="number"&&this.a>=0&&this.a<1){const i=tt(this.a*255).toString(16);t+=i.length===2?i:"0"+i}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),r=tt(this.getSaturation()*100),n=tt(this.getLightness()*100);return this.a!==1?`hsla(${t},${r}%,${n}%,${this.a})`:`hsl(${t},${r}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,r,n){const o=this.clone();return o[t]=rn(r,n),o}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const r=t.replace("#","");function n(o,i){return parseInt(r[o]+r[i||o],16)}r.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=r[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=r[6]?n(6,7)/255:1)}fromHsl({h:t,s:r,l:n,a:o}){if(this._h=t%360,this._s=r,this._l=n,this.a=typeof o=="number"?o:1,r<=0){const g=tt(n*255);this.r=g,this.g=g,this.b=g}let i=0,a=0,l=0;const c=t/60,u=(1-Math.abs(2*n-1))*r,f=u*(1-Math.abs(c%2-1));c>=0&&c<1?(i=u,a=f):c>=1&&c<2?(i=f,a=u):c>=2&&c<3?(a=u,l=f):c>=3&&c<4?(a=f,l=u):c>=4&&c<5?(i=f,l=u):c>=5&&c<6&&(i=u,l=f);const d=n-u/2;this.r=tt((i+d)*255),this.g=tt((a+d)*255),this.b=tt((l+d)*255)}fromHsv({h:t,s:r,v:n,a:o}){this._h=t%360,this._s=r,this._v=n,this.a=typeof o=="number"?o:1;const i=tt(n*255);if(this.r=i,this.g=i,this.b=i,r<=0)return;const a=t/60,l=Math.floor(a),c=a-l,u=tt(n*(1-r)*255),f=tt(n*(1-r*c)*255),d=tt(n*(1-r*(1-c))*255);switch(l){case 0:this.g=d,this.b=u;break;case 1:this.r=f,this.b=u;break;case 2:this.r=u,this.b=d;break;case 3:this.r=u,this.g=f;break;case 4:this.r=d,this.g=u;break;case 5:default:this.g=u,this.b=f;break}}fromHsvString(t){const r=fi(t,tl);this.fromHsv({h:r[0],s:r[1],v:r[2],a:r[3]})}fromHslString(t){const r=fi(t,tl);this.fromHsl({h:r[0],s:r[1],l:r[2],a:r[3]})}fromRgbString(t){const r=fi(t,(n,o)=>o.includes("%")?tt(n/100*255):n);this.r=r[0],this.g=r[1],this.b=r[2],this.a=r[3]}}var wp=["b"],Sp=["v"],hi=function(t){return Math.round(Number(t||0))},Ep=function(t){if(t instanceof _o)return t;if(t&&Se(t)==="object"&&"h"in t&&"b"in t){var r=t,n=r.b,o=$t(r,wp);return Q(Q({},o),{},{v:n})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},rl=(function(e){Cn(r,e);var t=wn(r);function r(n){return bt(this,r),t.call(this,Ep(n))}return yt(r,[{key:"toHsbString",value:function(){var o=this.toHsb(),i=hi(o.s*100),a=hi(o.b*100),l=hi(o.h),c=o.a,u="hsb(".concat(l,", ").concat(i,"%, ").concat(a,"%)"),f="hsba(".concat(l,", ").concat(i,"%, ").concat(a,"%, ").concat(c.toFixed(c===0?0:2),")");return c===1?u:f}},{key:"toHsb",value:function(){var o=this.toHsv(),i=o.v,a=$t(o,Sp);return Q(Q({},a),{},{b:i,a:this.a})}}]),r})(_o);const Rp=(e,t)=>e?.replace(/[^\w/]/g,"").slice(0,t?8:6)||"",jp=(e,t)=>e?Rp(e,t):"";let nl=(function(){function e(t){bt(this,e);var r;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(r=t.colors)===null||r===void 0?void 0:r.map(o=>({color:new e(o.color),percent:o.percent})),this.cleared=t.cleared;return}const n=Array.isArray(t);n&&t.length?(this.colors=t.map(({color:o,percent:i})=>({color:new e(o),percent:i})),this.metaColor=new rl(this.colors[0].color.metaColor)):this.metaColor=new rl(n?"":t),(!t||n&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return yt(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return jp(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:r}=this;return r?`linear-gradient(90deg, ${r.map(o=>`${o.color.toRgbString()} ${o.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(r){return!r||this.isGradient()!==r.isGradient()?!1:this.isGradient()?this.colors.length===r.colors.length&&this.colors.every((n,o)=>{const i=r.colors[o];return n.percent===i.percent&&n.color.equals(i.color)}):this.toHexString()===r.toHexString()}}])})();const $p=e=>e instanceof nl?e:new nl(e);function uu(e,t){const r=Cp(t),n=pe({[`${e}-${t}`]:t&&r}),o={},i={},a=$p(t).toRgb(),c=(.299*a.r+.587*a.g+.114*a.b)/255<.5?"#FFF":"#000";return t&&!r&&(o.background=t,o["--ant-tooltip-color"]=c,i["--antd-arrow-background-color"]=t),{className:n,overlayStyle:o,arrowStyle:i}}const Tp=e=>{const{prefixCls:t,className:r,placement:n="top",title:o,color:i,overlayInnerStyle:a}=e,{getPrefixCls:l}=h.useContext(Vt),c=l("tooltip",t),[u,f,d]=cu(c),g=uu(c,i),C=g.arrowStyle,b=Object.assign(Object.assign({},a),g.overlayStyle),w=pe(f,d,c,`${c}-pure`,`${c}-placement-${n}`,r,g.className);return u(h.createElement("div",{className:w,style:C},h.createElement("div",{className:`${c}-arrow`}),h.createElement(Xc,Object.assign({},e,{className:f,prefixCls:c,overlayInnerStyle:b}),o)))};var Op=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const _p=h.forwardRef((e,t)=>{var r,n;const{prefixCls:o,openClassName:i,getTooltipContainer:a,color:l,overlayInnerStyle:c,children:u,afterOpenChange:f,afterVisibleChange:d,destroyTooltipOnHide:g,destroyOnHidden:C,arrow:b=!0,title:w,overlay:p,builtinPlacements:S,arrowPointAtCenter:m=!1,autoAdjustOverflow:O=!0,getPopupContainer:T,placement:R="top",mouseEnterDelay:x=.1,mouseLeaveDelay:E=.1,overlayStyle:$,rootClassName:L,overlayClassName:N,styles:U,classNames:_}=e,A=Op(e,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","destroyOnHidden","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),z=!!b,[,P]=Dr(),{getPopupContainer:M,getPrefixCls:Y,direction:W,className:F,style:X,classNames:ee,styles:K}=To("tooltip"),re=kt("Tooltip"),le=h.useRef(null),he=()=>{var Ce;(Ce=le.current)===null||Ce===void 0||Ce.forceAlign()};h.useImperativeHandle(t,()=>{var Ce,Ae;return{forceAlign:he,forcePopupAlign:()=>{re.deprecated(!1,"forcePopupAlign","forceAlign"),he()},nativeElement:(Ce=le.current)===null||Ce===void 0?void 0:Ce.nativeElement,popupElement:(Ae=le.current)===null||Ae===void 0?void 0:Ae.popupElement}}),process.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["destroyTooltipOnHide","destroyOnHidden"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"],["overlayStyle","styles={{ root: {} }}"],["overlayInnerStyle","styles={{ body: {} }}"],["overlayClassName",'classNames={{ root: "" }}']].forEach(([Ce,Ae])=>{re.deprecated(!(Ce in e),Ce,Ae)}),process.env.NODE_ENV!=="production"&&re(!g||typeof g=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),process.env.NODE_ENV!=="production"&&re(!b||typeof b=="boolean"||!("arrowPointAtCenter"in b),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));const[ue,j]=$r(!1,{value:(r=e.open)!==null&&r!==void 0?r:e.visible,defaultValue:(n=e.defaultOpen)!==null&&n!==void 0?n:e.defaultVisible}),k=!w&&!p&&w!==0,D=Ce=>{var Ae,ze;j(k?!1:Ce),k||((Ae=e.onOpenChange)===null||Ae===void 0||Ae.call(e,Ce),(ze=e.onVisibleChange)===null||ze===void 0||ze.call(e,Ce))},B=h.useMemo(()=>{var Ce,Ae;let ze=m;return typeof b=="object"&&(ze=(Ae=(Ce=b.pointAtCenter)!==null&&Ce!==void 0?Ce:b.arrowPointAtCenter)!==null&&Ae!==void 0?Ae:m),S||ep({arrowPointAtCenter:ze,autoAdjustOverflow:O,arrowWidth:z?P.sizePopupArrow:0,borderRadius:P.borderRadius,offset:P.marginXXS})},[m,b,S,P]),V=h.useMemo(()=>w===0?w:p||w||"",[p,w]),q=h.createElement(aa,{space:!0},typeof V=="function"?V():V),Z=Y("tooltip",o),I=Y(),H=e["data-popover-inject"];let G=ue;!("open"in e)&&!("visible"in e)&&k&&(G=!1);const J=h.isValidElement(u)&&!tp(u)?u:h.createElement("span",null,u),ie=J.props,ae=!ie.className||typeof ie.className=="string"?pe(ie.className,i||`${Z}-open`):ie.className,[xe,be,we]=cu(Z,!H),de=uu(Z,l),oe=de.arrowStyle,ye=pe(N,{[`${Z}-rtl`]:W==="rtl"},de.className,L,be,we,F,ee.root,_?.root),Ee=pe(ee.body,_?.body),[Ye,Me]=U0("Tooltip",A.zIndex),ke=h.createElement(D0,Object.assign({},A,{zIndex:Ye,showArrow:z,placement:R,mouseEnterDelay:x,mouseLeaveDelay:E,prefixCls:Z,classNames:{root:ye,body:Ee},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},oe),K.root),X),$),U?.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},K.body),c),U?.body),de.overlayStyle)},getTooltipContainer:T||a||M,ref:le,builtinPlacements:B,overlay:q,visible:G,onVisibleChange:D,afterVisibleChange:f??d,arrowContent:h.createElement("span",{className:`${Z}-arrow-content`}),motion:{motionName:K0(I,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:C??!!g}),G?lu(J,{className:ae}):J);return xe(h.createElement(ja.Provider,{value:Me},ke))}),$n=_p;process.env.NODE_ENV!=="production"&&($n.displayName="Tooltip");$n._InternalPanelDoNotUseOrYouWillBeFired=Tp;var Ip={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},Pp=function(t,r){return h.createElement(qt,Ze({},t,{ref:r,icon:Ip}))},du=h.forwardRef(Pp);process.env.NODE_ENV!=="production"&&(du.displayName="EnterOutlined");var ol={ENTER:13,ESC:27};function Mp(e){return!!(e.addonBefore||e.addonAfter)}function kp(e){return!!(e.prefix||e.suffix||e.allowClear)}function il(e,t,r){var n=t.cloneNode(!0),o=Object.create(e,{target:{value:n},currentTarget:{value:n}});return n.value=r,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(n.selectionStart=t.selectionStart,n.selectionEnd=t.selectionEnd),n.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},o}function vo(e,t,r,n){if(r){var o=t;if(t.type==="click"){o=il(t,e,""),r(o);return}if(e.type!=="file"&&n!==void 0){o=il(t,e,n),r(o);return}r(o)}}function fu(e,t){if(e){e.focus(t);var r=t||{},n=r.cursor;if(n){var o=e.value.length;switch(n){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(o,o);break;default:e.setSelectionRange(0,o)}}}}var hu=v.forwardRef(function(e,t){var r,n,o,i=e.inputElement,a=e.children,l=e.prefixCls,c=e.prefix,u=e.suffix,f=e.addonBefore,d=e.addonAfter,g=e.className,C=e.style,b=e.disabled,w=e.readOnly,p=e.focused,S=e.triggerFocus,m=e.allowClear,O=e.value,T=e.handleReset,R=e.hidden,x=e.classes,E=e.classNames,$=e.dataAttrs,L=e.styles,N=e.components,U=e.onClear,_=a??i,A=N?.affixWrapper||"span",z=N?.groupWrapper||"span",P=N?.wrapper||"span",M=N?.groupAddon||"span",Y=v.useRef(null),W=function(H){var G;(G=Y.current)!==null&&G!==void 0&&G.contains(H.target)&&S?.()},F=kp(e),X=v.cloneElement(_,{value:O,className:pe((r=_.props)===null||r===void 0?void 0:r.className,!F&&E?.variant)||null}),ee=v.useRef(null);if(v.useImperativeHandle(t,function(){return{nativeElement:ee.current||Y.current}}),F){var K=null;if(m){var re=!b&&!w&&O,le="".concat(l,"-clear-icon"),he=Se(m)==="object"&&m!==null&&m!==void 0&&m.clearIcon?m.clearIcon:"✖";K=v.createElement("button",{type:"button",tabIndex:-1,onClick:function(H){T?.(H),U?.()},onMouseDown:function(H){return H.preventDefault()},className:pe(le,te(te({},"".concat(le,"-hidden"),!re),"".concat(le,"-has-suffix"),!!u))},he)}var ue="".concat(l,"-affix-wrapper"),j=pe(ue,te(te(te(te(te({},"".concat(l,"-disabled"),b),"".concat(ue,"-disabled"),b),"".concat(ue,"-focused"),p),"".concat(ue,"-readonly"),w),"".concat(ue,"-input-with-clear-btn"),u&&m&&O),x?.affixWrapper,E?.affixWrapper,E?.variant),k=(u||m)&&v.createElement("span",{className:pe("".concat(l,"-suffix"),E?.suffix),style:L?.suffix},K,u);X=v.createElement(A,Ze({className:j,style:L?.affixWrapper,onClick:W},$?.affixWrapper,{ref:Y}),c&&v.createElement("span",{className:pe("".concat(l,"-prefix"),E?.prefix),style:L?.prefix},c),X,k)}if(Mp(e)){var D="".concat(l,"-group"),B="".concat(D,"-addon"),V="".concat(D,"-wrapper"),q=pe("".concat(l,"-wrapper"),D,x?.wrapper,E?.wrapper),Z=pe(V,te({},"".concat(V,"-disabled"),b),x?.group,E?.groupWrapper);X=v.createElement(z,{className:Z,ref:ee},v.createElement(P,{className:q},f&&v.createElement(M,{className:B},f),X,d&&v.createElement(M,{className:B},d)))}return v.cloneElement(X,{className:pe((n=X.props)===null||n===void 0?void 0:n.className,g)||null,style:Q(Q({},(o=X.props)===null||o===void 0?void 0:o.style),C),hidden:R})}),Ap=["show"];function gu(e,t){return h.useMemo(function(){var r={};t&&(r.show=Se(t)==="object"&&t.formatter?t.formatter:!!t),r=Q(Q({},r),e);var n=r,o=n.show,i=$t(n,Ap);return Q(Q({},i),{},{show:!!o,showFormatter:typeof o=="function"?o:void 0,strategy:i.strategy||function(a){return a.length}})},[e,t])}var Np=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Dp=v.forwardRef(function(e,t){var r=e.autoComplete,n=e.onChange,o=e.onFocus,i=e.onBlur,a=e.onPressEnter,l=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,f=u===void 0?"rc-input":u,d=e.disabled,g=e.htmlSize,C=e.className,b=e.maxLength,w=e.suffix,p=e.showCount,S=e.count,m=e.type,O=m===void 0?"text":m,T=e.classes,R=e.classNames,x=e.styles,E=e.onCompositionStart,$=e.onCompositionEnd,L=$t(e,Np),N=v.useState(!1),U=ne(N,2),_=U[0],A=U[1],z=v.useRef(!1),P=v.useRef(!1),M=v.useRef(null),Y=v.useRef(null),W=function(oe){M.current&&fu(M.current,oe)},F=$r(e.defaultValue,{value:e.value}),X=ne(F,2),ee=X[0],K=X[1],re=ee==null?"":String(ee),le=v.useState(null),he=ne(le,2),ue=he[0],j=he[1],k=gu(S,p),D=k.max||b,B=k.strategy(re),V=!!D&&B>D;v.useImperativeHandle(t,function(){var de;return{focus:W,blur:function(){var ye;(ye=M.current)===null||ye===void 0||ye.blur()},setSelectionRange:function(ye,Ee,Ye){var Me;(Me=M.current)===null||Me===void 0||Me.setSelectionRange(ye,Ee,Ye)},select:function(){var ye;(ye=M.current)===null||ye===void 0||ye.select()},input:M.current,nativeElement:((de=Y.current)===null||de===void 0?void 0:de.nativeElement)||M.current}}),v.useEffect(function(){P.current&&(P.current=!1),A(function(de){return de&&d?!1:de})},[d]);var q=function(oe,ye,Ee){var Ye=ye;if(!z.current&&k.exceedFormatter&&k.max&&k.strategy(ye)>k.max){if(Ye=k.exceedFormatter(ye,{max:k.max}),ye!==Ye){var Me,ke;j([((Me=M.current)===null||Me===void 0?void 0:Me.selectionStart)||0,((ke=M.current)===null||ke===void 0?void 0:ke.selectionEnd)||0])}}else if(Ee.source==="compositionEnd")return;K(Ye),M.current&&vo(M.current,oe,n,Ye)};v.useEffect(function(){if(ue){var de;(de=M.current)===null||de===void 0||de.setSelectionRange.apply(de,rt(ue))}},[ue]);var Z=function(oe){q(oe,oe.target.value,{source:"change"})},I=function(oe){z.current=!1,q(oe,oe.currentTarget.value,{source:"compositionEnd"}),$?.(oe)},H=function(oe){a&&oe.key==="Enter"&&!P.current&&(P.current=!0,a(oe)),l?.(oe)},G=function(oe){oe.key==="Enter"&&(P.current=!1),c?.(oe)},J=function(oe){A(!0),o?.(oe)},ie=function(oe){P.current&&(P.current=!1),A(!1),i?.(oe)},ae=function(oe){K(""),W(),M.current&&vo(M.current,oe,n)},xe=V&&"".concat(f,"-out-of-range"),be=function(){var oe=rc(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return v.createElement("input",Ze({autoComplete:r},oe,{onChange:Z,onFocus:J,onBlur:ie,onKeyDown:H,onKeyUp:G,className:pe(f,te({},"".concat(f,"-disabled"),d),R?.input),style:x?.input,ref:M,size:g,type:O,onCompositionStart:function(Ee){z.current=!0,E?.(Ee)},onCompositionEnd:I}))},we=function(){var oe=Number(D)>0;if(w||k.show){var ye=k.showFormatter?k.showFormatter({value:re,count:B,maxLength:D}):"".concat(B).concat(oe?" / ".concat(D):"");return v.createElement(v.Fragment,null,k.show&&v.createElement("span",{className:pe("".concat(f,"-show-count-suffix"),te({},"".concat(f,"-show-count-has-suffix"),!!w),R?.count),style:Q({},x?.count)},ye),w)}return null};return v.createElement(hu,Ze({},L,{prefixCls:f,className:pe(C,xe),handleReset:ae,value:re,focused:_,triggerFocus:W,suffix:we(),disabled:d,classes:T,classNames:R,styles:x,ref:Y}),be())}),Bp=`
139
+ min-height:0 !important;
140
+ max-height:none !important;
141
+ height:0 !important;
142
+ visibility:hidden !important;
143
+ overflow:hidden !important;
144
+ position:absolute !important;
145
+ z-index:-1000 !important;
146
+ top:0 !important;
147
+ right:0 !important;
148
+ pointer-events: none !important;
149
+ `,zp=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],gi={},dt;function Lp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&gi[r])return gi[r];var n=window.getComputedStyle(e),o=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),i=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),a=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),l=zp.map(function(u){return"".concat(u,":").concat(n.getPropertyValue(u))}).join(";"),c={sizingStyle:l,paddingSize:i,borderSize:a,boxSizing:o};return t&&r&&(gi[r]=c),c}function Fp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;dt||(dt=document.createElement("textarea"),dt.setAttribute("tab-index","-1"),dt.setAttribute("aria-hidden","true"),dt.setAttribute("name","hiddenTextarea"),document.body.appendChild(dt)),e.getAttribute("wrap")?dt.setAttribute("wrap",e.getAttribute("wrap")):dt.removeAttribute("wrap");var o=Lp(e,t),i=o.paddingSize,a=o.borderSize,l=o.boxSizing,c=o.sizingStyle;dt.setAttribute("style","".concat(c,";").concat(Bp)),dt.value=e.value||e.placeholder||"";var u=void 0,f=void 0,d,g=dt.scrollHeight;if(l==="border-box"?g+=a:l==="content-box"&&(g-=i),r!==null||n!==null){dt.value=" ";var C=dt.scrollHeight-i;r!==null&&(u=C*r,l==="border-box"&&(u=u+i+a),g=Math.max(u,g)),n!==null&&(f=C*n,l==="border-box"&&(f=f+i+a),d=g>f?"":"hidden",g=Math.min(f,g))}var b={height:g,overflowY:d,resize:"none"};return u&&(b.minHeight=u),f&&(b.maxHeight=f),b}var Hp=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],pi=0,mi=1,vi=2,Vp=h.forwardRef(function(e,t){var r=e,n=r.prefixCls,o=r.defaultValue,i=r.value,a=r.autoSize,l=r.onResize,c=r.className,u=r.style,f=r.disabled,d=r.onChange,g=r.onInternalAutoSize,C=$t(r,Hp),b=$r(o,{value:i,postState:function(le){return le??""}}),w=ne(b,2),p=w[0],S=w[1],m=function(le){S(le.target.value),d?.(le)},O=h.useRef();h.useImperativeHandle(t,function(){return{textArea:O.current}});var T=h.useMemo(function(){return a&&Se(a)==="object"?[a.minRows,a.maxRows]:[]},[a]),R=ne(T,2),x=R[0],E=R[1],$=!!a,L=h.useState(vi),N=ne(L,2),U=N[0],_=N[1],A=h.useState(),z=ne(A,2),P=z[0],M=z[1],Y=function(){_(pi),process.env.NODE_ENV==="test"&&g?.()};Le(function(){$&&Y()},[i,x,E,$]),Le(function(){if(U===pi)_(mi);else if(U===mi){var re=Fp(O.current,!1,x,E);_(vi),M(re)}},[U]);var W=h.useRef(),F=function(){Pr.cancel(W.current)},X=function(le){U===vi&&(l?.(le),a&&(F(),W.current=Pr(function(){Y()})))};h.useEffect(function(){return F},[]);var ee=$?P:null,K=Q(Q({},u),ee);return(U===pi||U===mi)&&(K.overflowY="hidden",K.overflowX="hidden"),h.createElement(Ar,{onResize:X,disabled:!(a||l)},h.createElement("textarea",Ze({},C,{ref:O,style:K,className:pe(n,c,te({},"".concat(n,"-disabled"),f)),disabled:f,value:p,onChange:m})))}),Wp=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],qp=v.forwardRef(function(e,t){var r,n=e.defaultValue,o=e.value,i=e.onFocus,a=e.onBlur,l=e.onChange,c=e.allowClear,u=e.maxLength,f=e.onCompositionStart,d=e.onCompositionEnd,g=e.suffix,C=e.prefixCls,b=C===void 0?"rc-textarea":C,w=e.showCount,p=e.count,S=e.className,m=e.style,O=e.disabled,T=e.hidden,R=e.classNames,x=e.styles,E=e.onResize,$=e.onClear,L=e.onPressEnter,N=e.readOnly,U=e.autoSize,_=e.onKeyDown,A=$t(e,Wp),z=$r(n,{value:o,defaultValue:n}),P=ne(z,2),M=P[0],Y=P[1],W=M==null?"":String(M),F=v.useState(!1),X=ne(F,2),ee=X[0],K=X[1],re=v.useRef(!1),le=v.useState(null),he=ne(le,2),ue=he[0],j=he[1],k=v.useRef(null),D=v.useRef(null),B=function(){var ve;return(ve=D.current)===null||ve===void 0?void 0:ve.textArea},V=function(){B().focus()};v.useImperativeHandle(t,function(){var _e;return{resizableTextArea:D.current,focus:V,blur:function(){B().blur()},nativeElement:((_e=k.current)===null||_e===void 0?void 0:_e.nativeElement)||B()}}),v.useEffect(function(){K(function(_e){return!O&&_e})},[O]);var q=v.useState(null),Z=ne(q,2),I=Z[0],H=Z[1];v.useEffect(function(){if(I){var _e;(_e=B()).setSelectionRange.apply(_e,rt(I))}},[I]);var G=gu(p,w),J=(r=G.max)!==null&&r!==void 0?r:u,ie=Number(J)>0,ae=G.strategy(W),xe=!!J&&ae>J,be=function(ve,Ne){var ce=Ne;!re.current&&G.exceedFormatter&&G.max&&G.strategy(Ne)>G.max&&(ce=G.exceedFormatter(Ne,{max:G.max}),Ne!==ce&&H([B().selectionStart||0,B().selectionEnd||0])),Y(ce),vo(ve.currentTarget,ve,l,ce)},we=function(ve){re.current=!0,f?.(ve)},de=function(ve){re.current=!1,be(ve,ve.currentTarget.value),d?.(ve)},oe=function(ve){be(ve,ve.target.value)},ye=function(ve){ve.key==="Enter"&&L&&L(ve),_?.(ve)},Ee=function(ve){K(!0),i?.(ve)},Ye=function(ve){K(!1),a?.(ve)},Me=function(ve){Y(""),V(),vo(B(),ve,l)},ke=g,Ce;G.show&&(G.showFormatter?Ce=G.showFormatter({value:W,count:ae,maxLength:J}):Ce="".concat(ae).concat(ie?" / ".concat(J):""),ke=v.createElement(v.Fragment,null,ke,v.createElement("span",{className:pe("".concat(b,"-data-count"),R?.count),style:x?.count},Ce)));var Ae=function(ve){var Ne;E?.(ve),(Ne=B())!==null&&Ne!==void 0&&Ne.style.height&&j(!0)},ze=!U&&!w&&!c;return v.createElement(hu,{ref:k,value:W,allowClear:c,handleReset:Me,suffix:ke,prefixCls:b,classNames:Q(Q({},R),{},{affixWrapper:pe(R?.affixWrapper,te(te({},"".concat(b,"-show-count"),w),"".concat(b,"-textarea-allow-clear"),c))}),disabled:O,focused:ee,className:pe(S,xe&&"".concat(b,"-out-of-range")),style:Q(Q({},m),ue&&!ze?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Ce=="string"?Ce:void 0}},hidden:T,readOnly:N,onClear:$},v.createElement(Vp,Ze({},A,{autoSize:U,maxLength:u,onKeyDown:ye,onChange:oe,onFocus:Ee,onBlur:Ye,onCompositionStart:we,onCompositionEnd:de,className:pe(R?.textarea),style:Q(Q({},x?.textarea),{},{resize:m?.resize}),disabled:O,prefixCls:b,onResize:Ae,ref:D,readOnly:N})))}),Up={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{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"}}]},name:"close-circle",theme:"filled"},Kp=function(t,r){return h.createElement(qt,Ze({},t,{ref:r,icon:Up}))},pu=h.forwardRef(Kp);process.env.NODE_ENV!=="production"&&(pu.displayName="CloseCircleFilled");const mu=e=>{let t;return typeof e=="object"&&e?.clearIcon?t=e:e&&(t={clearIcon:v.createElement(pu,null)}),t};function sa(e,t,r){return pe({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:r})}const vu=(e,t)=>t||e,bu=e=>{const[,,,,t]=Dr();return t?`${e}-css-var`:""},yu=(e,t,r=void 0)=>{var n,o;const{variant:i,[e]:a}=h.useContext(Vt),l=h.useContext(z0),c=a?.variant;let u;typeof t<"u"?u=t:r===!1?u="borderless":u=(o=(n=l??c)!==null&&n!==void 0?n:i)!==null&&o!==void 0?o:"outlined";const f=ag.includes(u);return[u,f]};function Gp(e,t){const r=v.useRef([]),n=()=>{r.current.push(setTimeout(()=>{var o,i,a,l;!((o=e.current)===null||o===void 0)&&o.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((a=e.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((l=e.current)===null||l===void 0||l.input.removeAttribute("value"))}))};return v.useEffect(()=>(n(),()=>r.current.forEach(o=>{o&&clearTimeout(o)})),[]),n}function Yp(e,t,r,n){const{focusElCls:o,focus:i,borderElCls:a}=r,l=a?"> *":"",c=["hover",i?"focus":null,"active"].filter(Boolean).map(u=>`&:${u} ${l}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},[`&-item:not(${n}-status-success)`]:{zIndex:2},"&-item":Object.assign(Object.assign({[c]:{zIndex:3}},o?{[`&${o}`]:{zIndex:3}}:{}),{[`&[disabled] ${l}`]:{zIndex:0}})}}function Xp(e,t,r){const{borderElCls:n}=r,o=n?`> ${n}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Qp(e,t={focus:!0}){const{componentCls:r}=e,n=`${r}-compact`;return{[n]:Object.assign(Object.assign({},Yp(e,n,t,r)),Xp(r,n,t))}}function $a(e){return Ut(e,{inputAffixPadding:e.paddingXXS})}const Ta=e=>{const{controlHeight:t,fontSize:r,lineHeight:n,lineWidth:o,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:f,controlPaddingHorizontal:d,colorFillAlter:g,colorPrimaryHover:C,colorPrimary:b,controlOutlineWidth:w,controlOutline:p,colorErrorOutline:S,colorWarningOutline:m,colorBgContainer:O,inputFontSize:T,inputFontSizeLG:R,inputFontSizeSM:x}=e,E=T||r,$=x||E,L=R||l,N=Math.round((t-E*n)/2*10)/10-o,U=Math.round((i-$*n)/2*10)/10-o,_=Math.ceil((a-L*c)/2*10)/10-o;return{paddingBlock:Math.max(N,0),paddingBlockSM:Math.max(U,0),paddingBlockLG:Math.max(_,0),paddingInline:u-o,paddingInlineSM:f-o,paddingInlineLG:d-o,addonBg:g,activeBorderColor:b,hoverBorderColor:C,activeShadow:`0 0 0 ${w}px ${p}`,errorActiveShadow:`0 0 0 ${w}px ${S}`,warningActiveShadow:`0 0 0 ${w}px ${m}`,hoverBg:O,activeBg:O,inputFontSize:E,inputFontSizeLG:L,inputFontSizeSM:$}},Zp=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Oa=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Zp(Ut(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),xu=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),al=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},xu(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),Jp=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},xu(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Oa(e))}),al(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),al(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),sl=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),em=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},sl(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),sl(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Oa(e))}})}),tm=(e,t)=>{const{componentCls:r}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${r}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${r}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${r}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},Cu=(e,t)=>{var r;return{background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(r=t?.inputColor)!==null&&r!==void 0?r:"unset"},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}},ll=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},Cu(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),rm=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Cu(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Oa(e))}),ll(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),ll(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),cl=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),nm=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group-addon`]:{background:e.colorFillTertiary,"&:last-child":{position:"static"}}},cl(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),cl(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Oe(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),wu=(e,t)=>({background:e.colorBgContainer,borderWidth:`${Oe(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${t.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${t.borderColor} transparent`,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${t.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg}}),ul=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},wu(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:`transparent transparent ${t.borderColor} transparent`}}),om=(e,t)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wu(e,{borderColor:e.colorBorder,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${e.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),ul(e,{status:"error",borderColor:e.colorError,activeBorderColor:e.colorError,affixColor:e.colorError})),ul(e,{status:"warning",borderColor:e.colorWarning,activeBorderColor:e.colorWarning,affixColor:e.colorWarning})),t)}),im=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Su=e=>{const{paddingBlockLG:t,lineHeightLG:r,borderRadiusLG:n,paddingInlineLG:o}=e;return{padding:`${Oe(t)} ${Oe(o)}`,fontSize:e.inputFontSizeLG,lineHeight:r,borderRadius:n}},Eu=e=>({padding:`${Oe(e.paddingBlockSM)} ${Oe(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Ru=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Oe(e.paddingBlock)} ${Oe(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},im(e.colorTextPlaceholder)),{"&-lg":Object.assign({},Su(e)),"&-sm":Object.assign({},Eu(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),am=e=>{const{componentCls:t,antCls:r}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},Su(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},Eu(e)),[`&-lg ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${r}-select-single ${r}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${Oe(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${r}-select`]:{margin:`${Oe(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Oe(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${r}-select-single:not(${r}-select-customize-input):not(${r}-pagination-size-changer)`]:{[`${r}-select-selector`]:{backgroundColor:"inherit",border:`${Oe(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${r}-cascader-picker`]:{margin:`-9px ${Oe(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${r}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${r}-select ${r}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Ig()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
150
+ & > ${t}-affix-wrapper,
151
+ & > ${t}-number-affix-wrapper,
152
+ & > ${r}-picker-range
153
+ `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${r}-select > ${r}-select-selector,
154
+ & > ${r}-select-auto-complete ${t},
155
+ & > ${r}-cascader-picker ${t},
156
+ & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${r}-select-focused`]:{zIndex:1},[`& > ${r}-select > ${r}-select-arrow`]:{zIndex:1},[`& > *:first-child,
157
+ & > ${r}-select:first-child > ${r}-select-selector,
158
+ & > ${r}-select-auto-complete:first-child ${t},
159
+ & > ${r}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
160
+ & > ${r}-select:last-child > ${r}-select-selector,
161
+ & > ${r}-cascader-picker:last-child ${t},
162
+ & > ${r}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${r}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},sm=e=>{const{componentCls:t,controlHeightSM:r,lineWidth:n,calc:o}=e,a=o(r).sub(o(n).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Sa(e)),Ru(e)),Jp(e)),rm(e)),tm(e)),om(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:r,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},lm=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:e.colorIcon},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Oe(e.inputAffixPadding)}`}}}},cm=e=>{const{componentCls:t,inputAffixPadding:r,colorTextDescription:n,motionDurationSlow:o,colorIcon:i,colorIconHover:a,iconCls:l}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},Ru(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n,direction:"ltr"},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:r},"&-suffix":{marginInlineStart:r}}}),lm(e)),{[`${l}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${o}`,"&:hover":{color:a}}}),[`${t}-underlined`]:{borderRadius:0},[u]:{[`${l}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},um=e=>{const{componentCls:t,borderRadiusLG:r,borderRadiusSM:n}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},Sa(e)),am(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:r,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:n}}},em(e)),nm(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},dm=e=>{const{componentCls:t,antCls:r}=e,n=`${t}-search`;return{[n]:{[t]:{"&:hover, &:focus":{[`+ ${t}-group-addon ${n}-button:not(${r}-btn-color-primary):not(${r}-btn-variant-text)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${r}-btn-color-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${r}-btn-loading::before`]:{inset:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${t}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button,
163
+ > ${t},
164
+ ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},fm=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},ju=Rn(["Input","Shared"],e=>{const t=Ut(e,$a(e));return[sm(t),cm(t)]},Ta,{resetFont:!1}),hm=Rn(["Input","Component"],e=>{const t=Ut(e,$a(e));return[um(t),dm(t),fm(t),Qp(t)]},Ta,{resetFont:!1});function gm(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var pm=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const mm=v.forwardRef((e,t)=>{const{prefixCls:r,bordered:n=!0,status:o,size:i,disabled:a,onBlur:l,onFocus:c,suffix:u,allowClear:f,addonAfter:d,addonBefore:g,className:C,style:b,styles:w,rootClassName:p,onChange:S,classNames:m,variant:O}=e,T=pm(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]);if(process.env.NODE_ENV!=="production"){const{deprecated:ae}=kt("Input");ae(!("bordered"in e),"bordered","variant")}const{getPrefixCls:R,direction:x,allowClear:E,autoComplete:$,className:L,style:N,classNames:U,styles:_}=To("input"),A=R("input",r),z=v.useRef(null),P=bu(A),[M,Y,W]=ju(A,p),[F]=hm(A,P),{compactSize:X,compactItemClassnames:ee}=ou(A,x),K=ru(ae=>{var xe;return(xe=i??X)!==null&&xe!==void 0?xe:ae}),re=v.useContext(vn),le=a??re,{status:he,hasFeedback:ue,feedbackIcon:j}=v.useContext(yn),k=vu(he,o),D=gm(e)||!!ue,B=v.useRef(D);if(process.env.NODE_ENV!=="production"){const ae=kt("Input");v.useEffect(()=>{var xe;D&&!B.current&&process.env.NODE_ENV!=="production"&&ae(document.activeElement===((xe=z.current)===null||xe===void 0?void 0:xe.input),"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),B.current=D},[D])}const V=Gp(z),q=ae=>{V(),l?.(ae)},Z=ae=>{V(),c?.(ae)},I=ae=>{V(),S?.(ae)},H=(ue||u)&&v.createElement(v.Fragment,null,u,ue&&j),G=mu(f??E),[J,ie]=yu("input",O,n);return M(F(v.createElement(Dp,Object.assign({ref:xn(t,z),prefixCls:A,autoComplete:$},T,{disabled:le,onBlur:q,onFocus:Z,style:Object.assign(Object.assign({},N),b),styles:Object.assign(Object.assign({},_),w),suffix:H,allowClear:G,className:pe(C,p,W,P,ee,L),onChange:I,addonBefore:g&&v.createElement(aa,{form:!0,space:!0},g),addonAfter:d&&v.createElement(aa,{form:!0,space:!0},d),classNames:Object.assign(Object.assign(Object.assign({},m),U),{input:pe({[`${A}-sm`]:K==="small",[`${A}-lg`]:K==="large",[`${A}-rtl`]:x==="rtl"},m?.input,U.input,Y),variant:pe({[`${A}-${J}`]:ie},sa(A,k)),affixWrapper:pe({[`${A}-affix-wrapper-sm`]:K==="small",[`${A}-affix-wrapper-lg`]:K==="large",[`${A}-affix-wrapper-rtl`]:x==="rtl"},Y),wrapper:pe({[`${A}-group-rtl`]:x==="rtl"},Y),groupWrapper:pe({[`${A}-group-wrapper-sm`]:K==="small",[`${A}-group-wrapper-lg`]:K==="large",[`${A}-group-wrapper-rtl`]:x==="rtl",[`${A}-group-wrapper-${J}`]:ie},sa(`${A}-group-wrapper`,k,ue),Y)})}))))});process.env.NODE_ENV!=="production"&&(mm.displayName="Input");const vm=e=>{const{componentCls:t,paddingLG:r}=e,n=`${t}-textarea`;return{[`textarea${t}`]:{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}`,resize:"vertical",[`&${t}-mouse-active`]:{transition:`all ${e.motionDurationSlow}, height 0s, width 0s`}},[`${t}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[n]:{position:"relative","&-show-count":{[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
165
+ &-allow-clear > ${t},
166
+ &-affix-wrapper${n}-has-feedback ${t}
167
+ `]:{paddingInlineEnd:r},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-rtl`]:{[`${t}-suffix`]:{[`${t}-data-count`]:{direction:"ltr",insetInlineStart:0}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},bm=Rn(["Input","TextArea"],e=>{const t=Ut(e,$a(e));return vm(t)},Ta,{resetFont:!1});var ym=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const xm=v.forwardRef((e,t)=>{var r;const{prefixCls:n,bordered:o=!0,size:i,disabled:a,status:l,allowClear:c,classNames:u,rootClassName:f,className:d,style:g,styles:C,variant:b,showCount:w,onMouseDown:p,onResize:S}=e,m=ym(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]);if(process.env.NODE_ENV!=="production"){const{deprecated:G}=kt("TextArea");G(!("bordered"in e),"bordered","variant")}const{getPrefixCls:O,direction:T,allowClear:R,autoComplete:x,className:E,style:$,classNames:L,styles:N}=To("textArea"),U=h.useContext(vn),_=a??U,{status:A,hasFeedback:z,feedbackIcon:P}=h.useContext(yn),M=vu(A,l),Y=h.useRef(null);h.useImperativeHandle(t,()=>{var G;return{resizableTextArea:(G=Y.current)===null||G===void 0?void 0:G.resizableTextArea,focus:J=>{var ie,ae;fu((ae=(ie=Y.current)===null||ie===void 0?void 0:ie.resizableTextArea)===null||ae===void 0?void 0:ae.textArea,J)},blur:()=>{var J;return(J=Y.current)===null||J===void 0?void 0:J.blur()}}});const W=O("input",n),F=bu(W),[X,ee,K]=ju(W,f),[re]=bm(W,F),{compactSize:le,compactItemClassnames:he}=ou(W,T),ue=ru(G=>{var J;return(J=i??le)!==null&&J!==void 0?J:G}),[j,k]=yu("textArea",b,o),D=mu(c??R),[B,V]=h.useState(!1),[q,Z]=h.useState(!1),I=G=>{V(!0),p?.(G);const J=()=>{V(!1),document.removeEventListener("mouseup",J)};document.addEventListener("mouseup",J)},H=G=>{var J,ie;if(S?.(G),B&&typeof getComputedStyle=="function"){const ae=(ie=(J=Y.current)===null||J===void 0?void 0:J.nativeElement)===null||ie===void 0?void 0:ie.querySelector("textarea");ae&&getComputedStyle(ae).resize==="both"&&Z(!0)}};return X(re(h.createElement(qp,Object.assign({autoComplete:x},m,{style:Object.assign(Object.assign({},$),g),styles:Object.assign(Object.assign({},N),C),disabled:_,allowClear:D,className:pe(K,F,d,f,he,E,q&&`${W}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},u),L),{textarea:pe({[`${W}-sm`]:ue==="small",[`${W}-lg`]:ue==="large"},ee,u?.textarea,L.textarea,B&&`${W}-mouse-active`),variant:pe({[`${W}-${j}`]:k},sa(W,M)),affixWrapper:pe(`${W}-textarea-affix-wrapper`,{[`${W}-affix-wrapper-rtl`]:T==="rtl",[`${W}-affix-wrapper-sm`]:ue==="small",[`${W}-affix-wrapper-lg`]:ue==="large",[`${W}-textarea-show-count`]:w||((r=e.count)===null||r===void 0?void 0:r.show)},ee)}),prefixCls:W,suffix:z&&h.createElement("span",{className:`${W}-textarea-suffix`},P),showCount:w,ref:Y,onResize:H,onMouseDown:I}))))}),Cm=(e,t,r,n)=>{const{titleMarginBottom:o,fontWeightStrong:i}=n;return{marginBottom:o,color:r,fontWeight:i,fontSize:e,lineHeight:t}},wm=e=>{const t=[1,2,3,4,5],r={};return t.forEach(n=>{r[`
168
+ h${n}&,
169
+ div&-h${n},
170
+ div&-h${n} > textarea,
171
+ h${n}
172
+ `]=Cm(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),r},Sm=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},kc(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Em=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:co[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:e.fontWeightStrong},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Rm=e=>{const{componentCls:t,paddingSM:r}=e,n=r;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${Oe(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorIcon,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},jm=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),$m=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Tm=e=>{const{componentCls:t,titleMarginTop:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccessText},[`&${t}-warning`]:{color:e.colorWarningText},[`&${t}-danger`]:{color:e.colorErrorText,"a&:active, a&:focus":{color:e.colorErrorTextActive},"a&:hover":{color:e.colorErrorTextHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},wm(e)),{[`
173
+ & + h1${t},
174
+ & + h2${t},
175
+ & + h3${t},
176
+ & + h4${t},
177
+ & + h5${t}
178
+ `]:{marginTop:r},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:r}}}),Em(e)),Sm(e)),{[`
179
+ ${t}-expand,
180
+ ${t}-collapse,
181
+ ${t}-edit,
182
+ ${t}-copy
183
+ `]:Object.assign(Object.assign({},kc(e)),{marginInlineStart:e.marginXXS})}),Rm(e)),jm(e)),$m()),{"&-rtl":{direction:"rtl"}})}},Om=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),$u=Rn("Typography",Tm,Om),_m=e=>{const{prefixCls:t,"aria-label":r,className:n,style:o,direction:i,maxLength:a,autoSize:l=!0,value:c,onSave:u,onCancel:f,onEnd:d,component:g,enterIcon:C=h.createElement(du,null)}=e,b=h.useRef(null),w=h.useRef(!1),p=h.useRef(null),[S,m]=h.useState(c);h.useEffect(()=>{m(c)},[c]),h.useEffect(()=>{var z;if(!((z=b.current)===null||z===void 0)&&z.resizableTextArea){const{textArea:P}=b.current.resizableTextArea;P.focus();const{length:M}=P.value;P.setSelectionRange(M,M)}},[]);const O=({target:z})=>{m(z.value.replace(/[\n\r]/g,""))},T=()=>{w.current=!0},R=()=>{w.current=!1},x=({keyCode:z})=>{w.current||(p.current=z)},E=()=>{u(S.trim())},$=({keyCode:z,ctrlKey:P,altKey:M,metaKey:Y,shiftKey:W})=>{p.current!==z||w.current||P||M||Y||W||(z===ol.ENTER?(E(),d?.()):z===ol.ESC&&f())},L=()=>{E()},[N,U,_]=$u(t),A=pe(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl",[`${t}-${g}`]:!!g},n,U,_);return N(h.createElement("div",{className:A,style:o},h.createElement(xm,{ref:b,maxLength:a,value:S,onChange:O,onKeyDown:x,onKeyUp:$,onCompositionStart:T,onCompositionEnd:R,onBlur:L,"aria-label":r,rows:1,autoSize:l}),C!==null?lu(C,{className:`${t}-edit-content-confirm`}):null))};var bi,dl;function Im(){return dl||(dl=1,bi=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(o){e.addRange(o)}),t&&t.focus()}}),bi}var yi,fl;function Pm(){if(fl)return yi;fl=1;var e=Im(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(i){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,a)}function o(i,a){var l,c,u,f,d,g,C=!1;a||(a={}),l=a.debug||!1;try{u=e(),f=document.createRange(),d=document.getSelection(),g=document.createElement("span"),g.textContent=i,g.ariaHidden="true",g.style.all="unset",g.style.position="fixed",g.style.top=0,g.style.clip="rect(0, 0, 0, 0)",g.style.whiteSpace="pre",g.style.webkitUserSelect="text",g.style.MozUserSelect="text",g.style.msUserSelect="text",g.style.userSelect="text",g.addEventListener("copy",function(w){if(w.stopPropagation(),a.format)if(w.preventDefault(),typeof w.clipboardData>"u"){l&&console.warn("unable to use e.clipboardData"),l&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var p=t[a.format]||t.default;window.clipboardData.setData(p,i)}else w.clipboardData.clearData(),w.clipboardData.setData(a.format,i);a.onCopy&&(w.preventDefault(),a.onCopy(w.clipboardData))}),document.body.appendChild(g),f.selectNodeContents(g),d.addRange(f);var b=document.execCommand("copy");if(!b)throw new Error("copy command was unsuccessful");C=!0}catch(w){l&&console.error("unable to copy using execCommand: ",w),l&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",i),a.onCopy&&a.onCopy(window.clipboardData),C=!0}catch(p){l&&console.error("unable to copy using clipboardData: ",p),l&&console.error("falling back to prompt"),c=n("message"in a?a.message:r),window.prompt(c,i)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(f):d.removeAllRanges()),g&&document.body.removeChild(g),u()}return C}return yi=o,yi}var Mm=Pm();const km=bo(Mm),Am=(e,t=!1)=>t&&e==null?[]:Array.isArray(e)?e:[e];var Nm=exports&&exports.__awaiter||function(e,t,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return new(r||(r=Promise))(function(i,a){function l(f){try{u(n.next(f))}catch(d){a(d)}}function c(f){try{u(n.throw(f))}catch(d){a(d)}}function u(f){f.done?i(f.value):o(f.value).then(l,c)}u((n=n.apply(e,t||[])).next())})};const Dm=({copyConfig:e,children:t})=>{const[r,n]=h.useState(!1),[o,i]=h.useState(!1),a=h.useRef(null),l=()=>{a.current&&clearTimeout(a.current)},c={};e.format&&(c.format=e.format),h.useEffect(()=>l,[]);const u=ft(f=>Nm(void 0,void 0,void 0,function*(){var d;f?.preventDefault(),f?.stopPropagation(),i(!0);try{const g=typeof e.text=="function"?yield e.text():e.text;km(g||Am(t,!0).join("")||"",c),i(!1),n(!0),l(),a.current=setTimeout(()=>{n(!1)},3e3),(d=e.onCopy)===null||d===void 0||d.call(e,f)}catch(g){throw i(!1),g}}));return{copied:r,copyLoading:o,onClick:u}};function xi(e,t){return h.useMemo(()=>{const r=!!e;return[r,Object.assign(Object.assign({},t),r&&typeof e=="object"?e:null)]},[e])}const Bm=e=>{const t=v.useRef(void 0);return v.useEffect(()=>{t.current=e}),t.current},zm=(e,t,r)=>v.useMemo(()=>e===!0?{title:t??r}:v.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??r},e):{title:e},[e,t,r]);var Lm=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};const Tu=h.forwardRef((e,t)=>{const{prefixCls:r,component:n="article",className:o,rootClassName:i,setContentRef:a,children:l,direction:c,style:u}=e,f=Lm(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:d,direction:g,className:C,style:b}=To("typography"),w=c??g,p=a?xn(t,a):t,S=d("typography",r);process.env.NODE_ENV!=="production"&&kt("Typography").deprecated(!a,"setContentRef","ref");const[m,O,T]=$u(S),R=pe(S,C,{[`${S}-rtl`]:w==="rtl"},o,i,O,T),x=Object.assign(Object.assign({},b),u);return m(h.createElement(n,Object.assign({className:R,style:x,ref:p},f),l))});process.env.NODE_ENV!=="production"&&(Tu.displayName="Typography");var Fm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Hm=function(t,r){return h.createElement(qt,Ze({},t,{ref:r,icon:Fm}))},Ou=h.forwardRef(Hm);process.env.NODE_ENV!=="production"&&(Ou.displayName="CheckOutlined");var Vm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},Wm=function(t,r){return h.createElement(qt,Ze({},t,{ref:r,icon:Vm}))},_u=h.forwardRef(Wm);process.env.NODE_ENV!=="production"&&(_u.displayName="CopyOutlined");var qm={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},Um=function(t,r){return h.createElement(qt,Ze({},t,{ref:r,icon:qm}))},Iu=h.forwardRef(Um);process.env.NODE_ENV!=="production"&&(Iu.displayName="LoadingOutlined");function hl(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Ci(e,t,r){return e===!0||e===void 0?t:e||r&&t}function Km(e){const t=document.createElement("em");e.appendChild(t),process.env.NODE_ENV!=="production"&&(t.className="ant-typography-css-ellipsis-content-measure");const r=e.getBoundingClientRect(),n=t.getBoundingClientRect();return e.removeChild(t),r.left>n.left||n.right>r.right||r.top>n.top||n.bottom>r.bottom}const _a=e=>["string","number"].includes(typeof e),Gm=({prefixCls:e,copied:t,locale:r,iconOnly:n,tooltips:o,icon:i,tabIndex:a,onCopy:l,loading:c})=>{const u=hl(o),f=hl(i),{copied:d,copy:g}=r??{},C=t?d:g,b=Ci(u[t?1:0],C),w=typeof b=="string"?b:C;return h.createElement($n,{title:b,getPopupContainer:p=>p.parentNode},h.createElement("button",{type:"button",className:pe(`${e}-copy`,{[`${e}-copy-success`]:t,[`${e}-copy-icon-only`]:n}),onClick:l,"aria-label":w,tabIndex:a},t?Ci(f[1],h.createElement(Ou,null),!0):Ci(f[0],c?h.createElement(Iu,null):h.createElement(_u,null),!0)))},Xn=h.forwardRef(({style:e,children:t},r)=>{const n=h.useRef(null);return h.useImperativeHandle(r,()=>({isExceed:()=>{const o=n.current;return o.scrollHeight>o.clientHeight},getHeight:()=>n.current.clientHeight})),h.createElement("span",{"aria-hidden":!0,ref:n,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},e)},t)}),Ym=e=>e.reduce((t,r)=>t+(_a(r)?String(r).length:1),0);function gl(e,t){let r=0;const n=[];for(let o=0;o<e.length;o+=1){if(r===t)return n;const i=e[o],l=_a(i)?String(i).length:1,c=r+l;if(c>t){const u=t-r;return n.push(String(i).slice(0,u)),n}n.push(i),r=c}return e}const wi=0,Si=1,Ei=2,Ri=3,pl=4,Qn={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Xm(e){const{enableMeasure:t,width:r,text:n,children:o,rows:i,expanded:a,miscDeps:l,onEllipsis:c}=e,u=h.useMemo(()=>un(n),[n]),f=h.useMemo(()=>Ym(u),[n]),d=h.useMemo(()=>o(u,!1),[n]),[g,C]=h.useState(null),b=h.useRef(null),w=h.useRef(null),p=h.useRef(null),S=h.useRef(null),m=h.useRef(null),[O,T]=h.useState(!1),[R,x]=h.useState(wi),[E,$]=h.useState(0),[L,N]=h.useState(null);Le(()=>{x(t&&r&&f?Si:wi)},[r,n,i,t,u]),Le(()=>{var z,P,M,Y;if(R===Si){x(Ei);const W=w.current&&getComputedStyle(w.current).whiteSpace;N(W)}else if(R===Ei){const W=!!(!((z=p.current)===null||z===void 0)&&z.isExceed());x(W?Ri:pl),C(W?[0,f]:null),T(W);const F=((P=p.current)===null||P===void 0?void 0:P.getHeight())||0,X=i===1?0:((M=S.current)===null||M===void 0?void 0:M.getHeight())||0,ee=((Y=m.current)===null||Y===void 0?void 0:Y.getHeight())||0,K=Math.max(F,X+ee);$(K+1),c(W)}},[R]);const U=g?Math.ceil((g[0]+g[1])/2):0;Le(()=>{var z;const[P,M]=g||[0,0];if(P!==M){const W=(((z=b.current)===null||z===void 0?void 0:z.getHeight())||0)>E;let F=U;M-P===1&&(F=W?P:M),C(W?[P,F]:[F,M])}},[g,U]);const _=h.useMemo(()=>{if(!t)return o(u,!1);if(R!==Ri||!g||g[0]!==g[1]){const z=o(u,!1);return[pl,wi].includes(R)?z:h.createElement("span",{style:Object.assign(Object.assign({},Qn),{WebkitLineClamp:i})},z)}return o(a?u:gl(u,g[0]),O)},[a,R,g,u].concat(rt(l))),A={width:r,margin:0,padding:0,whiteSpace:L==="nowrap"?"normal":"inherit"};return h.createElement(h.Fragment,null,_,R===Ei&&h.createElement(h.Fragment,null,h.createElement(Xn,{style:Object.assign(Object.assign(Object.assign({},A),Qn),{WebkitLineClamp:i}),ref:p},d),h.createElement(Xn,{style:Object.assign(Object.assign(Object.assign({},A),Qn),{WebkitLineClamp:i-1}),ref:S},d),h.createElement(Xn,{style:Object.assign(Object.assign(Object.assign({},A),Qn),{WebkitLineClamp:1}),ref:m},o([],!0))),R===Ri&&g&&g[0]!==g[1]&&h.createElement(Xn,{style:Object.assign(Object.assign({},A),{top:400}),ref:b},o(gl(u,U),!0)),R===Si&&h.createElement("span",{style:{whiteSpace:"inherit"},ref:w}))}const Pu=({enableEllipsis:e,isEllipsis:t,children:r,tooltipProps:n})=>!n?.title||!e?r:h.createElement($n,Object.assign({open:t?void 0:!1},n),r);process.env.NODE_ENV!=="production"&&(Pu.displayName="EllipsisTooltip");var Qm=exports&&exports.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function Zm({mark:e,code:t,underline:r,delete:n,strong:o,keyboard:i,italic:a},l){let c=l;function u(f,d){d&&(c=h.createElement(f,{},c))}return u("strong",o),u("u",r),u("del",n),u("code",t),u("mark",e),u("kbd",i),u("i",a),c}const Jm="...",ml=["delete","mark","code","underline","strong","keyboard","italic"],ev=h.forwardRef((e,t)=>{var r;const{prefixCls:n,className:o,style:i,type:a,disabled:l,children:c,ellipsis:u,editable:f,copyable:d,component:g,title:C}=e,b=Qm(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:w,direction:p}=h.useContext(Vt),[S]=Gh("Text"),m=h.useRef(null),O=h.useRef(null),T=w("typography",n),R=rc(b,ml),[x,E]=xi(f),[$,L]=$r(!1,{value:E.editing}),{triggerType:N=["icon"]}=E,U=ce=>{var fe;ce&&((fe=E.onStart)===null||fe===void 0||fe.call(E)),L(ce)},_=Bm($);Le(()=>{var ce;!$&&_&&((ce=O.current)===null||ce===void 0||ce.focus())},[$]);const A=ce=>{ce?.preventDefault(),U(!0)},z=ce=>{var fe;(fe=E.onChange)===null||fe===void 0||fe.call(E,ce),U(!1)},P=()=>{var ce;(ce=E.onCancel)===null||ce===void 0||ce.call(E),U(!1)},[M,Y]=xi(d),{copied:W,copyLoading:F,onClick:X}=Dm({copyConfig:Y,children:c}),[ee,K]=h.useState(!1),[re,le]=h.useState(!1),[he,ue]=h.useState(!1),[j,k]=h.useState(!1),[D,B]=h.useState(!0),[V,q]=xi(u,{expandable:!1,symbol:ce=>ce?S?.collapse:S?.expand}),[Z,I]=$r(q.defaultExpanded||!1,{value:q.expanded}),H=V&&(!Z||q.expandable==="collapsible"),{rows:G=1}=q,J=h.useMemo(()=>H&&(q.suffix!==void 0||q.onEllipsis||q.expandable||x||M),[H,q,x,M]);Le(()=>{V&&!J&&(K(gs("webkitLineClamp")),le(gs("textOverflow")))},[J,V]);const[ie,ae]=h.useState(H),xe=h.useMemo(()=>J?!1:G===1?re:ee,[J,re,ee]);Le(()=>{ae(xe&&H)},[xe,H]);const be=H&&(ie?j:he),we=H&&G===1&&ie,de=H&&G>1&&ie,oe=(ce,fe)=>{var We;I(fe.expanded),(We=q.onExpand)===null||We===void 0||We.call(q,ce,fe)},[ye,Ee]=h.useState(0),Ye=({offsetWidth:ce})=>{Ee(ce)},Me=ce=>{var fe;ue(ce),he!==ce&&((fe=q.onEllipsis)===null||fe===void 0||fe.call(q,ce))};h.useEffect(()=>{const ce=m.current;if(V&&ie&&ce){const fe=Km(ce);j!==fe&&k(fe)}},[V,ie,c,de,D,ye]),h.useEffect(()=>{const ce=m.current;if(typeof IntersectionObserver>"u"||!ce||!ie||!H)return;const fe=new IntersectionObserver(()=>{B(!!ce.offsetParent)});return fe.observe(ce),()=>{fe.disconnect()}},[ie,H]);const ke=zm(q.tooltip,E.text,c),Ce=h.useMemo(()=>{if(!(!V||ie))return[E.text,c,C,ke.title].find(_a)},[V,ie,C,ke.title,be]);if($)return h.createElement(_m,{value:(r=E.text)!==null&&r!==void 0?r:typeof c=="string"?c:"",onSave:z,onCancel:P,onEnd:E.onEnd,prefixCls:T,className:o,style:i,direction:p,component:g,maxLength:E.maxLength,autoSize:E.autoSize,enterIcon:E.enterIcon});const Ae=()=>{const{expandable:ce,symbol:fe}=q;return ce?h.createElement("button",{type:"button",key:"expand",className:`${T}-${Z?"collapse":"expand"}`,onClick:We=>oe(We,{expanded:!Z}),"aria-label":Z?S.collapse:S?.expand},typeof fe=="function"?fe(Z):fe):null},ze=()=>{if(!x)return;const{icon:ce,tooltip:fe,tabIndex:We}=E,At=un(fe)[0]||S?.edit,rr=typeof At=="string"?At:"";return N.includes("icon")?h.createElement($n,{key:"edit",title:fe===!1?"":At},h.createElement("button",{type:"button",ref:O,className:`${T}-edit`,onClick:A,"aria-label":rr,tabIndex:We},ce||h.createElement(Wl,{role:"button"}))):null},_e=()=>M?h.createElement(Gm,Object.assign({key:"copy"},Y,{prefixCls:T,copied:W,locale:S,onCopy:X,loading:F,iconOnly:c==null})):null,ve=ce=>[ce&&Ae(),ze(),_e()],Ne=ce=>[ce&&!Z&&h.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Jm),q.suffix,ve(ce)];return h.createElement(Ar,{onResize:Ye,disabled:!H},ce=>h.createElement(Pu,{tooltipProps:ke,enableEllipsis:H,isEllipsis:be},h.createElement(Tu,Object.assign({className:pe({[`${T}-${a}`]:a,[`${T}-disabled`]:l,[`${T}-ellipsis`]:V,[`${T}-ellipsis-single-line`]:we,[`${T}-ellipsis-multiple-line`]:de},o),prefixCls:n,style:Object.assign(Object.assign({},i),{WebkitLineClamp:de?G:void 0}),component:g,ref:xn(ce,m,t),direction:p,onClick:N.includes("text")?A:void 0,"aria-label":Ce?.toString(),title:C},R),h.createElement(Xm,{enableMeasure:H&&!ie,text:c,rows:G,width:ye,onEllipsis:Me,expanded:Z,miscDeps:[W,Z,F,x,M,S].concat(rt(ml.map(fe=>e[fe])))},(fe,We)=>Zm(e,h.createElement(h.Fragment,null,fe.length>0&&We&&!Z&&Ce?h.createElement("span",{key:"show-content","aria-hidden":!0},fe):fe,Ne(We)))))))}),tv=h.forwardRef((e,t)=>h.createElement(ev,Object.assign({ref:t},e,{component:"div"}))),vl=(e,t)=>{const r=window.innerWidth,n=window.innerHeight,o=Math.min(Math.max(e.x,0),Math.max(0,r-t.width)),i=Math.min(Math.max(e.y,0),Math.max(0,n-t.height));return{x:o,y:i}},rv=({title:e="팝업",width:t=800,height:r=600,minWidth:n=400,minHeight:o=300,onClose:i,children:a,footer:l,showMask:c=!0,maskStyle:u={backgroundColor:"rgba(0,0,0,0.3)"},buttons:f=[]})=>{const[d,g]=v.useState(t),[C,b]=v.useState(r),w=v.useRef(null),{loading:p}=ct.usePopupLoadingStore(),S=v.useMemo(()=>{const $=Math.max(0,(window.innerWidth-t)/2),L=Math.max(0,(window.innerHeight-r)/2);return{x:$,y:L}},[t,r]),[m,O]=v.useState(S),T=($,L)=>{const N=vl({x:L.x,y:L.y},{width:d,height:C});O(N)},R=($,L,N,U,_)=>{const A={width:parseInt(N.style.width,10),height:parseInt(N.style.height,10)},z=vl(_,A);g(A.width),b(A.height),O(z)},x=()=>w.current??document.body,E=[...f,{key:"CLOSE",text:"닫기",type:"default",danger:!1,disabled:!1,onClick:i}];return s.jsxs("div",{style:{position:"fixed",inset:0,zIndex:1e3},children:[c&&s.jsx("div",{onClick:i,style:{position:"absolute",inset:0,...u,zIndex:0}}),s.jsxs(xl.Rnd,{className:"bwg-draggable",size:{width:d,height:C},position:m,bounds:"window",minWidth:n,minHeight:o,onDragStop:T,onResizeStop:R,dragHandleClassName:"drag-handle",cancel:".rnd-cancel",enableUserSelectHack:!1,style:{backgroundColor:"white",borderRadius:20,boxShadow:"0 4px 15px rgba(0,0,0,0.25)",overflow:"visible",position:"absolute",zIndex:1},children:[s.jsx("div",{className:"bwg-popup-content",style:{overflow:"hidden",borderRadius:20,height:"100%"},children:s.jsx(la,{getPopupContainer:x,children:s.jsx(dr,{type:"vertical",children:s.jsxs(y.Card,{className:"popup-drag-container",title:s.jsx("div",{className:"drag-handle",style:{display:"flex",alignItems:"center",gap:8},children:e}),style:{width:"100%",height:"100%"},styles:{body:{height:l?"calc(100% - 120px)":"calc(100% - 77px)",padding:20,overflow:"auto"}},extra:s.jsx("div",{style:{display:"flex",gap:8},children:E.map($=>s.jsx(y.Button,{type:$.type,danger:$.danger,disabled:$.disabled,className:"bwg-btn",onClick:$.onClick,children:$.text},$.key))}),children:[s.jsxs("div",{className:"rnd-cancel",style:{height:"100%"},children:[a,p&&s.jsx(Cl.LoadingOverlay,{})]}),l&&s.jsx("div",{style:{position:"absolute",bottom:0,left:0,right:0,padding:"16px 20px",borderTop:"1px solid #f0f0f0",backgroundColor:"#fafafa",borderRadius:"0 0 8px 8px"},children:l})]})})})}),s.jsx("div",{ref:w,className:"bwg-popup-portal-root",style:{position:"relative"}})]})]})},{TextArea:nv}=y.Input,Zn=[{label:"요청",value:"RQST"},{label:"문의",value:"INQR"}],ov={INQR:"blue",RQST:"green",RPRT:"red",SGSN:"purple"},bl=[{label:"대기",value:"READY"},{label:"담당자 지정",value:"ASSIGNED"},{label:"처리중",value:"PROCESSING"},{label:"처리완료",value:"COMPLETED"},{label:"반려",value:"REJECTED"}],iv={READY:"gray",ASSIGNED:"blue",PROCESSING:"yellow",COMPLETED:"green",REJECTED:"red"},yl={READY:0,ASSIGNED:25,PROCESSING:50,COMPLETED:100,REJECTED:100},av=({open:e,onClose:t})=>{const{searchBoxRef:r}=Mr.useSearchBox(),n=v.useRef(null),o=v.useRef(null),{user:i}=ct.useUserStore(),{activeMenuItem:a}=ct.useMenuViewStore(),[l]=y.Form.useForm(),[c,u]=v.useState(!1),[f,d]=v.useState(!1),[g,C]=v.useState(!1),[b,w]=v.useState(!1),[p,S]=v.useState(!1),[m,O]=v.useState("list");v.useState(null);const T=v.useRef(null),[R,x]=v.useState([]),[E,$]=v.useState(""),[L,N]=v.useState(!1),[U,_]=v.useState(15),A=v.useRef(null),z=v.useMemo(()=>Jn((I,H,G,J,ie)=>{const ae=I.getValue(H.index?.itemIndex,"type");ie.render(s.jsx(y.Tag,{color:ov[ae],children:Zn.find(xe=>xe.value===ae)?.label}))}),[]),P=v.useMemo(()=>Jn((I,H,G,J,ie)=>{const ae=I.getValue(H.index?.itemIndex,"status");ie.render(s.jsx(y.Tag,{color:iv[ae],children:bl.find(xe=>xe.value===ae)?.label}))}),[]),M=v.useMemo(()=>Jn((I,H,G,J,ie)=>{I.getValue(H.index?.itemIndex,"urgentYn")==="Y"?ie.render(s.jsx(me.AlertTwoTone,{twoToneColor:"red"})):ie.render(s.jsx(s.Fragment,{}))}),[]),Y=[{fieldName:"boardMstrId",header:{text:"글 번호"},width:80},{name:"type",fieldName:"type",header:{text:"등록구분"},width:80,renderer:"tagType"},{fieldName:"title",header:{text:"제목"},width:200},{fieldName:"content",header:{text:"내용"},width:200,visible:!1},{name:"status",fieldName:"status",header:{text:"상태"},width:80,renderer:"statusTag"},{fieldName:"rgstUserId",visible:!1},{fieldName:"rgstUserNm",header:{text:"등록자"},width:100},{fieldName:"rgstDt",header:{text:"등록일자"},width:120,renderer:Ve.realFormat.maskYmd},{fieldName:"dueDt",header:{text:"마감요청일자"},width:120,renderer:Ve.realFormat.maskYmd},{fieldName:"urgentYn",header:{text:"긴급여부"},width:80,renderer:"alert"},{fieldName:"prcsUserId",visible:!1},{fieldName:"prcsUserNm",header:{text:"처리담당자"},width:100},{fieldName:"prcsDt",header:{text:"처리일자"},width:120,renderer:Ve.realFormat.maskYmd},{fieldName:"scrnId",header:{text:"화면ID"},width:100,visible:!1},{fieldName:"menuId",header:{text:"메뉴ID"},width:100,visible:!1}],W={onCellDblClicked:(I,H)=>{const G=H.itemIndex??-1;if(G<0)return;const J=I.getValues(G);console.log("🔍 그리드 셀 더블클릭 이벤트:",J);const ie={...J,menuId:a?.menuId,menuNm:a?.menuNm,scrnId:a?.scrnId};l.setFieldsValue(ie),C(ie.rgstUserId===i?.userId),w(ie.status==="COMPLETED"||ie.status==="REJECTED"),O("detail")}},F=()=>{l.resetFields(),O("list"),q.SCMBoardMstr0001(1,20)},X=async I=>{u(!0);try{l.validateFields().then(H=>{console.log("문의/신고 제출:",H),m==="new"?q.SCMBoardMstr0003(H):m==="detail"&&q.SCMBoardMstr0004(H)})}catch(H){console.error("문의/신고 제출 실패:",H)}finally{u(!1)}},ee=()=>{q.SCMBoardMstr0005()},K=()=>{r?.current?.resetForm(),l.resetFields(),m==="new"?O("list"):(O("list"),t())},re=()=>{r?.current?.resetForm(),l.resetFields(),O("list"),t()},le=()=>{(m==="detail"||m==="new")&&O("list")},he=()=>{l.resetFields(),O("new")},ue=()=>{console.log("댓글 수동 새로고침"),_(15)},j=()=>{if(!E.trim()){y.message.warning("댓글 상세내용 작성");return}q.SCMBoardDtls0002(l.getFieldValue("boardMstrId"),E.trim()),$(""),setTimeout(()=>{T.current&&(T.current.scrollTop=T.current.scrollHeight)},100)},k=I=>{const H=R.find(G=>G.id===I);if(H&&H.regUserId!==i?.userId){y.message.error("본인이 작성한 댓글만 삭제할 수 있습니다.");return}q.SCMBoardDtls0003(l.getFieldValue("boardMstrId"),I)};v.useEffect(()=>{e&&setTimeout(()=>{q.SCMBoardMstr0001(1,20)},100)},[e]);const D=()=>s.jsxs(cr,{border:!1,children:[s.jsx(Co,{border:!0,ref:r,reqRows:s.jsxs(s.Fragment,{children:[s.jsx(y.Row,{gutter:[16,8],style:{marginBottom:"8px"},children:s.jsx(y.Col,{span:24,children:s.jsx(Pe.BwgFormItem,{label:"화면 정보",name:void 0,children:s.jsxs(y.Space.Compact,{style:{width:"100%"},children:[s.jsx(y.Form.Item,{name:"menuId",style:{width:"40%",marginBottom:0,marginInlineEnd:0},validateStatus:"",help:"",children:s.jsx(y.Input,{disabled:!0})}),s.jsx(y.Form.Item,{name:"menuNm",style:{width:"60%",marginBottom:0},children:s.jsx(y.Input,{disabled:!0})})]})})})}),s.jsxs(y.Row,{gutter:[16,8],style:{marginBottom:"8px"},children:[s.jsx(y.Col,{span:6,children:s.jsx(Pe.BwgSelect,{itemProps:{label:"등록구분",name:"type"},selectProps:{options:Zn}})}),s.jsx(y.Col,{span:12,children:s.jsx(Pe.BwgRangePicker,{itemProps:{label:"등록일자",name:"rgstDt"},inputProps:{allowEmpty:!0}})}),s.jsx(y.Col,{span:6,children:s.jsx(Pe.BwgSwitch,{itemProps:{name:"myArticle",label:"내 글만"},inputProps:{format:"YN",onChange:()=>console.log("hello!!")}})})]}),s.jsx(y.Row,{children:s.jsx(y.Col,{span:24,children:s.jsx(Pe.BwgInput,{itemProps:{label:"제목 및 내용",name:"keyword"}})})})]})}),s.jsx($l,{ref:A,gridColumns:Y,gridEvents:W,gridOptions:{},renderers:[{name:"tagType",renderer:z},{name:"statusTag",renderer:P},{name:"alert",renderer:M}]}),s.jsx(wo,{ref:n,mode:"server",onServerPageChange:(I,H)=>{console.log("🔄 서버 모드 페이징 변경:",{page:I,size:H}),q.SCMBoardMstr0001(I,H)},pageSizeOptions:[10,20,50,100]})]}),B=()=>s.jsxs(y.Splitter,{children:[s.jsx(y.Splitter.Panel,{defaultSize:"70%",min:"60%",max:"80%",style:{paddingRight:"15px",overflowX:"hidden",overflowY:"hidden"},children:s.jsx(cr,{children:s.jsxs(y.Form,{form:l,onFinish:X,labelCol:{flex:"100px"},disabled:!g||b,children:[s.jsxs(y.Row,{gutter:[16,8],children:[s.jsxs(y.Col,{span:8,children:[s.jsx(y.Form.Item,{name:"boardMstrId",hidden:!0,children:s.jsx(y.Input,{})}),s.jsx(Pe.BwgSelect,{itemProps:{name:"type",label:"구분"},selectProps:{options:Zn}})]}),s.jsxs(y.Col,{span:16,children:[s.jsx(Pe.BwgFormItem,{label:"화면 정보",name:void 0,children:s.jsxs(y.Space.Compact,{children:[s.jsx(y.Form.Item,{name:"menuId",style:{width:"40%",marginBottom:0,marginInlineEnd:0},validateStatus:"",help:"",children:s.jsx(y.Input,{readOnly:!0})}),s.jsx(y.Form.Item,{name:"menuNm",style:{width:"60%",marginBottom:0},children:s.jsx(y.Input,{readOnly:!0})})]})}),s.jsx(y.Form.Item,{name:"scrnId",style:{width:"100%"},hidden:!0,children:s.jsx(y.Input,{readOnly:!0})})]})]}),s.jsxs(y.Row,{gutter:[16,8],children:[s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgFormItem,{label:"작성자",name:void 0,children:s.jsxs(y.Space.Compact,{style:{width:"100%"},children:[s.jsx(y.Form.Item,{name:"rgstUserId",style:{width:"40%",marginBottom:0,marginInlineEnd:0},validateStatus:"",help:"",children:s.jsx(y.Input,{readOnly:!0})}),s.jsx(y.Form.Item,{name:"rgstUserNm",style:{width:"60%",marginBottom:0},children:s.jsx(y.Input,{readOnly:!0})})]})})}),s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgDatePicker,{itemProps:{label:"작성일자",name:"rgstDt"},inputProps:{disabled:!0}})}),s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgSelect,{itemProps:{name:"status",label:"상태"},selectProps:{options:bl,disabled:!0}})})]}),s.jsxs(y.Row,{gutter:[16,8],children:[s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgDatePicker,{itemProps:{label:"마감요청일",name:"dueDate"}})}),s.jsx(y.Col,{span:8,children:s.jsxs(y.Flex,{vertical:!0,gap:2,children:[s.jsx("span",{style:{fontSize:"12px",color:"#000000E0"},children:"진척률"}),s.jsx(y.Progress,{percent:yl[l.getFieldValue("status")],status:yl[l.getFieldValue("status")]>0?"active":"normal",size:"small",format:I=>`${I}%`})]})}),s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgCheck,{itemProps:{name:"urgentYn",label:"긴급여부"}})})]}),s.jsxs(y.Row,{gutter:[16,8],children:[s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgFormItem,{label:"처리담당자",name:void 0,help:"",children:s.jsxs(y.Space.Compact,{children:[s.jsx(y.Form.Item,{name:"processor",style:{width:"40%",marginBottom:0,marginInlineEnd:0},validateStatus:"",help:"",children:s.jsx(y.Input,{readOnly:!0})}),s.jsx(y.Form.Item,{name:"processorNm",style:{width:"60%",marginBottom:0},children:s.jsx(y.Input,{readOnly:!0})})]})})}),s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgDatePicker,{itemProps:{label:"처리일자",name:"processDt"}})})]}),s.jsx(y.Row,{gutter:[16,8],children:s.jsx(y.Col,{span:24,children:s.jsx(Pe.BwgFormItem,{label:"제목",name:"title",style:{width:"100%"},children:s.jsx(y.Input,{})})})}),s.jsx($i,{border:!1,itemProps:{name:"content",label:"내용",rules:[{required:!0,message:"내용을 입력하세요."}]},editorProps:{isEditing:g&&!b,title:{title:"에디터"}}})]})})}),s.jsx(y.Splitter.Panel,{collapsible:!0,style:{paddingLeft:"15px"},children:s.jsxs(cr,{style:{flex:"0 0 400px",display:"flex",flexDirection:"column"},children:[s.jsxs("div",{style:{borderBottom:"1px solid #e8e8e8",paddingBottom:"12px",marginBottom:"16px",display:"flex",alignItems:"center",justifyContent:"space-between"},children:[s.jsx("span",{style:{fontSize:"14px",fontWeight:"600",color:"#262626"},children:"댓글"}),s.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[s.jsx(y.Button,{type:"text",icon:s.jsx(me.ReloadOutlined,{spin:L||p}),onClick:ue,disabled:L||p,size:"small",style:{fontSize:"12px",color:b?"#d9d9d9":p?"#8c8c8c":"#595959",height:"24px",padding:"0 8px"}}),!b&&s.jsx("span",{style:{position:"absolute",top:"-4px",right:"-4px",fontSize:"10px",fontWeight:"700",color:L?"#8c8c8c":"#1890ff",minWidth:"14px",height:"14px",lineHeight:"14px",textAlign:"center",borderRadius:"50%",pointerEvents:"none"},children:U})]})]}),s.jsx("div",{ref:T,style:{flex:1,overflowY:"auto",marginBottom:"16px",minHeight:0,position:"relative"},children:p?s.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"200px",color:"#8c8c8c"},children:[s.jsx("div",{style:{marginBottom:"12px"},children:s.jsx(me.ReloadOutlined,{spin:!0,style:{fontSize:"24px"}})}),s.jsx("div",{style:{fontSize:"13px"},children:"댓글을 불러오는 중..."})]}):R.length===0?s.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"200px",color:"#8c8c8c"},children:s.jsx("div",{style:{fontSize:"13px"},children:"등록된 댓글이 없습니다."})}):s.jsx(y.List,{dataSource:R,renderItem:I=>s.jsxs(y.List.Item,{style:{position:"relative",paddingRight:"20px",padding:"12px 20px 12px 12px",borderBottom:"1px solid #f0f0f0"},children:[s.jsx(y.List.Item.Meta,{avatar:s.jsx(y.Avatar,{size:32,style:{backgroundColor:"#1890ff",fontSize:"13px"},children:I.author[0]}),title:s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"4px"},children:[s.jsx("span",{style:{fontWeight:"500",fontSize:"13px",color:"#262626"},children:I.author}),s.jsx("span",{style:{fontSize:"11px",color:"#8c8c8c"},children:I.regDt})]}),description:s.jsx("span",{style:{fontSize:"13px",color:"#595959",lineHeight:"1.5"},children:I.content})}),I.regUserId===i?.userId&&s.jsx(y.Button,{type:"text",danger:!0,icon:s.jsx(me.DeleteOutlined,{style:{fontSize:"12px"}}),size:"small",onClick:()=>k(I.id),disabled:p,style:{position:"absolute",right:"8px",top:"62%",transform:"translateY(-50%)",opacity:p?.3:.5,height:"24px",width:"24px",padding:0},onMouseEnter:H=>{p||(H.currentTarget.style.opacity="1")},onMouseLeave:H=>{H.currentTarget.style.opacity=p?"0.3":"0.5"}})]},I.id)})}),s.jsx("div",{style:{padding:"12px",borderTop:"1px solid #e8e8e8",backgroundColor:b?"#f5f5f5":"#fafafa",flexShrink:0,marginTop:"auto"},children:b?s.jsxs("div",{style:{textAlign:"center",padding:"20px",color:"#8c8c8c",fontSize:"13px",backgroundColor:"#ffffff",borderRadius:"6px",border:"1px solid #e8e8e8"},children:[s.jsx("div",{style:{marginBottom:"8px"},children:s.jsx(me.AlertTwoTone,{twoToneColor:"#faad14"})}),s.jsx("div",{children:"이미 완료처리된 게시글입니다."}),s.jsx("div",{style:{fontSize:"11px",marginTop:"4px"},children:"댓글을 작성할 수 없습니다."})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{style:{marginBottom:"8px"},children:s.jsx(nv,{rows:2,placeholder:p?"댓글 처리 중...":"댓글을 입력하세요...",value:E,onChange:I=>$(I.target.value),maxLength:300,disabled:p,style:{borderRadius:"6px",border:"1px solid #d9d9d9",resize:"none",fontSize:"13px",backgroundColor:p?"#f5f5f5":"#ffffff",color:p?"#8c8c8c":"#000000"},onFocus:I=>{p||(I.target.style.borderColor="#1890ff",I.target.style.boxShadow="0 0 0 2px rgba(24, 144, 255, 0.05)")},onBlur:I=>{I.target.style.borderColor="#d9d9d9",I.target.style.boxShadow="none"}})}),s.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"},children:[s.jsx("span",{style:{fontSize:"11px",color:"#8c8c8c"},children:p?"처리 중...":`${E.length} / 300자`}),s.jsx(y.Button,{type:"primary",onClick:j,size:"small",loading:p,style:{borderRadius:"4px",fontSize:"12px",height:"28px",padding:"0 16px",fontWeight:"500"},disabled:!E.trim()||p,children:p?"등록 중...":"등록"})]})]})})]})})]}),V=()=>s.jsx(cr,{children:s.jsxs(Pe.BwgForm,{form:l,onFinish:X,initialValues:{type:"INQR"},labelCol:{flex:"100px"},children:[s.jsxs(y.Row,{gutter:[16,8],children:[s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgSelect,{itemProps:{name:"type",label:"구분",rules:[{required:!0,message:"구분을 선택해주세요."}]},selectProps:{options:Zn}})}),s.jsxs(y.Col,{span:16,children:[s.jsx(Pe.BwgFormItem,{label:"화면 정보",name:void 0,children:s.jsxs(y.Space.Compact,{style:{width:"100%"},children:[s.jsx(y.Form.Item,{name:"menuId",style:{width:"40%",marginBottom:0,marginInlineEnd:0},validateStatus:"",help:"",children:s.jsx(y.Input,{readOnly:!0})}),s.jsx(y.Form.Item,{name:"menuNm",style:{width:"60%",marginBottom:0},children:s.jsx(y.Input,{readOnly:!0})})]})}),s.jsx(y.Form.Item,{name:"scrnId",style:{width:"100%"},hidden:!0,children:s.jsx(y.Input,{readOnly:!0})})]})]}),s.jsxs(y.Row,{gutter:[16,8],children:[s.jsx(y.Col,{span:8,children:s.jsx(Pe.BwgFormItem,{label:"작성자",name:void 0,children:s.jsxs(y.Space.Compact,{style:{width:"100%"},children:[s.jsx(y.Form.Item,{name:"rgstUserId",style:{width:"40%",marginBottom:0,marginInlineEnd:0},validateStatus:"",help:"",children:s.jsx(y.Input,{readOnly:!0})}),s.jsx(y.Form.Item,{name:"rgstUserNm",style:{width:"60%",marginBottom:0},children:s.jsx(y.Input,{readOnly:!0})})]})})}),s.jsx(y.Col,{span:6,children:s.jsx(Pe.BwgFormItem,{label:"작성일자",name:"rgstDt",style:{width:"100%"},children:s.jsx(y.DatePicker,{disabled:!0})})}),s.jsx(y.Col,{span:6,children:s.jsx(Pe.BwgFormItem,{label:"마감요청일",name:"dueDate",style:{width:"100%"},children:s.jsx(y.DatePicker,{})})}),s.jsx(y.Col,{span:4,children:s.jsx(Pe.BwgCheck,{itemProps:{name:"urgentYn",label:"긴급여부"}})})]}),s.jsx(y.Row,{gutter:[16,8],children:s.jsx(y.Col,{span:24,children:s.jsx(Pe.BwgFormItem,{label:"제목",name:"title",style:{width:"100%"},rules:[{required:!0,message:"제목을 입력해주세요."}],children:s.jsx(y.Input,{})})})}),s.jsx($i,{border:!1,itemProps:{name:"content"},editorProps:{isEditing:f,title:{title:s.jsxs(s.Fragment,{children:[s.jsx(me.EditOutlined,{style:{marginRight:"5px"}})," 상세내용 작성"]}),children:s.jsx(y.Button,{icon:s.jsx(me.EyeFilled,{}),onClick:()=>d(!f),children:"미리보기"})}}})]})});v.useEffect(()=>{m==="new"&&(d(!0),l.setFieldsValue({type:"INQR",menuId:a?.menuId,menuNm:a?.menuNm,scrnId:a?.scrnId,rgstUserId:i?.userId,rgstUserNm:i?.userNm,rgstDt:Du(),content:""}))},[m,l,a,i]),v.useEffect(()=>{if(m==="detail"&&!b){const I=setInterval(()=>{_(H=>H<=1?(console.log("🔄 댓글 자동 갱신 실행 (카운트다운 완료)"),q.SCMBoardDtls0001(l.getFieldValue("boardMstrId")),15):H-1)},1e3);return q.SCMBoardDtls0001(l.getFieldValue("boardMstrId")),()=>{console.log("🧹 댓글 인터벌 정리"),clearInterval(I)}}else m==="detail"&&b&&(console.log("📋 완료된 게시글 - 댓글 조회만"),q.SCMBoardDtls0001(l.getFieldValue("boardMstrId")))},[m,b,l]),v.useEffect(()=>()=>{console.log("🧹 컴포넌트 언마운트 - 모든 인터벌 정리"),o.current&&(clearInterval(o.current),o.current=null)},[]),v.useEffect(()=>{m==="list"&&a&&(r?.current?.setFormData({menuId:a?.menuId,menuNm:a?.menuNm}),q.SCMBoardMstr0001(1,20))},[m,a]),v.useEffect(()=>{e&&a&&r?.current?.setFormData({menuId:a?.menuId,menuNm:a?.menuNm})},[e,a]);const q={SCMBoardMstr0001:async(I,H)=>{const G=I||n.current?.currentPage||1,J=H||n.current?.pageSize||20,ie={...r?.current?.getFormData(),pageNum:G,pageCount:J};console.log("🔍 서버 모드 페이징 요청:",ie);try{const ae=await Ve.callService("SCMBoardMstr0001",ie,{isPopup:!0});if(ae&&ae.pageList){const xe=ae.pageCnt||0;n.current?.setTotalData(xe),A.current?.addAllData(ae.pageList)}else n.current?.setTotalData(0),A.current?.addAllData([]),console.log("📭 서버 모드 페이징 데이터 없음")}catch(ae){console.error("❌ SCMBoardMstr0001 호출 실패:",ae),y.message.error("데이터 조회 중 오류가 발생했습니다.")}},SCMBoardMstr0003:I=>{Ve.callService("SCMBoardMstr0003",{...I,status:"READY"},{isPopup:!0}).then(H=>{console.log("문의/신고 제출 응답:",H),y.message.success("정상 접수되었습니다."),F()}).catch(H=>{console.error("문의/신고 제출 실패:",H),y.message.error("접수 중 오류가 발생했습니다.")})},SCMBoardMstr0004:I=>{Ve.callService("SCMBoardMstr0004",{boardMstrId:l.getFieldValue("boardMstrId"),...I},{isPopup:!0}).then(H=>{console.log("문의/신고 제출 응답:",H),y.message.success("수정이 완료되었습니다."),F()}).catch(H=>{console.error("문의/신고 변경 실패:",H)})},SCMBoardMstr0005:()=>{Ve.callService("SCMBoardMstr0005",{boardMstrId:l.getFieldValue("boardMstrId")},{isPopup:!0}).then(I=>{console.log("문의/신고 삭제 응답:",I),y.message.success("삭제가 완료되었습니다."),F()})},SCMBoardDtls0001:I=>{S(!0),Ve.callService("SCMBoardDtls0001",{boardMstrId:I},{isPopup:!0,showLoading:!1}).then(H=>{if(H&&H.subList){const G=H.subList.map(J=>({id:J.seq,author:J.userNm||J.regUserId,regUserId:J.regUserId,content:J.content,regDt:J.regDt}));x(G)}else x([])}).catch(H=>{console.error("게시글 댓글 목록 조회 실패:",H),y.message.error("댓글 목록 조회 중 오류가 발생했습니다.")}).finally(()=>{S(!1),_(15)})},SCMBoardDtls0002:(I,H)=>{S(!0),Ve.callService("SCMBoardDtls0002",{boardMstrId:I,content:H},{isPopup:!0,showLoading:!1}).then(G=>{G&&G.result===1?(y.message.success("댓글이 등록되었습니다."),q.SCMBoardDtls0001(I)):y.message.error("댓글 등록에 실패했습니다.")}).catch(G=>{y.message.error("댓글 등록 중 오류가 발생했습니다.")}).finally(()=>{S(!1)})},SCMBoardDtls0003:(I,H)=>{S(!0),Ve.callService("SCMBoardDtls0003",{boardMstrId:I,seq:H},{isPopup:!0,showLoading:!1}).then(G=>{G&&G.result===1?(y.message.success("댓글이 삭제되었습니다."),q.SCMBoardDtls0001(I)):y.message.error("댓글 삭제에 실패했습니다.")}).catch(G=>{y.message.error("댓글 삭제 중 오류가 발생했습니다.")}).finally(()=>{S(!1)})}},Z=()=>{switch(m){case"list":return[{key:"REFRESH",text:"조회",type:"default",onClick:()=>q.SCMBoardMstr0001(),disabled:c},{key:"NEW",text:"신규 등록",type:"primary",onClick:he}];case"detail":return[{key:"BACK",text:"뒤로",type:"default",onClick:le},{key:"EDIT",text:"수정",type:"primary",disabled:!g||b,onClick:()=>l.submit()},{key:"DELETE",text:"삭제",danger:!0,disabled:!g||b,onClick:ee}];case"new":return[{key:"SUBMIT",text:"제출",type:"primary",onClick:()=>l.submit(),disabled:c},{key:"CANCEL",text:"취소",type:"default",onClick:K}];default:return[]}};return e?s.jsxs(rv,{title:"게시판",width:1400,height:800,minWidth:600,minHeight:400,onClose:re,buttons:Z(),children:[m==="list"&&D(),m==="detail"&&B(),m==="new"&&V()]}):null},Mu=(e,t,r=null)=>{for(let n=0;n<e.length;n++){const o=e[n];if(o.key===t)return{node:o,ctx:{parent:r,index:n,siblings:e}};if(o.children?.length){const i=Mu(o.children,t,o);if(i.node)return i}}return{node:null,ctx:null}},ku=(e,t)=>{if(!e.children)return!1;for(const r of e.children)if(r.key===t||ku(r,t))return!0;return!1};function sv({open:e,onClose:t}){const{nodes:r,rootIds:n,addFolder:o,editFolder:i,removeFolder:a,removeMenu:l,moveNode:c}=ct.useFavoriteStore(),u=v.useRef(null),[f,d]=v.useState([]),[g,C]=v.useState([]),[b,w]=v.useState(""),[p,S]=v.useState("ADD"),[m,O]=v.useState(!1),[T,R]=v.useState("");v.useEffect(()=>{e&&C(n)},[e]),v.useEffect(()=>{const $=x(r,n);d($)},[r]),v.useEffect(()=>{m&&T&&(u.current.setFieldValue("prntBkmkId",T),u.current.setFieldValue("prntBkmkNm",r[T]?.bkmkNm??"-")),m&&p==="EDIT"&&(u.current.setFieldValue("bkmkId",T),u.current.setFieldValue("bkmkNm",r[T]?.bkmkNm)),!m&&p=="ADD"&&C($=>[...$,T]),!m&&u.current&&(R("-"),u.current.resetFields())},[m,p,T,r]);const x=($,L)=>{const N=(U,_="-")=>{const A=$[U];if(!A)return null;const z={key:A.bkmkId,type:A.type,title:A.type==="F"?A.bkmkNm:A.menuNm?`${A.menuNm} (${A.menuId})`:A.menuId,parentId:_,sortOrdr:A.sortOrdr??0};if(A.type==="F"){const M=(A.children??[]).map(Y=>N(Y,A.bkmkId)).filter(Boolean);return{...z,children:M}}return z};return L.map(U=>N(U,"-")).filter(Boolean)},E=()=>{if(S("ADD"),!b){R("-"),O(!0);return}const $=r[b];if(!$){R("-"),O(!0);return}$.type==="F"?R($.bkmkId):R($.prntBkmkId),O(!0)};return s.jsxs(y.ConfigProvider,{theme:{components:{Modal:{wireframe:!0}}},children:[s.jsxs(y.Modal,{open:e,okButtonProps:{style:{display:"none"}},cancelText:"닫기",width:560,style:{zIndex:1001},styles:{body:{paddingTop:"12px"}},title:s.jsx("div",{style:{display:"flex",alignItems:"center",gap:12},children:s.jsxs(y.Typography.Text,{strong:!0,style:{fontSize:18},children:[s.jsx(me.FolderOpenFilled,{style:{marginRight:10,fontSize:18,color:"#faad14"}}),"북마크 관리"]})}),onCancel:t,children:[s.jsxs("div",{style:{width:"100%",display:"flex",justifyContent:"space-between",marginBottom:10},children:[s.jsx(y.Button,{color:"blue",variant:"outlined",icon:s.jsx(me.FolderAddOutlined,{}),style:{marginLeft:"8px",height:28,padding:"0 10px"},onClick:E,children:"새 폴더"}),s.jsxs("div",{children:[s.jsx(y.Tooltip,{title:"펼치기",children:s.jsx(y.Button,{icon:s.jsx(me.PlusSquareOutlined,{}),style:{marginLeft:"8px",height:28,padding:"0 10px"},onClick:()=>{const $=Object.values(r).filter(L=>L.type==="F").map(L=>L.bkmkId);C($)}})}),s.jsx(y.Tooltip,{title:"접기",children:s.jsx(y.Button,{icon:s.jsx(me.MinusSquareOutlined,{}),style:{marginLeft:"8px",height:28,padding:"0 10px"},onClick:()=>C([])})})]})]}),s.jsxs("div",{style:{maxHeight:420,height:350,overflow:"auto",border:"1px solid #f0f0f0",borderRadius:8,padding:8},children:[f.length==0&&s.jsx(y.Empty,{description:s.jsxs(y.Typography.Text,{type:"secondary",style:{fontSize:13},children:["아직 저장된 북마크가 없습니다.",s.jsx("br",{}),"새로운 폴더를 생성해보세요."]})}),s.jsx(y.Tree,{blockNode:!0,draggable:!0,allowDrop:({dropNode:$,dropPosition:L})=>{const N=$.type==="F";return L===0?N:!0},onDrop:$=>{const{dragNode:L,node:N,dropPosition:U,dropToGap:_}=$;if(L.key===N.key||ku(L,N.key))return;let A,z;if(_){const M=Mu(f,N.key).ctx,Y=M.index;A=M.parent?M.parent.key:"-",z=U>0?Y+1:Y}else{if(N.type!=="F")return;const M=N.children||[];A=N.key,z=M.length}const P=Ve.getUserId();if(L.type==="F")c({bkmkId:L.key,newPrntBkmkId:A,sortOrdr:z,userId:P}).catch(()=>{y.Modal.error({title:"이동 실패",content:"폴더 이동 중 오류가 발생했어요."})});else{if(A==="-"){y.Modal.warning({title:"이동 불가",content:"메뉴는 최상위로 이동할 수 없어요."});return}c({bkmkId:L.key,newPrntBkmkId:A,sortOrdr:z,userId:P}).catch(()=>{y.Modal.error({title:"이동 실패",content:"메뉴 이동 중 오류가 발생했어요."})})}_===!1&&C(M=>Array.from(new Set([...M,N.key])))},showLine:!0,treeData:f,selectedKeys:[b],expandedKeys:g,onExpand:C,onSelect:$=>w($[0]),titleRender:$=>s.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[s.jsxs("span",{children:[$.type==="F"?"📁":"📄"," ",$.title,$.isNew?s.jsx(y.Tag,{color:"gold",style:{marginLeft:4,fontSize:"10px",height:"16px",lineHeight:"16px",padding:"0 5px"},children:"N"}):null]}),s.jsxs("span",{style:{display:"inline-flex",gap:8},children:[$.type==="F"&&s.jsxs(s.Fragment,{children:[s.jsx(me.PlusOutlined,{style:{opacity:.8},onClick:()=>{S("ADD"),R($.key),O(!0)}}),s.jsx(me.EditOutlined,{style:{opacity:.8},onClick:()=>{S("EDIT"),R($.key),O(!0)}})]}),s.jsx(me.DeleteOutlined,{style:{cursor:"pointer",opacity:.5},onClick:()=>{$.type==="F"?y.Modal.confirm({title:"삭제 안내",content:"폴더를 삭제하면 하위 폴더와 메뉴도 모두 삭제됩니다. 삭제하시겠습니까?",centered:!0,onOk:()=>a($.key)}):y.Modal.confirm({title:"삭제 안내",centered:!0,content:"메뉴를 삭제하시겠습니까?",onOk:()=>l($.key)})}})]})]})})]})]}),s.jsx(y.ConfigProvider,{theme:{components:{Modal:{titleColor:p==="ADD"?"#0958d9":"#d46b08",headerBg:p==="ADD"?"#e6f4ff":"#fff7e6"}}},children:s.jsx(y.Modal,{title:s.jsxs(s.Fragment,{children:[p==="ADD"?s.jsx(me.FolderAddOutlined,{style:{marginRight:10,fontSize:18,color:"#1677ff"}}):s.jsx(me.EditOutlined,{style:{marginRight:10,fontSize:18,color:"#d46b08"}}),s.jsxs(y.Typography.Text,{strong:!0,style:{fontSize:17},children:["폴더",p==="ADD"?" 추가":"명 수정"]})]}),open:m,okText:"저장",onOk:()=>{const $=u.current.getFieldValue("bkmkNm"),L=Ve.getUserId();if(p==="ADD"){const N=__SYS_CD__??"KH",U=u.current.getFieldValue("prntBkmkId");o($,U,N,L).then(()=>{O(!1)})}else{const N=u.current.getFieldValue("bkmkId");i(N,L,$).then(()=>{O(!1)})}},centered:!0,width:400,onCancel:()=>O(!1),children:s.jsxs(Pe.BwgForm,{ref:u,children:[s.jsx(Pe.BwgInput,{itemProps:{name:p==="EDIT"?"bkmkId":"prntBkmkId",hidden:!0}}),s.jsx(Pe.BwgInput,{itemProps:{label:"상위 폴더명",name:"prntBkmkNm",hidden:T==="-"||p==="EDIT"},inputProps:{disabled:!0}}),s.jsx(Pe.BwgInput,{itemProps:{label:"폴더명",name:"bkmkNm"}})]})})})]})}function lv({triggerIcon:e}){const[t,r]=v.useState(!1),[n,o]=v.useState(""),[i,a]=v.useState(null),[l,c]=v.useState([]),[u,f]=v.useState([]),[d,g]=v.useState(!1),[C,b]=v.useState(!1),[w,p]=v.useState(!1),[S,m]=v.useState(null);ct.useFavoriteStore(F=>F.treeNodes);const{nodes:O,getPrntBkmkIdByMenuId:T,getNodeByMenuId:R,isMenuBookmarked:x,removeMenuByMenuId:E,addMenuToFolder:$,convertToAntTreeData:L}=ct.useFavoriteStore(),N=ct.useFavoriteStore(F=>F.rootIds),U=v.useMemo(()=>L(O,N,n,!0),[O,N,n]),_=ct.useMenuViewStore(F=>F.activeMenuItem??{menuId:"",menuNm:""}),A=v.useMemo(()=>{if(!_?.menuId)return"";const F=R(_.menuId);if(!F)return"";if(F.fullPath)return F.fullPath;const X=ee=>{const K=O[ee];if(!K)return"";if(K.prntBkmkId==="-")return`${K.bkmkNm||_?.menuNm}`;const re=X(K.prntBkmkId);return re?`${re} > ${K.bkmkNm||_?.menuNm}`:K.bkmkNm||_?.menuNm};return console.log("bookmarkNode ::::: ",F),console.log(X(F.bkmkId)),X(F.bkmkId)},[_?.menuId,R,O]);v.useEffect(()=>{t&&_?.menuId&&x(_.menuId)?f([T(_.menuId)]):t&&_?.menuId&&!x(_.menuId)?f(N):(f([]),c([]),m(null),p(!1))},[t,_?.menuId,x,T]),v.useEffect(()=>{if(!w||!_?.menuId)return;const F=T(_.menuId);!F||!O[F]||(o(""),c([F]),m(F))},[w,_?.menuId,O,T]);const z=(F,X)=>{$(F,X).then(ee=>{console.log("AddMenuToFolder ::::: ",ee),ee||f(K=>K.includes(F)?K:[...K,F])})},P=F=>{E(F)},M=async F=>{_?.menuId&&(await E(_.menuId),await $(F,_),p(!1),m(null),f(X=>X.includes(F)?X:[...X,F]))},Y=()=>s.jsxs("div",{style:{width:360},children:[s.jsx("div",{style:{padding:12,borderBottom:"1px solid #f0f0f0"},children:s.jsxs(y.Space,{direction:"vertical",style:{width:"100%"},children:[s.jsxs(y.Typography.Text,{strong:!0,style:{fontSize:18},children:[s.jsx(y.Button,{type:"text",icon:s.jsx(me.ArrowLeftOutlined,{}),onClick:()=>p(!1),style:{marginRight:4}}),"폴더 변경"]}),_&&s.jsxs(y.Typography.Text,{type:"secondary",children:["현재 화면: ",s.jsx("b",{children:_.menuNm})," ",s.jsxs("span",{style:{opacity:.7},children:["(",_.menuId,")"]})]})]})}),W(),s.jsxs("div",{style:{padding:12,borderTop:"1px solid #f0f0f0",display:"flex",justifyContent:"flex-end",gap:8},children:[s.jsx(y.Button,{onClick:()=>{p(!1),m(null)},children:"취소"}),s.jsx(y.Button,{type:"primary",disabled:!S,onClick:()=>S&&M(String(S)),children:"이동"})]})]}),W=()=>s.jsxs("div",{style:{maxHeight:360,overflow:"auto",padding:8},children:[s.jsxs(y.Space,{style:{width:"100%",marginBottom:8,display:"flex",justifyContent:"space-between"},children:[s.jsx(y.Input,{placeholder:"검색(폴더명)",prefix:s.jsx(me.SearchOutlined,{}),allowClear:!0,value:n,onChange:F=>o(F.target.value),style:{width:"260px",height:28}}),s.jsxs(y.ConfigProvider,{theme:{components:{Button:{defaultHoverColor:"#6f6f6f",defaultHoverBorderColor:"#6f6f6f"}}},children:[s.jsx(y.Button,{icon:s.jsx(me.PlusOutlined,{}),size:"small",style:{margin:"0 4px",fontSize:12},onClick:()=>{const F=Object.values(O).filter(X=>X.type==="F").map(X=>X.bkmkId);f(F)},title:"모두 확장"}),s.jsx(y.Button,{icon:s.jsx(me.MinusOutlined,{}),size:"small",style:{margin:"0 4px",fontSize:12},onClick:()=>f([]),title:"모두 축소"})]})]}),U.length===0?s.jsx(y.Empty,{description:s.jsxs(y.Typography.Text,{type:"secondary",style:{fontSize:13},children:["아직 저장된 북마크가 없습니다.",s.jsx("br",{}),"새로운 폴더를 만들어 시작해보세요."]}),image:y.Empty.PRESENTED_IMAGE_SIMPLE}):s.jsx(y.Tree,{blockNode:!0,showLine:!0,treeData:U,selectedKeys:l,expandedKeys:u,onExpand:f,onSelect:F=>{c(F),m(F[0])},autoExpandParent:!0,titleRender:F=>{const X=String(F.key),ee=i===X;return s.jsxs("div",{onMouseEnter:()=>a(X),onMouseLeave:()=>a(null),style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8},children:[s.jsx("div",{children:F.title}),!x(_?.menuId)&&_&&ee&&s.jsx(y.Button,{size:"small",type:"link",onClick:K=>{K.stopPropagation(),z(X,_)},children:"+ 현재화면 추가"})]})}})]});return s.jsxs(s.Fragment,{children:[s.jsx(y.Popover,{open:t&&!d,onOpenChange:r,trigger:"click",placement:"bottomLeft",styles:{body:{padding:0,borderRadius:12,border:"1px solid #e8edf5",boxShadow:"0 12px 32px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08)",background:"#fcfcff",zIndex:1e3}},content:w?Y():s.jsxs("div",{style:{width:360},children:[s.jsx("div",{style:{padding:12,borderBottom:"1px solid #f0f0f0"},children:s.jsxs(y.Space,{direction:"vertical",style:{width:"100%"},children:[s.jsxs(y.Typography.Text,{strong:!0,style:{fontSize:18},children:["📌 북마크"," ",x(_?.menuId)?"저장됨":"추가"]}),_&&s.jsxs(y.Typography.Text,{type:"secondary",children:["현재 화면: ",s.jsx("b",{children:_.menuNm})," ",s.jsxs("span",{style:{opacity:.7},children:["(",_.menuId,")"]})]})]})}),x(_?.menuId)?s.jsxs("div",{style:{padding:12,margin:8,borderRadius:8,backgroundColor:"#f5f5f5"},children:[s.jsx(y.Typography.Text,{type:"secondary",style:{fontSize:12},children:"저장 위치"}),s.jsx("div",{style:{marginTop:4},children:`📁 > ${A}`||"알 수 없음"})]}):W(),s.jsxs(dr,{style:{padding:8,borderTop:"1px solid #f0f0f0"},layoutAlign:"right",children:[_&&!x(_.menuId)?s.jsx(y.Button,{style:{height:"28px",padding:"0 10px",margin:"0 4px"},type:"primary",icon:s.jsx(me.PlusOutlined,{}),onClick:()=>{const F=String(l[0]);let X="-";F&&O[F]&&(X=O[F].type=="M"?O[F].prntBkmkId:F),z(X,_)},children:"추가"}):s.jsxs(dr,{layoutAlign:"between",children:[s.jsx(y.Button,{style:{height:"28px",padding:"0 10px",margin:"0 4px"},icon:s.jsx(me.FolderOpenOutlined,{}),onClick:()=>p(!0),children:"폴더 변경"}),s.jsx(y.Button,{style:{height:"28px",padding:"0 10px",margin:"0 4px"},color:"danger",variant:"solid",icon:s.jsx(me.MinusOutlined,{}),onClick:()=>P(_.menuId),children:"삭제"})]}),s.jsx(y.Button,{type:"text",style:{height:"28px",padding:"0 10px",margin:"0 4px"},icon:s.jsx(me.SettingOutlined,{}),onClick:()=>{b(t),g(!0)},children:"관리"})]})]}),children:s.jsx("span",{style:{cursor:"pointer",display:"inline-flex",alignItems:"center"},children:e})}),s.jsx(sv,{open:d,onClose:()=>{g(!1),C&&r(!0)}})]})}const cv=({reqRows:e,subRows:t})=>{const{searchBoxRef:r}=Mr.useSearchBox();return s.jsx(Co,{ref:r,reqRows:e,subRows:t})},uv=({children:e,searchBox:t,title:r,preRenderEvents:n=[],postRenderEvents:o=[],loading:i=!1,error:a=null,grantEvent:l={},customEvent:c={}})=>{const u=Mr.useServiceCodeValue("AUTH_BTNS"),{user:f}=ct.useUserStore(),{activeMenuItem:d}=ct.useMenuViewStore(),{loadFavoritesIfNeeded:g,isMenuBookmarked:C}=ct.useFavoriteStore(),{loading:b}=ct.useLoadingStore(),[w,p]=v.useState({isInitialized:!1,isReady:!1,error:null,loading:!0,preRenderComplete:!1,postRenderComplete:!1});v.useState(null);const[S,m]=v.useState([]),[O,T]=v.useState([]),[R,x]=v.useState(!1),E=async()=>{if(n.length===0){p(P=>({...P,preRenderComplete:!0}));return}try{for(const P of n)await P();p(P=>({...P,preRenderComplete:!0}))}catch(P){p(M=>({...M,error:P instanceof Error?P.message:"사전 렌더링 실패",preRenderComplete:!0}))}},$=async()=>{if(o.length===0){p(P=>({...P,postRenderComplete:!0}));return}try{for(const P of o)await P();p(P=>({...P,postRenderComplete:!0}))}catch(P){p(M=>({...M,error:P instanceof Error?P.message:"사후 렌더링 실패",postRenderComplete:!0}))}};v.useEffect(()=>{if(w.isInitialized)return;(async()=>{try{try{console.log("SCMSIGN00202 권한 서비스 호출 시작");const M=await Ve.callService(u,{crprCd:f?.crprCd,userId:f?.userId,menuId:d?.menuId});if(console.log("SCMSIGN00202 권한 서비스 응답:",M),M?.data&&M.data.length>0){const Y=M.data?.filter(F=>F.grpId?.toUpperCase()==="DEFAULT").map(F=>({id:F.btnId,label:F.btnNm,type:"default",disabled:!1,onClick:l[F.btnId]||void 0}))||[];m(Y);const W=M.data?.filter(F=>F.grpId?.toUpperCase()==="CUSTOM").map(F=>({id:F.btnId,label:F.btnNm,type:"default",disabled:!1,onClick:c[F.btnId]||void 0}))||[];T(W)}else m([]),T([])}catch(M){console.error("SCMSIGN00202 권한 서비스 호출 실패:",M),m([]),T([])}await E(),p(M=>({...M,isInitialized:!0,loading:!1}))}catch(M){console.error("BwgView 초기화 실패:",M),p(Y=>({...Y,isInitialized:!0,loading:!1}))}})()},[]),v.useEffect(()=>{f?.userId&&g(f.userId)},[g,f?.userId]),v.useEffect(()=>{w.isInitialized&&w.preRenderComplete&&!w.isReady&&setTimeout(async()=>{await $(),p(M=>({...M,isReady:!0}))},100)},[w.isInitialized,w.preRenderComplete,w.isReady]),v.useEffect(()=>{a&&p(P=>({...P,error:a}))},[a]);const L=()=>s.jsxs("div",{className:"bwgview-header-container",children:[s.jsxs("div",{className:"bwgview-header",children:[s.jsx("div",{className:"bwgview-header-left",children:z.LEFT}),s.jsx("div",{className:"bwgview-header-right",children:z.RIGHT})]}),t&&s.jsx(cv,{reqRows:t.reqRows,subRows:t.subRows})]});if(v.useEffect(()=>{},[f,d]),w.error||a)return s.jsx("div",{style:{padding:"24px"},children:s.jsx(y.Alert,{message:"오류 발생",description:w.error||a,type:"error",showIcon:!0})});const N=()=>s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 20",width:"1em",height:"1em",fill:"none",children:s.jsx("path",{d:"M9.9348 1.4645C10.2382 0.845167 10.7437 0.845167 11.0597 1.4645L13.0694 5.5344C13.3727 6.15374 14.1943 6.74779 14.8768 6.84891L19.3638 7.50616C20.0464 7.60727 20.2107 8.08757 19.7051 8.56787L16.4568 11.7277C15.9638 12.208 15.6478 13.1686 15.7616 13.8512L16.5326 18.3129C16.6464 18.9954 16.2419 19.2988 15.6226 18.9701L11.6159 16.8594C10.9965 16.5307 9.998 16.5307 9.37867 16.8594L5.37196 18.9701C4.75263 19.2988 4.34817 18.9954 4.46192 18.3129L5.23293 13.8512C5.34668 13.1686 5.04334 12.208 4.53776 11.7277L1.28942 8.56787C0.79648 8.08757 0.948154 7.60727 1.63068 7.50616L6.11769 6.84891C6.80022 6.74779 7.62179 6.15374 7.92513 5.5344L9.9348 1.4645Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10"})}),U=()=>s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 20",width:"1em",height:"1em",fill:"none",children:s.jsx("path",{d:"M9.9348 1.4645C10.2382 0.845167 10.7437 0.845167 11.0597 1.4645L13.0694 5.5344C13.3727 6.15374 14.1943 6.74779 14.8768 6.84891L19.3638 7.50616C20.0464 7.60727 20.2107 8.08757 19.7051 8.56787L16.4568 11.7277C15.9638 12.208 15.6478 13.1686 15.7616 13.8512L16.5326 18.3129C16.6464 18.9954 16.2419 19.2988 15.6226 18.9701L11.6159 16.8594C10.9965 16.5307 9.998 16.5307 9.37867 16.8594L5.37196 18.9701C4.75263 19.2988 4.34817 18.9954 4.46192 18.3129L5.23293 13.8512C5.34668 13.1686 5.04334 12.208 4.53776 11.7277L1.28942 8.56787C0.79648 8.08757 0.948154 7.60727 1.63068 7.50616L6.11769 6.84891C6.80022 6.74779 7.62178 6.15374 7.92513 5.5344L9.9348 1.4645Z",stroke:"currentColor",strokeWidth:"1.5",strokeMiterlimit:"10",fill:"none"})}),_=P=>s.jsx(me,{component:N,...P}),A=P=>s.jsx(me,{component:U,...P}),z={LEFT:s.jsx("div",{className:"bwgview-header-left",children:s.jsxs(y.ConfigProvider,{theme:{components:{Tag:{controlHeight:28,controlHeightLG:28,controlHeightSM:28,controlHeightXS:28}}},children:[s.jsxs(y.Space,{children:[d&&s.jsx(lv,{triggerIcon:C(d.menuId)?s.jsx(_,{className:"bookmark-icon",style:{color:"#faad14"}}):s.jsx(A,{className:"bookmark-icon"})}),s.jsxs(y.Space.Compact,{style:{alignItems:"center"},children:[s.jsx("span",{className:"pageMenuNm",children:(()=>{let P="";return r?.useMenuTitle&&d?P=d.menuNm:r?.text?P=r.text:d&&(P=d.menuPrntId==="CM00"?d.menuNm.substring(d.menuNm.indexOf(" ")+1):d.menuNm),r?.prefix&&(P=`${r.prefix} ${P}`),r?.suffix&&(P=`${P} ${r.suffix}`),P})()}),d?.menuNo&&s.jsx(y.Tag,{className:"page-num-tag",children:d?.menuNo}),s.jsx(y.Tooltip,{title:"도움말",color:"geekblue",children:s.jsx(y.Button,{variant:"text",type:"text",className:"menu-help-btn",icon:s.jsx(me.QuestionCircleTwoTone,{twoToneColor:"orange"})})}),s.jsx(y.Tooltip,{title:"게시판",color:"geekblue",children:s.jsx(y.Button,{variant:"text",type:"text",onClick:()=>x(!0),icon:s.jsx(me.BugFilled,{style:{color:"#1890ff"}})})})]})]}),d?.scrnId&&Ve.isLocal&&s.jsx(y.Tag,{style:{marginLeft:8,fontSize:13,fontWeight:500,display:"flex"},children:s.jsx(tv,{copyable:!0,style:{display:"inherit",justifyContent:"center",alignItems:"center",marginBottom:0},children:d?.scrnId})})]})}),RIGHT:s.jsx("div",{className:"bwgview-header-right",children:s.jsx(y.ConfigProvider,{theme:{components:{Space:{padding:8}}},children:s.jsxs(y.Space,{children:[s.jsx(y.Flex,{gap:8,children:O.map(P=>s.jsx(y.Button,{type:P.type,disabled:P.disabled,className:"bwg-btn",onClick:()=>{typeof P.onClick=="function"&&P.onClick()},children:P.label},P.id))}),s.jsx(y.ConfigProvider,{theme:{components:{Divider:{verticalMarginInline:0}}},children:s.jsx(y.Divider,{type:"vertical"})}),s.jsx(y.Flex,{gap:8,className:"permission-buttons",children:S.length>0?S.map(P=>s.jsx(y.Button,{type:P.type,disabled:P.disabled,className:"bwg-btn",onClick:()=>{typeof P.onClick=="function"&&P.onClick()},children:P.label},P.id)):s.jsx(y.Alert,{message:"부여된 권한이 없습니다",type:"warning",showIcon:!0,style:{height:"20px",display:"flex",alignItems:"center",margin:0,padding:"10px 10px"}})})]})})})};return s.jsxs("div",{className:"bwg-view main-view",style:{height:"100%",display:"flex",flexDirection:"column"},children:[L(),s.jsxs("div",{className:"bwgview-content",children:[s.jsx("div",{style:{display:"flex",flexDirection:"column",height:"100%"},children:e}),(w.loading||i||b)&&s.jsx(Cl.LoadingOverlay,{title:b?"처리 중...":"화면 로드 중..."})]}),s.jsx(av,{open:R,onClose:()=>x(!1)})]})},dv=({children:e,customTheme:t,customComponentSize:r="middle"})=>{const n={token:{colorPrimary:"#1890ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1890ff",fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',fontSize:14,fontSizeHeading1:38,fontSizeHeading2:30,fontSizeHeading3:24,fontSizeHeading4:20,fontSizeHeading5:16,padding:16,margin:16,borderRadius:6,boxShadow:"0 2px 8px rgba(0, 0, 0, 0.15)",boxShadowSecondary:"0 2px 4px rgba(0, 0, 0, 0.12)"},algorithm:y.theme.defaultAlgorithm},o={...n,...t,token:{...n.token,...t?.token}};return s.jsx(y.ConfigProvider,{locale:jl,theme:o,componentSize:r,space:{size:r},form:{validateMessages:{required:"${label}을(를) 입력해주세요.",types:{email:"${label}이(가) 유효한 이메일이 아닙니다.",number:"${label}이(가) 유효한 숫자가 아닙니다."},number:{range:"${label}은(는) ${min} ~ ${max} 사이의 값이어야 합니다."}}},pagination:{showSizeChanger:!0},children:e})},fv="data:image/svg+xml,%3csvg%20width='38'%20height='38'%20viewBox='0%200%2038%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_127_9289)'%3e%3cpath%20d='M27.3705%2010.9919C28.5405%2010.9919%2029.489%2010.0434%2029.489%208.87338C29.489%207.70337%2028.5405%206.75488%2027.3705%206.75488C26.2004%206.75488%2025.252%207.70337%2025.252%208.87338C25.252%2010.0434%2026.2004%2010.9919%2027.3705%2010.9919Z'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M30.3053%2017.2998V32.3098H24.4248V17.2998'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M27.3701%2032.31V23.3135'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2305%2022.1925V17.642V15.6945C22.2305%2014.3075%2023.3515%2013.1865%2024.7385%2013.1865H29.9825C31.3695%2013.1865%2032.4905%2014.3075%2032.4905%2015.6945V17.642V22.1925'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.2519%2021.4229H18.6199C19.1044%2021.4229%2019.5034%2021.8219%2019.5034%2022.3064V24.4154H16.3779V22.3064C16.3779%2021.8219%2016.7769%2021.4229%2017.2614%2021.4229H17.2519Z'%20stroke='%2342AAFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M20.8339%2024.4062H15.0294C14.6254%2024.4062%2014.2979%2024.7338%2014.2979%2025.1377V31.6832C14.2979%2032.0872%2014.6254%2032.4147%2015.0294%2032.4147H20.8339C21.2378%2032.4147%2021.5654%2032.0872%2021.5654%2031.6832V25.1377C21.5654%2024.7338%2021.2378%2024.4062%2020.8339%2024.4062Z'%20stroke='%2342AAFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M16.8252%2027.1895V29.631'%20stroke='%2342AAFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.0391%2027.1895V29.631'%20stroke='%2342AAFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.71875%2014.1642H8.53075C9.03425%2014.1642%209.49025%2013.8602%209.68025%2013.4042L10.3263%2011.8652'%20stroke='%2342AAFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.4991%205.54803L12.2266%2011.8655H17.5371L19.8836%205.51953L17.4991%205.54803Z'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2017%2016.4639H6.57421C5.97571%2016.4639%205.49121%2015.9794%205.49121%2015.3809C5.49121%2013.4334%207.06821%2011.8564%209.01571%2011.8564H20.3492'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.56738%2032.4805H32.2909'%20stroke='%23204AA4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_127_9289'%3e%3crect%20width='38'%20height='38'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hv="data:image/svg+xml,%3csvg%20width='38'%20height='38'%20viewBox='0%200%2038%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_127_9314)'%3e%3cpath%20d='M15.1807%2019.3994L18.7717%2029.7164'%20stroke='%23FF8CC3'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.9033%209.25293L12.6063%2011.2574C12.6063%2011.2574%2010.7443%2014.7724%2013.2618%2022.0209'%20stroke='%23FF8CC4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.9033%209.25293L12.6063%2011.2574C12.6063%2011.2574%2016.2448%2012.8534%2018.7718%2020.1019'%20stroke='%23FF8CC4'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M23.8257%2016.71C22.2202%2012.112%2017.1947%209.67999%2012.5967%2011.276C7.99871%2012.8815%205.56671%2017.907%207.16271%2022.505L7.67571%2023.968L7.88471%2023.892C7.93221%2022.7235%208.67321%2021.6405%209.85121%2021.232C11.0292%2020.8235%2012.2737%2021.2035%2013.0432%2022.0965L13.4422%2021.954C13.4897%2020.7855%2014.2307%2019.7025%2015.4087%2019.294C16.5867%2018.8855%2017.8312%2019.2655%2018.6007%2020.1585L18.9997%2020.016C19.0472%2018.8475%2019.7882%2017.7645%2020.9662%2017.356C22.1442%2016.9475%2023.3887%2017.3275%2024.1582%2018.2205L24.3577%2018.154L23.8447%2016.691L23.8257%2016.71Z'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M23.37%2015.4193C23.636%2015.4858%2023.9115%2015.5238%2024.1965%2015.5238C26.068%2015.5238%2027.5785%2014.0038%2027.5785%2012.1418C27.5785%2010.2798%2026.0585%208.75977%2024.1965%208.75977C22.3345%208.75977%2020.8145%2010.2798%2020.8145%2012.1418'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M24.2061%206.12784V5.00684'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.8641%207.79018L19.1611%207.09668'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.5381%2016.4736L29.2411%2017.1766'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M30.21%2012.1318H31.331'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M28.5469%207.79018L29.2404%207.09668'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M29.3355%2029.8213H14.2305'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.2302%2029.8213L10.3447%2025.2803'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.8527%2028.4531L7.76074%2032.9941'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M23.8447%2029.8213L27.4072%2032.9943'%20stroke='%239F2878'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_127_9314'%3e%3crect%20width='38'%20height='38'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",gv="data:image/svg+xml,%3csvg%20width='38'%20height='38'%20viewBox='0%200%2038%2038'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_127_9273)'%3e%3cpath%20d='M25.9254%2020.8996C27.5151%2020.8996%2028.8039%2019.6108%2028.8039%2018.0211C28.8039%2016.4313%2027.5151%2015.1426%2025.9254%2015.1426C24.3356%2015.1426%2023.0469%2016.4313%2023.0469%2018.0211C23.0469%2019.6108%2024.3356%2020.8996%2025.9254%2020.8996Z'%20stroke='%235244A2'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M31.4825%2032.4711V25.9066C31.4825%2024.5671%2030.485%2023.4746%2029.2595%2023.4746H22.6C21.3745%2023.4746%2020.377%2024.5671%2020.377%2025.9066'%20stroke='%235244A2'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M25.2696%2026.7334H14.2686L16.5106%2032.6234H27.5021L25.2696%2026.7334Z'%20stroke='%23925CFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.5617%2018.8385C6.1462%2017.4135%205.2627%2015.447%205.2627%2013.2715C5.2627%208.91095%208.7967%205.37695%2013.1572%205.37695C17.5177%205.37695%2021.0517%208.91095%2021.0517%2013.2715C21.0517%2015.124%2020.4152%2016.815%2019.3512%2018.164C18.0497%2019.8075%2016.1117%2020.919%2013.9172%2021.128'%20stroke='%235244A2'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.1572%2013.2715L16.0167%2015.5705'%20stroke='%23925CFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.1572%208.62598V13.2715'%20stroke='%23925CFF'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.35963%2016.1973L7.84663%2019.1328L4.91113%2018.6293'%20stroke='%235244A2'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.91113%2032.623H33.0881'%20stroke='%235244A2'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_127_9273'%3e%3crect%20width='38'%20height='38'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",pv=({children:e})=>{const[t,r]=v.useState({x:0,y:0}),[n,o]=v.useState(!1),[i,a]=v.useState({x:0,y:0}),[l,c]=v.useState(!1),[u,f]=v.useState(!0),d=v.useRef(null),g=[{id:"overtime",title:"시간 외 근무신청",icon:s.jsx("img",{src:gv,alt:"시간외근무신청",className:"quick-overtime"}),color:"#722ed1",onClick:()=>{console.log("시간 외 근무 신청 클릭")}},{id:"business-trip",title:"출장신청",icon:s.jsx("img",{src:fv,alt:"출장신청",className:"quick-business-trip"}),color:"#1890ff",onClick:()=>{console.log("출장 신청 클릭")}},{id:"vacation",title:"휴가신청",icon:s.jsx("img",{src:hv,alt:"휴가신청",className:"quick-holiday"}),color:"#eb2f96",onClick:()=>{console.log("휴가 신청 클릭")}},{id:"document",title:"문서신청",icon:s.jsx(me.FileTextOutlined,{}),color:"#52c41a",onClick:()=>{console.log("문서 신청 클릭")}},{id:"profile",title:"인사정보",icon:s.jsx(me.UserOutlined,{}),color:"#fa8c16",onClick:()=>{console.log("인사 정보 클릭")}},{id:"settings",title:"설정",icon:s.jsx(me.SettingOutlined,{}),color:"#13c2c2",onClick:()=>{console.log("설정 클릭")}}];v.useEffect(()=>{const m=()=>{const O=window.innerHeight,R=Math.max(64,(O-300)/3);r({x:0,y:R});const x=O/2;f(R<x)};return m(),window.addEventListener("resize",m),()=>window.removeEventListener("resize",m)},[]);const C=m=>{if(m.preventDefault(),m.stopPropagation(),d.current){const O=d.current.getBoundingClientRect();a({x:m.clientX-O.left,y:m.clientY-O.top}),o(!0)}},b=m=>{if(n){const O=m.clientY-i.y,T=window.innerHeight-24,x=Math.max(64,Math.min(T,O));r({x:t.x,y:x});const E=window.innerHeight/2;f(x<E)}},w=()=>{o(!1)},p=()=>{c(!l)},S=m=>{m.onClick&&m.onClick()};return v.useEffect(()=>{if(n)return document.addEventListener("mousemove",b),document.addEventListener("mouseup",w),()=>{document.removeEventListener("mousemove",b),document.removeEventListener("mouseup",w)}},[n,i]),s.jsxs("div",{className:"quick-tab-container",ref:d,style:{position:"fixed",right:0,top:t.y,zIndex:1e3,userSelect:"none",touchAction:"none"},children:[s.jsxs("div",{className:"quick-tab",style:{position:"absolute",right:"40px",top:u?0:"auto",bottom:u?"auto":0,display:"flex",flexDirection:"column",gap:"15px",border:"1px solid #E0DEEF",borderRadius:"15px",padding:"8px",boxShadow:"0 0 10px rgba(0, 0, 0, 0.3)",minWidth:"88px",maxWidth:"88px",maxHeight:u?`calc(100vh - ${t.y+12}px)`:`${t.y-12}px`,transform:l?"translateX(0)":"translateX(calc(100% + 100px))",transition:"transform 0.3s ease",marginTop:u&&t.y<100?"32px":"0",marginBottom:!u&&t.y>window.innerHeight-100?"8px":"0"},children:[s.jsx("div",{className:"quick-tab-items-wrap",style:{background:"#ffffff",borderRadius:"10px",flex:1,overflowY:"auto",maxHeight:u?`calc(100vh - ${t.y+120}px)`:`${t.y-60}px`,padding:"14px 0"},children:g.map(m=>s.jsx(y.Card,{className:"quick-tab-items",size:"small",style:{border:"none",boxShadow:"none",marginBottom:"15px",cursor:"pointer",transition:"all 0.2s ease"},styles:{body:{padding:"0"}},onClick:()=>S(m),onMouseEnter:O=>{},onMouseLeave:O=>{},children:s.jsxs("div",{className:"quick-tab-item-inner",children:[s.jsx("div",{className:"quick-tab-items-icon",style:{width:"44px",height:"44px",borderRadius:"8PX",fontSize:"24px",color:m.color,marginBottom:"5px"},children:m.icon}),s.jsx("div",{className:"quick-tab-items-title",children:m.title})]})},m.id))}),s.jsx("div",{className:"quick-tab-add-btn",style:{height:"30px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",transition:"all 0.2s ease",flexShrink:0,marginBottom:"7px"},onMouseEnter:m=>{},onMouseLeave:m=>{},children:s.jsx(me.PlusOutlined,{style:{color:"#CDC4FF",fontSize:"15px"}})})]}),s.jsx("div",{className:"quick-tab-drag-btn",style:{cursor:n?"grabbing":"grab",zIndex:1001},onMouseDown:m=>C(m)}),s.jsx(y.Button,{className:`quick-tab-toggle-btn ${l?"expanded":""}`,type:"default",style:{border:"0",backgroundColor:"transparent"},onClick:p})]})},mv=()=>{const{verifyWithToken:e}=Mr.useAuth(),t=Ma.useNavigate(),r=Ma.useLocation();return v.useEffect(()=>{const o=new URLSearchParams(r.search).get("token");if(!o){t("/login",{replace:!0});return}(async()=>{const i=await e(o);t(i?"/main":"/login",{replace:!0})})()},[r.search]),s.jsx("div",{style:{display:"grid",placeItems:"center",height:"100dvh"},children:s.jsx(y.Spin,{tip:"인증중..."})})};exports.BwgButtonGroup=Lu;exports.BwgCmptArea=Fu;exports.BwgCol=Hu;exports.BwgConfigProvider=la;exports.BwgDetail=ed;exports.BwgDrawer=td;exports.BwgEditor=$i;exports.BwgGrid=$l;exports.BwgInfoArea=hd;exports.BwgPagination=wo;exports.BwgPopup=pd;exports.BwgRow=md;exports.BwgSpace=vd;exports.BwgTable=bd;exports.BwgTabs=yd;exports.BwgTitleBox=xo;exports.BwgView=uv;exports.ContentBox=cr;exports.ContentLayOut=dr;exports.GlobalConfigProvider=dv;exports.QuickServiceToggle=pv;exports.SSOHandler=mv;exports.SearchBox=Co;exports.commonjsGlobal=Bu;exports.createBwgGridRenderer=Jn;exports.getAugmentedNamespace=zu;exports.getDefaultExportFromCjs=bo;