diff --git a/index.html b/index.html index cf6f10a000..9e01e1bfc3 100644 --- a/index.html +++ b/index.html @@ -172,7 +172,7 @@ display: block !important; } - + \ No newline at end of file diff --git a/p__Paperlibrary__Random__Detail__index.581f99c7.async.js b/p__Paperlibrary__Random__Detail__index.581f99c7.async.js deleted file mode 100644 index 114df734b0..0000000000 --- a/p__Paperlibrary__Random__Detail__index.581f99c7.async.js +++ /dev/null @@ -1,197 +0,0 @@ -"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3784],{89489:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},59477:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},40001:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={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"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},49198:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},84105:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},18785:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},73331:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},15277:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},52671:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},8657:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},56082:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},33853:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},15075:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},62772:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},43531:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},38819:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},47472:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},87395:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},W=v,b=e(7657),$=function(I,le){return c.createElement(b.Z,(0,u.Z)({},I,{ref:le,icon:W}))},t=c.forwardRef($),ie=t},70414:function(Dt,Me,e){var u=e(59301),c=Object.defineProperty,v=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,$=(q,I,le)=>I in q?c(q,I,{enumerable:!0,configurable:!0,writable:!0,value:le}):q[I]=le,t=(q,I)=>{for(var le in I||(I={}))W.call(I,le)&&$(q,le,I[le]);if(v)for(var le of v(I))b.call(I,le)&&$(q,le,I[le]);return q};const ie=q=>React.createElement("svg",t({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},q),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));Me.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},96935:function(Dt,Me,e){e.d(Me,{Z:function(){return ue}});var u=e(3113),c=e(59301),v=Object.defineProperty,W=Object.defineProperties,b=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,q=(X,U,$e)=>U in X?v(X,U,{enumerable:!0,configurable:!0,writable:!0,value:$e}):X[U]=$e,I=(X,U)=>{for(var $e in U||(U={}))t.call(U,$e)&&q(X,$e,U[$e]);if($)for(var $e of $(U))ie.call(U,$e)&&q(X,$e,U[$e]);return X},le=(X,U)=>W(X,b(U)),C=(X,U)=>{var $e={};for(var se in X)t.call(X,se)&&U.indexOf(se)<0&&($e[se]=X[se]);if(X!=null&&$)for(var se of $(X))U.indexOf(se)<0&&ie.call(X,se)&&($e[se]=X[se]);return $e},x=(X,U,$e)=>new Promise((se,we)=>{var ce=r=>{try{m($e.next(r))}catch(h){we(h)}},L=r=>{try{m($e.throw(r))}catch(h){we(h)}},m=r=>r.done?se(r.value):Promise.resolve(r.value).then(ce,L);m(($e=$e.apply(X,U)).next())});const ue=X=>{var U=X,{children:$e}=U,se=C(U,["children"]);const[we,ce]=(0,c.useState)(!1);return c.createElement(u.ZP,le(I({},se),{loading:we,onClick:L=>x(void 0,null,function*(){try{ce(!0),yield se.onClick(L),ce(!1)}catch(m){console.error(m),ce(!1)}})}),$e)}},83028:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(59301),c={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},v=e(43418),W="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",b="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",$=(q,I,le)=>new Promise((C,x)=>{var ue=$e=>{try{U(le.next($e))}catch(se){x(se)}},X=$e=>{try{U(le.throw($e))}catch(se){x(se)}},U=$e=>$e.done?C($e.value):Promise.resolve($e.value).then(ue,X);U((le=le.apply(q,I)).next())}),ie=({type:q,resdata:I,onok:le,oktext:C,okloading:x})=>{const[ue,X]=(0,u.useState)(!1),{can_copy_list:U,can_copy_num:$e,challenge_type:se,course_data_list:we,no_copy_list:ce,no_copy_num:L,no_use_list:m,no_use_num:r,repeat_shixun_num:h,student_count:y,total_num:ee,use_num:M}=I;let V=$e>0||q==="exercise";(0,u.useEffect)(()=>{(I==null?void 0:I.student_count)>0&&X(!0)},[I]),console.log("---11",x),(0,u.useEffect)(()=>{x||X(!1)},[x]);const D=()=>{if(q==="exercise"&&se===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},M),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(q==="exercise"&&se===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},M),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(q==="shixun"&&se===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(q==="shixun"&&se===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(q==="subject"&&se===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},M),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(q==="subject"&&se===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",u.createElement("span",{className:c.orangeColor},y)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",u.createElement("span",{className:c.orangeColor},M)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(q==="exercisepush")return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},M),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(q==="shixunpush"&&se===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},M),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(q==="shixunpush"&&se===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},y),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",u.createElement("span",{className:c.orangeColor},M),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Ie=()=>{if(q==="exercise"||q==="subject"||q==="exercisepush"||q==="shixunpush")return u.createElement("div",{style:{marginTop:20}},L>0&&u.createElement("div",null,u.createElement("span",{className:c.flex},u.createElement("img",{src:b,style:{width:14}}),u.createElement("span",{className:c.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),u.createElement("div",{className:c.statusbody},q==="exercise"&&u.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(q==="subject"||q==="exercisepush")&&u.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",V&&u.createElement("span",{className:c.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),q==="shixunpush"&&u.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",V&&u.createElement("span",{className:c.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),u.createElement("div",null,ce==null?void 0:ce.map((Q,Ue)=>u.createElement("a",{href:`/shixuns/${Q.identifier}/challenges`,target:"_blank"},"\u300A",Q==null?void 0:Q.name,"\u300B",Ue+1!==L&&"\u3001"))))),$e>0&&u.createElement("div",{style:{marginTop:20}},u.createElement("span",{className:c.flex},u.createElement("img",{src:W,style:{width:14}}),u.createElement("span",{className:c.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),u.createElement("div",{className:c.statusbody},q==="exercise"&&u.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(q==="subject"||q==="exercisepush")&&u.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),q==="shixunpush"&&u.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),u.createElement("div",null,U==null?void 0:U.map((Q,Ue)=>u.createElement("a",{href:`/shixuns/${Q.identifier}/challenges`,target:"_blank"},"\u300A",Q==null?void 0:Q.name,"\u300B",Ue+1!==$e&&"\u3001"))))));if(q==="shixun")return u.createElement("div",{style:{marginTop:20}},$e>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return u.createElement(v.default,{open:ue,onCancel:()=>{X(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!V&&"none"}},zIndex:1003,confirmLoading:x,okText:V?C:"\u6211\u77E5\u9053\u4E86",onOk:()=>$(void 0,null,function*(){V?yield le([...U,...m]):X(!1)})},u.createElement("div",{style:{maxHeight:600,overflow:"auto"}},D(),Ie()))}},33276:function(Dt,Me,e){var u=e(59301),c=e(43418),v=e(1710);const W=({dataSource:b,visible:$,onClose:t=()=>{},onSuccess:ie=()=>{},text:q,okText:I})=>{var le;return u.createElement(c.default,{centered:!0,destroyOnClose:!0,open:!!$,title:"\u63D0\u793A",width:"600px",okText:I,cancelText:"\u53D6\u6D88",onCancel:t,onOk:ie},$==="single"&&u.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",u.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(le=b==null?void 0:b[0])==null?void 0:le.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",q),$==="multiple"&&u.createElement(u.Fragment,null,u.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",q),u.createElement(v.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:b,scroll:(b==null?void 0:b.length)>7?{y:300}:{},pagination:!1})))};Me.Z=W},49026:function(Dt,Me,e){e.r(Me),e.d(Me,{default:function(){return ce}});var u=e(59301),c=e(3113),v=e(71418),W=e(66104),b=e(18889),$=e(28103),t=e(38147),ie=e(32451),q=e(65582),I={randomIcon:"randomIcon___V1A1W",btn:"btn___HSWTW"},le=e(74609),C=e(65862),x=e(87513),ue=Object.defineProperty,X=(L,m,r)=>m in L?ue(L,m,{enumerable:!0,configurable:!0,writable:!0,value:r}):L[m]=r,U=(L,m,r)=>X(L,typeof m!="symbol"?m+"":m,r),$e=(L,m,r)=>new Promise((h,y)=>{var ee=D=>{try{V(r.next(D))}catch(Ie){y(Ie)}},M=D=>{try{V(r.throw(D))}catch(Ie){y(Ie)}},V=D=>D.done?h(D.value):Promise.resolve(D.value).then(ee,M);V((r=r.apply(L,m)).next())});const se=["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341"];class we extends u.Component{constructor(m){super(m),U(this,"getPaperData",()=>{const r=window.location.href.split("/").pop();this.setState({loading:!0,id:r}),(0,t.ZP)(`/api/examination_banks/${r}/edit_random_exam.json`,{method:"get"}).then(h=>{if(this.setState({loading:!1}),h!=null&&h.examination_bank){const{contents:y,examination_bank:ee,score_settings:M,sort_by_item_type:V}=h;this.setState({contents:y,examination_bank:ee,score_settings:M,sort_by_item_type:V})}})}),U(this,"handleSendToClass",()=>{var r,h,y,ee,M,V;const D=(h=(r=this.state)==null?void 0:r.score_settings)==null?void 0:h.reduce((Ie,Q)=>Ie+Q.score,0);(V=this.props)==null||V.dispatch({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:(y=this.state)==null?void 0:y.id,data:{is_random:!0},dataSource:[{name:(M=(ee=this.state)==null?void 0:ee.examination_bank)==null?void 0:M.name,total_score:D}],type:"single"}}})}),U(this,"toAnswer",()=>$e(this,null,function*(){var r,h,y;this.setState({btnLoading:!0});const ee=yield(0,x.Mb)({categoryId:this.state.id});this.setState({btnLoading:!1}),ee!=null&&ee.exercise_id&&(0,C.xg)(`/classrooms/coursesId/exercise/${ee.exercise_id}/${(y=(h=(r=this.props)==null?void 0:r.user)==null?void 0:h.userInfo)==null?void 0:y.login}/initate_answer`)})),this.state={loading:!1,contents:[],examination_bank:{},score_settings:[],sort_by_item_type:[],modalVisible:!1,id:null,btnLoading:!1}}componentDidMount(){this.getPaperData()}render(){const m=(0,q.useIntl)(),r={SINGLE:m.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),MULTIPLE:m.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),JUDGMENT:m.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),COMPLETION:m.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),SUBJECTIVE:m.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),PRACTICAL:m.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),PROGRAM:m.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),BPROGRAM:m.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),COMBINATION:m.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},h={1:m.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:m.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:m.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})},{contents:y,examination_bank:ee,score_settings:M,sort_by_item_type:V,loading:D,btnLoading:Ie}=this.state;let Q=[],Ue=0,s=0;Object.keys(r).map(H=>{let k=0;y.map(re=>{re.item_type===H&&(k+=re.quanlity)});const ne=M.filter(re=>re.item_type===H);Q=[...Q,{item_type:H,num:k,score:ne.length>0?ne[0].score:0}]});const F=Q.filter(H=>H.num!==0);F.map(H=>{M.map(k=>{H.item_type===k.item_type&&(Ue+=H.num*k.score,s+=H.num)})}),console.log(F,V,"allcount");function A(H){return r[H]||H}F.sort((H,k)=>{const ne=A(H.item_type),re=A(k.item_type);return V.indexOf(ne)-V.indexOf(re)});const O=u.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},u.createElement("div",{style:{display:"flex",justifyContent:"space-between",width:"50%",fontWeight:500,fontSize:"16px"}},u.createElement("span",null,"\u603B\u8BA1 ",F.length," \u5927\u9898\uFF0C ",s," \u5C0F\u9898\uFF0C",m.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"})," ",Ue&&Ue.toFixed(1)," ","\u5206"),u.createElement("span",null,"\u8003\u8BD5\u65F6\u957F\uFF1A",ee.time===null||ee.time===-1?"\u4E0D\u9650":`${ee.time}${m.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"})}`),u.createElement("span",null,"\u8BD5\u5377\u96BE\u5EA6\uFF1A",h[ee.difficulty])),u.createElement("div",null,u.createElement(c.ZP,{onClick:()=>{var H;return q.history.push(`/randompaper/edit/${(H=this.state)==null?void 0:H.id}?type=settings`)},className:I.btn,icon:u.createElement("i",{className:"iconfont icon-bianji10 font14"})},"\u7F16\u8F91\u8BD5\u5377"),u.createElement(c.ZP,{loading:Ie,onClick:this.toAnswer,className:I.btn,icon:u.createElement("i",{className:"iconfont icon-monikaoshi2 font14"})},m.formatMessage({id:"paperlibrary.mockExam",defaultMessage:"\u6A21\u62DF\u8003\u8BD5"})),u.createElement(c.ZP,{type:"primary",onClick:()=>this.handleSendToClass()},m.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"}))));return u.createElement("div",{style:{width:1200,margin:"0px auto"}},u.createElement(v.Z,{spinning:this.state.loading},u.createElement(W.Z,{separator:">",style:{padding:"12px 0px"}},u.createElement(W.Z.Item,null,m.formatMessage({id:"paperlibrary.questionBank",defaultMessage:"\u8BD5\u5377\u5E93"})),u.createElement(W.Z.Item,null,u.createElement(ie.rU,{to:"/paperlibrary"},m.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))),u.createElement(W.Z.Item,null,"\u8BD5\u5377\u8BE6\u60C5")),u.createElement("div",{style:{height:50,display:"flex",alignItems:"center"}},u.createElement("span",{style:{fontSize:20,fontWeight:600}},u.createElement("i",{className:"icon-leftarrow iconfont",style:{fontSize:14,marginRight:8,cursor:"pointer"},onClick:()=>{q.history.back()}}),ee.name),u.createElement("span",{className:I.randomIcon},"\u968F\u673A")),u.createElement(b.Z,{title:O,style:{marginBottom:200}},F.map((H,k)=>{const ne=Array.from(new Set(y.map(re=>re.item_type===H.item_type?re.sub_discipline_id:null).filter(re=>re)));return u.createElement("div",{key:k},u.createElement("div",{style:{color:"#0152d9"}},se[k],"\u3001",r[H.item_type],u.createElement("span",{style:{color:"#666666",marginLeft:5}},"(\u5171 ",H.num," \u9898\uFF0C",m.formatMessage({id:"paperlibrary.scorePerQuestion",defaultMessage:"\u6BCF\u9898"})," ",H.score," \u5206)")),k===F.length-1?null:u.createElement($.Z,null))})),u.createElement(le.Z,null)))}}var ce=(0,q.connect)(({user:L})=>({user:L}))(we)},74609:function(Dt,Me,e){e.d(Me,{Z:function(){return ne}});var u=e(59301),c=e(65582),v=e(92832),W=e(8591),b=e(43418),$=e(5871),t=e(61621),ie=e(1710),q=e(3113),I=e(70414),le=Object.defineProperty,C=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,X=(re,ae,Y)=>ae in re?le(re,ae,{enumerable:!0,configurable:!0,writable:!0,value:Y}):re[ae]=Y,U=(re,ae)=>{for(var Y in ae||(ae={}))x.call(ae,Y)&&X(re,Y,ae[Y]);if(C)for(var Y of C(ae))ue.call(ae,Y)&&X(re,Y,ae[Y]);return re};const $e=re=>React.createElement("svg",U({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},re),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",fill:"#68C79F",fillRule:"nonzero"}));var se="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",we={flex_box_center:"flex_box_center___LsrKL",flex_space_between:"flex_space_between___sZBht",flex_box_vertical_center:"flex_box_vertical_center___QNt7D",flex_box_center_end:"flex_box_center_end___S9zs3",flex_box_column:"flex_box_column___Y5tcm",title:"title___t4qlt",tip:"tip___MtKbx",radioWrap:"radioWrap___fp3kY",row:"row___IoDN5",radio:"radio___vuEDI",colorFF0000:"colorFF0000____5DYm",pagination:"pagination___bvqCI",modalColumn:"modalColumn___szBPb",modalRow:"modalRow___mtd9M",sup:"sup___JDuYL",search:"search___wNY_F",bottom:"bottom___HvFhF",yes:"yes___xmznh",no:"no___vEJlu"},ce=e(65862),L={sendToClass:"sendToClass___le_BX"},m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AAACeCAYAAABn7wuoAAAgAElEQVR4Xu19CXQcx3nmV90zwOAGCBAgeN8ST0k8JFkWLVGyfMqJN7EVO4eP2Ov1Rkle7mSz2fVq3yZ2Nptdx95sNo6zvvISW5aP+PmQLVuSL52ULIo6KJHiJZ7gAeLGzHTVv++vrmrU9MwAM8CAuKbf4+Ngpru6u+qrv/7j+/8SqB5zugeIyD/ZjzXLm3FOCDEwp1/mCj28uEL3qd5mGnqAiLyLw9md54a9jZs7/O8LIc5Nw23mXZNV0M/RISWiGgA7+jNYN5qVorPB/6kQ4ugcfZ0r+thV0F/R7q7MzYiokQEvgZX7zwDXdAM+MAjgG0IIVZm7zN9WqqCfY2PLEj4AdgtgDSSwr0diV7fPbyF94EtV0E88oFXQT9xHs+aMV4nqlgPXAFgrAe/ikEQqCTTURKD/ihAiM2seeJY+SBX0s3Rg4o/FRiuA10iW8OZ4+ozEtk4fSY15kA88K4Q4MNlXOnWJVi5bJE5M9vq5cl0V9HNkpIhoSwa41gf0mEkAPf1AZwPgh6AHBTiZTIqHy30lVpmePY01K1qxYVGD+Ga518+186ugnwMjRkRLJXADgAb7uKf6w0/Lms0MABAEOJdKiQfKeSUi4hZ2Hrggu9c0QzbW+I8IIV4tp425dm4V9LN8xIiIgX6TBLrcRz0zFP7VnRr7lgjnksnSQU9ErWwUBxKdvaNStKd8qvHxvBDimVneLVN6vCrop9R903sxEfH4XCuBzTBqjVZtpMTFIaAtFenzkJAg4FKt7z8khBiZ6MkM4K8XwOIz/RBZKbGy2Yfy8VIS2CeEoInamKu/V0E/zsgRUR2ADgDJ+GlPngPWN48EfefqetasEaPTAQAiWiaBm+P3H8pIHL4IXNPpa92eNXx2zpOUwyqbfa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n4FBz9WTWQ3ajTm979Ucg+DVe1z2wHDK3hkAzG+/OF2GaamvMOugz2P8NhrQc9U1NoBZBeI9bSvJ6qWO7uycz2oLS21mO/K/+wB8HwBzYtgoZUN1Vo+yAn0BI3gJAHZ/MvBXmP/ZDVo5yqsHWDfnlDyW5KyX//Bq6OeT6YKyB71jBLOk5wnQaaK+bA9w1YZKVtdkRn56rhkA8Br70I0kPyeEYIpAWR9zBvTxXiQilvbM+GT1h12hTHfmSg48OXgi8P9z9v3KCDWsrnCQiOm7rK6wJGdvC285z6pKUA4qSyn9Ne9AQURcoY3pEJzswt4gnhi8IrChPO/et5TBLvJcGxw6YkDOQH+FA0ZCCPa8zPlj3oPA5PlymiMnwPDBK8EGQ5FgliivFPO+H/IglSU4S2/OMmLXIafXWSP0ihCCE6vn5fH/AynvqKbJosiLAAAAAElFTkSuQmCC",y=({createState:re,refreshLoading:ae,onRefresh:Y=()=>{},onCreate:be=()=>{}})=>u.createElement("div",{className:L.sendToClass},re?u.createElement(u.Fragment,null,u.createElement("img",{src:m,alt:"\u7A7A"}),u.createElement("div",null,"\u60A8\u8FD8\u6CA1\u6709\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF0C\u65E0\u6CD5\u5C06\u8BD5\u5377\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u3002"),u.createElement(q.ZP,{onClick:be,type:"primary",ghost:!0},"\u7ACB\u5373\u521B\u5EFA")):u.createElement(u.Fragment,null,u.createElement("img",{src:r,alt:"\u7A7A"}),u.createElement("div",null,"\u5DF2\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF1F\u8BF7\u5237\u65B0\u5217\u8868"),u.createElement(q.ZP,{loading:ae,onClick:Y,type:"primary",ghost:!0},"\u7ACB\u5373\u5237\u65B0"))),ee=e(60979),M=e(96935),V=e(89392),D=e(83028),Ie=e(33276),Q=e(59301),Ue=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,A=(re,ae)=>{var Y={};for(var be in re)s.call(re,be)&&ae.indexOf(be)<0&&(Y[be]=re[be]);if(re!=null&&Ue)for(var be of Ue(re))ae.indexOf(be)<0&&F.call(re,be)&&(Y[be]=re[be]);return Y},O=(re,ae,Y)=>new Promise((be,Re)=>{var Ve=Ge=>{try{ke(Y.next(Ge))}catch(at){Re(at)}},Fe=Ge=>{try{ke(Y.throw(Ge))}catch(at){Re(at)}},ke=Ge=>Ge.done?be(Ge.value):Promise.resolve(Ge.value).then(Ve,Fe);ke((Y=Y.apply(re,ae)).next())});const H=v.default.Search,k=re=>{var ae=re,{paperlibrary:Y,globalSetting:be,loading:Re,dispatch:Ve}=ae,Fe=A(ae,["paperlibrary","globalSetting","loading","dispatch"]),ke,Ge,at,Xe;const me=(0,c.useIntl)(),[Ke,B]=(0,u.useState)(""),[w,d]=(0,u.useState)([]),[n,R]=(0,u.useState)([]),[G,l]=(0,u.useState)(!1),[o,j]=(0,u.useState)(!0),[g,f]=(0,u.useState)(!0),[K,ge]=(0,u.useState)(!0),[te,ve]=(0,u.useState)(!1),[de,p]=(0,u.useState)(!1),E=(at=(Ge=(ke=Y.actionTabs)==null?void 0:ke.params)==null?void 0:Ge.data)==null?void 0:at.is_random,[oe,Ee]=(0,u.useState)(!1),[Se,Le]=(0,u.useState)({}),[Qe,Je]=(0,u.useState)(!1),[_e,ut]=(0,u.useState)(!1),[mt,It]=(0,u.useState)([]);(0,u.useEffect)(()=>{var yt;if(Y.actionTabs.key==="Paperlibrary-SendToClass"){const{dataSource:mn=[],type:un}=((yt=Y.actionTabs)==null?void 0:yt.params)||{},Tn=mn.filter(bn=>![100,120,150].includes(bn.total_score));Tn.length?(ut(un),It(Tn)):Je(!0)}},[(Xe=Y==null?void 0:Y.actionTabs)==null?void 0:Xe.key]),(0,u.useEffect)(()=>{Tt()},[]);const St=()=>{R([]),B(""),Tt(!0),Je(!1),ut(!1),Ve({type:"paperlibrary/setActionTabs",payload:{}})},Tt=yt=>O(void 0,null,function*(){f(!0);const mn=yield Ve({type:"paperlibrary/getCourseList",payload:{search:yt?"":Ke}});mn&&(d((mn==null?void 0:mn.courses)||[]),j(!0),ve(!1)),f(!1),ge(!1)}),Yt=yt=>{const mn=parseInt(yt);return(0,V.isNaN)(mn)?"":mn},gt=()=>O(void 0,null,function*(){var yt,mn,un,Tn,bn,$n,_n;if(!n.length){W.ZP.info("\u60A8\u9700\u8981\u9009\u62E9\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),l(!0);return}const vn=yield Ve({type:"paperlibrary/postExistCourse",payload:{course_id:E?n==null?void 0:n[0]:n,examination_bank_ids:((mn=(yt=Y.actionTabs)==null?void 0:yt.params)==null?void 0:mn.examination_bank_ids)||((Tn=(un=Y.actionTabs)==null?void 0:un.params)==null?void 0:Tn.id)}}),Zt=()=>O(void 0,null,function*(){var yn,dn,S,Z,T,N;p(!0);let he=yield(0,ee.Tr)({id:(dn=(yn=Y.actionTabs)==null?void 0:yn.params)==null?void 0:dn.id,course_id:E?n==null?void 0:n[0]:n,type:(Z=(S=Y.actionTabs)==null?void 0:S.params)!=null&&Z.isBatch?"batch_examination_bank":"examination_bank",examination_bank_ids:(N=(T=Y.actionTabs)==null?void 0:T.params)==null?void 0:N.examination_bank_ids});p(!1),(he==null?void 0:he.student_count)===0?yield Ut([]):Le(he),yield new Promise(fe=>setTimeout(()=>fe(),1e3))});if(vn.status==0&&((bn=vn.data)==null?void 0:bn.count)>0){b.default.confirm({icon:null,title:me.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),centered:!0,width:596,content:Q.createElement("div",{style:{userSelect:"none"}},"\u5F53\u524D\u6559\u5B66\u8BFE\u5802\u4E2D\u5DF2\u5B58\u5728\u8BD5\u5377",(_n=($n=vn.data)==null?void 0:$n.list)==null?void 0:_n.map((yn,dn)=>{var S;return Q.createElement(Q.Fragment,null,Q.createElement("span",{style:{color:"#FA6400"}},"\u300A",yn==null?void 0:yn.name,"\u300B"),dn!==((S=vn.data)==null?void 0:S.count)-1&&Q.createElement("span",null,"\u3001"))}),"\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u9700\u8981\u91CD\u590D\u53D1\u9001\uFF1F"),onOk:()=>O(void 0,null,function*(){yield Zt()})}),yield new Promise(yn=>setTimeout(()=>yn(),1e3));return}yield Zt()}),Ut=yt=>O(void 0,null,function*(){var mn,un,Tn,bn,$n,_n;if(!E){Ee(!0);const dn=yield Ve({type:(un=(mn=Y.actionTabs)==null?void 0:mn.params)!=null&&un.isBatch?"paperlibrary/postBatchSendToCourse":"paperlibrary/sendToClass",payload:{course_id:E?n==null?void 0:n[0]:n,id:(bn=(Tn=Y.actionTabs)==null?void 0:Tn.params)==null?void 0:bn.id,examination_bank_ids:(_n=($n=Y.actionTabs)==null?void 0:$n.params)==null?void 0:_n.examination_bank_ids,shixuns_info:yt.map(S=>({shixun_id:S.id,is_copy:S.is_copy,is_use:S.is_use,course_id:S.course_id}))}});Ee(!1),dn&&dn.status===0&&(Je(!1),Ve({type:"paperlibrary/setActionTabs",payload:{}}),R([]),b.default.confirm({title:me.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",width:480,centered:!0,closable:!0,onOk:()=>{window.location.href=`${dn.data[0].first_category_url}`},content:Q.createElement("p",null,"\u8BD5\u5377\u53D1\u9001\u6210\u529F\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u524D\u5F80\u6559\u5B66\u8BFE\u5802\u8FDB\u884C\u53D1\u5E03\uFF1F")}),W.ZP.success("\u53D1\u9001\u6210\u529F"));return}Ee(!0),setTimeout(()=>{Ee(!1)},500);const vn=w.find(dn=>dn.course_id===(n==null?void 0:n[0]));let Zt=1,yn=b.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:Q.createElement("div",{className:we.modalColumn},Q.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},Q.createElement("img",{style:{marginRight:5},src:I.Z}),"\u968F\u673A\u7EC4\u5377\u7C7B\u578B\u7684\u8BD5\u5377\u6309\u7167\u51FA\u5377\u6570\u91CF\u5BF9\u6307\u5B9A\u8BFE\u5802\u751F\u6210\u4E0D\u91CD\u590D\u7684\u8BD5\u5377\u3002"),Q.createElement("div",{style:{paddingLeft:18}},me.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),": ",vn==null?void 0:vn.course_name),Q.createElement("div",{style:{paddingLeft:9},className:we.modalRow},Q.createElement("sup",{className:we.sup},"*"),Q.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),Q.createElement($.Z,{parser:Yt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Zt,onChange:dn=>{Zt=dn;const S=document.getElementById("model_error");Zt<1||Zt>50?S.style.display="block":S.style.display="none"}})),Q.createElement("div",{style:{display:"none",marginLeft:115},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:me.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:me.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onCancel:St,onOk:()=>O(void 0,null,function*(){var dn,S;if(Zt<1||Zt>50){const T=document.getElementById("model_error");return T.style.display="block",Promise.reject()}yn.update({cancelButtonProps:{disabled:!0}});const Z=yield Ve({type:"paperlibrary/sendToClass",payload:{course_id:n==null?void 0:n[0],id:(S=(dn=Y.actionTabs)==null?void 0:dn.params)==null?void 0:S.id,num:Zt,shixuns_info:yt.map(T=>({shixun_id:T.id,is_copy:T.is_copy,is_use:T.is_use}))}});yn.update({cancelButtonProps:{disabled:!1}}),Z&&Z.status===0&&(b.default.destroyAll(),b.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,title:me.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Q.createElement("div",{className:we.modalColumn},Q.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},Q.createElement("img",{style:{marginRight:5},src:se}),"\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01")),okText:"\u524D\u5F80\u8BFE\u5802",cancelText:"\u8FD4\u56DE\u8BD5\u5377\u5E93",onCancel:()=>{St()},onOk:()=>{St(),setTimeout(()=>{var T,N;const he=(N=(T=Z==null?void 0:Z.first_category_url)==null?void 0:T.split("/"))==null?void 0:N[2];(0,ce.xg)(`/classrooms/${he}/exercise`)},1e3)}}))})})}),Nn=()=>O(void 0,null,function*(){ve(!0),yield Tt()}),vt=[{title:me.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),dataIndex:"course_name",ellipsis:!0},{title:me.formatMessage({id:"paperlibrary.groupCount",defaultMessage:"\u5206\u73ED\u6570\u91CF"}),dataIndex:"course_group_count",width:90,ellipsis:!0},{title:me.formatMessage({id:"paperlibrary.studentCount",defaultMessage:"\u5B66\u5458\u4EBA\u6570"}),dataIndex:"course_member_count",width:90,ellipsis:!0}];return Q.createElement("div",null,Q.createElement(b.default,{centered:!0,keyboard:!1,closable:!1,open:Qe,title:me.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"}),maskClosable:!1,okText:me.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:me.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),confirmLoading:Re["paperlibrary/sendToClass"]||de||!!Re["paperlibrary/postExistCourse"],width:752,footer:!1,onOk:gt,destroyOnClose:!0,onCancel:St},Q.createElement("div",{className:we.wrap},Q.createElement("div",{className:"mb10"},Q.createElement(H,{placeholder:me.formatMessage({id:"paperlibrary.searchByClassName",defaultMessage:"\u8F93\u51FA\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22"}),value:Ke,className:we.search,onChange:yt=>{B(yt.target.value),yt.target.value||Tt(!0)},onSearch:yt=>{B(yt),Tt(),R([])}})),Q.createElement(t.Z,{loading:K},w.length?Q.createElement("div",{className:we.radioWrap},Q.createElement(ie.default,{bordered:!1,scroll:(w==null?void 0:w.length)<=7?{}:{y:350},loading:g,rowKey:"course_id",pagination:!1,dataSource:w,columns:vt,onRow:yt=>({onClick:mn=>{if(E)R([yt==null?void 0:yt.course_id]);else{if(!E&&!n.includes(yt.course_id)&&n.length>0)return;n!=null&&n.includes(yt==null?void 0:yt.course_id)?R(n==null?void 0:n.filter(un=>un!==(yt==null?void 0:yt.course_id))):R([...n,yt==null?void 0:yt.course_id])}}}),rowSelection:{type:"radio",hideSelectAll:!0,selectedRowKeys:n,onChange:yt=>{R(yt),l(!1)}}})):!Ke&&!g&&Q.createElement(y,{createState:o,refreshLoading:te,onRefresh:Nn,onCreate:()=>{j(!1),(0,ce.xg)("/classrooms/new")}})),G&&Q.createElement("div",{className:we.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"),Q.createElement("div",{className:we.bottom,style:{display:"flex",alignItems:"center"}},Q.createElement("div",{style:{flex:1}},Q.createElement("div",{className:we.title},Q.createElement("img",{src:I.Z,style:{objectFit:"contain"}}),me.formatMessage({id:"paperlibrary.selectedPaperSentToClass",defaultMessage:"\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802\u5E76\u4E3A\u73ED\u7EA7\u5B66\u5458\u751F\u6210\u8003\u8BD5\u8BD5\u5377"}))),Q.createElement("div",null,Q.createElement(q.ZP,{onClick:St,className:we.no,style:{marginRight:20}},me.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),Q.createElement(M.Z,{onClick:gt,className:we.yes},me.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"})))))),Q.createElement(D.Z,{resdata:Se,type:"exercise",okloading:oe,oktext:(Se==null?void 0:Se.can_copy_num)===0?me.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}):"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:yt=>{Ut(yt)}}),Q.createElement(Ie.Z,{text:"\u662F\u5426\u7EE7\u7EED\u53D1\u9001\u5230\u6559\u5B66\u8BFE\u5802\u4E2D\uFF1F",okText:"\u786E\u8BA4\u53D1\u9001",visible:_e,dataSource:mt,onSuccess:()=>{ut(!1),Je(!0)},onClose:St}))};var ne=(0,c.connect)(({paperlibrary:re,loading:ae,globalSetting:Y})=>({paperlibrary:re,globalSetting:Y,loading:ae.effects}))(k)},50371:function(Dt,Me){function e(){const u=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let c=1;c{const b=v[W];b!==void 0&&(u[W]=b)})}return u}Me.Z=e},13845:function(Dt,Me,e){e.d(Me,{F:function(){return u},Z:function(){return c}});function u(v){return v!=null&&v===v.window}function c(v,W){var b,$;if(typeof window=="undefined")return 0;const t=W?"scrollTop":"scrollLeft";let ie=0;return u(v)?ie=v[W?"pageYOffset":"pageXOffset"]:v instanceof Document?ie=v.documentElement[t]:(v instanceof HTMLElement||v)&&(ie=v[t]),v&&!u(v)&&typeof ie!="number"&&(ie=($=((b=v.ownerDocument)!==null&&b!==void 0?b:v).documentElement)===null||$===void 0?void 0:$[t]),ie}},56762:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});var u=e(59301);function c(){const[,v]=u.useReducer(W=>W+1,0);return v}},68031:function(Dt,Me,e){e.d(Me,{Z:function(){return W}});var u=e(16089);function c(b,$,t,ie){const q=t-$;return b/=ie/2,b<1?q/2*b*b*b+$:q/2*((b-=2)*b*b+2)+$}var v=e(13845);function W(b){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:t=()=>window,callback:ie,duration:q=450}=$,I=t(),le=(0,v.Z)(I,!0),C=Date.now(),x=()=>{const X=Date.now()-C,U=c(X>q?q:X,le,b,q);(0,v.F)(I)?I.scrollTo(window.pageXOffset,U):I instanceof Document||I.constructor.name==="HTMLDocument"?I.documentElement.scrollTop=U:I.scrollTop=U,Xt||$},66104:function(Dt,Me,e){e.d(Me,{Z:function(){return Ue}});var u=e(92310),c=e.n(u),v=e(11592),W=e(26112),b=e(59301),$=e(92343),t=e(36355),ie=e(84105),q=e(91857);const I=s=>{let{children:F}=s;const{getPrefixCls:A}=b.useContext(t.E_),O=A("breadcrumb");return b.createElement("li",{className:`${O}-separator`,"aria-hidden":"true"},F===""?F:F||"/")};I.__ANT_BREADCRUMB_SEPARATOR=!0;var le=I,C=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);HF[H]||O)}function ue(s,F,A,O){if(A==null)return null;const{className:H,onClick:k}=F,ne=C(F,["className","onClick"]),re=Object.assign(Object.assign({},(0,W.Z)(ne,{data:!0,aria:!0})),{onClick:k});return O!==void 0?b.createElement("a",Object.assign({},re,{className:c()(`${s}-link`,H),href:O}),A):b.createElement("span",Object.assign({},re,{className:c()(`${s}-link`,H)}),A)}function X(s,F){return(O,H,k,ne,re)=>{if(F)return F(O,H,k,ne);const ae=x(O,H);return ue(s,O,ae,re)}}var U=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);H{const{prefixCls:F,separator:A="/",children:O,menu:H,overlay:k,dropdownProps:ne,href:re}=s,Y=(be=>{if(H||k){const Re=Object.assign({},ne);if(H){const Ve=H||{},{items:Fe}=Ve,ke=U(Ve,["items"]);Re.menu=Object.assign(Object.assign({},ke),{items:Fe==null?void 0:Fe.map((Ge,at)=>{var{key:Xe,title:me,label:Ke,path:B}=Ge,w=U(Ge,["key","title","label","path"]);let d=Ke!=null?Ke:me;return B&&(d=b.createElement("a",{href:`${re}${B}`},d)),Object.assign(Object.assign({},w),{key:Xe!=null?Xe:at,label:d})})})}else k&&(Re.overlay=k);return b.createElement(q.Z,Object.assign({placement:"bottom"},Re),b.createElement("span",{className:`${F}-overlay-link`},be,b.createElement(ie.Z,null)))}return be})(O);return Y!=null?b.createElement(b.Fragment,null,b.createElement("li",null,Y),A&&b.createElement(le,null,A)):null},se=s=>{const{prefixCls:F,children:A,href:O}=s,H=U(s,["prefixCls","children","href"]),{getPrefixCls:k}=b.useContext(t.E_),ne=k("breadcrumb",F);return b.createElement($e,Object.assign({},H,{prefixCls:ne}),ue(ne,H,A,O))};se.__ANT_BREADCRUMB_ITEM=!0;var we=se,ce=e(17313),L=e(83116),m=e(37613);const r=s=>{const{componentCls:F,iconCls:A}=s;return{[F]:Object.assign(Object.assign({},(0,ce.Wf)(s)),{color:s.itemColor,fontSize:s.fontSize,[A]:{fontSize:s.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:s.linkColor,transition:`color ${s.motionDurationMid}`,padding:`0 ${s.paddingXXS}px`,borderRadius:s.borderRadiusSM,height:s.lineHeight*s.fontSize,display:"inline-block",marginInline:-s.marginXXS,"&:hover":{color:s.linkHoverColor,backgroundColor:s.colorBgTextHover}},(0,ce.Qy)(s)),"li:last-child":{color:s.lastItemColor},[`${F}-separator`]:{marginInline:s.separatorMargin,color:s.separatorColor},[`${F}-link`]:{[` - > ${A} + span, - > ${A} + a - `]:{marginInlineStart:s.marginXXS}},[`${F}-overlay-link`]:{borderRadius:s.borderRadiusSM,height:s.lineHeight*s.fontSize,display:"inline-block",padding:`0 ${s.paddingXXS}px`,marginInline:-s.marginXXS,[`> ${A}`]:{marginInlineStart:s.marginXXS,fontSize:s.fontSizeIcon},"&:hover":{color:s.linkHoverColor,backgroundColor:s.colorBgTextHover,a:{color:s.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${s.componentCls}-rtl`]:{direction:"rtl"}})}};var h=(0,L.Z)("Breadcrumb",s=>{const F=(0,m.TS)(s,{});return[r(F)]},s=>({itemColor:s.colorTextDescription,lastItemColor:s.colorText,iconFontSize:s.fontSize,linkColor:s.colorTextDescription,linkHoverColor:s.colorText,separatorColor:s.colorTextDescription,separatorMargin:s.marginXS})),y=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);H{var{breadcrumbName:ne}=k,re=y(k,["breadcrumbName"]);return Object.assign(Object.assign({},re),{title:ne})})}),H}function M(s,F){return(0,b.useMemo)(()=>s||(F?F.map(ee):null),[s,F])}var V=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);H{if(F===void 0)return F;let A=(F||"").replace(/^\//,"");return Object.keys(s).forEach(O=>{A=A.replace(`:${O}`,s[O])}),A},Ie=s=>{const{prefixCls:F,separator:A="/",style:O,className:H,rootClassName:k,routes:ne,items:re,children:ae,itemRender:Y,params:be={}}=s,Re=V(s,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ve,direction:Fe,breadcrumb:ke}=b.useContext(t.E_);let Ge;const at=Ve("breadcrumb",F),[Xe,me]=h(at),Ke=M(re,ne),B=X(at,Y);if(Ke&&Ke.length>0){const n=[],R=re||ne;Ge=Ke.map((G,l)=>{const{path:o,key:j,type:g,menu:f,overlay:K,onClick:ge,className:te,separator:ve,dropdownProps:de}=G,p=D(be,o);p!==void 0&&n.push(p);const E=j!=null?j:l;if(g==="separator")return b.createElement(le,{key:E},ve);const oe={},Ee=l===Ke.length-1;f?oe.menu=f:K&&(oe.overlay=K);let{href:Se}=G;return n.length&&p!==void 0&&(Se=`#/${n.join("/")}`),b.createElement($e,Object.assign({key:E},oe,(0,W.Z)(G,{data:!0,aria:!0}),{className:te,dropdownProps:de,href:Se,separator:Ee?"":A,onClick:ge,prefixCls:at}),B(G,be,R,n,Se))})}else if(ae){const n=(0,v.Z)(ae).length;Ge=(0,v.Z)(ae).map((R,G)=>{if(!R)return R;const l=G===n-1;return(0,$.Tm)(R,{separator:l?"":A,key:G})})}const w=c()(at,ke==null?void 0:ke.className,{[`${at}-rtl`]:Fe==="rtl"},H,k,me),d=Object.assign(Object.assign({},ke==null?void 0:ke.style),O);return Xe(b.createElement("nav",Object.assign({className:w,style:d},Re),b.createElement("ol",null,Ge)))};Ie.Item=we,Ie.Separator=le;var Q=Ie,Ue=Q},18889:function(Dt,Me,e){e.d(Me,{Z:function(){return Ue}});var u=e(92310),c=e.n(u),v=e(2738),W=e(59301),b=e(36355),$=e(19716),t=e(61621),ie=e(99313),q=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);H{var{prefixCls:F,className:A,hoverable:O=!0}=s,H=q(s,["prefixCls","className","hoverable"]);const{getPrefixCls:k}=W.useContext(b.E_),ne=k("card",F),re=c()(`${ne}-grid`,A,{[`${ne}-grid-hoverable`]:O});return W.createElement("div",Object.assign({},H,{className:re}))},C=e(17313),x=e(83116),ue=e(37613);const X=s=>{const{antCls:F,componentCls:A,headerHeight:O,cardPaddingBase:H,tabsMarginBottom:k}=s;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:O,marginBottom:-1,padding:`0 ${H}px`,color:s.colorTextHeading,fontWeight:s.fontWeightStrong,fontSize:s.headerFontSize,background:s.headerBg,borderBottom:`${s.lineWidth}px ${s.lineType} ${s.colorBorderSecondary}`,borderRadius:`${s.borderRadiusLG}px ${s.borderRadiusLG}px 0 0`},(0,C.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},C.vS),{[` - > ${A}-typography, - > ${A}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${F}-tabs-top`]:{clear:"both",marginBottom:k,color:s.colorText,fontWeight:"normal",fontSize:s.fontSize,"&-bar":{borderBottom:`${s.lineWidth}px ${s.lineType} ${s.colorBorderSecondary}`}}})},U=s=>{const{cardPaddingBase:F,colorBorderSecondary:A,cardShadow:O,lineWidth:H}=s;return{width:"33.33%",padding:F,border:0,borderRadius:0,boxShadow:` - ${H}px 0 0 0 ${A}, - 0 ${H}px 0 0 ${A}, - ${H}px ${H}px 0 0 ${A}, - ${H}px 0 0 0 ${A} inset, - 0 ${H}px 0 0 ${A} inset; - `,transition:`all ${s.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:O}}},$e=s=>{const{componentCls:F,iconCls:A,actionsLiMargin:O,cardActionsIconSize:H,colorBorderSecondary:k,actionsBg:ne}=s;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:ne,borderTop:`${s.lineWidth}px ${s.lineType} ${k}`,display:"flex",borderRadius:`0 0 ${s.borderRadiusLG}px ${s.borderRadiusLG}px `},(0,C.dF)()),{"& > li":{margin:O,color:s.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:s.cardActionsIconSize*2,fontSize:s.fontSize,lineHeight:s.lineHeight,cursor:"pointer","&:hover":{color:s.colorPrimary,transition:`color ${s.motionDurationMid}`},[`a:not(${F}-btn), > ${A}`]:{display:"inline-block",width:"100%",color:s.colorTextDescription,lineHeight:`${s.fontSize*s.lineHeight}px`,transition:`color ${s.motionDurationMid}`,"&:hover":{color:s.colorPrimary}},[`> ${A}`]:{fontSize:H,lineHeight:`${H*s.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${s.lineWidth}px ${s.lineType} ${k}`}}})},se=s=>Object.assign(Object.assign({margin:`-${s.marginXXS}px 0`,display:"flex"},(0,C.dF)()),{"&-avatar":{paddingInlineEnd:s.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:s.marginXS}},"&-title":Object.assign({color:s.colorTextHeading,fontWeight:s.fontWeightStrong,fontSize:s.fontSizeLG},C.vS),"&-description":{color:s.colorTextDescription}}),we=s=>{const{componentCls:F,cardPaddingBase:A,colorFillAlter:O}=s;return{[`${F}-head`]:{padding:`0 ${A}px`,background:O,"&-title":{fontSize:s.fontSize}},[`${F}-body`]:{padding:`${s.padding}px ${A}px`}}},ce=s=>{const{componentCls:F}=s;return{overflow:"hidden",[`${F}-body`]:{userSelect:"none"}}},L=s=>{const{antCls:F,componentCls:A,cardShadow:O,cardHeadPadding:H,colorBorderSecondary:k,boxShadowTertiary:ne,cardPaddingBase:re,extraColor:ae}=s;return{[A]:Object.assign(Object.assign({},(0,C.Wf)(s)),{position:"relative",background:s.colorBgContainer,borderRadius:s.borderRadiusLG,[`&:not(${A}-bordered)`]:{boxShadow:ne},[`${A}-head`]:X(s),[`${A}-extra`]:{marginInlineStart:"auto",color:ae,fontWeight:"normal",fontSize:s.fontSize},[`${A}-body`]:Object.assign({padding:re,borderRadius:` 0 0 ${s.borderRadiusLG}px ${s.borderRadiusLG}px`},(0,C.dF)()),[`${A}-grid`]:U(s),[`${A}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${F}-image-mask`]:{borderRadius:`${s.borderRadiusLG}px ${s.borderRadiusLG}px 0 0`}},[`${A}-actions`]:$e(s),[`${A}-meta`]:se(s)}),[`${A}-bordered`]:{border:`${s.lineWidth}px ${s.lineType} ${k}`,[`${A}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${A}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${s.motionDurationMid}, border-color ${s.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:O}},[`${A}-contain-grid`]:{[`${A}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${A}-loading) ${A}-body`]:{marginBlockStart:-s.lineWidth,marginInlineStart:-s.lineWidth,padding:0}},[`${A}-contain-tabs`]:{[`> ${A}-head`]:{[`${A}-head-title, ${A}-extra`]:{paddingTop:H}}},[`${A}-type-inner`]:we(s),[`${A}-loading`]:ce(s),[`${A}-rtl`]:{direction:"rtl"}}},m=s=>{const{componentCls:F,cardPaddingSM:A,headerHeightSM:O,headerFontSizeSM:H}=s;return{[`${F}-small`]:{[`> ${F}-head`]:{minHeight:O,padding:`0 ${A}px`,fontSize:H,[`> ${F}-head-wrapper`]:{[`> ${F}-extra`]:{fontSize:s.fontSize}}},[`> ${F}-body`]:{padding:A}},[`${F}-small${F}-contain-tabs`]:{[`> ${F}-head`]:{[`${F}-head-title, ${F}-extra`]:{minHeight:O,paddingTop:0,display:"flex",alignItems:"center"}}}}};var r=(0,x.Z)("Card",s=>{const F=(0,ue.TS)(s,{cardShadow:s.boxShadowCard,cardHeadPadding:s.padding,cardPaddingBase:s.paddingLG,cardActionsIconSize:s.fontSize,cardPaddingSM:12});return[L(F),m(F)]},s=>({headerBg:"transparent",headerFontSize:s.fontSizeLG,headerFontSizeSM:s.fontSize,headerHeight:s.fontSizeLG*s.lineHeightLG+s.padding*2,headerHeightSM:s.fontSize*s.lineHeight+s.paddingXS*2,actionsBg:s.colorBgContainer,actionsLiMargin:`${s.paddingSM}px 0`,tabsMarginBottom:-s.padding-s.lineWidth,extraColor:s.colorText})),h=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);HW.createElement("li",{style:{width:`${100/s.length}%`},key:`action-${A}`},W.createElement("span",null,F)))}var M=W.forwardRef((s,F)=>{const{prefixCls:A,className:O,rootClassName:H,style:k,extra:ne,headStyle:re={},bodyStyle:ae={},title:Y,loading:be,bordered:Re=!0,size:Ve,type:Fe,cover:ke,actions:Ge,tabList:at,children:Xe,activeTabKey:me,defaultActiveTabKey:Ke,tabBarExtraContent:B,hoverable:w,tabProps:d={}}=s,n=h(s,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:R,direction:G,card:l}=W.useContext(b.E_),o=ut=>{var mt;(mt=s.onTabChange)===null||mt===void 0||mt.call(s,ut)},j=W.useMemo(()=>{let ut=!1;return W.Children.forEach(Xe,mt=>{mt&&mt.type&&mt.type===le&&(ut=!0)}),ut},[Xe]),g=R("card",A),[f,K]=r(g),ge=W.createElement(t.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},Xe),te=me!==void 0,ve=Object.assign(Object.assign({},d),{[te?"activeKey":"defaultActiveKey"]:te?me:Ke,tabBarExtraContent:B});let de;const p=(0,$.Z)(Ve),E=!p||p==="default"?"large":p,oe=at?W.createElement(ie.default,Object.assign({size:E},ve,{className:`${g}-head-tabs`,onChange:o,items:at.map(ut=>{var{tab:mt}=ut,It=h(ut,["tab"]);return Object.assign({label:mt},It)})})):null;(Y||ne||oe)&&(de=W.createElement("div",{className:`${g}-head`,style:re},W.createElement("div",{className:`${g}-head-wrapper`},Y&&W.createElement("div",{className:`${g}-head-title`},Y),ne&&W.createElement("div",{className:`${g}-extra`},ne)),oe));const Ee=ke?W.createElement("div",{className:`${g}-cover`},ke):null,Se=W.createElement("div",{className:`${g}-body`,style:ae},be?ge:Xe),Le=Ge&&Ge.length?W.createElement("ul",{className:`${g}-actions`},y(Ge)):null,Qe=(0,v.Z)(n,["onTabChange"]),Je=c()(g,l==null?void 0:l.className,{[`${g}-loading`]:be,[`${g}-bordered`]:Re,[`${g}-hoverable`]:w,[`${g}-contain-grid`]:j,[`${g}-contain-tabs`]:at&&at.length,[`${g}-${p}`]:p,[`${g}-type-${Fe}`]:!!Fe,[`${g}-rtl`]:G==="rtl"},O,H,K),_e=Object.assign(Object.assign({},l==null?void 0:l.style),k);return f(W.createElement("div",Object.assign({ref:F},Qe,{className:Je,style:_e}),de,Ee,Se,Le))}),V=function(s,F){var A={};for(var O in s)Object.prototype.hasOwnProperty.call(s,O)&&F.indexOf(O)<0&&(A[O]=s[O]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,O=Object.getOwnPropertySymbols(s);H{const{prefixCls:F,className:A,avatar:O,title:H,description:k}=s,ne=V(s,["prefixCls","className","avatar","title","description"]),{getPrefixCls:re}=W.useContext(b.E_),ae=re("card",F),Y=c()(`${ae}-meta`,A),be=O?W.createElement("div",{className:`${ae}-meta-avatar`},O):null,Re=H?W.createElement("div",{className:`${ae}-meta-title`},H):null,Ve=k?W.createElement("div",{className:`${ae}-meta-description`},k):null,Fe=Re||Ve?W.createElement("div",{className:`${ae}-meta-detail`},Re,Ve):null;return W.createElement("div",Object.assign({},ne,{className:Y}),be,Fe)};const Q=M;Q.Grid=le,Q.Meta=Ie;var Ue=Q},24905:function(Dt,Me,e){e.d(Me,{default:function(){return h}});var u=e(92310),c=e.n(u),v=e(5630),W=e(59301),b=e(36355),$=e(1684),t=e(32441),q=W.createContext(null),I=e(98447),le=e(14088),C=e(4572),x=function(y,ee){var M={};for(var V in y)Object.prototype.hasOwnProperty.call(y,V)&&ee.indexOf(V)<0&&(M[V]=y[V]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,V=Object.getOwnPropertySymbols(y);D{var M;const{prefixCls:V,className:D,rootClassName:Ie,children:Q,indeterminate:Ue=!1,style:s,onMouseEnter:F,onMouseLeave:A,skipGroup:O=!1,disabled:H}=y,k=x(y,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ne,direction:re,checkbox:ae}=W.useContext(b.E_),Y=W.useContext(q),{isFormItemInput:be}=W.useContext(t.aM),Re=W.useContext($.Z),Ve=(M=(Y==null?void 0:Y.disabled)||H)!==null&&M!==void 0?M:Re,Fe=W.useRef(k.value);W.useEffect(()=>{Y==null||Y.registerValue(k.value)},[]),W.useEffect(()=>{if(!O)return k.value!==Fe.current&&(Y==null||Y.cancelValue(Fe.current),Y==null||Y.registerValue(k.value),Fe.current=k.value),()=>Y==null?void 0:Y.cancelValue(k.value)},[k.value]);const ke=ne("checkbox",V),[Ge,at]=(0,I.ZP)(ke),Xe=Object.assign({},k);Y&&!O&&(Xe.onChange=function(){k.onChange&&k.onChange.apply(k,arguments),Y.toggleOption&&Y.toggleOption({label:Q,value:k.value})},Xe.name=Y.name,Xe.checked=Y.value.includes(k.value));const me=c()(`${ke}-wrapper`,{[`${ke}-rtl`]:re==="rtl",[`${ke}-wrapper-checked`]:Xe.checked,[`${ke}-wrapper-disabled`]:Ve,[`${ke}-wrapper-in-form-item`]:be},ae==null?void 0:ae.className,D,Ie,at),Ke=c()({[`${ke}-indeterminate`]:Ue},C.A,at),B=Ue?"mixed":void 0;return Ge(W.createElement(le.Z,{component:"Checkbox",disabled:Ve},W.createElement("label",{className:me,style:Object.assign(Object.assign({},ae==null?void 0:ae.style),s),onMouseEnter:F,onMouseLeave:A},W.createElement(v.Z,Object.assign({"aria-checked":B},Xe,{prefixCls:ke,className:Ke,disabled:Ve,ref:ee})),Q!==void 0&&W.createElement("span",null,Q))))};var U=W.forwardRef(ue),$e=e(94480),se=e(2738),we=function(y,ee){var M={};for(var V in y)Object.prototype.hasOwnProperty.call(y,V)&&ee.indexOf(V)<0&&(M[V]=y[V]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,V=Object.getOwnPropertySymbols(y);D{const{defaultValue:M,children:V,options:D=[],prefixCls:Ie,className:Q,rootClassName:Ue,style:s,onChange:F}=y,A=we(y,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:O,direction:H}=W.useContext(b.E_),[k,ne]=W.useState(A.value||M||[]),[re,ae]=W.useState([]);W.useEffect(()=>{"value"in A&&ne(A.value||[])},[A.value]);const Y=W.useMemo(()=>D.map(w=>typeof w=="string"||typeof w=="number"?{label:w,value:w}:w),[D]),be=w=>{ae(d=>d.filter(n=>n!==w))},Re=w=>{ae(d=>[].concat((0,$e.Z)(d),[w]))},Ve=w=>{const d=k.indexOf(w.value),n=(0,$e.Z)(k);d===-1?n.push(w.value):n.splice(d,1),"value"in A||ne(n),F==null||F(n.filter(R=>re.includes(R)).sort((R,G)=>{const l=Y.findIndex(j=>j.value===R),o=Y.findIndex(j=>j.value===G);return l-o}))},Fe=O("checkbox",Ie),ke=`${Fe}-group`,[Ge,at]=(0,I.ZP)(Fe),Xe=(0,se.Z)(A,["value","disabled"]),me=D.length?Y.map(w=>W.createElement(U,{prefixCls:Fe,key:w.value.toString(),disabled:"disabled"in w?w.disabled:A.disabled,value:w.value,checked:k.includes(w.value),onChange:w.onChange,className:`${ke}-item`,style:w.style,title:w.title},w.label)):V,Ke={toggleOption:Ve,value:k,disabled:A.disabled,name:A.name,registerValue:Re,cancelValue:be},B=c()(ke,{[`${ke}-rtl`]:H==="rtl"},Q,Ue,at);return Ge(W.createElement("div",Object.assign({className:B,style:s},Xe,{ref:ee}),W.createElement(q.Provider,{value:Ke},me)))},L=W.forwardRef(ce);var m=W.memo(L);const r=U;r.Group=m,r.__ANT_CHECKBOX=!0;var h=r},98447:function(Dt,Me,e){e.d(Me,{C2:function(){return b}});var u=e(17313),c=e(37613),v=e(83116);const W=$=>{const{checkboxCls:t}=$,ie=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,u.Wf)($)),{display:"inline-flex",flexWrap:"wrap",columnGap:$.marginXS,[`> ${$.antCls}-row`]:{flex:1}}),[ie]:Object.assign(Object.assign({},(0,u.Wf)($)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${ie}`]:{marginInlineStart:0},[`&${ie}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,u.Wf)($)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:$.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,u.oN)($))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:$.checkboxSize,height:$.checkboxSize,direction:"ltr",backgroundColor:$.colorBgContainer,border:`${$.lineWidth}px ${$.lineType} ${$.colorBorder}`,borderRadius:$.borderRadiusSM,borderCollapse:"separate",transition:`all ${$.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:$.checkboxSize/14*5,height:$.checkboxSize/14*8,border:`${$.lineWidthBold}px solid ${$.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${$.motionDurationFast} ${$.motionEaseInBack}, opacity ${$.motionDurationFast}`}},"& + span":{paddingInlineStart:$.paddingXS,paddingInlineEnd:$.paddingXS}})},{[` - ${ie}:not(${ie}-disabled), - ${t}:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{borderColor:$.colorPrimary}},[`${ie}:not(${ie}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:$.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:$.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:$.colorPrimary,borderColor:$.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${$.motionDurationMid} ${$.motionEaseOutBack} ${$.motionDurationFast}`}}},[` - ${ie}-checked:not(${ie}-disabled), - ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:$.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:$.colorBgContainer,borderColor:$.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:$.fontSizeLG/2,height:$.fontSizeLG/2,backgroundColor:$.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${ie}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:$.colorBgContainerDisabled,borderColor:$.colorBorder,"&:after":{borderColor:$.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:$.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:$.colorTextDisabled}}}]};function b($,t){const ie=(0,c.TS)(t,{checkboxCls:`.${$}`,checkboxSize:t.controlInteractiveSize});return[W(ie)]}Me.ZP=(0,v.Z)("Checkbox",($,t)=>{let{prefixCls:ie}=t;return[b(ie,$)]})},93891:function(Dt,Me,e){var u=e(59301),c=e(36355),v=e(64165);const W=b=>{const{componentName:$}=b,{getPrefixCls:t}=(0,u.useContext)(c.E_),ie=t("empty");switch($){case"Table":case"List":return u.createElement(v.Z,{image:v.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return u.createElement(v.Z,{image:v.Z.PRESENTED_IMAGE_SIMPLE,className:`${ie}-small`});default:return u.createElement(v.Z,null)}};Me.Z=W},28103:function(Dt,Me,e){e.d(Me,{Z:function(){return C}});var u=e(92310),c=e.n(u),v=e(59301),W=e(36355),b=e(17313),$=e(83116),t=e(37613);const ie=x=>{const{componentCls:ue,sizePaddingEdgeHorizontal:X,colorSplit:U,lineWidth:$e,textPaddingInline:se,orientationMargin:we,verticalMarginInline:ce}=x;return{[ue]:Object.assign(Object.assign({},(0,b.Wf)(x)),{borderBlockStart:`${$e}px solid ${U}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ce,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${$e}px solid ${U}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${x.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ue}-with-text`]:{display:"flex",alignItems:"center",margin:`${x.dividerHorizontalWithTextGutterMargin}px 0`,color:x.colorTextHeading,fontWeight:500,fontSize:x.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${U}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${$e}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ue}-with-text-left`]:{"&::before":{width:`${we*100}%`},"&::after":{width:`${100-we*100}%`}},[`&-horizontal${ue}-with-text-right`]:{"&::before":{width:`${100-we*100}%`},"&::after":{width:`${we*100}%`}},[`${ue}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:se},"&-dashed":{background:"none",borderColor:U,borderStyle:"dashed",borderWidth:`${$e}px 0 0`},[`&-horizontal${ue}-with-text${ue}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ue}-dashed`]:{borderInlineStartWidth:$e,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ue}-with-text`]:{color:x.colorText,fontWeight:"normal",fontSize:x.fontSize},[`&-horizontal${ue}-with-text-left${ue}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ue}-inner-text`]:{paddingInlineStart:X}},[`&-horizontal${ue}-with-text-right${ue}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ue}-inner-text`]:{paddingInlineEnd:X}}})}};var q=(0,$.Z)("Divider",x=>{const ue=(0,t.TS)(x,{dividerHorizontalWithTextGutterMargin:x.margin,dividerHorizontalGutterMargin:x.marginLG,sizePaddingEdgeHorizontal:0});return[ie(ue)]},x=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:x.marginXS})),I=function(x,ue){var X={};for(var U in x)Object.prototype.hasOwnProperty.call(x,U)&&ue.indexOf(U)<0&&(X[U]=x[U]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,U=Object.getOwnPropertySymbols(x);$e{const{getPrefixCls:ue,direction:X,divider:U}=v.useContext(W.E_),{prefixCls:$e,type:se="horizontal",orientation:we="center",orientationMargin:ce,className:L,rootClassName:m,children:r,dashed:h,plain:y,style:ee}=x,M=I(x,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),V=ue("divider",$e),[D,Ie]=q(V),Q=we.length>0?`-${we}`:we,Ue=!!r,s=we==="left"&&ce!=null,F=we==="right"&&ce!=null,A=c()(V,U==null?void 0:U.className,Ie,`${V}-${se}`,{[`${V}-with-text`]:Ue,[`${V}-with-text${Q}`]:Ue,[`${V}-dashed`]:!!h,[`${V}-plain`]:!!y,[`${V}-rtl`]:X==="rtl",[`${V}-no-default-orientation-margin-left`]:s,[`${V}-no-default-orientation-margin-right`]:F},L,m),O=v.useMemo(()=>typeof ce=="number"?ce:/^\d+$/.test(ce)?Number(ce):ce,[ce]),H=Object.assign(Object.assign({},s&&{marginLeft:O}),F&&{marginRight:O});return D(v.createElement("div",Object.assign({className:A,style:Object.assign(Object.assign({},U==null?void 0:U.style),ee)},M,{role:"separator"}),r&&se!=="vertical"&&v.createElement("span",{className:`${V}-inner-text`,style:H},r)))}},91857:function(Dt,Me,e){var u=e(59301),c=e(38819),v=e(92310),W=e.n(v),b=e(31561),$=e(70425),t=e(18929),ie=e(2738),q=e(79676),I=e(53487),le=e(92343),C=e(36355),x=e(20834),ue=e(40875),X=e(88088),U=e(47211);const $e=null,se=m=>{const{menu:r,arrow:h,prefixCls:y,children:ee,trigger:M,disabled:V,dropdownRender:D,getPopupContainer:Ie,overlayClassName:Q,rootClassName:Ue,open:s,onOpenChange:F,visible:A,onVisibleChange:O,mouseEnterDelay:H=.15,mouseLeaveDelay:k=.1,autoAdjustOverflow:ne=!0,placement:re="",overlay:ae,transitionName:Y}=m,{getPopupContainer:be,getPrefixCls:Re,direction:Ve}=u.useContext(C.E_),Fe=u.useMemo(()=>{const f=Re();return Y!==void 0?Y:re.includes("top")?`${f}-slide-down`:`${f}-slide-up`},[Re,re,Y]),ke=u.useMemo(()=>re?re.includes("Center")?re.slice(0,re.indexOf("Center")):re:Ve==="rtl"?"bottomRight":"bottomLeft",[re,Ve]),Ge=Re("dropdown",y),[at,Xe]=(0,U.Z)(Ge),[,me]=(0,X.Z)(),Ke=u.Children.only(ee),B=(0,le.Tm)(Ke,{className:W()(`${Ge}-trigger`,{[`${Ge}-rtl`]:Ve==="rtl"},Ke.props.className),disabled:V}),w=V?[]:M;let d;w&&w.includes("contextMenu")&&(d=!0);const[n,R]=(0,t.Z)(!1,{value:s!=null?s:A}),G=(0,$.useEvent)(f=>{F==null||F(f),O==null||O(f),R(f)}),l=W()(Q,Ue,Xe,{[`${Ge}-rtl`]:Ve==="rtl"}),o=(0,q.Z)({arrowPointAtCenter:typeof h=="object"&&h.pointAtCenter,autoAdjustOverflow:ne,offset:me.marginXXS,arrowWidth:h?me.sizePopupArrow:0,borderRadius:me.borderRadius}),j=u.useCallback(()=>{R(!1)},[]),g=()=>{let f;return r!=null&&r.items?f=u.createElement(x.default,Object.assign({},r)):typeof ae=="function"?f=ae():f=ae,D&&(f=D(f)),f=u.Children.only(typeof f=="string"?u.createElement("span",null,f):f),u.createElement(ue.J,{prefixCls:`${Ge}-menu`,expandIcon:u.createElement("span",{className:`${Ge}-menu-submenu-arrow`},u.createElement(c.Z,{className:`${Ge}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:j,validator:K=>{let{mode:ge}=K}},f)};return at(u.createElement(b.Z,Object.assign({alignPoint:d},(0,ie.Z)(m,["rootClassName"]),{mouseEnterDelay:H,mouseLeaveDelay:k,visible:n,builtinPlacements:o,arrow:!!h,overlayClassName:l,prefixCls:Ge,getPopupContainer:Ie||be,transitionName:Fe,trigger:w,overlay:g,placement:ke,onVisibleChange:G}),B))};function we(m){return Object.assign(Object.assign({},m),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ce=(0,I.Z)(se,"dropdown",m=>m,we),L=m=>u.createElement(ce,Object.assign({},m),u.createElement("span",null));se._InternalPanelDoNotUseOrYouWillBeFired=L,Me.Z=se},38854:function(Dt,Me,e){e.d(Me,{Z:function(){return X}});var u=e(91857),c=e(92310),v=e.n(c),W=e(59301),b=e(18785),$=e(3113),t=e(36355),ie=e(81327),q=e(33234),I=e(47211),le=function(U,$e){var se={};for(var we in U)Object.prototype.hasOwnProperty.call(U,we)&&$e.indexOf(we)<0&&(se[we]=U[we]);if(U!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,we=Object.getOwnPropertySymbols(U);ce{const{getPopupContainer:$e,getPrefixCls:se,direction:we}=W.useContext(t.E_),{prefixCls:ce,type:L="default",danger:m,disabled:r,loading:h,onClick:y,htmlType:ee,children:M,className:V,menu:D,arrow:Ie,autoFocus:Q,overlay:Ue,trigger:s,align:F,open:A,onOpenChange:O,placement:H,getPopupContainer:k,href:ne,icon:re=W.createElement(b.Z,null),title:ae,buttonsRender:Y=g=>g,mouseEnterDelay:be,mouseLeaveDelay:Re,overlayClassName:Ve,overlayStyle:Fe,destroyPopupOnHide:ke,dropdownRender:Ge}=U,at=le(U,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Xe=se("dropdown",ce),me=`${Xe}-button`,[Ke,B]=(0,I.Z)(Xe),w={menu:D,arrow:Ie,autoFocus:Q,align:F,disabled:r,trigger:r?[]:s,onOpenChange:O,getPopupContainer:k||$e,mouseEnterDelay:be,mouseLeaveDelay:Re,overlayClassName:Ve,overlayStyle:Fe,destroyPopupOnHide:ke,dropdownRender:Ge},{compactSize:d,compactItemClassnames:n}=(0,q.ri)(Xe,we),R=v()(me,n,V,B);"overlay"in U&&(w.overlay=Ue),"open"in U&&(w.open=A),"placement"in U?w.placement=H:w.placement=we==="rtl"?"bottomLeft":"bottomRight";const G=W.createElement($.ZP,{type:L,danger:m,disabled:r,loading:h,onClick:y,htmlType:ee,href:ne,title:ae},M),l=W.createElement($.ZP,{type:L,danger:m,icon:re}),[o,j]=Y([G,l]);return Ke(W.createElement(ie.Z.Compact,Object.assign({className:R,size:d,block:!0},at),o,W.createElement(u.Z,Object.assign({},w),j)))};C.__ANT_BUTTON=!0;var x=C;const ue=u.Z;ue.Button=x;var X=ue},47211:function(Dt,Me,e){e.d(Me,{Z:function(){return le}});var u=e(17313),c=e(13826),v=e(92899),W=e(29878),b=e(19447),$=e(83116),t=e(37613),q=C=>{const{componentCls:x,menuCls:ue,colorError:X,colorTextLightSolid:U}=C,$e=`${ue}-item`;return{[`${x}, ${x}-menu-submenu`]:{[`${ue} ${$e}`]:{[`&${$e}-danger:not(${$e}-disabled)`]:{color:X,"&:hover":{color:U,backgroundColor:X}}}}}};const I=C=>{const{componentCls:x,menuCls:ue,zIndexPopup:X,dropdownArrowDistance:U,sizePopupArrow:$e,antCls:se,iconCls:we,motionDurationMid:ce,dropdownPaddingVertical:L,fontSize:m,dropdownEdgeChildPadding:r,colorTextDisabled:h,fontSizeIcon:y,controlPaddingHorizontal:ee,colorBgElevated:M}=C;return[{[x]:Object.assign(Object.assign({},(0,u.Wf)(C)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:X,display:"block","&::before":{position:"absolute",insetBlock:-U+$e/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${se}-btn`]:{[`& > ${we}-down, & > ${se}-btn-icon > ${we}-down`]:{fontSize:y}},[`${x}-wrap`]:{position:"relative",[`${se}-btn > ${we}-down`]:{fontSize:y},[`${we}-down::before`]:{transition:`transform ${ce}`}},[`${x}-wrap-open`]:{[`${we}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${se}-slide-down-enter${se}-slide-down-enter-active${x}-placement-bottomLeft, - &${se}-slide-down-appear${se}-slide-down-appear-active${x}-placement-bottomLeft, - &${se}-slide-down-enter${se}-slide-down-enter-active${x}-placement-bottom, - &${se}-slide-down-appear${se}-slide-down-appear-active${x}-placement-bottom, - &${se}-slide-down-enter${se}-slide-down-enter-active${x}-placement-bottomRight, - &${se}-slide-down-appear${se}-slide-down-appear-active${x}-placement-bottomRight`]:{animationName:c.fJ},[`&${se}-slide-up-enter${se}-slide-up-enter-active${x}-placement-topLeft, - &${se}-slide-up-appear${se}-slide-up-appear-active${x}-placement-topLeft, - &${se}-slide-up-enter${se}-slide-up-enter-active${x}-placement-top, - &${se}-slide-up-appear${se}-slide-up-appear-active${x}-placement-top, - &${se}-slide-up-enter${se}-slide-up-enter-active${x}-placement-topRight, - &${se}-slide-up-appear${se}-slide-up-appear-active${x}-placement-topRight`]:{animationName:c.Qt},[`&${se}-slide-down-leave${se}-slide-down-leave-active${x}-placement-bottomLeft, - &${se}-slide-down-leave${se}-slide-down-leave-active${x}-placement-bottom, - &${se}-slide-down-leave${se}-slide-down-leave-active${x}-placement-bottomRight`]:{animationName:c.Uw},[`&${se}-slide-up-leave${se}-slide-up-leave-active${x}-placement-topLeft, - &${se}-slide-up-leave${se}-slide-up-leave-active${x}-placement-top, - &${se}-slide-up-leave${se}-slide-up-leave-active${x}-placement-topRight`]:{animationName:c.ly}})},(0,b.ZP)(C,{colorBg:M,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${x} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:X,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${x}, ${x}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:r,listStyleType:"none",backgroundColor:M,backgroundClip:"padding-box",borderRadius:C.borderRadiusLG,outline:"none",boxShadow:C.boxShadowSecondary},(0,u.Qy)(C)),{[`${ue}-item-group-title`]:{padding:`${L}px ${ee}px`,color:C.colorTextDescription,transition:`all ${ce}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:m,marginInlineEnd:C.marginXS,fontSize:C.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ce}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${L}px ${ee}px`,color:C.colorText,fontWeight:"normal",fontSize:m,lineHeight:C.lineHeight,cursor:"pointer",transition:`all ${ce}`,borderRadius:C.borderRadiusSM,"&:hover, &-active":{backgroundColor:C.controlItemBgHover}},(0,u.Qy)(C)),{"&-selected":{color:C.colorPrimary,backgroundColor:C.controlItemBgActive,"&:hover, &-active":{backgroundColor:C.controlItemBgActiveHover}},"&-disabled":{color:h,cursor:"not-allowed","&:hover":{color:h,backgroundColor:M,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${C.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:C.colorSplit},[`${x}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:C.paddingXS,[`${x}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:C.colorTextDescription,fontSize:y,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${C.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:ee+C.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${x}-menu-submenu-title`]:{[`&, ${x}-menu-submenu-arrow-icon`]:{color:h,backgroundColor:M,cursor:"not-allowed"}},[`${ue}-submenu-selected ${x}-menu-submenu-title`]:{color:C.colorPrimary}})}},[(0,c.oN)(C,"slide-up"),(0,c.oN)(C,"slide-down"),(0,v.Fm)(C,"move-up"),(0,v.Fm)(C,"move-down"),(0,W._y)(C,"zoom-big")]]};var le=(0,$.Z)("Dropdown",(C,x)=>{let{rootPrefixCls:ue}=x;const{marginXXS:X,sizePopupArrow:U,controlHeight:$e,fontSize:se,lineHeight:we,paddingXXS:ce,componentCls:L,borderRadiusLG:m}=C,r=($e-se*we)/2,{dropdownArrowOffset:h}=(0,b.fS)({contentRadius:m}),y=(0,t.TS)(C,{menuCls:`${L}-menu`,rootPrefixCls:ue,dropdownArrowDistance:U/2+X,dropdownArrowOffset:h,dropdownPaddingVertical:r,dropdownEdgeChildPadding:ce});return[I(y),q(y)]},C=>({zIndexPopup:C.zIndexPopupBase+50}))},64165:function(Dt,Me,e){e.d(Me,{Z:function(){return ce}});var u=e(92310),c=e.n(u),v=e(59301),W=e(36355),b=e(9763),$=e(64993),t=e(88088),q=()=>{const[,L]=(0,t.Z)(),r=new $.C(L.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return v.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(24 31.67)"},v.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),v.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),v.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),v.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),v.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),v.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),v.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},v.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),v.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},le=()=>{const[,L]=(0,t.Z)(),{colorFill:m,colorFillTertiary:r,colorFillQuaternary:h,colorBgContainer:y}=L,{borderColor:ee,shadowColor:M,contentColor:V}=(0,v.useMemo)(()=>({borderColor:new $.C(m).onBackground(y).toHexShortString(),shadowColor:new $.C(r).onBackground(y).toHexShortString(),contentColor:new $.C(h).onBackground(y).toHexShortString()}),[m,r,h,y]);return v.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},v.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},v.createElement("ellipse",{fill:M,cx:"32",cy:"33",rx:"32",ry:"7"}),v.createElement("g",{fillRule:"nonzero",stroke:ee},v.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),v.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:V}))))},C=e(83116),x=e(37613);const ue=L=>{const{componentCls:m,margin:r,marginXS:h,marginXL:y,fontSize:ee,lineHeight:M}=L;return{[m]:{marginInline:h,fontSize:ee,lineHeight:M,textAlign:"center",[`${m}-image`]:{height:L.emptyImgHeight,marginBottom:h,opacity:L.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${m}-description`]:{color:L.colorText},[`${m}-footer`]:{marginTop:r},"&-normal":{marginBlock:y,color:L.colorTextDisabled,[`${m}-description`]:{color:L.colorTextDisabled},[`${m}-image`]:{height:L.emptyImgHeightMD}},"&-small":{marginBlock:h,color:L.colorTextDisabled,[`${m}-image`]:{height:L.emptyImgHeightSM}}}}};var X=(0,C.Z)("Empty",L=>{const{componentCls:m,controlHeightLG:r}=L,h=(0,x.TS)(L,{emptyImgCls:`${m}-img`,emptyImgHeight:r*2.5,emptyImgHeightMD:r,emptyImgHeightSM:r*.875});return[ue(h)]}),U=function(L,m){var r={};for(var h in L)Object.prototype.hasOwnProperty.call(L,h)&&m.indexOf(h)<0&&(r[h]=L[h]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,h=Object.getOwnPropertySymbols(L);y{var{className:m,rootClassName:r,prefixCls:h,image:y=$e,description:ee,children:M,imageStyle:V,style:D}=L,Ie=U(L,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Q,direction:Ue,empty:s}=v.useContext(W.E_),F=Q("empty",h),[A,O]=X(F),[H]=(0,b.Z)("Empty"),k=typeof ee!="undefined"?ee:H==null?void 0:H.description,ne=typeof k=="string"?k:"empty";let re=null;return typeof y=="string"?re=v.createElement("img",{alt:ne,src:y}):re=y,A(v.createElement("div",Object.assign({className:c()(O,F,s==null?void 0:s.className,{[`${F}-normal`]:y===se,[`${F}-rtl`]:Ue==="rtl"},m,r),style:Object.assign(Object.assign({},s==null?void 0:s.style),D)},Ie),v.createElement("div",{className:`${F}-image`,style:V},re),k&&v.createElement("div",{className:`${F}-description`},k),M&&v.createElement("div",{className:`${F}-footer`},M)))};we.PRESENTED_IMAGE_DEFAULT=$e,we.PRESENTED_IMAGE_SIMPLE=se;var ce=we},8628:function(Dt,Me,e){var u=e(59301),c=e(34280),v=e(56762),W=e(69507);function b(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=(0,u.useRef)({}),ie=(0,v.Z)(),q=(0,W.ZP)();return(0,c.Z)(()=>{const I=q.subscribe(le=>{t.current=le,$&&ie()});return()=>q.unsubscribe(I)},[]),t.current}Me.Z=b},5871:function(Dt,Me,e){e.d(Me,{Z:function(){return de}});var u=e(84105),c=e(87395),v=e(92310),W=e.n(v),b=e(54476),$=e(20068),t=e(76190),ie=e(42978),q=e(75931),I=e(67732),le=e(83652);function C(){return typeof BigInt=="function"}function x(p){return!p&&p!==0&&!Number.isNaN(p)||!String(p).trim()}function ue(p){var E=p.trim(),oe=E.startsWith("-");oe&&(E=E.slice(1)),E=E.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),E.startsWith(".")&&(E="0".concat(E));var Ee=E||"0",Se=Ee.split("."),Le=Se[0]||"0",Qe=Se[1]||"0";Le==="0"&&Qe==="0"&&(oe=!1);var Je=oe?"-":"";return{negative:oe,negativeStr:Je,trimStr:Ee,integerStr:Le,decimalStr:Qe,fullStr:"".concat(Je).concat(Ee)}}function X(p){var E=String(p);return!Number.isNaN(Number(E))&&E.includes("e")}function U(p){var E=String(p);if(X(p)){var oe=Number(E.slice(E.indexOf("e-")+2)),Ee=E.match(/\.(\d+)/);return Ee!=null&&Ee[1]&&(oe+=Ee[1].length),oe}return E.includes(".")&&se(E)?E.length-E.indexOf(".")-1:0}function $e(p){var E=String(p);if(X(p)){if(p>Number.MAX_SAFE_INTEGER)return String(C()?BigInt(p).toString():Number.MAX_SAFE_INTEGER);if(p0&&arguments[0]!==void 0?arguments[0]:!0;return oe?this.isInvalidate()?"":ue("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),p}(),ce=function(){function p(E){if((0,I.Z)(this,p),(0,$.Z)(this,"origin",""),(0,$.Z)(this,"number",void 0),(0,$.Z)(this,"empty",void 0),x(E)){this.empty=!0;return}this.origin=String(E),this.number=Number(E)}return(0,le.Z)(p,[{key:"negate",value:function(){return new p(-this.toNumber())}},{key:"add",value:function(oe){if(this.isInvalidate())return new p(oe);var Ee=Number(oe);if(Number.isNaN(Ee))return this;var Se=this.number+Ee;if(Se>Number.MAX_SAFE_INTEGER)return new p(Number.MAX_SAFE_INTEGER);if(SeNumber.MAX_SAFE_INTEGER)return new p(Number.MAX_SAFE_INTEGER);if(Se0&&arguments[0]!==void 0?arguments[0]:!0;return oe?this.isInvalidate()?"":$e(this.number):this.origin}}]),p}();function L(p){return C()?new we(p):new ce(p)}function m(p,E,oe){var Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(p==="")return"";var Se=ue(p),Le=Se.negativeStr,Qe=Se.integerStr,Je=Se.decimalStr,_e="".concat(E).concat(Je),ut="".concat(Le).concat(Qe);if(oe>=0){var mt=Number(Je[oe]);if(mt>=5&&!Ee){var It=L(p).add("".concat(Le,"0.").concat("0".repeat(oe)).concat(10-mt));return m(It.toString(),E,oe,Ee)}return oe===0?ut:"".concat(ut).concat(E).concat(Je.padEnd(oe,"0").slice(0,oe))}return _e===".0"?ut:"".concat(ut).concat(_e)}var r=L,h=e(93681),y=e(34280),ee=e(8654),M=e(59301),V=e(48736);function D(p,E){var oe=(0,M.useRef)(null);function Ee(){try{var Le=p.selectionStart,Qe=p.selectionEnd,Je=p.value,_e=Je.substring(0,Le),ut=Je.substring(Qe);oe.current={start:Le,end:Qe,value:Je,beforeTxt:_e,afterTxt:ut}}catch(mt){}}function Se(){if(p&&oe.current&&E)try{var Le=p.value,Qe=oe.current,Je=Qe.beforeTxt,_e=Qe.afterTxt,ut=Qe.start,mt=Le.length;if(Le.endsWith(_e))mt=Le.length-oe.current.afterTxt.length;else if(Le.startsWith(Je))mt=Je.length;else{var It=Je[ut-1],St=Le.indexOf(It,ut-1);St!==-1&&(mt=St+1)}p.setSelectionRange(mt,mt)}catch(Tt){(0,V.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Tt.message))}}return[Ee,Se]}var Ie=e(49658),Q=function(){var E=(0,M.useState)(!1),oe=(0,ie.Z)(E,2),Ee=oe[0],Se=oe[1];return(0,y.Z)(function(){Se((0,Ie.Z)())},[]),Ee},Ue=Q,s=e(16089),F=200,A=600;function O(p){var E=p.prefixCls,oe=p.upNode,Ee=p.downNode,Se=p.upDisabled,Le=p.downDisabled,Qe=p.onStep,Je=M.useRef(),_e=M.useRef([]),ut=M.useRef();ut.current=Qe;var mt=function(){clearTimeout(Je.current)},It=function(yt,mn){yt.preventDefault(),mt(),ut.current(mn);function un(){ut.current(mn),Je.current=setTimeout(un,F)}Je.current=setTimeout(un,A)};M.useEffect(function(){return function(){mt(),_e.current.forEach(function(vt){return s.Z.cancel(vt)})}},[]);var St=Ue();if(St)return null;var Tt="".concat(E,"-handler"),Yt=W()(Tt,"".concat(Tt,"-up"),(0,$.Z)({},"".concat(Tt,"-up-disabled"),Se)),gt=W()(Tt,"".concat(Tt,"-down"),(0,$.Z)({},"".concat(Tt,"-down-disabled"),Le)),Ut=function(){return _e.current.push((0,s.Z)(mt))},Nn={unselectable:"on",role:"button",onMouseUp:Ut,onMouseLeave:Ut};return M.createElement("div",{className:"".concat(Tt,"-wrap")},M.createElement("span",(0,b.Z)({},Nn,{onMouseDown:function(yt){It(yt,!0)},"aria-label":"Increase Value","aria-disabled":Se,className:Yt}),oe||M.createElement("span",{unselectable:"on",className:"".concat(E,"-handler-up-inner")})),M.createElement("span",(0,b.Z)({},Nn,{onMouseDown:function(yt){It(yt,!1)},"aria-label":"Decrease Value","aria-disabled":Le,className:gt}),Ee||M.createElement("span",{unselectable:"on",className:"".concat(E,"-handler-down-inner")})))}function H(p){var E=typeof p=="number"?$e(p):ue(p).fullStr,oe=E.includes(".");return oe?ue(E.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:p+"0"}var k=e(5643),ne=function(){var p=(0,M.useRef)(0),E=function(){s.Z.cancel(p.current)};return(0,M.useEffect)(function(){return E},[]),function(oe){E(),p.current=(0,s.Z)(function(){oe()})}},re=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],ae=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Y=function(E,oe){return E||oe.isEmpty()?oe.toString():oe.toNumber()},be=function(E){var oe=r(E);return oe.isInvalidate()?null:oe},Re=M.forwardRef(function(p,E){var oe,Ee=p.prefixCls,Se=Ee===void 0?"rc-input-number":Ee,Le=p.className,Qe=p.style,Je=p.min,_e=p.max,ut=p.step,mt=ut===void 0?1:ut,It=p.defaultValue,St=p.value,Tt=p.disabled,Yt=p.readOnly,gt=p.upHandler,Ut=p.downHandler,Nn=p.keyboard,vt=p.controls,yt=vt===void 0?!0:vt,mn=p.classNames,un=p.stringMode,Tn=p.parser,bn=p.formatter,$n=p.precision,_n=p.decimalSeparator,vn=p.onChange,Zt=p.onInput,yn=p.onPressEnter,dn=p.onStep,S=(0,q.Z)(p,re),Z="".concat(Se,"-input"),T=M.useRef(null),N=M.useState(!1),he=(0,ie.Z)(N,2),fe=he[0],He=he[1],Ae=M.useRef(!1),Ye=M.useRef(!1),nt=M.useRef(!1),dt=M.useState(function(){return r(St!=null?St:It)}),it=(0,ie.Z)(dt,2),qe=it[0],ot=it[1];function Ct(st){St===void 0&&ot(st)}var lt=M.useCallback(function(st,ct){if(!ct)return $n>=0?$n:Math.max(U(st),U(mt))},[$n,mt]),Ot=M.useCallback(function(st){var ct=String(st);if(Tn)return Tn(ct);var Ht=ct;return _n&&(Ht=Ht.replace(_n,".")),Ht.replace(/[^\w.-]+/g,"")},[Tn,_n]),zt=M.useRef(""),Qt=M.useCallback(function(st,ct){if(bn)return bn(st,{userTyping:ct,input:String(zt.current)});var Ht=typeof st=="number"?$e(st):st;if(!ct){var Nt=lt(Ht,ct);if(se(Ht)&&(_n||Nt>=0)){var Cn=_n||".";Ht=m(Ht,Cn,Nt)}}return Ht},[bn,lt,_n]),Rt=M.useState(function(){var st=It!=null?It:St;return qe.isInvalidate()&&["string","number"].includes((0,t.Z)(st))?Number.isNaN(st)?"":st:Qt(qe.toString(),!1)}),Gt=(0,ie.Z)(Rt,2),Oe=Gt[0],xe=Gt[1];zt.current=Oe;function De(st,ct){xe(Qt(st.isInvalidate()?st.toString(!1):st.toString(!ct),ct))}var Ze=M.useMemo(function(){return be(_e)},[_e,$n]),Pe=M.useMemo(function(){return be(Je)},[Je,$n]),Be=M.useMemo(function(){return!Ze||!qe||qe.isInvalidate()?!1:Ze.lessEquals(qe)},[Ze,qe]),Ne=M.useMemo(function(){return!Pe||!qe||qe.isInvalidate()?!1:qe.lessEquals(Pe)},[Pe,qe]),We=D(T.current,fe),ft=(0,ie.Z)(We,2),pt=ft[0],Kt=ft[1],jt=function(ct){return Ze&&!ct.lessEquals(Ze)?Ze:Pe&&!Pe.lessEquals(ct)?Pe:null},ln=function(ct){return!jt(ct)},Bt=function(ct,Ht){var Nt=ct,Cn=ln(Nt)||Nt.isEmpty();if(!Nt.isEmpty()&&!Ht&&(Nt=jt(Nt)||Nt,Cn=!0),!Yt&&!Tt&&Cn){var En=Nt.toString(),rn=lt(En,Ht);return rn>=0&&(Nt=r(m(En,".",rn)),ln(Nt)||(Nt=r(m(En,".",rn,!0)))),Nt.equals(qe)||(Ct(Nt),vn==null||vn(Nt.isEmpty()?null:Y(un,Nt)),St===void 0&&De(Nt,Ht)),Nt}return qe},Pt=ne(),tn=function st(ct){if(pt(),zt.current=ct,xe(ct),!Ye.current){var Ht=Ot(ct),Nt=r(Ht);Nt.isNaN()||Bt(Nt,!0)}Zt==null||Zt(ct),Pt(function(){var Cn=ct;Tn||(Cn=ct.replace(/。/g,".")),Cn!==ct&&st(Cn)})},sn=function(){Ye.current=!0},nn=function(){Ye.current=!1,tn(T.current.value)},Jt=function(ct){tn(ct.target.value)},qt=function(ct){var Ht;if(!(ct&&Be||!ct&&Ne)){Ae.current=!1;var Nt=r(nt.current?H(mt):mt);ct||(Nt=Nt.negate());var Cn=(qe||r(0)).add(Nt.toString()),En=Bt(Cn,!1);dn==null||dn(Y(un,En),{offset:nt.current?H(mt):mt,type:ct?"up":"down"}),(Ht=T.current)===null||Ht===void 0||Ht.focus()}},xn=function(ct){var Ht=r(Ot(Oe)),Nt=Ht;Ht.isNaN()?Nt=Bt(qe,ct):Nt=Bt(Ht,ct),St!==void 0?De(qe,!1):Nt.isNaN()||De(Nt,!1)},en=function(){Ae.current=!0},Rn=function(ct){var Ht=ct.key,Nt=ct.shiftKey;Ae.current=!0,nt.current=Nt,Ht==="Enter"&&(Ye.current||(Ae.current=!1),xn(!1),yn==null||yn(ct)),Nn!==!1&&!Ye.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ht)&&(qt(Ht==="Up"||Ht==="ArrowUp"),ct.preventDefault())},Gn=function(){Ae.current=!1,nt.current=!1},Wt=function(){xn(!1),He(!1),Ae.current=!1};return(0,y.o)(function(){qe.isInvalidate()||De(qe,!1)},[$n]),(0,y.o)(function(){var st=r(St);ot(st);var ct=r(Ot(Oe));(!st.equals(ct)||!Ae.current||bn)&&De(st,Ae.current)},[St]),(0,y.o)(function(){bn&&Kt()},[Oe]),M.createElement("div",{className:W()(Se,mn==null?void 0:mn.input,Le,(oe={},(0,$.Z)(oe,"".concat(Se,"-focused"),fe),(0,$.Z)(oe,"".concat(Se,"-disabled"),Tt),(0,$.Z)(oe,"".concat(Se,"-readonly"),Yt),(0,$.Z)(oe,"".concat(Se,"-not-a-number"),qe.isNaN()),(0,$.Z)(oe,"".concat(Se,"-out-of-range"),!qe.isInvalidate()&&!ln(qe)),oe)),style:Qe,onFocus:function(){He(!0)},onBlur:Wt,onKeyDown:Rn,onKeyUp:Gn,onCompositionStart:sn,onCompositionEnd:nn,onBeforeInput:en},yt&&M.createElement(O,{prefixCls:Se,upNode:gt,downNode:Ut,upDisabled:Be,downDisabled:Ne,onStep:qt}),M.createElement("div",{className:"".concat(Z,"-wrap")},M.createElement("input",(0,b.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Je,"aria-valuemax":_e,"aria-valuenow":qe.isInvalidate()?null:qe.toString(),step:mt},S,{ref:(0,ee.sQ)(T,E),className:Z,value:Oe,onChange:Jt,disabled:Tt,readOnly:Yt}))))}),Ve=M.forwardRef(function(p,E){var oe=p.disabled,Ee=p.style,Se=p.prefixCls,Le=p.value,Qe=p.prefix,Je=p.suffix,_e=p.addonBefore,ut=p.addonAfter,mt=p.classes,It=p.className,St=p.classNames,Tt=(0,q.Z)(p,ae),Yt=M.useRef(null),gt=function(Nn){Yt.current&&(0,k.nH)(Yt.current,Nn)};return M.createElement(h.BaseInput,{inputElement:M.createElement(Re,(0,b.Z)({prefixCls:Se,disabled:oe,classNames:St,ref:(0,ee.sQ)(Yt,E)},Tt)),className:It,triggerFocus:gt,prefixCls:Se,value:Le,disabled:oe,style:Ee,prefix:Qe,suffix:Je,addonAfter:ut,addonBefore:_e,classes:mt,classNames:St,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Ve.displayName="InputNumber";var Fe=Ve,ke=Fe,Ge=e(19080),at=e(36355),Xe=e(92736),me=e(1684),Ke=e(19716),B=e(32441),w=e(33234),d=e(9937),n=e(17313),R=e(74207),G=e(83116),l=e(37613);const o=(p,E)=>{let{componentCls:oe,borderRadiusSM:Ee,borderRadiusLG:Se}=p;const Le=E==="lg"?Se:Ee;return{[`&-${E}`]:{[`${oe}-handler-wrap`]:{borderStartEndRadius:Le,borderEndEndRadius:Le},[`${oe}-handler-up`]:{borderStartEndRadius:Le},[`${oe}-handler-down`]:{borderEndEndRadius:Le}}}},j=p=>{const{componentCls:E,lineWidth:oe,lineType:Ee,colorBorder:Se,borderRadius:Le,fontSizeLG:Qe,controlHeightLG:Je,controlHeightSM:_e,colorError:ut,paddingInlineSM:mt,colorTextDescription:It,motionDurationMid:St,handleHoverColor:Tt,paddingInline:Yt,paddingBlock:gt,handleBg:Ut,handleActiveBg:Nn,colorTextDisabled:vt,borderRadiusSM:yt,borderRadiusLG:mn,controlWidth:un,handleVisible:Tn,handleBorderColor:bn}=p;return[{[E]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(p)),(0,d.ik)(p)),(0,d.bi)(p,E)),{display:"inline-block",width:un,margin:0,padding:0,border:`${oe}px ${Ee} ${Se}`,borderRadius:Le,"&-rtl":{direction:"rtl",[`${E}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Qe,borderRadius:mn,[`input${E}-input`]:{height:Je-2*oe}},"&-sm":{padding:0,borderRadius:yt,[`input${E}-input`]:{height:_e-2*oe,padding:`0 ${mt}px`}},"&:hover":Object.assign({},(0,d.pU)(p)),"&-focused":Object.assign({},(0,d.M1)(p)),"&-out-of-range":{[`${E}-input-wrap`]:{input:{color:ut}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,n.Wf)(p)),(0,d.s7)(p)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${E}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${E}-group-addon`]:{borderRadius:mn,fontSize:p.fontSizeLG}},"&-sm":{[`${E}-group-addon`]:{borderRadius:yt}},[`${E}-wrapper-disabled > ${E}-group-addon`]:Object.assign({},(0,d.Xy)(p))}}),[`&-disabled ${E}-input`]:{cursor:"not-allowed"},[E]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(p)),{width:"100%",padding:`${gt}px ${Yt}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Le,outline:0,transition:`all ${St} linear`,appearance:"textfield",fontSize:"inherit"}),(0,d.nz)(p.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[E]:Object.assign(Object.assign(Object.assign({[`&:hover ${E}-handler-wrap, &-focused ${E}-handler-wrap`]:{opacity:1},[`${E}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:p.handleWidth,height:"100%",background:Ut,borderStartStartRadius:0,borderStartEndRadius:Le,borderEndEndRadius:Le,borderEndStartRadius:0,opacity:Tn===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${St} linear ${St}`,[`${E}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` - ${E}-handler-up-inner, - ${E}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:p.handleFontSize}}},[`${E}-handler`]:{height:"50%",overflow:"hidden",color:It,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${oe}px ${Ee} ${bn}`,transition:`all ${St} linear`,"&:active":{background:Nn},"&:hover":{height:"60%",[` - ${E}-handler-up-inner, - ${E}-handler-down-inner - `]:{color:Tt}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,n.Ro)()),{color:It,transition:`all ${St} linear`,userSelect:"none"})},[`${E}-handler-up`]:{borderStartEndRadius:Le},[`${E}-handler-down`]:{borderBlockStart:`${oe}px ${Ee} ${bn}`,borderEndEndRadius:Le}},o(p,"lg")),o(p,"sm")),{"&-disabled, &-readonly":{[`${E}-handler-wrap`]:{display:"none"},[`${E}-input`]:{color:"inherit"}},[` - ${E}-handler-up-disabled, - ${E}-handler-down-disabled - `]:{cursor:"not-allowed"},[` - ${E}-handler-up-disabled:hover &-handler-up-inner, - ${E}-handler-down-disabled:hover &-handler-down-inner - `]:{color:vt}})},{[`${E}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${E}-handler-down`]:{borderBlockStartWidth:0}}}]},g=p=>{const{componentCls:E,paddingBlock:oe,paddingInline:Ee,inputAffixPadding:Se,controlWidth:Le,borderRadiusLG:Qe,borderRadiusSM:Je}=p;return{[`${E}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,d.ik)(p)),(0,d.bi)(p,`${E}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Le,padding:0,paddingInlineStart:Ee,"&-lg":{borderRadius:Qe},"&-sm":{borderRadius:Je},[`&:not(${E}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,d.pU)(p)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${E}-disabled`]:{background:"transparent"},[`> div${E}`]:{width:"100%",border:"none",outline:"none",[`&${E}-focused`]:{boxShadow:"none !important"}},[`input${E}-input`]:{padding:`${oe}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${E}-handler-wrap`]:{zIndex:2},[E]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Se},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Ee,marginInlineStart:Se}}})}};var f=(0,G.Z)("InputNumber",p=>{const E=(0,l.TS)(p,(0,d.e5)(p));return[j(E),g(E),(0,R.c)(E)]},p=>Object.assign(Object.assign({},(0,d.TM)(p)),{controlWidth:90,handleWidth:p.controlHeightSM-p.lineWidth*2,handleFontSize:p.fontSize/2,handleVisible:"auto",handleActiveBg:p.colorFillAlter,handleBg:p.colorBgContainer,handleHoverColor:p.colorPrimary,handleBorderColor:p.colorBorder})),K=function(p,E){var oe={};for(var Ee in p)Object.prototype.hasOwnProperty.call(p,Ee)&&E.indexOf(Ee)<0&&(oe[Ee]=p[Ee]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ee=Object.getOwnPropertySymbols(p);Se{const{getPrefixCls:oe,direction:Ee}=M.useContext(at.E_),Se=M.useRef(null);M.useImperativeHandle(E,()=>Se.current);const{className:Le,rootClassName:Qe,size:Je,disabled:_e,prefixCls:ut,addonBefore:mt,addonAfter:It,prefix:St,bordered:Tt=!0,readOnly:Yt,status:gt,controls:Ut}=p,Nn=K(p,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),vt=oe("input-number",ut),[yt,mn]=f(vt),{compactSize:un,compactItemClassnames:Tn}=(0,w.ri)(vt,Ee);let bn=M.createElement(c.Z,{className:`${vt}-handler-up-inner`}),$n=M.createElement(u.Z,{className:`${vt}-handler-down-inner`});const _n=typeof Ut=="boolean"?Ut:void 0;typeof Ut=="object"&&(bn=typeof Ut.upIcon=="undefined"?bn:M.createElement("span",{className:`${vt}-handler-up-inner`},Ut.upIcon),$n=typeof Ut.downIcon=="undefined"?$n:M.createElement("span",{className:`${vt}-handler-down-inner`},Ut.downIcon));const{hasFeedback:vn,status:Zt,isFormItemInput:yn,feedbackIcon:dn}=M.useContext(B.aM),S=(0,Ge.F)(Zt,gt),Z=(0,Ke.Z)(Ae=>{var Ye;return(Ye=Je!=null?Je:un)!==null&&Ye!==void 0?Ye:Ae}),T=M.useContext(me.Z),N=_e!=null?_e:T,he=W()({[`${vt}-lg`]:Z==="large",[`${vt}-sm`]:Z==="small",[`${vt}-rtl`]:Ee==="rtl",[`${vt}-borderless`]:!Tt,[`${vt}-in-form-item`]:yn},(0,Ge.Z)(vt,S),Tn,mn),fe=`${vt}-group`,He=M.createElement(ke,Object.assign({ref:Se,disabled:N,className:W()(Le,Qe),upHandler:bn,downHandler:$n,prefixCls:vt,readOnly:Yt,controls:_n,prefix:St,suffix:vn&&dn,addonAfter:It&&M.createElement(w.BR,null,M.createElement(B.Ux,{override:!0,status:!0},It)),addonBefore:mt&&M.createElement(w.BR,null,M.createElement(B.Ux,{override:!0,status:!0},mt)),classNames:{input:he},classes:{affixWrapper:W()((0,Ge.Z)(`${vt}-affix-wrapper`,S,vn),{[`${vt}-affix-wrapper-sm`]:Z==="small",[`${vt}-affix-wrapper-lg`]:Z==="large",[`${vt}-affix-wrapper-rtl`]:Ee==="rtl",[`${vt}-affix-wrapper-borderless`]:!Tt},mn),wrapper:W()({[`${fe}-rtl`]:Ee==="rtl",[`${vt}-wrapper-disabled`]:N},mn),group:W()({[`${vt}-group-wrapper-sm`]:Z==="small",[`${vt}-group-wrapper-lg`]:Z==="large",[`${vt}-group-wrapper-rtl`]:Ee==="rtl"},(0,Ge.Z)(`${vt}-group-wrapper`,S,vn),mn)}},Nn));return yt(He)}),te=ge,ve=p=>M.createElement(Xe.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},M.createElement(ge,Object.assign({},p)));te._InternalPanelDoNotUseOrYouWillBeFired=ve;var de=te},9432:function(Dt,Me,e){e.d(Me,{Z:function(){return we},n:function(){return $e}});var u=e(19248),c=e(92310),v=e.n(c),W=e(93681),b=e(8654),$=e(59301),t=e(19080),ie=e(36355),q=e(1684),I=e(19716),le=e(32441),C=e(33234),x=e(59412),ue=e(9937);function X(ce){return!!(ce.prefix||ce.suffix||ce.allowClear)}var U=function(ce,L){var m={};for(var r in ce)Object.prototype.hasOwnProperty.call(ce,r)&&L.indexOf(r)<0&&(m[r]=ce[r]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,r=Object.getOwnPropertySymbols(ce);h{var m;const{prefixCls:r,bordered:h=!0,status:y,size:ee,disabled:M,onBlur:V,onFocus:D,suffix:Ie,allowClear:Q,addonAfter:Ue,addonBefore:s,className:F,style:A,styles:O,rootClassName:H,onChange:k,classNames:ne}=ce,re=U(ce,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ae,direction:Y,input:be}=$.useContext(ie.E_),Re=ae("input",r),Ve=(0,$.useRef)(null),[Fe,ke]=(0,ue.ZP)(Re),{compactSize:Ge,compactItemClassnames:at}=(0,C.ri)(Re,Y),Xe=(0,I.Z)(ge=>{var te;return(te=ee!=null?ee:Ge)!==null&&te!==void 0?te:ge}),me=$.useContext(q.Z),Ke=M!=null?M:me,{status:B,hasFeedback:w,feedbackIcon:d}=(0,$.useContext)(le.aM),n=(0,t.F)(B,y),R=X(ce)||!!w,G=(0,$.useRef)(R);(0,$.useEffect)(()=>{var ge;R&&G.current,G.current=R},[R]);const l=(0,x.Z)(Ve,!0),o=ge=>{l(),V==null||V(ge)},j=ge=>{l(),D==null||D(ge)},g=ge=>{l(),k==null||k(ge)},f=(w||Ie)&&$.createElement($.Fragment,null,Ie,w&&d);let K;return typeof Q=="object"&&(Q!=null&&Q.clearIcon)?K=Q:Q&&(K={clearIcon:$.createElement(u.Z,null)}),Fe($.createElement(W.default,Object.assign({ref:(0,b.sQ)(L,Ve),prefixCls:Re,autoComplete:be==null?void 0:be.autoComplete},re,{disabled:Ke,onBlur:o,onFocus:j,style:Object.assign(Object.assign({},be==null?void 0:be.style),A),styles:Object.assign(Object.assign({},be==null?void 0:be.styles),O),suffix:f,allowClear:K,className:v()(F,H,at,be==null?void 0:be.className),onChange:g,addonAfter:Ue&&$.createElement(C.BR,null,$.createElement(le.Ux,{override:!0,status:!0},Ue)),addonBefore:s&&$.createElement(C.BR,null,$.createElement(le.Ux,{override:!0,status:!0},s)),classNames:Object.assign(Object.assign(Object.assign({},ne),be==null?void 0:be.classNames),{input:v()({[`${Re}-sm`]:Xe==="small",[`${Re}-lg`]:Xe==="large",[`${Re}-rtl`]:Y==="rtl",[`${Re}-borderless`]:!h},!R&&(0,t.Z)(Re,n),ne==null?void 0:ne.input,(m=be==null?void 0:be.classNames)===null||m===void 0?void 0:m.input,ke)}),classes:{affixWrapper:v()({[`${Re}-affix-wrapper-sm`]:Xe==="small",[`${Re}-affix-wrapper-lg`]:Xe==="large",[`${Re}-affix-wrapper-rtl`]:Y==="rtl",[`${Re}-affix-wrapper-borderless`]:!h},(0,t.Z)(`${Re}-affix-wrapper`,n,w),ke),wrapper:v()({[`${Re}-group-rtl`]:Y==="rtl"},ke),group:v()({[`${Re}-group-wrapper-sm`]:Xe==="small",[`${Re}-group-wrapper-lg`]:Xe==="large",[`${Re}-group-wrapper-rtl`]:Y==="rtl",[`${Re}-group-wrapper-disabled`]:Ke},(0,t.Z)(`${Re}-group-wrapper`,n,w),ke)}})))})},1643:function(Dt,Me,e){var u=e(19248),c=e(92310),v=e.n(c),W=e(9296),b=e(59301),$=e(19080),t=e(36355),ie=e(1684),q=e(19716),I=e(32441),le=e(9432),C=e(9937),x=function(X,U){var $e={};for(var se in X)Object.prototype.hasOwnProperty.call(X,se)&&U.indexOf(se)<0&&($e[se]=X[se]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,se=Object.getOwnPropertySymbols(X);we{const{prefixCls:$e,bordered:se=!0,size:we,disabled:ce,status:L,allowClear:m,showCount:r,classNames:h,rootClassName:y,className:ee}=X,M=x(X,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:V,direction:D}=b.useContext(t.E_),Ie=(0,q.Z)(we),Q=b.useContext(ie.Z),Ue=ce!=null?ce:Q,{status:s,hasFeedback:F,feedbackIcon:A}=b.useContext(I.aM),O=(0,$.F)(s,L),H=b.useRef(null);b.useImperativeHandle(U,()=>{var Y;return{resizableTextArea:(Y=H.current)===null||Y===void 0?void 0:Y.resizableTextArea,focus:be=>{var Re,Ve;(0,le.n)((Ve=(Re=H.current)===null||Re===void 0?void 0:Re.resizableTextArea)===null||Ve===void 0?void 0:Ve.textArea,be)},blur:()=>{var be;return(be=H.current)===null||be===void 0?void 0:be.blur()}}});const k=V("input",$e);let ne;typeof m=="object"&&(m!=null&&m.clearIcon)?ne=m:m&&(ne={clearIcon:b.createElement(u.Z,null)});const[re,ae]=(0,C.ZP)(k);return re(b.createElement(W.default,Object.assign({},M,{disabled:Ue,allowClear:ne,className:v()(ee,y),classes:{affixWrapper:v()(`${k}-textarea-affix-wrapper`,{[`${k}-affix-wrapper-rtl`]:D==="rtl",[`${k}-affix-wrapper-borderless`]:!se,[`${k}-affix-wrapper-sm`]:Ie==="small",[`${k}-affix-wrapper-lg`]:Ie==="large",[`${k}-textarea-show-count`]:r},(0,$.Z)(`${k}-affix-wrapper`,O),ae)},classNames:Object.assign(Object.assign({},h),{textarea:v()({[`${k}-borderless`]:!se,[`${k}-sm`]:Ie==="small",[`${k}-lg`]:Ie==="large"},(0,$.Z)(k,O),ae,h==null?void 0:h.textarea)}),prefixCls:k,suffix:F&&b.createElement("span",{className:`${k}-textarea-suffix`},A),showCount:r,ref:H})))});Me.Z=ue},59412:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});var u=e(59301);function c(v,W){const b=(0,u.useRef)([]),$=()=>{b.current.push(setTimeout(()=>{var t,ie,q,I;!((t=v.current)===null||t===void 0)&&t.input&&((ie=v.current)===null||ie===void 0?void 0:ie.input.getAttribute("type"))==="password"&&(!((q=v.current)===null||q===void 0)&&q.input.hasAttribute("value"))&&((I=v.current)===null||I===void 0||I.input.removeAttribute("value"))}))};return(0,u.useEffect)(()=>(W&&$(),()=>b.current.forEach(t=>{t&&clearTimeout(t)})),[]),$}},92832:function(Dt,Me,e){e.d(Me,{default:function(){return Ie}});var u=e(92310),c=e.n(u),v=e(59301),W=e(36355),b=e(32441),$=e(9937),ie=Q=>{const{getPrefixCls:Ue,direction:s}=(0,v.useContext)(W.E_),{prefixCls:F,className:A}=Q,O=Ue("input-group",F),H=Ue("input"),[k,ne]=(0,$.ZP)(H),re=c()(O,{[`${O}-lg`]:Q.size==="large",[`${O}-sm`]:Q.size==="small",[`${O}-compact`]:Q.compact,[`${O}-rtl`]:s==="rtl"},ne,A),ae=(0,v.useContext)(b.aM),Y=(0,v.useMemo)(()=>Object.assign(Object.assign({},ae),{isFormItemInput:!1}),[ae]);return k(v.createElement("span",{className:re,style:Q.style,onMouseEnter:Q.onMouseEnter,onMouseLeave:Q.onMouseLeave,onFocus:Q.onFocus,onBlur:Q.onBlur},v.createElement(b.aM.Provider,{value:Y},Q.children)))},q=e(9432),I=e(73331),le=e(15277),C=e(2738),x=e(8654),ue=e(59412),X=function(Q,Ue){var s={};for(var F in Q)Object.prototype.hasOwnProperty.call(Q,F)&&Ue.indexOf(F)<0&&(s[F]=Q[F]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,F=Object.getOwnPropertySymbols(Q);AQ?v.createElement(le.Z,null):v.createElement(I.Z,null),$e={click:"onClick",hover:"onMouseOver"};var we=v.forwardRef((Q,Ue)=>{const{visibilityToggle:s=!0}=Q,F=typeof s=="object"&&s.visible!==void 0,[A,O]=(0,v.useState)(()=>F?s.visible:!1),H=(0,v.useRef)(null);v.useEffect(()=>{F&&O(s.visible)},[F,s]);const k=(0,ue.Z)(H),ne=()=>{const{disabled:Ke}=Q;Ke||(A&&k(),O(B=>{var w;const d=!B;return typeof s=="object"&&((w=s.onVisibleChange)===null||w===void 0||w.call(s,d)),d}))},re=Ke=>{const{action:B="click",iconRender:w=U}=Q,d=$e[B]||"",n=w(A),R={[d]:ne,className:`${Ke}-icon`,key:"passwordIcon",onMouseDown:G=>{G.preventDefault()},onMouseUp:G=>{G.preventDefault()}};return v.cloneElement(v.isValidElement(n)?n:v.createElement("span",null,n),R)},{className:ae,prefixCls:Y,inputPrefixCls:be,size:Re}=Q,Ve=X(Q,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Fe}=v.useContext(W.E_),ke=Fe("input",be),Ge=Fe("input-password",Y),at=s&&re(Ge),Xe=c()(Ge,ae,{[`${Ge}-${Re}`]:!!Re}),me=Object.assign(Object.assign({},(0,C.Z)(Ve,["suffix","iconRender","visibilityToggle"])),{type:A?"text":"password",className:Xe,prefixCls:ke,suffix:at});return Re&&(me.size=Re),v.createElement(q.Z,Object.assign({ref:(0,x.sQ)(Ue,H)},me))}),ce=e(47472),L=e(92343),m=e(3113),r=e(19716),h=e(33234),y=function(Q,Ue){var s={};for(var F in Q)Object.prototype.hasOwnProperty.call(Q,F)&&Ue.indexOf(F)<0&&(s[F]=Q[F]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,F=Object.getOwnPropertySymbols(Q);A{const{prefixCls:s,inputPrefixCls:F,className:A,size:O,suffix:H,enterButton:k=!1,addonAfter:ne,loading:re,disabled:ae,onSearch:Y,onChange:be,onCompositionStart:Re,onCompositionEnd:Ve}=Q,Fe=y(Q,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ke,direction:Ge}=v.useContext(W.E_),at=v.useRef(!1),Xe=ke("input-search",s),me=ke("input",F),{compactSize:Ke}=(0,h.ri)(Xe,Ge),B=(0,r.Z)(ve=>{var de;return(de=O!=null?O:Ke)!==null&&de!==void 0?de:ve}),w=v.useRef(null),d=ve=>{ve&&ve.target&&ve.type==="click"&&Y&&Y(ve.target.value,ve,{source:"clear"}),be&&be(ve)},n=ve=>{var de;document.activeElement===((de=w.current)===null||de===void 0?void 0:de.input)&&ve.preventDefault()},R=ve=>{var de,p;Y&&Y((p=(de=w.current)===null||de===void 0?void 0:de.input)===null||p===void 0?void 0:p.value,ve,{source:"input"})},G=ve=>{at.current||re||R(ve)},l=typeof k=="boolean"?v.createElement(ce.Z,null):null,o=`${Xe}-button`;let j;const g=k||{},f=g.type&&g.type.__ANT_BUTTON===!0;f||g.type==="button"?j=(0,L.Tm)(g,Object.assign({onMouseDown:n,onClick:ve=>{var de,p;(p=(de=g==null?void 0:g.props)===null||de===void 0?void 0:de.onClick)===null||p===void 0||p.call(de,ve),R(ve)},key:"enterButton"},f?{className:o,size:B}:{})):j=v.createElement(m.ZP,{className:o,type:k?"primary":void 0,size:B,disabled:ae,key:"enterButton",onMouseDown:n,onClick:R,loading:re,icon:l},k),ne&&(j=[j,(0,L.Tm)(ne,{key:"addonAfter"})]);const K=c()(Xe,{[`${Xe}-rtl`]:Ge==="rtl",[`${Xe}-${B}`]:!!B,[`${Xe}-with-button`]:!!k},A),ge=ve=>{at.current=!0,Re==null||Re(ve)},te=ve=>{at.current=!1,Ve==null||Ve(ve)};return v.createElement(q.Z,Object.assign({ref:(0,x.sQ)(w,Ue),onPressEnter:G},Fe,{size:B,onCompositionStart:ge,onCompositionEnd:te,prefixCls:me,addonAfter:j,suffix:H,onChange:d,className:K,disabled:ae}))}),V=e(1643);const D=q.Z;D.Group=ie,D.Search=M,D.TextArea=V.Z,D.Password=we;var Ie=D},9937:function(Dt,Me,e){e.d(Me,{M1:function(){return t},TM:function(){return L},Xy:function(){return ie},bi:function(){return le},e5:function(){return ce},ik:function(){return C},nz:function(){return b},pU:function(){return $},s7:function(){return x},x0:function(){return I}});var u=e(17313),c=e(74207),v=e(37613),W=e(83116);const b=m=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:m,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),$=m=>({borderColor:m.hoverBorderColor}),t=m=>({borderColor:m.activeBorderColor,boxShadow:m.activeShadow,outline:0}),ie=m=>({color:m.colorTextDisabled,backgroundColor:m.colorBgContainerDisabled,borderColor:m.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},$((0,v.TS)(m,{hoverBorderColor:m.colorBorder})))}),q=m=>{const{paddingBlockLG:r,fontSizeLG:h,lineHeightLG:y,borderRadiusLG:ee,paddingInlineLG:M}=m;return{padding:`${r}px ${M}px`,fontSize:h,lineHeight:y,borderRadius:ee}},I=m=>({padding:`${m.paddingBlockSM}px ${m.paddingInlineSM}px`,borderRadius:m.borderRadiusSM}),le=(m,r)=>{const{componentCls:h,colorError:y,colorWarning:ee,errorActiveShadow:M,warningActiveShadow:V,colorErrorBorderHover:D,colorWarningBorderHover:Ie}=m;return{[`&-status-error:not(${r}-disabled):not(${r}-borderless)${r}`]:{borderColor:y,"&:hover":{borderColor:D},"&:focus, &-focused":Object.assign({},t((0,v.TS)(m,{activeBorderColor:y,activeShadow:M}))),[`${h}-prefix, ${h}-suffix`]:{color:y}},[`&-status-warning:not(${r}-disabled):not(${r}-borderless)${r}`]:{borderColor:ee,"&:hover":{borderColor:Ie},"&:focus, &-focused":Object.assign({},t((0,v.TS)(m,{activeBorderColor:ee,activeShadow:V}))),[`${h}-prefix, ${h}-suffix`]:{color:ee}}}},C=m=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${m.paddingBlock}px ${m.paddingInline}px`,color:m.colorText,fontSize:m.fontSize,lineHeight:m.lineHeight,backgroundColor:m.colorBgContainer,backgroundImage:"none",borderWidth:m.lineWidth,borderStyle:m.lineType,borderColor:m.colorBorder,borderRadius:m.borderRadius,transition:`all ${m.motionDurationMid}`},b(m.colorTextPlaceholder)),{"&:hover":Object.assign({},$(m)),"&:focus, &-focused":Object.assign({},t(m)),"&-disabled, &[disabled]":Object.assign({},ie(m)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:m.controlHeight,lineHeight:m.lineHeight,verticalAlign:"bottom",transition:`all ${m.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},q(m)),"&-sm":Object.assign({},I(m)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),x=m=>{const{componentCls:r,antCls:h}=m;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:m.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:Object.assign({},q(m)),[`&-sm ${r}, &-sm > ${r}-group-addon`]:Object.assign({},I(m)),[`&-lg ${h}-select-single ${h}-select-selector`]:{height:m.controlHeightLG},[`&-sm ${h}-select-single ${h}-select-selector`]:{height:m.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-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 ${m.paddingInline}px`,color:m.colorText,fontWeight:"normal",fontSize:m.fontSize,textAlign:"center",backgroundColor:m.colorFillAlter,border:`${m.lineWidth}px ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadius,transition:`all ${m.motionDurationSlow}`,lineHeight:1,[`${h}-select`]:{margin:`-${m.paddingBlock+1}px -${m.paddingInline}px`,[`&${h}-select-single:not(${h}-select-customize-input)`]:{[`${h}-select-selector`]:{backgroundColor:"inherit",border:`${m.lineWidth}px ${m.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${h}-select-selector`]:{color:m.colorPrimary}}},[`${h}-cascader-picker`]:{margin:`-9px -${m.paddingInline}px`,backgroundColor:"transparent",[`${h}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${r}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${r}-search-with-button &`]:{zIndex:0}}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${h}-select ${h}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${h}-select ${h}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-search &`]:{borderStartStartRadius:m.borderRadius,borderEndStartRadius:m.borderRadius}},[`&:not(:first-child), ${r}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,u.dF)()),{[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:m.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` - & > ${r}-affix-wrapper, - & > ${r}-number-affix-wrapper, - & > ${h}-picker-range - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-m.lineWidth,borderInlineEndWidth:m.lineWidth},[`${r}`]:{float:"none"},[`& > ${h}-select > ${h}-select-selector, - & > ${h}-select-auto-complete ${r}, - & > ${h}-cascader-picker ${r}, - & > ${r}-group-wrapper ${r}`]:{borderInlineEndWidth:m.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${h}-select-focused`]:{zIndex:1},[`& > ${h}-select > ${h}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${h}-select:first-child > ${h}-select-selector, - & > ${h}-select-auto-complete:first-child ${r}, - & > ${h}-cascader-picker:first-child ${r}`]:{borderStartStartRadius:m.borderRadius,borderEndStartRadius:m.borderRadius},[`& > *:last-child, - & > ${h}-select:last-child > ${h}-select-selector, - & > ${h}-cascader-picker:last-child ${r}, - & > ${h}-cascader-picker-focused:last-child ${r}`]:{borderInlineEndWidth:m.lineWidth,borderStartEndRadius:m.borderRadius,borderEndEndRadius:m.borderRadius},[`& > ${h}-select-auto-complete ${r}`]:{verticalAlign:"top"},[`${r}-group-wrapper + ${r}-group-wrapper`]:{marginInlineStart:-m.lineWidth,[`${r}-affix-wrapper`]:{borderRadius:0}},[`${r}-group-wrapper:not(:last-child)`]:{[`&${r}-search > ${r}-group`]:{[`& > ${r}-group-addon > ${r}-search-button`]:{borderRadius:0},[`& > ${r}`]:{borderStartStartRadius:m.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:m.borderRadius}}}})}},ue=m=>{const{componentCls:r,controlHeightSM:h,lineWidth:y}=m,M=(h-y*2-16)/2;return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(m)),C(m)),le(m,r)),{'&[type="color"]':{height:m.controlHeight,[`&${r}-lg`]:{height:m.controlHeightLG},[`&${r}-sm`]:{height:h,paddingTop:M,paddingBottom:M}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},X=m=>{const{componentCls:r}=m;return{[`${r}-clear-icon`]:{margin:0,color:m.colorTextQuaternary,fontSize:m.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"&:hover":{color:m.colorTextTertiary},"&:active":{color:m.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${m.inputAffixPadding}px`}}}},U=m=>{const{componentCls:r,inputAffixPadding:h,colorTextDescription:y,motionDurationSlow:ee,colorIcon:M,colorIconHover:V,iconCls:D}=m;return{[`${r}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},C(m)),{display:"inline-flex",[`&:not(${r}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},$(m)),{zIndex:1,[`${r}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${r}[disabled]`]:{background:"transparent"}},[`> input${r}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${r}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:m.paddingXS}},"&-show-count-suffix":{color:y},"&-show-count-has-suffix":{marginInlineEnd:m.paddingXXS},"&-prefix":{marginInlineEnd:h},"&-suffix":{marginInlineStart:h}}}),X(m)),{[`${D}${r}-password-icon`]:{color:M,cursor:"pointer",transition:`all ${ee}`,"&:hover":{color:V}}}),le(m,`${r}-affix-wrapper`))}},$e=m=>{const{componentCls:r,colorError:h,colorWarning:y,borderRadiusLG:ee,borderRadiusSM:M}=m;return{[`${r}-group`]:Object.assign(Object.assign(Object.assign({},(0,u.Wf)(m)),x(m)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${r}-group-addon`]:{borderRadius:ee,fontSize:m.fontSizeLG}},"&-sm":{[`${r}-group-addon`]:{borderRadius:M}},"&-status-error":{[`${r}-group-addon`]:{color:h,borderColor:h}},"&-status-warning":{[`${r}-group-addon`]:{color:y,borderColor:y}},"&-disabled":{[`${r}-group-addon`]:Object.assign({},ie(m))},[`&:not(${r}-compact-first-item):not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}, ${r}-group-addon`]:{borderRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-first-item`]:{[`${r}, ${r}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${r}-compact-first-item)${r}-compact-last-item`]:{[`${r}, ${r}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},se=m=>{const{componentCls:r,antCls:h}=m,y=`${r}-search`;return{[y]:{[`${r}`]:{"&:hover, &:focus":{borderColor:m.colorPrimaryHover,[`+ ${r}-group-addon ${y}-button:not(${h}-btn-primary)`]:{borderInlineStartColor:m.colorPrimaryHover}}},[`${r}-affix-wrapper`]:{borderRadius:0},[`${r}-lg`]:{lineHeight:m.lineHeightLG-2e-4},[`> ${r}-group`]:{[`> ${r}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${y}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:m.borderRadius,borderEndEndRadius:m.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${y}-button:not(${h}-btn-primary)`]:{color:m.colorTextDescription,"&:hover":{color:m.colorPrimaryHover},"&:active":{color:m.colorPrimaryActive},[`&${h}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${y}-button`]:{height:m.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${y}-button`]:{height:m.controlHeightLG},[`&-small ${y}-button`]:{height:m.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${r}-compact-item`]:{[`&:not(${r}-compact-last-item)`]:{[`${r}-group-addon`]:{[`${r}-search-button`]:{marginInlineEnd:-m.lineWidth,borderRadius:0}}},[`&:not(${r}-compact-first-item)`]:{[`${r},${r}-affix-wrapper`]:{borderRadius:0}},[`> ${r}-group-addon ${r}-search-button, - > ${r}, - ${r}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${r}-affix-wrapper-focused`]:{zIndex:2}}}}},we=m=>{const{componentCls:r,paddingLG:h}=m,y=`${r}-textarea`;return{[y]:{position:"relative","&-show-count":{[`> ${r}`]:{height:"100%"},[`${r}-data-count`]:{position:"absolute",bottom:-m.fontSize*m.lineHeight,insetInlineEnd:0,color:m.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${r}`]:{paddingInlineEnd:h}},[`&-affix-wrapper${y}-has-feedback`]:{[`${r}`]:{paddingInlineEnd:h}},[`&-affix-wrapper${r}-affix-wrapper`]:{padding:0,[`> textarea${r}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${r}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${r}-clear-icon`]:{position:"absolute",insetInlineEnd:m.paddingXS,insetBlockStart:m.paddingXS},[`${y}-suffix`]:{position:"absolute",top:0,insetInlineEnd:m.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ce(m){return(0,v.TS)(m,{inputAffixPadding:m.paddingXXS})}const L=m=>{const{controlHeight:r,fontSize:h,lineHeight:y,lineWidth:ee,controlHeightSM:M,controlHeightLG:V,fontSizeLG:D,lineHeightLG:Ie,paddingSM:Q,controlPaddingHorizontalSM:Ue,controlPaddingHorizontal:s,colorFillAlter:F,colorPrimaryHover:A,controlOutlineWidth:O,controlOutline:H,colorErrorOutline:k,colorWarningOutline:ne}=m;return{paddingBlock:Math.max(Math.round((r-h*y)/2*10)/10-ee,3),paddingBlockSM:Math.max(Math.round((M-h*y)/2*10)/10-ee,0),paddingBlockLG:Math.ceil((V-D*Ie)/2*10)/10-ee,paddingInline:Q-ee,paddingInlineSM:Ue-ee,paddingInlineLG:s-ee,addonBg:F,activeBorderColor:A,hoverBorderColor:A,activeShadow:`0 0 0 ${O}px ${H}`,errorActiveShadow:`0 0 0 ${O}px ${k}`,warningActiveShadow:`0 0 0 ${O}px ${ne}`}};Me.ZP=(0,W.Z)("Input",m=>{const r=(0,v.TS)(m,ce(m));return[ue(r),we(r),U(r),$e(r),se(r),(0,c.c)(r)]},L)},45818:function(Dt,Me,e){e.d(Me,{D:function(){return ce},Z:function(){return r}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},W=v,b=e(7657),$=function(y,ee){return c.createElement(b.Z,(0,u.Z)({},y,{ref:ee,icon:W}))},t=c.forwardRef($),ie=t,q=e(33853),I=e(38819),le=e(92310),C=e.n(le),x=e(2738),X=h=>!isNaN(parseFloat(h))&&isFinite(h),U=e(36355),$e=e(84966),se=function(h,y){var ee={};for(var M in h)Object.prototype.hasOwnProperty.call(h,M)&&y.indexOf(M)<0&&(ee[M]=h[M]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,M=Object.getOwnPropertySymbols(h);V{let h=0;return function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return h+=1,`${y}${h}`}})();var r=c.forwardRef((h,y)=>{const{prefixCls:ee,className:M,trigger:V,children:D,defaultCollapsed:Ie=!1,theme:Q="dark",style:Ue={},collapsible:s=!1,reverseArrow:F=!1,width:A=200,collapsedWidth:O=80,zeroWidthTriggerStyle:H,breakpoint:k,onCollapse:ne,onBreakpoint:re}=h,ae=se(h,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Y}=(0,c.useContext)($e.Gs),[be,Re]=(0,c.useState)("collapsed"in h?h.collapsed:Ie),[Ve,Fe]=(0,c.useState)(!1);(0,c.useEffect)(()=>{"collapsed"in h&&Re(h.collapsed)},[h.collapsed]);const ke=(B,w)=>{"collapsed"in h||Re(B),ne==null||ne(B,w)},Ge=(0,c.useRef)();Ge.current=B=>{Fe(B.matches),re==null||re(B.matches),be!==B.matches&&ke(B.matches,"responsive")},(0,c.useEffect)(()=>{function B(d){return Ge.current(d)}let w;if(typeof window!="undefined"){const{matchMedia:d}=window;if(d&&k&&k in we){w=d(`(max-width: ${we[k]})`);try{w.addEventListener("change",B)}catch(n){w.addListener(B)}B(w)}}return()=>{try{w==null||w.removeEventListener("change",B)}catch(d){w==null||w.removeListener(B)}}},[k]),(0,c.useEffect)(()=>{const B=L("ant-sider-");return Y.addSider(B),()=>Y.removeSider(B)},[]);const at=()=>{ke(!be,"clickTrigger")},{getPrefixCls:Xe}=(0,c.useContext)(U.E_),me=()=>{const B=Xe("layout-sider",ee),w=(0,x.Z)(ae,["collapsed"]),d=be?O:A,n=X(d)?`${d}px`:String(d),R=parseFloat(String(O||0))===0?c.createElement("span",{onClick:at,className:C()(`${B}-zero-width-trigger`,`${B}-zero-width-trigger-${F?"right":"left"}`),style:H},V||c.createElement(ie,null)):null,o={expanded:F?c.createElement(I.Z,null):c.createElement(q.Z,null),collapsed:F?c.createElement(q.Z,null):c.createElement(I.Z,null)}[be?"collapsed":"expanded"],j=V!==null?R||c.createElement("div",{className:`${B}-trigger`,onClick:at,style:{width:n}},V||o):null,g=Object.assign(Object.assign({},Ue),{flex:`0 0 ${n}`,maxWidth:n,minWidth:n,width:n}),f=C()(B,`${B}-${Q}`,{[`${B}-collapsed`]:!!be,[`${B}-has-trigger`]:s&&V!==null&&!R,[`${B}-below`]:!!Ve,[`${B}-zero-width`]:parseFloat(n)===0},M);return c.createElement("aside",Object.assign({className:f},w,{style:g,ref:y}),c.createElement("div",{className:`${B}-children`},D),s||Ve&&R?j:null)},Ke=c.useMemo(()=>({siderCollapsed:be}),[be]);return c.createElement(ce.Provider,{value:Ke},me())})},84966:function(Dt,Me,e){e.d(Me,{VY:function(){return ce},$_:function(){return we},h4:function(){return se},Gs:function(){return x},ZP:function(){return L}});var u=e(94480),c=e(92310),v=e.n(c),W=e(2738),b=e(59301),$=e(36355),t=e(83116),q=m=>{const{componentCls:r,bodyBg:h,lightSiderBg:y,lightTriggerBg:ee,lightTriggerColor:M}=m;return{[`${r}-sider-light`]:{background:y,[`${r}-sider-trigger`]:{color:M,background:ee},[`${r}-sider-zero-width-trigger`]:{color:M,background:ee,border:`1px solid ${h}`,borderInlineStart:0}}}};const I=m=>{const{antCls:r,componentCls:h,colorText:y,triggerColor:ee,footerBg:M,triggerBg:V,headerHeight:D,headerPadding:Ie,headerColor:Q,footerPadding:Ue,triggerHeight:s,zeroTriggerHeight:F,zeroTriggerWidth:A,motionDurationMid:O,motionDurationSlow:H,fontSize:k,borderRadius:ne,bodyBg:re,headerBg:ae,siderBg:Y}=m;return{[h]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:re,"&, *":{boxSizing:"border-box"},[`&${h}-has-sider`]:{flexDirection:"row",[`> ${h}, > ${h}-content`]:{width:0}},[`${h}-header, &${h}-footer`]:{flex:"0 0 auto"},[`${h}-sider`]:{position:"relative",minWidth:0,background:Y,transition:`all ${O}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${r}-menu${r}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:s},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:s,color:ee,lineHeight:`${s}px`,textAlign:"center",background:V,cursor:"pointer",transition:`all ${O}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:D,insetInlineEnd:-A,zIndex:1,width:A,height:F,color:ee,fontSize:m.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Y,borderStartStartRadius:0,borderStartEndRadius:ne,borderEndEndRadius:ne,borderEndStartRadius:0,cursor:"pointer",transition:`background ${H} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${H}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-A,borderStartStartRadius:ne,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ne}}}}},q(m)),{"&-rtl":{direction:"rtl"}}),[`${h}-header`]:{height:D,padding:Ie,color:Q,lineHeight:`${D}px`,background:ae,[`${r}-menu`]:{lineHeight:"inherit"}},[`${h}-footer`]:{padding:Ue,color:y,fontSize:k,background:M},[`${h}-content`]:{flex:"auto",minHeight:0}}};var le=(0,t.Z)("Layout",m=>[I(m)],m=>{const{colorBgLayout:r,controlHeight:h,controlHeightLG:y,colorText:ee,controlHeightSM:M,marginXXS:V,colorTextLightSolid:D,colorBgContainer:Ie}=m,Q=y*1.25;return{colorBgHeader:"#001529",colorBgBody:r,colorBgTrigger:"#002140",bodyBg:r,headerBg:"#001529",headerHeight:h*2,headerPadding:`0 ${Q}px`,headerColor:ee,footerPadding:`${M}px ${Q}px`,footerBg:r,siderBg:"#001529",triggerHeight:y+V*2,triggerBg:"#002140",triggerColor:D,zeroTriggerWidth:y,zeroTriggerHeight:y,lightSiderBg:Ie,lightTriggerBg:Ie,lightTriggerColor:ee}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),C=function(m,r){var h={};for(var y in m)Object.prototype.hasOwnProperty.call(m,y)&&r.indexOf(y)<0&&(h[y]=m[y]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,y=Object.getOwnPropertySymbols(m);eenull,removeSider:()=>null}});function ue(m){let{suffixCls:r,tagName:h,displayName:y}=m;return ee=>b.forwardRef((V,D)=>b.createElement(ee,Object.assign({ref:D,suffixCls:r,tagName:h},V)))}const X=b.forwardRef((m,r)=>{const{prefixCls:h,suffixCls:y,className:ee,tagName:M}=m,V=C(m,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:D}=b.useContext($.E_),Ie=D("layout",h),[Q,Ue]=le(Ie),s=y?`${Ie}-${y}`:Ie;return Q(b.createElement(M,Object.assign({className:v()(h||s,ee,Ue),ref:r},V)))}),U=b.forwardRef((m,r)=>{const{direction:h}=b.useContext($.E_),[y,ee]=b.useState([]),{prefixCls:M,className:V,rootClassName:D,children:Ie,hasSider:Q,tagName:Ue,style:s}=m,F=C(m,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),A=(0,W.Z)(F,["suffixCls"]),{getPrefixCls:O,layout:H}=b.useContext($.E_),k=O("layout",M),[ne,re]=le(k),ae=v()(k,{[`${k}-has-sider`]:typeof Q=="boolean"?Q:y.length>0,[`${k}-rtl`]:h==="rtl"},H==null?void 0:H.className,V,D,re),Y=b.useMemo(()=>({siderHook:{addSider:be=>{ee(Re=>[].concat((0,u.Z)(Re),[be]))},removeSider:be=>{ee(Re=>Re.filter(Ve=>Ve!==be))}}}),[]);return ne(b.createElement(x.Provider,{value:Y},b.createElement(Ue,Object.assign({ref:r,className:ae,style:Object.assign(Object.assign({},H==null?void 0:H.style),s)},A),Ie)))}),$e=ue({tagName:"div",displayName:"Layout"})(U),se=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(X),we=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(X),ce=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(X);var L=$e},40875:function(Dt,Me,e){e.d(Me,{J:function(){return $}});var u=e(59301),c=e(33234),v=e(70425),W=function(t,ie){var q={};for(var I in t)Object.prototype.hasOwnProperty.call(t,I)&&ie.indexOf(I)<0&&(q[I]=t[I]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,I=Object.getOwnPropertySymbols(t);le{const{children:q}=t,I=W(t,["children"]),le=u.useContext(b),C=u.useMemo(()=>Object.assign(Object.assign({},le),I),[le,I.prefixCls,I.mode,I.selectable]);return u.createElement(b.Provider,{value:C},u.createElement(c.BR,null,(0,v.supportNodeRef)(q)?u.cloneElement(q,{ref:ie}):q))});Me.Z=b},20834:function(Dt,Me,e){e.d(Me,{default:function(){return Ke}});var u=e(15285),c=e(59301),v=e(45818),W=e(92310),b=e.n(W),$=e(36355),t=function(B,w){var d={};for(var n in B)Object.prototype.hasOwnProperty.call(B,n)&&w.indexOf(n)<0&&(d[n]=B[n]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,n=Object.getOwnPropertySymbols(B);R{const{prefixCls:w,className:d,dashed:n}=B,R=t(B,["prefixCls","className","dashed"]),{getPrefixCls:G}=c.useContext($.E_),l=G("menu",w),o=b()({[`${l}-item-divider-dashed`]:!!n},d);return c.createElement(u.iz,Object.assign({className:o},R))},I=e(11592),le=e(2738),C=e(6848),x=e(92343),X=(0,c.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),$e=B=>{var w;const{className:d,children:n,icon:R,title:G,danger:l}=B,{prefixCls:o,firstLevel:j,direction:g,disableMenuItemTitleTooltip:f,inlineCollapsed:K}=c.useContext(X),ge=oe=>{const Ee=c.createElement("span",{className:`${o}-title-content`},n);return(!R||(0,x.l$)(n)&&n.type==="span")&&n&&oe&&j&&typeof n=="string"?c.createElement("div",{className:`${o}-inline-collapsed-noicon`},n.charAt(0)):Ee},{siderCollapsed:te}=c.useContext(v.D);let ve=G;typeof G=="undefined"?ve=j?n:"":G===!1&&(ve="");const de={title:ve};!te&&!K&&(de.title=null,de.open=!1);const p=(0,I.Z)(n).length;let E=c.createElement(u.ck,Object.assign({},(0,le.Z)(B,["title","icon","danger"]),{className:b()({[`${o}-item-danger`]:l,[`${o}-item-only-child`]:(R?p+1:p)===1},d),title:typeof G=="string"?G:void 0}),(0,x.Tm)(R,{className:b()((0,x.l$)(R)?(w=R.props)===null||w===void 0?void 0:w.className:"",`${o}-item-icon`)}),ge(K));return f||(E=c.createElement(C.Z,Object.assign({},de,{placement:g==="rtl"?"left":"right",overlayClassName:`${o}-inline-collapsed-tooltip`}),E)),E},we=B=>{var w;const{popupClassName:d,icon:n,title:R,theme:G}=B,l=c.useContext(X),{prefixCls:o,inlineCollapsed:j,theme:g}=l,f=(0,u.Xl)();let K;if(!n)K=j&&!f.length&&R&&typeof R=="string"?c.createElement("div",{className:`${o}-inline-collapsed-noicon`},R.charAt(0)):c.createElement("span",{className:`${o}-title-content`},R);else{const te=(0,x.l$)(R)&&R.type==="span";K=c.createElement(c.Fragment,null,(0,x.Tm)(n,{className:b()((0,x.l$)(n)?(w=n.props)===null||w===void 0?void 0:w.className:"",`${o}-item-icon`)}),te?R:c.createElement("span",{className:`${o}-title-content`},R))}const ge=c.useMemo(()=>Object.assign(Object.assign({},l),{firstLevel:!1}),[l]);return c.createElement(X.Provider,{value:ge},c.createElement(u.Wd,Object.assign({},(0,le.Z)(B,["icon"]),{title:K,popupClassName:b()(o,d,`${o}-${G||g}`)})))},ce=e(18785),L=e(70425),m=e(62892),r=e(40875),h=function(B,w){var d={};for(var n in B)Object.prototype.hasOwnProperty.call(B,n)&&w.indexOf(n)<0&&(d[n]=B[n]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,n=Object.getOwnPropertySymbols(B);R{if(w&&typeof w=="object"){const n=w,{label:R,children:G,key:l,type:o}=n,j=h(n,["label","children","key","type"]),g=l!=null?l:`tmp-${d}`;return G||o==="group"?o==="group"?c.createElement(u.BW,Object.assign({key:g},j,{title:R}),y(G)):c.createElement(we,Object.assign({key:g},j,{title:R}),y(G)):o==="divider"?c.createElement(q,Object.assign({key:g},j)):c.createElement($e,Object.assign({key:g},j),R)}return null}).filter(w=>w)}function ee(B){return c.useMemo(()=>B&&y(B),[B])}var M=e(64993),V=e(17313),D=e(8378),Ie=e(13826),Q=e(29878),Ue=e(83116),s=e(37613),A=B=>{const{componentCls:w,motionDurationSlow:d,horizontalLineHeight:n,colorSplit:R,lineWidth:G,lineType:l,itemPaddingInline:o}=B;return{[`${w}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${G}px ${l} ${R}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${w}-item, ${w}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:o},[`> ${w}-item:hover, - > ${w}-item-active, - > ${w}-submenu ${w}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${w}-item, ${w}-submenu-title`]:{transition:[`border-color ${d}`,`background ${d}`].join(",")},[`${w}-submenu-arrow`]:{display:"none"}}}},H=B=>{let{componentCls:w,menuArrowOffset:d}=B;return{[`${w}-rtl`]:{direction:"rtl"},[`${w}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${w}-rtl${w}-vertical, - ${w}-submenu-rtl ${w}-vertical`]:{[`${w}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${d})`},"&::after":{transform:`rotate(45deg) translateY(${d})`}}}}};const k=B=>Object.assign({},(0,V.oN)(B));var re=(B,w)=>{const{componentCls:d,itemColor:n,itemSelectedColor:R,groupTitleColor:G,itemBg:l,subMenuItemBg:o,itemSelectedBg:j,activeBarHeight:g,activeBarWidth:f,activeBarBorderWidth:K,motionDurationSlow:ge,motionEaseInOut:te,motionEaseOut:ve,itemPaddingInline:de,motionDurationMid:p,itemHoverColor:E,lineType:oe,colorSplit:Ee,itemDisabledColor:Se,dangerItemColor:Le,dangerItemHoverColor:Qe,dangerItemSelectedColor:Je,dangerItemActiveBg:_e,dangerItemSelectedBg:ut,itemHoverBg:mt,itemActiveBg:It,menuSubMenuBg:St,horizontalItemSelectedColor:Tt,horizontalItemSelectedBg:Yt,horizontalItemBorderRadius:gt,horizontalItemHoverBg:Ut,popupBg:Nn}=B;return{[`${d}-${w}, ${d}-${w} > ${d}`]:{color:n,background:l,[`&${d}-root:focus-visible`]:Object.assign({},k(B)),[`${d}-item-group-title`]:{color:G},[`${d}-submenu-selected`]:{[`> ${d}-submenu-title`]:{color:R}},[`${d}-item-disabled, ${d}-submenu-disabled`]:{color:`${Se} !important`},[`${d}-item:not(${d}-item-selected):not(${d}-submenu-selected)`]:{[`&:hover, > ${d}-submenu-title:hover`]:{color:E}},[`&:not(${d}-horizontal)`]:{[`${d}-item:not(${d}-item-selected)`]:{"&:hover":{backgroundColor:mt},"&:active":{backgroundColor:It}},[`${d}-submenu-title`]:{"&:hover":{backgroundColor:mt},"&:active":{backgroundColor:It}}},[`${d}-item-danger`]:{color:Le,[`&${d}-item:hover`]:{[`&:not(${d}-item-selected):not(${d}-submenu-selected)`]:{color:Qe}},[`&${d}-item:active`]:{background:_e}},[`${d}-item a`]:{"&, &:hover":{color:"inherit"}},[`${d}-item-selected`]:{color:R,[`&${d}-item-danger`]:{color:Je},"a, a:hover":{color:"inherit"}},[`& ${d}-item-selected`]:{backgroundColor:j,[`&${d}-item-danger`]:{backgroundColor:ut}},[`${d}-item, ${d}-submenu-title`]:{[`&:not(${d}-item-disabled):focus-visible`]:Object.assign({},k(B))},[`&${d}-submenu > ${d}`]:{backgroundColor:St},[`&${d}-popup > ${d}`]:{backgroundColor:Nn},[`&${d}-horizontal`]:Object.assign(Object.assign({},w==="dark"?{borderBottom:0}:{}),{[`> ${d}-item, > ${d}-submenu`]:{top:K,marginTop:-K,marginBottom:0,borderRadius:gt,"&::after":{position:"absolute",insetInline:de,bottom:0,borderBottom:`${g}px solid transparent`,transition:`border-color ${ge} ${te}`,content:'""'},"&:hover, &-active, &-open":{background:Ut,"&::after":{borderBottomWidth:g,borderBottomColor:Tt}},"&-selected":{color:Tt,backgroundColor:Yt,"&:hover":{backgroundColor:Yt},"&::after":{borderBottomWidth:g,borderBottomColor:Tt}}}}),[`&${d}-root`]:{[`&${d}-inline, &${d}-vertical`]:{borderInlineEnd:`${K}px ${oe} ${Ee}`}},[`&${d}-inline`]:{[`${d}-sub${d}-inline`]:{background:o},[`${d}-item, ${d}-submenu-title`]:K&&f?{width:`calc(100% + ${K}px)`}:{},[`${d}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${f}px solid ${R}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${p} ${ve}`,`opacity ${p} ${ve}`].join(","),content:'""'},[`&${d}-item-danger`]:{"&::after":{borderInlineEndColor:Je}}},[`${d}-selected, ${d}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${p} ${te}`,`opacity ${p} ${te}`].join(",")}}}}}};const ae=B=>{const{componentCls:w,itemHeight:d,itemMarginInline:n,padding:R,menuArrowSize:G,marginXS:l,itemMarginBlock:o}=B,j=R+G+l;return{[`${w}-item`]:{position:"relative",overflow:"hidden"},[`${w}-item, ${w}-submenu-title`]:{height:d,lineHeight:`${d}px`,paddingInline:R,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:o,width:`calc(100% - ${n*2}px)`},[`> ${w}-item, - > ${w}-submenu > ${w}-submenu-title`]:{height:d,lineHeight:`${d}px`},[`${w}-item-group-list ${w}-submenu-title, - ${w}-submenu-title`]:{paddingInlineEnd:j}}};var be=B=>{const{componentCls:w,iconCls:d,itemHeight:n,colorTextLightSolid:R,dropdownWidth:G,controlHeightLG:l,motionDurationMid:o,motionEaseOut:j,paddingXL:g,itemMarginInline:f,fontSizeLG:K,motionDurationSlow:ge,paddingXS:te,boxShadowSecondary:ve,collapsedWidth:de,collapsedIconSize:p}=B,E={height:n,lineHeight:`${n}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[w]:{"&-inline, &-vertical":Object.assign({[`&${w}-root`]:{boxShadow:"none"}},ae(B))},[`${w}-submenu-popup`]:{[`${w}-vertical`]:Object.assign(Object.assign({},ae(B)),{boxShadow:ve})}},{[`${w}-submenu-popup ${w}-vertical${w}-sub`]:{minWidth:G,maxHeight:`calc(100vh - ${l*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${w}-inline`]:{width:"100%",[`&${w}-root`]:{[`${w}-item, ${w}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ge}`,`background ${ge}`,`padding ${o} ${j}`].join(","),[`> ${w}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${w}-sub${w}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${w}-submenu > ${w}-submenu-title`]:E,[`& ${w}-item-group-title`]:{paddingInlineStart:g}},[`${w}-item`]:E}},{[`${w}-inline-collapsed`]:{width:de,[`&${w}-root`]:{[`${w}-item, ${w}-submenu ${w}-submenu-title`]:{[`> ${w}-inline-collapsed-noicon`]:{fontSize:K,textAlign:"center"}}},[`> ${w}-item, - > ${w}-item-group > ${w}-item-group-list > ${w}-item, - > ${w}-item-group > ${w}-item-group-list > ${w}-submenu > ${w}-submenu-title, - > ${w}-submenu > ${w}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${K/2}px - ${f}px)`,textOverflow:"clip",[` - ${w}-submenu-arrow, - ${w}-submenu-expand-icon - `]:{opacity:0},[`${w}-item-icon, ${d}`]:{margin:0,fontSize:p,lineHeight:`${n}px`,"+ span":{display:"inline-block",opacity:0}}},[`${w}-item-icon, ${d}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${w}-item-icon, ${d}`]:{display:"none"},"a, a:hover":{color:R}},[`${w}-item-group-title`]:Object.assign(Object.assign({},V.vS),{paddingInline:te})}}]};const Re=B=>{const{componentCls:w,motionDurationSlow:d,motionDurationMid:n,motionEaseInOut:R,motionEaseOut:G,iconCls:l,iconSize:o,iconMarginInlineEnd:j}=B;return{[`${w}-item, ${w}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${d}`,`background ${d}`,`padding ${d} ${R}`].join(","),[`${w}-item-icon, ${l}`]:{minWidth:o,fontSize:o,transition:[`font-size ${n} ${G}`,`margin ${d} ${R}`,`color ${d}`].join(","),"+ span":{marginInlineStart:j,opacity:1,transition:[`opacity ${d} ${R}`,`margin ${d}`,`color ${d}`].join(",")}},[`${w}-item-icon`]:Object.assign({},(0,V.Ro)()),[`&${w}-item-only-child`]:{[`> ${l}, > ${w}-item-icon`]:{marginInlineEnd:0}}},[`${w}-item-disabled, ${w}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${w}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ve=B=>{const{componentCls:w,motionDurationSlow:d,motionEaseInOut:n,borderRadius:R,menuArrowSize:G,menuArrowOffset:l}=B;return{[`${w}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:B.margin,width:G,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${d} ${n}, opacity ${d}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:G*.6,height:G*.15,backgroundColor:"currentcolor",borderRadius:R,transition:[`background ${d} ${n}`,`transform ${d} ${n}`,`top ${d} ${n}`,`color ${d} ${n}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${l})`},"&::after":{transform:`rotate(-45deg) translateY(${l})`}}}}},Fe=B=>{const{antCls:w,componentCls:d,fontSize:n,motionDurationSlow:R,motionDurationMid:G,motionEaseInOut:l,paddingXS:o,padding:j,colorSplit:g,lineWidth:f,zIndexPopup:K,borderRadiusLG:ge,subMenuItemBorderRadius:te,menuArrowSize:ve,menuArrowOffset:de,lineType:p,menuPanelMaskInset:E,groupTitleLineHeight:oe,groupTitleFontSize:Ee}=B;return[{"":{[`${d}`]:Object.assign(Object.assign({},(0,V.dF)()),{"&-hidden":{display:"none"}})},[`${d}-submenu-hidden`]:{display:"none"}},{[d]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,V.Wf)(B)),(0,V.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${R} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${d}-item`]:{flex:"none"}},[`${d}-item, ${d}-submenu, ${d}-submenu-title`]:{borderRadius:B.itemBorderRadius},[`${d}-item-group-title`]:{padding:`${o}px ${j}px`,fontSize:Ee,lineHeight:oe,transition:`all ${R}`},[`&-horizontal ${d}-submenu`]:{transition:[`border-color ${R} ${l}`,`background ${R} ${l}`].join(",")},[`${d}-submenu, ${d}-submenu-inline`]:{transition:[`border-color ${R} ${l}`,`background ${R} ${l}`,`padding ${G} ${l}`].join(",")},[`${d}-submenu ${d}-sub`]:{cursor:"initial",transition:[`background ${R} ${l}`,`padding ${R} ${l}`].join(",")},[`${d}-title-content`]:{transition:`color ${R}`},[`${d}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${d}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:g,borderStyle:p,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Re(B)),{[`${d}-item-group`]:{[`${d}-item-group-list`]:{margin:0,padding:0,[`${d}-item, ${d}-submenu-title`]:{paddingInline:`${n*2}px ${j}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:K,borderRadius:ge,boxShadow:"none",transformOrigin:"0 0",[`&${d}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${E}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:E},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:B.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:B.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:B.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:B.paddingXS},[`> ${d}`]:Object.assign(Object.assign(Object.assign({borderRadius:ge},Re(B)),Ve(B)),{[`${d}-item, ${d}-submenu > ${d}-submenu-title`]:{borderRadius:te},[`${d}-submenu-title::after`]:{transition:`transform ${R} ${l}`}})}}),Ve(B)),{[`&-inline-collapsed ${d}-submenu-arrow, - &-inline ${d}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${de})`},"&::after":{transform:`rotate(45deg) translateX(-${de})`}},[`${d}-submenu-open${d}-submenu-inline > ${d}-submenu-title > ${d}-submenu-arrow`]:{transform:`translateY(-${ve*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${de})`},"&::before":{transform:`rotate(45deg) translateX(${de})`}}})},{[`${w}-layout-header`]:{[d]:{lineHeight:"inherit"}}}]};var ke=(B,w)=>(0,Ue.Z)("Menu",n=>{if(w===!1)return[];const{colorBgElevated:R,colorPrimary:G,colorTextLightSolid:l,controlHeightLG:o,fontSize:j,darkItemColor:g,darkDangerItemColor:f,darkItemBg:K,darkSubMenuItemBg:ge,darkItemSelectedColor:te,darkItemSelectedBg:ve,darkDangerItemSelectedBg:de,darkItemHoverBg:p,darkGroupTitleColor:E,darkItemHoverColor:oe,darkItemDisabledColor:Ee,darkDangerItemHoverColor:Se,darkDangerItemSelectedColor:Le,darkDangerItemActiveBg:Qe}=n,Je=j/7*5,_e=(0,s.TS)(n,{menuArrowSize:Je,menuHorizontalHeight:o*1.15,menuArrowOffset:`${Je*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:R}),ut=(0,s.TS)(_e,{itemColor:g,itemHoverColor:oe,groupTitleColor:E,itemSelectedColor:te,itemBg:K,popupBg:K,subMenuItemBg:ge,itemActiveBg:"transparent",itemSelectedBg:ve,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:p,itemDisabledColor:Ee,dangerItemColor:f,dangerItemHoverColor:Se,dangerItemSelectedColor:Le,dangerItemActiveBg:Qe,dangerItemSelectedBg:de,menuSubMenuBg:ge,horizontalItemSelectedColor:l,horizontalItemSelectedBg:G});return[Fe(_e),A(_e),be(_e),re(_e,"light"),re(ut,"dark"),H(_e),(0,D.Z)(_e),(0,Ie.oN)(_e,"slide-up"),(0,Ie.oN)(_e,"slide-down"),(0,Q._y)(_e,"zoom-big")]},n=>{const{colorPrimary:R,colorError:G,colorTextDisabled:l,colorErrorBg:o,colorText:j,colorTextDescription:g,colorBgContainer:f,colorFillAlter:K,colorFillContent:ge,lineWidth:te,lineWidthBold:ve,controlItemBgActive:de,colorBgTextHover:p,controlHeightLG:E,lineHeight:oe,colorBgElevated:Ee,marginXXS:Se,padding:Le,fontSize:Qe,controlHeightSM:Je,fontSizeLG:_e,colorTextLightSolid:ut,colorErrorHover:mt}=n,It=new M.C(ut).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:n.zIndexPopupBase+50,radiusItem:n.borderRadiusLG,itemBorderRadius:n.borderRadiusLG,radiusSubMenuItem:n.borderRadiusSM,subMenuItemBorderRadius:n.borderRadiusSM,colorItemText:j,itemColor:j,colorItemTextHover:j,itemHoverColor:j,colorItemTextHoverHorizontal:R,horizontalItemHoverColor:R,colorGroupTitle:g,groupTitleColor:g,colorItemTextSelected:R,itemSelectedColor:R,colorItemTextSelectedHorizontal:R,horizontalItemSelectedColor:R,colorItemBg:f,itemBg:f,colorItemBgHover:p,itemHoverBg:p,colorItemBgActive:ge,itemActiveBg:de,colorSubItemBg:K,subMenuItemBg:K,colorItemBgSelected:de,itemSelectedBg:de,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:ve,activeBarHeight:ve,colorActiveBarBorderSize:te,activeBarBorderWidth:te,colorItemTextDisabled:l,itemDisabledColor:l,colorDangerItemText:G,dangerItemColor:G,colorDangerItemTextHover:G,dangerItemHoverColor:G,colorDangerItemTextSelected:G,dangerItemSelectedColor:G,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:n.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:E,groupTitleLineHeight:oe,collapsedWidth:E*2,popupBg:Ee,itemMarginBlock:Se,itemPaddingInline:Le,horizontalLineHeight:`${E*1.15}px`,iconSize:Qe,iconMarginInlineEnd:Je-Qe,collapsedIconSize:_e,groupTitleFontSize:Qe,darkItemDisabledColor:new M.C(ut).setAlpha(.25).toRgbString(),darkItemColor:It,darkDangerItemColor:G,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ut,darkItemSelectedBg:R,darkDangerItemSelectedBg:G,darkItemHoverBg:"transparent",darkGroupTitleColor:It,darkItemHoverColor:ut,darkDangerItemHoverColor:mt,darkDangerItemSelectedColor:ut,darkDangerItemActiveBg:G}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(B),Ge=function(B,w){var d={};for(var n in B)Object.prototype.hasOwnProperty.call(B,n)&&w.indexOf(n)<0&&(d[n]=B[n]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,n=Object.getOwnPropertySymbols(B);R{var d,n;const R=c.useContext(r.Z),G=R||{},{getPrefixCls:l,getPopupContainer:o,direction:j,menu:g}=c.useContext($.E_),f=l(),{prefixCls:K,className:ge,style:te,theme:ve="light",expandIcon:de,_internalDisableMenuItemTitleTooltip:p,inlineCollapsed:E,siderCollapsed:oe,items:Ee,children:Se,rootClassName:Le,mode:Qe,selectable:Je,onClick:_e,overflowedIndicatorPopupClassName:ut}=B,mt=Ge(B,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),It=(0,le.Z)(mt,["collapsedWidth"]),St=ee(Ee)||Se;(d=G.validator)===null||d===void 0||d.call(G,{mode:Qe});const Tt=(0,L.useEvent)(function(){var $n;_e==null||_e.apply(void 0,arguments),($n=G.onClick)===null||$n===void 0||$n.call(G)}),Yt=G.mode||Qe,gt=Je!=null?Je:G.selectable,Ut=c.useMemo(()=>oe!==void 0?oe:E,[E,oe]),Nn={horizontal:{motionName:`${f}-slide-up`},inline:(0,m.Z)(f),other:{motionName:`${f}-zoom-big`}},vt=l("menu",K||G.prefixCls),[yt,mn]=ke(vt,!R),un=b()(`${vt}-${ve}`,g==null?void 0:g.className,ge);let Tn;if(typeof de=="function")Tn=de;else if(de===null||de===!1)Tn=null;else if(G.expandIcon===null||G.expandIcon===!1)Tn=null;else{const $n=de!=null?de:G.expandIcon;Tn=(0,x.Tm)($n,{className:b()(`${vt}-submenu-expand-icon`,(0,x.l$)($n)?(n=$n.props)===null||n===void 0?void 0:n.className:"")})}const bn=c.useMemo(()=>({prefixCls:vt,inlineCollapsed:Ut||!1,direction:j,firstLevel:!0,theme:ve,mode:Yt,disableMenuItemTitleTooltip:p}),[vt,Ut,j,p,ve]);return yt(c.createElement(r.Z.Provider,{value:null},c.createElement(X.Provider,{value:bn},c.createElement(u.ZP,Object.assign({getPopupContainer:o,overflowedIndicator:c.createElement(ce.Z,null),overflowedIndicatorPopupClassName:b()(vt,`${vt}-${ve}`,ut),mode:Yt,selectable:gt,onClick:Tt},It,{inlineCollapsed:Ut,style:Object.assign(Object.assign({},g==null?void 0:g.style),te),className:un,prefixCls:vt,direction:j,defaultMotions:Nn,expandIcon:Tn,ref:w,rootClassName:b()(Le,mn)}),St))))});const me=(0,c.forwardRef)((B,w)=>{const d=(0,c.useRef)(null),n=c.useContext(v.D);return(0,c.useImperativeHandle)(w,()=>({menu:d.current,focus:R=>{var G;(G=d.current)===null||G===void 0||G.focus(R)}})),c.createElement(Xe,Object.assign({ref:d},B,n))});me.Item=$e,me.SubMenu=we,me.Divider=q,me.ItemGroup=u.BW;var Ke=me},58421:function(Dt,Me,e){e.d(Me,{Z:function(){return G}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},W=v,b=e(7657),$=function(o,j){return c.createElement(b.Z,(0,u.Z)({},o,{ref:j,icon:W}))},t=c.forwardRef($),ie=t,q=e(49198),I=e(33853),le=e(38819),C=e(92310),x=e.n(C),ue=e(20068),X=e(33885),U=e(67732),$e=e(83652),se=e(42403),we=e(158),ce=e(26112),L={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},m=L,r=e(91735),h=function(l){(0,se.Z)(j,l);var o=(0,we.Z)(j);function j(){var g;(0,U.Z)(this,j);for(var f=arguments.length,K=new Array(f),ge=0;ge=0||te.relatedTarget.className.indexOf("".concat(E,"-item"))>=0))&&p(g.getValidValue()))},g.go=function(te){var ve=g.state.goInputText;ve!==""&&(te.keyCode===m.ENTER||te.type==="click")&&(g.setState({goInputText:""}),g.props.quickGo(g.getValidValue()))},g}return(0,$e.Z)(j,[{key:"getPageSizeOptions",value:function(){var f=this.props,K=f.pageSize,ge=f.pageSizeOptions;return ge.some(function(te){return te.toString()===K.toString()})?ge:ge.concat([K.toString()]).sort(function(te,ve){var de=Number.isNaN(Number(te))?0:Number(te),p=Number.isNaN(Number(ve))?0:Number(ve);return de-p})}},{key:"render",value:function(){var f=this,K=this.props,ge=K.pageSize,te=K.locale,ve=K.rootPrefixCls,de=K.changeSize,p=K.quickGo,E=K.goButton,oe=K.selectComponentClass,Ee=K.buildOptionText,Se=K.selectPrefixCls,Le=K.disabled,Qe=this.state.goInputText,Je="".concat(ve,"-options"),_e=oe,ut=null,mt=null,It=null;if(!de&&!p)return null;var St=this.getPageSizeOptions();if(de&&_e){var Tt=St.map(function(Yt,gt){return c.createElement(_e.Option,{key:gt,value:Yt.toString()},(Ee||f.buildOptionText)(Yt))});ut=c.createElement(_e,{disabled:Le,prefixCls:Se,showSearch:!1,className:"".concat(Je,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ge||St[0]).toString(),onChange:this.changeSize,getPopupContainer:function(gt){return gt.parentNode},"aria-label":te.page_size,defaultOpen:!1},Tt)}return p&&(E&&(It=typeof E=="boolean"?c.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Le,className:"".concat(Je,"-quick-jumper-button")},te.jump_to_confirm):c.createElement("span",{onClick:this.go,onKeyUp:this.go},E)),mt=c.createElement("div",{className:"".concat(Je,"-quick-jumper")},te.jump_to,c.createElement("input",{disabled:Le,type:"text",value:Qe,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":te.page}),te.page,It)),c.createElement("li",{className:"".concat(Je)},ut,mt)}}]),j}(c.Component);h.defaultProps={pageSizeOptions:["10","20","50","100"]};var y=h,ee=function(o){var j,g=o.rootPrefixCls,f=o.page,K=o.active,ge=o.className,te=o.showTitle,ve=o.onClick,de=o.onKeyPress,p=o.itemRender,E="".concat(g,"-item"),oe=x()(E,"".concat(E,"-").concat(f),(j={},(0,ue.Z)(j,"".concat(E,"-active"),K),(0,ue.Z)(j,"".concat(E,"-disabled"),!f),(0,ue.Z)(j,o.className,ge),j)),Ee=function(){ve(f)},Se=function(Je){de(Je,ve,f)},Le=p(f,"page",c.createElement("a",{rel:"nofollow"},f));return Le?c.createElement("li",{title:te?f.toString():null,className:oe,onClick:Ee,onKeyPress:Se,tabIndex:0},Le):null},M=ee;function V(){}function D(l){var o=Number(l);return typeof o=="number"&&!Number.isNaN(o)&&isFinite(o)&&Math.floor(o)===o}var Ie=function(o,j,g){return g};function Q(l,o,j){var g=typeof l=="undefined"?o.pageSize:l;return Math.floor((j.total-1)/g)+1}var Ue=function(l){(0,se.Z)(j,l);var o=(0,we.Z)(j);function j(g){var f;(0,U.Z)(this,j),f=o.call(this,g),f.paginationNode=c.createRef(),f.getJumpPrevPage=function(){return Math.max(1,f.state.current-(f.props.showLessItems?3:5))},f.getJumpNextPage=function(){return Math.min(Q(void 0,f.state,f.props),f.state.current+(f.props.showLessItems?3:5))},f.getItemIcon=function(de,p){var E=f.props.prefixCls,oe=de||c.createElement("button",{type:"button","aria-label":p,className:"".concat(E,"-item-link")});return typeof de=="function"&&(oe=c.createElement(de,(0,X.Z)({},f.props))),oe},f.isValid=function(de){var p=f.props.total;return D(de)&&de!==f.state.current&&D(p)&&p>0},f.shouldDisplayQuickJumper=function(){var de=f.props,p=de.showQuickJumper,E=de.total,oe=f.state.pageSize;return E<=oe?!1:p},f.handleKeyDown=function(de){(de.keyCode===m.ARROW_UP||de.keyCode===m.ARROW_DOWN)&&de.preventDefault()},f.handleKeyUp=function(de){var p=f.getValidValue(de),E=f.state.currentInputValue;p!==E&&f.setState({currentInputValue:p}),de.keyCode===m.ENTER?f.handleChange(p):de.keyCode===m.ARROW_UP?f.handleChange(p-1):de.keyCode===m.ARROW_DOWN&&f.handleChange(p+1)},f.handleBlur=function(de){var p=f.getValidValue(de);f.handleChange(p)},f.changePageSize=function(de){var p=f.state.current,E=Q(de,f.state,f.props);p=p>E?E:p,E===0&&(p=f.state.current),typeof de=="number"&&("pageSize"in f.props||f.setState({pageSize:de}),"current"in f.props||f.setState({current:p,currentInputValue:p})),f.props.onShowSizeChange(p,de),"onChange"in f.props&&f.props.onChange&&f.props.onChange(p,de)},f.handleChange=function(de){var p=f.props,E=p.disabled,oe=p.onChange,Ee=f.state,Se=Ee.pageSize,Le=Ee.current,Qe=Ee.currentInputValue;if(f.isValid(de)&&!E){var Je=Q(void 0,f.state,f.props),_e=de;return de>Je?_e=Je:de<1&&(_e=1),"current"in f.props||f.setState({current:_e}),_e!==Qe&&f.setState({currentInputValue:_e}),oe(_e,Se),_e}return Le},f.prev=function(){f.hasPrev()&&f.handleChange(f.state.current-1)},f.next=function(){f.hasNext()&&f.handleChange(f.state.current+1)},f.jumpPrev=function(){f.handleChange(f.getJumpPrevPage())},f.jumpNext=function(){f.handleChange(f.getJumpNextPage())},f.hasPrev=function(){return f.state.current>1},f.hasNext=function(){return f.state.current2?E-2:0),Ee=2;Ee=ge?ve=ge:ve=Number(K),ve}},{key:"getShowSizeChanger",value:function(){var f=this.props,K=f.showSizeChanger,ge=f.total,te=f.totalBoundaryShowSizeChanger;return typeof K!="undefined"?K:ge>te}},{key:"render",value:function(){var f=this.props,K=f.prefixCls,ge=f.className,te=f.style,ve=f.disabled,de=f.hideOnSinglePage,p=f.total,E=f.locale,oe=f.showQuickJumper,Ee=f.showLessItems,Se=f.showTitle,Le=f.showTotal,Qe=f.simple,Je=f.itemRender,_e=f.showPrevNextJumpers,ut=f.jumpPrevIcon,mt=f.jumpNextIcon,It=f.selectComponentClass,St=f.selectPrefixCls,Tt=f.pageSizeOptions,Yt=this.state,gt=Yt.current,Ut=Yt.pageSize,Nn=Yt.currentInputValue;if(de===!0&&p<=Ut)return null;var vt=Q(void 0,this.state,this.props),yt=[],mn=null,un=null,Tn=null,bn=null,$n=null,_n=oe&&oe.goButton,vn=Ee?1:2,Zt=gt-1>0?gt-1:0,yn=gt+1p?p:gt*Ut]));if(Qe){_n&&(typeof _n=="boolean"?$n=c.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},E.jump_to_confirm):$n=c.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_n),$n=c.createElement("li",{title:Se?"".concat(E.jump_to).concat(gt,"/").concat(vt):null,className:"".concat(K,"-simple-pager")},$n));var Z=this.renderPrev(Zt);return c.createElement("ul",(0,u.Z)({className:x()(K,"".concat(K,"-simple"),(0,ue.Z)({},"".concat(K,"-disabled"),ve),ge),style:te,ref:this.paginationNode},dn),S,Z?c.createElement("li",{title:Se?E.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:x()("".concat(K,"-prev"),(0,ue.Z)({},"".concat(K,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Z):null,c.createElement("li",{title:Se?"".concat(gt,"/").concat(vt):null,className:"".concat(K,"-simple-pager")},c.createElement("input",{type:"text",value:Nn,disabled:ve,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),c.createElement("span",{className:"".concat(K,"-slash")},"/"),vt),c.createElement("li",{title:Se?E.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:x()("".concat(K,"-next"),(0,ue.Z)({},"".concat(K,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(yn)),$n)}if(vt<=3+vn*2){var T={locale:E,rootPrefixCls:K,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Se,itemRender:Je};vt||yt.push(c.createElement(M,(0,u.Z)({},T,{key:"noPager",page:1,className:"".concat(K,"-item-disabled")})));for(var N=1;N<=vt;N+=1){var he=gt===N;yt.push(c.createElement(M,(0,u.Z)({},T,{key:N,page:N,active:he})))}}else{var fe=Ee?E.prev_3:E.prev_5,He=Ee?E.next_3:E.next_5,Ae=Je(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ut,"prev page")),Ye=Je(this.getJumpNextPage(),"jump-next",this.getItemIcon(mt,"next page"));_e&&(mn=Ae?c.createElement("li",{title:Se?fe:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:x()("".concat(K,"-jump-prev"),(0,ue.Z)({},"".concat(K,"-jump-prev-custom-icon"),!!ut))},Ae):null,un=Ye?c.createElement("li",{title:Se?He:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:x()("".concat(K,"-jump-next"),(0,ue.Z)({},"".concat(K,"-jump-next-custom-icon"),!!mt))},Ye):null),bn=c.createElement(M,{locale:E,last:!0,rootPrefixCls:K,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:vt,page:vt,active:!1,showTitle:Se,itemRender:Je}),Tn=c.createElement(M,{locale:E,rootPrefixCls:K,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Se,itemRender:Je});var nt=Math.max(1,gt-vn),dt=Math.min(gt+vn,vt);gt-1<=vn&&(dt=1+vn*2),vt-gt<=vn&&(nt=vt-vn*2);for(var it=nt;it<=dt;it+=1){var qe=gt===it;yt.push(c.createElement(M,{locale:E,rootPrefixCls:K,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:it,page:it,active:qe,showTitle:Se,itemRender:Je}))}gt-1>=vn*2&>!==3&&(yt[0]=(0,c.cloneElement)(yt[0],{className:"".concat(K,"-item-after-jump-prev")}),yt.unshift(mn)),vt-gt>=vn*2&>!==vt-2&&(yt[yt.length-1]=(0,c.cloneElement)(yt[yt.length-1],{className:"".concat(K,"-item-before-jump-next")}),yt.push(un)),nt!==1&&yt.unshift(Tn),dt!==vt&&yt.push(bn)}var ot=!this.hasPrev()||!vt,Ct=!this.hasNext()||!vt,lt=this.renderPrev(Zt),Ot=this.renderNext(yn);return c.createElement("ul",(0,u.Z)({className:x()(K,ge,(0,ue.Z)({},"".concat(K,"-disabled"),ve)),style:te,ref:this.paginationNode},dn),S,lt?c.createElement("li",{title:Se?E.prev_page:null,onClick:this.prev,tabIndex:ot?null:0,onKeyPress:this.runIfEnterPrev,className:x()("".concat(K,"-prev"),(0,ue.Z)({},"".concat(K,"-disabled"),ot)),"aria-disabled":ot},lt):null,yt,Ot?c.createElement("li",{title:Se?E.next_page:null,onClick:this.next,tabIndex:Ct?null:0,onKeyPress:this.runIfEnterNext,className:x()("".concat(K,"-next"),(0,ue.Z)({},"".concat(K,"-disabled"),Ct)),"aria-disabled":Ct},Ot):null,c.createElement(y,{disabled:ve,locale:E,rootPrefixCls:K,selectComponentClass:It,selectPrefixCls:St,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:gt,pageSize:Ut,pageSizeOptions:Tt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_n}))}}],[{key:"getDerivedStateFromProps",value:function(f,K){var ge={};if("current"in f&&(ge.current=f.current,f.current!==K.current&&(ge.currentInputValue=ge.current)),"pageSize"in f&&f.pageSize!==K.pageSize){var te=K.current,ve=Q(f.pageSize,K,f);te=te>ve?ve:te,"current"in f||(ge.current=te,ge.currentInputValue=te),ge.pageSize=f.pageSize}return ge}}]),j}(c.Component);Ue.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:V,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:V,locale:r.Z,style:{},itemRender:Ie,totalBoundaryShowSizeChanger:50};var s=Ue,F=e(22075),A=e(36355),O=e(19716),H=e(8628),k=e(9763),ne=e(57809);const re=l=>c.createElement(ne.default,Object.assign({},l,{showSearch:!0,size:"small"})),ae=l=>c.createElement(ne.default,Object.assign({},l,{showSearch:!0,size:"middle"}));re.Option=ne.default.Option,ae.Option=ne.default.Option;var Y=e(9937),be=e(17313),Re=e(83116),Ve=e(37613);const Fe=l=>{const{componentCls:o}=l;return{[`${o}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${o}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${o}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed"}}},[`&${o}-disabled`]:{cursor:"not-allowed",[`${o}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:l.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:l.colorBorder,backgroundColor:l.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:l.itemActiveBgDisabled},a:{color:l.itemActiveColorDisabled}}},[`${o}-item-link`]:{color:l.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${o}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${o}-simple-pager`]:{color:l.colorTextDisabled},[`${o}-jump-prev, ${o}-jump-next`]:{[`${o}-item-link-icon`]:{opacity:0},[`${o}-item-ellipsis`]:{opacity:1}}},[`&${o}-simple`]:{[`${o}-prev, ${o}-next`]:{[`&${o}-disabled ${o}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ke=l=>{const{componentCls:o}=l;return{[`&${o}-mini ${o}-total-text, &${o}-mini ${o}-simple-pager`]:{height:l.itemSizeSM,lineHeight:`${l.itemSizeSM}px`},[`&${o}-mini ${o}-item`]:{minWidth:l.itemSizeSM,height:l.itemSizeSM,margin:0,lineHeight:`${l.itemSizeSM-2}px`},[`&${o}-mini:not(${o}-disabled) ${o}-item:not(${o}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:l.colorBgTextHover},"&:active":{backgroundColor:l.colorBgTextActive}},[`&${o}-mini ${o}-prev, &${o}-mini ${o}-next`]:{minWidth:l.itemSizeSM,height:l.itemSizeSM,margin:0,lineHeight:`${l.itemSizeSM}px`},[`&${o}-mini:not(${o}-disabled)`]:{[`${o}-prev, ${o}-next`]:{[`&:hover ${o}-item-link`]:{backgroundColor:l.colorBgTextHover},[`&:active ${o}-item-link`]:{backgroundColor:l.colorBgTextActive},[`&${o}-disabled:hover ${o}-item-link`]:{backgroundColor:"transparent"}}},[` - &${o}-mini ${o}-prev ${o}-item-link, - &${o}-mini ${o}-next ${o}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:l.itemSizeSM,lineHeight:`${l.itemSizeSM}px`}},[`&${o}-mini ${o}-jump-prev, &${o}-mini ${o}-jump-next`]:{height:l.itemSizeSM,marginInlineEnd:0,lineHeight:`${l.itemSizeSM}px`},[`&${o}-mini ${o}-options`]:{marginInlineStart:l.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:l.miniOptionsSizeChangerTop},"&-quick-jumper":{height:l.itemSizeSM,lineHeight:`${l.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Y.x0)(l)),{width:l.paginationMiniQuickJumperInputWidth,height:l.controlHeightSM})}}}},Ge=l=>{const{componentCls:o}=l;return{[` - &${o}-simple ${o}-prev, - &${o}-simple ${o}-next - `]:{height:l.itemSizeSM,lineHeight:`${l.itemSizeSM}px`,verticalAlign:"top",[`${o}-item-link`]:{height:l.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:l.colorBgTextHover},"&:active":{backgroundColor:l.colorBgTextActive},"&::after":{height:l.itemSizeSM,lineHeight:`${l.itemSizeSM}px`}}},[`&${o}-simple ${o}-simple-pager`]:{display:"inline-block",height:l.itemSizeSM,marginInlineEnd:l.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:l.marginXS,padding:`0 ${l.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:l.itemInputBg,border:`${l.lineWidth}px ${l.lineType} ${l.colorBorder}`,borderRadius:l.borderRadius,outline:"none",transition:`border-color ${l.motionDurationMid}`,color:"inherit","&:hover":{borderColor:l.colorPrimary},"&:focus":{borderColor:l.colorPrimaryHover,boxShadow:`${l.inputOutlineOffset}px 0 ${l.controlOutlineWidth}px ${l.controlOutline}`},"&[disabled]":{color:l.colorTextDisabled,backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,cursor:"not-allowed"}}}}},at=l=>{const{componentCls:o}=l;return{[`${o}-jump-prev, ${o}-jump-next`]:{outline:0,[`${o}-item-container`]:{position:"relative",[`${o}-item-link-icon`]:{color:l.colorPrimary,fontSize:l.fontSizeSM,opacity:0,transition:`all ${l.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${o}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:l.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:l.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:l.paginationEllipsisTextIndent,opacity:1,transition:`all ${l.motionDurationMid}`}},"&:hover":{[`${o}-item-link-icon`]:{opacity:1},[`${o}-item-ellipsis`]:{opacity:0}}},[` - ${o}-prev, - ${o}-jump-prev, - ${o}-jump-next - `]:{marginInlineEnd:l.marginXS},[` - ${o}-prev, - ${o}-next, - ${o}-jump-prev, - ${o}-jump-next - `]:{display:"inline-block",minWidth:l.itemSize,height:l.itemSize,color:l.colorText,fontFamily:l.fontFamily,lineHeight:`${l.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:l.borderRadius,cursor:"pointer",transition:`all ${l.motionDurationMid}`},[`${o}-prev, ${o}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:l.colorText,cursor:"pointer",userSelect:"none"},[`${o}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:l.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${l.lineWidth}px ${l.lineType} transparent`,borderRadius:l.borderRadius,outline:"none",transition:`all ${l.motionDurationMid}`},[`&:hover ${o}-item-link`]:{backgroundColor:l.colorBgTextHover},[`&:active ${o}-item-link`]:{backgroundColor:l.colorBgTextActive},[`&${o}-disabled:hover`]:{[`${o}-item-link`]:{backgroundColor:"transparent"}}},[`${o}-slash`]:{marginInlineEnd:l.paginationSlashMarginInlineEnd,marginInlineStart:l.paginationSlashMarginInlineStart},[`${o}-options`]:{display:"inline-block",marginInlineStart:l.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:l.controlHeight,marginInlineStart:l.marginXS,lineHeight:`${l.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Y.ik)(l)),{width:l.controlHeightLG*1.25,height:l.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:l.marginXS,marginInlineEnd:l.marginXS})}}}},Xe=l=>{const{componentCls:o}=l;return{[`${o}-item`]:{display:"inline-block",minWidth:l.itemSize,height:l.itemSize,marginInlineEnd:l.marginXS,fontFamily:l.fontFamily,lineHeight:`${l.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${l.lineWidth}px ${l.lineType} transparent`,borderRadius:l.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${l.paginationItemPaddingInline}px`,color:l.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${o}-item-active)`]:{"&:hover":{transition:`all ${l.motionDurationMid}`,backgroundColor:l.colorBgTextHover},"&:active":{backgroundColor:l.colorBgTextActive}},"&-active":{fontWeight:l.fontWeightStrong,backgroundColor:l.itemActiveBg,borderColor:l.colorPrimary,a:{color:l.colorPrimary},"&:hover":{borderColor:l.colorPrimaryHover},"&:hover a":{color:l.colorPrimaryHover}}}}},me=l=>{const{componentCls:o}=l;return{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(l)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${o}-total-text`]:{display:"inline-block",height:l.itemSize,marginInlineEnd:l.marginXS,lineHeight:`${l.itemSize-2}px`,verticalAlign:"middle"}}),Xe(l)),at(l)),Ge(l)),ke(l)),Fe(l)),{[`@media only screen and (max-width: ${l.screenLG}px)`]:{[`${o}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${l.screenSM}px)`]:{[`${o}-options`]:{display:"none"}}}),[`&${l.componentCls}-rtl`]:{direction:"rtl"}}},Ke=l=>{const{componentCls:o}=l;return{[`${o}${o}-disabled:not(${o}-mini)`]:{"&, &:hover":{[`${o}-item-link`]:{borderColor:l.colorBorder}},"&:focus-visible":{[`${o}-item-link`]:{borderColor:l.colorBorder}},[`${o}-item, ${o}-item-link`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,[`&:hover:not(${o}-item-active)`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,a:{color:l.colorTextDisabled}},[`&${o}-item-active`]:{backgroundColor:l.itemActiveBgDisabled}},[`${o}-prev, ${o}-next`]:{"&:hover button":{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder,color:l.colorTextDisabled},[`${o}-item-link`]:{backgroundColor:l.colorBgContainerDisabled,borderColor:l.colorBorder}}},[`${o}:not(${o}-mini)`]:{[`${o}-prev, ${o}-next`]:{"&:hover button":{borderColor:l.colorPrimaryHover,backgroundColor:l.itemBg},[`${o}-item-link`]:{backgroundColor:l.itemLinkBg,borderColor:l.colorBorder},[`&:hover ${o}-item-link`]:{borderColor:l.colorPrimary,backgroundColor:l.itemBg,color:l.colorPrimary},[`&${o}-disabled`]:{[`${o}-item-link`]:{borderColor:l.colorBorder,color:l.colorTextDisabled}}},[`${o}-item`]:{backgroundColor:l.itemBg,border:`${l.lineWidth}px ${l.lineType} ${l.colorBorder}`,[`&:hover:not(${o}-item-active)`]:{borderColor:l.colorPrimary,backgroundColor:l.itemBg,a:{color:l.colorPrimary}},"&-active":{borderColor:l.colorPrimary}}}}},B=l=>{const{componentCls:o}=l;return{[`${o}:not(${o}-disabled)`]:{[`${o}-item`]:Object.assign({},(0,be.Qy)(l)),[`${o}-jump-prev, ${o}-jump-next`]:{"&:focus-visible":Object.assign({[`${o}-item-link-icon`]:{opacity:1},[`${o}-item-ellipsis`]:{opacity:0}},(0,be.oN)(l))},[`${o}-prev, ${o}-next`]:{[`&:focus-visible ${o}-item-link`]:Object.assign({},(0,be.oN)(l))}}}};var w=(0,Re.Z)("Pagination",l=>{const o=(0,Ve.TS)(l,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:l.marginXXS/2,paginationMiniQuickJumperInputWidth:l.controlHeightLG*1.1,paginationItemPaddingInline:l.marginXXS*1.5,paginationEllipsisLetterSpacing:l.marginXXS/2,paginationSlashMarginInlineStart:l.marginXXS,paginationSlashMarginInlineEnd:l.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Y.e5)(l),(0,Y.TM)(l));return[me(o),B(o),l.wireframe&&Ke(o)]},l=>({itemBg:l.colorBgContainer,itemSize:l.controlHeight,itemSizeSM:l.controlHeightSM,itemActiveBg:l.colorBgContainer,itemLinkBg:l.colorBgContainer,itemActiveColorDisabled:l.colorTextDisabled,itemActiveBgDisabled:l.controlItemBgActiveDisabled,itemInputBg:l.colorBgContainer,miniOptionsSizeChangerTop:0})),d=function(l,o){var j={};for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&o.indexOf(g)<0&&(j[g]=l[g]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,g=Object.getOwnPropertySymbols(l);f{const{prefixCls:o,selectPrefixCls:j,className:g,rootClassName:f,style:K,size:ge,locale:te,selectComponentClass:ve,responsive:de,showSizeChanger:p}=l,E=d(l,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:oe}=(0,H.Z)(de),{getPrefixCls:Ee,direction:Se,pagination:Le={}}=c.useContext(A.E_),Qe=Ee("pagination",o),[Je,_e]=w(Qe),ut=p!=null?p:Le.showSizeChanger,mt=c.useMemo(()=>{const vt=c.createElement("span",{className:`${Qe}-item-ellipsis`},"\u2022\u2022\u2022"),yt=c.createElement("button",{className:`${Qe}-item-link`,type:"button",tabIndex:-1},Se==="rtl"?c.createElement(le.Z,null):c.createElement(I.Z,null)),mn=c.createElement("button",{className:`${Qe}-item-link`,type:"button",tabIndex:-1},Se==="rtl"?c.createElement(I.Z,null):c.createElement(le.Z,null)),un=c.createElement("a",{className:`${Qe}-item-link`},c.createElement("div",{className:`${Qe}-item-container`},Se==="rtl"?c.createElement(q.Z,{className:`${Qe}-item-link-icon`}):c.createElement(ie,{className:`${Qe}-item-link-icon`}),vt)),Tn=c.createElement("a",{className:`${Qe}-item-link`},c.createElement("div",{className:`${Qe}-item-container`},Se==="rtl"?c.createElement(ie,{className:`${Qe}-item-link-icon`}):c.createElement(q.Z,{className:`${Qe}-item-link-icon`}),vt));return{prevIcon:yt,nextIcon:mn,jumpPrevIcon:un,jumpNextIcon:Tn}},[Se,Qe]),[It]=(0,k.Z)("Pagination",F.Z),St=Object.assign(Object.assign({},It),te),Tt=(0,O.Z)(ge),Yt=Tt==="small"||!!(oe&&!Tt&&de),gt=Ee("select",j),Ut=x()({[`${Qe}-mini`]:Yt,[`${Qe}-rtl`]:Se==="rtl"},Le==null?void 0:Le.className,g,f,_e),Nn=Object.assign(Object.assign({},Le==null?void 0:Le.style),K);return Je(c.createElement(s,Object.assign({},mt,E,{style:Nn,prefixCls:Qe,selectPrefixCls:gt,className:Ut,selectComponentClass:ve||(Yt?re:ae),locale:St,showSizeChanger:ut})))},G=R},5112:function(Dt,Me,e){e.d(Me,{ZP:function(){return H}});var u=e(92310),c=e.n(u),v=e(18929),W=e(26112),b=e(59301),$=e(36355),t=e(19716);const ie=b.createContext(null),q=ie.Provider;var I=ie;const le=b.createContext(null),C=le.Provider;var x=e(5630),ue=e(8654),X=e(1684),U=e(32441),$e=e(17313),se=e(83116),we=e(37613);const ce=k=>{const{componentCls:ne,antCls:re}=k,ae=`${ne}-group`;return{[ae]:Object.assign(Object.assign({},(0,$e.Wf)(k)),{display:"inline-block",fontSize:0,[`&${ae}-rtl`]:{direction:"rtl"},[`${re}-badge ${re}-badge-count`]:{zIndex:1},[`> ${re}-badge:not(:first-child) > ${re}-button-wrapper`]:{borderInlineStart:"none"}})}},L=k=>{const{componentCls:ne,wrapperMarginInlineEnd:re,colorPrimary:ae,radioSize:Y,motionDurationSlow:be,motionDurationMid:Re,motionEaseInOutCirc:Ve,colorBgContainer:Fe,colorBorder:ke,lineWidth:Ge,dotSize:at,colorBgContainerDisabled:Xe,colorTextDisabled:me,paddingXS:Ke,dotColorDisabled:B,lineType:w,radioDotDisabledSize:d,wireframe:n,colorWhite:R}=k,G=`${ne}-inner`;return{[`${ne}-wrapper`]:Object.assign(Object.assign({},(0,$e.Wf)(k)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:re,cursor:"pointer",[`&${ne}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:k.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${ne}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Ge}px ${w} ${ae}`,borderRadius:"50%",visibility:"hidden",content:'""'},[ne]:Object.assign(Object.assign({},(0,$e.Wf)(k)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${ne}-wrapper:hover &, - &:hover ${G}`]:{borderColor:ae},[`${ne}-input:focus-visible + ${G}`]:Object.assign({},(0,$e.oN)(k)),[`${ne}:hover::after, ${ne}-wrapper:hover &::after`]:{visibility:"visible"},[`${ne}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Y,height:Y,marginBlockStart:Y/-2,marginInlineStart:Y/-2,backgroundColor:n?ae:R,borderBlockStart:0,borderInlineStart:0,borderRadius:Y,transform:"scale(0)",opacity:0,transition:`all ${be} ${Ve}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Y,height:Y,backgroundColor:Fe,borderColor:ke,borderStyle:"solid",borderWidth:Ge,borderRadius:"50%",transition:`all ${Re}`},[`${ne}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${ne}-checked`]:{[G]:{borderColor:ae,backgroundColor:n?Fe:ae,"&::after":{transform:`scale(${at/Y})`,opacity:1,transition:`all ${be} ${Ve}`}}},[`${ne}-disabled`]:{cursor:"not-allowed",[G]:{backgroundColor:Xe,borderColor:ke,cursor:"not-allowed","&::after":{backgroundColor:B}},[`${ne}-input`]:{cursor:"not-allowed"},[`${ne}-disabled + span`]:{color:me,cursor:"not-allowed"},[`&${ne}-checked`]:{[G]:{"&::after":{transform:`scale(${d/Y})`}}}},[`span${ne} + *`]:{paddingInlineStart:Ke,paddingInlineEnd:Ke}})}},m=k=>{const{buttonColor:ne,controlHeight:re,componentCls:ae,lineWidth:Y,lineType:be,colorBorder:Re,motionDurationSlow:Ve,motionDurationMid:Fe,buttonPaddingInline:ke,fontSize:Ge,buttonBg:at,fontSizeLG:Xe,controlHeightLG:me,controlHeightSM:Ke,paddingXS:B,borderRadius:w,borderRadiusSM:d,borderRadiusLG:n,buttonCheckedBg:R,buttonSolidCheckedColor:G,colorTextDisabled:l,colorBgContainerDisabled:o,buttonCheckedBgDisabled:j,buttonCheckedColorDisabled:g,colorPrimary:f,colorPrimaryHover:K,colorPrimaryActive:ge,buttonSolidCheckedBg:te,buttonSolidCheckedHoverBg:ve,buttonSolidCheckedActiveBg:de}=k;return{[`${ae}-button-wrapper`]:{position:"relative",display:"inline-block",height:re,margin:0,paddingInline:ke,paddingBlock:0,color:ne,fontSize:Ge,lineHeight:`${re-Y*2}px`,background:at,border:`${Y}px ${be} ${Re}`,borderBlockStartWidth:Y+.02,borderInlineStartWidth:0,borderInlineEndWidth:Y,cursor:"pointer",transition:[`color ${Fe}`,`background ${Fe}`,`box-shadow ${Fe}`].join(","),a:{color:ne},[`> ${ae}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Y,insetInlineStart:-Y,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Y,paddingInline:0,backgroundColor:Re,transition:`background-color ${Ve}`,content:'""'}},"&:first-child":{borderInlineStart:`${Y}px ${be} ${Re}`,borderStartStartRadius:w,borderEndStartRadius:w},"&:last-child":{borderStartEndRadius:w,borderEndEndRadius:w},"&:first-child:last-child":{borderRadius:w},[`${ae}-group-large &`]:{height:me,fontSize:Xe,lineHeight:`${me-Y*2}px`,"&:first-child":{borderStartStartRadius:n,borderEndStartRadius:n},"&:last-child":{borderStartEndRadius:n,borderEndEndRadius:n}},[`${ae}-group-small &`]:{height:Ke,paddingInline:B-Y,paddingBlock:0,lineHeight:`${Ke-Y*2}px`,"&:first-child":{borderStartStartRadius:d,borderEndStartRadius:d},"&:last-child":{borderStartEndRadius:d,borderEndEndRadius:d}},"&:hover":{position:"relative",color:f},"&:has(:focus-visible)":Object.assign({},(0,$e.oN)(k)),[`${ae}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ae}-button-wrapper-disabled)`]:{zIndex:1,color:f,background:R,borderColor:f,"&::before":{backgroundColor:f},"&:first-child":{borderColor:f},"&:hover":{color:K,borderColor:K,"&::before":{backgroundColor:K}},"&:active":{color:ge,borderColor:ge,"&::before":{backgroundColor:ge}}},[`${ae}-group-solid &-checked:not(${ae}-button-wrapper-disabled)`]:{color:G,background:te,borderColor:te,"&:hover":{color:G,background:ve,borderColor:ve},"&:active":{color:G,background:de,borderColor:de}},"&-disabled":{color:l,backgroundColor:o,borderColor:Re,cursor:"not-allowed","&:first-child, &:hover":{color:l,backgroundColor:o,borderColor:Re}},[`&-disabled${ae}-button-wrapper-checked`]:{color:g,backgroundColor:j,borderColor:Re,boxShadow:"none"}}}},r=k=>k-4*2;var h=(0,se.Z)("Radio",k=>{const{controlOutline:ne,controlOutlineWidth:re,radioSize:ae}=k,Y=`0 0 0 ${re}px ${ne}`,be=Y,Re=r(ae),Ve=(0,we.TS)(k,{radioDotDisabledSize:Re,radioFocusShadow:Y,radioButtonFocusShadow:be});return[ce(Ve),L(Ve),m(Ve)]},k=>{const{wireframe:ne,padding:re,marginXS:ae,lineWidth:Y,fontSizeLG:be,colorText:Re,colorBgContainer:Ve,colorTextDisabled:Fe,controlItemBgActiveDisabled:ke,colorTextLightSolid:Ge,colorPrimary:at,colorPrimaryHover:Xe,colorPrimaryActive:me}=k,Ke=4,B=be,w=ne?r(B):B-(Ke+Y)*2;return{radioSize:B,dotSize:w,dotColorDisabled:Fe,buttonSolidCheckedColor:Ge,buttonSolidCheckedBg:at,buttonSolidCheckedHoverBg:Xe,buttonSolidCheckedActiveBg:me,buttonBg:Ve,buttonCheckedBg:Ve,buttonColor:Re,buttonCheckedBgDisabled:ke,buttonCheckedColorDisabled:Fe,buttonPaddingInline:re-Y,wrapperMarginInlineEnd:ae}}),y=e(14088),ee=e(4572),M=function(k,ne){var re={};for(var ae in k)Object.prototype.hasOwnProperty.call(k,ae)&&ne.indexOf(ae)<0&&(re[ae]=k[ae]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,ae=Object.getOwnPropertySymbols(k);Y{var re,ae;const Y=b.useContext(I),be=b.useContext(le),{getPrefixCls:Re,direction:Ve,radio:Fe}=b.useContext($.E_),ke=b.useRef(null),Ge=(0,ue.sQ)(ne,ke),{isFormItemInput:at}=b.useContext(U.aM),Xe=ge=>{var te,ve;(te=k.onChange)===null||te===void 0||te.call(k,ge),(ve=Y==null?void 0:Y.onChange)===null||ve===void 0||ve.call(Y,ge)},{prefixCls:me,className:Ke,rootClassName:B,children:w,style:d}=k,n=M(k,["prefixCls","className","rootClassName","children","style"]),R=Re("radio",me),G=((Y==null?void 0:Y.optionType)||be)==="button",l=G?`${R}-button`:R,[o,j]=h(R),g=Object.assign({},n),f=b.useContext(X.Z);Y&&(g.name=Y.name,g.onChange=Xe,g.checked=k.value===Y.value,g.disabled=(re=g.disabled)!==null&&re!==void 0?re:Y.disabled),g.disabled=(ae=g.disabled)!==null&&ae!==void 0?ae:f;const K=c()(`${l}-wrapper`,{[`${l}-wrapper-checked`]:g.checked,[`${l}-wrapper-disabled`]:g.disabled,[`${l}-wrapper-rtl`]:Ve==="rtl",[`${l}-wrapper-in-form-item`]:at},Fe==null?void 0:Fe.className,Ke,B,j);return o(b.createElement(y.Z,{component:"Radio",disabled:g.disabled},b.createElement("label",{className:K,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),d),onMouseEnter:k.onMouseEnter,onMouseLeave:k.onMouseLeave},b.createElement(x.Z,Object.assign({},g,{className:c()(g.className,!G&&ee.A),type:"radio",prefixCls:l,ref:Ge})),w!==void 0?b.createElement("span",null,w):null)))};var Ie=b.forwardRef(V);const Q=b.forwardRef((k,ne)=>{const{getPrefixCls:re,direction:ae}=b.useContext($.E_),[Y,be]=(0,v.Z)(k.defaultValue,{value:k.value}),Re=te=>{const ve=Y,de=te.target.value;"value"in k||be(de);const{onChange:p}=k;p&&de!==ve&&p(te)},{prefixCls:Ve,className:Fe,rootClassName:ke,options:Ge,buttonStyle:at="outline",disabled:Xe,children:me,size:Ke,style:B,id:w,onMouseEnter:d,onMouseLeave:n,onFocus:R,onBlur:G}=k,l=re("radio",Ve),o=`${l}-group`,[j,g]=h(l);let f=me;Ge&&Ge.length>0&&(f=Ge.map(te=>typeof te=="string"||typeof te=="number"?b.createElement(Ie,{key:te.toString(),prefixCls:l,disabled:Xe,value:te,checked:Y===te},te):b.createElement(Ie,{key:`radio-group-value-options-${te.value}`,prefixCls:l,disabled:te.disabled||Xe,value:te.value,checked:Y===te.value,title:te.title,style:te.style},te.label)));const K=(0,t.Z)(Ke),ge=c()(o,`${o}-${at}`,{[`${o}-${K}`]:K,[`${o}-rtl`]:ae==="rtl"},Fe,ke,g);return j(b.createElement("div",Object.assign({},(0,W.Z)(k,{aria:!0,data:!0}),{className:ge,style:B,onMouseEnter:d,onMouseLeave:n,onFocus:R,onBlur:G,id:w,ref:ne}),b.createElement(q,{value:{onChange:Re,value:Y,disabled:k.disabled,name:k.name,optionType:k.optionType}},f)))});var Ue=b.memo(Q),s=function(k,ne){var re={};for(var ae in k)Object.prototype.hasOwnProperty.call(k,ae)&&ne.indexOf(ae)<0&&(re[ae]=k[ae]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,ae=Object.getOwnPropertySymbols(k);Y{const{getPrefixCls:re}=b.useContext($.E_),{prefixCls:ae}=k,Y=s(k,["prefixCls"]),be=re("radio",ae);return b.createElement(C,{value:"button"},b.createElement(Ie,Object.assign({prefixCls:be},Y,{type:"radio",ref:ne})))};var A=b.forwardRef(F);const O=Ie;O.Button=A,O.Group=Ue,O.__ANT_RADIO=!0;var H=O},57809:function(Dt,Me,e){var u=e(92310),c=e.n(u),v=e(77861),W=e(2738),b=e(59301),$=e(53487),t=e(62892),ie=e(19080),q=e(36355),I=e(1684),le=e(93891),C=e(19716),x=e(32441),ue=e(33234),X=e(14154),U=e(58582),$e=e(84443),se=e(66339),we=function(h,y){var ee={};for(var M in h)Object.prototype.hasOwnProperty.call(h,M)&&y.indexOf(M)<0&&(ee[M]=h[M]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,M=Object.getOwnPropertySymbols(h);V{var ee,{prefixCls:M,bordered:V=!0,className:D,rootClassName:Ie,getPopupContainer:Q,popupClassName:Ue,dropdownClassName:s,listHeight:F=256,placement:A,listItemHeight:O=24,size:H,disabled:k,notFoundContent:ne,status:re,builtinPlacements:ae,dropdownMatchSelectWidth:Y,popupMatchSelectWidth:be,direction:Re,style:Ve,allowClear:Fe}=h,ke=we(h,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Ge,getPrefixCls:at,renderEmpty:Xe,direction:me,virtual:Ke,popupMatchSelectWidth:B,popupOverflow:w,select:d}=b.useContext(q.E_),n=at("select",M),R=at(),G=Re!=null?Re:me,{compactSize:l,compactItemClassnames:o}=(0,ue.ri)(n,G),[j,g]=(0,X.Z)(n),f=b.useMemo(()=>{const{mode:Nn}=ke;if(Nn!=="combobox")return Nn===ce?"combobox":Nn},[ke.mode]),K=f==="multiple"||f==="tags",ge=(0,$e.Z)(ke.suffixIcon,ke.showArrow),te=(ee=be!=null?be:Y)!==null&&ee!==void 0?ee:B,{status:ve,hasFeedback:de,isFormItemInput:p,feedbackIcon:E}=b.useContext(x.aM),oe=(0,ie.F)(ve,re);let Ee;ne!==void 0?Ee=ne:f==="combobox"?Ee=null:Ee=(Xe==null?void 0:Xe("Select"))||b.createElement(le.Z,{componentName:"Select"});const{suffixIcon:Se,itemIcon:Le,removeIcon:Qe,clearIcon:Je}=(0,se.Z)(Object.assign(Object.assign({},ke),{multiple:K,hasFeedback:de,feedbackIcon:E,showSuffixIcon:ge,prefixCls:n,showArrow:ke.showArrow,componentName:"Select"})),_e=Fe===!0?{clearIcon:Je}:Fe,ut=(0,W.Z)(ke,["suffixIcon","itemIcon"]),mt=c()(Ue||s,{[`${n}-dropdown-${G}`]:G==="rtl"},Ie,g),It=(0,C.Z)(Nn=>{var vt;return(vt=H!=null?H:l)!==null&&vt!==void 0?vt:Nn}),St=b.useContext(I.Z),Tt=k!=null?k:St,Yt=c()({[`${n}-lg`]:It==="large",[`${n}-sm`]:It==="small",[`${n}-rtl`]:G==="rtl",[`${n}-borderless`]:!V,[`${n}-in-form-item`]:p},(0,ie.Z)(n,oe,de),o,d==null?void 0:d.className,D,Ie,g),gt=b.useMemo(()=>A!==void 0?A:G==="rtl"?"bottomRight":"bottomLeft",[A,G]),Ut=(0,U.Z)(ae,w);return j(b.createElement(v.ZP,Object.assign({ref:y,virtual:Ke,showSearch:d==null?void 0:d.showSearch},ut,{style:Object.assign(Object.assign({},d==null?void 0:d.style),Ve),dropdownMatchSelectWidth:te,builtinPlacements:Ut,transitionName:(0,t.m)(R,"slide-up",ke.transitionName),listHeight:F,listItemHeight:O,mode:f,prefixCls:n,placement:gt,direction:G,suffixIcon:Se,menuItemSelectedIcon:Le,removeIcon:Qe,allowClear:_e,notFoundContent:Ee,className:Yt,getPopupContainer:Q||Ge,dropdownClassName:mt,disabled:Tt})))},m=b.forwardRef(L),r=(0,$.Z)(m);m.SECRET_COMBOBOX_MODE_DO_NOT_USE=ce,m.Option=v.Wx,m.OptGroup=v.Xo,m._InternalPanelDoNotUseOrYouWillBeFired=r,Me.default=m},14154:function(Dt,Me,e){e.d(Me,{Z:function(){return m}});var u=e(17313),c=e(74207),v=e(37613),W=e(83116),b=e(13826),$=e(92899);const t=r=>{const{optionHeight:h,optionFontSize:y,optionLineHeight:ee,optionPadding:M}=r;return{position:"relative",display:"block",minHeight:h,padding:M,color:r.colorText,fontWeight:"normal",fontSize:y,lineHeight:ee,boxSizing:"border-box"}};var q=r=>{const{antCls:h,componentCls:y}=r,ee=`${y}-item`,M=`&${h}-slide-up-enter${h}-slide-up-enter-active`,V=`&${h}-slide-up-appear${h}-slide-up-appear-active`,D=`&${h}-slide-up-leave${h}-slide-up-leave-active`,Ie=`${y}-dropdown-placement-`;return[{[`${y}-dropdown`]:Object.assign(Object.assign({},(0,u.Wf)(r)),{position:"absolute",top:-9999,zIndex:r.zIndexPopup,boxSizing:"border-box",padding:r.paddingXXS,overflow:"hidden",fontSize:r.fontSize,fontVariant:"initial",backgroundColor:r.colorBgElevated,borderRadius:r.borderRadiusLG,outline:"none",boxShadow:r.boxShadowSecondary,[` - ${M}${Ie}bottomLeft, - ${V}${Ie}bottomLeft - `]:{animationName:b.fJ},[` - ${M}${Ie}topLeft, - ${V}${Ie}topLeft, - ${M}${Ie}topRight, - ${V}${Ie}topRight - `]:{animationName:b.Qt},[`${D}${Ie}bottomLeft`]:{animationName:b.Uw},[` - ${D}${Ie}topLeft, - ${D}${Ie}topRight - `]:{animationName:b.ly},"&-hidden":{display:"none"},[`${ee}`]:Object.assign(Object.assign({},t(r)),{cursor:"pointer",transition:`background ${r.motionDurationSlow} ease`,borderRadius:r.borderRadiusSM,"&-group":{color:r.colorTextDescription,fontSize:r.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},u.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ee}-option-disabled)`]:{backgroundColor:r.optionActiveBg},[`&-selected:not(${ee}-option-disabled)`]:{color:r.optionSelectedColor,fontWeight:r.optionSelectedFontWeight,backgroundColor:r.optionSelectedBg,[`${ee}-option-state`]:{color:r.colorPrimary}},"&-disabled":{[`&${ee}-option-selected`]:{backgroundColor:r.colorBgContainerDisabled},color:r.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:r.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,b.oN)(r,"slide-up"),(0,b.oN)(r,"slide-down"),(0,$.Fm)(r,"move-up"),(0,$.Fm)(r,"move-down")]};const I=2,le=r=>{let{controlHeightSM:h,controlHeight:y,lineWidth:ee}=r;const M=(y-h)/2-ee,V=Math.ceil(M/2);return[M,V]};function C(r,h){const{componentCls:y,iconCls:ee}=r,M=`${y}-selection-overflow`,V=r.multipleSelectItemHeight,[D]=le(r),Ie=h?`${y}-${h}`:"";return{[`${y}-multiple${Ie}`]:{fontSize:r.fontSize,[M]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${y}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${D-I}px ${I*2}px`,borderRadius:r.borderRadius,[`${y}-show-search&`]:{cursor:"text"},[`${y}-disabled&`]:{background:r.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${I}px 0`,lineHeight:`${V}px`,visibility:"hidden",content:'"\\a0"'}},[` - &${y}-show-arrow ${y}-selector, - &${y}-allow-clear ${y}-selector - `]:{paddingInlineEnd:r.fontSizeIcon+r.controlPaddingHorizontal},[`${y}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:V,marginTop:I,marginBottom:I,lineHeight:`${V-r.lineWidth*2}px`,background:r.multipleItemBg,border:`${r.lineWidth}px ${r.lineType} ${r.multipleItemBorderColor}`,borderRadius:r.borderRadiusSM,cursor:"default",transition:`font-size ${r.motionDurationSlow}, line-height ${r.motionDurationSlow}, height ${r.motionDurationSlow}`,userSelect:"none",marginInlineEnd:I*2,paddingInlineStart:r.paddingXS,paddingInlineEnd:r.paddingXS/2,[`${y}-disabled&`]:{color:r.multipleItemColorDisabled,borderColor:r.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:r.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,u.Ro)()),{display:"inline-flex",alignItems:"center",color:r.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ee}`]:{verticalAlign:"-0.2em"},"&:hover":{color:r.colorIconHover}})},[`${M}-item + ${M}-item`]:{[`${y}-selection-search`]:{marginInlineStart:0}},[`${y}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:r.inputPaddingHorizontalBase-D,"\n &-input,\n &-mirror\n ":{height:V,fontFamily:r.fontFamily,lineHeight:`${V}px`,transition:`all ${r.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${y}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:r.inputPaddingHorizontalBase,insetInlineEnd:r.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${r.motionDurationSlow}`}}}}var ue=r=>{const{componentCls:h}=r,y=(0,v.TS)(r,{controlHeight:r.controlHeightSM,multipleSelectItemHeight:r.controlHeightXS,borderRadius:r.borderRadiusSM,borderRadiusSM:r.borderRadiusXS}),ee=(0,v.TS)(r,{fontSize:r.fontSizeLG,controlHeight:r.controlHeightLG,multipleSelectItemHeight:r.multipleItemHeightLG,borderRadius:r.borderRadiusLG,borderRadiusSM:r.borderRadius}),[,M]=le(r);return[C(r),C(y,"sm"),{[`${h}-multiple${h}-sm`]:{[`${h}-selection-placeholder`]:{insetInline:r.controlPaddingHorizontalSM-r.lineWidth},[`${h}-selection-search`]:{marginInlineStart:M}}},C(ee,"lg")]};function X(r,h){const{componentCls:y,inputPaddingHorizontalBase:ee,borderRadius:M}=r,V=r.controlHeight-r.lineWidth*2,D=Math.ceil(r.fontSize*1.25),Ie=h?`${y}-${h}`:"";return{[`${y}-single${Ie}`]:{fontSize:r.fontSize,[`${y}-selector`]:Object.assign(Object.assign({},(0,u.Wf)(r)),{display:"flex",borderRadius:M,[`${y}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ee,insetInlineEnd:ee,bottom:0,"&-input":{width:"100%"}},[` - ${y}-selection-item, - ${y}-selection-placeholder - `]:{padding:0,lineHeight:`${V}px`,transition:`all ${r.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${V}px`}},[`${y}-selection-item`]:{position:"relative",userSelect:"none"},[`${y}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${y}-selection-item:after`,`${y}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${y}-show-arrow ${y}-selection-item, - &${y}-show-arrow ${y}-selection-placeholder - `]:{paddingInlineEnd:D},[`&${y}-open ${y}-selection-item`]:{color:r.colorTextPlaceholder},[`&:not(${y}-customize-input)`]:{[`${y}-selector`]:{width:"100%",height:r.controlHeight,padding:`0 ${ee}px`,[`${y}-selection-search-input`]:{height:V},"&:after":{lineHeight:`${V}px`}}},[`&${y}-customize-input`]:{[`${y}-selector`]:{"&:after":{display:"none"},[`${y}-selection-search`]:{position:"static",width:"100%"},[`${y}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ee}px`,"&:after":{display:"none"}}}}}}}function U(r){const{componentCls:h}=r,y=r.controlPaddingHorizontalSM-r.lineWidth;return[X(r),X((0,v.TS)(r,{controlHeight:r.controlHeightSM,borderRadius:r.borderRadiusSM}),"sm"),{[`${h}-single${h}-sm`]:{[`&:not(${h}-customize-input)`]:{[`${h}-selection-search`]:{insetInlineStart:y,insetInlineEnd:y},[`${h}-selector`]:{padding:`0 ${y}px`},[`&${h}-show-arrow ${h}-selection-search`]:{insetInlineEnd:y+r.fontSize*1.5},[` - &${h}-show-arrow ${h}-selection-item, - &${h}-show-arrow ${h}-selection-placeholder - `]:{paddingInlineEnd:r.fontSize*1.5}}}},X((0,v.TS)(r,{controlHeight:r.singleItemHeightLG,fontSize:r.fontSizeLG,borderRadius:r.borderRadiusLG}),"lg")]}const $e=r=>{const{componentCls:h,selectorBg:y}=r;return{position:"relative",backgroundColor:y,border:`${r.lineWidth}px ${r.lineType} ${r.colorBorder}`,transition:`all ${r.motionDurationMid} ${r.motionEaseInOut}`,input:{cursor:"pointer"},[`${h}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${h}-disabled&`]:{color:r.colorTextDisabled,background:r.colorBgContainerDisabled,cursor:"not-allowed",[`${h}-multiple&`]:{background:r.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},se=function(r,h){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ee,borderHoverColor:M,outlineColor:V,antCls:D}=h,Ie=y?{[`${ee}-selector`]:{borderColor:M}}:{};return{[r]:{[`&:not(${ee}-disabled):not(${ee}-customize-input):not(${D}-pagination-size-changer)`]:Object.assign(Object.assign({},Ie),{[`${ee}-focused& ${ee}-selector`]:{borderColor:M,boxShadow:`0 0 0 ${h.controlOutlineWidth}px ${V}`,outline:0},[`&:hover ${ee}-selector`]:{borderColor:M}})}}},we=r=>{const{componentCls:h}=r;return{[`${h}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ce=r=>{const{componentCls:h,inputPaddingHorizontalBase:y,iconCls:ee}=r;return{[h]:Object.assign(Object.assign({},(0,u.Wf)(r)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${h}-customize-input) ${h}-selector`]:Object.assign(Object.assign({},$e(r)),we(r)),[`${h}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},u.vS),[`${h}-selection-placeholder`]:Object.assign(Object.assign({},u.vS),{flex:1,color:r.colorTextPlaceholder,pointerEvents:"none"}),[`${h}-arrow`]:Object.assign(Object.assign({},(0,u.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:y,height:r.fontSizeIcon,marginTop:-r.fontSizeIcon/2,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ee]:{verticalAlign:"top",transition:`transform ${r.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${h}-suffix)`]:{pointerEvents:"auto"}},[`${h}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${h}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:y,zIndex:1,display:"inline-block",width:r.fontSizeIcon,height:r.fontSizeIcon,marginTop:-r.fontSizeIcon/2,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:r.clearBg,cursor:"pointer",opacity:0,transition:`color ${r.motionDurationMid} ease, opacity ${r.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:r.colorTextTertiary}},"&:hover":{[`${h}-clear`]:{opacity:1}}}),[`${h}-has-feedback`]:{[`${h}-clear`]:{insetInlineEnd:y+r.fontSize+r.paddingXS}}}},L=r=>{const{componentCls:h}=r;return[{[h]:{[`&-borderless ${h}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${h}-in-form-item`]:{width:"100%"}}},ce(r),U(r),ue(r),q(r),{[`${h}-rtl`]:{direction:"rtl"}},se(h,(0,v.TS)(r,{borderHoverColor:r.colorPrimaryHover,outlineColor:r.controlOutline})),se(`${h}-status-error`,(0,v.TS)(r,{borderHoverColor:r.colorErrorHover,outlineColor:r.colorErrorOutline}),!0),se(`${h}-status-warning`,(0,v.TS)(r,{borderHoverColor:r.colorWarningHover,outlineColor:r.colorWarningOutline}),!0),(0,c.c)(r,{borderElCls:`${h}-selector`,focusElCls:`${h}-focused`})]};var m=(0,W.Z)("Select",(r,h)=>{let{rootPrefixCls:y}=h;const ee=(0,v.TS)(r,{rootPrefixCls:y,inputPaddingHorizontalBase:r.paddingSM-1,multipleSelectItemHeight:r.multipleItemHeight});return[L(ee)]},r=>{const{fontSize:h,lineHeight:y,controlHeight:ee,controlPaddingHorizontal:M,zIndexPopupBase:V,colorText:D,fontWeightStrong:Ie,controlItemBgActive:Q,controlItemBgHover:Ue,colorBgContainer:s,colorFillSecondary:F,controlHeightLG:A,controlHeightSM:O,colorBgContainerDisabled:H,colorTextDisabled:k}=r;return{zIndexPopup:V+50,optionSelectedColor:D,optionSelectedFontWeight:Ie,optionSelectedBg:Q,optionActiveBg:Ue,optionPadding:`${(ee-h*y)/2}px ${M}px`,optionFontSize:h,optionLineHeight:y,optionHeight:ee,selectorBg:s,clearBg:s,singleItemHeightLG:A,multipleItemBg:F,multipleItemBorderColor:"transparent",multipleItemHeight:O,multipleItemHeightLG:ee,multipleSelectorBgDisabled:H,multipleItemColorDisabled:k,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});const u=v=>{const b={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:v==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},b),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},b),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},b),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},b),{points:["br","tr"],offset:[0,-4]})}};function c(v,W){return v||u(W)}},84443:function(Dt,Me,e){e.d(Me,{Z:function(){return u}});function u(c,v){return v!==void 0?v:c!==null}},66339:function(Dt,Me,e){e.d(Me,{Z:function(){return ie}});var u=e(40001),c=e(19248),v=e(99267),W=e(84105),b=e(58617),$=e(47472),t=e(59301);function ie(q){let{suffixIcon:I,clearIcon:le,menuItemSelectedIcon:C,removeIcon:x,loading:ue,multiple:X,hasFeedback:U,prefixCls:$e,showSuffixIcon:se,feedbackIcon:we,showArrow:ce,componentName:L}=q;const m=le!=null?le:t.createElement(c.Z,null),r=M=>I===null&&!U&&!ce?null:t.createElement(t.Fragment,null,se!==!1&&M,U&&we);let h=null;if(I!==void 0)h=r(I);else if(ue)h=r(t.createElement(b.Z,{spin:!0}));else{const M=`${$e}-suffix`;h=V=>{let{open:D,showSearch:Ie}=V;return r(D&&Ie?t.createElement($.Z,{className:M}):t.createElement(W.Z,{className:M}))}}let y=null;C!==void 0?y=C:X?y=t.createElement(u.Z,null):y=null;let ee=null;return x!==void 0?ee=x:ee=t.createElement(v.Z,null),{clearIcon:m,suffixIcon:h,itemIcon:y,removeIcon:ee}}},61621:function(Dt,Me,e){e.d(Me,{Z:function(){return w}});var u=e(92310),c=e.n(u),v=e(59301),W=e(36355),b=e(2738),t=d=>{const{prefixCls:n,className:R,style:G,size:l,shape:o}=d,j=c()({[`${n}-lg`]:l==="large",[`${n}-sm`]:l==="small"}),g=c()({[`${n}-circle`]:o==="circle",[`${n}-square`]:o==="square",[`${n}-round`]:o==="round"}),f=v.useMemo(()=>typeof l=="number"?{width:l,height:l,lineHeight:`${l}px`}:{},[l]);return v.createElement("span",{className:c()(n,j,g,R),style:Object.assign(Object.assign({},f),G)})},ie=e(36237),q=e(83116),I=e(37613);const le=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),C=d=>({height:d,lineHeight:`${d}px`}),x=d=>Object.assign({width:d},C(d)),ue=d=>({background:d.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:le,animationDuration:d.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),X=d=>Object.assign({width:d*5,minWidth:d*5},C(d)),U=d=>{const{skeletonAvatarCls:n,gradientFromColor:R,controlHeight:G,controlHeightLG:l,controlHeightSM:o}=d;return{[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:R},x(G)),[`${n}${n}-circle`]:{borderRadius:"50%"},[`${n}${n}-lg`]:Object.assign({},x(l)),[`${n}${n}-sm`]:Object.assign({},x(o))}},$e=d=>{const{controlHeight:n,borderRadiusSM:R,skeletonInputCls:G,controlHeightLG:l,controlHeightSM:o,gradientFromColor:j}=d;return{[`${G}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:j,borderRadius:R},X(n)),[`${G}-lg`]:Object.assign({},X(l)),[`${G}-sm`]:Object.assign({},X(o))}},se=d=>Object.assign({width:d},C(d)),we=d=>{const{skeletonImageCls:n,imageSizeBase:R,gradientFromColor:G,borderRadiusSM:l}=d;return{[`${n}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:G,borderRadius:l},se(R*2)),{[`${n}-path`]:{fill:"#bfbfbf"},[`${n}-svg`]:Object.assign(Object.assign({},se(R)),{maxWidth:R*4,maxHeight:R*4}),[`${n}-svg${n}-svg-circle`]:{borderRadius:"50%"}}),[`${n}${n}-circle`]:{borderRadius:"50%"}}},ce=(d,n,R)=>{const{skeletonButtonCls:G}=d;return{[`${R}${G}-circle`]:{width:n,minWidth:n,borderRadius:"50%"},[`${R}${G}-round`]:{borderRadius:n}}},L=d=>Object.assign({width:d*2,minWidth:d*2},C(d)),m=d=>{const{borderRadiusSM:n,skeletonButtonCls:R,controlHeight:G,controlHeightLG:l,controlHeightSM:o,gradientFromColor:j}=d;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:j,borderRadius:n,width:G*2,minWidth:G*2},L(G))},ce(d,G,R)),{[`${R}-lg`]:Object.assign({},L(l))}),ce(d,l,`${R}-lg`)),{[`${R}-sm`]:Object.assign({},L(o))}),ce(d,o,`${R}-sm`))},r=d=>{const{componentCls:n,skeletonAvatarCls:R,skeletonTitleCls:G,skeletonParagraphCls:l,skeletonButtonCls:o,skeletonInputCls:j,skeletonImageCls:g,controlHeight:f,controlHeightLG:K,controlHeightSM:ge,gradientFromColor:te,padding:ve,marginSM:de,borderRadius:p,titleHeight:E,blockRadius:oe,paragraphLiHeight:Ee,controlHeightXS:Se,paragraphMarginTop:Le}=d;return{[`${n}`]:{display:"table",width:"100%",[`${n}-header`]:{display:"table-cell",paddingInlineEnd:ve,verticalAlign:"top",[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:te},x(f)),[`${R}-circle`]:{borderRadius:"50%"},[`${R}-lg`]:Object.assign({},x(K)),[`${R}-sm`]:Object.assign({},x(ge))},[`${n}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${G}`]:{width:"100%",height:E,background:te,borderRadius:oe,[`+ ${l}`]:{marginBlockStart:ge}},[`${l}`]:{padding:0,"> li":{width:"100%",height:Ee,listStyle:"none",background:te,borderRadius:oe,"+ li":{marginBlockStart:Se}}},[`${l}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${n}-content`]:{[`${G}, ${l} > li`]:{borderRadius:p}}},[`${n}-with-avatar ${n}-content`]:{[`${G}`]:{marginBlockStart:de,[`+ ${l}`]:{marginBlockStart:Le}}},[`${n}${n}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},m(d)),U(d)),$e(d)),we(d)),[`${n}${n}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${j}`]:{width:"100%"}},[`${n}${n}-active`]:{[` - ${G}, - ${l} > li, - ${R}, - ${o}, - ${j}, - ${g} - `]:Object.assign({},ue(d))}}};var h=(0,q.Z)("Skeleton",d=>{const{componentCls:n}=d,R=(0,I.TS)(d,{skeletonAvatarCls:`${n}-avatar`,skeletonTitleCls:`${n}-title`,skeletonParagraphCls:`${n}-paragraph`,skeletonButtonCls:`${n}-button`,skeletonInputCls:`${n}-input`,skeletonImageCls:`${n}-image`,imageSizeBase:d.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${d.gradientFromColor} 25%, ${d.gradientToColor} 37%, ${d.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[r(R)]},d=>{const{colorFillContent:n,colorFill:R}=d,G=n,l=R;return{color:G,colorGradientEnd:l,gradientFromColor:G,gradientToColor:l,titleHeight:d.controlHeight/2,blockRadius:d.borderRadiusSM,paragraphMarginTop:d.marginLG+d.marginXXS,paragraphLiHeight:d.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ee=d=>{const{prefixCls:n,className:R,rootClassName:G,active:l,shape:o="circle",size:j="default"}=d,{getPrefixCls:g}=v.useContext(W.E_),f=g("skeleton",n),[K,ge]=h(f),te=(0,b.Z)(d,["prefixCls","className"]),ve=c()(f,`${f}-element`,{[`${f}-active`]:l},R,G,ge);return K(v.createElement("div",{className:ve},v.createElement(t,Object.assign({prefixCls:`${f}-avatar`,shape:o,size:j},te))))},V=d=>{const{prefixCls:n,className:R,rootClassName:G,active:l,block:o=!1,size:j="default"}=d,{getPrefixCls:g}=v.useContext(W.E_),f=g("skeleton",n),[K,ge]=h(f),te=(0,b.Z)(d,["prefixCls"]),ve=c()(f,`${f}-element`,{[`${f}-active`]:l,[`${f}-block`]:o},R,G,ge);return K(v.createElement("div",{className:ve},v.createElement(t,Object.assign({prefixCls:`${f}-button`,size:j},te))))};const D="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Q=d=>{const{prefixCls:n,className:R,rootClassName:G,style:l,active:o}=d,{getPrefixCls:j}=v.useContext(W.E_),g=j("skeleton",n),[f,K]=h(g),ge=c()(g,`${g}-element`,{[`${g}-active`]:o},R,G,K);return f(v.createElement("div",{className:ge},v.createElement("div",{className:c()(`${g}-image`,R),style:l},v.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${g}-image-svg`},v.createElement("path",{d:D,className:`${g}-image-path`})))))},s=d=>{const{prefixCls:n,className:R,rootClassName:G,active:l,block:o,size:j="default"}=d,{getPrefixCls:g}=v.useContext(W.E_),f=g("skeleton",n),[K,ge]=h(f),te=(0,b.Z)(d,["prefixCls"]),ve=c()(f,`${f}-element`,{[`${f}-active`]:l,[`${f}-block`]:o},R,G,ge);return K(v.createElement("div",{className:ve},v.createElement(t,Object.assign({prefixCls:`${f}-input`,size:j},te))))},F=e(54476),A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},O=A,H=e(7657),k=function(n,R){return v.createElement(H.Z,(0,F.Z)({},n,{ref:R,icon:O}))},ne=v.forwardRef(k),re=ne,Y=d=>{const{prefixCls:n,className:R,rootClassName:G,style:l,active:o,children:j}=d,{getPrefixCls:g}=v.useContext(W.E_),f=g("skeleton",n),[K,ge]=h(f),te=c()(f,`${f}-element`,{[`${f}-active`]:o},ge,R,G),ve=j!=null?j:v.createElement(re,null);return K(v.createElement("div",{className:te},v.createElement("div",{className:c()(`${f}-image`,R),style:l},ve)))},be=e(94480),Ve=d=>{const n=g=>{const{width:f,rows:K=2}=d;if(Array.isArray(f))return f[g];if(K-1===g)return f},{prefixCls:R,className:G,style:l,rows:o}=d,j=(0,be.Z)(Array(o)).map((g,f)=>v.createElement("li",{key:f,style:{width:n(f)}}));return v.createElement("ul",{className:c()(R,G),style:l},j)},ke=d=>{let{prefixCls:n,className:R,width:G,style:l}=d;return v.createElement("h3",{className:c()(n,R),style:Object.assign({width:G},l)})};function Ge(d){return d&&typeof d=="object"?d:{}}function at(d,n){return d&&!n?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Xe(d,n){return!d&&n?{width:"38%"}:d&&n?{width:"50%"}:{}}function me(d,n){const R={};return(!d||!n)&&(R.width="61%"),!d&&n?R.rows=3:R.rows=2,R}const Ke=d=>{const{prefixCls:n,loading:R,className:G,rootClassName:l,style:o,children:j,avatar:g=!1,title:f=!0,paragraph:K=!0,active:ge,round:te}=d,{getPrefixCls:ve,direction:de,skeleton:p}=v.useContext(W.E_),E=ve("skeleton",n),[oe,Ee]=h(E);if(R||!("loading"in d)){const Se=!!g,Le=!!f,Qe=!!K;let Je;if(Se){const mt=Object.assign(Object.assign({prefixCls:`${E}-avatar`},at(Le,Qe)),Ge(g));Je=v.createElement("div",{className:`${E}-header`},v.createElement(t,Object.assign({},mt)))}let _e;if(Le||Qe){let mt;if(Le){const St=Object.assign(Object.assign({prefixCls:`${E}-title`},Xe(Se,Qe)),Ge(f));mt=v.createElement(ke,Object.assign({},St))}let It;if(Qe){const St=Object.assign(Object.assign({prefixCls:`${E}-paragraph`},me(Se,Le)),Ge(K));It=v.createElement(Ve,Object.assign({},St))}_e=v.createElement("div",{className:`${E}-content`},mt,It)}const ut=c()(E,{[`${E}-with-avatar`]:Se,[`${E}-active`]:ge,[`${E}-rtl`]:de==="rtl",[`${E}-round`]:te},p==null?void 0:p.className,G,l,Ee);return oe(v.createElement("div",{className:ut,style:Object.assign(Object.assign({},p==null?void 0:p.style),o)},Je,_e))}return typeof j!="undefined"?j:null};Ke.Button=V,Ke.Avatar=ee,Ke.Input=s,Ke.Image=Q,Ke.Node=Y;var B=Ke,w=B},81327:function(Dt,Me,e){e.d(Me,{Z:function(){return $e}});var u=e(59301),c=e(92310),v=e.n(c),W=e(11592),b=e(36355),$=e(33234);const t=u.createContext({latestIndex:0}),ie=t.Provider;var I=se=>{let{className:we,index:ce,children:L,split:m,style:r}=se;const{latestIndex:h}=u.useContext(t);return L==null?null:u.createElement(u.Fragment,null,u.createElement("div",{className:we,style:r},L),ce{var ce,L;const{getPrefixCls:m,space:r,direction:h}=u.useContext(b.E_),{size:y=(r==null?void 0:r.size)||"small",align:ee,className:M,rootClassName:V,children:D,direction:Ie="horizontal",prefixCls:Q,split:Ue,style:s,wrap:F=!1,classNames:A,styles:O}=se,H=ue(se,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[k,ne]=Array.isArray(y)?y:[y,y],re=C(ne),ae=C(k),Y=x(ne),be=x(k),Re=(0,W.Z)(D,{keepEmpty:!0}),Ve=ee===void 0&&Ie==="horizontal"?"center":ee,Fe=m("space",Q),[ke,Ge]=(0,le.Z)(Fe),at=v()(Fe,r==null?void 0:r.className,Ge,`${Fe}-${Ie}`,{[`${Fe}-rtl`]:h==="rtl",[`${Fe}-align-${Ve}`]:Ve,[`${Fe}-gap-row-${ne}`]:re,[`${Fe}-gap-col-${k}`]:ae},M,V),Xe=v()(`${Fe}-item`,(ce=A==null?void 0:A.item)!==null&&ce!==void 0?ce:(L=r==null?void 0:r.classNames)===null||L===void 0?void 0:L.item);let me=0;const Ke=Re.map((d,n)=>{var R,G;d!=null&&(me=n);const l=d&&d.key||`${Xe}-${n}`;return u.createElement(I,{className:Xe,key:l,index:n,split:Ue,style:(R=O==null?void 0:O.item)!==null&&R!==void 0?R:(G=r==null?void 0:r.styles)===null||G===void 0?void 0:G.item},d)}),B=u.useMemo(()=>({latestIndex:me}),[me]);if(Re.length===0)return null;const w={};return F&&(w.flexWrap="wrap"),!ae&&be&&(w.columnGap=k),!re&&Y&&(w.rowGap=ne),ke(u.createElement("div",Object.assign({ref:we,className:at,style:Object.assign(Object.assign(Object.assign({},w),r==null?void 0:r.style),s)},H),u.createElement(ie,{value:B},Ke)))});U.Compact=$.ZP;var $e=U},8378:function(Dt,Me){const e=u=>({[u.componentCls]:{[`${u.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${u.motionDurationMid} ${u.motionEaseInOut}, - opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}},[`${u.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${u.motionDurationMid} ${u.motionEaseInOut}, - opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}}});Me.Z=e},92899:function(Dt,Me,e){e.d(Me,{Fm:function(){return C}});var u=e(36237),c=e(95406);const v=new u.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),W=new u.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),b=new u.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$=new u.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),t=new u.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ie=new u.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),q=new u.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),I=new u.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),le={"move-up":{inKeyframes:q,outKeyframes:I},"move-down":{inKeyframes:v,outKeyframes:W},"move-left":{inKeyframes:b,outKeyframes:$},"move-right":{inKeyframes:t,outKeyframes:ie}},C=(x,ue)=>{const{antCls:X}=x,U=`${X}-${ue}`,{inKeyframes:$e,outKeyframes:se}=le[ue];return[(0,c.R)(U,$e,se,x.motionDurationMid),{[` - ${U}-enter, - ${U}-appear - `]:{opacity:0,animationTimingFunction:x.motionEaseOutCirc},[`${U}-leave`]:{animationTimingFunction:x.motionEaseInOutCirc}}]}},13826:function(Dt,Me,e){e.d(Me,{Qt:function(){return b},Uw:function(){return W},fJ:function(){return v},ly:function(){return $},oN:function(){return C}});var u=e(36237),c=e(95406);const v=new u.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),W=new u.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),b=new u.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),$=new u.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),t=new u.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),ie=new u.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),q=new u.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),I=new u.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),le={"slide-up":{inKeyframes:v,outKeyframes:W},"slide-down":{inKeyframes:b,outKeyframes:$},"slide-left":{inKeyframes:t,outKeyframes:ie},"slide-right":{inKeyframes:q,outKeyframes:I}},C=(x,ue)=>{const{antCls:X}=x,U=`${X}-${ue}`,{inKeyframes:$e,outKeyframes:se}=le[ue];return[(0,c.R)(U,$e,se,x.motionDurationMid),{[` - ${U}-enter, - ${U}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:x.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${U}-leave`]:{animationTimingFunction:x.motionEaseInQuint}}]}},15969:function(Dt,Me,e){e.d(Me,{N:function(){return u}});const u=c=>({color:c.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${c.motionDurationSlow}`,"&:focus, &:hover":{color:c.colorLinkHover},"&:active":{color:c.colorLinkActive}})},1710:function(Dt,Me,e){e.d(Me,{default:function(){return Ai}});var u={},c="rc-table-internal-hook",v=e(42978),W=e(6089),b=e(34280),$=e(13697),t=e(59301),ie=e(4676);function q(a){var i=t.createContext(void 0),P=function(J){var _=J.value,ye=J.children,Ce=t.useRef(_);Ce.current=_;var pe=t.useState(function(){return{getValue:function(){return Ce.current},listeners:new Set}}),Te=(0,v.Z)(pe,1),je=Te[0];return(0,b.Z)(function(){(0,ie.unstable_batchedUpdates)(function(){je.listeners.forEach(function(ze){ze(_)})})},[_]),t.createElement(i.Provider,{value:je},ye)};return{Context:i,Provider:P,defaultValue:a}}function I(a,i){var P=(0,W.Z)(typeof i=="function"?i:function(ze){if(i===void 0)return ze;if(!Array.isArray(i))return ze[i];var rt={};return i.forEach(function(et){rt[et]=ze[et]}),rt}),z=t.useContext(a==null?void 0:a.Context),J=z||{},_=J.listeners,ye=J.getValue,Ce=t.useRef();Ce.current=P(z?ye():a==null?void 0:a.defaultValue);var pe=t.useState({}),Te=(0,v.Z)(pe,2),je=Te[1];return(0,b.Z)(function(){if(!z)return;function ze(rt){var et=P(rt);(0,$.Z)(Ce.current,et,!0)||je({})}return _.add(ze),function(){_.delete(ze)}},[z]),Ce.current}var le=e(54476),C=e(8654);function x(){var a=t.createContext(null);function i(){return t.useContext(a)}function P(J,_){var ye=(0,C.Yr)(J),Ce=function(Te,je){var ze=ye?{ref:je}:{},rt=t.useRef(0),et=t.useRef(Te),tt=i();return tt!==null?t.createElement(J,(0,le.Z)({},Te,ze)):((!_||_(et.current,Te))&&(rt.current+=1),et.current=Te,t.createElement(a.Provider,{value:rt.current},t.createElement(J,(0,le.Z)({},Te,ze))))};return ye?t.forwardRef(Ce):Ce}function z(J,_){var ye=(0,C.Yr)(J),Ce=function(Te,je){var ze=ye?{ref:je}:{};return i(),t.createElement(J,(0,le.Z)({},Te,ze))};return ye?t.memo(t.forwardRef(Ce),_):t.memo(Ce,_)}return{makeImmutable:P,responseImmutable:z,useImmutableMark:i}}var ue=x(),X=ue.makeImmutable,U=ue.responseImmutable,$e=ue.useImmutableMark,se=x(),we=se.makeImmutable,ce=se.responseImmutable,L=se.useImmutableMark,m=q(),r=m;function h(a,i){var P=t.useRef(0);P.current+=1;var z=t.useRef(a),J=[];Object.keys(a||{}).map(function(ye){var Ce;(a==null?void 0:a[ye])!==((Ce=z.current)===null||Ce===void 0?void 0:Ce[ye])&&J.push(ye)}),z.current=a;var _=t.useRef([]);return J.length&&(_.current=J),t.useDebugValue(P.current),t.useDebugValue(_.current.join(", ")),i&&console.log("".concat(i,":"),P.current,_.current),P.current}var y=null,ee=t.memo(function(){var a=h();return t.createElement("h1",null,"Render Times: ",a)});ee.displayName="RenderBlock";var M=e(76190),V=e(33885),D=e(20068),Ie=e(92310),Q=e.n(Ie),Ue=e(80547),s=e(97938),F=e(48736),A=t.createContext({renderWithProps:!1}),O=A,H="RC_TABLE_KEY";function k(a){return a==null?[]:Array.isArray(a)?a:[a]}function ne(a){var i=[],P={};return a.forEach(function(z){for(var J=z||{},_=J.key,ye=J.dataIndex,Ce=_||k(ye).join("-")||H;P[Ce];)Ce="".concat(Ce,"_next");P[Ce]=!0,i.push(Ce)}),i}function re(a){return a!=null}function ae(a){return a&&(0,M.Z)(a)==="object"&&!Array.isArray(a)&&!t.isValidElement(a)}function Y(a,i,P,z,J,_){var ye=t.useContext(O),Ce=L(),pe=(0,Ue.Z)(function(){if(re(z))return[z];var Te=i==null||i===""?[]:Array.isArray(i)?i:[i],je=(0,s.Z)(a,Te),ze=je,rt=void 0;if(J){var et=J(je,a,P);ae(et)?(ze=et.children,rt=et.props,ye.renderWithProps=!0):ze=et}return[ze,rt]},[Ce,a,z,i,J,P],function(Te,je){if(_){var ze=(0,v.Z)(Te,2),rt=ze[1],et=(0,v.Z)(je,2),tt=et[1];return _(tt,rt)}return ye.renderWithProps?!0:!(0,$.Z)(Te,je,!0)});return pe}function be(a,i,P,z){var J=a+i-1;return a<=z&&J>=P}function Re(a,i){return I(r,function(P){var z=be(a,i||1,P.hoverStartRow,P.hoverEndRow);return[z,P.onHover]})}var Ve=function(i){var P=i.ellipsis,z=i.rowType,J=i.children,_,ye=P===!0?{showTitle:!0}:P;return ye&&(ye.showTitle||z==="header")&&(typeof J=="string"||typeof J=="number"?_=J.toString():t.isValidElement(J)&&typeof J.props.children=="string"&&(_=J.props.children)),_};function Fe(a){var i,P,z,J,_,ye,Ce,pe,Te=a.component,je=a.children,ze=a.ellipsis,rt=a.scope,et=a.prefixCls,tt=a.className,xt=a.align,ht=a.record,Et=a.render,bt=a.dataIndex,Mt=a.renderIndex,cn=a.shouldCellUpdate,fn=a.index,kt=a.rowType,Mn=a.colSpan,zn=a.rowSpan,Ft=a.fixLeft,Xt=a.fixRight,Lt=a.firstFixLeft,$t=a.lastFixLeft,Vt=a.firstFixRight,Pn=a.lastFixRight,Ln=a.appendNode,Zn=a.additionalProps,pn=Zn===void 0?{}:Zn,jn=a.isSticky,kn="".concat(et,"-cell"),vr=I(r,["supportSticky","allColumnsFixedLeft"]),rr=vr.supportSticky,Br=vr.allColumnsFixedLeft,Tr=Y(ht,bt,Mt,je,Et,cn),Fn=(0,v.Z)(Tr,2),kr=Fn[0],ar=Fn[1],Sr={},yr=typeof Ft=="number"&&rr,ba=typeof Xt=="number"&&rr;yr&&(Sr.position="sticky",Sr.left=Ft),ba&&(Sr.position="sticky",Sr.right=Xt);var On=(i=(P=(z=ar==null?void 0:ar.colSpan)!==null&&z!==void 0?z:pn.colSpan)!==null&&P!==void 0?P:Mn)!==null&&i!==void 0?i:1,Sn=(J=(_=(ye=ar==null?void 0:ar.rowSpan)!==null&&ye!==void 0?ye:pn.rowSpan)!==null&&_!==void 0?_:zn)!==null&&J!==void 0?J:1,hn=Re(fn,Sn),an=(0,v.Z)(hn,2),or=an[0],on=an[1],An=function(Gr){var ya;ht&&on(fn,fn+Sn-1),pn==null||(ya=pn.onMouseEnter)===null||ya===void 0||ya.call(pn,Gr)},er=function(Gr){var ya;ht&&on(-1,-1),pn==null||(ya=pn.onMouseLeave)===null||ya===void 0||ya.call(pn,Gr)};if(On===0||Sn===0)return null;var Jn=(Ce=pn.title)!==null&&Ce!==void 0?Ce:Ve({rowType:kt,ellipsis:ze,children:kr}),sa=Q()(kn,tt,(pe={},(0,D.Z)(pe,"".concat(kn,"-fix-left"),yr&&rr),(0,D.Z)(pe,"".concat(kn,"-fix-left-first"),Lt&&rr),(0,D.Z)(pe,"".concat(kn,"-fix-left-last"),$t&&rr),(0,D.Z)(pe,"".concat(kn,"-fix-left-all"),$t&&Br&&rr),(0,D.Z)(pe,"".concat(kn,"-fix-right"),ba&&rr),(0,D.Z)(pe,"".concat(kn,"-fix-right-first"),Vt&&rr),(0,D.Z)(pe,"".concat(kn,"-fix-right-last"),Pn&&rr),(0,D.Z)(pe,"".concat(kn,"-ellipsis"),ze),(0,D.Z)(pe,"".concat(kn,"-with-append"),Ln),(0,D.Z)(pe,"".concat(kn,"-fix-sticky"),(yr||ba)&&jn&&rr),(0,D.Z)(pe,"".concat(kn,"-row-hover"),!ar&&or),pe),pn.className,ar==null?void 0:ar.className),ra={};xt&&(ra.textAlign=xt);var Za=(0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)({},Sr),pn.style),ra),ar==null?void 0:ar.style),Ur=kr;return(0,M.Z)(Ur)==="object"&&!Array.isArray(Ur)&&!t.isValidElement(Ur)&&(Ur=null),ze&&($t||Vt)&&(Ur=t.createElement("span",{className:"".concat(kn,"-content")},Ur)),t.createElement(Te,(0,le.Z)({},ar,pn,{className:sa,style:Za,title:Jn,scope:rt,onMouseEnter:An,onMouseLeave:er,colSpan:On!==1?On:null,rowSpan:Sn!==1?Sn:null}),Ln,Ur)}var ke=t.memo(Fe);function Ge(a,i,P,z,J,_){var ye=P[a]||{},Ce=P[i]||{},pe,Te;ye.fixed==="left"?pe=z.left[J==="rtl"?i:a]:Ce.fixed==="right"&&(Te=z.right[J==="rtl"?a:i]);var je=!1,ze=!1,rt=!1,et=!1,tt=P[i+1],xt=P[a-1],ht=!(_!=null&&_.children);if(J==="rtl"){if(pe!==void 0){var Et=xt&&xt.fixed==="left";et=!Et&&ht}else if(Te!==void 0){var bt=tt&&tt.fixed==="right";rt=!bt&&ht}}else if(pe!==void 0){var Mt=tt&&tt.fixed==="left";je=!Mt&&ht}else if(Te!==void 0){var cn=xt&&xt.fixed==="right";ze=!cn&&ht}return{fixLeft:pe,fixRight:Te,lastFixLeft:je,firstFixRight:ze,lastFixRight:rt,firstFixLeft:et,isSticky:z.isSticky}}var at=t.createContext({}),Xe=at;function me(a){var i=a.className,P=a.index,z=a.children,J=a.colSpan,_=J===void 0?1:J,ye=a.rowSpan,Ce=a.align,pe=I(r,["prefixCls","direction"]),Te=pe.prefixCls,je=pe.direction,ze=t.useContext(Xe),rt=ze.scrollColumnIndex,et=ze.stickyOffsets,tt=ze.flattenColumns,xt=ze.columns,ht=P+_-1,Et=ht+1===rt?_+1:_,bt=Ge(P,P+Et-1,tt,et,je,xt==null?void 0:xt[P]);return t.createElement(ke,(0,le.Z)({className:i,index:P,component:"td",prefixCls:Te,record:null,dataIndex:null,align:Ce,colSpan:Et,rowSpan:ye,render:function(){return z}},bt))}var Ke=e(75931),B=["children"];function w(a){var i=a.children,P=(0,Ke.Z)(a,B);return t.createElement("tr",P,i)}function d(a){var i=a.children;return i}d.Row=w,d.Cell=me;var n=d;function R(a){var i=a.children,P=a.stickyOffsets,z=a.flattenColumns,J=a.columns,_=I(r,"prefixCls"),ye=z.length-1,Ce=z[ye],pe=t.useMemo(function(){return{stickyOffsets:P,flattenColumns:z,scrollColumnIndex:Ce!=null&&Ce.scrollbar?ye:null,columns:J}},[Ce,z,ye,P,J]);return t.createElement(Xe.Provider,{value:pe},t.createElement("tfoot",{className:"".concat(_,"-summary")},i))}var G=ce(R),l=n,o=e(70425),j=e(29301),g=e(29194),f=e(3465),K=e(75152),ge=e(26112);function te(a,i,P,z,J,_,ye){a.push({record:i,indent:P,index:ye});var Ce=_(i),pe=J==null?void 0:J.has(Ce);if(i&&Array.isArray(i[z])&&pe)for(var Te=0;Te1?Lt-1:0),Vt=1;Vt=0;Ce-=1){var pe=i[Ce],Te=P&&P[Ce],je=Te&&Te[mt];if(pe||je||ye){var ze=je||{},rt=ze.columnType,et=(0,Ke.Z)(ze,St);J.unshift(t.createElement("col",(0,le.Z)({key:Ce,style:{width:pe}},et))),ye=!0}}return t.createElement("colgroup",null,J)}var Yt=Tt,gt=e(94480),Ut=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Nn(a,i){return(0,t.useMemo)(function(){for(var P=[],z=0;z1?"colgroup":"col":null,ellipsis:ht.ellipsis,align:ht.align,component:ht.title?_:ye,prefixCls:je,key:et[xt]},Et,{additionalProps:bt,rowType:"header"}))}))}mn.displayName="HeaderRow";var un=mn;function Tn(a){var i=[];function P(ye,Ce){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;i[pe]=i[pe]||[];var Te=Ce,je=ye.filter(Boolean).map(function(ze){var rt={key:ze.key,className:ze.className||"",children:ze.title,column:ze,colStart:Te},et=1,tt=ze.children;return tt&&tt.length>0&&(et=P(tt,Te,pe+1).reduce(function(xt,ht){return xt+ht},0),rt.hasSubColumns=!0),"colSpan"in ze&&(et=ze.colSpan),"rowSpan"in ze&&(rt.rowSpan=ze.rowSpan),rt.colSpan=et,rt.colEnd=rt.colStart+et-1,i[pe].push(rt),Te+=et,et});return je}P(a,0);for(var z=i.length,J=function(Ce){i[Ce].forEach(function(pe){!("rowSpan"in pe)&&!pe.hasSubColumns&&(pe.rowSpan=z-Ce)})},_=0;_1&&arguments[1]!==void 0?arguments[1]:"";return typeof i=="number"?i:i.endsWith("%")?a*parseFloat(i)/100:null}function Zt(a,i){return t.useMemo(function(){if(i&&i>0){var P=0,z=0;a.forEach(function(Te){var je=vn(i,Te.width);je?P+=je:z+=1});var J=i-P,_=z,ye=J/z,Ce=0,pe=a.map(function(Te){var je=(0,V.Z)({},Te),ze=vn(i,je.width);if(ze)je.width=ze;else{var rt=Math.floor(ye);je.width=_===1?J:rt,J-=rt,_-=1}return Ce+=je.width,je});return[pe,Ce]}return[a,i]},[a,i])}var yn=["children"],dn=["fixed"];function S(a){return(0,_n.Z)(a).filter(function(i){return t.isValidElement(i)}).map(function(i){var P=i.key,z=i.props,J=z.children,_=(0,Ke.Z)(z,yn),ye=(0,V.Z)({key:P},_);return J&&(ye.children=S(J)),ye})}function Z(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return a.filter(function(P){return P&&(0,M.Z)(P)==="object"}).reduce(function(P,z,J){var _=z.fixed,ye=_===!0?"left":_,Ce="".concat(i,"-").concat(J),pe=z.children;return pe&&pe.length>0?[].concat((0,gt.Z)(P),(0,gt.Z)(Z(pe,Ce).map(function(Te){return(0,V.Z)({fixed:ye},Te)}))):[].concat((0,gt.Z)(P),[(0,V.Z)((0,V.Z)({key:Ce},z),{},{fixed:ye})])},[])}function T(a){for(var i=!0,P=0;P=0;_-=1){var ye=a[_];if(J&&ye.fixed!=="right")J=!1;else if(!J&&ye.fixed==="right"){warning(!1,"Index ".concat(_+1," of `columns` missing `fixed='right'` prop."));break}}}function N(a){return a.map(function(i){var P=i.fixed,z=(0,Ke.Z)(i,dn),J=P;return P==="left"?J="right":P==="right"&&(J="left"),(0,V.Z)({fixed:J},z)})}function he(a,i){var P=a.prefixCls,z=a.columns,J=a.children,_=a.expandable,ye=a.expandedKeys,Ce=a.columnTitle,pe=a.getRowKey,Te=a.onTriggerExpand,je=a.expandIcon,ze=a.rowExpandable,rt=a.expandIconColumnIndex,et=a.direction,tt=a.expandRowByClick,xt=a.columnWidth,ht=a.fixed,Et=a.scrollWidth,bt=t.useMemo(function(){return z||S(J)},[z,J]),Mt=t.useMemo(function(){if(_){var Xt,Lt=bt.slice();if(!Lt.includes(u)){var $t=rt||0;$t>=0&&Lt.splice($t,0,u)}var Vt=Lt.indexOf(u);Lt=Lt.filter(function(pn,jn){return pn!==u||jn===Vt});var Pn=bt[Vt],Ln;(ht==="left"||ht)&&!rt?Ln="left":(ht==="right"||ht)&&rt===bt.length?Ln="right":Ln=Pn?Pn.fixed:null;var Zn=(Xt={},(0,D.Z)(Xt,mt,{className:"".concat(P,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,D.Z)(Xt,"title",Ce),(0,D.Z)(Xt,"fixed",Ln),(0,D.Z)(Xt,"className","".concat(P,"-row-expand-icon-cell")),(0,D.Z)(Xt,"width",xt),(0,D.Z)(Xt,"render",function(jn,kn,vr){var rr=pe(kn,vr),Br=ye.has(rr),Tr=ze?ze(kn):!0,Fn=je({prefixCls:P,expanded:Br,expandable:Tr,record:kn,onExpand:Te});return tt?t.createElement("span",{onClick:function(ar){return ar.stopPropagation()}},Fn):Fn}),Xt);return Lt.map(function(pn){return pn===u?Zn:pn})}return bt.filter(function(pn){return pn!==u})},[_,bt,pe,ye,je,et]),cn=t.useMemo(function(){var Xt=Mt;return i&&(Xt=i(Xt)),Xt.length||(Xt=[{render:function(){return null}}]),Xt},[i,Mt,et]),fn=t.useMemo(function(){return et==="rtl"?N(Z(cn)):Z(cn)},[cn,et,Et]),kt=Zt(fn,Et),Mn=(0,v.Z)(kt,2),zn=Mn[0],Ft=Mn[1];return[cn,zn,Ft]}var fe=he;function He(a){var i,P=a.prefixCls,z=a.record,J=a.onExpand,_=a.expanded,ye=a.expandable,Ce="".concat(P,"-row-expand-icon");if(!ye)return t.createElement("span",{className:Q()(Ce,"".concat(P,"-row-spaced"))});var pe=function(je){J(z,je),je.stopPropagation()};return t.createElement("span",{className:Q()(Ce,(i={},(0,D.Z)(i,"".concat(P,"-row-expanded"),_),(0,D.Z)(i,"".concat(P,"-row-collapsed"),!_),i)),onClick:pe})}function Ae(a,i,P){var z=[];function J(_){(_||[]).forEach(function(ye,Ce){z.push(i(ye,Ce)),J(ye[P])})}return J(a),z}function Ye(a,i,P){var z=It(a),J=z.expandIcon,_=z.expandedRowKeys,ye=z.defaultExpandedRowKeys,Ce=z.defaultExpandAllRows,pe=z.expandedRowRender,Te=z.onExpand,je=z.onExpandedRowsChange,ze=z.childrenColumnName,rt=J||He,et=ze||"children",tt=t.useMemo(function(){return pe?"row":a.expandable&&a.internalHooks===c&&a.expandable.__PARENT_RENDER_ICON__||i.some(function(fn){return fn&&(0,M.Z)(fn)==="object"&&fn[et]})?"nest":!1},[!!pe,i]),xt=t.useState(function(){return ye||(Ce?Ae(i,P,et):[])}),ht=(0,v.Z)(xt,2),Et=ht[0],bt=ht[1],Mt=t.useMemo(function(){return new Set(_||Et||[])},[_,Et]),cn=t.useCallback(function(fn){var kt=P(fn,i.indexOf(fn)),Mn,zn=Mt.has(kt);zn?(Mt.delete(kt),Mn=(0,gt.Z)(Mt)):Mn=[].concat((0,gt.Z)(Mt),[kt]),bt(Mn),Te&&Te(!zn,fn),je&&je(Mn)},[P,Mt,i,Te,je]);return[z,tt,Mt,rt,et,cn]}function nt(a,i,P,z){var J=a.map(function(_,ye){return Ge(ye,ye,a,i,P,z==null?void 0:z[ye])});return(0,Ue.Z)(function(){return J},[J],function(_,ye){return!(0,$.Z)(_,ye)})}function dt(a){var i=(0,t.useRef)(a),P=(0,t.useState)({}),z=(0,v.Z)(P,2),J=z[1],_=(0,t.useRef)(null),ye=(0,t.useRef)([]);function Ce(pe){ye.current.push(pe);var Te=Promise.resolve();_.current=Te,Te.then(function(){if(_.current===Te){var je=ye.current,ze=i.current;ye.current=[],je.forEach(function(rt){i.current=rt(i.current)}),_.current=null,ze!==i.current&&J({})}})}return(0,t.useEffect)(function(){return function(){_.current=null}},[]),[i.current,Ce]}function it(a){var i=(0,t.useRef)(a||null),P=(0,t.useRef)();function z(){window.clearTimeout(P.current)}function J(ye){i.current=ye,z(),P.current=window.setTimeout(function(){i.current=null,P.current=void 0},100)}function _(){return i.current}return(0,t.useEffect)(function(){return z},[]),[J,_]}function qe(){var a=t.useState(-1),i=(0,v.Z)(a,2),P=i[0],z=i[1],J=t.useState(-1),_=(0,v.Z)(J,2),ye=_[0],Ce=_[1],pe=t.useCallback(function(Te,je){z(Te),Ce(je)},[]);return[P,ye,pe]}var ot=e(47273),Ct=(0,ot.Z)()?window:null;function lt(a,i){var P=(0,M.Z)(a)==="object"?a:{},z=P.offsetHeader,J=z===void 0?0:z,_=P.offsetSummary,ye=_===void 0?0:_,Ce=P.offsetScroll,pe=Ce===void 0?0:Ce,Te=P.getContainer,je=Te===void 0?function(){return Ct}:Te,ze=je()||Ct;return t.useMemo(function(){var rt=!!a;return{isSticky:rt,stickyClassName:rt?"".concat(i,"-sticky-holder"):"",offsetHeader:J,offsetSummary:ye,offsetScroll:pe,container:ze}},[pe,J,ye,i,ze])}function Ot(a,i,P){var z=(0,t.useMemo)(function(){for(var J=[],_=[],ye=0,Ce=0,pe=0;pe=ze&&(pn=ze-rt),ye({scrollLeft:pn/ze*(je+2)}),bt.current.x=Vt.pageX},Xt=function(){if(_.current){var Vt=(0,Oe.os)(_.current).top,Pn=Vt+_.current.offsetHeight,Ln=pe===window?document.documentElement.scrollTop+window.innerHeight:(0,Oe.os)(pe).top+pe.clientHeight;Pn-(0,K.Z)()<=Ln||Vt>=Ln-Ce?Et(function(Zn){return(0,V.Z)((0,V.Z)({},Zn),{},{isHiddenScrollBar:!0})}):Et(function(Zn){return(0,V.Z)((0,V.Z)({},Zn),{},{isHiddenScrollBar:!1})})}},Lt=function(Vt){Et(function(Pn){return(0,V.Z)((0,V.Z)({},Pn),{},{scrollLeft:Vt/je*ze||0})})};return t.useImperativeHandle(P,function(){return{setScrollLeft:Lt}}),t.useEffect(function(){var $t=(0,Gt.Z)(document.body,"mouseup",Mn,!1),Vt=(0,Gt.Z)(document.body,"mousemove",Ft,!1);return Xt(),function(){$t.remove(),Vt.remove()}},[rt,fn]),t.useEffect(function(){var $t=(0,Gt.Z)(pe,"scroll",Xt,!1),Vt=(0,Gt.Z)(window,"resize",Xt,!1);return function(){$t.remove(),Vt.remove()}},[pe]),t.useEffect(function(){ht.isHiddenScrollBar||Et(function($t){var Vt=_.current;return Vt?(0,V.Z)((0,V.Z)({},$t),{},{scrollLeft:Vt.scrollLeft/Vt.scrollWidth*Vt.clientWidth}):$t})},[ht.isHiddenScrollBar]),je<=ze||!rt||ht.isHiddenScrollBar?null:t.createElement("div",{style:{height:(0,K.Z)(),width:ze,bottom:Ce},className:"".concat(Te,"-sticky-scroll")},t.createElement("div",{onMouseDown:zn,ref:et,className:Q()("".concat(Te,"-sticky-scroll-bar"),(0,D.Z)({},"".concat(Te,"-sticky-scroll-bar-active"),fn)),style:{width:"".concat(rt,"px"),transform:"translate3d(".concat(ht.scrollLeft,"px, 0, 0)")}}))},De=t.forwardRef(xe);function Ze(a){return null}var Pe=Ze;function Be(a){return null}var Ne=Be,We="rc-table",ft=[],pt={};function Kt(){return"No Data"}function jt(a){var i,P=(0,V.Z)({rowKey:"key",prefixCls:We,emptyText:Kt},a),z=P.prefixCls,J=P.className,_=P.rowClassName,ye=P.style,Ce=P.data,pe=P.rowKey,Te=P.scroll,je=P.tableLayout,ze=P.direction,rt=P.title,et=P.footer,tt=P.summary,xt=P.caption,ht=P.id,Et=P.showHeader,bt=P.components,Mt=P.emptyText,cn=P.onRow,fn=P.onHeaderRow,kt=P.internalHooks,Mn=P.transformColumns,zn=P.internalRefs,Ft=P.tailor,Xt=P.sticky,Lt=Ce||ft,$t=!!Lt.length,Vt=kt===c,Pn=t.useCallback(function(ur,xr){return(0,s.Z)(bt,ur)||xr},[bt]),Ln=t.useMemo(function(){return typeof pe=="function"?pe:function(ur){var xr=ur&&ur[pe];return xr}},[pe]),Zn=Pn(["body"]),pn=qe(),jn=(0,v.Z)(pn,3),kn=jn[0],vr=jn[1],rr=jn[2],Br=Ye(P,Lt,Ln),Tr=(0,v.Z)(Br,6),Fn=Tr[0],kr=Tr[1],ar=Tr[2],Sr=Tr[3],yr=Tr[4],ba=Tr[5],On=Te==null?void 0:Te.x,Sn=t.useState(0),hn=(0,v.Z)(Sn,2),an=hn[0],or=hn[1],on=fe((0,V.Z)((0,V.Z)((0,V.Z)({},P),Fn),{},{expandable:!!Fn.expandedRowRender,columnTitle:Fn.columnTitle,expandedKeys:ar,getRowKey:Ln,onTriggerExpand:ba,expandIcon:Sr,expandIconColumnIndex:Fn.expandIconColumnIndex,direction:ze,scrollWidth:Vt&&Ft&&typeof On=="number"?On:null}),Vt?Mn:null),An=(0,v.Z)(on,3),er=An[0],Jn=An[1],sa=An[2],ra=sa!=null?sa:On,Za=t.useMemo(function(){return{columns:er,flattenColumns:Jn}},[er,Jn]),Ur=t.useRef(),Ma=t.useRef(),Gr=t.useRef(),ya=t.useRef(),ro=t.useRef(),ir=t.useState(!1),cr=(0,v.Z)(ir,2),Pr=cr[0],Xr=cr[1],Yr=t.useState(!1),Un=(0,v.Z)(Yr,2),da=Un[0],ca=Un[1],wa=dt(new Map),La=(0,v.Z)(wa,2),za=La[0],Po=La[1],Ga=ne(Jn),Ba=Ga.map(function(ur){return za.get(ur)}),Ca=t.useMemo(function(){return Ba},[Ba.join("_")]),fa=zt(Ca,Jn.length,ze),Qr=Te&&re(Te.y),$r=Te&&re(ra)||!!Fn.fixed,Ka=$r&&Jn.some(function(ur){var xr=ur.fixed;return xr}),ao=t.useRef(),Ja=lt(Xt,z),ja=Ja.isSticky,To=Ja.offsetHeader,Lo=Ja.offsetSummary,tr=Ja.offsetScroll,hr=Ja.stickyClassName,oa=Ja.container,Rr=t.useMemo(function(){return tt==null?void 0:tt(Lt)},[tt,Lt]),ua=(Qr||ja)&&t.isValidElement(Rr)&&Rr.type===n&&Rr.props.fixed,Sa,xa,Xa;Qr&&(xa={overflowY:"scroll",maxHeight:Te.y}),$r&&(Sa={overflowX:"auto"},Qr||(xa={overflowY:"hidden"}),Xa={width:ra===!0?"auto":ra,minWidth:"100%"});var Qo=t.useCallback(function(ur,xr){(0,g.Z)(Ur.current)&&Po(function(Ta){if(Ta.get(ur)!==xr){var _a=new Map(Ta);return _a.set(ur,xr),_a}return Ta})},[]),Zi=it(null),Jo=(0,v.Z)(Zi,2),zi=Jo[0],_o=Jo[1];function Ao(ur,xr){xr&&(typeof xr=="function"?xr(ur):xr.scrollLeft!==ur&&(xr.scrollLeft=ur,xr.scrollLeft!==ur&&setTimeout(function(){xr.scrollLeft=ur},0)))}var So=(0,W.Z)(function(ur){var xr=ur.currentTarget,Ta=ur.scrollLeft,_a=ze==="rtl",qa=typeof Ta=="number"?Ta:xr.scrollLeft,mi=xr||pt;if(!_o()||_o()===mi){var Vo;zi(mi),Ao(qa,Ma.current),Ao(qa,Gr.current),Ao(qa,ro.current),Ao(qa,(Vo=ao.current)===null||Vo===void 0?void 0:Vo.setScrollLeft)}var ko=xr||Ma.current;if(ko){var Uo=ko.scrollWidth,Go=ko.clientWidth;if(Uo===Go){Xr(!1),ca(!1);return}_a?(Xr(-qa0)):(Xr(qa>0),ca(qa1?xt-Vt:0,Ln=(0,V.Z)((0,V.Z)((0,V.Z)({},Mn),pe),{},{flex:"0 0 ".concat(Vt,"px"),width:"".concat(Vt,"px"),marginRight:Pn,pointerEvents:"auto"}),Zn=t.useMemo(function(){return je?Lt<=1:Ft===0||Lt===0||Lt>1},[Lt,Ft,je]);Zn?Ln.visibility="hidden":je&&(Ln.height=ze==null?void 0:ze(Lt));var pn=Zn?function(){return null}:rt,jn={};return(Lt===0||Ft===0)&&(jn.rowSpan=1,jn.colSpan=1),t.createElement(ke,(0,le.Z)({className:Q()(tt,Te),ellipsis:P.ellipsis,align:P.align,scope:P.rowScope,component:"div",prefixCls:i.prefixCls,key:Mt,record:Ce,index:_,renderIndex:ye,dataIndex:et,render:pn,shouldCellUpdate:P.shouldCellUpdate},cn,{appendNode:fn,additionalProps:(0,V.Z)((0,V.Z)({},kt),{},{style:Ln},jn)}))}var xn=qt,en=["data","index","className","rowKey","style","extra","getHeight"],Rn=t.forwardRef(function(a,i){var P=a.data,z=a.index,J=a.className,_=a.rowKey,ye=a.style,Ce=a.extra,pe=a.getHeight,Te=(0,Ke.Z)(a,en),je=P.record,ze=P.indent,rt=P.index,et=I(r,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),tt=et.scrollX,xt=et.flattenColumns,ht=et.prefixCls,Et=et.fixColumn,bt=et.componentWidth,Mt=E(je,_,z,ze),cn=Mt.rowSupportExpand,fn=Mt.expanded,kt=Mt.rowProps,Mn=Mt.expandedRowRender,zn=Mt.expandedRowClassName,Ft;if(cn&&fn){var Xt=Mn(je,z,ze+1,fn),Lt=zn==null?void 0:zn(je,z,ze),$t={};Et&&($t={style:(0,D.Z)({},"--virtual-width","".concat(bt,"px"))});var Vt="".concat(ht,"-expanded-row-cell");Ft=t.createElement("div",{className:Q()("".concat(ht,"-expanded-row"),"".concat(ht,"-expanded-row-level-").concat(ze+1),Lt)},t.createElement(ke,{component:"div",prefixCls:ht,className:Q()(Vt,(0,D.Z)({},"".concat(Vt,"-fixed"),Et)),additionalProps:$t},Xt))}var Pn=(0,V.Z)((0,V.Z)({},ye),{},{width:tt});Ce&&(Pn.position="absolute",Pn.pointerEvents="none");var Ln=t.createElement("div",(0,le.Z)({},kt,Te,{ref:cn?null:i,className:Q()(J,"".concat(ht,"-row"),kt==null?void 0:kt.className,(0,D.Z)({},"".concat(ht,"-row-extra"),Ce)),style:(0,V.Z)((0,V.Z)({},Pn),kt==null?void 0:kt.style)}),xt.map(function(Zn,pn){return t.createElement(xn,{key:pn,rowInfo:Mt,column:Zn,colIndex:pn,indent:ze,index:z,renderIndex:rt,record:je,inverse:Ce,getHeight:pe})}));return cn?t.createElement("div",{ref:i},Ln,Ft):Ln}),Gn=ce(Rn),Wt=Gn,st=t.forwardRef(function(a,i){var P=a.data,z=a.onScroll,J=I(r,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),_=J.flattenColumns,ye=J.onColumnResize,Ce=J.getRowKey,pe=J.expandedKeys,Te=J.prefixCls,je=J.childrenColumnName,ze=J.emptyNode,rt=J.scrollX,et=I(sn),tt=et.scrollY,xt=et.listItemHeight,ht=t.useRef(),Et=ve(P,je,pe,Ce),bt=t.useMemo(function(){var Ft=0;return _.map(function(Xt){var Lt=Xt.width,$t=Xt.key;return Ft+=Lt,[$t,Lt,Ft]})},[_]),Mt=t.useMemo(function(){return bt.map(function(Ft){return Ft[2]})},[bt]);t.useEffect(function(){bt.forEach(function(Ft){var Xt=(0,v.Z)(Ft,2),Lt=Xt[0],$t=Xt[1];ye(Lt,$t)})},[bt]),t.useImperativeHandle(i,function(){var Ft={};return Object.defineProperty(Ft,"scrollLeft",{get:function(){var Lt;return((Lt=ht.current)===null||Lt===void 0?void 0:Lt.getScrollInfo().x)||0},set:function(Lt){var $t;($t=ht.current)===null||$t===void 0||$t.scrollTo({left:Lt})}}),Ft});var cn=function(Xt,Lt){var $t,Vt=($t=Et[Lt])===null||$t===void 0?void 0:$t.record,Pn=Xt.onCell;if(Pn){var Ln,Zn=Pn(Vt,Lt);return(Ln=Zn==null?void 0:Zn.rowSpan)!==null&&Ln!==void 0?Ln:1}return 1},fn=function(Xt){var Lt=Xt.start,$t=Xt.end,Vt=Xt.getSize,Pn=Xt.offsetY;if($t<0)return null;for(var Ln=_.filter(function(On){return cn(On,Lt)===0}),Zn=Lt,pn=function(Sn){if(Ln=Ln.filter(function(hn){return cn(hn,Sn)===0}),!Ln.length)return Zn=Sn,"break"},jn=Lt;jn>=0;jn-=1){var kn=pn(jn);if(kn==="break")break}for(var vr=_.filter(function(On){return cn(On,$t)!==1}),rr=$t,Br=function(Sn){if(vr=vr.filter(function(hn){return cn(hn,Sn)!==1}),!vr.length)return rr=Math.max(Sn-1,$t),"break"},Tr=$t;Tr1})&&kr.push(Sn)},Sr=Zn;Sr<=rr;Sr+=1)var yr=ar(Sr);var ba=kr.map(function(On){var Sn=Et[On],hn=Ce(Sn.record,On),an=function(An){var er=On+An-1,Jn=Ce(Et[er].record,er),sa=Vt(hn,Jn);return sa.bottom-sa.top},or=Vt(hn);return t.createElement(Wt,{key:On,data:Sn,rowKey:hn,index:On,style:{top:-Pn+or.top},extra:!0,getHeight:an})});return ba},kt=t.useMemo(function(){return{columnsOffset:Mt}},[Mt]),Mn="".concat(Te,"-tbody"),zn;return Et.length?zn=t.createElement(tn.Z,{fullHeight:!1,ref:ht,className:Q()(Mn,"".concat(Mn,"-virtual")),height:tt,itemHeight:xt||24,data:Et,itemKey:function(Xt){return Ce(Xt.record)},scrollWidth:rt,onVirtualScroll:function(Xt){var Lt=Xt.x;z({scrollLeft:Lt})},extraRender:fn},function(Ft,Xt,Lt){var $t=Ce(Ft.record,Xt);return t.createElement(Wt,(0,le.Z)({data:Ft,rowKey:$t,index:Xt},Lt))}):zn=t.createElement("div",{className:Q()("".concat(Te,"-placeholder"))},t.createElement(ke,{component:"div",prefixCls:Te},ze)),t.createElement(nn.Provider,{value:kt},zn)}),ct=ce(st),Ht=ct,Nt=function(i,P){var z=P.ref,J=P.onScroll;return t.createElement(Ht,{ref:z,data:i,onScroll:J})},Cn=100;function En(a){var i=a.columns,P=a.scroll,z=a.prefixCls,J=z===void 0?We:z,_=a.className,ye=a.listItemHeight,Ce=P||{},pe=Ce.x,Te=Ce.y;typeof pe!="number"&&(pe=((i||[]).length+1)*Cn),typeof Te!="number"&&(Te=500);var je=t.useMemo(function(){return{scrollY:Te,listItemHeight:ye}},[Te,ye]);return t.createElement(sn.Provider,{value:je},t.createElement(Pt,(0,le.Z)({},a,{className:Q()(_,"".concat(J,"-virtual")),scroll:(0,V.Z)((0,V.Z)({},P),{},{x:pe}),components:{body:Nt},columns:i,internalHooks:c,tailor:!0})))}function rn(a){return we(En,a)}var nr=rn(),Hn=null;function dr(a){return null}var At=dr;function wt(a){return null}var gn=wt,In=e(2738),Xn=e(68031),Ar=e(36355),br=e(93891),Wn=e(19716),gr=e(8628),fr=e(31724),mr=e(58421),Lr=e(71418),lr=e(88088);function Zr(a){return function(P){let{prefixCls:z,onExpand:J,record:_,expanded:ye,expandable:Ce}=P;const pe=`${z}-row-expand-icon`;return t.createElement("button",{type:"button",onClick:Te=>{J(_,Te),Te.stopPropagation()},className:Q()(pe,{[`${pe}-spaced`]:!Ce,[`${pe}-expanded`]:Ce&&ye,[`${pe}-collapsed`]:Ce&&!ye}),"aria-label":ye?a.collapse:a.expand,"aria-expanded":ye})}}var Jr=Zr;function Kr(a,i){return"key"in a&&a.key!==void 0&&a.key!==null?a.key:a.dataIndex?Array.isArray(a.dataIndex)?a.dataIndex.join("."):a.dataIndex:i}function _r(a,i){return i?`${i}-${a}`:`${a}`}function Hr(a,i){return typeof a=="function"?a(i):a}function qr(a,i){const P=Hr(a,i);return Object.prototype.toString.call(P)==="[object Object]"?"":P}var Na={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ta=Na,Pa=e(7657),$a=function(i,P){return t.createElement(Pa.Z,(0,le.Z)({},i,{ref:P,icon:ta}))},ma=t.forwardRef($a),jr=ma,Ra=e(56762);function Ea(a){const i=t.useRef(a),P=(0,Ra.Z)();return[()=>i.current,z=>{i.current=z,P()}]}var ia=e(3113),va=e(24905),la=e(38854),_t=e(64165),Bn=e(20834),wn=e(40875),Dn=e(5112),Vn=e(17574),qn=e(47472),Wr=e(92832);function Er(a){let{value:i,onChange:P,filterSearch:z,tablePrefixCls:J,locale:_}=a;return z?t.createElement("div",{className:`${J}-filter-dropdown-search`},t.createElement(Wr.default,{prefix:t.createElement(qn.Z,null),placeholder:_.filterSearchPlaceholder,onChange:P,value:i,htmlSize:1,className:`${J}-filter-dropdown-search-input`})):null}var Ir=Er,zr=e(10228);const sr=a=>{const{keyCode:i}=a;i===zr.Z.ENTER&&a.stopPropagation()};var Nr=t.forwardRef((a,i)=>t.createElement("div",{className:a.className,onClick:P=>P.stopPropagation(),onKeyDown:sr,ref:i},a.children));function Cr(a){let i=[];return(a||[]).forEach(P=>{let{value:z,children:J}=P;i.push(z),J&&(i=[].concat((0,gt.Z)(i),(0,gt.Z)(Cr(J))))}),i}function Vr(a){return a.some(i=>{let{children:P}=i;return P})}function Or(a,i){return typeof i=="string"||typeof i=="number"?i==null?void 0:i.toString().toLowerCase().includes(a.trim().toLowerCase()):!1}function Ha(a){let{filters:i,prefixCls:P,filteredKeys:z,filterMultiple:J,searchValue:_,filterSearch:ye}=a;return i.map((Ce,pe)=>{const Te=String(Ce.value);if(Ce.children)return{key:Te||pe,label:Ce.text,popupClassName:`${P}-dropdown-submenu`,children:Ha({filters:Ce.children,prefixCls:P,filteredKeys:z,filterMultiple:J,searchValue:_,filterSearch:ye})};const je=J?va.default:Dn.ZP,ze={key:Ce.value!==void 0?Te:pe,label:t.createElement(t.Fragment,null,t.createElement(je,{checked:z.includes(Te)}),t.createElement("span",null,Ce.text))};return _.trim()?typeof ye=="function"?ye(_,Ce)?ze:null:Or(_,Ce.text)?ze:null:ze})}function Fa(a){var i,P;const{tablePrefixCls:z,prefixCls:J,column:_,dropdownPrefixCls:ye,columnKey:Ce,filterMultiple:pe,filterMode:Te="menu",filterSearch:je=!1,filterState:ze,triggerFilter:rt,locale:et,children:tt,getPopupContainer:xt}=a,{filterDropdownOpen:ht,onFilterDropdownOpenChange:Et,filterResetToDefaultFilteredValue:bt,defaultFilteredValue:Mt,filterDropdownVisible:cn,onFilterDropdownVisibleChange:fn}=_,[kt,Mn]=t.useState(!1),zn=!!(ze&&(!((i=ze.filteredKeys)===null||i===void 0)&&i.length||ze.forceFiltered)),Ft=on=>{Mn(on),Et==null||Et(on),fn==null||fn(on)},Xt=(P=ht!=null?ht:cn)!==null&&P!==void 0?P:kt,Lt=ze==null?void 0:ze.filteredKeys,[$t,Vt]=Ea(Lt||[]),Pn=on=>{let{selectedKeys:An}=on;Vt(An)},Ln=(on,An)=>{let{node:er,checked:Jn}=An;Pn(pe?{selectedKeys:on}:{selectedKeys:Jn&&er.key?[er.key]:[]})};t.useEffect(()=>{kt&&Pn({selectedKeys:Lt||[]})},[Lt]);const[Zn,pn]=t.useState([]),jn=on=>{pn(on)},[kn,vr]=t.useState(""),rr=on=>{const{value:An}=on.target;vr(An)};t.useEffect(()=>{kt||vr("")},[kt]);const Br=on=>{const An=on&&on.length?on:null;if(An===null&&(!ze||!ze.filteredKeys)||(0,$.Z)(An,ze==null?void 0:ze.filteredKeys,!0))return null;rt({column:_,key:Ce,filteredKeys:An})},Tr=()=>{Ft(!1),Br($t())},Fn=function(){let{confirm:on,closeDropdown:An}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};on&&Br([]),An&&Ft(!1),vr(""),Vt(bt?(Mt||[]).map(er=>String(er)):[])},kr=function(){let{closeDropdown:on}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};on&&Ft(!1),Br($t())},ar=on=>{on&&Lt!==void 0&&Vt(Lt||[]),Ft(on),!on&&!_.filterDropdown&&Tr()},Sr=Q()({[`${ye}-menu-without-submenu`]:!Vr(_.filters||[])}),yr=on=>{if(on.target.checked){const An=Cr(_==null?void 0:_.filters).map(er=>String(er));Vt(An)}else Vt([])},ba=on=>{let{filters:An}=on;return(An||[]).map((er,Jn)=>{const sa=String(er.value),ra={title:er.text,key:er.value!==void 0?sa:Jn};return er.children&&(ra.children=ba({filters:er.children})),ra})},On=on=>{var An;return Object.assign(Object.assign({},on),{text:on.title,value:on.key,children:((An=on.children)===null||An===void 0?void 0:An.map(er=>On(er)))||[]})};let Sn;if(typeof _.filterDropdown=="function")Sn=_.filterDropdown({prefixCls:`${ye}-custom`,setSelectedKeys:on=>Pn({selectedKeys:on}),selectedKeys:$t(),confirm:kr,clearFilters:Fn,filters:_.filters,visible:Xt,close:()=>{Ft(!1)}});else if(_.filterDropdown)Sn=_.filterDropdown;else{const on=$t()||[],An=()=>(_.filters||[]).length===0?t.createElement(_t.Z,{image:_t.Z.PRESENTED_IMAGE_SIMPLE,description:et.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Te==="tree"?t.createElement(t.Fragment,null,t.createElement(Ir,{filterSearch:je,value:kn,onChange:rr,tablePrefixCls:z,locale:et}),t.createElement("div",{className:`${z}-filter-dropdown-tree`},pe?t.createElement(va.default,{checked:on.length===Cr(_.filters).length,indeterminate:on.length>0&&on.lengthtypeof je=="function"?je(kn,On(Jn)):Or(kn,Jn.title):void 0}))):t.createElement(t.Fragment,null,t.createElement(Ir,{filterSearch:je,value:kn,onChange:rr,tablePrefixCls:z,locale:et}),t.createElement(Bn.default,{selectable:!0,multiple:pe,prefixCls:`${ye}-menu`,className:Sr,onSelect:Pn,onDeselect:Pn,selectedKeys:on,getPopupContainer:xt,openKeys:Zn,onOpenChange:jn,items:Ha({filters:_.filters||[],filterSearch:je,prefixCls:J,filteredKeys:$t(),filterMultiple:pe,searchValue:kn})})),er=()=>bt?(0,$.Z)((Mt||[]).map(Jn=>String(Jn)),on,!0):on.length===0;Sn=t.createElement(t.Fragment,null,An(),t.createElement("div",{className:`${J}-dropdown-btns`},t.createElement(ia.ZP,{type:"link",size:"small",disabled:er(),onClick:()=>Fn()},et.filterReset),t.createElement(ia.ZP,{type:"primary",size:"small",onClick:Tr},et.filterConfirm)))}_.filterDropdown&&(Sn=t.createElement(wn.J,{selectable:void 0},Sn));const hn=()=>t.createElement(Nr,{className:`${J}-dropdown`},Sn);let an;typeof _.filterIcon=="function"?an=_.filterIcon(zn):_.filterIcon?an=_.filterIcon:an=t.createElement(jr,null);const{direction:or}=t.useContext(Ar.E_);return t.createElement("div",{className:`${J}-column`},t.createElement("span",{className:`${z}-column-title`},tt),t.createElement(la.Z,{dropdownRender:hn,trigger:["click"],open:Xt,onOpenChange:ar,getPopupContainer:xt,placement:or==="rtl"?"bottomLeft":"bottomRight"},t.createElement("span",{role:"button",tabIndex:-1,className:Q()(`${J}-trigger`,{active:zn}),onClick:on=>{on.stopPropagation()}},an)))}var oo=Fa;function Ia(a,i,P){let z=[];return(a||[]).forEach((J,_)=>{var ye;const Ce=_r(_,P);if(J.filters||"filterDropdown"in J||"onFilter"in J)if("filteredValue"in J){let pe=J.filteredValue;"filterDropdown"in J||(pe=(ye=pe==null?void 0:pe.map(String))!==null&&ye!==void 0?ye:pe),z.push({column:J,key:Kr(J,Ce),filteredKeys:pe,forceFiltered:J.filtered})}else z.push({column:J,key:Kr(J,Ce),filteredKeys:i&&J.defaultFilteredValue?J.defaultFilteredValue:void 0,forceFiltered:J.filtered});"children"in J&&(z=[].concat((0,gt.Z)(z),(0,gt.Z)(Ia(J.children,i,Ce))))}),z}function io(a,i,P,z,J,_,ye,Ce){return P.map((pe,Te)=>{const je=_r(Te,Ce),{filterMultiple:ze=!0,filterMode:rt,filterSearch:et}=pe;let tt=pe;if(tt.filters||tt.filterDropdown){const xt=Kr(tt,je),ht=z.find(Et=>{let{key:bt}=Et;return xt===bt});tt=Object.assign(Object.assign({},tt),{title:Et=>t.createElement(oo,{tablePrefixCls:a,prefixCls:`${a}-filter`,dropdownPrefixCls:i,column:tt,columnKey:xt,filterState:ht,filterMultiple:ze,filterMode:rt,filterSearch:et,triggerFilter:_,locale:J,getPopupContainer:ye},Hr(pe.title,Et))})}return"children"in tt&&(tt=Object.assign(Object.assign({},tt),{children:io(a,i,tt.children,z,J,_,ye,je)})),tt})}function lo(a){const i={};return a.forEach(P=>{let{key:z,filteredKeys:J,column:_}=P;const{filters:ye,filterDropdown:Ce}=_;if(Ce)i[z]=J||null;else if(Array.isArray(J)){const pe=Cr(ye);i[z]=pe.filter(Te=>J.includes(String(Te)))}else i[z]=null}),i}function eo(a,i){return i.reduce((P,z)=>{const{column:{onFilter:J,filters:_},filteredKeys:ye}=z;return J&&ye&&ye.length?P.filter(Ce=>ye.some(pe=>{const Te=Cr(_),je=Te.findIndex(rt=>String(rt)===String(pe)),ze=je!==-1?Te[je]:pe;return J(ze,Ce)})):P},a)}const to=a=>a.flatMap(i=>"children"in i?[i].concat((0,gt.Z)(to(i.children||[]))):[i]);function xo(a){let{prefixCls:i,dropdownPrefixCls:P,mergedColumns:z,onFilterChange:J,getPopupContainer:_,locale:ye}=a;const Ce=t.useMemo(()=>to(z||[]),[z]),[pe,Te]=t.useState(()=>Ia(Ce,!0)),je=t.useMemo(()=>{const tt=Ia(Ce,!1);if(tt.length===0)return tt;let xt=!0,ht=!0;if(tt.forEach(Et=>{let{filteredKeys:bt}=Et;bt!==void 0?xt=!1:ht=!1}),xt){const Et=(Ce||[]).map((bt,Mt)=>Kr(bt,_r(Mt)));return pe.filter(bt=>{let{key:Mt}=bt;return Et.includes(Mt)}).map(bt=>{const Mt=Ce[Et.findIndex(cn=>cn===bt.key)];return Object.assign(Object.assign({},bt),{column:Object.assign(Object.assign({},bt.column),Mt),forceFiltered:Mt.filtered})})}return tt},[Ce,pe]),ze=t.useMemo(()=>lo(je),[je]),rt=tt=>{const xt=je.filter(ht=>{let{key:Et}=ht;return Et!==tt.key});xt.push(tt),Te(xt),J(lo(xt),xt)};return[tt=>io(i,P,tt,je,ye,rt,_),je,ze]}var so=xo;function no(a,i,P){const z=t.useRef({});function J(_){if(!z.current||z.current.data!==a||z.current.childrenColumnName!==i||z.current.getRowKey!==P){let Ce=function(pe){pe.forEach((Te,je)=>{const ze=P(Te,je);ye.set(ze,Te),Te&&typeof Te=="object"&&i in Te&&Ce(Te[i]||[])})};const ye=new Map;Ce(a),z.current={data:a,childrenColumnName:i,kvMap:ye,getRowKey:P}}return z.current.kvMap.get(_)}return[J]}var Ya=e(50371),co=function(a,i){var P={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&i.indexOf(z)<0&&(P[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,z=Object.getOwnPropertySymbols(a);J{const _=a[J];typeof _!="function"&&(P[J]=_)}),P}function uo(a,i,P){const z=P&&typeof P=="object"?P:{},{total:J=0}=z,_=co(z,["total"]),[ye,Ce]=(0,t.useState)(()=>({current:"defaultCurrent"in _?_.defaultCurrent:1,pageSize:"defaultPageSize"in _?_.defaultPageSize:Qa})),pe=(0,Ya.Z)(ye,_,{total:J>0?J:a}),Te=Math.ceil((J||a)/pe.pageSize);pe.current>Te&&(pe.current=Te||1);const je=(rt,et)=>{Ce({current:rt!=null?rt:1,pageSize:et||pe.pageSize})},ze=(rt,et)=>{var tt;P&&((tt=P.onChange)===null||tt===void 0||tt.call(P,rt,et)),je(rt,et),i(rt,et||(pe==null?void 0:pe.pageSize))};return P===!1?[{},()=>{}]:[Object.assign(Object.assign({},pe),{onChange:ze}),je]}var fo=uo,mo=e(84105),Wa=e(35654),Qn=e(90782),Kn=e(71430),ea=e(18929);const Fr={},Dr="SELECT_ALL",na="SELECT_INVERT",aa="SELECT_NONE",Oa=[],ga=(a,i)=>{let P=[];return(i||[]).forEach(z=>{P.push(z),z&&typeof z=="object"&&a in z&&(P=[].concat((0,gt.Z)(P),(0,gt.Z)(ga(a,z[a]))))}),P};var Da=(a,i)=>{const{preserveSelectedRowKeys:P,selectedRowKeys:z,defaultSelectedRowKeys:J,getCheckboxProps:_,onChange:ye,onSelect:Ce,onSelectAll:pe,onSelectInvert:Te,onSelectNone:je,onSelectMultiple:ze,columnWidth:rt,type:et,selections:tt,fixed:xt,renderCell:ht,hideSelectAll:Et,checkStrictly:bt=!0}=i||{},{prefixCls:Mt,data:cn,pageData:fn,getRecordByKey:kt,getRowKey:Mn,expandType:zn,childrenColumnName:Ft,locale:Xt,getPopupContainer:Lt}=a,[$t,Vt]=(0,ea.Z)(z||J||Oa,{value:z}),Pn=t.useRef(new Map),Ln=(0,t.useCallback)(On=>{if(P){const Sn=new Map;On.forEach(hn=>{let an=kt(hn);!an&&Pn.current.has(hn)&&(an=Pn.current.get(hn)),Sn.set(hn,an)}),Pn.current=Sn}},[kt,P]);t.useEffect(()=>{Ln($t)},[$t]);const{keyEntities:Zn}=(0,t.useMemo)(()=>{if(bt)return{keyEntities:null};let On=cn;if(P){const Sn=new Set(cn.map((an,or)=>Mn(an,or))),hn=Array.from(Pn.current).reduce((an,or)=>{let[on,An]=or;return Sn.has(on)?an:an.concat(An)},[]);On=[].concat((0,gt.Z)(On),(0,gt.Z)(hn))}return(0,Kn.I8)(On,{externalGetKey:Mn,childrenPropName:Ft})},[cn,Mn,bt,Ft,P]),pn=(0,t.useMemo)(()=>ga(Ft,fn),[Ft,fn]),jn=(0,t.useMemo)(()=>{const On=new Map;return pn.forEach((Sn,hn)=>{const an=Mn(Sn,hn),or=(_?_(Sn):null)||{};On.set(an,or)}),On},[pn,Mn,_]),kn=(0,t.useCallback)(On=>{var Sn;return!!(!((Sn=jn.get(Mn(On)))===null||Sn===void 0)&&Sn.disabled)},[jn,Mn]),[vr,rr]=(0,t.useMemo)(()=>{if(bt)return[$t||[],[]];const{checkedKeys:On,halfCheckedKeys:Sn}=(0,Qn.S)($t,!0,Zn,kn);return[On||[],Sn]},[$t,bt,Zn,kn]),Br=(0,t.useMemo)(()=>{const On=et==="radio"?vr.slice(0,1):vr;return new Set(On)},[vr,et]),Tr=(0,t.useMemo)(()=>et==="radio"?new Set:new Set(rr),[rr,et]),[Fn,kr]=(0,t.useState)(null);t.useEffect(()=>{i||Vt(Oa)},[!!i]);const ar=(0,t.useCallback)((On,Sn)=>{let hn,an;Ln(On),P?(hn=On,an=On.map(or=>Pn.current.get(or))):(hn=[],an=[],On.forEach(or=>{const on=kt(or);on!==void 0&&(hn.push(or),an.push(on))})),Vt(hn),ye==null||ye(hn,an,{type:Sn})},[Vt,kt,ye,P]),Sr=(0,t.useCallback)((On,Sn,hn,an)=>{if(Ce){const or=hn.map(on=>kt(on));Ce(kt(On),Sn,or,an)}ar(hn,"single")},[Ce,kt,ar]),yr=(0,t.useMemo)(()=>!tt||Et?null:(tt===!0?[Dr,na,aa]:tt).map(Sn=>Sn===Dr?{key:"all",text:Xt.selectionAll,onSelect(){ar(cn.map((hn,an)=>Mn(hn,an)).filter(hn=>{const an=jn.get(hn);return!(an!=null&&an.disabled)||Br.has(hn)}),"all")}}:Sn===na?{key:"invert",text:Xt.selectInvert,onSelect(){const hn=new Set(Br);fn.forEach((or,on)=>{const An=Mn(or,on),er=jn.get(An);er!=null&&er.disabled||(hn.has(An)?hn.delete(An):hn.add(An))});const an=Array.from(hn);Te&&Te(an),ar(an,"invert")}}:Sn===aa?{key:"none",text:Xt.selectNone,onSelect(){je==null||je(),ar(Array.from(Br).filter(hn=>{const an=jn.get(hn);return an==null?void 0:an.disabled}),"none")}}:Sn).map(Sn=>Object.assign(Object.assign({},Sn),{onSelect:function(){for(var hn,an,or=arguments.length,on=new Array(or),An=0;An{var Sn;if(!i)return On.filter(ir=>ir!==Fr);let hn=(0,gt.Z)(On);const an=new Set(Br),or=pn.map(Mn).filter(ir=>!jn.get(ir).disabled),on=or.every(ir=>an.has(ir)),An=or.some(ir=>an.has(ir)),er=()=>{const ir=[];on?or.forEach(Pr=>{an.delete(Pr),ir.push(Pr)}):or.forEach(Pr=>{an.has(Pr)||(an.add(Pr),ir.push(Pr))});const cr=Array.from(an);pe==null||pe(!on,cr.map(Pr=>kt(Pr)),ir.map(Pr=>kt(Pr))),ar(cr,"all"),kr(null)};let Jn;if(et!=="radio"){let ir;if(yr){const Un={getPopupContainer:Lt,items:yr.map((da,ca)=>{const{key:wa,text:La,onSelect:za}=da;return{key:wa!=null?wa:ca,onClick:()=>{za==null||za(or)},label:La}})};ir=t.createElement("div",{className:`${Mt}-selection-extra`},t.createElement(la.Z,{menu:Un,getPopupContainer:Lt},t.createElement("span",null,t.createElement(mo.Z,null))))}const cr=pn.map((Un,da)=>{const ca=Mn(Un,da),wa=jn.get(ca)||{};return Object.assign({checked:an.has(ca)},wa)}).filter(Un=>{let{disabled:da}=Un;return da}),Pr=!!cr.length&&cr.length===pn.length,Xr=Pr&&cr.every(Un=>{let{checked:da}=Un;return da}),Yr=Pr&&cr.some(Un=>{let{checked:da}=Un;return da});Jn=!Et&&t.createElement("div",{className:`${Mt}-selection`},t.createElement(va.default,{checked:Pr?Xr:!!pn.length&&on,indeterminate:Pr?!Xr&&Yr:!on&&An,onChange:er,disabled:pn.length===0||Pr,"aria-label":ir?"Custom selection":"Select all",skipGroup:!0}),ir)}let sa;et==="radio"?sa=(ir,cr,Pr)=>{const Xr=Mn(cr,Pr),Yr=an.has(Xr);return{node:t.createElement(Dn.ZP,Object.assign({},jn.get(Xr),{checked:Yr,onClick:Un=>Un.stopPropagation(),onChange:Un=>{an.has(Xr)||Sr(Xr,!0,[Xr],Un.nativeEvent)}})),checked:Yr}}:sa=(ir,cr,Pr)=>{var Xr;const Yr=Mn(cr,Pr),Un=an.has(Yr),da=Tr.has(Yr),ca=jn.get(Yr);let wa;return zn==="nest"?wa=da:wa=(Xr=ca==null?void 0:ca.indeterminate)!==null&&Xr!==void 0?Xr:da,{node:t.createElement(va.default,Object.assign({},ca,{indeterminate:wa,checked:Un,skipGroup:!0,onClick:La=>La.stopPropagation(),onChange:La=>{let{nativeEvent:za}=La;const{shiftKey:Po}=za;let Ga=-1,Ba=-1;if(Po&&bt){const Ca=new Set([Fn,Yr]);or.some((fa,Qr)=>{if(Ca.has(fa))if(Ga===-1)Ga=Qr;else return Ba=Qr,!0;return!1})}if(Ba!==-1&&Ga!==Ba&&bt){const Ca=or.slice(Ga,Ba+1),fa=[];Un?Ca.forEach($r=>{an.has($r)&&(fa.push($r),an.delete($r))}):Ca.forEach($r=>{an.has($r)||(fa.push($r),an.add($r))});const Qr=Array.from(an);ze==null||ze(!Un,Qr.map($r=>kt($r)),fa.map($r=>kt($r))),ar(Qr,"multiple")}else{const Ca=vr;if(bt){const fa=Un?(0,Wa._5)(Ca,Yr):(0,Wa.L0)(Ca,Yr);Sr(Yr,!Un,fa,za)}else{const fa=(0,Qn.S)([].concat((0,gt.Z)(Ca),[Yr]),!0,Zn,kn),{checkedKeys:Qr,halfCheckedKeys:$r}=fa;let Ka=Qr;if(Un){const ao=new Set(Qr);ao.delete(Yr),Ka=(0,Qn.S)(Array.from(ao),{checked:!1,halfCheckedKeys:$r},Zn,kn).checkedKeys}Sr(Yr,!Un,Ka,za)}}kr(Un?null:Yr)}})),checked:Un}};const ra=(ir,cr,Pr)=>{const{node:Xr,checked:Yr}=sa(ir,cr,Pr);return ht?ht(Yr,cr,Pr,Xr):Xr};if(!hn.includes(Fr))if(hn.findIndex(ir=>{var cr;return((cr=ir[mt])===null||cr===void 0?void 0:cr.columnType)==="EXPAND_COLUMN"})===0){const[ir,...cr]=hn;hn=[ir,Fr].concat((0,gt.Z)(cr))}else hn=[Fr].concat((0,gt.Z)(hn));const Za=hn.indexOf(Fr);hn=hn.filter((ir,cr)=>ir!==Fr||cr===Za);const Ur=hn[Za-1],Ma=hn[Za+1];let Gr=xt;Gr===void 0&&((Ma==null?void 0:Ma.fixed)!==void 0?Gr=Ma.fixed:(Ur==null?void 0:Ur.fixed)!==void 0&&(Gr=Ur.fixed)),Gr&&Ur&&((Sn=Ur[mt])===null||Sn===void 0?void 0:Sn.columnType)==="EXPAND_COLUMN"&&Ur.fixed===void 0&&(Ur.fixed=Gr);const ya=Q()(`${Mt}-selection-col`,{[`${Mt}-selection-col-with-dropdown`]:tt&&et==="checkbox"}),ro={fixed:Gr,width:rt,className:`${Mt}-selection-column`,title:i.columnTitle||Jn,render:ra,onCell:i.onCell,[mt]:{className:ya}};return hn.map(ir=>ir===Fr?ro:ir)},[Mn,pn,i,vr,Br,Tr,rt,yr,zn,Fn,jn,ze,Sr,kn]),Br]},vo=e(89489),$o=e(59477),go=e(6848);const po="ascend",Eo="descend";function ho(a){return typeof a.sorter=="object"&&typeof a.sorter.multiple=="number"?a.sorter.multiple:!1}function Io(a){return typeof a=="function"?a:a&&typeof a=="object"&&a.compare?a.compare:!1}function Fo(a,i){return i?a[a.indexOf(i)+1]:a[0]}function Oo(a,i,P){let z=[];function J(_,ye){z.push({column:_,key:Kr(_,ye),multiplePriority:ho(_),sortOrder:_.sortOrder})}return(a||[]).forEach((_,ye)=>{const Ce=_r(ye,P);_.children?("sortOrder"in _&&J(_,Ce),z=[].concat((0,gt.Z)(z),(0,gt.Z)(Oo(_.children,i,Ce)))):_.sorter&&("sortOrder"in _?J(_,Ce):i&&_.defaultSortOrder&&z.push({column:_,key:Kr(_,Ce),multiplePriority:ho(_),sortOrder:_.defaultSortOrder}))}),z}function Ro(a,i,P,z,J,_,ye,Ce){return(i||[]).map((pe,Te)=>{const je=_r(Te,Ce);let ze=pe;if(ze.sorter){const rt=ze.sortDirections||J,et=ze.showSorterTooltip===void 0?ye:ze.showSorterTooltip,tt=Kr(ze,je),xt=P.find(zn=>{let{key:Ft}=zn;return Ft===tt}),ht=xt?xt.sortOrder:null,Et=Fo(rt,ht);let bt;if(pe.sortIcon)bt=pe.sortIcon({sortOrder:ht});else{const zn=rt.includes(po)&&t.createElement($o.Z,{className:Q()(`${a}-column-sorter-up`,{active:ht===po})}),Ft=rt.includes(Eo)&&t.createElement(vo.Z,{className:Q()(`${a}-column-sorter-down`,{active:ht===Eo})});bt=t.createElement("span",{className:Q()(`${a}-column-sorter`,{[`${a}-column-sorter-full`]:!!(zn&&Ft)})},t.createElement("span",{className:`${a}-column-sorter-inner`,"aria-hidden":"true"},zn,Ft))}const{cancelSort:Mt,triggerAsc:cn,triggerDesc:fn}=_||{};let kt=Mt;Et===Eo?kt=fn:Et===po&&(kt=cn);const Mn=typeof et=="object"?et:{title:kt};ze=Object.assign(Object.assign({},ze),{className:Q()(ze.className,{[`${a}-column-sort`]:ht}),title:zn=>{const Ft=t.createElement("div",{className:`${a}-column-sorters`},t.createElement("span",{className:`${a}-column-title`},Hr(pe.title,zn)),bt);return et?t.createElement(go.Z,Object.assign({},Mn),Ft):Ft},onHeaderCell:zn=>{const Ft=pe.onHeaderCell&&pe.onHeaderCell(zn)||{},Xt=Ft.onClick,Lt=Ft.onKeyDown;Ft.onClick=Pn=>{z({column:pe,key:tt,sortOrder:Et,multiplePriority:ho(pe)}),Xt==null||Xt(Pn)},Ft.onKeyDown=Pn=>{Pn.keyCode===zr.Z.ENTER&&(z({column:pe,key:tt,sortOrder:Et,multiplePriority:ho(pe)}),Lt==null||Lt(Pn))};const $t=qr(pe.title,{}),Vt=$t==null?void 0:$t.toString();return ht?Ft["aria-sort"]=ht==="ascend"?"ascending":"descending":Ft["aria-label"]=Vt||"",Ft.className=Q()(Ft.className,`${a}-column-has-sorters`),Ft.tabIndex=0,pe.ellipsis&&(Ft.title=($t!=null?$t:"").toString()),Ft}})}return"children"in ze&&(ze=Object.assign(Object.assign({},ze),{children:Ro(a,ze.children,P,z,J,_,ye,je)})),ze})}function No(a){const{column:i,sortOrder:P}=a;return{column:i,order:P,field:i.dataIndex,columnKey:i.key}}function Do(a){const i=a.filter(P=>{let{sortOrder:z}=P;return z}).map(No);return i.length===0&&a.length?Object.assign(Object.assign({},No(a[a.length-1])),{column:void 0}):i.length<=1?i[0]||{}:i}function Mr(a,i,P){const z=i.slice().sort((ye,Ce)=>Ce.multiplePriority-ye.multiplePriority),J=a.slice(),_=z.filter(ye=>{let{column:{sorter:Ce},sortOrder:pe}=ye;return Io(Ce)&&pe});return _.length?J.sort((ye,Ce)=>{for(let pe=0;pe<_.length;pe+=1){const Te=_[pe],{column:{sorter:je},sortOrder:ze}=Te,rt=Io(je);if(rt&&ze){const et=rt(ye,Ce,ze);if(et!==0)return ze===po?et:-et}}return 0}).map(ye=>{const Ce=ye[P];return Ce?Object.assign(Object.assign({},ye),{[P]:Mr(Ce,i,P)}):ye}):J}function pr(a){let{prefixCls:i,mergedColumns:P,onSorterChange:z,sortDirections:J,tableLocale:_,showSorterTooltip:ye}=a;const[Ce,pe]=t.useState(Oo(P,!0)),Te=t.useMemo(()=>{let tt=!0;const xt=Oo(P,!1);if(!xt.length)return Ce;const ht=[];function Et(Mt){tt?ht.push(Mt):ht.push(Object.assign(Object.assign({},Mt),{sortOrder:null}))}let bt=null;return xt.forEach(Mt=>{bt===null?(Et(Mt),Mt.sortOrder&&(Mt.multiplePriority===!1?tt=!1:bt=!0)):(bt&&Mt.multiplePriority!==!1||(tt=!1),Et(Mt))}),ht},[P,Ce]),je=t.useMemo(()=>{const tt=Te.map(xt=>{let{column:ht,sortOrder:Et}=xt;return{column:ht,order:Et}});return{sortColumns:tt,sortColumn:tt[0]&&tt[0].column,sortOrder:tt[0]&&tt[0].order}},[Te]);function ze(tt){let xt;tt.multiplePriority===!1||!Te.length||Te[0].multiplePriority===!1?xt=[tt]:xt=[].concat((0,gt.Z)(Te.filter(ht=>{let{key:Et}=ht;return Et!==tt.key})),[tt]),pe(xt),z(Do(xt),xt)}return[tt=>Ro(i,tt,Te,ze,J,_,ye),Te,je,()=>Do(Te)]}function wr(a,i){return a.map(P=>{const z=Object.assign({},P);return z.title=Hr(P.title,i),"children"in z&&(z.children=wr(z.children,i)),z})}function pa(a){return[t.useCallback(P=>wr(P,a),[a])]}var ha=ln((a,i)=>{const{_renderTimes:P}=a,{_renderTimes:z}=i;return P!==z}),bo=rn((a,i)=>{const{_renderTimes:P}=a,{_renderTimes:z}=i;return P!==z}),ka=e(64993),yo=e(17313),Mo=e(83116),Bo=e(37613),wo=a=>{const{componentCls:i}=a,P=`${a.lineWidth}px ${a.lineType} ${a.tableBorderColor}`,z=(J,_,ye)=>({[`&${i}-${J}`]:{[`> ${i}-container`]:{[`> ${i}-content, > ${i}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${i}-expanded-row-fixed`]:{margin:`-${_}px -${ye+a.lineWidth}px`}}}}}});return{[`${i}-wrapper`]:{[`${i}${i}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${i}-title`]:{border:P,borderBottom:0},[`> ${i}-container`]:{borderInlineStart:P,borderTop:P,[` - > ${i}-content, - > ${i}-header, - > ${i}-body, - > ${i}-summary - `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:P},"> thead":{"> tr:not(:last-child) > th":{borderBottom:P},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${i}-cell-fix-right-first::after`]:{borderInlineEnd:P}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${i}-expanded-row-fixed`]:{margin:`-${a.tablePaddingVertical}px -${a.tablePaddingHorizontal+a.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:a.lineWidth,bottom:0,borderInlineEnd:P,content:'""'}}}}}},[`&${i}-scroll-horizontal`]:{[`> ${i}-container > ${i}-body`]:{"> table > tbody":{[` - > tr${i}-expanded-row, - > tr${i}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},z("middle",a.tablePaddingVerticalMiddle,a.tablePaddingHorizontalMiddle)),z("small",a.tablePaddingVerticalSmall,a.tablePaddingHorizontalSmall)),{[`> ${i}-footer`]:{border:P,borderTop:0}}),[`${i}-cell`]:{[`${i}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${a.lineWidth}px 0 ${a.lineWidth}px ${a.tableHeaderBg}`}},[`${i}-bordered ${i}-cell-scrollbar`]:{borderInlineEnd:P}}}},vi=a=>{const{componentCls:i}=a;return{[`${i}-wrapper`]:{[`${i}-cell-ellipsis`]:Object.assign(Object.assign({},yo.vS),{wordBreak:"keep-all",[` - &${i}-cell-fix-left-last, - &${i}-cell-fix-right-first - `]:{overflow:"visible",[`${i}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${i}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},gi=a=>{const{componentCls:i}=a;return{[`${i}-wrapper`]:{[`${i}-tbody > tr${i}-placeholder`]:{textAlign:"center",color:a.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:a.colorBgContainer}}}}},pi=e(15969),hi=a=>{const{componentCls:i,antCls:P,controlInteractiveSize:z,motionDurationSlow:J,lineWidth:_,paddingXS:ye,lineType:Ce,tableBorderColor:pe,tableExpandIconBg:Te,tableExpandColumnWidth:je,borderRadius:ze,fontSize:rt,fontSizeSM:et,lineHeight:tt,tablePaddingVertical:xt,tablePaddingHorizontal:ht,tableExpandedRowBg:Et,paddingXXS:bt}=a,Mt=z/2-_,cn=Mt*2+_*3,fn=`${_}px ${Ce} ${pe}`,kt=bt-_;return{[`${i}-wrapper`]:{[`${i}-expand-icon-col`]:{width:je},[`${i}-row-expand-icon-cell`]:{textAlign:"center",[`${i}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${i}-row-indent`]:{height:1,float:"left"},[`${i}-row-expand-icon`]:Object.assign(Object.assign({},(0,pi.N)(a)),{position:"relative",float:"left",boxSizing:"border-box",width:cn,height:cn,padding:0,color:"inherit",lineHeight:`${cn}px`,background:Te,border:fn,borderRadius:ze,transform:`scale(${z/cn})`,transition:`all ${J}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${J} ease-out`,content:'""'},"&::before":{top:Mt,insetInlineEnd:kt,insetInlineStart:kt,height:_},"&::after":{top:kt,bottom:kt,insetInlineStart:Mt,width:_,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${i}-row-indent + ${i}-row-expand-icon`]:{marginTop:(rt*tt-_*3)/2-Math.ceil((et*1.4-_*3)/2),marginInlineEnd:ye},[`tr${i}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Et}},[`${P}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${i}-expanded-row-fixed`]:{position:"relative",margin:`-${xt}px -${ht}px`,padding:`${xt}px ${ht}px`}}}},bi=a=>{const{componentCls:i,antCls:P,iconCls:z,tableFilterDropdownWidth:J,tableFilterDropdownSearchWidth:_,paddingXXS:ye,paddingXS:Ce,colorText:pe,lineWidth:Te,lineType:je,tableBorderColor:ze,tableHeaderIconColor:rt,fontSizeSM:et,tablePaddingHorizontal:tt,borderRadius:xt,motionDurationSlow:ht,colorTextDescription:Et,colorPrimary:bt,tableHeaderFilterActiveBg:Mt,colorTextDisabled:cn,tableFilterDropdownBg:fn,tableFilterDropdownHeight:kt,controlItemBgHover:Mn,controlItemBgActive:zn,boxShadowSecondary:Ft,filterDropdownMenuBg:Xt}=a,Lt=`${P}-dropdown`,$t=`${i}-filter-dropdown`,Vt=`${P}-tree`,Pn=`${Te}px ${je} ${ze}`;return[{[`${i}-wrapper`]:{[`${i}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${i}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ye,marginInline:`${ye}px ${-tt/2}px`,padding:`0 ${ye}px`,color:rt,fontSize:et,borderRadius:xt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:Et,background:Mt},"&.active":{color:bt}}}},{[`${P}-dropdown`]:{[$t]:Object.assign(Object.assign({},(0,yo.Wf)(a)),{minWidth:J,backgroundColor:fn,borderRadius:xt,boxShadow:Ft,overflow:"hidden",[`${Lt}-menu`]:{maxHeight:kt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Xt,"&:empty::after":{display:"block",padding:`${Ce}px 0`,color:cn,fontSize:et,textAlign:"center",content:'"Not Found"'}},[`${$t}-tree`]:{paddingBlock:`${Ce}px 0`,paddingInline:Ce,[Vt]:{padding:0},[`${Vt}-treenode ${Vt}-node-content-wrapper:hover`]:{backgroundColor:Mn},[`${Vt}-treenode-checkbox-checked ${Vt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zn}}},[`${$t}-search`]:{padding:Ce,borderBottom:Pn,"&-input":{input:{minWidth:_},[z]:{color:cn}}},[`${$t}-checkall`]:{width:"100%",marginBottom:ye,marginInlineStart:ye},[`${$t}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ce-Te}px ${Ce}px`,overflow:"hidden",borderTop:Pn}})}},{[`${P}-dropdown ${$t}, ${$t}-submenu`]:{[`${P}-checkbox-wrapper + span`]:{paddingInlineStart:Ce,color:pe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},yi=a=>{const{componentCls:i,lineWidth:P,colorSplit:z,motionDurationSlow:J,zIndexTableFixed:_,tableBg:ye,zIndexTableSticky:Ce}=a,pe=z;return{[`${i}-wrapper`]:{[` - ${i}-cell-fix-left, - ${i}-cell-fix-right - `]:{position:"sticky !important",zIndex:_,background:ye},[` - ${i}-cell-fix-left-first::after, - ${i}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-P,width:30,transform:"translateX(100%)",transition:`box-shadow ${J}`,content:'""',pointerEvents:"none"},[`${i}-cell-fix-left-all::after`]:{display:"none"},[` - ${i}-cell-fix-right-first::after, - ${i}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-P,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${J}`,content:'""',pointerEvents:"none"},[`${i}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ce+1,width:30,transition:`box-shadow ${J}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${i}-ping-left`]:{[`&:not(${i}-has-fix-left) ${i}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${pe}`}},[` - ${i}-cell-fix-left-first::after, - ${i}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${pe}`},[`${i}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${i}-ping-right`]:{[`&:not(${i}-has-fix-right) ${i}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${pe}`}},[` - ${i}-cell-fix-right-first::after, - ${i}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${pe}`}}}}},Ci=a=>{const{componentCls:i,antCls:P}=a;return{[`${i}-wrapper`]:{[`${i}-pagination${P}-pagination`]:{margin:`${a.margin}px 0`},[`${i}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:a.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Si=a=>{const{componentCls:i,tableRadius:P}=a;return{[`${i}-wrapper`]:{[i]:{[`${i}-title, ${i}-header`]:{borderRadius:`${P}px ${P}px 0 0`},[`${i}-title + ${i}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${i}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:P,borderStartEndRadius:P,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:P},"> *:last-child":{borderStartEndRadius:P}}},"&-footer":{borderRadius:`0 0 ${P}px ${P}px`}}}}},xi=a=>{const{componentCls:i}=a;return{[`${i}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${i}-pagination-left`]:{justifyContent:"flex-end"},[`${i}-pagination-right`]:{justifyContent:"flex-start"},[`${i}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${i}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${i}-row-indent`]:{float:"right"}}}}},Ei=a=>{const{componentCls:i,antCls:P,iconCls:z,fontSizeIcon:J,padding:_,paddingXS:ye,tableHeaderIconColor:Ce,tableHeaderIconColorHover:pe,tableSelectionColumnWidth:Te}=a;return{[`${i}-wrapper`]:{[`${i}-selection-col`]:{width:Te,[`&${i}-selection-col-with-dropdown`]:{width:Te+J+_/4}},[`${i}-bordered ${i}-selection-col`]:{width:Te+ye*2,[`&${i}-selection-col-with-dropdown`]:{width:Te+J+_/4+ye*2}},[` - table tr th${i}-selection-column, - table tr td${i}-selection-column - `]:{paddingInlineEnd:a.paddingXS,paddingInlineStart:a.paddingXS,textAlign:"center",[`${P}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${i}-selection-column${i}-cell-fix-left`]:{zIndex:a.zIndexTableFixed+1},[`table tr th${i}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${i}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${i}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${a.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${a.tablePaddingHorizontal/4}px`,[z]:{color:Ce,fontSize:J,verticalAlign:"baseline","&:hover":{color:pe}}}}}},Ii=a=>{const{componentCls:i}=a,P=(z,J,_,ye)=>({[`${i}${i}-${z}`]:{fontSize:ye,[` - ${i}-title, - ${i}-footer, - ${i}-cell, - ${i}-thead > tr > th, - ${i}-tbody > tr > th, - ${i}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${J}px ${_}px`},[`${i}-filter-trigger`]:{marginInlineEnd:`-${_/2}px`},[`${i}-expanded-row-fixed`]:{margin:`-${J}px -${_}px`},[`${i}-tbody`]:{[`${i}-wrapper:only-child ${i}`]:{marginBlock:`-${J}px`,marginInline:`${a.tableExpandColumnWidth-_}px -${_}px`}},[`${i}-selection-column`]:{paddingInlineStart:`${_/4}px`}}});return{[`${i}-wrapper`]:Object.assign(Object.assign({},P("middle",a.tablePaddingVerticalMiddle,a.tablePaddingHorizontalMiddle,a.tableFontSizeMiddle)),P("small",a.tablePaddingVerticalSmall,a.tablePaddingHorizontalSmall,a.tableFontSizeSmall))}},Oi=a=>{const{componentCls:i,marginXXS:P,fontSizeIcon:z,tableHeaderIconColor:J,tableHeaderIconColorHover:_}=a;return{[`${i}-wrapper`]:{[`${i}-thead th${i}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${a.motionDurationSlow}`,"&:hover":{background:a.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:a.colorPrimary},[` - &${i}-cell-fix-left:hover, - &${i}-cell-fix-right:hover - `]:{background:a.tableFixedHeaderSortActiveBg}},[`${i}-thead th${i}-column-sort`]:{background:a.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${i}-column-sort`]:{background:a.tableBodySortBg},[`${i}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${i}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${i}-column-sorter`]:{marginInlineStart:P,color:J,fontSize:0,transition:`color ${a.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:z,"&.active":{color:a.colorPrimary}},[`${i}-column-sorter-up + ${i}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${i}-column-sorters:hover ${i}-column-sorter`]:{color:_}}}},wi=a=>{const{componentCls:i,opacityLoading:P,tableScrollThumbBg:z,tableScrollThumbBgHover:J,tableScrollThumbSize:_,tableScrollBg:ye,zIndexTableSticky:Ce,stickyScrollBarBorderRadius:pe}=a,Te=`${a.lineWidth}px ${a.lineType} ${a.tableBorderColor}`;return{[`${i}-wrapper`]:{[`${i}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ce,background:a.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${_}px !important`,zIndex:Ce,display:"flex",alignItems:"center",background:ye,borderTop:Te,opacity:P,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:_,backgroundColor:z,borderRadius:pe,transition:`all ${a.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:J}}}}}}},Yo=a=>{const{componentCls:i,lineWidth:P,tableBorderColor:z}=a,J=`${P}px ${a.lineType} ${z}`;return{[`${i}-wrapper`]:{[`${i}-summary`]:{position:"relative",zIndex:a.zIndexTableFixed,background:a.tableBg,"> tr":{"> th, > td":{borderBottom:J}}},[`div${i}-summary`]:{boxShadow:`0 -${P}px 0 ${z}`}}}},Pi=a=>{const{componentCls:i}=a,P=`${a.lineWidth}px ${a.lineType} ${a.tableBorderColor}`,z=`${i}-expanded-row-cell`;return{[`${i}-wrapper`]:{[`${i}-tbody-virtual`]:{[`${i}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${i}-cell`]:{borderBottom:P},[`${i}-expanded-row`]:{[`${z}${z}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${a.lineWidth}px)`,borderInlineEnd:"none"}}},[`${i}-bordered`]:{[`${i}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:P,position:"absolute"},[`${i}-cell`]:{borderInlineEnd:P,[`&${i}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-a.lineWidth,borderInlineStart:P}}}}}}};const $i=a=>{const{componentCls:i,fontWeightStrong:P,tablePaddingVertical:z,tablePaddingHorizontal:J,lineWidth:_,lineType:ye,tableBorderColor:Ce,tableFontSize:pe,tableBg:Te,tableRadius:je,tableHeaderTextColor:ze,motionDurationMid:rt,tableHeaderBg:et,tableHeaderCellSplitColor:tt,tableRowHoverBg:xt,tableSelectedRowBg:ht,tableSelectedRowHoverBg:Et,tableFooterTextColor:bt,tableFooterBg:Mt,paddingContentVerticalLG:cn}=a,fn=`${_}px ${ye} ${Ce}`;return{[`${i}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,yo.dF)()),{[i]:Object.assign(Object.assign({},(0,yo.Wf)(a)),{fontSize:pe,background:Te,borderRadius:`${je}px ${je}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${je}px ${je}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` - ${i}-cell, - ${i}-thead > tr > th, - ${i}-tbody > tr > th, - ${i}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{position:"relative",padding:`${cn}px ${J}px`,overflowWrap:"break-word"},[`${i}-title`]:{padding:`${z}px ${J}px`},[`${i}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ze,fontWeight:P,textAlign:"start",background:et,borderBottom:fn,transition:`background ${rt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${i}-selection-column):not(${i}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:tt,transform:"translateY(-50%)",transition:`background-color ${rt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${i}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${rt}, border-color ${rt}`,borderBottom:fn,[` - > ${i}-wrapper:only-child, - > ${i}-expanded-row-fixed > ${i}-wrapper:only-child - `]:{[i]:{marginBlock:`-${z}px`,marginInline:`${a.tableExpandColumnWidth-J}px -${J}px`,[`${i}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ze,fontWeight:P,textAlign:"start",background:et,borderBottom:fn,transition:`background ${rt} ease`},[` - &${i}-row:hover > th, - &${i}-row:hover > td, - > th${i}-cell-row-hover, - > td${i}-cell-row-hover - `]:{background:xt},[`&${i}-row-selected`]:{"> th, > td":{background:ht},"&:hover > th, &:hover > td":{background:Et}}}},[`${i}-footer`]:{padding:`${z}px ${J}px`,color:bt,background:Mt}})}};var Ri=(0,Mo.Z)("Table",a=>{const{colorTextHeading:i,colorSplit:P,colorIcon:z,colorIconHover:J,opacityLoading:_,colorBgContainer:ye,controlInteractiveSize:Ce,headerBg:pe,headerColor:Te,headerSortActiveBg:je,headerSortHoverBg:ze,bodySortBg:rt,rowHoverBg:et,rowSelectedBg:tt,rowSelectedHoverBg:xt,rowExpandedBg:ht,cellPaddingBlock:Et,cellPaddingInline:bt,cellPaddingBlockMD:Mt,cellPaddingInlineMD:cn,cellPaddingBlockSM:fn,cellPaddingInlineSM:kt,borderColor:Mn,footerBg:zn,footerColor:Ft,headerBorderRadius:Xt,cellFontSize:Lt,cellFontSizeMD:$t,cellFontSizeSM:Vt,headerSplitColor:Pn,fixedHeaderSortActiveBg:Ln,headerFilterHoverBg:Zn,filterDropdownBg:pn,expandIconBg:jn,selectionColumnWidth:kn,stickyScrollBarBg:vr}=a,rr=new ka.C(z),Br=new ka.C(J),Tr=2,Fn=(0,Bo.TS)(a,{tableFontSize:Lt,tableBg:ye,tableRadius:Xt,tablePaddingVertical:Et,tablePaddingHorizontal:bt,tablePaddingVerticalMiddle:Mt,tablePaddingHorizontalMiddle:cn,tablePaddingVerticalSmall:fn,tablePaddingHorizontalSmall:kt,tableBorderColor:Mn,tableHeaderTextColor:Te,tableHeaderBg:pe,tableFooterTextColor:Ft,tableFooterBg:zn,tableHeaderCellSplitColor:Pn,tableHeaderSortBg:je,tableHeaderSortHoverBg:ze,tableHeaderIconColor:rr.clone().setAlpha(rr.getAlpha()*_).toRgbString(),tableHeaderIconColorHover:Br.clone().setAlpha(Br.getAlpha()*_).toRgbString(),tableBodySortBg:rt,tableFixedHeaderSortActiveBg:Ln,tableHeaderFilterActiveBg:Zn,tableFilterDropdownBg:pn,tableRowHoverBg:et,tableSelectedRowBg:tt,tableSelectedRowHoverBg:xt,zIndexTableFixed:Tr,zIndexTableSticky:Tr+1,tableFontSizeMiddle:$t,tableFontSizeSmall:Vt,tableSelectionColumnWidth:kn,tableExpandIconBg:jn,tableExpandColumnWidth:Ce+2*a.padding,tableExpandedRowBg:ht,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:vr,tableScrollThumbBgHover:i,tableScrollBg:P});return[$i(Fn),Ci(Fn),Yo(Fn),Oi(Fn),bi(Fn),wo(Fn),Si(Fn),hi(Fn),Yo(Fn),gi(Fn),Ei(Fn),yi(Fn),wi(Fn),vi(Fn),Ii(Fn),xi(Fn),Pi(Fn)]},a=>{const{colorFillAlter:i,colorBgContainer:P,colorTextHeading:z,colorFillSecondary:J,colorFillContent:_,controlItemBgActive:ye,controlItemBgActiveHover:Ce,padding:pe,paddingSM:Te,paddingXS:je,colorBorderSecondary:ze,borderRadiusLG:rt,fontSize:et,controlHeight:tt,colorTextPlaceholder:xt}=a,ht=new ka.C(J).onBackground(P).toHexShortString(),Et=new ka.C(_).onBackground(P).toHexShortString(),bt=new ka.C(i).onBackground(P).toHexShortString();return{headerBg:bt,headerColor:z,headerSortActiveBg:ht,headerSortHoverBg:Et,bodySortBg:bt,rowHoverBg:bt,rowSelectedBg:ye,rowSelectedHoverBg:Ce,rowExpandedBg:i,cellPaddingBlock:pe,cellPaddingInline:pe,cellPaddingBlockMD:Te,cellPaddingInlineMD:je,cellPaddingBlockSM:je,cellPaddingInlineSM:je,borderColor:ze,headerBorderRadius:rt,footerBg:bt,footerColor:z,cellFontSize:et,cellFontSizeMD:et,cellFontSizeSM:et,headerSplitColor:ze,fixedHeaderSortActiveBg:ht,headerFilterHoverBg:_,filterDropdownMenuBg:P,filterDropdownBg:P,expandIconBg:P,selectionColumnWidth:tt,stickyScrollBarBg:xt,stickyScrollBarBorderRadius:100}});const Ni=[],Di=(a,i)=>{const{prefixCls:P,className:z,rootClassName:J,style:_,size:ye,bordered:Ce,dropdownPrefixCls:pe,dataSource:Te,pagination:je,rowSelection:ze,rowKey:rt="key",rowClassName:et,columns:tt,children:xt,childrenColumnName:ht,onChange:Et,getPopupContainer:bt,loading:Mt,expandIcon:cn,expandable:fn,expandedRowRender:kt,expandIconColumnIndex:Mn,indentSize:zn,scroll:Ft,sortDirections:Xt,locale:Lt,showSorterTooltip:$t=!0,virtual:Vt}=a,Pn=t.useMemo(()=>tt||S(xt),[tt,xt]),Ln=t.useMemo(()=>Pn.some(tr=>tr.responsive),[Pn]),Zn=(0,gr.Z)(Ln),pn=t.useMemo(()=>{const tr=new Set(Object.keys(Zn).filter(hr=>Zn[hr]));return Pn.filter(hr=>!hr.responsive||hr.responsive.some(oa=>tr.has(oa)))},[Pn,Zn]),jn=(0,In.Z)(a,["className","style","columns"]),{locale:kn=fr.Z,direction:vr,table:rr,renderEmpty:Br,getPrefixCls:Tr,getPopupContainer:Fn}=t.useContext(Ar.E_),kr=(0,Wn.Z)(ye),ar=Object.assign(Object.assign({},kn.Table),Lt),Sr=Te||Ni,yr=Tr("table",P),ba=Tr("dropdown",pe),On=Object.assign({childrenColumnName:ht,expandIconColumnIndex:Mn},fn),{childrenColumnName:Sn="children"}=On,hn=t.useMemo(()=>Sr.some(tr=>tr==null?void 0:tr[Sn])?"nest":kt||fn&&fn.expandedRowRender?"row":null,[Sr]),an={body:t.useRef()},or=t.useMemo(()=>typeof rt=="function"?rt:tr=>tr==null?void 0:tr[rt],[rt]),[on]=no(Sr,Sn,or),An={},er=function(tr,hr){let oa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Rr,ua,Sa;const xa=Object.assign(Object.assign({},An),tr);oa&&((Rr=An.resetPagination)===null||Rr===void 0||Rr.call(An),!((ua=xa.pagination)===null||ua===void 0)&&ua.current&&(xa.pagination.current=1),je&&je.onChange&&je.onChange(1,(Sa=xa.pagination)===null||Sa===void 0?void 0:Sa.pageSize)),Ft&&Ft.scrollToFirstRowOnChange!==!1&&an.body.current&&(0,Xn.Z)(0,{getContainer:()=>an.body.current}),Et==null||Et(xa.pagination,xa.filters,xa.sorter,{currentDataSource:eo(Mr(Sr,xa.sorterStates,Sn),xa.filterStates),action:hr})},Jn=(tr,hr)=>{er({sorter:tr,sorterStates:hr},"sort",!1)},[sa,ra,Za,Ur]=pr({prefixCls:yr,mergedColumns:pn,onSorterChange:Jn,sortDirections:Xt||["ascend","descend"],tableLocale:ar,showSorterTooltip:$t}),Ma=t.useMemo(()=>Mr(Sr,ra,Sn),[Sr,ra]);An.sorter=Ur(),An.sorterStates=ra;const Gr=(tr,hr)=>{er({filters:tr,filterStates:hr},"filter",!0)},[ya,ro,ir]=so({prefixCls:yr,locale:ar,dropdownPrefixCls:ba,mergedColumns:pn,onFilterChange:Gr,getPopupContainer:bt||Fn}),cr=eo(Ma,ro);An.filters=ir,An.filterStates=ro;const Pr=t.useMemo(()=>{const tr={};return Object.keys(ir).forEach(hr=>{ir[hr]!==null&&(tr[hr]=ir[hr])}),Object.assign(Object.assign({},Za),{filters:tr})},[Za,ir]),[Xr]=pa(Pr),Yr=(tr,hr)=>{er({pagination:Object.assign(Object.assign({},An.pagination),{current:tr,pageSize:hr})},"paginate")},[Un,da]=fo(cr.length,Yr,je);An.pagination=je===!1?{}:Aa(Un,je),An.resetPagination=da;const ca=t.useMemo(()=>{if(je===!1||!Un.pageSize)return cr;const{current:tr=1,total:hr,pageSize:oa=Qa}=Un;return cr.lengthoa?cr.slice((tr-1)*oa,tr*oa):cr:cr.slice((tr-1)*oa,tr*oa)},[!!je,cr,Un&&Un.current,Un&&Un.pageSize,Un&&Un.total]),[wa,La]=Da({prefixCls:yr,data:cr,pageData:ca,getRowKey:or,getRecordByKey:on,expandType:hn,childrenColumnName:Sn,locale:ar,getPopupContainer:bt||Fn},ze),za=(tr,hr,oa)=>{let Rr;return typeof et=="function"?Rr=Q()(et(tr,hr,oa)):Rr=Q()(et),Q()({[`${yr}-row-selected`]:La.has(or(tr,hr))},Rr)};On.__PARENT_RENDER_ICON__=On.expandIcon,On.expandIcon=On.expandIcon||cn||Jr(ar),hn==="nest"&&On.expandIconColumnIndex===void 0?On.expandIconColumnIndex=ze?1:0:On.expandIconColumnIndex>0&&ze&&(On.expandIconColumnIndex-=1),typeof On.indentSize!="number"&&(On.indentSize=typeof zn=="number"?zn:15);const Po=t.useCallback(tr=>Xr(wa(ya(sa(tr)))),[sa,ya,wa]);let Ga,Ba;if(je!==!1&&(Un!=null&&Un.total)){let tr;Un.size?tr=Un.size:tr=kr==="small"||kr==="middle"?"small":void 0;const hr=ua=>t.createElement(mr.Z,Object.assign({},Un,{className:Q()(`${yr}-pagination ${yr}-pagination-${ua}`,Un.className),size:tr})),oa=vr==="rtl"?"left":"right",{position:Rr}=Un;if(Rr!==null&&Array.isArray(Rr)){const ua=Rr.find(Xa=>Xa.includes("top")),Sa=Rr.find(Xa=>Xa.includes("bottom")),xa=Rr.every(Xa=>`${Xa}`=="none");!ua&&!Sa&&!xa&&(Ba=hr(oa)),ua&&(Ga=hr(ua.toLowerCase().replace("top",""))),Sa&&(Ba=hr(Sa.toLowerCase().replace("bottom","")))}else Ba=hr(oa)}let Ca;typeof Mt=="boolean"?Ca={spinning:Mt}:typeof Mt=="object"&&(Ca=Object.assign({spinning:!0},Mt));const[fa,Qr]=Ri(yr),[,$r]=(0,lr.Z)(),Ka=Q()(`${yr}-wrapper`,rr==null?void 0:rr.className,{[`${yr}-wrapper-rtl`]:vr==="rtl"},z,J,Qr),ao=Object.assign(Object.assign({},rr==null?void 0:rr.style),_),Ja=Lt&&Lt.emptyText||(Br==null?void 0:Br("Table"))||t.createElement(br.Z,{componentName:"Table"}),ja=Vt?bo:ha,To={},Lo=t.useMemo(()=>{const{fontSize:tr,lineHeight:hr,padding:oa,paddingXS:Rr,paddingSM:ua}=$r,Sa=Math.floor(tr*hr);switch(kr){case"large":return oa*2+Sa;case"small":return Rr*2+Sa;default:return ua*2+Sa}},[$r,kr]);return Vt&&(To.listItemHeight=Lo),fa(t.createElement("div",{ref:i,className:Ka,style:ao},t.createElement(Lr.Z,Object.assign({spinning:!1},Ca),Ga,t.createElement(ja,Object.assign({},To,jn,{columns:pn,direction:vr,expandable:On,prefixCls:yr,className:Q()({[`${yr}-middle`]:kr==="middle",[`${yr}-small`]:kr==="small",[`${yr}-bordered`]:Ce,[`${yr}-empty`]:Sr.length===0}),data:ca,rowKey:or,rowClassName:za,emptyText:Ja,internalHooks:c,internalRefs:an,transformColumns:Po})),Ba)))};var Mi=t.forwardRef(Di);const Bi=(a,i)=>{const P=t.useRef(0);return P.current+=1,t.createElement(Mi,Object.assign({},a,{ref:i,_renderTimes:P.current}))},Ua=t.forwardRef(Bi);Ua.SELECTION_COLUMN=Fr,Ua.EXPAND_COLUMN=u,Ua.SELECTION_ALL=Dr,Ua.SELECTION_INVERT=na,Ua.SELECTION_NONE=aa,Ua.Column=At,Ua.ColumnGroup=gn,Ua.Summary=l;var Ti=Ua,Ai=Ti},99313:function(Dt,Me,e){e.d(Me,{default:function(){return dn}});var u=e(99267),c=e(18785),v=e(62772),W=e(92310),b=e.n(W),$=e(54476),t=e(20068),ie=e(33885),q=e(42978),I=e(76190),le=e(75931),C=e(59301),x=e(49658),ue=e(18929),X=e(77900),U=(0,C.createContext)(null),$e=C.forwardRef(function(S,Z){var T=S.prefixCls,N=S.className,he=S.style,fe=S.id,He=S.active,Ae=S.tabKey,Ye=S.children;return C.createElement("div",{id:fe&&"".concat(fe,"-panel-").concat(Ae),role:"tabpanel",tabIndex:He?0:-1,"aria-labelledby":fe&&"".concat(fe,"-tab-").concat(Ae),"aria-hidden":!He,style:he,className:b()(T,He&&"".concat(T,"-active"),N),ref:Z},Ye)}),se=$e,we=["key","forceRender","style","className"];function ce(S){var Z=S.id,T=S.activeKey,N=S.animated,he=S.tabPosition,fe=S.destroyInactiveTabPane,He=C.useContext(U),Ae=He.prefixCls,Ye=He.tabs,nt=N.tabPane,dt="".concat(Ae,"-tabpane");return C.createElement("div",{className:b()("".concat(Ae,"-content-holder"))},C.createElement("div",{className:b()("".concat(Ae,"-content"),"".concat(Ae,"-content-").concat(he),(0,t.Z)({},"".concat(Ae,"-content-animated"),nt))},Ye.map(function(it){var qe=it.key,ot=it.forceRender,Ct=it.style,lt=it.className,Ot=(0,le.Z)(it,we),zt=qe===T;return C.createElement(X.default,(0,$.Z)({key:qe,visible:zt,forceRender:ot,removeOnLeave:!!fe,leavedClassName:"".concat(dt,"-hidden")},N.tabPaneMotion),function(Qt,Rt){var Gt=Qt.style,Oe=Qt.className;return C.createElement(se,(0,$.Z)({},Ot,{prefixCls:dt,id:Z,tabKey:qe,animated:nt,active:zt,style:(0,ie.Z)((0,ie.Z)({},Ct),Gt),className:b()(lt,Oe),ref:Rt}))})})))}var L=e(94480),m=e(29301),r=e(6089),h=e(8654),y={width:0,height:0,left:0,top:0};function ee(S,Z,T){return(0,C.useMemo)(function(){for(var N,he=new Map,fe=Z.get((N=S[0])===null||N===void 0?void 0:N.key)||y,He=fe.left+fe.width,Ae=0;Aept?(We=Be,xe.current="x"):(We=Ne,xe.current="y"),Z(-We,-We)&&Pe.preventDefault()}var Ze=(0,C.useRef)(null);Ze.current={onTouchStart:Rt,onTouchMove:Gt,onTouchEnd:Oe,onWheel:De},C.useEffect(function(){function Pe(ft){Ze.current.onTouchStart(ft)}function Be(ft){Ze.current.onTouchMove(ft)}function Ne(ft){Ze.current.onTouchEnd(ft)}function We(ft){Ze.current.onWheel(ft)}return document.addEventListener("touchmove",Be,{passive:!1}),document.addEventListener("touchend",Ne,{passive:!1}),S.current.addEventListener("touchstart",Pe,{passive:!1}),S.current.addEventListener("wheel",We),function(){document.removeEventListener("touchmove",Be),document.removeEventListener("touchend",Ne)}},[])}var s=e(34280);function F(S){var Z=(0,C.useState)(0),T=(0,q.Z)(Z,2),N=T[0],he=T[1],fe=(0,C.useRef)(0),He=(0,C.useRef)();return He.current=S,(0,s.o)(function(){var Ae;(Ae=He.current)===null||Ae===void 0||Ae.call(He)},[N]),function(){fe.current===N&&(fe.current+=1,he(fe.current))}}function A(S){var Z=(0,C.useRef)([]),T=(0,C.useState)({}),N=(0,q.Z)(T,2),he=N[1],fe=(0,C.useRef)(typeof S=="function"?S():S),He=F(function(){var Ye=fe.current;Z.current.forEach(function(nt){Ye=nt(Ye)}),Z.current=[],fe.current=Ye,he({})});function Ae(Ye){Z.current.push(Ye),He()}return[fe.current,Ae]}var O={width:0,height:0,left:0,top:0,right:0};function H(S,Z,T,N,he,fe,He){var Ae=He.tabs,Ye=He.tabPosition,nt=He.rtl,dt,it,qe;return["top","bottom"].includes(Ye)?(dt="width",it=nt?"right":"left",qe=Math.abs(T)):(dt="height",it="top",qe=-T),(0,C.useMemo)(function(){if(!Ae.length)return[0,0];for(var ot=Ae.length,Ct=ot,lt=0;ltqe+Z){Ct=lt-1;break}}for(var zt=0,Qt=ot-1;Qt>=0;Qt-=1){var Rt=S.get(Ae[Qt].key)||O;if(Rt[it]=Ct?[0,0]:[zt,Ct]},[S,Z,N,he,fe,qe,Ye,Ae.map(function(ot){return ot.key}).join("_"),nt])}function k(S){var Z;return S instanceof Map?(Z={},S.forEach(function(T,N){Z[N]=T})):Z=S,JSON.stringify(Z)}var ne="TABS_DQ";function re(S){return String(S).replace(/"/g,ne)}function ae(S,Z,T,N){return!(!T||N||S===!1||S===void 0&&(Z===!1||Z===null))}function Y(S,Z){var T=S.prefixCls,N=S.editable,he=S.locale,fe=S.style;return!N||N.showAdd===!1?null:C.createElement("button",{ref:Z,type:"button",className:"".concat(T,"-nav-add"),style:fe,"aria-label":(he==null?void 0:he.addAriaLabel)||"Add tab",onClick:function(Ae){N.onEdit("add",{event:Ae})}},N.addIcon||"+")}var be=C.forwardRef(Y),Re=C.forwardRef(function(S,Z){var T=S.position,N=S.prefixCls,he=S.extra;if(!he)return null;var fe,He={};return(0,I.Z)(he)==="object"&&!C.isValidElement(he)?He=he:He.right=he,T==="right"&&(fe=He.right),T==="left"&&(fe=He.left),fe?C.createElement("div",{className:"".concat(N,"-extra-content"),ref:Z},fe):null}),Ve=Re,Fe=e(31561),ke=e(15285),Ge=e(10228);function at(S,Z){var T=S.prefixCls,N=S.id,he=S.tabs,fe=S.locale,He=S.mobile,Ae=S.moreIcon,Ye=Ae===void 0?"More":Ae,nt=S.moreTransitionName,dt=S.style,it=S.className,qe=S.editable,ot=S.tabBarGutter,Ct=S.rtl,lt=S.removeAriaLabel,Ot=S.onTabClick,zt=S.getPopupContainer,Qt=S.popupClassName,Rt=(0,C.useState)(!1),Gt=(0,q.Z)(Rt,2),Oe=Gt[0],xe=Gt[1],De=(0,C.useState)(null),Ze=(0,q.Z)(De,2),Pe=Ze[0],Be=Ze[1],Ne="".concat(N,"-more-popup"),We="".concat(T,"-dropdown"),ft=Pe!==null?"".concat(Ne,"-").concat(Pe):null,pt=fe==null?void 0:fe.dropdownAriaLabel;function Kt(nn,Jt){nn.preventDefault(),nn.stopPropagation(),qe.onEdit("remove",{key:Jt,event:nn})}var jt=C.createElement(ke.ZP,{onClick:function(Jt){var qt=Jt.key,xn=Jt.domEvent;Ot(qt,xn),xe(!1)},prefixCls:"".concat(We,"-menu"),id:Ne,tabIndex:-1,role:"listbox","aria-activedescendant":ft,selectedKeys:[Pe],"aria-label":pt!==void 0?pt:"expanded dropdown"},he.map(function(nn){var Jt=nn.closable,qt=nn.disabled,xn=nn.closeIcon,en=nn.key,Rn=nn.label,Gn=ae(Jt,xn,qe,qt);return C.createElement(ke.sN,{key:en,id:"".concat(Ne,"-").concat(en),role:"option","aria-controls":N&&"".concat(N,"-panel-").concat(en),disabled:qt},C.createElement("span",null,Rn),Gn&&C.createElement("button",{type:"button","aria-label":lt||"remove",tabIndex:0,className:"".concat(We,"-menu-item-remove"),onClick:function(st){st.stopPropagation(),Kt(st,en)}},xn||qe.removeIcon||"\xD7"))}));function ln(nn){for(var Jt=he.filter(function(Gn){return!Gn.disabled}),qt=Jt.findIndex(function(Gn){return Gn.key===Pe})||0,xn=Jt.length,en=0;enYn?"left":"right"})}),pt=(0,q.Z)(ft,2),Kt=pt[0],jt=pt[1],ln=M(0,function(sr,Yn){!We&&Rt&&Rt({direction:sr>Yn?"top":"bottom"})}),Bt=(0,q.Z)(ln,2),Pt=Bt[0],tn=Bt[1],sn=(0,C.useState)([0,0]),nn=(0,q.Z)(sn,2),Jt=nn[0],qt=nn[1],xn=(0,C.useState)([0,0]),en=(0,q.Z)(xn,2),Rn=en[0],Gn=en[1],Wt=(0,C.useState)([0,0]),st=(0,q.Z)(Wt,2),ct=st[0],Ht=st[1],Nt=(0,C.useState)([0,0]),Cn=(0,q.Z)(Nt,2),En=Cn[0],rn=Cn[1],nr=A(new Map),Hn=(0,q.Z)(nr,2),dr=Hn[0],At=Hn[1],wt=ee(fe,dr,Rn[0]),gn=R(Jt,We),In=R(Rn,We),Xn=R(ct,We),Ar=R(En,We),br=gnmr?mr:sr}var lr=(0,C.useRef)(),Zr=(0,C.useState)(),Jr=(0,q.Z)(Zr,2),Kr=Jr[0],_r=Jr[1];function Hr(){_r(Date.now())}function qr(){window.clearTimeout(lr.current)}Ue(Ze,function(sr,Yn){function Nr(Cr,Vr){Cr(function(Or){var Ha=Lr(Or+Vr);return Ha})}return br?(We?Nr(jt,sr):Nr(tn,Yn),qr(),Hr(),!0):!1}),(0,C.useEffect)(function(){return qr(),Kr&&(lr.current=window.setTimeout(function(){_r(0)},100)),qr},[Kr]);var Na=H(wt,Wn,We?Kt:Pt,In,Xn,Ar,(0,ie.Z)((0,ie.Z)({},S),{},{tabs:fe})),ta=(0,q.Z)(Na,2),Pa=ta[0],$a=ta[1],ma=(0,r.Z)(function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dt,Yn=wt.get(sr)||{width:0,height:0,left:0,right:0,top:0};if(We){var Nr=Kt;it?Yn.rightKt+Wn&&(Nr=Yn.right+Yn.width-Wn):Yn.left<-Kt?Nr=-Yn.left:Yn.left+Yn.width>-Kt+Wn&&(Nr=-(Yn.left+Yn.width-Wn)),tn(0),jt(Lr(Nr))}else{var Cr=Pt;Yn.top<-Pt?Cr=-Yn.top:Yn.top+Yn.height>-Pt+Wn&&(Cr=-(Yn.top+Yn.height-Wn)),jt(0),tn(Lr(Cr))}}),jr={};lt==="top"||lt==="bottom"?jr[it?"marginRight":"marginLeft"]=Ot:jr.marginTop=Ot;var Ra=fe.map(function(sr,Yn){var Nr=sr.key;return C.createElement(Ke,{id:Ye,prefixCls:he,key:Nr,tab:sr,style:Yn===0?void 0:jr,closable:sr.closable,editable:ot,active:Nr===dt,renderWrapper:zt,removeAriaLabel:Ct==null?void 0:Ct.removeAriaLabel,onClick:function(Vr){Qt(Nr,Vr)},onFocus:function(){ma(Nr),Hr(),Ze.current&&(it||(Ze.current.scrollLeft=0),Ze.current.scrollTop=0)}})}),Ea=function(){return At(function(){var Yn=new Map;return fe.forEach(function(Nr){var Cr,Vr=Nr.key,Or=(Cr=Pe.current)===null||Cr===void 0?void 0:Cr.querySelector('[data-node-key="'.concat(re(Vr),'"]'));Or&&Yn.set(Vr,{width:Or.offsetWidth,height:Or.offsetHeight,left:Or.offsetLeft,top:Or.offsetTop})}),Yn})};(0,C.useEffect)(function(){Ea()},[fe.map(function(sr){return sr.key}).join("_")]);var ia=F(function(){var sr=n(Oe),Yn=n(xe),Nr=n(De);qt([sr[0]-Yn[0]-Nr[0],sr[1]-Yn[1]-Nr[1]]);var Cr=n(Ne);Ht(Cr);var Vr=n(Be);rn(Vr);var Or=n(Pe);Gn([Or[0]-Cr[0],Or[1]-Cr[1]]),Ea()}),va=fe.slice(0,Pa),la=fe.slice($a+1),_t=[].concat((0,L.Z)(va),(0,L.Z)(la)),Bn=wt.get(dt),wn=d({activeTabOffset:Bn,horizontal:We,rtl:it,indicatorSize:Gt}),Dn=wn.style;(0,C.useEffect)(function(){ma()},[dt,fr,mr,k(Bn),k(wt),We]),(0,C.useEffect)(function(){ia()},[it]);var Vn=!!_t.length,qn="".concat(he,"-nav-wrap"),Wr,Er,Ir,zr;return We?it?(Er=Kt>0,Wr=Kt!==mr):(Wr=Kt<0,Er=Kt!==fr):(Ir=Pt<0,zr=Pt!==fr),C.createElement(m.Z,{onResize:ia},C.createElement("div",{ref:(0,h.x1)(Z,Oe),role:"tablist",className:b()("".concat(he,"-nav"),He),style:Ae,onKeyDown:function(){Hr()}},C.createElement(Ve,{ref:xe,position:"left",extra:qe,prefixCls:he}),C.createElement(m.Z,{onResize:ia},C.createElement("div",{className:b()(qn,(T={},(0,t.Z)(T,"".concat(qn,"-ping-left"),Wr),(0,t.Z)(T,"".concat(qn,"-ping-right"),Er),(0,t.Z)(T,"".concat(qn,"-ping-top"),Ir),(0,t.Z)(T,"".concat(qn,"-ping-bottom"),zr),T)),ref:Ze},C.createElement(m.Z,{onResize:ia},C.createElement("div",{ref:Pe,className:"".concat(he,"-nav-list"),style:{transform:"translate(".concat(Kt,"px, ").concat(Pt,"px)"),transition:Kr?"none":void 0}},Ra,C.createElement(be,{ref:Ne,prefixCls:he,locale:Ct,editable:ot,style:(0,ie.Z)((0,ie.Z)({},Ra.length===0?void 0:jr),{},{visibility:Vn?"hidden":null})}),C.createElement("div",{className:b()("".concat(he,"-ink-bar"),(0,t.Z)({},"".concat(he,"-ink-bar-animated"),nt.inkBar)),style:Dn}))))),C.createElement(Xe,(0,$.Z)({},S,{removeAriaLabel:Ct==null?void 0:Ct.removeAriaLabel,ref:Be,prefixCls:he,tabs:_t,className:!Vn&&gr,tabMoving:!!Kr})),C.createElement(Ve,{ref:De,position:"right",extra:qe,prefixCls:he})))}var l=C.forwardRef(G),o=["renderTabBar"],j=["label","key"];function g(S){var Z=S.renderTabBar,T=(0,le.Z)(S,o),N=C.useContext(U),he=N.tabs;if(Z){var fe=(0,ie.Z)((0,ie.Z)({},T),{},{panes:he.map(function(He){var Ae=He.label,Ye=He.key,nt=(0,le.Z)(He,j);return C.createElement(se,(0,$.Z)({tab:Ae,key:Ye,tabKey:Ye},nt))})});return Z(fe,l)}return C.createElement(l,T)}var f=e(48736);function K(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},Z;return S===!1?Z={inkBar:!1,tabPane:!1}:S===!0?Z={inkBar:!0,tabPane:!1}:Z=(0,ie.Z)({inkBar:!0},(0,I.Z)(S)==="object"?S:{}),Z.tabPaneMotion&&Z.tabPane===void 0&&(Z.tabPane=!0),!Z.tabPaneMotion&&Z.tabPane&&(Z.tabPane=!1),Z}var ge=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],te=0;function ve(S,Z){var T,N=S.id,he=S.prefixCls,fe=he===void 0?"rc-tabs":he,He=S.className,Ae=S.items,Ye=S.direction,nt=S.activeKey,dt=S.defaultActiveKey,it=S.editable,qe=S.animated,ot=S.tabPosition,Ct=ot===void 0?"top":ot,lt=S.tabBarGutter,Ot=S.tabBarStyle,zt=S.tabBarExtraContent,Qt=S.locale,Rt=S.moreIcon,Gt=S.moreTransitionName,Oe=S.destroyInactiveTabPane,xe=S.renderTabBar,De=S.onChange,Ze=S.onTabClick,Pe=S.onTabScroll,Be=S.getPopupContainer,Ne=S.popupClassName,We=S.indicatorSize,ft=(0,le.Z)(S,ge),pt=C.useMemo(function(){return(Ae||[]).filter(function(rn){return rn&&(0,I.Z)(rn)==="object"&&"key"in rn})},[Ae]),Kt=Ye==="rtl",jt=K(qe),ln=(0,C.useState)(!1),Bt=(0,q.Z)(ln,2),Pt=Bt[0],tn=Bt[1];(0,C.useEffect)(function(){tn((0,x.Z)())},[]);var sn=(0,ue.Z)(function(){var rn;return(rn=pt[0])===null||rn===void 0?void 0:rn.key},{value:nt,defaultValue:dt}),nn=(0,q.Z)(sn,2),Jt=nn[0],qt=nn[1],xn=(0,C.useState)(function(){return pt.findIndex(function(rn){return rn.key===Jt})}),en=(0,q.Z)(xn,2),Rn=en[0],Gn=en[1];(0,C.useEffect)(function(){var rn=pt.findIndex(function(Hn){return Hn.key===Jt});if(rn===-1){var nr;rn=Math.max(0,Math.min(Rn,pt.length-1)),qt((nr=pt[rn])===null||nr===void 0?void 0:nr.key)}Gn(rn)},[pt.map(function(rn){return rn.key}).join("_"),Jt,Rn]);var Wt=(0,ue.Z)(null,{value:N}),st=(0,q.Z)(Wt,2),ct=st[0],Ht=st[1];(0,C.useEffect)(function(){N||(Ht("rc-tabs-".concat(te)),te+=1)},[]);function Nt(rn,nr){Ze==null||Ze(rn,nr);var Hn=rn!==Jt;qt(rn),Hn&&(De==null||De(rn))}var Cn={id:ct,activeKey:Jt,animated:jt,tabPosition:Ct,rtl:Kt,mobile:Pt},En=(0,ie.Z)((0,ie.Z)({},Cn),{},{editable:it,locale:Qt,moreIcon:Rt,moreTransitionName:Gt,tabBarGutter:lt,onTabClick:Nt,onTabScroll:Pe,extra:zt,style:Ot,panes:null,getPopupContainer:Be,popupClassName:Ne,indicatorSize:We});return C.createElement(U.Provider,{value:{tabs:pt,prefixCls:fe}},C.createElement("div",(0,$.Z)({ref:Z,id:N,className:b()(fe,"".concat(fe,"-").concat(Ct),(T={},(0,t.Z)(T,"".concat(fe,"-mobile"),Pt),(0,t.Z)(T,"".concat(fe,"-editable"),it),(0,t.Z)(T,"".concat(fe,"-rtl"),Kt),T),He)},ft),C.createElement(g,(0,$.Z)({},En,{renderTabBar:xe})),C.createElement(ce,(0,$.Z)({destroyInactiveTabPane:Oe},Cn,{animated:jt}))))}var de=C.forwardRef(ve),p=de,E=p,oe=e(36355),Ee=e(19716),Le=()=>null,Qe=e(62892);const Je={motionAppear:!1,motionEnter:!0,motionLeave:!0};function _e(S){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},T;return Z===!1?T={inkBar:!1,tabPane:!1}:Z===!0?T={inkBar:!0,tabPane:!0}:T=Object.assign({inkBar:!0},typeof Z=="object"?Z:{}),T.tabPane&&(T.tabPaneMotion=Object.assign(Object.assign({},Je),{motionName:(0,Qe.m)(S,"switch")})),T}var ut=e(11592),mt=function(S,Z){var T={};for(var N in S)Object.prototype.hasOwnProperty.call(S,N)&&Z.indexOf(N)<0&&(T[N]=S[N]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,N=Object.getOwnPropertySymbols(S);heZ)}function St(S,Z){if(S)return S;const T=(0,ut.Z)(Z).map(N=>{if(C.isValidElement(N)){const{key:he,props:fe}=N,He=fe||{},{tab:Ae}=He,Ye=mt(He,["tab"]);return Object.assign(Object.assign({key:String(he)},Ye),{label:Ae})}return null});return It(T)}var Tt=e(17313),Yt=e(83116),gt=e(37613),Ut=e(13826),vt=S=>{const{componentCls:Z,motionDurationSlow:T}=S;return[{[Z]:{[`${Z}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${T}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${T}`}}}}},[(0,Ut.oN)(S,"slide-up"),(0,Ut.oN)(S,"slide-down")]]};const yt=S=>{const{componentCls:Z,tabsCardPadding:T,cardBg:N,cardGutter:he,colorBorderSecondary:fe,itemSelectedColor:He}=S;return{[`${Z}-card`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab`]:{margin:0,padding:T,background:N,border:`${S.lineWidth}px ${S.lineType} ${fe}`,transition:`all ${S.motionDurationSlow} ${S.motionEaseInOut}`},[`${Z}-tab-active`]:{color:He,background:S.colorBgContainer},[`${Z}-ink-bar`]:{visibility:"hidden"}},[`&${Z}-top, &${Z}-bottom`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab + ${Z}-tab`]:{marginLeft:{_skip_check_:!0,value:`${he}px`}}}},[`&${Z}-top`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab`]:{borderRadius:`${S.borderRadiusLG}px ${S.borderRadiusLG}px 0 0`},[`${Z}-tab-active`]:{borderBottomColor:S.colorBgContainer}}},[`&${Z}-bottom`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab`]:{borderRadius:`0 0 ${S.borderRadiusLG}px ${S.borderRadiusLG}px`},[`${Z}-tab-active`]:{borderTopColor:S.colorBgContainer}}},[`&${Z}-left, &${Z}-right`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab + ${Z}-tab`]:{marginTop:`${he}px`}}},[`&${Z}-left`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab`]:{borderRadius:{_skip_check_:!0,value:`${S.borderRadiusLG}px 0 0 ${S.borderRadiusLG}px`}},[`${Z}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:S.colorBgContainer}}}},[`&${Z}-right`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${S.borderRadiusLG}px ${S.borderRadiusLG}px 0`}},[`${Z}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:S.colorBgContainer}}}}}}},mn=S=>{const{componentCls:Z,itemHoverColor:T,dropdownEdgeChildVerticalPadding:N}=S;return{[`${Z}-dropdown`]:Object.assign(Object.assign({},(0,Tt.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${Z}-dropdown-menu`]:{maxHeight:S.tabsDropdownHeight,margin:0,padding:`${N}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:S.colorBgContainer,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Tt.vS),{display:"flex",alignItems:"center",minWidth:S.tabsDropdownWidth,margin:0,padding:`${S.paddingXXS}px ${S.paddingSM}px`,color:S.colorText,fontWeight:"normal",fontSize:S.fontSize,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:S.marginSM},color:S.colorTextDescription,fontSize:S.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:T}},"&:hover":{background:S.controlItemBgHover},"&-disabled":{"&, &:hover":{color:S.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},un=S=>{const{componentCls:Z,margin:T,colorBorderSecondary:N,horizontalMargin:he,verticalItemPadding:fe,verticalItemMargin:He}=S;return{[`${Z}-top, ${Z}-bottom`]:{flexDirection:"column",[`> ${Z}-nav, > div > ${Z}-nav`]:{margin:he,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${S.lineWidth}px ${S.lineType} ${N}`,content:"''"},[`${Z}-ink-bar`]:{height:S.lineWidthBold,"&-animated":{transition:`width ${S.motionDurationSlow}, left ${S.motionDurationSlow}, - right ${S.motionDurationSlow}`}},[`${Z}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:S.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:S.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:S.boxShadowTabsOverflowRight},[`&${Z}-nav-wrap-ping-left::before`]:{opacity:1},[`&${Z}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${Z}-top`]:{[`> ${Z}-nav, - > div > ${Z}-nav`]:{"&::before":{bottom:0},[`${Z}-ink-bar`]:{bottom:0}}},[`${Z}-bottom`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{order:1,marginTop:`${T}px`,marginBottom:0,"&::before":{top:0},[`${Z}-ink-bar`]:{top:0}},[`> ${Z}-content-holder, > div > ${Z}-content-holder`]:{order:0}},[`${Z}-left, ${Z}-right`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{flexDirection:"column",minWidth:S.controlHeight*1.25,[`${Z}-tab`]:{padding:fe,textAlign:"center"},[`${Z}-tab + ${Z}-tab`]:{margin:He},[`${Z}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:S.controlHeight},"&::before":{top:0,boxShadow:S.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:S.boxShadowTabsOverflowBottom},[`&${Z}-nav-wrap-ping-top::before`]:{opacity:1},[`&${Z}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${Z}-ink-bar`]:{width:S.lineWidthBold,"&-animated":{transition:`height ${S.motionDurationSlow}, top ${S.motionDurationSlow}`}},[`${Z}-nav-list, ${Z}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${Z}-left`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${Z}-content-holder, > div > ${Z}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${S.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${S.lineWidth}px ${S.lineType} ${S.colorBorder}`},[`> ${Z}-content > ${Z}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:S.paddingLG}}}},[`${Z}-right`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{order:1,[`${Z}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${Z}-content-holder, > div > ${Z}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-S.lineWidth},borderRight:{_skip_check_:!0,value:`${S.lineWidth}px ${S.lineType} ${S.colorBorder}`},[`> ${Z}-content > ${Z}-tabpane`]:{paddingRight:{_skip_check_:!0,value:S.paddingLG}}}}}},Tn=S=>{const{componentCls:Z,cardPaddingSM:T,cardPaddingLG:N,horizontalItemPaddingSM:he,horizontalItemPaddingLG:fe}=S;return{[Z]:{"&-small":{[`> ${Z}-nav`]:{[`${Z}-tab`]:{padding:he,fontSize:S.titleFontSizeSM}}},"&-large":{[`> ${Z}-nav`]:{[`${Z}-tab`]:{padding:fe,fontSize:S.titleFontSizeLG}}}},[`${Z}-card`]:{[`&${Z}-small`]:{[`> ${Z}-nav`]:{[`${Z}-tab`]:{padding:T}},[`&${Z}-bottom`]:{[`> ${Z}-nav ${Z}-tab`]:{borderRadius:`0 0 ${S.borderRadius}px ${S.borderRadius}px`}},[`&${Z}-top`]:{[`> ${Z}-nav ${Z}-tab`]:{borderRadius:`${S.borderRadius}px ${S.borderRadius}px 0 0`}},[`&${Z}-right`]:{[`> ${Z}-nav ${Z}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${S.borderRadius}px ${S.borderRadius}px 0`}}},[`&${Z}-left`]:{[`> ${Z}-nav ${Z}-tab`]:{borderRadius:{_skip_check_:!0,value:`${S.borderRadius}px 0 0 ${S.borderRadius}px`}}}},[`&${Z}-large`]:{[`> ${Z}-nav`]:{[`${Z}-tab`]:{padding:N}}}}}},bn=S=>{const{componentCls:Z,itemActiveColor:T,itemHoverColor:N,iconCls:he,tabsHorizontalItemMargin:fe,horizontalItemPadding:He,itemSelectedColor:Ae,itemColor:Ye}=S,nt=`${Z}-tab`;return{[nt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:He,fontSize:S.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Ye,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:T}},(0,Tt.Qy)(S)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-S.marginXXS},marginLeft:{_skip_check_:!0,value:S.marginXS},color:S.colorTextDescription,fontSize:S.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"&:hover":{color:S.colorTextHeading}},"&:hover":{color:N},[`&${nt}-active ${nt}-btn`]:{color:Ae,textShadow:S.tabsActiveTextShadow},[`&${nt}-disabled`]:{color:S.colorTextDisabled,cursor:"not-allowed"},[`&${nt}-disabled ${nt}-btn, &${nt}-disabled ${Z}-remove`]:{"&:focus, &:active":{color:S.colorTextDisabled}},[`& ${nt}-remove ${he}`]:{margin:0},[he]:{marginRight:{_skip_check_:!0,value:S.marginSM}}},[`${nt} + ${nt}`]:{margin:{_skip_check_:!0,value:fe}}}},$n=S=>{const{componentCls:Z,tabsHorizontalItemMarginRTL:T,iconCls:N,cardGutter:he}=S;return{[`${Z}-rtl`]:{direction:"rtl",[`${Z}-nav`]:{[`${Z}-tab`]:{margin:{_skip_check_:!0,value:T},[`${Z}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[N]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${S.marginSM}px`}},[`${Z}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${S.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${S.marginXXS}px`},[N]:{margin:0}}}},[`&${Z}-left`]:{[`> ${Z}-nav`]:{order:1},[`> ${Z}-content-holder`]:{order:0}},[`&${Z}-right`]:{[`> ${Z}-nav`]:{order:0},[`> ${Z}-content-holder`]:{order:1}},[`&${Z}-card${Z}-top, &${Z}-card${Z}-bottom`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-tab + ${Z}-tab`]:{marginRight:{_skip_check_:!0,value:he},marginLeft:{_skip_check_:!0,value:0}}}}},[`${Z}-dropdown-rtl`]:{direction:"rtl"},[`${Z}-menu-item`]:{[`${Z}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},_n=S=>{const{componentCls:Z,tabsCardPadding:T,cardHeight:N,cardGutter:he,itemHoverColor:fe,itemActiveColor:He,colorBorderSecondary:Ae}=S;return{[Z]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(S)),{display:"flex",[`> ${Z}-nav, > div > ${Z}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${Z}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${S.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${Z}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${S.motionDurationSlow}`},[`${Z}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${Z}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${Z}-nav-more`]:{position:"relative",padding:T,background:"transparent",border:0,color:S.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:S.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${Z}-nav-add`]:Object.assign({minWidth:N,marginLeft:{_skip_check_:!0,value:he},padding:`0 ${S.paddingXS}px`,background:"transparent",border:`${S.lineWidth}px ${S.lineType} ${Ae}`,borderRadius:`${S.borderRadiusLG}px ${S.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:S.colorText,transition:`all ${S.motionDurationSlow} ${S.motionEaseInOut}`,"&:hover":{color:fe},"&:active, &:focus:not(:focus-visible)":{color:He}},(0,Tt.Qy)(S))},[`${Z}-extra-content`]:{flex:"none"},[`${Z}-ink-bar`]:{position:"absolute",background:S.inkBarColor,pointerEvents:"none"}}),bn(S)),{[`${Z}-content`]:{position:"relative",width:"100%"},[`${Z}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${Z}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${Z}-centered`]:{[`> ${Z}-nav, > div > ${Z}-nav`]:{[`${Z}-nav-wrap`]:{[`&:not([class*='${Z}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var vn=(0,Yt.Z)("Tabs",S=>{const Z=(0,gt.TS)(S,{tabsCardPadding:S.cardPadding||`${(S.cardHeight-Math.round(S.fontSize*S.lineHeight))/2-S.lineWidth}px ${S.padding}px`,dropdownEdgeChildVerticalPadding:S.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${S.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${S.horizontalItemGutter}px`});return[Tn(Z),$n(Z),un(Z),mn(Z),yt(Z),_n(Z),vt(Z)]},S=>{const Z=S.controlHeightLG;return{zIndexPopup:S.zIndexPopupBase+50,cardBg:S.colorFillAlter,cardHeight:Z,cardPadding:"",cardPaddingSM:`${S.paddingXXS*1.5}px ${S.padding}px`,cardPaddingLG:`${S.paddingXS}px ${S.padding}px ${S.paddingXXS*1.5}px`,titleFontSize:S.fontSize,titleFontSizeLG:S.fontSizeLG,titleFontSizeSM:S.fontSize,inkBarColor:S.colorPrimary,horizontalMargin:`0 0 ${S.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${S.paddingSM}px 0`,horizontalItemPaddingSM:`${S.paddingXS}px 0`,horizontalItemPaddingLG:`${S.padding}px 0`,verticalItemPadding:`${S.paddingXS}px ${S.paddingLG}px`,verticalItemMargin:`${S.margin}px 0 0 0`,itemColor:S.colorText,itemSelectedColor:S.colorPrimary,itemHoverColor:S.colorPrimaryHover,itemActiveColor:S.colorPrimaryActive,cardGutter:S.marginXXS/2}}),Zt=function(S,Z){var T={};for(var N in S)Object.prototype.hasOwnProperty.call(S,N)&&Z.indexOf(N)<0&&(T[N]=S[N]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,N=Object.getOwnPropertySymbols(S);he{const{type:Z,className:T,rootClassName:N,size:he,onEdit:fe,hideAdd:He,centered:Ae,addIcon:Ye,popupClassName:nt,children:dt,items:it,animated:qe,style:ot,indicatorSize:Ct}=S,lt=Zt(S,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Ot,moreIcon:zt=C.createElement(c.Z,null)}=lt,{direction:Qt,tabs:Rt,getPrefixCls:Gt,getPopupContainer:Oe}=C.useContext(oe.E_),xe=Gt("tabs",Ot),[De,Ze]=vn(xe);let Pe;Z==="editable-card"&&(Pe={onEdit:(Kt,jt)=>{let{key:ln,event:Bt}=jt;fe==null||fe(Kt==="add"?Bt:ln,Kt)},removeIcon:C.createElement(u.Z,null),addIcon:Ye||C.createElement(v.Z,null),showAdd:He!==!0});const Be=Gt(),Ne=St(it,dt),We=_e(xe,qe),ft=(0,Ee.Z)(he),pt=Object.assign(Object.assign({},Rt==null?void 0:Rt.style),ot);return De(C.createElement(E,Object.assign({direction:Qt,getPopupContainer:Oe,moreTransitionName:`${Be}-slide-up`},lt,{items:Ne,className:b()({[`${xe}-${ft}`]:ft,[`${xe}-card`]:["card","editable-card"].includes(Z),[`${xe}-editable-card`]:Z==="editable-card",[`${xe}-centered`]:Ae},Rt==null?void 0:Rt.className,T,N,Ze),popupClassName:b()(nt,Ze),style:pt,editable:Pe,moreIcon:zt,prefixCls:xe,animated:We,indicatorSize:Ct!=null?Ct:Rt==null?void 0:Rt.indicatorSize})))};yn.TabPane=Le;var dn=yn},17574:function(Dt,Me,e){e.d(Me,{default:function(){return H}});var u=e(60091),c=e(94480),v=e(52671),W=e(8657),b=e(54476),$=e(59301),t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},ie=t,q=e(7657),I=function(ne,re){return $.createElement(q.Z,(0,b.Z)({},ne,{ref:re,icon:ie}))},le=$.forwardRef(I),C=le,x=e(92310),ue=e.n(x),X=e(35654),U=e(71430),$e=e(36355),se=e(56082),we=e(62892),ce=e(20648);const L=4;function m(k){const{dropPosition:ne,dropLevelOffset:re,prefixCls:ae,indent:Y,direction:be="ltr"}=k,Re=be==="ltr"?"left":"right",Ve=be==="ltr"?"right":"left",Fe={[Re]:-re*Y+L,[Ve]:0};switch(ne){case-1:Fe.top=-3;break;case 1:Fe.bottom=-3;break;default:Fe.bottom=-3,Fe[Re]=Y+L;break}return $.createElement("div",{style:Fe,className:`${ae}-drop-indicator`})}var r=e(71997),y=$.forwardRef((k,ne)=>{const{getPrefixCls:re,direction:ae,virtual:Y,tree:be}=$.useContext($e.E_),{prefixCls:Re,className:Ve,showIcon:Fe=!1,showLine:ke,switcherIcon:Ge,blockNode:at=!1,children:Xe,checkable:me=!1,selectable:Ke=!0,draggable:B,motion:w,style:d}=k,n=re("tree",Re),R=re(),G=w!=null?w:Object.assign(Object.assign({},(0,we.Z)(R)),{motionAppear:!1}),l=Object.assign(Object.assign({},k),{checkable:me,selectable:Ke,showIcon:Fe,motion:G,blockNode:at,showLine:!!ke,dropIndicatorRender:m}),[o,j]=(0,ce.ZP)(n),g=$.useMemo(()=>{if(!B)return!1;let K={};switch(typeof B){case"function":K.nodeDraggable=B;break;case"object":K=Object.assign({},B);break;default:break}return K.icon!==!1&&(K.icon=K.icon||$.createElement(se.Z,null)),K},[B]),f=K=>$.createElement(r.Z,{prefixCls:n,switcherIcon:Ge,treeNodeProps:K,showLine:ke});return o($.createElement(u.Z,Object.assign({itemHeight:20,ref:ne,virtual:Y},l,{style:Object.assign(Object.assign({},be==null?void 0:be.style),d),prefixCls:n,className:ue()({[`${n}-icon-hide`]:!Fe,[`${n}-block-node`]:at,[`${n}-unselectable`]:!Ke,[`${n}-rtl`]:ae==="rtl"},be==null?void 0:be.className,Ve,j),direction:ae,checkable:me&&$.createElement("span",{className:`${n}-checkbox-inner`}),selectable:Ke,switcherIcon:f,draggable:g}),Xe))}),ee;(function(k){k[k.None=0]="None",k[k.Start=1]="Start",k[k.End=2]="End"})(ee||(ee={}));function M(k,ne){function re(ae){const{key:Y,children:be}=ae;ne(Y,ae)!==!1&&M(be||[],ne)}k.forEach(re)}function V(k){let{treeData:ne,expandedKeys:re,startKey:ae,endKey:Y}=k;const be=[];let Re=ee.None;if(ae&&ae===Y)return[ae];if(!ae||!Y)return[];function Ve(Fe){return Fe===ae||Fe===Y}return M(ne,Fe=>{if(Re===ee.End)return!1;if(Ve(Fe)){if(be.push(Fe),Re===ee.None)Re=ee.Start;else if(Re===ee.Start)return Re=ee.End,!1}else Re===ee.Start&&be.push(Fe);return re.includes(Fe)}),be}function D(k,ne){const re=(0,c.Z)(ne),ae=[];return M(k,(Y,be)=>{const Re=re.indexOf(Y);return Re!==-1&&(ae.push(be),re.splice(Re,1)),!!re.length}),ae}var Ie=function(k,ne){var re={};for(var ae in k)Object.prototype.hasOwnProperty.call(k,ae)&&ne.indexOf(ae)<0&&(re[ae]=k[ae]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,ae=Object.getOwnPropertySymbols(k);Y{var{defaultExpandAll:re,defaultExpandParent:ae,defaultExpandedKeys:Y}=k,be=Ie(k,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Re=$.useRef(),Ve=$.useRef(),Fe=()=>{const{keyEntities:g}=(0,U.I8)(Ue(be));let f;return re?f=Object.keys(g):ae?f=(0,X.r7)(be.expandedKeys||Y||[],g):f=be.expandedKeys||Y,f},[ke,Ge]=$.useState(be.selectedKeys||be.defaultSelectedKeys||[]),[at,Xe]=$.useState(()=>Fe());$.useEffect(()=>{"selectedKeys"in be&&Ge(be.selectedKeys)},[be.selectedKeys]),$.useEffect(()=>{"expandedKeys"in be&&Xe(be.expandedKeys)},[be.expandedKeys]);const me=(g,f)=>{var K;return"expandedKeys"in be||Xe(g),(K=be.onExpand)===null||K===void 0?void 0:K.call(be,g,f)},Ke=(g,f)=>{var K;const{multiple:ge}=be,{node:te,nativeEvent:ve}=f,{key:de=""}=te,p=Ue(be),E=Object.assign(Object.assign({},f),{selected:!0}),oe=(ve==null?void 0:ve.ctrlKey)||(ve==null?void 0:ve.metaKey),Ee=ve==null?void 0:ve.shiftKey;let Se;ge&&oe?(Se=g,Re.current=de,Ve.current=Se,E.selectedNodes=D(p,Se)):ge&&Ee?(Se=Array.from(new Set([].concat((0,c.Z)(Ve.current||[]),(0,c.Z)(V({treeData:p,expandedKeys:at,startKey:de,endKey:Re.current}))))),E.selectedNodes=D(p,Se)):(Se=[de],Re.current=de,Ve.current=Se,E.selectedNodes=D(p,Se)),(K=be.onSelect)===null||K===void 0||K.call(be,Se,E),"selectedKeys"in be||Ge(Se)},{getPrefixCls:B,direction:w}=$.useContext($e.E_),{prefixCls:d,className:n,showIcon:R=!0,expandAction:G="click"}=be,l=Ie(be,["prefixCls","className","showIcon","expandAction"]),o=B("tree",d),j=ue()(`${o}-directory`,{[`${o}-directory-rtl`]:w==="rtl"},n);return $.createElement(y,Object.assign({icon:Q,ref:ne,blockNode:!0},l,{showIcon:R,expandAction:G,prefixCls:o,className:j,expandedKeys:at,selectedKeys:ke,onSelect:Ke,onExpand:me}))};var A=$.forwardRef(s);const O=y;O.DirectoryTree=A,O.TreeNode=u.O;var H=O},20648:function(Dt,Me,e){e.d(Me,{TM:function(){return x},Yk:function(){return C}});var u=e(36237),c=e(98447),v=e(17313),W=e(8378),b=e(37613),$=e(83116);const t=new u.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),ie=(ue,X)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${X.motionDurationSlow}`}}}),q=(ue,X)=>({[`.${ue}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:X.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${X.lineWidthBold}px solid ${X.colorPrimary}`,borderRadius:"50%",content:'""'}}}),I=(ue,X)=>{const{treeCls:U,treeNodeCls:$e,treeNodePadding:se,titleHeight:we,nodeSelectedBg:ce,nodeHoverBg:L}=X,m=X.paddingXS;return{[U]:Object.assign(Object.assign({},(0,v.Wf)(X)),{background:X.colorBgContainer,borderRadius:X.borderRadius,transition:`background-color ${X.motionDurationSlow}`,[`&${U}-rtl`]:{[`${U}-switcher`]:{"&_close":{[`${U}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${U}-active-focused)`]:Object.assign({},(0,v.oN)(X)),[`${U}-list-holder-inner`]:{alignItems:"flex-start"},[`&${U}-block-node`]:{[`${U}-list-holder-inner`]:{alignItems:"stretch",[`${U}-node-content-wrapper`]:{flex:"auto"},[`${$e}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:se,insetInlineStart:0,border:`1px solid ${X.colorPrimary}`,opacity:0,animationName:t,animationDuration:X.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${$e}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${se}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${U}-node-content-wrapper`]:{color:X.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${U}-node-content-wrapper`]:Object.assign({},(0,v.oN)(X)),[`&:not(${$e}-disabled).filter-node ${U}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${U}-draggable-icon`]:{flexShrink:0,width:we,lineHeight:`${we}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${X.motionDurationSlow}`,[`${$e}:hover &`]:{opacity:.45}},[`&${$e}-disabled`]:{[`${U}-draggable-icon`]:{visibility:"hidden"}}}},[`${U}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:we}},[`${U}-draggable-icon`]:{visibility:"hidden"},[`${U}-switcher`]:Object.assign(Object.assign({},ie(ue,X)),{position:"relative",flex:"none",alignSelf:"stretch",width:we,margin:0,lineHeight:`${we}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${U}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:X.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we/2,bottom:-se,marginInlineStart:-1,borderInlineEnd:`1px solid ${X.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:we/2*.8,height:we/2,borderBottom:`1px solid ${X.colorBorder}`,content:'""'}}}),[`${U}-checkbox`]:{top:"initial",marginInlineEnd:m},[`${U}-node-content-wrapper, ${U}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:we,margin:0,padding:`0 ${X.paddingXS/2}px`,color:"inherit",lineHeight:`${we}px`,background:"transparent",borderRadius:X.borderRadius,cursor:"pointer",transition:`all ${X.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:L},[`&${U}-node-selected`]:{backgroundColor:ce},[`${U}-iconEle`]:{display:"inline-block",width:we,height:we,lineHeight:`${we}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${U}-unselectable ${U}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${U}-node-content-wrapper`]:Object.assign({lineHeight:`${we}px`,userSelect:"none"},q(ue,X)),[`${$e}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${X.colorPrimary}`}},"&-show-line":{[`${U}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we/2,bottom:-se,borderInlineEnd:`1px solid ${X.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${U}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${$e}-leaf-last`]:{[`${U}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${we/2}px !important`}}}}})}},le=ue=>{const{treeCls:X,treeNodeCls:U,treeNodePadding:$e,directoryNodeSelectedBg:se,directoryNodeSelectedColor:we}=ue;return{[`${X}${X}-directory`]:{[U]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:$e,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${X}-switcher`]:{transition:`color ${ue.motionDurationMid}`},[`${X}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${X}-node-selected`]:{color:we,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:se},[`${X}-switcher`]:{color:we},[`${X}-node-content-wrapper`]:{color:we,background:"transparent"}}}}}},C=(ue,X)=>{const U=`.${ue}`,$e=`${U}-treenode`,se=X.paddingXS/2,we=(0,b.TS)(X,{treeCls:U,treeNodeCls:$e,treeNodePadding:se});return[I(ue,we),le(we)]},x=ue=>{const{controlHeightSM:X}=ue;return{titleHeight:X,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};Me.ZP=(0,$.Z)("Tree",(ue,X)=>{let{prefixCls:U}=X;return[{[ue.componentCls]:(0,c.C2)(`${U}-checkbox`,ue)},C(U,ue),(0,W.Z)(ue)]},ue=>{const{colorTextLightSolid:X,colorPrimary:U}=ue;return Object.assign(Object.assign({},x(ue)),{directoryNodeSelectedColor:X,directoryNodeSelectedBg:U})})},71997:function(Dt,Me,e){e.d(Me,{Z:function(){return $e}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},W=v,b=e(7657),$=function(we,ce){return c.createElement(b.Z,(0,u.Z)({},we,{ref:ce,icon:W}))},t=c.forwardRef($),ie=t,q=e(52671),I=e(58617),le=e(15075),C=e(43531),x=e(92310),ue=e.n(x),X=e(92343),$e=se=>{const{prefixCls:we,switcherIcon:ce,treeNodeProps:L,showLine:m}=se,{isLeaf:r,expanded:h,loading:y}=L;if(y)return c.createElement(I.Z,{className:`${we}-switcher-loading-icon`});let ee;if(m&&typeof m=="object"&&(ee=m.showLeafIcon),r){if(!m)return null;if(typeof ee!="boolean"&&ee){const D=typeof ee=="function"?ee(L):ee,Ie=`${we}-switcher-line-custom-icon`;return(0,X.l$)(D)?(0,X.Tm)(D,{className:ue()(D.props.className||"",Ie)}):D}return ee?c.createElement(q.Z,{className:`${we}-switcher-line-icon`}):c.createElement("span",{className:`${we}-switcher-leaf-line`})}const M=`${we}-switcher-icon`,V=typeof ce=="function"?ce(L):ce;return(0,X.l$)(V)?(0,X.Tm)(V,{className:ue()(V.props.className||"",M)}):V!==void 0?V:m?h?c.createElement(le.Z,{className:`${we}-switcher-line-icon`}):c.createElement(C.Z,{className:`${we}-switcher-line-icon`}):c.createElement(ie,{className:M})}},5630:function(Dt,Me,e){var u=e(54476),c=e(33885),v=e(20068),W=e(42978),b=e(75931),$=e(92310),t=e.n($),ie=e(18929),q=e(59301),I=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],le=(0,q.forwardRef)(function(C,x){var ue,X=C.prefixCls,U=X===void 0?"rc-checkbox":X,$e=C.className,se=C.style,we=C.checked,ce=C.disabled,L=C.defaultChecked,m=L===void 0?!1:L,r=C.type,h=r===void 0?"checkbox":r,y=C.title,ee=C.onChange,M=(0,b.Z)(C,I),V=(0,q.useRef)(null),D=(0,ie.Z)(m,{value:we}),Ie=(0,W.Z)(D,2),Q=Ie[0],Ue=Ie[1];(0,q.useImperativeHandle)(x,function(){return{focus:function(){var O;(O=V.current)===null||O===void 0||O.focus()},blur:function(){var O;(O=V.current)===null||O===void 0||O.blur()},input:V.current}});var s=t()(U,$e,(ue={},(0,v.Z)(ue,"".concat(U,"-checked"),Q),(0,v.Z)(ue,"".concat(U,"-disabled"),ce),ue)),F=function(O){ce||("checked"in C||Ue(O.target.checked),ee==null||ee({target:(0,c.Z)((0,c.Z)({},C),{},{type:h,checked:O.target.checked}),stopPropagation:function(){O.stopPropagation()},preventDefault:function(){O.preventDefault()},nativeEvent:O.nativeEvent}))};return q.createElement("span",{className:s,title:y,style:se},q.createElement("input",(0,u.Z)({},M,{className:"".concat(U,"-input"),ref:V,onChange:F,disabled:ce,checked:!!Q,type:h})),q.createElement("span",{className:"".concat(U,"-inner")}))});Me.Z=le},31561:function(Dt,Me,e){e.d(Me,{Z:function(){return h}});var u=e(54476),c=e(20068),v=e(42978),W=e(75931),b=e(35593),$=e(92310),t=e.n($),ie=e(8654),q=e(59301),I=e(10228),le=e(16089),C=I.Z.ESC,x=I.Z.TAB;function ue(y){var ee=y.visible,M=y.triggerRef,V=y.onVisibleChange,D=y.autoFocus,Ie=y.overlayRef,Q=q.useRef(!1),Ue=function(){if(ee){var O,H;(O=M.current)===null||O===void 0||(H=O.focus)===null||H===void 0||H.call(O),V==null||V(!1)}},s=function(){var O;return(O=Ie.current)!==null&&O!==void 0&&O.focus?(Ie.current.focus(),Q.current=!0,!0):!1},F=function(O){switch(O.keyCode){case C:Ue();break;case x:{var H=!1;Q.current||(H=s()),H?O.preventDefault():Ue();break}}};q.useEffect(function(){return ee?(window.addEventListener("keydown",F),D&&(0,le.Z)(s,3),function(){window.removeEventListener("keydown",F),Q.current=!1}):function(){Q.current=!1}},[ee])}var X=(0,q.forwardRef)(function(y,ee){var M=y.overlay,V=y.arrow,D=y.prefixCls,Ie=(0,q.useMemo)(function(){var Ue;return typeof M=="function"?Ue=M():Ue=M,Ue},[M]),Q=(0,ie.sQ)(ee,Ie==null?void 0:Ie.ref);return q.createElement(q.Fragment,null,V&&q.createElement("div",{className:"".concat(D,"-arrow")}),q.cloneElement(Ie,{ref:(0,ie.Yr)(Ie)?Q:void 0}))}),U=X,$e={adjustX:1,adjustY:1},se=[0,0],we={topLeft:{points:["bl","tl"],overflow:$e,offset:[0,-4],targetOffset:se},top:{points:["bc","tc"],overflow:$e,offset:[0,-4],targetOffset:se},topRight:{points:["br","tr"],overflow:$e,offset:[0,-4],targetOffset:se},bottomLeft:{points:["tl","bl"],overflow:$e,offset:[0,4],targetOffset:se},bottom:{points:["tc","bc"],overflow:$e,offset:[0,4],targetOffset:se},bottomRight:{points:["tr","br"],overflow:$e,offset:[0,4],targetOffset:se}},ce=we,L=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function m(y,ee){var M,V=y.arrow,D=V===void 0?!1:V,Ie=y.prefixCls,Q=Ie===void 0?"rc-dropdown":Ie,Ue=y.transitionName,s=y.animation,F=y.align,A=y.placement,O=A===void 0?"bottomLeft":A,H=y.placements,k=H===void 0?ce:H,ne=y.getPopupContainer,re=y.showAction,ae=y.hideAction,Y=y.overlayClassName,be=y.overlayStyle,Re=y.visible,Ve=y.trigger,Fe=Ve===void 0?["hover"]:Ve,ke=y.autoFocus,Ge=y.overlay,at=y.children,Xe=y.onVisibleChange,me=(0,W.Z)(y,L),Ke=q.useState(),B=(0,v.Z)(Ke,2),w=B[0],d=B[1],n="visible"in y?Re:w,R=q.useRef(null),G=q.useRef(null),l=q.useRef(null);q.useImperativeHandle(ee,function(){return R.current});var o=function(p){d(p),Xe==null||Xe(p)};ue({visible:n,triggerRef:l,onVisibleChange:o,autoFocus:ke,overlayRef:G});var j=function(p){var E=y.onOverlayClick;d(!1),E&&E(p)},g=function(){return q.createElement(U,{ref:G,overlay:Ge,prefixCls:Q,arrow:D})},f=function(){return typeof Ge=="function"?g:g()},K=function(){var p=y.minOverlayWidthMatchTrigger,E=y.alignPoint;return"minOverlayWidthMatchTrigger"in y?p:!E},ge=function(){var p=y.openClassName;return p!==void 0?p:"".concat(Q,"-open")},te=q.cloneElement(at,{className:t()((M=at.props)===null||M===void 0?void 0:M.className,n&&ge()),ref:(0,ie.Yr)(at)?(0,ie.sQ)(l,at.ref):void 0}),ve=ae;return!ve&&Fe.indexOf("contextMenu")!==-1&&(ve=["click"]),q.createElement(b.Z,(0,u.Z)({builtinPlacements:k},me,{prefixCls:Q,ref:R,popupClassName:t()(Y,(0,c.Z)({},"".concat(Q,"-show-arrow"),D)),popupStyle:be,action:Fe,showAction:re,hideAction:ve,popupPlacement:O,popupAlign:F,popupTransitionName:Ue,popupAnimation:s,popupVisible:n,stretch:K()?"minWidth":"",popup:f(),onPopupVisibleChange:o,onPopupClick:j,getPopupContainer:ne}),te)}var r=q.forwardRef(m),h=r},93681:function(Dt,Me,e){e.r(Me),e.d(Me,{BaseInput:function(){return I},default:function(){return we}});var u=e(54476),c=e(33885),v=e(20068),W=e(76190),b=e(92310),$=e.n(b),t=e(59301),ie=e(5643),q=function(L){var m,r,h=L.inputElement,y=L.prefixCls,ee=L.prefix,M=L.suffix,V=L.addonBefore,D=L.addonAfter,Ie=L.className,Q=L.style,Ue=L.disabled,s=L.readOnly,F=L.focused,A=L.triggerFocus,O=L.allowClear,H=L.value,k=L.handleReset,ne=L.hidden,re=L.classes,ae=L.classNames,Y=L.dataAttrs,be=L.styles,Re=L.components,Ve=(Re==null?void 0:Re.affixWrapper)||"span",Fe=(Re==null?void 0:Re.groupWrapper)||"span",ke=(Re==null?void 0:Re.wrapper)||"span",Ge=(Re==null?void 0:Re.groupAddon)||"span",at=(0,t.useRef)(null),Xe=function(g){var f;(f=at.current)!==null&&f!==void 0&&f.contains(g.target)&&(A==null||A())},me=function(){var g;if(!O)return null;var f=!Ue&&!s&&H,K="".concat(y,"-clear-icon"),ge=(0,W.Z)(O)==="object"&&O!==null&&O!==void 0&&O.clearIcon?O.clearIcon:"\u2716";return t.createElement("span",{onClick:k,onMouseDown:function(ve){return ve.preventDefault()},className:$()(K,(g={},(0,v.Z)(g,"".concat(K,"-hidden"),!f),(0,v.Z)(g,"".concat(K,"-has-suffix"),!!M),g)),role:"button",tabIndex:-1},ge)},Ke=(0,t.cloneElement)(h,{value:H,hidden:ne,className:$()((m=h.props)===null||m===void 0?void 0:m.className,!(0,ie.X3)(L)&&!(0,ie.He)(L)&&Ie)||null,style:(0,c.Z)((0,c.Z)({},(r=h.props)===null||r===void 0?void 0:r.style),!(0,ie.X3)(L)&&!(0,ie.He)(L)?Q:{})});if((0,ie.X3)(L)){var B,w="".concat(y,"-affix-wrapper"),d=$()(w,(B={},(0,v.Z)(B,"".concat(w,"-disabled"),Ue),(0,v.Z)(B,"".concat(w,"-focused"),F),(0,v.Z)(B,"".concat(w,"-readonly"),s),(0,v.Z)(B,"".concat(w,"-input-with-clear-btn"),M&&O&&H),B),!(0,ie.He)(L)&&Ie,re==null?void 0:re.affixWrapper,ae==null?void 0:ae.affixWrapper),n=(M||O)&&t.createElement("span",{className:$()("".concat(y,"-suffix"),ae==null?void 0:ae.suffix),style:be==null?void 0:be.suffix},me(),M);Ke=t.createElement(Ve,(0,u.Z)({className:d,style:(0,c.Z)((0,c.Z)({},(0,ie.He)(L)?void 0:Q),be==null?void 0:be.affixWrapper),hidden:!(0,ie.He)(L)&&ne,onClick:Xe},Y==null?void 0:Y.affixWrapper,{ref:at}),ee&&t.createElement("span",{className:$()("".concat(y,"-prefix"),ae==null?void 0:ae.prefix),style:be==null?void 0:be.prefix},ee),(0,t.cloneElement)(h,{value:H,hidden:null}),n)}if((0,ie.He)(L)){var R="".concat(y,"-group"),G="".concat(R,"-addon"),l=$()("".concat(y,"-wrapper"),R,re==null?void 0:re.wrapper),o=$()("".concat(y,"-group-wrapper"),Ie,re==null?void 0:re.group);return t.createElement(Fe,{className:o,style:Q,hidden:ne},t.createElement(ke,{className:l},V&&t.createElement(Ge,{className:G},V),(0,t.cloneElement)(Ke,{hidden:null}),D&&t.createElement(Ge,{className:G},D)))}return Ke},I=q,le=e(94480),C=e(42978),x=e(75931),ue=e(18929),X=e(2738),U=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],$e=(0,t.forwardRef)(function(ce,L){var m=ce.autoComplete,r=ce.onChange,h=ce.onFocus,y=ce.onBlur,ee=ce.onPressEnter,M=ce.onKeyDown,V=ce.prefixCls,D=V===void 0?"rc-input":V,Ie=ce.disabled,Q=ce.htmlSize,Ue=ce.className,s=ce.maxLength,F=ce.suffix,A=ce.showCount,O=ce.type,H=O===void 0?"text":O,k=ce.classes,ne=ce.classNames,re=ce.styles,ae=(0,x.Z)(ce,U),Y=(0,ue.Z)(ce.defaultValue,{value:ce.value}),be=(0,C.Z)(Y,2),Re=be[0],Ve=be[1],Fe=(0,t.useState)(!1),ke=(0,C.Z)(Fe,2),Ge=ke[0],at=ke[1],Xe=(0,t.useRef)(null),me=function(o){Xe.current&&(0,ie.nH)(Xe.current,o)};(0,t.useImperativeHandle)(L,function(){return{focus:me,blur:function(){var o;(o=Xe.current)===null||o===void 0||o.blur()},setSelectionRange:function(o,j,g){var f;(f=Xe.current)===null||f===void 0||f.setSelectionRange(o,j,g)},select:function(){var o;(o=Xe.current)===null||o===void 0||o.select()},input:Xe.current}}),(0,t.useEffect)(function(){at(function(l){return l&&Ie?!1:l})},[Ie]);var Ke=function(o){ce.value===void 0&&Ve(o.target.value),Xe.current&&(0,ie.rJ)(Xe.current,o,r)},B=function(o){ee&&o.key==="Enter"&&ee(o),M==null||M(o)},w=function(o){at(!0),h==null||h(o)},d=function(o){at(!1),y==null||y(o)},n=function(o){Ve(""),me(),Xe.current&&(0,ie.rJ)(Xe.current,o,r)},R=function(){var o=(0,X.Z)(ce,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return t.createElement("input",(0,u.Z)({autoComplete:m},o,{onChange:Ke,onFocus:w,onBlur:d,onKeyDown:B,className:$()(D,(0,v.Z)({},"".concat(D,"-disabled"),Ie),ne==null?void 0:ne.input),style:re==null?void 0:re.input,ref:Xe,size:Q,type:H}))},G=function(){var o=Number(s)>0;if(F||A){var j=(0,ie.D7)(Re),g=(0,le.Z)(j).length,f=(0,W.Z)(A)==="object"?A.formatter({value:j,count:g,maxLength:s}):"".concat(g).concat(o?" / ".concat(s):"");return t.createElement(t.Fragment,null,!!A&&t.createElement("span",{className:$()("".concat(D,"-show-count-suffix"),(0,v.Z)({},"".concat(D,"-show-count-has-suffix"),!!F),ne==null?void 0:ne.count),style:(0,c.Z)({},re==null?void 0:re.count)},f),F)}return null};return t.createElement(I,(0,u.Z)({},ae,{prefixCls:D,className:Ue,inputElement:R(),handleReset:n,value:(0,ie.D7)(Re),focused:Ge,triggerFocus:me,suffix:G(),disabled:Ie,classes:k,classNames:ne,styles:re}))}),se=$e,we=se},5643:function(Dt,Me,e){e.d(Me,{D7:function(){return b},He:function(){return u},X3:function(){return c},nH:function(){return W},rJ:function(){return v}});function u($){return!!($.addonBefore||$.addonAfter)}function c($){return!!($.prefix||$.suffix||$.allowClear)}function v($,t,ie,q){if(ie){var I=t;if(t.type==="click"){var le=$.cloneNode(!0);I=Object.create(t,{target:{value:le},currentTarget:{value:le}}),le.value="",ie(I);return}if(q!==void 0){I=Object.create(t,{target:{value:$},currentTarget:{value:$}}),$.value=q,ie(I);return}ie(I)}}function W($,t){if($){$.focus(t);var ie=t||{},q=ie.cursor;if(q){var I=$.value.length;switch(q){case"start":$.setSelectionRange(0,0);break;case"end":$.setSelectionRange(I,I);break;default:$.setSelectionRange(0,I)}}}}function b($){return typeof $=="undefined"||$===null?"":String($)}},15285:function(Dt,Me,e){e.d(Me,{iz:function(){return it},ck:function(){return gt},BW:function(){return dt},sN:function(){return gt},Wd:function(){return fe},ZP:function(){return Gt},Xl:function(){return M}});var u=e(54476),c=e(20068),v=e(33885),W=e(94480),b=e(42978),$=e(75931),t=e(92310),ie=e.n(t),q=e(83836),I=e(18929),le=e(13697),C=e(48736),x=e(59301),ue=e(4676),X=x.createContext(null);function U(Oe,xe){return Oe===void 0?null:"".concat(Oe,"-").concat(xe)}function $e(Oe){var xe=x.useContext(X);return U(xe,Oe)}var se=e(80547),we=["children","locked"],ce=x.createContext(null);function L(Oe,xe){var De=(0,v.Z)({},Oe);return Object.keys(xe).forEach(function(Ze){var Pe=xe[Ze];Pe!==void 0&&(De[Ze]=Pe)}),De}function m(Oe){var xe=Oe.children,De=Oe.locked,Ze=(0,$.Z)(Oe,we),Pe=x.useContext(ce),Be=(0,se.Z)(function(){return L(Pe,Ze)},[Pe,Ze],function(Ne,We){return!De&&(Ne[0]!==We[0]||!(0,le.Z)(Ne[1],We[1],!0))});return x.createElement(ce.Provider,{value:Be},xe)}var r=[],h=x.createContext(null);function y(){return x.useContext(h)}var ee=x.createContext(r);function M(Oe){var xe=x.useContext(ee);return x.useMemo(function(){return Oe!==void 0?[].concat((0,W.Z)(xe),[Oe]):xe},[xe,Oe])}var V=x.createContext(null),D=x.createContext({}),Ie=D,Q=e(29194);function Ue(Oe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Q.Z)(Oe)){var De=Oe.nodeName.toLowerCase(),Ze=["input","select","textarea","button"].includes(De)||Oe.isContentEditable||De==="a"&&!!Oe.getAttribute("href"),Pe=Oe.getAttribute("tabindex"),Be=Number(Pe),Ne=null;return Pe&&!Number.isNaN(Be)?Ne=Be:Ze&&Ne===null&&(Ne=0),Ze&&Oe.disabled&&(Ne=null),Ne!==null&&(Ne>=0||xe&&Ne<0)}return!1}function s(Oe){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,De=(0,W.Z)(Oe.querySelectorAll("*")).filter(function(Ze){return Ue(Ze,xe)});return Ue(Oe,xe)&&De.unshift(Oe),De}var F=null;function A(){F=document.activeElement}function O(){F=null}function H(){if(F)try{F.focus()}catch(Oe){}}function k(Oe,xe){if(xe.keyCode===9){var De=s(Oe),Ze=De[xe.shiftKey?0:De.length-1],Pe=Ze===document.activeElement||Oe===document.activeElement;if(Pe){var Be=De[xe.shiftKey?De.length-1:0];Be.focus(),xe.preventDefault()}}}var ne=e(10228),re=e(16089),ae=ne.Z.LEFT,Y=ne.Z.RIGHT,be=ne.Z.UP,Re=ne.Z.DOWN,Ve=ne.Z.ENTER,Fe=ne.Z.ESC,ke=ne.Z.HOME,Ge=ne.Z.END,at=[be,Re,ae,Y];function Xe(Oe,xe,De,Ze){var Pe,Be,Ne,We,ft="prev",pt="next",Kt="children",jt="parent";if(Oe==="inline"&&Ze===Ve)return{inlineTrigger:!0};var ln=(Pe={},(0,c.Z)(Pe,be,ft),(0,c.Z)(Pe,Re,pt),Pe),Bt=(Be={},(0,c.Z)(Be,ae,De?pt:ft),(0,c.Z)(Be,Y,De?ft:pt),(0,c.Z)(Be,Re,Kt),(0,c.Z)(Be,Ve,Kt),Be),Pt=(Ne={},(0,c.Z)(Ne,be,ft),(0,c.Z)(Ne,Re,pt),(0,c.Z)(Ne,Ve,Kt),(0,c.Z)(Ne,Fe,jt),(0,c.Z)(Ne,ae,De?Kt:jt),(0,c.Z)(Ne,Y,De?jt:Kt),Ne),tn={inline:ln,horizontal:Bt,vertical:Pt,inlineSub:ln,horizontalSub:Pt,verticalSub:Pt},sn=(We=tn["".concat(Oe).concat(xe?"":"Sub")])===null||We===void 0?void 0:We[Ze];switch(sn){case ft:return{offset:-1,sibling:!0};case pt:return{offset:1,sibling:!0};case jt:return{offset:-1,sibling:!1};case Kt:return{offset:1,sibling:!1};default:return null}}function me(Oe){for(var xe=Oe;xe;){if(xe.getAttribute("data-menu-list"))return xe;xe=xe.parentElement}return null}function Ke(Oe,xe){for(var De=Oe||document.activeElement;De;){if(xe.has(De))return De;De=De.parentElement}return null}function B(Oe,xe){var De=s(Oe,!0);return De.filter(function(Ze){return xe.has(Ze)})}function w(Oe,xe,De){var Ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Oe)return null;var Pe=B(Oe,xe),Be=Pe.length,Ne=Pe.findIndex(function(We){return De===We});return Ze<0?Ne===-1?Ne=Be-1:Ne-=1:Ze>0&&(Ne+=1),Ne=(Ne+Be)%Be,Pe[Ne]}var d=function(xe,De){var Ze=new Set,Pe=new Map,Be=new Map;return xe.forEach(function(Ne){var We=document.querySelector("[data-menu-id='".concat(U(De,Ne),"']"));We&&(Ze.add(We),Be.set(We,Ne),Pe.set(Ne,We))}),{elements:Ze,key2element:Pe,element2key:Be}};function n(Oe,xe,De,Ze,Pe,Be,Ne,We,ft,pt){var Kt=x.useRef(),jt=x.useRef();jt.current=xe;var ln=function(){re.Z.cancel(Kt.current)};return x.useEffect(function(){return function(){ln()}},[]),function(Bt){var Pt=Bt.which;if([].concat(at,[Ve,Fe,ke,Ge]).includes(Pt)){var tn=Be(),sn=d(tn,Ze),nn=sn,Jt=nn.elements,qt=nn.key2element,xn=nn.element2key,en=qt.get(xe),Rn=Ke(en,Jt),Gn=xn.get(Rn),Wt=Xe(Oe,Ne(Gn,!0).length===1,De,Pt);if(!Wt&&Pt!==ke&&Pt!==Ge)return;(at.includes(Pt)||[ke,Ge].includes(Pt))&&Bt.preventDefault();var st=function(Hn){if(Hn){var dr=Hn,At=Hn.querySelector("a");At!=null&&At.getAttribute("href")&&(dr=At);var wt=xn.get(Hn);We(wt),ln(),Kt.current=(0,re.Z)(function(){jt.current===wt&&dr.focus()})}};if([ke,Ge].includes(Pt)||Wt.sibling||!Rn){var ct;!Rn||Oe==="inline"?ct=Pe.current:ct=me(Rn);var Ht,Nt=B(ct,Jt);Pt===ke?Ht=Nt[0]:Pt===Ge?Ht=Nt[Nt.length-1]:Ht=w(ct,Jt,Rn,Wt.offset),st(Ht)}else if(Wt.inlineTrigger)ft(Gn);else if(Wt.offset>0)ft(Gn,!0),ln(),Kt.current=(0,re.Z)(function(){sn=d(tn,Ze);var nr=Rn.getAttribute("aria-controls"),Hn=document.getElementById(nr),dr=w(Hn,sn.elements);st(dr)},5);else if(Wt.offset<0){var Cn=Ne(Gn,!0),En=Cn[Cn.length-2],rn=qt.get(En);ft(En,!1),st(rn)}}pt==null||pt(Bt)}}function R(Oe){Promise.resolve().then(Oe)}var G="__RC_UTIL_PATH_SPLIT__",l=function(xe){return xe.join(G)},o=function(xe){return xe.split(G)},j="rc-menu-more";function g(){var Oe=x.useState({}),xe=(0,b.Z)(Oe,2),De=xe[1],Ze=(0,x.useRef)(new Map),Pe=(0,x.useRef)(new Map),Be=x.useState([]),Ne=(0,b.Z)(Be,2),We=Ne[0],ft=Ne[1],pt=(0,x.useRef)(0),Kt=(0,x.useRef)(!1),jt=function(){Kt.current||De({})},ln=(0,x.useCallback)(function(qt,xn){var en=l(xn);Pe.current.set(en,qt),Ze.current.set(qt,en),pt.current+=1;var Rn=pt.current;R(function(){Rn===pt.current&&jt()})},[]),Bt=(0,x.useCallback)(function(qt,xn){var en=l(xn);Pe.current.delete(en),Ze.current.delete(qt)},[]),Pt=(0,x.useCallback)(function(qt){ft(qt)},[]),tn=(0,x.useCallback)(function(qt,xn){var en=Ze.current.get(qt)||"",Rn=o(en);return xn&&We.includes(Rn[0])&&Rn.unshift(j),Rn},[We]),sn=(0,x.useCallback)(function(qt,xn){return qt.some(function(en){var Rn=tn(en,!0);return Rn.includes(xn)})},[tn]),nn=function(){var xn=(0,W.Z)(Ze.current.keys());return We.length&&xn.push(j),xn},Jt=(0,x.useCallback)(function(qt){var xn="".concat(Ze.current.get(qt)).concat(G),en=new Set;return(0,W.Z)(Pe.current.keys()).forEach(function(Rn){Rn.startsWith(xn)&&en.add(Pe.current.get(Rn))}),en},[]);return x.useEffect(function(){return function(){Kt.current=!0}},[]),{registerPath:ln,unregisterPath:Bt,refreshOverflowKeys:Pt,isSubPathKey:sn,getKeyPath:tn,getKeys:nn,getSubPathKeys:Jt}}function f(Oe){var xe=x.useRef(Oe);xe.current=Oe;var De=x.useCallback(function(){for(var Ze,Pe=arguments.length,Be=new Array(Pe),Ne=0;Ne1&&(Jt.motionAppear=!1);var qt=Jt.onVisibleChanged;return Jt.onVisibleChanged=function(xn){return!ln.current&&!xn&&sn(!0),qt==null?void 0:qt(xn)},tn?null:x.createElement(m,{mode:Be,locked:!ln.current},x.createElement(S.default,(0,u.Z)({visible:nn},Jt,{forceRender:ft,removeOnLeave:!1,leavedClassName:"".concat(We,"-hidden")}),function(xn){var en=xn.className,Rn=xn.style;return x.createElement(yt,{id:xe,className:en,style:Rn},Pe)}))}var T=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],N=["active"],he=function(xe){var De,Ze=xe.style,Pe=xe.className,Be=xe.title,Ne=xe.eventKey,We=xe.warnKey,ft=xe.disabled,pt=xe.internalPopupClose,Kt=xe.children,jt=xe.itemIcon,ln=xe.expandIcon,Bt=xe.popupClassName,Pt=xe.popupOffset,tn=xe.popupStyle,sn=xe.onClick,nn=xe.onMouseEnter,Jt=xe.onMouseLeave,qt=xe.onTitleClick,xn=xe.onTitleMouseEnter,en=xe.onTitleMouseLeave,Rn=(0,$.Z)(xe,T),Gn=$e(Ne),Wt=x.useContext(ce),st=Wt.prefixCls,ct=Wt.mode,Ht=Wt.openKeys,Nt=Wt.disabled,Cn=Wt.overflowDisabled,En=Wt.activeKey,rn=Wt.selectedKeys,nr=Wt.itemIcon,Hn=Wt.expandIcon,dr=Wt.onItemClick,At=Wt.onOpenChange,wt=Wt.onActive,gn=x.useContext(Ie),In=gn._internalRenderSubMenuItem,Xn=x.useContext(V),Ar=Xn.isSubPathKey,br=M(),Wn="".concat(st,"-submenu"),gr=Nt||ft,fr=x.useRef(),mr=x.useRef(),Lr=jt!=null?jt:nr,lr=ln!=null?ln:Hn,Zr=Ht.includes(Ne),Jr=!Cn&&Zr,Kr=Ar(rn,Ne),_r=Se(Ne,gr,xn,en),Hr=_r.active,qr=(0,$.Z)(_r,N),Na=x.useState(!1),ta=(0,b.Z)(Na,2),Pa=ta[0],$a=ta[1],ma=function(Ir){gr||$a(Ir)},jr=function(Ir){ma(!0),nn==null||nn({key:Ne,domEvent:Ir})},Ra=function(Ir){ma(!1),Jt==null||Jt({key:Ne,domEvent:Ir})},Ea=x.useMemo(function(){return Hr||(ct!=="inline"?Pa||Ar([En],Ne):!1)},[ct,Hr,En,Pa,Ne,Ar]),ia=Le(br.length),va=function(Ir){gr||(qt==null||qt({key:Ne,domEvent:Ir}),ct==="inline"&&At(Ne,!Zr))},la=f(function(Er){sn==null||sn(_e(Er)),dr(Er)}),_t=function(Ir){ct!=="inline"&&At(Ne,Ir)},Bn=function(){wt(Ne)},wn=Gn&&"".concat(Gn,"-popup"),Dn=x.createElement("div",(0,u.Z)({role:"menuitem",style:ia,className:"".concat(Wn,"-title"),tabIndex:gr?null:-1,ref:fr,title:typeof Be=="string"?Be:null,"data-menu-id":Cn&&Gn?null:Gn,"aria-expanded":Jr,"aria-haspopup":!0,"aria-controls":wn,"aria-disabled":gr,onClick:va,onFocus:Bn},qr),Be,x.createElement(Qe,{icon:ct!=="horizontal"?lr:void 0,props:(0,v.Z)((0,v.Z)({},xe),{},{isOpen:Jr,isSubMenu:!0})},x.createElement("i",{className:"".concat(Wn,"-arrow")}))),Vn=x.useRef(ct);if(ct!=="inline"&&br.length>1?Vn.current="vertical":Vn.current=ct,!Cn){var qn=Vn.current;Dn=x.createElement(dn,{mode:qn,prefixCls:Wn,visible:!pt&&Jr&&ct!=="inline",popupClassName:Bt,popupOffset:Pt,popupStyle:tn,popup:x.createElement(m,{mode:qn==="horizontal"?"vertical":qn},x.createElement(yt,{id:wn,ref:mr},Kt)),disabled:gr,onVisibleChange:_t},Dn)}var Wr=x.createElement(q.Z.Item,(0,u.Z)({role:"none"},Rn,{component:"li",style:Ze,className:ie()(Wn,"".concat(Wn,"-").concat(ct),Pe,(De={},(0,c.Z)(De,"".concat(Wn,"-open"),Jr),(0,c.Z)(De,"".concat(Wn,"-active"),Ea),(0,c.Z)(De,"".concat(Wn,"-selected"),Kr),(0,c.Z)(De,"".concat(Wn,"-disabled"),gr),De)),onMouseEnter:jr,onMouseLeave:Ra}),Dn,!Cn&&x.createElement(Z,{id:wn,open:Jr,keyPath:br},Kt));return In&&(Wr=In(Wr,xe,{selected:Kr,active:Ea,open:Jr,disabled:gr})),x.createElement(m,{onItemClick:la,mode:ct==="horizontal"?"vertical":ct,itemIcon:Lr,expandIcon:lr},Wr)};function fe(Oe){var xe=Oe.eventKey,De=Oe.children,Ze=M(xe),Pe=un(De,Ze),Be=y();x.useEffect(function(){if(Be)return Be.registerPath(xe,Ze),function(){Be.unregisterPath(xe,Ze)}},[Ze]);var Ne;return Be?Ne=Pe:Ne=x.createElement(he,Oe,Pe),x.createElement(ee.Provider,{value:Ze},Ne)}var He=e(76190),Ae=["className","title","eventKey","children"],Ye=["children"],nt=function(xe){var De=xe.className,Ze=xe.title,Pe=xe.eventKey,Be=xe.children,Ne=(0,$.Z)(xe,Ae),We=x.useContext(ce),ft=We.prefixCls,pt="".concat(ft,"-item-group");return x.createElement("li",(0,u.Z)({role:"presentation"},Ne,{onClick:function(jt){return jt.stopPropagation()},className:ie()(pt,De)}),x.createElement("div",{role:"presentation",className:"".concat(pt,"-title"),title:typeof Ze=="string"?Ze:void 0},Ze),x.createElement("ul",{role:"group",className:"".concat(pt,"-list")},Be))};function dt(Oe){var xe=Oe.children,De=(0,$.Z)(Oe,Ye),Ze=M(De.eventKey),Pe=un(xe,Ze),Be=y();return Be?Pe:x.createElement(nt,(0,oe.Z)(De,["warnKey"]),Pe)}function it(Oe){var xe=Oe.className,De=Oe.style,Ze=x.useContext(ce),Pe=Ze.prefixCls,Be=y();return Be?null:x.createElement("li",{role:"separator",className:ie()("".concat(Pe,"-item-divider"),xe),style:De})}var qe=["label","children","key","type"];function ot(Oe){return(Oe||[]).map(function(xe,De){if(xe&&(0,He.Z)(xe)==="object"){var Ze=xe,Pe=Ze.label,Be=Ze.children,Ne=Ze.key,We=Ze.type,ft=(0,$.Z)(Ze,qe),pt=Ne!=null?Ne:"tmp-".concat(De);return Be||We==="group"?We==="group"?x.createElement(dt,(0,u.Z)({key:pt},ft,{title:Pe}),ot(Be)):x.createElement(fe,(0,u.Z)({key:pt},ft,{title:Pe}),ot(Be)):We==="divider"?x.createElement(it,(0,u.Z)({key:pt},ft)):x.createElement(gt,(0,u.Z)({key:pt},ft),Pe)}return null}).filter(function(xe){return xe})}function Ct(Oe,xe,De){var Ze=Oe;return xe&&(Ze=ot(xe)),un(Ze,De)}var lt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Ot=[],zt=x.forwardRef(function(Oe,xe){var De,Ze,Pe=Oe,Be=Pe.prefixCls,Ne=Be===void 0?"rc-menu":Be,We=Pe.rootClassName,ft=Pe.style,pt=Pe.className,Kt=Pe.tabIndex,jt=Kt===void 0?0:Kt,ln=Pe.items,Bt=Pe.children,Pt=Pe.direction,tn=Pe.id,sn=Pe.mode,nn=sn===void 0?"vertical":sn,Jt=Pe.inlineCollapsed,qt=Pe.disabled,xn=Pe.disabledOverflow,en=Pe.subMenuOpenDelay,Rn=en===void 0?.1:en,Gn=Pe.subMenuCloseDelay,Wt=Gn===void 0?.1:Gn,st=Pe.forceSubMenuRender,ct=Pe.defaultOpenKeys,Ht=Pe.openKeys,Nt=Pe.activeKey,Cn=Pe.defaultActiveFirst,En=Pe.selectable,rn=En===void 0?!0:En,nr=Pe.multiple,Hn=nr===void 0?!1:nr,dr=Pe.defaultSelectedKeys,At=Pe.selectedKeys,wt=Pe.onSelect,gn=Pe.onDeselect,In=Pe.inlineIndent,Xn=In===void 0?24:In,Ar=Pe.motion,br=Pe.defaultMotions,Wn=Pe.triggerSubMenuAction,gr=Wn===void 0?"hover":Wn,fr=Pe.builtinPlacements,mr=Pe.itemIcon,Lr=Pe.expandIcon,lr=Pe.overflowedIndicator,Zr=lr===void 0?"...":lr,Jr=Pe.overflowedIndicatorPopupClassName,Kr=Pe.getPopupContainer,_r=Pe.onClick,Hr=Pe.onOpenChange,qr=Pe.onKeyDown,Na=Pe.openAnimation,ta=Pe.openTransitionName,Pa=Pe._internalRenderMenuItem,$a=Pe._internalRenderSubMenuItem,ma=(0,$.Z)(Pe,lt),jr=x.useMemo(function(){return Ct(Bt,ln,Ot)},[Bt,ln]),Ra=x.useState(!1),Ea=(0,b.Z)(Ra,2),ia=Ea[0],va=Ea[1],la=x.useRef(),_t=te(tn),Bn=Pt==="rtl",wn=(0,I.Z)(ct,{value:Ht,postState:function(pr){return pr||Ot}}),Dn=(0,b.Z)(wn,2),Vn=Dn[0],qn=Dn[1],Wr=function(pr){var wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function pa(){qn(pr),Hr==null||Hr(pr)}wr?(0,ue.flushSync)(pa):pa()},Er=x.useState(Vn),Ir=(0,b.Z)(Er,2),zr=Ir[0],sr=Ir[1],Yn=x.useRef(!1),Nr=x.useMemo(function(){return(nn==="inline"||nn==="vertical")&&Jt?["vertical",Jt]:[nn,!1]},[nn,Jt]),Cr=(0,b.Z)(Nr,2),Vr=Cr[0],Or=Cr[1],Ha=Vr==="inline",Fa=x.useState(Vr),oo=(0,b.Z)(Fa,2),Ia=oo[0],io=oo[1],lo=x.useState(Or),eo=(0,b.Z)(lo,2),to=eo[0],xo=eo[1];x.useEffect(function(){io(Vr),xo(Or),Yn.current&&(Ha?qn(zr):Wr(Ot))},[Vr,Or]);var so=x.useState(0),no=(0,b.Z)(so,2),Ya=no[0],co=no[1],Qa=Ya>=jr.length-1||Ia!=="horizontal"||xn;x.useEffect(function(){Ha&&sr(Vn)},[Vn]),x.useEffect(function(){return Yn.current=!0,function(){Yn.current=!1}},[]);var Aa=g(),uo=Aa.registerPath,fo=Aa.unregisterPath,mo=Aa.refreshOverflowKeys,Wa=Aa.isSubPathKey,Qn=Aa.getKeyPath,Kn=Aa.getKeys,ea=Aa.getSubPathKeys,Fr=x.useMemo(function(){return{registerPath:uo,unregisterPath:fo}},[uo,fo]),Dr=x.useMemo(function(){return{isSubPathKey:Wa}},[Wa]);x.useEffect(function(){mo(Qa?Ot:jr.slice(Ya+1).map(function(Mr){return Mr.key}))},[Ya,Qa]);var na=(0,I.Z)(Nt||Cn&&((De=jr[0])===null||De===void 0?void 0:De.key),{value:Nt}),aa=(0,b.Z)(na,2),Oa=aa[0],ga=aa[1],Va=f(function(Mr){ga(Mr)}),Da=f(function(){ga(void 0)});(0,x.useImperativeHandle)(xe,function(){return{list:la.current,focus:function(pr){var wr,pa=Kn(),ha=d(pa,_t),bo=ha.elements,ka=ha.key2element,yo=ha.element2key,Mo=B(la.current,bo),Bo=Oa!=null?Oa:Mo[0]?yo.get(Mo[0]):(wr=jr.find(function(Xo){return!Xo.props.disabled}))===null||wr===void 0?void 0:wr.key,Co=ka.get(Bo);if(Bo&&Co){var wo;Co==null||(wo=Co.focus)===null||wo===void 0||wo.call(Co,pr)}}}});var vo=(0,I.Z)(dr||[],{value:At,postState:function(pr){return Array.isArray(pr)?pr:pr==null?Ot:[pr]}}),$o=(0,b.Z)(vo,2),go=$o[0],po=$o[1],Eo=function(pr){if(rn){var wr=pr.key,pa=go.includes(wr),ha;Hn?pa?ha=go.filter(function(ka){return ka!==wr}):ha=[].concat((0,W.Z)(go),[wr]):ha=[wr],po(ha);var bo=(0,v.Z)((0,v.Z)({},pr),{},{selectedKeys:ha});pa?gn==null||gn(bo):wt==null||wt(bo)}!Hn&&Vn.length&&Ia!=="inline"&&Wr(Ot)},ho=f(function(Mr){_r==null||_r(_e(Mr)),Eo(Mr)}),Io=f(function(Mr,pr){var wr=Vn.filter(function(ha){return ha!==Mr});if(pr)wr.push(Mr);else if(Ia!=="inline"){var pa=ea(Mr);wr=wr.filter(function(ha){return!pa.has(ha)})}(0,le.Z)(Vn,wr,!0)||Wr(wr,!0)}),Fo=function(pr,wr){var pa=wr!=null?wr:!Vn.includes(pr);Io(pr,pa)},Oo=n(Ia,Oa,Bn,_t,la,Kn,Qn,ga,Fo,qr);x.useEffect(function(){va(!0)},[]);var Ro=x.useMemo(function(){return{_internalRenderMenuItem:Pa,_internalRenderSubMenuItem:$a}},[Pa,$a]),No=Ia!=="horizontal"||xn?jr:jr.map(function(Mr,pr){return x.createElement(m,{key:Mr.key,overflowDisabled:pr>Ya},Mr)}),Do=x.createElement(q.Z,(0,u.Z)({id:tn,ref:la,prefixCls:"".concat(Ne,"-overflow"),component:"ul",itemComponent:gt,className:ie()(Ne,"".concat(Ne,"-root"),"".concat(Ne,"-").concat(Ia),pt,(Ze={},(0,c.Z)(Ze,"".concat(Ne,"-inline-collapsed"),to),(0,c.Z)(Ze,"".concat(Ne,"-rtl"),Bn),Ze),We),dir:Pt,style:ft,role:"menu",tabIndex:jt,data:No,renderRawItem:function(pr){return pr},renderRawRest:function(pr){var wr=pr.length,pa=wr?jr.slice(-wr):null;return x.createElement(fe,{eventKey:j,title:Zr,disabled:Qa,internalPopupClose:wr===0,popupClassName:Jr},pa)},maxCount:Ia!=="horizontal"||xn?q.Z.INVALIDATE:q.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(pr){co(pr)},onKeyDown:Oo},ma));return x.createElement(Ie.Provider,{value:Ro},x.createElement(X.Provider,{value:_t},x.createElement(m,{prefixCls:Ne,rootClassName:We,mode:Ia,openKeys:Vn,rtl:Bn,disabled:qt,motion:ia?Ar:null,defaultMotions:ia?br:null,activeKey:Oa,onActive:Va,onInactive:Da,selectedKeys:go,inlineIndent:Xn,subMenuOpenDelay:Rn,subMenuCloseDelay:Wt,forceSubMenuRender:st,builtinPlacements:fr,triggerSubMenuAction:gr,getPopupContainer:Kr,itemIcon:mr,expandIcon:Lr,onItemClick:ho,onOpenChange:Io},x.createElement(V.Provider,{value:Dr},Do),x.createElement("div",{style:{display:"none"},"aria-hidden":!0},x.createElement(h.Provider,{value:Fr},jr)))))}),Qt=zt,Rt=Qt;Rt.Item=gt,Rt.SubMenu=fe,Rt.ItemGroup=dt,Rt.Divider=it;var Gt=Rt},83836:function(Dt,Me,e){e.d(Me,{Z:function(){return A}});var u=e(54476),c=e(33885),v=e(42978),W=e(75931),b=e(59301),$=e(92310),t=e.n($),ie=e(29301),q=e(34280),I=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],le=void 0;function C(O,H){var k=O.prefixCls,ne=O.invalidate,re=O.item,ae=O.renderItem,Y=O.responsive,be=O.responsiveDisabled,Re=O.registerSize,Ve=O.itemKey,Fe=O.className,ke=O.style,Ge=O.children,at=O.display,Xe=O.order,me=O.component,Ke=me===void 0?"div":me,B=(0,W.Z)(O,I),w=Y&&!at;function d(o){Re(Ve,o)}b.useEffect(function(){return function(){d(null)}},[]);var n=ae&&re!==le?ae(re,{index:Xe}):Ge,R;ne||(R={opacity:w?0:1,height:w?0:le,overflowY:w?"hidden":le,order:Y?Xe:le,pointerEvents:w?"none":le,position:w?"absolute":le});var G={};w&&(G["aria-hidden"]=!0);var l=b.createElement(Ke,(0,u.Z)({className:t()(!ne&&k,Fe),style:(0,c.Z)((0,c.Z)({},R),ke)},G,B,{ref:H}),n);return Y&&(l=b.createElement(ie.Z,{onResize:function(j){var g=j.offsetWidth;d(g)},disabled:be},l)),l}var x=b.forwardRef(C);x.displayName="Item";var ue=x,X=e(6089),U=e(4676),$e=e(16089);function se(O){if(typeof MessageChannel=="undefined")(0,$e.Z)(O);else{var H=new MessageChannel;H.port1.onmessage=function(){return O()},H.port2.postMessage(void 0)}}function we(){var O=b.useRef(null),H=function(ne){O.current||(O.current=[],se(function(){(0,U.unstable_batchedUpdates)(function(){O.current.forEach(function(re){re()}),O.current=null})})),O.current.push(ne)};return H}function ce(O,H){var k=b.useState(H),ne=(0,v.Z)(k,2),re=ne[0],ae=ne[1],Y=(0,X.Z)(function(be){O(function(){ae(be)})});return[re,Y]}var L=b.createContext(null),m=["component"],r=["className"],h=["className"],y=function(H,k){var ne=b.useContext(L);if(!ne){var re=H.component,ae=re===void 0?"div":re,Y=(0,W.Z)(H,m);return b.createElement(ae,(0,u.Z)({},Y,{ref:k}))}var be=ne.className,Re=(0,W.Z)(ne,r),Ve=H.className,Fe=(0,W.Z)(H,h);return b.createElement(L.Provider,{value:null},b.createElement(ue,(0,u.Z)({ref:k,className:t()(be,Ve)},Re,Fe)))},ee=b.forwardRef(y);ee.displayName="RawItem";var M=ee,V=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],D="responsive",Ie="invalidate";function Q(O){return"+ ".concat(O.length," ...")}function Ue(O,H){var k=O.prefixCls,ne=k===void 0?"rc-overflow":k,re=O.data,ae=re===void 0?[]:re,Y=O.renderItem,be=O.renderRawItem,Re=O.itemKey,Ve=O.itemWidth,Fe=Ve===void 0?10:Ve,ke=O.ssr,Ge=O.style,at=O.className,Xe=O.maxCount,me=O.renderRest,Ke=O.renderRawRest,B=O.prefix,w=O.suffix,d=O.component,n=d===void 0?"div":d,R=O.itemComponent,G=O.onVisibleChange,l=(0,W.Z)(O,V),o=ke==="full",j=we(),g=ce(j,null),f=(0,v.Z)(g,2),K=f[0],ge=f[1],te=K||0,ve=ce(j,new Map),de=(0,v.Z)(ve,2),p=de[0],E=de[1],oe=ce(j,0),Ee=(0,v.Z)(oe,2),Se=Ee[0],Le=Ee[1],Qe=ce(j,0),Je=(0,v.Z)(Qe,2),_e=Je[0],ut=Je[1],mt=ce(j,0),It=(0,v.Z)(mt,2),St=It[0],Tt=It[1],Yt=ce(j,0),gt=(0,v.Z)(Yt,2),Ut=gt[0],Nn=gt[1],vt=(0,b.useState)(null),yt=(0,v.Z)(vt,2),mn=yt[0],un=yt[1],Tn=(0,b.useState)(null),bn=(0,v.Z)(Tn,2),$n=bn[0],_n=bn[1],vn=b.useMemo(function(){return $n===null&&o?Number.MAX_SAFE_INTEGER:$n||0},[$n,K]),Zt=(0,b.useState)(!1),yn=(0,v.Z)(Zt,2),dn=yn[0],S=yn[1],Z="".concat(ne,"-item"),T=Math.max(Se,_e),N=Xe===D,he=ae.length&&N,fe=Xe===Ie,He=he||typeof Xe=="number"&&ae.length>Xe,Ae=(0,b.useMemo)(function(){var Be=ae;return he?K===null&&o?Be=ae:Be=ae.slice(0,Math.min(ae.length,te/Fe)):typeof Xe=="number"&&(Be=ae.slice(0,Xe)),Be},[ae,Fe,K,Xe,he]),Ye=(0,b.useMemo)(function(){return he?ae.slice(vn+1):ae.slice(Ae.length)},[ae,Ae,he,vn]),nt=(0,b.useCallback)(function(Be,Ne){var We;return typeof Re=="function"?Re(Be):(We=Re&&(Be==null?void 0:Be[Re]))!==null&&We!==void 0?We:Ne},[Re]),dt=(0,b.useCallback)(Y||function(Be){return Be},[Y]);function it(Be,Ne,We){$n===Be&&(Ne===void 0||Ne===mn)||(_n(Be),We||(S(Bete){it(ft-1,Be-pt-Ut+_e);break}}w&&zt(0)+Ut>te&&un(null)}},[te,p,_e,St,Ut,nt,Ae]);var Qt=dn&&!!Ye.length,Rt={};mn!==null&&he&&(Rt={position:"absolute",left:mn,top:0});var Gt={prefixCls:Z,responsive:he,component:R,invalidate:fe},Oe=be?function(Be,Ne){var We=nt(Be,Ne);return b.createElement(L.Provider,{key:We,value:(0,c.Z)((0,c.Z)({},Gt),{},{order:Ne,item:Be,itemKey:We,registerSize:ot,display:Ne<=vn})},be(Be,Ne))}:function(Be,Ne){var We=nt(Be,Ne);return b.createElement(ue,(0,u.Z)({},Gt,{order:Ne,key:We,item:Be,renderItem:dt,itemKey:We,registerSize:ot,display:Ne<=vn}))},xe={order:Qt?vn:Number.MAX_SAFE_INTEGER,className:"".concat(Z,"-rest"),registerSize:Ct,display:Qt},De=me||Q,Ze=Ke?b.createElement(L.Provider,{value:(0,c.Z)((0,c.Z)({},Gt),xe)},Ke(Ye)):b.createElement(ue,(0,u.Z)({},Gt,xe),typeof De=="function"?De(Ye):De),Pe=b.createElement(n,(0,u.Z)({className:t()(!fe&&ne,at),style:Ge,ref:H},l),B&&b.createElement(ue,(0,u.Z)({},Gt,{responsive:N,responsiveDisabled:!he,order:-1,className:"".concat(Z,"-prefix"),registerSize:lt,display:!0}),B),Ae.map(Oe),He?Ze:null,w&&b.createElement(ue,(0,u.Z)({},Gt,{responsive:N,responsiveDisabled:!he,order:vn,className:"".concat(Z,"-suffix"),registerSize:Ot,display:!0,style:Rt}),w));return N?b.createElement(ie.Z,{onResize:qe,disabled:!he},Pe):Pe}var s=b.forwardRef(Ue);s.displayName="Overflow",s.Item=M,s.RESPONSIVE=D,s.INVALIDATE=Ie;var F=s,A=F},17115:function(Dt,Me,e){e.d(Me,{ZP:function(){return t}});var u=e(42978),c=e(59301),v=e(47273),W=0,b=(0,v.Z)();function $(){var ie;return b?(ie=W,W+=1):ie="TEST_OR_SSR",ie}function t(ie){var q=c.useState(),I=(0,u.Z)(q,2),le=I[0],C=I[1];return c.useEffect(function(){C("rc_select_".concat($()))},[]),ie||le}},77861:function(Dt,Me,e){e.d(Me,{Ac:function(){return K},Xo:function(){return _e},Wx:function(){return mt},ZP:function(){return Z},lk:function(){return L}});var u=e(54476),c=e(94480),v=e(20068),W=e(33885),b=e(42978),$=e(75931),t=e(76190),ie=e(18929),q=e(48736),I=e(59301),le=e(92310),C=e.n(le),x=e(34280),ue=e(49658),X=e(10228),U=e(8654),$e=function(N){var he=N.className,fe=N.customizeIcon,He=N.customizeIconProps,Ae=N.onMouseDown,Ye=N.onClick,nt=N.children,dt;return typeof fe=="function"?dt=fe(He):dt=fe,I.createElement("span",{className:he,onMouseDown:function(qe){qe.preventDefault(),Ae&&Ae(qe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ye,"aria-hidden":!0},dt!==void 0?dt:I.createElement("span",{className:C()(he.split(/\s+/).map(function(it){return"".concat(it,"-icon")}))},nt))},se=$e;function we(T,N,he,fe,He){var Ae=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ye=arguments.length>6?arguments[6]:void 0,nt=arguments.length>7?arguments[7]:void 0,dt=I.useMemo(function(){if((0,t.Z)(fe)==="object")return fe.clearIcon;if(He)return He},[fe,He]),it=I.useMemo(function(){return!!(!Ae&&fe&&(he.length||Ye)&&!(nt==="combobox"&&Ye===""))},[fe,Ae,he.length,Ye,nt]);return{allowClear:it,clearIcon:I.createElement(se,{className:"".concat(T,"-clear"),onMouseDown:N,customizeIcon:dt},"\xD7")}}var ce=I.createContext(null);function L(){return I.useContext(ce)}function m(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,N=I.useState(!1),he=(0,b.Z)(N,2),fe=he[0],He=he[1],Ae=I.useRef(null),Ye=function(){window.clearTimeout(Ae.current)};I.useEffect(function(){return Ye},[]);var nt=function(it,qe){Ye(),Ae.current=window.setTimeout(function(){He(it),qe&&qe()},T)};return[fe,nt,Ye]}function r(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,N=I.useRef(null),he=I.useRef(null);I.useEffect(function(){return function(){window.clearTimeout(he.current)}},[]);function fe(He){(He||N.current===null)&&(N.current=He),window.clearTimeout(he.current),he.current=window.setTimeout(function(){N.current=null},T)}return[function(){return N.current},fe]}function h(T,N,he,fe){var He=I.useRef(null);He.current={open:N,triggerOpen:he,customizedTrigger:fe},I.useEffect(function(){function Ae(Ye){var nt;if(!((nt=He.current)!==null&&nt!==void 0&&nt.customizedTrigger)){var dt=Ye.target;dt.shadowRoot&&Ye.composed&&(dt=Ye.composedPath()[0]||dt),He.current.open&&T().filter(function(it){return it}).every(function(it){return!it.contains(dt)&&it!==dt})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ae),function(){return window.removeEventListener("mousedown",Ae)}},[])}var y=e(26112),ee=e(83836),M=function(N,he){var fe,He,Ae=N.prefixCls,Ye=N.id,nt=N.inputElement,dt=N.disabled,it=N.tabIndex,qe=N.autoFocus,ot=N.autoComplete,Ct=N.editable,lt=N.activeDescendantId,Ot=N.value,zt=N.maxLength,Qt=N.onKeyDown,Rt=N.onMouseDown,Gt=N.onChange,Oe=N.onPaste,xe=N.onCompositionStart,De=N.onCompositionEnd,Ze=N.open,Pe=N.attrs,Be=nt||I.createElement("input",null),Ne=Be,We=Ne.ref,ft=Ne.props,pt=ft.onKeyDown,Kt=ft.onChange,jt=ft.onMouseDown,ln=ft.onCompositionStart,Bt=ft.onCompositionEnd,Pt=ft.style;return(0,q.Kp)(!("maxLength"in Be.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Be=I.cloneElement(Be,(0,W.Z)((0,W.Z)((0,W.Z)({type:"search"},ft),{},{id:Ye,ref:(0,U.sQ)(he,We),disabled:dt,tabIndex:it,autoComplete:ot||"off",autoFocus:qe,className:C()("".concat(Ae,"-selection-search-input"),(fe=Be)===null||fe===void 0||(He=fe.props)===null||He===void 0?void 0:He.className),role:"combobox","aria-label":"Search","aria-expanded":Ze||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ye,"_list"),"aria-activedescendant":Ze?lt:void 0},Pe),{},{value:Ct?Ot:"",maxLength:zt,readOnly:!Ct,unselectable:Ct?null:"on",style:(0,W.Z)((0,W.Z)({},Pt),{},{opacity:Ct?null:0}),onKeyDown:function(sn){Qt(sn),pt&&pt(sn)},onMouseDown:function(sn){Rt(sn),jt&&jt(sn)},onChange:function(sn){Gt(sn),Kt&&Kt(sn)},onCompositionStart:function(sn){xe(sn),ln&&ln(sn)},onCompositionEnd:function(sn){De(sn),Bt&&Bt(sn)},onPaste:Oe})),Be},V=I.forwardRef(M);V.displayName="Input";var D=V;function Ie(T){return Array.isArray(T)?T:T!==void 0?[T]:[]}var Q=typeof window!="undefined"&&window.document&&window.document.documentElement,Ue=Q;function s(T){return T!=null}function F(T){return!T&&T!==0}function A(T){return["string","number"].includes((0,t.Z)(T))}function O(T){var N=void 0;return T&&(A(T.title)?N=T.title.toString():A(T.label)&&(N=T.label.toString())),N}function H(T,N){Ue?I.useLayoutEffect(T,N):I.useEffect(T,N)}function k(T){var N;return(N=T.key)!==null&&N!==void 0?N:T.value}var ne=function(N){N.preventDefault(),N.stopPropagation()},re=function(N){var he=N.id,fe=N.prefixCls,He=N.values,Ae=N.open,Ye=N.searchValue,nt=N.autoClearSearchValue,dt=N.inputRef,it=N.placeholder,qe=N.disabled,ot=N.mode,Ct=N.showSearch,lt=N.autoFocus,Ot=N.autoComplete,zt=N.activeDescendantId,Qt=N.tabIndex,Rt=N.removeIcon,Gt=N.maxTagCount,Oe=N.maxTagTextLength,xe=N.maxTagPlaceholder,De=xe===void 0?function(En){return"+ ".concat(En.length," ...")}:xe,Ze=N.tagRender,Pe=N.onToggleOpen,Be=N.onRemove,Ne=N.onInputChange,We=N.onInputPaste,ft=N.onInputKeyDown,pt=N.onInputMouseDown,Kt=N.onInputCompositionStart,jt=N.onInputCompositionEnd,ln=I.useRef(null),Bt=(0,I.useState)(0),Pt=(0,b.Z)(Bt,2),tn=Pt[0],sn=Pt[1],nn=(0,I.useState)(!1),Jt=(0,b.Z)(nn,2),qt=Jt[0],xn=Jt[1],en="".concat(fe,"-selection"),Rn=Ae||ot==="multiple"&&nt===!1||ot==="tags"?Ye:"",Gn=ot==="tags"||ot==="multiple"&&nt===!1||Ct&&(Ae||qt);H(function(){sn(ln.current.scrollWidth)},[Rn]);function Wt(En,rn,nr,Hn,dr){return I.createElement("span",{className:C()("".concat(en,"-item"),(0,v.Z)({},"".concat(en,"-item-disabled"),nr)),title:O(En)},I.createElement("span",{className:"".concat(en,"-item-content")},rn),Hn&&I.createElement(se,{className:"".concat(en,"-item-remove"),onMouseDown:ne,onClick:dr,customizeIcon:Rt},"\xD7"))}function st(En,rn,nr,Hn,dr){var At=function(gn){ne(gn),Pe(!Ae)};return I.createElement("span",{onMouseDown:At},Ze({label:rn,value:En,disabled:nr,closable:Hn,onClose:dr}))}function ct(En){var rn=En.disabled,nr=En.label,Hn=En.value,dr=!qe&&!rn,At=nr;if(typeof Oe=="number"&&(typeof nr=="string"||typeof nr=="number")){var wt=String(At);wt.length>Oe&&(At="".concat(wt.slice(0,Oe),"..."))}var gn=function(Xn){Xn&&Xn.stopPropagation(),Be(En)};return typeof Ze=="function"?st(Hn,At,rn,dr,gn):Wt(En,At,rn,dr,gn)}function Ht(En){var rn=typeof De=="function"?De(En):De;return Wt({title:rn},rn,!1)}var Nt=I.createElement("div",{className:"".concat(en,"-search"),style:{width:tn},onFocus:function(){xn(!0)},onBlur:function(){xn(!1)}},I.createElement(D,{ref:dt,open:Ae,prefixCls:fe,id:he,inputElement:null,disabled:qe,autoFocus:lt,autoComplete:Ot,editable:Gn,activeDescendantId:zt,value:Rn,onKeyDown:ft,onMouseDown:pt,onChange:Ne,onPaste:We,onCompositionStart:Kt,onCompositionEnd:jt,tabIndex:Qt,attrs:(0,y.Z)(N,!0)}),I.createElement("span",{ref:ln,className:"".concat(en,"-search-mirror"),"aria-hidden":!0},Rn,"\xA0")),Cn=I.createElement(ee.Z,{prefixCls:"".concat(en,"-overflow"),data:He,renderItem:ct,renderRest:Ht,suffix:Nt,itemKey:k,maxCount:Gt});return I.createElement(I.Fragment,null,Cn,!He.length&&!Rn&&I.createElement("span",{className:"".concat(en,"-placeholder")},it))},ae=re,Y=function(N){var he=N.inputElement,fe=N.prefixCls,He=N.id,Ae=N.inputRef,Ye=N.disabled,nt=N.autoFocus,dt=N.autoComplete,it=N.activeDescendantId,qe=N.mode,ot=N.open,Ct=N.values,lt=N.placeholder,Ot=N.tabIndex,zt=N.showSearch,Qt=N.searchValue,Rt=N.activeValue,Gt=N.maxLength,Oe=N.onInputKeyDown,xe=N.onInputMouseDown,De=N.onInputChange,Ze=N.onInputPaste,Pe=N.onInputCompositionStart,Be=N.onInputCompositionEnd,Ne=N.title,We=I.useState(!1),ft=(0,b.Z)(We,2),pt=ft[0],Kt=ft[1],jt=qe==="combobox",ln=jt||zt,Bt=Ct[0],Pt=Qt||"";jt&&Rt&&!pt&&(Pt=Rt),I.useEffect(function(){jt&&Kt(!1)},[jt,Rt]);var tn=qe!=="combobox"&&!ot&&!zt?!1:!!Pt,sn=Ne===void 0?O(Bt):Ne,nn=function(){if(Bt)return null;var qt=tn?{visibility:"hidden"}:void 0;return I.createElement("span",{className:"".concat(fe,"-selection-placeholder"),style:qt},lt)};return I.createElement(I.Fragment,null,I.createElement("span",{className:"".concat(fe,"-selection-search")},I.createElement(D,{ref:Ae,prefixCls:fe,id:He,open:ot,inputElement:he,disabled:Ye,autoFocus:nt,autoComplete:dt,editable:ln,activeDescendantId:it,value:Pt,onKeyDown:Oe,onMouseDown:xe,onChange:function(qt){Kt(!0),De(qt)},onPaste:Ze,onCompositionStart:Pe,onCompositionEnd:Be,tabIndex:Ot,attrs:(0,y.Z)(N,!0),maxLength:jt?Gt:void 0})),!jt&&Bt?I.createElement("span",{className:"".concat(fe,"-selection-item"),title:sn,style:tn?{visibility:"hidden"}:void 0},Bt.label):null,nn())},be=Y;function Re(T){return![X.Z.ESC,X.Z.SHIFT,X.Z.BACKSPACE,X.Z.TAB,X.Z.WIN_KEY,X.Z.ALT,X.Z.META,X.Z.WIN_KEY_RIGHT,X.Z.CTRL,X.Z.SEMICOLON,X.Z.EQUALS,X.Z.CAPS_LOCK,X.Z.CONTEXT_MENU,X.Z.F1,X.Z.F2,X.Z.F3,X.Z.F4,X.Z.F5,X.Z.F6,X.Z.F7,X.Z.F8,X.Z.F9,X.Z.F10,X.Z.F11,X.Z.F12].includes(T)}var Ve=function(N,he){var fe=(0,I.useRef)(null),He=(0,I.useRef)(!1),Ae=N.prefixCls,Ye=N.open,nt=N.mode,dt=N.showSearch,it=N.tokenWithEnter,qe=N.autoClearSearchValue,ot=N.onSearch,Ct=N.onSearchSubmit,lt=N.onToggleOpen,Ot=N.onInputKeyDown,zt=N.domRef;I.useImperativeHandle(he,function(){return{focus:function(){fe.current.focus()},blur:function(){fe.current.blur()}}});var Qt=r(0),Rt=(0,b.Z)(Qt,2),Gt=Rt[0],Oe=Rt[1],xe=function(Pt){var tn=Pt.which;(tn===X.Z.UP||tn===X.Z.DOWN)&&Pt.preventDefault(),Ot&&Ot(Pt),tn===X.Z.ENTER&&nt==="tags"&&!He.current&&!Ye&&(Ct==null||Ct(Pt.target.value)),Re(tn)&<(!0)},De=function(){Oe(!0)},Ze=(0,I.useRef)(null),Pe=function(Pt){ot(Pt,!0,He.current)!==!1&<(!0)},Be=function(){He.current=!0},Ne=function(Pt){He.current=!1,nt!=="combobox"&&Pe(Pt.target.value)},We=function(Pt){var tn=Pt.target.value;if(it&&Ze.current&&/[\r\n]/.test(Ze.current)){var sn=Ze.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");tn=tn.replace(sn,Ze.current)}Ze.current=null,Pe(tn)},ft=function(Pt){var tn=Pt.clipboardData,sn=tn.getData("text");Ze.current=sn},pt=function(Pt){var tn=Pt.target;if(tn!==fe.current){var sn=document.body.style.msTouchAction!==void 0;sn?setTimeout(function(){fe.current.focus()}):fe.current.focus()}},Kt=function(Pt){var tn=Gt();Pt.target!==fe.current&&!tn&&nt!=="combobox"&&Pt.preventDefault(),(nt!=="combobox"&&(!dt||!tn)||!Ye)&&(Ye&&qe!==!1&&ot("",!0,!1),lt())},jt={inputRef:fe,onInputKeyDown:xe,onInputMouseDown:De,onInputChange:We,onInputPaste:ft,onInputCompositionStart:Be,onInputCompositionEnd:Ne},ln=nt==="multiple"||nt==="tags"?I.createElement(ae,(0,u.Z)({},N,jt)):I.createElement(be,(0,u.Z)({},N,jt));return I.createElement("div",{ref:zt,className:"".concat(Ae,"-selector"),onClick:pt,onMouseDown:Kt},ln)},Fe=I.forwardRef(Ve);Fe.displayName="Selector";var ke=Fe,Ge=e(35593),at=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Xe=function(N){var he=N===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"}}},me=function(N,he){var fe=N.prefixCls,He=N.disabled,Ae=N.visible,Ye=N.children,nt=N.popupElement,dt=N.animation,it=N.transitionName,qe=N.dropdownStyle,ot=N.dropdownClassName,Ct=N.direction,lt=Ct===void 0?"ltr":Ct,Ot=N.placement,zt=N.builtinPlacements,Qt=N.dropdownMatchSelectWidth,Rt=N.dropdownRender,Gt=N.dropdownAlign,Oe=N.getPopupContainer,xe=N.empty,De=N.getTriggerDOMNode,Ze=N.onPopupVisibleChange,Pe=N.onPopupMouseEnter,Be=(0,$.Z)(N,at),Ne="".concat(fe,"-dropdown"),We=nt;Rt&&(We=Rt(nt));var ft=I.useMemo(function(){return zt||Xe(Qt)},[zt,Qt]),pt=dt?"".concat(Ne,"-").concat(dt):it,Kt=typeof Qt=="number",jt=I.useMemo(function(){return Kt?null:Qt===!1?"minWidth":"width"},[Qt,Kt]),ln=qe;Kt&&(ln=(0,W.Z)((0,W.Z)({},ln),{},{width:Qt}));var Bt=I.useRef(null);return I.useImperativeHandle(he,function(){return{getPopupElement:function(){return Bt.current}}}),I.createElement(Ge.Z,(0,u.Z)({},Be,{showAction:Ze?["click"]:[],hideAction:Ze?["click"]:[],popupPlacement:Ot||(lt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ft,prefixCls:Ne,popupTransitionName:pt,popup:I.createElement("div",{ref:Bt,onMouseEnter:Pe},We),stretch:jt,popupAlign:Gt,popupVisible:Ae,getPopupContainer:Oe,popupClassName:C()(ot,(0,v.Z)({},"".concat(Ne,"-empty"),xe)),popupStyle:ln,getTriggerDOMNode:De,onPopupVisibleChange:Ze}),Ye)},Ke=I.forwardRef(me);Ke.displayName="SelectTrigger";var B=Ke,w=e(66712);function d(T,N){var he=T.key,fe;return"value"in T&&(fe=T.value),he!=null?he:fe!==void 0?fe:"rc-index-key-".concat(N)}function n(T,N){var he=T||{},fe=he.label,He=he.value,Ae=he.options,Ye=he.groupLabel,nt=fe||(N?"children":"label");return{label:nt,value:He||"value",options:Ae||"options",groupLabel:Ye||nt}}function R(T){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=N.fieldNames,fe=N.childrenAsData,He=[],Ae=n(he,!1),Ye=Ae.label,nt=Ae.value,dt=Ae.options,it=Ae.groupLabel;function qe(ot,Ct){ot.forEach(function(lt){if(Ct||!(dt in lt)){var Ot=lt[nt];He.push({key:d(lt,He.length),groupOption:Ct,data:lt,label:lt[Ye],value:Ot})}else{var zt=lt[it];zt===void 0&&fe&&(zt=lt.label),He.push({key:d(lt,He.length),group:!0,data:lt,label:zt}),qe(lt[dt],!0)}})}return qe(T,!1),He}function G(T){var N=(0,W.Z)({},T);return"props"in N||Object.defineProperty(N,"props",{get:function(){return(0,q.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),N}}),N}function l(T,N){if(!N||!N.length)return null;var he=!1;function fe(Ae,Ye){var nt=(0,w.Z)(Ye),dt=nt[0],it=nt.slice(1);if(!dt)return[Ae];var qe=Ae.split(dt);return he=he||qe.length>1,qe.reduce(function(ot,Ct){return[].concat((0,c.Z)(ot),(0,c.Z)(fe(Ct,it)))},[]).filter(function(ot){return ot})}var He=fe(T,N);return he?He:null}var o=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],j=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function g(T){return T==="tags"||T==="multiple"}var f=I.forwardRef(function(T,N){var he,fe,He=T.id,Ae=T.prefixCls,Ye=T.className,nt=T.showSearch,dt=T.tagRender,it=T.direction,qe=T.omitDomProps,ot=T.displayValues,Ct=T.onDisplayValuesChange,lt=T.emptyOptions,Ot=T.notFoundContent,zt=Ot===void 0?"Not Found":Ot,Qt=T.onClear,Rt=T.mode,Gt=T.disabled,Oe=T.loading,xe=T.getInputElement,De=T.getRawInputElement,Ze=T.open,Pe=T.defaultOpen,Be=T.onDropdownVisibleChange,Ne=T.activeValue,We=T.onActiveValueChange,ft=T.activeDescendantId,pt=T.searchValue,Kt=T.autoClearSearchValue,jt=T.onSearch,ln=T.onSearchSplit,Bt=T.tokenSeparators,Pt=T.allowClear,tn=T.suffixIcon,sn=T.clearIcon,nn=T.OptionList,Jt=T.animation,qt=T.transitionName,xn=T.dropdownStyle,en=T.dropdownClassName,Rn=T.dropdownMatchSelectWidth,Gn=T.dropdownRender,Wt=T.dropdownAlign,st=T.placement,ct=T.builtinPlacements,Ht=T.getPopupContainer,Nt=T.showAction,Cn=Nt===void 0?[]:Nt,En=T.onFocus,rn=T.onBlur,nr=T.onKeyUp,Hn=T.onKeyDown,dr=T.onMouseDown,At=(0,$.Z)(T,o),wt=g(Rt),gn=(nt!==void 0?nt:wt)||Rt==="combobox",In=(0,W.Z)({},At);j.forEach(function(Qn){delete In[Qn]}),qe==null||qe.forEach(function(Qn){delete In[Qn]});var Xn=I.useState(!1),Ar=(0,b.Z)(Xn,2),br=Ar[0],Wn=Ar[1];I.useEffect(function(){Wn((0,ue.Z)())},[]);var gr=I.useRef(null),fr=I.useRef(null),mr=I.useRef(null),Lr=I.useRef(null),lr=I.useRef(null),Zr=m(),Jr=(0,b.Z)(Zr,3),Kr=Jr[0],_r=Jr[1],Hr=Jr[2];I.useImperativeHandle(N,function(){var Qn,Kn;return{focus:(Qn=Lr.current)===null||Qn===void 0?void 0:Qn.focus,blur:(Kn=Lr.current)===null||Kn===void 0?void 0:Kn.blur,scrollTo:function(Fr){var Dr;return(Dr=lr.current)===null||Dr===void 0?void 0:Dr.scrollTo(Fr)}}});var qr=I.useMemo(function(){var Qn;if(Rt!=="combobox")return pt;var Kn=(Qn=ot[0])===null||Qn===void 0?void 0:Qn.value;return typeof Kn=="string"||typeof Kn=="number"?String(Kn):""},[pt,Rt,ot]),Na=Rt==="combobox"&&typeof xe=="function"&&xe()||null,ta=typeof De=="function"&&De(),Pa=(0,U.x1)(fr,ta==null||(he=ta.props)===null||he===void 0?void 0:he.ref),$a=I.useState(!1),ma=(0,b.Z)($a,2),jr=ma[0],Ra=ma[1];(0,x.Z)(function(){Ra(!0)},[]);var Ea=(0,ie.Z)(!1,{defaultValue:Pe,value:Ze}),ia=(0,b.Z)(Ea,2),va=ia[0],la=ia[1],_t=jr?va:!1,Bn=!zt&<(Gt||Bn&&_t&&Rt==="combobox")&&(_t=!1);var wn=Bn?!1:_t,Dn=I.useCallback(function(Qn){var Kn=Qn!==void 0?Qn:!_t;Gt||(la(Kn),_t!==Kn&&(Be==null||Be(Kn)))},[Gt,_t,la,Be]),Vn=I.useMemo(function(){return(Bt||[]).some(function(Qn){return[` -`,`\r -`].includes(Qn)})},[Bt]),qn=function(Kn,ea,Fr){var Dr=!0,na=Kn;We==null||We(null);var aa=Fr?null:l(Kn,Bt);return Rt!=="combobox"&&aa&&(na="",ln==null||ln(aa),Dn(!1),Dr=!1),jt&&qr!==na&&jt(na,{source:ea?"typing":"effect"}),Dr},Wr=function(Kn){!Kn||!Kn.trim()||jt(Kn,{source:"submit"})};I.useEffect(function(){!_t&&!wt&&Rt!=="combobox"&&qn("",!1,!1)},[_t]),I.useEffect(function(){va&&Gt&&la(!1),Gt&&_r(!1)},[Gt]);var Er=r(),Ir=(0,b.Z)(Er,2),zr=Ir[0],sr=Ir[1],Yn=function(Kn){var ea=zr(),Fr=Kn.which;if(Fr===X.Z.ENTER&&(Rt!=="combobox"&&Kn.preventDefault(),_t||Dn(!0)),sr(!!qr),Fr===X.Z.BACKSPACE&&!ea&&wt&&!qr&&ot.length){for(var Dr=(0,c.Z)(ot),na=null,aa=Dr.length-1;aa>=0;aa-=1){var Oa=Dr[aa];if(!Oa.disabled){Dr.splice(aa,1),na=Oa;break}}na&&Ct(Dr,{type:"remove",values:[na]})}for(var ga=arguments.length,Va=new Array(ga>1?ga-1:0),Da=1;Da1?ea-1:0),Dr=1;Dr1?aa-1:0),ga=1;ga1&&arguments[1]!==void 0?arguments[1]:!1;return(0,p.Z)(T).map(function(he,fe){if(!I.isValidElement(he)||!he.type)return null;var He=he,Ae=He.type.isSelectOptGroup,Ye=He.key,nt=He.props,dt=nt.children,it=(0,$.Z)(nt,oe);return N||!Ae?Ee(he):(0,W.Z)((0,W.Z)({key:"__RC_SELECT_GRP__".concat(Ye===null?fe:Ye,"__"),label:Ye},it),{},{options:Se(dt)})}).filter(function(he){return he})}function Le(T,N,he,fe,He){return I.useMemo(function(){var Ae=T,Ye=!T;Ye&&(Ae=Se(N));var nt=new Map,dt=new Map,it=function(Ct,lt,Ot){Ot&&typeof Ot=="string"&&Ct.set(lt[Ot],lt)};function qe(ot){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,lt=0;lt1&&arguments[1]!==void 0?arguments[1]:1,Ht=We.length,Nt=0;Nt1&&arguments[1]!==void 0?arguments[1]:!1;tn(st);var Ht={source:ct?"keyboard":"mouse"},Nt=We[st];if(!Nt){zt(null,-1,Ht);return}zt(Nt.value,st,Ht)};(0,I.useEffect)(function(){sn(Qt!==!1?jt(0):-1)},[We.length,it]);var nn=I.useCallback(function(Wt){return Oe.has(Wt)&&dt!=="combobox"},[dt,(0,c.Z)(Oe).toString(),Oe.size]);(0,I.useEffect)(function(){var Wt=setTimeout(function(){if(!nt&&Ye&&Oe.size===1){var ct=Array.from(Oe)[0],Ht=We.findIndex(function(Nt){var Cn=Nt.data;return Cn.value===ct});Ht!==-1&&(sn(Ht),Kt(Ht))}});if(Ye){var st;(st=ft.current)===null||st===void 0||st.scrollTo(void 0)}return function(){return clearTimeout(Wt)}},[Ye,it,Ot.length]);var Jt=function(st){st!==void 0&&Rt(st,{selected:!Oe.has(st)}),nt||qe(!1)};if(I.useImperativeHandle(he,function(){return{onKeyDown:function(st){var ct=st.which,Ht=st.ctrlKey;switch(ct){case X.Z.N:case X.Z.P:case X.Z.UP:case X.Z.DOWN:{var Nt=0;if(ct===X.Z.UP?Nt=-1:ct===X.Z.DOWN?Nt=1:Ut()&&Ht&&(ct===X.Z.N?Nt=1:ct===X.Z.P&&(Nt=-1)),Nt!==0){var Cn=jt(Pt+Nt,Nt);Kt(Cn),sn(Cn,!0)}break}case X.Z.ENTER:{var En=We[Pt];En&&!En.data.disabled?Jt(En.value):Jt(void 0),Ye&&st.preventDefault();break}case X.Z.ESC:qe(!1),Ye&&st.stopPropagation()}},onKeyUp:function(){},scrollTo:function(st){Kt(st)}}}),We.length===0)return I.createElement("div",{role:"listbox",id:"".concat(Ae,"_list"),className:"".concat(Ne,"-empty"),onMouseDown:pt},ot);var qt=Object.keys(xe).map(function(Wt){return xe[Wt]}),xn=function(st){return st.label};function en(Wt,st){var ct=Wt.group;return{role:ct?"presentation":"option",id:"".concat(Ae,"_list_").concat(st)}}var Rn=function(st){var ct=We[st];if(!ct)return null;var Ht=ct.data||{},Nt=Ht.value,Cn=ct.group,En=(0,y.Z)(Ht,!0),rn=xn(ct);return ct?I.createElement("div",(0,u.Z)({"aria-label":typeof rn=="string"&&!Cn?rn:null},En,{key:st},en(ct,st),{"aria-selected":nn(Nt)}),Nt):null},Gn={role:"listbox",id:"".concat(Ae,"_list")};return I.createElement(I.Fragment,null,De&&I.createElement("div",(0,u.Z)({},Gn,{style:{height:0,width:0,overflow:"hidden"}}),Rn(Pt-1),Rn(Pt),Rn(Pt+1)),I.createElement(Tt.Z,{itemKey:"key",ref:ft,data:We,height:Pe,itemHeight:Be,fullHeight:!1,onMouseDown:pt,onScroll:Ct,virtual:De,direction:Ze,innerProps:De?null:Gn},function(Wt,st){var ct,Ht=Wt.group,Nt=Wt.groupOption,Cn=Wt.data,En=Wt.label,rn=Wt.value,nr=Cn.key;if(Ht){var Hn,dr=(Hn=Cn.title)!==null&&Hn!==void 0?Hn:vt(En)?En.toString():void 0;return I.createElement("div",{className:C()(Ne,"".concat(Ne,"-group")),title:dr},En!==void 0?En:nr)}var At=Cn.disabled,wt=Cn.title,gn=Cn.children,In=Cn.style,Xn=Cn.className,Ar=(0,$.Z)(Cn,Nn),br=(0,St.Z)(Ar,qt),Wn=nn(rn),gr="".concat(Ne,"-option"),fr=C()(Ne,gr,Xn,(ct={},(0,v.Z)(ct,"".concat(gr,"-grouped"),Nt),(0,v.Z)(ct,"".concat(gr,"-active"),Pt===st&&!At),(0,v.Z)(ct,"".concat(gr,"-disabled"),At),(0,v.Z)(ct,"".concat(gr,"-selected"),Wn),ct)),mr=xn(Wt),Lr=!Gt||typeof Gt=="function"||Wn,lr=typeof mr=="number"?mr:mr||rn,Zr=vt(lr)?lr.toString():void 0;return wt!==void 0&&(Zr=wt),I.createElement("div",(0,u.Z)({},(0,y.Z)(br),De?{}:en(Wt,st),{"aria-selected":Wn,className:fr,title:Zr,onMouseMove:function(){Pt===st||At||sn(st)},onClick:function(){At||Jt(rn)},style:In}),I.createElement("div",{className:"".concat(gr,"-content")},lr),I.isValidElement(Gt)||Wn,Lr&&I.createElement(se,{className:"".concat(Ne,"-option-state"),customizeIcon:Gt,customizeIconProps:{isSelected:Wn}},Wn?"\u2713":null))}))},mn=I.forwardRef(yt);mn.displayName="OptionList";var un=mn;function Tn(T){var N=T.mode,he=T.options,fe=T.children,He=T.backfill,Ae=T.allowClear,Ye=T.placeholder,nt=T.getInputElement,dt=T.showSearch,it=T.onSearch,qe=T.defaultOpen,ot=T.autoFocus,Ct=T.labelInValue,lt=T.value,Ot=T.inputValue,zt=T.optionLabelProp,Qt=isMultiple(N),Rt=dt!==void 0?dt:Qt||N==="combobox",Gt=he||convertChildrenToData(fe);if(warning(N!=="tags"||Gt.every(function(Ze){return!Ze.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),N==="tags"||N==="combobox"){var Oe=Gt.some(function(Ze){return Ze.options?Ze.options.some(function(Pe){return typeof("value"in Pe?Pe.value:Pe.key)=="number"}):typeof("value"in Ze?Ze.value:Ze.key)=="number"});warning(!Oe,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(N!=="combobox"||!zt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(N==="combobox"||!He,"`backfill` only works with `combobox` mode."),warning(N==="combobox"||!nt,"`getInputElement` only work with `combobox` mode."),noteOnce(N!=="combobox"||!nt||!Ae||!Ye,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),it&&!Rt&&N!=="combobox"&&N!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!qe||ot,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),lt!=null){var xe=toArray(lt);warning(!Ct||xe.every(function(Ze){return _typeof(Ze)==="object"&&("key"in Ze||"value"in Ze)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Qt||Array.isArray(lt),"`value` should be array when `mode` is `multiple` or `tags`")}if(fe){var De=null;toNodeArray(fe).some(function(Ze){if(!React.isValidElement(Ze)||!Ze.type)return!1;var Pe=Ze,Be=Pe.type;if(Be.isSelectOption)return!1;if(Be.isSelectOptGroup){var Ne=toNodeArray(Ze.props.children).every(function(We){return!React.isValidElement(We)||!Ze.type||We.type.isSelectOption?!0:(De=We.type,!1)});return!Ne}return De=Be,!0}),De&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(De.displayName||De.name||De,"`.")),warning(Ot===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bn(T,N){if(T){var he=function fe(He){for(var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ye=0;Ye2&&arguments[2]!==void 0?arguments[2]:{},Dn=wn.source,Vn=Dn===void 0?"keyboard":Dn;Pa(Bn),Ye&&fe==="combobox"&&_t!==null&&Vn==="keyboard"&&Hr(String(_t))},[Ye,fe]),jr=function(Bn,wn,Dn){var Vn=function(){var Vr,Or=Xn(Bn);return[Pt?{label:Or==null?void 0:Or[en.label],value:Bn,key:(Vr=Or==null?void 0:Or.key)!==null&&Vr!==void 0?Vr:Bn}:Bn,G(Or)]};if(wn&<){var qn=Vn(),Wr=(0,b.Z)(qn,2),Er=Wr[0],Ir=Wr[1];lt(Er,Ir)}else if(!wn&&Ot&&Dn!=="clear"){var zr=Vn(),sr=(0,b.Z)(zr,2),Yn=sr[0],Nr=sr[1];Ot(Yn,Nr)}},Ra=Qe(function(_t,Bn){var wn,Dn=Jt?Bn.selected:!0;Dn?wn=Jt?[].concat((0,c.Z)(In),[_t]):[_t]:wn=In.filter(function(Vn){return Vn.value!==_t}),Zr(wn),jr(_t,Dn),fe==="combobox"?Hr(""):(!g||Ct)&&(st(""),Hr(""))}),Ea=function(Bn,wn){Zr(Bn);var Dn=wn.type,Vn=wn.values;(Dn==="remove"||Dn==="clear")&&Vn.forEach(function(qn){jr(qn.value,!1,Dn)})},ia=function(Bn,wn){if(st(Bn),Hr(null),wn.source==="submit"){var Dn=(Bn||"").trim();if(Dn){var Vn=Array.from(new Set([].concat((0,c.Z)(br),[Dn])));Zr(Vn),jr(Dn,!0),st("")}return}wn.source!=="blur"&&(fe==="combobox"&&Zr(Bn),qe==null||qe(Bn))},va=function(Bn){var wn=Bn;fe!=="tags"&&(wn=Bn.map(function(Vn){var qn=Nt.get(Vn);return qn==null?void 0:qn.value}).filter(function(Vn){return Vn!==void 0}));var Dn=Array.from(new Set([].concat((0,c.Z)(br),(0,c.Z)(wn))));Zr(Dn),Dn.forEach(function(Vn){jr(Vn,!0)})},la=I.useMemo(function(){var _t=Ne!==!1&&Qt!==!1;return(0,W.Z)((0,W.Z)({},ct),{},{flattenOptions:lr,onActiveValue:ma,defaultActiveFirstOption:$a,onSelect:Ra,menuItemSelectedIcon:Be,rawValues:br,fieldNames:en,virtual:_t,direction:We,listHeight:pt,listItemHeight:jt,childrenAsData:qt})},[ct,lr,ma,$a,Ra,Be,br,en,Ne,Qt,pt,jt,qt]);return I.createElement(gt.Provider,{value:la},I.createElement(K,(0,u.Z)({},sn,{id:nn,prefixCls:Ae,ref:N,omitDomProps:vn,mode:fe,displayValues:Ar,onDisplayValuesChange:Ea,direction:We,searchValue:Wt,onSearch:ia,autoClearSearchValue:Ct,onSearchSplit:va,dropdownMatchSelectWidth:Qt,OptionList:un,emptyOptions:!lr.length,activeValue:_r,activeDescendantId:"".concat(nn,"_list_").concat(ta)})))}),dn=yn;dn.Option=mt,dn.OptGroup=_e;var S=dn,Z=S},9296:function(Dt,Me,e){e.r(Me),e.d(Me,{ResizableTextArea:function(){return V},default:function(){return F}});var u=e(54476),c=e(33885),v=e(20068),W=e(76190),b=e(42978),$=e(75931),t=e(94480),ie=e(92310),q=e.n(ie),I=e(93681),le=e(5643),C=e(18929),x=e(59301),ue=e(29301),X=e(34280),U=e(16089),$e=` - min-height:0 !important; - max-height:none !important; - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; - pointer-events: none !important; -`,se=["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"],we={},ce;function L(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,H=A.getAttribute("id")||A.getAttribute("data-reactid")||A.getAttribute("name");if(O&&we[H])return we[H];var k=window.getComputedStyle(A),ne=k.getPropertyValue("box-sizing")||k.getPropertyValue("-moz-box-sizing")||k.getPropertyValue("-webkit-box-sizing"),re=parseFloat(k.getPropertyValue("padding-bottom"))+parseFloat(k.getPropertyValue("padding-top")),ae=parseFloat(k.getPropertyValue("border-bottom-width"))+parseFloat(k.getPropertyValue("border-top-width")),Y=se.map(function(Re){return"".concat(Re,":").concat(k.getPropertyValue(Re))}).join(";"),be={sizingStyle:Y,paddingSize:re,borderSize:ae,boxSizing:ne};return O&&H&&(we[H]=be),be}function m(A){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,H=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,k=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ce||(ce=document.createElement("textarea"),ce.setAttribute("tab-index","-1"),ce.setAttribute("aria-hidden","true"),document.body.appendChild(ce)),A.getAttribute("wrap")?ce.setAttribute("wrap",A.getAttribute("wrap")):ce.removeAttribute("wrap");var ne=L(A,O),re=ne.paddingSize,ae=ne.borderSize,Y=ne.boxSizing,be=ne.sizingStyle;ce.setAttribute("style","".concat(be,";").concat($e)),ce.value=A.value||A.placeholder||"";var Re=void 0,Ve=void 0,Fe,ke=ce.scrollHeight;if(Y==="border-box"?ke+=ae:Y==="content-box"&&(ke-=re),H!==null||k!==null){ce.value=" ";var Ge=ce.scrollHeight-re;H!==null&&(Re=Ge*H,Y==="border-box"&&(Re=Re+re+ae),ke=Math.max(Re,ke)),k!==null&&(Ve=Ge*k,Y==="border-box"&&(Ve=Ve+re+ae),Fe=ke>Ve?"":"hidden",ke=Math.min(Ve,ke))}var at={height:ke,overflowY:Fe,resize:"none"};return Re&&(at.minHeight=Re),Ve&&(at.maxHeight=Ve),at}var r=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],h=0,y=1,ee=2,M=x.forwardRef(function(A,O){var H=A,k=H.prefixCls,ne=H.onPressEnter,re=H.defaultValue,ae=H.value,Y=H.autoSize,be=H.onResize,Re=H.className,Ve=H.style,Fe=H.disabled,ke=H.onChange,Ge=H.onInternalAutoSize,at=(0,$.Z)(H,r),Xe=(0,C.Z)(re,{value:ae,postState:function(_e){return _e!=null?_e:""}}),me=(0,b.Z)(Xe,2),Ke=me[0],B=me[1],w=function(_e){B(_e.target.value),ke==null||ke(_e)},d=x.useRef();x.useImperativeHandle(O,function(){return{textArea:d.current}});var n=x.useMemo(function(){return Y&&(0,W.Z)(Y)==="object"?[Y.minRows,Y.maxRows]:[]},[Y]),R=(0,b.Z)(n,2),G=R[0],l=R[1],o=!!Y,j=function(){try{if(document.activeElement===d.current){var _e=d.current,ut=_e.selectionStart,mt=_e.selectionEnd,It=_e.scrollTop;d.current.setSelectionRange(ut,mt),d.current.scrollTop=It}}catch(St){}},g=x.useState(ee),f=(0,b.Z)(g,2),K=f[0],ge=f[1],te=x.useState(),ve=(0,b.Z)(te,2),de=ve[0],p=ve[1],E=function(){ge(h)};(0,X.Z)(function(){o&&E()},[ae,G,l,o]),(0,X.Z)(function(){if(K===h)ge(y);else if(K===y){var Je=m(d.current,!1,G,l);ge(ee),p(Je)}else j()},[K]);var oe=x.useRef(),Ee=function(){U.Z.cancel(oe.current)},Se=function(_e){K===ee&&(be==null||be(_e),Y&&(Ee(),oe.current=(0,U.Z)(function(){E()})))};x.useEffect(function(){return Ee},[]);var Le=o?de:null,Qe=(0,c.Z)((0,c.Z)({},Ve),Le);return(K===h||K===y)&&(Qe.overflowY="hidden",Qe.overflowX="hidden"),x.createElement(ue.Z,{onResize:Se,disabled:!(Y||be)},x.createElement("textarea",(0,u.Z)({},at,{ref:d,style:Qe,className:q()(k,Re,(0,v.Z)({},"".concat(k,"-disabled"),Fe)),disabled:Fe,value:Ke,onChange:w})))}),V=M,D=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Ie(A,O){return(0,t.Z)(A||"").slice(0,O).join("")}function Q(A,O,H,k){var ne=H;return A?ne=Ie(H,k):(0,t.Z)(O||"").lengthk&&(ne=O),ne}var Ue=x.forwardRef(function(A,O){var H,k=A.defaultValue,ne=A.value,re=A.onFocus,ae=A.onBlur,Y=A.onChange,be=A.allowClear,Re=A.maxLength,Ve=A.onCompositionStart,Fe=A.onCompositionEnd,ke=A.suffix,Ge=A.prefixCls,at=Ge===void 0?"rc-textarea":Ge,Xe=A.classes,me=A.showCount,Ke=A.className,B=A.style,w=A.disabled,d=A.hidden,n=A.classNames,R=A.styles,G=A.onResize,l=(0,$.Z)(A,D),o=(0,C.Z)(k,{value:ne,defaultValue:k}),j=(0,b.Z)(o,2),g=j[0],f=j[1],K=(0,x.useRef)(null),ge=x.useState(!1),te=(0,b.Z)(ge,2),ve=te[0],de=te[1],p=x.useState(!1),E=(0,b.Z)(p,2),oe=E[0],Ee=E[1],Se=x.useRef(),Le=x.useRef(0),Qe=x.useState(null),Je=(0,b.Z)(Qe,2),_e=Je[0],ut=Je[1],mt=function(){var Zt;(Zt=K.current)===null||Zt===void 0||Zt.textArea.focus()};(0,x.useImperativeHandle)(O,function(){return{resizableTextArea:K.current,focus:mt,blur:function(){var Zt;(Zt=K.current)===null||Zt===void 0||Zt.textArea.blur()}}}),(0,x.useEffect)(function(){de(function(vn){return!w&&vn})},[w]);var It=Number(Re)>0,St=function(Zt){Ee(!0),Se.current=g,Le.current=Zt.currentTarget.selectionStart,Ve==null||Ve(Zt)},Tt=function(Zt){Ee(!1);var yn=Zt.currentTarget.value;if(It){var dn,S=Le.current>=Re+1||Le.current===((dn=Se.current)===null||dn===void 0?void 0:dn.length);yn=Q(S,Se.current,yn,Re)}yn!==g&&(f(yn),(0,le.rJ)(Zt.currentTarget,Zt,Y,yn)),Fe==null||Fe(Zt)},Yt=function(Zt){var yn=Zt.target.value;if(!oe&&It){var dn=Zt.target.selectionStart>=Re+1||Zt.target.selectionStart===yn.length||!Zt.target.selectionStart;yn=Q(dn,g,yn,Re)}f(yn),(0,le.rJ)(Zt.currentTarget,Zt,Y,yn)},gt=function(Zt){var yn=l.onPressEnter,dn=l.onKeyDown;Zt.key==="Enter"&&yn&&yn(Zt),dn==null||dn(Zt)},Ut=function(Zt){de(!0),re==null||re(Zt)},Nn=function(Zt){de(!1),ae==null||ae(Zt)},vt=function(Zt){var yn;f(""),mt(),(0,le.rJ)((yn=K.current)===null||yn===void 0?void 0:yn.textArea,Zt,Y)},yt=(0,le.D7)(g);!oe&&It&&ne==null&&(yt=Ie(yt,Re));var mn=ke,un;if(me){var Tn=(0,t.Z)(yt).length;(0,W.Z)(me)==="object"?un=me.formatter({value:yt,count:Tn,maxLength:Re}):un="".concat(Tn).concat(It?" / ".concat(Re):""),mn=x.createElement(x.Fragment,null,mn,x.createElement("span",{className:q()("".concat(at,"-data-count"),n==null?void 0:n.count),style:R==null?void 0:R.count},un))}var bn=function(Zt){var yn;G==null||G(Zt),(yn=K.current)!==null&&yn!==void 0&&yn.textArea.style.height&&ut(!0)},$n=!l.autoSize&&!me&&!be,_n=x.createElement(I.BaseInput,{value:yt,allowClear:be,handleReset:vt,suffix:mn,prefixCls:at,classes:{affixWrapper:q()(Xe==null?void 0:Xe.affixWrapper,(H={},(0,v.Z)(H,"".concat(at,"-show-count"),me),(0,v.Z)(H,"".concat(at,"-textarea-allow-clear"),be),H))},disabled:w,focused:ve,className:Ke,style:(0,c.Z)((0,c.Z)({},B),_e&&!$n?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof un=="string"?un:void 0}},hidden:d,inputElement:x.createElement(V,(0,u.Z)({},l,{onKeyDown:gt,onChange:Yt,onFocus:Ut,onBlur:Nn,onCompositionStart:St,onCompositionEnd:Tt,className:n==null?void 0:n.textarea,style:(0,c.Z)((0,c.Z)({},R==null?void 0:R.textarea),{},{resize:B==null?void 0:B.resize}),disabled:w,prefixCls:at,onResize:bn,ref:K}))});return _n}),s=Ue,F=s},39417:function(Dt,Me,e){e.d(Me,{Z:function(){return y}});var u=e(54476),c=e(20068),v=e(75931),W=e(33885),b=e(67732),$=e(83652),t=e(31226),ie=e(42403),q=e(158),I=e(92310),le=e.n(I),C=e(26112),x=e(59301),ue=e(39378),X=function(M){for(var V=M.prefixCls,D=M.level,Ie=M.isStart,Q=M.isEnd,Ue="".concat(V,"-indent-unit"),s=[],F=0;F0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=B.length,n=w.length;if(Math.abs(d-n)!==1)return{add:!1,key:null};function R(G,l){var o=new Map;G.forEach(function(g){o.set(g,!0)});var j=l.filter(function(g){return!o.has(g)});return j.length===1?j[0]:null}return d ").concat(w);return w}var Re=U.forwardRef(function(B,w){var d=B.prefixCls,n=B.data,R=B.selectable,G=B.checkable,l=B.expandedKeys,o=B.selectedKeys,j=B.checkedKeys,g=B.loadedKeys,f=B.loadingKeys,K=B.halfCheckedKeys,ge=B.keyEntities,te=B.disabled,ve=B.dragging,de=B.dragOverNodeKey,p=B.dropPosition,E=B.motion,oe=B.height,Ee=B.itemHeight,Se=B.virtual,Le=B.focusable,Qe=B.activeItem,Je=B.focused,_e=B.tabIndex,ut=B.onKeyDown,mt=B.onFocus,It=B.onBlur,St=B.onActiveChange,Tt=B.onListChangeStart,Yt=B.onListChangeEnd,gt=(0,L.Z)(B,F),Ut=U.useRef(null),Nn=U.useRef(null);U.useImperativeHandle(w,function(){return{scrollTo:function(ot){Ut.current.scrollTo(ot)},getIndentWidth:function(){return Nn.current.offsetWidth}}});var vt=U.useState(l),yt=(0,ce.Z)(vt,2),mn=yt[0],un=yt[1],Tn=U.useState(n),bn=(0,ce.Z)(Tn,2),$n=bn[0],_n=bn[1],vn=U.useState(n),Zt=(0,ce.Z)(vn,2),yn=Zt[0],dn=Zt[1],S=U.useState([]),Z=(0,ce.Z)(S,2),T=Z[0],N=Z[1],he=U.useState(null),fe=(0,ce.Z)(he,2),He=fe[0],Ae=fe[1],Ye=U.useRef(n);Ye.current=n;function nt(){var qe=Ye.current;_n(qe),dn(qe),N([]),Ae(null),Yt()}(0,m.Z)(function(){un(l);var qe=Ue(mn,l);if(qe.key!==null)if(qe.add){var ot=$n.findIndex(function(Rt){var Gt=Rt.key;return Gt===qe.key}),Ct=ae(s($n,n,qe.key),Se,oe,Ee),lt=$n.slice();lt.splice(ot+1,0,re),dn(lt),N(Ct),Ae("show")}else{var Ot=n.findIndex(function(Rt){var Gt=Rt.key;return Gt===qe.key}),zt=ae(s(n,$n,qe.key),Se,oe,Ee),Qt=n.slice();Qt.splice(Ot+1,0,re),dn(Qt),N(zt),Ae("hide")}else $n!==n&&(_n(n),dn(n))},[l,n]),U.useEffect(function(){ve||nt()},[ve]);var dt=E?yn:n,it={expandedKeys:l,selectedKeys:o,loadedKeys:g,loadingKeys:f,checkedKeys:j,halfCheckedKeys:K,dragOverNodeKey:de,dropPosition:p,keyEntities:ge};return U.createElement(U.Fragment,null,Je&&Qe&&U.createElement("span",{style:A,"aria-live":"assertive"},be(Qe)),U.createElement("div",null,U.createElement("input",{style:A,disabled:Le===!1||te,tabIndex:Le!==!1?_e:null,onKeyDown:ut,onFocus:mt,onBlur:It,value:"",onChange:O,"aria-label":"for screen reader"})),U.createElement("div",{className:"".concat(d,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},U.createElement("div",{className:"".concat(d,"-indent")},U.createElement("div",{ref:Nn,className:"".concat(d,"-indent-unit")}))),U.createElement(r.Z,(0,u.Z)({},gt,{data:dt,itemKey:Y,height:oe,fullHeight:!1,virtual:Se,itemHeight:Ee,prefixCls:"".concat(d,"-list"),ref:Ut,onVisibleChange:function(ot,Ct){var lt=new Set(ot),Ot=Ct.filter(function(zt){return!lt.has(zt)});Ot.some(function(zt){return Y(zt)===H})&&nt()}}),function(qe){var ot=qe.pos,Ct=(0,u.Z)({},(we(qe.data),qe.data)),lt=qe.title,Ot=qe.key,zt=qe.isStart,Qt=qe.isEnd,Rt=(0,M.km)(Ot,ot);delete Ct.key,delete Ct.children;var Gt=(0,M.H8)(Rt,it);return U.createElement(Q,(0,u.Z)({},Ct,Gt,{title:lt,active:!!Qe&&Ot===Qe.key,pos:ot,data:qe.data,isStart:zt,isEnd:Qt,motion:E,motionNodes:Ot===H?T:null,motionType:He,onMotionStart:Tt,onMotionEnd:nt,treeNodeRequiredProps:it,onMouseMove:function(){St(null)}}))}))});Re.displayName="NodeList";var Ve=Re,Fe=e(35654),ke=e(90782),Ge=e(67841),at=10,Xe=function(B){(0,q.Z)(d,B);var w=(0,I.Z)(d);function d(){var n;(0,$.Z)(this,d);for(var R=arguments.length,G=new Array(R),l=0;l2&&arguments[2]!==void 0?arguments[2]:!1,K=n.state,ge=K.dragChildrenKeys,te=K.dropPosition,ve=K.dropTargetKey,de=K.dropTargetPos,p=K.dropAllowed;if(p){var E=n.props.onDrop;if(n.setState({dragOverNodeKey:null}),n.cleanDragState(),ve!==null){var oe=(0,W.Z)((0,W.Z)({},(0,M.H8)(ve,n.getTreeNodeRequiredProps())),{},{active:((g=n.getActiveItem())===null||g===void 0?void 0:g.key)===ve,data:(0,Ge.Z)(n.state.keyEntities,ve).node}),Ee=ge.indexOf(ve)!==-1;(0,X.ZP)(!Ee,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Se=(0,Fe.yx)(de),Le={event:o,node:(0,M.F)(oe),dragNode:n.dragNode?(0,M.F)(n.dragNode.props):null,dragNodesKeys:[n.dragNode.props.eventKey].concat(ge),dropToGap:te!==0,dropPosition:te+Number(Se[Se.length-1])};f||E==null||E(Le),n.dragNode=null}}},n.cleanDragState=function(){var o=n.state.draggingNodeKey;o!==null&&n.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),n.dragStartMousePosition=null,n.currentMouseOverDroppableNodeKey=null},n.triggerExpandActionExpand=function(o,j){var g=n.state,f=g.expandedKeys,K=g.flattenNodes,ge=j.expanded,te=j.key,ve=j.isLeaf;if(!(ve||o.shiftKey||o.metaKey||o.ctrlKey)){var de=K.filter(function(E){return E.key===te})[0],p=(0,M.F)((0,W.Z)((0,W.Z)({},(0,M.H8)(te,n.getTreeNodeRequiredProps())),{},{data:de.data}));n.setExpandedKeys(ge?(0,Fe._5)(f,te):(0,Fe.L0)(f,te)),n.onNodeExpand(o,p)}},n.onNodeClick=function(o,j){var g=n.props,f=g.onClick,K=g.expandAction;K==="click"&&n.triggerExpandActionExpand(o,j),f==null||f(o,j)},n.onNodeDoubleClick=function(o,j){var g=n.props,f=g.onDoubleClick,K=g.expandAction;K==="doubleClick"&&n.triggerExpandActionExpand(o,j),f==null||f(o,j)},n.onNodeSelect=function(o,j){var g=n.state.selectedKeys,f=n.state,K=f.keyEntities,ge=f.fieldNames,te=n.props,ve=te.onSelect,de=te.multiple,p=j.selected,E=j[ge.key],oe=!p;oe?de?g=(0,Fe.L0)(g,E):g=[E]:g=(0,Fe._5)(g,E);var Ee=g.map(function(Se){var Le=(0,Ge.Z)(K,Se);return Le?Le.node:null}).filter(function(Se){return Se});n.setUncontrolledState({selectedKeys:g}),ve==null||ve(g,{event:"select",selected:oe,node:j,selectedNodes:Ee,nativeEvent:o.nativeEvent})},n.onNodeCheck=function(o,j,g){var f=n.state,K=f.keyEntities,ge=f.checkedKeys,te=f.halfCheckedKeys,ve=n.props,de=ve.checkStrictly,p=ve.onCheck,E=j.key,oe,Ee={event:"check",node:j,checked:g,nativeEvent:o.nativeEvent};if(de){var Se=g?(0,Fe.L0)(ge,E):(0,Fe._5)(ge,E),Le=(0,Fe._5)(te,E);oe={checked:Se,halfChecked:Le},Ee.checkedNodes=Se.map(function(It){return(0,Ge.Z)(K,It)}).filter(function(It){return It}).map(function(It){return It.node}),n.setUncontrolledState({checkedKeys:Se})}else{var Qe=(0,ke.S)([].concat((0,b.Z)(ge),[E]),!0,K),Je=Qe.checkedKeys,_e=Qe.halfCheckedKeys;if(!g){var ut=new Set(Je);ut.delete(E);var mt=(0,ke.S)(Array.from(ut),{checked:!1,halfCheckedKeys:_e},K);Je=mt.checkedKeys,_e=mt.halfCheckedKeys}oe=Je,Ee.checkedNodes=[],Ee.checkedNodesPositions=[],Ee.halfCheckedKeys=_e,Je.forEach(function(It){var St=(0,Ge.Z)(K,It);if(St){var Tt=St.node,Yt=St.pos;Ee.checkedNodes.push(Tt),Ee.checkedNodesPositions.push({node:Tt,pos:Yt})}}),n.setUncontrolledState({checkedKeys:Je},!1,{halfCheckedKeys:_e})}p==null||p(oe,Ee)},n.onNodeLoad=function(o){var j=o.key,g=new Promise(function(f,K){n.setState(function(ge){var te=ge.loadedKeys,ve=te===void 0?[]:te,de=ge.loadingKeys,p=de===void 0?[]:de,E=n.props,oe=E.loadData,Ee=E.onLoad;if(!oe||ve.indexOf(j)!==-1||p.indexOf(j)!==-1)return null;var Se=oe(o);return Se.then(function(){var Le=n.state.loadedKeys,Qe=(0,Fe.L0)(Le,j);Ee==null||Ee(Qe,{event:"load",node:o}),n.setUncontrolledState({loadedKeys:Qe}),n.setState(function(Je){return{loadingKeys:(0,Fe._5)(Je.loadingKeys,j)}}),f()}).catch(function(Le){if(n.setState(function(Je){return{loadingKeys:(0,Fe._5)(Je.loadingKeys,j)}}),n.loadingRetryTimes[j]=(n.loadingRetryTimes[j]||0)+1,n.loadingRetryTimes[j]>=at){var Qe=n.state.loadedKeys;(0,X.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),n.setUncontrolledState({loadedKeys:(0,Fe.L0)(Qe,j)}),f()}K(Le)}),{loadingKeys:(0,Fe.L0)(p,j)}})});return g.catch(function(){}),g},n.onNodeMouseEnter=function(o,j){var g=n.props.onMouseEnter;g==null||g({event:o,node:j})},n.onNodeMouseLeave=function(o,j){var g=n.props.onMouseLeave;g==null||g({event:o,node:j})},n.onNodeContextMenu=function(o,j){var g=n.props.onRightClick;g&&(o.preventDefault(),g({event:o,node:j}))},n.onFocus=function(){var o=n.props.onFocus;n.setState({focused:!0});for(var j=arguments.length,g=new Array(j),f=0;f1&&arguments[1]!==void 0?arguments[1]:!1,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n.destroyed){var f=!1,K=!0,ge={};Object.keys(o).forEach(function(te){if(te in n.props){K=!1;return}f=!0,ge[te]=o[te]}),f&&(!j||K)&&n.setState((0,W.Z)((0,W.Z)({},ge),g))}},n.scrollTo=function(o){n.listRef.current.scrollTo(o)},n}return(0,t.Z)(d,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var R=this.props.activeKey;R!==void 0&&R!==this.state.activeKey&&(this.setState({activeKey:R}),R!==null&&this.scrollTo({key:R}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var R,G=this.state,l=G.focused,o=G.flattenNodes,j=G.keyEntities,g=G.draggingNodeKey,f=G.activeKey,K=G.dropLevelOffset,ge=G.dropContainerKey,te=G.dropTargetKey,ve=G.dropPosition,de=G.dragOverNodeKey,p=G.indent,E=this.props,oe=E.prefixCls,Ee=E.className,Se=E.style,Le=E.showLine,Qe=E.focusable,Je=E.tabIndex,_e=Je===void 0?0:Je,ut=E.selectable,mt=E.showIcon,It=E.icon,St=E.switcherIcon,Tt=E.draggable,Yt=E.checkable,gt=E.checkStrictly,Ut=E.disabled,Nn=E.motion,vt=E.loadData,yt=E.filterTreeNode,mn=E.height,un=E.itemHeight,Tn=E.virtual,bn=E.titleRender,$n=E.dropIndicatorRender,_n=E.onContextMenu,vn=E.onScroll,Zt=E.direction,yn=E.rootClassName,dn=E.rootStyle,S=(0,ue.Z)(this.props,{aria:!0,data:!0}),Z;return Tt&&((0,v.Z)(Tt)==="object"?Z=Tt:typeof Tt=="function"?Z={nodeDraggable:Tt}:Z={}),U.createElement($e.k.Provider,{value:{prefixCls:oe,selectable:ut,showIcon:mt,icon:It,switcherIcon:St,draggable:Z,draggingNodeKey:g,checkable:Yt,checkStrictly:gt,disabled:Ut,keyEntities:j,dropLevelOffset:K,dropContainerKey:ge,dropTargetKey:te,dropPosition:ve,dragOverNodeKey:de,indent:p,direction:Zt,dropIndicatorRender:$n,loadData:vt,filterTreeNode:yt,titleRender:bn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},U.createElement("div",{role:"tree",className:C()(oe,Ee,yn,(R={},(0,c.Z)(R,"".concat(oe,"-show-line"),Le),(0,c.Z)(R,"".concat(oe,"-focused"),l),(0,c.Z)(R,"".concat(oe,"-active-focused"),f!==null),R)),style:dn},U.createElement(Ve,(0,u.Z)({ref:this.listRef,prefixCls:oe,style:Se,data:o,disabled:Ut,selectable:ut,checkable:!!Yt,motion:Nn,dragging:g!==null,height:mn,itemHeight:un,virtual:Tn,focusable:Qe,focused:l,tabIndex:_e,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_n,onScroll:vn},this.getTreeNodeRequiredProps(),S))))}}],[{key:"getDerivedStateFromProps",value:function(R,G){var l=G.prevProps,o={prevProps:R};function j(Qe){return!l&&Qe in R||l&&l[Qe]!==R[Qe]}var g,f=G.fieldNames;if(j("fieldNames")&&(f=(0,M.w$)(R.fieldNames),o.fieldNames=f),j("treeData")?g=R.treeData:j("children")&&((0,X.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),g=(0,M.zn)(R.children)),g){o.treeData=g;var K=(0,M.I8)(g,{fieldNames:f});o.keyEntities=(0,W.Z)((0,c.Z)({},H,ne),K.keyEntities)}var ge=o.keyEntities||G.keyEntities;if(j("expandedKeys")||l&&j("autoExpandParent"))o.expandedKeys=R.autoExpandParent||!l&&R.defaultExpandParent?(0,Fe.r7)(R.expandedKeys,ge):R.expandedKeys;else if(!l&&R.defaultExpandAll){var te=(0,W.Z)({},ge);delete te[H],o.expandedKeys=Object.keys(te).map(function(Qe){return te[Qe].key})}else!l&&R.defaultExpandedKeys&&(o.expandedKeys=R.autoExpandParent||R.defaultExpandParent?(0,Fe.r7)(R.defaultExpandedKeys,ge):R.defaultExpandedKeys);if(o.expandedKeys||delete o.expandedKeys,g||o.expandedKeys){var ve=(0,M.oH)(g||G.treeData,o.expandedKeys||G.expandedKeys,f);o.flattenNodes=ve}if(R.selectable&&(j("selectedKeys")?o.selectedKeys=(0,Fe.BT)(R.selectedKeys,R):!l&&R.defaultSelectedKeys&&(o.selectedKeys=(0,Fe.BT)(R.defaultSelectedKeys,R))),R.checkable){var de;if(j("checkedKeys")?de=(0,Fe.E6)(R.checkedKeys)||{}:!l&&R.defaultCheckedKeys?de=(0,Fe.E6)(R.defaultCheckedKeys)||{}:g&&(de=(0,Fe.E6)(R.checkedKeys)||{checkedKeys:G.checkedKeys,halfCheckedKeys:G.halfCheckedKeys}),de){var p=de,E=p.checkedKeys,oe=E===void 0?[]:E,Ee=p.halfCheckedKeys,Se=Ee===void 0?[]:Ee;if(!R.checkStrictly){var Le=(0,ke.S)(oe,!0,ge);oe=Le.checkedKeys,Se=Le.halfCheckedKeys}o.checkedKeys=oe,o.halfCheckedKeys=Se}}return j("loadedKeys")&&(o.loadedKeys=R.loadedKeys),o}}]),d}(U.Component);Xe.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:se,allowDrop:function(){return!0},expandAction:!1},Xe.TreeNode=y.Z;var me=Xe,Ke=me},35654:function(Dt,Me,e){e.d(Me,{BT:function(){return U},E6:function(){return we},L0:function(){return I},OM:function(){return X},_5:function(){return q},r7:function(){return ce},wA:function(){return C},yx:function(){return le}});var u=e(94480),c=e(76190),v=e(48736),W=e(59301),b=e(39417),$=e(67841),t=e(71430),ie=null;function q(L,m){if(!L)return[];var r=L.slice(),h=r.indexOf(m);return h>=0&&r.splice(h,1),r}function I(L,m){var r=(L||[]).slice();return r.indexOf(m)===-1&&r.push(m),r}function le(L){return L.split("-")}function C(L,m){var r=[],h=(0,$.Z)(m,L);function y(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ee.forEach(function(M){var V=M.key,D=M.children;r.push(V),y(D)})}return y(h.children),r}function x(L){if(L.parent){var m=le(L.pos);return Number(m[m.length-1])===L.parent.children.length-1}return!1}function ue(L){var m=le(L.pos);return Number(m[m.length-1])===0}function X(L,m,r,h,y,ee,M,V,D,Ie){var Q,Ue=L.clientX,s=L.clientY,F=L.target.getBoundingClientRect(),A=F.top,O=F.height,H=(Ie==="rtl"?-1:1)*(((y==null?void 0:y.x)||0)-Ue),k=(H-12)/h,ne=(0,$.Z)(V,r.props.eventKey);if(s-1.5?ee({dragNode:at,dropNode:Xe,dropPosition:1})?Fe=1:me=!1:ee({dragNode:at,dropNode:Xe,dropPosition:0})?Fe=0:ee({dragNode:at,dropNode:Xe,dropPosition:1})?Fe=1:me=!1:ee({dragNode:at,dropNode:Xe,dropPosition:1})?Fe=1:me=!1,{dropPosition:Fe,dropLevelOffset:ke,dropTargetKey:ne.key,dropTargetPos:ne.pos,dragOverNodeKey:Ve,dropContainerKey:Fe===0?null:((Q=ne.parent)===null||Q===void 0?void 0:Q.key)||null,dropAllowed:me}}function U(L,m){if(L){var r=m.multiple;return r?L.slice():L.length?[L[0]]:L}}var $e=function(m){return m};function se(L,m){if(!L)return[];var r=m||{},h=r.processProps,y=h===void 0?$e:h,ee=Array.isArray(L)?L:[L];return ee.map(function(M){var V=M.children,D=_objectWithoutProperties(M,ie),Ie=se(V,m);return React.createElement(TreeNode,_extends({key:D.key},y(D)),Ie)})}function we(L){if(!L)return null;var m;if(Array.isArray(L))m={checkedKeys:L,halfCheckedKeys:void 0};else if((0,c.Z)(L)==="object")m={checkedKeys:L.checked||void 0,halfCheckedKeys:L.halfChecked||void 0};else return(0,v.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return m}function ce(L,m){var r=new Set;function h(y){if(!r.has(y)){var ee=(0,$.Z)(m,y);if(ee){r.add(y);var M=ee.parent,V=ee.node;V.disabled||M&&h(M.key)}}}return(L||[]).forEach(function(y){h(y)}),(0,u.Z)(r)}},90782:function(Dt,Me,e){e.d(Me,{S:function(){return t}});var u=e(48736),c=e(67841);function v(ie,q){var I=new Set;return ie.forEach(function(le){q.has(le)||I.add(le)}),I}function W(ie){var q=ie||{},I=q.disabled,le=q.disableCheckbox,C=q.checkable;return!!(I||le)||C===!1}function b(ie,q,I,le){for(var C=new Set(ie),x=new Set,ue=0;ue<=I;ue+=1){var X=q.get(ue)||new Set;X.forEach(function(we){var ce=we.key,L=we.node,m=we.children,r=m===void 0?[]:m;C.has(ce)&&!le(L)&&r.filter(function(h){return!le(h.node)}).forEach(function(h){C.add(h.key)})})}for(var U=new Set,$e=I;$e>=0;$e-=1){var se=q.get($e)||new Set;se.forEach(function(we){var ce=we.parent,L=we.node;if(!(le(L)||!we.parent||U.has(we.parent.key))){if(le(we.parent.node)){U.add(ce.key);return}var m=!0,r=!1;(ce.children||[]).filter(function(h){return!le(h.node)}).forEach(function(h){var y=h.key,ee=C.has(y);m&&!ee&&(m=!1),!r&&(ee||x.has(y))&&(r=!0)}),m&&C.add(ce.key),r&&x.add(ce.key),U.add(ce.key)}})}return{checkedKeys:Array.from(C),halfCheckedKeys:Array.from(v(x,C))}}function $(ie,q,I,le,C){for(var x=new Set(ie),ue=new Set(q),X=0;X<=le;X+=1){var U=I.get(X)||new Set;U.forEach(function(ce){var L=ce.key,m=ce.node,r=ce.children,h=r===void 0?[]:r;!x.has(L)&&!ue.has(L)&&!C(m)&&h.filter(function(y){return!C(y.node)}).forEach(function(y){x.delete(y.key)})})}ue=new Set;for(var $e=new Set,se=le;se>=0;se-=1){var we=I.get(se)||new Set;we.forEach(function(ce){var L=ce.parent,m=ce.node;if(!(C(m)||!ce.parent||$e.has(ce.parent.key))){if(C(ce.parent.node)){$e.add(L.key);return}var r=!0,h=!1;(L.children||[]).filter(function(y){return!C(y.node)}).forEach(function(y){var ee=y.key,M=x.has(ee);r&&!M&&(r=!1),!h&&(M||ue.has(ee))&&(h=!0)}),r||x.delete(L.key),h&&ue.add(L.key),$e.add(L.key)}})}return{checkedKeys:Array.from(x),halfCheckedKeys:Array.from(v(ue,x))}}function t(ie,q,I,le){var C=[],x;le?x=le:x=W;var ue=new Set(ie.filter(function(se){var we=!!(0,c.Z)(I,se);return we||C.push(se),we})),X=new Map,U=0;Object.keys(I).forEach(function(se){var we=I[se],ce=we.level,L=X.get(ce);L||(L=new Set,X.set(ce,L)),L.add(we),U=Math.max(U,ce)}),(0,u.ZP)(!C.length,"Tree missing follow keys: ".concat(C.slice(0,100).map(function(se){return"'".concat(se,"'")}).join(", ")));var $e;return q===!0?$e=b(ue,X,U,x):$e=$(ue,q.halfCheckedKeys,X,U,x),$e}},67841:function(Dt,Me,e){e.d(Me,{Z:function(){return u}});function u(c,v){return c[v]}},71430:function(Dt,Me,e){e.d(Me,{F:function(){return ce},H8:function(){return we},I8:function(){return se},km:function(){return C},oH:function(){return U},w$:function(){return x},zn:function(){return X}});var u=e(76190),c=e(94480),v=e(33885),W=e(75931),b=e(11592),$=e(2738),t=e(48736),ie=e(67841),q=["children"];function I(L,m){return"".concat(L,"-").concat(m)}function le(L){return L&&L.type&&L.type.isTreeNode}function C(L,m){return L!=null?L:m}function x(L){var m=L||{},r=m.title,h=m._title,y=m.key,ee=m.children,M=r||"title";return{title:M,_title:h||[M],key:y||"key",children:ee||"children"}}function ue(L,m){var r=new Map;function h(y){var ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(y||[]).forEach(function(M){var V=M[m.key],D=M[m.children];warning(V!=null,"Tree node must have a certain key: [".concat(ee).concat(V,"]"));var Ie=String(V);warning(!r.has(Ie)||V===null||V===void 0,"Same 'key' exist in the Tree: ".concat(Ie)),r.set(Ie,!0),h(D,"".concat(ee).concat(Ie," > "))})}h(L)}function X(L){function m(r){var h=(0,b.Z)(r);return h.map(function(y){if(!le(y))return(0,t.ZP)(!y,"Tree/TreeNode can only accept TreeNode as children."),null;var ee=y.key,M=y.props,V=M.children,D=(0,W.Z)(M,q),Ie=(0,v.Z)({key:ee},D),Q=m(V);return Q.length&&(Ie.children=Q),Ie}).filter(function(y){return y})}return m(L)}function U(L,m,r){var h=x(r),y=h._title,ee=h.key,M=h.children,V=new Set(m===!0?[]:m),D=[];function Ie(Q){var Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Q.map(function(s,F){for(var A=I(Ue?Ue.pos:"0",F),O=C(s[ee],A),H,k=0;k1&&arguments[1]!==void 0?arguments[1]:{},r=m.initWrapper,h=m.processEntity,y=m.onProcessFinished,ee=m.externalGetKey,M=m.childrenPropName,V=m.fieldNames,D=arguments.length>2?arguments[2]:void 0,Ie=ee||D,Q={},Ue={},s={posEntities:Q,keyEntities:Ue};return r&&(s=r(s)||s),$e(L,function(F){var A=F.node,O=F.index,H=F.pos,k=F.key,ne=F.parentPos,re=F.level,ae=F.nodes,Y={node:A,nodes:ae,index:O,key:k,pos:H,level:re},be=C(k,H);Q[H]=Y,Ue[be]=Y,Y.parent=Q[ne],Y.parent&&(Y.parent.children=Y.parent.children||[],Y.parent.children.push(Y)),h&&h(Y,s)},{externalGetKey:Ie,childrenPropName:M,fieldNames:V}),y&&y(s),s}function we(L,m){var r=m.expandedKeys,h=m.selectedKeys,y=m.loadedKeys,ee=m.loadingKeys,M=m.checkedKeys,V=m.halfCheckedKeys,D=m.dragOverNodeKey,Ie=m.dropPosition,Q=m.keyEntities,Ue=(0,ie.Z)(Q,L),s={eventKey:L,expanded:r.indexOf(L)!==-1,selected:h.indexOf(L)!==-1,loaded:y.indexOf(L)!==-1,loading:ee.indexOf(L)!==-1,checked:M.indexOf(L)!==-1,halfChecked:V.indexOf(L)!==-1,pos:String(Ue?Ue.pos:""),dragOver:D===L&&Ie===0,dragOverGapTop:D===L&&Ie===-1,dragOverGapBottom:D===L&&Ie===1};return s}function ce(L){var m=L.data,r=L.expanded,h=L.selected,y=L.checked,ee=L.loaded,M=L.loading,V=L.halfChecked,D=L.dragOver,Ie=L.dragOverGapTop,Q=L.dragOverGapBottom,Ue=L.pos,s=L.active,F=L.eventKey,A=(0,v.Z)((0,v.Z)({},m),{},{expanded:r,selected:h,checked:y,loaded:ee,loading:M,halfChecked:V,dragOver:D,dragOverGapTop:Ie,dragOverGapBottom:Q,pos:Ue,active:s,key:F});return"props"in A||Object.defineProperty(A,"props",{get:function(){return(0,t.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),L}}),A}},8224:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});var u=e(4676);function c(v,W,b,$){var t=u.unstable_batchedUpdates?function(q){u.unstable_batchedUpdates(b,q)}:b;return v!=null&&v.addEventListener&&v.addEventListener(W,t,$),{remove:function(){v!=null&&v.removeEventListener&&v.removeEventListener(W,t,$)}}}},55468:function(Dt,Me,e){e.d(Me,{g1:function(){return le},os:function(){return x}});var u=/margin|padding|width|height|max|min|offset/,c={left:!0,top:!0},v={cssFloat:1,styleFloat:1,float:1};function W(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function b(ue,X,U){if(X=X.toLowerCase(),U==="auto"){if(X==="height")return ue.offsetHeight;if(X==="width")return ue.offsetWidth}return X in c||(c[X]=u.test(X)),c[X]?parseFloat(U)||0:U}function $(ue,X){var U=arguments.length,$e=W(ue);return X=v[X]?"cssFloat"in ue.style?"cssFloat":"styleFloat":X,U===1?$e:b(ue,X,$e[X]||ue.style[X])}function t(ue,X,U){var $e=arguments.length;if(X=v[X]?"cssFloat"in ue.style?"cssFloat":"styleFloat":X,$e===3)return typeof U=="number"&&u.test(X)&&(U="".concat(U,"px")),ue.style[X]=U,U;for(var se in X)X.hasOwnProperty(se)&&t(ue,se,X[se]);return W(ue)}function ie(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function q(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function I(){var ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),X=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ue,height:X}}function le(){var ue=document.documentElement.clientWidth,X=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:X}}function C(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function x(ue){var X=ue.getBoundingClientRect(),U=document.documentElement;return{left:X.left+(window.pageXOffset||U.scrollLeft)-(U.clientLeft||document.body.clientLeft||0),top:X.top+(window.pageYOffset||U.scrollTop)-(U.clientTop||document.body.clientTop||0)}}},3465:function(Dt,Me,e){e.d(Me,{G:function(){return W}});var u=e(47273),c=function($){if((0,u.Z)()&&window.document.documentElement){var t=Array.isArray($)?$:[$],ie=window.document.documentElement;return t.some(function(q){return q in ie.style})}return!1},v=function($,t){if(!c($))return!1;var ie=document.createElement("div"),q=ie.style[$];return ie.style[$]=t,ie.style[$]!==q};function W(b,$){return!Array.isArray(b)&&$!==void 0?v(b,$):c(b)}},48911:function(Dt,Me,e){e.d(Me,{Z:function(){return Xe}});var u=e(54476),c=e(76190),v=e(33885),W=e(20068),b=e(42978),$=e(75931),t=e(92310),ie=e.n(t),q=e(29301),I=e(70425),le=e(34280),C=e(59301),x=e(4676),ue=C.forwardRef(function(me,Ke){var B=me.height,w=me.offsetY,d=me.offsetX,n=me.children,R=me.prefixCls,G=me.onInnerResize,l=me.innerProps,o=me.rtl,j=me.extra,g={},f={display:"flex",flexDirection:"column"};return w!==void 0&&(g={height:B,position:"relative",overflow:"hidden"},f=(0,v.Z)((0,v.Z)({},f),{},(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({transform:"translateY(".concat(w,"px)")},o?"marginRight":"marginLeft",-d),"position","absolute"),"left",0),"right",0),"top",0))),C.createElement("div",{style:g},C.createElement(q.Z,{onResize:function(ge){var te=ge.offsetHeight;te&&G&&G()}},C.createElement("div",(0,u.Z)({style:f,className:ie()((0,W.Z)({},"".concat(R,"-holder-inner"),R)),ref:Ke},l),n,j)))});ue.displayName="Filler";var X=ue;function U(me){var Ke=me.children,B=me.setRef,w=C.useCallback(function(d){B(d)},[]);return C.cloneElement(Ke,{ref:w})}function $e(me,Ke,B,w,d,n,R,G){var l=G.getKey;return me.slice(Ke,B+1).map(function(o,j){var g=Ke+j,f=R(o,g,{style:{width:w},offsetX:d}),K=l(o);return C.createElement(U,{key:K,setRef:function(te){return n(o,te)}},f)})}function se(me,Ke,B,w){var d=B-me,n=Ke-B,R=Math.min(d,n)*2;if(w<=R){var G=Math.floor(w/2);return w%2?B+G+1:B-G}return d>n?B-(w-n):B+(w-d)}function we(me,Ke,B){var w=me.length,d=Ke.length,n,R;if(w===0&&d===0)return null;w2&&arguments[2]!==void 0?arguments[2]:!1,g=l?o<0&&G.current.left||o>0&&G.current.right:o<0&&G.current.top||o>0&&G.current.bottom;return j&&g?(clearTimeout(n.current),d.current=!1):(!g||d.current)&&R(),!d.current&&g}};function y(me,Ke,B,w,d,n,R){var G=(0,C.useRef)(0),l=(0,C.useRef)(null),o=(0,C.useRef)(null),j=(0,C.useRef)(!1),g=h(Ke,B,w,d);function f(p,E){if(L.Z.cancel(l.current),!g(!1,E)){var oe=p;if(!oe._virtualHandled)oe._virtualHandled=!0;else return;G.current+=E,o.current=E,r||oe.preventDefault(),l.current=(0,L.Z)(function(){var Ee=j.current?10:1;R(G.current*Ee,!1),G.current=0})}}function K(p,E){R(E,!0),r||p.preventDefault()}var ge=(0,C.useRef)(null),te=(0,C.useRef)(null);function ve(p){if(me){L.Z.cancel(te.current),te.current=(0,L.Z)(function(){ge.current=null},2);var E=p.deltaX,oe=p.deltaY,Ee=p.shiftKey,Se=E,Le=oe;(ge.current==="sx"||!ge.current&&Ee&&oe&&!E)&&(Se=oe,Le=0,ge.current="sx");var Qe=Math.abs(Se),Je=Math.abs(Le);ge.current===null&&(ge.current=n&&Qe>Je?"x":"y"),ge.current==="y"?f(p,Le):K(p,Se)}}function de(p){me&&(j.current=p.detail===o.current)}return[ve,de]}function ee(me,Ke,B,w){var d=C.useMemo(function(){return[new Map,[]]},[me,B.id,w]),n=(0,b.Z)(d,2),R=n[0],G=n[1],l=function(j){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:j,f=R.get(j),K=R.get(g);if(f===void 0||K===void 0)for(var ge=me.length,te=G.length;te0&&arguments[0]!==void 0?arguments[0]:!1;j();var ge=function(){var de=!1;G.current.forEach(function(p,E){if(p&&p.offsetParent){var oe=p.offsetHeight,Ee=getComputedStyle(p),Se=Ee.marginTop,Le=Ee.marginBottom,Qe=Q(Se),Je=Q(Le),_e=oe+Qe+Je;l.current.get(E)!==_e&&(l.current.set(E,_e),de=!0)}}),de&&R(function(p){return p+1})};if(K)ge();else{o.current+=1;var te=o.current;Promise.resolve().then(function(){te===o.current&&ge()})}}function f(K,ge){var te=me(K),ve=G.current.get(te);ge?(G.current.set(te,ge),g()):G.current.delete(te),!ve!=!ge&&(ge?Ke==null||Ke(K):B==null||B(K))}return(0,C.useEffect)(function(){return j},[]),[f,g,l.current,n]}var s=14/15;function F(me,Ke,B){var w=(0,C.useRef)(!1),d=(0,C.useRef)(0),n=(0,C.useRef)(0),R=(0,C.useRef)(null),G=(0,C.useRef)(null),l,o=function(K){if(w.current){var ge=Math.ceil(K.touches[0].pageX),te=Math.ceil(K.touches[0].pageY),ve=d.current-ge,de=n.current-te,p=Math.abs(ve)>Math.abs(de);p?d.current=ge:n.current=te;var E=B(p,p?ve:de,!1,K);E&&K.preventDefault(),clearInterval(G.current),E&&(G.current=setInterval(function(){p?ve*=s:de*=s;var oe=Math.floor(p?ve:de);(!B(p,oe,!0)||Math.abs(oe)<=.1)&&clearInterval(G.current)},16))}},j=function(){w.current=!1,l()},g=function(K){l(),K.touches.length===1&&!w.current&&(w.current=!0,d.current=Math.ceil(K.touches[0].pageX),n.current=Math.ceil(K.touches[0].pageY),R.current=K.target,R.current.addEventListener("touchmove",o,{passive:!1}),R.current.addEventListener("touchend",j,{passive:!0}))};l=function(){R.current&&(R.current.removeEventListener("touchmove",o),R.current.removeEventListener("touchend",j))},(0,le.Z)(function(){return me&&Ke.current.addEventListener("touchstart",g,{passive:!0}),function(){var f;(f=Ke.current)===null||f===void 0||f.removeEventListener("touchstart",g),l(),clearInterval(G.current)}},[me])}function A(me){return Math.floor(Math.pow(me,.5))}function O(me,Ke){var B="touches"in me?me.touches[0]:me;return B[Ke?"pageX":"pageY"]-window[Ke?"scrollX":"scrollY"]}function H(me,Ke,B){C.useEffect(function(){var w=Ke.current;if(me&&w){var d=!1,n,R,G=function(){L.Z.cancel(n)},l=function f(){G(),n=(0,L.Z)(function(){B(R),f()})},o=function(){d=!1,G()},j=function(K){if(!(K.target.draggable||K.button!==0)){var ge=K;ge._virtualHandled||(ge._virtualHandled=!0,d=!0)}},g=function(K){if(d){var ge=O(K,!1),te=w.getBoundingClientRect(),ve=te.top,de=te.bottom;if(ge<=ve){var p=ve-ge;R=-A(p),l()}else if(ge>=de){var E=ge-de;R=A(E),l()}else G()}};return w.addEventListener("mousedown",j),w.ownerDocument.addEventListener("mouseup",o),w.ownerDocument.addEventListener("mousemove",g),w.ownerDocument.addEventListener("dragend",o),function(){w.removeEventListener("mousedown",j),w.ownerDocument.removeEventListener("mouseup",o),w.ownerDocument.removeEventListener("mousemove",g),w.ownerDocument.removeEventListener("dragend",o),G()}}},[me])}var k=10;function ne(me,Ke,B,w,d,n,R,G){var l=C.useRef(),o=C.useState(null),j=(0,b.Z)(o,2),g=j[0],f=j[1];return(0,le.Z)(function(){if(g&&g.times=0;St-=1){var Tt=d(Ke[St]),Yt=B.get(Tt);if(Yt===void 0){p=!0;break}if(It-=Yt,It<=0)break}switch(Ee){case"top":oe=Le-ve;break;case"bottom":oe=Qe-de+ve;break;default:{var gt=me.current.scrollTop,Ut=gt+de;LeUt&&(E="bottom")}}oe!==null&&R(oe),oe!==g.lastTop&&(p=!0)}p&&f((0,v.Z)((0,v.Z)({},g),{},{times:g.times+1,targetAlign:E,lastTop:oe}))}},[g,me.current]),function(K){if(K==null){G();return}if(L.Z.cancel(l.current),typeof K=="number")R(K);else if(K&&(0,c.Z)(K)==="object"){var ge,te=K.align;"index"in K?ge=K.index:ge=Ke.findIndex(function(p){return d(p)===K.key});var ve=K.offset,de=ve===void 0?0:ve;f({times:0,index:ge,offset:de,originAlign:te})}}}var re=C.forwardRef(function(me,Ke){var B=me.prefixCls,w=me.rtl,d=me.scrollOffset,n=me.scrollRange,R=me.onStartMove,G=me.onStopMove,l=me.onScroll,o=me.horizontal,j=me.spinSize,g=me.containerSize,f=me.style,K=me.thumbStyle,ge=me.showScrollBar,te=C.useState(!1),ve=(0,b.Z)(te,2),de=ve[0],p=ve[1],E=C.useState(null),oe=(0,b.Z)(E,2),Ee=oe[0],Se=oe[1],Le=C.useState(null),Qe=(0,b.Z)(Le,2),Je=Qe[0],_e=Qe[1],ut=!w,mt=C.useRef(),It=C.useRef(),St=C.useState(ge),Tt=(0,b.Z)(St,2),Yt=Tt[0],gt=Tt[1],Ut=C.useRef(),Nn=function(){ge===!0||ge===!1||(clearTimeout(Ut.current),gt(!0),Ut.current=setTimeout(function(){gt(!1)},3e3))},vt=n-g||0,yt=g-j||0,mn=C.useMemo(function(){if(d===0||vt===0)return 0;var dn=d/vt;return dn*yt},[d,vt,yt]),un=function(S){S.stopPropagation(),S.preventDefault()},Tn=C.useRef({top:mn,dragging:de,pageY:Ee,startTop:Je});Tn.current={top:mn,dragging:de,pageY:Ee,startTop:Je};var bn=function(S){p(!0),Se(O(S,o)),_e(Tn.current.top),R(),S.stopPropagation(),S.preventDefault()};C.useEffect(function(){var dn=function(N){N.preventDefault()},S=mt.current,Z=It.current;return S.addEventListener("touchstart",dn,{passive:!1}),Z.addEventListener("touchstart",bn,{passive:!1}),function(){S.removeEventListener("touchstart",dn),Z.removeEventListener("touchstart",bn)}},[]);var $n=C.useRef();$n.current=vt;var _n=C.useRef();_n.current=yt,C.useEffect(function(){if(de){var dn,S=function(N){var he=Tn.current,fe=he.dragging,He=he.pageY,Ae=he.startTop;L.Z.cancel(dn);var Ye=mt.current.getBoundingClientRect(),nt=g/(o?Ye.width:Ye.height);if(fe){var dt=(O(N,o)-He)*nt,it=Ae;!ut&&o?it-=dt:it+=dt;var qe=$n.current,ot=_n.current,Ct=ot?it/ot:0,lt=Math.ceil(Ct*qe);lt=Math.max(lt,0),lt=Math.min(lt,qe),dn=(0,L.Z)(function(){l(lt,o)})}},Z=function(){p(!1),G()};return window.addEventListener("mousemove",S,{passive:!0}),window.addEventListener("touchmove",S,{passive:!0}),window.addEventListener("mouseup",Z,{passive:!0}),window.addEventListener("touchend",Z,{passive:!0}),function(){window.removeEventListener("mousemove",S),window.removeEventListener("touchmove",S),window.removeEventListener("mouseup",Z),window.removeEventListener("touchend",Z),L.Z.cancel(dn)}}},[de]),C.useEffect(function(){return Nn(),function(){clearTimeout(Ut.current)}},[d]),C.useImperativeHandle(Ke,function(){return{delayHidden:Nn}});var vn="".concat(B,"-scrollbar"),Zt={position:"absolute",visibility:Yt?null:"hidden"},yn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return o?(Object.assign(Zt,{height:8,left:0,right:0,bottom:0}),Object.assign(yn,(0,W.Z)({height:"100%",width:j},ut?"left":"right",mn))):(Object.assign(Zt,(0,W.Z)({width:8,top:0,bottom:0},ut?"right":"left",0)),Object.assign(yn,{width:"100%",height:j,top:mn})),C.createElement("div",{ref:mt,className:ie()(vn,(0,W.Z)((0,W.Z)((0,W.Z)({},"".concat(vn,"-horizontal"),o),"".concat(vn,"-vertical"),!o),"".concat(vn,"-visible"),Yt)),style:(0,v.Z)((0,v.Z)({},Zt),f),onMouseDown:un,onMouseMove:Nn},C.createElement("div",{ref:It,className:ie()("".concat(vn,"-thumb"),(0,W.Z)({},"".concat(vn,"-thumb-moving"),de)),style:(0,v.Z)((0,v.Z)({},yn),K),onMouseDown:bn}))}),ae=re,Y=20;function be(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,B=me/Ke*me;return isNaN(B)&&(B=0),B=Math.max(B,Y),Math.floor(B)}var Re=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ve=[],Fe={overflowY:"auto",overflowAnchor:"none"};function ke(me,Ke){var B=me.prefixCls,w=B===void 0?"rc-virtual-list":B,d=me.className,n=me.height,R=me.itemHeight,G=me.fullHeight,l=G===void 0?!0:G,o=me.style,j=me.data,g=me.children,f=me.itemKey,K=me.virtual,ge=me.direction,te=me.scrollWidth,ve=me.component,de=ve===void 0?"div":ve,p=me.onScroll,E=me.onVirtualScroll,oe=me.onVisibleChange,Ee=me.innerProps,Se=me.extraRender,Le=me.styles,Qe=me.showScrollBar,Je=Qe===void 0?"optional":Qe,_e=(0,$.Z)(me,Re),ut=C.useCallback(function(At){return typeof f=="function"?f(At):At==null?void 0:At[f]},[f]),mt=Ue(ut,null,null),It=(0,b.Z)(mt,4),St=It[0],Tt=It[1],Yt=It[2],gt=It[3],Ut=!!(K!==!1&&n&&R),Nn=C.useMemo(function(){return Object.values(Yt.maps).reduce(function(At,wt){return At+wt},0)},[Yt.id,Yt.maps]),vt=Ut&&j&&(Math.max(R*j.length,Nn)>n||!!te),yt=ge==="rtl",mn=ie()(w,(0,W.Z)({},"".concat(w,"-rtl"),yt),d),un=j||Ve,Tn=(0,C.useRef)(),bn=(0,C.useRef)(),$n=(0,C.useRef)(),_n=(0,C.useState)(0),vn=(0,b.Z)(_n,2),Zt=vn[0],yn=vn[1],dn=(0,C.useState)(0),S=(0,b.Z)(dn,2),Z=S[0],T=S[1],N=(0,C.useState)(!1),he=(0,b.Z)(N,2),fe=he[0],He=he[1],Ae=function(){He(!0)},Ye=function(){He(!1)},nt={getKey:ut};function dt(At){yn(function(wt){var gn;typeof At=="function"?gn=At(wt):gn=At;var In=jt(gn);return Tn.current.scrollTop=In,In})}var it=(0,C.useRef)({start:0,end:un.length}),qe=(0,C.useRef)(),ot=ce(un,ut),Ct=(0,b.Z)(ot,1),lt=Ct[0];qe.current=lt;var Ot=C.useMemo(function(){if(!Ut)return{scrollHeight:void 0,start:0,end:un.length-1,offset:void 0};if(!vt){var At;return{scrollHeight:((At=bn.current)===null||At===void 0?void 0:At.offsetHeight)||0,start:0,end:un.length-1,offset:void 0}}for(var wt=0,gn,In,Xn,Ar=un.length,br=0;br=Zt&&gn===void 0&&(gn=br,In=wt),mr>Zt+n&&Xn===void 0&&(Xn=br),wt=mr}return gn===void 0&&(gn=0,In=0,Xn=Math.ceil(n/R)),Xn===void 0&&(Xn=un.length-1),Xn=Math.min(Xn+1,un.length-1),{scrollHeight:wt,start:gn,end:Xn,offset:In}},[vt,Ut,Zt,un,gt,n]),zt=Ot.scrollHeight,Qt=Ot.start,Rt=Ot.end,Gt=Ot.offset;it.current.start=Qt,it.current.end=Rt,C.useLayoutEffect(function(){var At=Yt.getRecord();if(At.size===1){var wt=Array.from(At.keys())[0],gn=At.get(wt),In=un[Qt];if(In&&gn===void 0){var Xn=ut(In);if(Xn===wt){var Ar=Yt.get(wt),br=Ar-R;dt(function(Wn){return Wn+br})}}}Yt.resetRecord()},[zt]);var Oe=C.useState({width:0,height:n}),xe=(0,b.Z)(Oe,2),De=xe[0],Ze=xe[1],Pe=function(wt){Ze({width:wt.offsetWidth,height:wt.offsetHeight})},Be=(0,C.useRef)(),Ne=(0,C.useRef)(),We=C.useMemo(function(){return be(De.width,te)},[De.width,te]),ft=C.useMemo(function(){return be(De.height,zt)},[De.height,zt]),pt=zt-n,Kt=(0,C.useRef)(pt);Kt.current=pt;function jt(At){var wt=At;return Number.isNaN(Kt.current)||(wt=Math.min(wt,Kt.current)),wt=Math.max(wt,0),wt}var ln=Zt<=0,Bt=Zt>=pt,Pt=Z<=0,tn=Z>=te,sn=h(ln,Bt,Pt,tn),nn=function(){return{x:yt?-Z:Z,y:Zt}},Jt=(0,C.useRef)(nn()),qt=(0,I.useEvent)(function(At){if(E){var wt=(0,v.Z)((0,v.Z)({},nn()),At);(Jt.current.x!==wt.x||Jt.current.y!==wt.y)&&(E(wt),Jt.current=wt)}});function xn(At,wt){var gn=At;wt?((0,x.flushSync)(function(){T(gn)}),qt()):dt(gn)}function en(At){var wt=At.currentTarget.scrollTop;wt!==Zt&&dt(wt),p==null||p(At),qt()}var Rn=function(wt){var gn=wt,In=te?te-De.width:0;return gn=Math.max(gn,0),gn=Math.min(gn,In),gn},Gn=(0,I.useEvent)(function(At,wt){wt?((0,x.flushSync)(function(){T(function(gn){var In=gn+(yt?-At:At);return Rn(In)})}),qt()):dt(function(gn){var In=gn+At;return In})}),Wt=y(Ut,ln,Bt,Pt,tn,!!te,Gn),st=(0,b.Z)(Wt,2),ct=st[0],Ht=st[1];F(Ut,Tn,function(At,wt,gn,In){var Xn=In;return sn(At,wt,gn)?!1:!Xn||!Xn._virtualHandled?(Xn&&(Xn._virtualHandled=!0),ct({preventDefault:function(){},deltaX:At?wt:0,deltaY:At?0:wt}),!0):!1}),H(vt,Tn,function(At){dt(function(wt){return wt+At})}),(0,le.Z)(function(){function At(gn){var In=ln&&gn.detail<0,Xn=Bt&&gn.detail>0;Ut&&!In&&!Xn&&gn.preventDefault()}var wt=Tn.current;return wt.addEventListener("wheel",ct,{passive:!1}),wt.addEventListener("DOMMouseScroll",Ht,{passive:!0}),wt.addEventListener("MozMousePixelScroll",At,{passive:!1}),function(){wt.removeEventListener("wheel",ct),wt.removeEventListener("DOMMouseScroll",Ht),wt.removeEventListener("MozMousePixelScroll",At)}},[Ut,ln,Bt]),(0,le.Z)(function(){if(te){var At=Rn(Z);T(At),qt({x:At})}},[De.width,te]);var Nt=function(){var wt,gn;(wt=Be.current)===null||wt===void 0||wt.delayHidden(),(gn=Ne.current)===null||gn===void 0||gn.delayHidden()},Cn=ne(Tn,un,Yt,R,ut,function(){return Tt(!0)},dt,Nt);C.useImperativeHandle(Ke,function(){return{nativeElement:$n.current,getScrollInfo:nn,scrollTo:function(wt){function gn(In){return In&&(0,c.Z)(In)==="object"&&("left"in In||"top"in In)}gn(wt)?(wt.left!==void 0&&T(Rn(wt.left)),Cn(wt.top)):Cn(wt)}}}),(0,le.Z)(function(){if(oe){var At=un.slice(Qt,Rt+1);oe(At,un)}},[Qt,Rt,un]);var En=ee(un,ut,Yt,R),rn=Se==null?void 0:Se({start:Qt,end:Rt,virtual:vt,offsetX:Z,offsetY:Gt,rtl:yt,getSize:En}),nr=$e(un,Qt,Rt,te,Z,St,g,nt),Hn=null;n&&(Hn=(0,v.Z)((0,W.Z)({},l?"height":"maxHeight",n),Fe),Ut&&(Hn.overflowY="hidden",te&&(Hn.overflowX="hidden"),fe&&(Hn.pointerEvents="none")));var dr={};return yt&&(dr.dir="rtl"),C.createElement("div",(0,u.Z)({ref:$n,style:(0,v.Z)((0,v.Z)({},o),{},{position:"relative"}),className:mn},dr,_e),C.createElement(q.Z,{onResize:Pe},C.createElement(de,{className:"".concat(w,"-holder"),style:Hn,ref:Tn,onScroll:en,onMouseEnter:Nt},C.createElement(X,{prefixCls:w,height:zt,offsetX:Z,offsetY:Gt,scrollWidth:te,onInnerResize:Tt,ref:bn,innerProps:Ee,rtl:yt,extra:rn},nr))),vt&&zt>n&&C.createElement(ae,{ref:Be,prefixCls:w,scrollOffset:Zt,scrollRange:zt,rtl:yt,onScroll:xn,onStartMove:Ae,onStopMove:Ye,spinSize:ft,containerSize:De.height,style:Le==null?void 0:Le.verticalScrollBar,thumbStyle:Le==null?void 0:Le.verticalScrollBarThumb,showScrollBar:Je}),vt&&te>De.width&&C.createElement(ae,{ref:Ne,prefixCls:w,scrollOffset:Z,scrollRange:te,rtl:yt,onScroll:xn,onStartMove:Ae,onStopMove:Ye,spinSize:We,containerSize:De.width,horizontal:!0,style:Le==null?void 0:Le.horizontalScrollBar,thumbStyle:Le==null?void 0:Le.horizontalScrollBarThumb,showScrollBar:Je}))}var Ge=C.forwardRef(ke);Ge.displayName="List";var at=Ge,Xe=at}}]); diff --git a/p__Paperlibrary__Random__Detail__index.ad32d2a4.async.js b/p__Paperlibrary__Random__Detail__index.ad32d2a4.async.js new file mode 100644 index 0000000000..e8254927e8 --- /dev/null +++ b/p__Paperlibrary__Random__Detail__index.ad32d2a4.async.js @@ -0,0 +1,197 @@ +"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3784],{89489:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},59477:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},40001:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={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"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},49198:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},84105:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},18785:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},73331:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},15277:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},52671:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},8657:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},56082:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},33853:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},15075:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},62772:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},43531:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},38819:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},47472:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},87395:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},j=v,C=e(7657),$=function(O,se){return c.createElement(C.Z,(0,u.Z)({},O,{ref:se,icon:j}))},t=c.forwardRef($),oe=t},70414:function(Dt,Me,e){var u=e(59301),c=Object.defineProperty,v=Object.getOwnPropertySymbols,j=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,$=(ee,O,se)=>O in ee?c(ee,O,{enumerable:!0,configurable:!0,writable:!0,value:se}):ee[O]=se,t=(ee,O)=>{for(var se in O||(O={}))j.call(O,se)&&$(ee,se,O[se]);if(v)for(var se of v(O))C.call(O,se)&&$(ee,se,O[se]);return ee};const oe=ee=>React.createElement("svg",t({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},ee),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));Me.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},96935:function(Dt,Me,e){e.d(Me,{Z:function(){return ue}});var u=e(3113),c=e(59301),v=Object.defineProperty,j=Object.defineProperties,C=Object.getOwnPropertyDescriptors,$=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ee=(X,k,$e)=>k in X?v(X,k,{enumerable:!0,configurable:!0,writable:!0,value:$e}):X[k]=$e,O=(X,k)=>{for(var $e in k||(k={}))t.call(k,$e)&&ee(X,$e,k[$e]);if($)for(var $e of $(k))oe.call(k,$e)&&ee(X,$e,k[$e]);return X},se=(X,k)=>j(X,C(k)),S=(X,k)=>{var $e={};for(var ie in X)t.call(X,ie)&&k.indexOf(ie)<0&&($e[ie]=X[ie]);if(X!=null&&$)for(var ie of $(X))k.indexOf(ie)<0&&oe.call(X,ie)&&($e[ie]=X[ie]);return $e},E=(X,k,$e)=>new Promise((ie,we)=>{var ce=r=>{try{m($e.next(r))}catch(y){we(y)}},H=r=>{try{m($e.throw(r))}catch(y){we(y)}},m=r=>r.done?ie(r.value):Promise.resolve(r.value).then(ce,H);m(($e=$e.apply(X,k)).next())});const ue=X=>{var k=X,{children:$e}=k,ie=S(k,["children"]);const[we,ce]=(0,c.useState)(!1);return c.createElement(u.ZP,se(O({},ie),{loading:we,onClick:H=>E(void 0,null,function*(){try{ce(!0),yield ie.onClick(H),ce(!1)}catch(m){console.error(m),ce(!1)}})}),$e)}},83028:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(59301),c={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},v=e(43418),j="data:image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LafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",$=(ee,O,se)=>new Promise((S,E)=>{var ue=$e=>{try{k(se.next($e))}catch(ie){E(ie)}},X=$e=>{try{k(se.throw($e))}catch(ie){E(ie)}},k=$e=>$e.done?S($e.value):Promise.resolve($e.value).then(ue,X);k((se=se.apply(ee,O)).next())}),oe=({type:ee,resdata:O,onok:se,oktext:S,okloading:E})=>{const[ue,X]=(0,u.useState)(!1),{can_copy_list:k,can_copy_num:$e,challenge_type:ie,course_data_list:we,no_copy_list:ce,no_copy_num:H,no_use_list:m,no_use_num:r,repeat_shixun_num:y,student_count:p,total_num:ne,use_num:D}=O;let W=$e>0||ee==="exercise";(0,u.useEffect)(()=>{(O==null?void 0:O.student_count)>0&&X(!0)},[O]),console.log("---11",E),(0,u.useEffect)(()=>{E||X(!1)},[E]);const M=()=>{if(ee==="exercise"&&ie===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},D),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(ee==="exercise"&&ie===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},D),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(ee==="shixun"&&ie===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(ee==="shixun"&&ie===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(ee==="subject"&&ie===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},D),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(ee==="subject"&&ie===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",u.createElement("span",{className:c.orangeColor},p)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",u.createElement("span",{className:c.orangeColor},D)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(ee==="exercisepush")return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},D),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(ee==="shixunpush"&&ie===1)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",u.createElement("span",{className:c.orangeColor},D),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(ee==="shixunpush"&&ie===2)return u.createElement(u.Fragment,null,"\u8BFE\u5802\u5185\u6709",u.createElement("span",{className:c.orangeColor},p),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",u.createElement("span",{className:c.orangeColor},D),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",u.createElement("span",{className:c.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},xe=()=>{if(ee==="exercise"||ee==="subject"||ee==="exercisepush"||ee==="shixunpush")return u.createElement("div",{style:{marginTop:20}},H>0&&u.createElement("div",null,u.createElement("span",{className:c.flex},u.createElement("img",{src:C,style:{width:14}}),u.createElement("span",{className:c.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),u.createElement("div",{className:c.statusbody},ee==="exercise"&&u.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",u.createElement("span",{className:c.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(ee==="subject"||ee==="exercisepush")&&u.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",W&&u.createElement("span",{className:c.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),ee==="shixunpush"&&u.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",W&&u.createElement("span",{className:c.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),u.createElement("div",null,ce==null?void 0:ce.map((Y,Ve)=>u.createElement("a",{href:`/shixuns/${Y.identifier}/challenges`,target:"_blank"},"\u300A",Y==null?void 0:Y.name,"\u300B",Ve+1!==H&&"\u3001"))))),$e>0&&u.createElement("div",{style:{marginTop:20}},u.createElement("span",{className:c.flex},u.createElement("img",{src:j,style:{width:14}}),u.createElement("span",{className:c.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),u.createElement("div",{className:c.statusbody},ee==="exercise"&&u.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(ee==="subject"||ee==="exercisepush")&&u.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),ee==="shixunpush"&&u.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),u.createElement("div",null,k==null?void 0:k.map((Y,Ve)=>u.createElement("a",{href:`/shixuns/${Y.identifier}/challenges`,target:"_blank"},"\u300A",Y==null?void 0:Y.name,"\u300B",Ve+1!==$e&&"\u3001"))))));if(ee==="shixun")return u.createElement("div",{style:{marginTop:20}},$e>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return u.createElement(v.default,{open:ue,onCancel:()=>{X(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!W&&"none"}},zIndex:1003,confirmLoading:E,okText:W?S:"\u6211\u77E5\u9053\u4E86",onOk:()=>$(void 0,null,function*(){W?yield se([...k,...m]):X(!1)})},u.createElement("div",{style:{maxHeight:600,overflow:"auto"}},M(),xe()))}},33276:function(Dt,Me,e){var u=e(59301),c=e(43418),v=e(1710);const j=({dataSource:C,visible:$,onClose:t=()=>{},onSuccess:oe=()=>{},text:ee,okText:O})=>{var se;return u.createElement(c.default,{centered:!0,destroyOnClose:!0,open:!!$,title:"\u63D0\u793A",width:"600px",okText:O,cancelText:"\u53D6\u6D88",onCancel:t,onOk:oe},$==="single"&&u.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",u.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},(se=C==null?void 0:C[0])==null?void 0:se.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",ee),$==="multiple"&&u.createElement(u.Fragment,null,u.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",ee),u.createElement(v.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:C,scroll:(C==null?void 0:C.length)>7?{y:300}:{},pagination:!1})))};Me.Z=j},49026:function(Dt,Me,e){e.r(Me),e.d(Me,{default:function(){return m},difficultType:function(){return we},questionType:function(){return ie}});var u=e(59301),c=e(3113),v=e(71418),j=e(66104),C=e(18889),$=e(28103),t=e(38147),oe=e(32451),ee=e(65582),O={randomIcon:"randomIcon___V1A1W",btn:"btn___HSWTW"},se=e(74609),S=e(65862),E=e(87513),ue=Object.defineProperty,X=(r,y,p)=>y in r?ue(r,y,{enumerable:!0,configurable:!0,writable:!0,value:p}):r[y]=p,k=(r,y,p)=>X(r,typeof y!="symbol"?y+"":y,p),$e=(r,y,p)=>new Promise((ne,D)=>{var W=Y=>{try{xe(p.next(Y))}catch(Ve){D(Ve)}},M=Y=>{try{xe(p.throw(Y))}catch(Ve){D(Ve)}},xe=Y=>Y.done?ne(Y.value):Promise.resolve(Y.value).then(W,M);xe((p=p.apply(r,y)).next())});const ie={SINGLE:"\u5355\u9009\u9898",MULTIPLE:"\u591A\u9009\u9898",JUDGMENT:"\u5224\u65AD\u9898",COMPLETION:"\u586B\u7A7A\u9898",SUBJECTIVE:"\u7B80\u7B54\u9898",PRACTICAL:"\u5B9E\u8BAD\u9898",PROGRAM:"\u7F16\u7A0B\u9898",BPROGRAM:"\u7A0B\u5E8F\u586B\u7A7A\u9898",COMBINATION:"\u7EC4\u5408\u9898"},we={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},ce=["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341"];class H extends u.Component{constructor(y){super(y),k(this,"getPaperData",()=>{const p=window.location.href.split("/").pop();this.setState({loading:!0,id:p}),(0,t.ZP)(`/api/examination_banks/${p}/edit_random_exam.json`,{method:"get"}).then(ne=>{if(this.setState({loading:!1}),ne!=null&&ne.examination_bank){const{contents:D,examination_bank:W,score_settings:M,sort_by_item_type:xe}=ne;this.setState({contents:D,examination_bank:W,score_settings:M,sort_by_item_type:xe})}})}),k(this,"handleSendToClass",()=>{var p,ne,D,W,M,xe;const Y=(ne=(p=this.state)==null?void 0:p.score_settings)==null?void 0:ne.reduce((Ve,l)=>Ve+l.score,0);(xe=this.props)==null||xe.dispatch({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:(D=this.state)==null?void 0:D.id,data:{is_random:!0},dataSource:[{name:(M=(W=this.state)==null?void 0:W.examination_bank)==null?void 0:M.name,total_score:Y}],type:"single"}}})}),k(this,"toAnswer",()=>$e(this,null,function*(){var p,ne,D;this.setState({btnLoading:!0});const W=yield(0,E.Mb)({categoryId:this.state.id});this.setState({btnLoading:!1}),W!=null&&W.exercise_id&&(0,S.xg)(`/classrooms/coursesId/exercise/${W.exercise_id}/${(D=(ne=(p=this.props)==null?void 0:p.user)==null?void 0:ne.userInfo)==null?void 0:D.login}/initate_answer`)})),this.state={loading:!1,contents:[],examination_bank:{},score_settings:[],sort_by_item_type:[],modalVisible:!1,id:null,btnLoading:!1}}componentDidMount(){this.getPaperData()}render(){const{contents:y,examination_bank:p,score_settings:ne,sort_by_item_type:D,loading:W,btnLoading:M}=this.state;let xe=[],Y=0,Ve=0;Object.keys(ie).map(b=>{let U=0;y.map(q=>{q.item_type===b&&(U+=q.quanlity)});const V=ne.filter(q=>q.item_type===b);xe=[...xe,{item_type:b,num:U,score:V.length>0?V[0].score:0}]});const l=xe.filter(b=>b.num!==0);l.map(b=>{ne.map(U=>{b.item_type===U.item_type&&(Y+=b.num*U.score,Ve+=b.num)})}),console.log(l,D,"allcount");function F(b){return ie[b]||b}l.sort((b,U)=>{const V=F(b.item_type),q=F(U.item_type);return D.indexOf(V)-D.indexOf(q)});const Z=u.createElement("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},u.createElement("div",{style:{display:"flex",justifyContent:"space-between",width:"50%",fontWeight:500,fontSize:"16px"}},u.createElement("span",null,"\u603B\u8BA1 ",l.length," \u5927\u9898\uFF0C ",Ve," \u5C0F\u9898\uFF0C\u603B\u5206 ",Y&&Y.toFixed(1)," ","\u5206"),u.createElement("span",null,"\u8003\u8BD5\u65F6\u957F\uFF1A",p.time===null||p.time===-1?"\u4E0D\u9650":`${p.time}\u5206\u949F`),u.createElement("span",null,"\u8BD5\u5377\u96BE\u5EA6\uFF1A",we[p.difficulty])),u.createElement("div",null,u.createElement(c.ZP,{onClick:()=>{var b;return ee.history.push(`/randompaper/edit/${(b=this.state)==null?void 0:b.id}?type=settings`)},className:O.btn,icon:u.createElement("i",{className:"iconfont icon-bianji10 font14"})},"\u7F16\u8F91\u8BD5\u5377"),u.createElement(c.ZP,{loading:M,onClick:this.toAnswer,className:O.btn,icon:u.createElement("i",{className:"iconfont icon-monikaoshi2 font14"})},"\u6A21\u62DF\u8003\u8BD5"),u.createElement(c.ZP,{type:"primary",onClick:()=>this.handleSendToClass()},"\u53D1\u9001\u81F3\u8BFE\u5802")));return u.createElement("div",{style:{width:1200,margin:"0px auto"}},u.createElement(v.Z,{spinning:this.state.loading},u.createElement(j.Z,{separator:">",style:{padding:"12px 0px"}},u.createElement(j.Z.Item,null,"\u8BD5\u5377\u5E93"),u.createElement(j.Z.Item,null,u.createElement(oe.rU,{to:"/paperlibrary"},"\u6211\u521B\u5EFA\u7684")),u.createElement(j.Z.Item,null,"\u8BD5\u5377\u8BE6\u60C5")),u.createElement("div",{style:{height:50,display:"flex",alignItems:"center"}},u.createElement("span",{style:{fontSize:20,fontWeight:600}},u.createElement("i",{className:"icon-leftarrow iconfont",style:{fontSize:14,marginRight:8,cursor:"pointer"},onClick:()=>{ee.history.back()}}),p.name),u.createElement("span",{className:O.randomIcon},"\u968F\u673A")),u.createElement(C.Z,{title:Z,style:{marginBottom:200}},l.map((b,U)=>{const V=Array.from(new Set(y.map(q=>q.item_type===b.item_type?q.sub_discipline_id:null).filter(q=>q)));return u.createElement("div",{key:U},u.createElement("div",{style:{color:"#0152d9"}},ce[U],"\u3001",ie[b.item_type],u.createElement("span",{style:{color:"#666666",marginLeft:5}},"(\u5171 ",b.num," \u9898\uFF0C\u6BCF\u9898 ",b.score," \u5206)")),U===l.length-1?null:u.createElement($.Z,null))})),u.createElement(se.Z,null)))}}var m=(0,ee.connect)(({user:r})=>({user:r}))(H)},74609:function(Dt,Me,e){e.d(Me,{Z:function(){return q}});var u=e(59301),c=e(65582),v=e(92832),j=e(8591),C=e(43418),$=e(5871),t=e(61621),oe=e(1710),ee=e(3113),O=e(70414),se=Object.defineProperty,S=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,X=(le,re,Q)=>re in le?se(le,re,{enumerable:!0,configurable:!0,writable:!0,value:Q}):le[re]=Q,k=(le,re)=>{for(var Q in re||(re={}))E.call(re,Q)&&X(le,Q,re[Q]);if(S)for(var Q of S(re))ue.call(re,Q)&&X(le,Q,re[Q]);return le};const $e=le=>React.createElement("svg",k({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},le),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",fill:"#68C79F",fillRule:"nonzero"}));var ie="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",we={flex_box_center:"flex_box_center___LsrKL",flex_space_between:"flex_space_between___sZBht",flex_box_vertical_center:"flex_box_vertical_center___QNt7D",flex_box_center_end:"flex_box_center_end___S9zs3",flex_box_column:"flex_box_column___Y5tcm",title:"title___t4qlt",tip:"tip___MtKbx",radioWrap:"radioWrap___fp3kY",row:"row___IoDN5",radio:"radio___vuEDI",colorFF0000:"colorFF0000____5DYm",pagination:"pagination___bvqCI",modalColumn:"modalColumn___szBPb",modalRow:"modalRow___mtd9M",sup:"sup___JDuYL",search:"search___wNY_F",bottom:"bottom___HvFhF",yes:"yes___xmznh",no:"no___vEJlu"},ce=e(65862),H={sendToClass:"sendToClass___le_BX"},m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AAACeCAYAAABn7wuoAAAgAElEQVR4Xu19CXQcx3nmV90zwOAGCBAgeN8ST0k8JFkWLVGyfMqJN7EVO4eP2Ov1Rkle7mSz2fVq3yZ2Nptdx95sNo6zvvISW5aP+PmQLVuSL52ULIo6KJHiJZ7gAeLGzHTVv++vrmrU9MwAM8CAuKbf4+Ngpru6u+qrv/7j+/8SqB5zugeIyD/ZjzXLm3FOCDEwp1/mCj28uEL3qd5mGnqAiLyLw9md54a9jZs7/O8LIc5Nw23mXZNV0M/RISWiGgA7+jNYN5qVorPB/6kQ4ugcfZ0r+thV0F/R7q7MzYiokQEvgZX7zwDXdAM+MAjgG0IIVZm7zN9WqqCfY2PLEj4AdgtgDSSwr0diV7fPbyF94EtV0E88oFXQT9xHs+aMV4nqlgPXAFgrAe/ikEQqCTTURKD/ihAiM2seeJY+SBX0s3Rg4o/FRiuA10iW8OZ4+ozEtk4fSY15kA88K4Q4MNlXOnWJVi5bJE5M9vq5cl0V9HNkpIhoSwa41gf0mEkAPf1AZwPgh6AHBTiZTIqHy30lVpmePY01K1qxYVGD+Ga518+186ugnwMjRkRLJXADgAb7uKf6w0/Lms0MABAEOJdKiQfKeSUi4hZ2Hrggu9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mKW7MMAngdwAMDByUr2GZX0ManPdXRY2r8b4c4mHRW9/5oFcCkvzntD83b3PzXSfVgIEW3UXkpDhc6ddkmf70ZEyZkHzQAAAcRJREFUxIBnbw9XU9taSUmcjqGbd21kjb5+3BioqZl6w6sCesfoZcnPiSrbTT4uUxx4RbiqzzFTnVlpt6QesD52Bjfv/MfR1C4hxGBJrUzi5FkBm6m1wxFd5vRcB2C1mQyV0oKTGMQ5dgkHk1iac2LHT8xnJYS4ajXOZwX0Md2fn4FBz9WTWQ3ajTm979Ucg+DVe1z2wHDK3hkAzG+/OF2GaamvMOugz2P8NhrQc9U1NoBZBeI9bSvJ6qWO7uycz2oLS21mO/K/+wB8HwBzYtgoZUN1Vo+yAn0BI3gJAHZ/MvBXmP/ZDVo5yqsHWDfnlDyW5KyX//Bq6OeT6YKyB71jBLOk5wnQaaK+bA9w1YZKVtdkRn56rhkA8Br70I0kPyeEYIpAWR9zBvTxXiQilvbM+GT1h12hTHfmSg48OXgi8P9z9v3KCDWsrnCQiOm7rK6wJGdvC285z6pKUA4qSyn9Ne9AQURcoY3pEJzswt4gnhi8IrChPO/et5TBLvJcGxw6YkDOQH+FA0ZCCPa8zPlj3oPA5PlymiMnwPDBK8EGQ5FgliivFPO+H/IglSU4S2/OMmLXIafXWSP0ihCCE6vn5fH/AynvqKbJosiLAAAAAElFTkSuQmCC",p=({createState:le,refreshLoading:re,onRefresh:Q=()=>{},onCreate:be=()=>{}})=>u.createElement("div",{className:H.sendToClass},le?u.createElement(u.Fragment,null,u.createElement("img",{src:m,alt:"\u7A7A"}),u.createElement("div",null,"\u60A8\u8FD8\u6CA1\u6709\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF0C\u65E0\u6CD5\u5C06\u8BD5\u5377\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u3002"),u.createElement(ee.ZP,{onClick:be,type:"primary",ghost:!0},"\u7ACB\u5373\u521B\u5EFA")):u.createElement(u.Fragment,null,u.createElement("img",{src:r,alt:"\u7A7A"}),u.createElement("div",null,"\u5DF2\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF1F\u8BF7\u5237\u65B0\u5217\u8868"),u.createElement(ee.ZP,{loading:re,onClick:Q,type:"primary",ghost:!0},"\u7ACB\u5373\u5237\u65B0"))),ne=e(60979),D=e(96935),W=e(89392),M=e(83028),xe=e(33276),Y=e(59301),Ve=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,Z=(le,re)=>{var Q={};for(var be in le)l.call(le,be)&&re.indexOf(be)<0&&(Q[be]=le[be]);if(le!=null&&Ve)for(var be of Ve(le))re.indexOf(be)<0&&F.call(le,be)&&(Q[be]=le[be]);return Q},b=(le,re,Q)=>new Promise((be,Re)=>{var ke=Ge=>{try{Ue(Q.next(Ge))}catch(at){Re(at)}},Fe=Ge=>{try{Ue(Q.throw(Ge))}catch(at){Re(at)}},Ue=Ge=>Ge.done?be(Ge.value):Promise.resolve(Ge.value).then(ke,Fe);Ue((Q=Q.apply(le,re)).next())});const U=v.default.Search,V=le=>{var re=le,{paperlibrary:Q,globalSetting:be,loading:Re,dispatch:ke}=re,Fe=Z(re,["paperlibrary","globalSetting","loading","dispatch"]),Ue,Ge,at,Xe;const ve=(0,c.useIntl)(),[Ke,B]=(0,u.useState)(""),[w,d]=(0,u.useState)([]),[n,R]=(0,u.useState)([]),[G,s]=(0,u.useState)(!1),[o,K]=(0,u.useState)(!0),[g,f]=(0,u.useState)(!0),[L,ge]=(0,u.useState)(!0),[te,me]=(0,u.useState)(!1),[de,h]=(0,u.useState)(!1),I=(at=(Ge=(Ue=Q.actionTabs)==null?void 0:Ue.params)==null?void 0:Ge.data)==null?void 0:at.is_random,[ae,Ie]=(0,u.useState)(!1),[Se,Le]=(0,u.useState)({}),[Qe,Je]=(0,u.useState)(!1),[_e,ut]=(0,u.useState)(!1),[vt,It]=(0,u.useState)([]);(0,u.useEffect)(()=>{var yt;if(Q.actionTabs.key==="Paperlibrary-SendToClass"){const{dataSource:vn=[],type:un}=((yt=Q.actionTabs)==null?void 0:yt.params)||{},Tn=vn.filter(bn=>![100,120,150].includes(bn.total_score));Tn.length?(ut(un),It(Tn)):Je(!0)}},[(Xe=Q==null?void 0:Q.actionTabs)==null?void 0:Xe.key]),(0,u.useEffect)(()=>{Tt()},[]);const St=()=>{R([]),B(""),Tt(!0),Je(!1),ut(!1),ke({type:"paperlibrary/setActionTabs",payload:{}})},Tt=yt=>b(void 0,null,function*(){f(!0);const vn=yield ke({type:"paperlibrary/getCourseList",payload:{search:yt?"":Ke}});vn&&(d((vn==null?void 0:vn.courses)||[]),K(!0),me(!1)),f(!1),ge(!1)}),Yt=yt=>{const vn=parseInt(yt);return(0,W.isNaN)(vn)?"":vn},gt=()=>b(void 0,null,function*(){var yt,vn,un,Tn,bn,$n,_n;if(!n.length){j.ZP.info("\u60A8\u9700\u8981\u9009\u62E9\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),s(!0);return}const mn=yield ke({type:"paperlibrary/postExistCourse",payload:{course_id:I?n==null?void 0:n[0]:n,examination_bank_ids:((vn=(yt=Q.actionTabs)==null?void 0:yt.params)==null?void 0:vn.examination_bank_ids)||((Tn=(un=Q.actionTabs)==null?void 0:un.params)==null?void 0:Tn.id)}}),Zt=()=>b(void 0,null,function*(){var yn,dn,x,A,T,N;h(!0);let he=yield(0,ne.Tr)({id:(dn=(yn=Q.actionTabs)==null?void 0:yn.params)==null?void 0:dn.id,course_id:I?n==null?void 0:n[0]:n,type:(A=(x=Q.actionTabs)==null?void 0:x.params)!=null&&A.isBatch?"batch_examination_bank":"examination_bank",examination_bank_ids:(N=(T=Q.actionTabs)==null?void 0:T.params)==null?void 0:N.examination_bank_ids});h(!1),(he==null?void 0:he.student_count)===0?yield Ut([]):Le(he),yield new Promise(fe=>setTimeout(()=>fe(),1e3))});if(mn.status==0&&((bn=mn.data)==null?void 0:bn.count)>0){C.default.confirm({icon:null,title:ve.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),centered:!0,width:596,content:Y.createElement("div",{style:{userSelect:"none"}},"\u5F53\u524D\u6559\u5B66\u8BFE\u5802\u4E2D\u5DF2\u5B58\u5728\u8BD5\u5377",(_n=($n=mn.data)==null?void 0:$n.list)==null?void 0:_n.map((yn,dn)=>{var x;return Y.createElement(Y.Fragment,null,Y.createElement("span",{style:{color:"#FA6400"}},"\u300A",yn==null?void 0:yn.name,"\u300B"),dn!==((x=mn.data)==null?void 0:x.count)-1&&Y.createElement("span",null,"\u3001"))}),"\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u9700\u8981\u91CD\u590D\u53D1\u9001\uFF1F"),onOk:()=>b(void 0,null,function*(){yield Zt()})}),yield new Promise(yn=>setTimeout(()=>yn(),1e3));return}yield Zt()}),Ut=yt=>b(void 0,null,function*(){var vn,un,Tn,bn,$n,_n;if(!I){Ie(!0);const dn=yield ke({type:(un=(vn=Q.actionTabs)==null?void 0:vn.params)!=null&&un.isBatch?"paperlibrary/postBatchSendToCourse":"paperlibrary/sendToClass",payload:{course_id:I?n==null?void 0:n[0]:n,id:(bn=(Tn=Q.actionTabs)==null?void 0:Tn.params)==null?void 0:bn.id,examination_bank_ids:(_n=($n=Q.actionTabs)==null?void 0:$n.params)==null?void 0:_n.examination_bank_ids,shixuns_info:yt.map(x=>({shixun_id:x.id,is_copy:x.is_copy,is_use:x.is_use,course_id:x.course_id}))}});Ie(!1),dn&&dn.status===0&&(Je(!1),ke({type:"paperlibrary/setActionTabs",payload:{}}),R([]),C.default.confirm({title:ve.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",width:480,centered:!0,closable:!0,onOk:()=>{window.location.href=`${dn.data[0].first_category_url}`},content:Y.createElement("p",null,"\u8BD5\u5377\u53D1\u9001\u6210\u529F\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u524D\u5F80\u6559\u5B66\u8BFE\u5802\u8FDB\u884C\u53D1\u5E03\uFF1F")}),j.ZP.success("\u53D1\u9001\u6210\u529F"));return}Ie(!0),setTimeout(()=>{Ie(!1)},500);const mn=w.find(dn=>dn.course_id===(n==null?void 0:n[0]));let Zt=1,yn=C.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:Y.createElement("div",{className:we.modalColumn},Y.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},Y.createElement("img",{style:{marginRight:5},src:O.Z}),"\u968F\u673A\u7EC4\u5377\u7C7B\u578B\u7684\u8BD5\u5377\u6309\u7167\u51FA\u5377\u6570\u91CF\u5BF9\u6307\u5B9A\u8BFE\u5802\u751F\u6210\u4E0D\u91CD\u590D\u7684\u8BD5\u5377\u3002"),Y.createElement("div",{style:{paddingLeft:18}},ve.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),": ",mn==null?void 0:mn.course_name),Y.createElement("div",{style:{paddingLeft:9},className:we.modalRow},Y.createElement("sup",{className:we.sup},"*"),Y.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),Y.createElement($.Z,{parser:Yt,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:Zt,onChange:dn=>{Zt=dn;const x=document.getElementById("model_error");Zt<1||Zt>50?x.style.display="block":x.style.display="none"}})),Y.createElement("div",{style:{display:"none",marginLeft:115},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:ve.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:ve.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onCancel:St,onOk:()=>b(void 0,null,function*(){var dn,x;if(Zt<1||Zt>50){const T=document.getElementById("model_error");return T.style.display="block",Promise.reject()}yn.update({cancelButtonProps:{disabled:!0}});const A=yield ke({type:"paperlibrary/sendToClass",payload:{course_id:n==null?void 0:n[0],id:(x=(dn=Q.actionTabs)==null?void 0:dn.params)==null?void 0:x.id,num:Zt,shixuns_info:yt.map(T=>({shixun_id:T.id,is_copy:T.is_copy,is_use:T.is_use}))}});yn.update({cancelButtonProps:{disabled:!1}}),A&&A.status===0&&(C.default.destroyAll(),C.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,title:ve.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Y.createElement("div",{className:we.modalColumn},Y.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},Y.createElement("img",{style:{marginRight:5},src:ie}),"\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01")),okText:"\u524D\u5F80\u8BFE\u5802",cancelText:"\u8FD4\u56DE\u8BD5\u5377\u5E93",onCancel:()=>{St()},onOk:()=>{St(),setTimeout(()=>{var T,N;const he=(N=(T=A==null?void 0:A.first_category_url)==null?void 0:T.split("/"))==null?void 0:N[2];(0,ce.xg)(`/classrooms/${he}/exercise`)},1e3)}}))})})}),Nn=()=>b(void 0,null,function*(){me(!0),yield Tt()}),mt=[{title:ve.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),dataIndex:"course_name",ellipsis:!0},{title:ve.formatMessage({id:"paperlibrary.groupCount",defaultMessage:"\u5206\u73ED\u6570\u91CF"}),dataIndex:"course_group_count",width:90,ellipsis:!0},{title:ve.formatMessage({id:"paperlibrary.studentCount",defaultMessage:"\u5B66\u5458\u4EBA\u6570"}),dataIndex:"course_member_count",width:90,ellipsis:!0}];return Y.createElement("div",null,Y.createElement(C.default,{centered:!0,keyboard:!1,closable:!1,open:Qe,title:ve.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"}),maskClosable:!1,okText:ve.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:ve.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),confirmLoading:Re["paperlibrary/sendToClass"]||de||!!Re["paperlibrary/postExistCourse"],width:752,footer:!1,onOk:gt,destroyOnClose:!0,onCancel:St},Y.createElement("div",{className:we.wrap},Y.createElement("div",{className:"mb10"},Y.createElement(U,{placeholder:ve.formatMessage({id:"paperlibrary.searchByClassName",defaultMessage:"\u8F93\u51FA\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22"}),value:Ke,className:we.search,onChange:yt=>{B(yt.target.value),yt.target.value||Tt(!0)},onSearch:yt=>{B(yt),Tt(),R([])}})),Y.createElement(t.Z,{loading:L},w.length?Y.createElement("div",{className:we.radioWrap},Y.createElement(oe.default,{bordered:!1,scroll:(w==null?void 0:w.length)<=7?{}:{y:350},loading:g,rowKey:"course_id",pagination:!1,dataSource:w,columns:mt,onRow:yt=>({onClick:vn=>{if(I)R([yt==null?void 0:yt.course_id]);else{if(!I&&!n.includes(yt.course_id)&&n.length>0)return;n!=null&&n.includes(yt==null?void 0:yt.course_id)?R(n==null?void 0:n.filter(un=>un!==(yt==null?void 0:yt.course_id))):R([...n,yt==null?void 0:yt.course_id])}}}),rowSelection:{type:"radio",hideSelectAll:!0,selectedRowKeys:n,onChange:yt=>{R(yt),s(!1)}}})):!Ke&&!g&&Y.createElement(p,{createState:o,refreshLoading:te,onRefresh:Nn,onCreate:()=>{K(!1),(0,ce.xg)("/classrooms/new")}})),G&&Y.createElement("div",{className:we.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"),Y.createElement("div",{className:we.bottom,style:{display:"flex",alignItems:"center"}},Y.createElement("div",{style:{flex:1}},Y.createElement("div",{className:we.title},Y.createElement("img",{src:O.Z,style:{objectFit:"contain"}}),ve.formatMessage({id:"paperlibrary.selectedPaperSentToClass",defaultMessage:"\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802\u5E76\u4E3A\u73ED\u7EA7\u5B66\u5458\u751F\u6210\u8003\u8BD5\u8BD5\u5377"}))),Y.createElement("div",null,Y.createElement(ee.ZP,{onClick:St,className:we.no,style:{marginRight:20}},ve.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),Y.createElement(D.Z,{onClick:gt,className:we.yes},ve.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"})))))),Y.createElement(M.Z,{resdata:Se,type:"exercise",okloading:ae,oktext:(Se==null?void 0:Se.can_copy_num)===0?ve.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}):"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:yt=>{Ut(yt)}}),Y.createElement(xe.Z,{text:"\u662F\u5426\u7EE7\u7EED\u53D1\u9001\u5230\u6559\u5B66\u8BFE\u5802\u4E2D\uFF1F",okText:"\u786E\u8BA4\u53D1\u9001",visible:_e,dataSource:vt,onSuccess:()=>{ut(!1),Je(!0)},onClose:St}))};var q=(0,c.connect)(({paperlibrary:le,loading:re,globalSetting:Q})=>({paperlibrary:le,globalSetting:Q,loading:re.effects}))(V)},50371:function(Dt,Me){function e(){const u=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let c=1;c{const C=v[j];C!==void 0&&(u[j]=C)})}return u}Me.Z=e},13845:function(Dt,Me,e){e.d(Me,{F:function(){return u},Z:function(){return c}});function u(v){return v!=null&&v===v.window}function c(v,j){var C,$;if(typeof window=="undefined")return 0;const t=j?"scrollTop":"scrollLeft";let oe=0;return u(v)?oe=v[j?"pageYOffset":"pageXOffset"]:v instanceof Document?oe=v.documentElement[t]:(v instanceof HTMLElement||v)&&(oe=v[t]),v&&!u(v)&&typeof oe!="number"&&(oe=($=((C=v.ownerDocument)!==null&&C!==void 0?C:v).documentElement)===null||$===void 0?void 0:$[t]),oe}},56762:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});var u=e(59301);function c(){const[,v]=u.useReducer(j=>j+1,0);return v}},68031:function(Dt,Me,e){e.d(Me,{Z:function(){return j}});var u=e(16089);function c(C,$,t,oe){const ee=t-$;return C/=oe/2,C<1?ee/2*C*C*C+$:ee/2*((C-=2)*C*C+2)+$}var v=e(13845);function j(C){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:t=()=>window,callback:oe,duration:ee=450}=$,O=t(),se=(0,v.Z)(O,!0),S=Date.now(),E=()=>{const X=Date.now()-S,k=c(X>ee?ee:X,se,C,ee);(0,v.F)(O)?O.scrollTo(window.pageXOffset,k):O instanceof Document||O.constructor.name==="HTMLDocument"?O.documentElement.scrollTop=k:O.scrollTop=k,Xt||$},66104:function(Dt,Me,e){e.d(Me,{Z:function(){return Ve}});var u=e(92310),c=e.n(u),v=e(11592),j=e(26112),C=e(59301),$=e(92343),t=e(36355),oe=e(84105),ee=e(91857);const O=l=>{let{children:F}=l;const{getPrefixCls:Z}=C.useContext(t.E_),b=Z("breadcrumb");return C.createElement("li",{className:`${b}-separator`,"aria-hidden":"true"},F===""?F:F||"/")};O.__ANT_BREADCRUMB_SEPARATOR=!0;var se=O,S=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);UF[U]||b)}function ue(l,F,Z,b){if(Z==null)return null;const{className:U,onClick:V}=F,q=S(F,["className","onClick"]),le=Object.assign(Object.assign({},(0,j.Z)(q,{data:!0,aria:!0})),{onClick:V});return b!==void 0?C.createElement("a",Object.assign({},le,{className:c()(`${l}-link`,U),href:b}),Z):C.createElement("span",Object.assign({},le,{className:c()(`${l}-link`,U)}),Z)}function X(l,F){return(b,U,V,q,le)=>{if(F)return F(b,U,V,q);const re=E(b,U);return ue(l,b,re,le)}}var k=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);U{const{prefixCls:F,separator:Z="/",children:b,menu:U,overlay:V,dropdownProps:q,href:le}=l,Q=(be=>{if(U||V){const Re=Object.assign({},q);if(U){const ke=U||{},{items:Fe}=ke,Ue=k(ke,["items"]);Re.menu=Object.assign(Object.assign({},Ue),{items:Fe==null?void 0:Fe.map((Ge,at)=>{var{key:Xe,title:ve,label:Ke,path:B}=Ge,w=k(Ge,["key","title","label","path"]);let d=Ke!=null?Ke:ve;return B&&(d=C.createElement("a",{href:`${le}${B}`},d)),Object.assign(Object.assign({},w),{key:Xe!=null?Xe:at,label:d})})})}else V&&(Re.overlay=V);return C.createElement(ee.Z,Object.assign({placement:"bottom"},Re),C.createElement("span",{className:`${F}-overlay-link`},be,C.createElement(oe.Z,null)))}return be})(b);return Q!=null?C.createElement(C.Fragment,null,C.createElement("li",null,Q),Z&&C.createElement(se,null,Z)):null},ie=l=>{const{prefixCls:F,children:Z,href:b}=l,U=k(l,["prefixCls","children","href"]),{getPrefixCls:V}=C.useContext(t.E_),q=V("breadcrumb",F);return C.createElement($e,Object.assign({},U,{prefixCls:q}),ue(q,U,Z,b))};ie.__ANT_BREADCRUMB_ITEM=!0;var we=ie,ce=e(17313),H=e(83116),m=e(37613);const r=l=>{const{componentCls:F,iconCls:Z}=l;return{[F]:Object.assign(Object.assign({},(0,ce.Wf)(l)),{color:l.itemColor,fontSize:l.fontSize,[Z]:{fontSize:l.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:l.linkColor,transition:`color ${l.motionDurationMid}`,padding:`0 ${l.paddingXXS}px`,borderRadius:l.borderRadiusSM,height:l.lineHeight*l.fontSize,display:"inline-block",marginInline:-l.marginXXS,"&:hover":{color:l.linkHoverColor,backgroundColor:l.colorBgTextHover}},(0,ce.Qy)(l)),"li:last-child":{color:l.lastItemColor},[`${F}-separator`]:{marginInline:l.separatorMargin,color:l.separatorColor},[`${F}-link`]:{[` + > ${Z} + span, + > ${Z} + a + `]:{marginInlineStart:l.marginXXS}},[`${F}-overlay-link`]:{borderRadius:l.borderRadiusSM,height:l.lineHeight*l.fontSize,display:"inline-block",padding:`0 ${l.paddingXXS}px`,marginInline:-l.marginXXS,[`> ${Z}`]:{marginInlineStart:l.marginXXS,fontSize:l.fontSizeIcon},"&:hover":{color:l.linkHoverColor,backgroundColor:l.colorBgTextHover,a:{color:l.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${l.componentCls}-rtl`]:{direction:"rtl"}})}};var y=(0,H.Z)("Breadcrumb",l=>{const F=(0,m.TS)(l,{});return[r(F)]},l=>({itemColor:l.colorTextDescription,lastItemColor:l.colorText,iconFontSize:l.fontSize,linkColor:l.colorTextDescription,linkHoverColor:l.colorText,separatorColor:l.colorTextDescription,separatorMargin:l.marginXS})),p=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);U{var{breadcrumbName:q}=V,le=p(V,["breadcrumbName"]);return Object.assign(Object.assign({},le),{title:q})})}),U}function D(l,F){return(0,C.useMemo)(()=>l||(F?F.map(ne):null),[l,F])}var W=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);U{if(F===void 0)return F;let Z=(F||"").replace(/^\//,"");return Object.keys(l).forEach(b=>{Z=Z.replace(`:${b}`,l[b])}),Z},xe=l=>{const{prefixCls:F,separator:Z="/",style:b,className:U,rootClassName:V,routes:q,items:le,children:re,itemRender:Q,params:be={}}=l,Re=W(l,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:ke,direction:Fe,breadcrumb:Ue}=C.useContext(t.E_);let Ge;const at=ke("breadcrumb",F),[Xe,ve]=y(at),Ke=D(le,q),B=X(at,Q);if(Ke&&Ke.length>0){const n=[],R=le||q;Ge=Ke.map((G,s)=>{const{path:o,key:K,type:g,menu:f,overlay:L,onClick:ge,className:te,separator:me,dropdownProps:de}=G,h=M(be,o);h!==void 0&&n.push(h);const I=K!=null?K:s;if(g==="separator")return C.createElement(se,{key:I},me);const ae={},Ie=s===Ke.length-1;f?ae.menu=f:L&&(ae.overlay=L);let{href:Se}=G;return n.length&&h!==void 0&&(Se=`#/${n.join("/")}`),C.createElement($e,Object.assign({key:I},ae,(0,j.Z)(G,{data:!0,aria:!0}),{className:te,dropdownProps:de,href:Se,separator:Ie?"":Z,onClick:ge,prefixCls:at}),B(G,be,R,n,Se))})}else if(re){const n=(0,v.Z)(re).length;Ge=(0,v.Z)(re).map((R,G)=>{if(!R)return R;const s=G===n-1;return(0,$.Tm)(R,{separator:s?"":Z,key:G})})}const w=c()(at,Ue==null?void 0:Ue.className,{[`${at}-rtl`]:Fe==="rtl"},U,V,ve),d=Object.assign(Object.assign({},Ue==null?void 0:Ue.style),b);return Xe(C.createElement("nav",Object.assign({className:w,style:d},Re),C.createElement("ol",null,Ge)))};xe.Item=we,xe.Separator=se;var Y=xe,Ve=Y},18889:function(Dt,Me,e){e.d(Me,{Z:function(){return Ve}});var u=e(92310),c=e.n(u),v=e(2738),j=e(59301),C=e(36355),$=e(19716),t=e(61621),oe=e(99313),ee=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);U{var{prefixCls:F,className:Z,hoverable:b=!0}=l,U=ee(l,["prefixCls","className","hoverable"]);const{getPrefixCls:V}=j.useContext(C.E_),q=V("card",F),le=c()(`${q}-grid`,Z,{[`${q}-grid-hoverable`]:b});return j.createElement("div",Object.assign({},U,{className:le}))},S=e(17313),E=e(83116),ue=e(37613);const X=l=>{const{antCls:F,componentCls:Z,headerHeight:b,cardPaddingBase:U,tabsMarginBottom:V}=l;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:b,marginBottom:-1,padding:`0 ${U}px`,color:l.colorTextHeading,fontWeight:l.fontWeightStrong,fontSize:l.headerFontSize,background:l.headerBg,borderBottom:`${l.lineWidth}px ${l.lineType} ${l.colorBorderSecondary}`,borderRadius:`${l.borderRadiusLG}px ${l.borderRadiusLG}px 0 0`},(0,S.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},S.vS),{[` + > ${Z}-typography, + > ${Z}-typography-edit-content + `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${F}-tabs-top`]:{clear:"both",marginBottom:V,color:l.colorText,fontWeight:"normal",fontSize:l.fontSize,"&-bar":{borderBottom:`${l.lineWidth}px ${l.lineType} ${l.colorBorderSecondary}`}}})},k=l=>{const{cardPaddingBase:F,colorBorderSecondary:Z,cardShadow:b,lineWidth:U}=l;return{width:"33.33%",padding:F,border:0,borderRadius:0,boxShadow:` + ${U}px 0 0 0 ${Z}, + 0 ${U}px 0 0 ${Z}, + ${U}px ${U}px 0 0 ${Z}, + ${U}px 0 0 0 ${Z} inset, + 0 ${U}px 0 0 ${Z} inset; + `,transition:`all ${l.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:b}}},$e=l=>{const{componentCls:F,iconCls:Z,actionsLiMargin:b,cardActionsIconSize:U,colorBorderSecondary:V,actionsBg:q}=l;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:q,borderTop:`${l.lineWidth}px ${l.lineType} ${V}`,display:"flex",borderRadius:`0 0 ${l.borderRadiusLG}px ${l.borderRadiusLG}px `},(0,S.dF)()),{"& > li":{margin:b,color:l.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:l.cardActionsIconSize*2,fontSize:l.fontSize,lineHeight:l.lineHeight,cursor:"pointer","&:hover":{color:l.colorPrimary,transition:`color ${l.motionDurationMid}`},[`a:not(${F}-btn), > ${Z}`]:{display:"inline-block",width:"100%",color:l.colorTextDescription,lineHeight:`${l.fontSize*l.lineHeight}px`,transition:`color ${l.motionDurationMid}`,"&:hover":{color:l.colorPrimary}},[`> ${Z}`]:{fontSize:U,lineHeight:`${U*l.lineHeight}px`}},"&:not(:last-child)":{borderInlineEnd:`${l.lineWidth}px ${l.lineType} ${V}`}}})},ie=l=>Object.assign(Object.assign({margin:`-${l.marginXXS}px 0`,display:"flex"},(0,S.dF)()),{"&-avatar":{paddingInlineEnd:l.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:l.marginXS}},"&-title":Object.assign({color:l.colorTextHeading,fontWeight:l.fontWeightStrong,fontSize:l.fontSizeLG},S.vS),"&-description":{color:l.colorTextDescription}}),we=l=>{const{componentCls:F,cardPaddingBase:Z,colorFillAlter:b}=l;return{[`${F}-head`]:{padding:`0 ${Z}px`,background:b,"&-title":{fontSize:l.fontSize}},[`${F}-body`]:{padding:`${l.padding}px ${Z}px`}}},ce=l=>{const{componentCls:F}=l;return{overflow:"hidden",[`${F}-body`]:{userSelect:"none"}}},H=l=>{const{antCls:F,componentCls:Z,cardShadow:b,cardHeadPadding:U,colorBorderSecondary:V,boxShadowTertiary:q,cardPaddingBase:le,extraColor:re}=l;return{[Z]:Object.assign(Object.assign({},(0,S.Wf)(l)),{position:"relative",background:l.colorBgContainer,borderRadius:l.borderRadiusLG,[`&:not(${Z}-bordered)`]:{boxShadow:q},[`${Z}-head`]:X(l),[`${Z}-extra`]:{marginInlineStart:"auto",color:re,fontWeight:"normal",fontSize:l.fontSize},[`${Z}-body`]:Object.assign({padding:le,borderRadius:` 0 0 ${l.borderRadiusLG}px ${l.borderRadiusLG}px`},(0,S.dF)()),[`${Z}-grid`]:k(l),[`${Z}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${F}-image-mask`]:{borderRadius:`${l.borderRadiusLG}px ${l.borderRadiusLG}px 0 0`}},[`${Z}-actions`]:$e(l),[`${Z}-meta`]:ie(l)}),[`${Z}-bordered`]:{border:`${l.lineWidth}px ${l.lineType} ${V}`,[`${Z}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${Z}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${l.motionDurationMid}, border-color ${l.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:b}},[`${Z}-contain-grid`]:{[`${Z}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${Z}-loading) ${Z}-body`]:{marginBlockStart:-l.lineWidth,marginInlineStart:-l.lineWidth,padding:0}},[`${Z}-contain-tabs`]:{[`> ${Z}-head`]:{[`${Z}-head-title, ${Z}-extra`]:{paddingTop:U}}},[`${Z}-type-inner`]:we(l),[`${Z}-loading`]:ce(l),[`${Z}-rtl`]:{direction:"rtl"}}},m=l=>{const{componentCls:F,cardPaddingSM:Z,headerHeightSM:b,headerFontSizeSM:U}=l;return{[`${F}-small`]:{[`> ${F}-head`]:{minHeight:b,padding:`0 ${Z}px`,fontSize:U,[`> ${F}-head-wrapper`]:{[`> ${F}-extra`]:{fontSize:l.fontSize}}},[`> ${F}-body`]:{padding:Z}},[`${F}-small${F}-contain-tabs`]:{[`> ${F}-head`]:{[`${F}-head-title, ${F}-extra`]:{minHeight:b,paddingTop:0,display:"flex",alignItems:"center"}}}}};var r=(0,E.Z)("Card",l=>{const F=(0,ue.TS)(l,{cardShadow:l.boxShadowCard,cardHeadPadding:l.padding,cardPaddingBase:l.paddingLG,cardActionsIconSize:l.fontSize,cardPaddingSM:12});return[H(F),m(F)]},l=>({headerBg:"transparent",headerFontSize:l.fontSizeLG,headerFontSizeSM:l.fontSize,headerHeight:l.fontSizeLG*l.lineHeightLG+l.padding*2,headerHeightSM:l.fontSize*l.lineHeight+l.paddingXS*2,actionsBg:l.colorBgContainer,actionsLiMargin:`${l.paddingSM}px 0`,tabsMarginBottom:-l.padding-l.lineWidth,extraColor:l.colorText})),y=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);Uj.createElement("li",{style:{width:`${100/l.length}%`},key:`action-${Z}`},j.createElement("span",null,F)))}var D=j.forwardRef((l,F)=>{const{prefixCls:Z,className:b,rootClassName:U,style:V,extra:q,headStyle:le={},bodyStyle:re={},title:Q,loading:be,bordered:Re=!0,size:ke,type:Fe,cover:Ue,actions:Ge,tabList:at,children:Xe,activeTabKey:ve,defaultActiveTabKey:Ke,tabBarExtraContent:B,hoverable:w,tabProps:d={}}=l,n=y(l,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:R,direction:G,card:s}=j.useContext(C.E_),o=ut=>{var vt;(vt=l.onTabChange)===null||vt===void 0||vt.call(l,ut)},K=j.useMemo(()=>{let ut=!1;return j.Children.forEach(Xe,vt=>{vt&&vt.type&&vt.type===se&&(ut=!0)}),ut},[Xe]),g=R("card",Z),[f,L]=r(g),ge=j.createElement(t.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},Xe),te=ve!==void 0,me=Object.assign(Object.assign({},d),{[te?"activeKey":"defaultActiveKey"]:te?ve:Ke,tabBarExtraContent:B});let de;const h=(0,$.Z)(ke),I=!h||h==="default"?"large":h,ae=at?j.createElement(oe.default,Object.assign({size:I},me,{className:`${g}-head-tabs`,onChange:o,items:at.map(ut=>{var{tab:vt}=ut,It=y(ut,["tab"]);return Object.assign({label:vt},It)})})):null;(Q||q||ae)&&(de=j.createElement("div",{className:`${g}-head`,style:le},j.createElement("div",{className:`${g}-head-wrapper`},Q&&j.createElement("div",{className:`${g}-head-title`},Q),q&&j.createElement("div",{className:`${g}-extra`},q)),ae));const Ie=Ue?j.createElement("div",{className:`${g}-cover`},Ue):null,Se=j.createElement("div",{className:`${g}-body`,style:re},be?ge:Xe),Le=Ge&&Ge.length?j.createElement("ul",{className:`${g}-actions`},p(Ge)):null,Qe=(0,v.Z)(n,["onTabChange"]),Je=c()(g,s==null?void 0:s.className,{[`${g}-loading`]:be,[`${g}-bordered`]:Re,[`${g}-hoverable`]:w,[`${g}-contain-grid`]:K,[`${g}-contain-tabs`]:at&&at.length,[`${g}-${h}`]:h,[`${g}-type-${Fe}`]:!!Fe,[`${g}-rtl`]:G==="rtl"},b,U,L),_e=Object.assign(Object.assign({},s==null?void 0:s.style),V);return f(j.createElement("div",Object.assign({ref:F},Qe,{className:Je,style:_e}),de,Ie,Se,Le))}),W=function(l,F){var Z={};for(var b in l)Object.prototype.hasOwnProperty.call(l,b)&&F.indexOf(b)<0&&(Z[b]=l[b]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,b=Object.getOwnPropertySymbols(l);U{const{prefixCls:F,className:Z,avatar:b,title:U,description:V}=l,q=W(l,["prefixCls","className","avatar","title","description"]),{getPrefixCls:le}=j.useContext(C.E_),re=le("card",F),Q=c()(`${re}-meta`,Z),be=b?j.createElement("div",{className:`${re}-meta-avatar`},b):null,Re=U?j.createElement("div",{className:`${re}-meta-title`},U):null,ke=V?j.createElement("div",{className:`${re}-meta-description`},V):null,Fe=Re||ke?j.createElement("div",{className:`${re}-meta-detail`},Re,ke):null;return j.createElement("div",Object.assign({},q,{className:Q}),be,Fe)};const Y=D;Y.Grid=se,Y.Meta=xe;var Ve=Y},24905:function(Dt,Me,e){e.d(Me,{default:function(){return y}});var u=e(92310),c=e.n(u),v=e(5630),j=e(59301),C=e(36355),$=e(1684),t=e(32441),ee=j.createContext(null),O=e(98447),se=e(14088),S=e(4572),E=function(p,ne){var D={};for(var W in p)Object.prototype.hasOwnProperty.call(p,W)&&ne.indexOf(W)<0&&(D[W]=p[W]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,W=Object.getOwnPropertySymbols(p);M{var D;const{prefixCls:W,className:M,rootClassName:xe,children:Y,indeterminate:Ve=!1,style:l,onMouseEnter:F,onMouseLeave:Z,skipGroup:b=!1,disabled:U}=p,V=E(p,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:q,direction:le,checkbox:re}=j.useContext(C.E_),Q=j.useContext(ee),{isFormItemInput:be}=j.useContext(t.aM),Re=j.useContext($.Z),ke=(D=(Q==null?void 0:Q.disabled)||U)!==null&&D!==void 0?D:Re,Fe=j.useRef(V.value);j.useEffect(()=>{Q==null||Q.registerValue(V.value)},[]),j.useEffect(()=>{if(!b)return V.value!==Fe.current&&(Q==null||Q.cancelValue(Fe.current),Q==null||Q.registerValue(V.value),Fe.current=V.value),()=>Q==null?void 0:Q.cancelValue(V.value)},[V.value]);const Ue=q("checkbox",W),[Ge,at]=(0,O.ZP)(Ue),Xe=Object.assign({},V);Q&&!b&&(Xe.onChange=function(){V.onChange&&V.onChange.apply(V,arguments),Q.toggleOption&&Q.toggleOption({label:Y,value:V.value})},Xe.name=Q.name,Xe.checked=Q.value.includes(V.value));const ve=c()(`${Ue}-wrapper`,{[`${Ue}-rtl`]:le==="rtl",[`${Ue}-wrapper-checked`]:Xe.checked,[`${Ue}-wrapper-disabled`]:ke,[`${Ue}-wrapper-in-form-item`]:be},re==null?void 0:re.className,M,xe,at),Ke=c()({[`${Ue}-indeterminate`]:Ve},S.A,at),B=Ve?"mixed":void 0;return Ge(j.createElement(se.Z,{component:"Checkbox",disabled:ke},j.createElement("label",{className:ve,style:Object.assign(Object.assign({},re==null?void 0:re.style),l),onMouseEnter:F,onMouseLeave:Z},j.createElement(v.Z,Object.assign({"aria-checked":B},Xe,{prefixCls:Ue,className:Ke,disabled:ke,ref:ne})),Y!==void 0&&j.createElement("span",null,Y))))};var k=j.forwardRef(ue),$e=e(94480),ie=e(2738),we=function(p,ne){var D={};for(var W in p)Object.prototype.hasOwnProperty.call(p,W)&&ne.indexOf(W)<0&&(D[W]=p[W]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,W=Object.getOwnPropertySymbols(p);M{const{defaultValue:D,children:W,options:M=[],prefixCls:xe,className:Y,rootClassName:Ve,style:l,onChange:F}=p,Z=we(p,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:b,direction:U}=j.useContext(C.E_),[V,q]=j.useState(Z.value||D||[]),[le,re]=j.useState([]);j.useEffect(()=>{"value"in Z&&q(Z.value||[])},[Z.value]);const Q=j.useMemo(()=>M.map(w=>typeof w=="string"||typeof w=="number"?{label:w,value:w}:w),[M]),be=w=>{re(d=>d.filter(n=>n!==w))},Re=w=>{re(d=>[].concat((0,$e.Z)(d),[w]))},ke=w=>{const d=V.indexOf(w.value),n=(0,$e.Z)(V);d===-1?n.push(w.value):n.splice(d,1),"value"in Z||q(n),F==null||F(n.filter(R=>le.includes(R)).sort((R,G)=>{const s=Q.findIndex(K=>K.value===R),o=Q.findIndex(K=>K.value===G);return s-o}))},Fe=b("checkbox",xe),Ue=`${Fe}-group`,[Ge,at]=(0,O.ZP)(Fe),Xe=(0,ie.Z)(Z,["value","disabled"]),ve=M.length?Q.map(w=>j.createElement(k,{prefixCls:Fe,key:w.value.toString(),disabled:"disabled"in w?w.disabled:Z.disabled,value:w.value,checked:V.includes(w.value),onChange:w.onChange,className:`${Ue}-item`,style:w.style,title:w.title},w.label)):W,Ke={toggleOption:ke,value:V,disabled:Z.disabled,name:Z.name,registerValue:Re,cancelValue:be},B=c()(Ue,{[`${Ue}-rtl`]:U==="rtl"},Y,Ve,at);return Ge(j.createElement("div",Object.assign({className:B,style:l},Xe,{ref:ne}),j.createElement(ee.Provider,{value:Ke},ve)))},H=j.forwardRef(ce);var m=j.memo(H);const r=k;r.Group=m,r.__ANT_CHECKBOX=!0;var y=r},98447:function(Dt,Me,e){e.d(Me,{C2:function(){return C}});var u=e(17313),c=e(37613),v=e(83116);const j=$=>{const{checkboxCls:t}=$,oe=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},(0,u.Wf)($)),{display:"inline-flex",flexWrap:"wrap",columnGap:$.marginXS,[`> ${$.antCls}-row`]:{flex:1}}),[oe]:Object.assign(Object.assign({},(0,u.Wf)($)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${oe}`]:{marginInlineStart:0},[`&${oe}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,u.Wf)($)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:$.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},(0,u.oN)($))},[`${t}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:$.checkboxSize,height:$.checkboxSize,direction:"ltr",backgroundColor:$.colorBgContainer,border:`${$.lineWidth}px ${$.lineType} ${$.colorBorder}`,borderRadius:$.borderRadiusSM,borderCollapse:"separate",transition:`all ${$.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:$.checkboxSize/14*5,height:$.checkboxSize/14*8,border:`${$.lineWidthBold}px solid ${$.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${$.motionDurationFast} ${$.motionEaseInBack}, opacity ${$.motionDurationFast}`}},"& + span":{paddingInlineStart:$.paddingXS,paddingInlineEnd:$.paddingXS}})},{[` + ${oe}:not(${oe}-disabled), + ${t}:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{borderColor:$.colorPrimary}},[`${oe}:not(${oe}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:$.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:$.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:$.colorPrimary,borderColor:$.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${$.motionDurationMid} ${$.motionEaseOutBack} ${$.motionDurationFast}`}}},[` + ${oe}-checked:not(${oe}-disabled), + ${t}-checked:not(${t}-disabled) + `]:{[`&:hover ${t}-inner`]:{backgroundColor:$.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:$.colorBgContainer,borderColor:$.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:$.fontSizeLG/2,height:$.fontSizeLG/2,backgroundColor:$.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${oe}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:$.colorBgContainerDisabled,borderColor:$.colorBorder,"&:after":{borderColor:$.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:$.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:$.colorTextDisabled}}}]};function C($,t){const oe=(0,c.TS)(t,{checkboxCls:`.${$}`,checkboxSize:t.controlInteractiveSize});return[j(oe)]}Me.ZP=(0,v.Z)("Checkbox",($,t)=>{let{prefixCls:oe}=t;return[C(oe,$)]})},93891:function(Dt,Me,e){var u=e(59301),c=e(36355),v=e(64165);const j=C=>{const{componentName:$}=C,{getPrefixCls:t}=(0,u.useContext)(c.E_),oe=t("empty");switch($){case"Table":case"List":return u.createElement(v.Z,{image:v.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return u.createElement(v.Z,{image:v.Z.PRESENTED_IMAGE_SIMPLE,className:`${oe}-small`});default:return u.createElement(v.Z,null)}};Me.Z=j},28103:function(Dt,Me,e){e.d(Me,{Z:function(){return S}});var u=e(92310),c=e.n(u),v=e(59301),j=e(36355),C=e(17313),$=e(83116),t=e(37613);const oe=E=>{const{componentCls:ue,sizePaddingEdgeHorizontal:X,colorSplit:k,lineWidth:$e,textPaddingInline:ie,orientationMargin:we,verticalMarginInline:ce}=E;return{[ue]:Object.assign(Object.assign({},(0,C.Wf)(E)),{borderBlockStart:`${$e}px solid ${k}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ce,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${$e}px solid ${k}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${E.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ue}-with-text`]:{display:"flex",alignItems:"center",margin:`${E.dividerHorizontalWithTextGutterMargin}px 0`,color:E.colorTextHeading,fontWeight:500,fontSize:E.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${k}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${$e}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ue}-with-text-left`]:{"&::before":{width:`${we*100}%`},"&::after":{width:`${100-we*100}%`}},[`&-horizontal${ue}-with-text-right`]:{"&::before":{width:`${100-we*100}%`},"&::after":{width:`${we*100}%`}},[`${ue}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ie},"&-dashed":{background:"none",borderColor:k,borderStyle:"dashed",borderWidth:`${$e}px 0 0`},[`&-horizontal${ue}-with-text${ue}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ue}-dashed`]:{borderInlineStartWidth:$e,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ue}-with-text`]:{color:E.colorText,fontWeight:"normal",fontSize:E.fontSize},[`&-horizontal${ue}-with-text-left${ue}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ue}-inner-text`]:{paddingInlineStart:X}},[`&-horizontal${ue}-with-text-right${ue}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ue}-inner-text`]:{paddingInlineEnd:X}}})}};var ee=(0,$.Z)("Divider",E=>{const ue=(0,t.TS)(E,{dividerHorizontalWithTextGutterMargin:E.margin,dividerHorizontalGutterMargin:E.marginLG,sizePaddingEdgeHorizontal:0});return[oe(ue)]},E=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:E.marginXS})),O=function(E,ue){var X={};for(var k in E)Object.prototype.hasOwnProperty.call(E,k)&&ue.indexOf(k)<0&&(X[k]=E[k]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,k=Object.getOwnPropertySymbols(E);$e{const{getPrefixCls:ue,direction:X,divider:k}=v.useContext(j.E_),{prefixCls:$e,type:ie="horizontal",orientation:we="center",orientationMargin:ce,className:H,rootClassName:m,children:r,dashed:y,plain:p,style:ne}=E,D=O(E,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),W=ue("divider",$e),[M,xe]=ee(W),Y=we.length>0?`-${we}`:we,Ve=!!r,l=we==="left"&&ce!=null,F=we==="right"&&ce!=null,Z=c()(W,k==null?void 0:k.className,xe,`${W}-${ie}`,{[`${W}-with-text`]:Ve,[`${W}-with-text${Y}`]:Ve,[`${W}-dashed`]:!!y,[`${W}-plain`]:!!p,[`${W}-rtl`]:X==="rtl",[`${W}-no-default-orientation-margin-left`]:l,[`${W}-no-default-orientation-margin-right`]:F},H,m),b=v.useMemo(()=>typeof ce=="number"?ce:/^\d+$/.test(ce)?Number(ce):ce,[ce]),U=Object.assign(Object.assign({},l&&{marginLeft:b}),F&&{marginRight:b});return M(v.createElement("div",Object.assign({className:Z,style:Object.assign(Object.assign({},k==null?void 0:k.style),ne)},D,{role:"separator"}),r&&ie!=="vertical"&&v.createElement("span",{className:`${W}-inner-text`,style:U},r)))}},91857:function(Dt,Me,e){var u=e(59301),c=e(38819),v=e(92310),j=e.n(v),C=e(31561),$=e(70425),t=e(18929),oe=e(2738),ee=e(79676),O=e(53487),se=e(92343),S=e(36355),E=e(20834),ue=e(40875),X=e(88088),k=e(47211);const $e=null,ie=m=>{const{menu:r,arrow:y,prefixCls:p,children:ne,trigger:D,disabled:W,dropdownRender:M,getPopupContainer:xe,overlayClassName:Y,rootClassName:Ve,open:l,onOpenChange:F,visible:Z,onVisibleChange:b,mouseEnterDelay:U=.15,mouseLeaveDelay:V=.1,autoAdjustOverflow:q=!0,placement:le="",overlay:re,transitionName:Q}=m,{getPopupContainer:be,getPrefixCls:Re,direction:ke}=u.useContext(S.E_),Fe=u.useMemo(()=>{const f=Re();return Q!==void 0?Q:le.includes("top")?`${f}-slide-down`:`${f}-slide-up`},[Re,le,Q]),Ue=u.useMemo(()=>le?le.includes("Center")?le.slice(0,le.indexOf("Center")):le:ke==="rtl"?"bottomRight":"bottomLeft",[le,ke]),Ge=Re("dropdown",p),[at,Xe]=(0,k.Z)(Ge),[,ve]=(0,X.Z)(),Ke=u.Children.only(ne),B=(0,se.Tm)(Ke,{className:j()(`${Ge}-trigger`,{[`${Ge}-rtl`]:ke==="rtl"},Ke.props.className),disabled:W}),w=W?[]:D;let d;w&&w.includes("contextMenu")&&(d=!0);const[n,R]=(0,t.Z)(!1,{value:l!=null?l:Z}),G=(0,$.useEvent)(f=>{F==null||F(f),b==null||b(f),R(f)}),s=j()(Y,Ve,Xe,{[`${Ge}-rtl`]:ke==="rtl"}),o=(0,ee.Z)({arrowPointAtCenter:typeof y=="object"&&y.pointAtCenter,autoAdjustOverflow:q,offset:ve.marginXXS,arrowWidth:y?ve.sizePopupArrow:0,borderRadius:ve.borderRadius}),K=u.useCallback(()=>{R(!1)},[]),g=()=>{let f;return r!=null&&r.items?f=u.createElement(E.default,Object.assign({},r)):typeof re=="function"?f=re():f=re,M&&(f=M(f)),f=u.Children.only(typeof f=="string"?u.createElement("span",null,f):f),u.createElement(ue.J,{prefixCls:`${Ge}-menu`,expandIcon:u.createElement("span",{className:`${Ge}-menu-submenu-arrow`},u.createElement(c.Z,{className:`${Ge}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:K,validator:L=>{let{mode:ge}=L}},f)};return at(u.createElement(C.Z,Object.assign({alignPoint:d},(0,oe.Z)(m,["rootClassName"]),{mouseEnterDelay:U,mouseLeaveDelay:V,visible:n,builtinPlacements:o,arrow:!!y,overlayClassName:s,prefixCls:Ge,getPopupContainer:xe||be,transitionName:Fe,trigger:w,overlay:g,placement:Ue,onVisibleChange:G}),B))};function we(m){return Object.assign(Object.assign({},m),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const ce=(0,O.Z)(ie,"dropdown",m=>m,we),H=m=>u.createElement(ce,Object.assign({},m),u.createElement("span",null));ie._InternalPanelDoNotUseOrYouWillBeFired=H,Me.Z=ie},38854:function(Dt,Me,e){e.d(Me,{Z:function(){return X}});var u=e(91857),c=e(92310),v=e.n(c),j=e(59301),C=e(18785),$=e(3113),t=e(36355),oe=e(81327),ee=e(33234),O=e(47211),se=function(k,$e){var ie={};for(var we in k)Object.prototype.hasOwnProperty.call(k,we)&&$e.indexOf(we)<0&&(ie[we]=k[we]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,we=Object.getOwnPropertySymbols(k);ce{const{getPopupContainer:$e,getPrefixCls:ie,direction:we}=j.useContext(t.E_),{prefixCls:ce,type:H="default",danger:m,disabled:r,loading:y,onClick:p,htmlType:ne,children:D,className:W,menu:M,arrow:xe,autoFocus:Y,overlay:Ve,trigger:l,align:F,open:Z,onOpenChange:b,placement:U,getPopupContainer:V,href:q,icon:le=j.createElement(C.Z,null),title:re,buttonsRender:Q=g=>g,mouseEnterDelay:be,mouseLeaveDelay:Re,overlayClassName:ke,overlayStyle:Fe,destroyPopupOnHide:Ue,dropdownRender:Ge}=k,at=se(k,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Xe=ie("dropdown",ce),ve=`${Xe}-button`,[Ke,B]=(0,O.Z)(Xe),w={menu:M,arrow:xe,autoFocus:Y,align:F,disabled:r,trigger:r?[]:l,onOpenChange:b,getPopupContainer:V||$e,mouseEnterDelay:be,mouseLeaveDelay:Re,overlayClassName:ke,overlayStyle:Fe,destroyPopupOnHide:Ue,dropdownRender:Ge},{compactSize:d,compactItemClassnames:n}=(0,ee.ri)(Xe,we),R=v()(ve,n,W,B);"overlay"in k&&(w.overlay=Ve),"open"in k&&(w.open=Z),"placement"in k?w.placement=U:w.placement=we==="rtl"?"bottomLeft":"bottomRight";const G=j.createElement($.ZP,{type:H,danger:m,disabled:r,loading:y,onClick:p,htmlType:ne,href:q,title:re},D),s=j.createElement($.ZP,{type:H,danger:m,icon:le}),[o,K]=Q([G,s]);return Ke(j.createElement(oe.Z.Compact,Object.assign({className:R,size:d,block:!0},at),o,j.createElement(u.Z,Object.assign({},w),K)))};S.__ANT_BUTTON=!0;var E=S;const ue=u.Z;ue.Button=E;var X=ue},47211:function(Dt,Me,e){e.d(Me,{Z:function(){return se}});var u=e(17313),c=e(13826),v=e(92899),j=e(29878),C=e(19447),$=e(83116),t=e(37613),ee=S=>{const{componentCls:E,menuCls:ue,colorError:X,colorTextLightSolid:k}=S,$e=`${ue}-item`;return{[`${E}, ${E}-menu-submenu`]:{[`${ue} ${$e}`]:{[`&${$e}-danger:not(${$e}-disabled)`]:{color:X,"&:hover":{color:k,backgroundColor:X}}}}}};const O=S=>{const{componentCls:E,menuCls:ue,zIndexPopup:X,dropdownArrowDistance:k,sizePopupArrow:$e,antCls:ie,iconCls:we,motionDurationMid:ce,dropdownPaddingVertical:H,fontSize:m,dropdownEdgeChildPadding:r,colorTextDisabled:y,fontSizeIcon:p,controlPaddingHorizontal:ne,colorBgElevated:D}=S;return[{[E]:Object.assign(Object.assign({},(0,u.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:X,display:"block","&::before":{position:"absolute",insetBlock:-k+$e/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${ie}-btn`]:{[`& > ${we}-down, & > ${ie}-btn-icon > ${we}-down`]:{fontSize:p}},[`${E}-wrap`]:{position:"relative",[`${ie}-btn > ${we}-down`]:{fontSize:p},[`${we}-down::before`]:{transition:`transform ${ce}`}},[`${E}-wrap-open`]:{[`${we}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${ie}-slide-down-enter${ie}-slide-down-enter-active${E}-placement-bottomLeft, + &${ie}-slide-down-appear${ie}-slide-down-appear-active${E}-placement-bottomLeft, + &${ie}-slide-down-enter${ie}-slide-down-enter-active${E}-placement-bottom, + &${ie}-slide-down-appear${ie}-slide-down-appear-active${E}-placement-bottom, + &${ie}-slide-down-enter${ie}-slide-down-enter-active${E}-placement-bottomRight, + &${ie}-slide-down-appear${ie}-slide-down-appear-active${E}-placement-bottomRight`]:{animationName:c.fJ},[`&${ie}-slide-up-enter${ie}-slide-up-enter-active${E}-placement-topLeft, + &${ie}-slide-up-appear${ie}-slide-up-appear-active${E}-placement-topLeft, + &${ie}-slide-up-enter${ie}-slide-up-enter-active${E}-placement-top, + &${ie}-slide-up-appear${ie}-slide-up-appear-active${E}-placement-top, + &${ie}-slide-up-enter${ie}-slide-up-enter-active${E}-placement-topRight, + &${ie}-slide-up-appear${ie}-slide-up-appear-active${E}-placement-topRight`]:{animationName:c.Qt},[`&${ie}-slide-down-leave${ie}-slide-down-leave-active${E}-placement-bottomLeft, + &${ie}-slide-down-leave${ie}-slide-down-leave-active${E}-placement-bottom, + &${ie}-slide-down-leave${ie}-slide-down-leave-active${E}-placement-bottomRight`]:{animationName:c.Uw},[`&${ie}-slide-up-leave${ie}-slide-up-leave-active${E}-placement-topLeft, + &${ie}-slide-up-leave${ie}-slide-up-leave-active${E}-placement-top, + &${ie}-slide-up-leave${ie}-slide-up-leave-active${E}-placement-topRight`]:{animationName:c.ly}})},(0,C.ZP)(S,{colorBg:D,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${E} ${ue}`]:{position:"relative",margin:0},[`${ue}-submenu-popup`]:{position:"absolute",zIndex:X,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${E}, ${E}-menu-submenu`]:{[ue]:Object.assign(Object.assign({padding:r,listStyleType:"none",backgroundColor:D,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary},(0,u.Qy)(S)),{[`${ue}-item-group-title`]:{padding:`${H}px ${ne}px`,color:S.colorTextDescription,transition:`all ${ce}`},[`${ue}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ue}-item-icon`]:{minWidth:m,marginInlineEnd:S.marginXS,fontSize:S.fontSizeSM},[`${ue}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ce}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ue}-item, ${ue}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${H}px ${ne}px`,color:S.colorText,fontWeight:"normal",fontSize:m,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${ce}`,borderRadius:S.borderRadiusSM,"&:hover, &-active":{backgroundColor:S.controlItemBgHover}},(0,u.Qy)(S)),{"&-selected":{color:S.colorPrimary,backgroundColor:S.controlItemBgActive,"&:hover, &-active":{backgroundColor:S.controlItemBgActiveHover}},"&-disabled":{color:y,cursor:"not-allowed","&:hover":{color:y,backgroundColor:D,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${S.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:S.colorSplit},[`${E}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:S.paddingXS,[`${E}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:S.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${ue}-item-group-list`]:{margin:`0 ${S.marginXS}px`,padding:0,listStyle:"none"},[`${ue}-submenu-title`]:{paddingInlineEnd:ne+S.fontSizeSM},[`${ue}-submenu-vertical`]:{position:"relative"},[`${ue}-submenu${ue}-submenu-disabled ${E}-menu-submenu-title`]:{[`&, ${E}-menu-submenu-arrow-icon`]:{color:y,backgroundColor:D,cursor:"not-allowed"}},[`${ue}-submenu-selected ${E}-menu-submenu-title`]:{color:S.colorPrimary}})}},[(0,c.oN)(S,"slide-up"),(0,c.oN)(S,"slide-down"),(0,v.Fm)(S,"move-up"),(0,v.Fm)(S,"move-down"),(0,j._y)(S,"zoom-big")]]};var se=(0,$.Z)("Dropdown",(S,E)=>{let{rootPrefixCls:ue}=E;const{marginXXS:X,sizePopupArrow:k,controlHeight:$e,fontSize:ie,lineHeight:we,paddingXXS:ce,componentCls:H,borderRadiusLG:m}=S,r=($e-ie*we)/2,{dropdownArrowOffset:y}=(0,C.fS)({contentRadius:m}),p=(0,t.TS)(S,{menuCls:`${H}-menu`,rootPrefixCls:ue,dropdownArrowDistance:k/2+X,dropdownArrowOffset:y,dropdownPaddingVertical:r,dropdownEdgeChildPadding:ce});return[O(p),ee(p)]},S=>({zIndexPopup:S.zIndexPopupBase+50}))},64165:function(Dt,Me,e){e.d(Me,{Z:function(){return ce}});var u=e(92310),c=e.n(u),v=e(59301),j=e(36355),C=e(9763),$=e(64993),t=e(88088),ee=()=>{const[,H]=(0,t.Z)(),r=new $.C(H.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return v.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(24 31.67)"},v.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),v.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),v.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),v.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),v.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),v.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),v.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},v.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),v.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},se=()=>{const[,H]=(0,t.Z)(),{colorFill:m,colorFillTertiary:r,colorFillQuaternary:y,colorBgContainer:p}=H,{borderColor:ne,shadowColor:D,contentColor:W}=(0,v.useMemo)(()=>({borderColor:new $.C(m).onBackground(p).toHexShortString(),shadowColor:new $.C(r).onBackground(p).toHexShortString(),contentColor:new $.C(y).onBackground(p).toHexShortString()}),[m,r,y,p]);return v.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},v.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},v.createElement("ellipse",{fill:D,cx:"32",cy:"33",rx:"32",ry:"7"}),v.createElement("g",{fillRule:"nonzero",stroke:ne},v.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),v.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:W}))))},S=e(83116),E=e(37613);const ue=H=>{const{componentCls:m,margin:r,marginXS:y,marginXL:p,fontSize:ne,lineHeight:D}=H;return{[m]:{marginInline:y,fontSize:ne,lineHeight:D,textAlign:"center",[`${m}-image`]:{height:H.emptyImgHeight,marginBottom:y,opacity:H.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${m}-description`]:{color:H.colorText},[`${m}-footer`]:{marginTop:r},"&-normal":{marginBlock:p,color:H.colorTextDisabled,[`${m}-description`]:{color:H.colorTextDisabled},[`${m}-image`]:{height:H.emptyImgHeightMD}},"&-small":{marginBlock:y,color:H.colorTextDisabled,[`${m}-image`]:{height:H.emptyImgHeightSM}}}}};var X=(0,S.Z)("Empty",H=>{const{componentCls:m,controlHeightLG:r}=H,y=(0,E.TS)(H,{emptyImgCls:`${m}-img`,emptyImgHeight:r*2.5,emptyImgHeightMD:r,emptyImgHeightSM:r*.875});return[ue(y)]}),k=function(H,m){var r={};for(var y in H)Object.prototype.hasOwnProperty.call(H,y)&&m.indexOf(y)<0&&(r[y]=H[y]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,y=Object.getOwnPropertySymbols(H);p{var{className:m,rootClassName:r,prefixCls:y,image:p=$e,description:ne,children:D,imageStyle:W,style:M}=H,xe=k(H,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:Y,direction:Ve,empty:l}=v.useContext(j.E_),F=Y("empty",y),[Z,b]=X(F),[U]=(0,C.Z)("Empty"),V=typeof ne!="undefined"?ne:U==null?void 0:U.description,q=typeof V=="string"?V:"empty";let le=null;return typeof p=="string"?le=v.createElement("img",{alt:q,src:p}):le=p,Z(v.createElement("div",Object.assign({className:c()(b,F,l==null?void 0:l.className,{[`${F}-normal`]:p===ie,[`${F}-rtl`]:Ve==="rtl"},m,r),style:Object.assign(Object.assign({},l==null?void 0:l.style),M)},xe),v.createElement("div",{className:`${F}-image`,style:W},le),V&&v.createElement("div",{className:`${F}-description`},V),D&&v.createElement("div",{className:`${F}-footer`},D)))};we.PRESENTED_IMAGE_DEFAULT=$e,we.PRESENTED_IMAGE_SIMPLE=ie;var ce=we},8628:function(Dt,Me,e){var u=e(59301),c=e(34280),v=e(56762),j=e(69507);function C(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=(0,u.useRef)({}),oe=(0,v.Z)(),ee=(0,j.ZP)();return(0,c.Z)(()=>{const O=ee.subscribe(se=>{t.current=se,$&&oe()});return()=>ee.unsubscribe(O)},[]),t.current}Me.Z=C},5871:function(Dt,Me,e){e.d(Me,{Z:function(){return de}});var u=e(84105),c=e(87395),v=e(92310),j=e.n(v),C=e(54476),$=e(20068),t=e(76190),oe=e(42978),ee=e(75931),O=e(67732),se=e(83652);function S(){return typeof BigInt=="function"}function E(h){return!h&&h!==0&&!Number.isNaN(h)||!String(h).trim()}function ue(h){var I=h.trim(),ae=I.startsWith("-");ae&&(I=I.slice(1)),I=I.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),I.startsWith(".")&&(I="0".concat(I));var Ie=I||"0",Se=Ie.split("."),Le=Se[0]||"0",Qe=Se[1]||"0";Le==="0"&&Qe==="0"&&(ae=!1);var Je=ae?"-":"";return{negative:ae,negativeStr:Je,trimStr:Ie,integerStr:Le,decimalStr:Qe,fullStr:"".concat(Je).concat(Ie)}}function X(h){var I=String(h);return!Number.isNaN(Number(I))&&I.includes("e")}function k(h){var I=String(h);if(X(h)){var ae=Number(I.slice(I.indexOf("e-")+2)),Ie=I.match(/\.(\d+)/);return Ie!=null&&Ie[1]&&(ae+=Ie[1].length),ae}return I.includes(".")&&ie(I)?I.length-I.indexOf(".")-1:0}function $e(h){var I=String(h);if(X(h)){if(h>Number.MAX_SAFE_INTEGER)return String(S()?BigInt(h).toString():Number.MAX_SAFE_INTEGER);if(h0&&arguments[0]!==void 0?arguments[0]:!0;return ae?this.isInvalidate()?"":ue("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),h}(),ce=function(){function h(I){if((0,O.Z)(this,h),(0,$.Z)(this,"origin",""),(0,$.Z)(this,"number",void 0),(0,$.Z)(this,"empty",void 0),E(I)){this.empty=!0;return}this.origin=String(I),this.number=Number(I)}return(0,se.Z)(h,[{key:"negate",value:function(){return new h(-this.toNumber())}},{key:"add",value:function(ae){if(this.isInvalidate())return new h(ae);var Ie=Number(ae);if(Number.isNaN(Ie))return this;var Se=this.number+Ie;if(Se>Number.MAX_SAFE_INTEGER)return new h(Number.MAX_SAFE_INTEGER);if(SeNumber.MAX_SAFE_INTEGER)return new h(Number.MAX_SAFE_INTEGER);if(Se0&&arguments[0]!==void 0?arguments[0]:!0;return ae?this.isInvalidate()?"":$e(this.number):this.origin}}]),h}();function H(h){return S()?new we(h):new ce(h)}function m(h,I,ae){var Ie=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(h==="")return"";var Se=ue(h),Le=Se.negativeStr,Qe=Se.integerStr,Je=Se.decimalStr,_e="".concat(I).concat(Je),ut="".concat(Le).concat(Qe);if(ae>=0){var vt=Number(Je[ae]);if(vt>=5&&!Ie){var It=H(h).add("".concat(Le,"0.").concat("0".repeat(ae)).concat(10-vt));return m(It.toString(),I,ae,Ie)}return ae===0?ut:"".concat(ut).concat(I).concat(Je.padEnd(ae,"0").slice(0,ae))}return _e===".0"?ut:"".concat(ut).concat(_e)}var r=H,y=e(93681),p=e(34280),ne=e(8654),D=e(59301),W=e(48736);function M(h,I){var ae=(0,D.useRef)(null);function Ie(){try{var Le=h.selectionStart,Qe=h.selectionEnd,Je=h.value,_e=Je.substring(0,Le),ut=Je.substring(Qe);ae.current={start:Le,end:Qe,value:Je,beforeTxt:_e,afterTxt:ut}}catch(vt){}}function Se(){if(h&&ae.current&&I)try{var Le=h.value,Qe=ae.current,Je=Qe.beforeTxt,_e=Qe.afterTxt,ut=Qe.start,vt=Le.length;if(Le.endsWith(_e))vt=Le.length-ae.current.afterTxt.length;else if(Le.startsWith(Je))vt=Je.length;else{var It=Je[ut-1],St=Le.indexOf(It,ut-1);St!==-1&&(vt=St+1)}h.setSelectionRange(vt,vt)}catch(Tt){(0,W.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Tt.message))}}return[Ie,Se]}var xe=e(49658),Y=function(){var I=(0,D.useState)(!1),ae=(0,oe.Z)(I,2),Ie=ae[0],Se=ae[1];return(0,p.Z)(function(){Se((0,xe.Z)())},[]),Ie},Ve=Y,l=e(16089),F=200,Z=600;function b(h){var I=h.prefixCls,ae=h.upNode,Ie=h.downNode,Se=h.upDisabled,Le=h.downDisabled,Qe=h.onStep,Je=D.useRef(),_e=D.useRef([]),ut=D.useRef();ut.current=Qe;var vt=function(){clearTimeout(Je.current)},It=function(yt,vn){yt.preventDefault(),vt(),ut.current(vn);function un(){ut.current(vn),Je.current=setTimeout(un,F)}Je.current=setTimeout(un,Z)};D.useEffect(function(){return function(){vt(),_e.current.forEach(function(mt){return l.Z.cancel(mt)})}},[]);var St=Ve();if(St)return null;var Tt="".concat(I,"-handler"),Yt=j()(Tt,"".concat(Tt,"-up"),(0,$.Z)({},"".concat(Tt,"-up-disabled"),Se)),gt=j()(Tt,"".concat(Tt,"-down"),(0,$.Z)({},"".concat(Tt,"-down-disabled"),Le)),Ut=function(){return _e.current.push((0,l.Z)(vt))},Nn={unselectable:"on",role:"button",onMouseUp:Ut,onMouseLeave:Ut};return D.createElement("div",{className:"".concat(Tt,"-wrap")},D.createElement("span",(0,C.Z)({},Nn,{onMouseDown:function(yt){It(yt,!0)},"aria-label":"Increase Value","aria-disabled":Se,className:Yt}),ae||D.createElement("span",{unselectable:"on",className:"".concat(I,"-handler-up-inner")})),D.createElement("span",(0,C.Z)({},Nn,{onMouseDown:function(yt){It(yt,!1)},"aria-label":"Decrease Value","aria-disabled":Le,className:gt}),Ie||D.createElement("span",{unselectable:"on",className:"".concat(I,"-handler-down-inner")})))}function U(h){var I=typeof h=="number"?$e(h):ue(h).fullStr,ae=I.includes(".");return ae?ue(I.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:h+"0"}var V=e(5643),q=function(){var h=(0,D.useRef)(0),I=function(){l.Z.cancel(h.current)};return(0,D.useEffect)(function(){return I},[]),function(ae){I(),h.current=(0,l.Z)(function(){ae()})}},le=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],re=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Q=function(I,ae){return I||ae.isEmpty()?ae.toString():ae.toNumber()},be=function(I){var ae=r(I);return ae.isInvalidate()?null:ae},Re=D.forwardRef(function(h,I){var ae,Ie=h.prefixCls,Se=Ie===void 0?"rc-input-number":Ie,Le=h.className,Qe=h.style,Je=h.min,_e=h.max,ut=h.step,vt=ut===void 0?1:ut,It=h.defaultValue,St=h.value,Tt=h.disabled,Yt=h.readOnly,gt=h.upHandler,Ut=h.downHandler,Nn=h.keyboard,mt=h.controls,yt=mt===void 0?!0:mt,vn=h.classNames,un=h.stringMode,Tn=h.parser,bn=h.formatter,$n=h.precision,_n=h.decimalSeparator,mn=h.onChange,Zt=h.onInput,yn=h.onPressEnter,dn=h.onStep,x=(0,ee.Z)(h,le),A="".concat(Se,"-input"),T=D.useRef(null),N=D.useState(!1),he=(0,oe.Z)(N,2),fe=he[0],He=he[1],Ae=D.useRef(!1),Ye=D.useRef(!1),nt=D.useRef(!1),dt=D.useState(function(){return r(St!=null?St:It)}),it=(0,oe.Z)(dt,2),qe=it[0],ot=it[1];function Ct(st){St===void 0&&ot(st)}var lt=D.useCallback(function(st,ct){if(!ct)return $n>=0?$n:Math.max(k(st),k(vt))},[$n,vt]),Ot=D.useCallback(function(st){var ct=String(st);if(Tn)return Tn(ct);var Ht=ct;return _n&&(Ht=Ht.replace(_n,".")),Ht.replace(/[^\w.-]+/g,"")},[Tn,_n]),zt=D.useRef(""),Qt=D.useCallback(function(st,ct){if(bn)return bn(st,{userTyping:ct,input:String(zt.current)});var Ht=typeof st=="number"?$e(st):st;if(!ct){var Nt=lt(Ht,ct);if(ie(Ht)&&(_n||Nt>=0)){var Cn=_n||".";Ht=m(Ht,Cn,Nt)}}return Ht},[bn,lt,_n]),Rt=D.useState(function(){var st=It!=null?It:St;return qe.isInvalidate()&&["string","number"].includes((0,t.Z)(st))?Number.isNaN(st)?"":st:Qt(qe.toString(),!1)}),Gt=(0,oe.Z)(Rt,2),Oe=Gt[0],Ee=Gt[1];zt.current=Oe;function De(st,ct){Ee(Qt(st.isInvalidate()?st.toString(!1):st.toString(!ct),ct))}var Ze=D.useMemo(function(){return be(_e)},[_e,$n]),Pe=D.useMemo(function(){return be(Je)},[Je,$n]),Be=D.useMemo(function(){return!Ze||!qe||qe.isInvalidate()?!1:Ze.lessEquals(qe)},[Ze,qe]),Ne=D.useMemo(function(){return!Pe||!qe||qe.isInvalidate()?!1:qe.lessEquals(Pe)},[Pe,qe]),We=M(T.current,fe),ft=(0,oe.Z)(We,2),pt=ft[0],Kt=ft[1],jt=function(ct){return Ze&&!ct.lessEquals(Ze)?Ze:Pe&&!Pe.lessEquals(ct)?Pe:null},ln=function(ct){return!jt(ct)},Bt=function(ct,Ht){var Nt=ct,Cn=ln(Nt)||Nt.isEmpty();if(!Nt.isEmpty()&&!Ht&&(Nt=jt(Nt)||Nt,Cn=!0),!Yt&&!Tt&&Cn){var En=Nt.toString(),rn=lt(En,Ht);return rn>=0&&(Nt=r(m(En,".",rn)),ln(Nt)||(Nt=r(m(En,".",rn,!0)))),Nt.equals(qe)||(Ct(Nt),mn==null||mn(Nt.isEmpty()?null:Q(un,Nt)),St===void 0&&De(Nt,Ht)),Nt}return qe},Pt=q(),tn=function st(ct){if(pt(),zt.current=ct,Ee(ct),!Ye.current){var Ht=Ot(ct),Nt=r(Ht);Nt.isNaN()||Bt(Nt,!0)}Zt==null||Zt(ct),Pt(function(){var Cn=ct;Tn||(Cn=ct.replace(/。/g,".")),Cn!==ct&&st(Cn)})},sn=function(){Ye.current=!0},nn=function(){Ye.current=!1,tn(T.current.value)},Jt=function(ct){tn(ct.target.value)},qt=function(ct){var Ht;if(!(ct&&Be||!ct&&Ne)){Ae.current=!1;var Nt=r(nt.current?U(vt):vt);ct||(Nt=Nt.negate());var Cn=(qe||r(0)).add(Nt.toString()),En=Bt(Cn,!1);dn==null||dn(Q(un,En),{offset:nt.current?U(vt):vt,type:ct?"up":"down"}),(Ht=T.current)===null||Ht===void 0||Ht.focus()}},xn=function(ct){var Ht=r(Ot(Oe)),Nt=Ht;Ht.isNaN()?Nt=Bt(qe,ct):Nt=Bt(Ht,ct),St!==void 0?De(qe,!1):Nt.isNaN()||De(Nt,!1)},en=function(){Ae.current=!0},Rn=function(ct){var Ht=ct.key,Nt=ct.shiftKey;Ae.current=!0,nt.current=Nt,Ht==="Enter"&&(Ye.current||(Ae.current=!1),xn(!1),yn==null||yn(ct)),Nn!==!1&&!Ye.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ht)&&(qt(Ht==="Up"||Ht==="ArrowUp"),ct.preventDefault())},Gn=function(){Ae.current=!1,nt.current=!1},Wt=function(){xn(!1),He(!1),Ae.current=!1};return(0,p.o)(function(){qe.isInvalidate()||De(qe,!1)},[$n]),(0,p.o)(function(){var st=r(St);ot(st);var ct=r(Ot(Oe));(!st.equals(ct)||!Ae.current||bn)&&De(st,Ae.current)},[St]),(0,p.o)(function(){bn&&Kt()},[Oe]),D.createElement("div",{className:j()(Se,vn==null?void 0:vn.input,Le,(ae={},(0,$.Z)(ae,"".concat(Se,"-focused"),fe),(0,$.Z)(ae,"".concat(Se,"-disabled"),Tt),(0,$.Z)(ae,"".concat(Se,"-readonly"),Yt),(0,$.Z)(ae,"".concat(Se,"-not-a-number"),qe.isNaN()),(0,$.Z)(ae,"".concat(Se,"-out-of-range"),!qe.isInvalidate()&&!ln(qe)),ae)),style:Qe,onFocus:function(){He(!0)},onBlur:Wt,onKeyDown:Rn,onKeyUp:Gn,onCompositionStart:sn,onCompositionEnd:nn,onBeforeInput:en},yt&&D.createElement(b,{prefixCls:Se,upNode:gt,downNode:Ut,upDisabled:Be,downDisabled:Ne,onStep:qt}),D.createElement("div",{className:"".concat(A,"-wrap")},D.createElement("input",(0,C.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":Je,"aria-valuemax":_e,"aria-valuenow":qe.isInvalidate()?null:qe.toString(),step:vt},x,{ref:(0,ne.sQ)(T,I),className:A,value:Oe,onChange:Jt,disabled:Tt,readOnly:Yt}))))}),ke=D.forwardRef(function(h,I){var ae=h.disabled,Ie=h.style,Se=h.prefixCls,Le=h.value,Qe=h.prefix,Je=h.suffix,_e=h.addonBefore,ut=h.addonAfter,vt=h.classes,It=h.className,St=h.classNames,Tt=(0,ee.Z)(h,re),Yt=D.useRef(null),gt=function(Nn){Yt.current&&(0,V.nH)(Yt.current,Nn)};return D.createElement(y.BaseInput,{inputElement:D.createElement(Re,(0,C.Z)({prefixCls:Se,disabled:ae,classNames:St,ref:(0,ne.sQ)(Yt,I)},Tt)),className:It,triggerFocus:gt,prefixCls:Se,value:Le,disabled:ae,style:Ie,prefix:Qe,suffix:Je,addonAfter:ut,addonBefore:_e,classes:vt,classNames:St,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});ke.displayName="InputNumber";var Fe=ke,Ue=Fe,Ge=e(19080),at=e(36355),Xe=e(92736),ve=e(1684),Ke=e(19716),B=e(32441),w=e(33234),d=e(9937),n=e(17313),R=e(74207),G=e(83116),s=e(37613);const o=(h,I)=>{let{componentCls:ae,borderRadiusSM:Ie,borderRadiusLG:Se}=h;const Le=I==="lg"?Se:Ie;return{[`&-${I}`]:{[`${ae}-handler-wrap`]:{borderStartEndRadius:Le,borderEndEndRadius:Le},[`${ae}-handler-up`]:{borderStartEndRadius:Le},[`${ae}-handler-down`]:{borderEndEndRadius:Le}}}},K=h=>{const{componentCls:I,lineWidth:ae,lineType:Ie,colorBorder:Se,borderRadius:Le,fontSizeLG:Qe,controlHeightLG:Je,controlHeightSM:_e,colorError:ut,paddingInlineSM:vt,colorTextDescription:It,motionDurationMid:St,handleHoverColor:Tt,paddingInline:Yt,paddingBlock:gt,handleBg:Ut,handleActiveBg:Nn,colorTextDisabled:mt,borderRadiusSM:yt,borderRadiusLG:vn,controlWidth:un,handleVisible:Tn,handleBorderColor:bn}=h;return[{[I]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(h)),(0,d.ik)(h)),(0,d.bi)(h,I)),{display:"inline-block",width:un,margin:0,padding:0,border:`${ae}px ${Ie} ${Se}`,borderRadius:Le,"&-rtl":{direction:"rtl",[`${I}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:Qe,borderRadius:vn,[`input${I}-input`]:{height:Je-2*ae}},"&-sm":{padding:0,borderRadius:yt,[`input${I}-input`]:{height:_e-2*ae,padding:`0 ${vt}px`}},"&:hover":Object.assign({},(0,d.pU)(h)),"&-focused":Object.assign({},(0,d.M1)(h)),"&-out-of-range":{[`${I}-input-wrap`]:{input:{color:ut}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,n.Wf)(h)),(0,d.s7)(h)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${I}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${I}-group-addon`]:{borderRadius:vn,fontSize:h.fontSizeLG}},"&-sm":{[`${I}-group-addon`]:{borderRadius:yt}},[`${I}-wrapper-disabled > ${I}-group-addon`]:Object.assign({},(0,d.Xy)(h))}}),[`&-disabled ${I}-input`]:{cursor:"not-allowed"},[I]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(h)),{width:"100%",padding:`${gt}px ${Yt}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Le,outline:0,transition:`all ${St} linear`,appearance:"textfield",fontSize:"inherit"}),(0,d.nz)(h.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[I]:Object.assign(Object.assign(Object.assign({[`&:hover ${I}-handler-wrap, &-focused ${I}-handler-wrap`]:{opacity:1},[`${I}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:h.handleWidth,height:"100%",background:Ut,borderStartStartRadius:0,borderStartEndRadius:Le,borderEndEndRadius:Le,borderEndStartRadius:0,opacity:Tn===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${St} linear ${St}`,[`${I}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + ${I}-handler-up-inner, + ${I}-handler-down-inner + `]:{marginInlineEnd:0,fontSize:h.handleFontSize}}},[`${I}-handler`]:{height:"50%",overflow:"hidden",color:It,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${ae}px ${Ie} ${bn}`,transition:`all ${St} linear`,"&:active":{background:Nn},"&:hover":{height:"60%",[` + ${I}-handler-up-inner, + ${I}-handler-down-inner + `]:{color:Tt}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,n.Ro)()),{color:It,transition:`all ${St} linear`,userSelect:"none"})},[`${I}-handler-up`]:{borderStartEndRadius:Le},[`${I}-handler-down`]:{borderBlockStart:`${ae}px ${Ie} ${bn}`,borderEndEndRadius:Le}},o(h,"lg")),o(h,"sm")),{"&-disabled, &-readonly":{[`${I}-handler-wrap`]:{display:"none"},[`${I}-input`]:{color:"inherit"}},[` + ${I}-handler-up-disabled, + ${I}-handler-down-disabled + `]:{cursor:"not-allowed"},[` + ${I}-handler-up-disabled:hover &-handler-up-inner, + ${I}-handler-down-disabled:hover &-handler-down-inner + `]:{color:mt}})},{[`${I}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${I}-handler-down`]:{borderBlockStartWidth:0}}}]},g=h=>{const{componentCls:I,paddingBlock:ae,paddingInline:Ie,inputAffixPadding:Se,controlWidth:Le,borderRadiusLG:Qe,borderRadiusSM:Je}=h;return{[`${I}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,d.ik)(h)),(0,d.bi)(h,`${I}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Le,padding:0,paddingInlineStart:Ie,"&-lg":{borderRadius:Qe},"&-sm":{borderRadius:Je},[`&:not(${I}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,d.pU)(h)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${I}-disabled`]:{background:"transparent"},[`> div${I}`]:{width:"100%",border:"none",outline:"none",[`&${I}-focused`]:{boxShadow:"none !important"}},[`input${I}-input`]:{padding:`${ae}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${I}-handler-wrap`]:{zIndex:2},[I]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:Se},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:Ie,marginInlineStart:Se}}})}};var f=(0,G.Z)("InputNumber",h=>{const I=(0,s.TS)(h,(0,d.e5)(h));return[K(I),g(I),(0,R.c)(I)]},h=>Object.assign(Object.assign({},(0,d.TM)(h)),{controlWidth:90,handleWidth:h.controlHeightSM-h.lineWidth*2,handleFontSize:h.fontSize/2,handleVisible:"auto",handleActiveBg:h.colorFillAlter,handleBg:h.colorBgContainer,handleHoverColor:h.colorPrimary,handleBorderColor:h.colorBorder})),L=function(h,I){var ae={};for(var Ie in h)Object.prototype.hasOwnProperty.call(h,Ie)&&I.indexOf(Ie)<0&&(ae[Ie]=h[Ie]);if(h!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,Ie=Object.getOwnPropertySymbols(h);Se{const{getPrefixCls:ae,direction:Ie}=D.useContext(at.E_),Se=D.useRef(null);D.useImperativeHandle(I,()=>Se.current);const{className:Le,rootClassName:Qe,size:Je,disabled:_e,prefixCls:ut,addonBefore:vt,addonAfter:It,prefix:St,bordered:Tt=!0,readOnly:Yt,status:gt,controls:Ut}=h,Nn=L(h,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),mt=ae("input-number",ut),[yt,vn]=f(mt),{compactSize:un,compactItemClassnames:Tn}=(0,w.ri)(mt,Ie);let bn=D.createElement(c.Z,{className:`${mt}-handler-up-inner`}),$n=D.createElement(u.Z,{className:`${mt}-handler-down-inner`});const _n=typeof Ut=="boolean"?Ut:void 0;typeof Ut=="object"&&(bn=typeof Ut.upIcon=="undefined"?bn:D.createElement("span",{className:`${mt}-handler-up-inner`},Ut.upIcon),$n=typeof Ut.downIcon=="undefined"?$n:D.createElement("span",{className:`${mt}-handler-down-inner`},Ut.downIcon));const{hasFeedback:mn,status:Zt,isFormItemInput:yn,feedbackIcon:dn}=D.useContext(B.aM),x=(0,Ge.F)(Zt,gt),A=(0,Ke.Z)(Ae=>{var Ye;return(Ye=Je!=null?Je:un)!==null&&Ye!==void 0?Ye:Ae}),T=D.useContext(ve.Z),N=_e!=null?_e:T,he=j()({[`${mt}-lg`]:A==="large",[`${mt}-sm`]:A==="small",[`${mt}-rtl`]:Ie==="rtl",[`${mt}-borderless`]:!Tt,[`${mt}-in-form-item`]:yn},(0,Ge.Z)(mt,x),Tn,vn),fe=`${mt}-group`,He=D.createElement(Ue,Object.assign({ref:Se,disabled:N,className:j()(Le,Qe),upHandler:bn,downHandler:$n,prefixCls:mt,readOnly:Yt,controls:_n,prefix:St,suffix:mn&&dn,addonAfter:It&&D.createElement(w.BR,null,D.createElement(B.Ux,{override:!0,status:!0},It)),addonBefore:vt&&D.createElement(w.BR,null,D.createElement(B.Ux,{override:!0,status:!0},vt)),classNames:{input:he},classes:{affixWrapper:j()((0,Ge.Z)(`${mt}-affix-wrapper`,x,mn),{[`${mt}-affix-wrapper-sm`]:A==="small",[`${mt}-affix-wrapper-lg`]:A==="large",[`${mt}-affix-wrapper-rtl`]:Ie==="rtl",[`${mt}-affix-wrapper-borderless`]:!Tt},vn),wrapper:j()({[`${fe}-rtl`]:Ie==="rtl",[`${mt}-wrapper-disabled`]:N},vn),group:j()({[`${mt}-group-wrapper-sm`]:A==="small",[`${mt}-group-wrapper-lg`]:A==="large",[`${mt}-group-wrapper-rtl`]:Ie==="rtl"},(0,Ge.Z)(`${mt}-group-wrapper`,x,mn),vn)}},Nn));return yt(He)}),te=ge,me=h=>D.createElement(Xe.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},D.createElement(ge,Object.assign({},h)));te._InternalPanelDoNotUseOrYouWillBeFired=me;var de=te},9432:function(Dt,Me,e){e.d(Me,{Z:function(){return we},n:function(){return $e}});var u=e(19248),c=e(92310),v=e.n(c),j=e(93681),C=e(8654),$=e(59301),t=e(19080),oe=e(36355),ee=e(1684),O=e(19716),se=e(32441),S=e(33234),E=e(59412),ue=e(9937);function X(ce){return!!(ce.prefix||ce.suffix||ce.allowClear)}var k=function(ce,H){var m={};for(var r in ce)Object.prototype.hasOwnProperty.call(ce,r)&&H.indexOf(r)<0&&(m[r]=ce[r]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,r=Object.getOwnPropertySymbols(ce);y{var m;const{prefixCls:r,bordered:y=!0,status:p,size:ne,disabled:D,onBlur:W,onFocus:M,suffix:xe,allowClear:Y,addonAfter:Ve,addonBefore:l,className:F,style:Z,styles:b,rootClassName:U,onChange:V,classNames:q}=ce,le=k(ce,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:re,direction:Q,input:be}=$.useContext(oe.E_),Re=re("input",r),ke=(0,$.useRef)(null),[Fe,Ue]=(0,ue.ZP)(Re),{compactSize:Ge,compactItemClassnames:at}=(0,S.ri)(Re,Q),Xe=(0,O.Z)(ge=>{var te;return(te=ne!=null?ne:Ge)!==null&&te!==void 0?te:ge}),ve=$.useContext(ee.Z),Ke=D!=null?D:ve,{status:B,hasFeedback:w,feedbackIcon:d}=(0,$.useContext)(se.aM),n=(0,t.F)(B,p),R=X(ce)||!!w,G=(0,$.useRef)(R);(0,$.useEffect)(()=>{var ge;R&&G.current,G.current=R},[R]);const s=(0,E.Z)(ke,!0),o=ge=>{s(),W==null||W(ge)},K=ge=>{s(),M==null||M(ge)},g=ge=>{s(),V==null||V(ge)},f=(w||xe)&&$.createElement($.Fragment,null,xe,w&&d);let L;return typeof Y=="object"&&(Y!=null&&Y.clearIcon)?L=Y:Y&&(L={clearIcon:$.createElement(u.Z,null)}),Fe($.createElement(j.default,Object.assign({ref:(0,C.sQ)(H,ke),prefixCls:Re,autoComplete:be==null?void 0:be.autoComplete},le,{disabled:Ke,onBlur:o,onFocus:K,style:Object.assign(Object.assign({},be==null?void 0:be.style),Z),styles:Object.assign(Object.assign({},be==null?void 0:be.styles),b),suffix:f,allowClear:L,className:v()(F,U,at,be==null?void 0:be.className),onChange:g,addonAfter:Ve&&$.createElement(S.BR,null,$.createElement(se.Ux,{override:!0,status:!0},Ve)),addonBefore:l&&$.createElement(S.BR,null,$.createElement(se.Ux,{override:!0,status:!0},l)),classNames:Object.assign(Object.assign(Object.assign({},q),be==null?void 0:be.classNames),{input:v()({[`${Re}-sm`]:Xe==="small",[`${Re}-lg`]:Xe==="large",[`${Re}-rtl`]:Q==="rtl",[`${Re}-borderless`]:!y},!R&&(0,t.Z)(Re,n),q==null?void 0:q.input,(m=be==null?void 0:be.classNames)===null||m===void 0?void 0:m.input,Ue)}),classes:{affixWrapper:v()({[`${Re}-affix-wrapper-sm`]:Xe==="small",[`${Re}-affix-wrapper-lg`]:Xe==="large",[`${Re}-affix-wrapper-rtl`]:Q==="rtl",[`${Re}-affix-wrapper-borderless`]:!y},(0,t.Z)(`${Re}-affix-wrapper`,n,w),Ue),wrapper:v()({[`${Re}-group-rtl`]:Q==="rtl"},Ue),group:v()({[`${Re}-group-wrapper-sm`]:Xe==="small",[`${Re}-group-wrapper-lg`]:Xe==="large",[`${Re}-group-wrapper-rtl`]:Q==="rtl",[`${Re}-group-wrapper-disabled`]:Ke},(0,t.Z)(`${Re}-group-wrapper`,n,w),Ue)}})))})},1643:function(Dt,Me,e){var u=e(19248),c=e(92310),v=e.n(c),j=e(9296),C=e(59301),$=e(19080),t=e(36355),oe=e(1684),ee=e(19716),O=e(32441),se=e(9432),S=e(9937),E=function(X,k){var $e={};for(var ie in X)Object.prototype.hasOwnProperty.call(X,ie)&&k.indexOf(ie)<0&&($e[ie]=X[ie]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,ie=Object.getOwnPropertySymbols(X);we{const{prefixCls:$e,bordered:ie=!0,size:we,disabled:ce,status:H,allowClear:m,showCount:r,classNames:y,rootClassName:p,className:ne}=X,D=E(X,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:W,direction:M}=C.useContext(t.E_),xe=(0,ee.Z)(we),Y=C.useContext(oe.Z),Ve=ce!=null?ce:Y,{status:l,hasFeedback:F,feedbackIcon:Z}=C.useContext(O.aM),b=(0,$.F)(l,H),U=C.useRef(null);C.useImperativeHandle(k,()=>{var Q;return{resizableTextArea:(Q=U.current)===null||Q===void 0?void 0:Q.resizableTextArea,focus:be=>{var Re,ke;(0,se.n)((ke=(Re=U.current)===null||Re===void 0?void 0:Re.resizableTextArea)===null||ke===void 0?void 0:ke.textArea,be)},blur:()=>{var be;return(be=U.current)===null||be===void 0?void 0:be.blur()}}});const V=W("input",$e);let q;typeof m=="object"&&(m!=null&&m.clearIcon)?q=m:m&&(q={clearIcon:C.createElement(u.Z,null)});const[le,re]=(0,S.ZP)(V);return le(C.createElement(j.default,Object.assign({},D,{disabled:Ve,allowClear:q,className:v()(ne,p),classes:{affixWrapper:v()(`${V}-textarea-affix-wrapper`,{[`${V}-affix-wrapper-rtl`]:M==="rtl",[`${V}-affix-wrapper-borderless`]:!ie,[`${V}-affix-wrapper-sm`]:xe==="small",[`${V}-affix-wrapper-lg`]:xe==="large",[`${V}-textarea-show-count`]:r},(0,$.Z)(`${V}-affix-wrapper`,b),re)},classNames:Object.assign(Object.assign({},y),{textarea:v()({[`${V}-borderless`]:!ie,[`${V}-sm`]:xe==="small",[`${V}-lg`]:xe==="large"},(0,$.Z)(V,b),re,y==null?void 0:y.textarea)}),prefixCls:V,suffix:F&&C.createElement("span",{className:`${V}-textarea-suffix`},Z),showCount:r,ref:U})))});Me.Z=ue},59412:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});var u=e(59301);function c(v,j){const C=(0,u.useRef)([]),$=()=>{C.current.push(setTimeout(()=>{var t,oe,ee,O;!((t=v.current)===null||t===void 0)&&t.input&&((oe=v.current)===null||oe===void 0?void 0:oe.input.getAttribute("type"))==="password"&&(!((ee=v.current)===null||ee===void 0)&&ee.input.hasAttribute("value"))&&((O=v.current)===null||O===void 0||O.input.removeAttribute("value"))}))};return(0,u.useEffect)(()=>(j&&$(),()=>C.current.forEach(t=>{t&&clearTimeout(t)})),[]),$}},92832:function(Dt,Me,e){e.d(Me,{default:function(){return xe}});var u=e(92310),c=e.n(u),v=e(59301),j=e(36355),C=e(32441),$=e(9937),oe=Y=>{const{getPrefixCls:Ve,direction:l}=(0,v.useContext)(j.E_),{prefixCls:F,className:Z}=Y,b=Ve("input-group",F),U=Ve("input"),[V,q]=(0,$.ZP)(U),le=c()(b,{[`${b}-lg`]:Y.size==="large",[`${b}-sm`]:Y.size==="small",[`${b}-compact`]:Y.compact,[`${b}-rtl`]:l==="rtl"},q,Z),re=(0,v.useContext)(C.aM),Q=(0,v.useMemo)(()=>Object.assign(Object.assign({},re),{isFormItemInput:!1}),[re]);return V(v.createElement("span",{className:le,style:Y.style,onMouseEnter:Y.onMouseEnter,onMouseLeave:Y.onMouseLeave,onFocus:Y.onFocus,onBlur:Y.onBlur},v.createElement(C.aM.Provider,{value:Q},Y.children)))},ee=e(9432),O=e(73331),se=e(15277),S=e(2738),E=e(8654),ue=e(59412),X=function(Y,Ve){var l={};for(var F in Y)Object.prototype.hasOwnProperty.call(Y,F)&&Ve.indexOf(F)<0&&(l[F]=Y[F]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,F=Object.getOwnPropertySymbols(Y);ZY?v.createElement(se.Z,null):v.createElement(O.Z,null),$e={click:"onClick",hover:"onMouseOver"};var we=v.forwardRef((Y,Ve)=>{const{visibilityToggle:l=!0}=Y,F=typeof l=="object"&&l.visible!==void 0,[Z,b]=(0,v.useState)(()=>F?l.visible:!1),U=(0,v.useRef)(null);v.useEffect(()=>{F&&b(l.visible)},[F,l]);const V=(0,ue.Z)(U),q=()=>{const{disabled:Ke}=Y;Ke||(Z&&V(),b(B=>{var w;const d=!B;return typeof l=="object"&&((w=l.onVisibleChange)===null||w===void 0||w.call(l,d)),d}))},le=Ke=>{const{action:B="click",iconRender:w=k}=Y,d=$e[B]||"",n=w(Z),R={[d]:q,className:`${Ke}-icon`,key:"passwordIcon",onMouseDown:G=>{G.preventDefault()},onMouseUp:G=>{G.preventDefault()}};return v.cloneElement(v.isValidElement(n)?n:v.createElement("span",null,n),R)},{className:re,prefixCls:Q,inputPrefixCls:be,size:Re}=Y,ke=X(Y,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Fe}=v.useContext(j.E_),Ue=Fe("input",be),Ge=Fe("input-password",Q),at=l&&le(Ge),Xe=c()(Ge,re,{[`${Ge}-${Re}`]:!!Re}),ve=Object.assign(Object.assign({},(0,S.Z)(ke,["suffix","iconRender","visibilityToggle"])),{type:Z?"text":"password",className:Xe,prefixCls:Ue,suffix:at});return Re&&(ve.size=Re),v.createElement(ee.Z,Object.assign({ref:(0,E.sQ)(Ve,U)},ve))}),ce=e(47472),H=e(92343),m=e(3113),r=e(19716),y=e(33234),p=function(Y,Ve){var l={};for(var F in Y)Object.prototype.hasOwnProperty.call(Y,F)&&Ve.indexOf(F)<0&&(l[F]=Y[F]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Z=0,F=Object.getOwnPropertySymbols(Y);Z{const{prefixCls:l,inputPrefixCls:F,className:Z,size:b,suffix:U,enterButton:V=!1,addonAfter:q,loading:le,disabled:re,onSearch:Q,onChange:be,onCompositionStart:Re,onCompositionEnd:ke}=Y,Fe=p(Y,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Ue,direction:Ge}=v.useContext(j.E_),at=v.useRef(!1),Xe=Ue("input-search",l),ve=Ue("input",F),{compactSize:Ke}=(0,y.ri)(Xe,Ge),B=(0,r.Z)(me=>{var de;return(de=b!=null?b:Ke)!==null&&de!==void 0?de:me}),w=v.useRef(null),d=me=>{me&&me.target&&me.type==="click"&&Q&&Q(me.target.value,me,{source:"clear"}),be&&be(me)},n=me=>{var de;document.activeElement===((de=w.current)===null||de===void 0?void 0:de.input)&&me.preventDefault()},R=me=>{var de,h;Q&&Q((h=(de=w.current)===null||de===void 0?void 0:de.input)===null||h===void 0?void 0:h.value,me,{source:"input"})},G=me=>{at.current||le||R(me)},s=typeof V=="boolean"?v.createElement(ce.Z,null):null,o=`${Xe}-button`;let K;const g=V||{},f=g.type&&g.type.__ANT_BUTTON===!0;f||g.type==="button"?K=(0,H.Tm)(g,Object.assign({onMouseDown:n,onClick:me=>{var de,h;(h=(de=g==null?void 0:g.props)===null||de===void 0?void 0:de.onClick)===null||h===void 0||h.call(de,me),R(me)},key:"enterButton"},f?{className:o,size:B}:{})):K=v.createElement(m.ZP,{className:o,type:V?"primary":void 0,size:B,disabled:re,key:"enterButton",onMouseDown:n,onClick:R,loading:le,icon:s},V),q&&(K=[K,(0,H.Tm)(q,{key:"addonAfter"})]);const L=c()(Xe,{[`${Xe}-rtl`]:Ge==="rtl",[`${Xe}-${B}`]:!!B,[`${Xe}-with-button`]:!!V},Z),ge=me=>{at.current=!0,Re==null||Re(me)},te=me=>{at.current=!1,ke==null||ke(me)};return v.createElement(ee.Z,Object.assign({ref:(0,E.sQ)(w,Ve),onPressEnter:G},Fe,{size:B,onCompositionStart:ge,onCompositionEnd:te,prefixCls:ve,addonAfter:K,suffix:U,onChange:d,className:L,disabled:re}))}),W=e(1643);const M=ee.Z;M.Group=oe,M.Search=D,M.TextArea=W.Z,M.Password=we;var xe=M},9937:function(Dt,Me,e){e.d(Me,{M1:function(){return t},TM:function(){return H},Xy:function(){return oe},bi:function(){return se},e5:function(){return ce},ik:function(){return S},nz:function(){return C},pU:function(){return $},s7:function(){return E},x0:function(){return O}});var u=e(17313),c=e(74207),v=e(37613),j=e(83116);const C=m=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:m,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),$=m=>({borderColor:m.hoverBorderColor}),t=m=>({borderColor:m.activeBorderColor,boxShadow:m.activeShadow,outline:0}),oe=m=>({color:m.colorTextDisabled,backgroundColor:m.colorBgContainerDisabled,borderColor:m.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},$((0,v.TS)(m,{hoverBorderColor:m.colorBorder})))}),ee=m=>{const{paddingBlockLG:r,fontSizeLG:y,lineHeightLG:p,borderRadiusLG:ne,paddingInlineLG:D}=m;return{padding:`${r}px ${D}px`,fontSize:y,lineHeight:p,borderRadius:ne}},O=m=>({padding:`${m.paddingBlockSM}px ${m.paddingInlineSM}px`,borderRadius:m.borderRadiusSM}),se=(m,r)=>{const{componentCls:y,colorError:p,colorWarning:ne,errorActiveShadow:D,warningActiveShadow:W,colorErrorBorderHover:M,colorWarningBorderHover:xe}=m;return{[`&-status-error:not(${r}-disabled):not(${r}-borderless)${r}`]:{borderColor:p,"&:hover":{borderColor:M},"&:focus, &-focused":Object.assign({},t((0,v.TS)(m,{activeBorderColor:p,activeShadow:D}))),[`${y}-prefix, ${y}-suffix`]:{color:p}},[`&-status-warning:not(${r}-disabled):not(${r}-borderless)${r}`]:{borderColor:ne,"&:hover":{borderColor:xe},"&:focus, &-focused":Object.assign({},t((0,v.TS)(m,{activeBorderColor:ne,activeShadow:W}))),[`${y}-prefix, ${y}-suffix`]:{color:ne}}}},S=m=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${m.paddingBlock}px ${m.paddingInline}px`,color:m.colorText,fontSize:m.fontSize,lineHeight:m.lineHeight,backgroundColor:m.colorBgContainer,backgroundImage:"none",borderWidth:m.lineWidth,borderStyle:m.lineType,borderColor:m.colorBorder,borderRadius:m.borderRadius,transition:`all ${m.motionDurationMid}`},C(m.colorTextPlaceholder)),{"&:hover":Object.assign({},$(m)),"&:focus, &-focused":Object.assign({},t(m)),"&-disabled, &[disabled]":Object.assign({},oe(m)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:m.controlHeight,lineHeight:m.lineHeight,verticalAlign:"bottom",transition:`all ${m.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},ee(m)),"&-sm":Object.assign({},O(m)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),E=m=>{const{componentCls:r,antCls:y}=m;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:m.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${r}, &-lg > ${r}-group-addon`]:Object.assign({},ee(m)),[`&-sm ${r}, &-sm > ${r}-group-addon`]:Object.assign({},O(m)),[`&-lg ${y}-select-single ${y}-select-selector`]:{height:m.controlHeightLG},[`&-sm ${y}-select-single ${y}-select-selector`]:{height:m.controlHeightSM},[`> ${r}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${r}-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 ${m.paddingInline}px`,color:m.colorText,fontWeight:"normal",fontSize:m.fontSize,textAlign:"center",backgroundColor:m.colorFillAlter,border:`${m.lineWidth}px ${m.lineType} ${m.colorBorder}`,borderRadius:m.borderRadius,transition:`all ${m.motionDurationSlow}`,lineHeight:1,[`${y}-select`]:{margin:`-${m.paddingBlock+1}px -${m.paddingInline}px`,[`&${y}-select-single:not(${y}-select-customize-input)`]:{[`${y}-select-selector`]:{backgroundColor:"inherit",border:`${m.lineWidth}px ${m.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${y}-select-selector`]:{color:m.colorPrimary}}},[`${y}-cascader-picker`]:{margin:`-9px -${m.paddingInline}px`,backgroundColor:"transparent",[`${y}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${r}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${r}-search-with-button &`]:{zIndex:0}}},[`> ${r}:first-child, ${r}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${y}-select ${y}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}-affix-wrapper`]:{[`&:not(:first-child) ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${r}:last-child, ${r}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${y}-select ${y}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${r}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${r}-search &`]:{borderStartStartRadius:m.borderRadius,borderEndStartRadius:m.borderRadius}},[`&:not(:first-child), ${r}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${r}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,u.dF)()),{[`${r}-group-addon, ${r}-group-wrap, > ${r}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:m.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[` + & > ${r}-affix-wrapper, + & > ${r}-number-affix-wrapper, + & > ${y}-picker-range + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-m.lineWidth,borderInlineEndWidth:m.lineWidth},[`${r}`]:{float:"none"},[`& > ${y}-select > ${y}-select-selector, + & > ${y}-select-auto-complete ${r}, + & > ${y}-cascader-picker ${r}, + & > ${r}-group-wrapper ${r}`]:{borderInlineEndWidth:m.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${y}-select-focused`]:{zIndex:1},[`& > ${y}-select > ${y}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${y}-select:first-child > ${y}-select-selector, + & > ${y}-select-auto-complete:first-child ${r}, + & > ${y}-cascader-picker:first-child ${r}`]:{borderStartStartRadius:m.borderRadius,borderEndStartRadius:m.borderRadius},[`& > *:last-child, + & > ${y}-select:last-child > ${y}-select-selector, + & > ${y}-cascader-picker:last-child ${r}, + & > ${y}-cascader-picker-focused:last-child ${r}`]:{borderInlineEndWidth:m.lineWidth,borderStartEndRadius:m.borderRadius,borderEndEndRadius:m.borderRadius},[`& > ${y}-select-auto-complete ${r}`]:{verticalAlign:"top"},[`${r}-group-wrapper + ${r}-group-wrapper`]:{marginInlineStart:-m.lineWidth,[`${r}-affix-wrapper`]:{borderRadius:0}},[`${r}-group-wrapper:not(:last-child)`]:{[`&${r}-search > ${r}-group`]:{[`& > ${r}-group-addon > ${r}-search-button`]:{borderRadius:0},[`& > ${r}`]:{borderStartStartRadius:m.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:m.borderRadius}}}})}},ue=m=>{const{componentCls:r,controlHeightSM:y,lineWidth:p}=m,D=(y-p*2-16)/2;return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,u.Wf)(m)),S(m)),se(m,r)),{'&[type="color"]':{height:m.controlHeight,[`&${r}-lg`]:{height:m.controlHeightLG},[`&${r}-sm`]:{height:y,paddingTop:D,paddingBottom:D}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},X=m=>{const{componentCls:r}=m;return{[`${r}-clear-icon`]:{margin:0,color:m.colorTextQuaternary,fontSize:m.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"&:hover":{color:m.colorTextTertiary},"&:active":{color:m.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${m.inputAffixPadding}px`}}}},k=m=>{const{componentCls:r,inputAffixPadding:y,colorTextDescription:p,motionDurationSlow:ne,colorIcon:D,colorIconHover:W,iconCls:M}=m;return{[`${r}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S(m)),{display:"inline-flex",[`&:not(${r}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},$(m)),{zIndex:1,[`${r}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${r}[disabled]`]:{background:"transparent"}},[`> input${r}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${r}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:m.paddingXS}},"&-show-count-suffix":{color:p},"&-show-count-has-suffix":{marginInlineEnd:m.paddingXXS},"&-prefix":{marginInlineEnd:y},"&-suffix":{marginInlineStart:y}}}),X(m)),{[`${M}${r}-password-icon`]:{color:D,cursor:"pointer",transition:`all ${ne}`,"&:hover":{color:W}}}),se(m,`${r}-affix-wrapper`))}},$e=m=>{const{componentCls:r,colorError:y,colorWarning:p,borderRadiusLG:ne,borderRadiusSM:D}=m;return{[`${r}-group`]:Object.assign(Object.assign(Object.assign({},(0,u.Wf)(m)),E(m)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${r}-group-addon`]:{borderRadius:ne,fontSize:m.fontSizeLG}},"&-sm":{[`${r}-group-addon`]:{borderRadius:D}},"&-status-error":{[`${r}-group-addon`]:{color:y,borderColor:y}},"&-status-warning":{[`${r}-group-addon`]:{color:p,borderColor:p}},"&-disabled":{[`${r}-group-addon`]:Object.assign({},oe(m))},[`&:not(${r}-compact-first-item):not(${r}-compact-last-item)${r}-compact-item`]:{[`${r}, ${r}-group-addon`]:{borderRadius:0}},[`&:not(${r}-compact-last-item)${r}-compact-first-item`]:{[`${r}, ${r}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${r}-compact-first-item)${r}-compact-last-item`]:{[`${r}, ${r}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},ie=m=>{const{componentCls:r,antCls:y}=m,p=`${r}-search`;return{[p]:{[`${r}`]:{"&:hover, &:focus":{borderColor:m.colorPrimaryHover,[`+ ${r}-group-addon ${p}-button:not(${y}-btn-primary)`]:{borderInlineStartColor:m.colorPrimaryHover}}},[`${r}-affix-wrapper`]:{borderRadius:0},[`${r}-lg`]:{lineHeight:m.lineHeightLG-2e-4},[`> ${r}-group`]:{[`> ${r}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${p}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:m.borderRadius,borderEndEndRadius:m.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${p}-button:not(${y}-btn-primary)`]:{color:m.colorTextDescription,"&:hover":{color:m.colorPrimaryHover},"&:active":{color:m.colorPrimaryActive},[`&${y}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${p}-button`]:{height:m.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${p}-button`]:{height:m.controlHeightLG},[`&-small ${p}-button`]:{height:m.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${r}-compact-item`]:{[`&:not(${r}-compact-last-item)`]:{[`${r}-group-addon`]:{[`${r}-search-button`]:{marginInlineEnd:-m.lineWidth,borderRadius:0}}},[`&:not(${r}-compact-first-item)`]:{[`${r},${r}-affix-wrapper`]:{borderRadius:0}},[`> ${r}-group-addon ${r}-search-button, + > ${r}, + ${r}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${r}-affix-wrapper-focused`]:{zIndex:2}}}}},we=m=>{const{componentCls:r,paddingLG:y}=m,p=`${r}-textarea`;return{[p]:{position:"relative","&-show-count":{[`> ${r}`]:{height:"100%"},[`${r}-data-count`]:{position:"absolute",bottom:-m.fontSize*m.lineHeight,insetInlineEnd:0,color:m.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${r}`]:{paddingInlineEnd:y}},[`&-affix-wrapper${p}-has-feedback`]:{[`${r}`]:{paddingInlineEnd:y}},[`&-affix-wrapper${r}-affix-wrapper`]:{padding:0,[`> textarea${r}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${r}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${r}-clear-icon`]:{position:"absolute",insetInlineEnd:m.paddingXS,insetBlockStart:m.paddingXS},[`${p}-suffix`]:{position:"absolute",top:0,insetInlineEnd:m.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function ce(m){return(0,v.TS)(m,{inputAffixPadding:m.paddingXXS})}const H=m=>{const{controlHeight:r,fontSize:y,lineHeight:p,lineWidth:ne,controlHeightSM:D,controlHeightLG:W,fontSizeLG:M,lineHeightLG:xe,paddingSM:Y,controlPaddingHorizontalSM:Ve,controlPaddingHorizontal:l,colorFillAlter:F,colorPrimaryHover:Z,controlOutlineWidth:b,controlOutline:U,colorErrorOutline:V,colorWarningOutline:q}=m;return{paddingBlock:Math.max(Math.round((r-y*p)/2*10)/10-ne,3),paddingBlockSM:Math.max(Math.round((D-y*p)/2*10)/10-ne,0),paddingBlockLG:Math.ceil((W-M*xe)/2*10)/10-ne,paddingInline:Y-ne,paddingInlineSM:Ve-ne,paddingInlineLG:l-ne,addonBg:F,activeBorderColor:Z,hoverBorderColor:Z,activeShadow:`0 0 0 ${b}px ${U}`,errorActiveShadow:`0 0 0 ${b}px ${V}`,warningActiveShadow:`0 0 0 ${b}px ${q}`}};Me.ZP=(0,j.Z)("Input",m=>{const r=(0,v.TS)(m,ce(m));return[ue(r),we(r),k(r),$e(r),ie(r),(0,c.c)(r)]},H)},45818:function(Dt,Me,e){e.d(Me,{D:function(){return ce},Z:function(){return r}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},j=v,C=e(7657),$=function(p,ne){return c.createElement(C.Z,(0,u.Z)({},p,{ref:ne,icon:j}))},t=c.forwardRef($),oe=t,ee=e(33853),O=e(38819),se=e(92310),S=e.n(se),E=e(2738),X=y=>!isNaN(parseFloat(y))&&isFinite(y),k=e(36355),$e=e(84966),ie=function(y,p){var ne={};for(var D in y)Object.prototype.hasOwnProperty.call(y,D)&&p.indexOf(D)<0&&(ne[D]=y[D]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,D=Object.getOwnPropertySymbols(y);W{let y=0;return function(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return y+=1,`${p}${y}`}})();var r=c.forwardRef((y,p)=>{const{prefixCls:ne,className:D,trigger:W,children:M,defaultCollapsed:xe=!1,theme:Y="dark",style:Ve={},collapsible:l=!1,reverseArrow:F=!1,width:Z=200,collapsedWidth:b=80,zeroWidthTriggerStyle:U,breakpoint:V,onCollapse:q,onBreakpoint:le}=y,re=ie(y,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Q}=(0,c.useContext)($e.Gs),[be,Re]=(0,c.useState)("collapsed"in y?y.collapsed:xe),[ke,Fe]=(0,c.useState)(!1);(0,c.useEffect)(()=>{"collapsed"in y&&Re(y.collapsed)},[y.collapsed]);const Ue=(B,w)=>{"collapsed"in y||Re(B),q==null||q(B,w)},Ge=(0,c.useRef)();Ge.current=B=>{Fe(B.matches),le==null||le(B.matches),be!==B.matches&&Ue(B.matches,"responsive")},(0,c.useEffect)(()=>{function B(d){return Ge.current(d)}let w;if(typeof window!="undefined"){const{matchMedia:d}=window;if(d&&V&&V in we){w=d(`(max-width: ${we[V]})`);try{w.addEventListener("change",B)}catch(n){w.addListener(B)}B(w)}}return()=>{try{w==null||w.removeEventListener("change",B)}catch(d){w==null||w.removeListener(B)}}},[V]),(0,c.useEffect)(()=>{const B=H("ant-sider-");return Q.addSider(B),()=>Q.removeSider(B)},[]);const at=()=>{Ue(!be,"clickTrigger")},{getPrefixCls:Xe}=(0,c.useContext)(k.E_),ve=()=>{const B=Xe("layout-sider",ne),w=(0,E.Z)(re,["collapsed"]),d=be?b:Z,n=X(d)?`${d}px`:String(d),R=parseFloat(String(b||0))===0?c.createElement("span",{onClick:at,className:S()(`${B}-zero-width-trigger`,`${B}-zero-width-trigger-${F?"right":"left"}`),style:U},W||c.createElement(oe,null)):null,o={expanded:F?c.createElement(O.Z,null):c.createElement(ee.Z,null),collapsed:F?c.createElement(ee.Z,null):c.createElement(O.Z,null)}[be?"collapsed":"expanded"],K=W!==null?R||c.createElement("div",{className:`${B}-trigger`,onClick:at,style:{width:n}},W||o):null,g=Object.assign(Object.assign({},Ve),{flex:`0 0 ${n}`,maxWidth:n,minWidth:n,width:n}),f=S()(B,`${B}-${Y}`,{[`${B}-collapsed`]:!!be,[`${B}-has-trigger`]:l&&W!==null&&!R,[`${B}-below`]:!!ke,[`${B}-zero-width`]:parseFloat(n)===0},D);return c.createElement("aside",Object.assign({className:f},w,{style:g,ref:p}),c.createElement("div",{className:`${B}-children`},M),l||ke&&R?K:null)},Ke=c.useMemo(()=>({siderCollapsed:be}),[be]);return c.createElement(ce.Provider,{value:Ke},ve())})},84966:function(Dt,Me,e){e.d(Me,{VY:function(){return ce},$_:function(){return we},h4:function(){return ie},Gs:function(){return E},ZP:function(){return H}});var u=e(94480),c=e(92310),v=e.n(c),j=e(2738),C=e(59301),$=e(36355),t=e(83116),ee=m=>{const{componentCls:r,bodyBg:y,lightSiderBg:p,lightTriggerBg:ne,lightTriggerColor:D}=m;return{[`${r}-sider-light`]:{background:p,[`${r}-sider-trigger`]:{color:D,background:ne},[`${r}-sider-zero-width-trigger`]:{color:D,background:ne,border:`1px solid ${y}`,borderInlineStart:0}}}};const O=m=>{const{antCls:r,componentCls:y,colorText:p,triggerColor:ne,footerBg:D,triggerBg:W,headerHeight:M,headerPadding:xe,headerColor:Y,footerPadding:Ve,triggerHeight:l,zeroTriggerHeight:F,zeroTriggerWidth:Z,motionDurationMid:b,motionDurationSlow:U,fontSize:V,borderRadius:q,bodyBg:le,headerBg:re,siderBg:Q}=m;return{[y]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:le,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},[`${y}-sider`]:{position:"relative",minWidth:0,background:Q,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${r}-menu${r}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:l},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:l,color:ne,lineHeight:`${l}px`,textAlign:"center",background:W,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:M,insetInlineEnd:-Z,zIndex:1,width:Z,height:F,color:ne,fontSize:m.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Q,borderStartStartRadius:0,borderStartEndRadius:q,borderEndEndRadius:q,borderEndStartRadius:0,cursor:"pointer",transition:`background ${U} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${U}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Z,borderStartStartRadius:q,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:q}}}}},ee(m)),{"&-rtl":{direction:"rtl"}}),[`${y}-header`]:{height:M,padding:xe,color:Y,lineHeight:`${M}px`,background:re,[`${r}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:Ve,color:p,fontSize:V,background:D},[`${y}-content`]:{flex:"auto",minHeight:0}}};var se=(0,t.Z)("Layout",m=>[O(m)],m=>{const{colorBgLayout:r,controlHeight:y,controlHeightLG:p,colorText:ne,controlHeightSM:D,marginXXS:W,colorTextLightSolid:M,colorBgContainer:xe}=m,Y=p*1.25;return{colorBgHeader:"#001529",colorBgBody:r,colorBgTrigger:"#002140",bodyBg:r,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${Y}px`,headerColor:ne,footerPadding:`${D}px ${Y}px`,footerBg:r,siderBg:"#001529",triggerHeight:p+W*2,triggerBg:"#002140",triggerColor:M,zeroTriggerWidth:p,zeroTriggerHeight:p,lightSiderBg:xe,lightTriggerBg:xe,lightTriggerColor:ne}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),S=function(m,r){var y={};for(var p in m)Object.prototype.hasOwnProperty.call(m,p)&&r.indexOf(p)<0&&(y[p]=m[p]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ne=0,p=Object.getOwnPropertySymbols(m);nenull,removeSider:()=>null}});function ue(m){let{suffixCls:r,tagName:y,displayName:p}=m;return ne=>C.forwardRef((W,M)=>C.createElement(ne,Object.assign({ref:M,suffixCls:r,tagName:y},W)))}const X=C.forwardRef((m,r)=>{const{prefixCls:y,suffixCls:p,className:ne,tagName:D}=m,W=S(m,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:M}=C.useContext($.E_),xe=M("layout",y),[Y,Ve]=se(xe),l=p?`${xe}-${p}`:xe;return Y(C.createElement(D,Object.assign({className:v()(y||l,ne,Ve),ref:r},W)))}),k=C.forwardRef((m,r)=>{const{direction:y}=C.useContext($.E_),[p,ne]=C.useState([]),{prefixCls:D,className:W,rootClassName:M,children:xe,hasSider:Y,tagName:Ve,style:l}=m,F=S(m,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Z=(0,j.Z)(F,["suffixCls"]),{getPrefixCls:b,layout:U}=C.useContext($.E_),V=b("layout",D),[q,le]=se(V),re=v()(V,{[`${V}-has-sider`]:typeof Y=="boolean"?Y:p.length>0,[`${V}-rtl`]:y==="rtl"},U==null?void 0:U.className,W,M,le),Q=C.useMemo(()=>({siderHook:{addSider:be=>{ne(Re=>[].concat((0,u.Z)(Re),[be]))},removeSider:be=>{ne(Re=>Re.filter(ke=>ke!==be))}}}),[]);return q(C.createElement(E.Provider,{value:Q},C.createElement(Ve,Object.assign({ref:r,className:re,style:Object.assign(Object.assign({},U==null?void 0:U.style),l)},Z),xe)))}),$e=ue({tagName:"div",displayName:"Layout"})(k),ie=ue({suffixCls:"header",tagName:"header",displayName:"Header"})(X),we=ue({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(X),ce=ue({suffixCls:"content",tagName:"main",displayName:"Content"})(X);var H=$e},40875:function(Dt,Me,e){e.d(Me,{J:function(){return $}});var u=e(59301),c=e(33234),v=e(70425),j=function(t,oe){var ee={};for(var O in t)Object.prototype.hasOwnProperty.call(t,O)&&oe.indexOf(O)<0&&(ee[O]=t[O]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var se=0,O=Object.getOwnPropertySymbols(t);se{const{children:ee}=t,O=j(t,["children"]),se=u.useContext(C),S=u.useMemo(()=>Object.assign(Object.assign({},se),O),[se,O.prefixCls,O.mode,O.selectable]);return u.createElement(C.Provider,{value:S},u.createElement(c.BR,null,(0,v.supportNodeRef)(ee)?u.cloneElement(ee,{ref:oe}):ee))});Me.Z=C},20834:function(Dt,Me,e){e.d(Me,{default:function(){return Ke}});var u=e(15285),c=e(59301),v=e(45818),j=e(92310),C=e.n(j),$=e(36355),t=function(B,w){var d={};for(var n in B)Object.prototype.hasOwnProperty.call(B,n)&&w.indexOf(n)<0&&(d[n]=B[n]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,n=Object.getOwnPropertySymbols(B);R{const{prefixCls:w,className:d,dashed:n}=B,R=t(B,["prefixCls","className","dashed"]),{getPrefixCls:G}=c.useContext($.E_),s=G("menu",w),o=C()({[`${s}-item-divider-dashed`]:!!n},d);return c.createElement(u.iz,Object.assign({className:o},R))},O=e(11592),se=e(2738),S=e(6848),E=e(92343),X=(0,c.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),$e=B=>{var w;const{className:d,children:n,icon:R,title:G,danger:s}=B,{prefixCls:o,firstLevel:K,direction:g,disableMenuItemTitleTooltip:f,inlineCollapsed:L}=c.useContext(X),ge=ae=>{const Ie=c.createElement("span",{className:`${o}-title-content`},n);return(!R||(0,E.l$)(n)&&n.type==="span")&&n&&ae&&K&&typeof n=="string"?c.createElement("div",{className:`${o}-inline-collapsed-noicon`},n.charAt(0)):Ie},{siderCollapsed:te}=c.useContext(v.D);let me=G;typeof G=="undefined"?me=K?n:"":G===!1&&(me="");const de={title:me};!te&&!L&&(de.title=null,de.open=!1);const h=(0,O.Z)(n).length;let I=c.createElement(u.ck,Object.assign({},(0,se.Z)(B,["title","icon","danger"]),{className:C()({[`${o}-item-danger`]:s,[`${o}-item-only-child`]:(R?h+1:h)===1},d),title:typeof G=="string"?G:void 0}),(0,E.Tm)(R,{className:C()((0,E.l$)(R)?(w=R.props)===null||w===void 0?void 0:w.className:"",`${o}-item-icon`)}),ge(L));return f||(I=c.createElement(S.Z,Object.assign({},de,{placement:g==="rtl"?"left":"right",overlayClassName:`${o}-inline-collapsed-tooltip`}),I)),I},we=B=>{var w;const{popupClassName:d,icon:n,title:R,theme:G}=B,s=c.useContext(X),{prefixCls:o,inlineCollapsed:K,theme:g}=s,f=(0,u.Xl)();let L;if(!n)L=K&&!f.length&&R&&typeof R=="string"?c.createElement("div",{className:`${o}-inline-collapsed-noicon`},R.charAt(0)):c.createElement("span",{className:`${o}-title-content`},R);else{const te=(0,E.l$)(R)&&R.type==="span";L=c.createElement(c.Fragment,null,(0,E.Tm)(n,{className:C()((0,E.l$)(n)?(w=n.props)===null||w===void 0?void 0:w.className:"",`${o}-item-icon`)}),te?R:c.createElement("span",{className:`${o}-title-content`},R))}const ge=c.useMemo(()=>Object.assign(Object.assign({},s),{firstLevel:!1}),[s]);return c.createElement(X.Provider,{value:ge},c.createElement(u.Wd,Object.assign({},(0,se.Z)(B,["icon"]),{title:L,popupClassName:C()(o,d,`${o}-${G||g}`)})))},ce=e(18785),H=e(70425),m=e(62892),r=e(40875),y=function(B,w){var d={};for(var n in B)Object.prototype.hasOwnProperty.call(B,n)&&w.indexOf(n)<0&&(d[n]=B[n]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,n=Object.getOwnPropertySymbols(B);R{if(w&&typeof w=="object"){const n=w,{label:R,children:G,key:s,type:o}=n,K=y(n,["label","children","key","type"]),g=s!=null?s:`tmp-${d}`;return G||o==="group"?o==="group"?c.createElement(u.BW,Object.assign({key:g},K,{title:R}),p(G)):c.createElement(we,Object.assign({key:g},K,{title:R}),p(G)):o==="divider"?c.createElement(ee,Object.assign({key:g},K)):c.createElement($e,Object.assign({key:g},K),R)}return null}).filter(w=>w)}function ne(B){return c.useMemo(()=>B&&p(B),[B])}var D=e(64993),W=e(17313),M=e(8378),xe=e(13826),Y=e(29878),Ve=e(83116),l=e(37613),Z=B=>{const{componentCls:w,motionDurationSlow:d,horizontalLineHeight:n,colorSplit:R,lineWidth:G,lineType:s,itemPaddingInline:o}=B;return{[`${w}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${G}px ${s} ${R}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${w}-item, ${w}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:o},[`> ${w}-item:hover, + > ${w}-item-active, + > ${w}-submenu ${w}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${w}-item, ${w}-submenu-title`]:{transition:[`border-color ${d}`,`background ${d}`].join(",")},[`${w}-submenu-arrow`]:{display:"none"}}}},U=B=>{let{componentCls:w,menuArrowOffset:d}=B;return{[`${w}-rtl`]:{direction:"rtl"},[`${w}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${w}-rtl${w}-vertical, + ${w}-submenu-rtl ${w}-vertical`]:{[`${w}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${d})`},"&::after":{transform:`rotate(45deg) translateY(${d})`}}}}};const V=B=>Object.assign({},(0,W.oN)(B));var le=(B,w)=>{const{componentCls:d,itemColor:n,itemSelectedColor:R,groupTitleColor:G,itemBg:s,subMenuItemBg:o,itemSelectedBg:K,activeBarHeight:g,activeBarWidth:f,activeBarBorderWidth:L,motionDurationSlow:ge,motionEaseInOut:te,motionEaseOut:me,itemPaddingInline:de,motionDurationMid:h,itemHoverColor:I,lineType:ae,colorSplit:Ie,itemDisabledColor:Se,dangerItemColor:Le,dangerItemHoverColor:Qe,dangerItemSelectedColor:Je,dangerItemActiveBg:_e,dangerItemSelectedBg:ut,itemHoverBg:vt,itemActiveBg:It,menuSubMenuBg:St,horizontalItemSelectedColor:Tt,horizontalItemSelectedBg:Yt,horizontalItemBorderRadius:gt,horizontalItemHoverBg:Ut,popupBg:Nn}=B;return{[`${d}-${w}, ${d}-${w} > ${d}`]:{color:n,background:s,[`&${d}-root:focus-visible`]:Object.assign({},V(B)),[`${d}-item-group-title`]:{color:G},[`${d}-submenu-selected`]:{[`> ${d}-submenu-title`]:{color:R}},[`${d}-item-disabled, ${d}-submenu-disabled`]:{color:`${Se} !important`},[`${d}-item:not(${d}-item-selected):not(${d}-submenu-selected)`]:{[`&:hover, > ${d}-submenu-title:hover`]:{color:I}},[`&:not(${d}-horizontal)`]:{[`${d}-item:not(${d}-item-selected)`]:{"&:hover":{backgroundColor:vt},"&:active":{backgroundColor:It}},[`${d}-submenu-title`]:{"&:hover":{backgroundColor:vt},"&:active":{backgroundColor:It}}},[`${d}-item-danger`]:{color:Le,[`&${d}-item:hover`]:{[`&:not(${d}-item-selected):not(${d}-submenu-selected)`]:{color:Qe}},[`&${d}-item:active`]:{background:_e}},[`${d}-item a`]:{"&, &:hover":{color:"inherit"}},[`${d}-item-selected`]:{color:R,[`&${d}-item-danger`]:{color:Je},"a, a:hover":{color:"inherit"}},[`& ${d}-item-selected`]:{backgroundColor:K,[`&${d}-item-danger`]:{backgroundColor:ut}},[`${d}-item, ${d}-submenu-title`]:{[`&:not(${d}-item-disabled):focus-visible`]:Object.assign({},V(B))},[`&${d}-submenu > ${d}`]:{backgroundColor:St},[`&${d}-popup > ${d}`]:{backgroundColor:Nn},[`&${d}-horizontal`]:Object.assign(Object.assign({},w==="dark"?{borderBottom:0}:{}),{[`> ${d}-item, > ${d}-submenu`]:{top:L,marginTop:-L,marginBottom:0,borderRadius:gt,"&::after":{position:"absolute",insetInline:de,bottom:0,borderBottom:`${g}px solid transparent`,transition:`border-color ${ge} ${te}`,content:'""'},"&:hover, &-active, &-open":{background:Ut,"&::after":{borderBottomWidth:g,borderBottomColor:Tt}},"&-selected":{color:Tt,backgroundColor:Yt,"&:hover":{backgroundColor:Yt},"&::after":{borderBottomWidth:g,borderBottomColor:Tt}}}}),[`&${d}-root`]:{[`&${d}-inline, &${d}-vertical`]:{borderInlineEnd:`${L}px ${ae} ${Ie}`}},[`&${d}-inline`]:{[`${d}-sub${d}-inline`]:{background:o},[`${d}-item, ${d}-submenu-title`]:L&&f?{width:`calc(100% + ${L}px)`}:{},[`${d}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${f}px solid ${R}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${me}`,`opacity ${h} ${me}`].join(","),content:'""'},[`&${d}-item-danger`]:{"&::after":{borderInlineEndColor:Je}}},[`${d}-selected, ${d}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${te}`,`opacity ${h} ${te}`].join(",")}}}}}};const re=B=>{const{componentCls:w,itemHeight:d,itemMarginInline:n,padding:R,menuArrowSize:G,marginXS:s,itemMarginBlock:o}=B,K=R+G+s;return{[`${w}-item`]:{position:"relative",overflow:"hidden"},[`${w}-item, ${w}-submenu-title`]:{height:d,lineHeight:`${d}px`,paddingInline:R,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:o,width:`calc(100% - ${n*2}px)`},[`> ${w}-item, + > ${w}-submenu > ${w}-submenu-title`]:{height:d,lineHeight:`${d}px`},[`${w}-item-group-list ${w}-submenu-title, + ${w}-submenu-title`]:{paddingInlineEnd:K}}};var be=B=>{const{componentCls:w,iconCls:d,itemHeight:n,colorTextLightSolid:R,dropdownWidth:G,controlHeightLG:s,motionDurationMid:o,motionEaseOut:K,paddingXL:g,itemMarginInline:f,fontSizeLG:L,motionDurationSlow:ge,paddingXS:te,boxShadowSecondary:me,collapsedWidth:de,collapsedIconSize:h}=B,I={height:n,lineHeight:`${n}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[w]:{"&-inline, &-vertical":Object.assign({[`&${w}-root`]:{boxShadow:"none"}},re(B))},[`${w}-submenu-popup`]:{[`${w}-vertical`]:Object.assign(Object.assign({},re(B)),{boxShadow:me})}},{[`${w}-submenu-popup ${w}-vertical${w}-sub`]:{minWidth:G,maxHeight:`calc(100vh - ${s*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${w}-inline`]:{width:"100%",[`&${w}-root`]:{[`${w}-item, ${w}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ge}`,`background ${ge}`,`padding ${o} ${K}`].join(","),[`> ${w}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${w}-sub${w}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${w}-submenu > ${w}-submenu-title`]:I,[`& ${w}-item-group-title`]:{paddingInlineStart:g}},[`${w}-item`]:I}},{[`${w}-inline-collapsed`]:{width:de,[`&${w}-root`]:{[`${w}-item, ${w}-submenu ${w}-submenu-title`]:{[`> ${w}-inline-collapsed-noicon`]:{fontSize:L,textAlign:"center"}}},[`> ${w}-item, + > ${w}-item-group > ${w}-item-group-list > ${w}-item, + > ${w}-item-group > ${w}-item-group-list > ${w}-submenu > ${w}-submenu-title, + > ${w}-submenu > ${w}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${L/2}px - ${f}px)`,textOverflow:"clip",[` + ${w}-submenu-arrow, + ${w}-submenu-expand-icon + `]:{opacity:0},[`${w}-item-icon, ${d}`]:{margin:0,fontSize:h,lineHeight:`${n}px`,"+ span":{display:"inline-block",opacity:0}}},[`${w}-item-icon, ${d}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${w}-item-icon, ${d}`]:{display:"none"},"a, a:hover":{color:R}},[`${w}-item-group-title`]:Object.assign(Object.assign({},W.vS),{paddingInline:te})}}]};const Re=B=>{const{componentCls:w,motionDurationSlow:d,motionDurationMid:n,motionEaseInOut:R,motionEaseOut:G,iconCls:s,iconSize:o,iconMarginInlineEnd:K}=B;return{[`${w}-item, ${w}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${d}`,`background ${d}`,`padding ${d} ${R}`].join(","),[`${w}-item-icon, ${s}`]:{minWidth:o,fontSize:o,transition:[`font-size ${n} ${G}`,`margin ${d} ${R}`,`color ${d}`].join(","),"+ span":{marginInlineStart:K,opacity:1,transition:[`opacity ${d} ${R}`,`margin ${d}`,`color ${d}`].join(",")}},[`${w}-item-icon`]:Object.assign({},(0,W.Ro)()),[`&${w}-item-only-child`]:{[`> ${s}, > ${w}-item-icon`]:{marginInlineEnd:0}}},[`${w}-item-disabled, ${w}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${w}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ke=B=>{const{componentCls:w,motionDurationSlow:d,motionEaseInOut:n,borderRadius:R,menuArrowSize:G,menuArrowOffset:s}=B;return{[`${w}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:B.margin,width:G,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${d} ${n}, opacity ${d}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:G*.6,height:G*.15,backgroundColor:"currentcolor",borderRadius:R,transition:[`background ${d} ${n}`,`transform ${d} ${n}`,`top ${d} ${n}`,`color ${d} ${n}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${s})`},"&::after":{transform:`rotate(-45deg) translateY(${s})`}}}}},Fe=B=>{const{antCls:w,componentCls:d,fontSize:n,motionDurationSlow:R,motionDurationMid:G,motionEaseInOut:s,paddingXS:o,padding:K,colorSplit:g,lineWidth:f,zIndexPopup:L,borderRadiusLG:ge,subMenuItemBorderRadius:te,menuArrowSize:me,menuArrowOffset:de,lineType:h,menuPanelMaskInset:I,groupTitleLineHeight:ae,groupTitleFontSize:Ie}=B;return[{"":{[`${d}`]:Object.assign(Object.assign({},(0,W.dF)()),{"&-hidden":{display:"none"}})},[`${d}-submenu-hidden`]:{display:"none"}},{[d]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.Wf)(B)),(0,W.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${R} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${d}-item`]:{flex:"none"}},[`${d}-item, ${d}-submenu, ${d}-submenu-title`]:{borderRadius:B.itemBorderRadius},[`${d}-item-group-title`]:{padding:`${o}px ${K}px`,fontSize:Ie,lineHeight:ae,transition:`all ${R}`},[`&-horizontal ${d}-submenu`]:{transition:[`border-color ${R} ${s}`,`background ${R} ${s}`].join(",")},[`${d}-submenu, ${d}-submenu-inline`]:{transition:[`border-color ${R} ${s}`,`background ${R} ${s}`,`padding ${G} ${s}`].join(",")},[`${d}-submenu ${d}-sub`]:{cursor:"initial",transition:[`background ${R} ${s}`,`padding ${R} ${s}`].join(",")},[`${d}-title-content`]:{transition:`color ${R}`},[`${d}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${d}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:g,borderStyle:h,borderWidth:0,borderTopWidth:f,marginBlock:f,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Re(B)),{[`${d}-item-group`]:{[`${d}-item-group-list`]:{margin:0,padding:0,[`${d}-item, ${d}-submenu-title`]:{paddingInline:`${n*2}px ${K}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:L,borderRadius:ge,boxShadow:"none",transformOrigin:"0 0",[`&${d}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${I}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:I},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:B.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:B.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:B.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:B.paddingXS},[`> ${d}`]:Object.assign(Object.assign(Object.assign({borderRadius:ge},Re(B)),ke(B)),{[`${d}-item, ${d}-submenu > ${d}-submenu-title`]:{borderRadius:te},[`${d}-submenu-title::after`]:{transition:`transform ${R} ${s}`}})}}),ke(B)),{[`&-inline-collapsed ${d}-submenu-arrow, + &-inline ${d}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${de})`},"&::after":{transform:`rotate(45deg) translateX(-${de})`}},[`${d}-submenu-open${d}-submenu-inline > ${d}-submenu-title > ${d}-submenu-arrow`]:{transform:`translateY(-${me*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${de})`},"&::before":{transform:`rotate(45deg) translateX(${de})`}}})},{[`${w}-layout-header`]:{[d]:{lineHeight:"inherit"}}}]};var Ue=(B,w)=>(0,Ve.Z)("Menu",n=>{if(w===!1)return[];const{colorBgElevated:R,colorPrimary:G,colorTextLightSolid:s,controlHeightLG:o,fontSize:K,darkItemColor:g,darkDangerItemColor:f,darkItemBg:L,darkSubMenuItemBg:ge,darkItemSelectedColor:te,darkItemSelectedBg:me,darkDangerItemSelectedBg:de,darkItemHoverBg:h,darkGroupTitleColor:I,darkItemHoverColor:ae,darkItemDisabledColor:Ie,darkDangerItemHoverColor:Se,darkDangerItemSelectedColor:Le,darkDangerItemActiveBg:Qe}=n,Je=K/7*5,_e=(0,l.TS)(n,{menuArrowSize:Je,menuHorizontalHeight:o*1.15,menuArrowOffset:`${Je*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:R}),ut=(0,l.TS)(_e,{itemColor:g,itemHoverColor:ae,groupTitleColor:I,itemSelectedColor:te,itemBg:L,popupBg:L,subMenuItemBg:ge,itemActiveBg:"transparent",itemSelectedBg:me,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:Ie,dangerItemColor:f,dangerItemHoverColor:Se,dangerItemSelectedColor:Le,dangerItemActiveBg:Qe,dangerItemSelectedBg:de,menuSubMenuBg:ge,horizontalItemSelectedColor:s,horizontalItemSelectedBg:G});return[Fe(_e),Z(_e),be(_e),le(_e,"light"),le(ut,"dark"),U(_e),(0,M.Z)(_e),(0,xe.oN)(_e,"slide-up"),(0,xe.oN)(_e,"slide-down"),(0,Y._y)(_e,"zoom-big")]},n=>{const{colorPrimary:R,colorError:G,colorTextDisabled:s,colorErrorBg:o,colorText:K,colorTextDescription:g,colorBgContainer:f,colorFillAlter:L,colorFillContent:ge,lineWidth:te,lineWidthBold:me,controlItemBgActive:de,colorBgTextHover:h,controlHeightLG:I,lineHeight:ae,colorBgElevated:Ie,marginXXS:Se,padding:Le,fontSize:Qe,controlHeightSM:Je,fontSizeLG:_e,colorTextLightSolid:ut,colorErrorHover:vt}=n,It=new D.C(ut).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:n.zIndexPopupBase+50,radiusItem:n.borderRadiusLG,itemBorderRadius:n.borderRadiusLG,radiusSubMenuItem:n.borderRadiusSM,subMenuItemBorderRadius:n.borderRadiusSM,colorItemText:K,itemColor:K,colorItemTextHover:K,itemHoverColor:K,colorItemTextHoverHorizontal:R,horizontalItemHoverColor:R,colorGroupTitle:g,groupTitleColor:g,colorItemTextSelected:R,itemSelectedColor:R,colorItemTextSelectedHorizontal:R,horizontalItemSelectedColor:R,colorItemBg:f,itemBg:f,colorItemBgHover:h,itemHoverBg:h,colorItemBgActive:ge,itemActiveBg:de,colorSubItemBg:L,subMenuItemBg:L,colorItemBgSelected:de,itemSelectedBg:de,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:me,activeBarHeight:me,colorActiveBarBorderSize:te,activeBarBorderWidth:te,colorItemTextDisabled:s,itemDisabledColor:s,colorDangerItemText:G,dangerItemColor:G,colorDangerItemTextHover:G,dangerItemHoverColor:G,colorDangerItemTextSelected:G,dangerItemSelectedColor:G,colorDangerItemBgActive:o,dangerItemActiveBg:o,colorDangerItemBgSelected:o,dangerItemSelectedBg:o,itemMarginInline:n.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:I,groupTitleLineHeight:ae,collapsedWidth:I*2,popupBg:Ie,itemMarginBlock:Se,itemPaddingInline:Le,horizontalLineHeight:`${I*1.15}px`,iconSize:Qe,iconMarginInlineEnd:Je-Qe,collapsedIconSize:_e,groupTitleFontSize:Qe,darkItemDisabledColor:new D.C(ut).setAlpha(.25).toRgbString(),darkItemColor:It,darkDangerItemColor:G,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:ut,darkItemSelectedBg:R,darkDangerItemSelectedBg:G,darkItemHoverBg:"transparent",darkGroupTitleColor:It,darkItemHoverColor:ut,darkDangerItemHoverColor:vt,darkDangerItemSelectedColor:ut,darkDangerItemActiveBg:G}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(B),Ge=function(B,w){var d={};for(var n in B)Object.prototype.hasOwnProperty.call(B,n)&&w.indexOf(n)<0&&(d[n]=B[n]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,n=Object.getOwnPropertySymbols(B);R{var d,n;const R=c.useContext(r.Z),G=R||{},{getPrefixCls:s,getPopupContainer:o,direction:K,menu:g}=c.useContext($.E_),f=s(),{prefixCls:L,className:ge,style:te,theme:me="light",expandIcon:de,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:I,siderCollapsed:ae,items:Ie,children:Se,rootClassName:Le,mode:Qe,selectable:Je,onClick:_e,overflowedIndicatorPopupClassName:ut}=B,vt=Ge(B,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),It=(0,se.Z)(vt,["collapsedWidth"]),St=ne(Ie)||Se;(d=G.validator)===null||d===void 0||d.call(G,{mode:Qe});const Tt=(0,H.useEvent)(function(){var $n;_e==null||_e.apply(void 0,arguments),($n=G.onClick)===null||$n===void 0||$n.call(G)}),Yt=G.mode||Qe,gt=Je!=null?Je:G.selectable,Ut=c.useMemo(()=>ae!==void 0?ae:I,[I,ae]),Nn={horizontal:{motionName:`${f}-slide-up`},inline:(0,m.Z)(f),other:{motionName:`${f}-zoom-big`}},mt=s("menu",L||G.prefixCls),[yt,vn]=Ue(mt,!R),un=C()(`${mt}-${me}`,g==null?void 0:g.className,ge);let Tn;if(typeof de=="function")Tn=de;else if(de===null||de===!1)Tn=null;else if(G.expandIcon===null||G.expandIcon===!1)Tn=null;else{const $n=de!=null?de:G.expandIcon;Tn=(0,E.Tm)($n,{className:C()(`${mt}-submenu-expand-icon`,(0,E.l$)($n)?(n=$n.props)===null||n===void 0?void 0:n.className:"")})}const bn=c.useMemo(()=>({prefixCls:mt,inlineCollapsed:Ut||!1,direction:K,firstLevel:!0,theme:me,mode:Yt,disableMenuItemTitleTooltip:h}),[mt,Ut,K,h,me]);return yt(c.createElement(r.Z.Provider,{value:null},c.createElement(X.Provider,{value:bn},c.createElement(u.ZP,Object.assign({getPopupContainer:o,overflowedIndicator:c.createElement(ce.Z,null),overflowedIndicatorPopupClassName:C()(mt,`${mt}-${me}`,ut),mode:Yt,selectable:gt,onClick:Tt},It,{inlineCollapsed:Ut,style:Object.assign(Object.assign({},g==null?void 0:g.style),te),className:un,prefixCls:mt,direction:K,defaultMotions:Nn,expandIcon:Tn,ref:w,rootClassName:C()(Le,vn)}),St))))});const ve=(0,c.forwardRef)((B,w)=>{const d=(0,c.useRef)(null),n=c.useContext(v.D);return(0,c.useImperativeHandle)(w,()=>({menu:d.current,focus:R=>{var G;(G=d.current)===null||G===void 0||G.focus(R)}})),c.createElement(Xe,Object.assign({ref:d},B,n))});ve.Item=$e,ve.SubMenu=we,ve.Divider=ee,ve.ItemGroup=u.BW;var Ke=ve},58421:function(Dt,Me,e){e.d(Me,{Z:function(){return G}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},j=v,C=e(7657),$=function(o,K){return c.createElement(C.Z,(0,u.Z)({},o,{ref:K,icon:j}))},t=c.forwardRef($),oe=t,ee=e(49198),O=e(33853),se=e(38819),S=e(92310),E=e.n(S),ue=e(20068),X=e(33885),k=e(67732),$e=e(83652),ie=e(42403),we=e(158),ce=e(26112),H={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},m=H,r=e(91735),y=function(s){(0,ie.Z)(K,s);var o=(0,we.Z)(K);function K(){var g;(0,k.Z)(this,K);for(var f=arguments.length,L=new Array(f),ge=0;ge=0||te.relatedTarget.className.indexOf("".concat(I,"-item"))>=0))&&h(g.getValidValue()))},g.go=function(te){var me=g.state.goInputText;me!==""&&(te.keyCode===m.ENTER||te.type==="click")&&(g.setState({goInputText:""}),g.props.quickGo(g.getValidValue()))},g}return(0,$e.Z)(K,[{key:"getPageSizeOptions",value:function(){var f=this.props,L=f.pageSize,ge=f.pageSizeOptions;return ge.some(function(te){return te.toString()===L.toString()})?ge:ge.concat([L.toString()]).sort(function(te,me){var de=Number.isNaN(Number(te))?0:Number(te),h=Number.isNaN(Number(me))?0:Number(me);return de-h})}},{key:"render",value:function(){var f=this,L=this.props,ge=L.pageSize,te=L.locale,me=L.rootPrefixCls,de=L.changeSize,h=L.quickGo,I=L.goButton,ae=L.selectComponentClass,Ie=L.buildOptionText,Se=L.selectPrefixCls,Le=L.disabled,Qe=this.state.goInputText,Je="".concat(me,"-options"),_e=ae,ut=null,vt=null,It=null;if(!de&&!h)return null;var St=this.getPageSizeOptions();if(de&&_e){var Tt=St.map(function(Yt,gt){return c.createElement(_e.Option,{key:gt,value:Yt.toString()},(Ie||f.buildOptionText)(Yt))});ut=c.createElement(_e,{disabled:Le,prefixCls:Se,showSearch:!1,className:"".concat(Je,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ge||St[0]).toString(),onChange:this.changeSize,getPopupContainer:function(gt){return gt.parentNode},"aria-label":te.page_size,defaultOpen:!1},Tt)}return h&&(I&&(It=typeof I=="boolean"?c.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Le,className:"".concat(Je,"-quick-jumper-button")},te.jump_to_confirm):c.createElement("span",{onClick:this.go,onKeyUp:this.go},I)),vt=c.createElement("div",{className:"".concat(Je,"-quick-jumper")},te.jump_to,c.createElement("input",{disabled:Le,type:"text",value:Qe,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":te.page}),te.page,It)),c.createElement("li",{className:"".concat(Je)},ut,vt)}}]),K}(c.Component);y.defaultProps={pageSizeOptions:["10","20","50","100"]};var p=y,ne=function(o){var K,g=o.rootPrefixCls,f=o.page,L=o.active,ge=o.className,te=o.showTitle,me=o.onClick,de=o.onKeyPress,h=o.itemRender,I="".concat(g,"-item"),ae=E()(I,"".concat(I,"-").concat(f),(K={},(0,ue.Z)(K,"".concat(I,"-active"),L),(0,ue.Z)(K,"".concat(I,"-disabled"),!f),(0,ue.Z)(K,o.className,ge),K)),Ie=function(){me(f)},Se=function(Je){de(Je,me,f)},Le=h(f,"page",c.createElement("a",{rel:"nofollow"},f));return Le?c.createElement("li",{title:te?f.toString():null,className:ae,onClick:Ie,onKeyPress:Se,tabIndex:0},Le):null},D=ne;function W(){}function M(s){var o=Number(s);return typeof o=="number"&&!Number.isNaN(o)&&isFinite(o)&&Math.floor(o)===o}var xe=function(o,K,g){return g};function Y(s,o,K){var g=typeof s=="undefined"?o.pageSize:s;return Math.floor((K.total-1)/g)+1}var Ve=function(s){(0,ie.Z)(K,s);var o=(0,we.Z)(K);function K(g){var f;(0,k.Z)(this,K),f=o.call(this,g),f.paginationNode=c.createRef(),f.getJumpPrevPage=function(){return Math.max(1,f.state.current-(f.props.showLessItems?3:5))},f.getJumpNextPage=function(){return Math.min(Y(void 0,f.state,f.props),f.state.current+(f.props.showLessItems?3:5))},f.getItemIcon=function(de,h){var I=f.props.prefixCls,ae=de||c.createElement("button",{type:"button","aria-label":h,className:"".concat(I,"-item-link")});return typeof de=="function"&&(ae=c.createElement(de,(0,X.Z)({},f.props))),ae},f.isValid=function(de){var h=f.props.total;return M(de)&&de!==f.state.current&&M(h)&&h>0},f.shouldDisplayQuickJumper=function(){var de=f.props,h=de.showQuickJumper,I=de.total,ae=f.state.pageSize;return I<=ae?!1:h},f.handleKeyDown=function(de){(de.keyCode===m.ARROW_UP||de.keyCode===m.ARROW_DOWN)&&de.preventDefault()},f.handleKeyUp=function(de){var h=f.getValidValue(de),I=f.state.currentInputValue;h!==I&&f.setState({currentInputValue:h}),de.keyCode===m.ENTER?f.handleChange(h):de.keyCode===m.ARROW_UP?f.handleChange(h-1):de.keyCode===m.ARROW_DOWN&&f.handleChange(h+1)},f.handleBlur=function(de){var h=f.getValidValue(de);f.handleChange(h)},f.changePageSize=function(de){var h=f.state.current,I=Y(de,f.state,f.props);h=h>I?I:h,I===0&&(h=f.state.current),typeof de=="number"&&("pageSize"in f.props||f.setState({pageSize:de}),"current"in f.props||f.setState({current:h,currentInputValue:h})),f.props.onShowSizeChange(h,de),"onChange"in f.props&&f.props.onChange&&f.props.onChange(h,de)},f.handleChange=function(de){var h=f.props,I=h.disabled,ae=h.onChange,Ie=f.state,Se=Ie.pageSize,Le=Ie.current,Qe=Ie.currentInputValue;if(f.isValid(de)&&!I){var Je=Y(void 0,f.state,f.props),_e=de;return de>Je?_e=Je:de<1&&(_e=1),"current"in f.props||f.setState({current:_e}),_e!==Qe&&f.setState({currentInputValue:_e}),ae(_e,Se),_e}return Le},f.prev=function(){f.hasPrev()&&f.handleChange(f.state.current-1)},f.next=function(){f.hasNext()&&f.handleChange(f.state.current+1)},f.jumpPrev=function(){f.handleChange(f.getJumpPrevPage())},f.jumpNext=function(){f.handleChange(f.getJumpNextPage())},f.hasPrev=function(){return f.state.current>1},f.hasNext=function(){return f.state.current2?I-2:0),Ie=2;Ie=ge?me=ge:me=Number(L),me}},{key:"getShowSizeChanger",value:function(){var f=this.props,L=f.showSizeChanger,ge=f.total,te=f.totalBoundaryShowSizeChanger;return typeof L!="undefined"?L:ge>te}},{key:"render",value:function(){var f=this.props,L=f.prefixCls,ge=f.className,te=f.style,me=f.disabled,de=f.hideOnSinglePage,h=f.total,I=f.locale,ae=f.showQuickJumper,Ie=f.showLessItems,Se=f.showTitle,Le=f.showTotal,Qe=f.simple,Je=f.itemRender,_e=f.showPrevNextJumpers,ut=f.jumpPrevIcon,vt=f.jumpNextIcon,It=f.selectComponentClass,St=f.selectPrefixCls,Tt=f.pageSizeOptions,Yt=this.state,gt=Yt.current,Ut=Yt.pageSize,Nn=Yt.currentInputValue;if(de===!0&&h<=Ut)return null;var mt=Y(void 0,this.state,this.props),yt=[],vn=null,un=null,Tn=null,bn=null,$n=null,_n=ae&&ae.goButton,mn=Ie?1:2,Zt=gt-1>0?gt-1:0,yn=gt+1h?h:gt*Ut]));if(Qe){_n&&(typeof _n=="boolean"?$n=c.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},I.jump_to_confirm):$n=c.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},_n),$n=c.createElement("li",{title:Se?"".concat(I.jump_to).concat(gt,"/").concat(mt):null,className:"".concat(L,"-simple-pager")},$n));var A=this.renderPrev(Zt);return c.createElement("ul",(0,u.Z)({className:E()(L,"".concat(L,"-simple"),(0,ue.Z)({},"".concat(L,"-disabled"),me),ge),style:te,ref:this.paginationNode},dn),x,A?c.createElement("li",{title:Se?I.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:E()("".concat(L,"-prev"),(0,ue.Z)({},"".concat(L,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},A):null,c.createElement("li",{title:Se?"".concat(gt,"/").concat(mt):null,className:"".concat(L,"-simple-pager")},c.createElement("input",{type:"text",value:Nn,disabled:me,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),c.createElement("span",{className:"".concat(L,"-slash")},"/"),mt),c.createElement("li",{title:Se?I.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:E()("".concat(L,"-next"),(0,ue.Z)({},"".concat(L,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(yn)),$n)}if(mt<=3+mn*2){var T={locale:I,rootPrefixCls:L,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Se,itemRender:Je};mt||yt.push(c.createElement(D,(0,u.Z)({},T,{key:"noPager",page:1,className:"".concat(L,"-item-disabled")})));for(var N=1;N<=mt;N+=1){var he=gt===N;yt.push(c.createElement(D,(0,u.Z)({},T,{key:N,page:N,active:he})))}}else{var fe=Ie?I.prev_3:I.prev_5,He=Ie?I.next_3:I.next_5,Ae=Je(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ut,"prev page")),Ye=Je(this.getJumpNextPage(),"jump-next",this.getItemIcon(vt,"next page"));_e&&(vn=Ae?c.createElement("li",{title:Se?fe:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:E()("".concat(L,"-jump-prev"),(0,ue.Z)({},"".concat(L,"-jump-prev-custom-icon"),!!ut))},Ae):null,un=Ye?c.createElement("li",{title:Se?He:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:E()("".concat(L,"-jump-next"),(0,ue.Z)({},"".concat(L,"-jump-next-custom-icon"),!!vt))},Ye):null),bn=c.createElement(D,{locale:I,last:!0,rootPrefixCls:L,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:mt,page:mt,active:!1,showTitle:Se,itemRender:Je}),Tn=c.createElement(D,{locale:I,rootPrefixCls:L,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Se,itemRender:Je});var nt=Math.max(1,gt-mn),dt=Math.min(gt+mn,mt);gt-1<=mn&&(dt=1+mn*2),mt-gt<=mn&&(nt=mt-mn*2);for(var it=nt;it<=dt;it+=1){var qe=gt===it;yt.push(c.createElement(D,{locale:I,rootPrefixCls:L,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:it,page:it,active:qe,showTitle:Se,itemRender:Je}))}gt-1>=mn*2&>!==3&&(yt[0]=(0,c.cloneElement)(yt[0],{className:"".concat(L,"-item-after-jump-prev")}),yt.unshift(vn)),mt-gt>=mn*2&>!==mt-2&&(yt[yt.length-1]=(0,c.cloneElement)(yt[yt.length-1],{className:"".concat(L,"-item-before-jump-next")}),yt.push(un)),nt!==1&&yt.unshift(Tn),dt!==mt&&yt.push(bn)}var ot=!this.hasPrev()||!mt,Ct=!this.hasNext()||!mt,lt=this.renderPrev(Zt),Ot=this.renderNext(yn);return c.createElement("ul",(0,u.Z)({className:E()(L,ge,(0,ue.Z)({},"".concat(L,"-disabled"),me)),style:te,ref:this.paginationNode},dn),x,lt?c.createElement("li",{title:Se?I.prev_page:null,onClick:this.prev,tabIndex:ot?null:0,onKeyPress:this.runIfEnterPrev,className:E()("".concat(L,"-prev"),(0,ue.Z)({},"".concat(L,"-disabled"),ot)),"aria-disabled":ot},lt):null,yt,Ot?c.createElement("li",{title:Se?I.next_page:null,onClick:this.next,tabIndex:Ct?null:0,onKeyPress:this.runIfEnterNext,className:E()("".concat(L,"-next"),(0,ue.Z)({},"".concat(L,"-disabled"),Ct)),"aria-disabled":Ct},Ot):null,c.createElement(p,{disabled:me,locale:I,rootPrefixCls:L,selectComponentClass:It,selectPrefixCls:St,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:gt,pageSize:Ut,pageSizeOptions:Tt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:_n}))}}],[{key:"getDerivedStateFromProps",value:function(f,L){var ge={};if("current"in f&&(ge.current=f.current,f.current!==L.current&&(ge.currentInputValue=ge.current)),"pageSize"in f&&f.pageSize!==L.pageSize){var te=L.current,me=Y(f.pageSize,L,f);te=te>me?me:te,"current"in f||(ge.current=te,ge.currentInputValue=te),ge.pageSize=f.pageSize}return ge}}]),K}(c.Component);Ve.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:W,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:W,locale:r.Z,style:{},itemRender:xe,totalBoundaryShowSizeChanger:50};var l=Ve,F=e(22075),Z=e(36355),b=e(19716),U=e(8628),V=e(9763),q=e(57809);const le=s=>c.createElement(q.default,Object.assign({},s,{showSearch:!0,size:"small"})),re=s=>c.createElement(q.default,Object.assign({},s,{showSearch:!0,size:"middle"}));le.Option=q.default.Option,re.Option=q.default.Option;var Q=e(9937),be=e(17313),Re=e(83116),ke=e(37613);const Fe=s=>{const{componentCls:o}=s;return{[`${o}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${o}-item-link`]:{color:s.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${o}-item-link`]:{color:s.colorTextDisabled,cursor:"not-allowed"}}},[`&${o}-disabled`]:{cursor:"not-allowed",[`${o}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:s.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:s.colorBorder,backgroundColor:s.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:s.itemActiveBgDisabled},a:{color:s.itemActiveColorDisabled}}},[`${o}-item-link`]:{color:s.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${o}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${o}-simple-pager`]:{color:s.colorTextDisabled},[`${o}-jump-prev, ${o}-jump-next`]:{[`${o}-item-link-icon`]:{opacity:0},[`${o}-item-ellipsis`]:{opacity:1}}},[`&${o}-simple`]:{[`${o}-prev, ${o}-next`]:{[`&${o}-disabled ${o}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Ue=s=>{const{componentCls:o}=s;return{[`&${o}-mini ${o}-total-text, &${o}-mini ${o}-simple-pager`]:{height:s.itemSizeSM,lineHeight:`${s.itemSizeSM}px`},[`&${o}-mini ${o}-item`]:{minWidth:s.itemSizeSM,height:s.itemSizeSM,margin:0,lineHeight:`${s.itemSizeSM-2}px`},[`&${o}-mini:not(${o}-disabled) ${o}-item:not(${o}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:s.colorBgTextHover},"&:active":{backgroundColor:s.colorBgTextActive}},[`&${o}-mini ${o}-prev, &${o}-mini ${o}-next`]:{minWidth:s.itemSizeSM,height:s.itemSizeSM,margin:0,lineHeight:`${s.itemSizeSM}px`},[`&${o}-mini:not(${o}-disabled)`]:{[`${o}-prev, ${o}-next`]:{[`&:hover ${o}-item-link`]:{backgroundColor:s.colorBgTextHover},[`&:active ${o}-item-link`]:{backgroundColor:s.colorBgTextActive},[`&${o}-disabled:hover ${o}-item-link`]:{backgroundColor:"transparent"}}},[` + &${o}-mini ${o}-prev ${o}-item-link, + &${o}-mini ${o}-next ${o}-item-link + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:s.itemSizeSM,lineHeight:`${s.itemSizeSM}px`}},[`&${o}-mini ${o}-jump-prev, &${o}-mini ${o}-jump-next`]:{height:s.itemSizeSM,marginInlineEnd:0,lineHeight:`${s.itemSizeSM}px`},[`&${o}-mini ${o}-options`]:{marginInlineStart:s.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:s.miniOptionsSizeChangerTop},"&-quick-jumper":{height:s.itemSizeSM,lineHeight:`${s.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Q.x0)(s)),{width:s.paginationMiniQuickJumperInputWidth,height:s.controlHeightSM})}}}},Ge=s=>{const{componentCls:o}=s;return{[` + &${o}-simple ${o}-prev, + &${o}-simple ${o}-next + `]:{height:s.itemSizeSM,lineHeight:`${s.itemSizeSM}px`,verticalAlign:"top",[`${o}-item-link`]:{height:s.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:s.colorBgTextHover},"&:active":{backgroundColor:s.colorBgTextActive},"&::after":{height:s.itemSizeSM,lineHeight:`${s.itemSizeSM}px`}}},[`&${o}-simple ${o}-simple-pager`]:{display:"inline-block",height:s.itemSizeSM,marginInlineEnd:s.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:s.marginXS,padding:`0 ${s.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:s.itemInputBg,border:`${s.lineWidth}px ${s.lineType} ${s.colorBorder}`,borderRadius:s.borderRadius,outline:"none",transition:`border-color ${s.motionDurationMid}`,color:"inherit","&:hover":{borderColor:s.colorPrimary},"&:focus":{borderColor:s.colorPrimaryHover,boxShadow:`${s.inputOutlineOffset}px 0 ${s.controlOutlineWidth}px ${s.controlOutline}`},"&[disabled]":{color:s.colorTextDisabled,backgroundColor:s.colorBgContainerDisabled,borderColor:s.colorBorder,cursor:"not-allowed"}}}}},at=s=>{const{componentCls:o}=s;return{[`${o}-jump-prev, ${o}-jump-next`]:{outline:0,[`${o}-item-container`]:{position:"relative",[`${o}-item-link-icon`]:{color:s.colorPrimary,fontSize:s.fontSizeSM,opacity:0,transition:`all ${s.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${o}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:s.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:s.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:s.paginationEllipsisTextIndent,opacity:1,transition:`all ${s.motionDurationMid}`}},"&:hover":{[`${o}-item-link-icon`]:{opacity:1},[`${o}-item-ellipsis`]:{opacity:0}}},[` + ${o}-prev, + ${o}-jump-prev, + ${o}-jump-next + `]:{marginInlineEnd:s.marginXS},[` + ${o}-prev, + ${o}-next, + ${o}-jump-prev, + ${o}-jump-next + `]:{display:"inline-block",minWidth:s.itemSize,height:s.itemSize,color:s.colorText,fontFamily:s.fontFamily,lineHeight:`${s.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:s.borderRadius,cursor:"pointer",transition:`all ${s.motionDurationMid}`},[`${o}-prev, ${o}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:s.colorText,cursor:"pointer",userSelect:"none"},[`${o}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:s.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${s.lineWidth}px ${s.lineType} transparent`,borderRadius:s.borderRadius,outline:"none",transition:`all ${s.motionDurationMid}`},[`&:hover ${o}-item-link`]:{backgroundColor:s.colorBgTextHover},[`&:active ${o}-item-link`]:{backgroundColor:s.colorBgTextActive},[`&${o}-disabled:hover`]:{[`${o}-item-link`]:{backgroundColor:"transparent"}}},[`${o}-slash`]:{marginInlineEnd:s.paginationSlashMarginInlineEnd,marginInlineStart:s.paginationSlashMarginInlineStart},[`${o}-options`]:{display:"inline-block",marginInlineStart:s.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:s.controlHeight,marginInlineStart:s.marginXS,lineHeight:`${s.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Q.ik)(s)),{width:s.controlHeightLG*1.25,height:s.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:s.marginXS,marginInlineEnd:s.marginXS})}}}},Xe=s=>{const{componentCls:o}=s;return{[`${o}-item`]:{display:"inline-block",minWidth:s.itemSize,height:s.itemSize,marginInlineEnd:s.marginXS,fontFamily:s.fontFamily,lineHeight:`${s.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${s.lineWidth}px ${s.lineType} transparent`,borderRadius:s.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${s.paginationItemPaddingInline}px`,color:s.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${o}-item-active)`]:{"&:hover":{transition:`all ${s.motionDurationMid}`,backgroundColor:s.colorBgTextHover},"&:active":{backgroundColor:s.colorBgTextActive}},"&-active":{fontWeight:s.fontWeightStrong,backgroundColor:s.itemActiveBg,borderColor:s.colorPrimary,a:{color:s.colorPrimary},"&:hover":{borderColor:s.colorPrimaryHover},"&:hover a":{color:s.colorPrimaryHover}}}}},ve=s=>{const{componentCls:o}=s;return{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(s)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${o}-total-text`]:{display:"inline-block",height:s.itemSize,marginInlineEnd:s.marginXS,lineHeight:`${s.itemSize-2}px`,verticalAlign:"middle"}}),Xe(s)),at(s)),Ge(s)),Ue(s)),Fe(s)),{[`@media only screen and (max-width: ${s.screenLG}px)`]:{[`${o}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${s.screenSM}px)`]:{[`${o}-options`]:{display:"none"}}}),[`&${s.componentCls}-rtl`]:{direction:"rtl"}}},Ke=s=>{const{componentCls:o}=s;return{[`${o}${o}-disabled:not(${o}-mini)`]:{"&, &:hover":{[`${o}-item-link`]:{borderColor:s.colorBorder}},"&:focus-visible":{[`${o}-item-link`]:{borderColor:s.colorBorder}},[`${o}-item, ${o}-item-link`]:{backgroundColor:s.colorBgContainerDisabled,borderColor:s.colorBorder,[`&:hover:not(${o}-item-active)`]:{backgroundColor:s.colorBgContainerDisabled,borderColor:s.colorBorder,a:{color:s.colorTextDisabled}},[`&${o}-item-active`]:{backgroundColor:s.itemActiveBgDisabled}},[`${o}-prev, ${o}-next`]:{"&:hover button":{backgroundColor:s.colorBgContainerDisabled,borderColor:s.colorBorder,color:s.colorTextDisabled},[`${o}-item-link`]:{backgroundColor:s.colorBgContainerDisabled,borderColor:s.colorBorder}}},[`${o}:not(${o}-mini)`]:{[`${o}-prev, ${o}-next`]:{"&:hover button":{borderColor:s.colorPrimaryHover,backgroundColor:s.itemBg},[`${o}-item-link`]:{backgroundColor:s.itemLinkBg,borderColor:s.colorBorder},[`&:hover ${o}-item-link`]:{borderColor:s.colorPrimary,backgroundColor:s.itemBg,color:s.colorPrimary},[`&${o}-disabled`]:{[`${o}-item-link`]:{borderColor:s.colorBorder,color:s.colorTextDisabled}}},[`${o}-item`]:{backgroundColor:s.itemBg,border:`${s.lineWidth}px ${s.lineType} ${s.colorBorder}`,[`&:hover:not(${o}-item-active)`]:{borderColor:s.colorPrimary,backgroundColor:s.itemBg,a:{color:s.colorPrimary}},"&-active":{borderColor:s.colorPrimary}}}}},B=s=>{const{componentCls:o}=s;return{[`${o}:not(${o}-disabled)`]:{[`${o}-item`]:Object.assign({},(0,be.Qy)(s)),[`${o}-jump-prev, ${o}-jump-next`]:{"&:focus-visible":Object.assign({[`${o}-item-link-icon`]:{opacity:1},[`${o}-item-ellipsis`]:{opacity:0}},(0,be.oN)(s))},[`${o}-prev, ${o}-next`]:{[`&:focus-visible ${o}-item-link`]:Object.assign({},(0,be.oN)(s))}}}};var w=(0,Re.Z)("Pagination",s=>{const o=(0,ke.TS)(s,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:s.marginXXS/2,paginationMiniQuickJumperInputWidth:s.controlHeightLG*1.1,paginationItemPaddingInline:s.marginXXS*1.5,paginationEllipsisLetterSpacing:s.marginXXS/2,paginationSlashMarginInlineStart:s.marginXXS,paginationSlashMarginInlineEnd:s.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Q.e5)(s),(0,Q.TM)(s));return[ve(o),B(o),s.wireframe&&Ke(o)]},s=>({itemBg:s.colorBgContainer,itemSize:s.controlHeight,itemSizeSM:s.controlHeightSM,itemActiveBg:s.colorBgContainer,itemLinkBg:s.colorBgContainer,itemActiveColorDisabled:s.colorTextDisabled,itemActiveBgDisabled:s.controlItemBgActiveDisabled,itemInputBg:s.colorBgContainer,miniOptionsSizeChangerTop:0})),d=function(s,o){var K={};for(var g in s)Object.prototype.hasOwnProperty.call(s,g)&&o.indexOf(g)<0&&(K[g]=s[g]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var f=0,g=Object.getOwnPropertySymbols(s);f{const{prefixCls:o,selectPrefixCls:K,className:g,rootClassName:f,style:L,size:ge,locale:te,selectComponentClass:me,responsive:de,showSizeChanger:h}=s,I=d(s,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:ae}=(0,U.Z)(de),{getPrefixCls:Ie,direction:Se,pagination:Le={}}=c.useContext(Z.E_),Qe=Ie("pagination",o),[Je,_e]=w(Qe),ut=h!=null?h:Le.showSizeChanger,vt=c.useMemo(()=>{const mt=c.createElement("span",{className:`${Qe}-item-ellipsis`},"\u2022\u2022\u2022"),yt=c.createElement("button",{className:`${Qe}-item-link`,type:"button",tabIndex:-1},Se==="rtl"?c.createElement(se.Z,null):c.createElement(O.Z,null)),vn=c.createElement("button",{className:`${Qe}-item-link`,type:"button",tabIndex:-1},Se==="rtl"?c.createElement(O.Z,null):c.createElement(se.Z,null)),un=c.createElement("a",{className:`${Qe}-item-link`},c.createElement("div",{className:`${Qe}-item-container`},Se==="rtl"?c.createElement(ee.Z,{className:`${Qe}-item-link-icon`}):c.createElement(oe,{className:`${Qe}-item-link-icon`}),mt)),Tn=c.createElement("a",{className:`${Qe}-item-link`},c.createElement("div",{className:`${Qe}-item-container`},Se==="rtl"?c.createElement(oe,{className:`${Qe}-item-link-icon`}):c.createElement(ee.Z,{className:`${Qe}-item-link-icon`}),mt));return{prevIcon:yt,nextIcon:vn,jumpPrevIcon:un,jumpNextIcon:Tn}},[Se,Qe]),[It]=(0,V.Z)("Pagination",F.Z),St=Object.assign(Object.assign({},It),te),Tt=(0,b.Z)(ge),Yt=Tt==="small"||!!(ae&&!Tt&&de),gt=Ie("select",K),Ut=E()({[`${Qe}-mini`]:Yt,[`${Qe}-rtl`]:Se==="rtl"},Le==null?void 0:Le.className,g,f,_e),Nn=Object.assign(Object.assign({},Le==null?void 0:Le.style),L);return Je(c.createElement(l,Object.assign({},vt,I,{style:Nn,prefixCls:Qe,selectPrefixCls:gt,className:Ut,selectComponentClass:me||(Yt?le:re),locale:St,showSizeChanger:ut})))},G=R},5112:function(Dt,Me,e){e.d(Me,{ZP:function(){return U}});var u=e(92310),c=e.n(u),v=e(18929),j=e(26112),C=e(59301),$=e(36355),t=e(19716);const oe=C.createContext(null),ee=oe.Provider;var O=oe;const se=C.createContext(null),S=se.Provider;var E=e(5630),ue=e(8654),X=e(1684),k=e(32441),$e=e(17313),ie=e(83116),we=e(37613);const ce=V=>{const{componentCls:q,antCls:le}=V,re=`${q}-group`;return{[re]:Object.assign(Object.assign({},(0,$e.Wf)(V)),{display:"inline-block",fontSize:0,[`&${re}-rtl`]:{direction:"rtl"},[`${le}-badge ${le}-badge-count`]:{zIndex:1},[`> ${le}-badge:not(:first-child) > ${le}-button-wrapper`]:{borderInlineStart:"none"}})}},H=V=>{const{componentCls:q,wrapperMarginInlineEnd:le,colorPrimary:re,radioSize:Q,motionDurationSlow:be,motionDurationMid:Re,motionEaseInOutCirc:ke,colorBgContainer:Fe,colorBorder:Ue,lineWidth:Ge,dotSize:at,colorBgContainerDisabled:Xe,colorTextDisabled:ve,paddingXS:Ke,dotColorDisabled:B,lineType:w,radioDotDisabledSize:d,wireframe:n,colorWhite:R}=V,G=`${q}-inner`;return{[`${q}-wrapper`]:Object.assign(Object.assign({},(0,$e.Wf)(V)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:le,cursor:"pointer",[`&${q}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:V.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${q}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Ge}px ${w} ${re}`,borderRadius:"50%",visibility:"hidden",content:'""'},[q]:Object.assign(Object.assign({},(0,$e.Wf)(V)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${q}-wrapper:hover &, + &:hover ${G}`]:{borderColor:re},[`${q}-input:focus-visible + ${G}`]:Object.assign({},(0,$e.oN)(V)),[`${q}:hover::after, ${q}-wrapper:hover &::after`]:{visibility:"visible"},[`${q}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Q,height:Q,marginBlockStart:Q/-2,marginInlineStart:Q/-2,backgroundColor:n?re:R,borderBlockStart:0,borderInlineStart:0,borderRadius:Q,transform:"scale(0)",opacity:0,transition:`all ${be} ${ke}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Q,height:Q,backgroundColor:Fe,borderColor:Ue,borderStyle:"solid",borderWidth:Ge,borderRadius:"50%",transition:`all ${Re}`},[`${q}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${q}-checked`]:{[G]:{borderColor:re,backgroundColor:n?Fe:re,"&::after":{transform:`scale(${at/Q})`,opacity:1,transition:`all ${be} ${ke}`}}},[`${q}-disabled`]:{cursor:"not-allowed",[G]:{backgroundColor:Xe,borderColor:Ue,cursor:"not-allowed","&::after":{backgroundColor:B}},[`${q}-input`]:{cursor:"not-allowed"},[`${q}-disabled + span`]:{color:ve,cursor:"not-allowed"},[`&${q}-checked`]:{[G]:{"&::after":{transform:`scale(${d/Q})`}}}},[`span${q} + *`]:{paddingInlineStart:Ke,paddingInlineEnd:Ke}})}},m=V=>{const{buttonColor:q,controlHeight:le,componentCls:re,lineWidth:Q,lineType:be,colorBorder:Re,motionDurationSlow:ke,motionDurationMid:Fe,buttonPaddingInline:Ue,fontSize:Ge,buttonBg:at,fontSizeLG:Xe,controlHeightLG:ve,controlHeightSM:Ke,paddingXS:B,borderRadius:w,borderRadiusSM:d,borderRadiusLG:n,buttonCheckedBg:R,buttonSolidCheckedColor:G,colorTextDisabled:s,colorBgContainerDisabled:o,buttonCheckedBgDisabled:K,buttonCheckedColorDisabled:g,colorPrimary:f,colorPrimaryHover:L,colorPrimaryActive:ge,buttonSolidCheckedBg:te,buttonSolidCheckedHoverBg:me,buttonSolidCheckedActiveBg:de}=V;return{[`${re}-button-wrapper`]:{position:"relative",display:"inline-block",height:le,margin:0,paddingInline:Ue,paddingBlock:0,color:q,fontSize:Ge,lineHeight:`${le-Q*2}px`,background:at,border:`${Q}px ${be} ${Re}`,borderBlockStartWidth:Q+.02,borderInlineStartWidth:0,borderInlineEndWidth:Q,cursor:"pointer",transition:[`color ${Fe}`,`background ${Fe}`,`box-shadow ${Fe}`].join(","),a:{color:q},[`> ${re}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Q,insetInlineStart:-Q,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Q,paddingInline:0,backgroundColor:Re,transition:`background-color ${ke}`,content:'""'}},"&:first-child":{borderInlineStart:`${Q}px ${be} ${Re}`,borderStartStartRadius:w,borderEndStartRadius:w},"&:last-child":{borderStartEndRadius:w,borderEndEndRadius:w},"&:first-child:last-child":{borderRadius:w},[`${re}-group-large &`]:{height:ve,fontSize:Xe,lineHeight:`${ve-Q*2}px`,"&:first-child":{borderStartStartRadius:n,borderEndStartRadius:n},"&:last-child":{borderStartEndRadius:n,borderEndEndRadius:n}},[`${re}-group-small &`]:{height:Ke,paddingInline:B-Q,paddingBlock:0,lineHeight:`${Ke-Q*2}px`,"&:first-child":{borderStartStartRadius:d,borderEndStartRadius:d},"&:last-child":{borderStartEndRadius:d,borderEndEndRadius:d}},"&:hover":{position:"relative",color:f},"&:has(:focus-visible)":Object.assign({},(0,$e.oN)(V)),[`${re}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${re}-button-wrapper-disabled)`]:{zIndex:1,color:f,background:R,borderColor:f,"&::before":{backgroundColor:f},"&:first-child":{borderColor:f},"&:hover":{color:L,borderColor:L,"&::before":{backgroundColor:L}},"&:active":{color:ge,borderColor:ge,"&::before":{backgroundColor:ge}}},[`${re}-group-solid &-checked:not(${re}-button-wrapper-disabled)`]:{color:G,background:te,borderColor:te,"&:hover":{color:G,background:me,borderColor:me},"&:active":{color:G,background:de,borderColor:de}},"&-disabled":{color:s,backgroundColor:o,borderColor:Re,cursor:"not-allowed","&:first-child, &:hover":{color:s,backgroundColor:o,borderColor:Re}},[`&-disabled${re}-button-wrapper-checked`]:{color:g,backgroundColor:K,borderColor:Re,boxShadow:"none"}}}},r=V=>V-4*2;var y=(0,ie.Z)("Radio",V=>{const{controlOutline:q,controlOutlineWidth:le,radioSize:re}=V,Q=`0 0 0 ${le}px ${q}`,be=Q,Re=r(re),ke=(0,we.TS)(V,{radioDotDisabledSize:Re,radioFocusShadow:Q,radioButtonFocusShadow:be});return[ce(ke),H(ke),m(ke)]},V=>{const{wireframe:q,padding:le,marginXS:re,lineWidth:Q,fontSizeLG:be,colorText:Re,colorBgContainer:ke,colorTextDisabled:Fe,controlItemBgActiveDisabled:Ue,colorTextLightSolid:Ge,colorPrimary:at,colorPrimaryHover:Xe,colorPrimaryActive:ve}=V,Ke=4,B=be,w=q?r(B):B-(Ke+Q)*2;return{radioSize:B,dotSize:w,dotColorDisabled:Fe,buttonSolidCheckedColor:Ge,buttonSolidCheckedBg:at,buttonSolidCheckedHoverBg:Xe,buttonSolidCheckedActiveBg:ve,buttonBg:ke,buttonCheckedBg:ke,buttonColor:Re,buttonCheckedBgDisabled:Ue,buttonCheckedColorDisabled:Fe,buttonPaddingInline:le-Q,wrapperMarginInlineEnd:re}}),p=e(14088),ne=e(4572),D=function(V,q){var le={};for(var re in V)Object.prototype.hasOwnProperty.call(V,re)&&q.indexOf(re)<0&&(le[re]=V[re]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,re=Object.getOwnPropertySymbols(V);Q{var le,re;const Q=C.useContext(O),be=C.useContext(se),{getPrefixCls:Re,direction:ke,radio:Fe}=C.useContext($.E_),Ue=C.useRef(null),Ge=(0,ue.sQ)(q,Ue),{isFormItemInput:at}=C.useContext(k.aM),Xe=ge=>{var te,me;(te=V.onChange)===null||te===void 0||te.call(V,ge),(me=Q==null?void 0:Q.onChange)===null||me===void 0||me.call(Q,ge)},{prefixCls:ve,className:Ke,rootClassName:B,children:w,style:d}=V,n=D(V,["prefixCls","className","rootClassName","children","style"]),R=Re("radio",ve),G=((Q==null?void 0:Q.optionType)||be)==="button",s=G?`${R}-button`:R,[o,K]=y(R),g=Object.assign({},n),f=C.useContext(X.Z);Q&&(g.name=Q.name,g.onChange=Xe,g.checked=V.value===Q.value,g.disabled=(le=g.disabled)!==null&&le!==void 0?le:Q.disabled),g.disabled=(re=g.disabled)!==null&&re!==void 0?re:f;const L=c()(`${s}-wrapper`,{[`${s}-wrapper-checked`]:g.checked,[`${s}-wrapper-disabled`]:g.disabled,[`${s}-wrapper-rtl`]:ke==="rtl",[`${s}-wrapper-in-form-item`]:at},Fe==null?void 0:Fe.className,Ke,B,K);return o(C.createElement(p.Z,{component:"Radio",disabled:g.disabled},C.createElement("label",{className:L,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),d),onMouseEnter:V.onMouseEnter,onMouseLeave:V.onMouseLeave},C.createElement(E.Z,Object.assign({},g,{className:c()(g.className,!G&&ne.A),type:"radio",prefixCls:s,ref:Ge})),w!==void 0?C.createElement("span",null,w):null)))};var xe=C.forwardRef(W);const Y=C.forwardRef((V,q)=>{const{getPrefixCls:le,direction:re}=C.useContext($.E_),[Q,be]=(0,v.Z)(V.defaultValue,{value:V.value}),Re=te=>{const me=Q,de=te.target.value;"value"in V||be(de);const{onChange:h}=V;h&&de!==me&&h(te)},{prefixCls:ke,className:Fe,rootClassName:Ue,options:Ge,buttonStyle:at="outline",disabled:Xe,children:ve,size:Ke,style:B,id:w,onMouseEnter:d,onMouseLeave:n,onFocus:R,onBlur:G}=V,s=le("radio",ke),o=`${s}-group`,[K,g]=y(s);let f=ve;Ge&&Ge.length>0&&(f=Ge.map(te=>typeof te=="string"||typeof te=="number"?C.createElement(xe,{key:te.toString(),prefixCls:s,disabled:Xe,value:te,checked:Q===te},te):C.createElement(xe,{key:`radio-group-value-options-${te.value}`,prefixCls:s,disabled:te.disabled||Xe,value:te.value,checked:Q===te.value,title:te.title,style:te.style},te.label)));const L=(0,t.Z)(Ke),ge=c()(o,`${o}-${at}`,{[`${o}-${L}`]:L,[`${o}-rtl`]:re==="rtl"},Fe,Ue,g);return K(C.createElement("div",Object.assign({},(0,j.Z)(V,{aria:!0,data:!0}),{className:ge,style:B,onMouseEnter:d,onMouseLeave:n,onFocus:R,onBlur:G,id:w,ref:q}),C.createElement(ee,{value:{onChange:Re,value:Q,disabled:V.disabled,name:V.name,optionType:V.optionType}},f)))});var Ve=C.memo(Y),l=function(V,q){var le={};for(var re in V)Object.prototype.hasOwnProperty.call(V,re)&&q.indexOf(re)<0&&(le[re]=V[re]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,re=Object.getOwnPropertySymbols(V);Q{const{getPrefixCls:le}=C.useContext($.E_),{prefixCls:re}=V,Q=l(V,["prefixCls"]),be=le("radio",re);return C.createElement(S,{value:"button"},C.createElement(xe,Object.assign({prefixCls:be},Q,{type:"radio",ref:q})))};var Z=C.forwardRef(F);const b=xe;b.Button=Z,b.Group=Ve,b.__ANT_RADIO=!0;var U=b},57809:function(Dt,Me,e){var u=e(92310),c=e.n(u),v=e(77861),j=e(2738),C=e(59301),$=e(53487),t=e(62892),oe=e(19080),ee=e(36355),O=e(1684),se=e(93891),S=e(19716),E=e(32441),ue=e(33234),X=e(14154),k=e(58582),$e=e(84443),ie=e(66339),we=function(y,p){var ne={};for(var D in y)Object.prototype.hasOwnProperty.call(y,D)&&p.indexOf(D)<0&&(ne[D]=y[D]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,D=Object.getOwnPropertySymbols(y);W{var ne,{prefixCls:D,bordered:W=!0,className:M,rootClassName:xe,getPopupContainer:Y,popupClassName:Ve,dropdownClassName:l,listHeight:F=256,placement:Z,listItemHeight:b=24,size:U,disabled:V,notFoundContent:q,status:le,builtinPlacements:re,dropdownMatchSelectWidth:Q,popupMatchSelectWidth:be,direction:Re,style:ke,allowClear:Fe}=y,Ue=we(y,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Ge,getPrefixCls:at,renderEmpty:Xe,direction:ve,virtual:Ke,popupMatchSelectWidth:B,popupOverflow:w,select:d}=C.useContext(ee.E_),n=at("select",D),R=at(),G=Re!=null?Re:ve,{compactSize:s,compactItemClassnames:o}=(0,ue.ri)(n,G),[K,g]=(0,X.Z)(n),f=C.useMemo(()=>{const{mode:Nn}=Ue;if(Nn!=="combobox")return Nn===ce?"combobox":Nn},[Ue.mode]),L=f==="multiple"||f==="tags",ge=(0,$e.Z)(Ue.suffixIcon,Ue.showArrow),te=(ne=be!=null?be:Q)!==null&&ne!==void 0?ne:B,{status:me,hasFeedback:de,isFormItemInput:h,feedbackIcon:I}=C.useContext(E.aM),ae=(0,oe.F)(me,le);let Ie;q!==void 0?Ie=q:f==="combobox"?Ie=null:Ie=(Xe==null?void 0:Xe("Select"))||C.createElement(se.Z,{componentName:"Select"});const{suffixIcon:Se,itemIcon:Le,removeIcon:Qe,clearIcon:Je}=(0,ie.Z)(Object.assign(Object.assign({},Ue),{multiple:L,hasFeedback:de,feedbackIcon:I,showSuffixIcon:ge,prefixCls:n,showArrow:Ue.showArrow,componentName:"Select"})),_e=Fe===!0?{clearIcon:Je}:Fe,ut=(0,j.Z)(Ue,["suffixIcon","itemIcon"]),vt=c()(Ve||l,{[`${n}-dropdown-${G}`]:G==="rtl"},xe,g),It=(0,S.Z)(Nn=>{var mt;return(mt=U!=null?U:s)!==null&&mt!==void 0?mt:Nn}),St=C.useContext(O.Z),Tt=V!=null?V:St,Yt=c()({[`${n}-lg`]:It==="large",[`${n}-sm`]:It==="small",[`${n}-rtl`]:G==="rtl",[`${n}-borderless`]:!W,[`${n}-in-form-item`]:h},(0,oe.Z)(n,ae,de),o,d==null?void 0:d.className,M,xe,g),gt=C.useMemo(()=>Z!==void 0?Z:G==="rtl"?"bottomRight":"bottomLeft",[Z,G]),Ut=(0,k.Z)(re,w);return K(C.createElement(v.ZP,Object.assign({ref:p,virtual:Ke,showSearch:d==null?void 0:d.showSearch},ut,{style:Object.assign(Object.assign({},d==null?void 0:d.style),ke),dropdownMatchSelectWidth:te,builtinPlacements:Ut,transitionName:(0,t.m)(R,"slide-up",Ue.transitionName),listHeight:F,listItemHeight:b,mode:f,prefixCls:n,placement:gt,direction:G,suffixIcon:Se,menuItemSelectedIcon:Le,removeIcon:Qe,allowClear:_e,notFoundContent:Ie,className:Yt,getPopupContainer:Y||Ge,dropdownClassName:vt,disabled:Tt})))},m=C.forwardRef(H),r=(0,$.Z)(m);m.SECRET_COMBOBOX_MODE_DO_NOT_USE=ce,m.Option=v.Wx,m.OptGroup=v.Xo,m._InternalPanelDoNotUseOrYouWillBeFired=r,Me.default=m},14154:function(Dt,Me,e){e.d(Me,{Z:function(){return m}});var u=e(17313),c=e(74207),v=e(37613),j=e(83116),C=e(13826),$=e(92899);const t=r=>{const{optionHeight:y,optionFontSize:p,optionLineHeight:ne,optionPadding:D}=r;return{position:"relative",display:"block",minHeight:y,padding:D,color:r.colorText,fontWeight:"normal",fontSize:p,lineHeight:ne,boxSizing:"border-box"}};var ee=r=>{const{antCls:y,componentCls:p}=r,ne=`${p}-item`,D=`&${y}-slide-up-enter${y}-slide-up-enter-active`,W=`&${y}-slide-up-appear${y}-slide-up-appear-active`,M=`&${y}-slide-up-leave${y}-slide-up-leave-active`,xe=`${p}-dropdown-placement-`;return[{[`${p}-dropdown`]:Object.assign(Object.assign({},(0,u.Wf)(r)),{position:"absolute",top:-9999,zIndex:r.zIndexPopup,boxSizing:"border-box",padding:r.paddingXXS,overflow:"hidden",fontSize:r.fontSize,fontVariant:"initial",backgroundColor:r.colorBgElevated,borderRadius:r.borderRadiusLG,outline:"none",boxShadow:r.boxShadowSecondary,[` + ${D}${xe}bottomLeft, + ${W}${xe}bottomLeft + `]:{animationName:C.fJ},[` + ${D}${xe}topLeft, + ${W}${xe}topLeft, + ${D}${xe}topRight, + ${W}${xe}topRight + `]:{animationName:C.Qt},[`${M}${xe}bottomLeft`]:{animationName:C.Uw},[` + ${M}${xe}topLeft, + ${M}${xe}topRight + `]:{animationName:C.ly},"&-hidden":{display:"none"},[`${ne}`]:Object.assign(Object.assign({},t(r)),{cursor:"pointer",transition:`background ${r.motionDurationSlow} ease`,borderRadius:r.borderRadiusSM,"&-group":{color:r.colorTextDescription,fontSize:r.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},u.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ne}-option-disabled)`]:{backgroundColor:r.optionActiveBg},[`&-selected:not(${ne}-option-disabled)`]:{color:r.optionSelectedColor,fontWeight:r.optionSelectedFontWeight,backgroundColor:r.optionSelectedBg,[`${ne}-option-state`]:{color:r.colorPrimary}},"&-disabled":{[`&${ne}-option-selected`]:{backgroundColor:r.colorBgContainerDisabled},color:r.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:r.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,C.oN)(r,"slide-up"),(0,C.oN)(r,"slide-down"),(0,$.Fm)(r,"move-up"),(0,$.Fm)(r,"move-down")]};const O=2,se=r=>{let{controlHeightSM:y,controlHeight:p,lineWidth:ne}=r;const D=(p-y)/2-ne,W=Math.ceil(D/2);return[D,W]};function S(r,y){const{componentCls:p,iconCls:ne}=r,D=`${p}-selection-overflow`,W=r.multipleSelectItemHeight,[M]=se(r),xe=y?`${p}-${y}`:"";return{[`${p}-multiple${xe}`]:{fontSize:r.fontSize,[D]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${p}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${M-O}px ${O*2}px`,borderRadius:r.borderRadius,[`${p}-show-search&`]:{cursor:"text"},[`${p}-disabled&`]:{background:r.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${O}px 0`,lineHeight:`${W}px`,visibility:"hidden",content:'"\\a0"'}},[` + &${p}-show-arrow ${p}-selector, + &${p}-allow-clear ${p}-selector + `]:{paddingInlineEnd:r.fontSizeIcon+r.controlPaddingHorizontal},[`${p}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:W,marginTop:O,marginBottom:O,lineHeight:`${W-r.lineWidth*2}px`,background:r.multipleItemBg,border:`${r.lineWidth}px ${r.lineType} ${r.multipleItemBorderColor}`,borderRadius:r.borderRadiusSM,cursor:"default",transition:`font-size ${r.motionDurationSlow}, line-height ${r.motionDurationSlow}, height ${r.motionDurationSlow}`,userSelect:"none",marginInlineEnd:O*2,paddingInlineStart:r.paddingXS,paddingInlineEnd:r.paddingXS/2,[`${p}-disabled&`]:{color:r.multipleItemColorDisabled,borderColor:r.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:r.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,u.Ro)()),{display:"inline-flex",alignItems:"center",color:r.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${ne}`]:{verticalAlign:"-0.2em"},"&:hover":{color:r.colorIconHover}})},[`${D}-item + ${D}-item`]:{[`${p}-selection-search`]:{marginInlineStart:0}},[`${p}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:r.inputPaddingHorizontalBase-M,"\n &-input,\n &-mirror\n ":{height:W,fontFamily:r.fontFamily,lineHeight:`${W}px`,transition:`all ${r.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${p}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:r.inputPaddingHorizontalBase,insetInlineEnd:r.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${r.motionDurationSlow}`}}}}var ue=r=>{const{componentCls:y}=r,p=(0,v.TS)(r,{controlHeight:r.controlHeightSM,multipleSelectItemHeight:r.controlHeightXS,borderRadius:r.borderRadiusSM,borderRadiusSM:r.borderRadiusXS}),ne=(0,v.TS)(r,{fontSize:r.fontSizeLG,controlHeight:r.controlHeightLG,multipleSelectItemHeight:r.multipleItemHeightLG,borderRadius:r.borderRadiusLG,borderRadiusSM:r.borderRadius}),[,D]=se(r);return[S(r),S(p,"sm"),{[`${y}-multiple${y}-sm`]:{[`${y}-selection-placeholder`]:{insetInline:r.controlPaddingHorizontalSM-r.lineWidth},[`${y}-selection-search`]:{marginInlineStart:D}}},S(ne,"lg")]};function X(r,y){const{componentCls:p,inputPaddingHorizontalBase:ne,borderRadius:D}=r,W=r.controlHeight-r.lineWidth*2,M=Math.ceil(r.fontSize*1.25),xe=y?`${p}-${y}`:"";return{[`${p}-single${xe}`]:{fontSize:r.fontSize,[`${p}-selector`]:Object.assign(Object.assign({},(0,u.Wf)(r)),{display:"flex",borderRadius:D,[`${p}-selection-search`]:{position:"absolute",top:0,insetInlineStart:ne,insetInlineEnd:ne,bottom:0,"&-input":{width:"100%"}},[` + ${p}-selection-item, + ${p}-selection-placeholder + `]:{padding:0,lineHeight:`${W}px`,transition:`all ${r.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${W}px`}},[`${p}-selection-item`]:{position:"relative",userSelect:"none"},[`${p}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${p}-selection-item:after`,`${p}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${p}-show-arrow ${p}-selection-item, + &${p}-show-arrow ${p}-selection-placeholder + `]:{paddingInlineEnd:M},[`&${p}-open ${p}-selection-item`]:{color:r.colorTextPlaceholder},[`&:not(${p}-customize-input)`]:{[`${p}-selector`]:{width:"100%",height:r.controlHeight,padding:`0 ${ne}px`,[`${p}-selection-search-input`]:{height:W},"&:after":{lineHeight:`${W}px`}}},[`&${p}-customize-input`]:{[`${p}-selector`]:{"&:after":{display:"none"},[`${p}-selection-search`]:{position:"static",width:"100%"},[`${p}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${ne}px`,"&:after":{display:"none"}}}}}}}function k(r){const{componentCls:y}=r,p=r.controlPaddingHorizontalSM-r.lineWidth;return[X(r),X((0,v.TS)(r,{controlHeight:r.controlHeightSM,borderRadius:r.borderRadiusSM}),"sm"),{[`${y}-single${y}-sm`]:{[`&:not(${y}-customize-input)`]:{[`${y}-selection-search`]:{insetInlineStart:p,insetInlineEnd:p},[`${y}-selector`]:{padding:`0 ${p}px`},[`&${y}-show-arrow ${y}-selection-search`]:{insetInlineEnd:p+r.fontSize*1.5},[` + &${y}-show-arrow ${y}-selection-item, + &${y}-show-arrow ${y}-selection-placeholder + `]:{paddingInlineEnd:r.fontSize*1.5}}}},X((0,v.TS)(r,{controlHeight:r.singleItemHeightLG,fontSize:r.fontSizeLG,borderRadius:r.borderRadiusLG}),"lg")]}const $e=r=>{const{componentCls:y,selectorBg:p}=r;return{position:"relative",backgroundColor:p,border:`${r.lineWidth}px ${r.lineType} ${r.colorBorder}`,transition:`all ${r.motionDurationMid} ${r.motionEaseInOut}`,input:{cursor:"pointer"},[`${y}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${y}-disabled&`]:{color:r.colorTextDisabled,background:r.colorBgContainerDisabled,cursor:"not-allowed",[`${y}-multiple&`]:{background:r.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},ie=function(r,y){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:ne,borderHoverColor:D,outlineColor:W,antCls:M}=y,xe=p?{[`${ne}-selector`]:{borderColor:D}}:{};return{[r]:{[`&:not(${ne}-disabled):not(${ne}-customize-input):not(${M}-pagination-size-changer)`]:Object.assign(Object.assign({},xe),{[`${ne}-focused& ${ne}-selector`]:{borderColor:D,boxShadow:`0 0 0 ${y.controlOutlineWidth}px ${W}`,outline:0},[`&:hover ${ne}-selector`]:{borderColor:D}})}}},we=r=>{const{componentCls:y}=r;return{[`${y}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},ce=r=>{const{componentCls:y,inputPaddingHorizontalBase:p,iconCls:ne}=r;return{[y]:Object.assign(Object.assign({},(0,u.Wf)(r)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${y}-customize-input) ${y}-selector`]:Object.assign(Object.assign({},$e(r)),we(r)),[`${y}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},u.vS),[`${y}-selection-placeholder`]:Object.assign(Object.assign({},u.vS),{flex:1,color:r.colorTextPlaceholder,pointerEvents:"none"}),[`${y}-arrow`]:Object.assign(Object.assign({},(0,u.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:p,height:r.fontSizeIcon,marginTop:-r.fontSizeIcon/2,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[ne]:{verticalAlign:"top",transition:`transform ${r.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${y}-suffix)`]:{pointerEvents:"auto"}},[`${y}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${y}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:p,zIndex:1,display:"inline-block",width:r.fontSizeIcon,height:r.fontSizeIcon,marginTop:-r.fontSizeIcon/2,color:r.colorTextQuaternary,fontSize:r.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:r.clearBg,cursor:"pointer",opacity:0,transition:`color ${r.motionDurationMid} ease, opacity ${r.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:r.colorTextTertiary}},"&:hover":{[`${y}-clear`]:{opacity:1}}}),[`${y}-has-feedback`]:{[`${y}-clear`]:{insetInlineEnd:p+r.fontSize+r.paddingXS}}}},H=r=>{const{componentCls:y}=r;return[{[y]:{[`&-borderless ${y}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${y}-in-form-item`]:{width:"100%"}}},ce(r),k(r),ue(r),ee(r),{[`${y}-rtl`]:{direction:"rtl"}},ie(y,(0,v.TS)(r,{borderHoverColor:r.colorPrimaryHover,outlineColor:r.controlOutline})),ie(`${y}-status-error`,(0,v.TS)(r,{borderHoverColor:r.colorErrorHover,outlineColor:r.colorErrorOutline}),!0),ie(`${y}-status-warning`,(0,v.TS)(r,{borderHoverColor:r.colorWarningHover,outlineColor:r.colorWarningOutline}),!0),(0,c.c)(r,{borderElCls:`${y}-selector`,focusElCls:`${y}-focused`})]};var m=(0,j.Z)("Select",(r,y)=>{let{rootPrefixCls:p}=y;const ne=(0,v.TS)(r,{rootPrefixCls:p,inputPaddingHorizontalBase:r.paddingSM-1,multipleSelectItemHeight:r.multipleItemHeight});return[H(ne)]},r=>{const{fontSize:y,lineHeight:p,controlHeight:ne,controlPaddingHorizontal:D,zIndexPopupBase:W,colorText:M,fontWeightStrong:xe,controlItemBgActive:Y,controlItemBgHover:Ve,colorBgContainer:l,colorFillSecondary:F,controlHeightLG:Z,controlHeightSM:b,colorBgContainerDisabled:U,colorTextDisabled:V}=r;return{zIndexPopup:W+50,optionSelectedColor:M,optionSelectedFontWeight:xe,optionSelectedBg:Y,optionActiveBg:Ve,optionPadding:`${(ne-y*p)/2}px ${D}px`,optionFontSize:y,optionLineHeight:p,optionHeight:ne,selectorBg:l,clearBg:l,singleItemHeightLG:Z,multipleItemBg:F,multipleItemBorderColor:"transparent",multipleItemHeight:b,multipleItemHeightLG:ne,multipleSelectorBgDisabled:U,multipleItemColorDisabled:V,multipleItemBorderColorDisabled:"transparent"}})},58582:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});const u=v=>{const C={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:v==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},C),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},C),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},C),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},C),{points:["br","tr"],offset:[0,-4]})}};function c(v,j){return v||u(j)}},84443:function(Dt,Me,e){e.d(Me,{Z:function(){return u}});function u(c,v){return v!==void 0?v:c!==null}},66339:function(Dt,Me,e){e.d(Me,{Z:function(){return oe}});var u=e(40001),c=e(19248),v=e(99267),j=e(84105),C=e(58617),$=e(47472),t=e(59301);function oe(ee){let{suffixIcon:O,clearIcon:se,menuItemSelectedIcon:S,removeIcon:E,loading:ue,multiple:X,hasFeedback:k,prefixCls:$e,showSuffixIcon:ie,feedbackIcon:we,showArrow:ce,componentName:H}=ee;const m=se!=null?se:t.createElement(c.Z,null),r=D=>O===null&&!k&&!ce?null:t.createElement(t.Fragment,null,ie!==!1&&D,k&&we);let y=null;if(O!==void 0)y=r(O);else if(ue)y=r(t.createElement(C.Z,{spin:!0}));else{const D=`${$e}-suffix`;y=W=>{let{open:M,showSearch:xe}=W;return r(M&&xe?t.createElement($.Z,{className:D}):t.createElement(j.Z,{className:D}))}}let p=null;S!==void 0?p=S:X?p=t.createElement(u.Z,null):p=null;let ne=null;return E!==void 0?ne=E:ne=t.createElement(v.Z,null),{clearIcon:m,suffixIcon:y,itemIcon:p,removeIcon:ne}}},61621:function(Dt,Me,e){e.d(Me,{Z:function(){return w}});var u=e(92310),c=e.n(u),v=e(59301),j=e(36355),C=e(2738),t=d=>{const{prefixCls:n,className:R,style:G,size:s,shape:o}=d,K=c()({[`${n}-lg`]:s==="large",[`${n}-sm`]:s==="small"}),g=c()({[`${n}-circle`]:o==="circle",[`${n}-square`]:o==="square",[`${n}-round`]:o==="round"}),f=v.useMemo(()=>typeof s=="number"?{width:s,height:s,lineHeight:`${s}px`}:{},[s]);return v.createElement("span",{className:c()(n,K,g,R),style:Object.assign(Object.assign({},f),G)})},oe=e(36237),ee=e(83116),O=e(37613);const se=new oe.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),S=d=>({height:d,lineHeight:`${d}px`}),E=d=>Object.assign({width:d},S(d)),ue=d=>({background:d.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:se,animationDuration:d.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),X=d=>Object.assign({width:d*5,minWidth:d*5},S(d)),k=d=>{const{skeletonAvatarCls:n,gradientFromColor:R,controlHeight:G,controlHeightLG:s,controlHeightSM:o}=d;return{[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:R},E(G)),[`${n}${n}-circle`]:{borderRadius:"50%"},[`${n}${n}-lg`]:Object.assign({},E(s)),[`${n}${n}-sm`]:Object.assign({},E(o))}},$e=d=>{const{controlHeight:n,borderRadiusSM:R,skeletonInputCls:G,controlHeightLG:s,controlHeightSM:o,gradientFromColor:K}=d;return{[`${G}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:K,borderRadius:R},X(n)),[`${G}-lg`]:Object.assign({},X(s)),[`${G}-sm`]:Object.assign({},X(o))}},ie=d=>Object.assign({width:d},S(d)),we=d=>{const{skeletonImageCls:n,imageSizeBase:R,gradientFromColor:G,borderRadiusSM:s}=d;return{[`${n}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:G,borderRadius:s},ie(R*2)),{[`${n}-path`]:{fill:"#bfbfbf"},[`${n}-svg`]:Object.assign(Object.assign({},ie(R)),{maxWidth:R*4,maxHeight:R*4}),[`${n}-svg${n}-svg-circle`]:{borderRadius:"50%"}}),[`${n}${n}-circle`]:{borderRadius:"50%"}}},ce=(d,n,R)=>{const{skeletonButtonCls:G}=d;return{[`${R}${G}-circle`]:{width:n,minWidth:n,borderRadius:"50%"},[`${R}${G}-round`]:{borderRadius:n}}},H=d=>Object.assign({width:d*2,minWidth:d*2},S(d)),m=d=>{const{borderRadiusSM:n,skeletonButtonCls:R,controlHeight:G,controlHeightLG:s,controlHeightSM:o,gradientFromColor:K}=d;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:K,borderRadius:n,width:G*2,minWidth:G*2},H(G))},ce(d,G,R)),{[`${R}-lg`]:Object.assign({},H(s))}),ce(d,s,`${R}-lg`)),{[`${R}-sm`]:Object.assign({},H(o))}),ce(d,o,`${R}-sm`))},r=d=>{const{componentCls:n,skeletonAvatarCls:R,skeletonTitleCls:G,skeletonParagraphCls:s,skeletonButtonCls:o,skeletonInputCls:K,skeletonImageCls:g,controlHeight:f,controlHeightLG:L,controlHeightSM:ge,gradientFromColor:te,padding:me,marginSM:de,borderRadius:h,titleHeight:I,blockRadius:ae,paragraphLiHeight:Ie,controlHeightXS:Se,paragraphMarginTop:Le}=d;return{[`${n}`]:{display:"table",width:"100%",[`${n}-header`]:{display:"table-cell",paddingInlineEnd:me,verticalAlign:"top",[`${R}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:te},E(f)),[`${R}-circle`]:{borderRadius:"50%"},[`${R}-lg`]:Object.assign({},E(L)),[`${R}-sm`]:Object.assign({},E(ge))},[`${n}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${G}`]:{width:"100%",height:I,background:te,borderRadius:ae,[`+ ${s}`]:{marginBlockStart:ge}},[`${s}`]:{padding:0,"> li":{width:"100%",height:Ie,listStyle:"none",background:te,borderRadius:ae,"+ li":{marginBlockStart:Se}}},[`${s}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${n}-content`]:{[`${G}, ${s} > li`]:{borderRadius:h}}},[`${n}-with-avatar ${n}-content`]:{[`${G}`]:{marginBlockStart:de,[`+ ${s}`]:{marginBlockStart:Le}}},[`${n}${n}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},m(d)),k(d)),$e(d)),we(d)),[`${n}${n}-block`]:{width:"100%",[`${o}`]:{width:"100%"},[`${K}`]:{width:"100%"}},[`${n}${n}-active`]:{[` + ${G}, + ${s} > li, + ${R}, + ${o}, + ${K}, + ${g} + `]:Object.assign({},ue(d))}}};var y=(0,ee.Z)("Skeleton",d=>{const{componentCls:n}=d,R=(0,O.TS)(d,{skeletonAvatarCls:`${n}-avatar`,skeletonTitleCls:`${n}-title`,skeletonParagraphCls:`${n}-paragraph`,skeletonButtonCls:`${n}-button`,skeletonInputCls:`${n}-input`,skeletonImageCls:`${n}-image`,imageSizeBase:d.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${d.gradientFromColor} 25%, ${d.gradientToColor} 37%, ${d.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[r(R)]},d=>{const{colorFillContent:n,colorFill:R}=d,G=n,s=R;return{color:G,colorGradientEnd:s,gradientFromColor:G,gradientToColor:s,titleHeight:d.controlHeight/2,blockRadius:d.borderRadiusSM,paragraphMarginTop:d.marginLG+d.marginXXS,paragraphLiHeight:d.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),ne=d=>{const{prefixCls:n,className:R,rootClassName:G,active:s,shape:o="circle",size:K="default"}=d,{getPrefixCls:g}=v.useContext(j.E_),f=g("skeleton",n),[L,ge]=y(f),te=(0,C.Z)(d,["prefixCls","className"]),me=c()(f,`${f}-element`,{[`${f}-active`]:s},R,G,ge);return L(v.createElement("div",{className:me},v.createElement(t,Object.assign({prefixCls:`${f}-avatar`,shape:o,size:K},te))))},W=d=>{const{prefixCls:n,className:R,rootClassName:G,active:s,block:o=!1,size:K="default"}=d,{getPrefixCls:g}=v.useContext(j.E_),f=g("skeleton",n),[L,ge]=y(f),te=(0,C.Z)(d,["prefixCls"]),me=c()(f,`${f}-element`,{[`${f}-active`]:s,[`${f}-block`]:o},R,G,ge);return L(v.createElement("div",{className:me},v.createElement(t,Object.assign({prefixCls:`${f}-button`,size:K},te))))};const M="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Y=d=>{const{prefixCls:n,className:R,rootClassName:G,style:s,active:o}=d,{getPrefixCls:K}=v.useContext(j.E_),g=K("skeleton",n),[f,L]=y(g),ge=c()(g,`${g}-element`,{[`${g}-active`]:o},R,G,L);return f(v.createElement("div",{className:ge},v.createElement("div",{className:c()(`${g}-image`,R),style:s},v.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${g}-image-svg`},v.createElement("path",{d:M,className:`${g}-image-path`})))))},l=d=>{const{prefixCls:n,className:R,rootClassName:G,active:s,block:o,size:K="default"}=d,{getPrefixCls:g}=v.useContext(j.E_),f=g("skeleton",n),[L,ge]=y(f),te=(0,C.Z)(d,["prefixCls"]),me=c()(f,`${f}-element`,{[`${f}-active`]:s,[`${f}-block`]:o},R,G,ge);return L(v.createElement("div",{className:me},v.createElement(t,Object.assign({prefixCls:`${f}-input`,size:K},te))))},F=e(54476),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},b=Z,U=e(7657),V=function(n,R){return v.createElement(U.Z,(0,F.Z)({},n,{ref:R,icon:b}))},q=v.forwardRef(V),le=q,Q=d=>{const{prefixCls:n,className:R,rootClassName:G,style:s,active:o,children:K}=d,{getPrefixCls:g}=v.useContext(j.E_),f=g("skeleton",n),[L,ge]=y(f),te=c()(f,`${f}-element`,{[`${f}-active`]:o},ge,R,G),me=K!=null?K:v.createElement(le,null);return L(v.createElement("div",{className:te},v.createElement("div",{className:c()(`${f}-image`,R),style:s},me)))},be=e(94480),ke=d=>{const n=g=>{const{width:f,rows:L=2}=d;if(Array.isArray(f))return f[g];if(L-1===g)return f},{prefixCls:R,className:G,style:s,rows:o}=d,K=(0,be.Z)(Array(o)).map((g,f)=>v.createElement("li",{key:f,style:{width:n(f)}}));return v.createElement("ul",{className:c()(R,G),style:s},K)},Ue=d=>{let{prefixCls:n,className:R,width:G,style:s}=d;return v.createElement("h3",{className:c()(n,R),style:Object.assign({width:G},s)})};function Ge(d){return d&&typeof d=="object"?d:{}}function at(d,n){return d&&!n?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Xe(d,n){return!d&&n?{width:"38%"}:d&&n?{width:"50%"}:{}}function ve(d,n){const R={};return(!d||!n)&&(R.width="61%"),!d&&n?R.rows=3:R.rows=2,R}const Ke=d=>{const{prefixCls:n,loading:R,className:G,rootClassName:s,style:o,children:K,avatar:g=!1,title:f=!0,paragraph:L=!0,active:ge,round:te}=d,{getPrefixCls:me,direction:de,skeleton:h}=v.useContext(j.E_),I=me("skeleton",n),[ae,Ie]=y(I);if(R||!("loading"in d)){const Se=!!g,Le=!!f,Qe=!!L;let Je;if(Se){const vt=Object.assign(Object.assign({prefixCls:`${I}-avatar`},at(Le,Qe)),Ge(g));Je=v.createElement("div",{className:`${I}-header`},v.createElement(t,Object.assign({},vt)))}let _e;if(Le||Qe){let vt;if(Le){const St=Object.assign(Object.assign({prefixCls:`${I}-title`},Xe(Se,Qe)),Ge(f));vt=v.createElement(Ue,Object.assign({},St))}let It;if(Qe){const St=Object.assign(Object.assign({prefixCls:`${I}-paragraph`},ve(Se,Le)),Ge(L));It=v.createElement(ke,Object.assign({},St))}_e=v.createElement("div",{className:`${I}-content`},vt,It)}const ut=c()(I,{[`${I}-with-avatar`]:Se,[`${I}-active`]:ge,[`${I}-rtl`]:de==="rtl",[`${I}-round`]:te},h==null?void 0:h.className,G,s,Ie);return ae(v.createElement("div",{className:ut,style:Object.assign(Object.assign({},h==null?void 0:h.style),o)},Je,_e))}return typeof K!="undefined"?K:null};Ke.Button=W,Ke.Avatar=ne,Ke.Input=l,Ke.Image=Y,Ke.Node=Q;var B=Ke,w=B},81327:function(Dt,Me,e){e.d(Me,{Z:function(){return $e}});var u=e(59301),c=e(92310),v=e.n(c),j=e(11592),C=e(36355),$=e(33234);const t=u.createContext({latestIndex:0}),oe=t.Provider;var O=ie=>{let{className:we,index:ce,children:H,split:m,style:r}=ie;const{latestIndex:y}=u.useContext(t);return H==null?null:u.createElement(u.Fragment,null,u.createElement("div",{className:we,style:r},H),ce{var ce,H;const{getPrefixCls:m,space:r,direction:y}=u.useContext(C.E_),{size:p=(r==null?void 0:r.size)||"small",align:ne,className:D,rootClassName:W,children:M,direction:xe="horizontal",prefixCls:Y,split:Ve,style:l,wrap:F=!1,classNames:Z,styles:b}=ie,U=ue(ie,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[V,q]=Array.isArray(p)?p:[p,p],le=S(q),re=S(V),Q=E(q),be=E(V),Re=(0,j.Z)(M,{keepEmpty:!0}),ke=ne===void 0&&xe==="horizontal"?"center":ne,Fe=m("space",Y),[Ue,Ge]=(0,se.Z)(Fe),at=v()(Fe,r==null?void 0:r.className,Ge,`${Fe}-${xe}`,{[`${Fe}-rtl`]:y==="rtl",[`${Fe}-align-${ke}`]:ke,[`${Fe}-gap-row-${q}`]:le,[`${Fe}-gap-col-${V}`]:re},D,W),Xe=v()(`${Fe}-item`,(ce=Z==null?void 0:Z.item)!==null&&ce!==void 0?ce:(H=r==null?void 0:r.classNames)===null||H===void 0?void 0:H.item);let ve=0;const Ke=Re.map((d,n)=>{var R,G;d!=null&&(ve=n);const s=d&&d.key||`${Xe}-${n}`;return u.createElement(O,{className:Xe,key:s,index:n,split:Ve,style:(R=b==null?void 0:b.item)!==null&&R!==void 0?R:(G=r==null?void 0:r.styles)===null||G===void 0?void 0:G.item},d)}),B=u.useMemo(()=>({latestIndex:ve}),[ve]);if(Re.length===0)return null;const w={};return F&&(w.flexWrap="wrap"),!re&&be&&(w.columnGap=V),!le&&Q&&(w.rowGap=q),Ue(u.createElement("div",Object.assign({ref:we,className:at,style:Object.assign(Object.assign(Object.assign({},w),r==null?void 0:r.style),l)},U),u.createElement(oe,{value:B},Ke)))});k.Compact=$.ZP;var $e=k},8378:function(Dt,Me){const e=u=>({[u.componentCls]:{[`${u.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${u.motionDurationMid} ${u.motionEaseInOut}, + opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}},[`${u.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${u.motionDurationMid} ${u.motionEaseInOut}, + opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}}});Me.Z=e},92899:function(Dt,Me,e){e.d(Me,{Fm:function(){return S}});var u=e(36237),c=e(95406);const v=new u.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),j=new u.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),C=new u.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$=new u.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),t=new u.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),oe=new u.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ee=new u.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),O=new u.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),se={"move-up":{inKeyframes:ee,outKeyframes:O},"move-down":{inKeyframes:v,outKeyframes:j},"move-left":{inKeyframes:C,outKeyframes:$},"move-right":{inKeyframes:t,outKeyframes:oe}},S=(E,ue)=>{const{antCls:X}=E,k=`${X}-${ue}`,{inKeyframes:$e,outKeyframes:ie}=se[ue];return[(0,c.R)(k,$e,ie,E.motionDurationMid),{[` + ${k}-enter, + ${k}-appear + `]:{opacity:0,animationTimingFunction:E.motionEaseOutCirc},[`${k}-leave`]:{animationTimingFunction:E.motionEaseInOutCirc}}]}},13826:function(Dt,Me,e){e.d(Me,{Qt:function(){return C},Uw:function(){return j},fJ:function(){return v},ly:function(){return $},oN:function(){return S}});var u=e(36237),c=e(95406);const v=new u.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),j=new u.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),C=new u.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),$=new u.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),t=new u.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),oe=new u.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),ee=new u.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),O=new u.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),se={"slide-up":{inKeyframes:v,outKeyframes:j},"slide-down":{inKeyframes:C,outKeyframes:$},"slide-left":{inKeyframes:t,outKeyframes:oe},"slide-right":{inKeyframes:ee,outKeyframes:O}},S=(E,ue)=>{const{antCls:X}=E,k=`${X}-${ue}`,{inKeyframes:$e,outKeyframes:ie}=se[ue];return[(0,c.R)(k,$e,ie,E.motionDurationMid),{[` + ${k}-enter, + ${k}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:E.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${k}-leave`]:{animationTimingFunction:E.motionEaseInQuint}}]}},15969:function(Dt,Me,e){e.d(Me,{N:function(){return u}});const u=c=>({color:c.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${c.motionDurationSlow}`,"&:focus, &:hover":{color:c.colorLinkHover},"&:active":{color:c.colorLinkActive}})},1710:function(Dt,Me,e){e.d(Me,{default:function(){return Ai}});var u={},c="rc-table-internal-hook",v=e(42978),j=e(6089),C=e(34280),$=e(13697),t=e(59301),oe=e(4676);function ee(a){var i=t.createContext(void 0),P=function(J){var _=J.value,ye=J.children,Ce=t.useRef(_);Ce.current=_;var pe=t.useState(function(){return{getValue:function(){return Ce.current},listeners:new Set}}),Te=(0,v.Z)(pe,1),je=Te[0];return(0,C.Z)(function(){(0,oe.unstable_batchedUpdates)(function(){je.listeners.forEach(function(ze){ze(_)})})},[_]),t.createElement(i.Provider,{value:je},ye)};return{Context:i,Provider:P,defaultValue:a}}function O(a,i){var P=(0,j.Z)(typeof i=="function"?i:function(ze){if(i===void 0)return ze;if(!Array.isArray(i))return ze[i];var rt={};return i.forEach(function(et){rt[et]=ze[et]}),rt}),z=t.useContext(a==null?void 0:a.Context),J=z||{},_=J.listeners,ye=J.getValue,Ce=t.useRef();Ce.current=P(z?ye():a==null?void 0:a.defaultValue);var pe=t.useState({}),Te=(0,v.Z)(pe,2),je=Te[1];return(0,C.Z)(function(){if(!z)return;function ze(rt){var et=P(rt);(0,$.Z)(Ce.current,et,!0)||je({})}return _.add(ze),function(){_.delete(ze)}},[z]),Ce.current}var se=e(54476),S=e(8654);function E(){var a=t.createContext(null);function i(){return t.useContext(a)}function P(J,_){var ye=(0,S.Yr)(J),Ce=function(Te,je){var ze=ye?{ref:je}:{},rt=t.useRef(0),et=t.useRef(Te),tt=i();return tt!==null?t.createElement(J,(0,se.Z)({},Te,ze)):((!_||_(et.current,Te))&&(rt.current+=1),et.current=Te,t.createElement(a.Provider,{value:rt.current},t.createElement(J,(0,se.Z)({},Te,ze))))};return ye?t.forwardRef(Ce):Ce}function z(J,_){var ye=(0,S.Yr)(J),Ce=function(Te,je){var ze=ye?{ref:je}:{};return i(),t.createElement(J,(0,se.Z)({},Te,ze))};return ye?t.memo(t.forwardRef(Ce),_):t.memo(Ce,_)}return{makeImmutable:P,responseImmutable:z,useImmutableMark:i}}var ue=E(),X=ue.makeImmutable,k=ue.responseImmutable,$e=ue.useImmutableMark,ie=E(),we=ie.makeImmutable,ce=ie.responseImmutable,H=ie.useImmutableMark,m=ee(),r=m;function y(a,i){var P=t.useRef(0);P.current+=1;var z=t.useRef(a),J=[];Object.keys(a||{}).map(function(ye){var Ce;(a==null?void 0:a[ye])!==((Ce=z.current)===null||Ce===void 0?void 0:Ce[ye])&&J.push(ye)}),z.current=a;var _=t.useRef([]);return J.length&&(_.current=J),t.useDebugValue(P.current),t.useDebugValue(_.current.join(", ")),i&&console.log("".concat(i,":"),P.current,_.current),P.current}var p=null,ne=t.memo(function(){var a=y();return t.createElement("h1",null,"Render Times: ",a)});ne.displayName="RenderBlock";var D=e(76190),W=e(33885),M=e(20068),xe=e(92310),Y=e.n(xe),Ve=e(80547),l=e(97938),F=e(48736),Z=t.createContext({renderWithProps:!1}),b=Z,U="RC_TABLE_KEY";function V(a){return a==null?[]:Array.isArray(a)?a:[a]}function q(a){var i=[],P={};return a.forEach(function(z){for(var J=z||{},_=J.key,ye=J.dataIndex,Ce=_||V(ye).join("-")||U;P[Ce];)Ce="".concat(Ce,"_next");P[Ce]=!0,i.push(Ce)}),i}function le(a){return a!=null}function re(a){return a&&(0,D.Z)(a)==="object"&&!Array.isArray(a)&&!t.isValidElement(a)}function Q(a,i,P,z,J,_){var ye=t.useContext(b),Ce=H(),pe=(0,Ve.Z)(function(){if(le(z))return[z];var Te=i==null||i===""?[]:Array.isArray(i)?i:[i],je=(0,l.Z)(a,Te),ze=je,rt=void 0;if(J){var et=J(je,a,P);re(et)?(ze=et.children,rt=et.props,ye.renderWithProps=!0):ze=et}return[ze,rt]},[Ce,a,z,i,J,P],function(Te,je){if(_){var ze=(0,v.Z)(Te,2),rt=ze[1],et=(0,v.Z)(je,2),tt=et[1];return _(tt,rt)}return ye.renderWithProps?!0:!(0,$.Z)(Te,je,!0)});return pe}function be(a,i,P,z){var J=a+i-1;return a<=z&&J>=P}function Re(a,i){return O(r,function(P){var z=be(a,i||1,P.hoverStartRow,P.hoverEndRow);return[z,P.onHover]})}var ke=function(i){var P=i.ellipsis,z=i.rowType,J=i.children,_,ye=P===!0?{showTitle:!0}:P;return ye&&(ye.showTitle||z==="header")&&(typeof J=="string"||typeof J=="number"?_=J.toString():t.isValidElement(J)&&typeof J.props.children=="string"&&(_=J.props.children)),_};function Fe(a){var i,P,z,J,_,ye,Ce,pe,Te=a.component,je=a.children,ze=a.ellipsis,rt=a.scope,et=a.prefixCls,tt=a.className,xt=a.align,ht=a.record,Et=a.render,bt=a.dataIndex,Mt=a.renderIndex,cn=a.shouldCellUpdate,fn=a.index,kt=a.rowType,Mn=a.colSpan,zn=a.rowSpan,Ft=a.fixLeft,Xt=a.fixRight,Lt=a.firstFixLeft,$t=a.lastFixLeft,Vt=a.firstFixRight,Pn=a.lastFixRight,Ln=a.appendNode,Zn=a.additionalProps,pn=Zn===void 0?{}:Zn,jn=a.isSticky,kn="".concat(et,"-cell"),mr=O(r,["supportSticky","allColumnsFixedLeft"]),rr=mr.supportSticky,Br=mr.allColumnsFixedLeft,Tr=Q(ht,bt,Mt,je,Et,cn),Fn=(0,v.Z)(Tr,2),kr=Fn[0],ar=Fn[1],Sr={},yr=typeof Ft=="number"&&rr,ba=typeof Xt=="number"&&rr;yr&&(Sr.position="sticky",Sr.left=Ft),ba&&(Sr.position="sticky",Sr.right=Xt);var On=(i=(P=(z=ar==null?void 0:ar.colSpan)!==null&&z!==void 0?z:pn.colSpan)!==null&&P!==void 0?P:Mn)!==null&&i!==void 0?i:1,Sn=(J=(_=(ye=ar==null?void 0:ar.rowSpan)!==null&&ye!==void 0?ye:pn.rowSpan)!==null&&_!==void 0?_:zn)!==null&&J!==void 0?J:1,hn=Re(fn,Sn),an=(0,v.Z)(hn,2),or=an[0],on=an[1],An=function(Gr){var ya;ht&&on(fn,fn+Sn-1),pn==null||(ya=pn.onMouseEnter)===null||ya===void 0||ya.call(pn,Gr)},er=function(Gr){var ya;ht&&on(-1,-1),pn==null||(ya=pn.onMouseLeave)===null||ya===void 0||ya.call(pn,Gr)};if(On===0||Sn===0)return null;var Jn=(Ce=pn.title)!==null&&Ce!==void 0?Ce:ke({rowType:kt,ellipsis:ze,children:kr}),sa=Y()(kn,tt,(pe={},(0,M.Z)(pe,"".concat(kn,"-fix-left"),yr&&rr),(0,M.Z)(pe,"".concat(kn,"-fix-left-first"),Lt&&rr),(0,M.Z)(pe,"".concat(kn,"-fix-left-last"),$t&&rr),(0,M.Z)(pe,"".concat(kn,"-fix-left-all"),$t&&Br&&rr),(0,M.Z)(pe,"".concat(kn,"-fix-right"),ba&&rr),(0,M.Z)(pe,"".concat(kn,"-fix-right-first"),Vt&&rr),(0,M.Z)(pe,"".concat(kn,"-fix-right-last"),Pn&&rr),(0,M.Z)(pe,"".concat(kn,"-ellipsis"),ze),(0,M.Z)(pe,"".concat(kn,"-with-append"),Ln),(0,M.Z)(pe,"".concat(kn,"-fix-sticky"),(yr||ba)&&jn&&rr),(0,M.Z)(pe,"".concat(kn,"-row-hover"),!ar&&or),pe),pn.className,ar==null?void 0:ar.className),ra={};xt&&(ra.textAlign=xt);var Za=(0,W.Z)((0,W.Z)((0,W.Z)((0,W.Z)({},Sr),pn.style),ra),ar==null?void 0:ar.style),Ur=kr;return(0,D.Z)(Ur)==="object"&&!Array.isArray(Ur)&&!t.isValidElement(Ur)&&(Ur=null),ze&&($t||Vt)&&(Ur=t.createElement("span",{className:"".concat(kn,"-content")},Ur)),t.createElement(Te,(0,se.Z)({},ar,pn,{className:sa,style:Za,title:Jn,scope:rt,onMouseEnter:An,onMouseLeave:er,colSpan:On!==1?On:null,rowSpan:Sn!==1?Sn:null}),Ln,Ur)}var Ue=t.memo(Fe);function Ge(a,i,P,z,J,_){var ye=P[a]||{},Ce=P[i]||{},pe,Te;ye.fixed==="left"?pe=z.left[J==="rtl"?i:a]:Ce.fixed==="right"&&(Te=z.right[J==="rtl"?a:i]);var je=!1,ze=!1,rt=!1,et=!1,tt=P[i+1],xt=P[a-1],ht=!(_!=null&&_.children);if(J==="rtl"){if(pe!==void 0){var Et=xt&&xt.fixed==="left";et=!Et&&ht}else if(Te!==void 0){var bt=tt&&tt.fixed==="right";rt=!bt&&ht}}else if(pe!==void 0){var Mt=tt&&tt.fixed==="left";je=!Mt&&ht}else if(Te!==void 0){var cn=xt&&xt.fixed==="right";ze=!cn&&ht}return{fixLeft:pe,fixRight:Te,lastFixLeft:je,firstFixRight:ze,lastFixRight:rt,firstFixLeft:et,isSticky:z.isSticky}}var at=t.createContext({}),Xe=at;function ve(a){var i=a.className,P=a.index,z=a.children,J=a.colSpan,_=J===void 0?1:J,ye=a.rowSpan,Ce=a.align,pe=O(r,["prefixCls","direction"]),Te=pe.prefixCls,je=pe.direction,ze=t.useContext(Xe),rt=ze.scrollColumnIndex,et=ze.stickyOffsets,tt=ze.flattenColumns,xt=ze.columns,ht=P+_-1,Et=ht+1===rt?_+1:_,bt=Ge(P,P+Et-1,tt,et,je,xt==null?void 0:xt[P]);return t.createElement(Ue,(0,se.Z)({className:i,index:P,component:"td",prefixCls:Te,record:null,dataIndex:null,align:Ce,colSpan:Et,rowSpan:ye,render:function(){return z}},bt))}var Ke=e(75931),B=["children"];function w(a){var i=a.children,P=(0,Ke.Z)(a,B);return t.createElement("tr",P,i)}function d(a){var i=a.children;return i}d.Row=w,d.Cell=ve;var n=d;function R(a){var i=a.children,P=a.stickyOffsets,z=a.flattenColumns,J=a.columns,_=O(r,"prefixCls"),ye=z.length-1,Ce=z[ye],pe=t.useMemo(function(){return{stickyOffsets:P,flattenColumns:z,scrollColumnIndex:Ce!=null&&Ce.scrollbar?ye:null,columns:J}},[Ce,z,ye,P,J]);return t.createElement(Xe.Provider,{value:pe},t.createElement("tfoot",{className:"".concat(_,"-summary")},i))}var G=ce(R),s=n,o=e(70425),K=e(29301),g=e(29194),f=e(3465),L=e(75152),ge=e(26112);function te(a,i,P,z,J,_,ye){a.push({record:i,indent:P,index:ye});var Ce=_(i),pe=J==null?void 0:J.has(Ce);if(i&&Array.isArray(i[z])&&pe)for(var Te=0;Te1?Lt-1:0),Vt=1;Vt=0;Ce-=1){var pe=i[Ce],Te=P&&P[Ce],je=Te&&Te[vt];if(pe||je||ye){var ze=je||{},rt=ze.columnType,et=(0,Ke.Z)(ze,St);J.unshift(t.createElement("col",(0,se.Z)({key:Ce,style:{width:pe}},et))),ye=!0}}return t.createElement("colgroup",null,J)}var Yt=Tt,gt=e(94480),Ut=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Nn(a,i){return(0,t.useMemo)(function(){for(var P=[],z=0;z1?"colgroup":"col":null,ellipsis:ht.ellipsis,align:ht.align,component:ht.title?_:ye,prefixCls:je,key:et[xt]},Et,{additionalProps:bt,rowType:"header"}))}))}vn.displayName="HeaderRow";var un=vn;function Tn(a){var i=[];function P(ye,Ce){var pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;i[pe]=i[pe]||[];var Te=Ce,je=ye.filter(Boolean).map(function(ze){var rt={key:ze.key,className:ze.className||"",children:ze.title,column:ze,colStart:Te},et=1,tt=ze.children;return tt&&tt.length>0&&(et=P(tt,Te,pe+1).reduce(function(xt,ht){return xt+ht},0),rt.hasSubColumns=!0),"colSpan"in ze&&(et=ze.colSpan),"rowSpan"in ze&&(rt.rowSpan=ze.rowSpan),rt.colSpan=et,rt.colEnd=rt.colStart+et-1,i[pe].push(rt),Te+=et,et});return je}P(a,0);for(var z=i.length,J=function(Ce){i[Ce].forEach(function(pe){!("rowSpan"in pe)&&!pe.hasSubColumns&&(pe.rowSpan=z-Ce)})},_=0;_1&&arguments[1]!==void 0?arguments[1]:"";return typeof i=="number"?i:i.endsWith("%")?a*parseFloat(i)/100:null}function Zt(a,i){return t.useMemo(function(){if(i&&i>0){var P=0,z=0;a.forEach(function(Te){var je=mn(i,Te.width);je?P+=je:z+=1});var J=i-P,_=z,ye=J/z,Ce=0,pe=a.map(function(Te){var je=(0,W.Z)({},Te),ze=mn(i,je.width);if(ze)je.width=ze;else{var rt=Math.floor(ye);je.width=_===1?J:rt,J-=rt,_-=1}return Ce+=je.width,je});return[pe,Ce]}return[a,i]},[a,i])}var yn=["children"],dn=["fixed"];function x(a){return(0,_n.Z)(a).filter(function(i){return t.isValidElement(i)}).map(function(i){var P=i.key,z=i.props,J=z.children,_=(0,Ke.Z)(z,yn),ye=(0,W.Z)({key:P},_);return J&&(ye.children=x(J)),ye})}function A(a){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return a.filter(function(P){return P&&(0,D.Z)(P)==="object"}).reduce(function(P,z,J){var _=z.fixed,ye=_===!0?"left":_,Ce="".concat(i,"-").concat(J),pe=z.children;return pe&&pe.length>0?[].concat((0,gt.Z)(P),(0,gt.Z)(A(pe,Ce).map(function(Te){return(0,W.Z)({fixed:ye},Te)}))):[].concat((0,gt.Z)(P),[(0,W.Z)((0,W.Z)({key:Ce},z),{},{fixed:ye})])},[])}function T(a){for(var i=!0,P=0;P=0;_-=1){var ye=a[_];if(J&&ye.fixed!=="right")J=!1;else if(!J&&ye.fixed==="right"){warning(!1,"Index ".concat(_+1," of `columns` missing `fixed='right'` prop."));break}}}function N(a){return a.map(function(i){var P=i.fixed,z=(0,Ke.Z)(i,dn),J=P;return P==="left"?J="right":P==="right"&&(J="left"),(0,W.Z)({fixed:J},z)})}function he(a,i){var P=a.prefixCls,z=a.columns,J=a.children,_=a.expandable,ye=a.expandedKeys,Ce=a.columnTitle,pe=a.getRowKey,Te=a.onTriggerExpand,je=a.expandIcon,ze=a.rowExpandable,rt=a.expandIconColumnIndex,et=a.direction,tt=a.expandRowByClick,xt=a.columnWidth,ht=a.fixed,Et=a.scrollWidth,bt=t.useMemo(function(){return z||x(J)},[z,J]),Mt=t.useMemo(function(){if(_){var Xt,Lt=bt.slice();if(!Lt.includes(u)){var $t=rt||0;$t>=0&&Lt.splice($t,0,u)}var Vt=Lt.indexOf(u);Lt=Lt.filter(function(pn,jn){return pn!==u||jn===Vt});var Pn=bt[Vt],Ln;(ht==="left"||ht)&&!rt?Ln="left":(ht==="right"||ht)&&rt===bt.length?Ln="right":Ln=Pn?Pn.fixed:null;var Zn=(Xt={},(0,M.Z)(Xt,vt,{className:"".concat(P,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,M.Z)(Xt,"title",Ce),(0,M.Z)(Xt,"fixed",Ln),(0,M.Z)(Xt,"className","".concat(P,"-row-expand-icon-cell")),(0,M.Z)(Xt,"width",xt),(0,M.Z)(Xt,"render",function(jn,kn,mr){var rr=pe(kn,mr),Br=ye.has(rr),Tr=ze?ze(kn):!0,Fn=je({prefixCls:P,expanded:Br,expandable:Tr,record:kn,onExpand:Te});return tt?t.createElement("span",{onClick:function(ar){return ar.stopPropagation()}},Fn):Fn}),Xt);return Lt.map(function(pn){return pn===u?Zn:pn})}return bt.filter(function(pn){return pn!==u})},[_,bt,pe,ye,je,et]),cn=t.useMemo(function(){var Xt=Mt;return i&&(Xt=i(Xt)),Xt.length||(Xt=[{render:function(){return null}}]),Xt},[i,Mt,et]),fn=t.useMemo(function(){return et==="rtl"?N(A(cn)):A(cn)},[cn,et,Et]),kt=Zt(fn,Et),Mn=(0,v.Z)(kt,2),zn=Mn[0],Ft=Mn[1];return[cn,zn,Ft]}var fe=he;function He(a){var i,P=a.prefixCls,z=a.record,J=a.onExpand,_=a.expanded,ye=a.expandable,Ce="".concat(P,"-row-expand-icon");if(!ye)return t.createElement("span",{className:Y()(Ce,"".concat(P,"-row-spaced"))});var pe=function(je){J(z,je),je.stopPropagation()};return t.createElement("span",{className:Y()(Ce,(i={},(0,M.Z)(i,"".concat(P,"-row-expanded"),_),(0,M.Z)(i,"".concat(P,"-row-collapsed"),!_),i)),onClick:pe})}function Ae(a,i,P){var z=[];function J(_){(_||[]).forEach(function(ye,Ce){z.push(i(ye,Ce)),J(ye[P])})}return J(a),z}function Ye(a,i,P){var z=It(a),J=z.expandIcon,_=z.expandedRowKeys,ye=z.defaultExpandedRowKeys,Ce=z.defaultExpandAllRows,pe=z.expandedRowRender,Te=z.onExpand,je=z.onExpandedRowsChange,ze=z.childrenColumnName,rt=J||He,et=ze||"children",tt=t.useMemo(function(){return pe?"row":a.expandable&&a.internalHooks===c&&a.expandable.__PARENT_RENDER_ICON__||i.some(function(fn){return fn&&(0,D.Z)(fn)==="object"&&fn[et]})?"nest":!1},[!!pe,i]),xt=t.useState(function(){return ye||(Ce?Ae(i,P,et):[])}),ht=(0,v.Z)(xt,2),Et=ht[0],bt=ht[1],Mt=t.useMemo(function(){return new Set(_||Et||[])},[_,Et]),cn=t.useCallback(function(fn){var kt=P(fn,i.indexOf(fn)),Mn,zn=Mt.has(kt);zn?(Mt.delete(kt),Mn=(0,gt.Z)(Mt)):Mn=[].concat((0,gt.Z)(Mt),[kt]),bt(Mn),Te&&Te(!zn,fn),je&&je(Mn)},[P,Mt,i,Te,je]);return[z,tt,Mt,rt,et,cn]}function nt(a,i,P,z){var J=a.map(function(_,ye){return Ge(ye,ye,a,i,P,z==null?void 0:z[ye])});return(0,Ve.Z)(function(){return J},[J],function(_,ye){return!(0,$.Z)(_,ye)})}function dt(a){var i=(0,t.useRef)(a),P=(0,t.useState)({}),z=(0,v.Z)(P,2),J=z[1],_=(0,t.useRef)(null),ye=(0,t.useRef)([]);function Ce(pe){ye.current.push(pe);var Te=Promise.resolve();_.current=Te,Te.then(function(){if(_.current===Te){var je=ye.current,ze=i.current;ye.current=[],je.forEach(function(rt){i.current=rt(i.current)}),_.current=null,ze!==i.current&&J({})}})}return(0,t.useEffect)(function(){return function(){_.current=null}},[]),[i.current,Ce]}function it(a){var i=(0,t.useRef)(a||null),P=(0,t.useRef)();function z(){window.clearTimeout(P.current)}function J(ye){i.current=ye,z(),P.current=window.setTimeout(function(){i.current=null,P.current=void 0},100)}function _(){return i.current}return(0,t.useEffect)(function(){return z},[]),[J,_]}function qe(){var a=t.useState(-1),i=(0,v.Z)(a,2),P=i[0],z=i[1],J=t.useState(-1),_=(0,v.Z)(J,2),ye=_[0],Ce=_[1],pe=t.useCallback(function(Te,je){z(Te),Ce(je)},[]);return[P,ye,pe]}var ot=e(47273),Ct=(0,ot.Z)()?window:null;function lt(a,i){var P=(0,D.Z)(a)==="object"?a:{},z=P.offsetHeader,J=z===void 0?0:z,_=P.offsetSummary,ye=_===void 0?0:_,Ce=P.offsetScroll,pe=Ce===void 0?0:Ce,Te=P.getContainer,je=Te===void 0?function(){return Ct}:Te,ze=je()||Ct;return t.useMemo(function(){var rt=!!a;return{isSticky:rt,stickyClassName:rt?"".concat(i,"-sticky-holder"):"",offsetHeader:J,offsetSummary:ye,offsetScroll:pe,container:ze}},[pe,J,ye,i,ze])}function Ot(a,i,P){var z=(0,t.useMemo)(function(){for(var J=[],_=[],ye=0,Ce=0,pe=0;pe=ze&&(pn=ze-rt),ye({scrollLeft:pn/ze*(je+2)}),bt.current.x=Vt.pageX},Xt=function(){if(_.current){var Vt=(0,Oe.os)(_.current).top,Pn=Vt+_.current.offsetHeight,Ln=pe===window?document.documentElement.scrollTop+window.innerHeight:(0,Oe.os)(pe).top+pe.clientHeight;Pn-(0,L.Z)()<=Ln||Vt>=Ln-Ce?Et(function(Zn){return(0,W.Z)((0,W.Z)({},Zn),{},{isHiddenScrollBar:!0})}):Et(function(Zn){return(0,W.Z)((0,W.Z)({},Zn),{},{isHiddenScrollBar:!1})})}},Lt=function(Vt){Et(function(Pn){return(0,W.Z)((0,W.Z)({},Pn),{},{scrollLeft:Vt/je*ze||0})})};return t.useImperativeHandle(P,function(){return{setScrollLeft:Lt}}),t.useEffect(function(){var $t=(0,Gt.Z)(document.body,"mouseup",Mn,!1),Vt=(0,Gt.Z)(document.body,"mousemove",Ft,!1);return Xt(),function(){$t.remove(),Vt.remove()}},[rt,fn]),t.useEffect(function(){var $t=(0,Gt.Z)(pe,"scroll",Xt,!1),Vt=(0,Gt.Z)(window,"resize",Xt,!1);return function(){$t.remove(),Vt.remove()}},[pe]),t.useEffect(function(){ht.isHiddenScrollBar||Et(function($t){var Vt=_.current;return Vt?(0,W.Z)((0,W.Z)({},$t),{},{scrollLeft:Vt.scrollLeft/Vt.scrollWidth*Vt.clientWidth}):$t})},[ht.isHiddenScrollBar]),je<=ze||!rt||ht.isHiddenScrollBar?null:t.createElement("div",{style:{height:(0,L.Z)(),width:ze,bottom:Ce},className:"".concat(Te,"-sticky-scroll")},t.createElement("div",{onMouseDown:zn,ref:et,className:Y()("".concat(Te,"-sticky-scroll-bar"),(0,M.Z)({},"".concat(Te,"-sticky-scroll-bar-active"),fn)),style:{width:"".concat(rt,"px"),transform:"translate3d(".concat(ht.scrollLeft,"px, 0, 0)")}}))},De=t.forwardRef(Ee);function Ze(a){return null}var Pe=Ze;function Be(a){return null}var Ne=Be,We="rc-table",ft=[],pt={};function Kt(){return"No Data"}function jt(a){var i,P=(0,W.Z)({rowKey:"key",prefixCls:We,emptyText:Kt},a),z=P.prefixCls,J=P.className,_=P.rowClassName,ye=P.style,Ce=P.data,pe=P.rowKey,Te=P.scroll,je=P.tableLayout,ze=P.direction,rt=P.title,et=P.footer,tt=P.summary,xt=P.caption,ht=P.id,Et=P.showHeader,bt=P.components,Mt=P.emptyText,cn=P.onRow,fn=P.onHeaderRow,kt=P.internalHooks,Mn=P.transformColumns,zn=P.internalRefs,Ft=P.tailor,Xt=P.sticky,Lt=Ce||ft,$t=!!Lt.length,Vt=kt===c,Pn=t.useCallback(function(ur,xr){return(0,l.Z)(bt,ur)||xr},[bt]),Ln=t.useMemo(function(){return typeof pe=="function"?pe:function(ur){var xr=ur&&ur[pe];return xr}},[pe]),Zn=Pn(["body"]),pn=qe(),jn=(0,v.Z)(pn,3),kn=jn[0],mr=jn[1],rr=jn[2],Br=Ye(P,Lt,Ln),Tr=(0,v.Z)(Br,6),Fn=Tr[0],kr=Tr[1],ar=Tr[2],Sr=Tr[3],yr=Tr[4],ba=Tr[5],On=Te==null?void 0:Te.x,Sn=t.useState(0),hn=(0,v.Z)(Sn,2),an=hn[0],or=hn[1],on=fe((0,W.Z)((0,W.Z)((0,W.Z)({},P),Fn),{},{expandable:!!Fn.expandedRowRender,columnTitle:Fn.columnTitle,expandedKeys:ar,getRowKey:Ln,onTriggerExpand:ba,expandIcon:Sr,expandIconColumnIndex:Fn.expandIconColumnIndex,direction:ze,scrollWidth:Vt&&Ft&&typeof On=="number"?On:null}),Vt?Mn:null),An=(0,v.Z)(on,3),er=An[0],Jn=An[1],sa=An[2],ra=sa!=null?sa:On,Za=t.useMemo(function(){return{columns:er,flattenColumns:Jn}},[er,Jn]),Ur=t.useRef(),Ma=t.useRef(),Gr=t.useRef(),ya=t.useRef(),ro=t.useRef(),ir=t.useState(!1),cr=(0,v.Z)(ir,2),Pr=cr[0],Xr=cr[1],Yr=t.useState(!1),Un=(0,v.Z)(Yr,2),da=Un[0],ca=Un[1],wa=dt(new Map),La=(0,v.Z)(wa,2),za=La[0],Po=La[1],Ga=q(Jn),Ba=Ga.map(function(ur){return za.get(ur)}),Ca=t.useMemo(function(){return Ba},[Ba.join("_")]),fa=zt(Ca,Jn.length,ze),Qr=Te&&le(Te.y),$r=Te&&le(ra)||!!Fn.fixed,Ka=$r&&Jn.some(function(ur){var xr=ur.fixed;return xr}),ao=t.useRef(),Ja=lt(Xt,z),ja=Ja.isSticky,To=Ja.offsetHeader,Lo=Ja.offsetSummary,tr=Ja.offsetScroll,hr=Ja.stickyClassName,oa=Ja.container,Rr=t.useMemo(function(){return tt==null?void 0:tt(Lt)},[tt,Lt]),ua=(Qr||ja)&&t.isValidElement(Rr)&&Rr.type===n&&Rr.props.fixed,Sa,xa,Xa;Qr&&(xa={overflowY:"scroll",maxHeight:Te.y}),$r&&(Sa={overflowX:"auto"},Qr||(xa={overflowY:"hidden"}),Xa={width:ra===!0?"auto":ra,minWidth:"100%"});var Qo=t.useCallback(function(ur,xr){(0,g.Z)(Ur.current)&&Po(function(Ta){if(Ta.get(ur)!==xr){var _a=new Map(Ta);return _a.set(ur,xr),_a}return Ta})},[]),Zi=it(null),Jo=(0,v.Z)(Zi,2),zi=Jo[0],_o=Jo[1];function Ao(ur,xr){xr&&(typeof xr=="function"?xr(ur):xr.scrollLeft!==ur&&(xr.scrollLeft=ur,xr.scrollLeft!==ur&&setTimeout(function(){xr.scrollLeft=ur},0)))}var So=(0,j.Z)(function(ur){var xr=ur.currentTarget,Ta=ur.scrollLeft,_a=ze==="rtl",qa=typeof Ta=="number"?Ta:xr.scrollLeft,vi=xr||pt;if(!_o()||_o()===vi){var Vo;zi(vi),Ao(qa,Ma.current),Ao(qa,Gr.current),Ao(qa,ro.current),Ao(qa,(Vo=ao.current)===null||Vo===void 0?void 0:Vo.setScrollLeft)}var ko=xr||Ma.current;if(ko){var Uo=ko.scrollWidth,Go=ko.clientWidth;if(Uo===Go){Xr(!1),ca(!1);return}_a?(Xr(-qa0)):(Xr(qa>0),ca(qa1?xt-Vt:0,Ln=(0,W.Z)((0,W.Z)((0,W.Z)({},Mn),pe),{},{flex:"0 0 ".concat(Vt,"px"),width:"".concat(Vt,"px"),marginRight:Pn,pointerEvents:"auto"}),Zn=t.useMemo(function(){return je?Lt<=1:Ft===0||Lt===0||Lt>1},[Lt,Ft,je]);Zn?Ln.visibility="hidden":je&&(Ln.height=ze==null?void 0:ze(Lt));var pn=Zn?function(){return null}:rt,jn={};return(Lt===0||Ft===0)&&(jn.rowSpan=1,jn.colSpan=1),t.createElement(Ue,(0,se.Z)({className:Y()(tt,Te),ellipsis:P.ellipsis,align:P.align,scope:P.rowScope,component:"div",prefixCls:i.prefixCls,key:Mt,record:Ce,index:_,renderIndex:ye,dataIndex:et,render:pn,shouldCellUpdate:P.shouldCellUpdate},cn,{appendNode:fn,additionalProps:(0,W.Z)((0,W.Z)({},kt),{},{style:Ln},jn)}))}var xn=qt,en=["data","index","className","rowKey","style","extra","getHeight"],Rn=t.forwardRef(function(a,i){var P=a.data,z=a.index,J=a.className,_=a.rowKey,ye=a.style,Ce=a.extra,pe=a.getHeight,Te=(0,Ke.Z)(a,en),je=P.record,ze=P.indent,rt=P.index,et=O(r,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),tt=et.scrollX,xt=et.flattenColumns,ht=et.prefixCls,Et=et.fixColumn,bt=et.componentWidth,Mt=I(je,_,z,ze),cn=Mt.rowSupportExpand,fn=Mt.expanded,kt=Mt.rowProps,Mn=Mt.expandedRowRender,zn=Mt.expandedRowClassName,Ft;if(cn&&fn){var Xt=Mn(je,z,ze+1,fn),Lt=zn==null?void 0:zn(je,z,ze),$t={};Et&&($t={style:(0,M.Z)({},"--virtual-width","".concat(bt,"px"))});var Vt="".concat(ht,"-expanded-row-cell");Ft=t.createElement("div",{className:Y()("".concat(ht,"-expanded-row"),"".concat(ht,"-expanded-row-level-").concat(ze+1),Lt)},t.createElement(Ue,{component:"div",prefixCls:ht,className:Y()(Vt,(0,M.Z)({},"".concat(Vt,"-fixed"),Et)),additionalProps:$t},Xt))}var Pn=(0,W.Z)((0,W.Z)({},ye),{},{width:tt});Ce&&(Pn.position="absolute",Pn.pointerEvents="none");var Ln=t.createElement("div",(0,se.Z)({},kt,Te,{ref:cn?null:i,className:Y()(J,"".concat(ht,"-row"),kt==null?void 0:kt.className,(0,M.Z)({},"".concat(ht,"-row-extra"),Ce)),style:(0,W.Z)((0,W.Z)({},Pn),kt==null?void 0:kt.style)}),xt.map(function(Zn,pn){return t.createElement(xn,{key:pn,rowInfo:Mt,column:Zn,colIndex:pn,indent:ze,index:z,renderIndex:rt,record:je,inverse:Ce,getHeight:pe})}));return cn?t.createElement("div",{ref:i},Ln,Ft):Ln}),Gn=ce(Rn),Wt=Gn,st=t.forwardRef(function(a,i){var P=a.data,z=a.onScroll,J=O(r,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),_=J.flattenColumns,ye=J.onColumnResize,Ce=J.getRowKey,pe=J.expandedKeys,Te=J.prefixCls,je=J.childrenColumnName,ze=J.emptyNode,rt=J.scrollX,et=O(sn),tt=et.scrollY,xt=et.listItemHeight,ht=t.useRef(),Et=me(P,je,pe,Ce),bt=t.useMemo(function(){var Ft=0;return _.map(function(Xt){var Lt=Xt.width,$t=Xt.key;return Ft+=Lt,[$t,Lt,Ft]})},[_]),Mt=t.useMemo(function(){return bt.map(function(Ft){return Ft[2]})},[bt]);t.useEffect(function(){bt.forEach(function(Ft){var Xt=(0,v.Z)(Ft,2),Lt=Xt[0],$t=Xt[1];ye(Lt,$t)})},[bt]),t.useImperativeHandle(i,function(){var Ft={};return Object.defineProperty(Ft,"scrollLeft",{get:function(){var Lt;return((Lt=ht.current)===null||Lt===void 0?void 0:Lt.getScrollInfo().x)||0},set:function(Lt){var $t;($t=ht.current)===null||$t===void 0||$t.scrollTo({left:Lt})}}),Ft});var cn=function(Xt,Lt){var $t,Vt=($t=Et[Lt])===null||$t===void 0?void 0:$t.record,Pn=Xt.onCell;if(Pn){var Ln,Zn=Pn(Vt,Lt);return(Ln=Zn==null?void 0:Zn.rowSpan)!==null&&Ln!==void 0?Ln:1}return 1},fn=function(Xt){var Lt=Xt.start,$t=Xt.end,Vt=Xt.getSize,Pn=Xt.offsetY;if($t<0)return null;for(var Ln=_.filter(function(On){return cn(On,Lt)===0}),Zn=Lt,pn=function(Sn){if(Ln=Ln.filter(function(hn){return cn(hn,Sn)===0}),!Ln.length)return Zn=Sn,"break"},jn=Lt;jn>=0;jn-=1){var kn=pn(jn);if(kn==="break")break}for(var mr=_.filter(function(On){return cn(On,$t)!==1}),rr=$t,Br=function(Sn){if(mr=mr.filter(function(hn){return cn(hn,Sn)!==1}),!mr.length)return rr=Math.max(Sn-1,$t),"break"},Tr=$t;Tr1})&&kr.push(Sn)},Sr=Zn;Sr<=rr;Sr+=1)var yr=ar(Sr);var ba=kr.map(function(On){var Sn=Et[On],hn=Ce(Sn.record,On),an=function(An){var er=On+An-1,Jn=Ce(Et[er].record,er),sa=Vt(hn,Jn);return sa.bottom-sa.top},or=Vt(hn);return t.createElement(Wt,{key:On,data:Sn,rowKey:hn,index:On,style:{top:-Pn+or.top},extra:!0,getHeight:an})});return ba},kt=t.useMemo(function(){return{columnsOffset:Mt}},[Mt]),Mn="".concat(Te,"-tbody"),zn;return Et.length?zn=t.createElement(tn.Z,{fullHeight:!1,ref:ht,className:Y()(Mn,"".concat(Mn,"-virtual")),height:tt,itemHeight:xt||24,data:Et,itemKey:function(Xt){return Ce(Xt.record)},scrollWidth:rt,onVirtualScroll:function(Xt){var Lt=Xt.x;z({scrollLeft:Lt})},extraRender:fn},function(Ft,Xt,Lt){var $t=Ce(Ft.record,Xt);return t.createElement(Wt,(0,se.Z)({data:Ft,rowKey:$t,index:Xt},Lt))}):zn=t.createElement("div",{className:Y()("".concat(Te,"-placeholder"))},t.createElement(Ue,{component:"div",prefixCls:Te},ze)),t.createElement(nn.Provider,{value:kt},zn)}),ct=ce(st),Ht=ct,Nt=function(i,P){var z=P.ref,J=P.onScroll;return t.createElement(Ht,{ref:z,data:i,onScroll:J})},Cn=100;function En(a){var i=a.columns,P=a.scroll,z=a.prefixCls,J=z===void 0?We:z,_=a.className,ye=a.listItemHeight,Ce=P||{},pe=Ce.x,Te=Ce.y;typeof pe!="number"&&(pe=((i||[]).length+1)*Cn),typeof Te!="number"&&(Te=500);var je=t.useMemo(function(){return{scrollY:Te,listItemHeight:ye}},[Te,ye]);return t.createElement(sn.Provider,{value:je},t.createElement(Pt,(0,se.Z)({},a,{className:Y()(_,"".concat(J,"-virtual")),scroll:(0,W.Z)((0,W.Z)({},P),{},{x:pe}),components:{body:Nt},columns:i,internalHooks:c,tailor:!0})))}function rn(a){return we(En,a)}var nr=rn(),Hn=null;function dr(a){return null}var At=dr;function wt(a){return null}var gn=wt,In=e(2738),Xn=e(68031),Ar=e(36355),br=e(93891),Wn=e(19716),gr=e(8628),fr=e(31724),vr=e(58421),Lr=e(71418),lr=e(88088);function Zr(a){return function(P){let{prefixCls:z,onExpand:J,record:_,expanded:ye,expandable:Ce}=P;const pe=`${z}-row-expand-icon`;return t.createElement("button",{type:"button",onClick:Te=>{J(_,Te),Te.stopPropagation()},className:Y()(pe,{[`${pe}-spaced`]:!Ce,[`${pe}-expanded`]:Ce&&ye,[`${pe}-collapsed`]:Ce&&!ye}),"aria-label":ye?a.collapse:a.expand,"aria-expanded":ye})}}var Jr=Zr;function Kr(a,i){return"key"in a&&a.key!==void 0&&a.key!==null?a.key:a.dataIndex?Array.isArray(a.dataIndex)?a.dataIndex.join("."):a.dataIndex:i}function _r(a,i){return i?`${i}-${a}`:`${a}`}function Hr(a,i){return typeof a=="function"?a(i):a}function qr(a,i){const P=Hr(a,i);return Object.prototype.toString.call(P)==="[object Object]"?"":P}var Na={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},ta=Na,Pa=e(7657),$a=function(i,P){return t.createElement(Pa.Z,(0,se.Z)({},i,{ref:P,icon:ta}))},va=t.forwardRef($a),jr=va,Ra=e(56762);function Ea(a){const i=t.useRef(a),P=(0,Ra.Z)();return[()=>i.current,z=>{i.current=z,P()}]}var ia=e(3113),ma=e(24905),la=e(38854),_t=e(64165),Bn=e(20834),wn=e(40875),Dn=e(5112),Vn=e(17574),qn=e(47472),Wr=e(92832);function Er(a){let{value:i,onChange:P,filterSearch:z,tablePrefixCls:J,locale:_}=a;return z?t.createElement("div",{className:`${J}-filter-dropdown-search`},t.createElement(Wr.default,{prefix:t.createElement(qn.Z,null),placeholder:_.filterSearchPlaceholder,onChange:P,value:i,htmlSize:1,className:`${J}-filter-dropdown-search-input`})):null}var Ir=Er,zr=e(10228);const sr=a=>{const{keyCode:i}=a;i===zr.Z.ENTER&&a.stopPropagation()};var Nr=t.forwardRef((a,i)=>t.createElement("div",{className:a.className,onClick:P=>P.stopPropagation(),onKeyDown:sr,ref:i},a.children));function Cr(a){let i=[];return(a||[]).forEach(P=>{let{value:z,children:J}=P;i.push(z),J&&(i=[].concat((0,gt.Z)(i),(0,gt.Z)(Cr(J))))}),i}function Vr(a){return a.some(i=>{let{children:P}=i;return P})}function Or(a,i){return typeof i=="string"||typeof i=="number"?i==null?void 0:i.toString().toLowerCase().includes(a.trim().toLowerCase()):!1}function Ha(a){let{filters:i,prefixCls:P,filteredKeys:z,filterMultiple:J,searchValue:_,filterSearch:ye}=a;return i.map((Ce,pe)=>{const Te=String(Ce.value);if(Ce.children)return{key:Te||pe,label:Ce.text,popupClassName:`${P}-dropdown-submenu`,children:Ha({filters:Ce.children,prefixCls:P,filteredKeys:z,filterMultiple:J,searchValue:_,filterSearch:ye})};const je=J?ma.default:Dn.ZP,ze={key:Ce.value!==void 0?Te:pe,label:t.createElement(t.Fragment,null,t.createElement(je,{checked:z.includes(Te)}),t.createElement("span",null,Ce.text))};return _.trim()?typeof ye=="function"?ye(_,Ce)?ze:null:Or(_,Ce.text)?ze:null:ze})}function Fa(a){var i,P;const{tablePrefixCls:z,prefixCls:J,column:_,dropdownPrefixCls:ye,columnKey:Ce,filterMultiple:pe,filterMode:Te="menu",filterSearch:je=!1,filterState:ze,triggerFilter:rt,locale:et,children:tt,getPopupContainer:xt}=a,{filterDropdownOpen:ht,onFilterDropdownOpenChange:Et,filterResetToDefaultFilteredValue:bt,defaultFilteredValue:Mt,filterDropdownVisible:cn,onFilterDropdownVisibleChange:fn}=_,[kt,Mn]=t.useState(!1),zn=!!(ze&&(!((i=ze.filteredKeys)===null||i===void 0)&&i.length||ze.forceFiltered)),Ft=on=>{Mn(on),Et==null||Et(on),fn==null||fn(on)},Xt=(P=ht!=null?ht:cn)!==null&&P!==void 0?P:kt,Lt=ze==null?void 0:ze.filteredKeys,[$t,Vt]=Ea(Lt||[]),Pn=on=>{let{selectedKeys:An}=on;Vt(An)},Ln=(on,An)=>{let{node:er,checked:Jn}=An;Pn(pe?{selectedKeys:on}:{selectedKeys:Jn&&er.key?[er.key]:[]})};t.useEffect(()=>{kt&&Pn({selectedKeys:Lt||[]})},[Lt]);const[Zn,pn]=t.useState([]),jn=on=>{pn(on)},[kn,mr]=t.useState(""),rr=on=>{const{value:An}=on.target;mr(An)};t.useEffect(()=>{kt||mr("")},[kt]);const Br=on=>{const An=on&&on.length?on:null;if(An===null&&(!ze||!ze.filteredKeys)||(0,$.Z)(An,ze==null?void 0:ze.filteredKeys,!0))return null;rt({column:_,key:Ce,filteredKeys:An})},Tr=()=>{Ft(!1),Br($t())},Fn=function(){let{confirm:on,closeDropdown:An}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};on&&Br([]),An&&Ft(!1),mr(""),Vt(bt?(Mt||[]).map(er=>String(er)):[])},kr=function(){let{closeDropdown:on}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};on&&Ft(!1),Br($t())},ar=on=>{on&&Lt!==void 0&&Vt(Lt||[]),Ft(on),!on&&!_.filterDropdown&&Tr()},Sr=Y()({[`${ye}-menu-without-submenu`]:!Vr(_.filters||[])}),yr=on=>{if(on.target.checked){const An=Cr(_==null?void 0:_.filters).map(er=>String(er));Vt(An)}else Vt([])},ba=on=>{let{filters:An}=on;return(An||[]).map((er,Jn)=>{const sa=String(er.value),ra={title:er.text,key:er.value!==void 0?sa:Jn};return er.children&&(ra.children=ba({filters:er.children})),ra})},On=on=>{var An;return Object.assign(Object.assign({},on),{text:on.title,value:on.key,children:((An=on.children)===null||An===void 0?void 0:An.map(er=>On(er)))||[]})};let Sn;if(typeof _.filterDropdown=="function")Sn=_.filterDropdown({prefixCls:`${ye}-custom`,setSelectedKeys:on=>Pn({selectedKeys:on}),selectedKeys:$t(),confirm:kr,clearFilters:Fn,filters:_.filters,visible:Xt,close:()=>{Ft(!1)}});else if(_.filterDropdown)Sn=_.filterDropdown;else{const on=$t()||[],An=()=>(_.filters||[]).length===0?t.createElement(_t.Z,{image:_t.Z.PRESENTED_IMAGE_SIMPLE,description:et.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Te==="tree"?t.createElement(t.Fragment,null,t.createElement(Ir,{filterSearch:je,value:kn,onChange:rr,tablePrefixCls:z,locale:et}),t.createElement("div",{className:`${z}-filter-dropdown-tree`},pe?t.createElement(ma.default,{checked:on.length===Cr(_.filters).length,indeterminate:on.length>0&&on.lengthtypeof je=="function"?je(kn,On(Jn)):Or(kn,Jn.title):void 0}))):t.createElement(t.Fragment,null,t.createElement(Ir,{filterSearch:je,value:kn,onChange:rr,tablePrefixCls:z,locale:et}),t.createElement(Bn.default,{selectable:!0,multiple:pe,prefixCls:`${ye}-menu`,className:Sr,onSelect:Pn,onDeselect:Pn,selectedKeys:on,getPopupContainer:xt,openKeys:Zn,onOpenChange:jn,items:Ha({filters:_.filters||[],filterSearch:je,prefixCls:J,filteredKeys:$t(),filterMultiple:pe,searchValue:kn})})),er=()=>bt?(0,$.Z)((Mt||[]).map(Jn=>String(Jn)),on,!0):on.length===0;Sn=t.createElement(t.Fragment,null,An(),t.createElement("div",{className:`${J}-dropdown-btns`},t.createElement(ia.ZP,{type:"link",size:"small",disabled:er(),onClick:()=>Fn()},et.filterReset),t.createElement(ia.ZP,{type:"primary",size:"small",onClick:Tr},et.filterConfirm)))}_.filterDropdown&&(Sn=t.createElement(wn.J,{selectable:void 0},Sn));const hn=()=>t.createElement(Nr,{className:`${J}-dropdown`},Sn);let an;typeof _.filterIcon=="function"?an=_.filterIcon(zn):_.filterIcon?an=_.filterIcon:an=t.createElement(jr,null);const{direction:or}=t.useContext(Ar.E_);return t.createElement("div",{className:`${J}-column`},t.createElement("span",{className:`${z}-column-title`},tt),t.createElement(la.Z,{dropdownRender:hn,trigger:["click"],open:Xt,onOpenChange:ar,getPopupContainer:xt,placement:or==="rtl"?"bottomLeft":"bottomRight"},t.createElement("span",{role:"button",tabIndex:-1,className:Y()(`${J}-trigger`,{active:zn}),onClick:on=>{on.stopPropagation()}},an)))}var oo=Fa;function Ia(a,i,P){let z=[];return(a||[]).forEach((J,_)=>{var ye;const Ce=_r(_,P);if(J.filters||"filterDropdown"in J||"onFilter"in J)if("filteredValue"in J){let pe=J.filteredValue;"filterDropdown"in J||(pe=(ye=pe==null?void 0:pe.map(String))!==null&&ye!==void 0?ye:pe),z.push({column:J,key:Kr(J,Ce),filteredKeys:pe,forceFiltered:J.filtered})}else z.push({column:J,key:Kr(J,Ce),filteredKeys:i&&J.defaultFilteredValue?J.defaultFilteredValue:void 0,forceFiltered:J.filtered});"children"in J&&(z=[].concat((0,gt.Z)(z),(0,gt.Z)(Ia(J.children,i,Ce))))}),z}function io(a,i,P,z,J,_,ye,Ce){return P.map((pe,Te)=>{const je=_r(Te,Ce),{filterMultiple:ze=!0,filterMode:rt,filterSearch:et}=pe;let tt=pe;if(tt.filters||tt.filterDropdown){const xt=Kr(tt,je),ht=z.find(Et=>{let{key:bt}=Et;return xt===bt});tt=Object.assign(Object.assign({},tt),{title:Et=>t.createElement(oo,{tablePrefixCls:a,prefixCls:`${a}-filter`,dropdownPrefixCls:i,column:tt,columnKey:xt,filterState:ht,filterMultiple:ze,filterMode:rt,filterSearch:et,triggerFilter:_,locale:J,getPopupContainer:ye},Hr(pe.title,Et))})}return"children"in tt&&(tt=Object.assign(Object.assign({},tt),{children:io(a,i,tt.children,z,J,_,ye,je)})),tt})}function lo(a){const i={};return a.forEach(P=>{let{key:z,filteredKeys:J,column:_}=P;const{filters:ye,filterDropdown:Ce}=_;if(Ce)i[z]=J||null;else if(Array.isArray(J)){const pe=Cr(ye);i[z]=pe.filter(Te=>J.includes(String(Te)))}else i[z]=null}),i}function eo(a,i){return i.reduce((P,z)=>{const{column:{onFilter:J,filters:_},filteredKeys:ye}=z;return J&&ye&&ye.length?P.filter(Ce=>ye.some(pe=>{const Te=Cr(_),je=Te.findIndex(rt=>String(rt)===String(pe)),ze=je!==-1?Te[je]:pe;return J(ze,Ce)})):P},a)}const to=a=>a.flatMap(i=>"children"in i?[i].concat((0,gt.Z)(to(i.children||[]))):[i]);function xo(a){let{prefixCls:i,dropdownPrefixCls:P,mergedColumns:z,onFilterChange:J,getPopupContainer:_,locale:ye}=a;const Ce=t.useMemo(()=>to(z||[]),[z]),[pe,Te]=t.useState(()=>Ia(Ce,!0)),je=t.useMemo(()=>{const tt=Ia(Ce,!1);if(tt.length===0)return tt;let xt=!0,ht=!0;if(tt.forEach(Et=>{let{filteredKeys:bt}=Et;bt!==void 0?xt=!1:ht=!1}),xt){const Et=(Ce||[]).map((bt,Mt)=>Kr(bt,_r(Mt)));return pe.filter(bt=>{let{key:Mt}=bt;return Et.includes(Mt)}).map(bt=>{const Mt=Ce[Et.findIndex(cn=>cn===bt.key)];return Object.assign(Object.assign({},bt),{column:Object.assign(Object.assign({},bt.column),Mt),forceFiltered:Mt.filtered})})}return tt},[Ce,pe]),ze=t.useMemo(()=>lo(je),[je]),rt=tt=>{const xt=je.filter(ht=>{let{key:Et}=ht;return Et!==tt.key});xt.push(tt),Te(xt),J(lo(xt),xt)};return[tt=>io(i,P,tt,je,ye,rt,_),je,ze]}var so=xo;function no(a,i,P){const z=t.useRef({});function J(_){if(!z.current||z.current.data!==a||z.current.childrenColumnName!==i||z.current.getRowKey!==P){let Ce=function(pe){pe.forEach((Te,je)=>{const ze=P(Te,je);ye.set(ze,Te),Te&&typeof Te=="object"&&i in Te&&Ce(Te[i]||[])})};const ye=new Map;Ce(a),z.current={data:a,childrenColumnName:i,kvMap:ye,getRowKey:P}}return z.current.kvMap.get(_)}return[J]}var Ya=e(50371),co=function(a,i){var P={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&i.indexOf(z)<0&&(P[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,z=Object.getOwnPropertySymbols(a);J{const _=a[J];typeof _!="function"&&(P[J]=_)}),P}function uo(a,i,P){const z=P&&typeof P=="object"?P:{},{total:J=0}=z,_=co(z,["total"]),[ye,Ce]=(0,t.useState)(()=>({current:"defaultCurrent"in _?_.defaultCurrent:1,pageSize:"defaultPageSize"in _?_.defaultPageSize:Qa})),pe=(0,Ya.Z)(ye,_,{total:J>0?J:a}),Te=Math.ceil((J||a)/pe.pageSize);pe.current>Te&&(pe.current=Te||1);const je=(rt,et)=>{Ce({current:rt!=null?rt:1,pageSize:et||pe.pageSize})},ze=(rt,et)=>{var tt;P&&((tt=P.onChange)===null||tt===void 0||tt.call(P,rt,et)),je(rt,et),i(rt,et||(pe==null?void 0:pe.pageSize))};return P===!1?[{},()=>{}]:[Object.assign(Object.assign({},pe),{onChange:ze}),je]}var fo=uo,vo=e(84105),Wa=e(35654),Qn=e(90782),Kn=e(71430),ea=e(18929);const Fr={},Dr="SELECT_ALL",na="SELECT_INVERT",aa="SELECT_NONE",Oa=[],ga=(a,i)=>{let P=[];return(i||[]).forEach(z=>{P.push(z),z&&typeof z=="object"&&a in z&&(P=[].concat((0,gt.Z)(P),(0,gt.Z)(ga(a,z[a]))))}),P};var Da=(a,i)=>{const{preserveSelectedRowKeys:P,selectedRowKeys:z,defaultSelectedRowKeys:J,getCheckboxProps:_,onChange:ye,onSelect:Ce,onSelectAll:pe,onSelectInvert:Te,onSelectNone:je,onSelectMultiple:ze,columnWidth:rt,type:et,selections:tt,fixed:xt,renderCell:ht,hideSelectAll:Et,checkStrictly:bt=!0}=i||{},{prefixCls:Mt,data:cn,pageData:fn,getRecordByKey:kt,getRowKey:Mn,expandType:zn,childrenColumnName:Ft,locale:Xt,getPopupContainer:Lt}=a,[$t,Vt]=(0,ea.Z)(z||J||Oa,{value:z}),Pn=t.useRef(new Map),Ln=(0,t.useCallback)(On=>{if(P){const Sn=new Map;On.forEach(hn=>{let an=kt(hn);!an&&Pn.current.has(hn)&&(an=Pn.current.get(hn)),Sn.set(hn,an)}),Pn.current=Sn}},[kt,P]);t.useEffect(()=>{Ln($t)},[$t]);const{keyEntities:Zn}=(0,t.useMemo)(()=>{if(bt)return{keyEntities:null};let On=cn;if(P){const Sn=new Set(cn.map((an,or)=>Mn(an,or))),hn=Array.from(Pn.current).reduce((an,or)=>{let[on,An]=or;return Sn.has(on)?an:an.concat(An)},[]);On=[].concat((0,gt.Z)(On),(0,gt.Z)(hn))}return(0,Kn.I8)(On,{externalGetKey:Mn,childrenPropName:Ft})},[cn,Mn,bt,Ft,P]),pn=(0,t.useMemo)(()=>ga(Ft,fn),[Ft,fn]),jn=(0,t.useMemo)(()=>{const On=new Map;return pn.forEach((Sn,hn)=>{const an=Mn(Sn,hn),or=(_?_(Sn):null)||{};On.set(an,or)}),On},[pn,Mn,_]),kn=(0,t.useCallback)(On=>{var Sn;return!!(!((Sn=jn.get(Mn(On)))===null||Sn===void 0)&&Sn.disabled)},[jn,Mn]),[mr,rr]=(0,t.useMemo)(()=>{if(bt)return[$t||[],[]];const{checkedKeys:On,halfCheckedKeys:Sn}=(0,Qn.S)($t,!0,Zn,kn);return[On||[],Sn]},[$t,bt,Zn,kn]),Br=(0,t.useMemo)(()=>{const On=et==="radio"?mr.slice(0,1):mr;return new Set(On)},[mr,et]),Tr=(0,t.useMemo)(()=>et==="radio"?new Set:new Set(rr),[rr,et]),[Fn,kr]=(0,t.useState)(null);t.useEffect(()=>{i||Vt(Oa)},[!!i]);const ar=(0,t.useCallback)((On,Sn)=>{let hn,an;Ln(On),P?(hn=On,an=On.map(or=>Pn.current.get(or))):(hn=[],an=[],On.forEach(or=>{const on=kt(or);on!==void 0&&(hn.push(or),an.push(on))})),Vt(hn),ye==null||ye(hn,an,{type:Sn})},[Vt,kt,ye,P]),Sr=(0,t.useCallback)((On,Sn,hn,an)=>{if(Ce){const or=hn.map(on=>kt(on));Ce(kt(On),Sn,or,an)}ar(hn,"single")},[Ce,kt,ar]),yr=(0,t.useMemo)(()=>!tt||Et?null:(tt===!0?[Dr,na,aa]:tt).map(Sn=>Sn===Dr?{key:"all",text:Xt.selectionAll,onSelect(){ar(cn.map((hn,an)=>Mn(hn,an)).filter(hn=>{const an=jn.get(hn);return!(an!=null&&an.disabled)||Br.has(hn)}),"all")}}:Sn===na?{key:"invert",text:Xt.selectInvert,onSelect(){const hn=new Set(Br);fn.forEach((or,on)=>{const An=Mn(or,on),er=jn.get(An);er!=null&&er.disabled||(hn.has(An)?hn.delete(An):hn.add(An))});const an=Array.from(hn);Te&&Te(an),ar(an,"invert")}}:Sn===aa?{key:"none",text:Xt.selectNone,onSelect(){je==null||je(),ar(Array.from(Br).filter(hn=>{const an=jn.get(hn);return an==null?void 0:an.disabled}),"none")}}:Sn).map(Sn=>Object.assign(Object.assign({},Sn),{onSelect:function(){for(var hn,an,or=arguments.length,on=new Array(or),An=0;An{var Sn;if(!i)return On.filter(ir=>ir!==Fr);let hn=(0,gt.Z)(On);const an=new Set(Br),or=pn.map(Mn).filter(ir=>!jn.get(ir).disabled),on=or.every(ir=>an.has(ir)),An=or.some(ir=>an.has(ir)),er=()=>{const ir=[];on?or.forEach(Pr=>{an.delete(Pr),ir.push(Pr)}):or.forEach(Pr=>{an.has(Pr)||(an.add(Pr),ir.push(Pr))});const cr=Array.from(an);pe==null||pe(!on,cr.map(Pr=>kt(Pr)),ir.map(Pr=>kt(Pr))),ar(cr,"all"),kr(null)};let Jn;if(et!=="radio"){let ir;if(yr){const Un={getPopupContainer:Lt,items:yr.map((da,ca)=>{const{key:wa,text:La,onSelect:za}=da;return{key:wa!=null?wa:ca,onClick:()=>{za==null||za(or)},label:La}})};ir=t.createElement("div",{className:`${Mt}-selection-extra`},t.createElement(la.Z,{menu:Un,getPopupContainer:Lt},t.createElement("span",null,t.createElement(vo.Z,null))))}const cr=pn.map((Un,da)=>{const ca=Mn(Un,da),wa=jn.get(ca)||{};return Object.assign({checked:an.has(ca)},wa)}).filter(Un=>{let{disabled:da}=Un;return da}),Pr=!!cr.length&&cr.length===pn.length,Xr=Pr&&cr.every(Un=>{let{checked:da}=Un;return da}),Yr=Pr&&cr.some(Un=>{let{checked:da}=Un;return da});Jn=!Et&&t.createElement("div",{className:`${Mt}-selection`},t.createElement(ma.default,{checked:Pr?Xr:!!pn.length&&on,indeterminate:Pr?!Xr&&Yr:!on&&An,onChange:er,disabled:pn.length===0||Pr,"aria-label":ir?"Custom selection":"Select all",skipGroup:!0}),ir)}let sa;et==="radio"?sa=(ir,cr,Pr)=>{const Xr=Mn(cr,Pr),Yr=an.has(Xr);return{node:t.createElement(Dn.ZP,Object.assign({},jn.get(Xr),{checked:Yr,onClick:Un=>Un.stopPropagation(),onChange:Un=>{an.has(Xr)||Sr(Xr,!0,[Xr],Un.nativeEvent)}})),checked:Yr}}:sa=(ir,cr,Pr)=>{var Xr;const Yr=Mn(cr,Pr),Un=an.has(Yr),da=Tr.has(Yr),ca=jn.get(Yr);let wa;return zn==="nest"?wa=da:wa=(Xr=ca==null?void 0:ca.indeterminate)!==null&&Xr!==void 0?Xr:da,{node:t.createElement(ma.default,Object.assign({},ca,{indeterminate:wa,checked:Un,skipGroup:!0,onClick:La=>La.stopPropagation(),onChange:La=>{let{nativeEvent:za}=La;const{shiftKey:Po}=za;let Ga=-1,Ba=-1;if(Po&&bt){const Ca=new Set([Fn,Yr]);or.some((fa,Qr)=>{if(Ca.has(fa))if(Ga===-1)Ga=Qr;else return Ba=Qr,!0;return!1})}if(Ba!==-1&&Ga!==Ba&&bt){const Ca=or.slice(Ga,Ba+1),fa=[];Un?Ca.forEach($r=>{an.has($r)&&(fa.push($r),an.delete($r))}):Ca.forEach($r=>{an.has($r)||(fa.push($r),an.add($r))});const Qr=Array.from(an);ze==null||ze(!Un,Qr.map($r=>kt($r)),fa.map($r=>kt($r))),ar(Qr,"multiple")}else{const Ca=mr;if(bt){const fa=Un?(0,Wa._5)(Ca,Yr):(0,Wa.L0)(Ca,Yr);Sr(Yr,!Un,fa,za)}else{const fa=(0,Qn.S)([].concat((0,gt.Z)(Ca),[Yr]),!0,Zn,kn),{checkedKeys:Qr,halfCheckedKeys:$r}=fa;let Ka=Qr;if(Un){const ao=new Set(Qr);ao.delete(Yr),Ka=(0,Qn.S)(Array.from(ao),{checked:!1,halfCheckedKeys:$r},Zn,kn).checkedKeys}Sr(Yr,!Un,Ka,za)}}kr(Un?null:Yr)}})),checked:Un}};const ra=(ir,cr,Pr)=>{const{node:Xr,checked:Yr}=sa(ir,cr,Pr);return ht?ht(Yr,cr,Pr,Xr):Xr};if(!hn.includes(Fr))if(hn.findIndex(ir=>{var cr;return((cr=ir[vt])===null||cr===void 0?void 0:cr.columnType)==="EXPAND_COLUMN"})===0){const[ir,...cr]=hn;hn=[ir,Fr].concat((0,gt.Z)(cr))}else hn=[Fr].concat((0,gt.Z)(hn));const Za=hn.indexOf(Fr);hn=hn.filter((ir,cr)=>ir!==Fr||cr===Za);const Ur=hn[Za-1],Ma=hn[Za+1];let Gr=xt;Gr===void 0&&((Ma==null?void 0:Ma.fixed)!==void 0?Gr=Ma.fixed:(Ur==null?void 0:Ur.fixed)!==void 0&&(Gr=Ur.fixed)),Gr&&Ur&&((Sn=Ur[vt])===null||Sn===void 0?void 0:Sn.columnType)==="EXPAND_COLUMN"&&Ur.fixed===void 0&&(Ur.fixed=Gr);const ya=Y()(`${Mt}-selection-col`,{[`${Mt}-selection-col-with-dropdown`]:tt&&et==="checkbox"}),ro={fixed:Gr,width:rt,className:`${Mt}-selection-column`,title:i.columnTitle||Jn,render:ra,onCell:i.onCell,[vt]:{className:ya}};return hn.map(ir=>ir===Fr?ro:ir)},[Mn,pn,i,mr,Br,Tr,rt,yr,zn,Fn,jn,ze,Sr,kn]),Br]},mo=e(89489),$o=e(59477),go=e(6848);const po="ascend",Eo="descend";function ho(a){return typeof a.sorter=="object"&&typeof a.sorter.multiple=="number"?a.sorter.multiple:!1}function Io(a){return typeof a=="function"?a:a&&typeof a=="object"&&a.compare?a.compare:!1}function Fo(a,i){return i?a[a.indexOf(i)+1]:a[0]}function Oo(a,i,P){let z=[];function J(_,ye){z.push({column:_,key:Kr(_,ye),multiplePriority:ho(_),sortOrder:_.sortOrder})}return(a||[]).forEach((_,ye)=>{const Ce=_r(ye,P);_.children?("sortOrder"in _&&J(_,Ce),z=[].concat((0,gt.Z)(z),(0,gt.Z)(Oo(_.children,i,Ce)))):_.sorter&&("sortOrder"in _?J(_,Ce):i&&_.defaultSortOrder&&z.push({column:_,key:Kr(_,Ce),multiplePriority:ho(_),sortOrder:_.defaultSortOrder}))}),z}function Ro(a,i,P,z,J,_,ye,Ce){return(i||[]).map((pe,Te)=>{const je=_r(Te,Ce);let ze=pe;if(ze.sorter){const rt=ze.sortDirections||J,et=ze.showSorterTooltip===void 0?ye:ze.showSorterTooltip,tt=Kr(ze,je),xt=P.find(zn=>{let{key:Ft}=zn;return Ft===tt}),ht=xt?xt.sortOrder:null,Et=Fo(rt,ht);let bt;if(pe.sortIcon)bt=pe.sortIcon({sortOrder:ht});else{const zn=rt.includes(po)&&t.createElement($o.Z,{className:Y()(`${a}-column-sorter-up`,{active:ht===po})}),Ft=rt.includes(Eo)&&t.createElement(mo.Z,{className:Y()(`${a}-column-sorter-down`,{active:ht===Eo})});bt=t.createElement("span",{className:Y()(`${a}-column-sorter`,{[`${a}-column-sorter-full`]:!!(zn&&Ft)})},t.createElement("span",{className:`${a}-column-sorter-inner`,"aria-hidden":"true"},zn,Ft))}const{cancelSort:Mt,triggerAsc:cn,triggerDesc:fn}=_||{};let kt=Mt;Et===Eo?kt=fn:Et===po&&(kt=cn);const Mn=typeof et=="object"?et:{title:kt};ze=Object.assign(Object.assign({},ze),{className:Y()(ze.className,{[`${a}-column-sort`]:ht}),title:zn=>{const Ft=t.createElement("div",{className:`${a}-column-sorters`},t.createElement("span",{className:`${a}-column-title`},Hr(pe.title,zn)),bt);return et?t.createElement(go.Z,Object.assign({},Mn),Ft):Ft},onHeaderCell:zn=>{const Ft=pe.onHeaderCell&&pe.onHeaderCell(zn)||{},Xt=Ft.onClick,Lt=Ft.onKeyDown;Ft.onClick=Pn=>{z({column:pe,key:tt,sortOrder:Et,multiplePriority:ho(pe)}),Xt==null||Xt(Pn)},Ft.onKeyDown=Pn=>{Pn.keyCode===zr.Z.ENTER&&(z({column:pe,key:tt,sortOrder:Et,multiplePriority:ho(pe)}),Lt==null||Lt(Pn))};const $t=qr(pe.title,{}),Vt=$t==null?void 0:$t.toString();return ht?Ft["aria-sort"]=ht==="ascend"?"ascending":"descending":Ft["aria-label"]=Vt||"",Ft.className=Y()(Ft.className,`${a}-column-has-sorters`),Ft.tabIndex=0,pe.ellipsis&&(Ft.title=($t!=null?$t:"").toString()),Ft}})}return"children"in ze&&(ze=Object.assign(Object.assign({},ze),{children:Ro(a,ze.children,P,z,J,_,ye,je)})),ze})}function No(a){const{column:i,sortOrder:P}=a;return{column:i,order:P,field:i.dataIndex,columnKey:i.key}}function Do(a){const i=a.filter(P=>{let{sortOrder:z}=P;return z}).map(No);return i.length===0&&a.length?Object.assign(Object.assign({},No(a[a.length-1])),{column:void 0}):i.length<=1?i[0]||{}:i}function Mr(a,i,P){const z=i.slice().sort((ye,Ce)=>Ce.multiplePriority-ye.multiplePriority),J=a.slice(),_=z.filter(ye=>{let{column:{sorter:Ce},sortOrder:pe}=ye;return Io(Ce)&&pe});return _.length?J.sort((ye,Ce)=>{for(let pe=0;pe<_.length;pe+=1){const Te=_[pe],{column:{sorter:je},sortOrder:ze}=Te,rt=Io(je);if(rt&&ze){const et=rt(ye,Ce,ze);if(et!==0)return ze===po?et:-et}}return 0}).map(ye=>{const Ce=ye[P];return Ce?Object.assign(Object.assign({},ye),{[P]:Mr(Ce,i,P)}):ye}):J}function pr(a){let{prefixCls:i,mergedColumns:P,onSorterChange:z,sortDirections:J,tableLocale:_,showSorterTooltip:ye}=a;const[Ce,pe]=t.useState(Oo(P,!0)),Te=t.useMemo(()=>{let tt=!0;const xt=Oo(P,!1);if(!xt.length)return Ce;const ht=[];function Et(Mt){tt?ht.push(Mt):ht.push(Object.assign(Object.assign({},Mt),{sortOrder:null}))}let bt=null;return xt.forEach(Mt=>{bt===null?(Et(Mt),Mt.sortOrder&&(Mt.multiplePriority===!1?tt=!1:bt=!0)):(bt&&Mt.multiplePriority!==!1||(tt=!1),Et(Mt))}),ht},[P,Ce]),je=t.useMemo(()=>{const tt=Te.map(xt=>{let{column:ht,sortOrder:Et}=xt;return{column:ht,order:Et}});return{sortColumns:tt,sortColumn:tt[0]&&tt[0].column,sortOrder:tt[0]&&tt[0].order}},[Te]);function ze(tt){let xt;tt.multiplePriority===!1||!Te.length||Te[0].multiplePriority===!1?xt=[tt]:xt=[].concat((0,gt.Z)(Te.filter(ht=>{let{key:Et}=ht;return Et!==tt.key})),[tt]),pe(xt),z(Do(xt),xt)}return[tt=>Ro(i,tt,Te,ze,J,_,ye),Te,je,()=>Do(Te)]}function wr(a,i){return a.map(P=>{const z=Object.assign({},P);return z.title=Hr(P.title,i),"children"in z&&(z.children=wr(z.children,i)),z})}function pa(a){return[t.useCallback(P=>wr(P,a),[a])]}var ha=ln((a,i)=>{const{_renderTimes:P}=a,{_renderTimes:z}=i;return P!==z}),bo=rn((a,i)=>{const{_renderTimes:P}=a,{_renderTimes:z}=i;return P!==z}),ka=e(64993),yo=e(17313),Mo=e(83116),Bo=e(37613),wo=a=>{const{componentCls:i}=a,P=`${a.lineWidth}px ${a.lineType} ${a.tableBorderColor}`,z=(J,_,ye)=>({[`&${i}-${J}`]:{[`> ${i}-container`]:{[`> ${i}-content, > ${i}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${i}-expanded-row-fixed`]:{margin:`-${_}px -${ye+a.lineWidth}px`}}}}}});return{[`${i}-wrapper`]:{[`${i}${i}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${i}-title`]:{border:P,borderBottom:0},[`> ${i}-container`]:{borderInlineStart:P,borderTop:P,[` + > ${i}-content, + > ${i}-header, + > ${i}-body, + > ${i}-summary + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:P},"> thead":{"> tr:not(:last-child) > th":{borderBottom:P},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${i}-cell-fix-right-first::after`]:{borderInlineEnd:P}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${i}-expanded-row-fixed`]:{margin:`-${a.tablePaddingVertical}px -${a.tablePaddingHorizontal+a.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:a.lineWidth,bottom:0,borderInlineEnd:P,content:'""'}}}}}},[`&${i}-scroll-horizontal`]:{[`> ${i}-container > ${i}-body`]:{"> table > tbody":{[` + > tr${i}-expanded-row, + > tr${i}-placeholder + `]:{"> th, > td":{borderInlineEnd:0}}}}}},z("middle",a.tablePaddingVerticalMiddle,a.tablePaddingHorizontalMiddle)),z("small",a.tablePaddingVerticalSmall,a.tablePaddingHorizontalSmall)),{[`> ${i}-footer`]:{border:P,borderTop:0}}),[`${i}-cell`]:{[`${i}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${a.lineWidth}px 0 ${a.lineWidth}px ${a.tableHeaderBg}`}},[`${i}-bordered ${i}-cell-scrollbar`]:{borderInlineEnd:P}}}},mi=a=>{const{componentCls:i}=a;return{[`${i}-wrapper`]:{[`${i}-cell-ellipsis`]:Object.assign(Object.assign({},yo.vS),{wordBreak:"keep-all",[` + &${i}-cell-fix-left-last, + &${i}-cell-fix-right-first + `]:{overflow:"visible",[`${i}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${i}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},gi=a=>{const{componentCls:i}=a;return{[`${i}-wrapper`]:{[`${i}-tbody > tr${i}-placeholder`]:{textAlign:"center",color:a.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:a.colorBgContainer}}}}},pi=e(15969),hi=a=>{const{componentCls:i,antCls:P,controlInteractiveSize:z,motionDurationSlow:J,lineWidth:_,paddingXS:ye,lineType:Ce,tableBorderColor:pe,tableExpandIconBg:Te,tableExpandColumnWidth:je,borderRadius:ze,fontSize:rt,fontSizeSM:et,lineHeight:tt,tablePaddingVertical:xt,tablePaddingHorizontal:ht,tableExpandedRowBg:Et,paddingXXS:bt}=a,Mt=z/2-_,cn=Mt*2+_*3,fn=`${_}px ${Ce} ${pe}`,kt=bt-_;return{[`${i}-wrapper`]:{[`${i}-expand-icon-col`]:{width:je},[`${i}-row-expand-icon-cell`]:{textAlign:"center",[`${i}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${i}-row-indent`]:{height:1,float:"left"},[`${i}-row-expand-icon`]:Object.assign(Object.assign({},(0,pi.N)(a)),{position:"relative",float:"left",boxSizing:"border-box",width:cn,height:cn,padding:0,color:"inherit",lineHeight:`${cn}px`,background:Te,border:fn,borderRadius:ze,transform:`scale(${z/cn})`,transition:`all ${J}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${J} ease-out`,content:'""'},"&::before":{top:Mt,insetInlineEnd:kt,insetInlineStart:kt,height:_},"&::after":{top:kt,bottom:kt,insetInlineStart:Mt,width:_,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${i}-row-indent + ${i}-row-expand-icon`]:{marginTop:(rt*tt-_*3)/2-Math.ceil((et*1.4-_*3)/2),marginInlineEnd:ye},[`tr${i}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Et}},[`${P}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${i}-expanded-row-fixed`]:{position:"relative",margin:`-${xt}px -${ht}px`,padding:`${xt}px ${ht}px`}}}},bi=a=>{const{componentCls:i,antCls:P,iconCls:z,tableFilterDropdownWidth:J,tableFilterDropdownSearchWidth:_,paddingXXS:ye,paddingXS:Ce,colorText:pe,lineWidth:Te,lineType:je,tableBorderColor:ze,tableHeaderIconColor:rt,fontSizeSM:et,tablePaddingHorizontal:tt,borderRadius:xt,motionDurationSlow:ht,colorTextDescription:Et,colorPrimary:bt,tableHeaderFilterActiveBg:Mt,colorTextDisabled:cn,tableFilterDropdownBg:fn,tableFilterDropdownHeight:kt,controlItemBgHover:Mn,controlItemBgActive:zn,boxShadowSecondary:Ft,filterDropdownMenuBg:Xt}=a,Lt=`${P}-dropdown`,$t=`${i}-filter-dropdown`,Vt=`${P}-tree`,Pn=`${Te}px ${je} ${ze}`;return[{[`${i}-wrapper`]:{[`${i}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${i}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-ye,marginInline:`${ye}px ${-tt/2}px`,padding:`0 ${ye}px`,color:rt,fontSize:et,borderRadius:xt,cursor:"pointer",transition:`all ${ht}`,"&:hover":{color:Et,background:Mt},"&.active":{color:bt}}}},{[`${P}-dropdown`]:{[$t]:Object.assign(Object.assign({},(0,yo.Wf)(a)),{minWidth:J,backgroundColor:fn,borderRadius:xt,boxShadow:Ft,overflow:"hidden",[`${Lt}-menu`]:{maxHeight:kt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Xt,"&:empty::after":{display:"block",padding:`${Ce}px 0`,color:cn,fontSize:et,textAlign:"center",content:'"Not Found"'}},[`${$t}-tree`]:{paddingBlock:`${Ce}px 0`,paddingInline:Ce,[Vt]:{padding:0},[`${Vt}-treenode ${Vt}-node-content-wrapper:hover`]:{backgroundColor:Mn},[`${Vt}-treenode-checkbox-checked ${Vt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zn}}},[`${$t}-search`]:{padding:Ce,borderBottom:Pn,"&-input":{input:{minWidth:_},[z]:{color:cn}}},[`${$t}-checkall`]:{width:"100%",marginBottom:ye,marginInlineStart:ye},[`${$t}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Ce-Te}px ${Ce}px`,overflow:"hidden",borderTop:Pn}})}},{[`${P}-dropdown ${$t}, ${$t}-submenu`]:{[`${P}-checkbox-wrapper + span`]:{paddingInlineStart:Ce,color:pe},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},yi=a=>{const{componentCls:i,lineWidth:P,colorSplit:z,motionDurationSlow:J,zIndexTableFixed:_,tableBg:ye,zIndexTableSticky:Ce}=a,pe=z;return{[`${i}-wrapper`]:{[` + ${i}-cell-fix-left, + ${i}-cell-fix-right + `]:{position:"sticky !important",zIndex:_,background:ye},[` + ${i}-cell-fix-left-first::after, + ${i}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-P,width:30,transform:"translateX(100%)",transition:`box-shadow ${J}`,content:'""',pointerEvents:"none"},[`${i}-cell-fix-left-all::after`]:{display:"none"},[` + ${i}-cell-fix-right-first::after, + ${i}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:-P,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${J}`,content:'""',pointerEvents:"none"},[`${i}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:Ce+1,width:30,transition:`box-shadow ${J}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${i}-ping-left`]:{[`&:not(${i}-has-fix-left) ${i}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${pe}`}},[` + ${i}-cell-fix-left-first::after, + ${i}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${pe}`},[`${i}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${i}-ping-right`]:{[`&:not(${i}-has-fix-right) ${i}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${pe}`}},[` + ${i}-cell-fix-right-first::after, + ${i}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${pe}`}}}}},Ci=a=>{const{componentCls:i,antCls:P}=a;return{[`${i}-wrapper`]:{[`${i}-pagination${P}-pagination`]:{margin:`${a.margin}px 0`},[`${i}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:a.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Si=a=>{const{componentCls:i,tableRadius:P}=a;return{[`${i}-wrapper`]:{[i]:{[`${i}-title, ${i}-header`]:{borderRadius:`${P}px ${P}px 0 0`},[`${i}-title + ${i}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${i}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:P,borderStartEndRadius:P,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:P},"> *:last-child":{borderStartEndRadius:P}}},"&-footer":{borderRadius:`0 0 ${P}px ${P}px`}}}}},xi=a=>{const{componentCls:i}=a;return{[`${i}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${i}-pagination-left`]:{justifyContent:"flex-end"},[`${i}-pagination-right`]:{justifyContent:"flex-start"},[`${i}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${i}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${i}-row-indent`]:{float:"right"}}}}},Ei=a=>{const{componentCls:i,antCls:P,iconCls:z,fontSizeIcon:J,padding:_,paddingXS:ye,tableHeaderIconColor:Ce,tableHeaderIconColorHover:pe,tableSelectionColumnWidth:Te}=a;return{[`${i}-wrapper`]:{[`${i}-selection-col`]:{width:Te,[`&${i}-selection-col-with-dropdown`]:{width:Te+J+_/4}},[`${i}-bordered ${i}-selection-col`]:{width:Te+ye*2,[`&${i}-selection-col-with-dropdown`]:{width:Te+J+_/4+ye*2}},[` + table tr th${i}-selection-column, + table tr td${i}-selection-column + `]:{paddingInlineEnd:a.paddingXS,paddingInlineStart:a.paddingXS,textAlign:"center",[`${P}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${i}-selection-column${i}-cell-fix-left`]:{zIndex:a.zIndexTableFixed+1},[`table tr th${i}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${i}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${i}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${a.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${a.tablePaddingHorizontal/4}px`,[z]:{color:Ce,fontSize:J,verticalAlign:"baseline","&:hover":{color:pe}}}}}},Ii=a=>{const{componentCls:i}=a,P=(z,J,_,ye)=>({[`${i}${i}-${z}`]:{fontSize:ye,[` + ${i}-title, + ${i}-footer, + ${i}-cell, + ${i}-thead > tr > th, + ${i}-tbody > tr > th, + ${i}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${J}px ${_}px`},[`${i}-filter-trigger`]:{marginInlineEnd:`-${_/2}px`},[`${i}-expanded-row-fixed`]:{margin:`-${J}px -${_}px`},[`${i}-tbody`]:{[`${i}-wrapper:only-child ${i}`]:{marginBlock:`-${J}px`,marginInline:`${a.tableExpandColumnWidth-_}px -${_}px`}},[`${i}-selection-column`]:{paddingInlineStart:`${_/4}px`}}});return{[`${i}-wrapper`]:Object.assign(Object.assign({},P("middle",a.tablePaddingVerticalMiddle,a.tablePaddingHorizontalMiddle,a.tableFontSizeMiddle)),P("small",a.tablePaddingVerticalSmall,a.tablePaddingHorizontalSmall,a.tableFontSizeSmall))}},Oi=a=>{const{componentCls:i,marginXXS:P,fontSizeIcon:z,tableHeaderIconColor:J,tableHeaderIconColorHover:_}=a;return{[`${i}-wrapper`]:{[`${i}-thead th${i}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${a.motionDurationSlow}`,"&:hover":{background:a.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:a.colorPrimary},[` + &${i}-cell-fix-left:hover, + &${i}-cell-fix-right:hover + `]:{background:a.tableFixedHeaderSortActiveBg}},[`${i}-thead th${i}-column-sort`]:{background:a.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${i}-column-sort`]:{background:a.tableBodySortBg},[`${i}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${i}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${i}-column-sorter`]:{marginInlineStart:P,color:J,fontSize:0,transition:`color ${a.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:z,"&.active":{color:a.colorPrimary}},[`${i}-column-sorter-up + ${i}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${i}-column-sorters:hover ${i}-column-sorter`]:{color:_}}}},wi=a=>{const{componentCls:i,opacityLoading:P,tableScrollThumbBg:z,tableScrollThumbBgHover:J,tableScrollThumbSize:_,tableScrollBg:ye,zIndexTableSticky:Ce,stickyScrollBarBorderRadius:pe}=a,Te=`${a.lineWidth}px ${a.lineType} ${a.tableBorderColor}`;return{[`${i}-wrapper`]:{[`${i}-sticky`]:{"&-holder":{position:"sticky",zIndex:Ce,background:a.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${_}px !important`,zIndex:Ce,display:"flex",alignItems:"center",background:ye,borderTop:Te,opacity:P,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:_,backgroundColor:z,borderRadius:pe,transition:`all ${a.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:J}}}}}}},Yo=a=>{const{componentCls:i,lineWidth:P,tableBorderColor:z}=a,J=`${P}px ${a.lineType} ${z}`;return{[`${i}-wrapper`]:{[`${i}-summary`]:{position:"relative",zIndex:a.zIndexTableFixed,background:a.tableBg,"> tr":{"> th, > td":{borderBottom:J}}},[`div${i}-summary`]:{boxShadow:`0 -${P}px 0 ${z}`}}}},Pi=a=>{const{componentCls:i}=a,P=`${a.lineWidth}px ${a.lineType} ${a.tableBorderColor}`,z=`${i}-expanded-row-cell`;return{[`${i}-wrapper`]:{[`${i}-tbody-virtual`]:{[`${i}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${i}-cell`]:{borderBottom:P},[`${i}-expanded-row`]:{[`${z}${z}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${a.lineWidth}px)`,borderInlineEnd:"none"}}},[`${i}-bordered`]:{[`${i}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:P,position:"absolute"},[`${i}-cell`]:{borderInlineEnd:P,[`&${i}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-a.lineWidth,borderInlineStart:P}}}}}}};const $i=a=>{const{componentCls:i,fontWeightStrong:P,tablePaddingVertical:z,tablePaddingHorizontal:J,lineWidth:_,lineType:ye,tableBorderColor:Ce,tableFontSize:pe,tableBg:Te,tableRadius:je,tableHeaderTextColor:ze,motionDurationMid:rt,tableHeaderBg:et,tableHeaderCellSplitColor:tt,tableRowHoverBg:xt,tableSelectedRowBg:ht,tableSelectedRowHoverBg:Et,tableFooterTextColor:bt,tableFooterBg:Mt,paddingContentVerticalLG:cn}=a,fn=`${_}px ${ye} ${Ce}`;return{[`${i}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,yo.dF)()),{[i]:Object.assign(Object.assign({},(0,yo.Wf)(a)),{fontSize:pe,background:Te,borderRadius:`${je}px ${je}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${je}px ${je}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + ${i}-cell, + ${i}-thead > tr > th, + ${i}-tbody > tr > th, + ${i}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{position:"relative",padding:`${cn}px ${J}px`,overflowWrap:"break-word"},[`${i}-title`]:{padding:`${z}px ${J}px`},[`${i}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:ze,fontWeight:P,textAlign:"start",background:et,borderBottom:fn,transition:`background ${rt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${i}-selection-column):not(${i}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:tt,transform:"translateY(-50%)",transition:`background-color ${rt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${i}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${rt}, border-color ${rt}`,borderBottom:fn,[` + > ${i}-wrapper:only-child, + > ${i}-expanded-row-fixed > ${i}-wrapper:only-child + `]:{[i]:{marginBlock:`-${z}px`,marginInline:`${a.tableExpandColumnWidth-J}px -${J}px`,[`${i}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:ze,fontWeight:P,textAlign:"start",background:et,borderBottom:fn,transition:`background ${rt} ease`},[` + &${i}-row:hover > th, + &${i}-row:hover > td, + > th${i}-cell-row-hover, + > td${i}-cell-row-hover + `]:{background:xt},[`&${i}-row-selected`]:{"> th, > td":{background:ht},"&:hover > th, &:hover > td":{background:Et}}}},[`${i}-footer`]:{padding:`${z}px ${J}px`,color:bt,background:Mt}})}};var Ri=(0,Mo.Z)("Table",a=>{const{colorTextHeading:i,colorSplit:P,colorIcon:z,colorIconHover:J,opacityLoading:_,colorBgContainer:ye,controlInteractiveSize:Ce,headerBg:pe,headerColor:Te,headerSortActiveBg:je,headerSortHoverBg:ze,bodySortBg:rt,rowHoverBg:et,rowSelectedBg:tt,rowSelectedHoverBg:xt,rowExpandedBg:ht,cellPaddingBlock:Et,cellPaddingInline:bt,cellPaddingBlockMD:Mt,cellPaddingInlineMD:cn,cellPaddingBlockSM:fn,cellPaddingInlineSM:kt,borderColor:Mn,footerBg:zn,footerColor:Ft,headerBorderRadius:Xt,cellFontSize:Lt,cellFontSizeMD:$t,cellFontSizeSM:Vt,headerSplitColor:Pn,fixedHeaderSortActiveBg:Ln,headerFilterHoverBg:Zn,filterDropdownBg:pn,expandIconBg:jn,selectionColumnWidth:kn,stickyScrollBarBg:mr}=a,rr=new ka.C(z),Br=new ka.C(J),Tr=2,Fn=(0,Bo.TS)(a,{tableFontSize:Lt,tableBg:ye,tableRadius:Xt,tablePaddingVertical:Et,tablePaddingHorizontal:bt,tablePaddingVerticalMiddle:Mt,tablePaddingHorizontalMiddle:cn,tablePaddingVerticalSmall:fn,tablePaddingHorizontalSmall:kt,tableBorderColor:Mn,tableHeaderTextColor:Te,tableHeaderBg:pe,tableFooterTextColor:Ft,tableFooterBg:zn,tableHeaderCellSplitColor:Pn,tableHeaderSortBg:je,tableHeaderSortHoverBg:ze,tableHeaderIconColor:rr.clone().setAlpha(rr.getAlpha()*_).toRgbString(),tableHeaderIconColorHover:Br.clone().setAlpha(Br.getAlpha()*_).toRgbString(),tableBodySortBg:rt,tableFixedHeaderSortActiveBg:Ln,tableHeaderFilterActiveBg:Zn,tableFilterDropdownBg:pn,tableRowHoverBg:et,tableSelectedRowBg:tt,tableSelectedRowHoverBg:xt,zIndexTableFixed:Tr,zIndexTableSticky:Tr+1,tableFontSizeMiddle:$t,tableFontSizeSmall:Vt,tableSelectionColumnWidth:kn,tableExpandIconBg:jn,tableExpandColumnWidth:Ce+2*a.padding,tableExpandedRowBg:ht,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:mr,tableScrollThumbBgHover:i,tableScrollBg:P});return[$i(Fn),Ci(Fn),Yo(Fn),Oi(Fn),bi(Fn),wo(Fn),Si(Fn),hi(Fn),Yo(Fn),gi(Fn),Ei(Fn),yi(Fn),wi(Fn),mi(Fn),Ii(Fn),xi(Fn),Pi(Fn)]},a=>{const{colorFillAlter:i,colorBgContainer:P,colorTextHeading:z,colorFillSecondary:J,colorFillContent:_,controlItemBgActive:ye,controlItemBgActiveHover:Ce,padding:pe,paddingSM:Te,paddingXS:je,colorBorderSecondary:ze,borderRadiusLG:rt,fontSize:et,controlHeight:tt,colorTextPlaceholder:xt}=a,ht=new ka.C(J).onBackground(P).toHexShortString(),Et=new ka.C(_).onBackground(P).toHexShortString(),bt=new ka.C(i).onBackground(P).toHexShortString();return{headerBg:bt,headerColor:z,headerSortActiveBg:ht,headerSortHoverBg:Et,bodySortBg:bt,rowHoverBg:bt,rowSelectedBg:ye,rowSelectedHoverBg:Ce,rowExpandedBg:i,cellPaddingBlock:pe,cellPaddingInline:pe,cellPaddingBlockMD:Te,cellPaddingInlineMD:je,cellPaddingBlockSM:je,cellPaddingInlineSM:je,borderColor:ze,headerBorderRadius:rt,footerBg:bt,footerColor:z,cellFontSize:et,cellFontSizeMD:et,cellFontSizeSM:et,headerSplitColor:ze,fixedHeaderSortActiveBg:ht,headerFilterHoverBg:_,filterDropdownMenuBg:P,filterDropdownBg:P,expandIconBg:P,selectionColumnWidth:tt,stickyScrollBarBg:xt,stickyScrollBarBorderRadius:100}});const Ni=[],Di=(a,i)=>{const{prefixCls:P,className:z,rootClassName:J,style:_,size:ye,bordered:Ce,dropdownPrefixCls:pe,dataSource:Te,pagination:je,rowSelection:ze,rowKey:rt="key",rowClassName:et,columns:tt,children:xt,childrenColumnName:ht,onChange:Et,getPopupContainer:bt,loading:Mt,expandIcon:cn,expandable:fn,expandedRowRender:kt,expandIconColumnIndex:Mn,indentSize:zn,scroll:Ft,sortDirections:Xt,locale:Lt,showSorterTooltip:$t=!0,virtual:Vt}=a,Pn=t.useMemo(()=>tt||x(xt),[tt,xt]),Ln=t.useMemo(()=>Pn.some(tr=>tr.responsive),[Pn]),Zn=(0,gr.Z)(Ln),pn=t.useMemo(()=>{const tr=new Set(Object.keys(Zn).filter(hr=>Zn[hr]));return Pn.filter(hr=>!hr.responsive||hr.responsive.some(oa=>tr.has(oa)))},[Pn,Zn]),jn=(0,In.Z)(a,["className","style","columns"]),{locale:kn=fr.Z,direction:mr,table:rr,renderEmpty:Br,getPrefixCls:Tr,getPopupContainer:Fn}=t.useContext(Ar.E_),kr=(0,Wn.Z)(ye),ar=Object.assign(Object.assign({},kn.Table),Lt),Sr=Te||Ni,yr=Tr("table",P),ba=Tr("dropdown",pe),On=Object.assign({childrenColumnName:ht,expandIconColumnIndex:Mn},fn),{childrenColumnName:Sn="children"}=On,hn=t.useMemo(()=>Sr.some(tr=>tr==null?void 0:tr[Sn])?"nest":kt||fn&&fn.expandedRowRender?"row":null,[Sr]),an={body:t.useRef()},or=t.useMemo(()=>typeof rt=="function"?rt:tr=>tr==null?void 0:tr[rt],[rt]),[on]=no(Sr,Sn,or),An={},er=function(tr,hr){let oa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Rr,ua,Sa;const xa=Object.assign(Object.assign({},An),tr);oa&&((Rr=An.resetPagination)===null||Rr===void 0||Rr.call(An),!((ua=xa.pagination)===null||ua===void 0)&&ua.current&&(xa.pagination.current=1),je&&je.onChange&&je.onChange(1,(Sa=xa.pagination)===null||Sa===void 0?void 0:Sa.pageSize)),Ft&&Ft.scrollToFirstRowOnChange!==!1&&an.body.current&&(0,Xn.Z)(0,{getContainer:()=>an.body.current}),Et==null||Et(xa.pagination,xa.filters,xa.sorter,{currentDataSource:eo(Mr(Sr,xa.sorterStates,Sn),xa.filterStates),action:hr})},Jn=(tr,hr)=>{er({sorter:tr,sorterStates:hr},"sort",!1)},[sa,ra,Za,Ur]=pr({prefixCls:yr,mergedColumns:pn,onSorterChange:Jn,sortDirections:Xt||["ascend","descend"],tableLocale:ar,showSorterTooltip:$t}),Ma=t.useMemo(()=>Mr(Sr,ra,Sn),[Sr,ra]);An.sorter=Ur(),An.sorterStates=ra;const Gr=(tr,hr)=>{er({filters:tr,filterStates:hr},"filter",!0)},[ya,ro,ir]=so({prefixCls:yr,locale:ar,dropdownPrefixCls:ba,mergedColumns:pn,onFilterChange:Gr,getPopupContainer:bt||Fn}),cr=eo(Ma,ro);An.filters=ir,An.filterStates=ro;const Pr=t.useMemo(()=>{const tr={};return Object.keys(ir).forEach(hr=>{ir[hr]!==null&&(tr[hr]=ir[hr])}),Object.assign(Object.assign({},Za),{filters:tr})},[Za,ir]),[Xr]=pa(Pr),Yr=(tr,hr)=>{er({pagination:Object.assign(Object.assign({},An.pagination),{current:tr,pageSize:hr})},"paginate")},[Un,da]=fo(cr.length,Yr,je);An.pagination=je===!1?{}:Aa(Un,je),An.resetPagination=da;const ca=t.useMemo(()=>{if(je===!1||!Un.pageSize)return cr;const{current:tr=1,total:hr,pageSize:oa=Qa}=Un;return cr.lengthoa?cr.slice((tr-1)*oa,tr*oa):cr:cr.slice((tr-1)*oa,tr*oa)},[!!je,cr,Un&&Un.current,Un&&Un.pageSize,Un&&Un.total]),[wa,La]=Da({prefixCls:yr,data:cr,pageData:ca,getRowKey:or,getRecordByKey:on,expandType:hn,childrenColumnName:Sn,locale:ar,getPopupContainer:bt||Fn},ze),za=(tr,hr,oa)=>{let Rr;return typeof et=="function"?Rr=Y()(et(tr,hr,oa)):Rr=Y()(et),Y()({[`${yr}-row-selected`]:La.has(or(tr,hr))},Rr)};On.__PARENT_RENDER_ICON__=On.expandIcon,On.expandIcon=On.expandIcon||cn||Jr(ar),hn==="nest"&&On.expandIconColumnIndex===void 0?On.expandIconColumnIndex=ze?1:0:On.expandIconColumnIndex>0&&ze&&(On.expandIconColumnIndex-=1),typeof On.indentSize!="number"&&(On.indentSize=typeof zn=="number"?zn:15);const Po=t.useCallback(tr=>Xr(wa(ya(sa(tr)))),[sa,ya,wa]);let Ga,Ba;if(je!==!1&&(Un!=null&&Un.total)){let tr;Un.size?tr=Un.size:tr=kr==="small"||kr==="middle"?"small":void 0;const hr=ua=>t.createElement(vr.Z,Object.assign({},Un,{className:Y()(`${yr}-pagination ${yr}-pagination-${ua}`,Un.className),size:tr})),oa=mr==="rtl"?"left":"right",{position:Rr}=Un;if(Rr!==null&&Array.isArray(Rr)){const ua=Rr.find(Xa=>Xa.includes("top")),Sa=Rr.find(Xa=>Xa.includes("bottom")),xa=Rr.every(Xa=>`${Xa}`=="none");!ua&&!Sa&&!xa&&(Ba=hr(oa)),ua&&(Ga=hr(ua.toLowerCase().replace("top",""))),Sa&&(Ba=hr(Sa.toLowerCase().replace("bottom","")))}else Ba=hr(oa)}let Ca;typeof Mt=="boolean"?Ca={spinning:Mt}:typeof Mt=="object"&&(Ca=Object.assign({spinning:!0},Mt));const[fa,Qr]=Ri(yr),[,$r]=(0,lr.Z)(),Ka=Y()(`${yr}-wrapper`,rr==null?void 0:rr.className,{[`${yr}-wrapper-rtl`]:mr==="rtl"},z,J,Qr),ao=Object.assign(Object.assign({},rr==null?void 0:rr.style),_),Ja=Lt&&Lt.emptyText||(Br==null?void 0:Br("Table"))||t.createElement(br.Z,{componentName:"Table"}),ja=Vt?bo:ha,To={},Lo=t.useMemo(()=>{const{fontSize:tr,lineHeight:hr,padding:oa,paddingXS:Rr,paddingSM:ua}=$r,Sa=Math.floor(tr*hr);switch(kr){case"large":return oa*2+Sa;case"small":return Rr*2+Sa;default:return ua*2+Sa}},[$r,kr]);return Vt&&(To.listItemHeight=Lo),fa(t.createElement("div",{ref:i,className:Ka,style:ao},t.createElement(Lr.Z,Object.assign({spinning:!1},Ca),Ga,t.createElement(ja,Object.assign({},To,jn,{columns:pn,direction:mr,expandable:On,prefixCls:yr,className:Y()({[`${yr}-middle`]:kr==="middle",[`${yr}-small`]:kr==="small",[`${yr}-bordered`]:Ce,[`${yr}-empty`]:Sr.length===0}),data:ca,rowKey:or,rowClassName:za,emptyText:Ja,internalHooks:c,internalRefs:an,transformColumns:Po})),Ba)))};var Mi=t.forwardRef(Di);const Bi=(a,i)=>{const P=t.useRef(0);return P.current+=1,t.createElement(Mi,Object.assign({},a,{ref:i,_renderTimes:P.current}))},Ua=t.forwardRef(Bi);Ua.SELECTION_COLUMN=Fr,Ua.EXPAND_COLUMN=u,Ua.SELECTION_ALL=Dr,Ua.SELECTION_INVERT=na,Ua.SELECTION_NONE=aa,Ua.Column=At,Ua.ColumnGroup=gn,Ua.Summary=s;var Ti=Ua,Ai=Ti},99313:function(Dt,Me,e){e.d(Me,{default:function(){return dn}});var u=e(99267),c=e(18785),v=e(62772),j=e(92310),C=e.n(j),$=e(54476),t=e(20068),oe=e(33885),ee=e(42978),O=e(76190),se=e(75931),S=e(59301),E=e(49658),ue=e(18929),X=e(77900),k=(0,S.createContext)(null),$e=S.forwardRef(function(x,A){var T=x.prefixCls,N=x.className,he=x.style,fe=x.id,He=x.active,Ae=x.tabKey,Ye=x.children;return S.createElement("div",{id:fe&&"".concat(fe,"-panel-").concat(Ae),role:"tabpanel",tabIndex:He?0:-1,"aria-labelledby":fe&&"".concat(fe,"-tab-").concat(Ae),"aria-hidden":!He,style:he,className:C()(T,He&&"".concat(T,"-active"),N),ref:A},Ye)}),ie=$e,we=["key","forceRender","style","className"];function ce(x){var A=x.id,T=x.activeKey,N=x.animated,he=x.tabPosition,fe=x.destroyInactiveTabPane,He=S.useContext(k),Ae=He.prefixCls,Ye=He.tabs,nt=N.tabPane,dt="".concat(Ae,"-tabpane");return S.createElement("div",{className:C()("".concat(Ae,"-content-holder"))},S.createElement("div",{className:C()("".concat(Ae,"-content"),"".concat(Ae,"-content-").concat(he),(0,t.Z)({},"".concat(Ae,"-content-animated"),nt))},Ye.map(function(it){var qe=it.key,ot=it.forceRender,Ct=it.style,lt=it.className,Ot=(0,se.Z)(it,we),zt=qe===T;return S.createElement(X.default,(0,$.Z)({key:qe,visible:zt,forceRender:ot,removeOnLeave:!!fe,leavedClassName:"".concat(dt,"-hidden")},N.tabPaneMotion),function(Qt,Rt){var Gt=Qt.style,Oe=Qt.className;return S.createElement(ie,(0,$.Z)({},Ot,{prefixCls:dt,id:A,tabKey:qe,animated:nt,active:zt,style:(0,oe.Z)((0,oe.Z)({},Ct),Gt),className:C()(lt,Oe),ref:Rt}))})})))}var H=e(94480),m=e(29301),r=e(6089),y=e(8654),p={width:0,height:0,left:0,top:0};function ne(x,A,T){return(0,S.useMemo)(function(){for(var N,he=new Map,fe=A.get((N=x[0])===null||N===void 0?void 0:N.key)||p,He=fe.left+fe.width,Ae=0;Aept?(We=Be,Ee.current="x"):(We=Ne,Ee.current="y"),A(-We,-We)&&Pe.preventDefault()}var Ze=(0,S.useRef)(null);Ze.current={onTouchStart:Rt,onTouchMove:Gt,onTouchEnd:Oe,onWheel:De},S.useEffect(function(){function Pe(ft){Ze.current.onTouchStart(ft)}function Be(ft){Ze.current.onTouchMove(ft)}function Ne(ft){Ze.current.onTouchEnd(ft)}function We(ft){Ze.current.onWheel(ft)}return document.addEventListener("touchmove",Be,{passive:!1}),document.addEventListener("touchend",Ne,{passive:!1}),x.current.addEventListener("touchstart",Pe,{passive:!1}),x.current.addEventListener("wheel",We),function(){document.removeEventListener("touchmove",Be),document.removeEventListener("touchend",Ne)}},[])}var l=e(34280);function F(x){var A=(0,S.useState)(0),T=(0,ee.Z)(A,2),N=T[0],he=T[1],fe=(0,S.useRef)(0),He=(0,S.useRef)();return He.current=x,(0,l.o)(function(){var Ae;(Ae=He.current)===null||Ae===void 0||Ae.call(He)},[N]),function(){fe.current===N&&(fe.current+=1,he(fe.current))}}function Z(x){var A=(0,S.useRef)([]),T=(0,S.useState)({}),N=(0,ee.Z)(T,2),he=N[1],fe=(0,S.useRef)(typeof x=="function"?x():x),He=F(function(){var Ye=fe.current;A.current.forEach(function(nt){Ye=nt(Ye)}),A.current=[],fe.current=Ye,he({})});function Ae(Ye){A.current.push(Ye),He()}return[fe.current,Ae]}var b={width:0,height:0,left:0,top:0,right:0};function U(x,A,T,N,he,fe,He){var Ae=He.tabs,Ye=He.tabPosition,nt=He.rtl,dt,it,qe;return["top","bottom"].includes(Ye)?(dt="width",it=nt?"right":"left",qe=Math.abs(T)):(dt="height",it="top",qe=-T),(0,S.useMemo)(function(){if(!Ae.length)return[0,0];for(var ot=Ae.length,Ct=ot,lt=0;ltqe+A){Ct=lt-1;break}}for(var zt=0,Qt=ot-1;Qt>=0;Qt-=1){var Rt=x.get(Ae[Qt].key)||b;if(Rt[it]=Ct?[0,0]:[zt,Ct]},[x,A,N,he,fe,qe,Ye,Ae.map(function(ot){return ot.key}).join("_"),nt])}function V(x){var A;return x instanceof Map?(A={},x.forEach(function(T,N){A[N]=T})):A=x,JSON.stringify(A)}var q="TABS_DQ";function le(x){return String(x).replace(/"/g,q)}function re(x,A,T,N){return!(!T||N||x===!1||x===void 0&&(A===!1||A===null))}function Q(x,A){var T=x.prefixCls,N=x.editable,he=x.locale,fe=x.style;return!N||N.showAdd===!1?null:S.createElement("button",{ref:A,type:"button",className:"".concat(T,"-nav-add"),style:fe,"aria-label":(he==null?void 0:he.addAriaLabel)||"Add tab",onClick:function(Ae){N.onEdit("add",{event:Ae})}},N.addIcon||"+")}var be=S.forwardRef(Q),Re=S.forwardRef(function(x,A){var T=x.position,N=x.prefixCls,he=x.extra;if(!he)return null;var fe,He={};return(0,O.Z)(he)==="object"&&!S.isValidElement(he)?He=he:He.right=he,T==="right"&&(fe=He.right),T==="left"&&(fe=He.left),fe?S.createElement("div",{className:"".concat(N,"-extra-content"),ref:A},fe):null}),ke=Re,Fe=e(31561),Ue=e(15285),Ge=e(10228);function at(x,A){var T=x.prefixCls,N=x.id,he=x.tabs,fe=x.locale,He=x.mobile,Ae=x.moreIcon,Ye=Ae===void 0?"More":Ae,nt=x.moreTransitionName,dt=x.style,it=x.className,qe=x.editable,ot=x.tabBarGutter,Ct=x.rtl,lt=x.removeAriaLabel,Ot=x.onTabClick,zt=x.getPopupContainer,Qt=x.popupClassName,Rt=(0,S.useState)(!1),Gt=(0,ee.Z)(Rt,2),Oe=Gt[0],Ee=Gt[1],De=(0,S.useState)(null),Ze=(0,ee.Z)(De,2),Pe=Ze[0],Be=Ze[1],Ne="".concat(N,"-more-popup"),We="".concat(T,"-dropdown"),ft=Pe!==null?"".concat(Ne,"-").concat(Pe):null,pt=fe==null?void 0:fe.dropdownAriaLabel;function Kt(nn,Jt){nn.preventDefault(),nn.stopPropagation(),qe.onEdit("remove",{key:Jt,event:nn})}var jt=S.createElement(Ue.ZP,{onClick:function(Jt){var qt=Jt.key,xn=Jt.domEvent;Ot(qt,xn),Ee(!1)},prefixCls:"".concat(We,"-menu"),id:Ne,tabIndex:-1,role:"listbox","aria-activedescendant":ft,selectedKeys:[Pe],"aria-label":pt!==void 0?pt:"expanded dropdown"},he.map(function(nn){var Jt=nn.closable,qt=nn.disabled,xn=nn.closeIcon,en=nn.key,Rn=nn.label,Gn=re(Jt,xn,qe,qt);return S.createElement(Ue.sN,{key:en,id:"".concat(Ne,"-").concat(en),role:"option","aria-controls":N&&"".concat(N,"-panel-").concat(en),disabled:qt},S.createElement("span",null,Rn),Gn&&S.createElement("button",{type:"button","aria-label":lt||"remove",tabIndex:0,className:"".concat(We,"-menu-item-remove"),onClick:function(st){st.stopPropagation(),Kt(st,en)}},xn||qe.removeIcon||"\xD7"))}));function ln(nn){for(var Jt=he.filter(function(Gn){return!Gn.disabled}),qt=Jt.findIndex(function(Gn){return Gn.key===Pe})||0,xn=Jt.length,en=0;enYn?"left":"right"})}),pt=(0,ee.Z)(ft,2),Kt=pt[0],jt=pt[1],ln=D(0,function(sr,Yn){!We&&Rt&&Rt({direction:sr>Yn?"top":"bottom"})}),Bt=(0,ee.Z)(ln,2),Pt=Bt[0],tn=Bt[1],sn=(0,S.useState)([0,0]),nn=(0,ee.Z)(sn,2),Jt=nn[0],qt=nn[1],xn=(0,S.useState)([0,0]),en=(0,ee.Z)(xn,2),Rn=en[0],Gn=en[1],Wt=(0,S.useState)([0,0]),st=(0,ee.Z)(Wt,2),ct=st[0],Ht=st[1],Nt=(0,S.useState)([0,0]),Cn=(0,ee.Z)(Nt,2),En=Cn[0],rn=Cn[1],nr=Z(new Map),Hn=(0,ee.Z)(nr,2),dr=Hn[0],At=Hn[1],wt=ne(fe,dr,Rn[0]),gn=R(Jt,We),In=R(Rn,We),Xn=R(ct,We),Ar=R(En,We),br=gnvr?vr:sr}var lr=(0,S.useRef)(),Zr=(0,S.useState)(),Jr=(0,ee.Z)(Zr,2),Kr=Jr[0],_r=Jr[1];function Hr(){_r(Date.now())}function qr(){window.clearTimeout(lr.current)}Ve(Ze,function(sr,Yn){function Nr(Cr,Vr){Cr(function(Or){var Ha=Lr(Or+Vr);return Ha})}return br?(We?Nr(jt,sr):Nr(tn,Yn),qr(),Hr(),!0):!1}),(0,S.useEffect)(function(){return qr(),Kr&&(lr.current=window.setTimeout(function(){_r(0)},100)),qr},[Kr]);var Na=U(wt,Wn,We?Kt:Pt,In,Xn,Ar,(0,oe.Z)((0,oe.Z)({},x),{},{tabs:fe})),ta=(0,ee.Z)(Na,2),Pa=ta[0],$a=ta[1],va=(0,r.Z)(function(){var sr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:dt,Yn=wt.get(sr)||{width:0,height:0,left:0,right:0,top:0};if(We){var Nr=Kt;it?Yn.rightKt+Wn&&(Nr=Yn.right+Yn.width-Wn):Yn.left<-Kt?Nr=-Yn.left:Yn.left+Yn.width>-Kt+Wn&&(Nr=-(Yn.left+Yn.width-Wn)),tn(0),jt(Lr(Nr))}else{var Cr=Pt;Yn.top<-Pt?Cr=-Yn.top:Yn.top+Yn.height>-Pt+Wn&&(Cr=-(Yn.top+Yn.height-Wn)),jt(0),tn(Lr(Cr))}}),jr={};lt==="top"||lt==="bottom"?jr[it?"marginRight":"marginLeft"]=Ot:jr.marginTop=Ot;var Ra=fe.map(function(sr,Yn){var Nr=sr.key;return S.createElement(Ke,{id:Ye,prefixCls:he,key:Nr,tab:sr,style:Yn===0?void 0:jr,closable:sr.closable,editable:ot,active:Nr===dt,renderWrapper:zt,removeAriaLabel:Ct==null?void 0:Ct.removeAriaLabel,onClick:function(Vr){Qt(Nr,Vr)},onFocus:function(){va(Nr),Hr(),Ze.current&&(it||(Ze.current.scrollLeft=0),Ze.current.scrollTop=0)}})}),Ea=function(){return At(function(){var Yn=new Map;return fe.forEach(function(Nr){var Cr,Vr=Nr.key,Or=(Cr=Pe.current)===null||Cr===void 0?void 0:Cr.querySelector('[data-node-key="'.concat(le(Vr),'"]'));Or&&Yn.set(Vr,{width:Or.offsetWidth,height:Or.offsetHeight,left:Or.offsetLeft,top:Or.offsetTop})}),Yn})};(0,S.useEffect)(function(){Ea()},[fe.map(function(sr){return sr.key}).join("_")]);var ia=F(function(){var sr=n(Oe),Yn=n(Ee),Nr=n(De);qt([sr[0]-Yn[0]-Nr[0],sr[1]-Yn[1]-Nr[1]]);var Cr=n(Ne);Ht(Cr);var Vr=n(Be);rn(Vr);var Or=n(Pe);Gn([Or[0]-Cr[0],Or[1]-Cr[1]]),Ea()}),ma=fe.slice(0,Pa),la=fe.slice($a+1),_t=[].concat((0,H.Z)(ma),(0,H.Z)(la)),Bn=wt.get(dt),wn=d({activeTabOffset:Bn,horizontal:We,rtl:it,indicatorSize:Gt}),Dn=wn.style;(0,S.useEffect)(function(){va()},[dt,fr,vr,V(Bn),V(wt),We]),(0,S.useEffect)(function(){ia()},[it]);var Vn=!!_t.length,qn="".concat(he,"-nav-wrap"),Wr,Er,Ir,zr;return We?it?(Er=Kt>0,Wr=Kt!==vr):(Wr=Kt<0,Er=Kt!==fr):(Ir=Pt<0,zr=Pt!==fr),S.createElement(m.Z,{onResize:ia},S.createElement("div",{ref:(0,y.x1)(A,Oe),role:"tablist",className:C()("".concat(he,"-nav"),He),style:Ae,onKeyDown:function(){Hr()}},S.createElement(ke,{ref:Ee,position:"left",extra:qe,prefixCls:he}),S.createElement(m.Z,{onResize:ia},S.createElement("div",{className:C()(qn,(T={},(0,t.Z)(T,"".concat(qn,"-ping-left"),Wr),(0,t.Z)(T,"".concat(qn,"-ping-right"),Er),(0,t.Z)(T,"".concat(qn,"-ping-top"),Ir),(0,t.Z)(T,"".concat(qn,"-ping-bottom"),zr),T)),ref:Ze},S.createElement(m.Z,{onResize:ia},S.createElement("div",{ref:Pe,className:"".concat(he,"-nav-list"),style:{transform:"translate(".concat(Kt,"px, ").concat(Pt,"px)"),transition:Kr?"none":void 0}},Ra,S.createElement(be,{ref:Ne,prefixCls:he,locale:Ct,editable:ot,style:(0,oe.Z)((0,oe.Z)({},Ra.length===0?void 0:jr),{},{visibility:Vn?"hidden":null})}),S.createElement("div",{className:C()("".concat(he,"-ink-bar"),(0,t.Z)({},"".concat(he,"-ink-bar-animated"),nt.inkBar)),style:Dn}))))),S.createElement(Xe,(0,$.Z)({},x,{removeAriaLabel:Ct==null?void 0:Ct.removeAriaLabel,ref:Be,prefixCls:he,tabs:_t,className:!Vn&&gr,tabMoving:!!Kr})),S.createElement(ke,{ref:De,position:"right",extra:qe,prefixCls:he})))}var s=S.forwardRef(G),o=["renderTabBar"],K=["label","key"];function g(x){var A=x.renderTabBar,T=(0,se.Z)(x,o),N=S.useContext(k),he=N.tabs;if(A){var fe=(0,oe.Z)((0,oe.Z)({},T),{},{panes:he.map(function(He){var Ae=He.label,Ye=He.key,nt=(0,se.Z)(He,K);return S.createElement(ie,(0,$.Z)({tab:Ae,key:Ye,tabKey:Ye},nt))})});return A(fe,s)}return S.createElement(s,T)}var f=e(48736);function L(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},A;return x===!1?A={inkBar:!1,tabPane:!1}:x===!0?A={inkBar:!0,tabPane:!1}:A=(0,oe.Z)({inkBar:!0},(0,O.Z)(x)==="object"?x:{}),A.tabPaneMotion&&A.tabPane===void 0&&(A.tabPane=!0),!A.tabPaneMotion&&A.tabPane&&(A.tabPane=!1),A}var ge=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicatorSize"],te=0;function me(x,A){var T,N=x.id,he=x.prefixCls,fe=he===void 0?"rc-tabs":he,He=x.className,Ae=x.items,Ye=x.direction,nt=x.activeKey,dt=x.defaultActiveKey,it=x.editable,qe=x.animated,ot=x.tabPosition,Ct=ot===void 0?"top":ot,lt=x.tabBarGutter,Ot=x.tabBarStyle,zt=x.tabBarExtraContent,Qt=x.locale,Rt=x.moreIcon,Gt=x.moreTransitionName,Oe=x.destroyInactiveTabPane,Ee=x.renderTabBar,De=x.onChange,Ze=x.onTabClick,Pe=x.onTabScroll,Be=x.getPopupContainer,Ne=x.popupClassName,We=x.indicatorSize,ft=(0,se.Z)(x,ge),pt=S.useMemo(function(){return(Ae||[]).filter(function(rn){return rn&&(0,O.Z)(rn)==="object"&&"key"in rn})},[Ae]),Kt=Ye==="rtl",jt=L(qe),ln=(0,S.useState)(!1),Bt=(0,ee.Z)(ln,2),Pt=Bt[0],tn=Bt[1];(0,S.useEffect)(function(){tn((0,E.Z)())},[]);var sn=(0,ue.Z)(function(){var rn;return(rn=pt[0])===null||rn===void 0?void 0:rn.key},{value:nt,defaultValue:dt}),nn=(0,ee.Z)(sn,2),Jt=nn[0],qt=nn[1],xn=(0,S.useState)(function(){return pt.findIndex(function(rn){return rn.key===Jt})}),en=(0,ee.Z)(xn,2),Rn=en[0],Gn=en[1];(0,S.useEffect)(function(){var rn=pt.findIndex(function(Hn){return Hn.key===Jt});if(rn===-1){var nr;rn=Math.max(0,Math.min(Rn,pt.length-1)),qt((nr=pt[rn])===null||nr===void 0?void 0:nr.key)}Gn(rn)},[pt.map(function(rn){return rn.key}).join("_"),Jt,Rn]);var Wt=(0,ue.Z)(null,{value:N}),st=(0,ee.Z)(Wt,2),ct=st[0],Ht=st[1];(0,S.useEffect)(function(){N||(Ht("rc-tabs-".concat(te)),te+=1)},[]);function Nt(rn,nr){Ze==null||Ze(rn,nr);var Hn=rn!==Jt;qt(rn),Hn&&(De==null||De(rn))}var Cn={id:ct,activeKey:Jt,animated:jt,tabPosition:Ct,rtl:Kt,mobile:Pt},En=(0,oe.Z)((0,oe.Z)({},Cn),{},{editable:it,locale:Qt,moreIcon:Rt,moreTransitionName:Gt,tabBarGutter:lt,onTabClick:Nt,onTabScroll:Pe,extra:zt,style:Ot,panes:null,getPopupContainer:Be,popupClassName:Ne,indicatorSize:We});return S.createElement(k.Provider,{value:{tabs:pt,prefixCls:fe}},S.createElement("div",(0,$.Z)({ref:A,id:N,className:C()(fe,"".concat(fe,"-").concat(Ct),(T={},(0,t.Z)(T,"".concat(fe,"-mobile"),Pt),(0,t.Z)(T,"".concat(fe,"-editable"),it),(0,t.Z)(T,"".concat(fe,"-rtl"),Kt),T),He)},ft),S.createElement(g,(0,$.Z)({},En,{renderTabBar:Ee})),S.createElement(ce,(0,$.Z)({destroyInactiveTabPane:Oe},Cn,{animated:jt}))))}var de=S.forwardRef(me),h=de,I=h,ae=e(36355),Ie=e(19716),Le=()=>null,Qe=e(62892);const Je={motionAppear:!1,motionEnter:!0,motionLeave:!0};function _e(x){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},T;return A===!1?T={inkBar:!1,tabPane:!1}:A===!0?T={inkBar:!0,tabPane:!0}:T=Object.assign({inkBar:!0},typeof A=="object"?A:{}),T.tabPane&&(T.tabPaneMotion=Object.assign(Object.assign({},Je),{motionName:(0,Qe.m)(x,"switch")})),T}var ut=e(11592),vt=function(x,A){var T={};for(var N in x)Object.prototype.hasOwnProperty.call(x,N)&&A.indexOf(N)<0&&(T[N]=x[N]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,N=Object.getOwnPropertySymbols(x);heA)}function St(x,A){if(x)return x;const T=(0,ut.Z)(A).map(N=>{if(S.isValidElement(N)){const{key:he,props:fe}=N,He=fe||{},{tab:Ae}=He,Ye=vt(He,["tab"]);return Object.assign(Object.assign({key:String(he)},Ye),{label:Ae})}return null});return It(T)}var Tt=e(17313),Yt=e(83116),gt=e(37613),Ut=e(13826),mt=x=>{const{componentCls:A,motionDurationSlow:T}=x;return[{[A]:{[`${A}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${T}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${T}`}}}}},[(0,Ut.oN)(x,"slide-up"),(0,Ut.oN)(x,"slide-down")]]};const yt=x=>{const{componentCls:A,tabsCardPadding:T,cardBg:N,cardGutter:he,colorBorderSecondary:fe,itemSelectedColor:He}=x;return{[`${A}-card`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab`]:{margin:0,padding:T,background:N,border:`${x.lineWidth}px ${x.lineType} ${fe}`,transition:`all ${x.motionDurationSlow} ${x.motionEaseInOut}`},[`${A}-tab-active`]:{color:He,background:x.colorBgContainer},[`${A}-ink-bar`]:{visibility:"hidden"}},[`&${A}-top, &${A}-bottom`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab + ${A}-tab`]:{marginLeft:{_skip_check_:!0,value:`${he}px`}}}},[`&${A}-top`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab`]:{borderRadius:`${x.borderRadiusLG}px ${x.borderRadiusLG}px 0 0`},[`${A}-tab-active`]:{borderBottomColor:x.colorBgContainer}}},[`&${A}-bottom`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab`]:{borderRadius:`0 0 ${x.borderRadiusLG}px ${x.borderRadiusLG}px`},[`${A}-tab-active`]:{borderTopColor:x.colorBgContainer}}},[`&${A}-left, &${A}-right`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab + ${A}-tab`]:{marginTop:`${he}px`}}},[`&${A}-left`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab`]:{borderRadius:{_skip_check_:!0,value:`${x.borderRadiusLG}px 0 0 ${x.borderRadiusLG}px`}},[`${A}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:x.colorBgContainer}}}},[`&${A}-right`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${x.borderRadiusLG}px ${x.borderRadiusLG}px 0`}},[`${A}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:x.colorBgContainer}}}}}}},vn=x=>{const{componentCls:A,itemHoverColor:T,dropdownEdgeChildVerticalPadding:N}=x;return{[`${A}-dropdown`]:Object.assign(Object.assign({},(0,Tt.Wf)(x)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:x.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${A}-dropdown-menu`]:{maxHeight:x.tabsDropdownHeight,margin:0,padding:`${N}px 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:x.colorBgContainer,backgroundClip:"padding-box",borderRadius:x.borderRadiusLG,outline:"none",boxShadow:x.boxShadowSecondary,"&-item":Object.assign(Object.assign({},Tt.vS),{display:"flex",alignItems:"center",minWidth:x.tabsDropdownWidth,margin:0,padding:`${x.paddingXXS}px ${x.paddingSM}px`,color:x.colorText,fontWeight:"normal",fontSize:x.fontSize,lineHeight:x.lineHeight,cursor:"pointer",transition:`all ${x.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:x.marginSM},color:x.colorTextDescription,fontSize:x.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:T}},"&:hover":{background:x.controlItemBgHover},"&-disabled":{"&, &:hover":{color:x.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},un=x=>{const{componentCls:A,margin:T,colorBorderSecondary:N,horizontalMargin:he,verticalItemPadding:fe,verticalItemMargin:He}=x;return{[`${A}-top, ${A}-bottom`]:{flexDirection:"column",[`> ${A}-nav, > div > ${A}-nav`]:{margin:he,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${x.lineWidth}px ${x.lineType} ${N}`,content:"''"},[`${A}-ink-bar`]:{height:x.lineWidthBold,"&-animated":{transition:`width ${x.motionDurationSlow}, left ${x.motionDurationSlow}, + right ${x.motionDurationSlow}`}},[`${A}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:x.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:x.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:x.boxShadowTabsOverflowRight},[`&${A}-nav-wrap-ping-left::before`]:{opacity:1},[`&${A}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${A}-top`]:{[`> ${A}-nav, + > div > ${A}-nav`]:{"&::before":{bottom:0},[`${A}-ink-bar`]:{bottom:0}}},[`${A}-bottom`]:{[`> ${A}-nav, > div > ${A}-nav`]:{order:1,marginTop:`${T}px`,marginBottom:0,"&::before":{top:0},[`${A}-ink-bar`]:{top:0}},[`> ${A}-content-holder, > div > ${A}-content-holder`]:{order:0}},[`${A}-left, ${A}-right`]:{[`> ${A}-nav, > div > ${A}-nav`]:{flexDirection:"column",minWidth:x.controlHeight*1.25,[`${A}-tab`]:{padding:fe,textAlign:"center"},[`${A}-tab + ${A}-tab`]:{margin:He},[`${A}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:x.controlHeight},"&::before":{top:0,boxShadow:x.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:x.boxShadowTabsOverflowBottom},[`&${A}-nav-wrap-ping-top::before`]:{opacity:1},[`&${A}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${A}-ink-bar`]:{width:x.lineWidthBold,"&-animated":{transition:`height ${x.motionDurationSlow}, top ${x.motionDurationSlow}`}},[`${A}-nav-list, ${A}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${A}-left`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${A}-content-holder, > div > ${A}-content-holder`]:{marginLeft:{_skip_check_:!0,value:`-${x.lineWidth}px`},borderLeft:{_skip_check_:!0,value:`${x.lineWidth}px ${x.lineType} ${x.colorBorder}`},[`> ${A}-content > ${A}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:x.paddingLG}}}},[`${A}-right`]:{[`> ${A}-nav, > div > ${A}-nav`]:{order:1,[`${A}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${A}-content-holder, > div > ${A}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:-x.lineWidth},borderRight:{_skip_check_:!0,value:`${x.lineWidth}px ${x.lineType} ${x.colorBorder}`},[`> ${A}-content > ${A}-tabpane`]:{paddingRight:{_skip_check_:!0,value:x.paddingLG}}}}}},Tn=x=>{const{componentCls:A,cardPaddingSM:T,cardPaddingLG:N,horizontalItemPaddingSM:he,horizontalItemPaddingLG:fe}=x;return{[A]:{"&-small":{[`> ${A}-nav`]:{[`${A}-tab`]:{padding:he,fontSize:x.titleFontSizeSM}}},"&-large":{[`> ${A}-nav`]:{[`${A}-tab`]:{padding:fe,fontSize:x.titleFontSizeLG}}}},[`${A}-card`]:{[`&${A}-small`]:{[`> ${A}-nav`]:{[`${A}-tab`]:{padding:T}},[`&${A}-bottom`]:{[`> ${A}-nav ${A}-tab`]:{borderRadius:`0 0 ${x.borderRadius}px ${x.borderRadius}px`}},[`&${A}-top`]:{[`> ${A}-nav ${A}-tab`]:{borderRadius:`${x.borderRadius}px ${x.borderRadius}px 0 0`}},[`&${A}-right`]:{[`> ${A}-nav ${A}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${x.borderRadius}px ${x.borderRadius}px 0`}}},[`&${A}-left`]:{[`> ${A}-nav ${A}-tab`]:{borderRadius:{_skip_check_:!0,value:`${x.borderRadius}px 0 0 ${x.borderRadius}px`}}}},[`&${A}-large`]:{[`> ${A}-nav`]:{[`${A}-tab`]:{padding:N}}}}}},bn=x=>{const{componentCls:A,itemActiveColor:T,itemHoverColor:N,iconCls:he,tabsHorizontalItemMargin:fe,horizontalItemPadding:He,itemSelectedColor:Ae,itemColor:Ye}=x,nt=`${A}-tab`;return{[nt]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:He,fontSize:x.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Ye,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:T}},(0,Tt.Qy)(x)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-x.marginXXS},marginLeft:{_skip_check_:!0,value:x.marginXS},color:x.colorTextDescription,fontSize:x.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${x.motionDurationSlow}`,"&:hover":{color:x.colorTextHeading}},"&:hover":{color:N},[`&${nt}-active ${nt}-btn`]:{color:Ae,textShadow:x.tabsActiveTextShadow},[`&${nt}-disabled`]:{color:x.colorTextDisabled,cursor:"not-allowed"},[`&${nt}-disabled ${nt}-btn, &${nt}-disabled ${A}-remove`]:{"&:focus, &:active":{color:x.colorTextDisabled}},[`& ${nt}-remove ${he}`]:{margin:0},[he]:{marginRight:{_skip_check_:!0,value:x.marginSM}}},[`${nt} + ${nt}`]:{margin:{_skip_check_:!0,value:fe}}}},$n=x=>{const{componentCls:A,tabsHorizontalItemMarginRTL:T,iconCls:N,cardGutter:he}=x;return{[`${A}-rtl`]:{direction:"rtl",[`${A}-nav`]:{[`${A}-tab`]:{margin:{_skip_check_:!0,value:T},[`${A}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[N]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:`${x.marginSM}px`}},[`${A}-tab-remove`]:{marginRight:{_skip_check_:!0,value:`${x.marginXS}px`},marginLeft:{_skip_check_:!0,value:`-${x.marginXXS}px`},[N]:{margin:0}}}},[`&${A}-left`]:{[`> ${A}-nav`]:{order:1},[`> ${A}-content-holder`]:{order:0}},[`&${A}-right`]:{[`> ${A}-nav`]:{order:0},[`> ${A}-content-holder`]:{order:1}},[`&${A}-card${A}-top, &${A}-card${A}-bottom`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-tab + ${A}-tab`]:{marginRight:{_skip_check_:!0,value:he},marginLeft:{_skip_check_:!0,value:0}}}}},[`${A}-dropdown-rtl`]:{direction:"rtl"},[`${A}-menu-item`]:{[`${A}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},_n=x=>{const{componentCls:A,tabsCardPadding:T,cardHeight:N,cardGutter:he,itemHoverColor:fe,itemActiveColor:He,colorBorderSecondary:Ae}=x;return{[A]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.Wf)(x)),{display:"flex",[`> ${A}-nav, > div > ${A}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${A}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${x.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${A}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${x.motionDurationSlow}`},[`${A}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${A}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${A}-nav-more`]:{position:"relative",padding:T,background:"transparent",border:0,color:x.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:x.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},[`${A}-nav-add`]:Object.assign({minWidth:N,marginLeft:{_skip_check_:!0,value:he},padding:`0 ${x.paddingXS}px`,background:"transparent",border:`${x.lineWidth}px ${x.lineType} ${Ae}`,borderRadius:`${x.borderRadiusLG}px ${x.borderRadiusLG}px 0 0`,outline:"none",cursor:"pointer",color:x.colorText,transition:`all ${x.motionDurationSlow} ${x.motionEaseInOut}`,"&:hover":{color:fe},"&:active, &:focus:not(:focus-visible)":{color:He}},(0,Tt.Qy)(x))},[`${A}-extra-content`]:{flex:"none"},[`${A}-ink-bar`]:{position:"absolute",background:x.inkBarColor,pointerEvents:"none"}}),bn(x)),{[`${A}-content`]:{position:"relative",width:"100%"},[`${A}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${A}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${A}-centered`]:{[`> ${A}-nav, > div > ${A}-nav`]:{[`${A}-nav-wrap`]:{[`&:not([class*='${A}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var mn=(0,Yt.Z)("Tabs",x=>{const A=(0,gt.TS)(x,{tabsCardPadding:x.cardPadding||`${(x.cardHeight-Math.round(x.fontSize*x.lineHeight))/2-x.lineWidth}px ${x.padding}px`,dropdownEdgeChildVerticalPadding:x.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${x.horizontalItemGutter}px`,tabsHorizontalItemMarginRTL:`0 0 0 ${x.horizontalItemGutter}px`});return[Tn(A),$n(A),un(A),vn(A),yt(A),_n(A),mt(A)]},x=>{const A=x.controlHeightLG;return{zIndexPopup:x.zIndexPopupBase+50,cardBg:x.colorFillAlter,cardHeight:A,cardPadding:"",cardPaddingSM:`${x.paddingXXS*1.5}px ${x.padding}px`,cardPaddingLG:`${x.paddingXS}px ${x.padding}px ${x.paddingXXS*1.5}px`,titleFontSize:x.fontSize,titleFontSizeLG:x.fontSizeLG,titleFontSizeSM:x.fontSize,inkBarColor:x.colorPrimary,horizontalMargin:`0 0 ${x.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${x.paddingSM}px 0`,horizontalItemPaddingSM:`${x.paddingXS}px 0`,horizontalItemPaddingLG:`${x.padding}px 0`,verticalItemPadding:`${x.paddingXS}px ${x.paddingLG}px`,verticalItemMargin:`${x.margin}px 0 0 0`,itemColor:x.colorText,itemSelectedColor:x.colorPrimary,itemHoverColor:x.colorPrimaryHover,itemActiveColor:x.colorPrimaryActive,cardGutter:x.marginXXS/2}}),Zt=function(x,A){var T={};for(var N in x)Object.prototype.hasOwnProperty.call(x,N)&&A.indexOf(N)<0&&(T[N]=x[N]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,N=Object.getOwnPropertySymbols(x);he{const{type:A,className:T,rootClassName:N,size:he,onEdit:fe,hideAdd:He,centered:Ae,addIcon:Ye,popupClassName:nt,children:dt,items:it,animated:qe,style:ot,indicatorSize:Ct}=x,lt=Zt(x,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated","style","indicatorSize"]),{prefixCls:Ot,moreIcon:zt=S.createElement(c.Z,null)}=lt,{direction:Qt,tabs:Rt,getPrefixCls:Gt,getPopupContainer:Oe}=S.useContext(ae.E_),Ee=Gt("tabs",Ot),[De,Ze]=mn(Ee);let Pe;A==="editable-card"&&(Pe={onEdit:(Kt,jt)=>{let{key:ln,event:Bt}=jt;fe==null||fe(Kt==="add"?Bt:ln,Kt)},removeIcon:S.createElement(u.Z,null),addIcon:Ye||S.createElement(v.Z,null),showAdd:He!==!0});const Be=Gt(),Ne=St(it,dt),We=_e(Ee,qe),ft=(0,Ie.Z)(he),pt=Object.assign(Object.assign({},Rt==null?void 0:Rt.style),ot);return De(S.createElement(I,Object.assign({direction:Qt,getPopupContainer:Oe,moreTransitionName:`${Be}-slide-up`},lt,{items:Ne,className:C()({[`${Ee}-${ft}`]:ft,[`${Ee}-card`]:["card","editable-card"].includes(A),[`${Ee}-editable-card`]:A==="editable-card",[`${Ee}-centered`]:Ae},Rt==null?void 0:Rt.className,T,N,Ze),popupClassName:C()(nt,Ze),style:pt,editable:Pe,moreIcon:zt,prefixCls:Ee,animated:We,indicatorSize:Ct!=null?Ct:Rt==null?void 0:Rt.indicatorSize})))};yn.TabPane=Le;var dn=yn},17574:function(Dt,Me,e){e.d(Me,{default:function(){return U}});var u=e(60091),c=e(94480),v=e(52671),j=e(8657),C=e(54476),$=e(59301),t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},oe=t,ee=e(7657),O=function(q,le){return $.createElement(ee.Z,(0,C.Z)({},q,{ref:le,icon:oe}))},se=$.forwardRef(O),S=se,E=e(92310),ue=e.n(E),X=e(35654),k=e(71430),$e=e(36355),ie=e(56082),we=e(62892),ce=e(20648);const H=4;function m(V){const{dropPosition:q,dropLevelOffset:le,prefixCls:re,indent:Q,direction:be="ltr"}=V,Re=be==="ltr"?"left":"right",ke=be==="ltr"?"right":"left",Fe={[Re]:-le*Q+H,[ke]:0};switch(q){case-1:Fe.top=-3;break;case 1:Fe.bottom=-3;break;default:Fe.bottom=-3,Fe[Re]=Q+H;break}return $.createElement("div",{style:Fe,className:`${re}-drop-indicator`})}var r=e(71997),p=$.forwardRef((V,q)=>{const{getPrefixCls:le,direction:re,virtual:Q,tree:be}=$.useContext($e.E_),{prefixCls:Re,className:ke,showIcon:Fe=!1,showLine:Ue,switcherIcon:Ge,blockNode:at=!1,children:Xe,checkable:ve=!1,selectable:Ke=!0,draggable:B,motion:w,style:d}=V,n=le("tree",Re),R=le(),G=w!=null?w:Object.assign(Object.assign({},(0,we.Z)(R)),{motionAppear:!1}),s=Object.assign(Object.assign({},V),{checkable:ve,selectable:Ke,showIcon:Fe,motion:G,blockNode:at,showLine:!!Ue,dropIndicatorRender:m}),[o,K]=(0,ce.ZP)(n),g=$.useMemo(()=>{if(!B)return!1;let L={};switch(typeof B){case"function":L.nodeDraggable=B;break;case"object":L=Object.assign({},B);break;default:break}return L.icon!==!1&&(L.icon=L.icon||$.createElement(ie.Z,null)),L},[B]),f=L=>$.createElement(r.Z,{prefixCls:n,switcherIcon:Ge,treeNodeProps:L,showLine:Ue});return o($.createElement(u.Z,Object.assign({itemHeight:20,ref:q,virtual:Q},s,{style:Object.assign(Object.assign({},be==null?void 0:be.style),d),prefixCls:n,className:ue()({[`${n}-icon-hide`]:!Fe,[`${n}-block-node`]:at,[`${n}-unselectable`]:!Ke,[`${n}-rtl`]:re==="rtl"},be==null?void 0:be.className,ke,K),direction:re,checkable:ve&&$.createElement("span",{className:`${n}-checkbox-inner`}),selectable:Ke,switcherIcon:f,draggable:g}),Xe))}),ne;(function(V){V[V.None=0]="None",V[V.Start=1]="Start",V[V.End=2]="End"})(ne||(ne={}));function D(V,q){function le(re){const{key:Q,children:be}=re;q(Q,re)!==!1&&D(be||[],q)}V.forEach(le)}function W(V){let{treeData:q,expandedKeys:le,startKey:re,endKey:Q}=V;const be=[];let Re=ne.None;if(re&&re===Q)return[re];if(!re||!Q)return[];function ke(Fe){return Fe===re||Fe===Q}return D(q,Fe=>{if(Re===ne.End)return!1;if(ke(Fe)){if(be.push(Fe),Re===ne.None)Re=ne.Start;else if(Re===ne.Start)return Re=ne.End,!1}else Re===ne.Start&&be.push(Fe);return le.includes(Fe)}),be}function M(V,q){const le=(0,c.Z)(q),re=[];return D(V,(Q,be)=>{const Re=le.indexOf(Q);return Re!==-1&&(re.push(be),le.splice(Re,1)),!!le.length}),re}var xe=function(V,q){var le={};for(var re in V)Object.prototype.hasOwnProperty.call(V,re)&&q.indexOf(re)<0&&(le[re]=V[re]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,re=Object.getOwnPropertySymbols(V);Q{var{defaultExpandAll:le,defaultExpandParent:re,defaultExpandedKeys:Q}=V,be=xe(V,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Re=$.useRef(),ke=$.useRef(),Fe=()=>{const{keyEntities:g}=(0,k.I8)(Ve(be));let f;return le?f=Object.keys(g):re?f=(0,X.r7)(be.expandedKeys||Q||[],g):f=be.expandedKeys||Q,f},[Ue,Ge]=$.useState(be.selectedKeys||be.defaultSelectedKeys||[]),[at,Xe]=$.useState(()=>Fe());$.useEffect(()=>{"selectedKeys"in be&&Ge(be.selectedKeys)},[be.selectedKeys]),$.useEffect(()=>{"expandedKeys"in be&&Xe(be.expandedKeys)},[be.expandedKeys]);const ve=(g,f)=>{var L;return"expandedKeys"in be||Xe(g),(L=be.onExpand)===null||L===void 0?void 0:L.call(be,g,f)},Ke=(g,f)=>{var L;const{multiple:ge}=be,{node:te,nativeEvent:me}=f,{key:de=""}=te,h=Ve(be),I=Object.assign(Object.assign({},f),{selected:!0}),ae=(me==null?void 0:me.ctrlKey)||(me==null?void 0:me.metaKey),Ie=me==null?void 0:me.shiftKey;let Se;ge&&ae?(Se=g,Re.current=de,ke.current=Se,I.selectedNodes=M(h,Se)):ge&&Ie?(Se=Array.from(new Set([].concat((0,c.Z)(ke.current||[]),(0,c.Z)(W({treeData:h,expandedKeys:at,startKey:de,endKey:Re.current}))))),I.selectedNodes=M(h,Se)):(Se=[de],Re.current=de,ke.current=Se,I.selectedNodes=M(h,Se)),(L=be.onSelect)===null||L===void 0||L.call(be,Se,I),"selectedKeys"in be||Ge(Se)},{getPrefixCls:B,direction:w}=$.useContext($e.E_),{prefixCls:d,className:n,showIcon:R=!0,expandAction:G="click"}=be,s=xe(be,["prefixCls","className","showIcon","expandAction"]),o=B("tree",d),K=ue()(`${o}-directory`,{[`${o}-directory-rtl`]:w==="rtl"},n);return $.createElement(p,Object.assign({icon:Y,ref:q,blockNode:!0},s,{showIcon:R,expandAction:G,prefixCls:o,className:K,expandedKeys:at,selectedKeys:Ue,onSelect:Ke,onExpand:ve}))};var Z=$.forwardRef(l);const b=p;b.DirectoryTree=Z,b.TreeNode=u.O;var U=b},20648:function(Dt,Me,e){e.d(Me,{TM:function(){return E},Yk:function(){return S}});var u=e(36237),c=e(98447),v=e(17313),j=e(8378),C=e(37613),$=e(83116);const t=new u.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),oe=(ue,X)=>({[`.${ue}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${X.motionDurationSlow}`}}}),ee=(ue,X)=>({[`.${ue}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:X.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${X.lineWidthBold}px solid ${X.colorPrimary}`,borderRadius:"50%",content:'""'}}}),O=(ue,X)=>{const{treeCls:k,treeNodeCls:$e,treeNodePadding:ie,titleHeight:we,nodeSelectedBg:ce,nodeHoverBg:H}=X,m=X.paddingXS;return{[k]:Object.assign(Object.assign({},(0,v.Wf)(X)),{background:X.colorBgContainer,borderRadius:X.borderRadius,transition:`background-color ${X.motionDurationSlow}`,[`&${k}-rtl`]:{[`${k}-switcher`]:{"&_close":{[`${k}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${k}-active-focused)`]:Object.assign({},(0,v.oN)(X)),[`${k}-list-holder-inner`]:{alignItems:"flex-start"},[`&${k}-block-node`]:{[`${k}-list-holder-inner`]:{alignItems:"stretch",[`${k}-node-content-wrapper`]:{flex:"auto"},[`${$e}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:ie,insetInlineStart:0,border:`1px solid ${X.colorPrimary}`,opacity:0,animationName:t,animationDuration:X.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${$e}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${ie}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${k}-node-content-wrapper`]:{color:X.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${k}-node-content-wrapper`]:Object.assign({},(0,v.oN)(X)),[`&:not(${$e}-disabled).filter-node ${k}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${k}-draggable-icon`]:{flexShrink:0,width:we,lineHeight:`${we}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${X.motionDurationSlow}`,[`${$e}:hover &`]:{opacity:.45}},[`&${$e}-disabled`]:{[`${k}-draggable-icon`]:{visibility:"hidden"}}}},[`${k}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:we}},[`${k}-draggable-icon`]:{visibility:"hidden"},[`${k}-switcher`]:Object.assign(Object.assign({},oe(ue,X)),{position:"relative",flex:"none",alignSelf:"stretch",width:we,margin:0,lineHeight:`${we}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${k}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:X.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we/2,bottom:-ie,marginInlineStart:-1,borderInlineEnd:`1px solid ${X.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:we/2*.8,height:we/2,borderBottom:`1px solid ${X.colorBorder}`,content:'""'}}}),[`${k}-checkbox`]:{top:"initial",marginInlineEnd:m},[`${k}-node-content-wrapper, ${k}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:we,margin:0,padding:`0 ${X.paddingXS/2}px`,color:"inherit",lineHeight:`${we}px`,background:"transparent",borderRadius:X.borderRadius,cursor:"pointer",transition:`all ${X.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:H},[`&${k}-node-selected`]:{backgroundColor:ce},[`${k}-iconEle`]:{display:"inline-block",width:we,height:we,lineHeight:`${we}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${k}-unselectable ${k}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${k}-node-content-wrapper`]:Object.assign({lineHeight:`${we}px`,userSelect:"none"},ee(ue,X)),[`${$e}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${X.colorPrimary}`}},"&-show-line":{[`${k}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:we/2,bottom:-ie,borderInlineEnd:`1px solid ${X.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${k}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${$e}-leaf-last`]:{[`${k}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${we/2}px !important`}}}}})}},se=ue=>{const{treeCls:X,treeNodeCls:k,treeNodePadding:$e,directoryNodeSelectedBg:ie,directoryNodeSelectedColor:we}=ue;return{[`${X}${X}-directory`]:{[k]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:$e,insetInlineStart:0,transition:`background-color ${ue.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ue.controlItemBgHover}},"> *":{zIndex:1},[`${X}-switcher`]:{transition:`color ${ue.motionDurationMid}`},[`${X}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${X}-node-selected`]:{color:we,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:ie},[`${X}-switcher`]:{color:we},[`${X}-node-content-wrapper`]:{color:we,background:"transparent"}}}}}},S=(ue,X)=>{const k=`.${ue}`,$e=`${k}-treenode`,ie=X.paddingXS/2,we=(0,C.TS)(X,{treeCls:k,treeNodeCls:$e,treeNodePadding:ie});return[O(ue,we),se(we)]},E=ue=>{const{controlHeightSM:X}=ue;return{titleHeight:X,nodeHoverBg:ue.controlItemBgHover,nodeSelectedBg:ue.controlItemBgActive}};Me.ZP=(0,$.Z)("Tree",(ue,X)=>{let{prefixCls:k}=X;return[{[ue.componentCls]:(0,c.C2)(`${k}-checkbox`,ue)},S(k,ue),(0,j.Z)(ue)]},ue=>{const{colorTextLightSolid:X,colorPrimary:k}=ue;return Object.assign(Object.assign({},E(ue)),{directoryNodeSelectedColor:X,directoryNodeSelectedBg:k})})},71997:function(Dt,Me,e){e.d(Me,{Z:function(){return $e}});var u=e(54476),c=e(59301),v={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},j=v,C=e(7657),$=function(we,ce){return c.createElement(C.Z,(0,u.Z)({},we,{ref:ce,icon:j}))},t=c.forwardRef($),oe=t,ee=e(52671),O=e(58617),se=e(15075),S=e(43531),E=e(92310),ue=e.n(E),X=e(92343),$e=ie=>{const{prefixCls:we,switcherIcon:ce,treeNodeProps:H,showLine:m}=ie,{isLeaf:r,expanded:y,loading:p}=H;if(p)return c.createElement(O.Z,{className:`${we}-switcher-loading-icon`});let ne;if(m&&typeof m=="object"&&(ne=m.showLeafIcon),r){if(!m)return null;if(typeof ne!="boolean"&&ne){const M=typeof ne=="function"?ne(H):ne,xe=`${we}-switcher-line-custom-icon`;return(0,X.l$)(M)?(0,X.Tm)(M,{className:ue()(M.props.className||"",xe)}):M}return ne?c.createElement(ee.Z,{className:`${we}-switcher-line-icon`}):c.createElement("span",{className:`${we}-switcher-leaf-line`})}const D=`${we}-switcher-icon`,W=typeof ce=="function"?ce(H):ce;return(0,X.l$)(W)?(0,X.Tm)(W,{className:ue()(W.props.className||"",D)}):W!==void 0?W:m?y?c.createElement(se.Z,{className:`${we}-switcher-line-icon`}):c.createElement(S.Z,{className:`${we}-switcher-line-icon`}):c.createElement(oe,{className:D})}},5630:function(Dt,Me,e){var u=e(54476),c=e(33885),v=e(20068),j=e(42978),C=e(75931),$=e(92310),t=e.n($),oe=e(18929),ee=e(59301),O=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],se=(0,ee.forwardRef)(function(S,E){var ue,X=S.prefixCls,k=X===void 0?"rc-checkbox":X,$e=S.className,ie=S.style,we=S.checked,ce=S.disabled,H=S.defaultChecked,m=H===void 0?!1:H,r=S.type,y=r===void 0?"checkbox":r,p=S.title,ne=S.onChange,D=(0,C.Z)(S,O),W=(0,ee.useRef)(null),M=(0,oe.Z)(m,{value:we}),xe=(0,j.Z)(M,2),Y=xe[0],Ve=xe[1];(0,ee.useImperativeHandle)(E,function(){return{focus:function(){var b;(b=W.current)===null||b===void 0||b.focus()},blur:function(){var b;(b=W.current)===null||b===void 0||b.blur()},input:W.current}});var l=t()(k,$e,(ue={},(0,v.Z)(ue,"".concat(k,"-checked"),Y),(0,v.Z)(ue,"".concat(k,"-disabled"),ce),ue)),F=function(b){ce||("checked"in S||Ve(b.target.checked),ne==null||ne({target:(0,c.Z)((0,c.Z)({},S),{},{type:y,checked:b.target.checked}),stopPropagation:function(){b.stopPropagation()},preventDefault:function(){b.preventDefault()},nativeEvent:b.nativeEvent}))};return ee.createElement("span",{className:l,title:p,style:ie},ee.createElement("input",(0,u.Z)({},D,{className:"".concat(k,"-input"),ref:W,onChange:F,disabled:ce,checked:!!Y,type:y})),ee.createElement("span",{className:"".concat(k,"-inner")}))});Me.Z=se},31561:function(Dt,Me,e){e.d(Me,{Z:function(){return y}});var u=e(54476),c=e(20068),v=e(42978),j=e(75931),C=e(35593),$=e(92310),t=e.n($),oe=e(8654),ee=e(59301),O=e(10228),se=e(16089),S=O.Z.ESC,E=O.Z.TAB;function ue(p){var ne=p.visible,D=p.triggerRef,W=p.onVisibleChange,M=p.autoFocus,xe=p.overlayRef,Y=ee.useRef(!1),Ve=function(){if(ne){var b,U;(b=D.current)===null||b===void 0||(U=b.focus)===null||U===void 0||U.call(b),W==null||W(!1)}},l=function(){var b;return(b=xe.current)!==null&&b!==void 0&&b.focus?(xe.current.focus(),Y.current=!0,!0):!1},F=function(b){switch(b.keyCode){case S:Ve();break;case E:{var U=!1;Y.current||(U=l()),U?b.preventDefault():Ve();break}}};ee.useEffect(function(){return ne?(window.addEventListener("keydown",F),M&&(0,se.Z)(l,3),function(){window.removeEventListener("keydown",F),Y.current=!1}):function(){Y.current=!1}},[ne])}var X=(0,ee.forwardRef)(function(p,ne){var D=p.overlay,W=p.arrow,M=p.prefixCls,xe=(0,ee.useMemo)(function(){var Ve;return typeof D=="function"?Ve=D():Ve=D,Ve},[D]),Y=(0,oe.sQ)(ne,xe==null?void 0:xe.ref);return ee.createElement(ee.Fragment,null,W&&ee.createElement("div",{className:"".concat(M,"-arrow")}),ee.cloneElement(xe,{ref:(0,oe.Yr)(xe)?Y:void 0}))}),k=X,$e={adjustX:1,adjustY:1},ie=[0,0],we={topLeft:{points:["bl","tl"],overflow:$e,offset:[0,-4],targetOffset:ie},top:{points:["bc","tc"],overflow:$e,offset:[0,-4],targetOffset:ie},topRight:{points:["br","tr"],overflow:$e,offset:[0,-4],targetOffset:ie},bottomLeft:{points:["tl","bl"],overflow:$e,offset:[0,4],targetOffset:ie},bottom:{points:["tc","bc"],overflow:$e,offset:[0,4],targetOffset:ie},bottomRight:{points:["tr","br"],overflow:$e,offset:[0,4],targetOffset:ie}},ce=we,H=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function m(p,ne){var D,W=p.arrow,M=W===void 0?!1:W,xe=p.prefixCls,Y=xe===void 0?"rc-dropdown":xe,Ve=p.transitionName,l=p.animation,F=p.align,Z=p.placement,b=Z===void 0?"bottomLeft":Z,U=p.placements,V=U===void 0?ce:U,q=p.getPopupContainer,le=p.showAction,re=p.hideAction,Q=p.overlayClassName,be=p.overlayStyle,Re=p.visible,ke=p.trigger,Fe=ke===void 0?["hover"]:ke,Ue=p.autoFocus,Ge=p.overlay,at=p.children,Xe=p.onVisibleChange,ve=(0,j.Z)(p,H),Ke=ee.useState(),B=(0,v.Z)(Ke,2),w=B[0],d=B[1],n="visible"in p?Re:w,R=ee.useRef(null),G=ee.useRef(null),s=ee.useRef(null);ee.useImperativeHandle(ne,function(){return R.current});var o=function(h){d(h),Xe==null||Xe(h)};ue({visible:n,triggerRef:s,onVisibleChange:o,autoFocus:Ue,overlayRef:G});var K=function(h){var I=p.onOverlayClick;d(!1),I&&I(h)},g=function(){return ee.createElement(k,{ref:G,overlay:Ge,prefixCls:Y,arrow:M})},f=function(){return typeof Ge=="function"?g:g()},L=function(){var h=p.minOverlayWidthMatchTrigger,I=p.alignPoint;return"minOverlayWidthMatchTrigger"in p?h:!I},ge=function(){var h=p.openClassName;return h!==void 0?h:"".concat(Y,"-open")},te=ee.cloneElement(at,{className:t()((D=at.props)===null||D===void 0?void 0:D.className,n&&ge()),ref:(0,oe.Yr)(at)?(0,oe.sQ)(s,at.ref):void 0}),me=re;return!me&&Fe.indexOf("contextMenu")!==-1&&(me=["click"]),ee.createElement(C.Z,(0,u.Z)({builtinPlacements:V},ve,{prefixCls:Y,ref:R,popupClassName:t()(Q,(0,c.Z)({},"".concat(Y,"-show-arrow"),M)),popupStyle:be,action:Fe,showAction:le,hideAction:me,popupPlacement:b,popupAlign:F,popupTransitionName:Ve,popupAnimation:l,popupVisible:n,stretch:L()?"minWidth":"",popup:f(),onPopupVisibleChange:o,onPopupClick:K,getPopupContainer:q}),te)}var r=ee.forwardRef(m),y=r},93681:function(Dt,Me,e){e.r(Me),e.d(Me,{BaseInput:function(){return O},default:function(){return we}});var u=e(54476),c=e(33885),v=e(20068),j=e(76190),C=e(92310),$=e.n(C),t=e(59301),oe=e(5643),ee=function(H){var m,r,y=H.inputElement,p=H.prefixCls,ne=H.prefix,D=H.suffix,W=H.addonBefore,M=H.addonAfter,xe=H.className,Y=H.style,Ve=H.disabled,l=H.readOnly,F=H.focused,Z=H.triggerFocus,b=H.allowClear,U=H.value,V=H.handleReset,q=H.hidden,le=H.classes,re=H.classNames,Q=H.dataAttrs,be=H.styles,Re=H.components,ke=(Re==null?void 0:Re.affixWrapper)||"span",Fe=(Re==null?void 0:Re.groupWrapper)||"span",Ue=(Re==null?void 0:Re.wrapper)||"span",Ge=(Re==null?void 0:Re.groupAddon)||"span",at=(0,t.useRef)(null),Xe=function(g){var f;(f=at.current)!==null&&f!==void 0&&f.contains(g.target)&&(Z==null||Z())},ve=function(){var g;if(!b)return null;var f=!Ve&&!l&&U,L="".concat(p,"-clear-icon"),ge=(0,j.Z)(b)==="object"&&b!==null&&b!==void 0&&b.clearIcon?b.clearIcon:"\u2716";return t.createElement("span",{onClick:V,onMouseDown:function(me){return me.preventDefault()},className:$()(L,(g={},(0,v.Z)(g,"".concat(L,"-hidden"),!f),(0,v.Z)(g,"".concat(L,"-has-suffix"),!!D),g)),role:"button",tabIndex:-1},ge)},Ke=(0,t.cloneElement)(y,{value:U,hidden:q,className:$()((m=y.props)===null||m===void 0?void 0:m.className,!(0,oe.X3)(H)&&!(0,oe.He)(H)&&xe)||null,style:(0,c.Z)((0,c.Z)({},(r=y.props)===null||r===void 0?void 0:r.style),!(0,oe.X3)(H)&&!(0,oe.He)(H)?Y:{})});if((0,oe.X3)(H)){var B,w="".concat(p,"-affix-wrapper"),d=$()(w,(B={},(0,v.Z)(B,"".concat(w,"-disabled"),Ve),(0,v.Z)(B,"".concat(w,"-focused"),F),(0,v.Z)(B,"".concat(w,"-readonly"),l),(0,v.Z)(B,"".concat(w,"-input-with-clear-btn"),D&&b&&U),B),!(0,oe.He)(H)&&xe,le==null?void 0:le.affixWrapper,re==null?void 0:re.affixWrapper),n=(D||b)&&t.createElement("span",{className:$()("".concat(p,"-suffix"),re==null?void 0:re.suffix),style:be==null?void 0:be.suffix},ve(),D);Ke=t.createElement(ke,(0,u.Z)({className:d,style:(0,c.Z)((0,c.Z)({},(0,oe.He)(H)?void 0:Y),be==null?void 0:be.affixWrapper),hidden:!(0,oe.He)(H)&&q,onClick:Xe},Q==null?void 0:Q.affixWrapper,{ref:at}),ne&&t.createElement("span",{className:$()("".concat(p,"-prefix"),re==null?void 0:re.prefix),style:be==null?void 0:be.prefix},ne),(0,t.cloneElement)(y,{value:U,hidden:null}),n)}if((0,oe.He)(H)){var R="".concat(p,"-group"),G="".concat(R,"-addon"),s=$()("".concat(p,"-wrapper"),R,le==null?void 0:le.wrapper),o=$()("".concat(p,"-group-wrapper"),xe,le==null?void 0:le.group);return t.createElement(Fe,{className:o,style:Y,hidden:q},t.createElement(Ue,{className:s},W&&t.createElement(Ge,{className:G},W),(0,t.cloneElement)(Ke,{hidden:null}),M&&t.createElement(Ge,{className:G},M)))}return Ke},O=ee,se=e(94480),S=e(42978),E=e(75931),ue=e(18929),X=e(2738),k=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],$e=(0,t.forwardRef)(function(ce,H){var m=ce.autoComplete,r=ce.onChange,y=ce.onFocus,p=ce.onBlur,ne=ce.onPressEnter,D=ce.onKeyDown,W=ce.prefixCls,M=W===void 0?"rc-input":W,xe=ce.disabled,Y=ce.htmlSize,Ve=ce.className,l=ce.maxLength,F=ce.suffix,Z=ce.showCount,b=ce.type,U=b===void 0?"text":b,V=ce.classes,q=ce.classNames,le=ce.styles,re=(0,E.Z)(ce,k),Q=(0,ue.Z)(ce.defaultValue,{value:ce.value}),be=(0,S.Z)(Q,2),Re=be[0],ke=be[1],Fe=(0,t.useState)(!1),Ue=(0,S.Z)(Fe,2),Ge=Ue[0],at=Ue[1],Xe=(0,t.useRef)(null),ve=function(o){Xe.current&&(0,oe.nH)(Xe.current,o)};(0,t.useImperativeHandle)(H,function(){return{focus:ve,blur:function(){var o;(o=Xe.current)===null||o===void 0||o.blur()},setSelectionRange:function(o,K,g){var f;(f=Xe.current)===null||f===void 0||f.setSelectionRange(o,K,g)},select:function(){var o;(o=Xe.current)===null||o===void 0||o.select()},input:Xe.current}}),(0,t.useEffect)(function(){at(function(s){return s&&xe?!1:s})},[xe]);var Ke=function(o){ce.value===void 0&&ke(o.target.value),Xe.current&&(0,oe.rJ)(Xe.current,o,r)},B=function(o){ne&&o.key==="Enter"&&ne(o),D==null||D(o)},w=function(o){at(!0),y==null||y(o)},d=function(o){at(!1),p==null||p(o)},n=function(o){ke(""),ve(),Xe.current&&(0,oe.rJ)(Xe.current,o,r)},R=function(){var o=(0,X.Z)(ce,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return t.createElement("input",(0,u.Z)({autoComplete:m},o,{onChange:Ke,onFocus:w,onBlur:d,onKeyDown:B,className:$()(M,(0,v.Z)({},"".concat(M,"-disabled"),xe),q==null?void 0:q.input),style:le==null?void 0:le.input,ref:Xe,size:Y,type:U}))},G=function(){var o=Number(l)>0;if(F||Z){var K=(0,oe.D7)(Re),g=(0,se.Z)(K).length,f=(0,j.Z)(Z)==="object"?Z.formatter({value:K,count:g,maxLength:l}):"".concat(g).concat(o?" / ".concat(l):"");return t.createElement(t.Fragment,null,!!Z&&t.createElement("span",{className:$()("".concat(M,"-show-count-suffix"),(0,v.Z)({},"".concat(M,"-show-count-has-suffix"),!!F),q==null?void 0:q.count),style:(0,c.Z)({},le==null?void 0:le.count)},f),F)}return null};return t.createElement(O,(0,u.Z)({},re,{prefixCls:M,className:Ve,inputElement:R(),handleReset:n,value:(0,oe.D7)(Re),focused:Ge,triggerFocus:ve,suffix:G(),disabled:xe,classes:V,classNames:q,styles:le}))}),ie=$e,we=ie},5643:function(Dt,Me,e){e.d(Me,{D7:function(){return C},He:function(){return u},X3:function(){return c},nH:function(){return j},rJ:function(){return v}});function u($){return!!($.addonBefore||$.addonAfter)}function c($){return!!($.prefix||$.suffix||$.allowClear)}function v($,t,oe,ee){if(oe){var O=t;if(t.type==="click"){var se=$.cloneNode(!0);O=Object.create(t,{target:{value:se},currentTarget:{value:se}}),se.value="",oe(O);return}if(ee!==void 0){O=Object.create(t,{target:{value:$},currentTarget:{value:$}}),$.value=ee,oe(O);return}oe(O)}}function j($,t){if($){$.focus(t);var oe=t||{},ee=oe.cursor;if(ee){var O=$.value.length;switch(ee){case"start":$.setSelectionRange(0,0);break;case"end":$.setSelectionRange(O,O);break;default:$.setSelectionRange(0,O)}}}}function C($){return typeof $=="undefined"||$===null?"":String($)}},15285:function(Dt,Me,e){e.d(Me,{iz:function(){return it},ck:function(){return gt},BW:function(){return dt},sN:function(){return gt},Wd:function(){return fe},ZP:function(){return Gt},Xl:function(){return D}});var u=e(54476),c=e(20068),v=e(33885),j=e(94480),C=e(42978),$=e(75931),t=e(92310),oe=e.n(t),ee=e(83836),O=e(18929),se=e(13697),S=e(48736),E=e(59301),ue=e(4676),X=E.createContext(null);function k(Oe,Ee){return Oe===void 0?null:"".concat(Oe,"-").concat(Ee)}function $e(Oe){var Ee=E.useContext(X);return k(Ee,Oe)}var ie=e(80547),we=["children","locked"],ce=E.createContext(null);function H(Oe,Ee){var De=(0,v.Z)({},Oe);return Object.keys(Ee).forEach(function(Ze){var Pe=Ee[Ze];Pe!==void 0&&(De[Ze]=Pe)}),De}function m(Oe){var Ee=Oe.children,De=Oe.locked,Ze=(0,$.Z)(Oe,we),Pe=E.useContext(ce),Be=(0,ie.Z)(function(){return H(Pe,Ze)},[Pe,Ze],function(Ne,We){return!De&&(Ne[0]!==We[0]||!(0,se.Z)(Ne[1],We[1],!0))});return E.createElement(ce.Provider,{value:Be},Ee)}var r=[],y=E.createContext(null);function p(){return E.useContext(y)}var ne=E.createContext(r);function D(Oe){var Ee=E.useContext(ne);return E.useMemo(function(){return Oe!==void 0?[].concat((0,j.Z)(Ee),[Oe]):Ee},[Ee,Oe])}var W=E.createContext(null),M=E.createContext({}),xe=M,Y=e(29194);function Ve(Oe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,Y.Z)(Oe)){var De=Oe.nodeName.toLowerCase(),Ze=["input","select","textarea","button"].includes(De)||Oe.isContentEditable||De==="a"&&!!Oe.getAttribute("href"),Pe=Oe.getAttribute("tabindex"),Be=Number(Pe),Ne=null;return Pe&&!Number.isNaN(Be)?Ne=Be:Ze&&Ne===null&&(Ne=0),Ze&&Oe.disabled&&(Ne=null),Ne!==null&&(Ne>=0||Ee&&Ne<0)}return!1}function l(Oe){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,De=(0,j.Z)(Oe.querySelectorAll("*")).filter(function(Ze){return Ve(Ze,Ee)});return Ve(Oe,Ee)&&De.unshift(Oe),De}var F=null;function Z(){F=document.activeElement}function b(){F=null}function U(){if(F)try{F.focus()}catch(Oe){}}function V(Oe,Ee){if(Ee.keyCode===9){var De=l(Oe),Ze=De[Ee.shiftKey?0:De.length-1],Pe=Ze===document.activeElement||Oe===document.activeElement;if(Pe){var Be=De[Ee.shiftKey?De.length-1:0];Be.focus(),Ee.preventDefault()}}}var q=e(10228),le=e(16089),re=q.Z.LEFT,Q=q.Z.RIGHT,be=q.Z.UP,Re=q.Z.DOWN,ke=q.Z.ENTER,Fe=q.Z.ESC,Ue=q.Z.HOME,Ge=q.Z.END,at=[be,Re,re,Q];function Xe(Oe,Ee,De,Ze){var Pe,Be,Ne,We,ft="prev",pt="next",Kt="children",jt="parent";if(Oe==="inline"&&Ze===ke)return{inlineTrigger:!0};var ln=(Pe={},(0,c.Z)(Pe,be,ft),(0,c.Z)(Pe,Re,pt),Pe),Bt=(Be={},(0,c.Z)(Be,re,De?pt:ft),(0,c.Z)(Be,Q,De?ft:pt),(0,c.Z)(Be,Re,Kt),(0,c.Z)(Be,ke,Kt),Be),Pt=(Ne={},(0,c.Z)(Ne,be,ft),(0,c.Z)(Ne,Re,pt),(0,c.Z)(Ne,ke,Kt),(0,c.Z)(Ne,Fe,jt),(0,c.Z)(Ne,re,De?Kt:jt),(0,c.Z)(Ne,Q,De?jt:Kt),Ne),tn={inline:ln,horizontal:Bt,vertical:Pt,inlineSub:ln,horizontalSub:Pt,verticalSub:Pt},sn=(We=tn["".concat(Oe).concat(Ee?"":"Sub")])===null||We===void 0?void 0:We[Ze];switch(sn){case ft:return{offset:-1,sibling:!0};case pt:return{offset:1,sibling:!0};case jt:return{offset:-1,sibling:!1};case Kt:return{offset:1,sibling:!1};default:return null}}function ve(Oe){for(var Ee=Oe;Ee;){if(Ee.getAttribute("data-menu-list"))return Ee;Ee=Ee.parentElement}return null}function Ke(Oe,Ee){for(var De=Oe||document.activeElement;De;){if(Ee.has(De))return De;De=De.parentElement}return null}function B(Oe,Ee){var De=l(Oe,!0);return De.filter(function(Ze){return Ee.has(Ze)})}function w(Oe,Ee,De){var Ze=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!Oe)return null;var Pe=B(Oe,Ee),Be=Pe.length,Ne=Pe.findIndex(function(We){return De===We});return Ze<0?Ne===-1?Ne=Be-1:Ne-=1:Ze>0&&(Ne+=1),Ne=(Ne+Be)%Be,Pe[Ne]}var d=function(Ee,De){var Ze=new Set,Pe=new Map,Be=new Map;return Ee.forEach(function(Ne){var We=document.querySelector("[data-menu-id='".concat(k(De,Ne),"']"));We&&(Ze.add(We),Be.set(We,Ne),Pe.set(Ne,We))}),{elements:Ze,key2element:Pe,element2key:Be}};function n(Oe,Ee,De,Ze,Pe,Be,Ne,We,ft,pt){var Kt=E.useRef(),jt=E.useRef();jt.current=Ee;var ln=function(){le.Z.cancel(Kt.current)};return E.useEffect(function(){return function(){ln()}},[]),function(Bt){var Pt=Bt.which;if([].concat(at,[ke,Fe,Ue,Ge]).includes(Pt)){var tn=Be(),sn=d(tn,Ze),nn=sn,Jt=nn.elements,qt=nn.key2element,xn=nn.element2key,en=qt.get(Ee),Rn=Ke(en,Jt),Gn=xn.get(Rn),Wt=Xe(Oe,Ne(Gn,!0).length===1,De,Pt);if(!Wt&&Pt!==Ue&&Pt!==Ge)return;(at.includes(Pt)||[Ue,Ge].includes(Pt))&&Bt.preventDefault();var st=function(Hn){if(Hn){var dr=Hn,At=Hn.querySelector("a");At!=null&&At.getAttribute("href")&&(dr=At);var wt=xn.get(Hn);We(wt),ln(),Kt.current=(0,le.Z)(function(){jt.current===wt&&dr.focus()})}};if([Ue,Ge].includes(Pt)||Wt.sibling||!Rn){var ct;!Rn||Oe==="inline"?ct=Pe.current:ct=ve(Rn);var Ht,Nt=B(ct,Jt);Pt===Ue?Ht=Nt[0]:Pt===Ge?Ht=Nt[Nt.length-1]:Ht=w(ct,Jt,Rn,Wt.offset),st(Ht)}else if(Wt.inlineTrigger)ft(Gn);else if(Wt.offset>0)ft(Gn,!0),ln(),Kt.current=(0,le.Z)(function(){sn=d(tn,Ze);var nr=Rn.getAttribute("aria-controls"),Hn=document.getElementById(nr),dr=w(Hn,sn.elements);st(dr)},5);else if(Wt.offset<0){var Cn=Ne(Gn,!0),En=Cn[Cn.length-2],rn=qt.get(En);ft(En,!1),st(rn)}}pt==null||pt(Bt)}}function R(Oe){Promise.resolve().then(Oe)}var G="__RC_UTIL_PATH_SPLIT__",s=function(Ee){return Ee.join(G)},o=function(Ee){return Ee.split(G)},K="rc-menu-more";function g(){var Oe=E.useState({}),Ee=(0,C.Z)(Oe,2),De=Ee[1],Ze=(0,E.useRef)(new Map),Pe=(0,E.useRef)(new Map),Be=E.useState([]),Ne=(0,C.Z)(Be,2),We=Ne[0],ft=Ne[1],pt=(0,E.useRef)(0),Kt=(0,E.useRef)(!1),jt=function(){Kt.current||De({})},ln=(0,E.useCallback)(function(qt,xn){var en=s(xn);Pe.current.set(en,qt),Ze.current.set(qt,en),pt.current+=1;var Rn=pt.current;R(function(){Rn===pt.current&&jt()})},[]),Bt=(0,E.useCallback)(function(qt,xn){var en=s(xn);Pe.current.delete(en),Ze.current.delete(qt)},[]),Pt=(0,E.useCallback)(function(qt){ft(qt)},[]),tn=(0,E.useCallback)(function(qt,xn){var en=Ze.current.get(qt)||"",Rn=o(en);return xn&&We.includes(Rn[0])&&Rn.unshift(K),Rn},[We]),sn=(0,E.useCallback)(function(qt,xn){return qt.some(function(en){var Rn=tn(en,!0);return Rn.includes(xn)})},[tn]),nn=function(){var xn=(0,j.Z)(Ze.current.keys());return We.length&&xn.push(K),xn},Jt=(0,E.useCallback)(function(qt){var xn="".concat(Ze.current.get(qt)).concat(G),en=new Set;return(0,j.Z)(Pe.current.keys()).forEach(function(Rn){Rn.startsWith(xn)&&en.add(Pe.current.get(Rn))}),en},[]);return E.useEffect(function(){return function(){Kt.current=!0}},[]),{registerPath:ln,unregisterPath:Bt,refreshOverflowKeys:Pt,isSubPathKey:sn,getKeyPath:tn,getKeys:nn,getSubPathKeys:Jt}}function f(Oe){var Ee=E.useRef(Oe);Ee.current=Oe;var De=E.useCallback(function(){for(var Ze,Pe=arguments.length,Be=new Array(Pe),Ne=0;Ne1&&(Jt.motionAppear=!1);var qt=Jt.onVisibleChanged;return Jt.onVisibleChanged=function(xn){return!ln.current&&!xn&&sn(!0),qt==null?void 0:qt(xn)},tn?null:E.createElement(m,{mode:Be,locked:!ln.current},E.createElement(x.default,(0,u.Z)({visible:nn},Jt,{forceRender:ft,removeOnLeave:!1,leavedClassName:"".concat(We,"-hidden")}),function(xn){var en=xn.className,Rn=xn.style;return E.createElement(yt,{id:Ee,className:en,style:Rn},Pe)}))}var T=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],N=["active"],he=function(Ee){var De,Ze=Ee.style,Pe=Ee.className,Be=Ee.title,Ne=Ee.eventKey,We=Ee.warnKey,ft=Ee.disabled,pt=Ee.internalPopupClose,Kt=Ee.children,jt=Ee.itemIcon,ln=Ee.expandIcon,Bt=Ee.popupClassName,Pt=Ee.popupOffset,tn=Ee.popupStyle,sn=Ee.onClick,nn=Ee.onMouseEnter,Jt=Ee.onMouseLeave,qt=Ee.onTitleClick,xn=Ee.onTitleMouseEnter,en=Ee.onTitleMouseLeave,Rn=(0,$.Z)(Ee,T),Gn=$e(Ne),Wt=E.useContext(ce),st=Wt.prefixCls,ct=Wt.mode,Ht=Wt.openKeys,Nt=Wt.disabled,Cn=Wt.overflowDisabled,En=Wt.activeKey,rn=Wt.selectedKeys,nr=Wt.itemIcon,Hn=Wt.expandIcon,dr=Wt.onItemClick,At=Wt.onOpenChange,wt=Wt.onActive,gn=E.useContext(xe),In=gn._internalRenderSubMenuItem,Xn=E.useContext(W),Ar=Xn.isSubPathKey,br=D(),Wn="".concat(st,"-submenu"),gr=Nt||ft,fr=E.useRef(),vr=E.useRef(),Lr=jt!=null?jt:nr,lr=ln!=null?ln:Hn,Zr=Ht.includes(Ne),Jr=!Cn&&Zr,Kr=Ar(rn,Ne),_r=Se(Ne,gr,xn,en),Hr=_r.active,qr=(0,$.Z)(_r,N),Na=E.useState(!1),ta=(0,C.Z)(Na,2),Pa=ta[0],$a=ta[1],va=function(Ir){gr||$a(Ir)},jr=function(Ir){va(!0),nn==null||nn({key:Ne,domEvent:Ir})},Ra=function(Ir){va(!1),Jt==null||Jt({key:Ne,domEvent:Ir})},Ea=E.useMemo(function(){return Hr||(ct!=="inline"?Pa||Ar([En],Ne):!1)},[ct,Hr,En,Pa,Ne,Ar]),ia=Le(br.length),ma=function(Ir){gr||(qt==null||qt({key:Ne,domEvent:Ir}),ct==="inline"&&At(Ne,!Zr))},la=f(function(Er){sn==null||sn(_e(Er)),dr(Er)}),_t=function(Ir){ct!=="inline"&&At(Ne,Ir)},Bn=function(){wt(Ne)},wn=Gn&&"".concat(Gn,"-popup"),Dn=E.createElement("div",(0,u.Z)({role:"menuitem",style:ia,className:"".concat(Wn,"-title"),tabIndex:gr?null:-1,ref:fr,title:typeof Be=="string"?Be:null,"data-menu-id":Cn&&Gn?null:Gn,"aria-expanded":Jr,"aria-haspopup":!0,"aria-controls":wn,"aria-disabled":gr,onClick:ma,onFocus:Bn},qr),Be,E.createElement(Qe,{icon:ct!=="horizontal"?lr:void 0,props:(0,v.Z)((0,v.Z)({},Ee),{},{isOpen:Jr,isSubMenu:!0})},E.createElement("i",{className:"".concat(Wn,"-arrow")}))),Vn=E.useRef(ct);if(ct!=="inline"&&br.length>1?Vn.current="vertical":Vn.current=ct,!Cn){var qn=Vn.current;Dn=E.createElement(dn,{mode:qn,prefixCls:Wn,visible:!pt&&Jr&&ct!=="inline",popupClassName:Bt,popupOffset:Pt,popupStyle:tn,popup:E.createElement(m,{mode:qn==="horizontal"?"vertical":qn},E.createElement(yt,{id:wn,ref:vr},Kt)),disabled:gr,onVisibleChange:_t},Dn)}var Wr=E.createElement(ee.Z.Item,(0,u.Z)({role:"none"},Rn,{component:"li",style:Ze,className:oe()(Wn,"".concat(Wn,"-").concat(ct),Pe,(De={},(0,c.Z)(De,"".concat(Wn,"-open"),Jr),(0,c.Z)(De,"".concat(Wn,"-active"),Ea),(0,c.Z)(De,"".concat(Wn,"-selected"),Kr),(0,c.Z)(De,"".concat(Wn,"-disabled"),gr),De)),onMouseEnter:jr,onMouseLeave:Ra}),Dn,!Cn&&E.createElement(A,{id:wn,open:Jr,keyPath:br},Kt));return In&&(Wr=In(Wr,Ee,{selected:Kr,active:Ea,open:Jr,disabled:gr})),E.createElement(m,{onItemClick:la,mode:ct==="horizontal"?"vertical":ct,itemIcon:Lr,expandIcon:lr},Wr)};function fe(Oe){var Ee=Oe.eventKey,De=Oe.children,Ze=D(Ee),Pe=un(De,Ze),Be=p();E.useEffect(function(){if(Be)return Be.registerPath(Ee,Ze),function(){Be.unregisterPath(Ee,Ze)}},[Ze]);var Ne;return Be?Ne=Pe:Ne=E.createElement(he,Oe,Pe),E.createElement(ne.Provider,{value:Ze},Ne)}var He=e(76190),Ae=["className","title","eventKey","children"],Ye=["children"],nt=function(Ee){var De=Ee.className,Ze=Ee.title,Pe=Ee.eventKey,Be=Ee.children,Ne=(0,$.Z)(Ee,Ae),We=E.useContext(ce),ft=We.prefixCls,pt="".concat(ft,"-item-group");return E.createElement("li",(0,u.Z)({role:"presentation"},Ne,{onClick:function(jt){return jt.stopPropagation()},className:oe()(pt,De)}),E.createElement("div",{role:"presentation",className:"".concat(pt,"-title"),title:typeof Ze=="string"?Ze:void 0},Ze),E.createElement("ul",{role:"group",className:"".concat(pt,"-list")},Be))};function dt(Oe){var Ee=Oe.children,De=(0,$.Z)(Oe,Ye),Ze=D(De.eventKey),Pe=un(Ee,Ze),Be=p();return Be?Pe:E.createElement(nt,(0,ae.Z)(De,["warnKey"]),Pe)}function it(Oe){var Ee=Oe.className,De=Oe.style,Ze=E.useContext(ce),Pe=Ze.prefixCls,Be=p();return Be?null:E.createElement("li",{role:"separator",className:oe()("".concat(Pe,"-item-divider"),Ee),style:De})}var qe=["label","children","key","type"];function ot(Oe){return(Oe||[]).map(function(Ee,De){if(Ee&&(0,He.Z)(Ee)==="object"){var Ze=Ee,Pe=Ze.label,Be=Ze.children,Ne=Ze.key,We=Ze.type,ft=(0,$.Z)(Ze,qe),pt=Ne!=null?Ne:"tmp-".concat(De);return Be||We==="group"?We==="group"?E.createElement(dt,(0,u.Z)({key:pt},ft,{title:Pe}),ot(Be)):E.createElement(fe,(0,u.Z)({key:pt},ft,{title:Pe}),ot(Be)):We==="divider"?E.createElement(it,(0,u.Z)({key:pt},ft)):E.createElement(gt,(0,u.Z)({key:pt},ft),Pe)}return null}).filter(function(Ee){return Ee})}function Ct(Oe,Ee,De){var Ze=Oe;return Ee&&(Ze=ot(Ee)),un(Ze,De)}var lt=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Ot=[],zt=E.forwardRef(function(Oe,Ee){var De,Ze,Pe=Oe,Be=Pe.prefixCls,Ne=Be===void 0?"rc-menu":Be,We=Pe.rootClassName,ft=Pe.style,pt=Pe.className,Kt=Pe.tabIndex,jt=Kt===void 0?0:Kt,ln=Pe.items,Bt=Pe.children,Pt=Pe.direction,tn=Pe.id,sn=Pe.mode,nn=sn===void 0?"vertical":sn,Jt=Pe.inlineCollapsed,qt=Pe.disabled,xn=Pe.disabledOverflow,en=Pe.subMenuOpenDelay,Rn=en===void 0?.1:en,Gn=Pe.subMenuCloseDelay,Wt=Gn===void 0?.1:Gn,st=Pe.forceSubMenuRender,ct=Pe.defaultOpenKeys,Ht=Pe.openKeys,Nt=Pe.activeKey,Cn=Pe.defaultActiveFirst,En=Pe.selectable,rn=En===void 0?!0:En,nr=Pe.multiple,Hn=nr===void 0?!1:nr,dr=Pe.defaultSelectedKeys,At=Pe.selectedKeys,wt=Pe.onSelect,gn=Pe.onDeselect,In=Pe.inlineIndent,Xn=In===void 0?24:In,Ar=Pe.motion,br=Pe.defaultMotions,Wn=Pe.triggerSubMenuAction,gr=Wn===void 0?"hover":Wn,fr=Pe.builtinPlacements,vr=Pe.itemIcon,Lr=Pe.expandIcon,lr=Pe.overflowedIndicator,Zr=lr===void 0?"...":lr,Jr=Pe.overflowedIndicatorPopupClassName,Kr=Pe.getPopupContainer,_r=Pe.onClick,Hr=Pe.onOpenChange,qr=Pe.onKeyDown,Na=Pe.openAnimation,ta=Pe.openTransitionName,Pa=Pe._internalRenderMenuItem,$a=Pe._internalRenderSubMenuItem,va=(0,$.Z)(Pe,lt),jr=E.useMemo(function(){return Ct(Bt,ln,Ot)},[Bt,ln]),Ra=E.useState(!1),Ea=(0,C.Z)(Ra,2),ia=Ea[0],ma=Ea[1],la=E.useRef(),_t=te(tn),Bn=Pt==="rtl",wn=(0,O.Z)(ct,{value:Ht,postState:function(pr){return pr||Ot}}),Dn=(0,C.Z)(wn,2),Vn=Dn[0],qn=Dn[1],Wr=function(pr){var wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function pa(){qn(pr),Hr==null||Hr(pr)}wr?(0,ue.flushSync)(pa):pa()},Er=E.useState(Vn),Ir=(0,C.Z)(Er,2),zr=Ir[0],sr=Ir[1],Yn=E.useRef(!1),Nr=E.useMemo(function(){return(nn==="inline"||nn==="vertical")&&Jt?["vertical",Jt]:[nn,!1]},[nn,Jt]),Cr=(0,C.Z)(Nr,2),Vr=Cr[0],Or=Cr[1],Ha=Vr==="inline",Fa=E.useState(Vr),oo=(0,C.Z)(Fa,2),Ia=oo[0],io=oo[1],lo=E.useState(Or),eo=(0,C.Z)(lo,2),to=eo[0],xo=eo[1];E.useEffect(function(){io(Vr),xo(Or),Yn.current&&(Ha?qn(zr):Wr(Ot))},[Vr,Or]);var so=E.useState(0),no=(0,C.Z)(so,2),Ya=no[0],co=no[1],Qa=Ya>=jr.length-1||Ia!=="horizontal"||xn;E.useEffect(function(){Ha&&sr(Vn)},[Vn]),E.useEffect(function(){return Yn.current=!0,function(){Yn.current=!1}},[]);var Aa=g(),uo=Aa.registerPath,fo=Aa.unregisterPath,vo=Aa.refreshOverflowKeys,Wa=Aa.isSubPathKey,Qn=Aa.getKeyPath,Kn=Aa.getKeys,ea=Aa.getSubPathKeys,Fr=E.useMemo(function(){return{registerPath:uo,unregisterPath:fo}},[uo,fo]),Dr=E.useMemo(function(){return{isSubPathKey:Wa}},[Wa]);E.useEffect(function(){vo(Qa?Ot:jr.slice(Ya+1).map(function(Mr){return Mr.key}))},[Ya,Qa]);var na=(0,O.Z)(Nt||Cn&&((De=jr[0])===null||De===void 0?void 0:De.key),{value:Nt}),aa=(0,C.Z)(na,2),Oa=aa[0],ga=aa[1],Va=f(function(Mr){ga(Mr)}),Da=f(function(){ga(void 0)});(0,E.useImperativeHandle)(Ee,function(){return{list:la.current,focus:function(pr){var wr,pa=Kn(),ha=d(pa,_t),bo=ha.elements,ka=ha.key2element,yo=ha.element2key,Mo=B(la.current,bo),Bo=Oa!=null?Oa:Mo[0]?yo.get(Mo[0]):(wr=jr.find(function(Xo){return!Xo.props.disabled}))===null||wr===void 0?void 0:wr.key,Co=ka.get(Bo);if(Bo&&Co){var wo;Co==null||(wo=Co.focus)===null||wo===void 0||wo.call(Co,pr)}}}});var mo=(0,O.Z)(dr||[],{value:At,postState:function(pr){return Array.isArray(pr)?pr:pr==null?Ot:[pr]}}),$o=(0,C.Z)(mo,2),go=$o[0],po=$o[1],Eo=function(pr){if(rn){var wr=pr.key,pa=go.includes(wr),ha;Hn?pa?ha=go.filter(function(ka){return ka!==wr}):ha=[].concat((0,j.Z)(go),[wr]):ha=[wr],po(ha);var bo=(0,v.Z)((0,v.Z)({},pr),{},{selectedKeys:ha});pa?gn==null||gn(bo):wt==null||wt(bo)}!Hn&&Vn.length&&Ia!=="inline"&&Wr(Ot)},ho=f(function(Mr){_r==null||_r(_e(Mr)),Eo(Mr)}),Io=f(function(Mr,pr){var wr=Vn.filter(function(ha){return ha!==Mr});if(pr)wr.push(Mr);else if(Ia!=="inline"){var pa=ea(Mr);wr=wr.filter(function(ha){return!pa.has(ha)})}(0,se.Z)(Vn,wr,!0)||Wr(wr,!0)}),Fo=function(pr,wr){var pa=wr!=null?wr:!Vn.includes(pr);Io(pr,pa)},Oo=n(Ia,Oa,Bn,_t,la,Kn,Qn,ga,Fo,qr);E.useEffect(function(){ma(!0)},[]);var Ro=E.useMemo(function(){return{_internalRenderMenuItem:Pa,_internalRenderSubMenuItem:$a}},[Pa,$a]),No=Ia!=="horizontal"||xn?jr:jr.map(function(Mr,pr){return E.createElement(m,{key:Mr.key,overflowDisabled:pr>Ya},Mr)}),Do=E.createElement(ee.Z,(0,u.Z)({id:tn,ref:la,prefixCls:"".concat(Ne,"-overflow"),component:"ul",itemComponent:gt,className:oe()(Ne,"".concat(Ne,"-root"),"".concat(Ne,"-").concat(Ia),pt,(Ze={},(0,c.Z)(Ze,"".concat(Ne,"-inline-collapsed"),to),(0,c.Z)(Ze,"".concat(Ne,"-rtl"),Bn),Ze),We),dir:Pt,style:ft,role:"menu",tabIndex:jt,data:No,renderRawItem:function(pr){return pr},renderRawRest:function(pr){var wr=pr.length,pa=wr?jr.slice(-wr):null;return E.createElement(fe,{eventKey:K,title:Zr,disabled:Qa,internalPopupClose:wr===0,popupClassName:Jr},pa)},maxCount:Ia!=="horizontal"||xn?ee.Z.INVALIDATE:ee.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(pr){co(pr)},onKeyDown:Oo},va));return E.createElement(xe.Provider,{value:Ro},E.createElement(X.Provider,{value:_t},E.createElement(m,{prefixCls:Ne,rootClassName:We,mode:Ia,openKeys:Vn,rtl:Bn,disabled:qt,motion:ia?Ar:null,defaultMotions:ia?br:null,activeKey:Oa,onActive:Va,onInactive:Da,selectedKeys:go,inlineIndent:Xn,subMenuOpenDelay:Rn,subMenuCloseDelay:Wt,forceSubMenuRender:st,builtinPlacements:fr,triggerSubMenuAction:gr,getPopupContainer:Kr,itemIcon:vr,expandIcon:Lr,onItemClick:ho,onOpenChange:Io},E.createElement(W.Provider,{value:Dr},Do),E.createElement("div",{style:{display:"none"},"aria-hidden":!0},E.createElement(y.Provider,{value:Fr},jr)))))}),Qt=zt,Rt=Qt;Rt.Item=gt,Rt.SubMenu=fe,Rt.ItemGroup=dt,Rt.Divider=it;var Gt=Rt},83836:function(Dt,Me,e){e.d(Me,{Z:function(){return Z}});var u=e(54476),c=e(33885),v=e(42978),j=e(75931),C=e(59301),$=e(92310),t=e.n($),oe=e(29301),ee=e(34280),O=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],se=void 0;function S(b,U){var V=b.prefixCls,q=b.invalidate,le=b.item,re=b.renderItem,Q=b.responsive,be=b.responsiveDisabled,Re=b.registerSize,ke=b.itemKey,Fe=b.className,Ue=b.style,Ge=b.children,at=b.display,Xe=b.order,ve=b.component,Ke=ve===void 0?"div":ve,B=(0,j.Z)(b,O),w=Q&&!at;function d(o){Re(ke,o)}C.useEffect(function(){return function(){d(null)}},[]);var n=re&&le!==se?re(le,{index:Xe}):Ge,R;q||(R={opacity:w?0:1,height:w?0:se,overflowY:w?"hidden":se,order:Q?Xe:se,pointerEvents:w?"none":se,position:w?"absolute":se});var G={};w&&(G["aria-hidden"]=!0);var s=C.createElement(Ke,(0,u.Z)({className:t()(!q&&V,Fe),style:(0,c.Z)((0,c.Z)({},R),Ue)},G,B,{ref:U}),n);return Q&&(s=C.createElement(oe.Z,{onResize:function(K){var g=K.offsetWidth;d(g)},disabled:be},s)),s}var E=C.forwardRef(S);E.displayName="Item";var ue=E,X=e(6089),k=e(4676),$e=e(16089);function ie(b){if(typeof MessageChannel=="undefined")(0,$e.Z)(b);else{var U=new MessageChannel;U.port1.onmessage=function(){return b()},U.port2.postMessage(void 0)}}function we(){var b=C.useRef(null),U=function(q){b.current||(b.current=[],ie(function(){(0,k.unstable_batchedUpdates)(function(){b.current.forEach(function(le){le()}),b.current=null})})),b.current.push(q)};return U}function ce(b,U){var V=C.useState(U),q=(0,v.Z)(V,2),le=q[0],re=q[1],Q=(0,X.Z)(function(be){b(function(){re(be)})});return[le,Q]}var H=C.createContext(null),m=["component"],r=["className"],y=["className"],p=function(U,V){var q=C.useContext(H);if(!q){var le=U.component,re=le===void 0?"div":le,Q=(0,j.Z)(U,m);return C.createElement(re,(0,u.Z)({},Q,{ref:V}))}var be=q.className,Re=(0,j.Z)(q,r),ke=U.className,Fe=(0,j.Z)(U,y);return C.createElement(H.Provider,{value:null},C.createElement(ue,(0,u.Z)({ref:V,className:t()(be,ke)},Re,Fe)))},ne=C.forwardRef(p);ne.displayName="RawItem";var D=ne,W=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","prefix","suffix","component","itemComponent","onVisibleChange"],M="responsive",xe="invalidate";function Y(b){return"+ ".concat(b.length," ...")}function Ve(b,U){var V=b.prefixCls,q=V===void 0?"rc-overflow":V,le=b.data,re=le===void 0?[]:le,Q=b.renderItem,be=b.renderRawItem,Re=b.itemKey,ke=b.itemWidth,Fe=ke===void 0?10:ke,Ue=b.ssr,Ge=b.style,at=b.className,Xe=b.maxCount,ve=b.renderRest,Ke=b.renderRawRest,B=b.prefix,w=b.suffix,d=b.component,n=d===void 0?"div":d,R=b.itemComponent,G=b.onVisibleChange,s=(0,j.Z)(b,W),o=Ue==="full",K=we(),g=ce(K,null),f=(0,v.Z)(g,2),L=f[0],ge=f[1],te=L||0,me=ce(K,new Map),de=(0,v.Z)(me,2),h=de[0],I=de[1],ae=ce(K,0),Ie=(0,v.Z)(ae,2),Se=Ie[0],Le=Ie[1],Qe=ce(K,0),Je=(0,v.Z)(Qe,2),_e=Je[0],ut=Je[1],vt=ce(K,0),It=(0,v.Z)(vt,2),St=It[0],Tt=It[1],Yt=ce(K,0),gt=(0,v.Z)(Yt,2),Ut=gt[0],Nn=gt[1],mt=(0,C.useState)(null),yt=(0,v.Z)(mt,2),vn=yt[0],un=yt[1],Tn=(0,C.useState)(null),bn=(0,v.Z)(Tn,2),$n=bn[0],_n=bn[1],mn=C.useMemo(function(){return $n===null&&o?Number.MAX_SAFE_INTEGER:$n||0},[$n,L]),Zt=(0,C.useState)(!1),yn=(0,v.Z)(Zt,2),dn=yn[0],x=yn[1],A="".concat(q,"-item"),T=Math.max(Se,_e),N=Xe===M,he=re.length&&N,fe=Xe===xe,He=he||typeof Xe=="number"&&re.length>Xe,Ae=(0,C.useMemo)(function(){var Be=re;return he?L===null&&o?Be=re:Be=re.slice(0,Math.min(re.length,te/Fe)):typeof Xe=="number"&&(Be=re.slice(0,Xe)),Be},[re,Fe,L,Xe,he]),Ye=(0,C.useMemo)(function(){return he?re.slice(mn+1):re.slice(Ae.length)},[re,Ae,he,mn]),nt=(0,C.useCallback)(function(Be,Ne){var We;return typeof Re=="function"?Re(Be):(We=Re&&(Be==null?void 0:Be[Re]))!==null&&We!==void 0?We:Ne},[Re]),dt=(0,C.useCallback)(Q||function(Be){return Be},[Q]);function it(Be,Ne,We){$n===Be&&(Ne===void 0||Ne===vn)||(_n(Be),We||(x(Bete){it(ft-1,Be-pt-Ut+_e);break}}w&&zt(0)+Ut>te&&un(null)}},[te,h,_e,St,Ut,nt,Ae]);var Qt=dn&&!!Ye.length,Rt={};vn!==null&&he&&(Rt={position:"absolute",left:vn,top:0});var Gt={prefixCls:A,responsive:he,component:R,invalidate:fe},Oe=be?function(Be,Ne){var We=nt(Be,Ne);return C.createElement(H.Provider,{key:We,value:(0,c.Z)((0,c.Z)({},Gt),{},{order:Ne,item:Be,itemKey:We,registerSize:ot,display:Ne<=mn})},be(Be,Ne))}:function(Be,Ne){var We=nt(Be,Ne);return C.createElement(ue,(0,u.Z)({},Gt,{order:Ne,key:We,item:Be,renderItem:dt,itemKey:We,registerSize:ot,display:Ne<=mn}))},Ee={order:Qt?mn:Number.MAX_SAFE_INTEGER,className:"".concat(A,"-rest"),registerSize:Ct,display:Qt},De=ve||Y,Ze=Ke?C.createElement(H.Provider,{value:(0,c.Z)((0,c.Z)({},Gt),Ee)},Ke(Ye)):C.createElement(ue,(0,u.Z)({},Gt,Ee),typeof De=="function"?De(Ye):De),Pe=C.createElement(n,(0,u.Z)({className:t()(!fe&&q,at),style:Ge,ref:U},s),B&&C.createElement(ue,(0,u.Z)({},Gt,{responsive:N,responsiveDisabled:!he,order:-1,className:"".concat(A,"-prefix"),registerSize:lt,display:!0}),B),Ae.map(Oe),He?Ze:null,w&&C.createElement(ue,(0,u.Z)({},Gt,{responsive:N,responsiveDisabled:!he,order:mn,className:"".concat(A,"-suffix"),registerSize:Ot,display:!0,style:Rt}),w));return N?C.createElement(oe.Z,{onResize:qe,disabled:!he},Pe):Pe}var l=C.forwardRef(Ve);l.displayName="Overflow",l.Item=D,l.RESPONSIVE=M,l.INVALIDATE=xe;var F=l,Z=F},17115:function(Dt,Me,e){e.d(Me,{ZP:function(){return t}});var u=e(42978),c=e(59301),v=e(47273),j=0,C=(0,v.Z)();function $(){var oe;return C?(oe=j,j+=1):oe="TEST_OR_SSR",oe}function t(oe){var ee=c.useState(),O=(0,u.Z)(ee,2),se=O[0],S=O[1];return c.useEffect(function(){S("rc_select_".concat($()))},[]),oe||se}},77861:function(Dt,Me,e){e.d(Me,{Ac:function(){return L},Xo:function(){return _e},Wx:function(){return vt},ZP:function(){return A},lk:function(){return H}});var u=e(54476),c=e(94480),v=e(20068),j=e(33885),C=e(42978),$=e(75931),t=e(76190),oe=e(18929),ee=e(48736),O=e(59301),se=e(92310),S=e.n(se),E=e(34280),ue=e(49658),X=e(10228),k=e(8654),$e=function(N){var he=N.className,fe=N.customizeIcon,He=N.customizeIconProps,Ae=N.onMouseDown,Ye=N.onClick,nt=N.children,dt;return typeof fe=="function"?dt=fe(He):dt=fe,O.createElement("span",{className:he,onMouseDown:function(qe){qe.preventDefault(),Ae&&Ae(qe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Ye,"aria-hidden":!0},dt!==void 0?dt:O.createElement("span",{className:S()(he.split(/\s+/).map(function(it){return"".concat(it,"-icon")}))},nt))},ie=$e;function we(T,N,he,fe,He){var Ae=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Ye=arguments.length>6?arguments[6]:void 0,nt=arguments.length>7?arguments[7]:void 0,dt=O.useMemo(function(){if((0,t.Z)(fe)==="object")return fe.clearIcon;if(He)return He},[fe,He]),it=O.useMemo(function(){return!!(!Ae&&fe&&(he.length||Ye)&&!(nt==="combobox"&&Ye===""))},[fe,Ae,he.length,Ye,nt]);return{allowClear:it,clearIcon:O.createElement(ie,{className:"".concat(T,"-clear"),onMouseDown:N,customizeIcon:dt},"\xD7")}}var ce=O.createContext(null);function H(){return O.useContext(ce)}function m(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,N=O.useState(!1),he=(0,C.Z)(N,2),fe=he[0],He=he[1],Ae=O.useRef(null),Ye=function(){window.clearTimeout(Ae.current)};O.useEffect(function(){return Ye},[]);var nt=function(it,qe){Ye(),Ae.current=window.setTimeout(function(){He(it),qe&&qe()},T)};return[fe,nt,Ye]}function r(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,N=O.useRef(null),he=O.useRef(null);O.useEffect(function(){return function(){window.clearTimeout(he.current)}},[]);function fe(He){(He||N.current===null)&&(N.current=He),window.clearTimeout(he.current),he.current=window.setTimeout(function(){N.current=null},T)}return[function(){return N.current},fe]}function y(T,N,he,fe){var He=O.useRef(null);He.current={open:N,triggerOpen:he,customizedTrigger:fe},O.useEffect(function(){function Ae(Ye){var nt;if(!((nt=He.current)!==null&&nt!==void 0&&nt.customizedTrigger)){var dt=Ye.target;dt.shadowRoot&&Ye.composed&&(dt=Ye.composedPath()[0]||dt),He.current.open&&T().filter(function(it){return it}).every(function(it){return!it.contains(dt)&&it!==dt})&&He.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ae),function(){return window.removeEventListener("mousedown",Ae)}},[])}var p=e(26112),ne=e(83836),D=function(N,he){var fe,He,Ae=N.prefixCls,Ye=N.id,nt=N.inputElement,dt=N.disabled,it=N.tabIndex,qe=N.autoFocus,ot=N.autoComplete,Ct=N.editable,lt=N.activeDescendantId,Ot=N.value,zt=N.maxLength,Qt=N.onKeyDown,Rt=N.onMouseDown,Gt=N.onChange,Oe=N.onPaste,Ee=N.onCompositionStart,De=N.onCompositionEnd,Ze=N.open,Pe=N.attrs,Be=nt||O.createElement("input",null),Ne=Be,We=Ne.ref,ft=Ne.props,pt=ft.onKeyDown,Kt=ft.onChange,jt=ft.onMouseDown,ln=ft.onCompositionStart,Bt=ft.onCompositionEnd,Pt=ft.style;return(0,ee.Kp)(!("maxLength"in Be.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Be=O.cloneElement(Be,(0,j.Z)((0,j.Z)((0,j.Z)({type:"search"},ft),{},{id:Ye,ref:(0,k.sQ)(he,We),disabled:dt,tabIndex:it,autoComplete:ot||"off",autoFocus:qe,className:S()("".concat(Ae,"-selection-search-input"),(fe=Be)===null||fe===void 0||(He=fe.props)===null||He===void 0?void 0:He.className),role:"combobox","aria-label":"Search","aria-expanded":Ze||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Ye,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Ye,"_list"),"aria-activedescendant":Ze?lt:void 0},Pe),{},{value:Ct?Ot:"",maxLength:zt,readOnly:!Ct,unselectable:Ct?null:"on",style:(0,j.Z)((0,j.Z)({},Pt),{},{opacity:Ct?null:0}),onKeyDown:function(sn){Qt(sn),pt&&pt(sn)},onMouseDown:function(sn){Rt(sn),jt&&jt(sn)},onChange:function(sn){Gt(sn),Kt&&Kt(sn)},onCompositionStart:function(sn){Ee(sn),ln&&ln(sn)},onCompositionEnd:function(sn){De(sn),Bt&&Bt(sn)},onPaste:Oe})),Be},W=O.forwardRef(D);W.displayName="Input";var M=W;function xe(T){return Array.isArray(T)?T:T!==void 0?[T]:[]}var Y=typeof window!="undefined"&&window.document&&window.document.documentElement,Ve=Y;function l(T){return T!=null}function F(T){return!T&&T!==0}function Z(T){return["string","number"].includes((0,t.Z)(T))}function b(T){var N=void 0;return T&&(Z(T.title)?N=T.title.toString():Z(T.label)&&(N=T.label.toString())),N}function U(T,N){Ve?O.useLayoutEffect(T,N):O.useEffect(T,N)}function V(T){var N;return(N=T.key)!==null&&N!==void 0?N:T.value}var q=function(N){N.preventDefault(),N.stopPropagation()},le=function(N){var he=N.id,fe=N.prefixCls,He=N.values,Ae=N.open,Ye=N.searchValue,nt=N.autoClearSearchValue,dt=N.inputRef,it=N.placeholder,qe=N.disabled,ot=N.mode,Ct=N.showSearch,lt=N.autoFocus,Ot=N.autoComplete,zt=N.activeDescendantId,Qt=N.tabIndex,Rt=N.removeIcon,Gt=N.maxTagCount,Oe=N.maxTagTextLength,Ee=N.maxTagPlaceholder,De=Ee===void 0?function(En){return"+ ".concat(En.length," ...")}:Ee,Ze=N.tagRender,Pe=N.onToggleOpen,Be=N.onRemove,Ne=N.onInputChange,We=N.onInputPaste,ft=N.onInputKeyDown,pt=N.onInputMouseDown,Kt=N.onInputCompositionStart,jt=N.onInputCompositionEnd,ln=O.useRef(null),Bt=(0,O.useState)(0),Pt=(0,C.Z)(Bt,2),tn=Pt[0],sn=Pt[1],nn=(0,O.useState)(!1),Jt=(0,C.Z)(nn,2),qt=Jt[0],xn=Jt[1],en="".concat(fe,"-selection"),Rn=Ae||ot==="multiple"&&nt===!1||ot==="tags"?Ye:"",Gn=ot==="tags"||ot==="multiple"&&nt===!1||Ct&&(Ae||qt);U(function(){sn(ln.current.scrollWidth)},[Rn]);function Wt(En,rn,nr,Hn,dr){return O.createElement("span",{className:S()("".concat(en,"-item"),(0,v.Z)({},"".concat(en,"-item-disabled"),nr)),title:b(En)},O.createElement("span",{className:"".concat(en,"-item-content")},rn),Hn&&O.createElement(ie,{className:"".concat(en,"-item-remove"),onMouseDown:q,onClick:dr,customizeIcon:Rt},"\xD7"))}function st(En,rn,nr,Hn,dr){var At=function(gn){q(gn),Pe(!Ae)};return O.createElement("span",{onMouseDown:At},Ze({label:rn,value:En,disabled:nr,closable:Hn,onClose:dr}))}function ct(En){var rn=En.disabled,nr=En.label,Hn=En.value,dr=!qe&&!rn,At=nr;if(typeof Oe=="number"&&(typeof nr=="string"||typeof nr=="number")){var wt=String(At);wt.length>Oe&&(At="".concat(wt.slice(0,Oe),"..."))}var gn=function(Xn){Xn&&Xn.stopPropagation(),Be(En)};return typeof Ze=="function"?st(Hn,At,rn,dr,gn):Wt(En,At,rn,dr,gn)}function Ht(En){var rn=typeof De=="function"?De(En):De;return Wt({title:rn},rn,!1)}var Nt=O.createElement("div",{className:"".concat(en,"-search"),style:{width:tn},onFocus:function(){xn(!0)},onBlur:function(){xn(!1)}},O.createElement(M,{ref:dt,open:Ae,prefixCls:fe,id:he,inputElement:null,disabled:qe,autoFocus:lt,autoComplete:Ot,editable:Gn,activeDescendantId:zt,value:Rn,onKeyDown:ft,onMouseDown:pt,onChange:Ne,onPaste:We,onCompositionStart:Kt,onCompositionEnd:jt,tabIndex:Qt,attrs:(0,p.Z)(N,!0)}),O.createElement("span",{ref:ln,className:"".concat(en,"-search-mirror"),"aria-hidden":!0},Rn,"\xA0")),Cn=O.createElement(ne.Z,{prefixCls:"".concat(en,"-overflow"),data:He,renderItem:ct,renderRest:Ht,suffix:Nt,itemKey:V,maxCount:Gt});return O.createElement(O.Fragment,null,Cn,!He.length&&!Rn&&O.createElement("span",{className:"".concat(en,"-placeholder")},it))},re=le,Q=function(N){var he=N.inputElement,fe=N.prefixCls,He=N.id,Ae=N.inputRef,Ye=N.disabled,nt=N.autoFocus,dt=N.autoComplete,it=N.activeDescendantId,qe=N.mode,ot=N.open,Ct=N.values,lt=N.placeholder,Ot=N.tabIndex,zt=N.showSearch,Qt=N.searchValue,Rt=N.activeValue,Gt=N.maxLength,Oe=N.onInputKeyDown,Ee=N.onInputMouseDown,De=N.onInputChange,Ze=N.onInputPaste,Pe=N.onInputCompositionStart,Be=N.onInputCompositionEnd,Ne=N.title,We=O.useState(!1),ft=(0,C.Z)(We,2),pt=ft[0],Kt=ft[1],jt=qe==="combobox",ln=jt||zt,Bt=Ct[0],Pt=Qt||"";jt&&Rt&&!pt&&(Pt=Rt),O.useEffect(function(){jt&&Kt(!1)},[jt,Rt]);var tn=qe!=="combobox"&&!ot&&!zt?!1:!!Pt,sn=Ne===void 0?b(Bt):Ne,nn=function(){if(Bt)return null;var qt=tn?{visibility:"hidden"}:void 0;return O.createElement("span",{className:"".concat(fe,"-selection-placeholder"),style:qt},lt)};return O.createElement(O.Fragment,null,O.createElement("span",{className:"".concat(fe,"-selection-search")},O.createElement(M,{ref:Ae,prefixCls:fe,id:He,open:ot,inputElement:he,disabled:Ye,autoFocus:nt,autoComplete:dt,editable:ln,activeDescendantId:it,value:Pt,onKeyDown:Oe,onMouseDown:Ee,onChange:function(qt){Kt(!0),De(qt)},onPaste:Ze,onCompositionStart:Pe,onCompositionEnd:Be,tabIndex:Ot,attrs:(0,p.Z)(N,!0),maxLength:jt?Gt:void 0})),!jt&&Bt?O.createElement("span",{className:"".concat(fe,"-selection-item"),title:sn,style:tn?{visibility:"hidden"}:void 0},Bt.label):null,nn())},be=Q;function Re(T){return![X.Z.ESC,X.Z.SHIFT,X.Z.BACKSPACE,X.Z.TAB,X.Z.WIN_KEY,X.Z.ALT,X.Z.META,X.Z.WIN_KEY_RIGHT,X.Z.CTRL,X.Z.SEMICOLON,X.Z.EQUALS,X.Z.CAPS_LOCK,X.Z.CONTEXT_MENU,X.Z.F1,X.Z.F2,X.Z.F3,X.Z.F4,X.Z.F5,X.Z.F6,X.Z.F7,X.Z.F8,X.Z.F9,X.Z.F10,X.Z.F11,X.Z.F12].includes(T)}var ke=function(N,he){var fe=(0,O.useRef)(null),He=(0,O.useRef)(!1),Ae=N.prefixCls,Ye=N.open,nt=N.mode,dt=N.showSearch,it=N.tokenWithEnter,qe=N.autoClearSearchValue,ot=N.onSearch,Ct=N.onSearchSubmit,lt=N.onToggleOpen,Ot=N.onInputKeyDown,zt=N.domRef;O.useImperativeHandle(he,function(){return{focus:function(){fe.current.focus()},blur:function(){fe.current.blur()}}});var Qt=r(0),Rt=(0,C.Z)(Qt,2),Gt=Rt[0],Oe=Rt[1],Ee=function(Pt){var tn=Pt.which;(tn===X.Z.UP||tn===X.Z.DOWN)&&Pt.preventDefault(),Ot&&Ot(Pt),tn===X.Z.ENTER&&nt==="tags"&&!He.current&&!Ye&&(Ct==null||Ct(Pt.target.value)),Re(tn)&<(!0)},De=function(){Oe(!0)},Ze=(0,O.useRef)(null),Pe=function(Pt){ot(Pt,!0,He.current)!==!1&<(!0)},Be=function(){He.current=!0},Ne=function(Pt){He.current=!1,nt!=="combobox"&&Pe(Pt.target.value)},We=function(Pt){var tn=Pt.target.value;if(it&&Ze.current&&/[\r\n]/.test(Ze.current)){var sn=Ze.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");tn=tn.replace(sn,Ze.current)}Ze.current=null,Pe(tn)},ft=function(Pt){var tn=Pt.clipboardData,sn=tn.getData("text");Ze.current=sn},pt=function(Pt){var tn=Pt.target;if(tn!==fe.current){var sn=document.body.style.msTouchAction!==void 0;sn?setTimeout(function(){fe.current.focus()}):fe.current.focus()}},Kt=function(Pt){var tn=Gt();Pt.target!==fe.current&&!tn&&nt!=="combobox"&&Pt.preventDefault(),(nt!=="combobox"&&(!dt||!tn)||!Ye)&&(Ye&&qe!==!1&&ot("",!0,!1),lt())},jt={inputRef:fe,onInputKeyDown:Ee,onInputMouseDown:De,onInputChange:We,onInputPaste:ft,onInputCompositionStart:Be,onInputCompositionEnd:Ne},ln=nt==="multiple"||nt==="tags"?O.createElement(re,(0,u.Z)({},N,jt)):O.createElement(be,(0,u.Z)({},N,jt));return O.createElement("div",{ref:zt,className:"".concat(Ae,"-selector"),onClick:pt,onMouseDown:Kt},ln)},Fe=O.forwardRef(ke);Fe.displayName="Selector";var Ue=Fe,Ge=e(35593),at=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Xe=function(N){var he=N===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:he,adjustY:1},htmlRegion:"scroll"}}},ve=function(N,he){var fe=N.prefixCls,He=N.disabled,Ae=N.visible,Ye=N.children,nt=N.popupElement,dt=N.animation,it=N.transitionName,qe=N.dropdownStyle,ot=N.dropdownClassName,Ct=N.direction,lt=Ct===void 0?"ltr":Ct,Ot=N.placement,zt=N.builtinPlacements,Qt=N.dropdownMatchSelectWidth,Rt=N.dropdownRender,Gt=N.dropdownAlign,Oe=N.getPopupContainer,Ee=N.empty,De=N.getTriggerDOMNode,Ze=N.onPopupVisibleChange,Pe=N.onPopupMouseEnter,Be=(0,$.Z)(N,at),Ne="".concat(fe,"-dropdown"),We=nt;Rt&&(We=Rt(nt));var ft=O.useMemo(function(){return zt||Xe(Qt)},[zt,Qt]),pt=dt?"".concat(Ne,"-").concat(dt):it,Kt=typeof Qt=="number",jt=O.useMemo(function(){return Kt?null:Qt===!1?"minWidth":"width"},[Qt,Kt]),ln=qe;Kt&&(ln=(0,j.Z)((0,j.Z)({},ln),{},{width:Qt}));var Bt=O.useRef(null);return O.useImperativeHandle(he,function(){return{getPopupElement:function(){return Bt.current}}}),O.createElement(Ge.Z,(0,u.Z)({},Be,{showAction:Ze?["click"]:[],hideAction:Ze?["click"]:[],popupPlacement:Ot||(lt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:ft,prefixCls:Ne,popupTransitionName:pt,popup:O.createElement("div",{ref:Bt,onMouseEnter:Pe},We),stretch:jt,popupAlign:Gt,popupVisible:Ae,getPopupContainer:Oe,popupClassName:S()(ot,(0,v.Z)({},"".concat(Ne,"-empty"),Ee)),popupStyle:ln,getTriggerDOMNode:De,onPopupVisibleChange:Ze}),Ye)},Ke=O.forwardRef(ve);Ke.displayName="SelectTrigger";var B=Ke,w=e(66712);function d(T,N){var he=T.key,fe;return"value"in T&&(fe=T.value),he!=null?he:fe!==void 0?fe:"rc-index-key-".concat(N)}function n(T,N){var he=T||{},fe=he.label,He=he.value,Ae=he.options,Ye=he.groupLabel,nt=fe||(N?"children":"label");return{label:nt,value:He||"value",options:Ae||"options",groupLabel:Ye||nt}}function R(T){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=N.fieldNames,fe=N.childrenAsData,He=[],Ae=n(he,!1),Ye=Ae.label,nt=Ae.value,dt=Ae.options,it=Ae.groupLabel;function qe(ot,Ct){ot.forEach(function(lt){if(Ct||!(dt in lt)){var Ot=lt[nt];He.push({key:d(lt,He.length),groupOption:Ct,data:lt,label:lt[Ye],value:Ot})}else{var zt=lt[it];zt===void 0&&fe&&(zt=lt.label),He.push({key:d(lt,He.length),group:!0,data:lt,label:zt}),qe(lt[dt],!0)}})}return qe(T,!1),He}function G(T){var N=(0,j.Z)({},T);return"props"in N||Object.defineProperty(N,"props",{get:function(){return(0,ee.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),N}}),N}function s(T,N){if(!N||!N.length)return null;var he=!1;function fe(Ae,Ye){var nt=(0,w.Z)(Ye),dt=nt[0],it=nt.slice(1);if(!dt)return[Ae];var qe=Ae.split(dt);return he=he||qe.length>1,qe.reduce(function(ot,Ct){return[].concat((0,c.Z)(ot),(0,c.Z)(fe(Ct,it)))},[]).filter(function(ot){return ot})}var He=fe(T,N);return he?He:null}var o=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],K=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function g(T){return T==="tags"||T==="multiple"}var f=O.forwardRef(function(T,N){var he,fe,He=T.id,Ae=T.prefixCls,Ye=T.className,nt=T.showSearch,dt=T.tagRender,it=T.direction,qe=T.omitDomProps,ot=T.displayValues,Ct=T.onDisplayValuesChange,lt=T.emptyOptions,Ot=T.notFoundContent,zt=Ot===void 0?"Not Found":Ot,Qt=T.onClear,Rt=T.mode,Gt=T.disabled,Oe=T.loading,Ee=T.getInputElement,De=T.getRawInputElement,Ze=T.open,Pe=T.defaultOpen,Be=T.onDropdownVisibleChange,Ne=T.activeValue,We=T.onActiveValueChange,ft=T.activeDescendantId,pt=T.searchValue,Kt=T.autoClearSearchValue,jt=T.onSearch,ln=T.onSearchSplit,Bt=T.tokenSeparators,Pt=T.allowClear,tn=T.suffixIcon,sn=T.clearIcon,nn=T.OptionList,Jt=T.animation,qt=T.transitionName,xn=T.dropdownStyle,en=T.dropdownClassName,Rn=T.dropdownMatchSelectWidth,Gn=T.dropdownRender,Wt=T.dropdownAlign,st=T.placement,ct=T.builtinPlacements,Ht=T.getPopupContainer,Nt=T.showAction,Cn=Nt===void 0?[]:Nt,En=T.onFocus,rn=T.onBlur,nr=T.onKeyUp,Hn=T.onKeyDown,dr=T.onMouseDown,At=(0,$.Z)(T,o),wt=g(Rt),gn=(nt!==void 0?nt:wt)||Rt==="combobox",In=(0,j.Z)({},At);K.forEach(function(Qn){delete In[Qn]}),qe==null||qe.forEach(function(Qn){delete In[Qn]});var Xn=O.useState(!1),Ar=(0,C.Z)(Xn,2),br=Ar[0],Wn=Ar[1];O.useEffect(function(){Wn((0,ue.Z)())},[]);var gr=O.useRef(null),fr=O.useRef(null),vr=O.useRef(null),Lr=O.useRef(null),lr=O.useRef(null),Zr=m(),Jr=(0,C.Z)(Zr,3),Kr=Jr[0],_r=Jr[1],Hr=Jr[2];O.useImperativeHandle(N,function(){var Qn,Kn;return{focus:(Qn=Lr.current)===null||Qn===void 0?void 0:Qn.focus,blur:(Kn=Lr.current)===null||Kn===void 0?void 0:Kn.blur,scrollTo:function(Fr){var Dr;return(Dr=lr.current)===null||Dr===void 0?void 0:Dr.scrollTo(Fr)}}});var qr=O.useMemo(function(){var Qn;if(Rt!=="combobox")return pt;var Kn=(Qn=ot[0])===null||Qn===void 0?void 0:Qn.value;return typeof Kn=="string"||typeof Kn=="number"?String(Kn):""},[pt,Rt,ot]),Na=Rt==="combobox"&&typeof Ee=="function"&&Ee()||null,ta=typeof De=="function"&&De(),Pa=(0,k.x1)(fr,ta==null||(he=ta.props)===null||he===void 0?void 0:he.ref),$a=O.useState(!1),va=(0,C.Z)($a,2),jr=va[0],Ra=va[1];(0,E.Z)(function(){Ra(!0)},[]);var Ea=(0,oe.Z)(!1,{defaultValue:Pe,value:Ze}),ia=(0,C.Z)(Ea,2),ma=ia[0],la=ia[1],_t=jr?ma:!1,Bn=!zt&<(Gt||Bn&&_t&&Rt==="combobox")&&(_t=!1);var wn=Bn?!1:_t,Dn=O.useCallback(function(Qn){var Kn=Qn!==void 0?Qn:!_t;Gt||(la(Kn),_t!==Kn&&(Be==null||Be(Kn)))},[Gt,_t,la,Be]),Vn=O.useMemo(function(){return(Bt||[]).some(function(Qn){return[` +`,`\r +`].includes(Qn)})},[Bt]),qn=function(Kn,ea,Fr){var Dr=!0,na=Kn;We==null||We(null);var aa=Fr?null:s(Kn,Bt);return Rt!=="combobox"&&aa&&(na="",ln==null||ln(aa),Dn(!1),Dr=!1),jt&&qr!==na&&jt(na,{source:ea?"typing":"effect"}),Dr},Wr=function(Kn){!Kn||!Kn.trim()||jt(Kn,{source:"submit"})};O.useEffect(function(){!_t&&!wt&&Rt!=="combobox"&&qn("",!1,!1)},[_t]),O.useEffect(function(){ma&&Gt&&la(!1),Gt&&_r(!1)},[Gt]);var Er=r(),Ir=(0,C.Z)(Er,2),zr=Ir[0],sr=Ir[1],Yn=function(Kn){var ea=zr(),Fr=Kn.which;if(Fr===X.Z.ENTER&&(Rt!=="combobox"&&Kn.preventDefault(),_t||Dn(!0)),sr(!!qr),Fr===X.Z.BACKSPACE&&!ea&&wt&&!qr&&ot.length){for(var Dr=(0,c.Z)(ot),na=null,aa=Dr.length-1;aa>=0;aa-=1){var Oa=Dr[aa];if(!Oa.disabled){Dr.splice(aa,1),na=Oa;break}}na&&Ct(Dr,{type:"remove",values:[na]})}for(var ga=arguments.length,Va=new Array(ga>1?ga-1:0),Da=1;Da1?ea-1:0),Dr=1;Dr1?aa-1:0),ga=1;ga1&&arguments[1]!==void 0?arguments[1]:!1;return(0,h.Z)(T).map(function(he,fe){if(!O.isValidElement(he)||!he.type)return null;var He=he,Ae=He.type.isSelectOptGroup,Ye=He.key,nt=He.props,dt=nt.children,it=(0,$.Z)(nt,ae);return N||!Ae?Ie(he):(0,j.Z)((0,j.Z)({key:"__RC_SELECT_GRP__".concat(Ye===null?fe:Ye,"__"),label:Ye},it),{},{options:Se(dt)})}).filter(function(he){return he})}function Le(T,N,he,fe,He){return O.useMemo(function(){var Ae=T,Ye=!T;Ye&&(Ae=Se(N));var nt=new Map,dt=new Map,it=function(Ct,lt,Ot){Ot&&typeof Ot=="string"&&Ct.set(lt[Ot],lt)};function qe(ot){for(var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,lt=0;lt1&&arguments[1]!==void 0?arguments[1]:1,Ht=We.length,Nt=0;Nt1&&arguments[1]!==void 0?arguments[1]:!1;tn(st);var Ht={source:ct?"keyboard":"mouse"},Nt=We[st];if(!Nt){zt(null,-1,Ht);return}zt(Nt.value,st,Ht)};(0,O.useEffect)(function(){sn(Qt!==!1?jt(0):-1)},[We.length,it]);var nn=O.useCallback(function(Wt){return Oe.has(Wt)&&dt!=="combobox"},[dt,(0,c.Z)(Oe).toString(),Oe.size]);(0,O.useEffect)(function(){var Wt=setTimeout(function(){if(!nt&&Ye&&Oe.size===1){var ct=Array.from(Oe)[0],Ht=We.findIndex(function(Nt){var Cn=Nt.data;return Cn.value===ct});Ht!==-1&&(sn(Ht),Kt(Ht))}});if(Ye){var st;(st=ft.current)===null||st===void 0||st.scrollTo(void 0)}return function(){return clearTimeout(Wt)}},[Ye,it,Ot.length]);var Jt=function(st){st!==void 0&&Rt(st,{selected:!Oe.has(st)}),nt||qe(!1)};if(O.useImperativeHandle(he,function(){return{onKeyDown:function(st){var ct=st.which,Ht=st.ctrlKey;switch(ct){case X.Z.N:case X.Z.P:case X.Z.UP:case X.Z.DOWN:{var Nt=0;if(ct===X.Z.UP?Nt=-1:ct===X.Z.DOWN?Nt=1:Ut()&&Ht&&(ct===X.Z.N?Nt=1:ct===X.Z.P&&(Nt=-1)),Nt!==0){var Cn=jt(Pt+Nt,Nt);Kt(Cn),sn(Cn,!0)}break}case X.Z.ENTER:{var En=We[Pt];En&&!En.data.disabled?Jt(En.value):Jt(void 0),Ye&&st.preventDefault();break}case X.Z.ESC:qe(!1),Ye&&st.stopPropagation()}},onKeyUp:function(){},scrollTo:function(st){Kt(st)}}}),We.length===0)return O.createElement("div",{role:"listbox",id:"".concat(Ae,"_list"),className:"".concat(Ne,"-empty"),onMouseDown:pt},ot);var qt=Object.keys(Ee).map(function(Wt){return Ee[Wt]}),xn=function(st){return st.label};function en(Wt,st){var ct=Wt.group;return{role:ct?"presentation":"option",id:"".concat(Ae,"_list_").concat(st)}}var Rn=function(st){var ct=We[st];if(!ct)return null;var Ht=ct.data||{},Nt=Ht.value,Cn=ct.group,En=(0,p.Z)(Ht,!0),rn=xn(ct);return ct?O.createElement("div",(0,u.Z)({"aria-label":typeof rn=="string"&&!Cn?rn:null},En,{key:st},en(ct,st),{"aria-selected":nn(Nt)}),Nt):null},Gn={role:"listbox",id:"".concat(Ae,"_list")};return O.createElement(O.Fragment,null,De&&O.createElement("div",(0,u.Z)({},Gn,{style:{height:0,width:0,overflow:"hidden"}}),Rn(Pt-1),Rn(Pt),Rn(Pt+1)),O.createElement(Tt.Z,{itemKey:"key",ref:ft,data:We,height:Pe,itemHeight:Be,fullHeight:!1,onMouseDown:pt,onScroll:Ct,virtual:De,direction:Ze,innerProps:De?null:Gn},function(Wt,st){var ct,Ht=Wt.group,Nt=Wt.groupOption,Cn=Wt.data,En=Wt.label,rn=Wt.value,nr=Cn.key;if(Ht){var Hn,dr=(Hn=Cn.title)!==null&&Hn!==void 0?Hn:mt(En)?En.toString():void 0;return O.createElement("div",{className:S()(Ne,"".concat(Ne,"-group")),title:dr},En!==void 0?En:nr)}var At=Cn.disabled,wt=Cn.title,gn=Cn.children,In=Cn.style,Xn=Cn.className,Ar=(0,$.Z)(Cn,Nn),br=(0,St.Z)(Ar,qt),Wn=nn(rn),gr="".concat(Ne,"-option"),fr=S()(Ne,gr,Xn,(ct={},(0,v.Z)(ct,"".concat(gr,"-grouped"),Nt),(0,v.Z)(ct,"".concat(gr,"-active"),Pt===st&&!At),(0,v.Z)(ct,"".concat(gr,"-disabled"),At),(0,v.Z)(ct,"".concat(gr,"-selected"),Wn),ct)),vr=xn(Wt),Lr=!Gt||typeof Gt=="function"||Wn,lr=typeof vr=="number"?vr:vr||rn,Zr=mt(lr)?lr.toString():void 0;return wt!==void 0&&(Zr=wt),O.createElement("div",(0,u.Z)({},(0,p.Z)(br),De?{}:en(Wt,st),{"aria-selected":Wn,className:fr,title:Zr,onMouseMove:function(){Pt===st||At||sn(st)},onClick:function(){At||Jt(rn)},style:In}),O.createElement("div",{className:"".concat(gr,"-content")},lr),O.isValidElement(Gt)||Wn,Lr&&O.createElement(ie,{className:"".concat(Ne,"-option-state"),customizeIcon:Gt,customizeIconProps:{isSelected:Wn}},Wn?"\u2713":null))}))},vn=O.forwardRef(yt);vn.displayName="OptionList";var un=vn;function Tn(T){var N=T.mode,he=T.options,fe=T.children,He=T.backfill,Ae=T.allowClear,Ye=T.placeholder,nt=T.getInputElement,dt=T.showSearch,it=T.onSearch,qe=T.defaultOpen,ot=T.autoFocus,Ct=T.labelInValue,lt=T.value,Ot=T.inputValue,zt=T.optionLabelProp,Qt=isMultiple(N),Rt=dt!==void 0?dt:Qt||N==="combobox",Gt=he||convertChildrenToData(fe);if(warning(N!=="tags"||Gt.every(function(Ze){return!Ze.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),N==="tags"||N==="combobox"){var Oe=Gt.some(function(Ze){return Ze.options?Ze.options.some(function(Pe){return typeof("value"in Pe?Pe.value:Pe.key)=="number"}):typeof("value"in Ze?Ze.value:Ze.key)=="number"});warning(!Oe,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(N!=="combobox"||!zt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(N==="combobox"||!He,"`backfill` only works with `combobox` mode."),warning(N==="combobox"||!nt,"`getInputElement` only work with `combobox` mode."),noteOnce(N!=="combobox"||!nt||!Ae||!Ye,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),it&&!Rt&&N!=="combobox"&&N!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!qe||ot,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),lt!=null){var Ee=toArray(lt);warning(!Ct||Ee.every(function(Ze){return _typeof(Ze)==="object"&&("key"in Ze||"value"in Ze)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Qt||Array.isArray(lt),"`value` should be array when `mode` is `multiple` or `tags`")}if(fe){var De=null;toNodeArray(fe).some(function(Ze){if(!React.isValidElement(Ze)||!Ze.type)return!1;var Pe=Ze,Be=Pe.type;if(Be.isSelectOption)return!1;if(Be.isSelectOptGroup){var Ne=toNodeArray(Ze.props.children).every(function(We){return!React.isValidElement(We)||!Ze.type||We.type.isSelectOption?!0:(De=We.type,!1)});return!Ne}return De=Be,!0}),De&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(De.displayName||De.name||De,"`.")),warning(Ot===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bn(T,N){if(T){var he=function fe(He){for(var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ye=0;Ye2&&arguments[2]!==void 0?arguments[2]:{},Dn=wn.source,Vn=Dn===void 0?"keyboard":Dn;Pa(Bn),Ye&&fe==="combobox"&&_t!==null&&Vn==="keyboard"&&Hr(String(_t))},[Ye,fe]),jr=function(Bn,wn,Dn){var Vn=function(){var Vr,Or=Xn(Bn);return[Pt?{label:Or==null?void 0:Or[en.label],value:Bn,key:(Vr=Or==null?void 0:Or.key)!==null&&Vr!==void 0?Vr:Bn}:Bn,G(Or)]};if(wn&<){var qn=Vn(),Wr=(0,C.Z)(qn,2),Er=Wr[0],Ir=Wr[1];lt(Er,Ir)}else if(!wn&&Ot&&Dn!=="clear"){var zr=Vn(),sr=(0,C.Z)(zr,2),Yn=sr[0],Nr=sr[1];Ot(Yn,Nr)}},Ra=Qe(function(_t,Bn){var wn,Dn=Jt?Bn.selected:!0;Dn?wn=Jt?[].concat((0,c.Z)(In),[_t]):[_t]:wn=In.filter(function(Vn){return Vn.value!==_t}),Zr(wn),jr(_t,Dn),fe==="combobox"?Hr(""):(!g||Ct)&&(st(""),Hr(""))}),Ea=function(Bn,wn){Zr(Bn);var Dn=wn.type,Vn=wn.values;(Dn==="remove"||Dn==="clear")&&Vn.forEach(function(qn){jr(qn.value,!1,Dn)})},ia=function(Bn,wn){if(st(Bn),Hr(null),wn.source==="submit"){var Dn=(Bn||"").trim();if(Dn){var Vn=Array.from(new Set([].concat((0,c.Z)(br),[Dn])));Zr(Vn),jr(Dn,!0),st("")}return}wn.source!=="blur"&&(fe==="combobox"&&Zr(Bn),qe==null||qe(Bn))},ma=function(Bn){var wn=Bn;fe!=="tags"&&(wn=Bn.map(function(Vn){var qn=Nt.get(Vn);return qn==null?void 0:qn.value}).filter(function(Vn){return Vn!==void 0}));var Dn=Array.from(new Set([].concat((0,c.Z)(br),(0,c.Z)(wn))));Zr(Dn),Dn.forEach(function(Vn){jr(Vn,!0)})},la=O.useMemo(function(){var _t=Ne!==!1&&Qt!==!1;return(0,j.Z)((0,j.Z)({},ct),{},{flattenOptions:lr,onActiveValue:va,defaultActiveFirstOption:$a,onSelect:Ra,menuItemSelectedIcon:Be,rawValues:br,fieldNames:en,virtual:_t,direction:We,listHeight:pt,listItemHeight:jt,childrenAsData:qt})},[ct,lr,va,$a,Ra,Be,br,en,Ne,Qt,pt,jt,qt]);return O.createElement(gt.Provider,{value:la},O.createElement(L,(0,u.Z)({},sn,{id:nn,prefixCls:Ae,ref:N,omitDomProps:mn,mode:fe,displayValues:Ar,onDisplayValuesChange:Ea,direction:We,searchValue:Wt,onSearch:ia,autoClearSearchValue:Ct,onSearchSplit:ma,dropdownMatchSelectWidth:Qt,OptionList:un,emptyOptions:!lr.length,activeValue:_r,activeDescendantId:"".concat(nn,"_list_").concat(ta)})))}),dn=yn;dn.Option=vt,dn.OptGroup=_e;var x=dn,A=x},9296:function(Dt,Me,e){e.r(Me),e.d(Me,{ResizableTextArea:function(){return W},default:function(){return F}});var u=e(54476),c=e(33885),v=e(20068),j=e(76190),C=e(42978),$=e(75931),t=e(94480),oe=e(92310),ee=e.n(oe),O=e(93681),se=e(5643),S=e(18929),E=e(59301),ue=e(29301),X=e(34280),k=e(16089),$e=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,ie=["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"],we={},ce;function H(Z){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=Z.getAttribute("id")||Z.getAttribute("data-reactid")||Z.getAttribute("name");if(b&&we[U])return we[U];var V=window.getComputedStyle(Z),q=V.getPropertyValue("box-sizing")||V.getPropertyValue("-moz-box-sizing")||V.getPropertyValue("-webkit-box-sizing"),le=parseFloat(V.getPropertyValue("padding-bottom"))+parseFloat(V.getPropertyValue("padding-top")),re=parseFloat(V.getPropertyValue("border-bottom-width"))+parseFloat(V.getPropertyValue("border-top-width")),Q=ie.map(function(Re){return"".concat(Re,":").concat(V.getPropertyValue(Re))}).join(";"),be={sizingStyle:Q,paddingSize:le,borderSize:re,boxSizing:q};return b&&U&&(we[U]=be),be}function m(Z){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;ce||(ce=document.createElement("textarea"),ce.setAttribute("tab-index","-1"),ce.setAttribute("aria-hidden","true"),document.body.appendChild(ce)),Z.getAttribute("wrap")?ce.setAttribute("wrap",Z.getAttribute("wrap")):ce.removeAttribute("wrap");var q=H(Z,b),le=q.paddingSize,re=q.borderSize,Q=q.boxSizing,be=q.sizingStyle;ce.setAttribute("style","".concat(be,";").concat($e)),ce.value=Z.value||Z.placeholder||"";var Re=void 0,ke=void 0,Fe,Ue=ce.scrollHeight;if(Q==="border-box"?Ue+=re:Q==="content-box"&&(Ue-=le),U!==null||V!==null){ce.value=" ";var Ge=ce.scrollHeight-le;U!==null&&(Re=Ge*U,Q==="border-box"&&(Re=Re+le+re),Ue=Math.max(Re,Ue)),V!==null&&(ke=Ge*V,Q==="border-box"&&(ke=ke+le+re),Fe=Ue>ke?"":"hidden",Ue=Math.min(ke,Ue))}var at={height:Ue,overflowY:Fe,resize:"none"};return Re&&(at.minHeight=Re),ke&&(at.maxHeight=ke),at}var r=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],y=0,p=1,ne=2,D=E.forwardRef(function(Z,b){var U=Z,V=U.prefixCls,q=U.onPressEnter,le=U.defaultValue,re=U.value,Q=U.autoSize,be=U.onResize,Re=U.className,ke=U.style,Fe=U.disabled,Ue=U.onChange,Ge=U.onInternalAutoSize,at=(0,$.Z)(U,r),Xe=(0,S.Z)(le,{value:re,postState:function(_e){return _e!=null?_e:""}}),ve=(0,C.Z)(Xe,2),Ke=ve[0],B=ve[1],w=function(_e){B(_e.target.value),Ue==null||Ue(_e)},d=E.useRef();E.useImperativeHandle(b,function(){return{textArea:d.current}});var n=E.useMemo(function(){return Q&&(0,j.Z)(Q)==="object"?[Q.minRows,Q.maxRows]:[]},[Q]),R=(0,C.Z)(n,2),G=R[0],s=R[1],o=!!Q,K=function(){try{if(document.activeElement===d.current){var _e=d.current,ut=_e.selectionStart,vt=_e.selectionEnd,It=_e.scrollTop;d.current.setSelectionRange(ut,vt),d.current.scrollTop=It}}catch(St){}},g=E.useState(ne),f=(0,C.Z)(g,2),L=f[0],ge=f[1],te=E.useState(),me=(0,C.Z)(te,2),de=me[0],h=me[1],I=function(){ge(y)};(0,X.Z)(function(){o&&I()},[re,G,s,o]),(0,X.Z)(function(){if(L===y)ge(p);else if(L===p){var Je=m(d.current,!1,G,s);ge(ne),h(Je)}else K()},[L]);var ae=E.useRef(),Ie=function(){k.Z.cancel(ae.current)},Se=function(_e){L===ne&&(be==null||be(_e),Q&&(Ie(),ae.current=(0,k.Z)(function(){I()})))};E.useEffect(function(){return Ie},[]);var Le=o?de:null,Qe=(0,c.Z)((0,c.Z)({},ke),Le);return(L===y||L===p)&&(Qe.overflowY="hidden",Qe.overflowX="hidden"),E.createElement(ue.Z,{onResize:Se,disabled:!(Q||be)},E.createElement("textarea",(0,u.Z)({},at,{ref:d,style:Qe,className:ee()(V,Re,(0,v.Z)({},"".concat(V,"-disabled"),Fe)),disabled:Fe,value:Ke,onChange:w})))}),W=D,M=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function xe(Z,b){return(0,t.Z)(Z||"").slice(0,b).join("")}function Y(Z,b,U,V){var q=U;return Z?q=xe(U,V):(0,t.Z)(b||"").lengthV&&(q=b),q}var Ve=E.forwardRef(function(Z,b){var U,V=Z.defaultValue,q=Z.value,le=Z.onFocus,re=Z.onBlur,Q=Z.onChange,be=Z.allowClear,Re=Z.maxLength,ke=Z.onCompositionStart,Fe=Z.onCompositionEnd,Ue=Z.suffix,Ge=Z.prefixCls,at=Ge===void 0?"rc-textarea":Ge,Xe=Z.classes,ve=Z.showCount,Ke=Z.className,B=Z.style,w=Z.disabled,d=Z.hidden,n=Z.classNames,R=Z.styles,G=Z.onResize,s=(0,$.Z)(Z,M),o=(0,S.Z)(V,{value:q,defaultValue:V}),K=(0,C.Z)(o,2),g=K[0],f=K[1],L=(0,E.useRef)(null),ge=E.useState(!1),te=(0,C.Z)(ge,2),me=te[0],de=te[1],h=E.useState(!1),I=(0,C.Z)(h,2),ae=I[0],Ie=I[1],Se=E.useRef(),Le=E.useRef(0),Qe=E.useState(null),Je=(0,C.Z)(Qe,2),_e=Je[0],ut=Je[1],vt=function(){var Zt;(Zt=L.current)===null||Zt===void 0||Zt.textArea.focus()};(0,E.useImperativeHandle)(b,function(){return{resizableTextArea:L.current,focus:vt,blur:function(){var Zt;(Zt=L.current)===null||Zt===void 0||Zt.textArea.blur()}}}),(0,E.useEffect)(function(){de(function(mn){return!w&&mn})},[w]);var It=Number(Re)>0,St=function(Zt){Ie(!0),Se.current=g,Le.current=Zt.currentTarget.selectionStart,ke==null||ke(Zt)},Tt=function(Zt){Ie(!1);var yn=Zt.currentTarget.value;if(It){var dn,x=Le.current>=Re+1||Le.current===((dn=Se.current)===null||dn===void 0?void 0:dn.length);yn=Y(x,Se.current,yn,Re)}yn!==g&&(f(yn),(0,se.rJ)(Zt.currentTarget,Zt,Q,yn)),Fe==null||Fe(Zt)},Yt=function(Zt){var yn=Zt.target.value;if(!ae&&It){var dn=Zt.target.selectionStart>=Re+1||Zt.target.selectionStart===yn.length||!Zt.target.selectionStart;yn=Y(dn,g,yn,Re)}f(yn),(0,se.rJ)(Zt.currentTarget,Zt,Q,yn)},gt=function(Zt){var yn=s.onPressEnter,dn=s.onKeyDown;Zt.key==="Enter"&&yn&&yn(Zt),dn==null||dn(Zt)},Ut=function(Zt){de(!0),le==null||le(Zt)},Nn=function(Zt){de(!1),re==null||re(Zt)},mt=function(Zt){var yn;f(""),vt(),(0,se.rJ)((yn=L.current)===null||yn===void 0?void 0:yn.textArea,Zt,Q)},yt=(0,se.D7)(g);!ae&&It&&q==null&&(yt=xe(yt,Re));var vn=Ue,un;if(ve){var Tn=(0,t.Z)(yt).length;(0,j.Z)(ve)==="object"?un=ve.formatter({value:yt,count:Tn,maxLength:Re}):un="".concat(Tn).concat(It?" / ".concat(Re):""),vn=E.createElement(E.Fragment,null,vn,E.createElement("span",{className:ee()("".concat(at,"-data-count"),n==null?void 0:n.count),style:R==null?void 0:R.count},un))}var bn=function(Zt){var yn;G==null||G(Zt),(yn=L.current)!==null&&yn!==void 0&&yn.textArea.style.height&&ut(!0)},$n=!s.autoSize&&!ve&&!be,_n=E.createElement(O.BaseInput,{value:yt,allowClear:be,handleReset:mt,suffix:vn,prefixCls:at,classes:{affixWrapper:ee()(Xe==null?void 0:Xe.affixWrapper,(U={},(0,v.Z)(U,"".concat(at,"-show-count"),ve),(0,v.Z)(U,"".concat(at,"-textarea-allow-clear"),be),U))},disabled:w,focused:me,className:Ke,style:(0,c.Z)((0,c.Z)({},B),_e&&!$n?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof un=="string"?un:void 0}},hidden:d,inputElement:E.createElement(W,(0,u.Z)({},s,{onKeyDown:gt,onChange:Yt,onFocus:Ut,onBlur:Nn,onCompositionStart:St,onCompositionEnd:Tt,className:n==null?void 0:n.textarea,style:(0,c.Z)((0,c.Z)({},R==null?void 0:R.textarea),{},{resize:B==null?void 0:B.resize}),disabled:w,prefixCls:at,onResize:bn,ref:L}))});return _n}),l=Ve,F=l},39417:function(Dt,Me,e){e.d(Me,{Z:function(){return p}});var u=e(54476),c=e(20068),v=e(75931),j=e(33885),C=e(67732),$=e(83652),t=e(31226),oe=e(42403),ee=e(158),O=e(92310),se=e.n(O),S=e(26112),E=e(59301),ue=e(39378),X=function(D){for(var W=D.prefixCls,M=D.level,xe=D.isStart,Y=D.isEnd,Ve="".concat(W,"-indent-unit"),l=[],F=0;F0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],d=B.length,n=w.length;if(Math.abs(d-n)!==1)return{add:!1,key:null};function R(G,s){var o=new Map;G.forEach(function(g){o.set(g,!0)});var K=s.filter(function(g){return!o.has(g)});return K.length===1?K[0]:null}return d ").concat(w);return w}var Re=k.forwardRef(function(B,w){var d=B.prefixCls,n=B.data,R=B.selectable,G=B.checkable,s=B.expandedKeys,o=B.selectedKeys,K=B.checkedKeys,g=B.loadedKeys,f=B.loadingKeys,L=B.halfCheckedKeys,ge=B.keyEntities,te=B.disabled,me=B.dragging,de=B.dragOverNodeKey,h=B.dropPosition,I=B.motion,ae=B.height,Ie=B.itemHeight,Se=B.virtual,Le=B.focusable,Qe=B.activeItem,Je=B.focused,_e=B.tabIndex,ut=B.onKeyDown,vt=B.onFocus,It=B.onBlur,St=B.onActiveChange,Tt=B.onListChangeStart,Yt=B.onListChangeEnd,gt=(0,H.Z)(B,F),Ut=k.useRef(null),Nn=k.useRef(null);k.useImperativeHandle(w,function(){return{scrollTo:function(ot){Ut.current.scrollTo(ot)},getIndentWidth:function(){return Nn.current.offsetWidth}}});var mt=k.useState(s),yt=(0,ce.Z)(mt,2),vn=yt[0],un=yt[1],Tn=k.useState(n),bn=(0,ce.Z)(Tn,2),$n=bn[0],_n=bn[1],mn=k.useState(n),Zt=(0,ce.Z)(mn,2),yn=Zt[0],dn=Zt[1],x=k.useState([]),A=(0,ce.Z)(x,2),T=A[0],N=A[1],he=k.useState(null),fe=(0,ce.Z)(he,2),He=fe[0],Ae=fe[1],Ye=k.useRef(n);Ye.current=n;function nt(){var qe=Ye.current;_n(qe),dn(qe),N([]),Ae(null),Yt()}(0,m.Z)(function(){un(s);var qe=Ve(vn,s);if(qe.key!==null)if(qe.add){var ot=$n.findIndex(function(Rt){var Gt=Rt.key;return Gt===qe.key}),Ct=re(l($n,n,qe.key),Se,ae,Ie),lt=$n.slice();lt.splice(ot+1,0,le),dn(lt),N(Ct),Ae("show")}else{var Ot=n.findIndex(function(Rt){var Gt=Rt.key;return Gt===qe.key}),zt=re(l(n,$n,qe.key),Se,ae,Ie),Qt=n.slice();Qt.splice(Ot+1,0,le),dn(Qt),N(zt),Ae("hide")}else $n!==n&&(_n(n),dn(n))},[s,n]),k.useEffect(function(){me||nt()},[me]);var dt=I?yn:n,it={expandedKeys:s,selectedKeys:o,loadedKeys:g,loadingKeys:f,checkedKeys:K,halfCheckedKeys:L,dragOverNodeKey:de,dropPosition:h,keyEntities:ge};return k.createElement(k.Fragment,null,Je&&Qe&&k.createElement("span",{style:Z,"aria-live":"assertive"},be(Qe)),k.createElement("div",null,k.createElement("input",{style:Z,disabled:Le===!1||te,tabIndex:Le!==!1?_e:null,onKeyDown:ut,onFocus:vt,onBlur:It,value:"",onChange:b,"aria-label":"for screen reader"})),k.createElement("div",{className:"".concat(d,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},k.createElement("div",{className:"".concat(d,"-indent")},k.createElement("div",{ref:Nn,className:"".concat(d,"-indent-unit")}))),k.createElement(r.Z,(0,u.Z)({},gt,{data:dt,itemKey:Q,height:ae,fullHeight:!1,virtual:Se,itemHeight:Ie,prefixCls:"".concat(d,"-list"),ref:Ut,onVisibleChange:function(ot,Ct){var lt=new Set(ot),Ot=Ct.filter(function(zt){return!lt.has(zt)});Ot.some(function(zt){return Q(zt)===U})&&nt()}}),function(qe){var ot=qe.pos,Ct=(0,u.Z)({},(we(qe.data),qe.data)),lt=qe.title,Ot=qe.key,zt=qe.isStart,Qt=qe.isEnd,Rt=(0,D.km)(Ot,ot);delete Ct.key,delete Ct.children;var Gt=(0,D.H8)(Rt,it);return k.createElement(Y,(0,u.Z)({},Ct,Gt,{title:lt,active:!!Qe&&Ot===Qe.key,pos:ot,data:qe.data,isStart:zt,isEnd:Qt,motion:I,motionNodes:Ot===U?T:null,motionType:He,onMotionStart:Tt,onMotionEnd:nt,treeNodeRequiredProps:it,onMouseMove:function(){St(null)}}))}))});Re.displayName="NodeList";var ke=Re,Fe=e(35654),Ue=e(90782),Ge=e(67841),at=10,Xe=function(B){(0,ee.Z)(d,B);var w=(0,O.Z)(d);function d(){var n;(0,$.Z)(this,d);for(var R=arguments.length,G=new Array(R),s=0;s2&&arguments[2]!==void 0?arguments[2]:!1,L=n.state,ge=L.dragChildrenKeys,te=L.dropPosition,me=L.dropTargetKey,de=L.dropTargetPos,h=L.dropAllowed;if(h){var I=n.props.onDrop;if(n.setState({dragOverNodeKey:null}),n.cleanDragState(),me!==null){var ae=(0,j.Z)((0,j.Z)({},(0,D.H8)(me,n.getTreeNodeRequiredProps())),{},{active:((g=n.getActiveItem())===null||g===void 0?void 0:g.key)===me,data:(0,Ge.Z)(n.state.keyEntities,me).node}),Ie=ge.indexOf(me)!==-1;(0,X.ZP)(!Ie,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Se=(0,Fe.yx)(de),Le={event:o,node:(0,D.F)(ae),dragNode:n.dragNode?(0,D.F)(n.dragNode.props):null,dragNodesKeys:[n.dragNode.props.eventKey].concat(ge),dropToGap:te!==0,dropPosition:te+Number(Se[Se.length-1])};f||I==null||I(Le),n.dragNode=null}}},n.cleanDragState=function(){var o=n.state.draggingNodeKey;o!==null&&n.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),n.dragStartMousePosition=null,n.currentMouseOverDroppableNodeKey=null},n.triggerExpandActionExpand=function(o,K){var g=n.state,f=g.expandedKeys,L=g.flattenNodes,ge=K.expanded,te=K.key,me=K.isLeaf;if(!(me||o.shiftKey||o.metaKey||o.ctrlKey)){var de=L.filter(function(I){return I.key===te})[0],h=(0,D.F)((0,j.Z)((0,j.Z)({},(0,D.H8)(te,n.getTreeNodeRequiredProps())),{},{data:de.data}));n.setExpandedKeys(ge?(0,Fe._5)(f,te):(0,Fe.L0)(f,te)),n.onNodeExpand(o,h)}},n.onNodeClick=function(o,K){var g=n.props,f=g.onClick,L=g.expandAction;L==="click"&&n.triggerExpandActionExpand(o,K),f==null||f(o,K)},n.onNodeDoubleClick=function(o,K){var g=n.props,f=g.onDoubleClick,L=g.expandAction;L==="doubleClick"&&n.triggerExpandActionExpand(o,K),f==null||f(o,K)},n.onNodeSelect=function(o,K){var g=n.state.selectedKeys,f=n.state,L=f.keyEntities,ge=f.fieldNames,te=n.props,me=te.onSelect,de=te.multiple,h=K.selected,I=K[ge.key],ae=!h;ae?de?g=(0,Fe.L0)(g,I):g=[I]:g=(0,Fe._5)(g,I);var Ie=g.map(function(Se){var Le=(0,Ge.Z)(L,Se);return Le?Le.node:null}).filter(function(Se){return Se});n.setUncontrolledState({selectedKeys:g}),me==null||me(g,{event:"select",selected:ae,node:K,selectedNodes:Ie,nativeEvent:o.nativeEvent})},n.onNodeCheck=function(o,K,g){var f=n.state,L=f.keyEntities,ge=f.checkedKeys,te=f.halfCheckedKeys,me=n.props,de=me.checkStrictly,h=me.onCheck,I=K.key,ae,Ie={event:"check",node:K,checked:g,nativeEvent:o.nativeEvent};if(de){var Se=g?(0,Fe.L0)(ge,I):(0,Fe._5)(ge,I),Le=(0,Fe._5)(te,I);ae={checked:Se,halfChecked:Le},Ie.checkedNodes=Se.map(function(It){return(0,Ge.Z)(L,It)}).filter(function(It){return It}).map(function(It){return It.node}),n.setUncontrolledState({checkedKeys:Se})}else{var Qe=(0,Ue.S)([].concat((0,C.Z)(ge),[I]),!0,L),Je=Qe.checkedKeys,_e=Qe.halfCheckedKeys;if(!g){var ut=new Set(Je);ut.delete(I);var vt=(0,Ue.S)(Array.from(ut),{checked:!1,halfCheckedKeys:_e},L);Je=vt.checkedKeys,_e=vt.halfCheckedKeys}ae=Je,Ie.checkedNodes=[],Ie.checkedNodesPositions=[],Ie.halfCheckedKeys=_e,Je.forEach(function(It){var St=(0,Ge.Z)(L,It);if(St){var Tt=St.node,Yt=St.pos;Ie.checkedNodes.push(Tt),Ie.checkedNodesPositions.push({node:Tt,pos:Yt})}}),n.setUncontrolledState({checkedKeys:Je},!1,{halfCheckedKeys:_e})}h==null||h(ae,Ie)},n.onNodeLoad=function(o){var K=o.key,g=new Promise(function(f,L){n.setState(function(ge){var te=ge.loadedKeys,me=te===void 0?[]:te,de=ge.loadingKeys,h=de===void 0?[]:de,I=n.props,ae=I.loadData,Ie=I.onLoad;if(!ae||me.indexOf(K)!==-1||h.indexOf(K)!==-1)return null;var Se=ae(o);return Se.then(function(){var Le=n.state.loadedKeys,Qe=(0,Fe.L0)(Le,K);Ie==null||Ie(Qe,{event:"load",node:o}),n.setUncontrolledState({loadedKeys:Qe}),n.setState(function(Je){return{loadingKeys:(0,Fe._5)(Je.loadingKeys,K)}}),f()}).catch(function(Le){if(n.setState(function(Je){return{loadingKeys:(0,Fe._5)(Je.loadingKeys,K)}}),n.loadingRetryTimes[K]=(n.loadingRetryTimes[K]||0)+1,n.loadingRetryTimes[K]>=at){var Qe=n.state.loadedKeys;(0,X.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),n.setUncontrolledState({loadedKeys:(0,Fe.L0)(Qe,K)}),f()}L(Le)}),{loadingKeys:(0,Fe.L0)(h,K)}})});return g.catch(function(){}),g},n.onNodeMouseEnter=function(o,K){var g=n.props.onMouseEnter;g==null||g({event:o,node:K})},n.onNodeMouseLeave=function(o,K){var g=n.props.onMouseLeave;g==null||g({event:o,node:K})},n.onNodeContextMenu=function(o,K){var g=n.props.onRightClick;g&&(o.preventDefault(),g({event:o,node:K}))},n.onFocus=function(){var o=n.props.onFocus;n.setState({focused:!0});for(var K=arguments.length,g=new Array(K),f=0;f1&&arguments[1]!==void 0?arguments[1]:!1,g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!n.destroyed){var f=!1,L=!0,ge={};Object.keys(o).forEach(function(te){if(te in n.props){L=!1;return}f=!0,ge[te]=o[te]}),f&&(!K||L)&&n.setState((0,j.Z)((0,j.Z)({},ge),g))}},n.scrollTo=function(o){n.listRef.current.scrollTo(o)},n}return(0,t.Z)(d,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var R=this.props.activeKey;R!==void 0&&R!==this.state.activeKey&&(this.setState({activeKey:R}),R!==null&&this.scrollTo({key:R}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var R,G=this.state,s=G.focused,o=G.flattenNodes,K=G.keyEntities,g=G.draggingNodeKey,f=G.activeKey,L=G.dropLevelOffset,ge=G.dropContainerKey,te=G.dropTargetKey,me=G.dropPosition,de=G.dragOverNodeKey,h=G.indent,I=this.props,ae=I.prefixCls,Ie=I.className,Se=I.style,Le=I.showLine,Qe=I.focusable,Je=I.tabIndex,_e=Je===void 0?0:Je,ut=I.selectable,vt=I.showIcon,It=I.icon,St=I.switcherIcon,Tt=I.draggable,Yt=I.checkable,gt=I.checkStrictly,Ut=I.disabled,Nn=I.motion,mt=I.loadData,yt=I.filterTreeNode,vn=I.height,un=I.itemHeight,Tn=I.virtual,bn=I.titleRender,$n=I.dropIndicatorRender,_n=I.onContextMenu,mn=I.onScroll,Zt=I.direction,yn=I.rootClassName,dn=I.rootStyle,x=(0,ue.Z)(this.props,{aria:!0,data:!0}),A;return Tt&&((0,v.Z)(Tt)==="object"?A=Tt:typeof Tt=="function"?A={nodeDraggable:Tt}:A={}),k.createElement($e.k.Provider,{value:{prefixCls:ae,selectable:ut,showIcon:vt,icon:It,switcherIcon:St,draggable:A,draggingNodeKey:g,checkable:Yt,checkStrictly:gt,disabled:Ut,keyEntities:K,dropLevelOffset:L,dropContainerKey:ge,dropTargetKey:te,dropPosition:me,dragOverNodeKey:de,indent:h,direction:Zt,dropIndicatorRender:$n,loadData:mt,filterTreeNode:yt,titleRender:bn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},k.createElement("div",{role:"tree",className:S()(ae,Ie,yn,(R={},(0,c.Z)(R,"".concat(ae,"-show-line"),Le),(0,c.Z)(R,"".concat(ae,"-focused"),s),(0,c.Z)(R,"".concat(ae,"-active-focused"),f!==null),R)),style:dn},k.createElement(ke,(0,u.Z)({ref:this.listRef,prefixCls:ae,style:Se,data:o,disabled:Ut,selectable:ut,checkable:!!Yt,motion:Nn,dragging:g!==null,height:vn,itemHeight:un,virtual:Tn,focusable:Qe,focused:s,tabIndex:_e,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:_n,onScroll:mn},this.getTreeNodeRequiredProps(),x))))}}],[{key:"getDerivedStateFromProps",value:function(R,G){var s=G.prevProps,o={prevProps:R};function K(Qe){return!s&&Qe in R||s&&s[Qe]!==R[Qe]}var g,f=G.fieldNames;if(K("fieldNames")&&(f=(0,D.w$)(R.fieldNames),o.fieldNames=f),K("treeData")?g=R.treeData:K("children")&&((0,X.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),g=(0,D.zn)(R.children)),g){o.treeData=g;var L=(0,D.I8)(g,{fieldNames:f});o.keyEntities=(0,j.Z)((0,c.Z)({},U,q),L.keyEntities)}var ge=o.keyEntities||G.keyEntities;if(K("expandedKeys")||s&&K("autoExpandParent"))o.expandedKeys=R.autoExpandParent||!s&&R.defaultExpandParent?(0,Fe.r7)(R.expandedKeys,ge):R.expandedKeys;else if(!s&&R.defaultExpandAll){var te=(0,j.Z)({},ge);delete te[U],o.expandedKeys=Object.keys(te).map(function(Qe){return te[Qe].key})}else!s&&R.defaultExpandedKeys&&(o.expandedKeys=R.autoExpandParent||R.defaultExpandParent?(0,Fe.r7)(R.defaultExpandedKeys,ge):R.defaultExpandedKeys);if(o.expandedKeys||delete o.expandedKeys,g||o.expandedKeys){var me=(0,D.oH)(g||G.treeData,o.expandedKeys||G.expandedKeys,f);o.flattenNodes=me}if(R.selectable&&(K("selectedKeys")?o.selectedKeys=(0,Fe.BT)(R.selectedKeys,R):!s&&R.defaultSelectedKeys&&(o.selectedKeys=(0,Fe.BT)(R.defaultSelectedKeys,R))),R.checkable){var de;if(K("checkedKeys")?de=(0,Fe.E6)(R.checkedKeys)||{}:!s&&R.defaultCheckedKeys?de=(0,Fe.E6)(R.defaultCheckedKeys)||{}:g&&(de=(0,Fe.E6)(R.checkedKeys)||{checkedKeys:G.checkedKeys,halfCheckedKeys:G.halfCheckedKeys}),de){var h=de,I=h.checkedKeys,ae=I===void 0?[]:I,Ie=h.halfCheckedKeys,Se=Ie===void 0?[]:Ie;if(!R.checkStrictly){var Le=(0,Ue.S)(ae,!0,ge);ae=Le.checkedKeys,Se=Le.halfCheckedKeys}o.checkedKeys=ae,o.halfCheckedKeys=Se}}return K("loadedKeys")&&(o.loadedKeys=R.loadedKeys),o}}]),d}(k.Component);Xe.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:ie,allowDrop:function(){return!0},expandAction:!1},Xe.TreeNode=p.Z;var ve=Xe,Ke=ve},35654:function(Dt,Me,e){e.d(Me,{BT:function(){return k},E6:function(){return we},L0:function(){return O},OM:function(){return X},_5:function(){return ee},r7:function(){return ce},wA:function(){return S},yx:function(){return se}});var u=e(94480),c=e(76190),v=e(48736),j=e(59301),C=e(39417),$=e(67841),t=e(71430),oe=null;function ee(H,m){if(!H)return[];var r=H.slice(),y=r.indexOf(m);return y>=0&&r.splice(y,1),r}function O(H,m){var r=(H||[]).slice();return r.indexOf(m)===-1&&r.push(m),r}function se(H){return H.split("-")}function S(H,m){var r=[],y=(0,$.Z)(m,H);function p(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];ne.forEach(function(D){var W=D.key,M=D.children;r.push(W),p(M)})}return p(y.children),r}function E(H){if(H.parent){var m=se(H.pos);return Number(m[m.length-1])===H.parent.children.length-1}return!1}function ue(H){var m=se(H.pos);return Number(m[m.length-1])===0}function X(H,m,r,y,p,ne,D,W,M,xe){var Y,Ve=H.clientX,l=H.clientY,F=H.target.getBoundingClientRect(),Z=F.top,b=F.height,U=(xe==="rtl"?-1:1)*(((p==null?void 0:p.x)||0)-Ve),V=(U-12)/y,q=(0,$.Z)(W,r.props.eventKey);if(l-1.5?ne({dragNode:at,dropNode:Xe,dropPosition:1})?Fe=1:ve=!1:ne({dragNode:at,dropNode:Xe,dropPosition:0})?Fe=0:ne({dragNode:at,dropNode:Xe,dropPosition:1})?Fe=1:ve=!1:ne({dragNode:at,dropNode:Xe,dropPosition:1})?Fe=1:ve=!1,{dropPosition:Fe,dropLevelOffset:Ue,dropTargetKey:q.key,dropTargetPos:q.pos,dragOverNodeKey:ke,dropContainerKey:Fe===0?null:((Y=q.parent)===null||Y===void 0?void 0:Y.key)||null,dropAllowed:ve}}function k(H,m){if(H){var r=m.multiple;return r?H.slice():H.length?[H[0]]:H}}var $e=function(m){return m};function ie(H,m){if(!H)return[];var r=m||{},y=r.processProps,p=y===void 0?$e:y,ne=Array.isArray(H)?H:[H];return ne.map(function(D){var W=D.children,M=_objectWithoutProperties(D,oe),xe=ie(W,m);return React.createElement(TreeNode,_extends({key:M.key},p(M)),xe)})}function we(H){if(!H)return null;var m;if(Array.isArray(H))m={checkedKeys:H,halfCheckedKeys:void 0};else if((0,c.Z)(H)==="object")m={checkedKeys:H.checked||void 0,halfCheckedKeys:H.halfChecked||void 0};else return(0,v.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return m}function ce(H,m){var r=new Set;function y(p){if(!r.has(p)){var ne=(0,$.Z)(m,p);if(ne){r.add(p);var D=ne.parent,W=ne.node;W.disabled||D&&y(D.key)}}}return(H||[]).forEach(function(p){y(p)}),(0,u.Z)(r)}},90782:function(Dt,Me,e){e.d(Me,{S:function(){return t}});var u=e(48736),c=e(67841);function v(oe,ee){var O=new Set;return oe.forEach(function(se){ee.has(se)||O.add(se)}),O}function j(oe){var ee=oe||{},O=ee.disabled,se=ee.disableCheckbox,S=ee.checkable;return!!(O||se)||S===!1}function C(oe,ee,O,se){for(var S=new Set(oe),E=new Set,ue=0;ue<=O;ue+=1){var X=ee.get(ue)||new Set;X.forEach(function(we){var ce=we.key,H=we.node,m=we.children,r=m===void 0?[]:m;S.has(ce)&&!se(H)&&r.filter(function(y){return!se(y.node)}).forEach(function(y){S.add(y.key)})})}for(var k=new Set,$e=O;$e>=0;$e-=1){var ie=ee.get($e)||new Set;ie.forEach(function(we){var ce=we.parent,H=we.node;if(!(se(H)||!we.parent||k.has(we.parent.key))){if(se(we.parent.node)){k.add(ce.key);return}var m=!0,r=!1;(ce.children||[]).filter(function(y){return!se(y.node)}).forEach(function(y){var p=y.key,ne=S.has(p);m&&!ne&&(m=!1),!r&&(ne||E.has(p))&&(r=!0)}),m&&S.add(ce.key),r&&E.add(ce.key),k.add(ce.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(v(E,S))}}function $(oe,ee,O,se,S){for(var E=new Set(oe),ue=new Set(ee),X=0;X<=se;X+=1){var k=O.get(X)||new Set;k.forEach(function(ce){var H=ce.key,m=ce.node,r=ce.children,y=r===void 0?[]:r;!E.has(H)&&!ue.has(H)&&!S(m)&&y.filter(function(p){return!S(p.node)}).forEach(function(p){E.delete(p.key)})})}ue=new Set;for(var $e=new Set,ie=se;ie>=0;ie-=1){var we=O.get(ie)||new Set;we.forEach(function(ce){var H=ce.parent,m=ce.node;if(!(S(m)||!ce.parent||$e.has(ce.parent.key))){if(S(ce.parent.node)){$e.add(H.key);return}var r=!0,y=!1;(H.children||[]).filter(function(p){return!S(p.node)}).forEach(function(p){var ne=p.key,D=E.has(ne);r&&!D&&(r=!1),!y&&(D||ue.has(ne))&&(y=!0)}),r||E.delete(H.key),y&&ue.add(H.key),$e.add(H.key)}})}return{checkedKeys:Array.from(E),halfCheckedKeys:Array.from(v(ue,E))}}function t(oe,ee,O,se){var S=[],E;se?E=se:E=j;var ue=new Set(oe.filter(function(ie){var we=!!(0,c.Z)(O,ie);return we||S.push(ie),we})),X=new Map,k=0;Object.keys(O).forEach(function(ie){var we=O[ie],ce=we.level,H=X.get(ce);H||(H=new Set,X.set(ce,H)),H.add(we),k=Math.max(k,ce)}),(0,u.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(ie){return"'".concat(ie,"'")}).join(", ")));var $e;return ee===!0?$e=C(ue,X,k,E):$e=$(ue,ee.halfCheckedKeys,X,k,E),$e}},67841:function(Dt,Me,e){e.d(Me,{Z:function(){return u}});function u(c,v){return c[v]}},71430:function(Dt,Me,e){e.d(Me,{F:function(){return ce},H8:function(){return we},I8:function(){return ie},km:function(){return S},oH:function(){return k},w$:function(){return E},zn:function(){return X}});var u=e(76190),c=e(94480),v=e(33885),j=e(75931),C=e(11592),$=e(2738),t=e(48736),oe=e(67841),ee=["children"];function O(H,m){return"".concat(H,"-").concat(m)}function se(H){return H&&H.type&&H.type.isTreeNode}function S(H,m){return H!=null?H:m}function E(H){var m=H||{},r=m.title,y=m._title,p=m.key,ne=m.children,D=r||"title";return{title:D,_title:y||[D],key:p||"key",children:ne||"children"}}function ue(H,m){var r=new Map;function y(p){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(p||[]).forEach(function(D){var W=D[m.key],M=D[m.children];warning(W!=null,"Tree node must have a certain key: [".concat(ne).concat(W,"]"));var xe=String(W);warning(!r.has(xe)||W===null||W===void 0,"Same 'key' exist in the Tree: ".concat(xe)),r.set(xe,!0),y(M,"".concat(ne).concat(xe," > "))})}y(H)}function X(H){function m(r){var y=(0,C.Z)(r);return y.map(function(p){if(!se(p))return(0,t.ZP)(!p,"Tree/TreeNode can only accept TreeNode as children."),null;var ne=p.key,D=p.props,W=D.children,M=(0,j.Z)(D,ee),xe=(0,v.Z)({key:ne},M),Y=m(W);return Y.length&&(xe.children=Y),xe}).filter(function(p){return p})}return m(H)}function k(H,m,r){var y=E(r),p=y._title,ne=y.key,D=y.children,W=new Set(m===!0?[]:m),M=[];function xe(Y){var Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Y.map(function(l,F){for(var Z=O(Ve?Ve.pos:"0",F),b=S(l[ne],Z),U,V=0;V1&&arguments[1]!==void 0?arguments[1]:{},r=m.initWrapper,y=m.processEntity,p=m.onProcessFinished,ne=m.externalGetKey,D=m.childrenPropName,W=m.fieldNames,M=arguments.length>2?arguments[2]:void 0,xe=ne||M,Y={},Ve={},l={posEntities:Y,keyEntities:Ve};return r&&(l=r(l)||l),$e(H,function(F){var Z=F.node,b=F.index,U=F.pos,V=F.key,q=F.parentPos,le=F.level,re=F.nodes,Q={node:Z,nodes:re,index:b,key:V,pos:U,level:le},be=S(V,U);Y[U]=Q,Ve[be]=Q,Q.parent=Y[q],Q.parent&&(Q.parent.children=Q.parent.children||[],Q.parent.children.push(Q)),y&&y(Q,l)},{externalGetKey:xe,childrenPropName:D,fieldNames:W}),p&&p(l),l}function we(H,m){var r=m.expandedKeys,y=m.selectedKeys,p=m.loadedKeys,ne=m.loadingKeys,D=m.checkedKeys,W=m.halfCheckedKeys,M=m.dragOverNodeKey,xe=m.dropPosition,Y=m.keyEntities,Ve=(0,oe.Z)(Y,H),l={eventKey:H,expanded:r.indexOf(H)!==-1,selected:y.indexOf(H)!==-1,loaded:p.indexOf(H)!==-1,loading:ne.indexOf(H)!==-1,checked:D.indexOf(H)!==-1,halfChecked:W.indexOf(H)!==-1,pos:String(Ve?Ve.pos:""),dragOver:M===H&&xe===0,dragOverGapTop:M===H&&xe===-1,dragOverGapBottom:M===H&&xe===1};return l}function ce(H){var m=H.data,r=H.expanded,y=H.selected,p=H.checked,ne=H.loaded,D=H.loading,W=H.halfChecked,M=H.dragOver,xe=H.dragOverGapTop,Y=H.dragOverGapBottom,Ve=H.pos,l=H.active,F=H.eventKey,Z=(0,v.Z)((0,v.Z)({},m),{},{expanded:r,selected:y,checked:p,loaded:ne,loading:D,halfChecked:W,dragOver:M,dragOverGapTop:xe,dragOverGapBottom:Y,pos:Ve,active:l,key:F});return"props"in Z||Object.defineProperty(Z,"props",{get:function(){return(0,t.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),H}}),Z}},8224:function(Dt,Me,e){e.d(Me,{Z:function(){return c}});var u=e(4676);function c(v,j,C,$){var t=u.unstable_batchedUpdates?function(ee){u.unstable_batchedUpdates(C,ee)}:C;return v!=null&&v.addEventListener&&v.addEventListener(j,t,$),{remove:function(){v!=null&&v.removeEventListener&&v.removeEventListener(j,t,$)}}}},55468:function(Dt,Me,e){e.d(Me,{g1:function(){return se},os:function(){return E}});var u=/margin|padding|width|height|max|min|offset/,c={left:!0,top:!0},v={cssFloat:1,styleFloat:1,float:1};function j(ue){return ue.nodeType===1?ue.ownerDocument.defaultView.getComputedStyle(ue,null):{}}function C(ue,X,k){if(X=X.toLowerCase(),k==="auto"){if(X==="height")return ue.offsetHeight;if(X==="width")return ue.offsetWidth}return X in c||(c[X]=u.test(X)),c[X]?parseFloat(k)||0:k}function $(ue,X){var k=arguments.length,$e=j(ue);return X=v[X]?"cssFloat"in ue.style?"cssFloat":"styleFloat":X,k===1?$e:C(ue,X,$e[X]||ue.style[X])}function t(ue,X,k){var $e=arguments.length;if(X=v[X]?"cssFloat"in ue.style?"cssFloat":"styleFloat":X,$e===3)return typeof k=="number"&&u.test(X)&&(k="".concat(k,"px")),ue.style[X]=k,k;for(var ie in X)X.hasOwnProperty(ie)&&t(ue,ie,X[ie]);return j(ue)}function oe(ue){return ue===document.body?document.documentElement.clientWidth:ue.offsetWidth}function ee(ue){return ue===document.body?window.innerHeight||document.documentElement.clientHeight:ue.offsetHeight}function O(){var ue=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),X=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:ue,height:X}}function se(){var ue=document.documentElement.clientWidth,X=window.innerHeight||document.documentElement.clientHeight;return{width:ue,height:X}}function S(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function E(ue){var X=ue.getBoundingClientRect(),k=document.documentElement;return{left:X.left+(window.pageXOffset||k.scrollLeft)-(k.clientLeft||document.body.clientLeft||0),top:X.top+(window.pageYOffset||k.scrollTop)-(k.clientTop||document.body.clientTop||0)}}},3465:function(Dt,Me,e){e.d(Me,{G:function(){return j}});var u=e(47273),c=function($){if((0,u.Z)()&&window.document.documentElement){var t=Array.isArray($)?$:[$],oe=window.document.documentElement;return t.some(function(ee){return ee in oe.style})}return!1},v=function($,t){if(!c($))return!1;var oe=document.createElement("div"),ee=oe.style[$];return oe.style[$]=t,oe.style[$]!==ee};function j(C,$){return!Array.isArray(C)&&$!==void 0?v(C,$):c(C)}},48911:function(Dt,Me,e){e.d(Me,{Z:function(){return Xe}});var u=e(54476),c=e(76190),v=e(33885),j=e(20068),C=e(42978),$=e(75931),t=e(92310),oe=e.n(t),ee=e(29301),O=e(70425),se=e(34280),S=e(59301),E=e(4676),ue=S.forwardRef(function(ve,Ke){var B=ve.height,w=ve.offsetY,d=ve.offsetX,n=ve.children,R=ve.prefixCls,G=ve.onInnerResize,s=ve.innerProps,o=ve.rtl,K=ve.extra,g={},f={display:"flex",flexDirection:"column"};return w!==void 0&&(g={height:B,position:"relative",overflow:"hidden"},f=(0,v.Z)((0,v.Z)({},f),{},(0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)((0,j.Z)({transform:"translateY(".concat(w,"px)")},o?"marginRight":"marginLeft",-d),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:g},S.createElement(ee.Z,{onResize:function(ge){var te=ge.offsetHeight;te&&G&&G()}},S.createElement("div",(0,u.Z)({style:f,className:oe()((0,j.Z)({},"".concat(R,"-holder-inner"),R)),ref:Ke},s),n,K)))});ue.displayName="Filler";var X=ue;function k(ve){var Ke=ve.children,B=ve.setRef,w=S.useCallback(function(d){B(d)},[]);return S.cloneElement(Ke,{ref:w})}function $e(ve,Ke,B,w,d,n,R,G){var s=G.getKey;return ve.slice(Ke,B+1).map(function(o,K){var g=Ke+K,f=R(o,g,{style:{width:w},offsetX:d}),L=s(o);return S.createElement(k,{key:L,setRef:function(te){return n(o,te)}},f)})}function ie(ve,Ke,B,w){var d=B-ve,n=Ke-B,R=Math.min(d,n)*2;if(w<=R){var G=Math.floor(w/2);return w%2?B+G+1:B-G}return d>n?B-(w-n):B+(w-d)}function we(ve,Ke,B){var w=ve.length,d=Ke.length,n,R;if(w===0&&d===0)return null;w2&&arguments[2]!==void 0?arguments[2]:!1,g=s?o<0&&G.current.left||o>0&&G.current.right:o<0&&G.current.top||o>0&&G.current.bottom;return K&&g?(clearTimeout(n.current),d.current=!1):(!g||d.current)&&R(),!d.current&&g}};function p(ve,Ke,B,w,d,n,R){var G=(0,S.useRef)(0),s=(0,S.useRef)(null),o=(0,S.useRef)(null),K=(0,S.useRef)(!1),g=y(Ke,B,w,d);function f(h,I){if(H.Z.cancel(s.current),!g(!1,I)){var ae=h;if(!ae._virtualHandled)ae._virtualHandled=!0;else return;G.current+=I,o.current=I,r||ae.preventDefault(),s.current=(0,H.Z)(function(){var Ie=K.current?10:1;R(G.current*Ie,!1),G.current=0})}}function L(h,I){R(I,!0),r||h.preventDefault()}var ge=(0,S.useRef)(null),te=(0,S.useRef)(null);function me(h){if(ve){H.Z.cancel(te.current),te.current=(0,H.Z)(function(){ge.current=null},2);var I=h.deltaX,ae=h.deltaY,Ie=h.shiftKey,Se=I,Le=ae;(ge.current==="sx"||!ge.current&&Ie&&ae&&!I)&&(Se=ae,Le=0,ge.current="sx");var Qe=Math.abs(Se),Je=Math.abs(Le);ge.current===null&&(ge.current=n&&Qe>Je?"x":"y"),ge.current==="y"?f(h,Le):L(h,Se)}}function de(h){ve&&(K.current=h.detail===o.current)}return[me,de]}function ne(ve,Ke,B,w){var d=S.useMemo(function(){return[new Map,[]]},[ve,B.id,w]),n=(0,C.Z)(d,2),R=n[0],G=n[1],s=function(K){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:K,f=R.get(K),L=R.get(g);if(f===void 0||L===void 0)for(var ge=ve.length,te=G.length;te0&&arguments[0]!==void 0?arguments[0]:!1;K();var ge=function(){var de=!1;G.current.forEach(function(h,I){if(h&&h.offsetParent){var ae=h.offsetHeight,Ie=getComputedStyle(h),Se=Ie.marginTop,Le=Ie.marginBottom,Qe=Y(Se),Je=Y(Le),_e=ae+Qe+Je;s.current.get(I)!==_e&&(s.current.set(I,_e),de=!0)}}),de&&R(function(h){return h+1})};if(L)ge();else{o.current+=1;var te=o.current;Promise.resolve().then(function(){te===o.current&&ge()})}}function f(L,ge){var te=ve(L),me=G.current.get(te);ge?(G.current.set(te,ge),g()):G.current.delete(te),!me!=!ge&&(ge?Ke==null||Ke(L):B==null||B(L))}return(0,S.useEffect)(function(){return K},[]),[f,g,s.current,n]}var l=14/15;function F(ve,Ke,B){var w=(0,S.useRef)(!1),d=(0,S.useRef)(0),n=(0,S.useRef)(0),R=(0,S.useRef)(null),G=(0,S.useRef)(null),s,o=function(L){if(w.current){var ge=Math.ceil(L.touches[0].pageX),te=Math.ceil(L.touches[0].pageY),me=d.current-ge,de=n.current-te,h=Math.abs(me)>Math.abs(de);h?d.current=ge:n.current=te;var I=B(h,h?me:de,!1,L);I&&L.preventDefault(),clearInterval(G.current),I&&(G.current=setInterval(function(){h?me*=l:de*=l;var ae=Math.floor(h?me:de);(!B(h,ae,!0)||Math.abs(ae)<=.1)&&clearInterval(G.current)},16))}},K=function(){w.current=!1,s()},g=function(L){s(),L.touches.length===1&&!w.current&&(w.current=!0,d.current=Math.ceil(L.touches[0].pageX),n.current=Math.ceil(L.touches[0].pageY),R.current=L.target,R.current.addEventListener("touchmove",o,{passive:!1}),R.current.addEventListener("touchend",K,{passive:!0}))};s=function(){R.current&&(R.current.removeEventListener("touchmove",o),R.current.removeEventListener("touchend",K))},(0,se.Z)(function(){return ve&&Ke.current.addEventListener("touchstart",g,{passive:!0}),function(){var f;(f=Ke.current)===null||f===void 0||f.removeEventListener("touchstart",g),s(),clearInterval(G.current)}},[ve])}function Z(ve){return Math.floor(Math.pow(ve,.5))}function b(ve,Ke){var B="touches"in ve?ve.touches[0]:ve;return B[Ke?"pageX":"pageY"]-window[Ke?"scrollX":"scrollY"]}function U(ve,Ke,B){S.useEffect(function(){var w=Ke.current;if(ve&&w){var d=!1,n,R,G=function(){H.Z.cancel(n)},s=function f(){G(),n=(0,H.Z)(function(){B(R),f()})},o=function(){d=!1,G()},K=function(L){if(!(L.target.draggable||L.button!==0)){var ge=L;ge._virtualHandled||(ge._virtualHandled=!0,d=!0)}},g=function(L){if(d){var ge=b(L,!1),te=w.getBoundingClientRect(),me=te.top,de=te.bottom;if(ge<=me){var h=me-ge;R=-Z(h),s()}else if(ge>=de){var I=ge-de;R=Z(I),s()}else G()}};return w.addEventListener("mousedown",K),w.ownerDocument.addEventListener("mouseup",o),w.ownerDocument.addEventListener("mousemove",g),w.ownerDocument.addEventListener("dragend",o),function(){w.removeEventListener("mousedown",K),w.ownerDocument.removeEventListener("mouseup",o),w.ownerDocument.removeEventListener("mousemove",g),w.ownerDocument.removeEventListener("dragend",o),G()}}},[ve])}var V=10;function q(ve,Ke,B,w,d,n,R,G){var s=S.useRef(),o=S.useState(null),K=(0,C.Z)(o,2),g=K[0],f=K[1];return(0,se.Z)(function(){if(g&&g.times=0;St-=1){var Tt=d(Ke[St]),Yt=B.get(Tt);if(Yt===void 0){h=!0;break}if(It-=Yt,It<=0)break}switch(Ie){case"top":ae=Le-me;break;case"bottom":ae=Qe-de+me;break;default:{var gt=ve.current.scrollTop,Ut=gt+de;LeUt&&(I="bottom")}}ae!==null&&R(ae),ae!==g.lastTop&&(h=!0)}h&&f((0,v.Z)((0,v.Z)({},g),{},{times:g.times+1,targetAlign:I,lastTop:ae}))}},[g,ve.current]),function(L){if(L==null){G();return}if(H.Z.cancel(s.current),typeof L=="number")R(L);else if(L&&(0,c.Z)(L)==="object"){var ge,te=L.align;"index"in L?ge=L.index:ge=Ke.findIndex(function(h){return d(h)===L.key});var me=L.offset,de=me===void 0?0:me;f({times:0,index:ge,offset:de,originAlign:te})}}}var le=S.forwardRef(function(ve,Ke){var B=ve.prefixCls,w=ve.rtl,d=ve.scrollOffset,n=ve.scrollRange,R=ve.onStartMove,G=ve.onStopMove,s=ve.onScroll,o=ve.horizontal,K=ve.spinSize,g=ve.containerSize,f=ve.style,L=ve.thumbStyle,ge=ve.showScrollBar,te=S.useState(!1),me=(0,C.Z)(te,2),de=me[0],h=me[1],I=S.useState(null),ae=(0,C.Z)(I,2),Ie=ae[0],Se=ae[1],Le=S.useState(null),Qe=(0,C.Z)(Le,2),Je=Qe[0],_e=Qe[1],ut=!w,vt=S.useRef(),It=S.useRef(),St=S.useState(ge),Tt=(0,C.Z)(St,2),Yt=Tt[0],gt=Tt[1],Ut=S.useRef(),Nn=function(){ge===!0||ge===!1||(clearTimeout(Ut.current),gt(!0),Ut.current=setTimeout(function(){gt(!1)},3e3))},mt=n-g||0,yt=g-K||0,vn=S.useMemo(function(){if(d===0||mt===0)return 0;var dn=d/mt;return dn*yt},[d,mt,yt]),un=function(x){x.stopPropagation(),x.preventDefault()},Tn=S.useRef({top:vn,dragging:de,pageY:Ie,startTop:Je});Tn.current={top:vn,dragging:de,pageY:Ie,startTop:Je};var bn=function(x){h(!0),Se(b(x,o)),_e(Tn.current.top),R(),x.stopPropagation(),x.preventDefault()};S.useEffect(function(){var dn=function(N){N.preventDefault()},x=vt.current,A=It.current;return x.addEventListener("touchstart",dn,{passive:!1}),A.addEventListener("touchstart",bn,{passive:!1}),function(){x.removeEventListener("touchstart",dn),A.removeEventListener("touchstart",bn)}},[]);var $n=S.useRef();$n.current=mt;var _n=S.useRef();_n.current=yt,S.useEffect(function(){if(de){var dn,x=function(N){var he=Tn.current,fe=he.dragging,He=he.pageY,Ae=he.startTop;H.Z.cancel(dn);var Ye=vt.current.getBoundingClientRect(),nt=g/(o?Ye.width:Ye.height);if(fe){var dt=(b(N,o)-He)*nt,it=Ae;!ut&&o?it-=dt:it+=dt;var qe=$n.current,ot=_n.current,Ct=ot?it/ot:0,lt=Math.ceil(Ct*qe);lt=Math.max(lt,0),lt=Math.min(lt,qe),dn=(0,H.Z)(function(){s(lt,o)})}},A=function(){h(!1),G()};return window.addEventListener("mousemove",x,{passive:!0}),window.addEventListener("touchmove",x,{passive:!0}),window.addEventListener("mouseup",A,{passive:!0}),window.addEventListener("touchend",A,{passive:!0}),function(){window.removeEventListener("mousemove",x),window.removeEventListener("touchmove",x),window.removeEventListener("mouseup",A),window.removeEventListener("touchend",A),H.Z.cancel(dn)}}},[de]),S.useEffect(function(){return Nn(),function(){clearTimeout(Ut.current)}},[d]),S.useImperativeHandle(Ke,function(){return{delayHidden:Nn}});var mn="".concat(B,"-scrollbar"),Zt={position:"absolute",visibility:Yt?null:"hidden"},yn={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return o?(Object.assign(Zt,{height:8,left:0,right:0,bottom:0}),Object.assign(yn,(0,j.Z)({height:"100%",width:K},ut?"left":"right",vn))):(Object.assign(Zt,(0,j.Z)({width:8,top:0,bottom:0},ut?"right":"left",0)),Object.assign(yn,{width:"100%",height:K,top:vn})),S.createElement("div",{ref:vt,className:oe()(mn,(0,j.Z)((0,j.Z)((0,j.Z)({},"".concat(mn,"-horizontal"),o),"".concat(mn,"-vertical"),!o),"".concat(mn,"-visible"),Yt)),style:(0,v.Z)((0,v.Z)({},Zt),f),onMouseDown:un,onMouseMove:Nn},S.createElement("div",{ref:It,className:oe()("".concat(mn,"-thumb"),(0,j.Z)({},"".concat(mn,"-thumb-moving"),de)),style:(0,v.Z)((0,v.Z)({},yn),L),onMouseDown:bn}))}),re=le,Q=20;function be(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,B=ve/Ke*ve;return isNaN(B)&&(B=0),B=Math.max(B,Q),Math.floor(B)}var Re=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],ke=[],Fe={overflowY:"auto",overflowAnchor:"none"};function Ue(ve,Ke){var B=ve.prefixCls,w=B===void 0?"rc-virtual-list":B,d=ve.className,n=ve.height,R=ve.itemHeight,G=ve.fullHeight,s=G===void 0?!0:G,o=ve.style,K=ve.data,g=ve.children,f=ve.itemKey,L=ve.virtual,ge=ve.direction,te=ve.scrollWidth,me=ve.component,de=me===void 0?"div":me,h=ve.onScroll,I=ve.onVirtualScroll,ae=ve.onVisibleChange,Ie=ve.innerProps,Se=ve.extraRender,Le=ve.styles,Qe=ve.showScrollBar,Je=Qe===void 0?"optional":Qe,_e=(0,$.Z)(ve,Re),ut=S.useCallback(function(At){return typeof f=="function"?f(At):At==null?void 0:At[f]},[f]),vt=Ve(ut,null,null),It=(0,C.Z)(vt,4),St=It[0],Tt=It[1],Yt=It[2],gt=It[3],Ut=!!(L!==!1&&n&&R),Nn=S.useMemo(function(){return Object.values(Yt.maps).reduce(function(At,wt){return At+wt},0)},[Yt.id,Yt.maps]),mt=Ut&&K&&(Math.max(R*K.length,Nn)>n||!!te),yt=ge==="rtl",vn=oe()(w,(0,j.Z)({},"".concat(w,"-rtl"),yt),d),un=K||ke,Tn=(0,S.useRef)(),bn=(0,S.useRef)(),$n=(0,S.useRef)(),_n=(0,S.useState)(0),mn=(0,C.Z)(_n,2),Zt=mn[0],yn=mn[1],dn=(0,S.useState)(0),x=(0,C.Z)(dn,2),A=x[0],T=x[1],N=(0,S.useState)(!1),he=(0,C.Z)(N,2),fe=he[0],He=he[1],Ae=function(){He(!0)},Ye=function(){He(!1)},nt={getKey:ut};function dt(At){yn(function(wt){var gn;typeof At=="function"?gn=At(wt):gn=At;var In=jt(gn);return Tn.current.scrollTop=In,In})}var it=(0,S.useRef)({start:0,end:un.length}),qe=(0,S.useRef)(),ot=ce(un,ut),Ct=(0,C.Z)(ot,1),lt=Ct[0];qe.current=lt;var Ot=S.useMemo(function(){if(!Ut)return{scrollHeight:void 0,start:0,end:un.length-1,offset:void 0};if(!mt){var At;return{scrollHeight:((At=bn.current)===null||At===void 0?void 0:At.offsetHeight)||0,start:0,end:un.length-1,offset:void 0}}for(var wt=0,gn,In,Xn,Ar=un.length,br=0;br=Zt&&gn===void 0&&(gn=br,In=wt),vr>Zt+n&&Xn===void 0&&(Xn=br),wt=vr}return gn===void 0&&(gn=0,In=0,Xn=Math.ceil(n/R)),Xn===void 0&&(Xn=un.length-1),Xn=Math.min(Xn+1,un.length-1),{scrollHeight:wt,start:gn,end:Xn,offset:In}},[mt,Ut,Zt,un,gt,n]),zt=Ot.scrollHeight,Qt=Ot.start,Rt=Ot.end,Gt=Ot.offset;it.current.start=Qt,it.current.end=Rt,S.useLayoutEffect(function(){var At=Yt.getRecord();if(At.size===1){var wt=Array.from(At.keys())[0],gn=At.get(wt),In=un[Qt];if(In&&gn===void 0){var Xn=ut(In);if(Xn===wt){var Ar=Yt.get(wt),br=Ar-R;dt(function(Wn){return Wn+br})}}}Yt.resetRecord()},[zt]);var Oe=S.useState({width:0,height:n}),Ee=(0,C.Z)(Oe,2),De=Ee[0],Ze=Ee[1],Pe=function(wt){Ze({width:wt.offsetWidth,height:wt.offsetHeight})},Be=(0,S.useRef)(),Ne=(0,S.useRef)(),We=S.useMemo(function(){return be(De.width,te)},[De.width,te]),ft=S.useMemo(function(){return be(De.height,zt)},[De.height,zt]),pt=zt-n,Kt=(0,S.useRef)(pt);Kt.current=pt;function jt(At){var wt=At;return Number.isNaN(Kt.current)||(wt=Math.min(wt,Kt.current)),wt=Math.max(wt,0),wt}var ln=Zt<=0,Bt=Zt>=pt,Pt=A<=0,tn=A>=te,sn=y(ln,Bt,Pt,tn),nn=function(){return{x:yt?-A:A,y:Zt}},Jt=(0,S.useRef)(nn()),qt=(0,O.useEvent)(function(At){if(I){var wt=(0,v.Z)((0,v.Z)({},nn()),At);(Jt.current.x!==wt.x||Jt.current.y!==wt.y)&&(I(wt),Jt.current=wt)}});function xn(At,wt){var gn=At;wt?((0,E.flushSync)(function(){T(gn)}),qt()):dt(gn)}function en(At){var wt=At.currentTarget.scrollTop;wt!==Zt&&dt(wt),h==null||h(At),qt()}var Rn=function(wt){var gn=wt,In=te?te-De.width:0;return gn=Math.max(gn,0),gn=Math.min(gn,In),gn},Gn=(0,O.useEvent)(function(At,wt){wt?((0,E.flushSync)(function(){T(function(gn){var In=gn+(yt?-At:At);return Rn(In)})}),qt()):dt(function(gn){var In=gn+At;return In})}),Wt=p(Ut,ln,Bt,Pt,tn,!!te,Gn),st=(0,C.Z)(Wt,2),ct=st[0],Ht=st[1];F(Ut,Tn,function(At,wt,gn,In){var Xn=In;return sn(At,wt,gn)?!1:!Xn||!Xn._virtualHandled?(Xn&&(Xn._virtualHandled=!0),ct({preventDefault:function(){},deltaX:At?wt:0,deltaY:At?0:wt}),!0):!1}),U(mt,Tn,function(At){dt(function(wt){return wt+At})}),(0,se.Z)(function(){function At(gn){var In=ln&&gn.detail<0,Xn=Bt&&gn.detail>0;Ut&&!In&&!Xn&&gn.preventDefault()}var wt=Tn.current;return wt.addEventListener("wheel",ct,{passive:!1}),wt.addEventListener("DOMMouseScroll",Ht,{passive:!0}),wt.addEventListener("MozMousePixelScroll",At,{passive:!1}),function(){wt.removeEventListener("wheel",ct),wt.removeEventListener("DOMMouseScroll",Ht),wt.removeEventListener("MozMousePixelScroll",At)}},[Ut,ln,Bt]),(0,se.Z)(function(){if(te){var At=Rn(A);T(At),qt({x:At})}},[De.width,te]);var Nt=function(){var wt,gn;(wt=Be.current)===null||wt===void 0||wt.delayHidden(),(gn=Ne.current)===null||gn===void 0||gn.delayHidden()},Cn=q(Tn,un,Yt,R,ut,function(){return Tt(!0)},dt,Nt);S.useImperativeHandle(Ke,function(){return{nativeElement:$n.current,getScrollInfo:nn,scrollTo:function(wt){function gn(In){return In&&(0,c.Z)(In)==="object"&&("left"in In||"top"in In)}gn(wt)?(wt.left!==void 0&&T(Rn(wt.left)),Cn(wt.top)):Cn(wt)}}}),(0,se.Z)(function(){if(ae){var At=un.slice(Qt,Rt+1);ae(At,un)}},[Qt,Rt,un]);var En=ne(un,ut,Yt,R),rn=Se==null?void 0:Se({start:Qt,end:Rt,virtual:mt,offsetX:A,offsetY:Gt,rtl:yt,getSize:En}),nr=$e(un,Qt,Rt,te,A,St,g,nt),Hn=null;n&&(Hn=(0,v.Z)((0,j.Z)({},s?"height":"maxHeight",n),Fe),Ut&&(Hn.overflowY="hidden",te&&(Hn.overflowX="hidden"),fe&&(Hn.pointerEvents="none")));var dr={};return yt&&(dr.dir="rtl"),S.createElement("div",(0,u.Z)({ref:$n,style:(0,v.Z)((0,v.Z)({},o),{},{position:"relative"}),className:vn},dr,_e),S.createElement(ee.Z,{onResize:Pe},S.createElement(de,{className:"".concat(w,"-holder"),style:Hn,ref:Tn,onScroll:en,onMouseEnter:Nt},S.createElement(X,{prefixCls:w,height:zt,offsetX:A,offsetY:Gt,scrollWidth:te,onInnerResize:Tt,ref:bn,innerProps:Ie,rtl:yt,extra:rn},nr))),mt&&zt>n&&S.createElement(re,{ref:Be,prefixCls:w,scrollOffset:Zt,scrollRange:zt,rtl:yt,onScroll:xn,onStartMove:Ae,onStopMove:Ye,spinSize:ft,containerSize:De.height,style:Le==null?void 0:Le.verticalScrollBar,thumbStyle:Le==null?void 0:Le.verticalScrollBarThumb,showScrollBar:Je}),mt&&te>De.width&&S.createElement(re,{ref:Ne,prefixCls:w,scrollOffset:A,scrollRange:te,rtl:yt,onScroll:xn,onStartMove:Ae,onStopMove:Ye,spinSize:We,containerSize:De.width,horizontal:!0,style:Le==null?void 0:Le.horizontalScrollBar,thumbStyle:Le==null?void 0:Le.horizontalScrollBarThumb,showScrollBar:Je}))}var Ge=S.forwardRef(Ue);Ge.displayName="List";var at=Ge,Xe=at}}]); diff --git a/p__Paperlibrary__Random__Edit__index.416e3b4a.async.js b/p__Paperlibrary__Random__Edit__index.75439ef9.async.js similarity index 59% rename from p__Paperlibrary__Random__Edit__index.416e3b4a.async.js rename to p__Paperlibrary__Random__Edit__index.75439ef9.async.js index 6ee1fb29c0..3c580e7e20 100644 --- a/p__Paperlibrary__Random__Edit__index.416e3b4a.async.js +++ b/p__Paperlibrary__Random__Edit__index.75439ef9.async.js @@ -1,4 +1,4 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[5816],{89489:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},59477:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},49198:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},87169:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},52671:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},8657:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},56082:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},33853:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},12893:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},15075:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},32134:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},43531:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},38819:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(je,ze){return ue.createElement(De.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},96408:function(Bt,Zt){"use strict";Zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},58e3:function(Bt,Zt){"use strict";Zt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},70414:function(Bt,Zt,ne){"use strict";var y=ne(59301),ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ie=(Ke,je,ze)=>je in Ke?ue(Ke,je,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ke[je]=ze,se=(Ke,je)=>{for(var ze in je||(je={}))Oe.call(je,ze)&&Ie(Ke,ze,je[ze]);if(Ce)for(var ze of Ce(je))De.call(je,ze)&&Ie(Ke,ze,je[ze]);return Ke};const Ze=Ke=>React.createElement("svg",se({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Ke),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));Zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},25863:function(){"use strict";function Bt(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(Bt.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(Bt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(Bt.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(Bt.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof Bt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var Zt=[];function ne(le,E){var a=Zt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function y(){var le=Zt.pop();return le===void 0?new go.Point:le}function ue(le){Zt.push(le)}function Ce(le,E,a,x,b,z,te,re,ie){ie||(ie=new go.Point);var ge=le-a,fe=b-te,ce=NaN,xe=NaN;if(ge===0)if(fe===0)le===a&&(ce=le,xe=E);else{var ye=(z-re)/fe,Ne=z-ye*b;ce=le,xe=ye*ce+Ne}else if(fe===0){var pe=(E-x)/ge,Xe=E-pe*le;ce=b,xe=pe*ce+Xe}else{var pe=(E-x)/ge,ye=(z-re)/fe,Xe=E-pe*le,Ne=z-ye*b;ce=(Ne-Xe)/(pe-ye),xe=pe*ce+Xe}return ie.x=ce,ie.y=xe,ie}function Oe(le,E,a,x,b,z,te,re,ie,ge,fe,ce,xe,ye){var Ne=1-ie,pe=ie,Xe=le*Ne+a*pe,We=E*Ne+x*pe,dt=a*Ne+b*pe,Re=x*Ne+z*pe,_e=b*Ne+te*pe,mt=z*Ne+re*pe,Qe=Xe*Ne+dt*pe,at=We*Ne+Re*pe,Ht=dt*Ne+_e*pe,ht=Re*Ne+mt*pe,zt=Qe*Ne+Ht*pe,Kt=at*Ne+ht*pe;ge.x=Xe,ge.y=We,fe.x=Qe,fe.y=at,ce.x=zt,ce.y=Kt,xe.x=Ht,xe.y=ht,ye.x=_e,ye.y=mt}var De=new go.Spot(.156,.156),Ie=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Bt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*se,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,E,a){var x=E/2,b=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=De,b.spot2=Ie,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,se*E,0,E,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,se*a,(1-se)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,se*a,se*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*E,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Bt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(x=.5);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=De,z.spot2=Ie,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new Bt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Bt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,b=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,te,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=se/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*E,z*a,E,(1-x)*a,(b+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Bt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Bt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new Bt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var z=E/2,te=a/2,re=Math.atan2(a,E),ie=x-Math.min(Math.cos(re)*x/2,z),ge=x-Math.min(Math.sin(re)*x/2,te),b=new go.Geometry,fe=new go.PathFigure(ie,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),fe.add(new go.PathSegment(go.PathSegment.Line,E-ie,0)),fe.add(new go.PathSegment(go.PathSegment.Line,E,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,E,a-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,E-ie,a)),fe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),fe.add(new go.PathSegment(go.PathSegment.Line,ie,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new Bt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new Bt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new Bt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,se*E,0,E,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+se/2)*a,se*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.4*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,re=0,ie=z*se;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-ie+re)*a,(.5+ie+te)*E,(.5-z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te+.05)*E,(.5-ie+re-.02)*a)),z=.2,te=0,re=-.3,ie=z*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-ie+re)*a,(.5+ie+te)*E,(.5-z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),z=.2,te=-.3,re=0,ie=z*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te-.05)*E,(.5-ie+re-.02)*a,(.5+ie+te)*E,(.5-z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,re*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*re,z*E,z*E).close()),b=new go.PathFigure(E*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,b=new go.PathFigure((te+z)*E,re*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,b=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=.5,re=.5,ie=new go.PathFigure(te*E,(re-z)*a);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),z=.4,b=se*.4;var ge=y(),fe=y(),ce=y(),xe=y();Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.42,ge,fe,ce,xe,xe);var ye=y(),Ne=y(),pe=y();Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.58,xe,xe,pe,ye,Ne);var Xe=y(),We=y(),dt=y();Oe(te,re+z,te-b,re+z,te-z,re+b,te-z,re,.42,Xe,We,dt,xe,xe);var Re=y(),_e=y(),mt=y();return Oe(te,re+z,te-b,re+z,te-z,re+b,te-z,re,.58,xe,xe,mt,Re,_e),ie.add(new go.PathSegment(go.PathSegment.Move,mt.x*E,mt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,Re.x*E,Re.y*a,_e.x*E,_e.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,ge.x*E,ge.y*a,fe.x*E,fe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,dt.x*E,dt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,pe.x*E,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,ye.x*E,ye.y*a,Ne.x*E,Ne.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,dt.x*E,dt.y*a,Xe.x*E,Xe.y*a,We.x*E,We.y*a).close()),ue(ge),ue(fe),ue(ce),ue(xe),ue(ye),ue(Ne),ue(pe),ue(Xe),ue(We),ue(dt),ue(Re),ue(_e),ue(mt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Bt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var b=(E-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,E,a){var x=new go.Geometry,b=se*.4,z=.4,te=.5,re=.5,ie=y(),ge=y(),fe=y(),ce=y(),xe=new go.PathFigure((te-z)*E,re*a,!1);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.44,fe,ce,ge,ie,ie),xe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a));var ye=ne(ge.x,ge.y);Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.56,ie,ie,ge,fe,ce);var Ne=ne(ge.x,ge.y);xe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*E,ye.y*.1*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*E,ye.y*.1*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),xe.add(new go.PathSegment(go.PathSegment.Line,E,0)),xe.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.9)*E,.15*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.9)*E,(Ne.y*.1+.05*.9)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,Ne.x*E,Ne.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),z=.35,b=se*.35;var pe=new go.PathFigure(te*E,(re-z)*a,!1);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a));var Xe=new go.PathFigure((te-z)*E,re*a,!1);return x.add(Xe),ue(ie),ue(ge),ue(fe),ue(ce),ue(ye),ue(Ne),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,b=.375,z=0,te=-.125,re=b*se,ie=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+re+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-re+te)*a,(.5+re+z)*E,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+re+te)*a,(.5-re+z)*E,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),b=.325,z=0,te=-.125,re=b*se;var ie=new go.PathFigure((1-.5+b+z)*E,(.5+te)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+re+te)*a,(.5+re+z)*E,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-re+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-re+te)*a,(.5-re+z)*E,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+re+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-re+te)*a));var ie=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);return x.add(ie),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Bt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Bt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=le?le.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*E,te=(.5-b/2)*a,re=(.5+b/2)*a,ie=new go.Geometry,ge=new go.PathFigure(0,te,!0);ie.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,te)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,te/a);var fe=Ce(0,re/a,1,re/a,z/E,1,1,.5,y());return ie.spot2=new go.Spot(fe.x,fe.y),ue(fe),ie}),go.Shape.setFigureParameter("Arrow2",0,new Bt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Bt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var b=le?le.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var z=E-x,te=(a-b)/2,re=te+b,ie=new go.Geometry,ge=new go.PathFigure(0,te,!0);ie.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,te)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,te/a);var fe=Ce(0,re/a,1,re/a,z/E,1,1,.5,y());return ie.spot2=new go.Spot(fe.x,fe.y),ue(fe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Bt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ie=Ce(0,.5,.3,0,0,b/a,.1,b/a,y());return te.spot1=new go.Spot(ie.x,ie.y),ie=Ce(.7,1,1,.5,0,z/a,1,z/a,ie),te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Bt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Bt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var b=le?le.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,re=(a-b)/2,ie=re+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,re=0,ie=a):(z=0,te=a,re=0,ie=a));var ge=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var ce=Ce(0,.5,.3,re/a,0,z/a,1,z/a,y());return ge.spot1=new go.Spot(ce.x,ce.y),ce=Ce(.7,ie/a,1,.5,0,te/a,1,te/a,ce),ge.spot2=new go.Spot(ce.x,ce.y),ue(ce),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new Bt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,b/a);var ie=Ce(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new Bt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Bt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var b=le?le.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,re=(a-b)/2,ie=re+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,re=0,ie=a):(z=0,te=a,re=0,ie=a));var ge=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ge.spot1=new go.Spot(0,z/a);var ce=Ce(.7,ie/a,1,.5,0,te/a,1,te/a,y());return ge.spot2=new go.Spot(ce.x,ce.y),ue(ce),ge}),go.Shape.setFigureParameter("Pointer",0,new Bt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=Ce(.2,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),ue(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new Bt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b.spot1=new go.Spot(x,.35);var te=Ce(0,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),ue(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new Bt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var ie=Ce(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Bt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,z=b+x;x>a&&(b=0,z=a);var te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,b/a);var ie=Ce(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("SquareArrow",0,new Bt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,se*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,se*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-se*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-se*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-se*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-se*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(0,a-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,se*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,se*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-se*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-se*x));var re=new go.PathFigure(0,a-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-se*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-se*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-se*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-se*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,se*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+se*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+se*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(E-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-se*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-se*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,se*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var re=new go.PathFigure(E-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-se*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-se*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,b=.2,z=.1,te=se*b,re=se*z,ie=.5,ge=.1,fe=new go.PathFigure(ie*E,(ge+z)*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*E,ge*a,(ie-te)*E,(ge+z)*a,(ie-b)*E,(ge+re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-z)*a,(ie-b)*E,(ge-re)*a,(ie-te)*E,(ge-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*E,ge*a,(ie+te)*E,(ge-z)*a,(ie+b)*E,(ge-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+z)*a,(ie+b)*E,(ge+re)*a,(ie+te)*E,(ge+z)*a));var ce=.05,xe=se*ce;ie=.05,ge=.25;var ye=new go.PathFigure(.5*E,.2*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ie=.95,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ce)*E,ge*a,(ie+xe)*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),ce=.025,xe=se*ce,ie=.825,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a,(ie+xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ce)*E,ge*a,(ie-xe)*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),ce=.05,xe=se*ce,ie=.5,ge=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a,(ie+xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ce)*E,ge*a,(ie-xe)*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),ce=.025,xe=se*ce,ie=.175,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a,(ie+xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ce)*E,ge*a,(ie-xe)*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ce=.05,xe=se*ce,ie=.05,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a,(ie-xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new Bt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+b)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=se*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,b*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(b*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=se*.5,re=.5,ie=new go.PathFigure(E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+te)*a,(re+te)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-te)*E,a,0,(re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-te)*a,(re-te)*E,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+te)*E,0,E,(re-te)*a));var ge=new go.PathFigure((z+b)*E,(z+b)*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ge.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Line,(z+b)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+b)*a,(z+b)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*b*E,b*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*E,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var re=new go.PathFigure(E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,b=se*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+b)*E,0,E,(.5-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+b)*a,(.5+b)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ie=new go.PathFigure(.8*E,.75*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,b=se*.1,z=.1,te=.9,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ge=new go.PathFigure((te+z)*E,re*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re-z)*a,(te+z)*E,(re-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.4,te=se*.1,re=.1,ie=.9,ge=.5,fe=new go.PathFigure(.8*E,.5*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+b)*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+b)*E,0,.8*E,(.5-z)*a));var ce=new go.PathFigure((ie+re)*E,ge*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+re)*a,(ie+re)*E,(ge+te)*a,(ie+te)*E,(ge+re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ge*a,(ie-te)*E,(ge+re)*a,(ie-re)*E,(ge+te)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-re)*a,(ie-re)*E,(ge-te)*a,(ie-te)*E,(ge-re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ge*a,(ie+te)*E,(ge-re)*a,(ie+re)*E,(ge-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=0,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-b)*a,.7*E,(re-z)*a)),b=.1,z=se*.1,te=.9,re=.5;var ge=new go.PathFigure((te-b)*E,re*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=0,re=.5,ie=new go.PathFigure(0,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(re-b)*a,.8*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(te+z+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.8*E,.5*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-b)*a,.7*E,(re-z)*a)),b=.1,z=se*.1,te=.9,re=.5;var fe=new go.PathFigure((te-b)*E,re*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.2*E,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(re-b)*a,.9*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,b=se*.1,z=.1,te=.1,re=.5,ie=new go.PathFigure((te-b*.5)*E,a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*E,a,(te+z)*E,0,(te+b)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=.5,re=.5,ie=new go.PathFigure((te-z)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re-z)*a,(te+z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,re*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,re*a,te*E,(re-z)*a,te*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,b=E,z=a;E=E*.38,a=a*.6;var te=se*.8,re=.8,ie=0,ge=.5,fe=(b-E)/2,ce=(z-a)/2,xe=new go.PathFigure(ie*E+fe,(ge+re)*a+ce,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ge*a+ce,(ie-te)*E+fe,(ge+re)*a+ce,(ie-re)*E+fe,(ge+te)*a+ce)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie-re)*E+fe,(ge-te)*a+ce,(ie-te)*E+fe,(ge-re)*a+ce)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge-re)*a+ce,(ie-re+te*.5)*E+fe,(ge-te)*a+ce)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie-re+te*.5)*E+fe,(ge+te)*a+ce,ie*E+fe,(ge+re)*a+ce).close()),te=se*.4,re=.4,ie=.2,ge=.5;var ye=new go.PathFigure(ie*E+fe,(ge+re)*a+ce,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ge*a+ce,(ie-te)*E+fe,(ge+re)*a+ce,(ie-re)*E+fe,(ge+te)*a+ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie-re)*E+fe,(ge-te)*a+ce,(ie-te)*E+fe,(ge-re)*a+ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge-re)*a+ce,(ie-re+te*.5)*E+fe,(ge-te)*a+ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie-re+te*.5)*E+fe,(ge+te)*a+ce,ie*E+fe,(ge+re)*a+ce).close()),te=se*.2,re=.2,ie=.5,ge=.5;var Ne=new go.PathFigure((ie-re)*E+fe,ge*a+ce,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie-re)*E+fe,(ge-te)*a+ce,(ie-te)*E+fe,(ge-re)*a+ce)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ge*a+ce,(ie+te)*E+fe,(ge-re)*a+ce,(ie+re)*E+fe,(ge-te)*a+ce)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie+re)*E+fe,(ge+te)*a+ce,(ie+te)*E+fe,(ge+re)*a+ce)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ge*a+ce,(ie-te)*E+fe,(ge+re)*a+ce,(ie-re)*E+fe,(ge+te)*a+ce)),te=se*.4,re=.4,ie=.8,ge=.5;var pe=new go.PathFigure(ie*E+fe,(ge-re)*a+ce,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ge*a+ce,(ie+te)*E+fe,(ge-re)*a+ce,(ie+re)*E+fe,(ge-te)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie+re)*E+fe,(ge+te)*a+ce,(ie+te)*E+fe,(ge+re)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge+re)*a+ce,(ie+re-te*.5)*E+fe,(ge+te)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie+re-te*.5)*E+fe,(ge-te)*a+ce,ie*E+fe,(ge-re)*a+ce).close()),te=se*.8,re=.8,ie=1,ge=.5;var Xe=new go.PathFigure(ie*E+fe,(ge-re)*a+ce,!0);return x.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ge*a+ce,(ie+te)*E+fe,(ge-re)*a+ce,(ie+re)*E+fe,(ge-te)*a+ce)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie+re)*E+fe,(ge+te)*a+ce,(ie+te)*E+fe,(ge+re)*a+ce)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge+re)*a+ce,(ie+re-te*.5)*E+fe,(ge+te)*a+ce)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie+re-te*.5)*E+fe,(ge-te)*a+ce,ie*E+fe,(ge-re)*a+ce).close()),x}),go.Shape.defineFigureGenerator("Email",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.35*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(le,E,a){var x=new go.Geometry,b=se*.4,z=.4,te=.5,re=.5,ie=y(),ge=y(),fe=y(),ce=y();Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.5,ie,ie,ge,fe,ce);var xe=ne(ge.x,ge.y),ye=new go.PathFigure(ge.x*E,ge.y*a,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),Oe(te-z,re,te-z,re-b,te-b,re-z,te,re-z,.5,fe,ce,ge,ie,ie),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a)),b=se*.3,z=.3,Oe(te-z,re,te-z,re-b,te-b,re-z,te,re-z,.5,fe,ce,ge,ie,ie),ye.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,ce.x*E,ce.y*a,fe.x*E,fe.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.5,ie,ie,ge,fe,ce),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,ce.x*E,ce.y*a,fe.x*E,fe.y*a).close());var ye=new go.PathFigure(.45*E,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),ue(ie),ue(ge),ue(fe),ue(ce),ue(xe),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,re,ie){te.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ie)*a).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.37*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,b=.5,z=0,te=0,re=b*se,ie=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,ce=.5,xe=.5,ye=0,Ne=new go.PathFigure(ie*E,(1-ge)*a,!1);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,ce*a,fe*E,.7*a,fe*E,ce*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe+z)*E,(ye+z)*a,(.5+b+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-b+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-re+te)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-b+z)*E,(.5+re+te)*a,(.5-re+z)*E,.9*a)),Ne.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.7*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,re=.5,ie=te,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),ce=fe*.5,xe=te,ye=te,Ne=fe*xe,pe=fe*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-xe)*E,ie*a,(re-(Ne+xe)/2)*E,(ie+(ye+pe)/2)*a,(re-xe)*E,(ie+pe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ie-ye)*a,(re-xe)*E,(ie-pe)*a,(re-Ne)*E,(ie-ye)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+xe)*E,ie*a,(re+Ne)*E,(ie-ye)*a,(re+xe)*E,(ie-pe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+xe)*E,(ie+pe)*a,(re+(Ne+xe)/2)*E,(ie+(ye+pe)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Xe=new go.PathFigure(.2*E,a,!1);x.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var We=new go.PathFigure(.8*E,a,!1);return x.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.05*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.45*E,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,b=.5,z=se*.5,te=new go.PathFigure(E,b*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+z)*a,(b+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-z)*E,a,0,(b+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-z)*a,(b-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+z)*E,0,E,(b-z)*a));var re=new go.PathFigure(b*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,b*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.15*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,re=se*.1,ie=.2,ge=.9,fe=new go.PathFigure((ie-te)*E,ge*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-te)*a,(ie-te)*E,(ge-re)*a,(ie-re)*E,(ge-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*E,ge*a,(ie+re)*E,(ge-te)*a,(ie+te)*E,(ge-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+te)*a,(ie+te)*E,(ge+re)*a,(ie+re)*E,(ge+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*E,ge*a,(ie-re)*E,(ge+te)*a,(ie-te)*E,(ge+re)*a).close()),te=.1,re=se*.1,ie=.8,ge=.9;var ce=new go.PathFigure((ie-te)*E,ge*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-te)*a,(ie-te)*E,(ge-re)*a,(ie-re)*E,(ge-te)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*E,ge*a,(ie+re)*E,(ge-te)*a,(ie+te)*E,(ge-re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+te)*a,(ie+te)*E,(ge+re)*a,(ie+re)*E,(ge+te)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*E,ge*a,(ie-re)*E,(ge+te)*a,(ie-te)*E,(ge+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ie=.1,ge=se*.1,fe=.1,ce=.9,xe=new go.PathFigure((fe-ie)*E,ce*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce-ie)*a,(fe-ie)*E,(ce-ge)*a,(fe-ge)*E,(ce-ie)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ie)*E,ce*a,(fe+ge)*E,(ce-ie)*a,(fe+ie)*E,(ce-ge)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce+ie)*a,(fe+ie)*E,(ce+ge)*a,(fe+ge)*E,(ce+ie)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ie)*E,ce*a,(fe-ge)*E,(ce+ie)*a,(fe-ie)*E,(ce+ge)*a)),ie=.1,ge=se*.1,fe=.4,ce=.9;var ye=new go.PathFigure((fe-ie)*E,ce*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce-ie)*a,(fe-ie)*E,(ce-ge)*a,(fe-ge)*E,(ce-ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ie)*E,ce*a,(fe+ge)*E,(ce-ie)*a,(fe+ie)*E,(ce-ge)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce+ie)*a,(fe+ie)*E,(ce+ge)*a,(fe+ge)*E,(ce+ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ie)*E,ce*a,(fe-ge)*E,(ce+ie)*a,(fe-ie)*E,(ce+ge)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var fe=.05,ce=se*.05,xe=.175,ye=.95,re=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a));var fe=.05,ce=se*.05,xe=.375,ye=.95,ie=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a));var fe=.05,ce=se*.05,xe=.625,ye=.95,ge=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a));var fe=.05,ce=se*.05,xe=.825,ye=.95,Ne=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a).close());var pe=new go.PathFigure(0,a,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ie=se*.05,ge=.35,fe=.775,ce=new go.PathFigure((ge-re)*E,fe*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(fe-re)*a,(ge-re)*E,(fe-ie)*a,(ge-ie)*E,(fe-re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge+re)*E,fe*a,(ge+ie)*E,(fe-re)*a,(ge+re)*E,(fe-ie)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(fe+re)*a,(ge+re)*E,(fe+ie)*a,(ge+ie)*E,(fe+re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge-re)*E,fe*a,(ge-ie)*E,(fe+re)*a,(ge-re)*E,(fe+ie)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,b=.3,z=se*.3,te=.5,re=.7,ie=new go.PathFigure((te-b)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a));var ge=new go.PathFigure(0,.7*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,b=.5,z=se*.5,te=.5,re=.5,ie=new go.PathFigure((te-b)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a));var ge=new go.PathFigure(.15*E,.5*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,b=.5,z=se*.5,te=.5,re=.5,ie=new go.PathFigure((te-b)*E,re*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a).close()),b=.05,z=se*.05,te=.5,re=.8;var ge=new go.PathFigure((te-b)*E,re*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ie=new go.PathFigure(.5*E,.1*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ie=new go.PathFigure(E*.816,a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ie=new go.PathFigure(E*1,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.55*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,b=8,z=b*se,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ie=new go.PathFigure(E*.83,a*1,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ge=new go.PathFigure(E*.78,a*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*se,z=a*.8,te=new go.Geometry,re=new go.PathFigure(x,0,!0);return te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-b,E-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,b=15,z=b*se,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Bt={},Zt="5.0",ne={},y=null,ue=!1,Ce=!1,Oe=null,De=!1,Ie=null,se=null,Ze=0;Ze4?parseFloat(Ve):5};Bt.setHTML5Codebase=function(Ve,ut){se=Ve,ht(Ve,ut)},Bt.setJavaCodebase=Bt.setJavaCodebaseVersion=Bt.isCompiledInstalled=Bt.setPreCompiledScriptPath=Bt.setPreCompiledResourcePath=function(){},Bt.setHTML5CodebaseVersion=function(Ve,ut){var Mt=parseFloat(Ve);if(Mt!==NaN&&Mt<5){console.log("The GeoGebra HTML5 codebase version "+Mt+" is deprecated. Using version latest instead.");return}Ie=Ve,Ht(Ve,ut)},Bt.getHTML5CodebaseVersion=function(){return le},Bt.getParameters=function(){return ne},Bt.setFontsCSSURL=function(Ve){te=Ve},Bt.setGiacJSURL=function(Ve){},Bt.setJNLPFile=function(Ve){je=Ve},Bt.setJNLPBaseDir=function(Ve){},Bt.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ut="auto",Mt=ne.id,un,Dt=!1,en=0;en=5)return!0;var Ve=Bt.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},Bt.startAnimation=function(){var Ve=Bt.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},Bt.stopAnimation=function(){var Ve=Bt.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},Bt.getAppletObject=function(){var Ve=ne.id!==void 0?ne.id:"ggbApplet";return window[Ve]},Bt.resize=function(){};var Ne=function(Ve,ut,Mt){var un=document.createElement("param");un.setAttribute("name",ut),un.setAttribute("value",Mt),Ve.appendChild(un)},pe=function(Ve){return Ve&&Ve!=="false"},Xe=function(Ve,ut,Mt){ie(le)<=4.2&&(Mt=!0);var un=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(un=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Dt=document.createElement("div");Dt.classList.add("appletParameters","notranslate");var en=ut.width,Be=ut.height;if(ut.disableAutoScale=ut.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ut.disableAutoScale,ut.width!==void 0)if(ie(le)<=4.4)pe(ut.showToolBar)&&(ut.height-=7),pe(ut.showAlgebraInput)&&(ut.height-=37),ut.width<605&&pe(ut.showToolBar)&&(ut.width=605,en=605);else{var Jt=100;(pe(ut.showToolBar)||pe(ut.showMenuBar))&&(ut.hasOwnProperty("customToolBar")&&(ut.customToolbar=ut.customToolBar),Jt=pe(ut.showMenuBar)?245:155),en=5?(ut.appletOnLoad=function(Te){var Ct=Ve.querySelector(".ggb_preview");Ct&&Ct.parentNode.removeChild(Ct),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Ot),window.GGBT_wsf_view&&$(window).trigger("resize"),Nt(Te)},tt||Ot.appendChild(Ye)):Dt.appendChild(Ye),Ot.appendChild(Dt),tt||Ve.appendChild(Ot),setTimeout(function(){Bt.resize()},1)}else{var Fe=document.createElement("div");Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.appendChild(Dt),Ve.appendChild(Fe),ut.appletOnLoad=function(Te){Bt.resize(),Nt(Te)}}function he(Te,Ct){Ct&&typeof Ct.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Te,Ct.appletOnLoad):renderGGBElement(Te),zt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ct)}function et(Te,Ct){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Te,params:Ct}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(pn){he(pn.article,pn.params)}),html5AppletsToProcess=null)},ie(le)<5&&(Te.className+=" geogebraweb")):he(Te,Ct)}if(un){scriptLoadStarted=!0;for(var Lt=0;Lt0?(yn.remove(),Ot.attr("id","fullscreencontent").show(),jQuery(Nt).append(Ot),window.dispatchEvent(new Event("resize"))):Xe(yn,ut,!1),window.GGBT_wsf_view.launchFullScreen(Nt)}else Le=un,Xe(Ve,ut,!1);if(!window.GGBT_wsf_view)for(Be=0;BeVe/4*3&&(yn=Ve/4*3),Nt=yn/5.8,Jt.setAttribute("src",b),Jt.setAttribute("width",yn),Jt.setAttribute("height",Nt);var Ot=(Ve-yn)/2,tt=(ut-Nt)/2;Jt.style.left=Ot+"px",Jt.style.top=tt+"px",Dt.appendChild(Jt)}}return Dt.appendChild(Be),Dt},Qe=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},at=["web","webSimple","web3d","tablet","tablet3d","phone"],Ht=function(Ve,ut){if(le=Ve,ut){ht(le,!0);return}var Mt=!ue;if(Mt){var un=ie(le);!isNaN(un)&&un<4.4&&(Mt=!1)}var Dt,en;window.location.protocol.substr(0,4)==="http"?Dt=window.location.protocol:Dt="http:";var Be=le.indexOf("//");Be>0?en=le:Be===0?en=Dt+le:en="https://www.geogebra.org/apps/5.2.814.0/";for(var Jt in at)if(le.slice(at[Jt].length*-1)===at[Jt]||le.slice((at[Jt].length+1)*-1)===at[Jt]+"/"){ht(en,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Mt&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!pe(ne.showToolBar)&&!pe(ne.showMenuBar)&&!pe(ne.showAlgebraInput)&&!pe(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?en+="webSimple/":en+="web3d/",ht(en,!1)},ht=function(Ve,ut){if(Ve.requirejs){ze=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),ze=Ve,ut===null&&(ut=Ve.indexOf("http")===-1),He=ut,E="web.nocache.js",a=!1;var Mt=ze.split("/");Mt.length>1&&(!ut&&Mt[Mt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):at.indexOf(Mt[Mt.length-2])>=0&&(E=Mt[Mt.length-2]+".nocache.js")),Mt=Ve.split("/"),le=Mt[Mt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var un=parseFloat(le);un!==NaN&&un<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+un+" is deprecated. Using version latest instead."),Ht("5.0",ut))},zt=function(Ve,ut){window.console&&window.console.log&&(!ut||typeof ut.showLogging=="undefined"||ut.showLogging&&ut.showLogging!=="false")&&console.log(Ve)};ne.material_id!==void 0?ce(Kt):Kt();function Kt(){var Ve=Zt;Ie!==null?Ve=Ie:parseFloat(Ve)<5&&(Ve="5.0"),Ht(Ve,!1),se!==null&&ht(se,He),De=!0}return Bt},GGBAppletUtils=function(){"use strict";function Bt(){return window.GGBT_wsf_edit!==void 0}function Zt(De,Ie){Ie!=1?(De.style.transformOrigin="0% 0% 0px",De.style.webkitTransformOrigin="0% 0% 0px",De.style.transform="scale("+Ie+","+Ie+")",De.style.webkitTransform="scale("+Ie+","+Ie+")",De.style.maxWidth="initial",De.querySelector(".ggb_preview")!==null&&(De.querySelector(".ggb_preview").style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[0]!==void 0&&(De.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),De.querySelectorAll(".ggb_preview img")[1]!==void 0&&(De.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(De.style.transform="none",De.style.webkitTransform="none")}function ne(De,Ie,se,Ze,Ke,je){var ze=null;if(je!=null&&je!="")for(var He=De.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+je+" ")>-1){ze=He;break}else He=He.parentNode;var Le=0,le=0,E=0,a=0,x=0,b=0,z=0;if(ze)Le=ze.offsetWidth,le=Math.max(Ze?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Le=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Le):(Le=window.innerWidth,le=window.innerHeight,E=window.innerWidth),De){var te=De.getBoundingClientRect();te.left>0&&te.left<=Le&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(x=Le-te.width-te.left,b=E<=480?10:30):(b=te.left,x=E<=480?10:30),a=b+x)}if(De&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=De.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return De&&((se===void 0||!se)&&Ie>0&&Ie+a1&&(je=!0)),Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(je=!0),!(De.hasOwnProperty("disableAutoScale")&&De.disableAutoScale))Ke=y(De,Ie,je,se,De.scaleContainerClass);else return Ze;return je&&(!De.hasOwnProperty("scale")||Ze===1)?Ke:Math.min(Ze,Ke)}function Ce(De){var Ie=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Ze=De.getBoundingClientRect(),Ke=(Ie-Ze.width)/2,je=(se-Ze.height)/2;je<0&&(je=0),De.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?De.style.left="40px":De.style.left=Ke+"px",De.style.top=je+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je<40?De.style.top="40px":De.style.top=je+"px",De.style.left=Ke+"px")}function Oe(De,Ie){var se=De.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ie.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(De)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Ze=ue(Ie,De);Bt()&&se.setAttribute("data-param-scale",Ze);for(var Ke=null,je=0;je=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(Bt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Bt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Bt){var Zt=c[Bt];return Zt==null?null:Zt},r=d,webModule.__errFn=e}function B(){function Bt(De){var Ie=De.lastIndexOf(rb);Ie==-1&&(Ie=De.length);var se=De.indexOf(sb);se==-1&&(se=De.length);var Ze=De.lastIndexOf(tb,Math.min(se,Ie));return Ze>=O?De.substring(O,Ze+P):W}function Zt(De){if(!De.match(/^\w+:\/\//)){var Ie=o.createElement(ub);Ie.src=De+vb,De=Bt(Ie.src)}return De}function ne(){var De=__gwt_getMetaProperty(wb);return De!=null?De:W}function y(){for(var De=o.getElementsByTagName(_),Ie=O;IeO?De[De.length-P].href:W}function Ce(){var De=o.location;return De.href==De.protocol+zb+De.host+De.pathname+De.search+De.hash}var Oe=ne();return Oe==W&&(Oe=y()),Oe==W&&(Oe=ue()),Oe==W&&Ce()&&(Oe=Bt(o.location.href)),Oe=Zt(Oe),Oe}function C(Bt){return Bt.match(/^\//)||Bt.match(/^[a-zA-Z]+:\/\//)?Bt:webModule.__moduleBase+Bt}function D(){var Bt=[],Zt=O,ne=[],y=[];function ue(De){var Ie=y[De](),se=ne[De];if(Ie in se)return Ie;var Ze=[];for(var Ke in se)Ze[se[Ke]]=Ke;throw r&&r(De,Ze,Ie),null}if(__gwt_isKnownPropertyValue=function(De,Ie){return Ie in ne[De]},webModule.__getPropMap=function(){var De={};for(var Ie in ne)ne.hasOwnProperty(Ie)&&(De[Ie]=ue(Ie));return De},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var Oe=Ce.indexOf(Db);Oe!=-1&&(Zt=parseInt(Ce.substring(Oe+P),$),Ce=Ce.substring(O,Oe))}catch(De){}return webModule.__softPermutationId=Zt,C(Ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Ax:function(){return Oe},Ds:function(){return De},KI:function(){return se},SI:function(){return Ce},f1:function(){return ue}});var y=ne(74128);function ue(Ze){let Ke=!0;if(Ze.length>0){for(let je=0;jea in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,je=(E,a)=>{for(var x in a||(a={}))se.call(a,x)&&Ke(E,x,a[x]);if(Ie)for(var x of Ie(a))Ze.call(a,x)&&Ke(E,x,a[x]);return E},ze=(E,a)=>Oe(E,De(a)),He=(E,a)=>{var x={};for(var b in E)se.call(E,b)&&a.indexOf(b)<0&&(x[b]=E[b]);if(E!=null&&Ie)for(var b of Ie(E))a.indexOf(b)<0&&Ze.call(E,b)&&(x[b]=E[b]);return x},Le=(E,a,x)=>new Promise((b,z)=>{var te=ge=>{try{ie(x.next(ge))}catch(fe){z(fe)}},re=ge=>{try{ie(x.throw(ge))}catch(fe){z(fe)}},ie=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(te,re);ie((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,b=He(a,["children"]);const[z,te]=(0,ue.useState)(!1);return ue.createElement(y.ZP,ze(je({},b),{loading:z,onClick:re=>Le(void 0,null,function*(){try{te(!0),yield b.onClick(re),te(!1)}catch(ie){console.error(ie),te(!1)}})}),x)}},71067:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Le}});var y=ne(59301),ue=ne(8591),Ce=ne(92832),Oe={codeBox:"codeBox___WpkVl"},De=ne(92310),Ie=ne.n(De),se=Object.defineProperty,Ze=(le,E,a)=>E in le?se(le,E,{enumerable:!0,configurable:!0,writable:!0,value:a}):le[E]=a,Ke=(le,E,a)=>Ze(le,typeof E!="symbol"?E+"":E,a),je=(le,E,a)=>new Promise((x,b)=>{var z=ie=>{try{re(a.next(ie))}catch(ge){b(ge)}},te=ie=>{try{re(a.throw(ie))}catch(ge){b(ge)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});class ze extends y.Component{constructor(E){super(E),Ke(this,"canvas"),Ke(this,"randomNum",(a,x)=>Math.floor(Math.random()*(x-a)+a)),Ke(this,"drawPic",()=>{this.randomCode()}),Ke(this,"reloadPic",()=>{this.drawPic()}),Ke(this,"changeCode",a=>{console.log(a.target.value,222),this.setState({value:a.target.value,showError:!1})}),Ke(this,"onVerify",()=>{let a;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(a=!0,ue.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(a=!0,ue.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(a=!1),this.setState({showError:a}),a}),this.canvas=y.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(E,a){const x=this.randomNum(E,a),b=this.randomNum(E,a),z=this.randomNum(E,a);return`rgb(${x}, ${b}, ${z})`}drawText(E,a,x){E.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const b=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);E.font=b+"px SimHei";const z=10,te=(this.state.contentWidth-40)/(this.state.code.length-1);let re=z;x>0&&(re=z+x*te);let ie=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);b>40&&(ie=40);const ge=this.randomNum(-10,10);E.translate(re,ie),E.rotate(ge*Math.PI/180),E.fillText(a,0,0),E.rotate(-ge*Math.PI/180),E.translate(-re,-ie)}drawLine(E){for(let a=0;a<1;a++)E.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),E.beginPath(),E.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.stroke()}drawDot(E){for(let a=0;a<100;a++)E.fillStyle=this.randomColor(0,255),E.beginPath(),E.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),E.fill()}randomCode(){let E="";const a="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let x=0;x{const b=this.canvas.current.getContext("2d");b.textBaseline="bottom",b.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),b.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let z=0;z{let a;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,E),React.createElement(ze,{ref:x=>a=x})),onOk:()=>je(void 0,null,function*(){if(a.onVerify())return Promise.reject();le()})})};var Le=ze},20633:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ke}});var y=ne(59301),ue=ne(92832),Ce=ne(12563),Oe=ne(8591),De={flex:"flex___eLcnP",flex1:"flex1___yUTT7",color666:"color666___TiUhG",error:"error___gTTtv",deleteIcon:"deleteIcon___mnZW1",addIcon:"addIcon___JC5NS"},Ie=ne(62772);const{TextArea:se}=ue.default;class Ze extends y.Component{constructor(ze){super(ze),this.state={inputVisible:!1,EditInputIndex:-1}}render(){let{index:ze,onAnswerChange:He,addChildAnswer:Le,exerciseIsPublish:le,answers:E,activeOptionErrorIndex:a,flex:x="0 0 1000px"}=this.props;console.log("----",E);let{inputVisible:b,EditInputIndex:z}=this.state;return y.createElement("div",{className:De.flex},y.createElement("div",{className:`${De.color666} mb5 mt6`,style:{flex:"0 0 90px"}},"\u7B54\u6848(\u586B\u7A7A",ze+1,"):"),y.createElement("div",{style:{border:"1px solid #f6f6f6",flex:1,padding:10}},E==null?void 0:E.map((te,re)=>y.createElement(y.Fragment,null,z!==re?(te==null?void 0:te.length)>0?y.createElement(Ce.default,{className:"edit-tag",key:te,closable:!((E==null?void 0:E.length)===1&&re===0),onClose:ie=>{ie.preventDefault(),(E==null?void 0:E.length)===1&&re===0?this.props.deleteChildAnswermain(ze,re):this.props.deleteChildAnswer(ze,re)}},y.createElement("span",{onDoubleClick:ie=>{this.setState({EditInputIndex:re}),ie.preventDefault()}},te)):y.createElement(ue.default,{defaultValue:te,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ie=>{if(ie.target.value.replaceAll(" ","").length<=0){Oe.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}He(ze,re,ie.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}):y.createElement(ue.default,{defaultValue:te,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ie=>{if(ie.target.value.replaceAll(" ","").length<=0){Oe.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}He(ze,re,ie.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}))),!b&&y.createElement(Ce.default,{className:"site-tag-plus",onClick:()=>{Le(ze),this.setState({inputVisible:!0})}},y.createElement(Ie.Z,null)," \u65B0\u589E\u7B54\u6848")))}}var Ke=Ze},97805:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return le}});var y=ne(59301),ue=ne(96565),Ce=Object.defineProperty,Oe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Ke=(E,a,x)=>a in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,je=(E,a)=>{for(var x in a||(a={}))se.call(a,x)&&Ke(E,x,a[x]);if(Ie)for(var x of Ie(a))Ze.call(a,x)&&Ke(E,x,a[x]);return E},ze=(E,a)=>Oe(E,De(a)),He=(E,a,x)=>Ke(E,typeof a!="symbol"?a+"":a,x);const Le="\u2581";class le extends y.Component{constructor(){super(...arguments),He(this,"getChCountBeforeCursor",(a,x)=>{const b=x.line;let z=0;for(let re=0;re{const b=a.getRange(x.from,x.to);let z=0;if(x.text.forEach(te=>{z+=te.split(Le).length-1}),b&&b.indexOf(Le)!=-1){const te=b.split(Le).length-1,re=this.getChCountBeforeCursor(a,x.from);console.log(`\u5220\u9664${te}\u4E2A\uFF0C \u4E4B\u524D\u6709${re}\u4E2A\uFF0C\u65B0\u589E${z}\u4E2A`),this.props.deleteEmptyDisabled?x.cancel():this.props.onPlaceholderChange&&this.props.onPlaceholderChange(re,te,z)}else if(z){const te=this.getChCountBeforeCursor(a,x.from);console.log(`\u65B0\u589E${z}\u4E2A\uFF0C\u4E4B\u524D\u6709${te}\u4E2A`),this.props.onPlaceholderChange&&this.props.onPlaceholderChange(te,0,z)}})}render(){return y.createElement(ue.Z,ze(je({},this.props),{onCMBeforeChange:this.onCMBeforeChange}))}}},19471:function(Bt,Zt,ne){"use strict";ne.d(Zt,{d4:function(){return Le},VP:function(){return Ke}});var y=ne(59301),ue={digitalLabel:"digitalLabel___hkWuZ",active:"active___jawU1",titleEditor:"titleEditor___wX1lW",title:"title___SuT2h",editIcon:"editIcon___XrTIi",paperTab:"paperTab___GUxeB",tabItem:"tabItem___or0fY",dottedLine:"dottedLine___Ln0Xr"};const Ce=({number:le,active:E,className:a})=>y.createElement("div",{className:`${ue.digitalLabel} ${E?ue.active:""} ${a}`},le);var Oe=ne(6848),De=ne(92832),Ie=ne(8591),se=ne(59301),Ze=(le,E,a)=>new Promise((x,b)=>{var z=ie=>{try{re(a.next(ie))}catch(ge){b(ge)}},te=ie=>{try{re(a.throw(ie))}catch(ge){b(ge)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});const Ke=({defaultValue:le,onFinish:E})=>{const[a,x]=(0,y.useState)(!1),[b,z]=(0,y.useState)(le);return(0,y.useEffect)(()=>{z(le)},[le]),se.createElement("div",{className:ue.titleEditor},a?se.createElement(De.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:b,onChange:te=>{z(te.target.value)},onBlur:()=>Ze(void 0,null,function*(){var te;if(((te=b==null?void 0:b.replaceAll(" ",""))==null?void 0:te.length)<=0){Ie.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield E(b))&&x(!1)}),onPressEnter:()=>Ze(void 0,null,function*(){var te;if(((te=b==null?void 0:b.replaceAll(" ",""))==null?void 0:te.length)<=0){Ie.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield E(b))&&x(!1)})}):se.createElement("div",{className:ue.title,onDoubleClick:()=>x(!0)},b,se.createElement(Oe.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},se.createElement("i",{className:`${ue.editIcon} iconfont icon-bianji_Hover`,onClick:()=>x(!0)}))))};var je=ne(95237),ze=ne(43604),He=(le,E,a)=>new Promise((x,b)=>{var z=ie=>{try{re(a.next(ie))}catch(ge){b(ge)}},te=ie=>{try{re(a.throw(ie))}catch(ge){b(ge)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});const Le=({onChange:le=()=>He(void 0,null,function*(){}),tabs:E,activeKey:a,defaultActiveKey:x,className:b=""})=>{var z,te,re,ie,ge,fe,ce;const[xe,ye]=(0,y.useState)(x===void 0?(z=E[0])==null?void 0:z.key:x);return(0,y.useEffect)(()=>{a!==void 0&&ye(a)},[a]),y.createElement(je.Z,{justify:"center",align:"middle",className:`${ue.paperTab} ${b}`},y.createElement(ze.Z,{className:`${ue.tabItem} ${xe===((te=E[0])==null?void 0:te.key)?ue.active:""}`,onClick:()=>He(void 0,null,function*(){var Ne;yield le(E[0].key),ye((Ne=E[0])==null?void 0:Ne.key)})},y.createElement(Ce,{number:1,active:xe===((re=E[0])==null?void 0:re.key),className:"mr10"}),y.createElement("span",null,(ie=E[0])==null?void 0:ie.label)),y.createElement(ze.Z,{flex:"188px",className:`${ue.dottedLine} ml30 mr30`}),y.createElement(ze.Z,{className:`${ue.tabItem} ${xe===((ge=E[1])==null?void 0:ge.key)?ue.active:""}`,onClick:()=>He(void 0,null,function*(){var Ne,pe;yield le((Ne=E[1])==null?void 0:Ne.key),ye((pe=E[1])==null?void 0:pe.key)})},y.createElement(Ce,{number:2,active:xe===((fe=E[1])==null?void 0:fe.key),className:"mr10"}),y.createElement("span",null,(ce=E[1])==null?void 0:ce.label)))}},90463:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ie}});var y=ne(60324),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Ce=ne(32637),Oe=ne(59301),Ie=({type:se,style:Ze})=>{const Ke=Oe.createElement("div",{className:ue.wrap,onClick:je=>{je.preventDefault(),je.stopPropagation()}},Oe.createElement("p",null,se==="shixun"||se==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Oe.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",se==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Oe.createElement("div",{className:ue.contact},Oe.createElement("div",{className:ue.img},Oe.createElement("img",{src:Ce,width:"124px",height:"124px"})),Oe.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Oe.createElement(y.Z,{content:Ke},Oe.createElement("span",{className:ue.text,style:Ze},"\u9AD8\u6D88\u8017"))}},16750:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ze}});var y=ne(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ce=ne(92310),Oe=ne.n(Ce),De=ne(71418),Ie=ne(2859),se=ne(38147),Ze=ne(65862),Ke=(He,Le,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(re){a(re)}},b=te=>{try{z(le.throw(te))}catch(re){a(re)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,b);z((le=le.apply(He,Le)).next())}),ze=({data:He,className:Le,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,y.useRef)(null),re=(0,y.useRef)(null),ie=(0,y.useRef)(null),ge=(0,y.useRef)(null),[fe,ce]=(0,y.useState)(!1),[xe,ye]=(0,y.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,y.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),He!=null&&He.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",He!=null&&He.src&&Ne()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[He==null?void 0:He.visible]);const Ne=()=>Ke(void 0,null,function*(){ce(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Re=yield(0,Ze.ZJ)(He==null?void 0:He.src);te.current.src="",te.current.src=Re,te.current.onload=function(){dt()},ce(!1),ye("")}),pe=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Xe=Re=>Ke(void 0,null,function*(){ce(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const _e=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:He.title,file:Re.dataUrl}});_e!=null&&_e.id&&!z?(yield(0,se.ZP)(`/api/attachments/${He.id}/add_subitem.json`,{method:"post",body:{subitem_id:_e==null?void 0:_e.id,settings:JSON.stringify(Re.state)}})).status===0&&x():_e!=null&&_e.id&&x(_e),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",ce(!1),ye("")}),We=()=>{const Re=document.querySelector('a[href="https://markerjs.com/"]');Re&&Re.parentNode&&(Re.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(mt=>{const Qe=document.querySelector(mt.name);Qe&&Qe.setAttribute("title",mt.title)})},dt=()=>{re.current=new Ie.hP(te.current),re.current.targetRoot=ge.current,re.current.addEventListener("render",Xe),re.current.addEventListener("beforeclose",pe),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),He!=null&&He.snapshotData&&re.current.restoreState(He.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return y.createElement(y.Fragment,null,(He==null?void 0:He.visible)&&y.createElement(De.Z,{spinning:fe,tip:xe,style:{position:"absolute"}},y.createElement("div",{ref:ge,className:Oe()(ue.imageDimensions,Le,le?ue.fullWidth:""),style:E},y.createElement("img",{className:ue.img,ref:te}))))}},27687:function(Bt,Zt,ne){"use strict";var y=ne(59301),ue=ne(96408),Ce=ne(48136),Oe=ne(99298),De=ne(43418),Ie=ne(59301);const se=(0,y.forwardRef)(({callback:Ze,width:Ke,onChange:je,disabled:ze,readOnly:He,type:Le="",value:le="",style:E={}},a)=>{const x=(0,y.useRef)(),b=(0,y.useRef)(),[z,te]=(0,y.useState)(0),[re,ie]=(0,y.useState)(0),[ge,fe]=(0,y.useState)(!1),ce=()=>{var pe=document.createElement("div");pe.innerHTML=x.current.getValue();var Xe=pe.innerText;return Ze&&Ze(Xe),Xe};(0,y.useImperativeHandle)(a,()=>({getData:ce}));const xe=pe=>{pe.preventDefault();const Xe=pe.clientX-z,We=pe.clientY-re;document.body.onmousemove=dt=>{let Re=dt.clientX-Xe,_e=dt.clientY-We;const mt=document.getElementsByClassName("markdown-popup-form")[0],Qe=window.innerWidth-mt.offsetWidth,at=window.innerHeight-mt.offsetHeight;Re=Math.max(0,Math.min(Re,Qe)),_e=Math.max(0,Math.min(_e,at)),ye(dt.clientX,dt.clientY,Xe,We)&&(te(Re),ie(_e))},document.body.onmouseup=function(){document.body.onmousemove=null}},ye=(pe,Xe,We,dt)=>{const Re=document.body.clientHeight,_e=document.body.clientWidth;return pe<20&&We>pe||pe>_e-20&&WeXe||Xe>Re-20&&dt{ge&&setTimeout(()=>{const pe=document.getElementsByClassName("markdown-popup-form")[0],Xe=window.innerWidth/2-pe.offsetWidth/2,We=window.innerHeight/2-pe.offsetHeight/2;te(Xe),ie(We)},0)},[ge]);const Ne=()=>{ze||He||fe(!0)};return Ie.createElement("div",{style:E},Ie.createElement("div",{style:{width:Ke||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${ze||He?"cursorDefault":""}`,onClick:()=>Ne()},Ie.createElement("math-field",{disabled:ze,locale:"zh_cn",class:`${ue.Z.mathField} ${Le}`,readOnly:He,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),Ie.createElement(De.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Ie.createElement("div",{style:{cursor:"move"},onMouseDown:xe},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const pe=b.current.getData();x.current.setValue(pe),je(pe),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Ie.createElement(Oe.Z,{value:le,ref:b,onChange:je,showSaveButton:!1})))});Zt.Z=se},99298:function(Bt,Zt,ne){"use strict";var y=ne(59301),ue=ne(95237),Ce=ne(43604),Oe=ne(99313),De=ne(3113),Ie=ne(6339),se=ne(96408),Ze=ne(48136),Ke=ne(59301);const je=(0,y.forwardRef)(({callback:ze,showSaveButton:He,value:Le=""},le)=>{const E=(0,y.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +(self.webpackChunk=self.webpackChunk||[]).push([[5816],{89489:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},59477:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},49198:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},87169:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},52671:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},8657:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},56082:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},33853:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},12893:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},15075:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},32134:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},43531:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},38819:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(je,ze){return ue.createElement(we.Z,(0,y.Z)({},je,{ref:ze,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se},96408:function(At,jt){"use strict";jt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},58e3:function(At,jt){"use strict";jt.Z={wrap:"wrap___ilWvf",deleteIcon:"deleteIcon___JBDG8",keywordTag:"keywordTag___iieCb",questionTitleEditorWrap:"questionTitleEditorWrap___MHB5s",choiceListWrap:"choiceListWrap___jB8b1",choiceWrap:"choiceWrap___QFkTc",choiceIndex:"choiceIndex___Mr2YO",judgementIndex:"judgementIndex___fUVWK",setAnswerBtn:"setAnswerBtn___Whox5",activeAnswer:"activeAnswer___fGU6Y",activeJudgementAnswer:"activeJudgementAnswer___wJv8P",actionWrapper:"actionWrapper___ERQ7k",addIcon:"addIcon___L9TE0",inputBorder:"inputBorder___Q5tRE",placeholder:"placeholder___p9sFY",blankInputNumberWrapper:"blankInputNumberWrapper___uEHb0",addBtn:"addBtn___WR5ZI",blankIndex:"blankIndex___x9Pny",baseInputWrapper:"baseInputWrapper___eVsG7",collapseWrapper:"collapseWrapper___ZTysU",panelHeader:"panelHeader___QSN9g",open:"open___B6FU9",close:"close___QX19r",hide:"hide___mn25n"}},70414:function(At,jt,ne){"use strict";var y=ne(59301),ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ie=(Ke,je,ze)=>je in Ke?ue(Ke,je,{enumerable:!0,configurable:!0,writable:!0,value:ze}):Ke[je]=ze,se=(Ke,je)=>{for(var ze in je||(je={}))Oe.call(je,ze)&&Ie(Ke,ze,je[ze]);if(Ce)for(var ze of Ce(je))we.call(je,ze)&&Ie(Ke,ze,je[ze]);return Ke};const Ze=Ke=>React.createElement("svg",se({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Ke),React.createElement("title",null,"\u7F16\u7EC4 18"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("circle",{fill:"#FCB041",cx:7,cy:7,r:7}),React.createElement("path",{d:"M7.531 9.638a.616.616 0 1 1-1.231 0v-.02a.616.616 0 1 1 1.231 0v.02Zm0-2.25a.616.616 0 1 1-1.231 0V4.117a.616.616 0 1 1 1.231 0v3.273Z",fill:"#FFF",fillRule:"nonzero"})));jt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGQ0IwNDEiIGN4PSI3IiBjeT0iNyIgcj0iNyIvPjxwYXRoIGQ9Ik03LjUzMSA5LjYzOGEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwdi0uMDJhLjYxNi42MTYgMCAxIDEgMS4yMzEgMHYuMDJabTAtMi4yNWEuNjE2LjYxNiAwIDEgMS0xLjIzMSAwVjQuMTE3YS42MTYuNjE2IDAgMSAxIDEuMjMxIDB2My4yNzNaIiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+"},25863:function(){"use strict";function At(le,E,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=le,this._defaultValue=E,this._minimum=a,this._maximum=x}Object.defineProperty(At.prototype,"name",{get:function(){return this._name},set:function(le){if(typeof le!="string"||le==="")throw new Error("Shape name must be a valid string.");this._name=le}}),Object.defineProperty(At.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("The default value must be a real number, not: "+le);this._defaultValue=le}}),Object.defineProperty(At.prototype,"minimum",{get:function(){return this._minimum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Minimum must be a real number, not: "+le);this._minimum=le}}),Object.defineProperty(At.prototype,"maximum",{get:function(){return this._maximum},set:function(le){if(typeof le!="number"||isNaN(le))throw new Error("Maximum must be a real number, not: "+le);this._maximum=le}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(le,E){var a=go.Shape._FigureParameters[le];return a?a[E]:null},go.Shape.setFigureParameter=function(le,E,a){if(!(a instanceof At))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[le];x||(x=[],go.Shape._FigureParameters[le]=x),x[E]=a};var jt=[];function ne(le,E){var a=jt.pop();return a===void 0?new go.Point(le,E):(a.x=le,a.y=E,a)}function y(){var le=jt.pop();return le===void 0?new go.Point:le}function ue(le){jt.push(le)}function Ce(le,E,a,x,b,z,te,re,ie){ie||(ie=new go.Point);var ge=le-a,fe=b-te,ce=NaN,xe=NaN;if(ge===0)if(fe===0)le===a&&(ce=le,xe=E);else{var ye=(z-re)/fe,Ne=z-ye*b;ce=le,xe=ye*ce+Ne}else if(fe===0){var pe=(E-x)/ge,Xe=E-pe*le;ce=b,xe=pe*ce+Xe}else{var pe=(E-x)/ge,ye=(z-re)/fe,Xe=E-pe*le,Ne=z-ye*b;ce=(Ne-Xe)/(pe-ye),xe=pe*ce+Xe}return ie.x=ce,ie.y=xe,ie}function Oe(le,E,a,x,b,z,te,re,ie,ge,fe,ce,xe,ye){var Ne=1-ie,pe=ie,Xe=le*Ne+a*pe,We=E*Ne+x*pe,ut=a*Ne+b*pe,Re=x*Ne+z*pe,_e=b*Ne+te*pe,mt=z*Ne+re*pe,Qe=Xe*Ne+ut*pe,ot=We*Ne+Re*pe,Wt=ut*Ne+_e*pe,ht=Re*Ne+mt*pe,Ht=Qe*Ne+Wt*pe,Kt=ot*Ne+ht*pe;ge.x=Xe,ge.y=We,fe.x=Qe,fe.y=ot,ce.x=Ht,ce.y=Kt,xe.x=Wt,xe.y=ht,ye.x=_e,ye.y=mt}var we=new go.Spot(.156,.156),Ie=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new At("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*se,z=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)).add(new go.PathSegment(go.PathSegment.Line,E,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,a-b,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,1,-b,-b)),z}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=E,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E/2,x.startY=0,x.endX=E/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LineRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)))}),go.Shape.defineFigureGenerator("LineDown",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Line,E,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,a)))}),go.Shape.defineFigureGenerator("LineUp",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,E,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(le,E,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*E,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,E,a/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(le,E,a){var x=E/2,b=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=we,b.spot2=Ie,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=E,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(le,E,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=E,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,se*E,0,E,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,a,0,se*a,(1-se)*E,a)))}),go.Shape.defineFigureGenerator("Curve3",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,se*a,se*E,a)))}),go.Shape.defineFigureGenerator("Curve4",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*E,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new At("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b.5&&(x=.5);var b=Math.abs(x)*E;if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),bE&&(x=E/2);var b=Math.abs(x);if(x===0){var z=new go.Geometry(go.Geometry.Rectangle);return z.startX=0,z.startY=0,z.endX=E,z.endY=a,z}else{var z=new go.Geometry;return x>0?z.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):z.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,E-b,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b0&&(te.add(new go.PathSegment(go.PathSegment.Move,E/2+re,E/2)),te.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),z.spot1=we,z.spot2=Ie,z.defaultStretch=go.GraphObject.Uniform,z}),go.Shape.defineFigureGenerator("Cloud",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*a,-.09239631*E,.07836421*a,.1406031*E,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*a,.2450511*E,-.00697547*a,.3776197*E,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*a,.4539471*E,0,.6066018*E,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*a,.6914277*E,-.01904177*a,.8921095*E,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*a,1.036446*E,.04105738*a,1.020377*E,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*a,1.04448*E,.360238*a,.992256*E,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*a,1.032337*E,.5771781*a,1.018411*E,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*a,1.028411*E,.9571472*a,.8556702*E,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*a,.7431877*E,1.009325*a,.5624123*E,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*a,.4820677*E,1.031761*a,.3030112*E,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*a,.2329994*E,1.01518*a,.03213784*E,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*a,-.02812061*E,.9032597*a,-.01205169*E,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*a,-.01812061*E,.6089503*a,-.00606892*E,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*a,-.01606892*E,.3892545*a,-.01205169*E,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(le,E,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new At("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new At("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(le,E,a){var x=le?le.parameter1:NaN,b=le?le.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var z=x%360;z<0&&(z+=360);var te=b%360,re=Math.min(E,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,z,te,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(le,E,a){var x=se/Math.SQRT2*.5,b=Math.SQRT2/2,z=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*E,z*a,E,(1-x)*a,(b+x)*E,(z+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new At("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new At("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,E)/2,z=E/2,te=a/2;return new go.Geometry().add(new go.PathFigure(z-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,z+b,0)).add(new go.PathSegment(go.PathSegment.Line,z+b,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te-b)).add(new go.PathSegment(go.PathSegment.Line,E,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,te+b)).add(new go.PathSegment(go.PathSegment.Line,z+b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,a)).add(new go.PathSegment(go.PathSegment.Line,z-b,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te+b)).add(new go.PathSegment(go.PathSegment.Line,0,te-b)).add(new go.PathSegment(go.PathSegment.Line,z-b,te-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new At("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(le,E,a){var x=le?le.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),E===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=E,b.endY=a,b}else{var z=E/2,te=a/2,re=Math.atan2(a,E),ie=x-Math.min(Math.cos(re)*x/2,z),ge=x-Math.min(Math.sin(re)*x/2,te),b=new go.Geometry,fe=new go.PathFigure(ie,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,z,.2*a)),fe.add(new go.PathSegment(go.PathSegment.Line,E-ie,0)),fe.add(new go.PathSegment(go.PathSegment.Line,E,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,E,a-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,E-ie,a)),fe.add(new go.PathSegment(go.PathSegment.Line,z,.8*a)),fe.add(new go.PathSegment(go.PathSegment.Line,ie,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new At("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,z=new go.PathFigure(.1*E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new At("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,(1-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*E,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new At("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,a,Math.abs(1-x)*E,.25*a,Math.abs(1-x)*E,.75*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,se*E,0,E,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,(.5+se/2)*a,se*E,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,E,0,E,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*a,.5*E,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*E,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.5*a,.9*E,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.6*E,.2*a,E,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*a,E,.8*a,.6*E,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,.5*E,.75*a,.55*E,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*E,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*a,.45*E,.95*a,.5*E,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*E,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*a,0,.25*a,.4*E,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.4*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,a,.5*E,.75*a,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*a,.55*E,.95*a,.5*E,.75*a));var z=.2,te=.3,re=0,ie=z*se;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-ie+re)*a,(.5+ie+te)*E,(.5-z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te+.05)*E,(.5-ie+re-.02)*a)),z=.2,te=0,re=-.3,ie=z*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+z+te)*E,(.5+re)*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te)*E,(.5-ie+re)*a,(.5+ie+te)*E,(.5-z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ie+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),z=.2,te=-.3,re=0,ie=z*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5-z+re)*a,(1-.5+z+te-.05)*E,(.5-ie+re-.02)*a,(.5+ie+te)*E,(.5-z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-z+te)*E,(.5+re)*a,(.5-ie+te)*E,(.5-z+re)*a,(.5-z+te)*E,(.5-ie+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*E,(.5+z+re)*a,(.5-z+te)*E,(.5+ie+re)*a,(.5-ie+te)*E,(.5+z+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*a,(.5+ie+te)*E,(.5+z+re)*a,(.5+z+te)*E,(.5+ie+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var z=.1,te=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(te+z)*E,re*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*te,a*re,z*E,z*E).close()),b=new go.PathFigure(E*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),re=.75,b=new go.PathFigure((te+z)*E,re*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*te,a*re,z*E,z*E).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(le,E,a){var x=.8535533905932737,b=.5*E,z=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,z,b,z)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,z)).add(new go.PathSegment(go.PathSegment.Line,x*E,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=.5,re=.5,ie=new go.PathFigure(te*E,(re-z)*a);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),z=.4,b=se*.4;var ge=y(),fe=y(),ce=y(),xe=y();Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.42,ge,fe,ce,xe,xe);var ye=y(),Ne=y(),pe=y();Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.58,xe,xe,pe,ye,Ne);var Xe=y(),We=y(),ut=y();Oe(te,re+z,te-b,re+z,te-z,re+b,te-z,re,.42,Xe,We,ut,xe,xe);var Re=y(),_e=y(),mt=y();return Oe(te,re+z,te-b,re+z,te-z,re+b,te-z,re,.58,xe,xe,mt,Re,_e),ie.add(new go.PathSegment(go.PathSegment.Move,mt.x*E,mt.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,Re.x*E,Re.y*a,_e.x*E,_e.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*E,ce.y*a,ge.x*E,ge.y*a,fe.x*E,fe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,mt.x*E,mt.y*a).close()),ie.add(new go.PathSegment(go.PathSegment.Move,ut.x*E,ut.y*a)),ie.add(new go.PathSegment(go.PathSegment.Line,pe.x*E,pe.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,ye.x*E,ye.y*a,Ne.x*E,Ne.y*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ut.x*E,ut.y*a,Xe.x*E,Xe.y*a,We.x*E,We.y*a).close()),ue(ge),ue(fe),ue(ce),ue(xe),ue(ye),ue(Ne),ue(pe),ue(Xe),ue(We),ue(ut),ue(Re),ue(_e),ue(mt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*a,E,.25*a,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,a)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new At("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>E&&(x=E);var b=(E-x)/2,z=b+x;return new go.Geometry().add(new go.PathFigure(z,.5*a).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,E,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(le,E,a){var x=new go.Geometry,b=se*.4,z=.4,te=.5,re=.5,ie=y(),ge=y(),fe=y(),ce=y(),xe=new go.PathFigure((te-z)*E,re*a,!1);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.44,fe,ce,ge,ie,ie),xe.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a));var ye=ne(ge.x,ge.y);Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.56,ie,ie,ge,fe,ce);var Ne=ne(ge.x,ge.y);xe.add(new go.PathSegment(go.PathSegment.Line,(ye.x*.1+.95*.9)*E,ye.y*.1*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*E,ye.y*.1*a)),xe.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),xe.add(new go.PathSegment(go.PathSegment.Line,E,0)),xe.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.9)*E,.15*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(Ne.x*.1+.9)*E,(Ne.y*.1+.05*.9)*a)),xe.add(new go.PathSegment(go.PathSegment.Line,Ne.x*E,Ne.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),z=.35,b=se*.35;var pe=new go.PathFigure(te*E,(re-z)*a,!1);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a));var Xe=new go.PathFigure((te-z)*E,re*a,!1);return x.add(Xe),ue(ie),ue(ge),ue(fe),ue(ce),ue(ye),ue(Ne),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(le,E,a){var x=new go.Geometry,b=.375,z=0,te=-.125,re=b*se,ie=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+re+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-re+te)*a,(.5+re+z)*E,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.475+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+re+te)*a,(.5-re+z)*E,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.475*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a).close()),b=.325,z=0,te=-.125,re=b*se;var ie=new go.PathFigure((1-.5+b+z)*E,(.5+te)*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5+b+te)*a,(.5+b+z)*E,(.5+re+te)*a,(.5+re+z)*E,(.5+b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-re+z)*E,(.5+b+te)*a,(.5-b+z)*E,(.5+re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-re+te)*a,(.5-re+z)*E,(.5-b+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+z)*E,(.5+te)*a,(.5+re+z)*E,(.5-b+te)*a,(1-.5+b+z)*E,(.5-re+te)*a));var ie=new go.PathFigure((.525+z)*E,(.5+b+te)*a,!1);return x.add(ie),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(le,E,a){var x=le?le.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*E,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(le,E,a){var x=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*a,.5*E,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,a)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,E,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(le,E,a){var x=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*E,x*a,x*E,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new At("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new At("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=le?le.parameter2:NaN;isNaN(b)&&(b=.3);var z=(1-x)*E,te=(.5-b/2)*a,re=(.5+b/2)*a,ie=new go.Geometry,ge=new go.PathFigure(0,te,!0);ie.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,te)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,te/a);var fe=Ce(0,re/a,1,re/a,z/E,1,1,.5,y());return ie.spot2=new go.Spot(fe.x,fe.y),ue(fe),ie}),go.Shape.setFigureParameter("Arrow2",0,new At("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new At("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=30),x>E&&(x=E);var b=le?le.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var z=E-x,te=(a-b)/2,re=te+b,ie=new go.Geometry,ge=new go.PathFigure(0,te,!0);ie.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z,te)),ge.add(new go.PathSegment(go.PathSegment.Line,z,0)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,a)),ge.add(new go.PathSegment(go.PathSegment.Line,z,re)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),ie.spot1=new go.Spot(0,te/a);var fe=Ce(0,re/a,1,re/a,z/E,1,1,.5,y());return ie.spot2=new go.Spot(fe.x,fe.y),ue(fe),ie}),go.Shape.defineFigureGenerator("Chevron",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new At("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var ie=Ce(0,.5,.3,0,0,b/a,.1,b/a,y());return te.spot1=new go.Spot(ie.x,ie.y),ie=Ce(.7,1,1,.5,0,z/a,1,z/a,ie),te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new At("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new At("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var b=le?le.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,re=(a-b)/2,ie=re+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,re=0,ie=a):(z=0,te=a,re=0,ie=a));var ge=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close());var ce=Ce(0,.5,.3,re/a,0,z/a,1,z/a,y());return ge.spot1=new go.Spot(ce.x,ce.y),ce=Ce(.7,ie/a,1,.5,0,te/a,1,te/a,ce),ge.spot2=new go.Spot(ce.x,ce.y),ue(ce),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new At("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(0,b/a);var ie=Ce(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("IBeamArrow2",0,new At("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new At("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=40);var b=le?le.parameter2:NaN;isNaN(b)&&(b=100);var z=(a-x)/2,te=z+x,re=(a-b)/2,ie=re+b;(x>a||b>a)&&(b>x?(x=x*a/b,z=(a-x)/2,te=z+x,re=0,ie=a):(z=0,te=a,re=0,ie=a));var ge=new go.Geometry,fe=new go.PathFigure(E,.5*a,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ie)),fe.add(new go.PathSegment(go.PathSegment.Line,0,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,re)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*E,re).close()),ge.spot1=new go.Spot(0,z/a);var ce=Ce(.7,ie/a,1,.5,0,te/a,1,te/a,y());return ge.spot2=new go.Spot(ce.x,ce.y),ue(ce),ge}),go.Shape.setFigureParameter("Pointer",0,new At("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var te=Ce(.2,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),ue(te),b}),go.Shape.setFigureParameter("RoundedPointer",0,new At("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*E,.75*a,x*E,.25*a).close()),b.spot1=new go.Spot(x,.35);var te=Ce(0,.65,1,.65,0,1,1,.5,y());return b.spot2=new go.Spot(te.x,te.y),ue(te),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new At("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,z=(.5+x/2)*a,te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,.3);var ie=Ce(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("SplitEndArrow2",0,new At("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,z=b+x;x>a&&(b=0,z=a);var te=new go.Geometry,re=new go.PathFigure(E,.5*a,!0);te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),re.add(new go.PathSegment(go.PathSegment.Line,0,z)),re.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),te.spot1=new go.Spot(.2,b/a);var ie=Ce(.7,1,1,.5,0,z/a,1,z/a,y());return te.spot2=new go.Spot(ie.x,ie.y),ue(ie),te}),go.Shape.setFigureParameter("SquareArrow",0,new At("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,z=new go.PathFigure(E,.5*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,x*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.1,te=new go.PathFigure(0,.9*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,a,.85/.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var z=new go.PathFigure(0,.9*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*a,(1-.85/.9)*E,.8*a,.85/.9*E,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var z=new go.PathFigure(0,.3*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(0,x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,se*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,1*E,x,(.5+z)*E,0,1*E,se*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*a,1*E,a-se*x,(.5+z)*E,1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,1*a,0,a-se*x)),te.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(E,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*x,1*E,2*x-se*x,(.5+z)*E,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-z)*E,2*x,0,2*x-se*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(0,a-x,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,se*x,(.5-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,x,(.5+z)*E,0,E,se*x)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-x)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,a-se*x,(.5+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-z)*E,a,0,a-se*x));var re=new go.PathFigure(0,a-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a-2*x,0,a-x-se*x,(.5-z)*E,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,a-x,(.5+z)*E,a-2*x,E,a-x-se*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-se*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-se*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,se*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+se*x,0,2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+z)*a,x+se*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,E/3);var b=new go.Geometry,z=se*.5,te=new go.PathFigure(E-x,0,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,E-se*x,0,E,(.5-z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E,(.5+z)*a,E-se*x,a)),te.add(new go.PathSegment(go.PathSegment.Line,x,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-z)*a,se*x,0)),te.add(new go.PathSegment(go.PathSegment.Line,E-x,0));var re=new go.PathFigure(E-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,E-2*x,.5*a,E-x-se*x,0,E-2*x,(.5-z)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,a,E-2*x,(.5+z)*a,E-x-se*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.25*E,.25*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var z=new go.PathFigure(.5*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),z.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(le,E,a){var x=new go.Geometry,b=.2,z=.1,te=se*b,re=se*z,ie=.5,ge=.1,fe=new go.PathFigure(ie*E,(ge+z)*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*E,ge*a,(ie-te)*E,(ge+z)*a,(ie-b)*E,(ge+re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-z)*a,(ie-b)*E,(ge-re)*a,(ie-te)*E,(ge-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*E,ge*a,(ie+te)*E,(ge-z)*a,(ie+b)*E,(ge-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+z)*a,(ie+b)*E,(ge+re)*a,(ie+te)*E,(ge+z)*a));var ce=.05,xe=se*ce;ie=.05,ge=.25;var ye=new go.PathFigure(.5*E,.2*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*a)),ie=.95,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ce)*E,ge*a,(ie+xe)*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*a)),ce=.025,xe=se*ce,ie=.825,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a,(ie+xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ce)*E,ge*a,(ie-xe)*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a)),ce=.05,xe=se*ce,ie=.5,ge=.7,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a,(ie+xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ce)*E,ge*a,(ie-xe)*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.45*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),ye.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*a)),ce=.025,xe=se*ce,ie=.175,ge=.35,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie+ce)*E,(ge-xe)*a,(ie+xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ce)*E,ge*a,(ie-xe)*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),ye.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ce=.05,xe=se*ce,ie=.05,ge=.25,ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-ce)*a,(ie-ce)*E,(ge-xe)*a,(ie-xe)*E,(ge-ce)*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new At("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(le,E,a){var x=le?le.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,z=new go.PathFigure(E,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),z.add(new go.PathSegment(go.PathSegment.Line,x*E,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a));var z=new go.PathFigure(.5*E,.5*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*a,E,(.3+z)*a,(.5+b)*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*E,.4*a,0,(.3+z)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*a,.25*E,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.1,te=new go.PathFigure(E,.1*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.9+z)*a,(.5+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*E,a,0,(.9+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-z)*a,(.5-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,(.5+b)*E,0,E,(.1-z)*a));var re=new go.PathFigure(E,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,E,(.1+z)*a,(.5+b)*E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*E,.2*a,0,(.1+z)*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*a,E,(.2+z)*a,(.5+b)*E,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*E,.3*a,0,(.2+z)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,a,E,0,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var z=se*.2,te=new go.PathFigure(0,.2*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-z)*a,(.2-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*a,(.8+z)*E,0,E,(.2-z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,a,E,(.8+z)*a,(.8+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-z)*E,a,0,(.8+z)*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,b*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(0,b*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),te.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,E,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(.1*E,.4*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(.75*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a));var z=new go.PathFigure(E,.5*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,a));var te=new go.PathFigure(E,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(b*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,z*a)),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a)),x}),go.Shape.defineFigureGenerator("Junction",function(le,E,a){var x=new go.Geometry,b=1/Math.SQRT2,z=(1-1/Math.SQRT2)/2,te=se*.5,re=.5,ie=new go.PathFigure(E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,a,E,(re+te)*a,(re+te)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-te)*E,a,0,(re+te)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,re*E,0,0,(re-te)*a,(re-te)*E,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,re*a,(re+te)*E,0,E,(re-te)*a));var ge=new go.PathFigure((z+b)*E,(z+b)*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,z*E,z*a)),ge.add(new go.PathSegment(go.PathSegment.Move,z*E,(z+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Line,(z+b)*E,z*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close());var z=new go.PathFigure(.1*E,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=new go.PathFigure(.5*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+.1)*E,.9*a,E,(z+b)*a,(z+b)*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.7);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*a,.96*E,.47*a,.93*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*a,.86*E,.57*a,.83*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*E,.4*a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var z=new go.PathFigure(.1*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close());var z=new go.PathFigure(.2*E,.1*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=1-b,te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close());var re=new go.PathFigure(.5*b*E,b*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*E,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var re=new go.PathFigure(E,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(le,E,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*a,.5*E,.6*a,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*E,.4*a,.5*E,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN,z=le?le.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(z)&&(z=.3);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,(1-z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure((1-b)*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,b*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x}),go.Shape.defineFigureGenerator("Process",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.25);var z=new go.PathFigure(b*E,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a));var te=new go.PathFigure(b*E,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,b*E,a)),te.add(new go.PathSegment(go.PathSegment.Move,(1-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,(1-b)*E,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.25*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*a,.25*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*a,.25*E,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(le,E,a){var x=new go.Geometry,b=le?le.parameter1:NaN;isNaN(b)&&(b=.1);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(le,E,a){var x=new go.Geometry,b=se*.5,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(.5+b)*E,0,E,(.5-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,(.5+b)*a,(.5+b)*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=new go.PathFigure(E,z*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,a,E,(z+b)*a,(z+b)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,z*a,(z-b)*E,a,0,(z+b)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*E,0,0,(z-b)*a,(z-b)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,z*a,(z+b)*E,0,E,(z-b)*a));var re=new go.PathFigure(E,z*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,z*a));var ie=new go.PathFigure(.8*E,.75*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(le,E,a){var x=new go.Geometry,b=se*.1,z=.1,te=.9,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,a)),ie.add(new go.PathSegment(go.PathSegment.Line,0,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a));var ge=new go.PathFigure((te+z)*E,re*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re-z)*a,(te+z)*E,(re-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(le,E,a){var x=new go.Geometry,b=se*.5,z=se*.4,te=se*.1,re=.1,ie=.9,ge=.5,fe=new go.PathFigure(.8*E,.5*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,.8*E,(.5+z)*a,(.4+b)*E,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,a)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(.4+b)*E,0,.8*E,(.5-z)*a));var ce=new go.PathFigure((ie+re)*E,ge*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+re)*a,(ie+re)*E,(ge+te)*a,(ie+te)*E,(ge+re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E,ge*a,(ie-te)*E,(ge+re)*a,(ie-re)*E,(ge+te)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-re)*a,(ie-re)*E,(ge-te)*a,(ie-te)*E,(ge-re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E,ge*a,(ie+te)*E,(ge-re)*a,(ie+re)*E,(ge-te)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=0,re=.5,ie=new go.PathFigure(.8*E,.5*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-b)*a,.7*E,(re-z)*a)),b=.1,z=se*.1,te=.9,re=.5;var ge=new go.PathFigure((te-b)*E,re*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=0,re=.5,ie=new go.PathFigure(0,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z+z)*E,(re-b)*a,.8*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*E,(re+z)*a,(te+z+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*a,.25*E,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.8*E,.5*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.7*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*a,(te+z)*E,(re-b)*a,.7*E,(re-z)*a)),b=.1,z=se*.1,te=.9,re=.5;var fe=new go.PathFigure((te-b)*E,re*a,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(le,E,a){var x=new go.Geometry,b=.5,z=se*b,te=.2,re=.5,ie=new go.PathFigure(.1*E,0,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,a,.35*E,.25*a,.35*E,.75*a));var ge=new go.PathFigure(.2*E,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,(te+z)*E,(re-b)*a,.9*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,a,.9*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*a,.45*E,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(le,E,a){var x=new go.Geometry,b=se*.1,z=.1,te=.1,re=.5,ie=new go.PathFigure((te-b*.5)*E,a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.3,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.5,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.7,ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,a,(te+z)*E,0,(te+b)*E,a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,0,(te-b)*E,a,(te-z)*E,0)),te=.9,ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b*.5)*E,a,(te+z)*E,0,(te+b)*E,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(le,E,a){var x=new go.Geometry,b=se*.5,z=.5,te=.5,re=.5,ie=new go.PathFigure((te-z)*E,re*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-z)*a,(te-z)*E,(re-b)*a,(te-b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re-z)*a,(te+z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Move,(te-z+.1)*E,re*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+z-.1)*E,re*a,te*E,(re-z)*a,te*E,(re+z)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("Diode",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(le,E,a){var x=new go.Geometry,b=E,z=a;E=E*.38,a=a*.6;var te=se*.8,re=.8,ie=0,ge=.5,fe=(b-E)/2,ce=(z-a)/2,xe=new go.PathFigure(ie*E+fe,(ge+re)*a+ce,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ge*a+ce,(ie-te)*E+fe,(ge+re)*a+ce,(ie-re)*E+fe,(ge+te)*a+ce)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie-re)*E+fe,(ge-te)*a+ce,(ie-te)*E+fe,(ge-re)*a+ce)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge-re)*a+ce,(ie-re+te*.5)*E+fe,(ge-te)*a+ce)),xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie-re+te*.5)*E+fe,(ge+te)*a+ce,ie*E+fe,(ge+re)*a+ce).close()),te=se*.4,re=.4,ie=.2,ge=.5;var ye=new go.PathFigure(ie*E+fe,(ge+re)*a+ce,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ge*a+ce,(ie-te)*E+fe,(ge+re)*a+ce,(ie-re)*E+fe,(ge+te)*a+ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie-re)*E+fe,(ge-te)*a+ce,(ie-te)*E+fe,(ge-re)*a+ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re+te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge-re)*a+ce,(ie-re+te*.5)*E+fe,(ge-te)*a+ce)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie-re+te*.5)*E+fe,(ge+te)*a+ce,ie*E+fe,(ge+re)*a+ce).close()),te=se*.2,re=.2,ie=.5,ge=.5;var Ne=new go.PathFigure((ie-re)*E+fe,ge*a+ce,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie-re)*E+fe,(ge-te)*a+ce,(ie-te)*E+fe,(ge-re)*a+ce)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ge*a+ce,(ie+te)*E+fe,(ge-re)*a+ce,(ie+re)*E+fe,(ge-te)*a+ce)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie+re)*E+fe,(ge+te)*a+ce,(ie+te)*E+fe,(ge+re)*a+ce)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(ie-re)*E+fe,ge*a+ce,(ie-te)*E+fe,(ge+re)*a+ce,(ie-re)*E+fe,(ge+te)*a+ce)),te=se*.4,re=.4,ie=.8,ge=.5;var pe=new go.PathFigure(ie*E+fe,(ge-re)*a+ce,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ge*a+ce,(ie+te)*E+fe,(ge-re)*a+ce,(ie+re)*E+fe,(ge-te)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie+re)*E+fe,(ge+te)*a+ce,(ie+te)*E+fe,(ge+re)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge+re)*a+ce,(ie+re-te*.5)*E+fe,(ge+te)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie+re-te*.5)*E+fe,(ge-te)*a+ce,ie*E+fe,(ge-re)*a+ce).close()),te=se*.8,re=.8,ie=1,ge=.5;var Xe=new go.PathFigure(ie*E+fe,(ge-re)*a+ce,!0);return x.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re)*E+fe,ge*a+ce,(ie+te)*E+fe,(ge-re)*a+ce,(ie+re)*E+fe,(ge-te)*a+ce)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge+re)*a+ce,(ie+re)*E+fe,(ge+te)*a+ce,(ie+te)*E+fe,(ge+re)*a+ce)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+re-te*.5)*E+fe,ge*a+ce,ie*E+fe,(ge+re)*a+ce,(ie+re-te*.5)*E+fe,(ge+te)*a+ce)),Xe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E+fe,(ge-re)*a+ce,(ie+re-te*.5)*E+fe,(ge-te)*a+ce,ie*E+fe,(ge-re)*a+ce).close()),x}),go.Shape.defineFigureGenerator("Email",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Move,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.35*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var z=new go.PathFigure(.1*E,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var te=new go.PathFigure(.6*E,a,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.6*E,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(le,E,a){var x=new go.Geometry,b=se*.4,z=.4,te=.5,re=.5,ie=y(),ge=y(),fe=y(),ce=y();Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.5,ie,ie,ge,fe,ce);var xe=ne(ge.x,ge.y),ye=new go.PathFigure(ge.x*E,ge.y*a,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te+z)*E,(re+b)*a,(te+b)*E,(re+z)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,(te-b)*E,(re+z)*a,(te-z)*E,(re+b)*a)),Oe(te-z,re,te-z,re-b,te-b,re-z,te,re-z,.5,fe,ce,ge,ie,ie),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,fe.x*E,fe.y*a,ce.x*E,ce.y*a)),b=se*.3,z=.3,Oe(te-z,re,te-z,re-b,te-b,re-z,te,re-z,.5,fe,ce,ge,ie,ie),ye.add(new go.PathSegment(go.PathSegment.Line,ge.x*E,ge.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*E,re*a,ce.x*E,ce.y*a,fe.x*E,fe.y*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+z)*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*E,re*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),Oe(te,re-z,te+b,re-z,te+z,re-b,te+z,re,.5,ie,ie,ge,fe,ce),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*E,ge.y*a,ce.x*E,ce.y*a,fe.x*E,fe.y*a).close());var ye=new go.PathFigure(.45*E,0,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*a)),ye.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),ue(ie),ue(ge),ue(fe),ue(ce),ue(xe),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,a/2,E/2,a/2));function z(te,re,ie){te.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*E,(.8+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*E,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*E,(.5+ie)*a)),te.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*E,(.8+ie)*a).close())}return z(b,0,0),z(b,.4,0),z(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.37*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*a,.45*E,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*a,.48*E,.17*a,.54*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*a,.59*E,.29*a,.58*E,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*a,.8*E,.34*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*a,.87*E,.48*a,.88*E,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,1.17*E,.76*a,.82*E,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(le,E,a){var x=new go.Geometry,b=.5,z=0,te=0,re=b*se,ie=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,ce=.5,xe=.5,ye=0,Ne=new go.PathFigure(ie*E,(1-ge)*a,!1);return x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,ce*a,fe*E,.7*a,fe*E,ce*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe+z)*E,(ye+z)*a,(.5+b+z)*E,(.5-re+z)*a,(.5+re+z)*E,(.5-b+z)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+z)*E,(.5+te)*a,(.5-re+z)*E,(.5-b+te)*a,(.5-b+z)*E,(.5-re+te)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(.35+z)*E,.9*a,(.5-b+z)*E,(.5+re+te)*a,(.5-re+z)*E,.9*a)),Ne.add(new go.PathSegment(go.PathSegment.Move,(.25+z)*E,.8*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,(.35+z)*E,.9*a)),Ne.add(new go.PathSegment(go.PathSegment.Line,(.2+z)*E,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.2*E,.35*a,.3*E,.35*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.7*E,.65*a,.8*E,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.7*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,a,.4*E,.5*a,E,.5*a).close());var z=new go.PathFigure(.45*E,.73*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*a)),z.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*a)),z.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(.335*E,(1-.555)*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*a,(1-.12)*E,.46*a,(1-.02)*E,.54*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*a,.02*E,.54*a,.12*E,.46*a)),z.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*a));var te=.5-.285,re=.5,ie=te,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),ce=fe*.5,xe=te,ye=te,Ne=fe*xe,pe=fe*ye;z.add(new go.PathSegment(go.PathSegment.Bezier,(re-xe)*E,ie*a,(re-(Ne+xe)/2)*E,(ie+(ye+pe)/2)*a,(re-xe)*E,(ie+pe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,re*E,(ie-ye)*a,(re-xe)*E,(ie-pe)*a,(re-Ne)*E,(ie-ye)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(re+xe)*E,ie*a,(re+Ne)*E,(ie-ye)*a,(re+xe)*E,(ie-pe)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*a,(re+xe)*E,(ie+pe)*a,(re+(Ne+xe)/2)*E,(ie+(ye+pe)/2)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*a)),z.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*a));var Xe=new go.PathFigure(.2*E,a,!1);x.add(Xe),Xe.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*a));var We=new go.PathFigure(.8*E,a,!1);return x.add(We),We.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,a).close());var z=new go.PathFigure(.2*E,.2*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var z=new go.PathFigure(E,a,!1);x.add(z);var te=new go.PathFigure(.1*E,a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.05*E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*a,.5*E,0,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,a,E,a,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,a));var z=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-z)*E,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*a,z*E,z*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*a,.575*E,.725*a,.625*E,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*a,.375*E,.375*a,.425*E,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.45*E,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*a,.17*E,.95*a,.15*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*a));var z=new go.PathFigure(.475*E,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*a)),z.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*a,.35*E,0,.375*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*a)),z.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*a)),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*a,.625*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*a));var te=new go.PathFigure(.675*E,.575*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*a,E,.8*a,E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*a)),te.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Line,E,.775*a)),te.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*a)),te.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(le,E,a){var x=new go.Geometry,b=.5,z=se*.5,te=new go.PathFigure(E,b*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,a,E,(b+z)*a,(b+z)*E,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-z)*E,a,0,(b+z)*a)),te.add(new go.PathSegment(go.PathSegment.Bezier,b*E,0,0,(b-z)*a,(b-z)*E,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,E,b*a,(b+z)*E,0,E,(b-z)*a));var re=new go.PathFigure(b*E,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*E,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*E,a)),re.add(new go.PathSegment(go.PathSegment.Line,b*E,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Move,E,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*E,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,.15*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,0)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(0,.5*a,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close());var z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var te=new go.PathFigure(0,.6*a,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*a)),te.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.15*E,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*a));var z=new go.PathFigure(.15*E,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,E,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(E,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.8*a).close());var te=.1,re=se*.1,ie=.2,ge=.9,fe=new go.PathFigure((ie-te)*E,ge*a,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-te)*a,(ie-te)*E,(ge-re)*a,(ie-re)*E,(ge-te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*E,ge*a,(ie+re)*E,(ge-te)*a,(ie+te)*E,(ge-re)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+te)*a,(ie+te)*E,(ge+re)*a,(ie+re)*E,(ge+te)*a)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*E,ge*a,(ie-re)*E,(ge+te)*a,(ie-te)*E,(ge+re)*a).close()),te=.1,re=se*.1,ie=.8,ge=.9;var ce=new go.PathFigure((ie-te)*E,ge*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge-te)*a,(ie-te)*E,(ge-re)*a,(ie-re)*E,(ge-te)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+te)*E,ge*a,(ie+re)*E,(ge-te)*a,(ie+te)*E,(ge-re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*E,(ge+te)*a,(ie+te)*E,(ge+re)*a,(ie+re)*E,(ge+te)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-te)*E,ge*a,(ie-re)*E,(ge+te)*a,(ie-te)*E,(ge+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.2*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var z=new go.PathFigure(0,.5*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var te=new go.PathFigure(.5*E,.8*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*a)),te.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*a));var re=new go.PathFigure(.5*E,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E,.7*a));var ie=.1,ge=se*.1,fe=.1,ce=.9,xe=new go.PathFigure((fe-ie)*E,ce*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce-ie)*a,(fe-ie)*E,(ce-ge)*a,(fe-ge)*E,(ce-ie)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ie)*E,ce*a,(fe+ge)*E,(ce-ie)*a,(fe+ie)*E,(ce-ge)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce+ie)*a,(fe+ie)*E,(ce+ge)*a,(fe+ge)*E,(ce+ie)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ie)*E,ce*a,(fe-ge)*E,(ce+ie)*a,(fe-ie)*E,(ce+ge)*a)),ie=.1,ge=se*.1,fe=.4,ce=.9;var ye=new go.PathFigure((fe-ie)*E,ce*a,!0);return x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce-ie)*a,(fe-ie)*E,(ce-ge)*a,(fe-ge)*E,(ce-ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ie)*E,ce*a,(fe+ge)*E,(ce-ie)*a,(fe+ie)*E,(ce-ge)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*E,(ce+ie)*a,(fe+ie)*E,(ce+ge)*a,(fe+ge)*E,(ce+ie)*a)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ie)*E,ce*a,(fe-ge)*E,(ce+ie)*a,(fe-ie)*E,(ce+ge)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.1*E,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*a).close());var z=new go.PathFigure(.45*E,.7*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*a));var te=new go.PathFigure(.55*E,.4*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),te.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*a)),te.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*a).close());var fe=.05,ce=se*.05,xe=.175,ye=.95,re=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a));var fe=.05,ce=se*.05,xe=.375,ye=.95,ie=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a));var fe=.05,ce=se*.05,xe=.625,ye=.95,ge=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a));var fe=.05,ce=se*.05,xe=.825,ye=.95,Ne=new go.PathFigure((xe-fe)*E,ye*a,!0);x.add(Ne),Ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye-fe)*a,(xe-fe)*E,(ye-ce)*a,(xe-ce)*E,(ye-fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe+fe)*E,ye*a,(xe+ce)*E,(ye-fe)*a,(xe+fe)*E,(ye-ce)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,xe*E,(ye+fe)*a,(xe+fe)*E,(ye+ce)*a,(xe+ce)*E,(ye+fe)*a)),Ne.add(new go.PathSegment(go.PathSegment.Bezier,(xe-fe)*E,ye*a,(xe-ce)*E,(ye+fe)*a,(xe-fe)*E,(ye+ce)*a).close());var pe=new go.PathFigure(0,a,!1);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,E,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var z=new go.PathFigure(0,.2*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.2*a).close());var te=new go.PathFigure(.15*E,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*a)),te.add(new go.PathSegment(go.PathSegment.Line,.4*E,a)),te.add(new go.PathSegment(go.PathSegment.Line,.15*E,a).close());var re=.05,ie=se*.05,ge=.35,fe=.775,ce=new go.PathFigure((ge-re)*E,fe*a,!0);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(fe-re)*a,(ge-re)*E,(fe-ie)*a,(ge-ie)*E,(fe-re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge+re)*E,fe*a,(ge+ie)*E,(fe-re)*a,(ge+re)*E,(fe-ie)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ge*E,(fe+re)*a,(ge+re)*E,(fe+ie)*a,(ge+ie)*E,(fe+re)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ge-re)*E,fe*a,(ge-ie)*E,(fe+re)*a,(ge-re)*E,(fe+ie)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*a,.75*E,0,E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,E,.75*a,.75*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*E,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*a,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,a,.15*E,.25*a,.15*E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*a,.85*E,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*a,.35*E,.3*a,.65*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*a,.35*E,.7*a,.65*E,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*a,.1*E,0,.2*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*a,.425*E,.5*a,.575*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*a,.8*E,0,.9*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*a,.1*E,.5*a,.2*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*a,.425*E,a,.575*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*a,.8*E,.5*a,.9*E,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(le,E,a){var x=new go.Geometry,b=.3,z=se*.3,te=.5,re=.7,ie=new go.PathFigure((te-b)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a));var ge=new go.PathFigure(0,.7*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*a,0,0,E,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.5*E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.65*E,.3*a,.65*E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*a,.35*E,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*E,.6*a,.1*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.2*E,a,.35*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,a,.7*E,.6*a,.9*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*a,.8*E,a,.65*E,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,a,0,a,.4*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*a,.8*E,a,.85*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,0)),x}),go.Shape.defineFigureGenerator("Battery",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*a));var z=new go.PathFigure(0,.6*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,E,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(le,E,a){var x=new go.Geometry,b=.5,z=se*.5,te=.5,re=.5,ie=new go.PathFigure((te-b)*E,re*a,!0);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a));var ge=new go.PathFigure(.15*E,.5*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*a,.15*E,0,.35*E,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*a,.65*E,.2*a,.85*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*a,.85*E,.6*a,.65*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*E,.4*a,.15*E,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(le,E,a){var x=new go.Geometry,b=.5,z=se*.5,te=.5,re=.5,ie=new go.PathFigure((te-b)*E,re*a,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a).close()),b=.05,z=se*.05,te=.5,re=.8;var ge=new go.PathFigure((te-b)*E,re*a,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re-b)*a,(te-b)*E,(re-z)*a,(te-z)*E,(re-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te+b)*E,re*a,(te+z)*E,(re-b)*a,(te+b)*E,(re-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,te*E,(re+b)*a,(te+b)*E,(re+z)*a,(te+z)*E,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(te-b)*E,re*a,(te-z)*E,(re+b)*a,(te-b)*E,(re+z)*a).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*a,.75*E,.475*a,.75*E,.225*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*a,.4*E,.2*a,.3*E,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.5*E,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*a,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*a,.5*E,0,.025*E,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.2*E,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*a,.25*E,0,.75*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(le,E,a){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*a,.79840625*E,.39915625*a,.7834375*E,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*a,.64228125*E,.2188125*a,.603875*E,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*a,.39759375*E,.20190625*a,.36053125*E,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*a,.21765625*E,.36059375*a,.201875*E,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*a,.20221875*E,.603875*a,.21884375*E,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*a,.36353125*E,.78340625*a,.3991875*E,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*a,.602375*E,.79809375*a,.63946875*E,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*a,.78234375*E,.63940625*a,.798125*E,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*a,.1*E,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*a,0,.375*a,.05*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*a,.3*E,.225*a,.4*E,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*a,.46*E,.05*a,.525*E,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*a,.525*E,.275*a,.475*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*a,E,.4*a,E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*a,.675*E,.55*a,.675*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*a,.65*E,.7*a,.65*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,a,.61*E,.85*a,.61*E,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*E,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E,a)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var z=new go.PathFigure(0,a*.6,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,E,a*.85).close());var z=new go.PathFigure(.126*E,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*a).close());var te=new go.PathFigure(.402*E,.85*a,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*a)),te.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*a).close());var re=new go.PathFigure(.678*E,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*a).close());var ie=new go.PathFigure(.5*E,.1*a,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*a)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.184,a*(1-.184)).close());var z=new go.PathFigure(E*.204,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.204,a*(1-.184))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,E*.388,a*1).close());var te=new go.PathFigure(E*.408,a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.408,a*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*(1-.184*3))),te.add(new go.PathSegment(go.PathSegment.Line,E*.592,a*1).close());var re=new go.PathFigure(E*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,E*.796,a*1).close());var ie=new go.PathFigure(E*.816,a,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.816,a*(1-.184*4))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-.184*5))),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var z=new go.PathFigure(E*.055,.07*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.07)),z.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.1).close());var te=new go.PathFigure(E*.055,.13*a,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.13)),te.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.16)),te.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.16).close());var re=new go.PathFigure(E*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,E*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,E*.055,a*.21).close());var ie=new go.PathFigure(E*1,0,!0);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.65)),ie.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(.55*E,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*a,0,.4*a,.225*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*a,.975*E,0,E,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*E,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*a,.075*E,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var z=new go.PathFigure(0,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*0)),z.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),z.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1));var te=new go.PathFigure(E*.11,a*.1,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.1)),te.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),a*.8)),te.add(new go.PathSegment(go.PathSegment.Line,E*.11,a*.8).close());var re=new go.PathFigure(E*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),a*.8).close());var ie=new go.PathFigure(E*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),a*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(le,E,a){var x=new go.Geometry,b=8,z=b*se,te=new go.PathFigure(b,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),te.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.14)),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,z,z,0).close());var re=new go.PathFigure(E*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*0).close());var ie=new go.PathFigure(E*.83,a*1,!1);x.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,E*.83,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*.5)),ie.add(new go.PathSegment(go.PathSegment.Line,E*.17,a*1).close());var ge=new go.PathFigure(E*.78,a*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,E*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(le,E,a){var x=le?le.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,E/3),x=Math.min(x,a/3);var b=x*se,z=a*.8,te=new go.Geometry,re=new go.PathFigure(x,0,!0);return te.add(re),re.add(new go.PathSegment(go.PathSegment.Line,E-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,E,x,E-b,0,E,b)),re.add(new go.PathSegment(go.PathSegment.Line,E,z-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,E-x,z,E,z-b,E-b,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),re.add(new go.PathSegment(go.PathSegment.Line,E*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,E*.55,z)),re.add(new go.PathSegment(go.PathSegment.Line,x,z)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,z-x,b,z,0,z-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,.8,-b,-b)):(te.spot1=go.Spot.TopLeft,te.spot2=new go.Spot(1,.8)),te}),go.Shape.defineFigureGenerator("Repeat",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.2,a*.45).close());var z=new go.PathFigure(E*1,a*.55,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.55)),z.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(le,E,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.9).close());var z=new go.PathFigure(E*.1,a*.2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,E*.22,a*.285)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.1,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.32)),z.add(new go.PathSegment(go.PathSegment.Line,E*.275,a*.25).close());var te=new go.PathFigure(E*.28,a*.37,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.37)),te.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.41)),te.add(new go.PathSegment(go.PathSegment.Line,E*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(le,E,a){var x=new go.Geometry,b=15,z=b*se,te=new go.PathFigure(E*.62,a*.475,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E,a-b)),te.add(new go.PathSegment(go.PathSegment.Bezier,E-b,a,E,a-z,E-z,a)),te.add(new go.PathSegment(go.PathSegment.Line,b,a)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,z,a,0,a-z)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.475)),te.add(new go.PathSegment(go.PathSegment.Line,E*.38,a*.03)),te.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*0)),te.add(new go.PathSegment(go.PathSegment.Line,E*.62,a*.03).close()),z>1?(x.spot1=new go.Spot(0,0,z,z),x.spot2=new go.Spot(1,1,-z,-z)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.4,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.66)),te.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.44)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*0,a*1,!0);x.add(b);var z=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*.93,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.64,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.36,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*.07,a*(1-z))),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*(1-z)).close());var te=new go.PathFigure(E*.5,a*0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,E*.26,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.4,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.63)),te.add(new go.PathSegment(go.PathSegment.Line,E*.6,a*.25)),te.add(new go.PathSegment(go.PathSegment.Line,E*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,E*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.3,a*1).close());var z=new go.PathFigure(E*.235,a*.28,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*.765,a*.28)),z.add(new go.PathSegment(go.PathSegment.Line,E*.655,a*.97)),z.add(new go.PathSegment(go.PathSegment.Line,E*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(le,E,a){var x=new go.Geometry,b=new go.PathFigure(E*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,E*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,E*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,E*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,E*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},93510:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var At={},jt="5.0",ne={},y=null,ue=!1,Ce=!1,Oe=null,we=!1,Ie=null,se=null,Ze=0;Ze4?parseFloat(Ve):5};At.setHTML5Codebase=function(Ve,st){se=Ve,ht(Ve,st)},At.setJavaCodebase=At.setJavaCodebaseVersion=At.isCompiledInstalled=At.setPreCompiledScriptPath=At.setPreCompiledResourcePath=function(){},At.setHTML5CodebaseVersion=function(Ve,st){var Rt=parseFloat(Ve);if(Rt!==NaN&&Rt<5){console.log("The GeoGebra HTML5 codebase version "+Rt+" is deprecated. Using version latest instead.");return}Ie=Ve,Wt(Ve,st)},At.getHTML5CodebaseVersion=function(){return le},At.getParameters=function(){return ne},At.setFontsCSSURL=function(Ve){te=Ve},At.setGiacJSURL=function(Ve){},At.setJNLPFile=function(Ve){je=Ve},At.setJNLPBaseDir=function(Ve){},At.inject=function(){function Ve(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var st="auto",Rt=ne.id,gn,wt=!1,$t=0;$t=5)return!0;var Ve=At.getAppletObject();return Ve&&typeof Ve.recalculateEnvironments=="function"?(Ve.recalculateEnvironments(),!0):!1},At.startAnimation=function(){var Ve=At.getAppletObject();return Ve&&typeof Ve.startAnimation=="function"?(Ve.startAnimation(),!0):!1},At.stopAnimation=function(){var Ve=At.getAppletObject();return Ve&&typeof Ve.stopAnimation=="function"?(Ve.stopAnimation(),!0):!1},At.getAppletObject=function(){var Ve=ne.id!==void 0?ne.id:"ggbApplet";return window[Ve]},At.resize=function(){};var Ne=function(Ve,st,Rt){var gn=document.createElement("param");gn.setAttribute("name",st),gn.setAttribute("value",Rt),Ve.appendChild(gn)},pe=function(Ve){return Ve&&Ve!=="false"},Xe=function(Ve,st,Rt){ie(le)<=4.2&&(Rt=!0);var gn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==le||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(gn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var wt=document.createElement("div");wt.classList.add("appletParameters","notranslate");var $t=st.width,Be=st.height;if(st.disableAutoScale=st.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():st.disableAutoScale,st.width!==void 0)if(ie(le)<=4.4)pe(st.showToolBar)&&(st.height-=7),pe(st.showAlgebraInput)&&(st.height-=37),st.width<605&&pe(st.showToolBar)&&(st.width=605,$t=605);else{var Jt=100;(pe(st.showToolBar)||pe(st.showMenuBar))&&(st.hasOwnProperty("customToolBar")&&(st.customToolbar=st.customToolBar),Jt=pe(st.showMenuBar)?245:155),$t=5?(st.appletOnLoad=function(ke){var bt=Ve.querySelector(".ggb_preview");bt&&bt.parentNode.removeChild(bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Zt),window.GGBT_wsf_view&&$(window).trigger("resize"),Ot(ke)},et||Zt.appendChild(Ye)):wt.appendChild(Ye),Zt.appendChild(wt),et||Ve.appendChild(Zt),setTimeout(function(){At.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(wt),Ve.appendChild(De),st.appletOnLoad=function(ke){At.resize(),Ot(ke)}}function he(ke,bt){bt&&typeof bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(ke,bt.appletOnLoad):renderGGBElement(ke),Ht("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",bt)}function tt(ke,bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:ke,params:bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(hn){he(hn.article,hn.params)}),html5AppletsToProcess=null)},ie(le)<5&&(ke.className+=" geogebraweb")):he(ke,bt)}if(gn){scriptLoadStarted=!0;for(var Lt=0;Lt0?(bn.remove(),Zt.attr("id","fullscreencontent").show(),jQuery(Ot).append(Zt),window.dispatchEvent(new Event("resize"))):Xe(bn,st,!1),window.GGBT_wsf_view.launchFullScreen(Ot)}else Le=gn,Xe(Ve,st,!1);if(!window.GGBT_wsf_view)for(Be=0;BeVe/4*3&&(bn=Ve/4*3),Ot=bn/5.8,Jt.setAttribute("src",b),Jt.setAttribute("width",bn),Jt.setAttribute("height",Ot);var Zt=(Ve-bn)/2,et=(st-Ot)/2;Jt.style.left=Zt+"px",Jt.style.top=et+"px",wt.appendChild(Jt)}}return wt.appendChild(Be),wt},Qe=function(Ve){return Ve=Ve.toLowerCase(),Ve==="html5"||Ve==="screenshot"?Ve:"html5"},ot=["web","webSimple","web3d","tablet","tablet3d","phone"],Wt=function(Ve,st){if(le=Ve,st){ht(le,!0);return}var Rt=!ue;if(Rt){var gn=ie(le);!isNaN(gn)&&gn<4.4&&(Rt=!1)}var wt,$t;window.location.protocol.substr(0,4)==="http"?wt=window.location.protocol:wt="http:";var Be=le.indexOf("//");Be>0?$t=le:Be===0?$t=wt+le:$t="https://www.geogebra.org/apps/5.2.814.0/";for(var Jt in ot)if(le.slice(ot[Jt].length*-1)===ot[Jt]||le.slice((ot[Jt].length+1)*-1)===ot[Jt]+"/"){ht($t,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Rt&&!y.is3D&&!y.AV&&!y.SV&&!y.CV&&!y.EV2&&!y.CP&&!y.PC&&!y.DA&&!y.FI&&!y.PV&&!pe(ne.showToolBar)&&!pe(ne.showMenuBar)&&!pe(ne.showAlgebraInput)&&!pe(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?$t+="webSimple/":$t+="web3d/",ht($t,!1)},ht=function(Ve,st){if(Ve.requirejs){ze=Ve;return}Ve.slice(-1)!=="/"&&(Ve+="/"),ze=Ve,st===null&&(st=Ve.indexOf("http")===-1),He=st,E="web.nocache.js",a=!1;var Rt=ze.split("/");Rt.length>1&&(!st&&Rt[Rt.length-2]==="webSimple"?(E="webSimple.nocache.js",a=!0):ot.indexOf(Rt[Rt.length-2])>=0&&(E=Rt[Rt.length-2]+".nocache.js")),Rt=Ve.split("/"),le=Rt[Rt.length-3],le.substr(0,4)==="test"?le=le.substr(4,1)+"."+le.substr(5,1):(le.substr(0,3)==="war"||le.substr(0,4)==="beta")&&(le="5.0");var gn=parseFloat(le);gn!==NaN&&gn<5&&Ve.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+gn+" is deprecated. Using version latest instead."),Wt("5.0",st))},Ht=function(Ve,st){window.console&&window.console.log&&(!st||typeof st.showLogging=="undefined"||st.showLogging&&st.showLogging!=="false")&&console.log(Ve)};ne.material_id!==void 0?ce(Kt):Kt();function Kt(){var Ve=jt;Ie!==null?Ve=Ie:parseFloat(Ve)<5&&(Ve="5.0"),Wt(Ve,!1),se!==null&&ht(se,He),we=!0}return At},GGBAppletUtils=function(){"use strict";function At(){return window.GGBT_wsf_edit!==void 0}function jt(we,Ie){Ie!=1?(we.style.transformOrigin="0% 0% 0px",we.style.webkitTransformOrigin="0% 0% 0px",we.style.transform="scale("+Ie+","+Ie+")",we.style.webkitTransform="scale("+Ie+","+Ie+")",we.style.maxWidth="initial",we.querySelector(".ggb_preview")!==null&&(we.querySelector(".ggb_preview").style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[0]!==void 0&&(we.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),we.querySelectorAll(".ggb_preview img")[1]!==void 0&&(we.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(we.style.transform="none",we.style.webkitTransform="none")}function ne(we,Ie,se,Ze,Ke,je){var ze=null;if(je!=null&&je!="")for(var He=we.parentNode;He!=null;)if((" "+He.className+" ").indexOf(" "+je+" ")>-1){ze=He;break}else He=He.parentNode;var Le=0,le=0,E=0,a=0,x=0,b=0,z=0;if(ze)Le=ze.offsetWidth,le=Math.max(Ze?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Le=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),E=Le):(Le=window.innerWidth,le=window.innerHeight,E=window.innerWidth),we){var te=we.getBoundingClientRect();te.left>0&&te.left<=Le&&(Ke===void 0||!Ke)&&(document.dir==="rtl"?(x=Le-te.width-te.left,b=E<=480?10:30):(b=te.left,x=E<=480?10:30),a=b+x)}if(we&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=we.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,z=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,z=40)}}return we&&((se===void 0||!se)&&Ie>0&&Ie+a1&&(je=!0)),Ie&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(je=!0),!(we.hasOwnProperty("disableAutoScale")&&we.disableAutoScale))Ke=y(we,Ie,je,se,we.scaleContainerClass);else return Ze;return je&&(!we.hasOwnProperty("scale")||Ze===1)?Ke:Math.min(Ze,Ke)}function Ce(we){var Ie=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Ze=we.getBoundingClientRect(),Ke=(Ie-Ze.width)/2,je=(se-Ze.height)/2;je<0&&(je=0),we.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ke<40?we.style.left="40px":we.style.left=Ke+"px",we.style.top=je+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(je<40?we.style.top="40px":we.style.top=je+"px",we.style.left=Ke+"px")}function Oe(we,Ie){var se=we.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ie.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(we)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Ze=ue(Ie,we);At()&&se.setAttribute("data-param-scale",Ze);for(var Ke=null,je=0;je=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(At){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(At){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(At){var jt=c[At];return jt==null?null:jt},r=d,webModule.__errFn=e}function B(){function At(we){var Ie=we.lastIndexOf(rb);Ie==-1&&(Ie=we.length);var se=we.indexOf(sb);se==-1&&(se=we.length);var Ze=we.lastIndexOf(tb,Math.min(se,Ie));return Ze>=O?we.substring(O,Ze+P):W}function jt(we){if(!we.match(/^\w+:\/\//)){var Ie=o.createElement(ub);Ie.src=we+vb,we=At(Ie.src)}return we}function ne(){var we=__gwt_getMetaProperty(wb);return we!=null?we:W}function y(){for(var we=o.getElementsByTagName(_),Ie=O;IeO?we[we.length-P].href:W}function Ce(){var we=o.location;return we.href==we.protocol+zb+we.host+we.pathname+we.search+we.hash}var Oe=ne();return Oe==W&&(Oe=y()),Oe==W&&(Oe=ue()),Oe==W&&Ce()&&(Oe=At(o.location.href)),Oe=jt(Oe),Oe}function C(At){return At.match(/^\//)||At.match(/^[a-zA-Z]+:\/\//)?At:webModule.__moduleBase+At}function D(){var At=[],jt=O,ne=[],y=[];function ue(we){var Ie=y[we](),se=ne[we];if(Ie in se)return Ie;var Ze=[];for(var Ke in se)Ze[se[Ke]]=Ke;throw r&&r(we,Ze,Ie),null}if(__gwt_isKnownPropertyValue=function(we,Ie){return Ie in ne[we]},webModule.__getPropMap=function(){var we={};for(var Ie in ne)ne.hasOwnProperty(Ie)&&(we[Ie]=ue(Ie));return we},webModule.__computePropValue=ue,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ce;try{Ce=Cb;var Oe=Ce.indexOf(Db);Oe!=-1&&(jt=parseInt(Ce.substring(Oe+P),$),Ce=Ce.substring(O,Oe))}catch(we){}return webModule.__softPermutationId=jt,C(Ce+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},28735:function(At,jt,ne){"use strict";ne.d(jt,{Ax:function(){return Oe},Ds:function(){return we},KI:function(){return se},SI:function(){return Ce},f1:function(){return ue}});var y=ne(74128);function ue(Ze){let Ke=!0;if(Ze.length>0){for(let je=0;jea in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,je=(E,a)=>{for(var x in a||(a={}))se.call(a,x)&&Ke(E,x,a[x]);if(Ie)for(var x of Ie(a))Ze.call(a,x)&&Ke(E,x,a[x]);return E},ze=(E,a)=>Oe(E,we(a)),He=(E,a)=>{var x={};for(var b in E)se.call(E,b)&&a.indexOf(b)<0&&(x[b]=E[b]);if(E!=null&&Ie)for(var b of Ie(E))a.indexOf(b)<0&&Ze.call(E,b)&&(x[b]=E[b]);return x},Le=(E,a,x)=>new Promise((b,z)=>{var te=ge=>{try{ie(x.next(ge))}catch(fe){z(fe)}},re=ge=>{try{ie(x.throw(ge))}catch(fe){z(fe)}},ie=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(te,re);ie((x=x.apply(E,a)).next())});const le=E=>{var a=E,{children:x}=a,b=He(a,["children"]);const[z,te]=(0,ue.useState)(!1);return ue.createElement(y.ZP,ze(je({},b),{loading:z,onClick:re=>Le(void 0,null,function*(){try{te(!0),yield b.onClick(re),te(!1)}catch(ie){console.error(ie),te(!1)}})}),x)}},71067:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Le}});var y=ne(59301),ue=ne(8591),Ce=ne(92832),Oe={codeBox:"codeBox___WpkVl"},we=ne(92310),Ie=ne.n(we),se=Object.defineProperty,Ze=(le,E,a)=>E in le?se(le,E,{enumerable:!0,configurable:!0,writable:!0,value:a}):le[E]=a,Ke=(le,E,a)=>Ze(le,typeof E!="symbol"?E+"":E,a),je=(le,E,a)=>new Promise((x,b)=>{var z=ie=>{try{re(a.next(ie))}catch(ge){b(ge)}},te=ie=>{try{re(a.throw(ie))}catch(ge){b(ge)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});class ze extends y.Component{constructor(E){super(E),Ke(this,"canvas"),Ke(this,"randomNum",(a,x)=>Math.floor(Math.random()*(x-a)+a)),Ke(this,"drawPic",()=>{this.randomCode()}),Ke(this,"reloadPic",()=>{this.drawPic()}),Ke(this,"changeCode",a=>{console.log(a.target.value,222),this.setState({value:a.target.value,showError:!1})}),Ke(this,"onVerify",()=>{let a;return this.state.value.toLowerCase()!==""&&this.state.value.toLowerCase()!==this.state.code.toLowerCase()?(a=!0,ue.ZP.error("\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u9A8C\u8BC1\u7801"),this.reloadPic()):this.state.value.toLowerCase()===""?(a=!0,ue.ZP.error("\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801")):this.state.value.toLowerCase()===this.state.code.toLowerCase()&&(a=!1),this.setState({showError:a}),a}),this.canvas=y.createRef(),this.state={value:"",code:"",codeLength:4,fontSizeMin:20,fontSizeMax:22,backgroundColorMin:240,backgroundColorMax:250,colorMin:10,colorMax:20,lineColorMin:40,lineColorMax:180,contentWidth:96,contentHeight:38,showError:!1}}componentDidMount(){this.drawPic()}randomColor(E,a){const x=this.randomNum(E,a),b=this.randomNum(E,a),z=this.randomNum(E,a);return`rgb(${x}, ${b}, ${z})`}drawText(E,a,x){E.fillStyle=this.randomColor(this.state.colorMin,this.state.colorMax);const b=this.randomNum(this.state.fontSizeMin,this.state.fontSizeMax);E.font=b+"px SimHei";const z=10,te=(this.state.contentWidth-40)/(this.state.code.length-1);let re=z;x>0&&(re=z+x*te);let ie=this.randomNum(this.state.fontSizeMax,this.state.contentHeight-5);b>40&&(ie=40);const ge=this.randomNum(-10,10);E.translate(re,ie),E.rotate(ge*Math.PI/180),E.fillText(a,0,0),E.rotate(-ge*Math.PI/180),E.translate(-re,-ie)}drawLine(E){for(let a=0;a<1;a++)E.strokeStyle=this.randomColor(this.state.lineColorMin,this.state.lineColorMax),E.beginPath(),E.moveTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.lineTo(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight)),E.stroke()}drawDot(E){for(let a=0;a<100;a++)E.fillStyle=this.randomColor(0,255),E.beginPath(),E.arc(this.randomNum(0,this.state.contentWidth),this.randomNum(0,this.state.contentHeight),1,0,2*Math.PI),E.fill()}randomCode(){let E="";const a="QWERTYUPLKJHGFDSAZXCVBNMqwertyupkjhgfdsazxcvbnm1234567890";for(let x=0;x{const b=this.canvas.current.getContext("2d");b.textBaseline="bottom",b.fillStyle=this.randomColor(this.state.backgroundColorMin,this.state.backgroundColorMax),b.fillRect(0,0,this.state.contentWidth,this.state.contentHeight);for(let z=0;z{let a;Modal.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:React.createElement("div",null,React.createElement("p",null,E),React.createElement(ze,{ref:x=>a=x})),onOk:()=>je(void 0,null,function*(){if(a.onVerify())return Promise.reject();le()})})};var Le=ze},20633:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ke}});var y=ne(59301),ue=ne(92832),Ce=ne(12563),Oe=ne(8591),we={flex:"flex___eLcnP",flex1:"flex1___yUTT7",color666:"color666___TiUhG",error:"error___gTTtv",deleteIcon:"deleteIcon___mnZW1",addIcon:"addIcon___JC5NS"},Ie=ne(62772);const{TextArea:se}=ue.default;class Ze extends y.Component{constructor(ze){super(ze),this.state={inputVisible:!1,EditInputIndex:-1}}render(){let{index:ze,onAnswerChange:He,addChildAnswer:Le,exerciseIsPublish:le,answers:E,activeOptionErrorIndex:a,flex:x="0 0 1000px"}=this.props;console.log("----",E);let{inputVisible:b,EditInputIndex:z}=this.state;return y.createElement("div",{className:we.flex},y.createElement("div",{className:`${we.color666} mb5 mt6`,style:{flex:"0 0 90px"}},"\u7B54\u6848(\u586B\u7A7A",ze+1,"):"),y.createElement("div",{style:{border:"1px solid #f6f6f6",flex:1,padding:10}},E==null?void 0:E.map((te,re)=>y.createElement(y.Fragment,null,z!==re?(te==null?void 0:te.length)>0?y.createElement(Ce.default,{className:"edit-tag",key:te,closable:!((E==null?void 0:E.length)===1&&re===0),onClose:ie=>{ie.preventDefault(),(E==null?void 0:E.length)===1&&re===0?this.props.deleteChildAnswermain(ze,re):this.props.deleteChildAnswer(ze,re)}},y.createElement("span",{onDoubleClick:ie=>{this.setState({EditInputIndex:re}),ie.preventDefault()}},te)):y.createElement(ue.default,{defaultValue:te,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ie=>{if(ie.target.value.replaceAll(" ","").length<=0){Oe.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}He(ze,re,ie.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}):y.createElement(ue.default,{defaultValue:te,style:{width:78,marginRight:8,height:24,verticalAlign:"top"},onBlur:ie=>{if(ie.target.value.replaceAll(" ","").length<=0){Oe.ZP.info("\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7EAF\u7A7A\u683C");return}He(ze,re,ie.target.value),this.setState({EditInputIndex:-1,inputVisible:!1})}}))),!b&&y.createElement(Ce.default,{className:"site-tag-plus",onClick:()=>{Le(ze),this.setState({inputVisible:!0})}},y.createElement(Ie.Z,null)," \u65B0\u589E\u7B54\u6848")))}}var Ke=Ze},97805:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return le}});var y=ne(59301),ue=ne(96565),Ce=Object.defineProperty,Oe=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Ke=(E,a,x)=>a in E?Ce(E,a,{enumerable:!0,configurable:!0,writable:!0,value:x}):E[a]=x,je=(E,a)=>{for(var x in a||(a={}))se.call(a,x)&&Ke(E,x,a[x]);if(Ie)for(var x of Ie(a))Ze.call(a,x)&&Ke(E,x,a[x]);return E},ze=(E,a)=>Oe(E,we(a)),He=(E,a,x)=>Ke(E,typeof a!="symbol"?a+"":a,x);const Le="\u2581";class le extends y.Component{constructor(){super(...arguments),He(this,"getChCountBeforeCursor",(a,x)=>{const b=x.line;let z=0;for(let re=0;re{const b=a.getRange(x.from,x.to);let z=0;if(x.text.forEach(te=>{z+=te.split(Le).length-1}),b&&b.indexOf(Le)!=-1){const te=b.split(Le).length-1,re=this.getChCountBeforeCursor(a,x.from);console.log(`\u5220\u9664${te}\u4E2A\uFF0C \u4E4B\u524D\u6709${re}\u4E2A\uFF0C\u65B0\u589E${z}\u4E2A`),this.props.deleteEmptyDisabled?x.cancel():this.props.onPlaceholderChange&&this.props.onPlaceholderChange(re,te,z)}else if(z){const te=this.getChCountBeforeCursor(a,x.from);console.log(`\u65B0\u589E${z}\u4E2A\uFF0C\u4E4B\u524D\u6709${te}\u4E2A`),this.props.onPlaceholderChange&&this.props.onPlaceholderChange(te,0,z)}})}render(){return y.createElement(ue.Z,ze(je({},this.props),{onCMBeforeChange:this.onCMBeforeChange}))}}},19471:function(At,jt,ne){"use strict";ne.d(jt,{d4:function(){return Le},VP:function(){return Ke}});var y=ne(59301),ue={digitalLabel:"digitalLabel___hkWuZ",active:"active___jawU1",titleEditor:"titleEditor___wX1lW",title:"title___SuT2h",editIcon:"editIcon___XrTIi",paperTab:"paperTab___GUxeB",tabItem:"tabItem___or0fY",dottedLine:"dottedLine___Ln0Xr"};const Ce=({number:le,active:E,className:a})=>y.createElement("div",{className:`${ue.digitalLabel} ${E?ue.active:""} ${a}`},le);var Oe=ne(6848),we=ne(92832),Ie=ne(8591),se=ne(59301),Ze=(le,E,a)=>new Promise((x,b)=>{var z=ie=>{try{re(a.next(ie))}catch(ge){b(ge)}},te=ie=>{try{re(a.throw(ie))}catch(ge){b(ge)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});const Ke=({defaultValue:le,onFinish:E})=>{const[a,x]=(0,y.useState)(!1),[b,z]=(0,y.useState)(le);return(0,y.useEffect)(()=>{z(le)},[le]),se.createElement("div",{className:ue.titleEditor},a?se.createElement(we.default,{autoFocus:!0,maxLength:60,style:{textAlign:"center",marginTop:20,marginBottom:20},value:b,onChange:te=>{z(te.target.value)},onBlur:()=>Ze(void 0,null,function*(){var te;if(((te=b==null?void 0:b.replaceAll(" ",""))==null?void 0:te.length)<=0){Ie.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield E(b))&&x(!1)}),onPressEnter:()=>Ze(void 0,null,function*(){var te;if(((te=b==null?void 0:b.replaceAll(" ",""))==null?void 0:te.length)<=0){Ie.ZP.error("\u8BD5\u5377\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A");return}(yield E(b))&&x(!1)})}):se.createElement("div",{className:ue.title,onDoubleClick:()=>x(!0)},b,se.createElement(Oe.Z,{title:"\u7F16\u8F91\u8BD5\u5377\u540D\u79F0"},se.createElement("i",{className:`${ue.editIcon} iconfont icon-bianji_Hover`,onClick:()=>x(!0)}))))};var je=ne(95237),ze=ne(43604),He=(le,E,a)=>new Promise((x,b)=>{var z=ie=>{try{re(a.next(ie))}catch(ge){b(ge)}},te=ie=>{try{re(a.throw(ie))}catch(ge){b(ge)}},re=ie=>ie.done?x(ie.value):Promise.resolve(ie.value).then(z,te);re((a=a.apply(le,E)).next())});const Le=({onChange:le=()=>He(void 0,null,function*(){}),tabs:E,activeKey:a,defaultActiveKey:x,className:b=""})=>{var z,te,re,ie,ge,fe,ce;const[xe,ye]=(0,y.useState)(x===void 0?(z=E[0])==null?void 0:z.key:x);return(0,y.useEffect)(()=>{a!==void 0&&ye(a)},[a]),y.createElement(je.Z,{justify:"center",align:"middle",className:`${ue.paperTab} ${b}`},y.createElement(ze.Z,{className:`${ue.tabItem} ${xe===((te=E[0])==null?void 0:te.key)?ue.active:""}`,onClick:()=>He(void 0,null,function*(){var Ne;yield le(E[0].key),ye((Ne=E[0])==null?void 0:Ne.key)})},y.createElement(Ce,{number:1,active:xe===((re=E[0])==null?void 0:re.key),className:"mr10"}),y.createElement("span",null,(ie=E[0])==null?void 0:ie.label)),y.createElement(ze.Z,{flex:"188px",className:`${ue.dottedLine} ml30 mr30`}),y.createElement(ze.Z,{className:`${ue.tabItem} ${xe===((ge=E[1])==null?void 0:ge.key)?ue.active:""}`,onClick:()=>He(void 0,null,function*(){var Ne,pe;yield le((Ne=E[1])==null?void 0:Ne.key),ye((pe=E[1])==null?void 0:pe.key)})},y.createElement(Ce,{number:2,active:xe===((fe=E[1])==null?void 0:fe.key),className:"mr10"}),y.createElement("span",null,(ce=E[1])==null?void 0:ce.label)))}},90463:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ie}});var y=ne(60324),ue={text:"text___FxbAX",wrap:"wrap___UlBQ1",contact:"contact____pUDq",img:"img___BapAv"},Ce=ne(32637),Oe=ne(59301),Ie=({type:se,style:Ze})=>{const Ke=Oe.createElement("div",{className:ue.wrap,onClick:je=>{je.preventDefault(),je.stopPropagation()}},Oe.createElement("p",null,se==="shixun"||se==="paths"?"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u662F\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002":"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Oe.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002",se==="paths"?"\u53D1\u9001\u5230\u8BFE\u5802":"\u53D1\u5E03","\u4F7F\u7528\u4E4B\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Oe.createElement("div",{className:ue.contact},Oe.createElement("div",{className:ue.img},Oe.createElement("img",{src:Ce,width:"124px",height:"124px"})),Oe.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")));return Oe.createElement(y.Z,{content:Ke},Oe.createElement("span",{className:ue.text,style:Ze},"\u9AD8\u6D88\u8017"))}},16750:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ze}});var y=ne(59301),ue={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ce=ne(92310),Oe=ne.n(Ce),we=ne(71418),Ie=ne(2859),se=ne(38147),Ze=ne(65862),Ke=(He,Le,le)=>new Promise((E,a)=>{var x=te=>{try{z(le.next(te))}catch(re){a(re)}},b=te=>{try{z(le.throw(te))}catch(re){a(re)}},z=te=>te.done?E(te.value):Promise.resolve(te.value).then(x,b);z((le=le.apply(He,Le)).next())}),ze=({data:He,className:Le,fullWidth:le,style:E={},onClose:a,onOk:x,showFullTools:b,noAssociationId:z})=>{const te=(0,y.useRef)(null),re=(0,y.useRef)(null),ie=(0,y.useRef)(null),ge=(0,y.useRef)(null),[fe,ce]=(0,y.useState)(!1),[xe,ye]=(0,y.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,y.useEffect)(()=>{ie.current||(ie.current=document.createElement("style"),document.head.appendChild(ie.current)),He!=null&&He.visible?(document.body.setAttribute("data-custom","y-hidden"),ie.current.innerHTML=" html { overflow-y: hidden; }",He!=null&&He.src&&Ne()):(document.body.removeAttribute("data-custom"),ie.current&&(document.head.removeChild(ie.current),ie.current=null))},[He==null?void 0:He.visible]);const Ne=()=>Ke(void 0,null,function*(){ce(!0),ye("\u6B63\u5728\u52A0\u8F7D\u4E2D");const Re=yield(0,Ze.ZJ)(He==null?void 0:He.src);te.current.src="",te.current.src=Re,te.current.onload=function(){ut()},ce(!1),ye("")}),pe=()=>{document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",a()},Xe=Re=>Ke(void 0,null,function*(){ce(!0),ye("\u6B63\u5728\u4FDD\u5B58\u4E2D");const _e=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:He.title,file:Re.dataUrl}});_e!=null&&_e.id&&!z?(yield(0,se.ZP)(`/api/attachments/${He.id}/add_subitem.json`,{method:"post",body:{subitem_id:_e==null?void 0:_e.id,settings:JSON.stringify(Re.state)}})).status===0&&x():_e!=null&&_e.id&&x(_e),document.body.removeAttribute("data-custom"),ie.current.innerHTML=" ",ce(!1),ye("")}),We=()=>{const Re=document.querySelector('a[href="https://markerjs.com/"]');Re&&Re.parentNode&&(Re.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(mt=>{const Qe=document.querySelector(mt.name);Qe&&Qe.setAttribute("title",mt.title)})},ut=()=>{re.current=new Ie.hP(te.current),re.current.targetRoot=ge.current,re.current.addEventListener("render",Xe),re.current.addEventListener("beforeclose",pe),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),He!=null&&He.snapshotData&&re.current.restoreState(He.snapshotData),setTimeout(()=>{window.scrollTo(0,0),We()},300)};return y.createElement(y.Fragment,null,(He==null?void 0:He.visible)&&y.createElement(we.Z,{spinning:fe,tip:xe,style:{position:"absolute"}},y.createElement("div",{ref:ge,className:Oe()(ue.imageDimensions,Le,le?ue.fullWidth:""),style:E},y.createElement("img",{className:ue.img,ref:te}))))}},27687:function(At,jt,ne){"use strict";var y=ne(59301),ue=ne(96408),Ce=ne(48136),Oe=ne(99298),we=ne(43418),Ie=ne(59301);const se=(0,y.forwardRef)(({callback:Ze,width:Ke,onChange:je,disabled:ze,readOnly:He,type:Le="",value:le="",style:E={}},a)=>{const x=(0,y.useRef)(),b=(0,y.useRef)(),[z,te]=(0,y.useState)(0),[re,ie]=(0,y.useState)(0),[ge,fe]=(0,y.useState)(!1),ce=()=>{var pe=document.createElement("div");pe.innerHTML=x.current.getValue();var Xe=pe.innerText;return Ze&&Ze(Xe),Xe};(0,y.useImperativeHandle)(a,()=>({getData:ce}));const xe=pe=>{pe.preventDefault();const Xe=pe.clientX-z,We=pe.clientY-re;document.body.onmousemove=ut=>{let Re=ut.clientX-Xe,_e=ut.clientY-We;const mt=document.getElementsByClassName("markdown-popup-form")[0],Qe=window.innerWidth-mt.offsetWidth,ot=window.innerHeight-mt.offsetHeight;Re=Math.max(0,Math.min(Re,Qe)),_e=Math.max(0,Math.min(_e,ot)),ye(ut.clientX,ut.clientY,Xe,We)&&(te(Re),ie(_e))},document.body.onmouseup=function(){document.body.onmousemove=null}},ye=(pe,Xe,We,ut)=>{const Re=document.body.clientHeight,_e=document.body.clientWidth;return pe<20&&We>pe||pe>_e-20&&WeXe||Xe>Re-20&&ut{ge&&setTimeout(()=>{const pe=document.getElementsByClassName("markdown-popup-form")[0],Xe=window.innerWidth/2-pe.offsetWidth/2,We=window.innerHeight/2-pe.offsetHeight/2;te(Xe),ie(We)},0)},[ge]);const Ne=()=>{ze||He||fe(!0)};return Ie.createElement("div",{style:E},Ie.createElement("div",{style:{width:Ke||"100%",position:"relative"},className:`${ue.Z.mathFillWrap} ${ze||He?"cursorDefault":""}`,onClick:()=>Ne()},Ie.createElement("math-field",{disabled:ze,locale:"zh_cn",class:`${ue.Z.mathField} ${Le}`,readOnly:He,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:le?18:14},value:le||""})),Ie.createElement(we.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:z,top:re},title:Ie.createElement("div",{style:{cursor:"move"},onMouseDown:xe},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const pe=b.current.getData();x.current.setValue(pe),je(pe),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},Ie.createElement(Oe.Z,{value:le,ref:b,onChange:je,showSaveButton:!1})))});jt.Z=se},99298:function(At,jt,ne){"use strict";var y=ne(59301),ue=ne(95237),Ce=ne(43604),Oe=ne(99313),we=ne(3113),Ie=ne(6339),se=ne(96408),Ze=ne(48136),Ke=ne(59301);const je=(0,y.forwardRef)(({callback:ze,showSaveButton:He,value:Le=""},le)=>{const E=(0,y.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -66,7 +66,7 @@ \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r -\\end{array}`}]}]}],b=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ke.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},a.map((re,ie)=>Ke.createElement(Ce.Z,{flex:"110px",className:se.Z.item},Ke.createElement("div",null,Ke.createElement(Ie.Z,{value:`$$${re.value}$$`}),re.name),Ke.createElement("div",{className:se.Z.children},re.children.map((ge,fe)=>Ke.createElement("div",{key:fe},Ke.createElement("h1",null,ge.name),Ke.createElement(ue.Z,{gutter:[10,10]},ge.data.map((ce,xe)=>Ke.createElement(Ce.Z,{key:xe,onClick:()=>b(ce),className:se.Z.diamond},Ke.createElement(Ie.Z,{value:"`$$"+ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ke.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},x.map((re,ie)=>Ke.createElement(Ce.Z,{flex:"110px",className:se.Z.item},Ke.createElement("div",null,Ke.createElement(Ie.Z,{value:"`$$"+re.value+"$$`"}),re.name),Ke.createElement("div",{className:se.Z.children},re.children.map((ge,fe)=>Ke.createElement("div",{key:fe},ge.name&&Ke.createElement("h1",null,ge.name),Ke.createElement(ue.Z,{gutter:[10,10]},ge.data.map((ce,xe)=>Ke.createElement(Ce.Z,{key:xe,onClick:()=>b(ce),className:se.Z.diamond},Ke.createElement(Ie.Z,{value:"`$$"+ce.value+"$$`"}))))))))))}],te=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ie=re.innerText;return ze&&ze(ie),ie};return(0,y.useImperativeHandle)(le,()=>({getData:te})),Ke.createElement("div",{className:se.Z.mathWrap},Ke.createElement(Oe.default,{defaultActiveKey:"1",items:z}),Ke.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Le||""),He&&Ke.createElement("div",{className:se.Z.button},Ke.createElement(De.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Zt.Z=je},92716:function(Bt,Zt,ne){"use strict";ne.d(Zt,{t:function(){return tt}});var y=ne(59301),ue=ne(92832),Ce=ne(78241),Oe=ne(43418),De=ne(95237),Ie=ne(43604),se=ne(5871),Ze=ne(57809),Ke=ne(5112),je=ne(3969),ze=ne(65582),He=ne(58e3),Le=ne(8591),le=ne(3113),E=ne(71418),a=ne(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},b=ne(38147),z=ne(67172),te=ne(96565),re=ne(56102),ie=ne(10129),ge=ne(59301),fe=Object.defineProperty,ce=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Xe=(Ye,Fe,he)=>Fe in Ye?fe(Ye,Fe,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ye[Fe]=he,We=(Ye,Fe)=>{for(var he in Fe||(Fe={}))Ne.call(Fe,he)&&Xe(Ye,he,Fe[he]);if(ye)for(var he of ye(Fe))pe.call(Fe,he)&&Xe(Ye,he,Fe[he]);return Ye},dt=(Ye,Fe)=>ce(Ye,xe(Fe)),Re=(Ye,Fe,he)=>new Promise((et,Lt)=>{var we=Je=>{try{Pt(he.next(Je))}catch(Te){Lt(Te)}},be=Je=>{try{Pt(he.throw(Je))}catch(Te){Lt(Te)}},Pt=Je=>Je.done?et(Je.value):Promise.resolve(Je.value).then(we,be);Pt((he=he.apply(Ye,Fe)).next())}),mt=({buttonProps:Ye,buttonText:Fe,form:he,hackIdentifier:et="",answerKey:Lt,data:we})=>{const[be,Pt]=(0,y.useState)(!1),[Je,Te]=(0,y.useState)(!1),[Ct,pn]=(0,y.useState)(!1),[Tt,on]=(0,y.useState)({}),[an,mn]=(0,y.useState)(""),[ke,it]=(0,y.useState)(""),Et=(0,y.useRef)(et),vt=(0,y.useRef)(""),lt=(0,y.useRef)(!1);(0,y.useEffect)(()=>{Ct&&In()},[Ct]),(0,y.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const tn=()=>new Date().getTime(),En=we==null?void 0:we.code,Cn=()=>{var Yt,qt;let Ln=En?we==null?void 0:we.code:(Yt=he.getFieldValue("hack_codes"))==null?void 0:Yt.code,$t=En?we==null?void 0:we.answer_content:he.getFieldValue(Lt),ha=En?we==null?void 0:we.input:(qt=he.getFieldValue("hack_sets"))==null?void 0:qt.input;$t==null||$t.forEach(ba=>{const Xn=ba.value||ba.answer_text||"";Ln=Ln.replace(/(@▁@|@▁▁@)/,Xn)}),it(ha),mn(Ln),on({}),pn(!0)},In=()=>Re(void 0,null,function*(){var Yt,qt,Ln,$t;const ha=tn(),ba=En?we==null?void 0:we.time_limit:(Yt=he.getFieldsValue())==null?void 0:Yt.hack.time_limit,Xn=En?(qt=we==null?void 0:we.answer_content)==null?void 0:qt.length:($t=(Ln=he.getFieldsValue())==null?void 0:Ln.standard_answers)==null?void 0:$t.length;Pt(!0),yield(0,z.bM)(vt.current,{test_hack_code:an,test_input:ke});function ln(){return Re(this,null,function*(){const{status:Ba,data:qe}=yield(0,z.rX)(vt.current,"submit"),Nn=tn()-ha>(ba+3)*1e3*Xn;if(lt.current){if(Nn){Le.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Pt(!1);return}if(Ba===0){Pt(!1),on(dt(We({},qe),{showText:!0}));return}setTimeout(ln,1e3)}})}ln()}),ra=()=>Re(void 0,null,function*(){var Yt,qt,Ln,$t,ha,ba,Xn;if(!we){try{yield he.validateFields()}catch(cn){(Ln=(qt=(Yt=cn==null?void 0:cn.errorFields)==null?void 0:Yt[0])==null?void 0:qt.name)!=null&&Ln.includes("standard_answers")?Le.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Le.ZP.error(cn.errorFields[0].errors[0]),he.scrollToField(cn.errorFields[0].name,{behavior:"smooth",block:"center"});return}Te(!0);let Ba="";const qe=he.getFieldsValue();Et.current?Ba=yield(0,b.ZP)(`/api/problems/${Et.current}.json`,{method:"put",body:dt(We({},qe),{hack:dt(We({},qe==null?void 0:qe.hack),{sub_discipline_id:(Xn=(ba=qe==null?void 0:qe.hack)==null?void 0:ba.sub_discipline_id)==null?void 0:Xn[1],difficult:qe.difficulty,item_banks_group_id:qe.item_banks_group_id}),hack_codes:dt(We({},qe.hack_codes),{code:a.Base64.encode(qe.hack_codes.code)}),update_hack_sets:[We({},qe.hack_sets)],is_blank:!0})}):(Ba=yield(0,b.ZP)("/api/problems.json",{method:"post",body:dt(We({},qe),{hack:dt(We({},qe==null?void 0:qe.hack),{sub_discipline_id:(ha=($t=qe==null?void 0:qe.hack)==null?void 0:$t.sub_discipline_id)==null?void 0:ha[1],difficult:qe.difficulty,item_banks_group_id:qe.item_banks_group_id}),hack_codes:dt(We({},qe.hack_codes),{code:a.Base64.encode(qe.hack_codes.code)}),hack_sets:[We({},qe.hack_sets)],is_blank:!0})}),Et.current=Ba==null?void 0:Ba.identifier,sessionStorage.projectFill=Ba==null?void 0:Ba.identifier)}const ln=yield(0,b.ZP)(`/api/problems/${Et.current}/start.json`,{method:"get"});if((ln==null?void 0:ln.status)===0){vt.current=ln==null?void 0:ln.identifier,lt.current=!0,Te(!1),Cn();return}Te(!1)}),Xt=Yt=>{const{status:qt,error_msg:Ln,execute_time:$t,output:ha,input:ba,expected_output:Xn}=Yt;let ln=null;switch(qt){case ie.h.OK:ln=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",$t/1e3,"\u79D2"),ge.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:ln=ge.createElement(ge.Fragment,null,ge.createElement("div",null,"\u8F93\u5165\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},ba),ge.createElement("div",null,"\u8F93\u51FA\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},ha&&a.Base64.decode(ha)),ge.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},Xn&&a.Base64.decode(Xn)));break;case ie.h.EXECUTEFAILURE:ln=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ge.createElement("pre",null,ba)),ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:"error"},a.Base64.decode(Ln)));break;case ie.h.COMPILEFAILURE:ln=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ge.createElement("pre",null,ba)),ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:"error"},a.Base64.decode(Ln)));break;case ie.h.PODFAILURE:ln=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:ln=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",ln," ")};return ge.createElement("div",null,ge.createElement(le.ZP,dt(We({loading:Je},Ye),{onClick:ra}),Fe),ge.createElement(Oe.default,{open:Ct,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:be,cancelButtonProps:{style:{display:"none"}},onOk:()=>In(),onCancel:()=>{lt.current=!1,pn(!1)}},ge.createElement("div",{className:x.result},ge.createElement("div",{className:x.left},ge.createElement("div",{className:"mb20"},ge.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!we&&ge.createElement(re.CopyToClipboard,{text:an,onCopy:()=>Le.ZP.success("\u590D\u5236\u6210\u529F")},ge.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ge.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ge.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:an,onChange:Yt=>mn(Yt)})),ge.createElement("div",{className:x.right},ge.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ge.createElement("div",{className:x.box},ge.createElement("div",{className:x.li},ge.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:ke,onChange:Yt=>it(Yt.target.value),bordered:!1,style:{height:180}}))),ge.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ge.createElement("div",{className:x.box},ge.createElement(E.Z,{spinning:be,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ge.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Xt(Tt))))))))},Qe=ne(87169),at=ne(59301),Ht=Object.defineProperty,ht=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Mt=(Ye,Fe,he)=>Fe in Ye?Ht(Ye,Fe,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ye[Fe]=he,un=(Ye,Fe)=>{for(var he in Fe||(Fe={}))Ve.call(Fe,he)&&Mt(Ye,he,Fe[he]);if(Kt)for(var he of Kt(Fe))ut.call(Fe,he)&&Mt(Ye,he,Fe[he]);return Ye},Dt=(Ye,Fe)=>ht(Ye,zt(Fe)),en=(Ye,Fe)=>{var he={};for(var et in Ye)Ve.call(Ye,et)&&Fe.indexOf(et)<0&&(he[et]=Ye[et]);if(Ye!=null&&Kt)for(var et of Kt(Ye))Fe.indexOf(et)<0&&ut.call(Ye,et)&&(he[et]=Ye[et]);return he};const{TextArea:Be}=ue.default,Jt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],yn=({value:Ye,onChange:Fe})=>at.createElement(Switch,{checked:Ye,onChange:he=>{Fe(he)}}),Nt="@\u2581@",Ot="@\u2581\u2581@",tt=({questionTitlePlaceholder:Ye,form:Fe,scoreByBlank:he=!1,hackidentifier:et,answerKey:Lt})=>{const[we,be]=(0,y.useState)(!1),[Pt,Je]=(0,y.useState)(!1),Ct=(0,ze.useParams)().type==="edit",pn=(vt,lt)=>{const tn=lt.line;let En=0;for(let In=0;In{const Cn=vt.getRange(lt.from,lt.to);let In=0;if(lt.text.forEach(ra=>{In+=ra.split(Nt).length-1}),lt.text.forEach(ra=>{In+=ra.split(Ot).length-1}),lt.origin!=="setValue"){if(Cn&&(Cn.indexOf(Nt)!==-1||Cn.indexOf(Ot)!==-1)){const ra=Cn.split(Nt).length-1+Cn.split(Ot).length-1,Xt=pn(vt,lt.from);if(console.log(`\u5220\u9664${ra}\u4E2A\uFF0C \u524D\u9762\u6709${Xt}\u4E2A\uFF0C\u65B0\u589E${In}\u4E2A`),ra>1){const Yt=Array.from({length:ra},(qt,Ln)=>Xt+Ln);En(Yt)}else En(Xt)}else if(In>0){const ra=pn(vt,lt.from);console.log(`\u65B0\u589E${In}\u4E2A\uFF0C\u4E4B\u524D\u6709${ra}\u4E2A`),tn(In,ra)}}},on=()=>{const vt=Fe.getFieldValue(Lt);Fe.setFieldsValue({[Lt]:vt==null?void 0:vt.map((lt,tn)=>Dt(un({},lt),{position:tn+1}))})},an=(0,y.useRef)(),mn=(vt,lt)=>{for(let tn=0;tn{ke.current(vt),on()},Et=Ce.default.useWatch(Lt,Fe);return at.createElement("div",{className:He.Z.wrap},at.createElement(Ce.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},at.createElement(je.h,{scrollId:"name",watch:!0,height:140})),at.createElement("div",{className:He.Z.questionTitleEditorWrap},at.createElement(Ce.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},at.createElement(je.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(vt,lt)=>{const tn=Fe.getFieldValue(Lt);console.log("--preAnswerData",tn,lt),Fe.setFieldsValue({[Lt]:tn==null?void 0:tn.map((En,Cn)=>{var In;return Dt(un({},En),{position:Cn+1,multi_line:(In=lt==null?void 0:lt[Cn])==null?void 0:In.multiLine})})})},placeholder:Ye,onCMBeforeChange:(vt,lt)=>{Tt(vt,lt,mn,it)}}))),at.createElement(Ce.default.List,{name:Lt,rules:[{validator(vt,lt){if(!(lt!=null&<.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const tn of lt){const{answer_text:En}=tn||{};if((En==null?void 0:En.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(vt,{add:lt,remove:tn},{errors:En})=>(an.current=lt,ke.current=tn,at.createElement(at.Fragment,null,at.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},at.createElement(Ce.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),at.createElement("div",{onClick:()=>{Oe.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:at.createElement("div",null,at.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",at.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),at.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},at.createElement(Qe.Z,{style:{marginRight:3,color:"#3061D0"}}),at.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),vt.map((Cn,In)=>{var ra=Cn,{key:Xt,name:Yt}=ra,qt=en(ra,["key","name"]),Ln,$t;return at.createElement(De.Z,{className:"mb20",key:Xt,align:"middle",wrap:!1},at.createElement(Ie.Z,{flex:"0 0 auto",className:`${He.Z.blankIndex}`},"\u586B\u7A7A\u9879",In+1),at.createElement(Ie.Z,{flex:1},at.createElement(De.Z,{align:"top",justify:"space-between",wrap:!1},at.createElement(Ie.Z,null,at.createElement(Ce.default.Item,Dt(un({},qt),{name:[Yt,"answer_text"],noStyle:!0}),(Ln=Et==null?void 0:Et[Yt])!=null&&Ln.multi_line||($t=Et==null?void 0:Et[Yt])!=null&&$t.multiLine?at.createElement(Be,{spellCheck:!1,style:{marginLeft:10,width:550}}):at.createElement(ue.default,{style:{marginLeft:10,width:550},className:He.Z.blankInput,size:"large",maxLength:1e3,onBlur:ha=>{}}))),he&&at.createElement(Ie.Z,{flex:"224px"},at.createElement(Ce.default.Item,Dt(un({},qt),{name:[Yt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),at.createElement(se.Z,{size:"large",className:He.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),at.createElement("div",{onClick:()=>be(!0)},at.createElement(Ce.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},at.createElement(je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:we}))),at.createElement(Ce.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},at.createElement(Ze.default,{size:"large"},Jt.map(vt=>at.createElement(Ze.default.Option,{key:vt.title,value:vt.key}," ",vt.title)))),at.createElement(Ce.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},at.createElement(Ce.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},at.createElement(se.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),at.createElement("span",{className:"ml10 font14"},"\u79D2")),at.createElement(Ce.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},at.createElement(Ke.ZP.Group,{style:{marginTop:-10}},at.createElement(Ke.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),at.createElement(Ke.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),at.createElement(Ke.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),at.createElement(Ce.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),at.createElement("div",{style:{background:"#F6F7F9",padding:15}},at.createElement(Ce.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},at.createElement(Be,{rows:4})),at.createElement(Ce.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},at.createElement(Be,{rows:4}))),at.createElement(mt,{form:Fe,answerKey:Lt,hackIdentifier:et,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:at.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},85500:function(Bt,Zt,ne){"use strict";ne.d(Zt,{u:function(){return ge}});var y=ne(59301),ue=ne(95237),Ce=ne(43604),Oe=ne(6848),De=ne(78241),Ie=ne(58e3),se=ne(32134),Ze=ne(12893),Ke=ne(3969),je=ne(59301),ze=Object.defineProperty,He=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(fe,ce,xe)=>ce in fe?ze(fe,ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[ce]=xe,b=(fe,ce)=>{for(var xe in ce||(ce={}))E.call(ce,xe)&&x(fe,xe,ce[xe]);if(le)for(var xe of le(ce))a.call(ce,xe)&&x(fe,xe,ce[xe]);return fe},z=(fe,ce)=>He(fe,Le(ce)),te=(fe,ce)=>{var xe={};for(var ye in fe)E.call(fe,ye)&&ce.indexOf(ye)<0&&(xe[ye]=fe[ye]);if(fe!=null&&le)for(var ye of le(fe))ce.indexOf(ye)<0&&a.call(fe,ye)&&(xe[ye]=fe[ye]);return xe};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ie=({value:fe,onChange:ce,choiceTextKey:xe,answerKey:ye,index:Ne,isEdit:pe,setInputActive:Xe,form:We,choiceOptionsPath:dt,allowChangeMode:Re,showAddIcon:_e,addItem:mt,deleteItem:Qe})=>{console.log(fe,"value");const at=(fe==null?void 0:fe[ye])===1,Ht=()=>{const zt=We.getFieldValue(dt);We.setFieldValue(dt,zt.map(Kt=>z(b({},Kt),{[ye]:0})))},ht=()=>{at?ce(z(b({},fe),{[ye]:0})):(Re||Ht(),ce(z(b({},fe),{[ye]:1})))};return je.createElement(ue.Z,{className:Ie.Z.choiceWrap,align:"middle",wrap:!1},je.createElement(Ce.Z,{onClick:ht,className:`${Ie.Z.choiceIndex} ${at?Ie.Z.activeAnswer:""}`},re[Ne]),je.createElement(Ce.Z,{flex:1,className:`${Ie.Z.editorWrap} ml15`,onClick:Xe},je.createElement(Ke.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:pe,value:fe==null?void 0:fe[xe],onChange:zt=>{ce(z(b({},fe),{[xe]:zt}))}})),je.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},je.createElement("div",{onClick:ht,className:`${Ie.Z.setAnswerBtn} ${at?Ie.Z.activeAnswer:""}`},at?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),je.createElement(Ce.Z,{className:Ie.Z.actionWrapper},je.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},je.createElement(se.Z,{className:Ie.Z.addIcon,onClick:mt,style:{visibility:_e?"visible":"hidden"}})),je.createElement(Oe.Z,{title:"\u5220\u9664"},je.createElement(Ze.Z,{className:Ie.Z.deleteIcon,onClick:Qe,style:{visibility:Ne>1?"visible":"hidden"}}))))},ge=({questionTitlePlaceholder:fe,titleKey:ce,choiceKey:xe,analysisKey:ye,choiceTextKey:Ne,answerKey:pe,choiceOptionsPath:Xe,allowChangeMode:We=!0,form:dt,showAnalysis:Re=!0})=>{const[_e,mt]=(0,y.useState)(),[Qe,at]=(0,y.useState)(!1);return je.createElement("div",{className:Ie.Z.wrap},je.createElement("div",{className:Ie.Z.questionTitleEditorWrap},je.createElement(De.default.Item,{label:"\u9898\u5E72",name:ce,labelCol:{span:24},rules:[{required:!0}]},je.createElement(Ke.h,{scrollId:Array.isArray(ce)?ce.join("_"):`${ce}`,watch:!0,height:140,placeholder:fe}))),je.createElement(De.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),je.createElement(De.default.List,{name:xe,rules:[{validator(Ht,ht){const zt=ht.some(Ve=>Ve[pe]===1),Kt=ht.findIndex(Ve=>{var ut;return((ut=Ve[Ne])==null?void 0:ut.length)<=0});return Kt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Kt]}\u9009\u9879\u7684\u5185\u5BB9`)):zt?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Ht,{add:ht,remove:zt})=>je.createElement("div",{id:Array.isArray(Xe)?Xe.join("_"):`${Xe}`},Ht.map((Kt,Ve)=>{var ut=Kt,{key:Mt,name:un}=ut,Dt=te(ut,["key","name"]);const en=_e===Mt,Be=()=>{mt(Mt)},Jt=Ve<7&&Ve===Ht.length-1,yn=()=>ht({[Ne]:"",[pe]:0}),Nt=()=>zt(un);return je.createElement(De.default.Item,z(b({},Dt),{key:Mt,name:un,className:Ie.Z.choiceListWrap,rules:[{validator(Ot,tt){return tt!=null&&tt.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Ve]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),je.createElement(ie,{choiceTextKey:Ne,answerKey:pe,index:Ve,isEdit:en,setInputActive:Be,form:dt,choiceOptionsPath:Xe,allowChangeMode:We,showAddIcon:Jt,addItem:yn,deleteItem:Nt}))}),Ht.length<8&&je.createElement("div",{className:`${Ie.Z.addBtn} mb30`,onClick:()=>ht({[Ne]:"",[pe]:0})},"\u6DFB\u52A0\u9009\u9879"))),Re&&je.createElement("div",{onClick:()=>at(!0)},je.createElement(De.default.Item,{name:ye,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},je.createElement(Ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Qe}))))}},78909:function(Bt,Zt,ne){"use strict";ne.d(Zt,{u:function(){return We}});var y=ne(59301),ue=ne(43418),Ce=ne(95237),Oe=ne(43604),De=ne(92832),Ie=ne(6848),se=ne(78673),Ze=ne(78241),Ke=ne(5112),je=ne(5871),ze=ne(3969),He=ne(12893),Le=ne(61485),le=ne(58e3),E=ne(27687),a=ne(59301),x=Object.defineProperty,b=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ge=(dt,Re,_e)=>Re in dt?x(dt,Re,{enumerable:!0,configurable:!0,writable:!0,value:_e}):dt[Re]=_e,fe=(dt,Re)=>{for(var _e in Re||(Re={}))re.call(Re,_e)&&ge(dt,_e,Re[_e]);if(te)for(var _e of te(Re))ie.call(Re,_e)&&ge(dt,_e,Re[_e]);return dt},ce=(dt,Re)=>b(dt,z(Re)),xe=(dt,Re)=>{var _e={};for(var mt in dt)re.call(dt,mt)&&Re.indexOf(mt)<0&&(_e[mt]=dt[mt]);if(dt!=null&&te)for(var mt of te(dt))Re.indexOf(mt)<0&&ie.call(dt,mt)&&(_e[mt]=dt[mt]);return _e};const ye=({value:dt,onChange:Re})=>{const _e=Qe=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const at=[...dt];at.splice(Qe,1),Re(at)}})},mt=()=>{const Qe=[...dt];Qe.push(""),Re(Qe)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(Oe.Z,{flex:1},dt==null?void 0:dt.map((Qe,at)=>a.createElement(Ce.Z,{key:`${Qe}_${at}`,className:"mb20"},a.createElement(De.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Qe,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ht=>{const ht=[...dt],zt=Ht.target.value.trim();ht[at]=zt,Re(ht)}}),a.createElement(Ie.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:at>0?"visible":"hidden"},onClick:()=>_e(at)}))))),a.createElement(Oe.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},Ne=({value:dt,onChange:Re})=>{const _e=Qe=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const at=[...dt];at.splice(Qe,1),Re(at)}})},mt=()=>{const Qe=[...dt];Qe.push(""),Re(Qe)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(Oe.Z,{flex:1},dt==null?void 0:dt.map((Qe,at)=>a.createElement(Ce.Z,{key:`${Qe}_${at}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Qe,style:{flex:1},onChange:Ht=>{const ht=[...dt];ht[at]=Ht,Re(ht)}}),a.createElement(Ie.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:at>0?"visible":"hidden"},onClick:()=>_e(at)}))))),a.createElement(Oe.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},pe=({value:dt=!0,onChange:Re})=>a.createElement(se.Z,{checked:!dt,onChange:_e=>{Re(!_e)}}),Xe="\u2581",We=({questionTitlePlaceholder:dt,form:Re,scoreByBlank:_e=!1,answerKey:mt})=>{const[Qe,at]=(0,y.useState)(!1),Ht=(Dt,en)=>{const Be=en.line;let Jt=0;for(let Nt=0;Nt{const yn=Dt.getRange(en.from,en.to);let Nt=0;if(en.text.forEach(Ot=>{Nt+=Ot.split(Xe).length-1}),en.origin!=="setValue"){if(yn&&yn.indexOf(Xe)!==-1){const Ot=yn.split(Xe).length-1,tt=Ht(Dt,en.from);if(console.log(`\u5220\u9664${Ot}\u4E2A\uFF0C \u524D\u9762\u6709${tt}\u4E2A\uFF0C\u65B0\u589E${Nt}\u4E2A`),Ot>1){const Ye=Array.from({length:Ot},(Fe,he)=>tt+he);Jt(Ye)}else Jt(tt)}else if(Nt>0){const Ot=Ht(Dt,en.from);console.log(`\u65B0\u589E${Nt}\u4E2A\uFF0C\u4E4B\u524D\u6709${Ot}\u4E2A`),Be(Nt,Ot)}}},zt=()=>{const Dt=Re.getFieldValue(mt);Re.setFieldsValue({[mt]:Dt.map((en,Be)=>ce(fe({},en),{position:Be+1}))})},Kt=(0,y.useRef)(),Ve=(Dt,en)=>{for(let Be=0;Be{ut.current(Dt),zt()},un=Ze.default.useWatch(mt,Re);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(ze.h,{scrollId:"name",watch:!0,height:140,placeholder:dt,showNullButton:!0,onCMBeforeChange:(Dt,en)=>{ht(Dt,en,Ve,Mt)}}))),a.createElement(Ze.default.List,{name:mt,rules:[{validator(Dt,en){if(!(en!=null&&en.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Be of en){const{answer_text:Jt}=Be||{};if(Jt!=null&&Jt.some(yn=>(yn==null?void 0:yn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Dt,{add:en,remove:Be},{errors:Jt})=>(Kt.current=en,ut.current=Be,a.createElement(a.Fragment,null,a.createElement(Ze.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(Dt!=null&&Dt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),Dt.map((yn,Nt)=>{var Ot=yn,{key:tt,name:Ye}=Ot,Fe=xe(Ot,["key","name"]),he,et;return a.createElement("div",{style:{marginBottom:10},key:tt},a.createElement(Ce.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Oe.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",Nt+1),a.createElement(Ze.default.Item,ce(fe({},Fe),{name:[Ye,"model"],noStyle:!0}),a.createElement(Ke.ZP.Group,{onChange:()=>{const Lt=Re.getFieldValue(mt);Re.setFieldsValue({[mt]:Lt.map((we,be)=>ce(fe({},we),{answer_text:Ye===be?[""]:we.answer_text}))})}},a.createElement(Ke.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Ie.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Le.Z,null))),a.createElement(Ke.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Ie.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Le.Z,null)))))),a.createElement(Ce.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Oe.Z,{flex:1},a.createElement(Ce.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Oe.Z,{flex:1},a.createElement(Ze.default.Item,ce(fe({},Fe),{name:[Ye,"answer_text"],noStyle:!0}),((et=(he=Re.getFieldValue(mt))==null?void 0:he[Ye])==null?void 0:et.model)===1?a.createElement(ye,null):a.createElement(Ne,null))),_e&&a.createElement(Oe.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Ze.default.Item,ce(fe({},Fe),{name:[Ye,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(je.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Ze.default.Item,ce(fe({},Fe),{name:[Ye,"position"],noStyle:!0}),a.createElement(De.default,{type:"hidden"})))))})))),a.createElement(Ce.Z,{align:"middle"},a.createElement(Ze.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Oe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Ce.Z,{align:"middle"},a.createElement(Ze.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Oe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(un==null?void 0:un.length)>1&&a.createElement(Ce.Z,{align:"middle",className:(un==null?void 0:un.length)>1?"mb30":`${le.Z.hide}`},a.createElement(Ze.default.Item,{name:"is_ordered"},a.createElement(pe,null)),a.createElement(Oe.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>at(!0)},a.createElement(Ze.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Qe}))))}},27277:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return te}});var y=ne(59301),ue=ne(95237),Ce=ne(43604),Oe=ne(78241),De=ne(58e3),Ie=ne(3969),se=ne(59301),Ze=Object.defineProperty,Ke=Object.defineProperties,je=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,le=(re,ie,ge)=>ie in re?Ze(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:ge}):re[ie]=ge,E=(re,ie)=>{for(var ge in ie||(ie={}))He.call(ie,ge)&&le(re,ge,ie[ge]);if(ze)for(var ge of ze(ie))Le.call(ie,ge)&&le(re,ge,ie[ge]);return re},a=(re,ie)=>Ke(re,je(ie)),x=(re,ie)=>{var ge={};for(var fe in re)He.call(re,fe)&&ie.indexOf(fe)<0&&(ge[fe]=re[fe]);if(re!=null&&ze)for(var fe of ze(re))ie.indexOf(fe)<0&&Le.call(re,fe)&&(ge[fe]=re[fe]);return ge};const b={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:ge})=>{const fe=(re==null?void 0:re.is_answer)===1,ce=re==null?void 0:re.choice_text,xe=()=>{const ye=ge.getFieldsValue().choices.map(Ne=>({choice_text:Ne.choice_text,is_answer:0}));ge.setFieldsValue({choices:ye}),ie(a(E({},re),{is_answer:1}))};return se.createElement(ue.Z,{className:De.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},se.createElement(Ce.Z,{onClick:xe,className:`${De.Z.choiceIndex} ${De.Z.judgementIndex} ${fe?De.Z.activeAnswer:""}`},b[ce]),se.createElement(Ce.Z,{flex:1,className:`${De.Z.editorWrap} ml15`},se.createElement("div",{className:`${De.Z.inputBorder} ${De.Z.placeholder} ${fe?De.Z.activeJudgementAnswer:""}`},ce)),se.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},se.createElement("div",{onClick:xe,className:`${De.Z.setAnswerBtn} ${fe?De.Z.activeAnswer:""}`},fe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:re,choiceKey:ie,form:ge})=>{const[fe,ce]=(0,y.useState)(!1);return se.createElement("div",{className:De.Z.wrap},se.createElement("div",{className:De.Z.questionTitleEditorWrap},se.createElement(Oe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},se.createElement(Ie.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),se.createElement(Oe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},se.createElement(Oe.default.List,{name:"choices",rules:[{validator(xe,ye){return ye.some(pe=>(pe==null?void 0:pe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},xe=>se.createElement("div",{id:"choices"},xe.map(ye=>{var Ne=ye,{key:pe,name:Xe}=Ne,We=x(Ne,["key","name"]);return se.createElement(Oe.default.Item,a(E({},We),{key:pe,name:Xe,noStyle:!0}),se.createElement(z,{form:ge}))})))),se.createElement("div",{onClick:()=>ce(!0)},se.createElement(Oe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},se.createElement(Ie.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:fe}))))}},3969:function(Bt,Zt,ne){"use strict";ne.d(Zt,{h:function(){return E},x:function(){return a}});var y=ne(96565),ue=ne(58e3),Ce=ne(6339),Oe=ne(59301),De=Object.defineProperty,Ie=Object.defineProperties,se=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,ze=(x,b,z)=>b in x?De(x,b,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[b]=z,He=(x,b)=>{for(var z in b||(b={}))Ke.call(b,z)&&ze(x,z,b[z]);if(Ze)for(var z of Ze(b))je.call(b,z)&&ze(x,z,b[z]);return x},Le=(x,b)=>Ie(x,se(b)),le=(x,b)=>{var z={};for(var te in x)Ke.call(x,te)&&b.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&Ze)for(var te of Ze(x))b.indexOf(te)<0&&je.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var b=x,{value:z,onChange:te,scrollId:re}=b,ie=le(b,["value","onChange","scrollId"]);return Oe.createElement("div",{id:re||""},Oe.createElement(y.Z,Le(He({},ie),{defaultValue:z,onChange:(ge,fe)=>{fe!=null&&fe.length?te(ge,fe):te(ge)}})))},a=({value:x,onChange:b,placeholder:z,height:te=140,isEdit:re,miniToolbar:ie,watch:ge=!0})=>re?Oe.createElement(y.Z,{watch:ge,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:b,miniToolbar:ie}):Oe.createElement("div",{style:{cursor:"pointer"}},x?Oe.createElement(Ce.Z,{className:ue.Z.inputBorder,value:x}):Oe.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},z))},54190:function(Bt,Zt,ne){"use strict";ne.d(Zt,{W:function(){return Ne}});var y=ne(59301),ue=ne(8591),Ce=ne(12563),Oe=ne(78241),De=ne(78673),Ie=ne(95237),se=ne(43604),Ze=ne(6848),Ke=ne(92832),je=ne(5871),ze=ne(58e3),He=ne(3969),Le=ne(96565),le=ne(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(pe,Xe,We)=>Xe in pe?E(pe,Xe,{enumerable:!0,configurable:!0,writable:!0,value:We}):pe[Xe]=We,ie=(pe,Xe)=>{for(var We in Xe||(Xe={}))z.call(Xe,We)&&re(pe,We,Xe[We]);if(b)for(var We of b(Xe))te.call(Xe,We)&&re(pe,We,Xe[We]);return pe},ge=(pe,Xe)=>a(pe,x(Xe)),fe=(pe,Xe)=>{var We={};for(var dt in pe)z.call(pe,dt)&&Xe.indexOf(dt)<0&&(We[dt]=pe[dt]);if(pe!=null&&b)for(var dt of b(pe))Xe.indexOf(dt)<0&&te.call(pe,dt)&&(We[dt]=pe[dt]);return We};const ce=pe=>{var Xe=pe,{value:We,onChange:dt}=Xe,Re=fe(Xe,["value","onChange"]);const _e=mt=>{dt([mt])};return y.createElement(Le.Z,ge(ie({},Re),{defaultValue:We==null?void 0:We[0],onChange:_e}))},xe=pe=>{if(!pe)return!1;if(/^s*$/.test(pe)||pe.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Xe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return pe==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},ye=({value:pe=[],onClose:Xe})=>y.createElement(Ce.default,{closable:!0,onClose:Xe,className:ze.Z.keywordTag},y.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},pe.join(" \u6216 "))),Ne=({questionTitlePlaceholder:pe,form:Xe,showKeywords:We,isMustKeyWords:dt=We})=>{const[Re,_e]=(0,y.useState)(!1),[mt,Qe]=(0,y.useState)(""),at=Oe.default.useWatch("use_keywords",Xe),Ht=Oe.default.useWatch("question_score",Xe);return y.createElement("div",{className:ze.Z.wrap},y.createElement("div",{className:ze.Z.questionTitleEditorWrap},y.createElement(Oe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},y.createElement(He.h,{scrollId:"name",watch:!0,height:140,placeholder:pe}))),y.createElement(Oe.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},y.createElement(ce,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),We&&!dt&&y.createElement(Oe.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},y.createElement(De.Z,{defaultChecked:!0})),We&&dt&&y.createElement(Ie.Z,{align:"middle",className:"mb30"},y.createElement(Oe.default.Item,{name:"use_keywords",valuePropName:"checked"},y.createElement(De.Z,null)),y.createElement(se.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(se.Z,null,y.createElement(Ze.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(at||!dt)&&y.createElement(Oe.default.List,{name:"keywords",rules:[{validator(ht,zt){return dt?zt!=null&&zt.length?(zt==null?void 0:zt.reduce((Ve,ut)=>Ve+ut.score,0))>parseFloat(Ht)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(ht,{add:zt,remove:Kt})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${ze.Z.title} mb10`},dt?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(Ie.Z,{align:"middle",className:"font14 mb30"},y.createElement(se.Z,{flex:1},y.createElement(Ke.default,{value:mt,onChange:Ve=>{Qe(Ve.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ve=>{var ut,Mt,un,Dt;const en=`${(ut=Ve.target)==null?void 0:ut.value}`,Be=(un=(Mt=en==null?void 0:en.split("|"))==null?void 0:Mt.filter(Nt=>!!Nt))==null?void 0:un.map(Nt=>Nt==null?void 0:Nt.trim()),Jt=Xe.getFieldValue("keywords"),yn=((Dt=Jt==null?void 0:Jt.map(Nt=>Nt==null?void 0:Nt.keyword))==null?void 0:Dt.flat())||[];for(const Nt of Be)if(yn.includes(Nt)){ue.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}xe(en)&&(zt({keyword:Be,score:1}),Qe(""))},className:ze.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(se.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ht.map(Ve=>{var ut=Ve,{key:Mt,name:un}=ut,Dt=fe(ut,["key","name"]);return y.createElement(Ie.Z,{key:Mt,className:"mb20",style:{marginRight:148}},y.createElement(se.Z,{flex:1},y.createElement(Ie.Z,{align:"middle",justify:"space-between"},y.createElement(Oe.default.Item,ge(ie({},Dt),{name:[un,"keyword"]}),y.createElement(ye,{onClose:()=>Kt(un)})),dt&&y.createElement(Oe.default.Item,ge(ie({},Dt),{name:[un,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ze.Z.blankInputNumberWrapper}),y.createElement(je.Z,{className:ze.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>_e(!0)},y.createElement(Oe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(He.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Re}))))}},98408:function(Bt,Zt,ne){"use strict";ne.d(Zt,{tc:function(){return ra.t},uh:function(){return y.u},rL:function(){return In},u8:function(){return Ce.u},ZZ:function(){return ue.Z},Wk:function(){return Oe.W}});var y=ne(85500),ue=ne(27277),Ce=ne(78909),Oe=ne(54190),De=ne(59301),Ie=ne(36381),se=ne(78241),Ze=ne(95237),Ke=ne(43604),je=ne(5871),ze=ne(6848),He=ne(38854),Le=ne(58e3),le=ne(12893),E=ne(3969),a=ne(43418),x=ne(92832),b=ne(78673),z=ne(59301),te=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,xe=(Xt,Yt,qt)=>Yt in Xt?te(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,ye=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))fe.call(Yt,qt)&&xe(Xt,qt,Yt[qt]);if(ge)for(var qt of ge(Yt))ce.call(Yt,qt)&&xe(Xt,qt,Yt[qt]);return Xt},Ne=(Xt,Yt)=>re(Xt,ie(Yt)),pe=(Xt,Yt)=>{var qt={};for(var Ln in Xt)fe.call(Xt,Ln)&&Yt.indexOf(Ln)<0&&(qt[Ln]=Xt[Ln]);if(Xt!=null&&ge)for(var Ln of ge(Xt))Yt.indexOf(Ln)<0&&ce.call(Xt,Ln)&&(qt[Ln]=Xt[Ln]);return qt};const Xe=({value:Xt,onChange:Yt})=>{const qt=$t=>{a.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Le.Z.modal,onOk:()=>{const ha=[...Xt];ha.splice($t,1),Yt(ha)}})},Ln=()=>{const $t=[...Xt];$t.push(""),Yt($t)};return z.createElement(Ze.Z,{className:"ml20"},z.createElement(Ke.Z,{flex:1},Xt==null?void 0:Xt.map(($t,ha)=>z.createElement(Ze.Z,{key:`${$t}_${ha}`,align:"middle",className:"mb20"},z.createElement(x.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:$t,autoSize:{maxRows:3},maxLength:1e3,onBlur:ba=>{const Xn=[...Xt],ln=ba.target.value.trim();Xn[ha]=ln,Yt(Xn)}}),z.createElement(ze.Z,{title:"\u5220\u9664"},z.createElement(le.Z,{className:Le.Z.deleteIcon,style:{marginLeft:15,visibility:ha>0?"visible":"hidden"},onClick:()=>qt(ha)}))))),z.createElement(Ke.Z,null,z.createElement("div",{className:`${Le.Z.addBtn}`,onClick:()=>{Ln()}},"\u65B0\u589E\u7B54\u6848")))},We=({value:Xt=!0,onChange:Yt})=>z.createElement(b.Z,{checked:!Xt,onChange:qt=>{Yt(!qt)}}),dt="\u2581",Re=({questionTitlePlaceholder:Xt,form:Yt,name:qt,scoreByBlank:Ln=!1,answerKey:$t,titleKey:ha="name",analysisKey:ba="analysis",isOrdered:Xn="is_ordered"})=>{var ln,Ba;const[qe,cn]=(0,De.useState)(!1),Nn=(dn,An)=>{const vn=An.line;let $n=0;for(let _n=0;_n{const Tn=dn.getRange(An.from,An.to);let _n=0;if(An.text.forEach(Pa=>{_n+=Pa.split(dt).length-1}),An.origin!=="setValue"){if(Tn&&Tn.indexOf(dt)!==-1){const Pa=Tn.split(dt).length-1,za=Nn(dn,An.from);if(console.log(`\u5220\u9664${Pa}\u4E2A\uFF0C \u524D\u9762\u6709${za}\u4E2A\uFF0C\u65B0\u589E${_n}\u4E2A`),Pa>1){const Bn=Array.from({length:Pa},(Sa,qa)=>za+qa);$n(Bn)}else $n(za)}else if(_n>0){const Pa=Nn(dn,An.from);console.log(`\u65B0\u589E${_n}\u4E2A\uFF0C\u4E4B\u524D\u6709${Pa}\u4E2A`),vn(_n,Pa)}}},wn=()=>{const dn=Yt.getFieldValue(["sub_item_banks",...$t]);Yt.setFieldValue(["sub_item_banks",...$t],dn==null?void 0:dn.map((An,vn)=>Ne(ye({},An),{position:vn+1})))},zn=(0,De.useRef)(),Kn=(dn,An)=>{for(let vn=0;vn{ct.current(dn),wn()},St=(Ba=(ln=Yt.getFieldValue("sub_item_banks"))==null?void 0:ln[$t==null?void 0:$t[0]])==null?void 0:Ba[$t==null?void 0:$t[1]];return(0,De.useEffect)(()=>{console.log("========",Yt.getFieldsValue())},[Yt]),z.createElement("div",{className:Le.Z.wrap},z.createElement("div",{className:Le.Z.questionTitleEditorWrap},z.createElement(se.default.Item,{label:"\u9898\u5E72",name:ha,labelCol:{span:24},rules:[{required:!0}]},z.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt,showNullButton:!0,onCMBeforeChange:(dn,An)=>{bn(dn,An,Kn,At)}}))),z.createElement(se.default.List,{name:$t,rules:[{validator(dn,An){if((An==null?void 0:An.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const vn of An){const{answer_text:$n}=vn||{};if($n!=null&&$n.some(Tn=>(Tn==null?void 0:Tn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(dn,{add:An,remove:vn},{errors:$n})=>(zn.current=An,ct.current=vn,z.createElement(z.Fragment,null,z.createElement(se.default.Item,{label:z.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(dn!=null&&dn.length)&&z.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),dn.map((Tn,_n)=>{var Pa=Tn,{key:za,name:Bn}=Pa,Sa=pe(Pa,["key","name"]);return z.createElement(Ze.Z,{align:"top",key:za},z.createElement(Ke.Z,{className:`${Le.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",_n+1),z.createElement(Ke.Z,{flex:1},z.createElement(Ze.Z,{align:"top",justify:"space-between"},z.createElement(Ke.Z,{flex:1},z.createElement(se.default.Item,Ne(ye({},Sa),{name:[Bn,"answer_text"],noStyle:!0}),z.createElement(Xe,null))),Ln&&z.createElement(Ke.Z,{flex:"224px"},z.createElement(se.default.Item,Ne(ye({},Sa),{name:[Bn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Le.Z.blankInputNumberWrapper}),z.createElement(je.Z,{className:Le.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),z.createElement(se.default.Item,Ne(ye({},Sa),{name:[Bn,"position"],noStyle:!0}),z.createElement(x.default,{type:"hidden"}))))})))),z.createElement(Ze.Z,{align:"middle"},z.createElement(se.default.Item,{name:[qt,"downcase"],valuePropName:"checked"},z.createElement(b.Z,null)),z.createElement(Ke.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),z.createElement(Ze.Z,{align:"middle"},z.createElement(se.default.Item,{name:[qt,"no_space"],valuePropName:"checked"},z.createElement(b.Z,null)),z.createElement(Ke.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(St==null?void 0:St.length)>1&&z.createElement(Ze.Z,{align:"middle",className:(St==null?void 0:St.length)>1?"mb30":`${Le.Z.hide}`},z.createElement(se.default.Item,{name:Xn},z.createElement(We,null)),z.createElement(Ke.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),z.createElement("div",{className:"mt30",onClick:()=>cn(!0)},z.createElement(se.default.Item,{name:ba,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:qe}))))};var _e=ne(59301),mt=Object.defineProperty,Qe=Object.defineProperties,at=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Kt=(Xt,Yt,qt)=>Yt in Xt?mt(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,Ve=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))ht.call(Yt,qt)&&Kt(Xt,qt,Yt[qt]);if(Ht)for(var qt of Ht(Yt))zt.call(Yt,qt)&&Kt(Xt,qt,Yt[qt]);return Xt},ut=(Xt,Yt)=>Qe(Xt,at(Yt)),Mt=(Xt,Yt)=>{var qt={};for(var Ln in Xt)ht.call(Xt,Ln)&&Yt.indexOf(Ln)<0&&(qt[Ln]=Xt[Ln]);if(Xt!=null&&Ht)for(var Ln of Ht(Xt))Yt.indexOf(Ln)<0&&zt.call(Xt,Ln)&&(qt[Ln]=Xt[Ln]);return qt};const un={\u6B63\u786E:"T",\u9519\u8BEF:"F"},Dt=({value:Xt,onChange:Yt,form:qt,choiceKey:Ln})=>{const $t=(Xt==null?void 0:Xt.is_answer)===1,ha=Xt==null?void 0:Xt.choice_text,ba=()=>{var Xn;const ln=(Xn=qt==null?void 0:qt.getFieldValue(["sub_item_banks",...Ln]))==null?void 0:Xn.map(Ba=>({choice_text:Ba.choice_text,is_answer:0}));qt==null||qt.setFieldValue(["sub_item_banks",...Ln],ln),Yt(ut(Ve({},Xt),{is_answer:1}))};return _e.createElement(Ze.Z,{className:Le.Z.choiceWrap,align:"middle",wrap:!1},_e.createElement(Ke.Z,{onClick:ba,className:`${Le.Z.choiceIndex} ${Le.Z.judgementIndex} ${$t?Le.Z.activeAnswer:""}`},un[ha]),_e.createElement(Ke.Z,{flex:1,className:`${Le.Z.editorWrap} ml15`},_e.createElement("div",{className:`${Le.Z.inputBorder} ${Le.Z.placeholder} ${$t?Le.Z.activeJudgementAnswer:""}`},ha)),_e.createElement(Ke.Z,{flex:"0 0 auto",className:"ml15"},_e.createElement("div",{onClick:ba,className:`${Le.Z.setAnswerBtn} ${$t?Le.Z.activeAnswer:""}`},$t?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},en=({questionTitlePlaceholder:Xt,choiceKey:Yt="choices",form:qt,titleKey:Ln="name",analysisKey:$t="analysis"})=>{const[ha,ba]=(0,De.useState)(!1);return _e.createElement("div",{className:Le.Z.wrap},_e.createElement("div",{className:Le.Z.questionTitleEditorWrap},_e.createElement(se.default.Item,{label:"\u9898\u5E72",name:Ln,labelCol:{span:24},rules:[{required:!0}]},_e.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt}))),_e.createElement(se.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},_e.createElement(se.default.List,{name:Yt,rules:[{validator(Xn,ln){return ln.some(qe=>(qe==null?void 0:qe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Xn=>_e.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Xn.map(ln=>{var Ba=ln,{key:qe,name:cn}=Ba,Nn=Mt(Ba,["key","name"]);return _e.createElement(se.default.Item,ut(Ve({},Nn),{key:qe,name:cn,noStyle:!0}),_e.createElement(Dt,{form:qt,choiceKey:Yt}))})))),_e.createElement("div",{className:"mt30",onClick:()=>ba(!0)},_e.createElement(se.default.Item,{name:$t,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},_e.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:ha}))))};var Be=ne(8591),Jt=ne(12563),yn=ne(96565),Nt=ne(61485),Ot=Object.defineProperty,tt=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,et=Object.prototype.propertyIsEnumerable,Lt=(Xt,Yt,qt)=>Yt in Xt?Ot(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,we=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))he.call(Yt,qt)&&Lt(Xt,qt,Yt[qt]);if(Fe)for(var qt of Fe(Yt))et.call(Yt,qt)&&Lt(Xt,qt,Yt[qt]);return Xt},be=(Xt,Yt)=>tt(Xt,Ye(Yt)),Pt=(Xt,Yt)=>{var qt={};for(var Ln in Xt)he.call(Xt,Ln)&&Yt.indexOf(Ln)<0&&(qt[Ln]=Xt[Ln]);if(Xt!=null&&Fe)for(var Ln of Fe(Xt))Yt.indexOf(Ln)<0&&et.call(Xt,Ln)&&(qt[Ln]=Xt[Ln]);return qt};const Je=Xt=>{var Yt=Xt,{value:qt,onChange:Ln}=Yt,$t=Pt(Yt,["value","onChange"]);const ha=ba=>{Ln([ba])};return De.createElement(yn.Z,be(we({},$t),{defaultValue:qt==null?void 0:qt[0],onChange:ha}))},Te=Xt=>{if(!Xt)return!1;let Yt=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Xt==="|"?(Be.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Ct=({value:Xt=[],onClose:Yt})=>De.createElement(Jt.default,{closable:!0,onClose:Yt,className:Le.Z.keywordTag},De.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Xt.join(" \u6216 "))),pn=({questionTitlePlaceholder:Xt,form:Yt,showKeywords:qt,isMustKeyWords:Ln=qt,titleKey:$t="name",analysisKey:ha="analysis",answerTexts:ba="answer_texts",keywords:Xn="keywords",useKeywords:ln="use_keywords",indexs:Ba})=>{const[qe,cn]=(0,De.useState)(!1),[Nn,bn]=(0,De.useState)(""),[wn,zn]=(0,De.useState)(!1),Kn=se.default.useWatch("question_score",Yt);return De.createElement("div",{className:Le.Z.wrap},De.createElement("div",{className:Le.Z.questionTitleEditorWrap},De.createElement(se.default.Item,{label:"\u9898\u5E72",name:$t,labelCol:{span:24},rules:[{required:!0}]},De.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt}))),De.createElement(se.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:ba,labelCol:{span:24}},De.createElement(Je,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),qt&&!Ln&&De.createElement(se.default.Item,{hidden:!0,name:ln,valuePropName:"checked"},De.createElement(b.Z,{defaultChecked:!0})),qt&&Ln&&De.createElement(Ze.Z,{align:"middle",className:"mb30"},De.createElement(se.default.Item,{name:ln,valuePropName:"checked"},De.createElement(b.Z,{onChange:()=>{var ct,At,St,dn,An,vn;console.log(Yt.getFieldsValue()),zn((St=(At=(ct=Yt.getFieldsValue())==null?void 0:ct.sub_item_banks)==null?void 0:At[Ba])==null?void 0:St.use_keywords),console.log((vn=(An=(dn=Yt.getFieldsValue())==null?void 0:dn.sub_item_banks)==null?void 0:An[Ba])==null?void 0:vn.use_keywords),console.log(wn)}})),De.createElement(Ke.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),De.createElement(Ke.Z,null,De.createElement(ze.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},De.createElement(Nt.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(wn||!Ln)&&De.createElement(se.default.List,{name:Xn,rules:[{validator(ct,At){return Ln?At!=null&&At.length?(At==null?void 0:At.reduce((dn,An)=>dn+An.score,0))>parseFloat(Kn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(ct,{add:At,remove:St})=>De.createElement(De.Fragment,null,De.createElement("div",{className:`${Le.Z.title} mb10`},Ln?"\u5173\u952E\u8BCD":De.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),De.createElement(Ze.Z,{align:"middle",className:"font14 mb30"},De.createElement(Ke.Z,{flex:1},De.createElement(x.default,{value:Nn,onChange:dn=>{bn(dn.target.value)},maxLength:50,allowClear:!0,onPressEnter:dn=>{var An,vn,$n,Tn;const _n=`${(An=dn.target)==null?void 0:An.value}`,Pa=($n=(vn=_n==null?void 0:_n.split("|"))==null?void 0:vn.filter(Sa=>!!Sa))==null?void 0:$n.map(Sa=>Sa==null?void 0:Sa.trim()),za=Yt.getFieldValue(["sub_item_banks",...Xn]),Bn=((Tn=za==null?void 0:za.map(Sa=>Sa==null?void 0:Sa.keyword))==null?void 0:Tn.flat())||[];for(const Sa of Pa)if(Bn.includes(Sa)){Be.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Te(_n)&&(At({keyword:Pa,score:1}),bn(""))},className:Le.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),De.createElement(Ke.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ct.map(dn=>{var An=dn,{key:vn,name:$n}=An,Tn=Pt(An,["key","name"]);return De.createElement(Ze.Z,{key:vn,className:"mb20",style:{marginRight:148}},De.createElement(Ke.Z,{flex:1},De.createElement(Ze.Z,{align:"middle",justify:"space-between"},De.createElement(se.default.Item,be(we({},Tn),{name:[$n,"keyword"]}),De.createElement(Ct,{onClose:()=>St($n)})),Ln&&De.createElement(se.default.Item,be(we({},Tn),{name:[$n,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Le.Z.blankInputNumberWrapper}),De.createElement(je.Z,{className:Le.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),De.createElement("div",{onClick:()=>cn(!0)},De.createElement(se.default.Item,{name:ha,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},De.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:qe}))))};var Tt=ne(59301),on=Object.defineProperty,an=Object.defineProperties,mn=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,it=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,vt=(Xt,Yt,qt)=>Yt in Xt?on(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,lt=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))it.call(Yt,qt)&&vt(Xt,qt,Yt[qt]);if(ke)for(var qt of ke(Yt))Et.call(Yt,qt)&&vt(Xt,qt,Yt[qt]);return Xt},tn=(Xt,Yt)=>an(Xt,mn(Yt)),En=(Xt,Yt)=>{var qt={};for(var Ln in Xt)it.call(Xt,Ln)&&Yt.indexOf(Ln)<0&&(qt[Ln]=Xt[Ln]);if(Xt!=null&&ke)for(var Ln of ke(Xt))Yt.indexOf(Ln)<0&&Et.call(Xt,Ln)&&(qt[Ln]=Xt[Ln]);return qt};const{Panel:Cn}=Ie.default,In=({questionTitlePlaceholder:Xt,choiceKey:Yt,form:qt,withScore:Ln})=>{const[$t,ha]=(0,De.useState)([]),ba=Xn=>{ha(Xn)};return Tt.createElement("div",{className:Le.Z.wrap},Tt.createElement("div",{className:Le.Z.questionTitleEditorWrap},Tt.createElement(se.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Tt.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt}))),Tt.createElement(se.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tt.createElement(se.default.List,{name:"sub_item_banks",rules:[{validator(Xn,ln){return ln?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Xn,{add:ln,remove:Ba,move:qe})=>{const cn=qt.getFieldValue("sub_item_banks");return Tt.createElement(Tt.Fragment,null,Tt.createElement(Ie.default,{className:Xn.length>0?Le.Z.collapseWrapper:"",bordered:!1,activeKey:$t,onChange:ba,expandIcon:({isActive:Nn})=>Tt.createElement("i",{className:`iconfont icon-weizhankai ${Nn?Le.Z.open:Le.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Xn.map((Nn,bn)=>{var wn=Nn,{key:zn,name:Kn}=wn,ct=En(wn,["key","name"]),At,St,dn,An,vn,$n,Tn,_n,Pa,za;return Tt.createElement(Cn,{className:Le.Z.panel,forceRender:!0,header:Tt.createElement("div",{className:Le.Z.panelHeader},"\u7B2C",bn+1,"\u5C0F\u9898",Tt.createElement("span",null,"\uFF08",((At=cn==null?void 0:cn[Kn])==null?void 0:At.item_type)=="SINGLE"?"\u5355\u9009\u9898":((St=cn==null?void 0:cn[Kn])==null?void 0:St.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((dn=cn==null?void 0:cn[Kn])==null?void 0:dn.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((An=cn==null?void 0:cn[Kn])==null?void 0:An.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Kn,extra:Tt.createElement(Ze.Z,{align:"middle",onClick:Bn=>Bn.stopPropagation()},Ln&&Tt.createElement(Ke.Z,null,Tt.createElement(se.default.Item,tn(lt({},ct),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Kn,"question_score"],className:Le.Z.blankInputNumberWrapper}),Tt.createElement(je.Z,{className:Le.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),Tt.createElement(Ke.Z,null,Tt.createElement(Ze.Z,{align:"middle",className:"pl40",justify:"end"},bn!==0&&Tt.createElement("div",{onClick:()=>{var Bn;qe(bn,bn-1);const Sa=(Bn=qt.getFieldValue("sub_item_banks"))==null?void 0:Bn.map((qa,cr)=>(Xn.map((Gn,sn)=>{cr===sn&&(qa.q_position=Number(Gn.name)+1)}),qa));qt.setFieldValue("sub_item_banks",Sa)}},Tt.createElement(ze.Z,{title:"\u4E0A\u79FB"},Tt.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),bn{var Bn;qe(bn,bn+1);const Sa=(Bn=qt.getFieldValue("sub_item_banks"))==null?void 0:Bn.map((qa,cr)=>(Xn.map((Gn,sn)=>{cr===sn&&(qa.q_position=Number(Gn.name)+1)}),qa));qt.setFieldValue("sub_item_banks",Sa)},className:bn===0?"":"ml15"},Tt.createElement(ze.Z,{title:"\u4E0B\u79FB"},Tt.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),Tt.createElement(Ke.Z,null,Tt.createElement(ze.Z,{title:"\u5220\u9664"},Tt.createElement(le.Z,{className:`${Le.Z.deleteIcon} ml15`,onClick:()=>Ba(Kn)}))))},Tt.createElement(se.default.Item,tn(lt({},ct),{name:Kn}),(((vn=cn==null?void 0:cn[Kn])==null?void 0:vn.item_type)=="SINGLE"||(($n=cn==null?void 0:cn[Kn])==null?void 0:$n.item_type)=="MULTIPLE")&&Tt.createElement(y.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Tn=cn==null?void 0:cn[Kn])==null?void 0:Tn.item_type)=="MULTIPLE",form:qt,choiceKey:[Kn,"choices"],titleKey:[Kn,"name"],analysisKey:[Kn,"analysis"],choiceOptionsPath:["sub_item_banks",Kn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((_n=cn==null?void 0:cn[Kn])==null?void 0:_n.item_type)=="COMPLETION"&&Tt.createElement(Re,{form:qt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:Kn,titleKey:[Kn,"name"],analysisKey:[Kn,"analysis"],isOrdered:[Kn,"is_ordered"],answerKey:[Kn,"standard_answers"]}),((Pa=cn==null?void 0:cn[Kn])==null?void 0:Pa.item_type)=="JUDGMENT"&&Tt.createElement(en,{form:qt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Kn,"name"],analysisKey:[Kn,"analysis"],choiceKey:[Kn,"choices"]}),((za=cn==null?void 0:cn[Kn])==null?void 0:za.item_type)=="SUBJECTIVE"&&Tt.createElement(pn,{showKeywords:!0,isMustKeyWords:!1,form:qt,titleKey:[Kn,"name"],analysisKey:[Kn,"analysis"],answerTexts:[Kn,"answer_texts"],useKeywords:[Kn,"use_keywords"],keywords:[Kn,"keywords"],indexs:Kn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Xn.length<20&&Tt.createElement(He.Z,{menu:{items:[{label:Tt.createElement("div",{onClick:()=>{ln({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),ha([Xn==null?void 0:Xn.length,...$t])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Tt.createElement("div",{onClick:()=>{ln({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),ha([Xn==null?void 0:Xn.length,...$t])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Tt.createElement("div",{onClick:()=>{ln({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),ha([Xn==null?void 0:Xn.length,...$t])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Tt.createElement("div",{onClick:()=>{ln({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),ha([Xn==null?void 0:Xn.length,...$t])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Tt.createElement("div",{onClick:()=>{ln({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),ha([Xn==null?void 0:Xn.length,...$t])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Nn=>Nn.show).map(Nn=>({label:Nn.label,key:Nn.key}))}},Tt.createElement("div",{className:`${Le.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var ra=ne(92716)},25965:function(Bt,Zt,ne){"use strict";ne.d(Zt,{C:function(){return Re}});var y=ne(59301),ue={recalculation:"recalculation____i9AE",tips:"tips___GoMu8",filter:"filter___Vx7VO",input:"input___OEMMv",operating:"operating___TS9iA",operatingItem:"operatingItem___AT84q"},Ce=ne(92310),Oe=ne.n(Ce),De=ne(24905),Ie=ne(95237),se=ne(8591),Ze=ne(6848),Ke=ne(3113),je=ne(43418),ze=ne(1710),He=ne(5871),Le=ne(78241),le=ne(71418),E=ne(65862),a=ne(38147),x=ne(41867),b=ne(71067),z=ne(3918),te=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,xe=(_e,mt,Qe)=>mt in _e?te(_e,mt,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):_e[mt]=Qe,ye=(_e,mt)=>{for(var Qe in mt||(mt={}))fe.call(mt,Qe)&&xe(_e,Qe,mt[Qe]);if(ge)for(var Qe of ge(mt))ce.call(mt,Qe)&&xe(_e,Qe,mt[Qe]);return _e},Ne=(_e,mt)=>re(_e,ie(mt)),pe=(_e,mt,Qe)=>new Promise((at,Ht)=>{var ht=Ve=>{try{Kt(Qe.next(Ve))}catch(ut){Ht(ut)}},zt=Ve=>{try{Kt(Qe.throw(Ve))}catch(ut){Ht(ut)}},Kt=Ve=>Ve.done?at(Ve.value):Promise.resolve(Ve.value).then(ht,zt);Kt((Qe=Qe.apply(_e,mt)).next())});const Xe=De.default.Group,We=({className:_e,title:mt,items:Qe=[],value:at,onChange:Ht})=>{const ht=(Qe==null?void 0:Qe.length)===(at==null?void 0:at.length),zt=(at==null?void 0:at.length)>0&&(at==null?void 0:at.length)<(Qe==null?void 0:Qe.length),Kt=Ve=>{const ut=Qe.map(Mt=>Mt.id);Ht(Ve.target.checked?ut:[])};return y.createElement(Ie.Z,{align:"middle",className:_e},!!mt&&y.createElement("div",{className:"mr20",style:{color:"#5F6368"}},mt),y.createElement(De.default,{indeterminate:zt,onChange:Kt,checked:ht},"\u5168\u90E8"),y.createElement(Xe,{value:at,onChange:Ht},Qe.map(Ve=>y.createElement(De.default,{className:"ml30 c-black",key:Ve.id,value:Ve.id},Ve.name,y.createElement("span",null,`(${Ve.count})`)))))};var Re=({className:_e,style:mt,dataSource:Qe})=>{var at,Ht,ht,zt,Kt,Ve,ut;const[Mt,un]=(0,y.useState)({}),[Dt,en]=(0,y.useState)(!0),[Be,Jt]=(0,y.useState)(!1),[yn,Nt]=(0,y.useState)(!1),[Ot,tt]=(0,y.useState)(null),[Ye,Fe]=(0,y.useState)(0),[he,et]=(0,y.useState)({}),[Lt,we]=(0,y.useState)(!0),[be,Pt]=(0,y.useState)(0),[Je,Te]=(0,y.useState)(0),[Ct,pn]=(0,y.useState)(!1),Tt=(0,y.useRef)(null),[on,an]=(0,y.useState)(!1),[mn,ke]=(0,y.useState)(!0),[it,Et]=(0,y.useState)([]),vt={page:1,per_page:5,keyword:"",review:[],question_status:[],success_status:[],sort_by:null,direction:null},[lt,tn]=(0,y.useState)(ye({},vt));(0,y.useEffect)(()=>{Qe!=null&&Qe.question_id&&un(Qe)},[Qe==null?void 0:Qe.question_id]),(0,y.useEffect)(()=>{var ln;if(((ln=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:ln.status)==="running"){const Ba=setInterval(()=>{In()},3e3);return()=>clearInterval(Ba)}},[(at=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:at.status]),(0,y.useEffect)(()=>{var ln;yn&&(yn===1&&(lt.question_status=ra.map(Ba=>Ba.value),lt.review=Xt.map(Ba=>Ba.value)),yn===2&&(lt.exercise_question_resubmit_id=(ln=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:ln.id,Ot===1&&(lt.success_status=[1]),Ot===2&&(lt.success_status=[0])),tn(ye({},lt)),En(lt),Te(Mt!=null&&Mt.is_mirror?3:10),Pt(Mt!=null&&Mt.is_mirror?1:5))},[yn]),(0,y.useEffect)(()=>{on&&Cn()},[on]);const En=ln=>pe(void 0,null,function*(){en(!0);const Ba=yield(0,a.ZP)(`/api/exercise_questions/${Mt==null?void 0:Mt.question_id}/resubmit_student_list.json`,{method:"get",params:ln});(Ba==null?void 0:Ba.status)==0&&(et(Ba||[]),Fe(Ba==null?void 0:Ba.count)),en(!1)}),Cn=()=>pe(void 0,null,function*(){ke(!0);const ln=yield(0,a.ZP)(`/api/exercise_questions/${Mt==null?void 0:Mt.question_id}/resubmit_history.json`,{method:"get"});(ln==null?void 0:ln.status)==0&&Et((ln==null?void 0:ln.data)||[]),ke(!1)}),In=()=>pe(void 0,null,function*(){const ln=yield(0,a.ZP)(`/api/exercise_questions/${Mt==null?void 0:Mt.question_id}/resubmit_status.json`,{method:"get"});(ln==null?void 0:ln.status)==0&&un(Ne(ye({},Mt),{show_resubmit_history:!0,exercise_question_resubmit:(ln==null?void 0:ln.data)||{}}))}),ra=[{label:"\u672A\u8BC4\u6D4B",value:2,color:"#9096A3"},{label:"\u672A\u901A\u5173",value:0,color:"#E30000"},{label:"\u5DF2\u901A\u5173",value:1,color:"#00B187"}],Xt=[{label:"\u672A\u8BC4\u9605",value:0,color:"#9096A3"},{label:"\u8BC4\u9605\u4E2D",value:2,color:"#FF9D18"},{label:"\u5DF2\u8BC4\u9605",value:1,color:"#3061D0"}],Yt=[{label:"\u6210\u529F",value:1,color:"#00B187"},{label:"\u5931\u8D25",value:0,color:"#E30000"}],qt=[{title:"\u5E8F\u53F7",dataIndex:"key",render:(ln,Ba,qe)=>y.createElement("span",{className:"c-black"},qe+1+(lt.page-1)*lt.per_page)},{title:"\u59D3\u540D",dataIndex:"user_name",render:ln=>y.createElement("span",{className:"c-black"},ln)},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,render:ln=>y.createElement("span",{className:"c-grey-666"},ln||"--")},{title:"\u5206\u73ED",dataIndex:"group_name",render:ln=>y.createElement("span",{className:"c-black"},ln)},{title:"\u9898\u76EE\u72B6\u6001",dataIndex:"question_status",render:ln=>{const{label:Ba,color:qe}=ra.find(cn=>cn.value===ln)||{};return y.createElement("span",{style:{color:qe}},Ba)}},{title:"\u9898\u76EE\u5F97\u5206",dataIndex:"question_score",sorter:!0,render:ln=>y.createElement("span",{className:"c-black"},ln)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:ln=>y.createElement("span",{className:"c-black"},ln)},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"review",render:ln=>{const{label:Ba,color:qe}=Xt.find(cn=>cn.value===ln)||{};return y.createElement("span",{style:{color:qe}},Ba)}},yn===2&&{title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"success_status",render:ln=>{const{label:Ba,color:qe}=Yt.find(cn=>cn.value===ln)||{};return y.createElement("span",{style:{color:qe}},Ba)}}].filter(Boolean),Ln=(ln,Ba,qe)=>{lt.page=ln==null?void 0:ln.current,lt.per_page=ln==null?void 0:ln.pageSize,qe!=null&&qe.order?(lt.sort_by=qe==null?void 0:qe.field,lt.direction=(qe==null?void 0:qe.order)==="ascend"?"asc":"desc"):(lt.sort_by=null,lt.direction=null),tn(ye({},lt)),En(lt)},$t=()=>{if(!be){se.ZP.warning("\u8BF7\u8F93\u5165\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570");return}pn(!0)},ha=()=>pe(void 0,null,function*(){var ln,Ba;if((ln=Tt.current)!=null&&ln.onVerify())return;Jt(!0);const qe=yield(0,a.ZP)(`/api/exercise_questions/${Mt==null?void 0:Mt.question_id}/resubmit.json`,{method:"post",body:{keyword:lt.keyword,question_status:lt.question_status,review:lt.review_status,success_status:lt.success_status,use_max_score:Lt,permits:be,exercise_question_resubmit_id:yn===1?null:(Ba=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:Ba.id}});(qe==null?void 0:qe.status)==0&&(yield In(),se.ZP.success("\u64CD\u4F5C\u6210\u529F"),pn(!1),Nt(!1)),Jt(!1)}),ba=(ln,Ba)=>{lt.page=1,lt[Ba]=ln,tn(ye({},lt)),En(lt)},Xn=["","\u5F53\u524D\u9898\u76EE\u7684\u5B9E\u9A8C\u8D44\u6E90\u4E3A\u4E13\u6709\u4E91\uFF0C\u4E0D\u652F\u6301\u91CD\u65B0\u8BC4\u6D4B~","\u8BE5\u529F\u80FD\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u548C\u8003\u8BD5\u7684\u521B\u5EFA\u8005\u53EF\u4EE5\u64CD\u4F5C~"];return y.createElement(y.Fragment,null,y.createElement("div",{className:Oe()(ue.recalculation,_e),style:mt},y.createElement(Ze.Z,{title:Xn[(Mt==null?void 0:Mt.disable_resubmit_reason)||0]},y.createElement(Ke.ZP,{disabled:(Mt==null?void 0:Mt.disable_resubmit)||((Ht=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:Ht.status)==="running",onClick:()=>Nt(1),icon:y.createElement("i",{className:"iconfont icon-zhongxinpingce font14"}),type:"primary",ghost:!0},"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206")),(Mt==null?void 0:Mt.show_resubmit_history)&&y.createElement(y.Fragment,null,((ht=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:ht.status)==="running"?y.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",y.createElement("span",{className:"c-light-primary ml3"},(zt=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:zt.rate)):y.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",y.createElement("span",{onClick:()=>{Nt(2),tt(1)},className:"current",style:{color:"#3061D0",textDecoration:"underline",margin:"0 3px"}},(Kt=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:Kt.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",y.createElement("span",{onClick:()=>{Nt(2),tt(2)},className:"current",style:{color:"#E30000",textDecoration:"underline",margin:"0 3px"}},(Ve=Mt==null?void 0:Mt.exercise_question_resubmit)==null?void 0:Ve.fail_count),"\u4EBA"),y.createElement(Ze.Z,{title:"\u64CD\u4F5C\u8BB0\u5F55"},y.createElement("i",{onClick:()=>an(!0),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})))),y.createElement(je.default,{centered:!0,open:!!yn,title:`\u91CD\u65B0\u8BC4\u6D4B${yn===1?"\u7B97\u5206":"\u7ED3\u679C"}`,width:870,okText:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",onCancel:()=>Nt(!1),onOk:$t,afterClose:()=>{we(!0),tt(null),tn(ye({},vt))}},y.createElement("div",{className:ue.filter},yn===1&&y.createElement(y.Fragment,null,y.createElement("div",{className:ue.tips},y.createElement("div",{className:"mb5",style:{color:"#FF9D18"}},y.createElement("i",{className:"iconfont icon-tishi9 mr10 font14"}),"\u6E29\u99A8\u63D0\u793A"),y.createElement("div",null,"1.\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206\u6D41\u7A0B\uFF1A \u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u5B66\u751F\u5728\u8003\u8BD5\u9875\u9762\u4FDD\u5B58\u7684\u6700\u65B0\u4EE3\u7801\uFF0C\u5E76\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\uFF0C\u4ECE\u800C\u7CBE\u51C6\u8BA1\u7B97\u51FA\u5B66\u751F\u7684\u6700\u7EC8\u5F97\u5206\uFF1B"),y.createElement("div",{style:{margin:"2px 0"}},"2.\u91CD\u65B0\u8BC4\u6D4B\u6761\u4EF6\uFF1A \u8003\u8BD5\u7ED3\u675F\u540E\uFF0C\u4EC5\u5BF9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u5DF2\u4F5C\u7B54\u8BE5\u9898\u76EE\u7684\u5B66\u751F\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\u4E0E\u7B97\u5206\uFF1B"),y.createElement("div",null,"3.\u91CD\u65B0\u8BC4\u6D4B\u65F6\uFF0C\u8BF7\u786E\u4FDD\u5B9E\u9A8C\u73AF\u5883\u80FD\u6B63\u5E38\u542F\u52A8\u5E76\u53EF\u8FD0\u884C\u8BC4\u6D4B\u3002")),y.createElement(We,{className:"mt10",title:"\u9898\u76EE\u72B6\u6001",items:(he==null?void 0:he.question_status)||[],value:lt.question_status,onChange:ln=>ba(ln,"question_status")}),y.createElement(We,{className:"mt10",title:"\u8BC4\u9605\u72B6\u6001",items:(he==null?void 0:he.review_status)||[],value:lt.review,onChange:ln=>ba(ln,"review")})),yn===2&&y.createElement(y.Fragment,null,y.createElement(We,{className:"mt10",title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",items:(he==null?void 0:he.success_status)||[],value:lt.success_status,onChange:ln=>ba(ln,"success_status")})),y.createElement(z.t7,{className:ue.input,style:{bottom:yn===1?10:-5},value:lt.keyword,onChange:ln=>ba(ln,"keyword"),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"})),y.createElement(ze.default,{className:"mt20",columns:qt,scroll:((ut=he==null?void 0:he.data)==null?void 0:ut.length)>7?{y:300}:{},dataSource:(he==null?void 0:he.data)||[],loading:Dt,onChange:Ln,pagination:{total:Ye,pageSize:lt.per_page,current:lt.page,hideOnSinglePage:!Ye,showSizeChanger:!0,pageSizeOptions:["5","10","20","50","100"],showQuickJumper:!0,size:"default",showTotal:E.rU}}),y.createElement(Ie.Z,{justify:"space-between",align:"middle",className:"mt10"},y.createElement(De.default,{className:"c-black",checked:Lt,onChange:ln=>we(ln.target.checked)},"\u91CD\u65B0\u8BC4\u6D4B\u540E\u7684\u5206\u6570\u5927\u4E8E\u539F\u6765\u7684\u5206\u6570\u624D\u66F4\u65B0\u6210\u7EE9"),(0,x.Ny)()&&y.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570",y.createElement(He.Z,{className:"ml10 mr10",value:be,max:Je,min:1,precision:0,onChange:ln=>Pt(ln)}),"\u4EBA",y.createElement(Ze.Z,{overlayStyle:{maxWidth:450},title:"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A20\u4EBA\uFF08\u81EA\u5B9A\u4E49\u955C\u50CF\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A3\u4EBA\uFF09\u3002"},y.createElement("i",{style:{color:"#9096A3"},className:"iconfont icon-tishi5 font13 ml10"}))))),y.createElement(je.default,{centered:!0,title:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",open:Ct,width:494,zIndex:1001,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Be,destroyOnClose:!0,onOk:ha,onCancel:()=>pn(!1)},y.createElement(Le.default.Item,{className:"mb0",colon:!1,label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},y.createElement(b.Z,{ref:ln=>Tt.current=ln}))),y.createElement(je.default,{centered:!0,title:"\u64CD\u4F5C\u8BB0\u5F55",open:on,width:710,onCancel:()=>an(!1),footer:null},y.createElement(le.Z,{spinning:mn},y.createElement("div",{className:ue.operating},it.map((ln,Ba)=>y.createElement("div",{key:Ba,className:ue.operatingItem},y.createElement("div",{style:{flex:"0 0 180px"},className:"c-grey-666"},ln==null?void 0:ln.created_at),y.createElement("div",{className:"c-black"},ln==null?void 0:ln.user_name,"\u64CD\u4F5C\u4E86\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206"),(ln==null?void 0:ln.status)==="running"?y.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",y.createElement("span",{className:"c-light-primary ml3"},ln==null?void 0:ln.rate)):y.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",y.createElement("span",{style:{color:"#3061D0",margin:"0 3px"}},ln==null?void 0:ln.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",y.createElement("span",{style:{color:"#E30000",margin:"0 3px"}},ln==null?void 0:ln.fail_count),"\u4EBA")))),y.createElement("div",{style:{height:20}}))))}},83028:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ze}});var y=ne(59301),ue={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Ce=ne(43418),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",De="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ie=(Ke,je,ze)=>new Promise((He,Le)=>{var le=x=>{try{a(ze.next(x))}catch(b){Le(b)}},E=x=>{try{a(ze.throw(x))}catch(b){Le(b)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((ze=ze.apply(Ke,je)).next())}),Ze=({type:Ke,resdata:je,onok:ze,oktext:He,okloading:Le})=>{const[le,E]=(0,y.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:b,course_data_list:z,no_copy_list:te,no_copy_num:re,no_use_list:ie,no_use_num:ge,repeat_shixun_num:fe,student_count:ce,total_num:xe,use_num:ye}=je;let Ne=x>0||Ke==="exercise";(0,y.useEffect)(()=>{(je==null?void 0:je.student_count)>0&&E(!0)},[je]),console.log("---11",Le),(0,y.useEffect)(()=>{Le||E(!1)},[Le]);const pe=()=>{if(Ke==="exercise"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Ke==="exercise"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="shixun"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="shixun"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="subject"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="subject"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:ue.orangeColor},ce)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:ue.orangeColor},ye)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Ke==="shixunpush"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="shixunpush"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Xe=()=>{if(Ke==="exercise"||Ke==="subject"||Ke==="exercisepush"||Ke==="shixunpush")return y.createElement("div",{style:{marginTop:20}},re>0&&y.createElement("div",null,y.createElement("span",{className:ue.flex},y.createElement("img",{src:De,style:{width:14}}),y.createElement("span",{className:ue.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:ue.statusbody},Ke==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Ke==="subject"||Ke==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ne&&y.createElement("span",{className:ue.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ke==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ne&&y.createElement("span",{className:ue.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),y.createElement("div",null,te==null?void 0:te.map((We,dt)=>y.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",dt+1!==re&&"\u3001"))))),x>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:ue.flex},y.createElement("img",{src:Oe,style:{width:14}}),y.createElement("span",{className:ue.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:ue.statusbody},Ke==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Ke==="subject"||Ke==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ke==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),y.createElement("div",null,a==null?void 0:a.map((We,dt)=>y.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",dt+1!==x&&"\u3001"))))));if(Ke==="shixun")return y.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return y.createElement(Ce.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ne&&"none"}},zIndex:1003,confirmLoading:Le,okText:Ne?He:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ie(void 0,null,function*(){Ne?yield ze([...a,...ie]):E(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},pe(),Xe()))}},88436:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ie}});var y=ne(59301),ue={btn:"btn___kReTL",redBtn:"redBtn___UFEL0"},Ce=ne(92310),Oe=ne.n(Ce),Ie=({className:se,style:Ze,state:Ke,onClick:je})=>{var ze,He;return y.createElement("div",{onClick:je,className:Oe()(Ke?(ze=ue)==null?void 0:ze.redBtn:(He=ue)==null?void 0:He.btn,se),style:Ze},Ke?y.createElement(y.Fragment,null,y.createElement("i",{className:"iconfont icon-biaoji1"}),y.createElement("span",null,"\u53D6\u6D88\u6807\u8BB0\u9519\u9898")):y.createElement(y.Fragment,null,y.createElement("i",{className:"iconfont icon-biaojigaiti"}),y.createElement("span",null,"\u6807\u8BB0\u9519\u9898")))}},85533:function(Bt,Zt,ne){"use strict";ne.d(Zt,{h:function(){return re}});var y=ne(59301),ue=ne(57809),Ce=ne(78241),Oe=ne(3113),De=ne(89780),Ie=ne.n(De),se=ne(45559),Ze=ne(42313),Ke=Object.defineProperty,je=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(ie,ge,fe)=>ge in ie?Ke(ie,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ie[ge]=fe,a=(ie,ge)=>{for(var fe in ge||(ge={}))Le.call(ge,fe)&&E(ie,fe,ge[fe]);if(He)for(var fe of He(ge))le.call(ge,fe)&&E(ie,fe,ge[fe]);return ie},x=(ie,ge)=>je(ie,ze(ge));const b=ue.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};Zt.Z=({callback:ie,onCancel:ge})=>{const[fe,ce]=(0,y.useState)("python");function xe(Ne){ce(te[Ne][1])}function ye(Ne){ie(Ne)}return y.createElement(Ce.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),y.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(ue.default,{getPopupContainer:Ne=>Ne.parentNode,onChange:xe},Object.keys(te).map(Ne=>y.createElement(b,{key:Ne,value:Ne},te[Ne][0])))),y.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(re,{mode:fe})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Oe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function re({value:ie,onChange:ge,mode:fe,options:ce={}}){const xe=(0,y.useRef)(),[ye,Ne]=(0,y.useState)();return(0,y.useEffect)(()=>{if(ye){let pe=function(Xe){const We=Xe.getValue();ge&&ge(We)};return ye.on("change",pe),()=>{ye.off("change",pe)}}},[ye,ge]),(0,y.useEffect)(()=>{ye&&ye.setOption("mode",fe)},[ye,fe]),(0,y.useEffect)(()=>{ye&&(ie!==ye.getValue()||ie==="")&&setTimeout(()=>{ye.setValue(ie||"")},300)},[ye,ie]),(0,y.useEffect)(()=>{if(xe.current&&!ye){const pe=Ie().fromTextArea(xe.current,a({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ce));Ne(pe)}},[xe.current,ye]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:xe}))}},96565:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Kn}});var y=ne(59301),ue=ne(89780),Ce=ne.n(ue),Oe=ne(76374),De=ne(45559),Ie=ne(6313),se=ne(25717),Ze=ne(99498),Ke=ne(25419),je=ne(67549),ze=ne(6339),He=({value:ct="",className:At,showTextOnly:St,showLines:dn,style:An={}})=>{const vn=(0,y.useMemo)(()=>"",[ct]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:vn}}))},Le=ne(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(ct,At,St)=>At in ct?le(ct,At,{enumerable:!0,configurable:!0,writable:!0,value:St}):ct[At]=St,re=(ct,At)=>{for(var St in At||(At={}))b.call(At,St)&&te(ct,St,At[St]);if(x)for(var St of x(At))z.call(At,St)&&te(ct,St,At[St]);return ct},ie=(ct,At)=>E(ct,a(At));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function fe({onActionCallback:ct,title:At,icon:St,actionName:dn,className:An="",children:vn}){function $n(){ct(dn)}return Le.createElement("a",{title:At,className:An,onClick:$n},Le.createElement("i",{className:`${St}`}),vn)}var ce=({watch:ct,showNullButton:At,showNullProgramButton:St,onActionCallback:dn,fullScreen:An,insertTemp:vn,hidetoolBar:$n,extraUse:Tn})=>{const _n=[...ge,{title:`${ct?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ct?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Le.createElement("ul",{className:"markdown-toolbar-container"},!$n&&_n.map((Pa,za)=>Le.createElement("li",{key:za},Pa.actionName?Le.createElement(fe,ie(re({},Pa),{onActionCallback:dn})):Le.createElement("span",{className:"v-line"}))),At?Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:dn},Le.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,St?Le.createElement(Le.Fragment,null,Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:dn},Le.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:dn},Le.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,vn&&Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${vn}`,onActionCallback:dn},Le.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Tn&&Le.createElement("li",null,Tn),Le.createElement("li",{className:"btn-full-screen"},Le.createElement(fe,{icon:`${An?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:An?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:dn})))},xe=ne(57261),ye=ne(78241),Ne=ne(92832),pe=ne(3113),Xe=Object.defineProperty,We=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Qe=(ct,At,St)=>At in ct?Xe(ct,At,{enumerable:!0,configurable:!0,writable:!0,value:St}):ct[At]=St,at=(ct,At)=>{for(var St in At||(At={}))_e.call(At,St)&&Qe(ct,St,At[St]);if(Re)for(var St of Re(At))mt.call(At,St)&&Qe(ct,St,At[St]);return ct},Ht=(ct,At)=>We(ct,dt(At));const ht={labelCol:{span:4},wrapperCol:{span:20}};var zt=({callback:ct,onCancel:At})=>{function St(dn){ct(dn)}return y.createElement(ye.default,Ht(at({},ht),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:St,style:{width:500}}),y.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(Ne.default,null)),y.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(Ne.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(pe.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},Kt=ne(85533),Ve=ne(45053),ut=ne(43418),Mt=ne(95237),un=ne(16750),Dt=ne(59301),en=({callback:ct,onCancel:At})=>{const St=document.createElement("canvas"),dn=St.getContext("2d");St.width=1e3,St.height=800,dn.fillStyle="#ffffff",dn.fillRect(0,0,St.width,St.height);const An=St.toDataURL("image/png");return Dt.createElement(ut.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Dt.createElement(Mt.Z,{style:{height:"100vh"}},Dt.createElement(un.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:An,visible:!0,title:String(Date.now())},onOk:vn=>{ct({src:vn.url})},onClose:At})))},Be=ne(12378);function Jt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Jt,go.CommandHandler),Jt.prototype.canAlignSelection=function(){var ct=this.diagram;return!(ct===null||ct.isReadOnly||ct.isModelReadOnly||ct.selection.count<2)},Jt.prototype.alignLeft=function(){var ct=this.diagram;ct.startTransaction("aligning left");var At=1/0;ct.selection.each(function(St){St instanceof go.Link||(At=Math.min(St.position.x,At))}),ct.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(At,St.position.y))}),ct.commitTransaction("aligning left")},Jt.prototype.alignRight=function(){var ct=this.diagram;ct.startTransaction("aligning right");var At=-1/0;ct.selection.each(function(St){if(!(St instanceof go.Link)){var dn=St.actualBounds.x+St.actualBounds.width;At=Math.max(dn,At)}}),ct.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(At-St.actualBounds.width,St.position.y))}),ct.commitTransaction("aligning right")},Jt.prototype.alignTop=function(){var ct=this.diagram;ct.startTransaction("alignTop");var At=1/0;ct.selection.each(function(St){St instanceof go.Link||(At=Math.min(St.position.y,At))}),ct.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(St.position.x,At))}),ct.commitTransaction("alignTop")},Jt.prototype.alignBottom=function(){var ct=this.diagram;ct.startTransaction("aligning bottom");var At=-1/0;ct.selection.each(function(St){if(!(St instanceof go.Link)){var dn=St.actualBounds.y+St.actualBounds.height;At=Math.max(dn,At)}}),ct.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(St.actualBounds.x,At-St.actualBounds.height))}),ct.commitTransaction("aligning bottom")},Jt.prototype.alignCenterX=function(){var ct=this.diagram,At=ct.selection.first();if(At){ct.startTransaction("aligning Center X");var St=At.actualBounds.x+At.actualBounds.width/2;ct.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(St-dn.actualBounds.width/2,dn.actualBounds.y))}),ct.commitTransaction("aligning Center X")}},Jt.prototype.alignCenterY=function(){var ct=this.diagram,At=ct.selection.first();if(At){ct.startTransaction("aligning Center Y");var St=At.actualBounds.y+At.actualBounds.height/2;ct.selection.each(function(dn){dn instanceof go.Link||dn.move(new go.Point(dn.actualBounds.x,St-dn.actualBounds.height/2))}),ct.commitTransaction("aligning Center Y")}},Jt.prototype.alignColumn=function(ct){var At=this.diagram;At.startTransaction("align Column"),ct===void 0&&(ct=0),ct=parseFloat(ct);var St=new Array;At.selection.each(function(Tn){Tn instanceof go.Link||St.push(Tn)});for(var dn=0;dn0){for(var Tn=vn.elt($n-1);Tn!==null&&Tn.isTreeExpanded&&!Tn.isTreeLeaf;){var _n=this._sortTreeChildrenByY(Tn);Tn=_n.last()}Tn!==null&&ct.select(Tn)}else ct.select(An)}}else if(St.key==="Down")if(At.isTreeExpanded&&!At.isTreeLeaf){var dn=this._sortTreeChildrenByY(At).first();dn!==null&&ct.select(dn)}else for(;At!==null;){var An=At.findTreeParentNode();if(An===null)break;var vn=this._sortTreeChildrenByY(An),$n=vn.indexOf(At);if($nvn.y?1:An.xvn.x?1:0}),At},Jt.prototype.copyToClipboard=function(ct){go.CommandHandler.prototype.copyToClipboard.call(this,ct),this._lastPasteOffset.set(this.pasteOffset)},Jt.prototype.pasteFromClipboard=function(){var ct=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ct,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ct},Object.defineProperty(Jt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ct){if(ct!=="move"&&ct!=="select"&&ct!=="scroll"&&ct!=="tree"&&ct!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ct);this._arrowKeyBehavior=ct}}),Object.defineProperty(Jt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ct){if(!(ct instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ct);this._pasteOffset.set(ct)}});var yn=Jt,Nt=ne(25863),Ot=ne(43604),tt=ne(38147),Ye={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=ne(59301),he=(ct,At,St)=>new Promise((dn,An)=>{var vn=_n=>{try{Tn(St.next(_n))}catch(Pa){An(Pa)}},$n=_n=>{try{Tn(St.throw(_n))}catch(Pa){An(Pa)}},Tn=_n=>_n.done?dn(_n.value):Promise.resolve(_n.value).then(vn,$n);Tn((St=St.apply(ct,At)).next())});function et({onCancel:ct,callback:At}){let St=(0,y.useRef)(),dn=(0,y.useRef)(),An=(0,y.useRef)(),vn=(0,y.useRef)(!1);const $n=(0,y.useRef)(!1),[Tn,_n]=(0,y.useState)(0);function Pa(){const Bn=Be.bx.make,Sa={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};St.current=new Be.S0(dn.current,{padding:20,grid:Bn(Be.s_,"Grid",Bn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Bn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:na=>{var ka=na.diagram.commandHandler.addTopLevelParts(na.diagram.selection,!0);ka||na.diagram.currentTool.doCancel()},commandHandler:Bn(yn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:na=>{var ka=na.subject;ka.location=ka.location.copy().snapToGridPoint(na.diagram.grid.gridOrigin,na.diagram.grid.gridCellSize),setTimeout(()=>{na.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:na=>{var ka=na.subject;setTimeout(()=>{na.diagram.commandHandler.editTextBlock()})},LinkRelinked:na=>{var ka=na.parameter.part;ka.invalidateConnectedLinks();var $a=na.subject;na.diagram.toolManager.linkingTool.isForwards?$a.toNode.invalidateConnectedLinks():$a.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),St.current.nodeTemplate=Bn(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),Bn(Be.bn,{name:"SHAPE",fill:Sa.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Bn(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Bn(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),St.current.nodeTemplate.toolTip=Bn("ToolTip",Bn(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},Bn(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),Bn(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function qa(na,ka){var $a=(Ca,Br)=>{Ca.handled=!0,Ca.diagram.model.commit(no=>{var xo=Br.part.adornedPart,Qr=new Be.E9().setRectSpot(xo.actualBounds,na);Qr.subtract(xo.location),Qr.scale(2,2),Qr.x+=Math.sign(Qr.x)*130,Qr.y+=Math.sign(Qr.y)*130,Qr.add(xo.location),Qr.snapToGridPoint(Ca.diagram.grid.gridOrigin,Ca.diagram.grid.gridCellSize);var Mo=no.copyNodeData(xo.data);no.setGroupKeyForNodeData(Mo,no.getGroupKeyForNodeData(xo.data)),no.addNodeData(Mo);var fi={from:xo.key,to:no.getKeyForNodeData(Mo)};no.addLinkData(fi);var ii=Ca.diagram.findNodeForData(Mo);ii.location=Qr,Ca.diagram.select(ii),setTimeout(()=>{Ca.diagram.commandHandler.editTextBlock()},20)})};return Bn(Be.bn,{figure:ka,alignment:na,alignmentFocus:na.opposite(),width:na.equals(Be.z6.Top)||na.equals(Be.z6.Bottom)?25:18,height:na.equals(Be.z6.Top)||na.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:Sa.white,strokeWidth:4,mouseEnter:(Ca,Br)=>Br.fill="dodgerblue",mouseLeave:(Ca,Br)=>Br.fill="orange",isActionable:!0,click:$a,contextClick:$a})}function cr(na){return Bn(Be.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(ka,$a)=>$a.fill="dodgerblue",mouseLeave:(ka,$a)=>$a.fill="orange",click:(ka,$a)=>{ka.diagram.commandHandler.showContextMenu($a.part.adornedPart)}},na||{})}St.current.nodeTemplate.selectionAdornmentTemplate=Bn(Be.uz,"Spot",Bn(Be.Vm,{padding:10}),qa(Be.z6.Top,"TriangleUp"),qa(Be.z6.Left,"TriangleLeft"),qa(Be.z6.Right,"TriangleRight"),qa(Be.z6.Bottom,"TriangleDown"),cr({alignment:new Be.z6(.75,0)}));function Gn(na,ka){return($a,Ca)=>{$a.handled=!0,$a.diagram.model.commit(Br=>{Br.set(Ca.part.adornedPart.data,na,ka)})}}function sn(na,ka){return ka||(ka="color"),Bn(Be.bn,{width:16,height:16,stroke:"lightgray",fill:na,margin:1,background:"transparent",mouseEnter:($a,Ca)=>Ca.stroke="dodgerblue",mouseLeave:($a,Ca)=>Ca.stroke="lightgray",click:Gn(ka,na),contextClick:Gn(ka,na)})}function Ir(){return[Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",sn(Sa.white,"fill"),sn(Sa.beige,"fill"),sn(Sa.extralightblue,"fill"),sn(Sa.extralightred,"fill"))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",sn(Sa.lightgray,"fill"),sn(Sa.lightgreen,"fill"),sn(Sa.lightblue,"fill"),sn(Sa.lightred,"fill")))]}function _a(){return[Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",sn(Sa.black),sn(Sa.green),sn(Sa.blue),sn(Sa.red))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",sn(Sa.white),sn(Sa.magenta),sn(Sa.purple),sn(Sa.orange)))]}function Rr(na,ka){return ka||(ka="thickness"),Bn(Be.bn,"LineH",{width:16,height:16,strokeWidth:na,margin:1,background:"transparent",mouseEnter:($a,Ca)=>Ca.background="dodgerblue",mouseLeave:($a,Ca)=>Ca.background="transparent",click:Gn(ka,na),contextClick:Gn(ka,na)})}function Tr(na,ka){return ka||(ka="dash"),Bn(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:na,margin:1,background:"transparent",mouseEnter:($a,Ca)=>Ca.background="dodgerblue",mouseLeave:($a,Ca)=>Ca.background="transparent",click:Gn(ka,na),contextClick:Gn(ka,na)})}function wr(){return[Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Rr(1),Rr(2),Rr(3),Rr(4))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Tr(null),Tr([2,4]),Tr([4,4])))]}function Hr(na,ka){return ka||(ka="figure"),Bn(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:na,margin:1,background:"transparent",mouseEnter:($a,Ca)=>Ca.fill="dodgerblue",mouseLeave:($a,Ca)=>Ca.fill="lightgray",click:Gn(ka,na),contextClick:Gn(ka,na)})}St.current.nodeTemplate.contextMenu=Bn("ContextMenu",Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Hr("Rectangle"),Hr("RoundedRectangle"),Hr("Ellipse"),Hr("Diamond"))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Hr("Parallelogram2"),Hr("ManualOperation"),Hr("Procedure"),Hr("Cylinder1"))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Hr("Terminator"),Hr("CreateRequest"),Hr("Document"),Hr("TriangleDown"))),Ir(),_a(),wr()),St.current.groupTemplate=Bn(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(na,ka)=>{var $a=ka.addMembers(ka.diagram.selection,!0);$a||ka.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),Bn(Be.s_,"Auto",{name:"BODY"},Bn(Be.bn,{parameter1:10,fill:Sa.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Bn(Be.Vm,{background:"transparent",margin:20})),Bn(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),St.current.groupTemplate.selectionAdornmentTemplate=Bn(Be.uz,"Spot",Bn(Be.s_,"Auto",Bn(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Bn(Be.Vm,{margin:1.5})),cr({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),St.current.groupTemplate.contextMenu=Bn("ContextMenu",Ir(),_a(),wr()),St.current.linkTemplate=Bn(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",na=>na>=1?10:0),new Be.KX("toShortLength","dir",na=>na>=1?10:0),new Be.KX("points").makeTwoWay(),Bn(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Bn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",na=>na===1)),Bn(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",na=>na>=1),new Be.KX("width","thickness",na=>7+3*na),new Be.KX("height","thickness",na=>7+3*na),new Be.KX("segmentOffset","thickness",na=>new Be.E9(-15,4+1.5*na))),Bn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",na=>na===2),new Be.KX("width","thickness",na=>7+3*na),new Be.KX("height","thickness",na=>7+3*na),new Be.KX("segmentOffset","thickness",na=>new Be.E9(-15,4+1.5*na))),Bn(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),St.current.linkTemplate.selectionAdornmentTemplate=Bn(Be.uz,Bn(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Oo(2)},new Be.KX("pathPattern","thickness",Oo)),cr({alignmentFocus:new Be.z6(0,0,-6,-4)}));function Oo(na){return Bn(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(na+4).toString()+" H3"})}function ho(na){var ka="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return na===0?ka="M0 0 M16 16 M0 8 L16 8":na===2&&(ka="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Bn(Be.bn,{geometryString:ka,margin:2,background:"transparent",mouseEnter:($a,Ca)=>Ca.background="dodgerblue",mouseLeave:($a,Ca)=>Ca.background="transparent",click:Gn("dir",na),contextClick:Gn("dir",na)})}function Qo(na){var ka=($a,Ca)=>{$a.handled=!0,$a.diagram.model.commit(Br=>{var no=Ca.part.adornedPart;Br.set(no.data,na?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),(na?no.toNode:no.fromNode).invalidateConnectedLinks()})};return Bn(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:($a,Ca)=>Ca.background="dodgerblue",mouseLeave:($a,Ca)=>Ca.background="transparent",click:ka,contextClick:ka})}function kn(na,ka){var $a=0,Ca=Be.z6.RightSide;na.equals(Be.z6.Top)?($a=270,Ca=Be.z6.TopSide):na.equals(Be.z6.Left)?($a=180,Ca=Be.z6.LeftSide):na.equals(Be.z6.Bottom)&&($a=90,Ca=Be.z6.BottomSide),ka||($a-=180);var Br=(no,xo)=>{no.handled=!0,no.diagram.model.commit(Qr=>{var Mo=xo.part.adornedPart;Qr.set(Mo.data,ka?"toSpot":"fromSpot",Be.z6.stringify(Ca)),(ka?Mo.toNode:Mo.fromNode).invalidateConnectedLinks()})};return Bn(Be.bn,{alignment:na,alignmentFocus:na.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:$a,background:"transparent",mouseEnter:(no,xo)=>xo.background="dodgerblue",mouseLeave:(no,xo)=>xo.background="transparent",click:Br,contextClick:Br})}St.current.linkTemplate.contextMenu=Bn("ContextMenu",_a(),wr(),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",ho(0),ho(1),ho(2))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Bn(Be.s_,"Spot",Qo(!1),kn(Be.z6.Top,!1),kn(Be.z6.Left,!1),kn(Be.z6.Right,!1),kn(Be.z6.Bottom,!1)),Bn(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},Qo(!0),kn(Be.z6.Top,!0),kn(Be.z6.Left,!0),kn(Be.z6.Right,!0),kn(Be.z6.Bottom,!0)))));const Vr=`{ "class": "GraphLinksModel", +\\end{array}`}]}]}],b=re=>{E.current.setValue(E.current.getValue()+" "+re.value+" ")},z=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ke.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},a.map((re,ie)=>Ke.createElement(Ce.Z,{flex:"110px",className:se.Z.item},Ke.createElement("div",null,Ke.createElement(Ie.Z,{value:`$$${re.value}$$`}),re.name),Ke.createElement("div",{className:se.Z.children},re.children.map((ge,fe)=>Ke.createElement("div",{key:fe},Ke.createElement("h1",null,ge.name),Ke.createElement(ue.Z,{gutter:[10,10]},ge.data.map((ce,xe)=>Ke.createElement(Ce.Z,{key:xe,onClick:()=>b(ce),className:se.Z.diamond},Ke.createElement(Ie.Z,{value:"`$$"+ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ke.createElement(ue.Z,{className:se.Z.lists,gutter:[10,10]},x.map((re,ie)=>Ke.createElement(Ce.Z,{flex:"110px",className:se.Z.item},Ke.createElement("div",null,Ke.createElement(Ie.Z,{value:"`$$"+re.value+"$$`"}),re.name),Ke.createElement("div",{className:se.Z.children},re.children.map((ge,fe)=>Ke.createElement("div",{key:fe},ge.name&&Ke.createElement("h1",null,ge.name),Ke.createElement(ue.Z,{gutter:[10,10]},ge.data.map((ce,xe)=>Ke.createElement(Ce.Z,{key:xe,onClick:()=>b(ce),className:se.Z.diamond},Ke.createElement(Ie.Z,{value:"`$$"+ce.value+"$$`"}))))))))))}],te=()=>{var re=document.createElement("div");re.innerHTML=E.current.getValue();var ie=re.innerText;return ze&&ze(ie),ie};return(0,y.useImperativeHandle)(le,()=>({getData:te})),Ke.createElement("div",{className:se.Z.mathWrap},Ke.createElement(Oe.default,{defaultActiveKey:"1",items:z}),Ke.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},Le||""),He&&Ke.createElement("div",{className:se.Z.button},Ke.createElement(we.ZP,{size:"large",onClick:te,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});jt.Z=je},92716:function(At,jt,ne){"use strict";ne.d(jt,{t:function(){return et}});var y=ne(59301),ue=ne(92832),Ce=ne(78241),Oe=ne(43418),we=ne(95237),Ie=ne(43604),se=ne(5871),Ze=ne(57809),Ke=ne(5112),je=ne(3969),ze=ne(65582),He=ne(58e3),Le=ne(8591),le=ne(3113),E=ne(71418),a=ne(24334),x={flex_box_center:"flex_box_center___kOQ8P",flex_space_between:"flex_space_between___fY6jt",flex_box_vertical_center:"flex_box_vertical_center___bDSSI",flex_box_center_end:"flex_box_center_end___mQ6mU",flex_box_column:"flex_box_column___F15G0",result:"result___UYRo8",left:"left___TRaH5",right:"right___twp9s",box:"box___vwndt",li:"li___hRe2d"},b=ne(38147),z=ne(67172),te=ne(96565),re=ne(56102),ie=ne(10129),ge=ne(59301),fe=Object.defineProperty,ce=Object.defineProperties,xe=Object.getOwnPropertyDescriptors,ye=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,Xe=(Ye,De,he)=>De in Ye?fe(Ye,De,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ye[De]=he,We=(Ye,De)=>{for(var he in De||(De={}))Ne.call(De,he)&&Xe(Ye,he,De[he]);if(ye)for(var he of ye(De))pe.call(De,he)&&Xe(Ye,he,De[he]);return Ye},ut=(Ye,De)=>ce(Ye,xe(De)),Re=(Ye,De,he)=>new Promise((tt,Lt)=>{var Fe=Je=>{try{Pt(he.next(Je))}catch(ke){Lt(ke)}},be=Je=>{try{Pt(he.throw(Je))}catch(ke){Lt(ke)}},Pt=Je=>Je.done?tt(Je.value):Promise.resolve(Je.value).then(Fe,be);Pt((he=he.apply(Ye,De)).next())}),mt=({buttonProps:Ye,buttonText:De,form:he,hackIdentifier:tt="",answerKey:Lt,data:Fe})=>{const[be,Pt]=(0,y.useState)(!1),[Je,ke]=(0,y.useState)(!1),[bt,hn]=(0,y.useState)(!1),[Tt,ln]=(0,y.useState)({}),[tn,an]=(0,y.useState)(""),[Te,at]=(0,y.useState)(""),Nt=(0,y.useRef)(tt),ft=(0,y.useRef)(""),lt=(0,y.useRef)(!1);(0,y.useEffect)(()=>{bt&&Ln()},[bt]),(0,y.useEffect)(()=>()=>{sessionStorage.removeItem("projectFill")},[]);const fn=()=>new Date().getTime(),En=Fe==null?void 0:Fe.code,yn=()=>{var Yt,qt;let In=En?Fe==null?void 0:Fe.code:(Yt=he.getFieldValue("hack_codes"))==null?void 0:Yt.code,en=En?Fe==null?void 0:Fe.answer_content:he.getFieldValue(Lt),Sa=En?Fe==null?void 0:Fe.input:(qt=he.getFieldValue("hack_sets"))==null?void 0:qt.input;en==null||en.forEach(Ca=>{const Un=Ca.value||Ca.answer_text||"";In=In.replace(/(@▁@|@▁▁@)/,Un)}),at(Sa),an(In),ln({}),hn(!0)},Ln=()=>Re(void 0,null,function*(){var Yt,qt,In,en;const Sa=fn(),Ca=En?Fe==null?void 0:Fe.time_limit:(Yt=he.getFieldsValue())==null?void 0:Yt.hack.time_limit,Un=En?(qt=Fe==null?void 0:Fe.answer_content)==null?void 0:qt.length:(en=(In=he.getFieldsValue())==null?void 0:In.standard_answers)==null?void 0:en.length;Pt(!0),yield(0,z.bM)(ft.current,{test_hack_code:tn,test_input:Te});function dn(){return Re(this,null,function*(){const{status:Aa,data:qe}=yield(0,z.rX)(ft.current,"submit"),Nn=fn()-Sa>(Ca+3)*1e3*Un;if(lt.current){if(Nn){Le.ZP.error("\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"),Pt(!1);return}if(Aa===0){Pt(!1),ln(ut(We({},qe),{showText:!0}));return}setTimeout(dn,1e3)}})}dn()}),ea=()=>Re(void 0,null,function*(){var Yt,qt,In,en,Sa,Ca,Un;if(!Fe){try{yield he.validateFields()}catch(pn){(In=(qt=(Yt=pn==null?void 0:pn.errorFields)==null?void 0:Yt[0])==null?void 0:qt.name)!=null&&In.includes("standard_answers")?Le.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Le.ZP.error(pn.errorFields[0].errors[0]),he.scrollToField(pn.errorFields[0].name,{behavior:"smooth",block:"center"});return}ke(!0);let Aa="";const qe=he.getFieldsValue();Nt.current?Aa=yield(0,b.ZP)(`/api/problems/${Nt.current}.json`,{method:"put",body:ut(We({},qe),{hack:ut(We({},qe==null?void 0:qe.hack),{sub_discipline_id:(Un=(Ca=qe==null?void 0:qe.hack)==null?void 0:Ca.sub_discipline_id)==null?void 0:Un[1],difficult:qe.difficulty,item_banks_group_id:qe.item_banks_group_id}),hack_codes:ut(We({},qe.hack_codes),{code:a.Base64.encode(qe.hack_codes.code)}),update_hack_sets:[We({},qe.hack_sets)],is_blank:!0})}):(Aa=yield(0,b.ZP)("/api/problems.json",{method:"post",body:ut(We({},qe),{hack:ut(We({},qe==null?void 0:qe.hack),{sub_discipline_id:(Sa=(en=qe==null?void 0:qe.hack)==null?void 0:en.sub_discipline_id)==null?void 0:Sa[1],difficult:qe.difficulty,item_banks_group_id:qe.item_banks_group_id}),hack_codes:ut(We({},qe.hack_codes),{code:a.Base64.encode(qe.hack_codes.code)}),hack_sets:[We({},qe.hack_sets)],is_blank:!0})}),Nt.current=Aa==null?void 0:Aa.identifier,sessionStorage.projectFill=Aa==null?void 0:Aa.identifier)}const dn=yield(0,b.ZP)(`/api/problems/${Nt.current}/start.json`,{method:"get"});if((dn==null?void 0:dn.status)===0){ft.current=dn==null?void 0:dn.identifier,lt.current=!0,ke(!1),yn();return}ke(!1)}),Xt=Yt=>{const{status:qt,error_msg:In,execute_time:en,output:Sa,input:Ca,expected_output:Un}=Yt;let dn=null;switch(qt){case ie.h.OK:dn=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",en/1e3,"\u79D2"),ge.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A\u8C03\u8BD5\u901A\u8FC7"));break;case ie.h.NOMATCH:dn=ge.createElement(ge.Fragment,null,ge.createElement("div",null,"\u8F93\u5165\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},Ca),ge.createElement("div",null,"\u8F93\u51FA\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},Sa&&a.Base64.decode(Sa)),ge.createElement("div",null,"\u9884\u671F\u8F93\u51FA\uFF1A"),ge.createElement("pre",{style:{fontFamily:"initial"}},Un&&a.Base64.decode(Un)));break;case ie.h.EXECUTEFAILURE:dn=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ge.createElement("pre",null,Ca)),ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:"error"},a.Base64.decode(In)));break;case ie.h.COMPILEFAILURE:dn=ge.createElement(ge.Fragment,null,ge.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",ge.createElement("pre",null,Ca)),ge.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),ge.createElement("pre",{className:"error"},a.Base64.decode(In)));break;case ie.h.PODFAILURE:dn=ge.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ie.h.TIMEOUT:dn=ge.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return ge.createElement(ge.Fragment,null," ",dn," ")};return ge.createElement("div",null,ge.createElement(le.ZP,ut(We({loading:Je},Ye),{onClick:ea}),De),ge.createElement(Oe.default,{open:bt,title:"\u8C03\u8BD5\u4EE3\u7801",destroyOnClose:!0,width:1200,okText:"\u8FD0\u884C\u6D4B\u8BD5",confirmLoading:be,cancelButtonProps:{style:{display:"none"}},onOk:()=>Ln(),onCancel:()=>{lt.current=!1,hn(!1)}},ge.createElement("div",{className:x.result},ge.createElement("div",{className:x.left},ge.createElement("div",{className:"mb20"},ge.createElement("span",{className:"c-black"},"\u6267\u884C\u4EE3\u7801"),!Fe&&ge.createElement(re.CopyToClipboard,{text:tn,onCopy:()=>Le.ZP.success("\u590D\u5236\u6210\u529F")},ge.createElement("span",{style:{float:"right"},className:"current c-light-primary"},ge.createElement("i",{className:"iconfont icon-fuzhi8 mr5"}),"\u590D\u5236"))),ge.createElement(te.Z,{height:510,className:"mb0",hidetoolBar:!0,defaultValue:tn,onChange:Yt=>an(Yt)})),ge.createElement("div",{className:x.right},ge.createElement("div",{className:"c-black mb20"},"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B"),ge.createElement("div",{className:x.box},ge.createElement("div",{className:x.li},ge.createElement(ue.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165",value:Te,onChange:Yt=>at(Yt.target.value),bordered:!1,style:{height:180}}))),ge.createElement("div",{className:"c-black mb20 mt30"},"\u4EE3\u7801\u6267\u884C\u7ED3\u679C"),ge.createElement("div",{className:x.box},ge.createElement(E.Z,{spinning:be,tip:"\u4EE3\u7801\u6267\u884C\u4E2D"},ge.createElement("div",{className:x.li,style:{height:196,overflow:"auto",padding:10}},Xt(Tt))))))))},Qe=ne(87169),ot=ne(59301),Wt=Object.defineProperty,ht=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Rt=(Ye,De,he)=>De in Ye?Wt(Ye,De,{enumerable:!0,configurable:!0,writable:!0,value:he}):Ye[De]=he,gn=(Ye,De)=>{for(var he in De||(De={}))Ve.call(De,he)&&Rt(Ye,he,De[he]);if(Kt)for(var he of Kt(De))st.call(De,he)&&Rt(Ye,he,De[he]);return Ye},wt=(Ye,De)=>ht(Ye,Ht(De)),$t=(Ye,De)=>{var he={};for(var tt in Ye)Ve.call(Ye,tt)&&De.indexOf(tt)<0&&(he[tt]=Ye[tt]);if(Ye!=null&&Kt)for(var tt of Kt(Ye))De.indexOf(tt)<0&&st.call(Ye,tt)&&(he[tt]=Ye[tt]);return he};const{TextArea:Be}=ue.default,Jt=[{title:"C",key:"C"},{title:"C++",key:"C++"},{title:"Python",key:"Python"},{title:"Java",key:"Java"}],bn=({value:Ye,onChange:De})=>ot.createElement(Switch,{checked:Ye,onChange:he=>{De(he)}}),Ot="@\u2581@",Zt="@\u2581\u2581@",et=({questionTitlePlaceholder:Ye,form:De,scoreByBlank:he=!1,hackidentifier:tt,answerKey:Lt})=>{const[Fe,be]=(0,y.useState)(!1),[Pt,Je]=(0,y.useState)(!1),bt=(0,ze.useParams)().type==="edit",hn=(ft,lt)=>{const fn=lt.line;let En=0;for(let Ln=0;Ln{const yn=ft.getRange(lt.from,lt.to);let Ln=0;if(lt.text.forEach(ea=>{Ln+=ea.split(Ot).length-1}),lt.text.forEach(ea=>{Ln+=ea.split(Zt).length-1}),lt.origin!=="setValue"){if(yn&&(yn.indexOf(Ot)!==-1||yn.indexOf(Zt)!==-1)){const ea=yn.split(Ot).length-1+yn.split(Zt).length-1,Xt=hn(ft,lt.from);if(console.log(`\u5220\u9664${ea}\u4E2A\uFF0C \u524D\u9762\u6709${Xt}\u4E2A\uFF0C\u65B0\u589E${Ln}\u4E2A`),ea>1){const Yt=Array.from({length:ea},(qt,In)=>Xt+In);En(Yt)}else En(Xt)}else if(Ln>0){const ea=hn(ft,lt.from);console.log(`\u65B0\u589E${Ln}\u4E2A\uFF0C\u4E4B\u524D\u6709${ea}\u4E2A`),fn(Ln,ea)}}},ln=()=>{const ft=De.getFieldValue(Lt);De.setFieldsValue({[Lt]:ft==null?void 0:ft.map((lt,fn)=>wt(gn({},lt),{position:fn+1}))})},tn=(0,y.useRef)(),an=(ft,lt)=>{for(let fn=0;fn{Te.current(ft),ln()},Nt=Ce.default.useWatch(Lt,De);return ot.createElement("div",{className:He.Z.wrap},ot.createElement(Ce.default.Item,{label:"\u8BD5\u9898\u63CF\u8FF0",name:["hack","description"],style:{display:"table"},className:"w100",labelCol:{span:24},rules:[{required:!0}]},ot.createElement(je.h,{scrollId:"name",watch:!0,height:140})),ot.createElement("div",{className:He.Z.questionTitleEditorWrap},ot.createElement(Ce.default.Item,{label:"\u7A0B\u5E8F\u4EE3\u7801",name:["hack_codes","code"],labelCol:{span:24},rules:[{required:!0}]},ot.createElement(je.h,{scrollId:"name",watch:!0,height:400,hidetoolBar:!0,showNullProgramButton:!0,onChange:(ft,lt)=>{const fn=De.getFieldValue(Lt);console.log("--preAnswerData",fn,lt),De.setFieldsValue({[Lt]:fn==null?void 0:fn.map((En,yn)=>{var Ln;return wt(gn({},En),{position:yn+1,multi_line:(Ln=lt==null?void 0:lt[yn])==null?void 0:Ln.multiLine})})})},placeholder:Ye,onCMBeforeChange:(ft,lt)=>{Tt(ft,lt,an,at)}}))),ot.createElement(Ce.default.List,{name:Lt,rules:[{validator(ft,lt){if(!(lt!=null&<.length))return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const fn of lt){const{answer_text:En}=fn||{};if((En==null?void 0:En.length)===0)return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ft,{add:lt,remove:fn},{errors:En})=>(tn.current=lt,Te.current=fn,ot.createElement(ot.Fragment,null,ot.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},ot.createElement(Ce.default.Item,{label:"\u586B\u7A7A\u9879\u7B54\u6848",required:!0,labelCol:{span:24}}),ot.createElement("div",{onClick:()=>{Oe.default.warning({title:"\u7ED9\u5206\u8BF4\u660E",icon:null,width:700,centered:!0,content:ot.createElement("div",null,ot.createElement("div",null,"1.\u5B66\u751F\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801",ot.createElement("span",{style:{color:"#e30000"}},"\u8FDB\u884C\u8BC4\u6D4B"),"\u624D\u80FD\u5F97\u5206\u3002"),ot.createElement("div",{style:{marginTop:10}},"2.\u8BD5\u9898\u7B97\u5206\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u5C06\u7A0B\u5E8F\u91CC\u9762\u7684\u6240\u6709\u7A7A\u66FF\u6362\u6210\u5B66\u751F\u7684\u7B54\u6848\u8FDB\u884C\u8BC4\u6D4B\u3002\u8F93\u51FA\u7684\u7ED3\u679C\u4E0E\u6D4B\u8BD5\u96C6\u6BD4\u5BF9\uFF0C\u5B8C\u5168\u6B63\u786E\u5219\u5F97\u6EE1\u5206\uFF1B\u82E5\u4E0D\u5B8C\u5168\u6B63\u786E\uFF0C\u5219\u4F9D\u6B21\u5C06\u6BCF\u4E2A\u7A7A\u6362\u6210\u5B66\u751F\u63D0\u4EA4\u7684\u7B54\u6848\uFF0C\u540C\u65F6\u5C06\u5176\u4ED6\u7A7A\u66FF\u6362\u6210\u6807\u51C6\u7B54\u6848\uFF0C\u8FD0\u884C\u7A0B\u5E8F\u3002\u5982\u679C\u8FD9\u4E2A\u7A7A\u7684\u5B66\u751F\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7ED3\u5408\u80FD\u5F97\u5230\u6B63\u786E\u8F93\u51FA\uFF0C\u5219\u8FD9\u4E2A\u7A7A\u5F97\u5230\u8BE5\u7A7A\u7684\u6EE1\u5206\uFF0C\u5426\u5219\u8BE5\u7A7A\u5F970\u5206\u3002"))})},style:{minHeight:32,color:"#3061D0",cursor:"pointer"}},ot.createElement(Qe.Z,{style:{marginRight:3,color:"#3061D0"}}),ot.createElement("span",null," \u7ED9\u5206\u8BF4\u660E"))),ft.map((yn,Ln)=>{var ea=yn,{key:Xt,name:Yt}=ea,qt=$t(ea,["key","name"]),In,en;return ot.createElement(we.Z,{className:"mb20",key:Xt,align:"middle",wrap:!1},ot.createElement(Ie.Z,{flex:"0 0 auto",className:`${He.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ln+1),ot.createElement(Ie.Z,{flex:1},ot.createElement(we.Z,{align:"top",justify:"space-between",wrap:!1},ot.createElement(Ie.Z,null,ot.createElement(Ce.default.Item,wt(gn({},qt),{name:[Yt,"answer_text"],noStyle:!0}),(In=Nt==null?void 0:Nt[Yt])!=null&&In.multi_line||(en=Nt==null?void 0:Nt[Yt])!=null&&en.multiLine?ot.createElement(Be,{spellCheck:!1,style:{marginLeft:10,width:550}}):ot.createElement(ue.default,{style:{marginLeft:10,width:550},className:He.Z.blankInput,size:"large",maxLength:1e3,onBlur:Sa=>{}}))),he&&ot.createElement(Ie.Z,{flex:"224px"},ot.createElement(Ce.default.Item,wt(gn({},qt),{name:[Yt,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),ot.createElement(se.Z,{size:"large",className:He.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"}))))))})))),ot.createElement("div",{onClick:()=>be(!0)},ot.createElement(Ce.default.Item,{name:["hack","analysis"],label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ot.createElement(je.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Fe}))),ot.createElement(Ce.default.Item,{label:"\u7F16\u7A0B\u8BED\u8A00",style:{marginTop:30},name:["hack_codes","language"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u7F16\u7A0B\u8BED\u8A00"}]},ot.createElement(Ze.default,{size:"large"},Jt.map(ft=>ot.createElement(Ze.default.Option,{key:ft.title,value:ft.key}," ",ft.title)))),ot.createElement(Ce.default.Item,{label:"\u6700\u5927\u8BC4\u6D4B\u65F6\u957F\uFF08\u79D2\uFF09",style:{marginTop:30},labelCol:{span:24},required:!0},ot.createElement(Ce.default.Item,{name:["hack","time_limit"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"},{type:"number",min:3,message:"\u6700\u5C0F\u9650\u5236\u65F6\u95F4\u662F3\u79D2"}],noStyle:!0},ot.createElement(se.Z,{precision:0,max:10,min:3,size:"large",style:{width:"97%"}})),ot.createElement("span",{className:"ml10 font14"},"\u79D2")),ot.createElement(Ce.default.Item,{label:"\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406",style:{marginTop:30},name:["hack","submit_rule"],labelCol:{span:24},rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u8BC4\u6D4B\u65F6\u7A7A\u683C\u5904\u7406"}]},ot.createElement(Ke.ZP.Group,{style:{marginTop:-10}},ot.createElement(Ke.ZP,{value:0},"\u4E0D\u5FFD\u7565\u7A7A\u683C"),ot.createElement(Ke.ZP,{value:1},"\u5FFD\u7565\u9996\u5C3E\u7A7A\u683C"),ot.createElement(Ke.ZP,{value:2},"\u5FFD\u7565\u6240\u6709\u7A7A\u683C"))),ot.createElement(Ce.default.Item,{label:"\u6D4B\u8BD5\u7528\u4F8B",required:!0,style:{marginTop:30}}),ot.createElement("div",{style:{background:"#F6F7F9",padding:15}},ot.createElement(Ce.default.Item,{label:"\u8F93\u5165",labelCol:{span:24},name:["hack_sets","input"]},ot.createElement(Be,{rows:4})),ot.createElement(Ce.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24},name:["hack_sets","output"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F93\u51FA\u5185\u5BB9"}]},ot.createElement(Be,{rows:4}))),ot.createElement(mt,{form:De,answerKey:Lt,hackIdentifier:tt,buttonText:"\u8FD0\u884C\u8C03\u8BD5",buttonProps:{ghost:!0,icon:ot.createElement("i",{className:"iconfont icon-ceshi"}),style:{background:"rgba(55,173,131,0.05)",borderRadius:19,border:"1px solid #37AD83",width:116,height:38,display:"inline-flex",fontSize:14,alignItems:"center",justifyContent:"center",marginTop:20,cursor:"pointer",color:"#37AD83"}}}))}},85500:function(At,jt,ne){"use strict";ne.d(jt,{u:function(){return ge}});var y=ne(59301),ue=ne(95237),Ce=ne(43604),Oe=ne(6848),we=ne(78241),Ie=ne(58e3),se=ne(32134),Ze=ne(12893),Ke=ne(3969),je=ne(59301),ze=Object.defineProperty,He=Object.defineProperties,Le=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(fe,ce,xe)=>ce in fe?ze(fe,ce,{enumerable:!0,configurable:!0,writable:!0,value:xe}):fe[ce]=xe,b=(fe,ce)=>{for(var xe in ce||(ce={}))E.call(ce,xe)&&x(fe,xe,ce[xe]);if(le)for(var xe of le(ce))a.call(ce,xe)&&x(fe,xe,ce[xe]);return fe},z=(fe,ce)=>He(fe,Le(ce)),te=(fe,ce)=>{var xe={};for(var ye in fe)E.call(fe,ye)&&ce.indexOf(ye)<0&&(xe[ye]=fe[ye]);if(fe!=null&&le)for(var ye of le(fe))ce.indexOf(ye)<0&&a.call(fe,ye)&&(xe[ye]=fe[ye]);return xe};const re=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ie=({value:fe,onChange:ce,choiceTextKey:xe,answerKey:ye,index:Ne,isEdit:pe,setInputActive:Xe,form:We,choiceOptionsPath:ut,allowChangeMode:Re,showAddIcon:_e,addItem:mt,deleteItem:Qe})=>{console.log(fe,"value");const ot=(fe==null?void 0:fe[ye])===1,Wt=()=>{const Ht=We.getFieldValue(ut);We.setFieldValue(ut,Ht.map(Kt=>z(b({},Kt),{[ye]:0})))},ht=()=>{ot?ce(z(b({},fe),{[ye]:0})):(Re||Wt(),ce(z(b({},fe),{[ye]:1})))};return je.createElement(ue.Z,{className:Ie.Z.choiceWrap,align:"middle",wrap:!1},je.createElement(Ce.Z,{onClick:ht,className:`${Ie.Z.choiceIndex} ${ot?Ie.Z.activeAnswer:""}`},re[Ne]),je.createElement(Ce.Z,{flex:1,className:`${Ie.Z.editorWrap} ml15`,onClick:Xe},je.createElement(Ke.x,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:pe,value:fe==null?void 0:fe[xe],onChange:Ht=>{ce(z(b({},fe),{[xe]:Ht}))}})),je.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},je.createElement("div",{onClick:ht,className:`${Ie.Z.setAnswerBtn} ${ot?Ie.Z.activeAnswer:""}`},ot?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),je.createElement(Ce.Z,{className:Ie.Z.actionWrapper},je.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},je.createElement(se.Z,{className:Ie.Z.addIcon,onClick:mt,style:{visibility:_e?"visible":"hidden"}})),je.createElement(Oe.Z,{title:"\u5220\u9664"},je.createElement(Ze.Z,{className:Ie.Z.deleteIcon,onClick:Qe,style:{visibility:Ne>1?"visible":"hidden"}}))))},ge=({questionTitlePlaceholder:fe,titleKey:ce,choiceKey:xe,analysisKey:ye,choiceTextKey:Ne,answerKey:pe,choiceOptionsPath:Xe,allowChangeMode:We=!0,form:ut,showAnalysis:Re=!0})=>{const[_e,mt]=(0,y.useState)(),[Qe,ot]=(0,y.useState)(!1);return je.createElement("div",{className:Ie.Z.wrap},je.createElement("div",{className:Ie.Z.questionTitleEditorWrap},je.createElement(we.default.Item,{label:"\u9898\u5E72",name:ce,labelCol:{span:24},rules:[{required:!0}]},je.createElement(Ke.h,{scrollId:Array.isArray(ce)?ce.join("_"):`${ce}`,watch:!0,height:140,placeholder:fe}))),je.createElement(we.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),je.createElement(we.default.List,{name:xe,rules:[{validator(Wt,ht){const Ht=ht.some(Ve=>Ve[pe]===1),Kt=ht.findIndex(Ve=>{var st;return((st=Ve[Ne])==null?void 0:st.length)<=0});return Kt!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Kt]}\u9009\u9879\u7684\u5185\u5BB9`)):Ht?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(Wt,{add:ht,remove:Ht})=>je.createElement("div",{id:Array.isArray(Xe)?Xe.join("_"):`${Xe}`},Wt.map((Kt,Ve)=>{var st=Kt,{key:Rt,name:gn}=st,wt=te(st,["key","name"]);const $t=_e===Rt,Be=()=>{mt(Rt)},Jt=Ve<7&&Ve===Wt.length-1,bn=()=>ht({[Ne]:"",[pe]:0}),Ot=()=>Ht(gn);return je.createElement(we.default.Item,z(b({},wt),{key:Rt,name:gn,className:Ie.Z.choiceListWrap,rules:[{validator(Zt,et){return et!=null&&et.choice_text?Promise.resolve():Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${re[Ve]}\u9009\u9879\u7684\u5185\u5BB9`))}}]}),je.createElement(ie,{choiceTextKey:Ne,answerKey:pe,index:Ve,isEdit:$t,setInputActive:Be,form:ut,choiceOptionsPath:Xe,allowChangeMode:We,showAddIcon:Jt,addItem:bn,deleteItem:Ot}))}),Wt.length<8&&je.createElement("div",{className:`${Ie.Z.addBtn} mb30`,onClick:()=>ht({[Ne]:"",[pe]:0})},"\u6DFB\u52A0\u9009\u9879"))),Re&&je.createElement("div",{onClick:()=>ot(!0)},je.createElement(we.default.Item,{name:ye,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},je.createElement(Ke.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Qe}))))}},78909:function(At,jt,ne){"use strict";ne.d(jt,{u:function(){return We}});var y=ne(59301),ue=ne(43418),Ce=ne(95237),Oe=ne(43604),we=ne(92832),Ie=ne(6848),se=ne(78673),Ze=ne(78241),Ke=ne(5112),je=ne(5871),ze=ne(3969),He=ne(12893),Le=ne(61485),le=ne(58e3),E=ne(27687),a=ne(59301),x=Object.defineProperty,b=Object.defineProperties,z=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ge=(ut,Re,_e)=>Re in ut?x(ut,Re,{enumerable:!0,configurable:!0,writable:!0,value:_e}):ut[Re]=_e,fe=(ut,Re)=>{for(var _e in Re||(Re={}))re.call(Re,_e)&&ge(ut,_e,Re[_e]);if(te)for(var _e of te(Re))ie.call(Re,_e)&&ge(ut,_e,Re[_e]);return ut},ce=(ut,Re)=>b(ut,z(Re)),xe=(ut,Re)=>{var _e={};for(var mt in ut)re.call(ut,mt)&&Re.indexOf(mt)<0&&(_e[mt]=ut[mt]);if(ut!=null&&te)for(var mt of te(ut))Re.indexOf(mt)<0&&ie.call(ut,mt)&&(_e[mt]=ut[mt]);return _e};const ye=({value:ut,onChange:Re})=>{const _e=Qe=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const ot=[...ut];ot.splice(Qe,1),Re(ot)}})},mt=()=>{const Qe=[...ut];Qe.push(""),Re(Qe)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(Oe.Z,{flex:1},ut==null?void 0:ut.map((Qe,ot)=>a.createElement(Ce.Z,{key:`${Qe}_${ot}`,className:"mb20"},a.createElement(we.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:Qe,autoSize:{maxRows:3},maxLength:1e3,onBlur:Wt=>{const ht=[...ut],Ht=Wt.target.value.trim();ht[ot]=Ht,Re(ht)}}),a.createElement(Ie.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:ot>0?"visible":"hidden"},onClick:()=>_e(ot)}))))),a.createElement(Oe.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},Ne=({value:ut,onChange:Re})=>{const _e=Qe=>{ue.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:le.Z.modal,onOk:()=>{const ot=[...ut];ot.splice(Qe,1),Re(ot)}})},mt=()=>{const Qe=[...ut];Qe.push(""),Re(Qe)};return a.createElement(Ce.Z,{className:"ml20"},a.createElement(Oe.Z,{flex:1},ut==null?void 0:ut.map((Qe,ot)=>a.createElement(Ce.Z,{key:`${Qe}_${ot}`,align:"middle",className:"mb20"},a.createElement(E.Z,{value:Qe,style:{flex:1},onChange:Wt=>{const ht=[...ut];ht[ot]=Wt,Re(ht)}}),a.createElement(Ie.Z,{title:"\u5220\u9664"},a.createElement(He.Z,{className:le.Z.deleteIcon,style:{marginLeft:15,visibility:ot>0?"visible":"hidden"},onClick:()=>_e(ot)}))))),a.createElement(Oe.Z,null,a.createElement("div",{className:`${le.Z.addBtn}`,onClick:()=>{mt()}},"\u65B0\u589E\u7B54\u6848")))},pe=({value:ut=!0,onChange:Re})=>a.createElement(se.Z,{checked:!ut,onChange:_e=>{Re(!_e)}}),Xe="\u2581",We=({questionTitlePlaceholder:ut,form:Re,scoreByBlank:_e=!1,answerKey:mt})=>{const[Qe,ot]=(0,y.useState)(!1),Wt=(wt,$t)=>{const Be=$t.line;let Jt=0;for(let Ot=0;Ot{const bn=wt.getRange($t.from,$t.to);let Ot=0;if($t.text.forEach(Zt=>{Ot+=Zt.split(Xe).length-1}),$t.origin!=="setValue"){if(bn&&bn.indexOf(Xe)!==-1){const Zt=bn.split(Xe).length-1,et=Wt(wt,$t.from);if(console.log(`\u5220\u9664${Zt}\u4E2A\uFF0C \u524D\u9762\u6709${et}\u4E2A\uFF0C\u65B0\u589E${Ot}\u4E2A`),Zt>1){const Ye=Array.from({length:Zt},(De,he)=>et+he);Jt(Ye)}else Jt(et)}else if(Ot>0){const Zt=Wt(wt,$t.from);console.log(`\u65B0\u589E${Ot}\u4E2A\uFF0C\u4E4B\u524D\u6709${Zt}\u4E2A`),Be(Ot,Zt)}}},Ht=()=>{const wt=Re.getFieldValue(mt);Re.setFieldsValue({[mt]:wt.map(($t,Be)=>ce(fe({},$t),{position:Be+1}))})},Kt=(0,y.useRef)(),Ve=(wt,$t)=>{for(let Be=0;Be{st.current(wt),Ht()},gn=Ze.default.useWatch(mt,Re);return a.createElement("div",{className:le.Z.wrap},a.createElement("div",{className:le.Z.questionTitleEditorWrap},a.createElement(Ze.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},a.createElement(ze.h,{scrollId:"name",watch:!0,height:140,placeholder:ut,showNullButton:!0,onCMBeforeChange:(wt,$t)=>{ht(wt,$t,Ve,Rt)}}))),a.createElement(Ze.default.List,{name:mt,rules:[{validator(wt,$t){if(!($t!=null&&$t.length))return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const Be of $t){const{answer_text:Jt}=Be||{};if(Jt!=null&&Jt.some(bn=>(bn==null?void 0:bn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(wt,{add:$t,remove:Be},{errors:Jt})=>(Kt.current=$t,st.current=Be,a.createElement(a.Fragment,null,a.createElement(Ze.default.Item,{label:a.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(wt!=null&&wt.length)&&a.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),wt.map((bn,Ot)=>{var Zt=bn,{key:et,name:Ye}=Zt,De=xe(Zt,["key","name"]),he,tt;return a.createElement("div",{style:{marginBottom:10},key:et},a.createElement(Ce.Z,{className:"mb20",align:"middle",wrap:!1},a.createElement(Oe.Z,{style:{marginRight:10},flex:"0 0 auto",className:`${le.Z.blankIndex}`},"\u586B\u7A7A\u9879",Ot+1),a.createElement(Ze.default.Item,ce(fe({},De),{name:[Ye,"model"],noStyle:!0}),a.createElement(Ke.ZP.Group,{onChange:()=>{const Lt=Re.getFieldValue(mt);Re.setFieldsValue({[mt]:Lt.map((Fe,be)=>ce(fe({},Fe),{answer_text:Ye===be?[""]:Fe.answer_text}))})}},a.createElement(Ke.ZP,{value:1},"\u6587\u672C\u6A21\u5F0F ",a.createElement(Ie.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u5728\u6587\u672C\u6846\u4E2D\u586B\u5199\u6587\u672C\u7B54\u6848"},a.createElement(Le.Z,null))),a.createElement(Ke.ZP,{value:2},"\u6570\u5B66\u516C\u5F0F\u6A21\u5F0F ",a.createElement(Ie.Z,{title:"\u5B66\u751F\u7B54\u9898\u65F6\uFF0C\u9700\u8981\u7F16\u5199\u6570\u5B66\u516C\u5F0F\u4F5C\u4E3A\u7B54\u6848"},a.createElement(Le.Z,null)))))),a.createElement(Ce.Z,{style:{marginLeft:20},align:"middle",wrap:!1},a.createElement(Oe.Z,{flex:1},a.createElement(Ce.Z,{align:"top",justify:"space-between",wrap:!1},a.createElement(Oe.Z,{flex:1},a.createElement(Ze.default.Item,ce(fe({},De),{name:[Ye,"answer_text"],noStyle:!0}),((tt=(he=Re.getFieldValue(mt))==null?void 0:he[Ye])==null?void 0:tt.model)===1?a.createElement(ye,null):a.createElement(Ne,null))),_e&&a.createElement(Oe.Z,{flex:"224px",style:{margin:"-7px 0 0 20px"}},a.createElement(Ze.default.Item,ce(fe({},De),{name:[Ye,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:le.Z.blankInputNumberWrapper}),a.createElement(je.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5206\u503C"})))),a.createElement(Ze.default.Item,ce(fe({},De),{name:[Ye,"position"],noStyle:!0}),a.createElement(we.default,{type:"hidden"})))))})))),a.createElement(Ce.Z,{align:"middle"},a.createElement(Ze.default.Item,{name:"downcase",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Oe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),a.createElement(Ce.Z,{align:"middle"},a.createElement(Ze.default.Item,{name:"no_space",valuePropName:"checked"},a.createElement(se.Z,null)),a.createElement(Oe.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(gn==null?void 0:gn.length)>1&&a.createElement(Ce.Z,{align:"middle",className:(gn==null?void 0:gn.length)>1?"mb30":`${le.Z.hide}`},a.createElement(Ze.default.Item,{name:"is_ordered"},a.createElement(pe,null)),a.createElement(Oe.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),a.createElement("div",{onClick:()=>ot(!0)},a.createElement(Ze.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},a.createElement(ze.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Qe}))))}},27277:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return te}});var y=ne(59301),ue=ne(95237),Ce=ne(43604),Oe=ne(78241),we=ne(58e3),Ie=ne(3969),se=ne(59301),Ze=Object.defineProperty,Ke=Object.defineProperties,je=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,le=(re,ie,ge)=>ie in re?Ze(re,ie,{enumerable:!0,configurable:!0,writable:!0,value:ge}):re[ie]=ge,E=(re,ie)=>{for(var ge in ie||(ie={}))He.call(ie,ge)&&le(re,ge,ie[ge]);if(ze)for(var ge of ze(ie))Le.call(ie,ge)&&le(re,ge,ie[ge]);return re},a=(re,ie)=>Ke(re,je(ie)),x=(re,ie)=>{var ge={};for(var fe in re)He.call(re,fe)&&ie.indexOf(fe)<0&&(ge[fe]=re[fe]);if(re!=null&&ze)for(var fe of ze(re))ie.indexOf(fe)<0&&Le.call(re,fe)&&(ge[fe]=re[fe]);return ge};const b={\u6B63\u786E:"T",\u9519\u8BEF:"F"},z=({value:re,onChange:ie,form:ge})=>{const fe=(re==null?void 0:re.is_answer)===1,ce=re==null?void 0:re.choice_text,xe=()=>{const ye=ge.getFieldsValue().choices.map(Ne=>({choice_text:Ne.choice_text,is_answer:0}));ge.setFieldsValue({choices:ye}),ie(a(E({},re),{is_answer:1}))};return se.createElement(ue.Z,{className:we.Z.choiceWrap,align:"middle",wrap:!1,style:{marginBottom:"20px"}},se.createElement(Ce.Z,{onClick:xe,className:`${we.Z.choiceIndex} ${we.Z.judgementIndex} ${fe?we.Z.activeAnswer:""}`},b[ce]),se.createElement(Ce.Z,{flex:1,className:`${we.Z.editorWrap} ml15`},se.createElement("div",{className:`${we.Z.inputBorder} ${we.Z.placeholder} ${fe?we.Z.activeJudgementAnswer:""}`},ce)),se.createElement(Ce.Z,{flex:"0 0 auto",className:"ml15"},se.createElement("div",{onClick:xe,className:`${we.Z.setAnswerBtn} ${fe?we.Z.activeAnswer:""}`},fe?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},te=({questionTitlePlaceholder:re,choiceKey:ie,form:ge})=>{const[fe,ce]=(0,y.useState)(!1);return se.createElement("div",{className:we.Z.wrap},se.createElement("div",{className:we.Z.questionTitleEditorWrap},se.createElement(Oe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},se.createElement(Ie.h,{scrollId:"name",watch:!0,height:140,placeholder:re}))),se.createElement(Oe.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},se.createElement(Oe.default.List,{name:"choices",rules:[{validator(xe,ye){return ye.some(pe=>(pe==null?void 0:pe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},xe=>se.createElement("div",{id:"choices"},xe.map(ye=>{var Ne=ye,{key:pe,name:Xe}=Ne,We=x(Ne,["key","name"]);return se.createElement(Oe.default.Item,a(E({},We),{key:pe,name:Xe,noStyle:!0}),se.createElement(z,{form:ge}))})))),se.createElement("div",{onClick:()=>ce(!0)},se.createElement(Oe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},se.createElement(Ie.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:fe}))))}},3969:function(At,jt,ne){"use strict";ne.d(jt,{h:function(){return E},x:function(){return a}});var y=ne(96565),ue=ne(58e3),Ce=ne(6339),Oe=ne(59301),we=Object.defineProperty,Ie=Object.defineProperties,se=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,ze=(x,b,z)=>b in x?we(x,b,{enumerable:!0,configurable:!0,writable:!0,value:z}):x[b]=z,He=(x,b)=>{for(var z in b||(b={}))Ke.call(b,z)&&ze(x,z,b[z]);if(Ze)for(var z of Ze(b))je.call(b,z)&&ze(x,z,b[z]);return x},Le=(x,b)=>Ie(x,se(b)),le=(x,b)=>{var z={};for(var te in x)Ke.call(x,te)&&b.indexOf(te)<0&&(z[te]=x[te]);if(x!=null&&Ze)for(var te of Ze(x))b.indexOf(te)<0&&je.call(x,te)&&(z[te]=x[te]);return z};const E=x=>{var b=x,{value:z,onChange:te,scrollId:re}=b,ie=le(b,["value","onChange","scrollId"]);return Oe.createElement("div",{id:re||""},Oe.createElement(y.Z,Le(He({},ie),{defaultValue:z,onChange:(ge,fe)=>{fe!=null&&fe.length?te(ge,fe):te(ge)}})))},a=({value:x,onChange:b,placeholder:z,height:te=140,isEdit:re,miniToolbar:ie,watch:ge=!0})=>re?Oe.createElement(y.Z,{watch:ge,isFocus:!0,height:te||void 0,placeholder:z,defaultValue:x,onChange:b,miniToolbar:ie}):Oe.createElement("div",{style:{cursor:"pointer"}},x?Oe.createElement(Ce.Z,{className:ue.Z.inputBorder,value:x}):Oe.createElement("div",{className:`${ue.Z.inputBorder} ${ue.Z.placeholder} inputBorderError`},z))},54190:function(At,jt,ne){"use strict";ne.d(jt,{W:function(){return Ne}});var y=ne(59301),ue=ne(8591),Ce=ne(12563),Oe=ne(78241),we=ne(78673),Ie=ne(95237),se=ne(43604),Ze=ne(6848),Ke=ne(92832),je=ne(5871),ze=ne(58e3),He=ne(3969),Le=ne(96565),le=ne(61485),E=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,re=(pe,Xe,We)=>Xe in pe?E(pe,Xe,{enumerable:!0,configurable:!0,writable:!0,value:We}):pe[Xe]=We,ie=(pe,Xe)=>{for(var We in Xe||(Xe={}))z.call(Xe,We)&&re(pe,We,Xe[We]);if(b)for(var We of b(Xe))te.call(Xe,We)&&re(pe,We,Xe[We]);return pe},ge=(pe,Xe)=>a(pe,x(Xe)),fe=(pe,Xe)=>{var We={};for(var ut in pe)z.call(pe,ut)&&Xe.indexOf(ut)<0&&(We[ut]=pe[ut]);if(pe!=null&&b)for(var ut of b(pe))Xe.indexOf(ut)<0&&te.call(pe,ut)&&(We[ut]=pe[ut]);return We};const ce=pe=>{var Xe=pe,{value:We,onChange:ut}=Xe,Re=fe(Xe,["value","onChange"]);const _e=mt=>{ut([mt])};return y.createElement(Le.Z,ge(ie({},Re),{defaultValue:We==null?void 0:We[0],onChange:_e}))},xe=pe=>{if(!pe)return!1;if(/^s*$/.test(pe)||pe.trim()===""){ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let Xe=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return pe==="|"?(ue.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},ye=({value:pe=[],onClose:Xe})=>y.createElement(Ce.default,{closable:!0,onClose:Xe,className:ze.Z.keywordTag},y.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},pe.join(" \u6216 "))),Ne=({questionTitlePlaceholder:pe,form:Xe,showKeywords:We,isMustKeyWords:ut=We})=>{const[Re,_e]=(0,y.useState)(!1),[mt,Qe]=(0,y.useState)(""),ot=Oe.default.useWatch("use_keywords",Xe),Wt=Oe.default.useWatch("question_score",Xe);return y.createElement("div",{className:ze.Z.wrap},y.createElement("div",{className:ze.Z.questionTitleEditorWrap},y.createElement(Oe.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},y.createElement(He.h,{scrollId:"name",watch:!0,height:140,placeholder:pe}))),y.createElement(Oe.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:"answer_texts",labelCol:{span:24}},y.createElement(ce,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),We&&!ut&&y.createElement(Oe.default.Item,{hidden:!0,name:"use_keywords",valuePropName:"checked"},y.createElement(we.Z,{defaultChecked:!0})),We&&ut&&y.createElement(Ie.Z,{align:"middle",className:"mb30"},y.createElement(Oe.default.Item,{name:"use_keywords",valuePropName:"checked"},y.createElement(we.Z,null)),y.createElement(se.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(se.Z,null,y.createElement(Ze.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(le.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(ot||!ut)&&y.createElement(Oe.default.List,{name:"keywords",rules:[{validator(ht,Ht){return ut?Ht!=null&&Ht.length?(Ht==null?void 0:Ht.reduce((Ve,st)=>Ve+st.score,0))>parseFloat(Wt)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(ht,{add:Ht,remove:Kt})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${ze.Z.title} mb10`},ut?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(Ie.Z,{align:"middle",className:"font14 mb30"},y.createElement(se.Z,{flex:1},y.createElement(Ke.default,{value:mt,onChange:Ve=>{Qe(Ve.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ve=>{var st,Rt,gn,wt;const $t=`${(st=Ve.target)==null?void 0:st.value}`,Be=(gn=(Rt=$t==null?void 0:$t.split("|"))==null?void 0:Rt.filter(Ot=>!!Ot))==null?void 0:gn.map(Ot=>Ot==null?void 0:Ot.trim()),Jt=Xe.getFieldValue("keywords"),bn=((wt=Jt==null?void 0:Jt.map(Ot=>Ot==null?void 0:Ot.keyword))==null?void 0:wt.flat())||[];for(const Ot of Be)if(bn.includes(Ot)){ue.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}xe($t)&&(Ht({keyword:Be,score:1}),Qe(""))},className:ze.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(se.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ht.map(Ve=>{var st=Ve,{key:Rt,name:gn}=st,wt=fe(st,["key","name"]);return y.createElement(Ie.Z,{key:Rt,className:"mb20",style:{marginRight:148}},y.createElement(se.Z,{flex:1},y.createElement(Ie.Z,{align:"middle",justify:"space-between"},y.createElement(Oe.default.Item,ge(ie({},wt),{name:[gn,"keyword"]}),y.createElement(ye,{onClose:()=>Kt(gn)})),ut&&y.createElement(Oe.default.Item,ge(ie({},wt),{name:[gn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:ze.Z.blankInputNumberWrapper}),y.createElement(je.Z,{className:ze.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>_e(!0)},y.createElement(Oe.default.Item,{name:"analysis",label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(He.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Re}))))}},98408:function(At,jt,ne){"use strict";ne.d(jt,{tc:function(){return ea.t},uh:function(){return y.u},rL:function(){return Ln},u8:function(){return Ce.u},ZZ:function(){return ue.Z},Wk:function(){return Oe.W}});var y=ne(85500),ue=ne(27277),Ce=ne(78909),Oe=ne(54190),we=ne(59301),Ie=ne(36381),se=ne(78241),Ze=ne(95237),Ke=ne(43604),je=ne(5871),ze=ne(6848),He=ne(38854),Le=ne(58e3),le=ne(12893),E=ne(3969),a=ne(43418),x=ne(92832),b=ne(78673),z=ne(59301),te=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,xe=(Xt,Yt,qt)=>Yt in Xt?te(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,ye=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))fe.call(Yt,qt)&&xe(Xt,qt,Yt[qt]);if(ge)for(var qt of ge(Yt))ce.call(Yt,qt)&&xe(Xt,qt,Yt[qt]);return Xt},Ne=(Xt,Yt)=>re(Xt,ie(Yt)),pe=(Xt,Yt)=>{var qt={};for(var In in Xt)fe.call(Xt,In)&&Yt.indexOf(In)<0&&(qt[In]=Xt[In]);if(Xt!=null&&ge)for(var In of ge(Xt))Yt.indexOf(In)<0&&ce.call(Xt,In)&&(qt[In]=Xt[In]);return qt};const Xe=({value:Xt,onChange:Yt})=>{const qt=en=>{a.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Le.Z.modal,onOk:()=>{const Sa=[...Xt];Sa.splice(en,1),Yt(Sa)}})},In=()=>{const en=[...Xt];en.push(""),Yt(en)};return z.createElement(Ze.Z,{className:"ml20"},z.createElement(Ke.Z,{flex:1},Xt==null?void 0:Xt.map((en,Sa)=>z.createElement(Ze.Z,{key:`${en}_${Sa}`,align:"middle",className:"mb20"},z.createElement(x.default.TextArea,{style:{flex:1,minHeight:44},defaultValue:en,autoSize:{maxRows:3},maxLength:1e3,onBlur:Ca=>{const Un=[...Xt],dn=Ca.target.value.trim();Un[Sa]=dn,Yt(Un)}}),z.createElement(ze.Z,{title:"\u5220\u9664"},z.createElement(le.Z,{className:Le.Z.deleteIcon,style:{marginLeft:15,visibility:Sa>0?"visible":"hidden"},onClick:()=>qt(Sa)}))))),z.createElement(Ke.Z,null,z.createElement("div",{className:`${Le.Z.addBtn}`,onClick:()=>{In()}},"\u65B0\u589E\u7B54\u6848")))},We=({value:Xt=!0,onChange:Yt})=>z.createElement(b.Z,{checked:!Xt,onChange:qt=>{Yt(!qt)}}),ut="\u2581",Re=({questionTitlePlaceholder:Xt,form:Yt,name:qt,scoreByBlank:In=!1,answerKey:en,titleKey:Sa="name",analysisKey:Ca="analysis",isOrdered:Un="is_ordered"})=>{var dn,Aa;const[qe,pn]=(0,we.useState)(!1),Nn=(mn,An)=>{const un=An.line;let $n=0;for(let Jn=0;Jn{const Kn=mn.getRange(An.from,An.to);let Jn=0;if(An.text.forEach(ma=>{Jn+=ma.split(ut).length-1}),An.origin!=="setValue"){if(Kn&&Kn.indexOf(ut)!==-1){const ma=Kn.split(ut).length-1,Ha=Nn(mn,An.from);if(console.log(`\u5220\u9664${ma}\u4E2A\uFF0C \u524D\u9762\u6709${Ha}\u4E2A\uFF0C\u65B0\u589E${Jn}\u4E2A`),ma>1){const Bn=Array.from({length:ma},(ya,Ya)=>Ha+Ya);$n(Bn)}else $n(Ha)}else if(Jn>0){const ma=Nn(mn,An.from);console.log(`\u65B0\u589E${Jn}\u4E2A\uFF0C\u4E4B\u524D\u6709${ma}\u4E2A`),un(Jn,ma)}}},zn=()=>{const mn=Yt.getFieldValue(["sub_item_banks",...en]);Yt.setFieldValue(["sub_item_banks",...en],mn==null?void 0:mn.map((An,un)=>Ne(ye({},An),{position:un+1})))},Gn=(0,we.useRef)(),Vn=(mn,An)=>{for(let un=0;un{dt.current(mn),zn()},St=(Aa=(dn=Yt.getFieldValue("sub_item_banks"))==null?void 0:dn[en==null?void 0:en[0]])==null?void 0:Aa[en==null?void 0:en[1]];return(0,we.useEffect)(()=>{console.log("========",Yt.getFieldsValue())},[Yt]),z.createElement("div",{className:Le.Z.wrap},z.createElement("div",{className:Le.Z.questionTitleEditorWrap},z.createElement(se.default.Item,{label:"\u9898\u5E72",name:Sa,labelCol:{span:24},rules:[{required:!0}]},z.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt,showNullButton:!0,onCMBeforeChange:(mn,An)=>{sn(mn,An,Vn,Ct)}}))),z.createElement(se.default.List,{name:en,rules:[{validator(mn,An){if((An==null?void 0:An.length)===0)return Promise.reject(new Error("\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879"));for(const un of An){const{answer_text:$n}=un||{};if($n!=null&&$n.some(Kn=>(Kn==null?void 0:Kn.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(mn,{add:An,remove:un},{errors:$n})=>(Gn.current=An,dt.current=un,z.createElement(z.Fragment,null,z.createElement(se.default.Item,{label:z.createElement("span",null,"\u586B\u7A7A\u9879\u7B54\u6848",!(mn!=null&&mn.length)&&z.createElement("span",{style:{color:"#E99237"}},"\uFF08\u8BF7\u5148\u5728\u9898\u5E72\u4E2D\u63D2\u5165\u586B\u7A7A\u9879\uFF09")),required:!0,labelCol:{span:24}}),mn.map((Kn,Jn)=>{var ma=Kn,{key:Ha,name:Bn}=ma,ya=pe(ma,["key","name"]);return z.createElement(Ze.Z,{align:"top",key:Ha},z.createElement(Ke.Z,{className:`${Le.Z.blankIndex} pt5`},"\u586B\u7A7A\u9879",Jn+1),z.createElement(Ke.Z,{flex:1},z.createElement(Ze.Z,{align:"top",justify:"space-between"},z.createElement(Ke.Z,{flex:1},z.createElement(se.default.Item,Ne(ye({},ya),{name:[Bn,"answer_text"],noStyle:!0}),z.createElement(Xe,null))),In&&z.createElement(Ke.Z,{flex:"224px"},z.createElement(se.default.Item,Ne(ye({},ya),{name:[Bn,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Le.Z.blankInputNumberWrapper}),z.createElement(je.Z,{className:Le.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),z.createElement(se.default.Item,Ne(ye({},ya),{name:[Bn,"position"],noStyle:!0}),z.createElement(x.default,{type:"hidden"}))))})))),z.createElement(Ze.Z,{align:"middle"},z.createElement(se.default.Item,{name:[qt,"downcase"],valuePropName:"checked"},z.createElement(b.Z,null)),z.createElement(Ke.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),z.createElement(Ze.Z,{align:"middle"},z.createElement(se.default.Item,{name:[qt,"no_space"],valuePropName:"checked"},z.createElement(b.Z,null)),z.createElement(Ke.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(St==null?void 0:St.length)>1&&z.createElement(Ze.Z,{align:"middle",className:(St==null?void 0:St.length)>1?"mb30":`${Le.Z.hide}`},z.createElement(se.default.Item,{name:Un},z.createElement(We,null)),z.createElement(Ke.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),z.createElement("div",{className:"mt30",onClick:()=>pn(!0)},z.createElement(se.default.Item,{name:Ca,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},z.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:qe}))))};var _e=ne(59301),mt=Object.defineProperty,Qe=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,Wt=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,Kt=(Xt,Yt,qt)=>Yt in Xt?mt(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,Ve=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))ht.call(Yt,qt)&&Kt(Xt,qt,Yt[qt]);if(Wt)for(var qt of Wt(Yt))Ht.call(Yt,qt)&&Kt(Xt,qt,Yt[qt]);return Xt},st=(Xt,Yt)=>Qe(Xt,ot(Yt)),Rt=(Xt,Yt)=>{var qt={};for(var In in Xt)ht.call(Xt,In)&&Yt.indexOf(In)<0&&(qt[In]=Xt[In]);if(Xt!=null&&Wt)for(var In of Wt(Xt))Yt.indexOf(In)<0&&Ht.call(Xt,In)&&(qt[In]=Xt[In]);return qt};const gn={\u6B63\u786E:"T",\u9519\u8BEF:"F"},wt=({value:Xt,onChange:Yt,form:qt,choiceKey:In})=>{const en=(Xt==null?void 0:Xt.is_answer)===1,Sa=Xt==null?void 0:Xt.choice_text,Ca=()=>{var Un;const dn=(Un=qt==null?void 0:qt.getFieldValue(["sub_item_banks",...In]))==null?void 0:Un.map(Aa=>({choice_text:Aa.choice_text,is_answer:0}));qt==null||qt.setFieldValue(["sub_item_banks",...In],dn),Yt(st(Ve({},Xt),{is_answer:1}))};return _e.createElement(Ze.Z,{className:Le.Z.choiceWrap,align:"middle",wrap:!1},_e.createElement(Ke.Z,{onClick:Ca,className:`${Le.Z.choiceIndex} ${Le.Z.judgementIndex} ${en?Le.Z.activeAnswer:""}`},gn[Sa]),_e.createElement(Ke.Z,{flex:1,className:`${Le.Z.editorWrap} ml15`},_e.createElement("div",{className:`${Le.Z.inputBorder} ${Le.Z.placeholder} ${en?Le.Z.activeJudgementAnswer:""}`},Sa)),_e.createElement(Ke.Z,{flex:"0 0 auto",className:"ml15"},_e.createElement("div",{onClick:Ca,className:`${Le.Z.setAnswerBtn} ${en?Le.Z.activeAnswer:""}`},en?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},$t=({questionTitlePlaceholder:Xt,choiceKey:Yt="choices",form:qt,titleKey:In="name",analysisKey:en="analysis"})=>{const[Sa,Ca]=(0,we.useState)(!1);return _e.createElement("div",{className:Le.Z.wrap},_e.createElement("div",{className:Le.Z.questionTitleEditorWrap},_e.createElement(se.default.Item,{label:"\u9898\u5E72",name:In,labelCol:{span:24},rules:[{required:!0}]},_e.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt}))),_e.createElement(se.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},_e.createElement(se.default.List,{name:Yt,rules:[{validator(Un,dn){return dn.some(qe=>(qe==null?void 0:qe.is_answer)===1)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Un=>_e.createElement("div",{id:"choices",style:{display:"flex",flexDirection:"column",gap:"20px"}},Un.map(dn=>{var Aa=dn,{key:qe,name:pn}=Aa,Nn=Rt(Aa,["key","name"]);return _e.createElement(se.default.Item,st(Ve({},Nn),{key:qe,name:pn,noStyle:!0}),_e.createElement(wt,{form:qt,choiceKey:Yt}))})))),_e.createElement("div",{className:"mt30",onClick:()=>Ca(!0)},_e.createElement(se.default.Item,{name:en,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},_e.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Sa}))))};var Be=ne(8591),Jt=ne(12563),bn=ne(96565),Ot=ne(61485),Zt=Object.defineProperty,et=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,Lt=(Xt,Yt,qt)=>Yt in Xt?Zt(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,Fe=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))he.call(Yt,qt)&&Lt(Xt,qt,Yt[qt]);if(De)for(var qt of De(Yt))tt.call(Yt,qt)&&Lt(Xt,qt,Yt[qt]);return Xt},be=(Xt,Yt)=>et(Xt,Ye(Yt)),Pt=(Xt,Yt)=>{var qt={};for(var In in Xt)he.call(Xt,In)&&Yt.indexOf(In)<0&&(qt[In]=Xt[In]);if(Xt!=null&&De)for(var In of De(Xt))Yt.indexOf(In)<0&&tt.call(Xt,In)&&(qt[In]=Xt[In]);return qt};const Je=Xt=>{var Yt=Xt,{value:qt,onChange:In}=Yt,en=Pt(Yt,["value","onChange"]);const Sa=Ca=>{In([Ca])};return we.createElement(bn.Z,be(Fe({},en),{defaultValue:qt==null?void 0:qt[0],onChange:Sa}))},ke=Xt=>{if(!Xt)return!1;let Yt=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Xt==="|"?(Be.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},bt=({value:Xt=[],onClose:Yt})=>we.createElement(Jt.default,{closable:!0,onClose:Yt,className:Le.Z.keywordTag},we.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Xt.join(" \u6216 "))),hn=({questionTitlePlaceholder:Xt,form:Yt,showKeywords:qt,isMustKeyWords:In=qt,titleKey:en="name",analysisKey:Sa="analysis",answerTexts:Ca="answer_texts",keywords:Un="keywords",useKeywords:dn="use_keywords",indexs:Aa})=>{const[qe,pn]=(0,we.useState)(!1),[Nn,sn]=(0,we.useState)(""),[zn,Gn]=(0,we.useState)(!1),Vn=se.default.useWatch("question_score",Yt);return we.createElement("div",{className:Le.Z.wrap},we.createElement("div",{className:Le.Z.questionTitleEditorWrap},we.createElement(se.default.Item,{label:"\u9898\u5E72",name:en,labelCol:{span:24},rules:[{required:!0}]},we.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt}))),we.createElement(se.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:Ca,labelCol:{span:24}},we.createElement(Je,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),qt&&!In&&we.createElement(se.default.Item,{hidden:!0,name:dn,valuePropName:"checked"},we.createElement(b.Z,{defaultChecked:!0})),qt&&In&&we.createElement(Ze.Z,{align:"middle",className:"mb30"},we.createElement(se.default.Item,{name:dn,valuePropName:"checked"},we.createElement(b.Z,{onChange:()=>{var dt,Ct,St,mn,An,un;console.log(Yt.getFieldsValue()),Gn((St=(Ct=(dt=Yt.getFieldsValue())==null?void 0:dt.sub_item_banks)==null?void 0:Ct[Aa])==null?void 0:St.use_keywords),console.log((un=(An=(mn=Yt.getFieldsValue())==null?void 0:mn.sub_item_banks)==null?void 0:An[Aa])==null?void 0:un.use_keywords),console.log(zn)}})),we.createElement(Ke.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),we.createElement(Ke.Z,null,we.createElement(ze.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},we.createElement(Ot.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(zn||!In)&&we.createElement(se.default.List,{name:Un,rules:[{validator(dt,Ct){return In?Ct!=null&&Ct.length?(Ct==null?void 0:Ct.reduce((mn,An)=>mn+An.score,0))>parseFloat(Vn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(dt,{add:Ct,remove:St})=>we.createElement(we.Fragment,null,we.createElement("div",{className:`${Le.Z.title} mb10`},In?"\u5173\u952E\u8BCD":we.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),we.createElement(Ze.Z,{align:"middle",className:"font14 mb30"},we.createElement(Ke.Z,{flex:1},we.createElement(x.default,{value:Nn,onChange:mn=>{sn(mn.target.value)},maxLength:50,allowClear:!0,onPressEnter:mn=>{var An,un,$n,Kn;const Jn=`${(An=mn.target)==null?void 0:An.value}`,ma=($n=(un=Jn==null?void 0:Jn.split("|"))==null?void 0:un.filter(ya=>!!ya))==null?void 0:$n.map(ya=>ya==null?void 0:ya.trim()),Ha=Yt.getFieldValue(["sub_item_banks",...Un]),Bn=((Kn=Ha==null?void 0:Ha.map(ya=>ya==null?void 0:ya.keyword))==null?void 0:Kn.flat())||[];for(const ya of ma)if(Bn.includes(ya)){Be.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}ke(Jn)&&(Ct({keyword:ma,score:1}),sn(""))},className:Le.Z.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),we.createElement(Ke.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),dt.map(mn=>{var An=mn,{key:un,name:$n}=An,Kn=Pt(An,["key","name"]);return we.createElement(Ze.Z,{key:un,className:"mb20",style:{marginRight:148}},we.createElement(Ke.Z,{flex:1},we.createElement(Ze.Z,{align:"middle",justify:"space-between"},we.createElement(se.default.Item,be(Fe({},Kn),{name:[$n,"keyword"]}),we.createElement(bt,{onClose:()=>St($n)})),In&&we.createElement(se.default.Item,be(Fe({},Kn),{name:[$n,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Le.Z.blankInputNumberWrapper}),we.createElement(je.Z,{className:Le.Z.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),we.createElement("div",{onClick:()=>pn(!0)},we.createElement(se.default.Item,{name:Sa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},we.createElement(E.x,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:qe}))))};var Tt=ne(59301),ln=Object.defineProperty,tn=Object.defineProperties,an=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,ft=(Xt,Yt,qt)=>Yt in Xt?ln(Xt,Yt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):Xt[Yt]=qt,lt=(Xt,Yt)=>{for(var qt in Yt||(Yt={}))at.call(Yt,qt)&&ft(Xt,qt,Yt[qt]);if(Te)for(var qt of Te(Yt))Nt.call(Yt,qt)&&ft(Xt,qt,Yt[qt]);return Xt},fn=(Xt,Yt)=>tn(Xt,an(Yt)),En=(Xt,Yt)=>{var qt={};for(var In in Xt)at.call(Xt,In)&&Yt.indexOf(In)<0&&(qt[In]=Xt[In]);if(Xt!=null&&Te)for(var In of Te(Xt))Yt.indexOf(In)<0&&Nt.call(Xt,In)&&(qt[In]=Xt[In]);return qt};const{Panel:yn}=Ie.default,Ln=({questionTitlePlaceholder:Xt,choiceKey:Yt,form:qt,withScore:In})=>{const[en,Sa]=(0,we.useState)([]),Ca=Un=>{Sa(Un)};return Tt.createElement("div",{className:Le.Z.wrap},Tt.createElement("div",{className:Le.Z.questionTitleEditorWrap},Tt.createElement(se.default.Item,{label:"\u9898\u5E72",name:"name",labelCol:{span:24},rules:[{required:!0}]},Tt.createElement(E.h,{scrollId:"name",watch:!0,height:140,placeholder:Xt}))),Tt.createElement(se.default.Item,{label:"\u5C0F\u9898",required:!0,labelCol:{span:24}}),Tt.createElement(se.default.List,{name:"sub_item_banks",rules:[{validator(Un,dn){return dn?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Un,{add:dn,remove:Aa,move:qe})=>{const pn=qt.getFieldValue("sub_item_banks");return Tt.createElement(Tt.Fragment,null,Tt.createElement(Ie.default,{className:Un.length>0?Le.Z.collapseWrapper:"",bordered:!1,activeKey:en,onChange:Ca,expandIcon:({isActive:Nn})=>Tt.createElement("i",{className:`iconfont icon-weizhankai ${Nn?Le.Z.open:Le.Z.close}`,style:{fontSize:14,transition:"all .2s"}})},Un.map((Nn,sn)=>{var zn=Nn,{key:Gn,name:Vn}=zn,dt=En(zn,["key","name"]),Ct,St,mn,An,un,$n,Kn,Jn,ma,Ha;return Tt.createElement(yn,{className:Le.Z.panel,forceRender:!0,header:Tt.createElement("div",{className:Le.Z.panelHeader},"\u7B2C",sn+1,"\u5C0F\u9898",Tt.createElement("span",null,"\uFF08",((Ct=pn==null?void 0:pn[Vn])==null?void 0:Ct.item_type)=="SINGLE"?"\u5355\u9009\u9898":((St=pn==null?void 0:pn[Vn])==null?void 0:St.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":((mn=pn==null?void 0:pn[Vn])==null?void 0:mn.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":((An=pn==null?void 0:pn[Vn])==null?void 0:An.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898","\uFF09")),key:Vn,extra:Tt.createElement(Ze.Z,{align:"middle",onClick:Bn=>Bn.stopPropagation()},In&&Tt.createElement(Ke.Z,null,Tt.createElement(se.default.Item,fn(lt({},dt),{rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5C0F\u9898\u5206\u503C"}],label:"\u5206\u503C",name:[Vn,"question_score"],className:Le.Z.blankInputNumberWrapper}),Tt.createElement(je.Z,{className:Le.Z.blankInput,placeholder:"\u8BF7\u8F93\u5165\u5F53\u524D\u5C0F\u9898\u5206\u6570",min:.1,precision:1,max:100,style:{width:150}}))),Tt.createElement(Ke.Z,null,Tt.createElement(Ze.Z,{align:"middle",className:"pl40",justify:"end"},sn!==0&&Tt.createElement("div",{onClick:()=>{var Bn;qe(sn,sn-1);const ya=(Bn=qt.getFieldValue("sub_item_banks"))==null?void 0:Bn.map((Ya,dr)=>(Un.map((Wn,cn)=>{dr===cn&&(Ya.q_position=Number(Wn.name)+1)}),Ya));qt.setFieldValue("sub_item_banks",ya)}},Tt.createElement(ze.Z,{title:"\u4E0A\u79FB"},Tt.createElement("i",{className:"iconfont icon-shangyi3 c-grey-999 primary-hover"}))),sn{var Bn;qe(sn,sn+1);const ya=(Bn=qt.getFieldValue("sub_item_banks"))==null?void 0:Bn.map((Ya,dr)=>(Un.map((Wn,cn)=>{dr===cn&&(Ya.q_position=Number(Wn.name)+1)}),Ya));qt.setFieldValue("sub_item_banks",ya)},className:sn===0?"":"ml15"},Tt.createElement(ze.Z,{title:"\u4E0B\u79FB"},Tt.createElement("i",{className:"iconfont icon-xiayi3 c-grey-999 primary-hover"}))))),Tt.createElement(Ke.Z,null,Tt.createElement(ze.Z,{title:"\u5220\u9664"},Tt.createElement(le.Z,{className:`${Le.Z.deleteIcon} ml15`,onClick:()=>Aa(Vn)}))))},Tt.createElement(se.default.Item,fn(lt({},dt),{name:Vn}),(((un=pn==null?void 0:pn[Vn])==null?void 0:un.item_type)=="SINGLE"||(($n=pn==null?void 0:pn[Vn])==null?void 0:$n.item_type)=="MULTIPLE")&&Tt.createElement(y.u,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:((Kn=pn==null?void 0:pn[Vn])==null?void 0:Kn.item_type)=="MULTIPLE",form:qt,choiceKey:[Vn,"choices"],titleKey:[Vn,"name"],analysisKey:[Vn,"analysis"],choiceOptionsPath:["sub_item_banks",Vn,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Jn=pn==null?void 0:pn[Vn])==null?void 0:Jn.item_type)=="COMPLETION"&&Tt.createElement(Re,{form:qt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,name:Vn,titleKey:[Vn,"name"],analysisKey:[Vn,"analysis"],isOrdered:[Vn,"is_ordered"],answerKey:[Vn,"standard_answers"]}),((ma=pn==null?void 0:pn[Vn])==null?void 0:ma.item_type)=="JUDGMENT"&&Tt.createElement($t,{form:qt,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Vn,"name"],analysisKey:[Vn,"analysis"],choiceKey:[Vn,"choices"]}),((Ha=pn==null?void 0:pn[Vn])==null?void 0:Ha.item_type)=="SUBJECTIVE"&&Tt.createElement(hn,{showKeywords:!0,isMustKeyWords:!1,form:qt,titleKey:[Vn,"name"],analysisKey:[Vn,"analysis"],answerTexts:[Vn,"answer_texts"],useKeywords:[Vn,"use_keywords"],keywords:[Vn,"keywords"],indexs:Vn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})),Un.length<20&&Tt.createElement(He.Z,{menu:{items:[{label:Tt.createElement("div",{onClick:()=>{dn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"SINGLE"}),Sa([Un==null?void 0:Un.length,...en])}},"\u5355\u9009\u9898"),key:"1",show:!0},{label:Tt.createElement("div",{onClick:()=>{dn({name:"",choices:Array.from({length:4},()=>({choice_text:"",is_answer:0})),analysis:"",item_type:"MULTIPLE"}),Sa([Un==null?void 0:Un.length,...en])}},"\u591A\u9009\u9898"),key:"2",show:!0},{label:Tt.createElement("div",{onClick:()=>{dn({name:"",choices:[{choice_text:"\u6B63\u786E",is_answer:0},{choice_text:"\u9519\u8BEF",is_answer:0}],analysis:"",item_type:"JUDGMENT"}),Sa([Un==null?void 0:Un.length,...en])}},"\u5224\u65AD\u9898"),key:"3",show:!0},{label:Tt.createElement("div",{onClick:()=>{dn({name:"",analysis:"",is_ordered:!0,standard_answers:[],item_type:"COMPLETION",downcase:!0,no_space:!0}),Sa([Un==null?void 0:Un.length,...en])}},"\u586B\u7A7A\u9898"),key:"4",show:!0},{label:Tt.createElement("div",{onClick:()=>{dn({name:"",answer_texts:[],keywords:[],use_keywords:!0,analysis:"",item_type:"SUBJECTIVE"}),Sa([Un==null?void 0:Un.length,...en])}},"\u7B80\u7B54\u9898"),key:"5",show:!0}].filter(Nn=>Nn.show).map(Nn=>({label:Nn.label,key:Nn.key}))}},Tt.createElement("div",{className:`${Le.Z.addBtn}`},"\u6DFB\u52A0\u5C0F\u9898")))}))};var ea=ne(92716)},25965:function(At,jt,ne){"use strict";ne.d(jt,{C:function(){return Re}});var y=ne(59301),ue={recalculation:"recalculation____i9AE",tips:"tips___GoMu8",filter:"filter___Vx7VO",input:"input___OEMMv",operating:"operating___TS9iA",operatingItem:"operatingItem___AT84q"},Ce=ne(92310),Oe=ne.n(Ce),we=ne(24905),Ie=ne(95237),se=ne(8591),Ze=ne(6848),Ke=ne(3113),je=ne(43418),ze=ne(1710),He=ne(5871),Le=ne(78241),le=ne(71418),E=ne(65862),a=ne(38147),x=ne(41867),b=ne(71067),z=ne(3918),te=Object.defineProperty,re=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ge=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,xe=(_e,mt,Qe)=>mt in _e?te(_e,mt,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):_e[mt]=Qe,ye=(_e,mt)=>{for(var Qe in mt||(mt={}))fe.call(mt,Qe)&&xe(_e,Qe,mt[Qe]);if(ge)for(var Qe of ge(mt))ce.call(mt,Qe)&&xe(_e,Qe,mt[Qe]);return _e},Ne=(_e,mt)=>re(_e,ie(mt)),pe=(_e,mt,Qe)=>new Promise((ot,Wt)=>{var ht=Ve=>{try{Kt(Qe.next(Ve))}catch(st){Wt(st)}},Ht=Ve=>{try{Kt(Qe.throw(Ve))}catch(st){Wt(st)}},Kt=Ve=>Ve.done?ot(Ve.value):Promise.resolve(Ve.value).then(ht,Ht);Kt((Qe=Qe.apply(_e,mt)).next())});const Xe=we.default.Group,We=({className:_e,title:mt,items:Qe=[],value:ot,onChange:Wt})=>{const ht=(Qe==null?void 0:Qe.length)===(ot==null?void 0:ot.length),Ht=(ot==null?void 0:ot.length)>0&&(ot==null?void 0:ot.length)<(Qe==null?void 0:Qe.length),Kt=Ve=>{const st=Qe.map(Rt=>Rt.id);Wt(Ve.target.checked?st:[])};return y.createElement(Ie.Z,{align:"middle",className:_e},!!mt&&y.createElement("div",{className:"mr20",style:{color:"#5F6368"}},mt),y.createElement(we.default,{indeterminate:Ht,onChange:Kt,checked:ht},"\u5168\u90E8"),y.createElement(Xe,{value:ot,onChange:Wt},Qe.map(Ve=>y.createElement(we.default,{className:"ml30 c-black",key:Ve.id,value:Ve.id},Ve.name,y.createElement("span",null,`(${Ve.count})`)))))};var Re=({className:_e,style:mt,dataSource:Qe})=>{var ot,Wt,ht,Ht,Kt,Ve,st;const[Rt,gn]=(0,y.useState)({}),[wt,$t]=(0,y.useState)(!0),[Be,Jt]=(0,y.useState)(!1),[bn,Ot]=(0,y.useState)(!1),[Zt,et]=(0,y.useState)(null),[Ye,De]=(0,y.useState)(0),[he,tt]=(0,y.useState)({}),[Lt,Fe]=(0,y.useState)(!0),[be,Pt]=(0,y.useState)(0),[Je,ke]=(0,y.useState)(0),[bt,hn]=(0,y.useState)(!1),Tt=(0,y.useRef)(null),[ln,tn]=(0,y.useState)(!1),[an,Te]=(0,y.useState)(!0),[at,Nt]=(0,y.useState)([]),ft={page:1,per_page:5,keyword:"",review:[],question_status:[],success_status:[],sort_by:null,direction:null},[lt,fn]=(0,y.useState)(ye({},ft));(0,y.useEffect)(()=>{Qe!=null&&Qe.question_id&&gn(Qe)},[Qe==null?void 0:Qe.question_id]),(0,y.useEffect)(()=>{var dn;if(((dn=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:dn.status)==="running"){const Aa=setInterval(()=>{Ln()},3e3);return()=>clearInterval(Aa)}},[(ot=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:ot.status]),(0,y.useEffect)(()=>{var dn;bn&&(bn===1&&(lt.question_status=ea.map(Aa=>Aa.value),lt.review=Xt.map(Aa=>Aa.value)),bn===2&&(lt.exercise_question_resubmit_id=(dn=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:dn.id,Zt===1&&(lt.success_status=[1]),Zt===2&&(lt.success_status=[0])),fn(ye({},lt)),En(lt),ke(Rt!=null&&Rt.is_mirror?3:10),Pt(Rt!=null&&Rt.is_mirror?1:5))},[bn]),(0,y.useEffect)(()=>{ln&&yn()},[ln]);const En=dn=>pe(void 0,null,function*(){$t(!0);const Aa=yield(0,a.ZP)(`/api/exercise_questions/${Rt==null?void 0:Rt.question_id}/resubmit_student_list.json`,{method:"get",params:dn});(Aa==null?void 0:Aa.status)==0&&(tt(Aa||[]),De(Aa==null?void 0:Aa.count)),$t(!1)}),yn=()=>pe(void 0,null,function*(){Te(!0);const dn=yield(0,a.ZP)(`/api/exercise_questions/${Rt==null?void 0:Rt.question_id}/resubmit_history.json`,{method:"get"});(dn==null?void 0:dn.status)==0&&Nt((dn==null?void 0:dn.data)||[]),Te(!1)}),Ln=()=>pe(void 0,null,function*(){const dn=yield(0,a.ZP)(`/api/exercise_questions/${Rt==null?void 0:Rt.question_id}/resubmit_status.json`,{method:"get"});(dn==null?void 0:dn.status)==0&&gn(Ne(ye({},Rt),{show_resubmit_history:!0,exercise_question_resubmit:(dn==null?void 0:dn.data)||{}}))}),ea=[{label:"\u672A\u8BC4\u6D4B",value:2,color:"#9096A3"},{label:"\u672A\u901A\u5173",value:0,color:"#E30000"},{label:"\u5DF2\u901A\u5173",value:1,color:"#00B187"}],Xt=[{label:"\u672A\u8BC4\u9605",value:0,color:"#9096A3"},{label:"\u8BC4\u9605\u4E2D",value:2,color:"#FF9D18"},{label:"\u5DF2\u8BC4\u9605",value:1,color:"#3061D0"}],Yt=[{label:"\u6210\u529F",value:1,color:"#00B187"},{label:"\u5931\u8D25",value:0,color:"#E30000"}],qt=[{title:"\u5E8F\u53F7",dataIndex:"key",render:(dn,Aa,qe)=>y.createElement("span",{className:"c-black"},qe+1+(lt.page-1)*lt.per_page)},{title:"\u59D3\u540D",dataIndex:"user_name",render:dn=>y.createElement("span",{className:"c-black"},dn)},{title:"\u5B66\u53F7",dataIndex:"student_id",sorter:!0,render:dn=>y.createElement("span",{className:"c-grey-666"},dn||"--")},{title:"\u5206\u73ED",dataIndex:"group_name",render:dn=>y.createElement("span",{className:"c-black"},dn)},{title:"\u9898\u76EE\u72B6\u6001",dataIndex:"question_status",render:dn=>{const{label:Aa,color:qe}=ea.find(pn=>pn.value===dn)||{};return y.createElement("span",{style:{color:qe}},Aa)}},{title:"\u9898\u76EE\u5F97\u5206",dataIndex:"question_score",sorter:!0,render:dn=>y.createElement("span",{className:"c-black"},dn)},{title:"\u6700\u7EC8\u6210\u7EE9",dataIndex:"score",sorter:!0,render:dn=>y.createElement("span",{className:"c-black"},dn)},{title:"\u8BC4\u9605\u72B6\u6001",dataIndex:"review",render:dn=>{const{label:Aa,color:qe}=Xt.find(pn=>pn.value===dn)||{};return y.createElement("span",{style:{color:qe}},Aa)}},bn===2&&{title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"success_status",render:dn=>{const{label:Aa,color:qe}=Yt.find(pn=>pn.value===dn)||{};return y.createElement("span",{style:{color:qe}},Aa)}}].filter(Boolean),In=(dn,Aa,qe)=>{lt.page=dn==null?void 0:dn.current,lt.per_page=dn==null?void 0:dn.pageSize,qe!=null&&qe.order?(lt.sort_by=qe==null?void 0:qe.field,lt.direction=(qe==null?void 0:qe.order)==="ascend"?"asc":"desc"):(lt.sort_by=null,lt.direction=null),fn(ye({},lt)),En(lt)},en=()=>{if(!be){se.ZP.warning("\u8BF7\u8F93\u5165\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570");return}hn(!0)},Sa=()=>pe(void 0,null,function*(){var dn,Aa;if((dn=Tt.current)!=null&&dn.onVerify())return;Jt(!0);const qe=yield(0,a.ZP)(`/api/exercise_questions/${Rt==null?void 0:Rt.question_id}/resubmit.json`,{method:"post",body:{keyword:lt.keyword,question_status:lt.question_status,review:lt.review_status,success_status:lt.success_status,use_max_score:Lt,permits:be,exercise_question_resubmit_id:bn===1?null:(Aa=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:Aa.id}});(qe==null?void 0:qe.status)==0&&(yield Ln(),se.ZP.success("\u64CD\u4F5C\u6210\u529F"),hn(!1),Ot(!1)),Jt(!1)}),Ca=(dn,Aa)=>{lt.page=1,lt[Aa]=dn,fn(ye({},lt)),En(lt)},Un=["","\u5F53\u524D\u9898\u76EE\u7684\u5B9E\u9A8C\u8D44\u6E90\u4E3A\u4E13\u6709\u4E91\uFF0C\u4E0D\u652F\u6301\u91CD\u65B0\u8BC4\u6D4B~","\u8BE5\u529F\u80FD\u4EC5\u8BFE\u5802\u7BA1\u7406\u5458\u548C\u8003\u8BD5\u7684\u521B\u5EFA\u8005\u53EF\u4EE5\u64CD\u4F5C~"];return y.createElement(y.Fragment,null,y.createElement("div",{className:Oe()(ue.recalculation,_e),style:mt},y.createElement(Ze.Z,{title:Un[(Rt==null?void 0:Rt.disable_resubmit_reason)||0]},y.createElement(Ke.ZP,{disabled:(Rt==null?void 0:Rt.disable_resubmit)||((Wt=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:Wt.status)==="running",onClick:()=>Ot(1),icon:y.createElement("i",{className:"iconfont icon-zhongxinpingce font14"}),type:"primary",ghost:!0},"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206")),(Rt==null?void 0:Rt.show_resubmit_history)&&y.createElement(y.Fragment,null,((ht=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:ht.status)==="running"?y.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",y.createElement("span",{className:"c-light-primary ml3"},(Ht=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:Ht.rate)):y.createElement("div",{className:"c-grey-666"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",y.createElement("span",{onClick:()=>{Ot(2),et(1)},className:"current",style:{color:"#3061D0",textDecoration:"underline",margin:"0 3px"}},(Kt=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:Kt.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",y.createElement("span",{onClick:()=>{Ot(2),et(2)},className:"current",style:{color:"#E30000",textDecoration:"underline",margin:"0 3px"}},(Ve=Rt==null?void 0:Rt.exercise_question_resubmit)==null?void 0:Ve.fail_count),"\u4EBA"),y.createElement(Ze.Z,{title:"\u64CD\u4F5C\u8BB0\u5F55"},y.createElement("i",{onClick:()=>tn(!0),className:"iconfont icon-chakanshenqingjilu c-light-primary current font14"})))),y.createElement(je.default,{centered:!0,open:!!bn,title:`\u91CD\u65B0\u8BC4\u6D4B${bn===1?"\u7B97\u5206":"\u7ED3\u679C"}`,width:870,okText:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",onCancel:()=>Ot(!1),onOk:en,afterClose:()=>{Fe(!0),et(null),fn(ye({},ft))}},y.createElement("div",{className:ue.filter},bn===1&&y.createElement(y.Fragment,null,y.createElement("div",{className:ue.tips},y.createElement("div",{className:"mb5",style:{color:"#FF9D18"}},y.createElement("i",{className:"iconfont icon-tishi9 mr10 font14"}),"\u6E29\u99A8\u63D0\u793A"),y.createElement("div",null,"1.\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206\u6D41\u7A0B\uFF1A \u7CFB\u7EDF\u81EA\u52A8\u83B7\u53D6\u5B66\u751F\u5728\u8003\u8BD5\u9875\u9762\u4FDD\u5B58\u7684\u6700\u65B0\u4EE3\u7801\uFF0C\u5E76\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\uFF0C\u4ECE\u800C\u7CBE\u51C6\u8BA1\u7B97\u51FA\u5B66\u751F\u7684\u6700\u7EC8\u5F97\u5206\uFF1B"),y.createElement("div",{style:{margin:"2px 0"}},"2.\u91CD\u65B0\u8BC4\u6D4B\u6761\u4EF6\uFF1A \u8003\u8BD5\u7ED3\u675F\u540E\uFF0C\u4EC5\u5BF9\u5DF2\u63D0\u4EA4\u8BD5\u5377\u4E14\u5DF2\u4F5C\u7B54\u8BE5\u9898\u76EE\u7684\u5B66\u751F\u8FDB\u884C\u91CD\u65B0\u8BC4\u6D4B\u4E0E\u7B97\u5206\uFF1B"),y.createElement("div",null,"3.\u91CD\u65B0\u8BC4\u6D4B\u65F6\uFF0C\u8BF7\u786E\u4FDD\u5B9E\u9A8C\u73AF\u5883\u80FD\u6B63\u5E38\u542F\u52A8\u5E76\u53EF\u8FD0\u884C\u8BC4\u6D4B\u3002")),y.createElement(We,{className:"mt10",title:"\u9898\u76EE\u72B6\u6001",items:(he==null?void 0:he.question_status)||[],value:lt.question_status,onChange:dn=>Ca(dn,"question_status")}),y.createElement(We,{className:"mt10",title:"\u8BC4\u9605\u72B6\u6001",items:(he==null?void 0:he.review_status)||[],value:lt.review,onChange:dn=>Ca(dn,"review")})),bn===2&&y.createElement(y.Fragment,null,y.createElement(We,{className:"mt10",title:"\u91CD\u65B0\u8BC4\u6D4B\u7ED3\u679C",items:(he==null?void 0:he.success_status)||[],value:lt.success_status,onChange:dn=>Ca(dn,"success_status")})),y.createElement(z.t7,{className:ue.input,style:{bottom:bn===1?10:-5},value:lt.keyword,onChange:dn=>Ca(dn,"keyword"),placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22"})),y.createElement(ze.default,{className:"mt20",columns:qt,scroll:((st=he==null?void 0:he.data)==null?void 0:st.length)>7?{y:300}:{},dataSource:(he==null?void 0:he.data)||[],loading:wt,onChange:In,pagination:{total:Ye,pageSize:lt.per_page,current:lt.page,hideOnSinglePage:!Ye,showSizeChanger:!0,pageSizeOptions:["5","10","20","50","100"],showQuickJumper:!0,size:"default",showTotal:E.rU}}),y.createElement(Ie.Z,{justify:"space-between",align:"middle",className:"mt10"},y.createElement(we.default,{className:"c-black",checked:Lt,onChange:dn=>Fe(dn.target.checked)},"\u91CD\u65B0\u8BC4\u6D4B\u540E\u7684\u5206\u6570\u5927\u4E8E\u539F\u6765\u7684\u5206\u6570\u624D\u66F4\u65B0\u6210\u7EE9"),(0,x.Ny)()&&y.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u5E76\u53D1\u4EBA\u6570",y.createElement(He.Z,{className:"ml10 mr10",value:be,max:Je,min:1,precision:0,onChange:dn=>Pt(dn)}),"\u4EBA",y.createElement(Ze.Z,{overlayStyle:{maxWidth:450},title:"\u91CD\u65B0\u8BC4\u6D4B\u4EFB\u52A1\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A20\u4EBA\uFF08\u81EA\u5B9A\u4E49\u955C\u50CF\u7684\u6700\u5927\u5E76\u53D1\u4EBA\u6570\u4E3A3\u4EBA\uFF09\u3002"},y.createElement("i",{style:{color:"#9096A3"},className:"iconfont icon-tishi5 font13 ml10"}))))),y.createElement(je.default,{centered:!0,title:"\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206",open:bt,width:494,zIndex:1001,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",confirmLoading:Be,destroyOnClose:!0,onOk:Sa,onCancel:()=>hn(!1)},y.createElement(Le.default.Item,{className:"mb0",colon:!1,label:"\u9A8C\u8BC1\u7801",name:"code",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u9A8C\u8BC1\u7801"}]},y.createElement(b.Z,{ref:dn=>Tt.current=dn}))),y.createElement(je.default,{centered:!0,title:"\u64CD\u4F5C\u8BB0\u5F55",open:ln,width:710,onCancel:()=>tn(!1),footer:null},y.createElement(le.Z,{spinning:an},y.createElement("div",{className:ue.operating},at.map((dn,Aa)=>y.createElement("div",{key:Aa,className:ue.operatingItem},y.createElement("div",{style:{flex:"0 0 180px"},className:"c-grey-666"},dn==null?void 0:dn.created_at),y.createElement("div",{className:"c-black"},dn==null?void 0:dn.user_name,"\u64CD\u4F5C\u4E86\u91CD\u65B0\u8BC4\u6D4B\u7B97\u5206"),(dn==null?void 0:dn.status)==="running"?y.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u4E2D\uFF0C\u5F53\u524D\u8FDB\u5EA6",y.createElement("span",{className:"c-light-primary ml3"},dn==null?void 0:dn.rate)):y.createElement("div",{className:"c-black"},"\u91CD\u65B0\u8BC4\u6D4B\u6210\u529F",y.createElement("span",{style:{color:"#3061D0",margin:"0 3px"}},dn==null?void 0:dn.success_student_count),"\u4EBA\uFF0C\u5931\u8D25",y.createElement("span",{style:{color:"#E30000",margin:"0 3px"}},dn==null?void 0:dn.fail_count),"\u4EBA")))),y.createElement("div",{style:{height:20}}))))}},83028:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ze}});var y=ne(59301),ue={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},Ce=ne(43418),Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",we="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",Ie=(Ke,je,ze)=>new Promise((He,Le)=>{var le=x=>{try{a(ze.next(x))}catch(b){Le(b)}},E=x=>{try{a(ze.throw(x))}catch(b){Le(b)}},a=x=>x.done?He(x.value):Promise.resolve(x.value).then(le,E);a((ze=ze.apply(Ke,je)).next())}),Ze=({type:Ke,resdata:je,onok:ze,oktext:He,okloading:Le})=>{const[le,E]=(0,y.useState)(!1),{can_copy_list:a,can_copy_num:x,challenge_type:b,course_data_list:z,no_copy_list:te,no_copy_num:re,no_use_list:ie,no_use_num:ge,repeat_shixun_num:fe,student_count:ce,total_num:xe,use_num:ye}=je;let Ne=x>0||Ke==="exercise";(0,y.useEffect)(()=>{(je==null?void 0:je.student_count)>0&&E(!0)},[je]),console.log("---11",Le),(0,y.useEffect)(()=>{Le||E(!1)},[Le]);const pe=()=>{if(Ke==="exercise"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(Ke==="exercise"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="shixun"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="shixun"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="subject"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="subject"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",y.createElement("span",{className:ue.orangeColor},ce)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",y.createElement("span",{className:ue.orangeColor},ye)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="exercisepush")return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(Ke==="shixunpush"&&b===1)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(Ke==="shixunpush"&&b===2)return y.createElement(y.Fragment,null,"\u8BFE\u5802\u5185\u6709",y.createElement("span",{className:ue.orangeColor},ce),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",y.createElement("span",{className:ue.orangeColor},ye),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",y.createElement("span",{className:ue.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},Xe=()=>{if(Ke==="exercise"||Ke==="subject"||Ke==="exercisepush"||Ke==="shixunpush")return y.createElement("div",{style:{marginTop:20}},re>0&&y.createElement("div",null,y.createElement("span",{className:ue.flex},y.createElement("img",{src:we,style:{width:14}}),y.createElement("span",{className:ue.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:ue.statusbody},Ke==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",y.createElement("span",{className:ue.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(Ke==="subject"||Ke==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ne&&y.createElement("span",{className:ue.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),Ke==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ne&&y.createElement("span",{className:ue.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),y.createElement("div",null,te==null?void 0:te.map((We,ut)=>y.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",ut+1!==re&&"\u3001"))))),x>0&&y.createElement("div",{style:{marginTop:20}},y.createElement("span",{className:ue.flex},y.createElement("img",{src:Oe,style:{width:14}}),y.createElement("span",{className:ue.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),y.createElement("div",{className:ue.statusbody},Ke==="exercise"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(Ke==="subject"||Ke==="exercisepush")&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),Ke==="shixunpush"&&y.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),y.createElement("div",null,a==null?void 0:a.map((We,ut)=>y.createElement("a",{href:`/shixuns/${We.identifier}/challenges`,target:"_blank"},"\u300A",We==null?void 0:We.name,"\u300B",ut+1!==x&&"\u3001"))))));if(Ke==="shixun")return y.createElement("div",{style:{marginTop:20}},x>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return y.createElement(Ce.default,{open:le,onCancel:()=>{E(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ne&&"none"}},zIndex:1003,confirmLoading:Le,okText:Ne?He:"\u6211\u77E5\u9053\u4E86",onOk:()=>Ie(void 0,null,function*(){Ne?yield ze([...a,...ie]):E(!1)})},y.createElement("div",{style:{maxHeight:600,overflow:"auto"}},pe(),Xe()))}},88436:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ie}});var y=ne(59301),ue={btn:"btn___kReTL",redBtn:"redBtn___UFEL0"},Ce=ne(92310),Oe=ne.n(Ce),Ie=({className:se,style:Ze,state:Ke,onClick:je})=>{var ze,He;return y.createElement("div",{onClick:je,className:Oe()(Ke?(ze=ue)==null?void 0:ze.redBtn:(He=ue)==null?void 0:He.btn,se),style:Ze},Ke?y.createElement(y.Fragment,null,y.createElement("i",{className:"iconfont icon-biaoji1"}),y.createElement("span",null,"\u53D6\u6D88\u6807\u8BB0\u9519\u9898")):y.createElement(y.Fragment,null,y.createElement("i",{className:"iconfont icon-biaojigaiti"}),y.createElement("span",null,"\u6807\u8BB0\u9519\u9898")))}},85533:function(At,jt,ne){"use strict";ne.d(jt,{h:function(){return re}});var y=ne(59301),ue=ne(57809),Ce=ne(78241),Oe=ne(3113),we=ne(89780),Ie=ne.n(we),se=ne(45559),Ze=ne(42313),Ke=Object.defineProperty,je=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,He=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,E=(ie,ge,fe)=>ge in ie?Ke(ie,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):ie[ge]=fe,a=(ie,ge)=>{for(var fe in ge||(ge={}))Le.call(ge,fe)&&E(ie,fe,ge[fe]);if(He)for(var fe of He(ge))le.call(ge,fe)&&E(ie,fe,ge[fe]);return ie},x=(ie,ge)=>je(ie,ze(ge));const b=ue.default.Option,z={labelCol:{span:4},wrapperCol:{span:20}},te={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};jt.Z=({callback:ie,onCancel:ge})=>{const[fe,ce]=(0,y.useState)("python");function xe(Ne){ce(te[Ne][1])}function ye(Ne){ie(Ne)}return y.createElement(Ce.default,x(a({},z),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ye,style:{width:500}}),y.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},y.createElement(ue.default,{getPopupContainer:Ne=>Ne.parentNode,onChange:xe},Object.keys(te).map(Ne=>y.createElement(b,{key:Ne,value:Ne},te[Ne][0])))),y.createElement(Ce.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},y.createElement(re,{mode:fe})),y.createElement("div",{className:"flex-container flex-end"},y.createElement(Oe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(Oe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function re({value:ie,onChange:ge,mode:fe,options:ce={}}){const xe=(0,y.useRef)(),[ye,Ne]=(0,y.useState)();return(0,y.useEffect)(()=>{if(ye){let pe=function(Xe){const We=Xe.getValue();ge&&ge(We)};return ye.on("change",pe),()=>{ye.off("change",pe)}}},[ye,ge]),(0,y.useEffect)(()=>{ye&&ye.setOption("mode",fe)},[ye,fe]),(0,y.useEffect)(()=>{ye&&(ie!==ye.getValue()||ie==="")&&setTimeout(()=>{ye.setValue(ie||"")},300)},[ye,ie]),(0,y.useEffect)(()=>{if(xe.current&&!ye){const pe=Ie().fromTextArea(xe.current,a({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ce));Ne(pe)}},[xe.current,ye]),y.createElement("div",{className:"my-codemirror-container"},y.createElement("textarea",{ref:xe}))}},96565:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Vn}});var y=ne(59301),ue=ne(89780),Ce=ne.n(ue),Oe=ne(76374),we=ne(45559),Ie=ne(6313),se=ne(25717),Ze=ne(99498),Ke=ne(25419),je=ne(67549),ze=ne(6339),He=({value:dt="",className:Ct,showTextOnly:St,showLines:mn,style:An={}})=>{const un=(0,y.useMemo)(()=>"",[dt]);return y.createElement(y.Fragment,null,y.createElement("div",{dangerouslySetInnerHTML:{__html:un}}))},Le=ne(59301),le=Object.defineProperty,E=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(dt,Ct,St)=>Ct in dt?le(dt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:St}):dt[Ct]=St,re=(dt,Ct)=>{for(var St in Ct||(Ct={}))b.call(Ct,St)&&te(dt,St,Ct[St]);if(x)for(var St of x(Ct))z.call(Ct,St)&&te(dt,St,Ct[St]);return dt},ie=(dt,Ct)=>E(dt,a(Ct));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function fe({onActionCallback:dt,title:Ct,icon:St,actionName:mn,className:An="",children:un}){function $n(){dt(mn)}return Le.createElement("a",{title:Ct,className:An,onClick:$n},Le.createElement("i",{className:`${St}`}),un)}var ce=({watch:dt,showNullButton:Ct,showNullProgramButton:St,onActionCallback:mn,fullScreen:An,insertTemp:un,hidetoolBar:$n,extraUse:Kn})=>{const Jn=[...ge,{title:`${dt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${dt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Le.createElement("ul",{className:"markdown-toolbar-container"},!$n&&Jn.map((ma,Ha)=>Le.createElement("li",{key:Ha},ma.actionName?Le.createElement(fe,ie(re({},ma),{onActionCallback:mn})):Le.createElement("span",{className:"v-line"}))),Ct?Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:mn},Le.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,St?Le.createElement(Le.Fragment,null,Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:mn},Le.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:mn},Le.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,un&&Le.createElement("li",null,Le.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${un}`,onActionCallback:mn},Le.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Kn&&Le.createElement("li",null,Kn),Le.createElement("li",{className:"btn-full-screen"},Le.createElement(fe,{icon:`${An?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:An?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:mn})))},xe=ne(57261),ye=ne(78241),Ne=ne(92832),pe=ne(3113),Xe=Object.defineProperty,We=Object.defineProperties,ut=Object.getOwnPropertyDescriptors,Re=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable,Qe=(dt,Ct,St)=>Ct in dt?Xe(dt,Ct,{enumerable:!0,configurable:!0,writable:!0,value:St}):dt[Ct]=St,ot=(dt,Ct)=>{for(var St in Ct||(Ct={}))_e.call(Ct,St)&&Qe(dt,St,Ct[St]);if(Re)for(var St of Re(Ct))mt.call(Ct,St)&&Qe(dt,St,Ct[St]);return dt},Wt=(dt,Ct)=>We(dt,ut(Ct));const ht={labelCol:{span:4},wrapperCol:{span:20}};var Ht=({callback:dt,onCancel:Ct})=>{function St(mn){dt(mn)}return y.createElement(ye.default,Wt(ot({},ht),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:St,style:{width:500}}),y.createElement(ye.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},y.createElement(Ne.default,null)),y.createElement(ye.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},y.createElement(Ne.default,null)),y.createElement("div",{className:"flex-container flex-end"},y.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(pe.ZP,{type:"ghost",onClick:Ct},"\u53D6\u6D88")))},Kt=ne(85533),Ve=ne(45053),st=ne(43418),Rt=ne(95237),gn=ne(16750),wt=ne(59301),$t=({callback:dt,onCancel:Ct})=>{const St=document.createElement("canvas"),mn=St.getContext("2d");St.width=1e3,St.height=800,mn.fillStyle="#ffffff",mn.fillRect(0,0,St.width,St.height);const An=St.toDataURL("image/png");return wt.createElement(st.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},wt.createElement(Rt.Z,{style:{height:"100vh"}},wt.createElement(gn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:An,visible:!0,title:String(Date.now())},onOk:un=>{dt({src:un.url})},onClose:Ct})))},Be=ne(12378);function Jt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Jt,go.CommandHandler),Jt.prototype.canAlignSelection=function(){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<2)},Jt.prototype.alignLeft=function(){var dt=this.diagram;dt.startTransaction("aligning left");var Ct=1/0;dt.selection.each(function(St){St instanceof go.Link||(Ct=Math.min(St.position.x,Ct))}),dt.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(Ct,St.position.y))}),dt.commitTransaction("aligning left")},Jt.prototype.alignRight=function(){var dt=this.diagram;dt.startTransaction("aligning right");var Ct=-1/0;dt.selection.each(function(St){if(!(St instanceof go.Link)){var mn=St.actualBounds.x+St.actualBounds.width;Ct=Math.max(mn,Ct)}}),dt.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(Ct-St.actualBounds.width,St.position.y))}),dt.commitTransaction("aligning right")},Jt.prototype.alignTop=function(){var dt=this.diagram;dt.startTransaction("alignTop");var Ct=1/0;dt.selection.each(function(St){St instanceof go.Link||(Ct=Math.min(St.position.y,Ct))}),dt.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(St.position.x,Ct))}),dt.commitTransaction("alignTop")},Jt.prototype.alignBottom=function(){var dt=this.diagram;dt.startTransaction("aligning bottom");var Ct=-1/0;dt.selection.each(function(St){if(!(St instanceof go.Link)){var mn=St.actualBounds.y+St.actualBounds.height;Ct=Math.max(mn,Ct)}}),dt.selection.each(function(St){St instanceof go.Link||St.move(new go.Point(St.actualBounds.x,Ct-St.actualBounds.height))}),dt.commitTransaction("aligning bottom")},Jt.prototype.alignCenterX=function(){var dt=this.diagram,Ct=dt.selection.first();if(Ct){dt.startTransaction("aligning Center X");var St=Ct.actualBounds.x+Ct.actualBounds.width/2;dt.selection.each(function(mn){mn instanceof go.Link||mn.move(new go.Point(St-mn.actualBounds.width/2,mn.actualBounds.y))}),dt.commitTransaction("aligning Center X")}},Jt.prototype.alignCenterY=function(){var dt=this.diagram,Ct=dt.selection.first();if(Ct){dt.startTransaction("aligning Center Y");var St=Ct.actualBounds.y+Ct.actualBounds.height/2;dt.selection.each(function(mn){mn instanceof go.Link||mn.move(new go.Point(mn.actualBounds.x,St-mn.actualBounds.height/2))}),dt.commitTransaction("aligning Center Y")}},Jt.prototype.alignColumn=function(dt){var Ct=this.diagram;Ct.startTransaction("align Column"),dt===void 0&&(dt=0),dt=parseFloat(dt);var St=new Array;Ct.selection.each(function(Kn){Kn instanceof go.Link||St.push(Kn)});for(var mn=0;mn0){for(var Kn=un.elt($n-1);Kn!==null&&Kn.isTreeExpanded&&!Kn.isTreeLeaf;){var Jn=this._sortTreeChildrenByY(Kn);Kn=Jn.last()}Kn!==null&&dt.select(Kn)}else dt.select(An)}}else if(St.key==="Down")if(Ct.isTreeExpanded&&!Ct.isTreeLeaf){var mn=this._sortTreeChildrenByY(Ct).first();mn!==null&&dt.select(mn)}else for(;Ct!==null;){var An=Ct.findTreeParentNode();if(An===null)break;var un=this._sortTreeChildrenByY(An),$n=un.indexOf(Ct);if($nun.y?1:An.xun.x?1:0}),Ct},Jt.prototype.copyToClipboard=function(dt){go.CommandHandler.prototype.copyToClipboard.call(this,dt),this._lastPasteOffset.set(this.pasteOffset)},Jt.prototype.pasteFromClipboard=function(){var dt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(dt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),dt},Object.defineProperty(Jt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(dt){if(dt!=="move"&&dt!=="select"&&dt!=="scroll"&&dt!=="tree"&&dt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+dt);this._arrowKeyBehavior=dt}}),Object.defineProperty(Jt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(dt){if(!(dt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+dt);this._pasteOffset.set(dt)}});var bn=Jt,Ot=ne(25863),Zt=ne(43604),et=ne(38147),Ye={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},De=ne(59301),he=(dt,Ct,St)=>new Promise((mn,An)=>{var un=Jn=>{try{Kn(St.next(Jn))}catch(ma){An(ma)}},$n=Jn=>{try{Kn(St.throw(Jn))}catch(ma){An(ma)}},Kn=Jn=>Jn.done?mn(Jn.value):Promise.resolve(Jn.value).then(un,$n);Kn((St=St.apply(dt,Ct)).next())});function tt({onCancel:dt,callback:Ct}){let St=(0,y.useRef)(),mn=(0,y.useRef)(),An=(0,y.useRef)(),un=(0,y.useRef)(!1);const $n=(0,y.useRef)(!1),[Kn,Jn]=(0,y.useState)(0);function ma(){const Bn=Be.bx.make,ya={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};St.current=new Be.S0(mn.current,{padding:20,grid:Bn(Be.s_,"Grid",Bn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Bn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:ta=>{var Ma=ta.diagram.commandHandler.addTopLevelParts(ta.diagram.selection,!0);Ma||ta.diagram.currentTool.doCancel()},commandHandler:Bn(bn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:ta=>{var Ma=ta.subject;Ma.location=Ma.location.copy().snapToGridPoint(ta.diagram.grid.gridOrigin,ta.diagram.grid.gridCellSize),setTimeout(()=>{ta.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:ta=>{var Ma=ta.subject;setTimeout(()=>{ta.diagram.commandHandler.editTextBlock()})},LinkRelinked:ta=>{var Ma=ta.parameter.part;Ma.invalidateConnectedLinks();var $a=ta.subject;ta.diagram.toolManager.linkingTool.isForwards?$a.toNode.invalidateConnectedLinks():$a.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),St.current.nodeTemplate=Bn(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),Bn(Be.bn,{name:"SHAPE",fill:ya.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Bn(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Bn(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),St.current.nodeTemplate.toolTip=Bn("ToolTip",Bn(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},Bn(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),Bn(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function Ya(ta,Ma){var $a=(xa,br)=>{xa.handled=!0,xa.diagram.model.commit(Xr=>{var xo=br.part.adornedPart,ao=new Be.E9().setRectSpot(xo.actualBounds,ta);ao.subtract(xo.location),ao.scale(2,2),ao.x+=Math.sign(ao.x)*130,ao.y+=Math.sign(ao.y)*130,ao.add(xo.location),ao.snapToGridPoint(xa.diagram.grid.gridOrigin,xa.diagram.grid.gridCellSize);var Ro=Xr.copyNodeData(xo.data);Xr.setGroupKeyForNodeData(Ro,Xr.getGroupKeyForNodeData(xo.data)),Xr.addNodeData(Ro);var mi={from:xo.key,to:Xr.getKeyForNodeData(Ro)};Xr.addLinkData(mi);var ei=xa.diagram.findNodeForData(Ro);ei.location=ao,xa.diagram.select(ei),setTimeout(()=>{xa.diagram.commandHandler.editTextBlock()},20)})};return Bn(Be.bn,{figure:Ma,alignment:ta,alignmentFocus:ta.opposite(),width:ta.equals(Be.z6.Top)||ta.equals(Be.z6.Bottom)?25:18,height:ta.equals(Be.z6.Top)||ta.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:ya.white,strokeWidth:4,mouseEnter:(xa,br)=>br.fill="dodgerblue",mouseLeave:(xa,br)=>br.fill="orange",isActionable:!0,click:$a,contextClick:$a})}function dr(ta){return Bn(Be.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ma,$a)=>$a.fill="dodgerblue",mouseLeave:(Ma,$a)=>$a.fill="orange",click:(Ma,$a)=>{Ma.diagram.commandHandler.showContextMenu($a.part.adornedPart)}},ta||{})}St.current.nodeTemplate.selectionAdornmentTemplate=Bn(Be.uz,"Spot",Bn(Be.Vm,{padding:10}),Ya(Be.z6.Top,"TriangleUp"),Ya(Be.z6.Left,"TriangleLeft"),Ya(Be.z6.Right,"TriangleRight"),Ya(Be.z6.Bottom,"TriangleDown"),dr({alignment:new Be.z6(.75,0)}));function Wn(ta,Ma){return($a,xa)=>{$a.handled=!0,$a.diagram.model.commit(br=>{br.set(xa.part.adornedPart.data,ta,Ma)})}}function cn(ta,Ma){return Ma||(Ma="color"),Bn(Be.bn,{width:16,height:16,stroke:"lightgray",fill:ta,margin:1,background:"transparent",mouseEnter:($a,xa)=>xa.stroke="dodgerblue",mouseLeave:($a,xa)=>xa.stroke="lightgray",click:Wn(Ma,ta),contextClick:Wn(Ma,ta)})}function Lr(){return[Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",cn(ya.white,"fill"),cn(ya.beige,"fill"),cn(ya.extralightblue,"fill"),cn(ya.extralightred,"fill"))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",cn(ya.lightgray,"fill"),cn(ya.lightgreen,"fill"),cn(ya.lightblue,"fill"),cn(ya.lightred,"fill")))]}function Qa(){return[Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",cn(ya.black),cn(ya.green),cn(ya.blue),cn(ya.red))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",cn(ya.white),cn(ya.magenta),cn(ya.purple),cn(ya.orange)))]}function Or(ta,Ma){return Ma||(Ma="thickness"),Bn(Be.bn,"LineH",{width:16,height:16,strokeWidth:ta,margin:1,background:"transparent",mouseEnter:($a,xa)=>xa.background="dodgerblue",mouseLeave:($a,xa)=>xa.background="transparent",click:Wn(Ma,ta),contextClick:Wn(Ma,ta)})}function kr(ta,Ma){return Ma||(Ma="dash"),Bn(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:ta,margin:1,background:"transparent",mouseEnter:($a,xa)=>xa.background="dodgerblue",mouseLeave:($a,xa)=>xa.background="transparent",click:Wn(Ma,ta),contextClick:Wn(Ma,ta)})}function Fr(){return[Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Or(1),Or(2),Or(3),Or(4))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",kr(null),kr([2,4]),kr([4,4])))]}function Zr(ta,Ma){return Ma||(Ma="figure"),Bn(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:ta,margin:1,background:"transparent",mouseEnter:($a,xa)=>xa.fill="dodgerblue",mouseLeave:($a,xa)=>xa.fill="lightgray",click:Wn(Ma,ta),contextClick:Wn(Ma,ta)})}St.current.nodeTemplate.contextMenu=Bn("ContextMenu",Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Zr("Rectangle"),Zr("RoundedRectangle"),Zr("Ellipse"),Zr("Diamond"))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Zr("Parallelogram2"),Zr("ManualOperation"),Zr("Procedure"),Zr("Cylinder1"))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Zr("Terminator"),Zr("CreateRequest"),Zr("Document"),Zr("TriangleDown"))),Lr(),Qa(),Fr()),St.current.groupTemplate=Bn(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(ta,Ma)=>{var $a=Ma.addMembers(Ma.diagram.selection,!0);$a||Ma.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),Bn(Be.s_,"Auto",{name:"BODY"},Bn(Be.bn,{parameter1:10,fill:ya.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Bn(Be.Vm,{background:"transparent",margin:20})),Bn(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),St.current.groupTemplate.selectionAdornmentTemplate=Bn(Be.uz,"Spot",Bn(Be.s_,"Auto",Bn(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Bn(Be.Vm,{margin:1.5})),dr({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),St.current.groupTemplate.contextMenu=Bn("ContextMenu",Lr(),Qa(),Fr()),St.current.linkTemplate=Bn(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",ta=>ta>=1?10:0),new Be.KX("toShortLength","dir",ta=>ta>=1?10:0),new Be.KX("points").makeTwoWay(),Bn(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Bn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",ta=>ta===1)),Bn(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",ta=>ta>=1),new Be.KX("width","thickness",ta=>7+3*ta),new Be.KX("height","thickness",ta=>7+3*ta),new Be.KX("segmentOffset","thickness",ta=>new Be.E9(-15,4+1.5*ta))),Bn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",ta=>ta===2),new Be.KX("width","thickness",ta=>7+3*ta),new Be.KX("height","thickness",ta=>7+3*ta),new Be.KX("segmentOffset","thickness",ta=>new Be.E9(-15,4+1.5*ta))),Bn(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),St.current.linkTemplate.selectionAdornmentTemplate=Bn(Be.uz,Bn(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Zo(2)},new Be.KX("pathPattern","thickness",Zo)),dr({alignmentFocus:new Be.z6(0,0,-6,-4)}));function Zo(ta){return Bn(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(ta+4).toString()+" H3"})}function ho(ta){var Ma="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return ta===0?Ma="M0 0 M16 16 M0 8 L16 8":ta===2&&(Ma="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Bn(Be.bn,{geometryString:Ma,margin:2,background:"transparent",mouseEnter:($a,xa)=>xa.background="dodgerblue",mouseLeave:($a,xa)=>xa.background="transparent",click:Wn("dir",ta),contextClick:Wn("dir",ta)})}function Vo(ta){var Ma=($a,xa)=>{$a.handled=!0,$a.diagram.model.commit(br=>{var Xr=xa.part.adornedPart;br.set(Xr.data,ta?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),(ta?Xr.toNode:Xr.fromNode).invalidateConnectedLinks()})};return Bn(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:($a,xa)=>xa.background="dodgerblue",mouseLeave:($a,xa)=>xa.background="transparent",click:Ma,contextClick:Ma})}function Hn(ta,Ma){var $a=0,xa=Be.z6.RightSide;ta.equals(Be.z6.Top)?($a=270,xa=Be.z6.TopSide):ta.equals(Be.z6.Left)?($a=180,xa=Be.z6.LeftSide):ta.equals(Be.z6.Bottom)&&($a=90,xa=Be.z6.BottomSide),Ma||($a-=180);var br=(Xr,xo)=>{Xr.handled=!0,Xr.diagram.model.commit(ao=>{var Ro=xo.part.adornedPart;ao.set(Ro.data,Ma?"toSpot":"fromSpot",Be.z6.stringify(xa)),(Ma?Ro.toNode:Ro.fromNode).invalidateConnectedLinks()})};return Bn(Be.bn,{alignment:ta,alignmentFocus:ta.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:$a,background:"transparent",mouseEnter:(Xr,xo)=>xo.background="dodgerblue",mouseLeave:(Xr,xo)=>xo.background="transparent",click:br,contextClick:br})}St.current.linkTemplate.contextMenu=Bn("ContextMenu",Qa(),Fr(),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",ho(0),ho(1),ho(2))),Bn("ContextMenuButton",Bn(Be.s_,"Horizontal",Bn(Be.s_,"Spot",Vo(!1),Hn(Be.z6.Top,!1),Hn(Be.z6.Left,!1),Hn(Be.z6.Right,!1),Hn(Be.z6.Bottom,!1)),Bn(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},Vo(!0),Hn(Be.z6.Top,!0),Hn(Be.z6.Left,!0),Hn(Be.z6.Right,!0),Hn(Be.z6.Bottom,!0)))));const Jr=`{ "class": "GraphLinksModel", "nodeDataArray": [ {"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3}, {"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"}, @@ -86,35 +86,35 @@ {"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"}, {"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1}, {"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]} -]}`;var Ur=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Wr(na){return console.log("shapeName:",na),Ur.indexOf(na)>=0}var Ja=new Be.YI(An.current,{maxSelectionCount:1,linkTemplate:Bn(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:Bn(Be.uz,"Link",{locationSpot:Be.z6.Center},Bn(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Bn(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),Bn(Be.bn,{isPanelMain:!0,strokeWidth:2}),Bn(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map(na=>({text:"\u672A\u547D\u540D",size:"100 100",figure:na.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return St.current.addDiagramListener("TextEdited",function(na){var ka;const $a=na.subject.part;var Ca=(ka=document.activeElement)==null?void 0:ka.value;typeof Ca=="string"&&Ca.trim()===""&&St.current.model.commit(function(Br){Br.set($a.data,"text","\u672A\u547D\u540D"),St.current.commandHandler.stopCommand()},"increment")}),Ja.nodeTemplate=Bn(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),Bn(Be.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),Bn(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{St.current.grid=Bn(Be.s_,"Grid",Bn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Bn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),St.current.grid.visible=!0,St.current.grid.gridCellStroke="darkgray",St.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=St.current,St.current}const za=()=>he(this,null,function*(){var Bn=St.current.makeImage();const Sa=yield(0,tt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Bn.src}});At({src:Sa.url})});return(0,y.useEffect)(()=>(setTimeout(()=>{Pa()},500),_n(Tn+1),()=>{St.current=null}),[]),Fe.createElement("div",{ref:$n,className:vn.current?`${Ye.maxH60} body-overflow-initial`:"body-overflow-initial"},Fe.createElement(ut.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Tn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Fe.createElement(Mt.Z,null,Fe.createElement(Ot.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Ot.Z,{onClick:()=>{var Bn,Sa,qa=St.current.selection.first();if(vn.current=!vn.current,document.activeElement&&qa){let cr=(Sa=(Bn=document.activeElement)==null?void 0:Bn.value)==null?void 0:Sa.trim();typeof cr=="string"&&St.current.model.commit(function(Gn){Gn.set(qa.data,"text",cr||"\u672A\u547D\u540D"),St.current.commandHandler.stopCommand()},"increment")}_n(Tn+1)}},Fe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ct},Fe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ye.flowChartWrp},Fe.createElement("div",{style:{display:"flex",height:"100%"}},Fe.createElement("div",{style:{width:"300px",height:"100%"}},Fe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Fe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ye.myPaletteDiv,ref:An})),Fe.createElement("div",{style:{flex:1,position:"relative"}},Fe.createElement("div",{ref:dn,style:{height:"80vh"}}))),Fe.createElement("div",{className:"tr"},Fe.createElement(pe.ZP,{size:"large",onClick:za,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Lt=et,we=ne(5112),be=ne(5871);const Pt=we.ZP.Group,Je={margin:"0 8px"};var Te=({callback:ct,onCancel:At})=>{function St(dn){ct(dn)}return y.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:St},y.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},y.createElement("span",{style:Je},"\u5355\u5143\u683C\u6570\uFF1A"),y.createElement("span",{style:Je},"\u884C\u6570"),y.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},y.createElement(be.Z,null)),y.createElement("span",{style:Je},"\u5217\u6570"),y.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},y.createElement(be.Z,null))),y.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},y.createElement("span",{style:Je},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),y.createElement(ye.default.Item,{name:"align"},y.createElement(Pt,null,y.createElement(we.ZP,{value:"default"},y.createElement("i",{className:"fa fa-align-justify"})),y.createElement(we.ZP,{value:"left"},y.createElement("i",{className:"fa fa-align-left"})),y.createElement(we.ZP,{value:"center"},y.createElement("i",{className:"fa fa-align-center"})),y.createElement(we.ZP,{value:"right"},y.createElement("i",{className:"fa fa-align-right"}))))),y.createElement("div",{className:"flex-container flex-end"},y.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(pe.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},Ct=ne(78673),pn=ne(93510),Tt=ne.n(pn),an=(0,y.forwardRef)(({use3d:ct,width:At,height:St,callback:dn,showSaveButton:An},vn)=>{const $n=(0,y.useRef)(),Tn=(0,y.useRef)(),[_n,Pa]=(0,y.useState)(!1),za=(0,y.useRef)({id:$n,appName:"graphing",width:At||1e3,height:St||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,y.useEffect)(()=>{Tn.current=new(Tt())(za.current,!0),window.onload=function(){Tn.current.inject("applet_container")}},[]);const Bn=()=>{var Sa=window.ggbApplet.getPNGBase64(1,!0,72);return dn&&dn(Sa),Sa};return(0,y.useEffect)(()=>{za.current.appName=_n?"3D":"graphing",Tn.current.inject("applet_container")},[_n]),(0,y.useEffect)(()=>{Pa(ct)},[ct]),(0,y.useImperativeHandle)(vn,()=>({getImgData:Bn})),y.createElement(y.Fragment,null,y.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:$n}),y.createElement(Mt.Z,{align:"middle"},y.createElement(Ot.Z,{flex:1},y.createElement(Ct.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:_n,onChange:Sa=>Pa(Sa)})),y.createElement(Ot.Z,null,y.createElement(pe.ZP,{size:"large",onClick:Bn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),mn=ne(99298),ke=ne(1012),it=ne(8591);const Et="link",vt="upload-image",lt="add-flowchart",tn="draw-image",En="add-flowchart",Cn="code-block",In="add-table",ra="------------",Xt={default:ra,left:`:${ra}`,center:`:${ra}:`,right:`${ra}:`};var Yt=ne(31103),qt=(ct,At,St)=>new Promise((dn,An)=>{var vn=_n=>{try{Tn(St.next(_n))}catch(Pa){An(Pa)}},$n=_n=>{try{Tn(St.throw(_n))}catch(Pa){An(Pa)}},Tn=_n=>_n.done?dn(_n.value):Promise.resolve(_n.value).then(vn,$n);Tn((St=St.apply(ct,At)).next())});function Ln(){}let $t=0;const ha=1e4,ba="\u2581",Xn="@\u2581\u2581@",ln="@\u2581@",Ba=` +]}`;var Kr=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Vr(ta){return console.log("shapeName:",ta),Kr.indexOf(ta)>=0}var Ja=new Be.YI(An.current,{maxSelectionCount:1,linkTemplate:Bn(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:Bn(Be.uz,"Link",{locationSpot:Be.z6.Center},Bn(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Bn(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),Bn(Be.bn,{isPanelMain:!0,strokeWidth:2}),Bn(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map(ta=>({text:"\u672A\u547D\u540D",size:"100 100",figure:ta.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return St.current.addDiagramListener("TextEdited",function(ta){var Ma;const $a=ta.subject.part;var xa=(Ma=document.activeElement)==null?void 0:Ma.value;typeof xa=="string"&&xa.trim()===""&&St.current.model.commit(function(br){br.set($a.data,"text","\u672A\u547D\u540D"),St.current.commandHandler.stopCommand()},"increment")}),Ja.nodeTemplate=Bn(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),Bn(Be.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),Bn(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{St.current.grid=Bn(Be.s_,"Grid",Bn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Bn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),St.current.grid.visible=!0,St.current.grid.gridCellStroke="darkgray",St.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=St.current,St.current}const Ha=()=>he(this,null,function*(){var Bn=St.current.makeImage();const ya=yield(0,et.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Bn.src}});Ct({src:ya.url})});return(0,y.useEffect)(()=>(setTimeout(()=>{ma()},500),Jn(Kn+1),()=>{St.current=null}),[]),De.createElement("div",{ref:$n,className:un.current?`${Ye.maxH60} body-overflow-initial`:"body-overflow-initial"},De.createElement(st.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Kn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:De.createElement(Rt.Z,null,De.createElement(Zt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),De.createElement(Zt.Z,{onClick:()=>{var Bn,ya,Ya=St.current.selection.first();if(un.current=!un.current,document.activeElement&&Ya){let dr=(ya=(Bn=document.activeElement)==null?void 0:Bn.value)==null?void 0:ya.trim();typeof dr=="string"&&St.current.model.commit(function(Wn){Wn.set(Ya.data,"text",dr||"\u672A\u547D\u540D"),St.current.commandHandler.stopCommand()},"increment")}Jn(Kn+1)}},De.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:dt},De.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ye.flowChartWrp},De.createElement("div",{style:{display:"flex",height:"100%"}},De.createElement("div",{style:{width:"300px",height:"100%"}},De.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),De.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ye.myPaletteDiv,ref:An})),De.createElement("div",{style:{flex:1,position:"relative"}},De.createElement("div",{ref:mn,style:{height:"80vh"}}))),De.createElement("div",{className:"tr"},De.createElement(pe.ZP,{size:"large",onClick:Ha,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Lt=tt,Fe=ne(5112),be=ne(5871);const Pt=Fe.ZP.Group,Je={margin:"0 8px"};var ke=({callback:dt,onCancel:Ct})=>{function St(mn){dt(mn)}return y.createElement(ye.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:St},y.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},y.createElement("span",{style:Je},"\u5355\u5143\u683C\u6570\uFF1A"),y.createElement("span",{style:Je},"\u884C\u6570"),y.createElement(ye.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},y.createElement(be.Z,null)),y.createElement("span",{style:Je},"\u5217\u6570"),y.createElement(ye.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},y.createElement(be.Z,null))),y.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},y.createElement("span",{style:Je},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),y.createElement(ye.default.Item,{name:"align"},y.createElement(Pt,null,y.createElement(Fe.ZP,{value:"default"},y.createElement("i",{className:"fa fa-align-justify"})),y.createElement(Fe.ZP,{value:"left"},y.createElement("i",{className:"fa fa-align-left"})),y.createElement(Fe.ZP,{value:"center"},y.createElement("i",{className:"fa fa-align-center"})),y.createElement(Fe.ZP,{value:"right"},y.createElement("i",{className:"fa fa-align-right"}))))),y.createElement("div",{className:"flex-container flex-end"},y.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),y.createElement(pe.ZP,{type:"ghost",onClick:Ct},"\u53D6\u6D88")))},bt=ne(78673),hn=ne(93510),Tt=ne.n(hn),tn=(0,y.forwardRef)(({use3d:dt,width:Ct,height:St,callback:mn,showSaveButton:An},un)=>{const $n=(0,y.useRef)(),Kn=(0,y.useRef)(),[Jn,ma]=(0,y.useState)(!1),Ha=(0,y.useRef)({id:$n,appName:"graphing",width:Ct||1e3,height:St||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,y.useEffect)(()=>{Kn.current=new(Tt())(Ha.current,!0),window.onload=function(){Kn.current.inject("applet_container")}},[]);const Bn=()=>{var ya=window.ggbApplet.getPNGBase64(1,!0,72);return mn&&mn(ya),ya};return(0,y.useEffect)(()=>{Ha.current.appName=Jn?"3D":"graphing",Kn.current.inject("applet_container")},[Jn]),(0,y.useEffect)(()=>{ma(dt)},[dt]),(0,y.useImperativeHandle)(un,()=>({getImgData:Bn})),y.createElement(y.Fragment,null,y.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:$n}),y.createElement(Rt.Z,{align:"middle"},y.createElement(Zt.Z,{flex:1},y.createElement(bt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Jn,onChange:ya=>ma(ya)})),y.createElement(Zt.Z,null,y.createElement(pe.ZP,{size:"large",onClick:Bn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),an=ne(99298),Te=ne(1012),at=ne(8591);const Nt="link",ft="upload-image",lt="add-flowchart",fn="draw-image",En="add-flowchart",yn="code-block",Ln="add-table",ea="------------",Xt={default:ea,left:`:${ea}`,center:`:${ea}:`,right:`${ea}:`};var Yt=ne(31103),qt=(dt,Ct,St)=>new Promise((mn,An)=>{var un=Jn=>{try{Kn(St.next(Jn))}catch(ma){An(ma)}},$n=Jn=>{try{Kn(St.throw(Jn))}catch(ma){An(ma)}},Kn=Jn=>Jn.done?mn(Jn.value):Promise.resolve(Jn.value).then(un,$n);Kn((St=St.apply(dt,Ct)).next())});function In(){}let en=0;const Sa=1e4,Ca="\u2581",Un="@\u2581\u2581@",dn="@\u2581@",Aa=` **\u6A21\u677F\u6807\u9898** -\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,qe=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function cn(ct){return/^\d+$/.test(ct)?`${ct}px`:ct}const bn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",wn={[bn+"-B"]:"bold",[bn+"-I"]:"italic"},zn={[Et]:"\u6DFB\u52A0\u94FE\u63A5",[Cn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[vt]:"\u6DFB\u52A0\u56FE\u7247",[tn]:"\u6DFB\u52A0\u753B\u56FE",[lt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[In]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Kn=({defaultValue:ct="",onChange:At,width:St="100%",height:dn=400,miniToolbar:An=!1,isFocus:vn=!1,watch:$n,insertTemp:Tn,mode:_n="markdown",id:Pa="markdown-editor-id",showResizeBar:za=!1,noStorage:Bn=!1,showNullButton:Sa=!1,showNullProgramButton:qa=!1,hidetoolBar:cr=!1,fullScreen:Gn=!1,onBlur:sn,onCMBeforeChange:Ir,onFullScreen:_a,className:Rr="",disablePaste:Tr=!1,disabled:wr=!1,disabledFill:Hr=!1,placeholder:Oo="",values:ho="",extraUse:Qo})=>{const[kn,Vr]=(0,y.useState)(null),[Ur,Wr]=(0,y.useState)(ct),[Ja,na]=(0,y.useState)($n),[ka,$a]=(0,y.useState)(Gn),[Ca,Br]=(0,y.useState)(""),[no,xo]=(0,y.useState)(0),[Qr,Mo]=(0,y.useState)(dn),[fi,ii]=(0,y.useState)(!1),tl=(0,y.useRef)((0,ke.Z)()),Ro=(0,y.useRef)(!1),Oa=(0,y.useRef)(),[Eo,wo]=(0,y.useState)(0),[_o,Zo]=(0,y.useState)(0),jo=(0,y.useRef)(),Si=(0,y.useRef)(),ci=(0,y.useRef)(),ni=(0,y.useRef)(),Oi=()=>qt(void 0,null,function*(){var Ua;const da=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:tl.current}});(Ua=da==null?void 0:da.attachments)!=null&&Ua.length&&(console.log("cm:",kn,jo),da.attachments.map(ga=>{ga.content_type.indexOf("image")>-1?kn.replaceSelection(`![,](/api/attachments/${ga.id}?type=${ga.content_type})`):ga.content_type.indexOf("video")>-1?kn.replaceSelection(``):ga.content_type.indexOf("pdf")>-1?kn.replaceSelection(`${ga.name}`):kn.replaceSelection(`[${ga.name}](${ENV.API_SERVER}/api/attachments/${ga.id}?type=${ga.content_type})`)}))});(0,y.useEffect)(()=>{const Ua=window.scrollY||window.pageYOffset;Wr(ho),kn==null||kn.setValue(ho),window.scrollTo(0,Ua)},[ho]),(0,y.useEffect)(()=>{_a==null||_a(ka)},[ka]),(0,y.useEffect)(()=>{if(jo.current){let Ua=function(ga,Fa){var Lr;if(Tr){Fa.preventDefault();return}const _r=Fa.clipboardData;if(_r){const Po=_r.types.toString(),Lo=_r.items;if(Po==="Files"||_r.types.indexOf("Files")>-1){if(Fa.preventDefault(),_n=="stex")return;try{let Go=Lo[1];((Lr=Lo[0])==null?void 0:Lr.kind)==="file"&&(Go=Lo[0]);const To=Go.getAsFile(),Ga=To.name.split(".").pop();(0,Ve.I)(To,ti=>{var Di,Ci,Yi;ti.id?((Di=To==null?void 0:To.type)==null?void 0:Di.indexOf("image"))>-1?da.replaceSelection(``):((Ci=To==null?void 0:To.type)==null?void 0:Ci.indexOf("video"))>-1?da.replaceSelection(``):((Yi=To==null?void 0:To.type)==null?void 0:Yi.indexOf("pdf"))>-1?da.replaceSelection(`${To.name}`):qe.includes(Ga)?da.replaceSelection(`${To.name}`):da.replaceSelection(`[${To.name}](/api/attachments/${ti.id}?type=${ti.content_type})`):(ti==null?void 0:ti.status)===401&&(it.ZP.warning((ti==null?void 0:ti.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Go){it.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const da=Ce().fromTextArea(jo.current,{mode:_n,lineNumbers:!An,lineWrapping:!0,value:ct,autoCloseTags:!qa,autoCloseBrackets:!0});return da.on("keyup",function(ga,Fa){Fa.keyCode===8&&(ga.getValue()==""?da.setOption("placeholder",Oo):da.setOption("placeholder",null))}),da.on("keydown",function(ga,Fa){if(Fa.keyCode===8){var Lr=Do(ga);Lr&&Fa.preventDefault()}}),vn&&da.focus(),da.on("paste",Ua),da.on("dragleave",function(ga,Fa){Si.current.classList.remove("mouse-hover-md")}),wr&&da.on("beforeChange",function(ga,Fa){(Fa.origin==="paste"||Fa.origin==="+input")&&Fa.cancel()}),Vr(da),()=>{da.off("paste",Ua)}}},[]);const qo=(0,y.useCallback)(()=>{if(Si.current)try{}catch(Ua){console.log(Ua,"---- to set md editor body height")}},[Qr,Si,ka]);(0,y.useEffect)(()=>{function Ua(){let da=new Oe.Z(ga=>{for(let Fa of ga)(Fa.target.offsetHeight>0||Fa.target.offsetWidth>0)&&(qo(),kn.setSize("100%","100%"),kn.refresh())});return da.observe(jo.current.parentElement),da}if(kn){const da=Ua();return()=>{var ga,Fa;(ga=jo.current)!=null&&ga.parentElement&&da.unobserve((Fa=jo.current)==null?void 0:Fa.parentElement)}}},[kn,qo]),(0,y.useEffect)(()=>{if(kn){let Ua=[];for(const[da,ga]of Object.entries(wn)){let Fa={[da]:()=>{wi(ga)}};Ua.push(Fa),kn.addKeyMap(Fa)}return Oa.current=setInterval(()=>{Ro.current&&Oi()},4e3),()=>{clearInterval(Oa.current);for(let da of Ua)kn.removeKeyMap(da)}}},[kn]),(0,y.useEffect)(()=>{Gn!==ka&&$a(Gn)},[Gn]),(0,Yt.Z)(()=>{if(!Bn&&no>0){let Ua=new Date().getTime(),da=window.sessionStorage.getItem(Pa);Ua>=no+ha&&(!da||da!==Ur)&&(window.sessionStorage.setItem(Pa,Ur),ii(!0))}},ha),(0,y.useEffect)(()=>{na($n)},[kn,$n]),(0,y.useEffect)(()=>{kn&&vn&&kn.focus()},[kn,vn]),(0,y.useEffect)(()=>{if(Ja&&kn){let Ua=function(ga){let Fa=ga.target;if(ni.current){let Lr=Fa.scrollTop/Fa.scrollHeight;ni.current.scrollTop=ni.current.scrollHeight*Lr}};const da=kn.getScrollerElement();return da.addEventListener("scroll",Ua),()=>{da.removeEventListener("scroll",Ua)}}},[kn,Ja]),(0,y.useEffect)(()=>{if(kn&&Ir){let Ua=function(da,ga){Ir(da,ga)};return kn.on("beforeChange",Ua),()=>{kn.off("beforeChange",Ua)}}},[kn,Ir]),(0,y.useEffect)(()=>{if(kn&&sn){let Ua=function(){sn(kn.getValue())};return kn.on("blur",Ua),()=>{kn.off("blur",Ua)}}},[kn,sn]);function Do(Ua,da){var ga=Ua.getDoc(),Fa=ga.getCursor(),Lr=ga.getLine(Fa.line),_r=Lr.charAt(Fa.ch-1),Po=Lr.lastIndexOf("@\u2581@",Fa.ch),Lo=Lr.lastIndexOf("@\u2581\u2581@",Fa.ch),Go=Po>Lo?Po:Lo,To=Po>Lo?3:4;if(Xn.indexOf(_r)===-1)return null;if(console.log("change1:",da,Ua,Lr,Fa,Go,Po,Lo,_r),Go>=0&&Fa.ch-Go<5){var Ga=Go+To;return ga.replaceRange("",{line:Fa.line,ch:Go},{line:Fa.line,ch:Ga}),{line:Fa.line,ch:Ga}}return null}(0,y.useEffect)(()=>{if(kn){let Ua=function(da,ga){const Fa=da.getValue();Wr(Fa),xo(new Date().getTime()),da.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),At&&(qa?At(Fa,_i(Fa)):At(Fa))};return kn.on("change",Ua),()=>{kn.off("change",Ua)}}},[kn,At]),(0,y.useEffect)(()=>{if(kn)if(ct==null)kn.setValue(""),Wr("");else{const Ua=window.scrollY||window.pageYOffset;ct!==kn.getValue()&&(kn.setValue(ct),Wr(ct),kn.setCursor(wr?1:kn.lineCount(),0),window.scrollTo(0,Ua))}},[kn,ct]);const wi=(0,y.useCallback)(Ua=>{const da=kn.getCursor(),ga=kn.getSelection();let Fa=ga.split(` -`);switch(Ua){case"bold":return kn.replaceSelection("**"+ga+"**"),ga===""&&kn.setCursor(da.line,da.ch+2),kn.focus();case"italic":return kn.replaceSelection("*"+ga+"*"),ga===""&&kn.setCursor(da.line,da.ch+1),kn.focus();case"code":return kn.replaceSelection("`"+ga+"`"),ga===""&&kn.setCursor(da.line,da.ch+1),kn.focus();case"inline-latex":return Br("inline-latex"),kn.focus();case"latex":return kn.replaceSelection("```latex\n"+ga+"\n```"),kn.setCursor(da.line+1,ga.length+1),kn.focus();case"line-break":return kn.replaceSelection(`
-`),kn.focus();case"list-ul":return ga===""?kn.replaceSelection("- "+ga):kn.replaceSelection(Fa.map(Lr=>Lr===""?"":`- ${Lr}`).join(` -`)),kn.focus();case"list-ol":return ga===""?kn.replaceSelection("1. "+ga):kn.replaceSelection(Fa.map((Lr,_r)=>Lr===""?"":`${_r+1}. ${Lr}`).join(` -`)),kn.focus();case"add-null-ch":return ga===""&&kn.setCursor(da.line,da.ch),kn.replaceSelection(ba),kn.focus();case"add-signal":return ga===""&&kn.setCursor(da.line,da.ch),kn.replaceSelection(ln),kn.focus();case"add-multiple":return ga===""&&kn.setCursor(da.line,da.ch),kn.replaceSelection(Xn),kn.focus();case"inster-template-1":return ga===""&&kn.setCursor(da.line,da.ch),kn.replaceSelection(Ba),kn.focus();case"eraser":return kn.setValue(""),kn.focus();case"trigger-watch":return na(!Ja),kn.focus();case"trigger-full-screen":return $a(!ka),kn.focus();case Et:Br(Et);return;case Cn:Br(Cn);return;case vt:Br(vt);return;case tn:Br(tn);return;case"maths-latex":Br("maths-latex");return;case lt:Br(lt);return;case In:Br(In);return;default:throw new Error}},[kn,Ja,ka]),Io=(0,y.useCallback)((Ua,da)=>{var ga,Fa,Lr,_r,Po,Lo;switch(Br(""),Ca){case Et:const{title:Di,link:Ci}=Ua;return kn.replaceSelection(`[${Di}](${Ci})`),kn.focus();case Cn:const{language:Yi,content:rl}=Ua;return kn.replaceSelection(["```"+Yi,rl,"```"].join(` -`)),kn.focus();case"maths-latex":for(var Go=atob(Ua),To=new Uint8Array(Go.length),Ga=0;Ga{Ma.id?kn.replaceSelection(`![,](/api/attachments/${Ma.id}?type=${Ma.content_type})`):(Ma==null?void 0:Ma.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":kn.replaceSelection("`$$"+Ua+"$$`");break;case vt:case tn:case En:const{src:Ji,alt:Ut}=Ua,Qt=da,hn=(Lr=(Fa=(ga=Qt==null?void 0:Qt.name)==null?void 0:ga.split("."))==null?void 0:Fa.pop)==null?void 0:Lr.call(Fa);return((_r=Qt==null?void 0:Qt.type)==null?void 0:_r.indexOf("image"))>-1||!(Qt!=null&&Qt.type)?Qt.align||Qt.width?kn.replaceSelection(`

${Ut||

`):kn.replaceSelection(`${Ut||`):((Po=Qt==null?void 0:Qt.type)==null?void 0:Po.indexOf("video"))>-1?kn.replaceSelection(``):((Lo=Qt==null?void 0:Qt.type)==null?void 0:Lo.indexOf("pdf"))>-1?kn.replaceSelection(`${Qt.name}`):qe.includes(hn)?kn.replaceSelection(`${Qt.name}`):kn.replaceSelection(`[${Qt.name}](${Ji})`),kn.focus();case In:const{row:Un,col:Wa,align:ir}=Ua;let Zn=` -`;for(let Ma=0;Ma{switch(Ca){case Et:return y.createElement(zt,{callback:Io,onCancel:pi});case Cn:return y.createElement(Kt.Z,{callback:Io,onCancel:pi});case vt:return y.createElement(Ve.Z,{callback:Io,onCancel:pi});case lt:return y.createElement(Lt,{callback:Io,onCancel:pi});case In:return y.createElement(Te,{callback:Io,onCancel:pi});case"maths-latex":return y.createElement(an,{showSaveButton:!0,callback:Io});case"inline-latex":return y.createElement(mn.Z,{showSaveButton:!0,callback:Io});default:return null}},[Ca]);function pi(){Br("")}(0,y.useEffect)(()=>{if(ci.current){let Ua=function(Po){Lr=!0,_r=Po.pageY},da=function(){Lr=!1},ga=function(Po){if(Lr){let Lo=Po.pageY-_r;Lo<0&&(Lo=0),Lo>300&&(Lo=300);let Go=dn+Lo+"px";Mo(Go)}},Fa=ci.current,Lr=!1,_r=0;return Fa.addEventListener("mousedown",Ua),document.addEventListener("mousemove",ga),document.addEventListener("mouseup",da),()=>{Fa.removeEventListener("mousedown",Ua),document.removeEventListener("mousemove",ga),document.removeEventListener("mouseup",da)}}},[kn,ci]),(0,y.useEffect)(()=>{Mo(dn)},[dn]);const nl=cn(St),Ri=cn(Qr),al={width:nl,height:Ri},gi=(0,y.useMemo)(()=>{if(no){let Ua=new Date(no),da=Ua.getHours(),ga=Ua.getMinutes(),Fa=Ua.getSeconds();return da=da<10?"0"+da:da,ga=ga<10?"0"+ga:ga,Fa=Fa<10?"0"+Fa:Fa,`${da}:${ga}:${Fa}`}return 0},[no]),_i=Ua=>{const da=[];if(qa){let ga=-1;Ua=Ua.replace(/(@▁▁@|@▁@)/g,function(Fa,Lr,_r){da.push({multiLine:Fa!==ln})})}return da};function Pl(){window.sessionStorage.removeItem(Pa),ii(!1),xo(0)}function ol(){ii(!1),xo(0),kn.setValue(window.sessionStorage.getItem(Pa))}(0,y.useEffect)(()=>{zn[Ca]&&Ca!==tn&&Ca!==lt&&setTimeout(()=>{const Ua=document.getElementsByClassName("markdown-popup-form")[0],da=window.innerWidth/2-Ua.offsetWidth/2,ga=window.innerHeight/2-Ua.offsetHeight/2;wo(da),Zo(ga)},0)},[Ca]);const il=Ua=>{Ua.preventDefault();const da=Ua.clientX-Eo,ga=Ua.clientY-_o;document.body.onmousemove=Fa=>{let Lr=Fa.clientX-da,_r=Fa.clientY-ga;const Po=document.getElementsByClassName("markdown-popup-form")[0],Lo=window.innerWidth-Po.offsetWidth,Go=window.innerHeight-Po.offsetHeight;Lr=Math.max(0,Math.min(Lr,Lo)),_r=Math.max(0,Math.min(_r,Go)),eo(Fa.clientX,Fa.clientY,da,ga)&&(wo(Lr),Zo(_r))},document.body.onmouseup=function(){document.body.onmousemove=null}},eo=(Ua,da,ga,Fa)=>{const Lr=document.body.clientHeight,_r=document.body.clientWidth;return Ua<20&&ga>Ua||Ua>_r-20&&gada||da>Lr-20&&FaNe in ye?He(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ye[Ne]=pe,z=(ye,Ne)=>{for(var pe in Ne||(Ne={}))a.call(Ne,pe)&&b(ye,pe,Ne[pe]);if(E)for(var pe of E(Ne))x.call(Ne,pe)&&b(ye,pe,Ne[pe]);return ye},te=(ye,Ne)=>Le(ye,le(Ne));const{useForm:re}=y.default,ie={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:ye,onCancel:Ne})=>{const[pe]=re();let Xe=(0,Ke.useRef)();function We(_e){Xe.current.width=pe.getFieldValue("width"),Xe.current.align=pe.getFieldValue("align"),ye(_e,Xe.current)}function dt(_e,mt){if(_e.status===-1){ue.ZP.error(_e.message);return}pe.setFieldsValue({src:`/api/attachments/${_e.id}`,type:mt.type})}function Re(_e){let mt=_e.target.files[0];Xe.current=mt,xe(mt,dt)}return ze.createElement(y.default,te(z({form:pe},ge),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),ze.createElement(y.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(y.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(Ce.default,{style:ie})),ze.createElement(ce,{onFileChange:Re}))),ze.createElement(y.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(Ce.default,{style:{width:264}})),ze.createElement(y.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Oe.Z,null,ze.createElement(y.default.Item,{name:"width",style:{margin:0}},ze.createElement(De.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(y.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Ie.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ze.createElement("aside",null,ze.createElement(y.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(se.ZP,{type:"default",onClick:Ne},"\u53D6\u6D88"))))};function ce({onFileChange:ye}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:ye}))}function xe(ye,Ne){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,je.bg)())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let pe=new FormData;pe.append("editormd-image-file",ye),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var Xe=new window.XMLHttpRequest;Xe.withCredentials=!0,Xe.addEventListener("load",function(We){Ne(JSON.parse(We.target.responseText),ye)},!1),Xe.addEventListener("error",function(We){console.error(We)},!1),Xe.open("POST",`${Ze.KI}/api/attachments.json`),Xe.send(pe)}},57261:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ce}});var y=ne(59301),ue=ne(4676);class Ce extends y.Component{constructor(De){super(De);const Ie=window.document;this.node=Ie.createElement("div"),Ie.body.appendChild(this.node)}render(){const{children:De}=this.props;return(0,ue.createPortal)(De,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(Bt,Zt,ne){"use strict";ne.d(Zt,{i:function(){return ge},Z:function(){return ce}});var y={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ue=ne(71418),Ce=ne(6848),Oe=ne(93948),De=ne(92310),Ie=ne.n(De),se=ne(65862),Ze=ne(2524),Ke=ne(41867),je=ne(79005),ze=ne(20345),He=ne(77882),Le=ne(31081),le=ne(75309),E=ne(71979),a=ne(47558),x=ne(42922),b=ne(66832),z=ne(96593),te=ne(19664),re=ne(91833),ie=ne(59301);const ge=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:je,swimg:ze},{name:"101\u8BA1\u5212",ptimg:He,swimg:Le},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:le,swimg:E},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:re}];var ce=({className:xe,dataSource:ye=[],col:Ne=4,right:pe,bottom:Xe=23,precision:We=0,wrapWidth:dt=1200,trackEventItems:Re,loading:_e,onRemove:mt=()=>{},isCurrent:Qe=!0,showAlias:at=!1,showProgress:Ht=!1})=>{const ht=Math.floor((dt-(Ne-1)*pe)/Ne),zt=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Kt=>(window.ENV==="build"&&(Kt.ptimg=`/react/build${Kt.ptimg}`,Kt.swimg=`/react/build${Kt.swimg}`),Kt));return ie.createElement(ue.Z,{spinning:_e},ie.createElement("div",{className:Ie()(y.list,xe)},!!(ye!=null&&ye.length)&&(ye==null?void 0:ye.map((Kt,Ve)=>{var ut,Mt,un,Dt,en,Be;const{name:Jt,id:yn,identifier:Nt,featured:Ot,school_name:tt,image_url:Ye,excellent:Fe,is_plan:he}=Kt;return ie.createElement("div",{key:yn,className:Qe&&Ht?y.wrapisCurrent:y.wrap,style:{width:ht,marginRight:(1+Ve)%Ne===0?0:pe+We,marginBottom:Xe}},ie.createElement("a",{className:y.li,onClick:et=>{et.preventDefault(),et.stopPropagation(),Re&&(0,se.L9)([Re]),(0,se.xg)(`/paths/${Nt}`)}},ie.createElement("div",{className:y.img},ie.createElement("img",{className:y.cover,src:`${Ye}`}),Qe&&(0,Ke.bg)()&&(Kt==null?void 0:Kt.studying)&&ie.createElement("div",{className:`${y.movebq} user-path-items`,onClick:et=>{et.stopPropagation(),mt(Kt)}},ie.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ie.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ut=Kt==null?void 0:Kt.subject_tags)==null?void 0:ut.map((et,Lt)=>{var we,be;if(Lt===0){const Je=(we=zt.find(Te=>Te.name==et))==null?void 0:we.swimg;return ie.createElement("img",{className:y.sign,src:Je,style:{left:"-4px"}})}const Pt=(be=zt.find(Je=>Je.name==et))==null?void 0:be.ptimg;return ie.createElement("img",{className:y.sign,src:Pt,style:{left:`${48+52*(Lt-1)+2*Lt}px`}})}),ie.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Kt==null?void 0:Kt.excellent)&&ie.createElement("div",{className:y.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ie.createElement("div",{className:y.name},ie.createElement(Ce.Z,{title:at&&(Kt!=null&&Kt.excellent_alias_name)?ie.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Jt}`,ie.createElement("br",null),ie.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Kt==null?void 0:Kt.excellent_alias_name}`)):Jt},ie.createElement("span",{className:y.e},at&&(Kt==null?void 0:Kt.excellent_alias_name)||Jt))),Qe&&Ht&&((Mt=Kt==null?void 0:Kt.progress)==null?void 0:Mt.all_score)!=0&&ie.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ie.createElement(Oe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((un=Kt==null?void 0:Kt.progress)==null?void 0:un.my_score)/((Dt=Kt==null?void 0:Kt.progress)==null?void 0:Dt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(en=Kt==null?void 0:Kt.progress)==null?void 0:en.my_score,"/",(Be=Kt==null?void 0:Kt.progress)==null?void 0:Be.all_score),(!Qe||!Ht)&&ie.createElement("div",{className:y.tags},ie.createElement("div",null,ie.createElement(Ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ie.createElement("span",null,ie.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ie.createElement("span",null,Kt.stages_count))),ie.createElement(Ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ie.createElement("span",null,ie.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ie.createElement("span",null,Kt.members_count)))))))})),!ye.length&&ie.createElement(Ze.Z,null)))}},3918:function(Bt,Zt,ne){"use strict";ne.d(Zt,{jL:function(){return De},w9:function(){return Nn},vv:function(){return dn},dN:function(){return Kn},QD:function(){return Ro},cQ:function(){return we.Z},vg:function(){return Xn},Oz:function(){return Yt},op:function(){return xo},O5:function(){return gi},_b:function(){return jo},t7:function(){return Xe},tT:function(){return Re},Gi:function(){return cr},YG:function(){return $n},Ed:function(){return Sa},kT:function(){return Pa},qp:function(){return x},Um:function(){return ge},K3:function(){return te},vr:function(){return wo},qE:function(){return fi},Je:function(){return at},wb:function(){return Jt},rC:function(){return Lt},lB:function(){return Ot},cq:function(){return Tr},kO:function(){return ho},tp:function(){return xe},Si:function(){return ol},k8:function(){return Ji},Du:function(){return _r}});var y=ne(59301),ue={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd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pyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",De=({dataSource:Ut=[],img:Qt,imgWidth:hn=346,title:Un,sunTitle:Wa,bannerExtraContent:ir})=>y.createElement("div",{className:ue.banner},y.createElement("div",{className:ue.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,Un),y.createElement("span",null,Wa)),Ut.length>0&&y.createElement("div",{className:ue.btns},Ut.map((Zn,Ma)=>y.createElement("div",{key:Ma,onClick:Zn.click},Zn.name,Zn.sign?y.createElement("img",{src:Ce,width:39}):null))),ir),Qt&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:Qt,width:hn}))),Ie={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},se=ne(92310),Ze=ne.n(se),Ke=ne(89392),je=Object.defineProperty,ze=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,le=(Ut,Qt,hn)=>Qt in Ut?je(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ut[Qt]=hn,E=(Ut,Qt)=>{for(var hn in Qt||(Qt={}))He.call(Qt,hn)&&le(Ut,hn,Qt[hn]);if(ze)for(var hn of ze(Qt))Le.call(Qt,hn)&&le(Ut,hn,Qt[hn]);return Ut},x=({dataSource:Ut=[],value:Qt,onChange:hn,onTitleChange:Un,className:Wa,title:ir,titleWidth:Zn=41,style:Ma={},fontColor:er="#6A7283",showCount:Cr,classNameActive:io,styleItem:Qn={}})=>{const[Zr,co]=(0,y.useState)(0),[Wo,nr]=(0,y.useState)(!1),gr=(0,y.useRef)(null),lo=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var to;Ut.length!==0&&(((to=gr==null?void 0:gr.current)==null?void 0:to.clientHeight)>97?co(1):co(0)),Ut.length===0&&co(0),nr(!1)},[Ut]),y.createElement("div",{className:Ze()(Ie.row,Wa),style:Ma},y.createElement("div",{onClick:(0,Ke.throttle)(()=>Un==null?void 0:Un(),2e3),style:{width:Zn,marginTop:Wo?12:4},className:`${Ie.title} ${Un?"current":""}`},ir),y.createElement("div",{className:Wo?`${Ie.tagsWrap} ${Ie.tagsBorderWrap}`:Ie.tagsWrap},y.createElement("div",{className:Ie.bar,ref:lo,style:Zr>0?{height:Zr===1?97:"auto",overflow:Zr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:Ie.tag,ref:gr},Ut==null?void 0:Ut.map(to=>y.createElement("span",{onClick:()=>hn(to.id),key:to.id,style:E(E({color:er},Qn),(to==null?void 0:to.style)||{}),className:Qt===to.id?Ze()(io||Ie.active,to.classNameActive):""},y.createElement("span",{title:to.name,className:Ie.name},to.name),!!Cr&&y.createElement("span",{className:Ie.num},to.count))))),!!Zr&&y.createElement(y.Fragment,null,Zr===1?y.createElement("div",{onClick:()=>{var to;co(2),((to=gr==null?void 0:gr.current)==null?void 0:to.clientHeight)>245?nr(!0):nr(!1)},className:Ie.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{lo.current.scrollTop=0,co(1),nr(!1)},className:Ie.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Ut=[],value:Qt,onChange:hn,onTitleChange:Un,className:Wa,title:ir,titleWidth:Zn=41,style:Ma={},fontColor:er="#6A7283",showCount:Cr,expand:io=!0})=>{const[Qn,Zr]=(0,y.useState)(0),[co,Wo]=(0,y.useState)(!1),nr=(0,y.useRef)(null),gr=(0,y.useRef)(null),[lo,to]=(0,y.useState)(io);return y.createElement("div",{className:Ze()(b.row,Wa),style:Ma},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ke.throttle)(()=>Un==null?void 0:Un(),2e3),style:{width:Zn,marginTop:co?12:4},className:`${b.title} ${Un?"current":""}`},ir),y.createElement("i",{className:`iconfont ${lo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:lo?8:10},onClick:()=>to(!lo)})),lo&&y.createElement("div",{className:co?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},y.createElement("div",{className:b.fenge}),y.createElement("div",{className:b.bar,ref:gr},y.createElement("div",{className:b.tag,ref:nr},Ut==null?void 0:Ut.map(Yo=>y.createElement("span",{onClick:()=>hn(Yo.id),key:Yo.id,style:{color:er},className:Qt===Yo.id?b.active:""},y.createElement("span",{title:Yo.name,className:b.name},Yo.name),!!Cr&&y.createElement("span",{className:b.num},Yo.count)))))))},re={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ge=({dataSource:Ut=[],value:Qt,onChange:hn,onTitleChange:Un,className:Wa,title:ir,titleWidth:Zn=41,style:Ma={},fontColor:er="#fff",showCount:Cr,expand:io=!0})=>{const[Qn,Zr]=(0,y.useState)(0),[co,Wo]=(0,y.useState)(!1),nr=(0,y.useRef)(null),gr=(0,y.useRef)(null),[lo,to]=(0,y.useState)(io);return y.createElement("div",{className:Ze()(re.row,Wa),style:Ma},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ke.throttle)(()=>Un==null?void 0:Un(),2e3),style:{width:Zn},className:`${re.title} ${Un?"current":""}`},ir),y.createElement("i",{className:`iconfont ${lo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:lo?"#00DDC7":"#037F74",fontSize:lo?10:12},onClick:()=>to(!lo)})),lo&&y.createElement("div",{className:co?`${re.tagsWrap} ${re.tagsBorderWrap}`:re.tagsWrap},y.createElement("div",{className:re.bar,ref:gr},y.createElement("div",{className:re.tag,ref:nr},Ut==null?void 0:Ut.map(Yo=>y.createElement("span",{onClick:()=>hn(Yo.id),key:Yo.id,style:{color:er},className:Qt===Yo.id?re.active:""},y.createElement("span",{title:Yo.name,className:re.name},Yo.name),!!Cr&&y.createElement("span",{className:re.num},Yo.count)))))))},fe={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},xe=({dataSource:Ut=[],value:Qt,onChange:hn,className:Un,style:Wa={}})=>y.createElement("div",{style:Wa,className:Ze()(fe.tabs,Un)},Ut.map(ir=>y.createElement("span",{onClick:()=>hn(ir.id),className:Qt===ir.id?fe.active:"",key:ir.id},ir.name))),ye={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ne=ne(92832),Xe=({dataSource:Ut=[],value:Qt="",onChange:hn,onInputChange:Un=()=>{},className:Wa,style:ir={},placeholder:Zn,allowClear:Ma=!1})=>{var er;const[Cr,io]=(0,y.useState)(""),[Qn,Zr]=(0,y.useState)("");(0,y.useEffect)(()=>{var nr;let gr=Qt;(nr=JSON.stringify(Qt))!=null&&nr.includes("{")&&(io(Qt.id),gr=Qt.value||"");try{Zr(decodeURIComponent(gr||""))}catch(lo){Zr(decodeURIComponent(gr||""))}},[Qt]);const co=()=>{hn(encodeURIComponent(Qn),Cr||null)},Wo=nr=>{nr!==Cr&&(io(nr),hn(encodeURIComponent(Qn),nr))};return y.createElement("div",{className:Ze()(ye.input,Wa),style:ir},!!Ut.length&&y.createElement("div",{className:ye.dropdown},y.createElement("div",{className:ye.text},(er=Ut.find(nr=>nr.id===Cr))==null?void 0:er.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:ye.b1}),y.createElement("b",{className:ye.b2})),y.createElement("div",{className:ye.menu},Ut.map((nr,gr)=>y.createElement("div",{key:gr,onClick:()=>Wo(nr.id)},nr.name)))),y.createElement(Ne.default,{onPressEnter:co,value:Qn,onChange:nr=>{Zr(nr.target.value),Un(encodeURIComponent(nr.target.value),Cr||null)},bordered:!1,placeholder:Zn}),y.createElement("i",{onClick:co,className:"iconfont icon-sousuo9 font14 pl10 current"}))},We={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Re=({dataSource:Ut=[],value:Qt="",onChange:hn,onInputChange:Un=()=>{},className:Wa,style:ir={},placeholder:Zn,allowClear:Ma=!1})=>{var er;const[Cr,io]=(0,y.useState)(""),[Qn,Zr]=(0,y.useState)("");(0,y.useEffect)(()=>{var nr;let gr=Qt;(nr=JSON.stringify(Qt))!=null&&nr.includes("{")&&(io(Qt.id),gr=Qt.value||"");try{Zr(decodeURIComponent(gr||""))}catch(lo){Zr(decodeURIComponent(gr||""))}},[Qt]);const co=()=>{hn(encodeURIComponent(Qn),Cr||null)},Wo=nr=>{nr!==Cr&&(io(nr),hn(encodeURIComponent(Qn),nr))};return y.createElement("div",{className:Ze()(We.input,Wa),style:ir},!!Ut.length&&y.createElement("div",{className:We.dropdown},y.createElement("div",{className:We.text},(er=Ut.find(nr=>nr.id===Cr))==null?void 0:er.name,y.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),y.createElement("div",{className:We.menu},Ut.map((nr,gr)=>y.createElement("div",{key:gr,onClick:()=>Wo(nr.id)},nr.name)))),y.createElement(Ne.default,{onPressEnter:co,value:Qn,onChange:nr=>{Zr(nr.target.value),Un(encodeURIComponent(nr.target.value),Cr||null)},bordered:!1,placeholder:Zn}),y.createElement("i",{onClick:co,className:"iconfont icon-sousuo9 font14 pl10 current"}))},_e={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},mt=ne(65582),at=({value:Ut,onChange:Qt,className:hn,total:Un,pageSize:Wa,style:ir={}})=>{const Zn=(0,mt.useIntl)(),Ma=Ut<2,er=Ut>=Math.ceil(Un/Wa);return Un<=Wa?y.createElement(y.Fragment,null):y.createElement("div",{className:Ze()(_e.quickPager,hn),style:ir},y.createElement("div",{onClick:()=>{Ma||Qt(Ut-1,"prev")},className:Ma?_e.disabled:""},Zn.formatMessage({id:"shixuns.previousPage"})),y.createElement("div",{onClick:()=>{er||Qt(Ut+1,"next")},className:er?_e.disabled:""},Zn.formatMessage({id:"shixuns.nextPage"})))},Ht={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ht=ne(71418),zt=ne(6848),Kt=ne(13570),Ve=ne(74128),ut=ne(65862),Mt=ne(96908),un=ne(57177),Dt=ne(81378),en=ne(2524),Jt=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,trackEventItems:Ma,loading:er})=>{const Cr=(0,mt.useIntl)(),io=Math.floor((Zn-(hn-1)*Un)/hn);return y.createElement(ht.Z,{spinning:er},y.createElement("div",{className:Ze()(Ht.list,Ut)},!!Qt.length&&Qt.map((Qn,Zr)=>{const{name:co,id:Wo,identifier:nr,power:gr,cover_image_id:lo,pic:to}=Qn;return y.createElement("div",{className:Ht.wrap,key:Wo,style:{width:io,marginRight:(1+Zr)%hn===0?0:Un+ir,marginBottom:Wa}},y.createElement("a",{target:"_blank",href:`/shixuns/${nr}/challenges`,className:Ht.li,onClick:Yo=>{Yo.preventDefault(),Ma&&(0,ut.L9)([Ma]),gr&&(0,ut.xg)(`/shixuns/${nr}/challenges`)}},y.createElement("div",{className:Ht.img},y.createElement("img",{className:Ht.cover,src:`${to}`}),Qn.is_jupyter&&y.createElement("img",{className:Ht.sign,src:Mt}),Qn.is_jupyter_lab&&y.createElement("img",{className:Ht.sign,src:un}),Qn.is_unity_3d&&y.createElement("img",{className:Ht.sign,src:Dt})),y.createElement("div",{className:Ht.name},y.createElement(zt.Z,{title:co||Cr.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},y.createElement("span",{className:Ht.e},co||Cr.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),y.createElement("div",{className:Ht.tags},y.createElement(zt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,Qn.challenges_count))),!!Qn.myshixuns_count&&y.createElement(zt.Z,{placement:"bottom",title:Cr.formatMessage({id:"shixuns.numberOfLearners"})},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,Qn.myshixuns_count))),y.createElement(zt.Z,{placement:"bottom",title:Cr.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},y.createElement("span",null,y.createElement("span",null,Qn.level))),y.createElement("div",{className:Ht.rate},y.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:Qn.score_info}),y.createElement("span",null,"\xA0",Qn.score_info?`${Qn.score_info}\u5206`:"5\u5206")))),!gr&&y.createElement("div",{className:Ht.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&y.createElement(en.Z,null)))},yn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Ot=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,wrapClassName:Ma,trackEventItems:er,loading:Cr})=>{const io=Math.floor((Zn-(hn-1)*Un)/hn);return y.createElement(ht.Z,{spinning:Cr},y.createElement("div",{className:Ze()(yn.list,Ut)},!!Qt.length&&Qt.map((Qn,Zr)=>{const{name:co,id:Wo,identifier:nr,power:gr,cover_image_id:lo,pic:to}=Qn;return y.createElement("div",{className:Ze()(yn.wrap,Ma),key:Wo,style:{width:io,marginRight:(1+Zr)%hn===0?0:Un+ir,marginBottom:Wa}},y.createElement("a",{target:"_blank",href:`/shixuns/${nr}/challenges`,className:yn.li,onClick:Yo=>{Yo.preventDefault(),er&&(0,ut.L9)([er]),gr&&(0,ut.xg)(`/shixuns/${nr}/challenges`)}},y.createElement("img",{src:ne(47621),className:yn.titleBg}),y.createElement("div",{className:yn.name},y.createElement(zt.Z,{title:co||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:yn.e},co||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:yn.img},y.createElement("img",{className:yn.cover,src:lo?`${Ve.Z.API_SERVER}/api/attachments/${lo}`:`${Ve.Z.IMG_SERVER+to}`}),Qn.is_jupyter&&y.createElement("div",{className:yn.bq},"Jupyter"),Qn.is_jupyter_lab&&y.createElement("div",{className:yn.bq},"JupyterLab"),Qn.is_unity_3d&&y.createElement("div",{className:yn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),y.createElement("div",{className:"mt20 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:yn.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:yn.value},Qn.myshixuns_count)),y.createElement("div",null,y.createElement("span",{className:yn.text},"\u56F0\u96BE\u7B49\u7EA7"),y.createElement("span",{className:yn.value},Qn.level))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:yn.text},"\u5173\u5361\u6570"),y.createElement("span",{className:yn.value},Qn.challenges_count)),y.createElement("div",{className:yn.rate},y.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:Qn.score_info}),y.createElement("span",{className:yn.value,style:{color:"#FF9C00"}},"\xA0",Qn.score_info?`${Qn.score_info}\u5206`:"5\u5206"))))),!gr&&y.createElement("div",{className:yn.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&y.createElement(en.Z,null)))},tt={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQ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gnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Lt=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,trackEventItems:Ma,loading:er,wrapClassName:Cr,imgClassName:io})=>{const Qn=Math.floor((Zn-(hn-1)*Un)/hn);return y.createElement(ht.Z,{spinning:er},y.createElement("div",{className:Ze()(tt.list,Ut)},!!Qt.length&&Qt.map((Zr,co)=>{const{name:Wo,id:nr,identifier:gr,power:lo,cover_image_id:to,pic:Yo}=Zr;return y.createElement("div",{className:Ze()(tt.wrap,Cr),key:nr,style:{width:Qn,marginRight:(1+co)%hn===0?0:Un+ir,marginBottom:Wa}},y.createElement("a",{target:"_blank",href:`/shixuns/${gr}/challenges`,className:tt.li,onClick:st=>{st.preventDefault(),Ma&&(0,ut.L9)([Ma]),lo&&(0,ut.xg)(`/shixuns/${gr}/challenges`)}},y.createElement("div",{className:Ze()(tt.img,io)},y.createElement("img",{className:tt.cover,src:to?`${Ve.Z.API_SERVER}/api/attachments/${to}`:`${Ve.Z.IMG_SERVER+Yo}`}),Zr.is_jupyter&&y.createElement("img",{className:tt.sign,src:Ye}),Zr.is_jupyter_lab&&y.createElement("img",{className:tt.sign,src:Fe}),Zr.is_unity_3d&&y.createElement("img",{className:tt.sign,src:he})),y.createElement("div",{className:tt.name},y.createElement(zt.Z,{title:Wo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:tt.e},Wo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:tt.tags},y.createElement(zt.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,Zr.challenges_count))),!!Zr.myshixuns_count&&y.createElement(zt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,Zr.myshixuns_count))),y.createElement(zt.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,Zr.level))),y.createElement("div",{className:tt.rate},y.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:Zr.score_info}),y.createElement("span",null,"\xA0",Zr.score_info?`${Zr.score_info}\u5206`:"5\u5206")))),!lo&&y.createElement("div",{className:tt.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&y.createElement(en.Z,null)))},we=ne(61584),be={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Pt=ne(79005),Je=ne(20345),Te=ne(77882),Ct=ne(31081),pn=ne(75309),Tt=ne(71979),on=ne(47558),an=ne(42922),mn=ne(66832),ke=ne(96593),it=ne(19664),Et=ne(91833),vt=Object.defineProperty,lt=Object.getOwnPropertySymbols,tn=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Cn=(Ut,Qt,hn)=>Qt in Ut?vt(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ut[Qt]=hn,In=(Ut,Qt)=>{for(var hn in Qt||(Qt={}))tn.call(Qt,hn)&&Cn(Ut,hn,Qt[hn]);if(lt)for(var hn of lt(Qt))En.call(Qt,hn)&&Cn(Ut,hn,Qt[hn]);return Ut};const ra=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pt,swimg:Je},{name:"101\u8BA1\u5212",ptimg:Te,swimg:Ct},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:pn,swimg:Tt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:on,swimg:an},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:mn,swimg:ke},{name:"\u519B\u961F\u4E00\u6D41",ptimg:it,swimg:Et}];var Yt=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,trackEventItems:Ma,loading:er,wrapClassName:Cr,imgClassName:io,isArrow:Qn=!1,imgStyle:Zr={}})=>{const co=Math.floor((Zn-(hn-1)*Un)/hn),[Wo,nr]=(0,y.useState)(),[gr,lo]=(0,y.useState)(),to=st=>nr(st),Yo=()=>nr(-1);return y.createElement(ht.Z,{spinning:er},y.createElement("div",{className:Ze()(be.list,Ut)},!!(Qt!=null&&Qt.length)&&(Qt==null?void 0:Qt.map((st,yt)=>{var Wt;const{name:fa,id:Vt,identifier:fn,featured:gn,school_name:Fn,image_url:Rt,excellent:ea,is_plan:oa}=st;return y.createElement("div",{key:Vt,className:Ze()(be.wrap,Cr),style:{width:co,marginRight:(1+yt)%hn===0?0:Un+ir,marginBottom:Wa}},y.createElement("a",{target:"_blank",href:`/paths/${fn}`,className:be.li,onClick:ta=>{ta.preventDefault(),Ma&&(0,ut.L9)([Ma]),(0,ut.xg)(`/paths/${fn}`)}},y.createElement("img",{src:ne(39057),className:be.titleBg}),y.createElement("div",{className:be.name},y.createElement(zt.Z,{title:fa},y.createElement("span",{className:be.e,style:{color:Qn&&Wo===yt?"#145DFF":"#000000"},onMouseEnter:()=>{to(yt)},onMouseLeave:Yo},fa))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:Ze()(be.img,io)},y.createElement("img",{className:be.cover,style:In({},Zr),src:`${Ve.Z.IMG_SERVER+Rt}`}),(Wt=st==null?void 0:st.subject_tags)==null?void 0:Wt.map((ta,fr)=>{var br,So;if(fr===0){const Ka=(br=ra.find(xa=>xa.name==ta))==null?void 0:br.swimg;return y.createElement("img",{className:be.sign,src:Ka,style:{left:"-4px"}})}const ar=(So=ra.find(Ka=>Ka.name==ta))==null?void 0:So.ptimg;return y.createElement("img",{className:be.sign,src:ar,style:{left:`${48+52*(fr-1)+2*fr}px`}})}),y.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(st==null?void 0:st.excellent)&&y.createElement("div",{className:be.bq},"\u5F00\u653E\u8BFE\u7A0B"))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:be.text},"\u7AE0\u8282\u6570"),y.createElement("span",{className:be.value},st.stages_count)),y.createElement("div",null,y.createElement("span",{className:be.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:be.value},st.members_count))))))})),!Qt.length&&y.createElement(en.Z,null)))},qt={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Ln=ne(41867),$t=ne(59301);const ha=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pt,swimg:Je},{name:"101\u8BA1\u5212",ptimg:Te,swimg:Ct},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:pn,swimg:Tt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:on,swimg:an},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:mn,swimg:ke},{name:"\u519B\u961F\u4E00\u6D41",ptimg:it,swimg:Et}];var Xn=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,trackEventItems:Ma,loading:er,onRemove:Cr=()=>{},isCurrent:io=!0,showAlias:Qn=!1,wrapClassName:Zr,imgClassName:co})=>{const Wo=Math.floor((Zn-(hn-1)*Un)/hn),nr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(gr=>(window.ENV==="build"&&(gr.ptimg=`/react/build${gr.ptimg}`,gr.swimg=`/react/build${gr.swimg}`),gr));return $t.createElement(ht.Z,{spinning:er},$t.createElement("div",{className:Ze()(qt.list,Ut)},!!(Qt!=null&&Qt.length)&&(Qt==null?void 0:Qt.map((gr,lo)=>{var to;const{name:Yo,id:st,identifier:yt,featured:Wt,school_name:fa,image_url:Vt,excellent:fn,is_plan:gn}=gr;return $t.createElement("div",{key:st,className:Ze()(qt.wrap,Zr),style:{width:Wo,marginRight:(1+lo)%hn===0?0:Un+ir,marginBottom:Wa}},$t.createElement("a",{className:qt.li,onClick:Fn=>{Fn.preventDefault(),Fn.stopPropagation(),Ma&&(0,ut.L9)([Ma]),(0,ut.xg)(`/paths/${yt}`)}},$t.createElement("div",{className:Ze()(qt.img,co)},$t.createElement("img",{className:qt.cover,src:`${Ve.Z.IMG_SERVER+Vt}`}),io&&(0,Ln.bg)()&&(gr==null?void 0:gr.studying)&&$t.createElement("div",{className:`${qt.movebq} user-path-items`,onClick:Fn=>{Fn.stopPropagation(),Cr(gr)}},$t.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),$t.createElement("span",{className:"c-red"},"\u79FB\u9664")),(to=gr==null?void 0:gr.subject_tags)==null?void 0:to.map((Fn,Rt)=>{var ea,oa;if(Rt===0){const fr=(ea=nr.find(br=>br.name==Fn))==null?void 0:ea.swimg;return $t.createElement("img",{className:qt.sign,src:fr,style:{left:"-4px"}})}const ta=(oa=nr.find(fr=>fr.name==Fn))==null?void 0:oa.ptimg;return $t.createElement("img",{className:qt.sign,src:ta,style:{left:`${48+52*(Rt-1)+2*Rt}px`}})}),$t.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(gr==null?void 0:gr.excellent)&&$t.createElement("div",{className:qt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),$t.createElement("div",{className:qt.name},$t.createElement(zt.Z,{title:Qn&&(gr!=null&&gr.excellent_alias_name)?$t.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Yo}`,$t.createElement("br",null),$t.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${gr==null?void 0:gr.excellent_alias_name}`)):Yo},$t.createElement("span",{className:qt.e},Qn&&(gr==null?void 0:gr.excellent_alias_name)||Yo))),$t.createElement("div",{className:qt.tags},$t.createElement("div",null,$t.createElement(zt.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},$t.createElement("span",null,$t.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),$t.createElement("span",null,gr.stages_count))),$t.createElement(zt.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},$t.createElement("span",null,$t.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),$t.createElement("span",null,gr.members_count)))))))})),!Qt.length&&$t.createElement(en.Z,null)))},ln={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Ba="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9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a9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",qe=ne(59301),Nn=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,trackEventItems:Ma,loading:er})=>{const Cr=(0,mt.useIntl)(),io=Math.floor((Zn-(hn-1)*Un)/hn);return qe.createElement(ht.Z,{spinning:er},qe.createElement("div",{className:Ze()(ln.list,Ut)},!!Qt.length&&Qt.map((Qn,Zr)=>{const{subject_identifier:co,id:Wo,identifier:nr,power:gr}=Qn,lo=Qn.is_public!=0&&Qn.is_public;return qe.createElement("div",{className:ln.wrap,key:Wo,style:{width:io,marginRight:(1+Zr)%hn===0?0:Un+ir,marginBottom:Wa}},qe.createElement("a",{className:ln.li,onClick:to=>{to.preventDefault(),Ma&&(0,ut.L9)([Ma]),(0,ut.xg)(Qn.first_category_url)}},qe.createElement("div",{className:ln.top},qe.createElement(zt.Z,{title:Qn.name},qe.createElement("div",{className:ln.name},Qn.name)),qe.createElement("img",{className:ln.img,src:Ve.Z.IMG_SERVER+"/images/"+Qn.avatar_url}),qe.createElement("div",{className:ln.text,title:Qn.creator},Qn.creator),co&&qe.createElement("div",{className:ln.btns},qe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),qe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),lo&&qe.createElement("div",{className:ln.sign},Cr.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),qe.createElement("div",{className:ln.bottom},Qn.visits>0&&qe.createElement(zt.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-liulanyan"}),qe.createElement("span",null,Qn.visits))),Qn.course_members_count>0&&qe.createElement(zt.Z,{title:"\u6210\u5458",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-chengyuan"}),Qn.course_members_count)),Qn.tasks_count>0&&qe.createElement(zt.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-zuoye"}),Qn.tasks_count)),Qn.is_end?qe.createElement("div",{style:{color:"#6B758B"}},Cr.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):qe.createElement("div",{style:{color:"#00B187"}},Cr.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!Qn.is_accessible&&qe.createElement("div",{className:ln.lockWrap},qe.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),qe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&qe.createElement(en.Z,null)))},bn={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},wn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKn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2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Kn=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,wrapClassName:Ma,trackEventItems:er,loading:Cr})=>{const io=Math.floor((Zn-(hn-1)*Un)/hn);return y.createElement(ht.Z,{spinning:Cr},y.createElement("div",{className:Ze()(bn.list,Ut)},!!Qt.length&&Qt.map((Qn,Zr)=>{const{subject_identifier:co,id:Wo,identifier:nr,power:gr}=Qn,lo=Qn.is_public!=0&&Qn.is_public;return y.createElement("div",{className:Ze()(`${bn.wrap} ${Qn.is_accessible?"":bn.warpStyle}`,Ma),key:Wo,style:{width:io,marginRight:(1+Zr)%hn===0?0:Un+ir,marginBottom:Wa}},y.createElement("a",{className:bn.li,onClick:to=>{to.preventDefault(),er&&(0,ut.L9)([er]),(0,ut.xg)(Qn.first_category_url)}},y.createElement("div",{className:bn.creator},y.createElement("img",{className:bn.img,src:Ve.Z.IMG_SERVER+"/images/"+Qn.avatar_url}),y.createElement("div",{className:bn.text,title:Qn.creator},Qn.creator)),y.createElement("div",{className:bn.top},y.createElement(zt.Z,{title:Qn.name},y.createElement("div",{className:bn.name},Qn.name)),lo&&y.createElement("div",{className:bn.sign},"\u516C\u5F00")),y.createElement("div",{className:bn.middle},y.createElement("div",{className:bn.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:bn.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:bn.value},(Qn==null?void 0:Qn.visits)||0)),y.createElement("div",null,y.createElement("span",{className:bn.text},"\u6210\u5458"),y.createElement("span",{className:bn.value},(Qn==null?void 0:Qn.course_members_count)||0))),y.createElement("div",{className:bn.row},y.createElement("div",null,y.createElement("span",{className:bn.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:bn.value},(Qn==null?void 0:Qn.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:bn.text},"\u72B6\u6001"),Qn.is_end?y.createElement("span",{className:bn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:bn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),co&&y.createElement("div",{className:bn.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Qn.is_accessible&&y.createElement("div",{className:bn.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&y.createElement(en.Z,null)))},ct={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},At="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JH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5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",dn=({className:Ut,dataSource:Qt=[],col:hn=4,right:Un,bottom:Wa=23,precision:ir=0,wrapWidth:Zn=1200,wrapClassName:Ma,trackEventItems:er,loading:Cr})=>{const io=Math.floor((Zn-(hn-1)*Un)/hn);return y.createElement(ht.Z,{spinning:Cr},y.createElement("div",{className:Ze()(ct.list,Ut)},!!Qt.length&&Qt.map((Qn,Zr)=>{const{subject_identifier:co,id:Wo,identifier:nr,power:gr}=Qn,lo=Qn.is_public!=0&&Qn.is_public;return y.createElement("div",{className:Ze()(`${ct.wrap} ${Qn.is_accessible?"":ct.warpStyle}`,Ma),key:Wo,style:{width:io,marginRight:(1+Zr)%hn===0?0:Un+ir,marginBottom:Wa}},y.createElement("a",{className:ct.li,onClick:to=>{to.preventDefault(),er&&(0,ut.L9)([er]),(0,ut.xg)(Qn.first_category_url)}},y.createElement("div",{className:ct.creator},y.createElement("img",{className:ct.img,src:Ve.Z.IMG_SERVER+"/images/"+Qn.avatar_url}),y.createElement("div",{className:ct.text,title:Qn.creator},Qn.creator)),y.createElement("div",{className:ct.top},y.createElement(zt.Z,{title:Qn.name},y.createElement("div",{className:ct.name},Qn.name)),lo&&y.createElement("div",{className:ct.sign})),y.createElement("div",{className:ct.middle},y.createElement("div",{className:ct.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:ct.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:ct.value},(Qn==null?void 0:Qn.visits)||0)),y.createElement("div",null,y.createElement("span",{className:ct.text},"\u6210\u5458"),y.createElement("span",{className:ct.value},(Qn==null?void 0:Qn.course_members_count)||0))),y.createElement("div",{className:ct.row},y.createElement("div",null,y.createElement("span",{className:ct.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:ct.value},(Qn==null?void 0:Qn.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:ct.text},"\u72B6\u6001"),Qn.is_end?y.createElement("span",{className:ct.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:ct.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),co&&y.createElement("div",{className:ct.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Qn.is_accessible&&y.createElement("div",{className:ct.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&y.createElement(en.Z,null)))},An={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},$n=({dataSource:Ut=[],value:Qt,onChange:hn,className:Un,style:Wa={},tabBarExtraContent:ir})=>y.createElement("div",{className:Ze()(An.tabs,Un),style:Wa},y.createElement("div",{className:An.tabsWrap},Ut.map((Zn,Ma)=>y.createElement("aside",{className:An.tab,onClick:()=>{hn(Zn.id),Zn.link&&mt.history.push(Zn.link)},key:Ma},y.createElement("div",{className:Qt===Zn.id?An.active:""},Zn.name),(Zn==null?void 0:Zn.resetCount)==null&&(Zn==null?void 0:Zn.total)!==void 0&&y.createElement("span",null,"\uFF08",Zn==null?void 0:Zn.total,"\uFF09"),(Zn==null?void 0:Zn.resetCount)!==void 0&&(Zn==null?void 0:Zn.total)!==void 0&&y.createElement(zt.Z,{title:(Zn==null?void 0:Zn.tip)!=null?Zn==null?void 0:Zn.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},Zn==null?void 0:Zn.resetCount),"/",y.createElement("span",null,Zn==null?void 0:Zn.total),"\uFF09"))))),y.createElement("div",{className:An.tabBar},ir)),Tn={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Pa=({dataSource:Ut=[],value:Qt,onChange:hn,className:Un,style:Wa={},tabBarExtraContent:ir})=>y.createElement("div",{className:Ze()(Tn.tabs,Un),style:Wa},y.createElement("div",{className:Tn.tabsWrap},Ut.map((Zn,Ma)=>y.createElement("aside",{className:Tn.tab,onClick:()=>{hn(Zn.id),Zn.link&&mt.history.push(Zn.link)},key:Ma},y.createElement("div",{className:Qt===Zn.id?Tn.active:""},Zn.name),(Zn==null?void 0:Zn.resetCount)==null&&(Zn==null?void 0:Zn.total)!==void 0&&y.createElement("span",null,"\uFF08",Zn==null?void 0:Zn.total,"\uFF09"),(Zn==null?void 0:Zn.resetCount)!==void 0&&(Zn==null?void 0:Zn.total)!==void 0&&y.createElement(zt.Z,{title:(Zn==null?void 0:Zn.tip)!=null?Zn==null?void 0:Zn.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},Zn==null?void 0:Zn.resetCount),"/",y.createElement("span",null,Zn==null?void 0:Zn.total),"\uFF09"))))),y.createElement("div",{className:Tn.tabBar},ir)),za={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Sa=({dataSource:Ut=[],value:Qt,onChange:hn,className:Un,style:Wa={},tabBarExtraContent:ir})=>y.createElement("div",{className:Ze()(za.tabs,Un),style:Wa},y.createElement("div",{className:za.tabsWrap},Ut.map((Zn,Ma)=>y.createElement("aside",{className:`${za.tab} ${Qt===Zn.id?za.active:""}`,onClick:()=>{hn(Zn.id),Zn.link&&mt.history.push(Zn.link)},key:Ma},y.createElement("div",null,Zn.name),(Zn==null?void 0:Zn.resetCount)==null&&(Zn==null?void 0:Zn.total)!==void 0&&y.createElement("span",null,"\uFF08",Zn==null?void 0:Zn.total,"\uFF09"),(Zn==null?void 0:Zn.resetCount)!==void 0&&(Zn==null?void 0:Zn.total)!==void 0&&y.createElement(zt.Z,{title:(Zn==null?void 0:Zn.tip)!=null?Zn==null?void 0:Zn.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},Zn==null?void 0:Zn.resetCount),"/",y.createElement("span",null,Zn==null?void 0:Zn.total),"\uFF09"))))),y.createElement("div",{className:za.tabBar},ir)),cr=({className:Ut,style:Qt={},children:hn})=>y.createElement("div",{className:Ze()(Ut),style:Qt},hn),Gn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},sn=ne(38854),Ir=ne(20834);const _a=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var Tr=({sortValue:Ut,dropValue:Qt,className:hn,onSort:Un,onDrop:Wa,dataSource:ir=_a})=>{var Zn;return y.createElement("div",{className:Ze()(Gn.orderWrap,hn)},y.createElement(sn.Z,{dropdownRender:()=>y.createElement(Ir.default,null,ir.map((Ma,er)=>y.createElement(Ir.default.Item,{key:er,onClick:()=>Wa(Ma.id)},Ma.name)))},y.createElement("span",{className:Gn.orderTextWrap},(Zn=ir.find(Ma=>Qt===Ma.id))==null?void 0:Zn.name)),y.createElement("span",{className:Gn.orderIconWrap},y.createElement("span",{className:Gn.orderAsc},y.createElement("i",{className:Ut==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Gn.cursorPointer} ${Gn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Gn.cursorPointer}`,onClick:()=>Un(Ut==="asc"?"desc":"asc")})),y.createElement("span",{className:Gn.orderDesc},y.createElement("i",{className:Ut==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Gn.cursorPointer} ${Gn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Gn.cursorPointer}`,onClick:()=>Un(Ut==="asc"?"desc":"asc")}))))},wr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Hr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ho=({sortValue:Ut,dropValue:Qt,className:hn,onSort:Un,onDrop:Wa,dataSource:ir=Hr})=>{var Zn;return y.createElement("div",{className:Ze()(wr.orderWrap,hn)},y.createElement(sn.Z,{dropdownRender:()=>y.createElement(Ir.default,null,ir.map((Ma,er)=>y.createElement(Ir.default.Item,{key:er,onClick:()=>Wa(Ma.id)},Ma.name)))},y.createElement("span",{className:wr.orderTextWrap},(Zn=ir.find(Ma=>Qt===Ma.id))==null?void 0:Zn.name)),y.createElement("span",{className:wr.orderIconWrap},y.createElement("span",{className:wr.orderAsc},y.createElement("i",{className:Ut==="asc"?`iconfont icon-sanjiaoxing-up font12 ${wr.cursorPointer} ${wr.active}`:`iconfont icon-sanjiaoxing-up font12 ${wr.cursorPointer}`,onClick:()=>Un(Ut==="asc"?"desc":"asc")})),y.createElement("span",{className:wr.orderDesc},y.createElement("i",{className:Ut==="desc"?`iconfont icon-sanjiaoxing-down font12 ${wr.cursorPointer} ${wr.active}`:`iconfont icon-sanjiaoxing-down font12 ${wr.cursorPointer}`,onClick:()=>Un(Ut==="asc"?"desc":"asc")}))))},Qo={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},kn=ne(3113),Vr=ne(2337),Ur=Object.defineProperty,Wr=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,ka=(Ut,Qt,hn)=>Qt in Ut?Ur(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ut[Qt]=hn,$a=(Ut,Qt)=>{for(var hn in Qt||(Qt={}))Ja.call(Qt,hn)&&ka(Ut,hn,Qt[hn]);if(Wr)for(var hn of Wr(Qt))na.call(Qt,hn)&&ka(Ut,hn,Qt[hn]);return Ut},Ca=(Ut,Qt)=>{var hn={};for(var Un in Ut)Ja.call(Ut,Un)&&Qt.indexOf(Un)<0&&(hn[Un]=Ut[Un]);if(Ut!=null&&Wr)for(var Un of Wr(Ut))Qt.indexOf(Un)<0&&na.call(Ut,Un)&&(hn[Un]=Ut[Un]);return hn},Br=(Ut,Qt,hn)=>new Promise((Un,Wa)=>{var ir=er=>{try{Ma(hn.next(er))}catch(Cr){Wa(Cr)}},Zn=er=>{try{Ma(hn.throw(er))}catch(Cr){Wa(Cr)}},Ma=er=>er.done?Un(er.value):Promise.resolve(er.value).then(ir,Zn);Ma((hn=hn.apply(Ut,Qt)).next())}),xo=Ut=>{var Qt=Ut,{className:hn,style:Un,children:Wa,loading:ir=!1,openLoading:Zn,onClick:Ma=()=>{},size:er="middle",shape:Cr="round",theme:io}=Qt,Qn=Ca(Qt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Zr,co]=(0,y.useState)(!1),Wo=(0,y.useMemo)(()=>{switch(io){case Vr.Fy.THEMEONE:return Qo.ThemeOne;case Vr.Fy.DEFAULT:default:return Qo.btn}},[io]);return y.createElement(kn.ZP,$a({onClick:(0,Ke.throttle)(nr=>Br(void 0,null,function*(){Zn&&co(!0);try{yield Ma(nr)}catch(gr){console.log("error",gr)}Zn&&co(!1)}),2e3,{leading:!0,trailing:!1}),className:Ze()(Wo,Qo[`${er}-${Cr}`],hn),style:Un,size:er,shape:Cr,loading:Zr||ir},Qn),Wa)},Qr={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},fi=({className:Ut,style:Qt,children:hn=null,onClick:Un,title:Wa})=>y.createElement("div",{className:Ze()(Qr.head,Ut),style:Qt},y.createElement("span",{className:"primary-hover",onClick:Un},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:Wa},Wa),y.createElement("div",{className:Qr.node},hn)),ii={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Ro=({confirmShow:Ut=!0,confirmTitle:Qt,confirmClick:hn,cancelShow:Un=!0,cancelTitle:Wa,cancelClick:ir,className:Zn,style:Ma,confirmLoading:er=!1})=>y.createElement("div",{className:Ze()(ii.btns,Zn),style:Ma},Ut&&y.createElement(kn.ZP,{loading:er,onClick:hn,type:"primary",className:ii.confirm},Qt),Un&&y.createElement(kn.ZP,{onClick:ir,className:ii.cancel},Wa)),Oa={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},wo=({className:Ut,style:Qt={},LeftContent:hn,children:Un,RightContent:Wa})=>y.createElement("div",{className:Ze()(Oa.fixedBottom,Ut),style:Qt},y.createElement("div",{className:Oa.wrap},y.createElement("div",{className:Oa.left},hn),y.createElement("div",{className:Oa.center},Un),y.createElement("div",{className:Oa.right},Wa))),_o={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},jo=({className:Ut,style:Qt={},dataSource:hn=[]})=>y.createElement("div",{className:Ze()(_o.crumbs,Ut),style:Qt},hn.map((Un,Wa)=>Wamt.history.push(Un.path)},Un.name):y.createElement("span",null,Un.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:Wa,style:{color:"#5F6368"}},Un.name))),Si=ne(31797),ci=Object.defineProperty,ni=Object.defineProperties,Oi=Object.getOwnPropertyDescriptors,qo=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,Io=(Ut,Qt,hn)=>Qt in Ut?ci(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ut[Qt]=hn,Qi=(Ut,Qt)=>{for(var hn in Qt||(Qt={}))Do.call(Qt,hn)&&Io(Ut,hn,Qt[hn]);if(qo)for(var hn of qo(Qt))wi.call(Qt,hn)&&Io(Ut,hn,Qt[hn]);return Ut},pi=(Ut,Qt)=>ni(Ut,Oi(Qt)),nl=(Ut,Qt)=>{var hn={};for(var Un in Ut)Do.call(Ut,Un)&&Qt.indexOf(Un)<0&&(hn[Un]=Ut[Un]);if(Ut!=null&&qo)for(var Un of qo(Ut))Qt.indexOf(Un)<0&&wi.call(Ut,Un)&&(hn[Un]=Ut[Un]);return hn};const{Countdown:Ri}=Si.default;var gi=Ut=>{var Qt=Ut,{onChange:hn}=Qt,Un=nl(Qt,["onChange"]);const[Wa,ir]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof Wa=="number"&&Wa>=0&&hn(Wa)},[Wa]);const Zn=Ma=>{const er=Math.floor(Ma/1e3);ir(er)};return y.createElement(Ri,pi(Qi({},Un),{onChange:Zn}))},_i={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ol=({DataProps:Ut,className:Qt,style:hn={}})=>{var Un;return y.createElement("div",{className:Ze()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",_i.ClassRoomItem,Qt),style:hn,onClick:()=>{(0,ut.xg)(Ut==null?void 0:Ut.first_category_url)}},y.createElement("div",{className:"flex flex-col item-center"},y.createElement("img",{src:`${(Un=Ve.Z)==null?void 0:Un.IMG_SERVER}/images/${Ut==null?void 0:Ut.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Ut==null?void 0:Ut.subject_identifier)&&y.createElement("div",{className:"mt-40px"},y.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),y.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},y.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Ut!=null&&Ut.is_public)&&y.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),y.createElement("span",{className:Ze()("text-16px font-medium",_i.TitleDom)},Ut==null?void 0:Ut.name)),y.createElement("div",{className:"c-grey-333 font-medium"},Ut==null?void 0:Ut.creator),y.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Ut==null?void 0:Ut.course_members_count),y.createElement("div",{className:"c-grey-333 flex item-center justify-between"},y.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Ut==null?void 0:Ut.tasks_count),Ut!=null&&Ut.is_end?y.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):y.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},il=Object.defineProperty,eo=Object.getOwnPropertySymbols,Ua=Object.prototype.hasOwnProperty,da=Object.prototype.propertyIsEnumerable,ga=(Ut,Qt,hn)=>Qt in Ut?il(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ut[Qt]=hn,Fa=(Ut,Qt)=>{for(var hn in Qt||(Qt={}))Ua.call(Qt,hn)&&ga(Ut,hn,Qt[hn]);if(eo)for(var hn of eo(Qt))da.call(Qt,hn)&&ga(Ut,hn,Qt[hn]);return Ut},_r=({DataProps:Ut=[],selectValue:Qt,onChange:hn,className:Un,style:Wa={},extra:ir,classNameItem:Zn,styleItem:Ma={},barHidden:er})=>{const[Cr,io]=(0,y.useState)();return(0,y.useEffect)(()=>{io(Array.isArray(Qt)?Qt:[Qt])},[Qt]),y.createElement("div",{className:Ze()("flex px-20px py-10px gap-40px",Un),style:Fa({borderBottom:"1px solid #D3F0FF"},Wa)},Ut==null?void 0:Ut.map(Qn=>y.createElement("div",{key:Qn==null?void 0:Qn.id,className:Ze()("flex item-center justify-center current c-grey-333 text-16 relative",Zn,Qn==null?void 0:Qn.className),style:Fa(Fa({color:Cr!=null&&Cr.includes(Qn==null?void 0:Qn.id)?"#1890FF":"",minWidth:88},Ma),(Qn==null?void 0:Qn.style)||{}),onClick:Zr=>{hn==null||hn({domEvent:Zr,item:Qn}),Qn!=null&&Qn.link&&mt.history.push(Qn==null?void 0:Qn.link)}},Qn==null?void 0:Qn.name,!er&&(Cr==null?void 0:Cr.includes(Qn==null?void 0:Qn.id))&&y.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),y.createElement("div",{className:"ml-auto"},ir))},Po=Object.defineProperty,Lo=Object.defineProperties,Go=Object.getOwnPropertyDescriptors,To=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,ti=Object.prototype.propertyIsEnumerable,Di=(Ut,Qt,hn)=>Qt in Ut?Po(Ut,Qt,{enumerable:!0,configurable:!0,writable:!0,value:hn}):Ut[Qt]=hn,Ci=(Ut,Qt)=>{for(var hn in Qt||(Qt={}))Ga.call(Qt,hn)&&Di(Ut,hn,Qt[hn]);if(To)for(var hn of To(Qt))ti.call(Qt,hn)&&Di(Ut,hn,Qt[hn]);return Ut},Yi=(Ut,Qt)=>Lo(Ut,Go(Qt)),Ji=({value:Ut,onChange:Qt,onInputChange:hn,className:Un,style:Wa={},InputProps:ir})=>{const[Zn,Ma]=(0,y.useState)(Ut);return y.createElement("div",{className:Ze()("flex item-center rounded-full px-10px py-2px",Un),style:Ci({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Wa)},y.createElement(Ne.default,Yi(Ci({bordered:!1},ir),{onChange:er=>{Ma(er.target.value),hn==null||hn(encodeURIComponent(er.target.value))},onPressEnter:er=>{Qt==null||Qt({domEvent:er,item:{value:Zn}})}})),y.createElement("img",{className:"h-22px current",src:ne(25365),height:22,onClick:er=>{Qt==null||Qt({domEvent:er,item:{value:Zn}})}}))}},31103:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ue}});var y=ne(59301);function ue(Ce,Oe){const De=(0,y.useRef)();(0,y.useEffect)(()=>{De.current=Ce}),(0,y.useEffect)(()=>{function Ie(){De.current()}if(Oe!==null){let se=setInterval(Ie,Oe);return()=>clearInterval(se)}},[Oe])}},10129:function(Bt,Zt,ne){"use strict";ne.d(Zt,{h:function(){return y}});var y=(ue=>(ue[ue.NOMATCH=-1]="NOMATCH",ue[ue.OK=0]="OK",ue[ue.TIMEOUT=2]="TIMEOUT",ue[ue.PODFAILURE=3]="PODFAILURE",ue[ue.COMPILEFAILURE=4]="COMPILEFAILURE",ue[ue.EXECUTEFAILURE=5]="EXECUTEFAILURE",ue[ue.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ue))(y||{})},67172:function(Bt,Zt,ne){"use strict";ne.d(Zt,{H7:function(){return E},MK:function(){return le},MU:function(){return je},X6:function(){return He},bM:function(){return Ke},fi:function(){return a},fu:function(){return Ze},n4:function(){return x},rX:function(){return Le},vl:function(){return b},zO:function(){return ze}});var y=ne(38147),ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ie=(z,te,re)=>te in z?ue(z,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[te]=re,se=(z,te)=>{for(var re in te||(te={}))Oe.call(te,re)&&Ie(z,re,te[re]);if(Ce)for(var re of Ce(te))De.call(te,re)&&Ie(z,re,te[re]);return z};function Ze(z,te){return(0,y.U2)(`myproblems/${z}.json`,se({hidePopLogin:!0},te||{}))}function Ke(z,te){return(0,y.v_)(`myproblems/${z}/code_submit.json`,te)}function je(z,te){return(0,y.v_)(`myproblems/${z}/code_debug.json`,te)}function ze(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,y.U2)(`myproblems/${z}/submit_records.json`,te)}function He(z){return(0,y.U2)("myproblems/record_detail.json",{id:z})}function Le(z,te){return(0,y.U2)(`myproblems/${z}/result.json`,{mode:te})}function le(z,te){return(0,y.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,y.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,y.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,y.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,y.v_)(`discusses/${z}/plus.json`,te)}},26971:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ei}});var y=ne(59301),ue={flex_box_center:"flex_box_center___bZaL5",flex_space_between:"flex_space_between___oaJSq",flex_box_vertical_center:"flex_box_vertical_center____hsuP",flex_box_center_end:"flex_box_center_end___ZYbPQ",flex_box_column:"flex_box_column___nE_62",wrap:"wrap___ulhwR",left:"left___kyWln",title:"title___jsO1D",total:"total___GEhiU",list:"list___u9dBZ",name:"name___Wxggs",b:"b___Y15YO",r:"r___mKQoe",l:"l___uelFD",tag:"tag___Mpkbg",right:"right___mQ3dU",examName:"examName___Na1r8",t:"t___IgCWK",num:"num___CXI8j",topWarp:"topWarp___Kicpu",head:"head___jx3W8",so:"so___qYW7F",btn:"btn___EMJDz",content:"content___sHGsV",titleWrap:"titleWrap___I__GR",single:"single___K5iv9",analysis:"analysis___NoAuR",text:"text___xESW2",modalColumn:"modalColumn___I_tK_",modalRow:"modalRow___lyw_U",sup:"sup___HSz3Z",popover:"popover___kE8aI"},Ce=ne(78241),Oe=ne(6848),De=ne(3113),Ie=ne(43418),se=ne(5871),Ze=ne(8591),Ke=ne(92832),je=ne(28103),ze=ne(24905),He=ne(95237),Le=ne(43604),le=ne(58421),E=ne(60324),a=Object.defineProperty,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Ge,ot,ft)=>ot in Ge?a(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,re=(Ge,ot)=>{for(var ft in ot||(ot={}))b.call(ot,ft)&&te(Ge,ft,ot[ft]);if(x)for(var ft of x(ot))z.call(ot,ft)&&te(Ge,ft,ot[ft]);return Ge};const ie=Ge=>React.createElement("svg",re({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ge),React.createElement("title",null,"\u7F16\u7EC4 6"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E4E6FD",width:34,height:34,rx:10}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z",fill:"#6678EB"}),React.createElement("path",{d:"M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z",fill:"#6678EB"}),React.createElement("path",{d:"m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0 .064.011.126.031.184a.551.551 0 0 0 .258.33l3.293 1.9a.557.557 0 0 0 .559-.966Z",fill:"#FFF"}))));var ge="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg==",fe=ne(6339),ce=ne(65582),xe=ne(65862),ye=ne(38147),Ne=Object.defineProperty,pe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,dt=(Ge,ot,ft)=>ot in Ge?Ne(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,Re=(Ge,ot)=>{for(var ft in ot||(ot={}))Xe.call(ot,ft)&&dt(Ge,ft,ot[ft]);if(pe)for(var ft of pe(ot))We.call(ot,ft)&&dt(Ge,ft,ot[ft]);return Ge};const _e=Ge=>React.createElement("svg",Re({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ge),React.createElement("title",null,"\u7F16\u7EC4 12"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{width:34,height:34,rx:10,fill:"#EAF3F4"}),React.createElement("path",{d:"M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z",fill:"#21C0A6",fillRule:"nonzero"})));var mt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",Qe=Object.defineProperty,at=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,zt=(Ge,ot,ft)=>ot in Ge?Qe(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,Kt=(Ge,ot)=>{for(var ft in ot||(ot={}))Ht.call(ot,ft)&&zt(Ge,ft,ot[ft]);if(at)for(var ft of at(ot))ht.call(ot,ft)&&zt(Ge,ft,ot[ft]);return Ge};const Ve=Ge=>React.createElement("svg",Kt({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ge),React.createElement("title",null,"\u9898\u76EE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E7F3FF",width:34,height:34,rx:10}),React.createElement("g",{fill:"#4C6FFF",fillRule:"nonzero"},React.createElement("path",{d:"m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033-.744h-.001Zm-8.1 8.044a.534.534 0 0 1-.386.162.56.56 0 0 1-.388-.162l-3-2.81c-.226-.194-.226-.517-.033-.743.194-.227.517-.227.743-.033l3 2.811c.259.226.291.55.065.776ZM17 22.92h6.844v1.055H17z"}))));var ut="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg==",Mt=ne(70414),un=ne(96565),Dt=ne(97805),en=ne(20633),Be={wrap:"wrap___OIoOI",modal:"modal___Z3hfU",titleWrap:"titleWrap___aK3oG",required:"required___NHoO7",title:"title___uxb1R",colorGray:"colorGray___O8YPg",choiceWrap:"choiceWrap___t51sb",answer:"answer___vsBnh",activeAnswer:"activeAnswer___AJN4p",deleteIcon:"deleteIcon___WvOJZ",addIcon:"addIcon___UyeIs",editorWrap:"editorWrap___uqcFU",htmlWrap:"htmlWrap___GcBNL",radio:"radio___e8qQ5",color333:"color333___PLzVK",color999:"color999___v3EY0",fold:"fold___OfvPe",head:"head___EejYX",collapseWrapper:"collapseWrapper___sQyVD",panelHeader:"panelHeader___Ivicf",open:"open___aEOQE",close:"close___z4P5H",inputBorder:"inputBorder___ix67O",keywordTag:"keywordTag___iGx08",scoreByBlankRadio:"scoreByBlankRadio___Kwu7q"},Jt=ne(59301),yn=Object.defineProperty,Nt=Object.defineProperties,Ot=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,he=(Ge,ot,ft)=>ot in Ge?yn(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,et=(Ge,ot)=>{for(var ft in ot||(ot={}))Ye.call(ot,ft)&&he(Ge,ft,ot[ft]);if(tt)for(var ft of tt(ot))Fe.call(ot,ft)&&he(Ge,ft,ot[ft]);return Ge},Lt=(Ge,ot)=>Nt(Ge,Ot(ot)),we=(Ge,ot)=>{var ft={};for(var Gt in Ge)Ye.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&tt)for(var Gt of tt(Ge))ot.indexOf(Gt)<0&&Fe.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const be=null,Pt=(Ge,ot)=>{var ft=Ge,{globalSetting:Gt,loading:Ea,dispatch:nn,isEdit:qn,editData:Vn}=ft,Wn=we(ft,["globalSetting","loading","dispatch","isEdit","editData"]);const ia=(0,ce.useIntl)(),[Sn,aa]=(0,y.useState)(""),[Da,pr]=(0,y.useState)(""),[ur,Jn]=(0,y.useState)([]),[ca,jn]=(0,y.useState)(""),[Hn,tr]=(0,y.useState)(),[dr,Ta]=(0,y.useState)(!1),[Dn,sa]=(0,y.useState)({}),[ya,Za]=(0,y.useState)([]);(0,y.useEffect)(()=>{!Vn||!qn||(aa(Vn==null?void 0:Vn.name),pr(Vn==null?void 0:Vn.analysis),tr(Vn==null?void 0:Vn.is_ordered),sa(Vn),Ta(!0))},[Vn]),(0,y.useEffect)(()=>{if(!dr)return;const Yr=Vn==null?void 0:Vn.standard_answer.map(po=>po==null?void 0:po.answer_text);Jn(Yr);const Vo=Vn==null?void 0:Vn.standard_answer.map(po=>po==null?void 0:po.score);Za(Vo),Ta(!1)},[dr]),(0,y.useImperativeHandle)(ot,()=>({onSave:qr,Clear:Bo}));const qr=()=>{let Yr=[],Vo=!1;return Sn?(ur.forEach((po,Pi)=>{Yr.push({position:Pi+1,answer_text:[],score:ya[Pi]}),po==null||po.forEach((Fi,Rl)=>{Yr[Pi].answer_text.push(Fi),(!Fi||!(0,xe.eR)(Fi,1e4))&&(jn(`${Pi}-${Rl}`),Ze.ZP.info(Fi?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),Vo=!0)})}),Vo?!1:(Yr==null?void 0:Yr.length)>20?(Ze.ZP.warning("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC720\u4E2A\uFF01"),!1):{name:Sn,analysis:Da,standard_answers:Yr,is_ordered:Hn,downcase:Dn==null?void 0:Dn.downcase,no_space:Dn==null?void 0:Dn.no_space,use_blank_score:Dn==null?void 0:Dn.use_blank_score}):(Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1)},Bo=()=>{aa(""),pr(""),Jn([]),tr(!1)},mi=(Yr,Vo,po)=>{const Pi=ur.slice();if(Vo&&Pi.splice(Yr,Vo),po)for(let Fi=0;Fi{jn("");let Pi=ur.slice();Pi[Yr][Vo]=po,Jn(Pi)},kr=Yr=>{let Vo=ur.slice();Vo[Yr]=[...Vo[Yr],""],Jn(Vo)},Ti=(Yr,Vo)=>{let po=ur.slice();if(!po[Yr][Vo]){po[Yr]=po[Yr].filter((Pi,Fi)=>Fi!==Vo),Jn(po);return}Ie.default.confirm({centered:!0,okText:ia.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:ia.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:ia.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Be.modal,onOk:()=>{po[Yr]=po[Yr].filter((Pi,Fi)=>Fi!==Vo),Jn(po)}})},Wi=Yr=>{Ie.default.confirm({centered:!0,okText:ia.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:ia.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:ia.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Be.modal,onOk:()=>{let Vo=ur.slice();Vo=ur.filter((po,Pi)=>Yr!==Pi),Jn(Vo)}})};return Jt.createElement("section",{className:Be.wrap},Jt.createElement("p",{className:Be.titleWrap},Jt.createElement("span",{className:Be.required},"*"),Jt.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Jt.createElement("div",null,Jt.createElement(Dt.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:Sn,onChange:Yr=>aa(Yr),showNullButton:!0,onPlaceholderChange:mi})),Jt.createElement("div",{className:"mt20"},ur.map((Yr,Vo)=>Jt.createElement("div",{style:{display:"flex"}},Jt.createElement("div",{style:{flex:1}},Jt.createElement(en.Z,{key:Vo,answers:Yr,index:Vo,flex:1,is_md:!0,activeOptionErrorIndex:ca,onAnswerChange:Ko,addChildAnswer:kr,deleteChildAnswer:Ti,deleteChildAnswermain:Wi})),Dn.use_blank_score&&Jt.createElement("div",{style:{display:"flex",alignItems:"center",width:"165px"}},Jt.createElement("span",{style:{color:"red",margin:"auto 5px auto 10px"}},"*"),"\u5206\u503C\uFF1A",Jt.createElement(se.Z,{style:{width:"100px"},size:"large",defaultValue:ya[Vo],onBlur:po=>{ya[Vo]=po.target.value,Za([...ya])}}))))),Jt.createElement("div",null,Jt.createElement(ze.default,{className:`${Be.color333} font14 mt20`,checked:Dn.use_blank_score,onChange:Yr=>sa(Lt(et({},Dn),{use_blank_score:Yr.target.checked}))},"\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206"),Jt.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u9700\u8981\u8BBE\u7F6E\u6BCF\u7A7A\u5206\u503C\uFF0C\u5B66\u751F\u7B54\u6848\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206\uFF09")),Jt.createElement("div",null,Jt.createElement(ze.default,{className:`${Be.color333} font14 mt20`,checked:Dn.downcase,onChange:Yr=>sa(Lt(et({},Dn),{downcase:Yr.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Jt.createElement("div",null,Jt.createElement(ze.default,{className:`${Be.color333} font14 mt20`,checked:Dn.no_space,onChange:Yr=>sa(Lt(et({},Dn),{no_space:Yr.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),Jt.createElement("div",{className:"mt20"},(ur==null?void 0:ur.length)>1&&Jt.createElement("span",null,Jt.createElement(ze.default,{checked:Hn,onChange:Yr=>tr(Yr.target.checked),className:`${Be.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Jt.createElement("span",{className:`${Be.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Jt.createElement("p",{className:Be.titleWrap},Jt.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Jt.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Da,onChange:Yr=>pr(Yr)}))};var Je=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(Pt)),Te=ne(5112),Ct=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,on=(Ge,ot)=>{var ft={};for(var Gt in Ge)pn.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&Ct)for(var Gt of Ct(Ge))ot.indexOf(Gt)<0&&Tt.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const an=null,mn=(Ge,ot)=>{var ft=Ge,{globalSetting:Gt,loading:Ea,editData:nn,dispatch:qn,onRef:Vn=()=>{},isEdit:Wn}=ft,ia=on(ft,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[Sn,aa]=(0,y.useState)(),[Da,pr]=(0,y.useState)(""),[ur,Jn]=(0,y.useState)("");(0,y.useEffect)(()=>{if(!nn||!Wn)return;pr(nn==null?void 0:nn.name),Jn(nn==null?void 0:nn.analysis);const Hn=nn==null?void 0:nn.choices.find(tr=>tr.is_answer);aa(Hn.choice_text==="\u6B63\u786E"?"0":"1")},[nn]),(0,y.useImperativeHandle)(ot,()=>({onSave:ca,Clear:jn}));const ca=()=>Da?Sn?{name:Da,choices:[{choice_text:"\u6B63\u786E",is_answer:Sn==="0"?1:0},{choice_text:"\u9519\u8BEF",is_answer:Sn==="1"?1:0}],analysis:ur}:(Ze.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1):(Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1),jn=()=>{pr(""),Jn(""),aa("")};return y.createElement("section",{className:Be.wrap},y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),y.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Da,onChange:Hn=>pr(Hn)}),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",y.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),y.createElement(Te.ZP.Group,{buttonStyle:"solid",value:Sn,onChange:Hn=>aa(Hn.target.value)},y.createElement(Te.ZP.Button,{value:"0",className:`${Be.radio} mr40`},"\u6B63\u786E"),y.createElement(Te.ZP.Button,{value:"1",className:Be.radio},"\u9519\u8BEF")),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),y.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:ur,onChange:Hn=>Jn(Hn)}))};var ke=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(mn)),it=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,vt=Object.prototype.propertyIsEnumerable,lt=(Ge,ot)=>{var ft={};for(var Gt in Ge)Et.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&it)for(var Gt of it(Ge))ot.indexOf(Gt)<0&&vt.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const tn=null,En=(Ge,ot)=>{var ft=Ge,{globalSetting:Gt,loading:Ea,editData:nn,dispatch:qn,onRef:Vn=()=>{},isEdit:Wn}=ft,ia=lt(ft,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[Sn,aa]=(0,y.useState)([]);(0,y.useEffect)(()=>{var Jn;if(!nn||!Wn)return;const ca=(Jn=nn==null?void 0:nn.shixun)==null?void 0:Jn.challenges.map(jn=>({id:jn==null?void 0:jn.id,score:jn.score}));aa(ca)},[nn]),(0,y.useImperativeHandle)(ot,()=>({onSave:Da,Clear:pr}));const Da=()=>({challenges:[...Sn]}),pr=()=>{aa([])};console.log("editData--",nn);const ur=Jn=>{var ca,jn;return y.createElement("div",null,(jn=(ca=Jn==null?void 0:Jn.shixun)==null?void 0:ca.challenges)==null?void 0:jn.map((Hn,tr)=>{var dr;return y.createElement("div",{className:"c-grey-666 font14 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"15px"}},y.createElement("div",null,y.createElement("span",{className:"mr5"},"\u7B2C",tr+1,"\u5173"),y.createElement(Oe.Z,{key:tr,title:Hn==null?void 0:Hn.challenge_name},y.createElement("span",null,(0,xe.Pq)(Hn==null?void 0:Hn.challenge_name,44)))),y.createElement("p",{style:{marginBottom:0}},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u5206\u503C\uFF1A"),y.createElement(se.Z,{precision:1,min:1,max:100,className:Be.baseFormItem,style:{width:176},value:(dr=Sn.find(Ta=>Ta.id===Hn.id))==null?void 0:dr.score,onChange:Ta=>{Sn.find(Dn=>Dn.id===Hn.id).score=Ta,aa([...Sn])}})))}),y.createElement("div",{style:{clear:"both"}}))};return y.createElement("section",{className:Be.wrap},y.createElement(fe.Z,{style:{paddingRight:10},className:Be.titleHtml,value:`${nn==null?void 0:nn.position}\u3001${nn==null?void 0:nn.name}`}),y.createElement("p",{style:{marginBottom:"10px",marginTop:"25px"}},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u5173\u5361")),ur(nn))};var Cn=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(En)),In=Object.getOwnPropertySymbols,ra=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Yt=(Ge,ot)=>{var ft={};for(var Gt in Ge)ra.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&In)for(var Gt of In(Ge))ot.indexOf(Gt)<0&&Xt.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const qt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],Ln=(Ge,ot)=>{var ft=Ge,{editData:Gt,globalSetting:Ea,loading:nn,dispatch:qn,onRef:Vn=()=>{},isEdit:Wn}=ft,ia=Yt(ft,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const Sn=(0,ce.useIntl)(),[aa,Da]=(0,y.useState)([]),[pr,ur]=(0,y.useState)(),[Jn,ca]=(0,y.useState)([]),[jn,Hn]=(0,y.useState)(""),[tr,dr]=(0,y.useState)("");(0,y.useEffect)(()=>{Da(["","","",""])},[]),(0,y.useEffect)(()=>{if(!Gt||!Wn)return;Hn(Gt==null?void 0:Gt.name),dr(Gt==null?void 0:Gt.analysis),Da(Gt==null?void 0:Gt.choices.map(ya=>ya.choice_text));const sa=[];Gt==null||Gt.choices.map((ya,Za)=>{ya.is_answer&&sa.push(Za)}),ca(sa)},[Gt]),(0,y.useImperativeHandle)(ot,()=>({onSave:Ta,Clear:Dn}));const Ta=()=>{if(!jn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const sa=aa.findIndex(Za=>!Za);if(sa>-1)return Ze.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${qt[sa]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Jn.length)return Ze.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(Jn.length<2)return Ze.ZP.info("\u591A\u9009\u9898\u6700\u5C0F\u6B63\u786E\u9009\u9879\u4E3A2\u4E2A"),!1;const ya=aa.map((Za,qr)=>({choice_text:Za,is_answer:Jn.includes(qr)?1:0}));return{name:jn,choices:ya,analysis:tr}},Dn=()=>{Da(["","","",""]),Hn(""),dr(""),ca("")};return y.createElement("section",{className:Be.wrap},y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),y.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:jn,onChange:sa=>Hn(sa)}),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",y.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),aa.map((sa,ya)=>y.createElement("div",{className:Be.choiceWrap,key:ya},y.createElement(Oe.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},y.createElement("div",{className:`${Be.answer} ${Jn.includes(ya)?Be.activeAnswer:""}`,onClick:()=>{Jn.includes(ya)?ca(Jn.filter(Za=>Za!==ya)):ca([...Jn,ya])}},qt[ya])),y.createElement("div",{className:Be.editorWrap},pr===ya?y.createElement(un.Z,{id:`single-question-option-${ya}`,watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:sa,onChange:Za=>{aa[ya]=Za,Da(aa)}}):y.createElement("div",{className:Be.htmlWrap,onClick:()=>ur(ya)},y.createElement(fe.Z,{value:sa}))),ya>1&&y.createElement(Oe.Z,{title:Sn.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},y.createElement("i",{className:`${Be.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{Da(aa.filter((Za,qr)=>qr!==ya)),Jn.includes(ya)?ca(Jn.filter(Za=>Za!==ya)):ca([...Jn,ya])}})),ya<7&&ya===aa.length-1&&y.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},y.createElement("i",{className:`${Be.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Da([...aa,""])})))),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),y.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:tr,onChange:sa=>dr(sa)}))};var $t=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(Ln)),ha=Object.getOwnPropertySymbols,ba=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,ln=(Ge,ot)=>{var ft={};for(var Gt in Ge)ba.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&ha)for(var Gt of ha(Ge))ot.indexOf(Gt)<0&&Xn.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const Ba=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],qe=(Ge,ot)=>{var ft=Ge,{editData:Gt,globalSetting:Ea,loading:nn,dispatch:qn,onRef:Vn=()=>{},isEdit:Wn}=ft,ia=ln(ft,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const Sn=(0,ce.useIntl)(),[aa,Da]=(0,y.useState)([]),[pr,ur]=(0,y.useState)(),[Jn,ca]=(0,y.useState)(),[jn,Hn]=(0,y.useState)(""),[tr,dr]=(0,y.useState)("");(0,y.useEffect)(()=>{Da(["","","",""])},[]),(0,y.useEffect)(()=>{if(!Gt||!Wn)return;const sa=[],ya=[];Gt==null||Gt.choices.forEach((Za,qr)=>{sa.push(Za.choice_text),Za.is_answer&&ya.push(qr)}),Hn(Gt==null?void 0:Gt.name),dr(Gt==null?void 0:Gt.analysis),Da(sa),ca(ya)},[Gt]),(0,y.useImperativeHandle)(ot,()=>({onSave:Ta,Clear:Dn}));const Ta=()=>{if(!jn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const sa=aa.findIndex(Za=>!Za);if(sa>-1)return Ze.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Ba[sa]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Array.isArray(Jn))return Ze.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;const ya=aa.map((Za,qr)=>({choice_text:Za,is_answer:Jn.includes(qr)?1:0}));return{name:jn,choices:ya,analysis:tr}},Dn=()=>{Da(["","","",""]),Hn(""),dr(""),ca("")};return y.createElement("section",{className:Be.wrap},y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),y.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:jn,onChange:sa=>Hn(sa)}),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",y.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),aa.map((sa,ya)=>y.createElement("div",{className:Be.choiceWrap,key:ya},y.createElement(Oe.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},y.createElement("div",{className:`${Be.answer} ${Jn!=null&&Jn.includes(ya)?Be.activeAnswer:""}`,onClick:()=>ca([ya])},Ba[ya])),y.createElement("div",{className:Be.editorWrap},pr===ya?y.createElement(un.Z,{id:`single-question-option-${ya}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:sa,onChange:Za=>{aa[ya]=Za,Da(aa)}}):y.createElement("div",{className:Be.htmlWrap,onClick:()=>ur(ya)},y.createElement(fe.Z,{value:sa}))),ya>1&&y.createElement(Oe.Z,{title:Sn.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},y.createElement("i",{className:`${Be.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{Da(aa.filter((Za,qr)=>qr!==ya)),ya===Jn&&ca(null)}})),ya<7&&ya===aa.length-1&&y.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},y.createElement("i",{className:`${Be.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>Da([...aa,""])})))),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),y.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:tr,onChange:sa=>dr(sa)}))};var cn=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(qe)),Nn=ne(12563),bn=ne(78673),wn=ne(61485),zn=ne(59301),Kn=Object.defineProperty,ct=Object.defineProperties,At=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,vn=(Ge,ot,ft)=>ot in Ge?Kn(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,$n=(Ge,ot)=>{for(var ft in ot||(ot={}))dn.call(ot,ft)&&vn(Ge,ft,ot[ft]);if(St)for(var ft of St(ot))An.call(ot,ft)&&vn(Ge,ft,ot[ft]);return Ge},Tn=(Ge,ot)=>ct(Ge,At(ot)),_n=(Ge,ot)=>{var ft={};for(var Gt in Ge)dn.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&St)for(var Gt of St(Ge))ot.indexOf(Gt)<0&&An.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft},Pa=(Ge,ot,ft)=>new Promise((Gt,Ea)=>{var nn=Wn=>{try{Vn(ft.next(Wn))}catch(ia){Ea(ia)}},qn=Wn=>{try{Vn(ft.throw(Wn))}catch(ia){Ea(ia)}},Vn=Wn=>Wn.done?Gt(Wn.value):Promise.resolve(Wn.value).then(nn,qn);Vn((ft=ft.apply(Ge,ot)).next())});const za=Ge=>{if(!Ge)return!1;if(/^s*$/.test(Ge)||Ge.trim()===""){Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let ot=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Ge==="|"?(Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Bn=({value:Ge=[],onClose:ot})=>zn.createElement(Nn.default,{closable:!0,onClose:ot,className:Be.keywordTag},zn.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Ge.join(" \u6216 "))),Sa=(Ge,ot)=>{var ft=Ge,{editData:Gt,globalSetting:Ea,loading:nn,dispatch:qn,onRef:Vn=()=>{},isEdit:Wn}=ft,ia=_n(ft,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[Sn,aa]=(0,y.useState)(""),[Da,pr]=(0,y.useState)(""),[ur,Jn]=(0,y.useState)(""),[ca,jn]=(0,y.useState)(""),[Hn]=Ce.default.useForm(),tr=Ce.default.useWatch("use_keywords",Hn);(0,y.useEffect)(()=>{var sa;!Gt||!Wn||(aa(Gt==null?void 0:Gt.name),pr(Gt==null?void 0:Gt.analysis),Jn((sa=Gt==null?void 0:Gt.answer_texts)==null?void 0:sa[0]),Hn.setFieldsValue($n({},Gt)))},[Gt]),(0,y.useImperativeHandle)(ot,()=>({onSave:dr,Clear:Ta}));const dr=()=>Pa(void 0,null,function*(){if(!Sn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Hn.validateFields()}catch(ya){Ze.ZP.error(ya.errorFields[0].errors[0]);return}const sa=Hn.getFieldsValue();return console.log(sa,"values"),$n({name:Sn,answer_texts:[ur],analysis:Da},sa)}),Ta=()=>{aa(""),pr(""),Jn(""),Hn.resetFields()},Dn=Gt==null?void 0:Gt.score;return zn.createElement("section",{className:Be.wrap},zn.createElement("p",{className:Be.titleWrap},zn.createElement("span",{className:Be.required},"*"),zn.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),zn.createElement(un.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:Sn,onChange:sa=>aa(sa)}),zn.createElement("p",{className:Be.titleWrap},zn.createElement("span",{className:Be.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),zn.createElement(un.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:ur,onChange:sa=>Jn(sa)}),zn.createElement("p",{className:Be.titleWrap},zn.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),zn.createElement(un.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Da,onChange:sa=>pr(sa)}),zn.createElement(Ce.default,{form:Hn,size:"large",onFinishFailed:sa=>Pa(void 0,null,function*(){var ya,Za;Ze.ZP.error(sa.errorFields[0].errors[0]),Hn.scrollToField((Za=(ya=sa==null?void 0:sa.errorFields)==null?void 0:ya[0])==null?void 0:Za.name,{behavior:"smooth",block:"center"})})},zn.createElement(He.Z,{align:"middle",className:"mb30 mt20"},zn.createElement(Ce.default.Item,{noStyle:!0,name:"use_keywords",valuePropName:"checked"},zn.createElement(bn.Z,null)),zn.createElement(Le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),zn.createElement(Le.Z,null,zn.createElement(Oe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},zn.createElement(wn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),tr&&zn.createElement(Ce.default.List,{name:"keywords",rules:[{validator(sa,ya){return ya!=null&&ya.length?(ya==null?void 0:ya.reduce((qr,Bo)=>qr+Bo.score,0))>parseFloat(Dn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD"))}}]},(sa,{add:ya,remove:Za})=>zn.createElement(zn.Fragment,null,zn.createElement("div",{className:"mb10"},"\u5173\u952E\u8BCD"),zn.createElement(He.Z,{align:"middle",className:"font14 mb30"},zn.createElement(Le.Z,{flex:1},zn.createElement(Ke.default,{value:ca,onChange:qr=>{jn(qr.target.value)},maxLength:50,allowClear:!0,onPressEnter:qr=>{var Bo,mi,Ko,kr;const Ti=`${(Bo=qr.target)==null?void 0:Bo.value}`,Wi=(Ko=(mi=Ti==null?void 0:Ti.split("|"))==null?void 0:mi.filter(po=>!!po))==null?void 0:Ko.map(po=>po==null?void 0:po.trim()),Yr=Hn.getFieldValue("keywords"),Vo=((kr=Yr==null?void 0:Yr.map(po=>po==null?void 0:po.keyword))==null?void 0:kr.flat())||[];for(const po of Wi)if(Vo.includes(po)){Ze.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}za(Ti)&&(ya({keyword:Wi,score:1}),jn(""))},className:Be.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),zn.createElement(Le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),sa.map(qr=>{var Bo=qr,{key:mi,name:Ko}=Bo,kr=_n(Bo,["key","name"]);return zn.createElement(He.Z,{key:mi,style:{marginRight:148}},zn.createElement(Le.Z,{flex:1},zn.createElement(He.Z,{align:"middle",justify:"space-between"},zn.createElement(Ce.default.Item,Tn($n({},kr),{name:[Ko,"keyword"]}),zn.createElement(Bn,{onClose:()=>Za(Ko)})),zn.createElement(Ce.default.Item,Tn($n({},kr),{name:[Ko,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),zn.createElement(se.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))})))))};var qa=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(Sa)),cr=ne(36381),Gn={wrap:"wrap___Cc0gS",deleteIcon:"deleteIcon___ebwMv",keywordTag:"keywordTag___lUfL5",questionTitleEditorWrap:"questionTitleEditorWrap___u9UgK",choiceWrap:"choiceWrap___VHsr3",choiceIndex:"choiceIndex___rsj9r",judgementIndex:"judgementIndex___fMm6E",setAnswerBtn:"setAnswerBtn___krVC9",activeAnswer:"activeAnswer___WiYo2",activeJudgementAnswer:"activeJudgementAnswer___M6iww",actionWrapper:"actionWrapper___oKI8_",addIcon:"addIcon___eMbGP",inputBorder:"inputBorder___ob_6x",placeholder:"placeholder___Vkwr4",blankWrapper:"blankWrapper____MZQ5",blankInput:"blankInput___ephwY",blankInputNumberWrapper:"blankInputNumberWrapper___C1UJS",addBtn:"addBtn___qRBpJ",blankIndex:"blankIndex___QsKgf",baseInputWrapper:"baseInputWrapper___juqCB",collapseWrapper:"collapseWrapper___kAXJ0",panelHeader:"panelHeader___hLTSe",open:"open___wWDjf",close:"close___XPTJ0",hide:"hide___VytUy"},sn=ne(32134),Ir=ne(12893),_a=Object.defineProperty,Rr=Object.defineProperties,Tr=Object.getOwnPropertyDescriptors,wr=Object.getOwnPropertySymbols,Hr=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,ho=(Ge,ot,ft)=>ot in Ge?_a(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,Qo=(Ge,ot)=>{for(var ft in ot||(ot={}))Hr.call(ot,ft)&&ho(Ge,ft,ot[ft]);if(wr)for(var ft of wr(ot))Oo.call(ot,ft)&&ho(Ge,ft,ot[ft]);return Ge},kn=(Ge,ot)=>Rr(Ge,Tr(ot)),Vr=(Ge,ot)=>{var ft={};for(var Gt in Ge)Hr.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&wr)for(var Gt of wr(Ge))ot.indexOf(Gt)<0&&Oo.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const Ur=Ge=>{var ot=Ge,{value:ft,onChange:Gt,scrollId:Ea}=ot,nn=Vr(ot,["value","onChange","scrollId"]);return y.createElement("div",{id:Ea||""},y.createElement(un.Z,kn(Qo({},nn),{defaultValue:ft,onChange:(qn,Vn)=>{Vn!=null&&Vn.length?Gt(qn,Vn):Gt(qn)}})))},Wr=({value:Ge,onChange:ot,placeholder:ft,height:Gt=140,isEdit:Ea})=>Ea?y.createElement(un.Z,{watch:!0,isFocus:!0,height:Gt,placeholder:ft,defaultValue:Ge,onChange:ot}):y.createElement("div",{style:{cursor:"pointer"}},Ge?y.createElement(fe.Z,{className:Gn.inputBorder,value:Ge}):y.createElement("div",{className:`${Gn.inputBorder} ${Gn.placeholder}`},ft));var Ja=ne(59301),na=Object.defineProperty,ka=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,Ca=Object.getOwnPropertySymbols,Br=Object.prototype.hasOwnProperty,no=Object.prototype.propertyIsEnumerable,xo=(Ge,ot,ft)=>ot in Ge?na(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,Qr=(Ge,ot)=>{for(var ft in ot||(ot={}))Br.call(ot,ft)&&xo(Ge,ft,ot[ft]);if(Ca)for(var ft of Ca(ot))no.call(ot,ft)&&xo(Ge,ft,ot[ft]);return Ge},Mo=(Ge,ot)=>ka(Ge,$a(ot)),fi=(Ge,ot)=>{var ft={};for(var Gt in Ge)Br.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&Ca)for(var Gt of Ca(Ge))ot.indexOf(Gt)<0&&no.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const ii=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],tl=({value:Ge,onChange:ot,choiceTextKey:ft,answerKey:Gt,index:Ea,isEdit:nn,setInputActive:qn,form:Vn,choiceOptionsPath:Wn,allowChangeMode:ia,showAddIcon:Sn,addItem:aa,deleteItem:Da})=>{const pr=(0,ce.useIntl)(),ur=(Ge==null?void 0:Ge[Gt])===!0,Jn=()=>{const jn=Vn.getFieldValue(Wn);Vn.setFieldValue(Wn,jn.map(Hn=>Mo(Qr({},Hn),{[Gt]:!1})))},ca=()=>{ur?ot(Mo(Qr({},Ge),{[Gt]:!1})):(ia||Jn(),ot(Mo(Qr({},Ge),{[Gt]:!0})))};return Ja.createElement(He.Z,{className:Gn.choiceWrap,align:"middle",wrap:!1},Ja.createElement(Le.Z,{onClick:ca,className:`${Gn.choiceIndex} ${ur?Gn.activeAnswer:""}`},ii[Ea]),Ja.createElement(Le.Z,{flex:1,className:`${Gn.editorWrap} ml15`,onClick:qn},Ja.createElement(Wr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:nn,value:Ge==null?void 0:Ge[ft],onChange:jn=>{ot(Mo(Qr({},Ge),{[ft]:jn}))}})),Ja.createElement(Le.Z,{flex:"0 0 auto",className:"ml15"},Ja.createElement("div",{onClick:ca,className:`${Gn.setAnswerBtn} ${ur?Gn.activeAnswer:""}`},ur?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ja.createElement(Le.Z,{className:Gn.actionWrapper},Ja.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ja.createElement(sn.Z,{className:Gn.addIcon,onClick:aa,style:{visibility:Sn?"visible":"hidden"}})),Ja.createElement(Oe.Z,{title:pr.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},Ja.createElement(Ir.Z,{className:Gn.deleteIcon,onClick:Da,style:{visibility:Ea>1?"visible":"hidden"}}))))},Ro=({questionTitlePlaceholder:Ge,titleKey:ot,choiceKey:ft,analysisKey:Gt,choiceTextKey:Ea,answerKey:nn,choiceOptionsPath:qn,allowChangeMode:Vn=!0,form:Wn,showAnalysis:ia=!0})=>{const[Sn,aa]=(0,y.useState)(),[Da,pr]=(0,y.useState)(!1);return Ja.createElement("div",{className:Gn.wrap},Ja.createElement("div",{className:Gn.questionTitleEditorWrap},Ja.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:ot,labelCol:{span:24},rules:[{required:!0}]},Ja.createElement(Ur,{scrollId:Array.isArray(ot)?ot.join("_"):`${ot}`,watch:!0,height:140,placeholder:Ge}))),Ja.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ja.createElement(Ce.default.List,{name:ft,rules:[{validator(ur,Jn){const ca=Jn.some(Hn=>Hn[nn]),jn=Jn.findIndex(Hn=>{var tr;return((tr=Hn[Ea])==null?void 0:tr.length)<=0});return jn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ii[jn]}\u9009\u9879\u7684\u5185\u5BB9`)):ca?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(ur,{add:Jn,remove:ca})=>Ja.createElement("div",{id:Array.isArray(qn)?qn.join("_"):`${qn}`},ur.map((jn,Hn)=>{var tr=jn,{key:dr,name:Ta}=tr,Dn=fi(tr,["key","name"]);const sa=Sn===dr,ya=()=>{aa(dr)},Za=Hn<7&&Hn===ur.length-1,qr=()=>Jn({[Ea]:"",[nn]:0}),Bo=()=>ca(Ta);return Ja.createElement(Ce.default.Item,Mo(Qr({},Dn),{key:dr,name:Ta,noStyle:!0}),Ja.createElement(tl,{choiceTextKey:Ea,answerKey:nn,index:Hn,isEdit:sa,setInputActive:ya,form:Wn,choiceOptionsPath:qn,allowChangeMode:Vn,showAddIcon:Za,addItem:qr,deleteItem:Bo}))}),ur.length<8&&Ja.createElement("div",{className:`${Gn.addBtn} mb30`,onClick:()=>Jn({[Ea]:"",[nn]:0})},"\u6DFB\u52A0\u9009\u9879"))),ia&&Ja.createElement("div",{onClick:()=>pr(!0)},Ja.createElement(Ce.default.Item,{name:Gt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ja.createElement(Wr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Da}))))};var Oa=ne(59301),Eo=Object.defineProperty,wo=Object.defineProperties,_o=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertySymbols,jo=Object.prototype.hasOwnProperty,Si=Object.prototype.propertyIsEnumerable,ci=(Ge,ot,ft)=>ot in Ge?Eo(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,ni=(Ge,ot)=>{for(var ft in ot||(ot={}))jo.call(ot,ft)&&ci(Ge,ft,ot[ft]);if(Zo)for(var ft of Zo(ot))Si.call(ot,ft)&&ci(Ge,ft,ot[ft]);return Ge},Oi=(Ge,ot)=>wo(Ge,_o(ot)),qo=(Ge,ot)=>{var ft={};for(var Gt in Ge)jo.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&Zo)for(var Gt of Zo(Ge))ot.indexOf(Gt)<0&&Si.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const Do=({value:Ge,onChange:ot})=>{const ft=(0,ce.useIntl)(),Gt=nn=>{Ie.default.confirm({centered:!0,okText:ft.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:ft.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:ft.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Gn.modal,onOk:()=>{const qn=[...Ge];qn.splice(nn,1),ot(qn)}})},Ea=()=>{const nn=[...Ge];nn.push(""),ot(nn)};return Oa.createElement(He.Z,{align:"middle",className:"ml20",gutter:[40,20]},Ge==null?void 0:Ge.map((nn,qn)=>Oa.createElement(Le.Z,{key:`${nn}_${qn}`,className:Gn.blankWrapper},Oa.createElement(Ke.default,{className:Gn.blankInput,defaultValue:nn,maxLength:1e3,onBlur:Vn=>{const Wn=[...Ge],ia=Vn.target.value.trim();Wn[qn]=ia,ot(Wn)}}),Oa.createElement(Oe.Z,{title:ft.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},Oa.createElement(Ir.Z,{className:Gn.deleteIcon,style:{marginLeft:15,visibility:qn>0?"visible":"hidden"},onClick:()=>Gt(qn)})))),Oa.createElement(Le.Z,null,Oa.createElement("div",{className:`${Gn.addBtn}`,onClick:()=>{Ea()}},"\u65B0\u589E\u7B54\u6848")))},wi=({value:Ge=!0,onChange:ot})=>Oa.createElement(bn.Z,{checked:!Ge,onChange:ft=>{ot(!ft)}}),Io="\u2581",Qi=({questionTitlePlaceholder:Ge,form:ot,name:ft,scoreByBlank:Gt="use_blank_score",answerKey:Ea,titleKey:nn="name",analysisKey:qn="analysis",isOrdered:Vn="is_ordered"})=>{var Wn,ia;const Sn=(0,ce.useIntl)(),[aa,Da]=(0,y.useState)(!1),pr=(Ta,Dn)=>{const sa=Dn.line;let ya=0;for(let qr=0;qr{const Za=Ta.getRange(Dn.from,Dn.to);let qr=0;if(Dn.text.forEach(Bo=>{qr+=Bo.split(Io).length-1}),Dn.origin!=="setValue"){if(Za&&Za.indexOf(Io)!==-1){const Bo=Za.split(Io).length-1,mi=pr(Ta,Dn.from);if(console.log(`\u5220\u9664${Bo}\u4E2A\uFF0C \u524D\u9762\u6709${mi}\u4E2A\uFF0C\u65B0\u589E${qr}\u4E2A`),Bo>1){const Ko=Array.from({length:Bo},(kr,Ti)=>mi+Ti);ya(Ko)}else ya(mi)}else if(qr>0){const Bo=pr(Ta,Dn.from);console.log(`\u65B0\u589E${qr}\u4E2A\uFF0C\u4E4B\u524D\u6709${Bo}\u4E2A`),sa(qr,Bo)}}},Jn=()=>{const Ta=ot.getFieldValue(["sub_item_banks",...Ea]);ot.setFieldValue(["sub_item_banks",...Ea],Ta==null?void 0:Ta.map((Dn,sa)=>Oi(ni({},Dn),{position:sa+1})))},ca=(0,y.useRef)(),jn=(Ta,Dn)=>{for(let sa=0;sa{Hn.current(Ta),Jn()},dr=(ia=(Wn=ot.getFieldValue("sub_item_banks"))==null?void 0:Wn[Ea==null?void 0:Ea[0]])==null?void 0:ia[Ea==null?void 0:Ea[1]];return Oa.createElement("div",{className:Gn.wrap},Oa.createElement("div",{className:Gn.questionTitleEditorWrap},Oa.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:nn,labelCol:{span:24},rules:[{required:!0}]},Oa.createElement(Ur,{scrollId:"name",watch:!0,height:140,placeholder:Ge,showNullButton:!0,onCMBeforeChange:(Ta,Dn)=>{ur(Ta,Dn,jn,tr)}}))),Oa.createElement(Ce.default.List,{name:Ea,rules:[{validator(Ta,Dn){if((Dn==null?void 0:Dn.length)===0)return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const sa of Dn){const{answer_text:ya}=sa||{};if(ya!=null&&ya.some(Za=>(Za==null?void 0:Za.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(Ta,{add:Dn,remove:sa},{errors:ya})=>(ca.current=Dn,Hn.current=sa,Oa.createElement(Oa.Fragment,null,Oa.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ta.map((Za,qr)=>{var Bo=Za,{key:mi,name:Ko}=Bo,kr=qo(Bo,["key","name"]);return Oa.createElement(He.Z,{className:"mb20",key:mi,align:"middle",wrap:!1},Oa.createElement(Le.Z,{flex:"0 0 auto",className:`${Gn.blankIndex}`},"\u586B\u7A7A\u9879",qr+1),Oa.createElement(Le.Z,{flex:1},Oa.createElement(He.Z,{align:"top",justify:"space-between",wrap:!1},Oa.createElement(Le.Z,null,Oa.createElement(Ce.default.Item,Oi(ni({},kr),{name:[Ko,"answer_text"],noStyle:!0}),Oa.createElement(Do,null))),(ot==null?void 0:ot.getFieldValue(["sub_item_banks",...Gt]))&&Oa.createElement(Le.Z,{flex:"224px"},Oa.createElement(Ce.default.Item,Oi(ni({},kr),{name:[Ko,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Gn.blankInputNumberWrapper}),Oa.createElement(se.Z,{className:Gn.blankInput,min:.1,max:100,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),Oa.createElement(Ce.default.Item,Oi(ni({},kr),{name:[Ko,"position"],noStyle:!0}),Oa.createElement(Ke.default,{type:"hidden"}))))})))),Oa.createElement(He.Z,{align:"middle"},Oa.createElement(Ce.default.Item,{name:[ft,"downcase"],valuePropName:"checked"},Oa.createElement(bn.Z,null)),Oa.createElement(Le.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Oa.createElement(He.Z,{align:"middle"},Oa.createElement(Ce.default.Item,{name:[ft,"no_space"],valuePropName:"checked"},Oa.createElement(bn.Z,null)),Oa.createElement(Le.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(dr==null?void 0:dr.length)>1&&Oa.createElement(He.Z,{align:"middle",className:(dr==null?void 0:dr.length)>1?"mb30":`${Gn.hide}`},Oa.createElement(Ce.default.Item,{name:Vn},Oa.createElement(wi,null)),Oa.createElement(Le.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),Oa.createElement("div",{onClick:()=>Da(!0)},Oa.createElement(Ce.default.Item,{name:qn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Oa.createElement(Wr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:aa}))))};var pi=Object.defineProperty,nl=Object.defineProperties,Ri=Object.getOwnPropertyDescriptors,al=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,_i=Object.prototype.propertyIsEnumerable,Pl=(Ge,ot,ft)=>ot in Ge?pi(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,ol=(Ge,ot)=>{for(var ft in ot||(ot={}))gi.call(ot,ft)&&Pl(Ge,ft,ot[ft]);if(al)for(var ft of al(ot))_i.call(ot,ft)&&Pl(Ge,ft,ot[ft]);return Ge},il=(Ge,ot)=>nl(Ge,Ri(ot)),eo=(Ge,ot)=>{var ft={};for(var Gt in Ge)gi.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&al)for(var Gt of al(Ge))ot.indexOf(Gt)<0&&_i.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const Ua={\u6B63\u786E:"T",\u9519\u8BEF:"F"},da=({value:Ge,onChange:ot,form:ft,choiceKey:Gt})=>{const Ea=(Ge==null?void 0:Ge.is_answer)===!0,nn=Ge==null?void 0:Ge.choice_text,qn=()=>{var Vn;const Wn=(Vn=ft==null?void 0:ft.getFieldValue(["sub_item_banks",...Gt]))==null?void 0:Vn.map(ia=>({choice_text:ia==null?void 0:ia.choice_text,is_answer:!1}));ft==null||ft.setFieldValue(["sub_item_banks",...Gt],Wn),ot(il(ol({},Ge),{is_answer:!0}))};return y.createElement(He.Z,{className:Gn.choiceWrap,align:"middle",wrap:!1},y.createElement(Le.Z,{onClick:qn,className:`${Gn.choiceIndex} ${Gn.judgementIndex} ${Ea?Gn.activeAnswer:""}`},Ua[nn]),y.createElement(Le.Z,{flex:1,className:`${Gn.editorWrap} ml15`},y.createElement("div",{className:`${Gn.inputBorder} ${Gn.placeholder} ${Ea?Gn.activeJudgementAnswer:""}`},nn)),y.createElement(Le.Z,{flex:"0 0 auto",className:"ml15"},y.createElement("div",{onClick:qn,className:`${Gn.setAnswerBtn} ${Ea?Gn.activeAnswer:""}`},Ea?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},ga=({questionTitlePlaceholder:Ge,choiceKey:ot="choices",form:ft,titleKey:Gt="name",analysisKey:Ea="analysis"})=>{const[nn,qn]=(0,y.useState)(!1);return y.createElement("div",{className:Gn.wrap},y.createElement("div",{className:Gn.questionTitleEditorWrap},y.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Gt,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Ur,{scrollId:"name",watch:!0,height:140,placeholder:Ge}))),y.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},y.createElement(Ce.default.List,{name:ot,rules:[{validator(Vn,Wn){return Wn.some(Sn=>(Sn==null?void 0:Sn.is_answer)===!0)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Vn=>y.createElement("div",{id:"choices"},Vn.map(Wn=>{var ia=Wn,{key:Sn,name:aa}=ia,Da=eo(ia,["key","name"]);return y.createElement(Ce.default.Item,il(ol({},Da),{key:Sn,name:aa,noStyle:!0}),y.createElement(da,{form:ft,choiceKey:ot}))})))),y.createElement("div",{onClick:()=>qn(!0)},y.createElement(Ce.default.Item,{name:Ea,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Wr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:nn}))))};var Fa=Object.defineProperty,Lr=Object.defineProperties,_r=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,Lo=Object.prototype.hasOwnProperty,Go=Object.prototype.propertyIsEnumerable,To=(Ge,ot,ft)=>ot in Ge?Fa(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,Ga=(Ge,ot)=>{for(var ft in ot||(ot={}))Lo.call(ot,ft)&&To(Ge,ft,ot[ft]);if(Po)for(var ft of Po(ot))Go.call(ot,ft)&&To(Ge,ft,ot[ft]);return Ge},ti=(Ge,ot)=>Lr(Ge,_r(ot)),Di=(Ge,ot)=>{var ft={};for(var Gt in Ge)Lo.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&Po)for(var Gt of Po(Ge))ot.indexOf(Gt)<0&&Go.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft};const Ci=Ge=>{var ot=Ge,{value:ft,onChange:Gt}=ot,Ea=Di(ot,["value","onChange"]);const nn=qn=>{Gt([qn])};return y.createElement(un.Z,ti(Ga({},Ea),{defaultValue:ft==null?void 0:ft[0],onChange:nn}))},Yi=Ge=>{if(!Ge)return!1;let ot=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Ge==="|"?(Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},rl=({value:Ge=[],onClose:ot})=>y.createElement(Nn.default,{closable:!0,onClose:ot,className:Gn.keywordTag},Ge==null?void 0:Ge.join(" \u6216 ")),Ji=({questionTitlePlaceholder:Ge,form:ot,showKeywords:ft,isMustKeyWords:Gt=ft,titleKey:Ea="name",analysisKey:nn="analysis",answerTexts:qn="answer_texts",keywords:Vn="keywords",useKeywords:Wn="use_keywords",indexs:ia})=>{const[Sn,aa]=(0,y.useState)(!1),[Da,pr]=(0,y.useState)(""),ur=Ce.default.useWatch("sub_item_banks",ot),{use_keywords:Jn,score:ca}=(ur==null?void 0:ur[ia])||{};return console.log(Jn,ca,"itemValues"),y.createElement("div",{className:Gn.wrap},y.createElement("div",{className:Gn.questionTitleEditorWrap},y.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Ea,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Ur,{scrollId:"name",watch:!0,height:140,placeholder:Ge}))),y.createElement(Ce.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:qn,labelCol:{span:24}},y.createElement(Ci,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),ft&&!Gt&&y.createElement(Ce.default.Item,{hidden:!0,name:Wn,valuePropName:"checked"},y.createElement(bn.Z,{defaultChecked:!0})),ft&&Gt&&y.createElement(He.Z,{align:"middle",className:"mb30"},y.createElement(Ce.default.Item,{name:Wn,valuePropName:"checked"},y.createElement(bn.Z,null)),y.createElement(Le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(Le.Z,null,y.createElement(Oe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(wn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Jn||!Gt)&&y.createElement(Ce.default.List,{name:Vn,rules:[{validator(jn,Hn){return Gt?Hn!=null&&Hn.length?(Hn==null?void 0:Hn.reduce((dr,Ta)=>dr+Ta.score,0))>parseFloat(ca)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(jn,{add:Hn,remove:tr})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${Gn.title} mb10`},Gt?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(He.Z,{align:"middle",className:"font14 mb30"},y.createElement(Le.Z,{flex:1},y.createElement(Ke.default,{value:Da,onChange:dr=>{pr(dr.target.value)},maxLength:50,allowClear:!0,onPressEnter:dr=>{var Ta,Dn,sa,ya;const Za=`${(Ta=dr.target)==null?void 0:Ta.value}`,qr=(sa=(Dn=Za==null?void 0:Za.split("|"))==null?void 0:Dn.filter(Ko=>!!Ko))==null?void 0:sa.map(Ko=>Ko==null?void 0:Ko.trim()),Bo=ot.getFieldValue(["sub_item_banks",...Vn]),mi=((ya=Bo==null?void 0:Bo.map(Ko=>Ko==null?void 0:Ko.keyword))==null?void 0:ya.flat())||[];for(const Ko of qr)if(mi.includes(Ko)){Ze.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Yi(Za)&&(Hn({keyword:qr,score:1}),pr(""))},className:Gn.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(Le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),jn.map(dr=>{var Ta=dr,{key:Dn,name:sa}=Ta,ya=Di(Ta,["key","name"]);return y.createElement(He.Z,{key:Dn,className:"mb20",style:{marginRight:148}},y.createElement(Le.Z,{flex:1},y.createElement(He.Z,{align:"middle",justify:"space-between"},y.createElement(Ce.default.Item,ti(Ga({},ya),{name:[sa,"keyword"]}),y.createElement(rl,{onClose:()=>tr(sa)})),Gt&&y.createElement(Ce.default.Item,ti(Ga({},ya),{name:[sa,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Gn.blankInputNumberWrapper}),y.createElement(se.Z,{className:Gn.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>aa(!0)},y.createElement(Ce.default.Item,{name:nn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Wr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Sn}))))};var Ut=ne(59301),Qt=Object.defineProperty,hn=Object.defineProperties,Un=Object.getOwnPropertyDescriptors,Wa=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Zn=Object.prototype.propertyIsEnumerable,Ma=(Ge,ot,ft)=>ot in Ge?Qt(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,er=(Ge,ot)=>{for(var ft in ot||(ot={}))ir.call(ot,ft)&&Ma(Ge,ft,ot[ft]);if(Wa)for(var ft of Wa(ot))Zn.call(ot,ft)&&Ma(Ge,ft,ot[ft]);return Ge},Cr=(Ge,ot)=>hn(Ge,Un(ot)),io=(Ge,ot)=>{var ft={};for(var Gt in Ge)ir.call(Ge,Gt)&&ot.indexOf(Gt)<0&&(ft[Gt]=Ge[Gt]);if(Ge!=null&&Wa)for(var Gt of Wa(Ge))ot.indexOf(Gt)<0&&Zn.call(Ge,Gt)&&(ft[Gt]=Ge[Gt]);return ft},Qn=(Ge,ot,ft)=>new Promise((Gt,Ea)=>{var nn=Wn=>{try{Vn(ft.next(Wn))}catch(ia){Ea(ia)}},qn=Wn=>{try{Vn(ft.throw(Wn))}catch(ia){Ea(ia)}},Vn=Wn=>Wn.done?Gt(Wn.value):Promise.resolve(Wn.value).then(nn,qn);Vn((ft=ft.apply(Ge,ot)).next())});const{Panel:Zr}=cr.default,co=null,Wo=(Ge,ot)=>{var ft=Ge,{globalSetting:Gt,loading:Ea,dispatch:nn,editData:qn,onRef:Vn=()=>{},isEdit:Wn}=ft,ia=io(ft,["globalSetting","loading","dispatch","editData","onRef","isEdit"]);const Sn=(0,ce.useIntl)(),[aa,Da]=(0,y.useState)(""),[pr,ur]=(0,y.useState)([]),[Jn]=Ce.default.useForm();(0,y.useEffect)(()=>{!qn||!Wn||(Da(qn==null?void 0:qn.name),ur(qn==null?void 0:qn.sub_item_banks),Jn.setFieldsValue(er({},qn)))},[qn]),(0,y.useEffect)(()=>{ur(Jn.getFieldValue("sub_item_banks"))},[Ce.default.useWatch("sub_item_banks",Jn)]),(0,y.useImperativeHandle)(ot,()=>({onSave:ca,Clear:jn}));const ca=()=>Qn(void 0,null,function*(){if(!aa)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Jn.validateFields()}catch(sa){return console.log(sa,"errInfo"),Ze.ZP.error(sa.errorFields[0].errors[0]),!1}const Dn=pr.map(sa=>er({id:sa.id>1?sa.id:null},sa));return{name:aa,sub_item_banks:Dn}}),jn=()=>{Da(""),ur([])},Hn={single:Sn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),multiple:Sn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),judgement:Sn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),completion:Sn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),subjective:Sn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),practical:Sn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),program:Sn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),bprogram:Sn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),combination:Sn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},tr=({value:Dn})=>Ut.createElement("div",{style:{textAlign:"center",color:"#DF3065",margin:"0 5px"}},Dn),[dr,Ta]=(0,y.useState)();return Ut.createElement("section",{className:Be.wrap},Ut.createElement("p",{className:Be.titleWrap},Ut.createElement("span",{className:Be.required},"*"),Ut.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Ut.createElement(un.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:aa,onChange:Dn=>Da(Dn)}),Ut.createElement(Ce.default,{form:Jn,autoComplete:"off"},Ut.createElement(Ce.default.List,{name:"sub_item_banks",rules:[{validator(Dn,sa){return sa?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Dn,{add:sa,remove:ya})=>{const Za=Jn.getFieldValue("sub_item_banks");return Ut.createElement(Ut.Fragment,null,Ut.createElement(cr.default,{className:Dn.length>0?Be.collapseWrapper:"",bordered:!1,expandIcon:({isActive:qr})=>Ut.createElement("i",{className:`iconfont icon-weizhankai ${qr?Be.open:Be.close}`,style:{fontSize:14,transition:"all .2s"}})},Dn.map((qr,Bo)=>{var mi=qr,{key:Ko,name:kr}=mi,Ti=io(mi,["key","name"]),Wi,Yr,Vo,po,Pi,Fi,Rl,xl,$l,Tl,Vl,jl;return Ut.createElement(Zr,{className:Be.panel,forceRender:!0,header:Ut.createElement("div",{className:Be.panelHeader},"\u7B2C",Bo+1,"\u5C0F\u9898",Ut.createElement("span",null,"\uFF08",Hn[(Wi=Za==null?void 0:Za[kr])==null?void 0:Wi.item_type],"\uFF09")),extra:Ut.createElement(He.Z,{align:"middle",onClick:yl=>yl.stopPropagation(),style:{display:"flex",alignItems:"center"}},((Yr=Za==null?void 0:Za[kr])==null?void 0:Yr.item_type)=="completion"&&Ut.createElement(Ce.default.Item,Cr(er({},Ti),{name:[kr,"score"],className:Be.blankInputNumberWrapper,style:{marginBottom:0}}),((Vo=Za==null?void 0:Za[kr])==null?void 0:Vo.item_type)=="completion"&&Ut.createElement("div",{style:{display:"flex",alignItems:"center",color:"#191919"}},"\u5171",Ut.createElement(tr,{value:(po=Za==null?void 0:Za[kr])==null?void 0:po.score}),"\u5206")),((Pi=Za==null?void 0:Za[kr])==null?void 0:Pi.item_type)=="completion"&&Ut.createElement(Ut.Fragment,null,Ut.createElement(Te.ZP.Group,{defaultValue:(Fi=Za==null?void 0:Za[kr])==null?void 0:Fi.use_blank_score,className:Be.scoreByBlankRadio,style:{marginRight:10},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:yl=>{var vl;console.log(Jn.getFieldsValue()),Jn==null||Jn.setFieldValue(["sub_item_banks",kr,"use_blank_score"],(vl=yl==null?void 0:yl.target)==null?void 0:vl.value),Ta(new Date)}}),Ut.createElement(Oe.Z,{overlayInnerStyle:{width:460},title:Ut.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Ut.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Ut.createElement("i",{className:"icon-tishixiaowenhao font18 c-3061d0"})))),key:Ko},Ut.createElement(Ce.default.Item,Cr(er({},Ti),{name:kr}),(((Rl=Za==null?void 0:Za[kr])==null?void 0:Rl.item_type)=="single"||((xl=Za==null?void 0:Za[kr])==null?void 0:xl.item_type)=="multiple")&&Ut.createElement(Ro,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:(($l=Za==null?void 0:Za[kr])==null?void 0:$l.item_type)!="single",form:Jn,choiceKey:[kr,"choices"],titleKey:[kr,"name"],analysisKey:[kr,"analysis"],choiceOptionsPath:["sub_item_banks",kr,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Tl=Za==null?void 0:Za[kr])==null?void 0:Tl.item_type)=="completion"&&Ut.createElement(Qi,{form:Jn,name:kr,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[kr,"use_blank_score"],titleKey:[kr,"name"],analysisKey:[kr,"analysis"],isOrdered:[kr,"is_ordered"],answerKey:[kr,"standard_answer"],key:dr}),((Vl=Za==null?void 0:Za[kr])==null?void 0:Vl.item_type)=="judgement"&&Ut.createElement(ga,{form:Jn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[kr,"name"],analysisKey:[kr,"analysis"],choiceKey:[kr,"choices"]}),((jl=Za==null?void 0:Za[kr])==null?void 0:jl.item_type)=="subjective"&&Ut.createElement(Ji,{showKeywords:!0,form:Jn,titleKey:[kr,"name"],analysisKey:[kr,"analysis"],answerTexts:[kr,"answer_texts"],useKeywords:[kr,"use_keywords"],keywords:[kr,"keywords"],indexs:kr,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})))})))};var nr=(0,ce.connect)(({loading:Ge,globalSetting:ot})=>({globalSetting:ot,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(Wo)),gr=ne(96935),lo=ne(19842),to=ne(57809),Yo=ne(1710),st={flex_box_center:"flex_box_center___xDdtW",flex_space_between:"flex_space_between___J4mFI",flex_box_vertical_center:"flex_box_vertical_center___hDYn6",flex_box_center_end:"flex_box_center_end___H7l1j",flex_box_column:"flex_box_column___TPd2T",questionInfo:"questionInfo___ABq66",label:"label___VQOr7",content:"content____HZ6z",leftPart:"leftPart___YB0y5",rightPart:"rightPart___UVMmS",dragItem:"dragItem___Hbx8k",blackText:"blackText___U4u33",greyText:"greyText___rWIL_",iconWrapper:"iconWrapper___I0kek",contentArea:"contentArea___hGC13",dragging:"dragging___z7VVY",hidden:"hidden___nWAxb",dragIcon:"dragIcon___j91TC",deleteIcon:"deleteIcon___cmCqc",disabled:"disabled___ZlKMj",challengeNameWrapper:"challengeNameWrapper___SpiRb",challengeName:"challengeName___lmQe2",shixunPreviewFooter:"shixunPreviewFooter___u0CzD",shixunInfoWrapper:"shixunInfoWrapper___HzLHD",shixunInfo:"shixunInfo___qaQlF",btnToDetail:"btnToDetail___scXqr",fixedBottom:"fixedBottom___wTBAR",cancelBtn:"cancelBtn___Km4Gi",confirmBtn:"confirmBtn___WrECz",previewBtn:"previewBtn____oGPS",setScoreModalTable:"setScoreModalTable___CjDlp",title:"title___cQWdZ",tipcontent:"tipcontent___A8tZ5",name:"name___CvfT9",tip:"tip___EvoCF",info:"info___y_ayi",img:"img___X9CNn"},yt=ne(3918),Wt=ne(63952),fa=ne(33270),Vt=ne(61527),fn=ne(2524),gn=ne(90463),Rt=({open:Ge,onCancel:ot,onOk:ft})=>{const Gt=(0,ce.useIntl)(),Ea=(0,Wt.g)(),[nn,qn,Vn,Wn]=(0,Vt.U)(fa.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[ia,Sn]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Ge&&Vn({page:1,limit:10,type:0},!0).then(Jn=>{(Jn==null?void 0:Jn.shixuns_count)===0&&Sn(!0)})},[Ge]);const[aa,Da]=(0,y.useState)([]),[pr,ur]=(0,y.useState)([]);return y.createElement(Ie.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:Ge,width:948,centered:!0,closable:!0,onCancel:ot,onOk:()=>ft(pr),destroyOnClose:!0},y.createElement(He.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},y.createElement(Le.Z,null,y.createElement(lo.Z,{style:{width:160},size:"large",placeholder:Gt.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),options:Ea,onChange:Jn=>{Vn({page:1,discipline_id:Jn==null?void 0:Jn[0],sub_discipline_id:Jn==null?void 0:Jn[1]})}}),y.createElement(to.default,{className:"ml20",style:{width:118},size:"large",placeholder:Gt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:Jn=>Vn({page:1,diff:Jn})}),y.createElement(to.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:Jn=>Vn({page:1,shixun_publish_status:Jn})})),y.createElement(yt.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Jn=>{Vn({keyword:Jn,page:1})}})),ia?y.createElement("div",null,y.createElement(fn.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,xe.xg)("/shixuns")})):y.createElement(Yo.default,{loading:qn,rowKey:"id",columns:[{title:Gt.formatMessage({id:"paperlibrary.questionName",defaultMessage:"\u8BD5\u9898\u540D\u79F0"}),dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Jn,ca)=>y.createElement("div",{style:{display:"flex",alignItems:"center"}},y.createElement("div",{className:ca!=null&&ca.high_resources_consume?st.title:"",title:Jn||"--"},y.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Jn||"--"})),(ca==null?void 0:ca.high_resources_consume)&&y.createElement(gn.Z,{type:"shixun",style:{marginLeft:10}}))},{title:Gt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Jn,ca,jn)=>y.createElement("span",null,Jn||"- -")},{title:Gt.formatMessage({id:"paperlibrary.usageCount",defaultMessage:"\u4F7F\u7528\u6B21\u6570"}),dataIndex:"study_count"},{title:y.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",y.createElement(Oe.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},y.createElement(wn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Jn,ca,jn)=>y.createElement("span",null,Jn||"- -")},{title:Gt.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),render(Jn,ca){const{title:jn,challenge_names:Hn,author_name:tr,identifier:dr,author_school_name:Ta,study_count:Dn}=ca||{};return y.createElement("div",null,y.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{Ie.default.confirm({title:Gt.formatMessage({id:"paperlibrary.questionDetails",defaultMessage:"\u9898\u76EE\u8BE6\u60C5"}),closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:y.createElement("div",null,y.createElement(fe.Z,{value:jn,style:{marginBottom:18}}),y.createElement("div",{className:st.challengeNameWrapper},Hn.map((sa,ya)=>y.createElement("div",{className:st.challengeName,key:ya},"\u7B2C",(0,xe.EM)(ya+1),"\u9898\xA0",sa))),y.createElement(He.Z,{className:st.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},y.createElement(Le.Z,{className:st.shixunInfoWrapper},y.createElement("span",null,"\u521B\u5EFA\u8005"),y.createElement("span",{className:st.shixunInfo},tr.split("\u3001")[0]),y.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{className:st.shixunInfo},Ta),y.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:st.shixunInfo},Dn)),y.createElement(De.ZP,{type:"primary",className:st.btnToDetail,onClick:()=>(0,xe.xg)(`/shixuns/${dr}/challenges?exercise=true`)},y.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},Gt.formatMessage({id:"paperlibrary.view",defaultMessage:"\u67E5\u770B"})),(ca==null?void 0:ca.shixun_tag_num)===1&&y.createElement("a",{target:"_blank",href:`/shixuns/${ca==null?void 0:ca.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:Wn==null?void 0:Wn.items,rowSelection:{type:"radio",selectedRowKeys:aa,preserveSelectedRowKeys:!0,getCheckboxProps:Jn=>({disabled:Jn.shixun_tag_num===1}),onChange(Jn,ca){var jn,Hn,tr;console.log(Jn),Da(Jn);const dr=[];for(const Dn of pr)Jn.includes(Dn.id)&&dr.push(Dn);const Ta=dr.map(Dn=>Dn.id);for(const Dn of ca)Dn&&Jn.includes(Dn.id)&&!Ta.includes(Dn.id)&&dr.push({id:Dn.id,difficulty:Dn.level,identifier:Dn.identifier,name:Dn.name,real_name:(jn=Dn==null?void 0:Dn.author_name)==null?void 0:jn.split("\u3001")[0],school_name:Dn.author_school_name,challenge_names:Dn.challenge_names,challenges:(Hn=Dn.challenge_names)==null?void 0:Hn.map((sa,ya)=>({subject:sa,id:ya,score:5})),score:((tr=Dn.challenge_names)==null?void 0:tr.length)*5,study_count:Dn.study_count,challenges_count:Dn.challenges_count});ur(dr)}},pagination:{current:nn.page,pageSize:nn.limit,total:Wn==null?void 0:Wn.items_count,showTotal:Jn=>y.createElement("span",null,"\u5171\xA0",y.createElement("span",{style:{color:"#165DFF"}},Jn),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Jn,ca){Vn({page:Jn,limit:ca})},size:"default"},scroll:{y:400}}))},ea=ne(83028),oa=ne(60979),ta=(Ge,ot,ft)=>new Promise((Gt,Ea)=>{var nn=Wn=>{try{Vn(ft.next(Wn))}catch(ia){Ea(ia)}},qn=Wn=>{try{Vn(ft.throw(Wn))}catch(ia){Ea(ia)}},Vn=Wn=>Wn.done?Gt(Wn.value):Promise.resolve(Wn.value).then(nn,qn);Vn((ft=ft.apply(Ge,ot)).next())}),br=({visible:Ge,getdata:ot,onCancel:ft,onRandomExchange:Gt,selectFromProblemSet:Ea,questionParams:nn})=>{const qn=(0,ce.useIntl)(),[Vn,Wn]=(0,y.useState)(!1),[ia,Sn]=(0,y.useState)(!1),[aa,Da]=(0,y.useState)({}),pr=(0,ce.useParams)(),[ur,Jn]=(0,y.useState)(),ca=(jn,Hn)=>ta(void 0,null,function*(){Sn(!0);const tr=yield(0,ye.ZP)(`/api/exercises/${pr.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:nn.id,item_bank_id:jn,shixuns_info:[{id:jn,is_copy:Hn!=1,is_use:Hn!=1}]}});Sn(!1),tr!=null&&tr.status||(Ze.ZP.info("\u6362\u9898\u6210\u529F"),ft(),ot())});return y.createElement(Ie.default,{title:"\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F",open:Ge,onCancel:ft,centered:!0,maskClosable:!0,footer:null},y.createElement(He.Z,{justify:"center",className:"pb20"},y.createElement(gr.Z,{onClick:Gt},"\u968F\u673A\u66F4\u6362"),(nn==null?void 0:nn.type)!=="PRACTICAL"&&y.createElement(De.ZP,{style:{marginLeft:24},onClick:Ea},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9"),(nn==null?void 0:nn.type)==="PRACTICAL"&&y.createElement(De.ZP,{style:{marginLeft:24},onClick:()=>{Wn(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9")),y.createElement(Rt,{open:Vn,onCancel:()=>Wn(!1),onOk:jn=>ta(void 0,null,function*(){if(console.log("----selectedRows",jn,pr),(jn==null?void 0:jn.length)<=0){Ze.ZP.info("\u8BF7\u9009\u62E9\u5B9E\u8BAD");return}let Hn=jn==null?void 0:jn.map(dr=>dr==null?void 0:dr.id),tr=yield(0,oa.Tr)({id:[...Hn],course_id:pr.coursesId,type:"shixun"});(tr==null?void 0:tr.student_count)===0?ca(Hn==null?void 0:Hn[0],1):(Jn(Hn),Da(tr)),Wn(!1)})}),y.createElement(ea.Z,{resdata:aa,type:"shixun",okloading:ia,oktext:(aa==null?void 0:aa.can_copy_num)===0?qn.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}):"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:jn=>ta(void 0,null,function*(){ca(ur==null?void 0:ur[0],2)})}))},So=ne(98408),ar=ne(24334),Ka=ne(88436),xa=ne(25965),Yn=ne(2337),Nr=Object.defineProperty,hr=Object.defineProperties,mo=Object.getOwnPropertyDescriptors,fo=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,Ar=(Ge,ot,ft)=>ot in Ge?Nr(Ge,ot,{enumerable:!0,configurable:!0,writable:!0,value:ft}):Ge[ot]=ft,wa=(Ge,ot)=>{for(var ft in ot||(ot={}))Dr.call(ot,ft)&&Ar(Ge,ft,ot[ft]);if(fo)for(var ft of fo(ot))so.call(ot,ft)&&Ar(Ge,ft,ot[ft]);return Ge},Kr=(Ge,ot)=>hr(Ge,mo(ot)),Gr=(Ge,ot,ft)=>new Promise((Gt,Ea)=>{var nn=Wn=>{try{Vn(ft.next(Wn))}catch(ia){Ea(ia)}},qn=Wn=>{try{Vn(ft.throw(Wn))}catch(ia){Ea(ia)}},Vn=Wn=>Wn.done?Gt(Wn.value):Promise.resolve(Wn.value).then(nn,qn);Vn((ft=ft.apply(Ge,ot)).next())}),Ei=({data:Ge,submit:ot,goBack:ft,loading:Gt,onTypeScore:Ea,editPreview:nn=!1,onSkipExamination:qn,selectValue:Vn,onExchange:Wn,getdata:ia,handleMarkWrongQuestion:Sn})=>{var aa,Da,pr,ur,Jn,ca,jn,Hn,tr,dr,Ta;const Dn=(0,ce.useIntl)(),sa=(0,y.useRef)(),[ya,Za]=(0,y.useState)(null),[qr,Bo]=(0,y.useState)(!1),[mi,Ko]=(0,y.useState)(!1),kr=(0,y.useRef)(),[Ti]=Ce.default.useForm(),Wi=(0,ce.useParams)(),[Yr,Vo]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Bo(!0)},[]),(0,y.useEffect)(()=>{nn||(0,xe.Dk)(Dn.formatMessage({id:"paperlibrary.examPreview",defaultMessage:"\u8BD5\u5377\u9884\u89C8"}))},[nn]);const po=["\u5BB9\u6613",Dn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),Dn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),Dn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})],Pi={SINGLE:Dn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),MULTIPLE:Dn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),JUDGMENT:Dn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),COMPLETION:Dn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),SUBJECTIVE:Dn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),PRACTICAL:Dn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),PROGRAM:Dn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),BPROGRAM:Dn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),COMBINATION:Dn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},Fi={single:Dn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),multiple:Dn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),judgement:Dn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),completion:Dn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),subjective:Dn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),practical:Dn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),program:Dn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),bprogram:Dn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),combination:Dn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},Rl=_t=>{var Ia;const me=[];return y.createElement(y.Fragment,null,y.createElement("aside",{className:ue.single},(Ia=_t==null?void 0:_t.choices)==null?void 0:Ia.map((ve,Pe)=>(ve.is_answer&&me.push(Yn.k4[Pe]),y.createElement("ul",{key:Pe},y.createElement("li",null,Yn.k4[Pe],"\u3001"),y.createElement("li",null,y.createElement(fe.Z,{value:ve.choice_text})))))),y.createElement("div",{className:ue.analysis},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",me.join(""),y.createElement("span",{className:"ml30"},Dn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),"\uFF1A",po[_t.difficulty])),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name)))))},xl=(_t,Ia)=>{var me;const ve=(me=_t==null?void 0:_t.standard_answer)==null?void 0:me.map((Pe,Ue)=>{var $e;return y.createElement("div",{key:Ue},`\u7B54\u6848\uFF08\u586B\u7A7A${Pe==null?void 0:Pe.position}\uFF09\uFF1A${($e=Pe==null?void 0:Pe.answer_text)==null?void 0:$e.join("\u3001")}`)});return y.createElement(y.Fragment,null,y.createElement("div",{className:ue.analysis},y.createElement("div",{style:{display:"flex"}},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),y.createElement("div",null,ve)),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),Ia?`${(Ia==null?void 0:Ia.discipline_name)||"--"}/${Ia==null?void 0:Ia.sub_discipline_name}`:`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name)))))},$l=_t=>{var Ia;const me=(Ia=_t==null?void 0:_t.standard_answer)==null?void 0:Ia.map((ve,Pe)=>y.createElement("div",{key:Pe},`\u7B54\u6848\uFF08\u586B\u7A7A${(ve==null?void 0:ve.position)||(ve==null?void 0:ve.exercise_choice_id)}\uFF09\uFF1A${ve==null?void 0:ve.answer_text}`));return y.createElement(y.Fragment,null,y.createElement("div",{className:ue.analysis},y.createElement("div",{style:{display:"flex"}},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),y.createElement("div",null,me)),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name)))))},Tl=(_t,Ia)=>{var me;return y.createElement("div",{className:ue.analysis},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",(me=_t==null?void 0:_t.answer_texts)==null?void 0:me[0]),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),Ia?`${(Ia==null?void 0:Ia.discipline_name)||"--"}/${Ia==null?void 0:Ia.sub_discipline_name}`:`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name))))},Vl=_t=>{var Ia,me;return y.createElement("div",{className:ue.analysis},y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u9884\u671F\u8F93\u51FA:"),y.createElement(fe.Z,{value:(Ia=_t==null?void 0:_t.program_attr)==null?void 0:Ia.description})),y.createElement("div",{style:{marginTop:20}},"\u6B63\u786E\u7B54\u6848\uFF1A",((me=_t==null?void 0:_t.program_attr)==null?void 0:me.answer_text)||"--"),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name))))},jl=(_t,Ia)=>{var me;return y.createElement("div",null,(me=_t==null?void 0:_t.sub_item_banks)==null?void 0:me.map((ve,Pe)=>{var Ue,$e;const nt=[];return y.createElement(y.Fragment,null,y.createElement("div",{style:{marginLeft:25,fontSize:"16px",color:"#333",paddingTop:"15px"}},Ia+1+"."+(Pe+1),"\uFF08",Pi[ve.item_type]||Fi[ve.item_type],"\uFF09",ve.name),(ve.item_type=="SINGLE"||ve.item_type=="MULTIPLE"||ve.item_type=="JUDGMENT"||ve.item_type=="single"||ve.item_type=="multiple"||ve.item_type=="judgement")&&y.createElement(y.Fragment,null,y.createElement("aside",{className:ue.single},(Ue=ve==null?void 0:ve.choices)==null?void 0:Ue.map((xt,jt)=>(xt.is_answer&&nt.push(Yn.k4[jt]),y.createElement("ul",{key:jt},y.createElement("li",null,Yn.k4[jt],"\u3001"),y.createElement("li",null,y.createElement(fe.Z,{value:xt.choice_text})))))),y.createElement("div",{className:ue.analysis},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",nt.join(""),y.createElement("span",{className:"ml30"},Dn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),"\uFF1A",po[ve.difficulty])),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:ve.analysis?ve.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name))))),(ve.item_type=="COMPLETION"||ve.item_type=="completion")&&xl(ve,_t),(ve.item_type=="SUBJECTIVE"||ve.item_type=="subjective")&&Tl(ve,_t),(($e=Ge==null?void 0:Ge.exam)==null?void 0:$e.exercise_status)===3&&y.createElement("div",{className:"flex gap-20px mt20"},y.createElement(Ka.Z,{state:ve==null?void 0:ve.is_wrong,onClick:()=>{Sn==null||Sn({value:Kr(wa({},ve),{question_id:ve==null?void 0:ve.id,question_score:ve==null?void 0:ve.score})})}}),ve.item_type=="single"&&y.createElement(De.ZP,{style:{color:"#3061D0"},onClick:()=>{Ql({value:ve})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848")))}))},yl=_t=>{var Ia,me,ve;return y.createElement("div",{style:{marginTop:"12px"}},(me=(Ia=_t==null?void 0:_t.shixun)==null?void 0:Ia.challenges)==null?void 0:me.map((Pe,Ue)=>y.createElement("div",{className:"c-grey-666 font14 mb10 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},y.createElement("div",null,y.createElement("span",{className:"mr5"},"\u7B2C",Ue+1,"\u5173"),y.createElement(Oe.Z,{key:Ue,title:Pe==null?void 0:Pe.challenge_name},y.createElement("span",null,(0,xe.Pq)(Pe==null?void 0:Pe.challenge_name,44)))),nn&&y.createElement("div",null,"\u5206\u503C\uFF1A",Pe.score,"\u5206"))),y.createElement(ce.Link,{style:{float:"right"},target:"_blank",to:`/shixuns/${(ve=_t==null?void 0:_t.shixun)==null?void 0:ve.identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5"),y.createElement("div",{style:{clear:"both"}}))},vl=_t=>{let Ia=_t.questions_score/_t.questions_count;Ie.default.confirm({icon:null,centered:!0,title:"\u5206\u6570\u8BBE\u7F6E",content:y.createElement("div",{className:ue.modalColumn},y.createElement("div",{className:ue.modalRow,style:{justifyContent:"flex-start"}},y.createElement("sup",{className:ue.sup},"*"),y.createElement("span",null,_t==null?void 0:_t.name,"\uFF1A"),y.createElement(se.Z,{min:0,precision:1,defaultValue:Ia,onChange:me=>{Ia=me}}),y.createElement("span",{className:"ml5"},"\u5206/\u9898"))),okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Gr(void 0,null,function*(){var me;if(!Ia)return Ze.ZP.warning("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A\u6216\u4E3A0"),Promise.reject();const ve={type:_t==null?void 0:_t.type,score:Ia,scoreTotal:Number((me=Ia*_t.questions_count)==null?void 0:me.toFixed(1))};Ea(ve)})})},es=()=>{let _t="";Ie.default.confirm({icon:null,centered:!0,title:"\u4FDD\u5B58\u8BD5\u5377",content:y.createElement("div",{className:ue.modalColumn},y.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20"},y.createElement("img",{style:{marginRight:5},src:Mt.Z}),"\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"),y.createElement("div",{className:ue.modalRow,style:{marginTop:20}},y.createElement("sup",{className:ue.sup},"*"),y.createElement("span",{style:{flexShrink:0}},Dn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u8BD5\u5377\u540D\u79F0"}),"\uFF1A"),y.createElement(Ke.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",min:0,maxLength:60,defaultValue:_t,onChange:Ia=>{_t=Ia.target.value}}))),okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Gr(void 0,null,function*(){var Ia;if(!_t)return Ze.ZP.warning("\u8BD5\u5377\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const me=[],ve=[],Pe=[],Ue=[];(Ia=Ge==null?void 0:Ge.questionList)==null||Ia.forEach(nt=>{var xt;(xt=nt.questions)==null||xt.forEach(jt=>{let wt=nt.questions_score/nt.questions_count;wt=wt&&wt.toFixed(1),nt.type==="COMBINATION"&&Pe.push({id:jt.id,sub_item_bank_ids:jt.sub_item_banks.map(rn=>rn.id)}),nt.type==="PRACTICAL"?Ue.push(jt.id):(me.push(jt.id),ve.push(wt))})}),console.log("-----",Pe),yield ot({item_bank_ids:me,item_bank_scores:ve,name:_t,combination_item_banks:Pe,shixun_ids:Ue})})})},hl=(_t,Ia,me,ve)=>{var Pe;const Ue=`${location.pathname}${location.search}`,$e=(Pe=ve.questions)==null?void 0:Pe.map(nt=>nt==null?void 0:nt.id);if(Ue.includes("exercise"))kr.current={id:_t,ids:$e,type:Ia,index:me},Ko(!0);else{let nt=Ie.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!0,keyboard:!1,okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Gr(void 0,null,function*(){nt.update({cancelButtonProps:{disabled:!0}}),yield Wn({single_question_id:_t,seleted_item_bank_ids:$e},{type:Ia,index:me}),nt.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898")})})}},zl=_t=>{var Ia;const me=(Ia=_t.questions)==null?void 0:Ia.map(Ue=>Ue==null?void 0:Ue.id),ve=_t.name;let Pe=Ie.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:`\u786E\u8BA4\u66F4\u6362${ve}\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F`,cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Gr(void 0,null,function*(){Pe.update({cancelButtonProps:{disabled:!0}}),yield Wn({seleted_item_bank_ids:me},{type:_t.type}),Pe.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success(`\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210${ve}\u8BD5\u9898`)})})},ts=()=>{let _t=Ie.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>Gr(void 0,null,function*(){_t.update({cancelButtonProps:{disabled:!0}}),yield Wn(),_t.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u6574\u5F20\u8BD5\u9898")})})},Al=_t=>{console.log(_t,"key"),qn(_t-1)},Ul=(_t,Ia)=>{var me,ve;if(Ia==="SINGLE")return y.createElement(y.Fragment,null,y.createElement(cn,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="MULTIPLE")return y.createElement(y.Fragment,null,y.createElement($t,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="JUDGMENT")return y.createElement(y.Fragment,null,y.createElement(ke,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="COMPLETION")return y.createElement(y.Fragment,null,y.createElement(Je,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="SUBJECTIVE")return y.createElement(y.Fragment,null,y.createElement(qa,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="COMBINATION")return y.createElement(y.Fragment,null,y.createElement(nr,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="BPROGRAM")return y.createElement(y.Fragment,null,y.createElement(Ce.default,{form:Ti,style:{marginTop:20},onFinishFailed:Pe=>{var Ue,$e;Pe.errorFields[0].name.includes("standard_answers")?Ze.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ze.ZP.error(Pe.errorFields[0].errors[0]),Ti.scrollToField(($e=(Ue=Pe==null?void 0:Pe.errorFields)==null?void 0:Ue[0])==null?void 0:$e.name,{behavior:"smooth",block:"center"})},onFinish:Pe=>Gr(void 0,null,function*(){var Ue;let $e=Kr(wa({question_score:_t.score},Pe),{question_type:8,hack:Kr(wa({},Pe.hack),{difficult:_t.program_attr.difficult}),hack_codes:Kr(wa({},Pe.hack_codes),{code:ar.Base64.encode((Ue=Pe.hack_codes)==null?void 0:Ue.code)})});Yr&&($e.is_cover=1);const nt=yield(0,ye.ZP)(`/api/exercise_questions/${_t.id}.json`,{method:"put",body:$e});(nt==null?void 0:nt.status)===0&&(Ze.ZP.success("\u7F16\u8F91\u6210\u529F"),Al(Vn+1)),Za(null)})},y.createElement(So.tc,{form:Ti,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,hackidentifier:(me=_t==null?void 0:_t.program_attr)==null?void 0:me.identifier,answerKey:"standard_answers"}),y.createElement(je.Z,null)));if(Ia==="PROGRAM"&&ce.history.push(`/problems/${(ve=_t==null?void 0:_t.program_attr)==null?void 0:ve.identifier}/edit?type=exercises&express_id=${Wi.categoryId}&question_id=${_t==null?void 0:_t.id}&score=${_t==null?void 0:_t.score}&callback_url=${location.pathname}&select=${Vn}&exercise=true`),Ia==="PRACTICAL")return y.createElement(y.Fragment,null,y.createElement(Cn,{ref:sa,editData:_t,isEdit:!0}),y.createElement(je.Z,null))},ns=(_t,Ia)=>Gr(void 0,null,function*(){var me,ve,Pe,Ue,$e,nt;const xt=yield(me=sa.current)==null?void 0:me.onSave();if(!xt)return;const jt=It=>{const Rn=It.map(On=>On.choice_text.trim().replace(/^\s+|\s+$/g,""));return new Set(Rn).size!==Rn.length},wt={question_score:Ia.score,analysis:xt.analysis};if(_t==="SINGLE"||_t==="MULTIPLE"||_t==="JUDGMENT"){if(_t!=="JUDGMENT"&&jt(xt==null?void 0:xt.choices)){Ze.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}const It=[],Rn=[];wt.question_type=_t==="JUDGMENT"?2:1,wt.question_title=xt==null?void 0:xt.name,(ve=xt==null?void 0:xt.choices)==null||ve.forEach((Mn,On)=>{It.push(Mn.choice_text),Mn!=null&&Mn.is_answer&&Rn.push(On+1)}),wt.question_choices=It,wt.standard_answers=Rn}if(_t==="COMPLETION"){let It=(Pe=xt==null?void 0:xt.standard_answers)==null?void 0:Pe.map((On,ma)=>(On==null?void 0:On.score)<=0?ma+1:null).filter(On=>On!==null);if((It==null?void 0:It.length)>0)return Ze.ZP.warning(`\u7B2C${It.join("\u3001")}\u9879\u7684\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A`),!1;let Rn=(Ue=xt==null?void 0:xt.standard_answers)==null?void 0:Ue.reduce((On,ma)=>On+(Number(ma==null?void 0:ma.score)||0),0);if(parseFloat(Rn.toFixed(2))!=(wt==null?void 0:wt.question_score))return Ze.ZP.warning("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01"),!1;wt.is_ordered=xt.is_ordered,wt.question_title=xt==null?void 0:xt.name,wt.use_blank_score=xt==null?void 0:xt.use_blank_score,wt.question_type=3;const Mn=[];($e=xt==null?void 0:xt.standard_answers)==null||$e.forEach((On,ma)=>{Mn.push({choice_id:On.position,answer_text:On.answer_text,score:On.score})}),wt.standard_answers=Mn,wt.downcase=xt==null?void 0:xt.downcase,wt.no_space=xt==null?void 0:xt.no_space}if(_t==="SUBJECTIVE"&&(console.log("editorData"),console.log(xt),wt.question_title=xt==null?void 0:xt.name,wt.question_type=4,wt.answer_texts=xt==null?void 0:xt.answer_texts,wt.use_keywords=xt==null?void 0:xt.use_keywords,wt.keywords=xt==null?void 0:xt.keywords),_t==="COMBINATION"){wt.question_title=xt==null?void 0:xt.name,wt.question_type=7;try{wt.sub_questions=(nt=xt==null?void 0:xt.sub_item_banks)==null?void 0:nt.map((It,Rn)=>{var Mn,On,ma;if((It==null?void 0:It.item_type)=="single"||(It==null?void 0:It.item_type)=="multiple"){if(jt(It==null?void 0:It.choices))throw new Error(`\u7B2C${Rn+1}\u5C0F\u9898\u9009\u9879\u5185\u5BB9\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58`);const ua=[],va=[];return(Mn=It==null?void 0:It.choices)==null||Mn.forEach((la,La)=>{ua.push(la.choice_text),la!=null&&la.is_answer&&va.push(La+1)}),{id:It.id,question_id:It.id,question_title:It.name,difficulty:It.difficulty,question_type:(It==null?void 0:It.item_type)=="single"?0:(It==null?void 0:It.item_type)=="multiple"?1:2,question_choices:ua,standard_answers:va,analysis:It.analysis,question_score:It==null?void 0:It.score}}else if((It==null?void 0:It.item_type)=="completion"){let ua=(On=It==null?void 0:It.standard_answer)==null?void 0:On.reduce((la,La)=>la+(Number(La==null?void 0:La.score)||0),0);if(parseFloat(ua.toFixed(2))!=(It==null?void 0:It.score))throw new Error("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01");const va=[];return(ma=It==null?void 0:It.standard_answer)==null||ma.forEach((la,La)=>{va.push({choice_id:la.position,answer_text:la.answer_text,score:la.score})}),{id:It.id,question_id:It.id,is_ordered:It.is_ordered,question_title:It.name,difficulty:It.difficulty,question_type:3,standard_answers:va,use_blank_score:It.use_blank_score,analysis:It.analysis,downcase:It==null?void 0:It.downcase,no_space:It==null?void 0:It.no_space,question_score:It==null?void 0:It.score}}else if((It==null?void 0:It.item_type)=="subjective")return{id:It.id,question_id:It.id,question_title:It.name,question_type:4,difficulty:It.difficulty,answer_texts:It==null?void 0:It.answer_texts,analysis:It.analysis,question_score:It==null?void 0:It.score,use_keywords:It.use_keywords,keywords:It==null?void 0:It.keywords}})}catch(It){Ze.ZP.warning(It.message);return}delete wt.analysis}let rn=!1;(Ia==null?void 0:Ia.is_my)===1&&(rn=yield new Promise((Rn,Mn)=>{Ie.default.confirm({title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>{Rn(!0)},onCancel:()=>{Rn(!1)}})})),rn&&(wt.is_cover=1);const xn=_t!=="PRACTICAL"?yield(0,ye.ZP)(`/api/exercise_questions/${Ia.id}.json`,{method:"put",body:wt}):yield(0,ye.ZP)(`/api/exercise_questions/${Ia.id}/update_shixun_score.json`,{method:"post",body:wa({},xt)});(xn==null?void 0:xn.status)===0&&(Ze.ZP.success("\u7F16\u8F91\u6210\u529F"),Al(Vn+1),Za(null))}),ms=()=>Gr(void 0,null,function*(){(0,ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u66F4\u65B0\u8BD5\u5377\uFF0C\u8BF7\u7A0D\u540E..."}}),(yield(0,ye.ZP)(`/api/exercises/${Wi.categoryId}/sync_random_question.json`,{method:"post"})).status===0&&(yield qn(Vn),Ze.ZP.success("\u66F4\u65B0\u6210\u529F")),(0,ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),Ql=({value:_t}={})=>{var Ia;const me=[];let ve=[];const Pe=(Ia=_t==null?void 0:_t.choices)==null?void 0:Ia.map(($e,nt)=>{var xt;const jt=nt+1;return $e!=null&&$e.is_answer&&(me.push(jt),ve.push(jt)),{value:jt,label:y.createElement(fe.Z,{className:"c-black font14",value:`${(xt=Yn.k4)==null?void 0:xt[nt]}. ${$e==null?void 0:$e.choice_text}`}),disabled:$e==null?void 0:$e.origin_standard_answer}}),Ue=Ie.default.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:y.createElement(y.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",me==null?void 0:me.map($e=>{var nt;return(nt=Yn.k4)==null?void 0:nt[$e-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",y.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",y.createElement("br",null),y.createElement(ze.default.Group,{className:"flex-col mt20",options:Pe,defaultValue:ve,onChange:$e=>{ve=$e}})),onOk:()=>Gr(void 0,null,function*(){const $e=yield(0,ye.ZP)(`/api/exercises/${Wi.categoryId}/questions/${_t==null?void 0:_t.id}/add_standard_answers.json`,{method:"put",body:{standard_answer:ve}});($e==null?void 0:$e.status)===0&&(Ze.ZP.success("\u4FEE\u6539\u6210\u529F"),Al(Vn+1))})})},Hl=(aa=Ge==null?void 0:Ge.questionList)==null?void 0:aa.reduce((_t,Ia)=>_t+Number(Ia.questions_score),0),ul=nn&&((Da=Ge==null?void 0:Ge.exam)==null?void 0:Da.exercise_status)!==1;return y.createElement("section",{className:ue.wrap},y.createElement("div",{id:"id_left_preview",className:ue.left,onMouseEnter:_t=>{const Ia=document.getElementById("id_left_preview");Ia.style.overflowY="auto"},onMouseLeave:_t=>{const Ia=document.getElementById("id_left_preview");Ia.style.overflowY="hidden"}},y.createElement("div",{className:ue.title},y.createElement("div",{className:"body-overflow-initial"},y.createElement("b",null),y.createElement("span",null,"\u7B54\u9898\u5361"))),y.createElement("div",{className:ue.total},y.createElement("div",null,y.createElement("img",{src:mt}),y.createElement("span",null,"\u9898\u6570(\u9053)"),y.createElement("aside",null,Ge==null?void 0:Ge.all_questions_count)),y.createElement("div",{className:"mr30 ml30"},y.createElement("img",{src:ut}),y.createElement("span",null,Dn.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"}),"(",Dn.formatMessage({id:"paperlibrary.point",defaultMessage:"\u5206"}),")"),y.createElement("aside",null,Hl&&Hl.toFixed(1))),y.createElement("div",null,y.createElement("img",{src:ge}),y.createElement("span",null,"\u65F6\u957F(",Dn.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"}),")"),y.createElement("aside",null,((pr=Ge==null?void 0:Ge.exam)==null?void 0:pr.time)===-1||((ur=Ge==null?void 0:Ge.exam)==null?void 0:ur.time)===null?"\u4E0D\u9650":(Jn=Ge==null?void 0:Ge.exam)==null?void 0:Jn.time))),(ca=Ge==null?void 0:Ge.questionList)==null?void 0:ca.map((_t,Ia)=>{var me;return y.createElement("div",{className:ue.list,key:Ia},y.createElement("div",{className:ue.name},y.createElement("b",null),y.createElement("span",null,_t.name)),y.createElement("aside",null,y.createElement("div",null,"\u5171",y.createElement("span",{className:ue.b},_t.questions_count),"\u9898 ",y.createElement("span",{className:ue.l},"|"),"\u5171",y.createElement("span",{className:ue.r},_t.questions_score),"\u5206"),y.createElement("div",{className:ue.answerSheet},(me=_t==null?void 0:_t.questions)==null?void 0:me.map((ve,Pe)=>y.createElement("div",{onClick:()=>{const Ue=`Anchor_${ve==null?void 0:ve.id}`;let $e=document.getElementById(Ue);$e&&setTimeout(()=>$e.scrollIntoView({block:"center",behavior:"smooth"}))},key:ve==null?void 0:ve.id,className:ue.tag},Pe+1)))))})),y.createElement("div",{className:ue.right},y.createElement("div",{className:ue.examName,id:"examName"},y.createElement("div",{className:ue.name},y.createElement(Oe.Z,{title:(jn=Ge==null?void 0:Ge.exam)==null?void 0:jn.name,getPopupContainer:_t=>_t.parentNode},y.createElement("span",{className:ue.t},(Hn=Ge==null?void 0:Ge.exam)==null?void 0:Hn.name))),nn&&((tr=Ge==null?void 0:Ge.exam)==null?void 0:tr.exercise_status)===1&&y.createElement(yt.op,{openLoading:!0,shape:"default",onClick:()=>{Ie.default.confirm({title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u6839\u636E\u6700\u65B0\u7684\u968F\u673A\u7EC4\u5377\u62BD\u9898\u89C4\u5219\u91CD\u65B0\u751F\u6210\u8BD5\u5377\u5417\uFF1F",onOk:()=>{ms()}})},type:"primary"},"\u66F4\u65B0\u8BD5\u5377"),!nn&&y.createElement(De.ZP,{onClick:ts,type:"primary"},"\u968F\u673A\u66F4\u6362")),y.createElement("div",{className:ue.topWarp},(dr=Ge==null?void 0:Ge.questionList)==null?void 0:dr.map((_t,Ia)=>{var me,ve;return y.createElement(y.Fragment,{key:Ia},y.createElement("div",{className:ue.head,style:Ia===0?{border:0,marginTop:-16}:{}},y.createElement("div",{className:ue.name},y.createElement("b",null),y.createElement("span",null,_t.name)),y.createElement("div",{className:ue.so},"\u5171",y.createElement("span",{className:ue.b},_t.questions_count," "),"\u9898 ",_t.type==="COMBINATION"&&`\uFF08\u5305\u542B${(me=_t==null?void 0:_t.questions)==null?void 0:me.map(Pe=>{var Ue;return(Ue=Pe==null?void 0:Pe.sub_item_banks)==null?void 0:Ue.length}).reduce((Pe,Ue)=>Pe+Ue)}\u5C0F\u9898\uFF09`,y.createElement("span",{className:ue.l},"|"),"\u5171",y.createElement("span",{className:ue.r},_t.questions_score),"\u5206"),!nn&&y.createElement("div",{className:ue.btn},y.createElement(De.ZP,{onClick:()=>{vl(_t)},type:"primary",ghost:!0,className:"mr20"},"\u8BBE\u7F6E\u5F97\u5206"),y.createElement(De.ZP,{onClick:()=>zl(_t),type:"primary",ghost:!0},"\u968F\u673A\u66F4\u6362"))),(ve=_t==null?void 0:_t.questions)==null?void 0:ve.map((Pe,Ue)=>{var $e,nt,xt,jt;return ya===(Pe==null?void 0:Pe.id)?y.createElement("div",{id:`Anchor_${Pe==null?void 0:Pe.id}`,className:ue.content,style:{padding:0,marginTop:24},key:Pe==null?void 0:Pe.id},y.createElement("div",{style:{float:"right",marginTop:`${(_t==null?void 0:_t.type)==="PRACTICAL"?"-2px":"-6px"}`}},y.createElement(De.ZP,{onClick:()=>Za(null),className:"mr20",type:"primary",ghost:!0},Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),y.createElement(De.ZP,{onClick:()=>{ns(_t==null?void 0:_t.type,Pe)},type:"primary"},"\u4FDD\u5B58")),Ul(Pe,_t.type)):y.createElement("div",{id:`Anchor_${Pe==null?void 0:Pe.id}`,className:ue.content,key:Pe==null?void 0:Pe.id},y.createElement("div",{className:ue.titleWrap},(Pe==null?void 0:Pe.item_type)==="bprogram"?y.createElement(fe.Z,{style:{paddingRight:10},value:Ue+1+"\u3001"+(($e=Pe==null?void 0:Pe.program_attr)==null?void 0:$e.description)}):y.createElement(fe.Z,{style:{paddingRight:10},className:ue.titleHtml,value:Ue+1+`\u3001${(Pe==null?void 0:Pe.item_type)==="combination"?"\uFF08\u9898\u5E72\uFF09":""}`+(Pe==null?void 0:Pe.name)}),nn&&y.createElement(De.ZP,{onClick:()=>{var wt,rn,xn;if(ya){Ze.ZP.warning("\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898");return}Ti.setFieldsValue({standard_answers:Pe==null?void 0:Pe.standard_answer,hack:wa(wa({},Pe),Pe==null?void 0:Pe.program_attr),hack_codes:Kr(wa({},Pe==null?void 0:Pe.program_attr),{code:ar.Base64.decode(((wt=Pe==null?void 0:Pe.program_attr)==null?void 0:wt.code)||"")}),hack_sets:wa({},(rn=Pe==null?void 0:Pe.hack_sets)==null?void 0:rn[0])}),(Pe==null?void 0:Pe.item_type)=="program"?ce.history.push(`/problems/newedit/${(xn=Pe==null?void 0:Pe.program_attr)==null?void 0:xn.identifier}?type=exercises&express_id=${Wi.categoryId}&question_id=${Pe==null?void 0:Pe.id}&score=${Pe==null?void 0:Pe.score}&exercise=true&callback_url=/classrooms/${Wi.coursesId}/exercise/${Wi.categoryId}/detail?random=true`):Za(Pe==null?void 0:Pe.id)},type:"primary",style:{marginLeft:"auto"},ghost:!0},"\u7F16\u8F91"),!ul&&y.createElement(De.ZP,{disabled:ul,className:"ml20",onClick:()=>hl(Pe==null?void 0:Pe.id,_t.type,Ue,_t),type:"primary",ghost:!0},"\u6362\u4E00\u9898")),(Pe==null?void 0:Pe.item_type)==="bprogram"&&y.createElement(fe.Z,{style:{paddingRight:10,paddingLeft:25},showProgramFill:!0,disabledFill:!0,className:ue.titleHtml,value:ar.Base64.decode(((nt=Pe==null?void 0:Pe.program_attr)==null?void 0:nt.code)||"")}),(_t.type==="SINGLE"||_t.type==="JUDGMENT"||_t.type==="MULTIPLE")&&Rl(Pe),_t.type==="COMPLETION"&&xl(Pe),_t.type==="SUBJECTIVE"&&Tl(Pe),_t.type==="PROGRAM"&&Vl(Pe),_t.type==="BPROGRAM"&&$l(Pe),_t.type==="COMBINATION"&&jl(Pe,Ue),_t.type==="PRACTICAL"&&yl(Pe),y.createElement(He.Z,{className:"mt20",wrap:!1,align:"middle",gutter:20},((xt=Ge==null?void 0:Ge.exam)==null?void 0:xt.exercise_status)===3&&!["PROGRAM","BPROGRAM","PRACTICAL","COMBINATION"].includes(_t.type)&&y.createElement(Le.Z,null,y.createElement(Ka.Z,{state:Pe==null?void 0:Pe.is_wrong,onClick:()=>{Sn==null||Sn({value:Kr(wa({},Pe),{question_id:Pe==null?void 0:Pe.id,question_score:Pe==null?void 0:Pe.score})})}})),["PROGRAM","BPROGRAM","PRACTICAL"].includes(_t.type)&&(Pe==null?void 0:Pe.show_resubmit)&&y.createElement(Le.Z,null,y.createElement(xa.C,{dataSource:Kr(wa({},Pe),{question_id:Pe==null?void 0:Pe.id})})),((jt=Ge==null?void 0:Ge.exam)==null?void 0:jt.exercise_status)===3&&["SINGLE"].includes(_t.type)&&y.createElement(Le.Z,null,y.createElement(De.ZP,{style:{color:"#3061D0"},onClick:()=>{Ql({value:Pe})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))))}))}))),nn?y.createElement(yt.vr,null,y.createElement(le.Z,{showTotal:xe.rU,total:(Ta=Ge==null?void 0:Ge.exam)==null?void 0:Ta.total_num,pageSize:1,current:Vn+1,showSizeChanger:!1,onChange:Al,showQuickJumper:!1,hideOnSinglePage:!1})):y.createElement(yt.vr,{LeftContent:y.createElement(yt.op,{onClick:ft,shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u8FD4\u56DE"),RightContent:y.createElement(He.Z,{align:"middle"},y.createElement(E.Z,{color:"#55575D",overlayClassName:ue.popover,open:qr,getPopupContainer:_t=>_t==null?void 0:_t.parentNode,content:"\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377"},y.createElement(yt.op,{onMouseEnter:()=>Bo(!0),onMouseLeave:()=>Bo(!1),onClick:()=>Gr(void 0,null,function*(){const _t=Number(Hl);[100,120,150].includes(_t)||(yield new Promise((Ia,me)=>{Ie.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:y.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",y.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},_t),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>Gr(void 0,null,function*(){Ia("")}),onCancel:()=>{me()}})})),es()}),shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u4FDD\u5B58")),y.createElement(yt.op,{shape:"default",type:"primary",onClick:()=>Gr(void 0,null,function*(){const _t=Number(Hl);[100,120,150].includes(_t)||(yield new Promise((Ia,me)=>{Ie.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:y.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",y.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},_t),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>Gr(void 0,null,function*(){Ia("")}),onCancel:()=>{me()}})})),ot()}),style:{height:38,marginLeft:20}},"\u63D0\u4EA4"))}),y.createElement(br,{visible:mi,questionParams:kr.current,getdata:ia,onRandomExchange:()=>Gr(void 0,null,function*(){const _t=kr.current;yield Wn({single_question_id:_t.id,seleted_item_bank_ids:_t.ids},{type:_t.type,index:_t.index}),Ko(!1)}),selectFromProblemSet:()=>{const _t=kr.current,Ia=`${location.pathname}${location.search}`;Ia.includes("exercise")&&ce.history.push(`/paperlibrary/exchangequestion?type=exercise&qid=${_t.id}&qtype=${_t.type}&exerciseid=${Wi.categoryId}&from=${Ia}`)},onCancel:()=>{Ko(!1)}}))}},87261:function(Bt,Zt,ne){"use strict";ne.r(Zt),ne.d(Zt,{default:function(){return Yo}});var y=ne(59301),ue={wrapper:"wrapper___KtBVT",breadCrumbWrapper:"breadCrumbWrapper___k9tSB",baseInfo:"baseInfo____j5EY",radioBtnWrapper:"radioBtnWrapper___k9OCh",baseLineHeight:"baseLineHeight___O_QXK",radiogroup:"radiogroup___e2fW6",easy:"easy___WcUAp",medium:"medium___U_o3j",hard:"hard___dAXLS",formWrap:"formWrap___wt5tC",baseFormItem:"baseFormItem___zV64d",cascaderPopup:"cascaderPopup___qm63f",fixedBottom:"fixedBottom___liDZ4",cancelBtn:"cancelBtn___ZV9Mi",confirmBtn:"confirmBtn___DwH6m",previewBtn:"previewBtn___aLYCy",concat:"concat___ZuLMo"},Ce=ne(8591),Oe=ne(78241),De=ne(66104),Ie=ne(65582),se=ne(19471),Ze=ne(71418),Ke=ne(92832),je=ne(19842),ze=ne(5112),He=ne(95237),Le=ne(5871),le=ne(3113),E=ne(38147),a=Object.defineProperty,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(st,yt,Wt)=>yt in st?a(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,re=(st,yt)=>{for(var Wt in yt||(yt={}))b.call(yt,Wt)&&te(st,Wt,yt[Wt]);if(x)for(var Wt of x(yt))z.call(yt,Wt)&&te(st,Wt,yt[Wt]);return st},ie=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())});function ge(st){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${st}/edit_random_exam_new.json`,{method:"get"})})}function fe(st,yt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${st}/update_random_exam.json`,{method:"post",body:yt})})}function ce(st){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/create_random_exam.json",{method:"post",body:st})})}function xe(st){return ie(this,null,function*(){return(0,E.ZP)("/api/disciplines.json",{method:"get",params:st})})}function ye(st){return ie(this,null,function*(){return(0,E.ZP)("/api/item_banks/item_difficulty_count.json",{method:"get",params:st})})}function Ne(st,yt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${st}/set_item_type_score.json`,{method:"post",body:yt})})}function pe(st,yt){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${st}/set_item_type_score.json`,{method:"post",body:yt})})}function Xe(st,yt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${st}/delete_item_type.json`,{method:"post",body:yt})})}function We(st,yt){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${st}/delete_item_type.json`,{method:"post",body:yt})})}function dt(st){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/preview_random_questions.json",{method:"post",body:st})})}function Re(st){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/toggle_random_questions.json",{method:"post",body:st})})}function _e(st){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/save_question_list.json",{method:"post",body:st})})}function mt(st){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${st.categoryId}/edit.json`,{method:"get",params:re({},st)})})}var Qe=(st=>(st.OnlyFileFolder="1",st.OnlyKnowledge="2",st.OnlyDifficulty="3",st.FileFolderAndDiff="4",st.FileFolderAndKnowledge="5",st.KnowledgeAndDiff="6",st.All="7",st.Shixun="8",st))(Qe||{}),at=ne(89392),Ht=Object.defineProperty,ht=Object.defineProperties,zt=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,Mt=(st,yt,Wt)=>yt in st?Ht(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,un=(st,yt)=>{for(var Wt in yt||(yt={}))Ve.call(yt,Wt)&&Mt(st,Wt,yt[Wt]);if(Kt)for(var Wt of Kt(yt))ut.call(yt,Wt)&&Mt(st,Wt,yt[Wt]);return st},Dt=(st,yt)=>ht(st,zt(yt)),en=(st=>(st[st.FileFolder=1]="FileFolder",st[st.Difficulty=2]="Difficulty",st[st.Knowledge=3]="Knowledge",st))(en||{});const Be=(0,y.createContext)(null),Jt={[Qe.OnlyFileFolder]:[1],[Qe.OnlyKnowledge]:[3],[Qe.OnlyDifficulty]:[2],[Qe.FileFolderAndDiff]:[1,2],[Qe.FileFolderAndKnowledge]:[1,3],[Qe.KnowledgeAndDiff]:[3,2],[Qe.All]:[3,2,1]},yn=(st,yt)=>{if(st.length!==yt.length)return!1;for(const Wt of yt)if(!st.includes(Wt))return!1;return!0},Nt=st=>{for(const[yt,Wt]of Object.entries(Jt))if(yn(st,Wt))return yt},Ot=(0,Ie.useIntl)(),tt={SINGLE:Ot.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),MULTIPLE:Ot.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),COMPLETION:Ot.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),JUDGMENT:Ot.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),SUBJECTIVE:Ot.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),PROGRAM:Ot.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),BPROGRAM:Ot.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),COMBINATION:Ot.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"}),PRACTICAL:Ot.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"})},Ye={1:{label:Ot.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),color:"#46B70E"},2:{label:Ot.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),color:"#165DFF"},3:{label:Ot.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"}),color:"#EE6F1A"}},Fe=st=>st&&parseFloat(st.toFixed(1)),he=(st,yt)=>{var Wt,fa,Vt;switch(yt.type){case"init":return yt.payload;case"updateBaseInfo":return Dt(un({},st),{examination_bank:yt.payload});case"deleteQuestionType":{const{item_types:fn}=st,gn=fn.filter(Fn=>Fn.item_type!==yt.payload);return st.examination_bank.question_count=Fe(gn.reduce((Fn,Rt)=>Fn+Rt.item_bank_count,0)),st.examination_bank.total_score=Fe(gn.reduce((Fn,Rt)=>Fn+Rt.total_score,0)),Dt(un({},st),{item_types:gn})}case"setQuestionType":{const{item_types:fn=[]}=st,gn=fn.map(Rt=>Rt.item_type),Fn=fn.filter(Rt=>yt.payload.includes(Rt.item_type));for(const Rt of yt.payload)gn.includes(Rt)||(Rt==="PRACTICAL"?Fn.push({item_type:Rt,contents:[],item_banks:[],item_bank_count:0,item_bank_num:0,item_type_text:tt[Rt],random_rule_type:Qe.Shixun,score:0,total_score:0}):Fn.push({item_type:Rt,contents:[],item_bank_count:0,item_type_text:tt[Rt],score:0,total_score:0}));return Dt(un({},st),{item_types:Fn})}case"updateItemTypes":return Dt(un({},st),{item_types:yt.payload});case"deleteRule":{const fn=(0,at.cloneDeep)(st),gn=fn.item_types.find(Rt=>Rt.item_type===yt.payload.itemType),Fn=gn.contents.find(Rt=>Rt.id===yt.payload.id&&Rt.is_share==yt.payload.is_share);return gn.contents=gn.contents.filter(Rt=>Rt!==Fn),((Wt=gn.contents)==null?void 0:Wt.length)===0&&(gn.random_rule_type=[]),gn.item_bank_count-=Fn==null?void 0:Fn.quanlity,fn.examination_bank.question_count-=Fn==null?void 0:Fn.quanlity,gn.total_score-=(Fn==null?void 0:Fn.quanlity)*gn.score,fn.examination_bank.total_score-=(Fn==null?void 0:Fn.quanlity)*gn.score,gn.total_score=Fe(gn.total_score),fn.examination_bank.total_score=Fe(fn.examination_bank.total_score),fn.contents=gn.contents,fn}case"changeQuestionNum":{const fn=(0,at.cloneDeep)(st),gn=fn.item_types.find(ta=>ta.item_type===yt.payload.itemType),Fn=(fa=gn==null?void 0:gn.contents)==null?void 0:fa.find(ta=>ta.id===yt.payload.id);if(yt.payload.itemType==="PRACTICAL")return yt.payload.num&&(fn.examination_bank.question_count=fn.examination_bank.question_count-gn.item_bank_count+yt.payload.num,fn.examination_bank.total_score=Fe(fn.examination_bank.total_score-gn.total_score+yt.payload.num*gn.score)),yt.payload.score&&(fn.examination_bank.total_score=Fe(fn.examination_bank.total_score-gn.total_score+yt.payload.num*gn.score)),gn.item_bank_count=yt.payload.num,gn.total_score=Fe(gn.item_bank_count*gn.score),fn;fn.examination_bank.question_count=fn.examination_bank.question_count-(Fn==null?void 0:Fn.quanlity)+yt.payload.num;const Rt=gn.contents.find(ta=>ta.id===yt.payload.id&&ta.teacher_group_id===yt.payload.teacher_group_id);Rt.quanlity=yt.payload.num;let ea=0,oa=0;for(const ta of gn.contents)ea+=ta==null?void 0:ta.quanlity,oa+=(ta==null?void 0:ta.quanlity)*gn.score;return fn.examination_bank.total_score=Fe(fn.examination_bank.total_score-gn.total_score+oa),gn.item_bank_count=ea,gn.total_score=Fe(oa),fn}case"changeQuestionScore":{const fn=(0,at.cloneDeep)(st),gn=fn.item_types.find(Fn=>Fn.item_type===yt.payload.itemType);return gn.score=yt.payload.score,gn.total_score=Fe(gn.item_bank_count*gn.score),fn.examination_bank.total_score=Fe(fn.item_types.reduce((Fn,Rt)=>Fn+Rt.total_score,0)),fn}case"editRule":{const fn=(0,at.cloneDeep)(st),gn=fn.item_types.find(Fn=>Fn.item_type===yt.payload.itemType);return gn.contents=yt.payload.tableData.map(Fn=>Dt(un({},Fn),{item_type:yt.payload.itemType,random_rule_type:yt.payload.randomRuleType})),gn.random_rule_type=yt.payload.randomRuleType,gn.item_bank_count=gn.contents.reduce((Fn,Rt)=>Fn+(Rt==null?void 0:Rt.quanlity),0),gn.score=gn.score||1,gn.total_score=Fe(gn.item_bank_count*gn.score),fn.examination_bank.question_count=fn.item_types.reduce((Fn,Rt)=>Fn+Rt.item_bank_count,0),fn.examination_bank.total_score=Fe(fn.item_types.reduce((Fn,Rt)=>Fn+Rt.total_score,0)),fn}case"addShixun":{const fn=(0,at.cloneDeep)(st),gn=fn.item_types.find(Fn=>Fn.item_type==="PRACTICAL");return gn.item_banks=yt.payload.shixunList,fn.examination_bank.question_count=fn.examination_bank.question_count+1,gn.item_bank_num=gn.item_banks.length,gn.item_bank_count=gn.item_bank_count||1,gn.score=gn.score||1,gn.total_score=gn.total_score||gn.score*gn.item_bank_count,fn.examination_bank.total_score=(Vt=fn==null?void 0:fn.item_types)==null?void 0:Vt.map(Fn=>Fn.total_score).reduce((Fn,Rt)=>Fn+Rt),fn}case"deleteShixunQuestion":{const fn=(0,at.cloneDeep)(st),gn=fn.item_types.find(Fn=>Fn.item_type==="PRACTICAL");return gn.item_banks=gn.item_banks.filter(Fn=>Fn.id!==yt.payload.shixunId),gn.item_bank_num-=1,gn.item_bank_count>gn.item_bank_num&&(gn.item_bank_count-=1,gn.total_score-=gn.score,gn.total_score=Fe(gn.total_score)),fn}}};var et=ne(24100),Lt=Object.defineProperty,we=Object.defineProperties,be=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,Je=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Ct=(st,yt,Wt)=>yt in st?Lt(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,pn=(st,yt)=>{for(var Wt in yt||(yt={}))Je.call(yt,Wt)&&Ct(st,Wt,yt[Wt]);if(Pt)for(var Wt of Pt(yt))Te.call(yt,Wt)&&Ct(st,Wt,yt[Wt]);return st},Tt=(st,yt)=>we(st,be(yt)),on=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())}),mn=({courseOptions:st,setCurrentKey:yt,loading:Wt,form:fa})=>{const Vt=(0,Ie.useIntl)(),{data:fn,disabled:gn,dispatch:Fn}=(0,y.useContext)(Be),Rt=(0,Ie.useParams)(),ea=(0,y.useRef)(!0),[oa,ta]=(0,y.useState)(!1),fr=(0,y.useMemo)(()=>{var br,So,ar,Ka,xa;if(!st.length||!fn)return;const Yn=(br=fn==null?void 0:fn.examination_bank)==null?void 0:br.sub_discipline_id,Nr=((So=fn==null?void 0:fn.examination_bank)==null?void 0:So.time)===-1?void 0:ea.current?Rt.id?(ar=fn==null?void 0:fn.examination_bank)==null?void 0:ar.time:((Ka=fn==null?void 0:fn.examination_bank)==null?void 0:Ka.time)||60:(xa=fn==null?void 0:fn.examination_bank)==null?void 0:xa.time;ea.current=!1;let hr=[];for(const mo of st)for(const fo of mo.children)fo.value===Yn&&(hr=[mo.value,fo.value]);return Tt(pn({},fn.examination_bank),{time:Nr,course:hr})},[fn,st]);return(0,y.useEffect)(()=>{fa.setFieldsValue(pn({},fr))},[fr]),y.createElement(Ze.Z,{spinning:Wt,size:"large",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},y.createElement("div",{className:ue.formWrap},y.createElement(Oe.default,{form:fa,autoComplete:"off",colon:!1,labelCol:{span:4},wrapperCol:{span:20},initialValues:fr||{difficulty:2,time:60},onValuesChange:(br,So)=>{const{course:ar=[]}=So,Ka=Tt(pn({},So),{sub_discipline_id:ar[1]||0});Fn({type:"updateBaseInfo",payload:Ka})}},y.createElement(Oe.default.Item,{name:"name",label:Vt.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u8BD5\u5377\u540D\u79F0"}),className:ue.baseLineHeight,rules:[{required:!0,validator:(br,So)=>{var ar;return((ar=So==null?void 0:So.replaceAll(" ",""))==null?void 0:ar.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},y.createElement(Ke.default,{maxLength:60,className:ue.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),y.createElement(Oe.default.Item,{label:Vt.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),name:"course",className:ue.baseLineHeight},y.createElement(je.Z,{className:ue.baseFormItem,disabled:gn,size:"large",allowClear:!1,placeholder:Vt.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),options:st,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),y.createElement("div",{className:ue.concat},"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",y.createElement("span",{onClick:()=>ta(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406")),y.createElement(Oe.default.Item,{label:Vt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),name:"difficulty",className:ue.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},y.createElement(ze.ZP.Group,{disabled:gn,className:ue.radiogroup},y.createElement(ze.ZP.Button,{className:ue.easy,value:1},Vt.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"})),y.createElement(ze.ZP.Button,{className:ue.medium,value:2},Vt.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"})),y.createElement(ze.ZP.Button,{className:ue.hard,value:3},Vt.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})))),y.createElement(Oe.default.Item,{label:Vt.formatMessage({id:"paperlibrary.answerTime",defaultMessage:"\u7B54\u9898\u65F6\u957F"}),className:ue.baseLineHeight},y.createElement(He.Z,{align:"middle"},y.createElement(Oe.default.Item,{name:"time",noStyle:!0},y.createElement(Le.Z,{className:ue.baseFormItem,min:1,disabled:gn,size:"large",max:9999,style:{width:220},placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),y.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},Vt.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"})))),y.createElement(Oe.default.Item,{label:Vt.formatMessage({id:"paperlibrary.examInstructions",defaultMessage:"\u8BD5\u5377\u987B\u77E5"}),name:"exam_notes"},y.createElement(Ke.default.TextArea,{rows:6,disabled:gn,maxLength:65535,placeholder:Vt.formatMessage({id:"paperlibrary.enterExamInstructions",defaultMessage:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})})))),y.createElement("div",{className:ue.fixedBottom},y.createElement(le.ZP,{className:`${ue.cancelBtn} mr5`,onClick:()=>{Rt.id||window.location.href.indexOf("randompaper")>-1?Ie.history.push("/paperlibrary"):Ie.history.push(`/classrooms/${Rt.coursesId}/exercise`)}},Vt.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),y.createElement(le.ZP,{className:`${ue.confirmBtn} ml15`,type:"primary",size:"large",onClick:()=>on(void 0,null,function*(){if(yield fa.validateFields(),!Rt.id&&!Rt.coursesId){const br=yield ce(fn);br.status===0&&(Ie.history.replace(`/randompaper/edit/${br==null?void 0:br.examination_bank_id}?type=settings`),yt("settings"))}else yt("settings")})},Vt.formatMessage({id:"paperlibrary.nextStep",defaultMessage:"\u4E0B\u4E00\u6B65"}))),y.createElement(et.Z,{open:oa,onCancel:()=>{ta(!1)}}))},ke=ne(43418),it=ne(43604),Et={flex_box_center:"flex_box_center___NXYwj",flex_space_between:"flex_space_between___Oy2UZ",flex_box_vertical_center:"flex_box_vertical_center___ybBar",flex_box_center_end:"flex_box_center_end___yyQPf",flex_box_column:"flex_box_column____kuXY",questionInfo:"questionInfo___U9mnu",label:"label___PP7Ng",content:"content___PUXFl",leftPart:"leftPart___uoQeo",rightPart:"rightPart___mCG7H",dragItem:"dragItem___djmPG",blackText:"blackText___KqEaU",greyText:"greyText___VamKm",iconWrapper:"iconWrapper___o1C0y",contentArea:"contentArea___Fj7D0",dragging:"dragging___mX3Il",hidden:"hidden___KWDLK",dragIcon:"dragIcon___yPuB3",deleteIcon:"deleteIcon___go29y",disabled:"disabled___uSK9k",challengeNameWrapper:"challengeNameWrapper___DFjRy",challengeName:"challengeName___m7v0x",shixunPreviewFooter:"shixunPreviewFooter___iaciG",shixunInfoWrapper:"shixunInfoWrapper___aSihg",shixunInfo:"shixunInfo___WYBm1",btnToDetail:"btnToDetail___WVmtj",fixedBottom:"fixedBottom___oeMSX",cancelBtn:"cancelBtn___ac73V",confirmBtn:"confirmBtn___sYh2O",previewBtn:"previewBtn___c2uQz",setScoreModalTable:"setScoreModalTable___kPddX",title:"title___lP1E2",tipcontent:"tipcontent___tV6uE",name:"name___YLyPW",tip:"tip___FYIzt",info:"info___rSdr9",img:"img___ft7eS"},vt=ne(2524),lt=ne(3918),tn=ne(24905),Cn=({open:st,onCancel:yt,onOk:Wt})=>{const{data:fa,dispatch:Vt}=(0,y.useContext)(Be),fn=(0,Ie.useIntl)(),gn=[{label:fn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),value:"SINGLE"},{label:fn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),value:"MULTIPLE"},{label:fn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),value:"COMPLETION"},{label:fn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),value:"JUDGMENT"},{label:fn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),value:"SUBJECTIVE"},{label:fn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),value:"PROGRAM"},{label:fn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"}),value:"COMBINATION"},{label:fn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),value:"PRACTICAL"},{label:fn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),value:"BPROGRAM"}];(0,y.useEffect)(()=>{if(st){const{item_types:ea}=fa||{};Rt(ea==null?void 0:ea.map(oa=>oa.item_type))}},[st,fa]);const[Fn,Rt]=(0,y.useState)([]);return y.createElement(ke.default,{title:y.createElement("div",null,fn.formatMessage({id:"paperlibrary.questionTypeSettings",defaultMessage:"\u9898\u578B\u8BBE\u7F6E"}),y.createElement("span",{className:"c-grey-333",style:{fontSize:14,fontWeight:400}},`\uFF08${fn.formatMessage({id:"paperlibrary.addDeleteQuestionType",defaultMessage:"\u901A\u8FC7\u52FE\u9009\u53EF\u5BF9\u9898\u578B\u8FDB\u884C\u6DFB\u52A0/\u5220\u9664"})}\uFF09`)),closable:!0,centered:!0,open:st,onCancel:yt,onOk:()=>Wt(Fn)},y.createElement(tn.default.Group,{value:Fn,onChange:ea=>Rt(ea)},y.createElement(He.Z,{gutter:[0,20]},gn.map(ea=>y.createElement(it.Z,{key:ea.value,span:6},y.createElement(tn.default,{value:ea.value},ea.label))))))},In=ne(1710),ra=Object.defineProperty,Xt=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,Ln=(st,yt,Wt)=>yt in st?ra(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,$t=(st,yt)=>{for(var Wt in yt||(yt={}))Yt.call(yt,Wt)&&Ln(st,Wt,yt[Wt]);if(Xt)for(var Wt of Xt(yt))qt.call(yt,Wt)&&Ln(st,Wt,yt[Wt]);return st},ba=({open:st,onCancel:yt,onOk:Wt})=>{const fa=(0,Ie.useIntl)(),{data:Vt}=(0,y.useContext)(Be),[fn,gn]=(0,y.useState)();console.log("--xxx-",fn),(0,y.useEffect)(()=>{st&&gn((0,at.cloneDeep)(Vt))},[st,Vt]);const Fn=(0,y.useMemo)(()=>{var Rt;let ea;return ea=(Rt=fn==null?void 0:fn.item_types)==null?void 0:Rt.map(oa=>oa.total_score).reduce((oa,ta)=>parseFloat(oa)+parseFloat(ta)),ea==null?void 0:ea.toFixed(1)},[fn]);return st?y.createElement(ke.default,{title:fa.formatMessage({id:"paperlibrary.batchSetScore",defaultMessage:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"}),open:st,width:640,centered:!0,closable:!0,onCancel:yt,onOk:()=>{Wt(fn)}},y.createElement("div",{className:"c-black mb20"},fa.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"}),y.createElement("span",{className:"ml10 c-light-primary"},Fn)),y.createElement(In.default,{columns:[{title:fa.formatMessage({id:"paperlibrary.questionTypeName",defaultMessage:"\u9898\u578B\u540D\u79F0"}),dataIndex:"item_type_text",width:130},{title:fa.formatMessage({id:"paperlibrary.totalSubQuestions",defaultMessage:"\u5C0F\u9898\u603B\u6570"}),dataIndex:"item_bank_count",width:130},{title:fa.formatMessage({id:"paperlibrary.questionTypeTotalScore",defaultMessage:"\u9898\u578B\u603B\u5206"}),dataIndex:"total_score",width:130},{title:fa.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),render(Rt,ea){const{score:oa,item_type:ta}=ea;return y.createElement("div",{style:{color:"#9096A3"}},"\u6BCF",((ea==null?void 0:ea.item_type)==="PRACTICAL","\u9898"),y.createElement(Le.Z,{precision:1,size:"large",className:"ml10 mr10",min:.1,disabled:(ea==null?void 0:ea.item_bank_count)===0,max:100,onChange:fr=>{const br=fn,So=br.item_types.find(Ka=>Ka.item_type===ta);So.score=Number(fr);const ar=fr*So.item_bank_count;So.total_score=ar&&Number(ar.toFixed(1)),br.examination_bank.total_score=br.item_types.reduce((Ka,xa)=>Number(Ka)+Number(xa.total_score),0),gn($t({},br))}}),"\u5206")}}],className:Et.setScoreModalTable,dataSource:fn==null?void 0:fn.item_types,rowKey:"item_type",pagination:!1})):null},Xn=ne(99313),ln=ne(57809),Ba=ne(17574),qe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAtFJREFUWEftWL9rU1EYPffFpCCKEEEJVUQHB10qAUHFHwguDg4ORRDq4uDg4CBIJ6GD0D/B3UEFJ5cugjbQChIqokWKClVrFDGIg2B8yZX3Xl/z/O5LzvfyKhTJXV7g/jrfOfc797sx1toCNnAzQ4A51RkymJNA/CcMvpoYhf0xDWtPwqICWEKM+QSYGgojt3Hw3mweFjmD9YlR+N8WAJSdjYwBrAWCb1oL+jzvMbzSFKoPBgLKAc6dugPbuRDtHzAXgGEMxmjjsXEAYr4MMOw2DcA8wcjWG6g+XOEAZ8c+wNpKtCXZMI+WMn6DJrbsOMQBPtrr9ySM4ZX9LEApkOfd5QBntvvhuhqFswKOz2/wDQWSZ9o0FADLfji5fBTYPwmUduYVMmV+IrLWF2DpFtCcizDTu3hmFeCBKaC4LR2cJpvjMZrwfn8HFm8qATan/bWslWckq6SuTyWcIfi5allrkmsY/DoZSZzanCwQo0REAwTIJf583e9txNIWic9p5E2OCQilZ7BxzY/8L60RSqRkcgnHqKXERgFw5eq/80EagIbB91cSPigilMabNWmYD6okXr7cZdABIAE7Gv6dpfIuZxJDI/G7S32ymJx6CoDP50ny5mIXIJPQ2Y8kEVVEw+DSeCKLWbkldlQA6JZwaZe9BuDr8xkAZjU6Pp5LvHiu9xmkWej6Wt8KXOK1VuGDL89272IaMLv6yAID3cUvzvS5SZyQyZOAZZl7hrnEz0/rjZoxzAhOyUEOcOFEH6MWhDGCWAApPs8B1o/p68GsANgbRVVRPzu8fvVg5gA0xcLTsV/wCtF/iKz6cABkfBfL+Z12m0tc2/cWXnFPODf3zZCxmOj4yxzg/O4qWv48LDwHIHOZrO/i5HoGHRQ3HeEAg0m1ShWtn/dh27tgUAilTqOUMcyqm7AfbZ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5o5VmPhfIW2b2y5xduDh44CABFqhUBa9nP1xGWw1dqoRUcy8M6JD6CF7mVLbDqOW1uF5vjpeK+YfEYQkCWYYZc4HQyxU+6Veqeme1Jpuc4t4CNFqdcY9g1yzbX2/WL+QCM9QLhzstl90/S1fUdg2FgWQT6EVLbNHpThjNhaa8Hz6e7DgcFVbPTxwNcrk9JgqH9bBkCWYDZPh7uNmWanuhVfhIVaIwOjUzeNfLZ141XPdbcpNX4F/ikyqlsA/6bwAAAABJRU5ErkJggg==",wn={ruleCheckBox:"ruleCheckBox___Onj2f",folderAreaWrapper:"folderAreaWrapper___ut2mr",folderAreaHeader:"folderAreaHeader___fOIDA",folderWrapper:"folderWrapper___IpJ50",folderIcon:"folderIcon___zBoRM",shareFolderIcon:"shareFolderIcon____5s3p",treeNodeItem:"treeNodeItem___quqla",treeNodeDifficulty:"treeNodeDifficulty___en0gk"},zn=ne(11517),Kn=Object.defineProperty,ct=Object.defineProperties,At=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,vn=(st,yt,Wt)=>yt in st?Kn(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,$n=(st,yt)=>{for(var Wt in yt||(yt={}))dn.call(yt,Wt)&&vn(st,Wt,yt[Wt]);if(St)for(var Wt of St(yt))An.call(yt,Wt)&&vn(st,Wt,yt[Wt]);return st},Tn=(st,yt)=>ct(st,At(yt)),_n=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())});const Pa=(st,yt,Wt)=>st.map(fa=>fa.key===yt?$n($n({},fa),Wt):fa.children?Tn($n({},fa),{children:Pa(fa.children,yt,Wt)}):fa),za={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3},Bn=(st,yt,Wt)=>{const fa=(0,Ie.useIntl)();return st.map(Vt=>{var fn;const gn=Vt==null?void 0:Vt.tag_disciplines.map(Rt=>{const ea=Rt==null?void 0:Rt.difficulty_count.map(oa=>({label:oa==null?void 0:oa.name,value:za[oa.name]}));return{title:Nt(yt)===Qe.All&&ea.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(it.Z,null,`${Rt.name}\uFF08${Rt.child_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}_${Rt.id}`,"diffValue"]},y.createElement(tn.default.Group,{style:{columnGap:12},options:ea})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}_${Rt.id}`,"diffNum"],initialValue:Rt==null?void 0:Rt.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}_${Rt.id}`,"extra"],initialValue:Tn($n({},Vt),{type:Wt})},y.createElement("input",{type:"hidden"})))):`${Rt.name}\uFF08${Rt.child_count}\uFF09`,key:`${Vt.id}_${Rt.id}`,name:Rt.name,parentName:Vt.name,item_banks_count:Rt.child_count,icon:null,isLeaf:!0,checkable:Nt(yt)===Qe.FileFolderAndKnowledge,disableCheckbox:Rt.child_count===0}}),Fn=Vt==null?void 0:Vt.difficulty_count.map(Rt=>({label:Rt==null?void 0:Rt.name,value:za[Rt.name]}));return{title:Nt(yt)===Qe.FileFolderAndDiff&&Fn.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(it.Z,null,`${Vt.name}\uFF08${Vt.item_banks_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}`,"diffValue"]},y.createElement(tn.default.Group,{style:{columnGap:12},options:Fn})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}`,"diffNum"],initialValue:Vt==null?void 0:Vt.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}`,"extra"],initialValue:Tn($n({},Vt),{type:Wt})},y.createElement("input",{type:"hidden"})))):`${Vt.name}\uFF08${Vt.item_banks_count}\uFF09`,key:`${Vt.id}`,name:Vt.name,item_banks_count:Vt.item_banks_count,icon:Rt=>Rt.expanded?Wt==="0"?y.createElement("img",{src:cn,className:wn.folderIcon}):y.createElement("img",{src:Nn,className:wn.shareFolderIcon}):Wt==="0"?y.createElement("img",{src:qe,className:wn.folderIcon}):y.createElement("img",{src:bn,className:wn.shareFolderIcon}),isLeaf:!Vt.have_child&&!((fn=Vt.tag_disciplines)!=null&&fn.length),checkable:Nt(yt)===Qe.OnlyFileFolder,disableCheckbox:Vt.item_banks_count===0,children:Vt.children.length?Nt(yt)===Qe.All||Nt(yt)===Qe.FileFolderAndKnowledge?[...Bn(Vt.children,yt,Wt),...gn]:Bn(Vt.children,yt,Wt):[]}})},Sa=(st,yt,Wt)=>{const fa=(0,Ie.useIntl)();return st.map(Vt=>{var fn;const gn=Vt==null?void 0:Vt.tag_disciplines.map(Rt=>{console.log("tagItem:",Rt);const ea=Rt==null?void 0:Rt.difficulty_count.map(oa=>({label:oa==null?void 0:oa.name,value:za[oa.name]}));return{title:Nt(yt)===Qe.All&&ea.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(it.Z,null,`${Rt.name}\uFF08${Rt.child_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}_${Rt.id}`,"diffValue"]},y.createElement(tn.default.Group,{style:{columnGap:12},options:ea})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}_${Rt.id}`,"diffNum"],initialValue:Rt==null?void 0:Rt.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}_${Rt.id}`,"extra"],initialValue:Tn($n({},Vt),{type:Wt})},y.createElement("input",{type:"hidden"})))):`${Rt.name}\uFF08${Rt.child_count}\uFF09`,key:`${Vt.id}_${Rt.id}`,name:Rt.name,parentName:Vt.name,item_banks_count:Rt.child_count,icon:null,isLeaf:!0,checkable:Nt(yt)===Qe.FileFolderAndKnowledge,disableCheckbox:Rt.child_count===0}}),Fn=Vt==null?void 0:Vt.difficulty_count.map(Rt=>({label:Rt==null?void 0:Rt.name,value:za[Rt.name]}));return{title:Nt(yt)===Qe.FileFolderAndDiff&&Fn.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(it.Z,null,`${Vt.name}\uFF08${Vt.item_banks_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}`,"diffValue"]},y.createElement(tn.default.Group,{style:{columnGap:12},options:Fn})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}`,"diffNum"],initialValue:Vt==null?void 0:Vt.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Vt.id}`,"extra"],initialValue:Tn($n({},Vt),{type:Wt})},y.createElement("input",{type:"hidden"})))):`${Vt.name}\uFF08${Vt.item_banks_count}\uFF09`,key:`${Vt.id}`,name:Vt.name,item_banks_count:Vt.item_banks_count,icon:Rt=>Rt.expanded?Wt==="0"?y.createElement("img",{src:cn,className:wn.folderIcon}):y.createElement("img",{src:Nn,className:wn.shareFolderIcon}):Wt==="0"?y.createElement("img",{src:qe,className:wn.folderIcon}):y.createElement("img",{src:bn,className:wn.shareFolderIcon}),isLeaf:!Vt.have_child&&!((fn=Vt.tag_disciplines)!=null&&fn.length),checkable:Nt(yt)===Qe.OnlyFileFolder,disableCheckbox:Vt.item_banks_count===0,children:[...Sa(Vt.children,yt,Wt),...gn]}})};var cr=({ruleValue:st,defaultData:yt,setSelectData:Wt,currentItemType:fa,selectData:Vt})=>{const fn=(0,Ie.useIntl)(),[gn,Fn]=(0,y.useState)("1"),[Rt,ea]=(0,y.useState)(!0),[oa]=Oe.default.useForm(),[ta,fr]=(0,y.useState)([]),[br,So]=(0,y.useState)("all"),ar=(nn,qn,Vn)=>{const{checkedNodes:Wn}=qn;console.log("type:",Vn,Wn,Vt),Vn==="0"?(xa(nn),Nt(st)===Qe.OnlyFileFolder?(Wt(ia=>Tn($n({},ia),{my:Wn.map(Sn=>({id:Sn.key,group_id:Sn.key,group_name:Sn.name,item_bank_num:Sn.item_banks_count,folderType:"0",quanlity:1}))})),Ea(Wn.reduce((ia,Sn)=>ia+Sn.item_banks_count,0))):(console.log(Wn),Wt(ia=>Tn($n({},ia),{my:Wn.map(Sn=>{const[aa,Da]=Sn.key.split("_");return{id:Sn.key,tag_discipline_name:Sn.name,group_id:aa,tag_discipline_id:Da,folderType:"0",group_name:Sn.parentName,item_bank_num:Sn.item_banks_count,quanlity:1}})})),Ea(Wn.reduce((ia,Sn)=>ia+Sn.item_banks_count,0)))):(Nr(nn),Nt(st)===Qe.OnlyFileFolder?Wt(ia=>(console.log("pre:",ia),Tn($n({},ia),{public:Wn.map(Sn=>({id:Sn.key==="0"?"00":Sn.key,teacher_group_name:Sn.name,teacher_group_id:Sn.key,folderType:"3",item_bank_num:Sn.item_banks_count,quanlity:1}))}))):Wt(ia=>Tn($n({},ia),{public:Wn.map(Sn=>{const[aa,Da]=Sn.key.split("_");return{id:Sn.key==="0"?"00":Sn.key,tag_discipline_name:Sn.name,teacher_group_id:aa,tag_discipline_id:Da,folderType:"3",teacher_group_name:Sn.parentName,item_bank_num:Sn.item_banks_count,quanlity:1}})})),Ea(Wn.reduce((ia,Sn)=>ia+Sn.item_banks_count,0)))},[Ka,xa]=(0,y.useState)([]),[Yn,Nr]=(0,y.useState)([]),[hr,mo]=(0,y.useState)([]),[fo,Dr]=(0,y.useState)([]),[so,Ar]=(0,y.useState)([]),[wa,Kr]=(0,y.useState)([]),[Gr,xi]=(0,y.useState)(!1),[Ei,Ge]=(0,y.useState)(!1);function ot(){return _n(this,null,function*(){let nn=yield(0,E.ZP)("/api/teach_group_shares.json",{method:"get"});nn&&fr(nn==null?void 0:nn.groups)})}(0,y.useEffect)(()=>{ot()},[]);const ft=nn=>_n(void 0,null,function*(){var qn,Vn,Wn,ia,Sn,aa,Da,pr,ur,Jn,ca,jn;nn.type==="0"?xi(!0):Ge(!0);const Hn=yield(0,zn.ex)(nn);nn.type==="0"?xi(!1):Ge(!1),nn.type==="0"?Ar(Hn):Kr(Hn);const tr=(qn=Hn.navigation[0])==null?void 0:qn.difficulty_count.map(Ta=>({label:Ta==null?void 0:Ta.name,value:za[Ta.name]})),dr=(Vn=Hn.navigation[0])==null?void 0:Vn.tag_disciplines.map(Ta=>{const Dn=Ta==null?void 0:Ta.difficulty_count.map(sa=>({label:sa==null?void 0:sa.name,value:za[sa.name]}));return{title:Nt(st)===Qe.All&&Dn.length>0?y.createElement(He.Z,{justify:"space-between",style:{color:"#232B40"}},y.createElement(it.Z,null,`${Ta.name}\uFF08${Ta.child_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`0_${Ta.id}`,"diffValue"]},y.createElement(tn.default.Group,{style:{columnGap:12},options:Dn})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`0_${Ta.id}`,"diffNum"],initialValue:Ta==null?void 0:Ta.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`0_${Ta.id}`,"extra"],initialValue:{tag_discipline_name:Ta.name,name:"\u6839\u76EE\u5F55",type:nn.type}},y.createElement("input",{type:"hidden"})))):y.createElement("span",{style:{color:"#232B40"}},Ta.name,"\uFF08",Ta.child_count,"\uFF09"),key:`0_${Ta.id}`,name:Ta.name,parentName:"\u6839\u76EE\u5F55",item_banks_count:Ta.child_count,icon:null,isLeaf:!0,checkable:Nt(st)===Qe.FileFolderAndKnowledge,disableCheckbox:Ta.child_count===0}});if(nn.type==="0"){const Ta=Bn(Hn.data,st,"0"),Dn=Sa(Hn.data,st,"0");console.log("normalChildren2:",Dn),mo([{title:Nt(st)===Qe.FileFolderAndDiff?y.createElement(He.Z,{justify:"space-between",style:{color:"#232B40"}},y.createElement(it.Z,null,`\u6839\u76EE\u5F55\uFF08${(Wn=Hn.navigation[0])==null?void 0:Wn.child_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffValue"],initialValue:[]},y.createElement(tn.default.Group,{style:{columnGap:12},options:tr})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffNum"],initialValue:(ia=Hn.navigation[0])==null?void 0:ia.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","extra"],initialValue:{type:"0",group_id:"0",name:"\u6839\u76EE\u5F55"}},y.createElement("input",{type:"hidden"})))):y.createElement("span",{style:{color:"#232B40"}},`\u6839\u76EE\u5F55\uFF08${(Sn=Hn.navigation[0])==null?void 0:Sn.child_count}\uFF09`),key:"0",name:"\u6839\u76EE\u5F55",item_banks_count:(aa=Hn.navigation[0])==null?void 0:aa.child_count,disabled:!(((Da=Hn.navigation[0])==null?void 0:Da.child_count)>0),checkable:Nt(st)===Qe.OnlyFileFolder,icon:sa=>sa.expanded?y.createElement("img",{src:cn,className:wn.folderIcon}):y.createElement("img",{src:qe,className:wn.folderIcon}),isLeaf:!1,children:Nt(st)===Qe.OnlyFileFolder||Nt(st)===Qe.FileFolderAndDiff?Ta:[...Dn,...dr]}])}else{const Ta=Bn(Hn.data,st,"3");Dr([{title:Nt(st)===Qe.FileFolderAndDiff?y.createElement(He.Z,{justify:"space-between"},y.createElement(it.Z,null,`\u6839\u76EE\u5F55\uFF08${(pr=Hn.navigation[0])==null?void 0:pr.child_count}\uFF09`),y.createElement(it.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},fn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffValue"]},y.createElement(tn.default.Group,{style:{columnGap:12},options:tr})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffNum"],initialValue:(ur=Hn.navigation[0])==null?void 0:ur.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","extra"],initialValue:{type:"3",group_id:"0",name:"\u6839\u76EE\u5F55"}},y.createElement("input",{type:"hidden"})))):y.createElement("span",{style:{color:"#232B40"}},`\u6839\u76EE\u5F55\uFF08${(Jn=Hn.navigation[0])==null?void 0:Jn.child_count}\uFF09`),key:"0",name:"\u6839\u76EE\u5F55",item_banks_count:(ca=Hn.navigation[0])==null?void 0:ca.child_count,checkable:Nt(st)===Qe.OnlyFileFolder,icon:Dn=>Dn.expanded?y.createElement("img",{src:Nn,className:wn.shareFolderIcon}):y.createElement("img",{src:bn,className:wn.shareFolderIcon}),isLeaf:!1,disabled:!(((jn=Hn.navigation[0])==null?void 0:jn.child_count)>0),children:Nt(st)===Qe.OnlyFileFolder||Nt(st)===Qe.FileFolderAndDiff?Ta:[...Ta,...dr]}])}});(0,y.useEffect)(()=>{gn==="1"?ft({type:"0",group_id:0,item_type:fa,show_children:!0}):gn==="2"&&ft({type:"3",except_mine:!0,item_type:fa,show_children:!0,teach_group_id:br==="all"?"":br})},[st,gn,br]),(0,y.useEffect)(()=>{var nn,qn,Vn,Wn,ia,Sn,aa,Da,pr,ur,Jn,ca;console.log("selectData-active:",Vt,yt,gn),gn==="1"?(xa((nn=Vt==null?void 0:Vt.my)==null?void 0:nn.map(jn=>jn.id)),Ea(((Vn=(qn=Vt==null?void 0:Vt.my)==null?void 0:qn.reduce)==null?void 0:Vn.call(qn,(jn,Hn)=>jn+Hn.item_bank_num,0))||0)):gn==="2"&&(Nr((Wn=Vt==null?void 0:Vt.public)==null?void 0:Wn.map(jn=>jn.id)),Ea(((Sn=(ia=Vt==null?void 0:Vt.public)==null?void 0:ia.reduce)==null?void 0:Sn.call(ia,(jn,Hn)=>jn+Hn.item_bank_num,0))||0)),Nt(st)===Qe.All&&(gn==="1"?(xa((aa=Vt==null?void 0:Vt.my)==null?void 0:aa.map(jn=>jn.id)),Ea((Vt==null?void 0:Vt.filter(jn=>!jn.is_share).reduce((jn,Hn)=>jn+Hn.item_bank_num,0))||0),(Da=Vt==null?void 0:Vt.filter(jn=>!jn.is_share))==null||Da.forEach(jn=>{const Hn=oa.getFieldValue([`${jn.group_id||0}_${jn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",Hn),Hn!=null&&Hn.includes[jn.difficulty]||oa.setFieldValue([`${jn.group_id||0}_${jn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...Hn,jn.difficulty])))})):gn==="2"&&(Nr((pr=Vt==null?void 0:Vt.public)==null?void 0:pr.map(jn=>jn.id)),Ea((Vt==null?void 0:Vt.filter(jn=>!!jn.is_share).reduce((jn,Hn)=>jn+Hn.item_bank_num,0))||0),(ur=Vt==null?void 0:Vt.filter(jn=>!!jn.is_share))==null||ur.forEach(jn=>{const Hn=oa.getFieldValue([`${jn.teacher_group_id||0}_${jn.tag_discipline_id}`,"diffValue"])||[];Hn!=null&&Hn.includes[jn.difficulty]||oa.setFieldValue([`${jn.teacher_group_id||0}_${jn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...Hn,jn.difficulty])))}))),Nt(st)===Qe.FileFolderAndDiff&&(oa.resetFields(),setTimeout(()=>{Wt(Vt)},300),gn==="1"?(Ea((Vt==null?void 0:Vt.filter(jn=>!jn.is_share).reduce((jn,Hn)=>jn+Hn.item_bank_num,0))||0),(Jn=Vt==null?void 0:Vt.filter(jn=>!jn.is_share))==null||Jn.forEach(jn=>{const Hn=oa.getFieldValue([`${jn.group_id}`,"diffValue"])||[];console.log("prev:",Hn),Hn!=null&&Hn.includes[jn.difficulty]||oa.setFieldValue([`${jn.group_id}`,"diffValue"],Array.from(new Set([...Hn,jn.difficulty])))})):(Ea((Vt==null?void 0:Vt.filter(jn=>!!jn.is_share).reduce((jn,Hn)=>jn+Hn.item_bank_num,0))||0),(ca=Vt==null?void 0:Vt.filter(jn=>!!jn.is_share))==null||ca.forEach(jn=>{const Hn=oa.getFieldValue([`${jn.teacher_group_id}`,"diffValue"])||[];Hn!=null&&Hn.includes[jn.difficulty]||oa.setFieldValue([`${jn.teacher_group_id}`,"diffValue"],Array.from(new Set([...Hn,jn.difficulty])))})))},[gn]),console.log("1111111111:",Ka,Yn),(0,y.useEffect)(()=>{setTimeout(()=>{var nn,qn,Vn,Wn,ia;switch(Nt(st)){case Qe.OnlyFileFolder:{const Sn=[],aa=[];for(const Da of Vt.my||[])Sn.push(Da);for(const Da of Vt.public||[])aa.push(Da);xa(Sn.map(Da=>`${Da.group_id}`)),Nr(aa.map(Da=>`${Da.teacher_group_id}`)),Ea(gn==="1"?Sn.reduce((Da,pr)=>Da+pr.item_bank_num,0):aa.reduce((Da,pr)=>Da+pr.item_bank_num,0));break}case Qe.FileFolderAndKnowledge:{const Sn=[],aa=[];for(const Da of(Vt==null?void 0:Vt.my)||[])Sn.push(Da);for(const Da of(Vt==null?void 0:Vt.public)||[])aa.push(Da);Ea((nn=gn==="1"?Sn:aa)==null?void 0:nn.reduce((Da,pr)=>Da+pr.item_bank_num,0)),xa(Sn.map(Da=>`${Da.group_id}_${Da.tag_discipline_id}`)),Nr(aa.map(Da=>`${Da.teacher_group_id}_${Da.tag_discipline_id}`));break}case Qe.All:{gn==="1"?(Ea((Vt==null?void 0:Vt.filter(Sn=>!Sn.is_share).reduce((Sn,aa)=>Sn+aa.item_bank_num,0))||0),(qn=Vt==null?void 0:Vt.filter(Sn=>!Sn.is_share))==null||qn.forEach(Sn=>{const aa=oa.getFieldValue([`${Sn.group_id||0}_${Sn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",aa,Sn.difficulty,Sn),aa!=null&&aa.includes[Sn.difficulty]||oa.setFieldValue([`${Sn.group_id||0}_${Sn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...aa,Sn.difficulty])))})):(Ea((Vt==null?void 0:Vt.filter(Sn=>!!Sn.is_share).reduce((Sn,aa)=>Sn+aa.item_bank_num,0))||0),(Vn=Vt==null?void 0:Vt.filter(Sn=>!!Sn.is_share))==null||Vn.forEach(Sn=>{const aa=oa.getFieldValue([`${Sn.group_id||0}_${Sn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",aa,Sn.difficulty,Sn),aa!=null&&aa.includes[Sn.difficulty]||oa.setFieldValue([`${Sn.group_id||0}_${Sn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...aa,Sn.difficulty])))}));break}case Qe.FileFolderAndDiff:{gn==="1"?(Ea((Vt==null?void 0:Vt.filter(Sn=>!Sn.is_share).reduce((Sn,aa)=>Sn+aa.item_bank_num,0))||0),(Wn=Vt==null?void 0:Vt.filter(Sn=>!Sn.is_share))==null||Wn.forEach(Sn=>{const aa=oa.getFieldValue([`${Sn.group_id}`,"diffValue"])||[];console.log("prev:",aa,Sn.difficulty),aa!=null&&aa.includes[Sn.difficulty]||oa.setFieldValue([`${Sn.group_id}`,"diffValue"],Array.from(new Set([...aa,Sn.difficulty])))})):(Ea((Vt==null?void 0:Vt.filter(Sn=>!!Sn.is_share).reduce((Sn,aa)=>Sn+aa.item_bank_num,0))||0),(ia=Vt==null?void 0:Vt.filter(Sn=>!!Sn.is_share))==null||ia.forEach(Sn=>{const aa=oa.getFieldValue([`${Sn.group_id}`,"diffValue"])||[];aa!=null&&aa.includes[Sn.difficulty]||oa.setFieldValue([`${Sn.group_id}`,"diffValue"],Array.from(new Set([...aa,Sn.difficulty])))}));break}}},800)},[yt,st,hr,fo]);const[Gt,Ea]=(0,y.useState)(0);return y.createElement(Oe.default,{form:oa,onValuesChange:(nn,qn)=>_n(void 0,null,function*(){var Vn,Wn,ia,Sn;console.log("onValuesChange:",qn,nn);let aa=0;if(Nt(st)===Qe.FileFolderAndDiff){const Da=yield oa.getFieldValue(),pr=[],ur=[];for(const ca of Object.keys(Da))if((Wn=(Vn=Da[ca])==null?void 0:Vn.diffValue)!=null&&Wn.length&&ca!=="null"&&ca!==null){const jn=Da[ca];pr.push($n({id:ca},jn))}const Jn={1:fn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:fn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:fn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})};pr.map(ca=>{var jn,Hn,tr,dr,Ta;ca.id==0&&(ca.diffNum=gn==="1"?(Hn=(jn=so==null?void 0:so.navigation)==null?void 0:jn[0])==null?void 0:Hn.difficulty_count:(dr=(tr=wa==null?void 0:wa.navigation)==null?void 0:tr[0])==null?void 0:dr.difficulty_count),(Ta=ca==null?void 0:ca.diffValue)==null||Ta.map(Dn=>{var sa,ya,Za,qr,Bo;const mi={group_name:((sa=ca.extra)==null?void 0:sa.name)||"",teacher_group_name:"",id:`${ca.id}_${Dn}`,group_id:ca.id,difficulty:Dn,item_bank_num:(qr=(Za=(ya=ca.diffNum)==null?void 0:ya.filter(Ko=>Ko.name===Jn[Dn]))==null?void 0:Za[0])==null?void 0:qr.value};gn==="2"&&(mi.is_share=!0,mi.teacher_group_id=ca.id,mi.teacher_group_name=(Bo=ca.extra)==null?void 0:Bo.name),ur.push(mi)})}),aa=ur.reduce((ca,jn)=>ca+jn.item_bank_num,0),Wt([...ur,...Vt==null?void 0:Vt.filter(ca=>gn==="1"?ca.is_share:!ca.is_share)])}else if(Nt(st)===Qe.All){const Da=[];for(const pr of Object.keys(qn)){const{diffNum:ur=[],diffValue:Jn=[],extra:ca={}}=qn[pr];console.log("---",ca);const[jn,Hn]=pr.split("_");let tr=(Sn=(ia=ca.tag_disciplines)==null?void 0:ia.filter(dr=>parseInt(dr.id)===parseInt(Hn)))==null?void 0:Sn[0];Jn.forEach(dr=>{var Ta;const Dn={1:fn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:fn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:fn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})},sa=(Ta=ur==null?void 0:ur.find(Za=>Za.name===Dn[dr]))==null?void 0:Ta.value,ya={group_name:"",teacher_group_name:"",tag_discipline_name:(tr==null?void 0:tr.name)||ca.tag_discipline_name,id:`${pr}_${dr}`,group_id:jn,is_share:!!(tr!=null&&tr.is_share||(ca==null?void 0:ca.type)==="3"),tag_discipline_id:Hn,difficulty:dr,item_bank_num:sa};aa+=sa,ca.type==="0"?ya.group_name=ca.name:ya.teacher_group_name=ca.name,gn==="2"&&(ya.is_share=!0,ya.teacher_group_id=ca.id||0,ya.teacher_group_name=ca.name),sa>0&&Da.push(ya)})}Wt([...Da,...Vt==null?void 0:Vt.filter(pr=>gn==="1"?pr.is_share:!pr.is_share)])}Ea(aa)})},y.createElement(Xn.default,{destroyInactiveTabPane:!0,activeKey:gn,onChange:nn=>Fn(nn),style:{minHeight:260},tabBarExtraContent:{right:gn==="2"&&(ta==null?void 0:ta.length)>0&&y.createElement(ln.default,{onChange:nn=>{So(nn)},value:br,style:{width:120}},y.createElement(ln.default.Option,{key:"all",value:"all"},"\u5168\u90E8"),ta==null?void 0:ta.map(nn=>y.createElement(ln.default.Option,{key:nn==null?void 0:nn.group_id,value:nn==null?void 0:nn.group_id},nn==null?void 0:nn.name)))},items:[{key:"1",label:fn.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}),children:(hr==null?void 0:hr.length)===0?y.createElement(Ze.Z,{spinning:Gr},y.createElement(vt.Z,{ButtonTwo:y.createElement("a",{target:"_blank",href:"/problemset"},fn.formatMessage({id:"paperlibrary.goToQuestionBank",defaultMessage:"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898"}),">")})):y.createElement("div",{className:wn.folderAreaWrapper},y.createElement(He.Z,{justify:"space-between",align:"middle",className:wn.folderAreaHeader},y.createElement("span",null,"\u6587\u4EF6\u5939"),y.createElement("span",{className:"mr20"},fn.formatMessage({id:"paperlibrary.selected",defaultMessage:"\u5DF2\u9009"}),y.createElement("span",{style:{color:"#3061D0"}}," ",Gt," "),"\u9898")),y.createElement(Ze.Z,{spinning:Gr},y.createElement("div",{style:{minHeight:200}},hr.length>0&&y.createElement(Ba.default,{checkable:!0,className:wn.folderWrapper,rootStyle:{paddingLeft:15,paddingRight:0,paddingTop:10},selectable:!1,onCheck:(nn,qn)=>ar(nn,qn,"0"),checkedKeys:Ka,checkStrictly:!0,treeData:hr,showIcon:!0,blockNode:!0,defaultExpandAll:!0}))))},{key:"2",label:fn.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}),children:(fo==null?void 0:fo.length)===0?y.createElement(Ze.Z,{spinning:Ei},y.createElement(vt.Z,{ButtonTwo:y.createElement("a",{target:"_blank",href:"/problemset"},fn.formatMessage({id:"paperlibrary.goToQuestionBank",defaultMessage:"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898"}),">")})):y.createElement("div",{className:wn.folderAreaWrapper},y.createElement(He.Z,{justify:"space-between",align:"middle",className:wn.folderAreaHeader},y.createElement("span",null,"\u6587\u4EF6\u5939"),y.createElement("span",{className:"mr20"},fn.formatMessage({id:"paperlibrary.selected",defaultMessage:"\u5DF2\u9009"}),y.createElement("span",{style:{color:"#3061D0"}}," ",Gt||0," "),"\u9898")),y.createElement(Ze.Z,{spinning:Ei},y.createElement("div",{style:{minHeight:200}},(fo==null?void 0:fo.length)>0&&y.createElement(Ba.default,{checkable:!0,className:wn.folderWrapper,selectable:!1,rootStyle:{paddingLeft:15,paddingRight:0,paddingTop:10},onCheck:(nn,qn)=>ar(nn,qn,"3"),checkedKeys:Yn,checkStrictly:!0,treeData:fo,showIcon:!0,blockNode:!0,defaultExpandAll:!0}))))}]}))},Gn=ne(3033),sn=ne(61527),Ir=Object.defineProperty,_a=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,Hr=Object.prototype.propertyIsEnumerable,Oo=(st,yt,Wt)=>yt in st?Ir(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,ho=(st,yt)=>{for(var Wt in yt||(yt={}))wr.call(yt,Wt)&&Oo(st,Wt,yt[Wt]);if(Tr)for(var Wt of Tr(yt))Hr.call(yt,Wt)&&Oo(st,Wt,yt[Wt]);return st},Qo=(st,yt)=>_a(st,Rr(yt)),kn=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())});const Vr={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3};var Wr=({ruleValue:st,setSelectData:yt,currentItemType:Wt,defaultData:fa,isFirst:Vt})=>{const fn=(0,Ie.useIntl)(),[gn,Fn]=(0,y.useState)([]),[Rt,ea,oa,ta]=(0,sn.U)(xe,{source:"question",page:1,per_page:10,group_id:0,keyword:"",group_type:0,clazz:"ItemBanksGroup",sub_discipline_id:void 0,item_type:Wt,show_children:!0});(0,y.useEffect)(()=>{kn(void 0,null,function*(){const Yn=yield oa({},!0);Fn((0,Gn.L)(Yn.disciplines))})},[]),console.log(fa),(0,y.useEffect)(()=>{if(Vt)switch(Nt(st)){case Qe.OnlyKnowledge:{Ka(fa.map(Yn=>Yn.tag_discipline_id));break}case Qe.KnowledgeAndDiff:{const Yn=new Map;fa.forEach(Nr=>{Nr&&(Yn.has(Nr.tag_discipline_id)?Yn.set(Nr.tag_discipline_id,[...Yn.get(Nr.tag_discipline_id),Nr.difficulty]):Yn.set(Nr.tag_discipline_id,[Nr.difficulty]))});for(const[Nr,hr]of Yn.entries())fr.setFieldValue([Nr,"diff"],hr);break}}},[fa,st,Vt]);const[fr]=Oe.default.useForm(),br=(0,y.useMemo)(()=>{const Yn=[];let Nr="",hr="";const mo={};for(const fo of(ta==null?void 0:ta.disciplines)||[]){Nr=fo.name;for(const Dr of fo.sub_disciplines){hr=Dr.name;for(const so of Dr.tag_disciplines){const Ar={sub_discipline_name:`${Nr}&${hr}`,sub_discipline_id:Dr.id,tag_discipline_name:so.name,id:so.id,item_bank_num:so.total_count,difficulty_count:so.difficulty_count,tag_discipline_id:so.id};Yn.push(Ar)}}}return Yn},[ta,fa]),So=[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",show:!0,render:(Yn,Nr)=>{const{item_bank_num:hr}=Nr;return y.createElement("div",null,Yn,`(${hr})`)}},{title:fn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),dataIndex:"sub_discipline_name",ellipsis:!0,show:!0},{title:fn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),width:"35%",show:st.includes(en.Difficulty),render:(Yn,Nr)=>{const{id:hr,difficulty_count:mo,total_count:fo,sub_discipline_name:Dr,tag_discipline_name:so}=Nr;return y.createElement(y.Fragment,null,y.createElement(Oe.default.Item,{name:[hr,"diff"],noStyle:!0},y.createElement(tn.default.Group,{style:{columnGap:12},options:mo.map(Ar=>({label:Ar.name,value:Vr[Ar.name]}))})),y.createElement(Oe.default.Item,{name:[hr,"extra"],initialValue:{difficulty_count:mo,total_count:fo,sub_discipline_name:Dr,tag_discipline_name:so},noStyle:!0},y.createElement("input",{type:"hidden"})))}}].filter(Yn=>Yn.show),[ar,Ka]=(0,y.useState)([]),xa=(0,y.useRef)(new Map);return y.createElement("div",{style:{marginTop:12}},y.createElement(He.Z,{className:"mb20",align:"middle",gutter:20},y.createElement(it.Z,null,y.createElement(je.Z,{placeholder:fn.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),size:"large",style:{width:240},options:gn,onChange:Yn=>{oa({sub_discipline_id:Yn==null?void 0:Yn[1]})}})),y.createElement(it.Z,null,y.createElement(lt.t7,{style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Rt.keyword,onChange:Yn=>oa({keyword:Yn})}))),y.createElement(Oe.default,{form:fr,onValuesChange:(Yn,Nr)=>{var hr;console.log(Nr),xa.current.clear();for(const mo of Object.keys(Nr)){const fo={1:fn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:fn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:fn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})},Dr=Nr[mo],{difficulty_count:so,total_count:Ar}=Dr.extra||{};(hr=Dr==null?void 0:Dr.diff)==null||hr.forEach(wa=>{var Kr;const Gr=(Kr=so==null?void 0:so.find(Ei=>Ei.name===fo[wa]))==null?void 0:Kr.value,xi=Qo(ho({},Dr.extra),{id:`${mo}_${wa}`,difficulty:wa,item_bank_num:Gr,tag_discipline_id:mo});Gr>0&&xa.current.set(`${mo}_${wa}`,xi)})}yt([...xa.current.values()])}},(br==null?void 0:br.length)===0?y.createElement(vt.Z,{ButtonTwo:y.createElement("a",{target:"_blank",href:"/problemset"},fn.formatMessage({id:"paperlibrary.goToQuestionBank",defaultMessage:"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898"}),">")}):y.createElement(In.default,{rowSelection:Nt(st)===Qe.OnlyKnowledge?{preserveSelectedRowKeys:!0,type:"checkbox",onChange(Yn,Nr){console.log("table-selectedRowKeys:",Yn,Nr),Ka(Yn),yt(Nr)},getCheckboxProps:Yn=>({disabled:Yn.item_bank_num===0}),selectedRowKeys:ar}:void 0,columns:So,dataSource:br,loading:ea,scroll:{y:480},rowKey:"id",pagination:!1})))},Ja=Object.defineProperty,na=Object.defineProperties,ka=Object.getOwnPropertyDescriptors,$a=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,no=(st,yt,Wt)=>yt in st?Ja(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,xo=(st,yt)=>{for(var Wt in yt||(yt={}))Ca.call(yt,Wt)&&no(st,Wt,yt[Wt]);if($a)for(var Wt of $a(yt))Br.call(yt,Wt)&&no(st,Wt,yt[Wt]);return st},Qr=(st,yt)=>na(st,ka(yt)),Mo=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())});const fi={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3};var tl=({open:st,onCancel:yt,setVisibleModalType:Wt,currentItemType:fa})=>{var Vt;const fn=(0,Ie.useIntl)(),{data:gn,dispatch:Fn}=(0,y.useContext)(Be),[Rt,ea]=(0,y.useState)([]),[oa,ta]=(0,y.useState)(),fr=(Vt=gn==null?void 0:gn.item_types)==null?void 0:Vt.find(hr=>hr.item_type===fa);(0,y.useEffect)(()=>{var hr,mo,fo;if(st){const Dr=(hr=gn==null?void 0:gn.item_types)==null?void 0:hr.find(so=>so.item_type===fa);if((Dr==null?void 0:Dr.random_rule_type)!==Qe.Shixun){const so=Jt[Dr==null?void 0:Dr.random_rule_type]||[];ea(so);const Ar=(fo=(mo=gn==null?void 0:gn.item_types)==null?void 0:mo.find(wa=>wa.item_type===fa))==null?void 0:fo.contents;switch(console.log("----xxx",Nt(so)),Nt(so)){case Qe.OnlyDifficulty:{Ka(Ar.map(wa=>wa.difficulty));break}case Qe.OnlyFileFolder:{Ka({my:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)!=="NaN"&&!wa.teacher_group_id&&wa.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)>=0)}),ta({my:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)!=="NaN"&&!wa.teacher_group_id&&wa.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)>=0)});break}case Qe.FileFolderAndKnowledge:{Ka({my:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)!=="NaN"&&!wa.teacher_group_id&&wa.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)>=0)}),ta({my:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)!=="NaN"&&!wa.teacher_group_id&&wa.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(wa=>parseInt(wa.teacher_group_id)>=0)});break}case Qe.FileFolderAndDiff:{Ka(Ar),ta(Ar);break}case Qe.All:{Ka(Ar),ta(Ar);break}default:Ka(Ar)}}}},[st]);const[br,So]=(0,y.useState)([]);(0,y.useEffect)(()=>{st&&ye({item_type:fa}).then(hr=>{hr.status===0&&So(hr.data)})},[st]),(0,y.useEffect)(()=>{console.log("selectData",oa)},[oa]);const[ar,Ka]=(0,y.useState)(),[xa,Yn]=(0,y.useState)(!0);console.log("isFirst:",xa);const Nr=hr=>{ea(hr),ta([]),Ka([]),Yn(!1)};return y.createElement(ke.default,{title:fn.formatMessage({id:"paperlibrary.setQuestionRules",defaultMessage:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"}),width:948,closable:!0,centered:!0,open:st,onCancel:yt,destroyOnClose:!0,onOk:()=>Mo(void 0,null,function*(){var hr,mo,fo,Dr,so,Ar,wa;if(oa===void 0){Wt("");return}if(Object.prototype.toString.call(oa)==="[object Object]"&&!((hr=oa.my)!=null&&hr.length)&&!((mo=oa.public)!=null&&mo.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if(!Object.keys(oa).length&&!(oa!=null&&oa.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}const Kr=Nt(Rt);switch(Kr){case Qe.OnlyFileFolder:{Fn({type:"editRule",payload:{itemType:fa,tableData:[...oa.my||[],...oa.public||[]],randomRuleType:Kr}});break}case Qe.OnlyDifficulty:{const Gr=(Dr=(fo=gn==null?void 0:gn.item_types)==null?void 0:fo.find(Ei=>Ei.item_type===fa))==null?void 0:Dr.contents;let xi=[{},{value:(so=br.find(Ei=>Ei.name==="\u7B80\u5355"))==null?void 0:so.value},{value:(Ar=br.find(Ei=>Ei.name==="\u9002\u4E2D"))==null?void 0:Ar.value},{value:(wa=br.find(Ei=>Ei.name==="\u56F0\u96BE"))==null?void 0:wa.value}];Fn({type:"editRule",payload:{itemType:fa,tableData:oa.map((Ei,Ge)=>{var ot,ft,Gt,Ea;return{difficulty:Ei,id:Ge,quanlity:((ft=(ot=Gr==null?void 0:Gr.filter(nn=>nn.id===Ge))==null?void 0:ot[0])==null?void 0:ft.quanlity)||1,item_bank_num:(br==null?void 0:br.length)===1?(Gt=br[0])==null?void 0:Gt.value:(Ea=xi==null?void 0:xi[Ei])==null?void 0:Ea.value}}),randomRuleType:Kr}});break}case Qe.OnlyKnowledge:{Fn({type:"editRule",payload:{itemType:fa,tableData:oa.map(Gr=>Qr(xo({},Gr),{quanlity:Gr.quanlity||1})),randomRuleType:Kr}});break}case Qe.KnowledgeAndDiff:{Fn({type:"editRule",payload:{itemType:fa,tableData:oa.map(Gr=>Qr(xo({},Gr),{quanlity:Gr.quanlity||1})),randomRuleType:Kr}});break}case Qe.FileFolderAndDiff:{Fn({type:"editRule",payload:{itemType:fa,tableData:oa.map(Gr=>Qr(xo({},Gr),{quanlity:Gr.quanlity||1})),randomRuleType:Kr}});break}case Qe.FileFolderAndKnowledge:{Fn({type:"editRule",payload:{itemType:fa,tableData:[...oa.my||[],...oa.public||[]],randomRuleType:Kr}});break}case Qe.All:{Fn({type:"editRule",payload:{itemType:fa,tableData:oa.map(Gr=>Qr(xo({},Gr),{quanlity:Gr.quanlity||1})),randomRuleType:Kr}});break}}Wt("")})},y.createElement(tn.default.Group,{className:`${wn.ruleCheckBox}`,style:{marginBottom:8},value:Rt,onChange:hr=>{var mo;Rt!=null&&Rt.length&&((mo=fr==null?void 0:fr.contents)==null?void 0:mo.length)>0?ke.default.confirm({title:fn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u5207\u6362\u89C4\u5219\u540E\uFF0C\u4E4B\u524D\u7684\u62BD\u9898\u914D\u7F6E\u5C06\u88AB\u6E05\u7A7A\uFF01",okText:"\u7ACB\u5373\u5207\u6362",cancelText:"\u6682\u4E0D\u5207\u6362",onOk:()=>Nr(hr)}):Nr(hr)},options:[{label:fn.formatMessage({id:"paperlibrary.selectFromFolder",defaultMessage:"\u6307\u5B9A\u6587\u4EF6\u5939\u62BD\u9898"}),value:en.FileFolder},{label:fn.formatMessage({id:"paperlibrary.selectByDifficulty",defaultMessage:"\u6307\u5B9A\u96BE\u5EA6\u62BD\u9898"}),value:en.Difficulty},{label:fn.formatMessage({id:"paperlibrary.selectByKnowledgePoint",defaultMessage:"\u6307\u5B9A\u77E5\u8BC6\u70B9\u62BD\u9898"}),value:en.Knowledge}]}),Rt.includes(en.FileFolder)?y.createElement(cr,{defaultData:ar,selectData:oa,ruleValue:Rt,setSelectData:ta,currentItemType:fa}):Rt.includes(en.Knowledge)?y.createElement(Wr,{defaultData:ar,isFirst:xa,ruleValue:Rt,setSelectData:ta,currentItemType:fa}):Rt.includes(en.Difficulty)?y.createElement("div",{style:{marginTop:12}},y.createElement("span",{className:"mr20",style:{color:"#666"}},fn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(tn.default.Group,{style:{columnGap:12},options:br.map(hr=>({label:hr.name,value:fi[hr.name]})),value:oa||ar,onChange:hr=>ta(hr)})):null)},Oa=({open:st,onCancel:yt,setVisibleModalType:Wt,currentItemType:fa})=>st?y.createElement(tl,{open:st,onCancel:yt,setVisibleModalType:Wt,currentItemType:fa}):null,Eo=ne(6848),wo=ne(63952),_o=ne(33270),Zo=ne(6339),jo=ne(65862),Si=ne(61485),ci=ne(90463),Oi=({open:st,onCancel:yt,onOk:Wt})=>{const fa=(0,Ie.useIntl)(),{data:Vt}=(0,y.useContext)(Be),fn=(0,wo.g)(),[gn,Fn,Rt,ea]=(0,sn.U)(_o.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[oa,ta]=(0,y.useState)(!1);(0,y.useEffect)(()=>{if(st){Rt({page:1,limit:10,type:0},!0).then(xa=>{(xa==null?void 0:xa.shixuns_count)===0&&ta(!0)});const Ka=Vt.item_types.find(xa=>xa.item_type==="PRACTICAL");br(Ka.item_banks.map(xa=>xa.id)),ar(Ka.item_banks)}},[st,Vt]);const[fr,br]=(0,y.useState)([]),[So,ar]=(0,y.useState)([]);return y.createElement(ke.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:st,width:948,centered:!0,closable:!0,onCancel:yt,onOk:()=>Wt(So),destroyOnClose:!0},y.createElement(He.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},y.createElement(it.Z,null,y.createElement(je.Z,{style:{width:160},size:"large",placeholder:fa.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),options:fn,onChange:Ka=>{Rt({page:1,discipline_id:Ka==null?void 0:Ka[0],sub_discipline_id:Ka==null?void 0:Ka[1]})}}),y.createElement(ln.default,{className:"ml20",style:{width:118},size:"large",placeholder:fa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:Ka=>Rt({page:1,diff:Ka})}),y.createElement(ln.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:Ka=>Rt({page:1,shixun_publish_status:Ka})})),y.createElement(lt.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Ka=>{Rt({keyword:Ka,page:1})}})),oa?y.createElement("div",null,y.createElement(vt.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,jo.xg)("/shixuns")})):y.createElement(In.default,{loading:Fn,rowKey:"id",columns:[{title:fa.formatMessage({id:"paperlibrary.questionName",defaultMessage:"\u8BD5\u9898\u540D\u79F0"}),dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Ka,xa)=>y.createElement("div",{style:{display:"flex",alignItems:"center"}},y.createElement("div",{className:xa!=null&&xa.high_resources_consume?Et.title:"",title:Ka||"--"},y.createElement(Zo.Z,{key:1,showLines:1,showTextOnly:!0,value:Ka||"--"})),(xa==null?void 0:xa.high_resources_consume)&&y.createElement(ci.Z,{type:"shixun",style:{marginLeft:10}}))},{title:fa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Ka,xa,Yn)=>y.createElement("span",null,Ka||"- -")},{title:fa.formatMessage({id:"paperlibrary.usageCount",defaultMessage:"\u4F7F\u7528\u6B21\u6570"}),dataIndex:"study_count"},{title:y.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",y.createElement(Eo.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},y.createElement(Si.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Ka,xa,Yn)=>y.createElement("span",null,Ka||"- -")},{title:fa.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),render(Ka,xa){const{title:Yn,challenge_names:Nr,author_name:hr,identifier:mo,author_school_name:fo,study_count:Dr}=xa||{};return y.createElement("div",null,y.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{ke.default.confirm({title:fa.formatMessage({id:"paperlibrary.questionDetails",defaultMessage:"\u9898\u76EE\u8BE6\u60C5"}),closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:y.createElement("div",null,y.createElement(Zo.Z,{value:Yn,style:{marginBottom:18}}),y.createElement("div",{className:Et.challengeNameWrapper},Nr.map((so,Ar)=>y.createElement("div",{className:Et.challengeName,key:Ar},"\u7B2C",(0,jo.EM)(Ar+1),"\u9898\xA0",so))),y.createElement(He.Z,{className:Et.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},y.createElement(it.Z,{className:Et.shixunInfoWrapper},y.createElement("span",null,"\u521B\u5EFA\u8005"),y.createElement("span",{className:Et.shixunInfo},hr.split("\u3001")[0]),y.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{className:Et.shixunInfo},fo),y.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:Et.shixunInfo},Dr)),y.createElement(le.ZP,{type:"primary",className:Et.btnToDetail,onClick:()=>(0,jo.xg)(`/shixuns/${mo}/challenges?exercise=true`)},y.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},fa.formatMessage({id:"paperlibrary.view",defaultMessage:"\u67E5\u770B"})),(xa==null?void 0:xa.shixun_tag_num)===1&&y.createElement("a",{target:"_blank",href:`/shixuns/${xa==null?void 0:xa.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:ea==null?void 0:ea.items,rowSelection:{selectedRowKeys:fr,preserveSelectedRowKeys:!0,getCheckboxProps:Ka=>({disabled:Ka.shixun_tag_num===1}),onChange(Ka,xa){var Yn,Nr,hr;console.log(Ka),br(Ka);const mo=[];for(const Dr of So)Ka.includes(Dr.id)&&mo.push(Dr);const fo=mo.map(Dr=>Dr.id);for(const Dr of xa)Dr&&Ka.includes(Dr.id)&&!fo.includes(Dr.id)&&mo.push({id:Dr.id,difficulty:Dr.level,identifier:Dr.identifier,name:Dr.name,real_name:(Yn=Dr==null?void 0:Dr.author_name)==null?void 0:Yn.split("\u3001")[0],school_name:Dr.author_school_name,challenge_names:Dr.challenge_names,challenges:(Nr=Dr.challenge_names)==null?void 0:Nr.map((so,Ar)=>({subject:so,id:Ar,score:5})),score:((hr=Dr.challenge_names)==null?void 0:hr.length)*5,study_count:Dr.study_count,challenges_count:Dr.challenges_count});ar(mo)}},pagination:{current:gn.page,pageSize:gn.limit,total:ea==null?void 0:ea.items_count,showTotal:Ka=>y.createElement("span",null,"\u5171\xA0",y.createElement("span",{style:{color:"#165DFF"}},Ka),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Ka,xa){Rt({page:Ka,limit:xa})},size:"default"},scroll:{y:400}}))},qo=ne(11414),Do=ne(59301),wi=Object.defineProperty,Io=Object.defineProperties,Qi=Object.getOwnPropertyDescriptors,pi=Object.getOwnPropertySymbols,nl=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,al=(st,yt,Wt)=>yt in st?wi(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,gi=(st,yt)=>{for(var Wt in yt||(yt={}))nl.call(yt,Wt)&&al(st,Wt,yt[Wt]);if(pi)for(var Wt of pi(yt))Ri.call(yt,Wt)&&al(st,Wt,yt[Wt]);return st},_i=(st,yt)=>Io(st,Qi(yt)),ol=({onDelete:st,list:yt,onSelect:Wt})=>{const fa=(0,Ie.useIntl)(),[Vt,fn]=(0,y.useState)(!1),{dispatch:gn,disabled:Fn}=(0,y.useContext)(Be),Rt=(br,So,ar)=>{const Ka=Array.from(br),[xa]=Ka.splice(So,1);return Ka.splice(ar,0,xa),Ka},[ea,oa]=(0,y.useState)(null),[ta,fr]=(0,y.useState)(!1);return Do.createElement(qo.Z5,{onDragStart:()=>{fr(!0)},onDragEnd:br=>{if(fr(!1),!br.destination)return;const So=Rt(yt,br.source.index,br.destination.index);gn({type:"updateItemTypes",payload:So})}},Do.createElement(qo.bK,{droppableId:"droppable"},(br,So)=>Do.createElement("div",_i(gi({},br.droppableProps),{ref:br.innerRef}),Do.createElement(Ze.Z,{spinning:Vt},yt.map((ar,Ka)=>Do.createElement(qo._l,{key:Ka,draggableId:Ka.toString(),index:Ka,isDragDisabled:ea!==ar.item_type},(xa,Yn)=>Do.createElement(He.Z,_i(gi(gi({align:"middle",wrap:!1,ref:xa.innerRef},xa.draggableProps),xa.dragHandleProps),{className:`${Et.dragItem} ${ta?Et.dragging:""}`}),Do.createElement(it.Z,{className:Et.contentArea,onClick:()=>{Wt(ar.item_type),(0,jo.k3)()}},Do.createElement("span",{className:Et.blackText},(0,jo.EM)(Ka+1),"\u3001\u3010",ar.item_type_text,"\u3011"),Do.createElement(Eo.Z,{title:`\uFF08${ar.item_bank_count}\u5C0F\u9898\uFF0C\u5171${parseFloat(ar.total_score).toFixed(1)}\u5206\uFF09`},Do.createElement("span",{className:Et.greyText},`\uFF08${ar.item_bank_count}\u5C0F\u9898\uFF0C\u5171${parseFloat(ar.total_score).toFixed(1)}\u5206\uFF09`))),!Fn&&Do.createElement(Do.Fragment,null,Do.createElement(Eo.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F",open:ea===ar.item_type&&!ta},Do.createElement("div",{style:{cursor:"grab"},className:`${Et.iconWrapper} ${ta?Et.hidden:""}`,onMouseEnter:()=>{oa(ar.item_type)},onMouseLeave:()=>oa(null)},Do.createElement("i",{className:`iconfont icon-tuodong1 ${Et.dragIcon}`}))),Do.createElement(Eo.Z,{title:fa.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},Do.createElement("div",{className:`${Et.iconWrapper} ${ta?Et.hidden:""}`,style:{cursor:"pointer"},onClick:()=>st(ar.item_type)},Do.createElement("i",{className:`iconfont icon-shanchu12 ${Et.deleteIcon}`})))))))),br.placeholder)))},il=ne(10777),eo={flex_box_center:"flex_box_center___ppkzA",flex_space_between:"flex_space_between___Z1syx",flex_box_vertical_center:"flex_box_vertical_center___twJ9S",flex_box_center_end:"flex_box_center_end___uI0uW",flex_box_column:"flex_box_column___JRp7D",timelineWrapper:"timelineWrapper___LP9aM",title:"title___KUHj_",desc:"desc___ubc8E",titles:"titles___njkjf",questionDetailWrapper:"questionDetailWrapper___p4SFM",questionTitle:"questionTitle___JC9X6",questionScoreInfo:"questionScoreInfo___NgOJI",deleteIcon:"deleteIcon___oMVTN",deleteBtn:"deleteBtn___JUPEl",normalText:"normalText___FW9Y_",folderIcon:"folderIcon___gvacQ",challengeNameWrapper:"challengeNameWrapper___fG7Vv",challengeName:"challengeName___Ia1Xs",shixunPreviewFooter:"shixunPreviewFooter___rKsnN",shixunInfoWrapper:"shixunInfoWrapper___FEnDb",shixunInfo:"shixunInfo___TbrA2",btnToDetail:"btnToDetail___dqLQP",q_title:"q_title___qnv4p"},Ua=ne(73631),da=ne(31328);const ga=(st,yt,Wt,fa)=>{const Vt=(0,Ie.useIntl)(),fn={[Qe.OnlyDifficulty]:[{title:Vt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(gn,Fn){const{difficulty:Rt}=Fn;return y.createElement("span",{style:{color:Ye[Rt].color}},Ye[Rt].label)}}],[Qe.OnlyKnowledge]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:Vt.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),dataIndex:"sub_discipline_name",width:180,ellipsis:{showTitle:!0},render(gn,Fn){return`${gn}`}}],[Qe.OnlyFileFolder]:[{title:"\u6587\u4EF6\u5939",render(gn,Fn,Rt){const{group_name:ea,teacher_group_name:oa}=Fn,ta=ea||oa,fr=oa?da:Ua;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:fr,className:eo.folderIcon})," ",y.createElement(Eo.Z,{title:ta},y.createElement("span",{className:eo.titles},ta)))}},{title:Vt.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(gn,Fn){const{teacher_group_name:Rt}=Fn;return y.createElement("span",null,Rt?Vt.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Vt.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}}],[Qe.KnowledgeAndDiff]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:{showTitle:!0}},{title:Vt.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),width:180,dataIndex:"sub_discipline_name",ellipsis:{showTitle:!0}},{title:Vt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(gn,Fn){const{difficulty:Rt}=Fn;return y.createElement("span",{style:{color:Ye[Rt].color}},Ye[Rt].label)}}],[Qe.FileFolderAndKnowledge]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u6587\u4EF6\u5939",render(gn,Fn){const{group_name:Rt,teacher_group_name:ea}=Fn,oa=Rt||ea,ta=ea?da:Ua;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:ta,className:eo.folderIcon})," ",y.createElement(Eo.Z,{title:oa},y.createElement("span",{className:eo.titles},oa)))}},{title:Vt.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(gn,Fn){const{teacher_group_name:Rt}=Fn;return y.createElement("span",null,Rt?Vt.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Vt.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}}],[Qe.FileFolderAndDiff]:[{title:"\u6587\u4EF6\u5939",render(gn,Fn){const{group_name:Rt,teacher_group_name:ea}=Fn,oa=Rt||ea,ta=ea?da:Ua;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:ta,className:eo.folderIcon})," ",y.createElement(Eo.Z,{title:oa},y.createElement("span",{className:eo.titles},oa)))}},{title:Vt.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(gn,Fn){const{teacher_group_name:Rt}=Fn;return y.createElement("span",null,Rt?Vt.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Vt.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}},{title:Vt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(gn,Fn){const{difficulty:Rt}=Fn;return y.createElement("span",{style:{color:Ye[Rt].color}},Ye[Rt].label)}}],[Qe.All]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u6587\u4EF6\u5939",render(gn,Fn){const{group_name:Rt,teacher_group_name:ea,teacher_group_id:oa}=Fn,ta=Rt||ea,fr=oa||oa===0?da:Ua;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:fr,className:eo.folderIcon})," ",y.createElement(Eo.Z,{title:ta},y.createElement("span",{className:eo.titles},ta)))}},{title:Vt.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(gn,Fn){const{teacher_group_id:Rt}=Fn;return y.createElement("span",null,Rt||Rt===0?Vt.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Vt.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}},{title:Vt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(gn,Fn){const{difficulty:Rt}=Fn;return y.createElement("span",{style:{color:Ye[Rt].color}},Ye[Rt].label)}}],[Qe.Shixun]:[]};for(const gn of Object.values(fn))gn.push({title:"\u62BD\u9898\u6570\u91CF",key:"quanlity",render(Fn,Rt){const{item_bank_num:ea,quanlity:oa,id:ta,teacher_group_id:fr}=Rt||{};return y.createElement(He.Z,{align:"middle"},y.createElement(Le.Z,{disabled:fa,min:1,max:ea,size:"large",precision:0,value:oa,onChange:br=>{yt({type:"changeQuestionNum",payload:{itemType:Wt,id:ta,num:br,teacher_group_id:fr}})}}),y.createElement("span",{className:"ml10 font14",style:{color:"#333333"}},"/",ea))}},{title:Vt.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),key:"action",align:"right",render(Fn,Rt){const{id:ea,is_share:oa}=Rt;return fa?y.createElement("span",{className:"cursorNotAllowed c-grey-999"},Vt.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})):y.createElement("span",{className:eo.deleteBtn,onClick:()=>{yt({type:"deleteRule",payload:{itemType:Wt,id:ea,is_share:oa}})}},Vt.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"}))}});return fn[st]},Fa=({setVisibleModalType:st})=>{var yt,Wt,fa,Vt;const fn=(0,Ie.useIntl)(),{data:gn,dispatch:Fn,disabled:Rt}=(0,y.useContext)(Be),ea=(yt=gn==null?void 0:gn.item_types)==null?void 0:yt.find(oa=>oa.item_type==="PRACTICAL");return y.createElement(il.Z,{className:eo.timelineWrapper,items:[{children:y.createElement("div",{style:{transform:"translateY(-4px)"}},y.createElement(He.Z,{className:"mb20",align:"middle",justify:"space-between"},y.createElement(it.Z,null,y.createElement("span",{className:eo.title},fn.formatMessage({id:"paperlibrary.selectFromQuestionBank",defaultMessage:"\u9898\u5E93\u9009\u9898"})),y.createElement("span",{className:eo.desc},"\uFF08\u9700\u8981\u5148\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9\u5B9E\u8BAD\u9898\uFF0C\u518D\u8BBE\u7F6E\u4ECE\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898\u7684\u6570\u91CF\uFF09")),!Rt&&y.createElement(lt.op,{style:{width:102},onClick:()=>st("selectShixun")},"\u4ECE\u9898\u5E93\u9009\u62E9")),((Wt=ea==null?void 0:ea.item_banks)==null?void 0:Wt.length)===0?y.createElement(vt.Z,{customText:"\u6682\u65E0\u5F85\u62BD\u8BD5\u9898\uFF0C\u8BF7\u5148\u4ECE\u9898\u5E93\u8FDB\u884C\u9009\u62E9\uFF5E"}):y.createElement(In.default,{rowKey:"id",className:"mb10",columns:[{title:"\u5E8F\u53F7",width:60,render(oa,ta,fr){return y.createElement("span",null,fr+1)}},{title:fn.formatMessage({id:"paperlibrary.questionName",defaultMessage:"\u8BD5\u9898\u540D\u79F0"}),dataIndex:"name",width:"40%",ellipsis:{showTitle:!0},render:(oa,ta)=>y.createElement("div",{style:{display:"flex",alignItems:"center"}},y.createElement("div",{className:ta!=null&&ta.high_resources_consume?eo.q_title:"",title:oa||"--"},y.createElement(Zo.Z,{key:1,showLines:1,showTextOnly:!0,value:oa})),(ta==null?void 0:ta.high_resources_consume)&&y.createElement(ci.Z,{type:"shixun",style:{marginLeft:10}}))},{title:fn.formatMessage({id:"paperlibrary.usageCount",defaultMessage:"\u4F7F\u7528\u6B21\u6570"}),dataIndex:"study_count"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(oa,ta,fr)=>y.createElement("span",null,oa||"- -")},{title:fn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),dataIndex:"difficulty"},{title:fn.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),align:"right",width:180,render(oa,ta,fr){const{id:br,identifier:So,name:ar,challenge_names:Ka=[],real_name:xa,school_name:Yn,study_count:Nr,challenges:hr=[]}=ta||{};return y.createElement("div",null,y.createElement("span",{style:{color:"#165DFF",cursor:"pointer",marginLeft:20},onClick:()=>{ke.default.confirm({title:fn.formatMessage({id:"paperlibrary.questionDetails",defaultMessage:"\u9898\u76EE\u8BE6\u60C5"}),closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:y.createElement("div",null,y.createElement(Zo.Z,{value:ar,style:{marginBottom:18}}),y.createElement("div",{className:eo.challengeNameWrapper},hr==null?void 0:hr.map((mo,fo)=>y.createElement("div",{className:eo.challengeName,key:fo},"\u7B2C",(0,jo.EM)(fo+1),"\u9898\xA0",mo==null?void 0:mo.subject))),y.createElement(He.Z,{className:eo.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},y.createElement(it.Z,{className:eo.shixunInfoWrapper},y.createElement("span",null,"\u521B\u5EFA\u8005"),y.createElement("span",{className:eo.shixunInfo},xa),y.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{className:eo.shixunInfo},Yn),y.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:eo.shixunInfo},Nr)),y.createElement(le.ZP,{type:"primary",className:eo.btnToDetail,onClick:()=>(0,jo.xg)(`/shixuns/${So}/challenges?exercise=true`)},y.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},fn.formatMessage({id:"paperlibrary.view",defaultMessage:"\u67E5\u770B"})),!Rt&&y.createElement("span",{onClick:()=>{Fn({type:"deleteShixunQuestion",payload:{shixunId:br}})},className:`ml20 ${eo.deleteBtn}`},fn.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})))}}],dataSource:(ea==null?void 0:ea.item_banks)||[],pagination:!1}))},{children:y.createElement(He.Z,{style:{transform:(fa=ea==null?void 0:ea.item_banks)!=null&&fa.length?"translateY(-8px)":"none"},align:"middle",justify:"space-between"},y.createElement("span",{className:eo.title},"\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898"),!!((Vt=ea==null?void 0:ea.item_banks)!=null&&Vt.length)&&y.createElement(it.Z,null,y.createElement(He.Z,{align:"middle"},y.createElement("span",{className:eo.normalText},"\u62BD\u9898\u6570\u91CF"),y.createElement(Le.Z,{min:0,disabled:Rt,max:ea==null?void 0:ea.item_bank_num,size:"large",precision:0,className:"ml10 mr10",value:(ea==null?void 0:ea.item_bank_count)||1,onChange:oa=>Fn({type:"changeQuestionNum",payload:{num:oa||1,itemType:"PRACTICAL"}})}),y.createElement("span",{className:`${eo.normalText} mr30`},"/",ea==null?void 0:ea.item_bank_num),y.createElement("span",{className:eo.normalText},"\u6BCF\u9898\u5206\u503C"),y.createElement(Le.Z,{disabled:Rt,min:0,max:100,precision:1,size:"large",precision:1,className:"ml10 mr10",value:ea==null?void 0:ea.score,onChange:oa=>Fn({type:"changeQuestionScore",payload:{score:oa,itemType:"PRACTICAL"}})}),y.createElement("span",{className:eo.normalText},"\u5206"))))}]})};var _r=({setVisibleModalType:st,currentItemType:yt,onDelete:Wt})=>{var fa,Vt;const fn=(0,Ie.useIntl)(),gn=(0,Ie.useParams)(),{data:Fn,dispatch:Rt,disabled:ea}=(0,y.useContext)(Be),oa=((fa=Fn==null?void 0:Fn.item_types)==null?void 0:fa.findIndex(fr=>fr.item_type===yt))+1,ta=(Vt=Fn==null?void 0:Fn.item_types)==null?void 0:Vt.find(fr=>fr.item_type===yt);return y.createElement("div",{className:eo.questionDetailWrapper},y.createElement(He.Z,{justify:"space-between",align:"middle",className:"mb30"},y.createElement(it.Z,null,y.createElement("span",{className:eo.questionTitle},`${(0,jo.EM)(oa)}\u3001${ta==null?void 0:ta.item_type_text}`),y.createElement("span",{className:eo.questionScoreInfo},"\uFF08",y.createElement("span",{style:{color:"#3061D0"}},ta==null?void 0:ta.item_bank_count),"\u5C0F\u9898 ",y.createElement("span",null,"\uFF0C\u5171",y.createElement("span",{style:{color:"#3061D0"}},ta==null?void 0:ta.total_score),"\u5206"),"\uFF09")),!ea&&y.createElement("i",{className:`iconfont icon-shanchutimu ${eo.deleteIcon}`,onClick:()=>Wt(yt)})),yt==="PRACTICAL"?y.createElement(Fa,{setVisibleModalType:st}):y.createElement(y.Fragment,null,(ta==null?void 0:ta.contents.length)===0?y.createElement(vt.Z,{styles:{margin:"70px auto 100px auto"},customText:y.createElement("span",null,"\u6682\u65E0\u62BD\u9898\u89C4\u5219\uFF0C\u652F\u6301",y.createElement("span",{style:{color:"#EA9741"}},"\u6307\u5B9A\u6587\u4EF6\u5939\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9"),"\u8FDB\u884C\u62BD\u9898\uFF5E"),ButtonTwo:(gn==null?void 0:gn.id)&&y.createElement(He.Z,{justify:"center",className:"mt30"},y.createElement(lt.op,{style:{width:136,marginTop:-10},onClick:()=>st("rule")},fn.formatMessage({id:"paperlibrary.setQuestionRules",defaultMessage:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"})))}):y.createElement(y.Fragment,null,y.createElement(He.Z,{justify:"space-between",align:"middle",className:"mb20"},y.createElement(it.Z,null,y.createElement(He.Z,{align:"middle"},y.createElement("span",{className:`${eo.normalText}`},"\u6BCF\u9898\u5206\u503C"),y.createElement(Le.Z,{disabled:ea,size:"large",className:"ml10 mr10",min:.1,max:100,value:ta==null?void 0:ta.score,precision:1,onChange:fr=>Rt({type:"changeQuestionScore",payload:{score:fr,itemType:yt}})}),y.createElement("span",{className:eo.normalText},"\u5206"))),(gn==null?void 0:gn.id)&&y.createElement(lt.op,{onClick:()=>st("rule")},fn.formatMessage({id:"paperlibrary.setQuestionRules",defaultMessage:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"}))),y.createElement(In.default,{columns:ga(ta==null?void 0:ta.random_rule_type,Rt,yt,ea),dataSource:ta==null?void 0:ta.contents,pagination:!1,rowKey:"id"}))))},Po=ne(96935),Lo=ne(87513),Go=ne(41867),To=ne(32637),Ga=ne(59301),ti=Object.defineProperty,Di=Object.defineProperties,Ci=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertySymbols,rl=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,Ut=(st,yt,Wt)=>yt in st?ti(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,Qt=(st,yt)=>{for(var Wt in yt||(yt={}))rl.call(yt,Wt)&&Ut(st,Wt,yt[Wt]);if(Yi)for(var Wt of Yi(yt))Ji.call(yt,Wt)&&Ut(st,Wt,yt[Wt]);return st},hn=(st,yt)=>Di(st,Ci(yt)),Un=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())}),ir=({})=>{var st,yt,Wt,fa,Vt,fn,gn,Fn,Rt,ea,oa,ta,fr,br,So;const ar=(0,Ie.useIntl)(),[Ka]=(0,Ie.useSearchParams)(),xa=(0,Ie.useParams)(),{data:Yn,dispatch:Nr,setPreview:hr,getData:mo,handlePreview:fo,disabled:Dr}=(0,y.useContext)(Be),[so,Ar]=(0,y.useState)(""),[wa,Kr]=(0,y.useState)((yt=(st=Yn==null?void 0:Yn.item_types)==null?void 0:st[0])==null?void 0:yt.item_type),[Gr,xi]=(0,y.useState)(!0),[Ei,Ge]=(0,y.useState)(!1),ot=(nn,qn)=>Un(void 0,null,function*(){var Vn,Wn,ia,Sn,aa,Da,pr;const ur=Yn.item_types.map(tr=>tr.item_type_text),Jn=(Vn=Yn==null?void 0:Yn.item_types)==null?void 0:Vn.filter(tr=>{var dr,Ta;return((dr=tr.contents)==null?void 0:dr.length)>0||((Ta=tr==null?void 0:tr.item_banks)==null?void 0:Ta.length)>0});if(Yn.sort_by_item_type=ur,!((Wn=Yn.item_types)!=null&&Wn.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if((Jn==null?void 0:Jn.length)===0){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if(!nn){const tr=Number((ia=Yn==null?void 0:Yn.examination_bank)==null?void 0:ia.total_score);[100,120,150].includes(tr)||(yield new Promise((dr,Ta)=>{ke.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:ar.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:ar.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Ga.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",Ga.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},tr),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>Un(void 0,null,function*(){dr("")}),onCancel:()=>{Ta()}})}))}let ca=()=>Un(void 0,null,function*(){const tr=(0,at.cloneDeep)(Yn),{item_types:dr}=tr||{};tr.item_types=dr.filter(Dn=>Dn.item_type===wa),(yield fe(xa.id||xa.categoryId,tr)).status===0&&(Kr(qn),Ce.ZP.success("\u4FDD\u5B58\u6210\u529F"),nn||Ie.history.push("/paperlibrary"))}),jn=(aa=(Sn=Yn==null?void 0:Yn.item_types)==null?void 0:Sn.filter(tr=>tr.item_type_text==="\u5B9E\u8BAD\u9898")[0])==null?void 0:aa.item_banks,Hn=0;jn==null||jn.map(tr=>{tr.high_resources_consume&&(Hn=Hn+1)}),console.log(Hn),Hn>0?ke.default.info({centered:!0,icon:null,width:600,okText:"\u6211\u77E5\u9053\u4E86",title:ar.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Ga.createElement("div",null,Ga.createElement("div",{className:Et.tipcontent},Ga.createElement("div",null,Ga.createElement("div",{className:Et.name},"\u60A8\u597D\uFF01",(Da=(0,Go.eY)())==null?void 0:Da.username,"\uFF08",(pr=(0,Go.eY)())==null?void 0:pr.login,"\uFF09\uFF1A"),Ga.createElement("div",{className:Et.tip},"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Ga.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002\u53D1\u5E03\u8003\u8BD5\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Ga.createElement("div",{className:Et.info},Ga.createElement("i",{className:"iconfont icon-xunifangzhenti1 mr10 font26"}),Ga.createElement("span",{className:"mr10",style:{color:"#6A7283"}},"\u9AD8\u6D88\u8017\u5B9E\u9A8C"),Ga.createElement("span",{style:{color:"#232B40"}},`${Hn}\u4E2A`))),Ga.createElement("div",null,Ga.createElement("div",{className:Et.img},Ga.createElement("img",{src:To,width:"124px",height:"124px"})),Ga.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")))),onOk:()=>{ca()}}):ca()}),ft=(nn,qn,Vn,Wn=!1)=>Un(void 0,null,function*(){console.log(Yn);const ia=hn(Qt(Qt({},Yn.exercise),xa),{exerciseId:xa.categoryId,sort_by_item_type:Yn.sort_by_item_type,difficulty:Yn.examination_bank.difficulty,exam_notes:Yn.examination_bank.exam_notes,exercise_name:Yn.examination_bank.name,time:Yn.examination_bank.time,changed_item_type:wa,item_types:Yn.item_types,changed_item_type:wa,sub_discipline_id:Yn.examination_bank.sub_discipline_id});(!nn||qn===1)&&(ia.is_reset=1);const Sn=yield(0,Lo.wy)(ia);return Sn.status===0&&(Wn||Ce.ZP.success("\u4FEE\u6539\u6210\u529F "),Kr(Vn),nn||Ie.history.push(`/classrooms/${xa.coursesId}/exercise/${xa.categoryId}/detail?random=true`)),Sn}),Gt=nn=>{ke.default.confirm({title:ar.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),icon:null,centered:!0,closable:!0,content:Ga.createElement("div",null,"\u786E\u8BA4\u5220\u9664\u8BE5\u9898\u578B\uFF1F"),onOk:()=>Un(void 0,null,function*(){var qn,Vn,Wn,ia;if(xa.id){if((yield Xe(xa.id,{item_type:[nn]})).status!==0)return}else{const Sn=yield We(xa.categoryId,{item_type:[nn]});if(mo(),Sn.status!==0)return}if(Nr({type:"deleteQuestionType",payload:nn}),nn===wa){const Sn=he(Yn,{type:"deleteQuestionType",payload:nn});Kr(Sn.item_types.length?Sn.item_types[0].item_type:(Vn=(qn=Yn==null?void 0:Yn.item_types)==null?void 0:qn[0])==null?void 0:Vn.item_type)}else Kr((ia=(Wn=Yn==null?void 0:Yn.item_types)==null?void 0:Wn[0])==null?void 0:ia.item_type)})})};(0,y.useEffect)(()=>{var nn;(nn=Yn==null?void 0:Yn.examination_bank)!=null&&nn.name&&xi(!1),(0,jo.Dk)(ar.formatMessage({id:"paperlibrary.randomPaperCreation",defaultMessage:"\u968F\u673A\u7EC4\u5377"}))},[(Wt=Yn==null?void 0:Yn.examination_bank)==null?void 0:Wt.name]);const Ea=()=>Un(void 0,null,function*(){var nn;let qn=yield ft(!0,1,wa,!0);if((qn==null?void 0:qn.status)===0){const Vn=yield(0,E.ZP)(`/api/exercises/${xa==null?void 0:xa.categoryId}/simulate_start_answer.json`,{method:"get",params:{coursesId:xa==null?void 0:xa.coursesId,categoryId:xa==null?void 0:xa.categoryId}});(Vn==null?void 0:Vn.status)!=-1&&window.open(`/classrooms/${xa.coursesId}/exercise/${xa.categoryId}/${(nn=(0,Go.eY)())==null?void 0:nn.login}/initate_answer`)}});return Ga.createElement("div",{className:Et.questionInfo},Ga.createElement("div",{className:"tc mb20"},Ga.createElement(se.VP,{defaultValue:(fa=Yn==null?void 0:Yn.examination_bank)==null?void 0:fa.name,onFinish:nn=>Un(void 0,null,function*(){return Nr({type:"updateBaseInfo",payload:hn(Qt({},Yn.examination_bank),{name:nn})}),(0,Lo.wy)({exercise_name:nn,exerciseId:xa==null?void 0:xa.categoryId}),!0})})),Ga.createElement(He.Z,{justify:"center",className:"mb20"},Ga.createElement(it.Z,{className:"mr30"},Ga.createElement("span",{className:Et.label},ar.formatMessage({id:"paperlibrary.answerTime",defaultMessage:"\u7B54\u9898\u65F6\u957F"})),Ga.createElement("span",null,((Vt=Yn==null?void 0:Yn.examination_bank)==null?void 0:Vt.time)===-1?"\u4E0D\u9650":((fn=Yn==null?void 0:Yn.examination_bank)==null?void 0:fn.time)||"\u4E0D\u9650")),Ga.createElement(it.Z,{className:"mr30"},Ga.createElement("span",{className:Et.label},ar.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),Ga.createElement("span",null,(Fn=Ye[`${(gn=Yn==null?void 0:Yn.examination_bank)==null?void 0:gn.difficulty}`])==null?void 0:Fn.label)),Ga.createElement(it.Z,{className:"mr30"},Ga.createElement("span",{className:Et.label},"\u8BD5\u9898\u603B\u6570"),Ga.createElement("span",null,((Rt=Yn==null?void 0:Yn.examination_bank)==null?void 0:Rt.question_count)||0)),Ga.createElement(it.Z,null,Ga.createElement("span",{className:Et.label},ar.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"})),Ga.createElement("span",null,((oa=(ea=Yn==null?void 0:Yn.examination_bank)==null?void 0:ea.total_score)==null?void 0:oa.toFixed(1))||0))),Ga.createElement("div",{className:Et.content,style:{border:((ta=Yn==null?void 0:Yn.item_types)==null?void 0:ta.length)<=0&&"none"}},((fr=Yn==null?void 0:Yn.item_types)==null?void 0:fr.length)>0?Ga.createElement(He.Z,{wrap:!1},Ga.createElement(it.Z,{flex:"260px",className:Et.leftPart},!Dr&&Ga.createElement(He.Z,{className:"mb20"},Ga.createElement(lt.op,{style:{margin:"0 15px",borderRadius:2},onClick:()=>Ar("setScore")},ar.formatMessage({id:"paperlibrary.batchSetScore",defaultMessage:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"})),(xa==null?void 0:xa.id)&&Ga.createElement(lt.op,{shape:"default",onClick:()=>Ar("questionType")},ar.formatMessage({id:"paperlibrary.addQuestionType",defaultMessage:"\u6DFB\u52A0\u9898\u578B"}))),Ga.createElement(ol,{list:Yn.item_types,onSelect:nn=>Un(void 0,null,function*(){if(nn===wa)return;xi(!0);const qn=Yn.item_types.find(Vn=>Vn.item_type===wa);if(wa!=="PRACTICAL"&&qn.contents.length>0&&(xa!=null&&xa.id)){const Vn=(0,at.cloneDeep)(Yn),{item_types:Wn}=Vn||{};Vn.item_types=Wn.filter(ia=>ia.item_type===wa);try{(yield fe(xa.id||xa.categoryId,Vn)).status===0&&Kr(nn)}catch(ia){}}else xa.categoryId?ft(!0,2,nn):ot(!0,nn);xi(!1)}),onDelete:Gt})),Ga.createElement(it.Z,{flex:1,className:Et.rightPart},Ga.createElement(Ze.Z,{spinning:Gr},Ga.createElement(_r,{setVisibleModalType:Ar,currentItemType:wa,onDelete:Gt})))):Ga.createElement(vt.Z,{customText:ar.formatMessage({id:"paperlibrary.setQuestionTypeFirst",defaultMessage:"\u8BF7\u5148\u8BBE\u7F6E\u8BD5\u5377\u9898\u578B"}),styles:{margin:"70px auto"},ButtonTwo:Ga.createElement(He.Z,{justify:"center",className:"mt20"},(xa==null?void 0:xa.id)&&Ga.createElement(lt.op,{style:{width:88},onClick:()=>Ar("questionType")},ar.formatMessage({id:"paperlibrary.addQuestionType",defaultMessage:"\u6DFB\u52A0\u9898\u578B"})))})),!!(xa!=null&&xa.id)&&Ga.createElement("div",{className:Et.fixedBottom},Ga.createElement(Po.Z,{className:`${Et.previewBtn} mr20`,onClick:()=>Un(void 0,null,function*(){var nn,qn;const Vn=(nn=Yn==null?void 0:Yn.item_types)==null?void 0:nn.filter(Wn=>{var ia,Sn;return((ia=Wn.contents)==null?void 0:ia.length)>0||((Sn=Wn==null?void 0:Wn.item_banks)==null?void 0:Sn.length)>0});if(!((qn=Yn.item_types)!=null&&qn.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if((Vn==null?void 0:Vn.length)===0){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}yield ot(!0,wa),fo()})},ar.formatMessage({id:"paperlibrary.examPreview",defaultMessage:"\u8BD5\u5377\u9884\u89C8"})),Ga.createElement(Po.Z,{type:"primary",className:Et.confirmBtn,onClick:()=>ot()},Ga.createElement("i",{className:"iconfont icon-baocun1 mr5"}),"\u4FDD\u5B58\u8BD5\u5377")),!!(xa!=null&&xa.categoryId)&&Ga.createElement("div",{className:Et.fixedBottom,style:{justifyContent:((br=Yn==null?void 0:Yn.exercise)==null?void 0:br.exercise_status)!==1?"end":"center"}},Ga.createElement(Po.Z,{className:`${Et.previewBtn} mr20`,onClick:()=>Un(void 0,null,function*(){var nn,qn;document.body.scrollIntoView(),Ie.history.push(`/classrooms/${xa.coursesId}/exercise/${(nn=Yn==null?void 0:Yn.exercise)==null?void 0:nn.id}/detail?random=${(qn=Yn==null?void 0:Yn.exercise)==null?void 0:qn.is_random}`)})},"\u8FD4\u56DE"),((So=Yn==null?void 0:Yn.exercise)==null?void 0:So.exercise_status)===1&&Ga.createElement(Po.Z,{className:`${Et.previewBtn} mr20`,onClick:Ea},ar.formatMessage({id:"paperlibrary.mockExam",defaultMessage:"\u6A21\u62DF\u8003\u8BD5"})),(Yn==null?void 0:Yn.exercise.exercise_status)===1&&Ga.createElement(Po.Z,{type:"primary",className:Et.confirmBtn,onClick:()=>Un(void 0,null,function*(){var nn;const qn=Number((nn=Yn==null?void 0:Yn.examination_bank)==null?void 0:nn.total_score);[100,120,150].includes(qn)||(yield new Promise((Vn,Wn)=>{ke.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:ar.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:ar.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Ga.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",Ga.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},qn),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>Un(void 0,null,function*(){Vn("")}),onCancel:()=>{Wn()}})})),ft()})},"\u63D0\u4EA4")),Ga.createElement(Cn,{open:so==="questionType",onCancel:()=>Ar(""),onOk:nn=>Un(void 0,null,function*(){var qn,Vn;const Wn=[],ia=he(Yn,{type:"setQuestionType",payload:nn}),Sn=((qn=ia==null?void 0:ia.item_types)==null?void 0:qn.map(aa=>aa.item_type))||[];for(const aa of((Vn=Yn==null?void 0:Yn.item_types)==null?void 0:Vn.map(Da=>Da.item_type))||[])Sn.includes(aa)||Wn.push(aa);xa.id&&Wn.length>0&&(yield Xe(xa.id,{item_type:Wn})).status!==0||(Nr({type:"setQuestionType",payload:nn}),Kr(wa||ia.item_types[0].item_type),Ar(""))})}),Ga.createElement(ba,{open:so==="setScore",onCancel:()=>{Ar("")},onOk:nn=>Un(void 0,null,function*(){console.log("---newData",nn);const qn=nn.item_types.map(Vn=>({item_type:Vn.item_type,score:Vn.score}));xa.id?(yield Ne(xa.id,{score_settings:qn})).status===0&&Nr({type:"init",payload:nn}):(yield pe(xa.categoryId,{score_settings:qn})).status===0&&Nr({type:"init",payload:nn}),Ar("")})}),Ga.createElement(Oa,{open:so==="rule",onCancel:()=>Ar(""),currentItemType:wa,setVisibleModalType:Ar}),Ka.get("type")==="settings"&&Ga.createElement(Oi,{open:so==="selectShixun",onCancel:()=>Ar(""),onOk:nn=>{if(console.log(nn),(nn==null?void 0:nn.length)<=0){Ce.ZP.info("\u5B9E\u8BAD\u6570\u4E0D\u80FD\u4E3A0");return}Nr({type:"addShixun",payload:{shixunList:[...nn]}}),Ar("")}}))},Zn=ne(26971),Ma=ne(59301),er=Object.defineProperty,Cr=Object.defineProperties,io=Object.getOwnPropertyDescriptors,Qn=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Wo=(st,yt,Wt)=>yt in st?er(st,yt,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):st[yt]=Wt,nr=(st,yt)=>{for(var Wt in yt||(yt={}))Zr.call(yt,Wt)&&Wo(st,Wt,yt[Wt]);if(Qn)for(var Wt of Qn(yt))co.call(yt,Wt)&&Wo(st,Wt,yt[Wt]);return st},gr=(st,yt)=>Cr(st,io(yt)),lo=(st,yt,Wt)=>new Promise((fa,Vt)=>{var fn=Rt=>{try{Fn(Wt.next(Rt))}catch(ea){Vt(ea)}},gn=Rt=>{try{Fn(Wt.throw(Rt))}catch(ea){Vt(ea)}},Fn=Rt=>Rt.done?fa(Rt.value):Promise.resolve(Rt.value).then(fn,gn);Fn((Wt=Wt.apply(st,yt)).next())}),Yo=()=>{var st,yt,Wt,fa;const Vt=(0,Ie.useIntl)(),[fn,gn]=(0,y.useState)("baseInfo"),Fn=(0,Ie.useDispatch)();(0,y.useEffect)(()=>{Fn({type:"globalSetting/footerToggle",payload:!1})},[]);const Rt=(0,Ie.useParams)(),ea=!!(Rt.id||Rt.categoryId),[oa]=(0,Ie.useSearchParams)();(0,y.useEffect)(()=>{oa.get("type")==="settings"&&gn("settings")},[]);const[ta,fr]=(0,y.useReducer)(he,null),[br,So]=(0,y.useState)(!1),ar=()=>lo(void 0,null,function*(){So(!0);let wa;Rt.categoryId?wa=yield mt(Rt):wa=yield ge(Rt.id),So(!1),wa.status===0&&fr({type:"init",payload:wa})});(0,y.useEffect)(()=>{ea?ar():fr({type:"init",payload:{examination_bank:{difficulty:2}}})},[Rt]);const[Ka,xa]=(0,y.useState)(""),Yn=(wa,Kr)=>lo(void 0,null,function*(){var Gr,xi,Ei,Ge;const ot=(Gr=ta==null?void 0:ta.item_types)==null?void 0:Gr.filter(Ea=>{var nn;return((nn=Ea==null?void 0:Ea.item_type)==null?void 0:nn.toUpperCase())===(Kr==null?void 0:Kr.type)}),ft={sort_by_item_type:ta.sort_by_item_type,difficulty:ta.examination_bank.difficulty,exam_notes:ta.examination_bank.exam_notes,name:ta.examination_bank.name,time:ta.examination_bank.time,item_types:ta.item_types};if(wa!==void 0&&!(wa!=null&&wa.single_question_id)){ft.seleted_item_bank_ids=wa==null?void 0:wa.seleted_item_bank_ids,ft.item_types=ot;const Ea=yield Re(ft);if((Ea==null?void 0:Ea.status)===0){let nn=(0,at.cloneDeep)(Dr.data);nn.questionList=(xi=nn==null?void 0:nn.questionList)==null?void 0:xi.map(qn=>{var Vn;return qn.type===Kr.type?gr(nr({},qn),{questions:((Vn=Ea==null?void 0:Ea.questions)==null?void 0:Vn.questions)||[]}):qn}),so({show:!0,data:nn})}return}if(wa!==void 0&&(wa!=null&&wa.single_question_id)){ft.seleted_item_bank_ids=wa==null?void 0:wa.seleted_item_bank_ids,ft.single_question_id=wa==null?void 0:wa.single_question_id,ft.item_types=ot;const Ea=yield Re(ft);if((Ea==null?void 0:Ea.status)===0){let nn=(0,at.cloneDeep)(Dr.data);nn.questionList=(Ei=nn==null?void 0:nn.questionList)==null?void 0:Ei.map(qn=>{var Vn,Wn;if(qn.type===Kr.type){const ia=(0,at.cloneDeep)(qn==null?void 0:qn.questions);return ia.splice(Kr.index,1,(Wn=(Vn=Ea==null?void 0:Ea.questions)==null?void 0:Vn.questions)==null?void 0:Wn[0]),console.log(qn==null?void 0:qn.questions,ia,Kr.index,"new_questions"),gr(nr({},qn),{questions:ia})}return qn}),so({show:!0,data:nn})}return}const Gt=yield dt(ft);if((Gt==null?void 0:Gt.status)===0){const Ea=(0,jo.ad)(Gt);let nn=[];(Ge=ta==null?void 0:ta.item_types)==null||Ge.forEach(qn=>{var Vn;const Wn=(Vn=Ea==null?void 0:Ea.questionList)==null?void 0:Vn.find(ia=>qn.item_type===ia.type);nn.push(Wn)}),console.log(ta,"sortList"),nn=(0,at.compact)(nn),Ea.questionList=nn,so({show:!0,data:Ea}),xa(new Date)}}),Nr=wa=>{var Kr;let Gr=(0,at.cloneDeep)(Dr.data);Gr.questionList=(Kr=Gr==null?void 0:Gr.questionList)==null?void 0:Kr.map(xi=>xi.type===wa.type?gr(nr({},xi),{questions_score:wa.scoreTotal}):xi),fr({type:"changeQuestionScore",payload:{score:wa.score,itemType:wa.type}}),so({show:!0,data:Gr})},hr=wa=>lo(void 0,null,function*(){const Kr={sort_by_item_type:ta.sort_by_item_type,difficulty:ta.examination_bank.difficulty,exam_notes:ta.examination_bank.exam_notes,name:ta.examination_bank.name,time:ta.examination_bank.time,item_types:ta.item_types,sub_discipline_id:ta.examination_bank.sub_discipline_id};if(wa){(yield _e(nr(nr({},Kr),wa))).status===0&&Ce.ZP.success("\u4FDD\u5B58\u6210\u529F");return}(yield fe(Rt.id,Kr)).status===0&&(Ce.ZP.success("\u63D0\u4EA4\u6210\u529F"),Ie.history.push("/paperlibrary?defaultActiveKey=0"))}),mo=(0,wo.g)(),[fo]=Oe.default.useForm(),[Dr,so]=(0,y.useState)({show:!1,data:{}}),Ar=!!((st=ta==null?void 0:ta.exercise)!=null&&st.exercise_status)&&((yt=ta==null?void 0:ta.exercise)==null?void 0:yt.exercise_status)!==1;return Ma.createElement(Be.Provider,{value:{data:ta,disabled:Ar,dispatch:fr,setPreview:so,getData:ar,handlePreview:Yn}},Dr.show?Ma.createElement(Zn.Z,{key:Ka,data:Dr.data,onExchange:Yn,onTypeScore:Nr,submit:hr,goBack:()=>so({show:!1,data:{}})}):Ma.createElement("div",{className:ue.wrapper},Ma.createElement("div",{className:"edu-container"},Ma.createElement(De.Z,{className:ue.breadCrumbWrapper,separator:">",items:Rt!=null&&Rt.categoryId?[{title:Ma.createElement(Ie.Link,{to:`/classrooms/${Rt.coursesId}/exercise`},(fa=(Wt=(0,Go.eY)())==null?void 0:Wt.course)==null?void 0:fa.course_name)},{title:Ma.createElement(Ie.Link,{to:`/classrooms/${Rt.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")},{title:"\u7F16\u8F91\u8BD5\u5377"}]:[{title:Ma.createElement(Ie.Link,{to:"/paperlibrary"},Vt.formatMessage({id:"paperlibrary.questionBank",defaultMessage:"\u8BD5\u5377\u5E93"}))},{title:Vt.formatMessage({id:"paperlibrary.randomPaperCreation",defaultMessage:"\u968F\u673A\u7EC4\u5377"})}]}),Ma.createElement(se.d4,{activeKey:fn,tabs:[{key:"baseInfo",label:Vt.formatMessage({id:"paperlibrary.examBasicInfo",defaultMessage:"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F"})},{key:"settings",label:Vt.formatMessage({id:"paperlibrary.paperConfiguration",defaultMessage:"\u7EC4\u5377\u914D\u7F6E"})}],onChange:wa=>lo(void 0,null,function*(){if(wa==="settings"&&(yield fo.validateFields(),!ea)){const Kr=yield ce(ta);Kr.status===0&&Ie.history.replace(`/randompaper/edit/${Kr==null?void 0:Kr.examination_bank_id}?type=settings`)}gn(wa)})}),fn==="baseInfo"&&Ma.createElement(mn,{courseOptions:mo,setCurrentKey:gn,loading:br,form:fo}),Ma.createElement("div",{style:{display:fn==="settings"?"block":"none"}},ta&&Ma.createElement(ir,null)))))}},24100:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ze}});var y=ne(65582),ue=ne(43418),Ce={ul:"ul___TdfYY"},Oe=ne(32637),De=ne(59301),Ie=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Ke=(He,Le)=>{var le={};for(var E in He)se.call(He,E)&&Le.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&Ie)for(var E of Ie(He))Le.indexOf(E)<0&&Ze.call(He,E)&&(le[E]=He[E]);return le},ze=He=>{var Le=He,{open:le,onCancel:E}=Le,a=Ke(Le,["open","onCancel"]);const x=(0,y.useIntl)();return De.createElement(ue.default,{centered:!0,open:le,title:De.createElement("div",{style:{fontWeight:"bold"}},x.formatMessage({id:"paths.contactTeachingAssistant",defaultMessage:"\u8054\u7CFB\u6559\u7814\u52A9\u7406"})),width:"696px",onCancel:E,footer:null},De.createElement("div",null,De.createElement("div",{className:"tc"},De.createElement("img",{className:"mt10",src:Oe,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),De.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),De.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),De.createElement("div",{style:{color:"#333"},className:"pt30 font14"},De.createElement("ul",{className:Ce.ul},De.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),De.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),De.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},63952:function(Bt,Zt,ne){"use strict";ne.d(Zt,{g:function(){return De}});var y=ne(59301),ue=ne(29297),Ce=ne(3033),Oe=(Ie,se,Ze)=>new Promise((Ke,je)=>{var ze=le=>{try{Le(Ze.next(le))}catch(E){je(E)}},He=le=>{try{Le(Ze.throw(le))}catch(E){je(E)}},Le=le=>le.done?Ke(le.value):Promise.resolve(le.value).then(ze,He);Le((Ze=Ze.apply(Ie,se)).next())});const De=()=>{const[Ie,se]=(0,y.useState)([]);return(0,y.useEffect)(()=>{Oe(void 0,null,function*(){const Ke=yield(0,ue.d1)({source:"question"});Ke!=null&&Ke.disciplines&&se((0,Ce.L)(Ke==null?void 0:Ke.disciplines))})},[]),Ie}},61527:function(Bt,Zt,ne){"use strict";ne.d(Zt,{U:function(){return Ke}});var y=ne(59301),ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Ie=(je,ze,He)=>ze in je?ue(je,ze,{enumerable:!0,configurable:!0,writable:!0,value:He}):je[ze]=He,se=(je,ze)=>{for(var He in ze||(ze={}))Oe.call(ze,He)&&Ie(je,He,ze[He]);if(Ce)for(var He of Ce(ze))De.call(ze,He)&&Ie(je,He,ze[He]);return je},Ze=(je,ze,He)=>new Promise((Le,le)=>{var E=b=>{try{x(He.next(b))}catch(z){le(z)}},a=b=>{try{x(He.throw(b))}catch(z){le(z)}},x=b=>b.done?Le(b.value):Promise.resolve(b.value).then(E,a);x((He=He.apply(je,ze)).next())});function Ke(je,ze){const[He,Le]=(0,y.useState)(ze),[le,E]=(0,y.useState)(!1),[a,x]=(0,y.useState)();return[He,le,(z,te=!1)=>Ze(this,null,function*(){const re=te?ze:se(se({},He),z);E(!0),Le(re);const ie=yield je(re);return E(!1),x(ie),ie}),a]}},50371:function(Bt,Zt){"use strict";function ne(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue{const De=Ce[Oe];De!==void 0&&(y[Oe]=De)})}return y}Zt.Z=ne},77578:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return y}});const y=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(Bt,Zt,ne){"use strict";ne.d(Zt,{F:function(){return y},Z:function(){return ue}});function y(Ce){return Ce!=null&&Ce===Ce.window}function ue(Ce,Oe){var De,Ie;if(typeof window=="undefined")return 0;const se=Oe?"scrollTop":"scrollLeft";let Ze=0;return y(Ce)?Ze=Ce[Oe?"pageYOffset":"pageXOffset"]:Ce instanceof Document?Ze=Ce.documentElement[se]:(Ce instanceof HTMLElement||Ce)&&(Ze=Ce[se]),Ce&&!y(Ce)&&typeof Ze!="number"&&(Ze=(Ie=((De=Ce.ownerDocument)!==null&&De!==void 0?De:Ce).documentElement)===null||Ie===void 0?void 0:Ie[se]),Ze}},56762:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ue}});var y=ne(59301);function ue(){const[,Ce]=y.useReducer(Oe=>Oe+1,0);return Ce}},68031:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Oe}});var y=ne(16089);function ue(De,Ie,se,Ze){const Ke=se-Ie;return De/=Ze/2,De<1?Ke/2*De*De*De+Ie:Ke/2*((De-=2)*De*De+2)+Ie}var Ce=ne(13845);function Oe(De){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:Ze,duration:Ke=450}=Ie,je=se(),ze=(0,Ce.Z)(je,!0),He=Date.now(),Le=()=>{const E=Date.now()-He,a=ue(E>Ke?Ke:E,ze,De,Ke);(0,Ce.F)(je)?je.scrollTo(window.pageXOffset,a):je instanceof Document||je.constructor.name==="HTMLDocument"?je.documentElement.scrollTop=a:je.scrollTop=a,E{let{children:_e}=Re;const{getPrefixCls:mt}=De.useContext(se.E_),Qe=mt("breadcrumb");return De.createElement("li",{className:`${Qe}-separator`,"aria-hidden":"true"},_e===""?_e:_e||"/")};je.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=je,He=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Qe=Object.getOwnPropertySymbols(Re);at_e[at]||Qe)}function le(Re,_e,mt,Qe){if(mt==null)return null;const{className:at,onClick:Ht}=_e,ht=He(_e,["className","onClick"]),zt=Object.assign(Object.assign({},(0,Oe.Z)(ht,{data:!0,aria:!0})),{onClick:Ht});return Qe!==void 0?De.createElement("a",Object.assign({},zt,{className:ue()(`${Re}-link`,at),href:Qe}),mt):De.createElement("span",Object.assign({},zt,{className:ue()(`${Re}-link`,at)}),mt)}function E(Re,_e){return(Qe,at,Ht,ht,zt)=>{if(_e)return _e(Qe,at,Ht,ht);const Kt=Le(Qe,at);return le(Re,Qe,Kt,zt)}}var a=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Qe=Object.getOwnPropertySymbols(Re);at{const{prefixCls:_e,separator:mt="/",children:Qe,menu:at,overlay:Ht,dropdownProps:ht,href:zt}=Re,Ve=(ut=>{if(at||Ht){const Mt=Object.assign({},ht);if(at){const un=at||{},{items:Dt}=un,en=a(un,["items"]);Mt.menu=Object.assign(Object.assign({},en),{items:Dt==null?void 0:Dt.map((Be,Jt)=>{var{key:yn,title:Nt,label:Ot,path:tt}=Be,Ye=a(Be,["key","title","label","path"]);let Fe=Ot!=null?Ot:Nt;return tt&&(Fe=De.createElement("a",{href:`${zt}${tt}`},Fe)),Object.assign(Object.assign({},Ye),{key:yn!=null?yn:Jt,label:Fe})})})}else Ht&&(Mt.overlay=Ht);return De.createElement(Ke.Z,Object.assign({placement:"bottom"},Mt),De.createElement("span",{className:`${_e}-overlay-link`},ut,De.createElement(Ze.Z,null)))}return ut})(Qe);return Ve!=null?De.createElement(De.Fragment,null,De.createElement("li",null,Ve),mt&&De.createElement(ze,null,mt)):null},b=Re=>{const{prefixCls:_e,children:mt,href:Qe}=Re,at=a(Re,["prefixCls","children","href"]),{getPrefixCls:Ht}=De.useContext(se.E_),ht=Ht("breadcrumb",_e);return De.createElement(x,Object.assign({},at,{prefixCls:ht}),le(ht,at,mt,Qe))};b.__ANT_BREADCRUMB_ITEM=!0;var z=b,te=ne(17313),re=ne(83116),ie=ne(37613);const ge=Re=>{const{componentCls:_e,iconCls:mt}=Re;return{[_e]:Object.assign(Object.assign({},(0,te.Wf)(Re)),{color:Re.itemColor,fontSize:Re.fontSize,[mt]:{fontSize:Re.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Re.linkColor,transition:`color ${Re.motionDurationMid}`,padding:`0 ${Re.paddingXXS}px`,borderRadius:Re.borderRadiusSM,height:Re.lineHeight*Re.fontSize,display:"inline-block",marginInline:-Re.marginXXS,"&:hover":{color:Re.linkHoverColor,backgroundColor:Re.colorBgTextHover}},(0,te.Qy)(Re)),"li:last-child":{color:Re.lastItemColor},[`${_e}-separator`]:{marginInline:Re.separatorMargin,color:Re.separatorColor},[`${_e}-link`]:{[` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,qe=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function pn(dt){return/^\d+$/.test(dt)?`${dt}px`:dt}const sn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",zn={[sn+"-B"]:"bold",[sn+"-I"]:"italic"},Gn={[Nt]:"\u6DFB\u52A0\u94FE\u63A5",[yn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ft]:"\u6DFB\u52A0\u56FE\u7247",[fn]:"\u6DFB\u52A0\u753B\u56FE",[lt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Ln]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Vn=({defaultValue:dt="",onChange:Ct,width:St="100%",height:mn=400,miniToolbar:An=!1,isFocus:un=!1,watch:$n,insertTemp:Kn,mode:Jn="markdown",id:ma="markdown-editor-id",showResizeBar:Ha=!1,noStorage:Bn=!1,showNullButton:ya=!1,showNullProgramButton:Ya=!1,hidetoolBar:dr=!1,fullScreen:Wn=!1,onBlur:cn,onCMBeforeChange:Lr,onFullScreen:Qa,className:Or="",disablePaste:kr=!1,disabled:Fr=!1,disabledFill:Zr=!1,placeholder:Zo="",values:ho="",extraUse:Vo})=>{const[Hn,Jr]=(0,y.useState)(null),[Kr,Vr]=(0,y.useState)(dt),[Ja,ta]=(0,y.useState)($n),[Ma,$a]=(0,y.useState)(Wn),[xa,br]=(0,y.useState)(""),[Xr,xo]=(0,y.useState)(0),[ao,Ro]=(0,y.useState)(mn),[mi,ei]=(0,y.useState)(!1),al=(0,y.useRef)((0,Te.Z)()),Io=(0,y.useRef)(!1),ba=(0,y.useRef)(),[Go,To]=(0,y.useState)(0),[jo,So]=(0,y.useState)(0),ii=(0,y.useRef)(),ui=(0,y.useRef)(),fi=(0,y.useRef)(),qo=(0,y.useRef)(),Ai=()=>qt(void 0,null,function*(){var Va;const ga=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:al.current}});(Va=ga==null?void 0:ga.attachments)!=null&&Va.length&&(console.log("cm:",Hn,ii),ga.attachments.map(da=>{da.content_type.indexOf("image")>-1?Hn.replaceSelection(`![,](/api/attachments/${da.id}?type=${da.content_type})`):da.content_type.indexOf("video")>-1?Hn.replaceSelection(``):da.content_type.indexOf("pdf")>-1?Hn.replaceSelection(`${da.name}`):Hn.replaceSelection(`[${da.name}](${ENV.API_SERVER}/api/attachments/${da.id}?type=${da.content_type})`)}))});(0,y.useEffect)(()=>{const Va=window.scrollY||window.pageYOffset;Vr(ho),Hn==null||Hn.setValue(ho),window.scrollTo(0,Va)},[ho]),(0,y.useEffect)(()=>{Qa==null||Qa(Ma)},[Ma]),(0,y.useEffect)(()=>{if(ii.current){let Va=function(da,wa){var Nr;if(kr){wa.preventDefault();return}const Gr=wa.clipboardData;if(Gr){const No=Gr.types.toString(),Ao=Gr.items;if(No==="Files"||Gr.types.indexOf("Files")>-1){if(wa.preventDefault(),Jn=="stex")return;try{let Yo=Ao[1];((Nr=Ao[0])==null?void 0:Nr.kind)==="file"&&(Yo=Ao[0]);const Fa=Yo.getAsFile(),Pi=Fa.name.split(".").pop();(0,Ve.I)(Fa,$o=>{var Di,vi,tl;$o.id?((Di=Fa==null?void 0:Fa.type)==null?void 0:Di.indexOf("image"))>-1?ga.replaceSelection(``):((vi=Fa==null?void 0:Fa.type)==null?void 0:vi.indexOf("video"))>-1?ga.replaceSelection(``):((tl=Fa==null?void 0:Fa.type)==null?void 0:tl.indexOf("pdf"))>-1?ga.replaceSelection(`${Fa.name}`):qe.includes(Pi)?ga.replaceSelection(`${Fa.name}`):ga.replaceSelection(`[${Fa.name}](/api/attachments/${$o.id}?type=${$o.content_type})`):($o==null?void 0:$o.status)===401&&(at.ZP.warning(($o==null?void 0:$o.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Yo){at.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ga=Ce().fromTextArea(ii.current,{mode:Jn,lineNumbers:!An,lineWrapping:!0,value:dt,autoCloseTags:!Ya,autoCloseBrackets:!0});return ga.on("keyup",function(da,wa){wa.keyCode===8&&(da.getValue()==""?ga.setOption("placeholder",Zo):ga.setOption("placeholder",null))}),ga.on("keydown",function(da,wa){if(wa.keyCode===8){var Nr=Bi(da);Nr&&wa.preventDefault()}}),un&&ga.focus(),ga.on("paste",Va),ga.on("dragleave",function(da,wa){ui.current.classList.remove("mouse-hover-md")}),Fr&&ga.on("beforeChange",function(da,wa){(wa.origin==="paste"||wa.origin==="+input")&&wa.cancel()}),Jr(ga),()=>{ga.off("paste",Va)}}},[]);const to=(0,y.useCallback)(()=>{if(ui.current)try{}catch(Va){console.log(Va,"---- to set md editor body height")}},[ao,ui,Ma]);(0,y.useEffect)(()=>{function Va(){let ga=new Oe.Z(da=>{for(let wa of da)(wa.target.offsetHeight>0||wa.target.offsetWidth>0)&&(to(),Hn.setSize("100%","100%"),Hn.refresh())});return ga.observe(ii.current.parentElement),ga}if(Hn){const ga=Va();return()=>{var da,wa;(da=ii.current)!=null&&da.parentElement&&ga.unobserve((wa=ii.current)==null?void 0:wa.parentElement)}}},[Hn,to]),(0,y.useEffect)(()=>{if(Hn){let Va=[];for(const[ga,da]of Object.entries(zn)){let wa={[ga]:()=>{wi(da)}};Va.push(wa),Hn.addKeyMap(wa)}return ba.current=setInterval(()=>{Io.current&&Ai()},4e3),()=>{clearInterval(ba.current);for(let ga of Va)Hn.removeKeyMap(ga)}}},[Hn]),(0,y.useEffect)(()=>{Wn!==Ma&&$a(Wn)},[Wn]),(0,Yt.Z)(()=>{if(!Bn&&Xr>0){let Va=new Date().getTime(),ga=window.sessionStorage.getItem(ma);Va>=Xr+Sa&&(!ga||ga!==Kr)&&(window.sessionStorage.setItem(ma,Kr),ei(!0))}},Sa),(0,y.useEffect)(()=>{ta($n)},[Hn,$n]),(0,y.useEffect)(()=>{Hn&&un&&Hn.focus()},[Hn,un]),(0,y.useEffect)(()=>{if(Ja&&Hn){let Va=function(da){let wa=da.target;if(qo.current){let Nr=wa.scrollTop/wa.scrollHeight;qo.current.scrollTop=qo.current.scrollHeight*Nr}};const ga=Hn.getScrollerElement();return ga.addEventListener("scroll",Va),()=>{ga.removeEventListener("scroll",Va)}}},[Hn,Ja]),(0,y.useEffect)(()=>{if(Hn&&Lr){let Va=function(ga,da){Lr(ga,da)};return Hn.on("beforeChange",Va),()=>{Hn.off("beforeChange",Va)}}},[Hn,Lr]),(0,y.useEffect)(()=>{if(Hn&&cn){let Va=function(){cn(Hn.getValue())};return Hn.on("blur",Va),()=>{Hn.off("blur",Va)}}},[Hn,cn]);function Bi(Va,ga){var da=Va.getDoc(),wa=da.getCursor(),Nr=da.getLine(wa.line),Gr=Nr.charAt(wa.ch-1),No=Nr.lastIndexOf("@\u2581@",wa.ch),Ao=Nr.lastIndexOf("@\u2581\u2581@",wa.ch),Yo=No>Ao?No:Ao,Fa=No>Ao?3:4;if(Un.indexOf(Gr)===-1)return null;if(console.log("change1:",ga,Va,Nr,wa,Yo,No,Ao,Gr),Yo>=0&&wa.ch-Yo<5){var Pi=Yo+Fa;return da.replaceRange("",{line:wa.line,ch:Yo},{line:wa.line,ch:Pi}),{line:wa.line,ch:Pi}}return null}(0,y.useEffect)(()=>{if(Hn){let Va=function(ga,da){const wa=ga.getValue();Vr(wa),xo(new Date().getTime()),ga.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Ct&&(Ya?Ct(wa,rl(wa)):Ct(wa))};return Hn.on("change",Va),()=>{Hn.off("change",Va)}}},[Hn,Ct]),(0,y.useEffect)(()=>{if(Hn)if(dt==null)Hn.setValue(""),Vr("");else{const Va=window.scrollY||window.pageYOffset;dt!==Hn.getValue()&&(Hn.setValue(dt),Vr(dt),Hn.setCursor(Fr?1:Hn.lineCount(),0),window.scrollTo(0,Va))}},[Hn,dt]);const wi=(0,y.useCallback)(Va=>{const ga=Hn.getCursor(),da=Hn.getSelection();let wa=da.split(` +`);switch(Va){case"bold":return Hn.replaceSelection("**"+da+"**"),da===""&&Hn.setCursor(ga.line,ga.ch+2),Hn.focus();case"italic":return Hn.replaceSelection("*"+da+"*"),da===""&&Hn.setCursor(ga.line,ga.ch+1),Hn.focus();case"code":return Hn.replaceSelection("`"+da+"`"),da===""&&Hn.setCursor(ga.line,ga.ch+1),Hn.focus();case"inline-latex":return br("inline-latex"),Hn.focus();case"latex":return Hn.replaceSelection("```latex\n"+da+"\n```"),Hn.setCursor(ga.line+1,da.length+1),Hn.focus();case"line-break":return Hn.replaceSelection(`
+`),Hn.focus();case"list-ul":return da===""?Hn.replaceSelection("- "+da):Hn.replaceSelection(wa.map(Nr=>Nr===""?"":`- ${Nr}`).join(` +`)),Hn.focus();case"list-ol":return da===""?Hn.replaceSelection("1. "+da):Hn.replaceSelection(wa.map((Nr,Gr)=>Nr===""?"":`${Gr+1}. ${Nr}`).join(` +`)),Hn.focus();case"add-null-ch":return da===""&&Hn.setCursor(ga.line,ga.ch),Hn.replaceSelection(Ca),Hn.focus();case"add-signal":return da===""&&Hn.setCursor(ga.line,ga.ch),Hn.replaceSelection(dn),Hn.focus();case"add-multiple":return da===""&&Hn.setCursor(ga.line,ga.ch),Hn.replaceSelection(Un),Hn.focus();case"inster-template-1":return da===""&&Hn.setCursor(ga.line,ga.ch),Hn.replaceSelection(Aa),Hn.focus();case"eraser":return Hn.setValue(""),Hn.focus();case"trigger-watch":return ta(!Ja),Hn.focus();case"trigger-full-screen":return $a(!Ma),Hn.focus();case Nt:br(Nt);return;case yn:br(yn);return;case ft:br(ft);return;case fn:br(fn);return;case"maths-latex":br("maths-latex");return;case lt:br(lt);return;case Ln:br(Ln);return;default:throw new Error}},[Hn,Ja,Ma]),Lo=(0,y.useCallback)((Va,ga)=>{var da,wa,Nr,Gr,No,Ao;switch(br(""),xa){case Nt:const{title:Di,link:vi}=Va;return Hn.replaceSelection(`[${Di}](${vi})`),Hn.focus();case yn:const{language:tl,content:nl}=Va;return Hn.replaceSelection(["```"+tl,nl,"```"].join(` +`)),Hn.focus();case"maths-latex":for(var Yo=atob(Va),Fa=new Uint8Array(Yo.length),Pi=0;Pi{Wa.id?Hn.replaceSelection(`![,](/api/attachments/${Wa.id}?type=${Wa.content_type})`):(Wa==null?void 0:Wa.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Hn.replaceSelection("`$$"+Va+"$$`");break;case ft:case fn:case En:const{src:Ki,alt:Vt}=Va,Qt=ga,rn=(Nr=(wa=(da=Qt==null?void 0:Qt.name)==null?void 0:da.split("."))==null?void 0:wa.pop)==null?void 0:Nr.call(wa);return((Gr=Qt==null?void 0:Qt.type)==null?void 0:Gr.indexOf("image"))>-1||!(Qt!=null&&Qt.type)?Qt.align||Qt.width?Hn.replaceSelection(`

${Vt||

`):Hn.replaceSelection(`${Vt||`):((No=Qt==null?void 0:Qt.type)==null?void 0:No.indexOf("video"))>-1?Hn.replaceSelection(``):((Ao=Qt==null?void 0:Qt.type)==null?void 0:Ao.indexOf("pdf"))>-1?Hn.replaceSelection(`${Qt.name}`):qe.includes(rn)?Hn.replaceSelection(`${Qt.name}`):Hn.replaceSelection(`[${Qt.name}](${Ki})`),Hn.focus();case Ln:const{row:ra,col:Ga,align:or}=Va;let On=` +`;for(let Wa=0;Wa{switch(xa){case Nt:return y.createElement(Ht,{callback:Lo,onCancel:pi});case yn:return y.createElement(Kt.Z,{callback:Lo,onCancel:pi});case ft:return y.createElement(Ve.Z,{callback:Lo,onCancel:pi});case lt:return y.createElement(Lt,{callback:Lo,onCancel:pi});case Ln:return y.createElement(ke,{callback:Lo,onCancel:pi});case"maths-latex":return y.createElement(tn,{showSaveButton:!0,callback:Lo});case"inline-latex":return y.createElement(an.Z,{showSaveButton:!0,callback:Lo});default:return null}},[xa]);function pi(){br("")}(0,y.useEffect)(()=>{if(fi.current){let Va=function(No){Nr=!0,Gr=No.pageY},ga=function(){Nr=!1},da=function(No){if(Nr){let Ao=No.pageY-Gr;Ao<0&&(Ao=0),Ao>300&&(Ao=300);let Yo=mn+Ao+"px";Ro(Yo)}},wa=fi.current,Nr=!1,Gr=0;return wa.addEventListener("mousedown",Va),document.addEventListener("mousemove",da),document.addEventListener("mouseup",ga),()=>{wa.removeEventListener("mousedown",Va),document.removeEventListener("mousemove",da),document.removeEventListener("mouseup",ga)}}},[Hn,fi]),(0,y.useEffect)(()=>{Ro(mn)},[mn]);const el=pn(St),Oi=pn(ao),Yi={width:el,height:Oi},di=(0,y.useMemo)(()=>{if(Xr){let Va=new Date(Xr),ga=Va.getHours(),da=Va.getMinutes(),wa=Va.getSeconds();return ga=ga<10?"0"+ga:ga,da=da<10?"0"+da:da,wa=wa<10?"0"+wa:wa,`${ga}:${da}:${wa}`}return 0},[Xr]),rl=Va=>{const ga=[];if(Ya){let da=-1;Va=Va.replace(/(@▁▁@|@▁@)/g,function(wa,Nr,Gr){ga.push({multiLine:wa!==dn})})}return ga};function vl(){window.sessionStorage.removeItem(ma),ei(!1),xo(0)}function ol(){ei(!1),xo(0),Hn.setValue(window.sessionStorage.getItem(ma))}(0,y.useEffect)(()=>{Gn[xa]&&xa!==fn&&xa!==lt&&setTimeout(()=>{const Va=document.getElementsByClassName("markdown-popup-form")[0],ga=window.innerWidth/2-Va.offsetWidth/2,da=window.innerHeight/2-Va.offsetHeight/2;To(ga),So(da)},0)},[xa]);const no=Va=>{Va.preventDefault();const ga=Va.clientX-Go,da=Va.clientY-jo;document.body.onmousemove=wa=>{let Nr=wa.clientX-ga,Gr=wa.clientY-da;const No=document.getElementsByClassName("markdown-popup-form")[0],Ao=window.innerWidth-No.offsetWidth,Yo=window.innerHeight-No.offsetHeight;Nr=Math.max(0,Math.min(Nr,Ao)),Gr=Math.max(0,Math.min(Gr,Yo)),Wi(wa.clientX,wa.clientY,ga,da)&&(To(Nr),So(Gr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Wi=(Va,ga,da,wa)=>{const Nr=document.body.clientHeight,Gr=document.body.clientWidth;return Va<20&&da>Va||Va>Gr-20&&daga||ga>Nr-20&&waNe in ye?He(ye,Ne,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ye[Ne]=pe,z=(ye,Ne)=>{for(var pe in Ne||(Ne={}))a.call(Ne,pe)&&b(ye,pe,Ne[pe]);if(E)for(var pe of E(Ne))x.call(Ne,pe)&&b(ye,pe,Ne[pe]);return ye},te=(ye,Ne)=>Le(ye,le(Ne));const{useForm:re}=y.default,ie={width:280,marginRight:10},ge={labelCol:{span:5},wrapperCol:{span:19}};var fe=({callback:ye,onCancel:Ne})=>{const[pe]=re();let Xe=(0,Ke.useRef)();function We(_e){Xe.current.width=pe.getFieldValue("width"),Xe.current.align=pe.getFieldValue("align"),ye(_e,Xe.current)}function ut(_e,mt){if(_e.status===-1){ue.ZP.error(_e.message);return}pe.setFieldsValue({src:`/api/attachments/${_e.id}`,type:mt.type})}function Re(_e){let mt=_e.target.files[0];Xe.current=mt,xe(mt,ut)}return ze.createElement(y.default,te(z({form:pe},ge),{className:"upload-image-panel",onFinish:We,style:{width:470,overflow:"hidden"}}),ze.createElement(y.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(y.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(Ce.default,{style:ie})),ze.createElement(ce,{onFileChange:Re}))),ze.createElement(y.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(Ce.default,{style:{width:264}})),ze.createElement(y.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(Oe.Z,null,ze.createElement(y.default.Item,{name:"width",style:{margin:0}},ze.createElement(we.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(y.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Ie.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ze.createElement("aside",null,ze.createElement(y.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(se.ZP,{type:"default",onClick:Ne},"\u53D6\u6D88"))))};function ce({onFileChange:ye}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:ye}))}function xe(ye,Ne){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,je.bg)())throw ue.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let pe=new FormData;pe.append("editormd-image-file",ye),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var Xe=new window.XMLHttpRequest;Xe.withCredentials=!0,Xe.addEventListener("load",function(We){Ne(JSON.parse(We.target.responseText),ye)},!1),Xe.addEventListener("error",function(We){console.error(We)},!1),Xe.open("POST",`${Ze.KI}/api/attachments.json`),Xe.send(pe)}},57261:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ce}});var y=ne(59301),ue=ne(4676);class Ce extends y.Component{constructor(we){super(we);const Ie=window.document;this.node=Ie.createElement("div"),Ie.body.appendChild(this.node)}render(){const{children:we}=this.props;return(0,ue.createPortal)(we,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},61584:function(At,jt,ne){"use strict";ne.d(jt,{i:function(){return ge},Z:function(){return ce}});var y={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ue=ne(71418),Ce=ne(6848),Oe=ne(93948),we=ne(92310),Ie=ne.n(we),se=ne(65862),Ze=ne(2524),Ke=ne(41867),je=ne(79005),ze=ne(20345),He=ne(77882),Le=ne(31081),le=ne(75309),E=ne(71979),a=ne(47558),x=ne(42922),b=ne(66832),z=ne(96593),te=ne(19664),re=ne(91833),ie=ne(59301);const ge=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:je,swimg:ze},{name:"101\u8BA1\u5212",ptimg:He,swimg:Le},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:le,swimg:E},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:x},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:b,swimg:z},{name:"\u519B\u961F\u4E00\u6D41",ptimg:te,swimg:re}];var ce=({className:xe,dataSource:ye=[],col:Ne=4,right:pe,bottom:Xe=23,precision:We=0,wrapWidth:ut=1200,trackEventItems:Re,loading:_e,onRemove:mt=()=>{},isCurrent:Qe=!0,showAlias:ot=!1,showProgress:Wt=!1})=>{const ht=Math.floor((ut-(Ne-1)*pe)/Ne),Ht=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Kt=>(window.ENV==="build"&&(Kt.ptimg=`/react/build${Kt.ptimg}`,Kt.swimg=`/react/build${Kt.swimg}`),Kt));return ie.createElement(ue.Z,{spinning:_e},ie.createElement("div",{className:Ie()(y.list,xe)},!!(ye!=null&&ye.length)&&(ye==null?void 0:ye.map((Kt,Ve)=>{var st,Rt,gn,wt,$t,Be;const{name:Jt,id:bn,identifier:Ot,featured:Zt,school_name:et,image_url:Ye,excellent:De,is_plan:he}=Kt;return ie.createElement("div",{key:bn,className:Qe&&Wt?y.wrapisCurrent:y.wrap,style:{width:ht,marginRight:(1+Ve)%Ne===0?0:pe+We,marginBottom:Xe}},ie.createElement("a",{className:y.li,onClick:tt=>{tt.preventDefault(),tt.stopPropagation(),Re&&(0,se.L9)([Re]),(0,se.xg)(`/paths/${Ot}`)}},ie.createElement("div",{className:y.img},ie.createElement("img",{className:y.cover,src:`${Ye}`}),Qe&&(0,Ke.bg)()&&(Kt==null?void 0:Kt.studying)&&ie.createElement("div",{className:`${y.movebq} user-path-items`,onClick:tt=>{tt.stopPropagation(),mt(Kt)}},ie.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ie.createElement("span",{className:"c-red"},"\u79FB\u9664")),(st=Kt==null?void 0:Kt.subject_tags)==null?void 0:st.map((tt,Lt)=>{var Fe,be;if(Lt===0){const Je=(Fe=Ht.find(ke=>ke.name==tt))==null?void 0:Fe.swimg;return ie.createElement("img",{className:y.sign,src:Je,style:{left:"-4px"}})}const Pt=(be=Ht.find(Je=>Je.name==tt))==null?void 0:be.ptimg;return ie.createElement("img",{className:y.sign,src:Pt,style:{left:`${48+52*(Lt-1)+2*Lt}px`}})}),ie.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Kt==null?void 0:Kt.excellent)&&ie.createElement("div",{className:y.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ie.createElement("div",{className:y.name},ie.createElement(Ce.Z,{title:ot&&(Kt!=null&&Kt.excellent_alias_name)?ie.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Jt}`,ie.createElement("br",null),ie.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Kt==null?void 0:Kt.excellent_alias_name}`)):Jt},ie.createElement("span",{className:y.e},ot&&(Kt==null?void 0:Kt.excellent_alias_name)||Jt))),Qe&&Wt&&((Rt=Kt==null?void 0:Kt.progress)==null?void 0:Rt.all_score)!=0&&ie.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},ie.createElement(Oe.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((gn=Kt==null?void 0:Kt.progress)==null?void 0:gn.my_score)/((wt=Kt==null?void 0:Kt.progress)==null?void 0:wt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",($t=Kt==null?void 0:Kt.progress)==null?void 0:$t.my_score,"/",(Be=Kt==null?void 0:Kt.progress)==null?void 0:Be.all_score),(!Qe||!Wt)&&ie.createElement("div",{className:y.tags},ie.createElement("div",null,ie.createElement(Ce.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ie.createElement("span",null,ie.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ie.createElement("span",null,Kt.stages_count))),ie.createElement(Ce.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ie.createElement("span",null,ie.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ie.createElement("span",null,Kt.members_count)))))))})),!ye.length&&ie.createElement(Ze.Z,null)))}},3918:function(At,jt,ne){"use strict";ne.d(jt,{jL:function(){return we},w9:function(){return Nn},vv:function(){return mn},dN:function(){return Vn},QD:function(){return Io},cQ:function(){return Fe.Z},vg:function(){return Un},Oz:function(){return Yt},op:function(){return xo},O5:function(){return di},_b:function(){return ii},t7:function(){return Xe},tT:function(){return Re},Gi:function(){return dr},YG:function(){return $n},Ed:function(){return ya},kT:function(){return ma},qp:function(){return x},Um:function(){return ge},K3:function(){return te},vr:function(){return To},qE:function(){return mi},Je:function(){return ot},wb:function(){return Jt},rC:function(){return Lt},lB:function(){return Zt},cq:function(){return kr},kO:function(){return ho},tp:function(){return xe},Si:function(){return ol},k8:function(){return Ki},Du:function(){return Gr}});var y=ne(59301),ue={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AA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ztw+k+njhHFTqJCTMl4Qm21eDd/KR7+NePLt35fPnO/8fj592ljz5sPn49rwBUC4mF0bqmp2HZMguKhOC4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",we=({dataSource:Vt=[],img:Qt,imgWidth:rn=346,title:ra,sunTitle:Ga,bannerExtraContent:or})=>y.createElement("div",{className:ue.banner},y.createElement("div",{className:ue.content},y.createElement("aside",null,y.createElement("p",null,y.createElement("b",null,ra),y.createElement("span",null,Ga)),Vt.length>0&&y.createElement("div",{className:ue.btns},Vt.map((On,Wa)=>y.createElement("div",{key:Wa,onClick:On.click},On.name,On.sign?y.createElement("img",{src:Ce,width:39}):null))),or),Qt&&y.createElement("img",{style:{marginTop:33,marginRight:38},src:Qt,width:rn}))),Ie={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},se=ne(92310),Ze=ne.n(se),Ke=ne(89392),je=Object.defineProperty,ze=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Le=Object.prototype.propertyIsEnumerable,le=(Vt,Qt,rn)=>Qt in Vt?je(Vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Vt[Qt]=rn,E=(Vt,Qt)=>{for(var rn in Qt||(Qt={}))He.call(Qt,rn)&&le(Vt,rn,Qt[rn]);if(ze)for(var rn of ze(Qt))Le.call(Qt,rn)&&le(Vt,rn,Qt[rn]);return Vt},x=({dataSource:Vt=[],value:Qt,onChange:rn,onTitleChange:ra,className:Ga,title:or,titleWidth:On=41,style:Wa={},fontColor:er="#6A7283",showCount:Pr,classNameActive:ro,styleItem:Qn={}})=>{const[jr,uo]=(0,y.useState)(0),[Oo,ar]=(0,y.useState)(!1),sr=(0,y.useRef)(null),Bo=(0,y.useRef)(null);return(0,y.useEffect)(()=>{var qr;Vt.length!==0&&(((qr=sr==null?void 0:sr.current)==null?void 0:qr.clientHeight)>97?uo(1):uo(0)),Vt.length===0&&uo(0),ar(!1)},[Vt]),y.createElement("div",{className:Ze()(Ie.row,Ga),style:Wa},y.createElement("div",{onClick:(0,Ke.throttle)(()=>ra==null?void 0:ra(),2e3),style:{width:On,marginTop:Oo?12:4},className:`${Ie.title} ${ra?"current":""}`},or),y.createElement("div",{className:Oo?`${Ie.tagsWrap} ${Ie.tagsBorderWrap}`:Ie.tagsWrap},y.createElement("div",{className:Ie.bar,ref:Bo,style:jr>0?{height:jr===1?97:"auto",overflow:jr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},y.createElement("div",{className:Ie.tag,ref:sr},Vt==null?void 0:Vt.map(qr=>y.createElement("span",{onClick:()=>rn(qr.id),key:qr.id,style:E(E({color:er},Qn),(qr==null?void 0:qr.style)||{}),className:Qt===qr.id?Ze()(ro||Ie.active,qr.classNameActive):""},y.createElement("span",{title:qr.name,className:Ie.name},qr.name),!!Pr&&y.createElement("span",{className:Ie.num},qr.count))))),!!jr&&y.createElement(y.Fragment,null,jr===1?y.createElement("div",{onClick:()=>{var qr;uo(2),((qr=sr==null?void 0:sr.current)==null?void 0:qr.clientHeight)>245?ar(!0):ar(!1)},className:Ie.action},"\u5C55\u5F00",y.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):y.createElement("div",{onClick:()=>{Bo.current.scrollTop=0,uo(1),ar(!1)},className:Ie.action},"\u6536\u8D77",y.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},b={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},te=({dataSource:Vt=[],value:Qt,onChange:rn,onTitleChange:ra,className:Ga,title:or,titleWidth:On=41,style:Wa={},fontColor:er="#6A7283",showCount:Pr,expand:ro=!0})=>{const[Qn,jr]=(0,y.useState)(0),[uo,Oo]=(0,y.useState)(!1),ar=(0,y.useRef)(null),sr=(0,y.useRef)(null),[Bo,qr]=(0,y.useState)(ro);return y.createElement("div",{className:Ze()(b.row,Ga),style:Wa},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ke.throttle)(()=>ra==null?void 0:ra(),2e3),style:{width:On,marginTop:uo?12:4},className:`${b.title} ${ra?"current":""}`},or),y.createElement("i",{className:`iconfont ${Bo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Bo?8:10},onClick:()=>qr(!Bo)})),Bo&&y.createElement("div",{className:uo?`${b.tagsWrap} ${b.tagsBorderWrap}`:b.tagsWrap},y.createElement("div",{className:b.fenge}),y.createElement("div",{className:b.bar,ref:sr},y.createElement("div",{className:b.tag,ref:ar},Vt==null?void 0:Vt.map(ct=>y.createElement("span",{onClick:()=>rn(ct.id),key:ct.id,style:{color:er},className:Qt===ct.id?b.active:""},y.createElement("span",{title:ct.name,className:b.name},ct.name),!!Pr&&y.createElement("span",{className:b.num},ct.count)))))))},re={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},ge=({dataSource:Vt=[],value:Qt,onChange:rn,onTitleChange:ra,className:Ga,title:or,titleWidth:On=41,style:Wa={},fontColor:er="#fff",showCount:Pr,expand:ro=!0})=>{const[Qn,jr]=(0,y.useState)(0),[uo,Oo]=(0,y.useState)(!1),ar=(0,y.useRef)(null),sr=(0,y.useRef)(null),[Bo,qr]=(0,y.useState)(ro);return y.createElement("div",{className:Ze()(re.row,Ga),style:Wa},y.createElement("div",{className:"flex item-center justify-between"},y.createElement("div",{onClick:(0,Ke.throttle)(()=>ra==null?void 0:ra(),2e3),style:{width:On},className:`${re.title} ${ra?"current":""}`},or),y.createElement("i",{className:`iconfont ${Bo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Bo?"#00DDC7":"#037F74",fontSize:Bo?10:12},onClick:()=>qr(!Bo)})),Bo&&y.createElement("div",{className:uo?`${re.tagsWrap} ${re.tagsBorderWrap}`:re.tagsWrap},y.createElement("div",{className:re.bar,ref:sr},y.createElement("div",{className:re.tag,ref:ar},Vt==null?void 0:Vt.map(ct=>y.createElement("span",{onClick:()=>rn(ct.id),key:ct.id,style:{color:er},className:Qt===ct.id?re.active:""},y.createElement("span",{title:ct.name,className:re.name},ct.name),!!Pr&&y.createElement("span",{className:re.num},ct.count)))))))},fe={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},xe=({dataSource:Vt=[],value:Qt,onChange:rn,className:ra,style:Ga={}})=>y.createElement("div",{style:Ga,className:Ze()(fe.tabs,ra)},Vt.map(or=>y.createElement("span",{onClick:()=>rn(or.id),className:Qt===or.id?fe.active:"",key:or.id},or.name))),ye={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ne=ne(92832),Xe=({dataSource:Vt=[],value:Qt="",onChange:rn,onInputChange:ra=()=>{},className:Ga,style:or={},placeholder:On,allowClear:Wa=!1})=>{var er;const[Pr,ro]=(0,y.useState)(""),[Qn,jr]=(0,y.useState)("");(0,y.useEffect)(()=>{var ar;let sr=Qt;(ar=JSON.stringify(Qt))!=null&&ar.includes("{")&&(ro(Qt.id),sr=Qt.value||"");try{jr(decodeURIComponent(sr||""))}catch(Bo){jr(decodeURIComponent(sr||""))}},[Qt]);const uo=()=>{rn(encodeURIComponent(Qn),Pr||null)},Oo=ar=>{ar!==Pr&&(ro(ar),rn(encodeURIComponent(Qn),ar))};return y.createElement("div",{className:Ze()(ye.input,Ga),style:or},!!Vt.length&&y.createElement("div",{className:ye.dropdown},y.createElement("div",{className:ye.text},(er=Vt.find(ar=>ar.id===Pr))==null?void 0:er.name,y.createElement("i",{className:"iconfont icon-zhankai4"}),y.createElement("b",{className:ye.b1}),y.createElement("b",{className:ye.b2})),y.createElement("div",{className:ye.menu},Vt.map((ar,sr)=>y.createElement("div",{key:sr,onClick:()=>Oo(ar.id)},ar.name)))),y.createElement(Ne.default,{onPressEnter:uo,value:Qn,onChange:ar=>{jr(ar.target.value),ra(encodeURIComponent(ar.target.value),Pr||null)},bordered:!1,placeholder:On}),y.createElement("i",{onClick:uo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},We={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},Re=({dataSource:Vt=[],value:Qt="",onChange:rn,onInputChange:ra=()=>{},className:Ga,style:or={},placeholder:On,allowClear:Wa=!1})=>{var er;const[Pr,ro]=(0,y.useState)(""),[Qn,jr]=(0,y.useState)("");(0,y.useEffect)(()=>{var ar;let sr=Qt;(ar=JSON.stringify(Qt))!=null&&ar.includes("{")&&(ro(Qt.id),sr=Qt.value||"");try{jr(decodeURIComponent(sr||""))}catch(Bo){jr(decodeURIComponent(sr||""))}},[Qt]);const uo=()=>{rn(encodeURIComponent(Qn),Pr||null)},Oo=ar=>{ar!==Pr&&(ro(ar),rn(encodeURIComponent(Qn),ar))};return y.createElement("div",{className:Ze()(We.input,Ga),style:or},!!Vt.length&&y.createElement("div",{className:We.dropdown},y.createElement("div",{className:We.text},(er=Vt.find(ar=>ar.id===Pr))==null?void 0:er.name,y.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),y.createElement("div",{className:We.menu},Vt.map((ar,sr)=>y.createElement("div",{key:sr,onClick:()=>Oo(ar.id)},ar.name)))),y.createElement(Ne.default,{onPressEnter:uo,value:Qn,onChange:ar=>{jr(ar.target.value),ra(encodeURIComponent(ar.target.value),Pr||null)},bordered:!1,placeholder:On}),y.createElement("i",{onClick:uo,className:"iconfont icon-sousuo9 font14 pl10 current"}))},_e={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},mt=ne(65582),ot=({value:Vt,onChange:Qt,className:rn,total:ra,pageSize:Ga,style:or={}})=>{const On=(0,mt.useIntl)(),Wa=Vt<2,er=Vt>=Math.ceil(ra/Ga);return ra<=Ga?y.createElement(y.Fragment,null):y.createElement("div",{className:Ze()(_e.quickPager,rn),style:or},y.createElement("div",{onClick:()=>{Wa||Qt(Vt-1,"prev")},className:Wa?_e.disabled:""},On.formatMessage({id:"shixuns.previousPage"})),y.createElement("div",{onClick:()=>{er||Qt(Vt+1,"next")},className:er?_e.disabled:""},On.formatMessage({id:"shixuns.nextPage"})))},Wt={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},ht=ne(71418),Ht=ne(6848),Kt=ne(13570),Ve=ne(74128),st=ne(65862),Rt=ne(96908),gn=ne(57177),wt=ne(81378),$t=ne(2524),Jt=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,trackEventItems:Wa,loading:er})=>{const Pr=(0,mt.useIntl)(),ro=Math.floor((On-(rn-1)*ra)/rn);return y.createElement(ht.Z,{spinning:er},y.createElement("div",{className:Ze()(Wt.list,Vt)},!!Qt.length&&Qt.map((Qn,jr)=>{const{name:uo,id:Oo,identifier:ar,power:sr,cover_image_id:Bo,pic:qr}=Qn;return y.createElement("div",{className:Wt.wrap,key:Oo,style:{width:ro,marginRight:(1+jr)%rn===0?0:ra+or,marginBottom:Ga}},y.createElement("a",{target:"_blank",href:`/shixuns/${ar}/challenges`,className:Wt.li,onClick:ct=>{ct.preventDefault(),Wa&&(0,st.L9)([Wa]),sr&&(0,st.xg)(`/shixuns/${ar}/challenges`)}},y.createElement("div",{className:Wt.img},y.createElement("img",{className:Wt.cover,src:`${qr}`}),Qn.is_jupyter&&y.createElement("img",{className:Wt.sign,src:Rt}),Qn.is_jupyter_lab&&y.createElement("img",{className:Wt.sign,src:gn}),Qn.is_unity_3d&&y.createElement("img",{className:Wt.sign,src:wt})),y.createElement("div",{className:Wt.name},y.createElement(Ht.Z,{title:uo||Pr.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},y.createElement("span",{className:Wt.e},uo||Pr.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),y.createElement("div",{className:Wt.tags},y.createElement(Ht.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,Qn.challenges_count))),!!Qn.myshixuns_count&&y.createElement(Ht.Z,{placement:"bottom",title:Pr.formatMessage({id:"shixuns.numberOfLearners"})},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,Qn.myshixuns_count))),y.createElement(Ht.Z,{placement:"bottom",title:Pr.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},y.createElement("span",null,y.createElement("span",null,Qn.level))),y.createElement("div",{className:Wt.rate},y.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:Qn.score_info}),y.createElement("span",null,"\xA0",Qn.score_info?`${Qn.score_info}\u5206`:"5\u5206")))),!sr&&y.createElement("div",{className:Wt.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&y.createElement($t.Z,null)))},bn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Zt=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,wrapClassName:Wa,trackEventItems:er,loading:Pr})=>{const ro=Math.floor((On-(rn-1)*ra)/rn);return y.createElement(ht.Z,{spinning:Pr},y.createElement("div",{className:Ze()(bn.list,Vt)},!!Qt.length&&Qt.map((Qn,jr)=>{const{name:uo,id:Oo,identifier:ar,power:sr,cover_image_id:Bo,pic:qr}=Qn;return y.createElement("div",{className:Ze()(bn.wrap,Wa),key:Oo,style:{width:ro,marginRight:(1+jr)%rn===0?0:ra+or,marginBottom:Ga}},y.createElement("a",{target:"_blank",href:`/shixuns/${ar}/challenges`,className:bn.li,onClick:ct=>{ct.preventDefault(),er&&(0,st.L9)([er]),sr&&(0,st.xg)(`/shixuns/${ar}/challenges`)}},y.createElement("img",{src:ne(47621),className:bn.titleBg}),y.createElement("div",{className:bn.name},y.createElement(Ht.Z,{title:uo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:bn.e},uo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:bn.img},y.createElement("img",{className:bn.cover,src:Bo?`${Ve.Z.API_SERVER}/api/attachments/${Bo}`:`${Ve.Z.IMG_SERVER+qr}`}),Qn.is_jupyter&&y.createElement("div",{className:bn.bq},"Jupyter"),Qn.is_jupyter_lab&&y.createElement("div",{className:bn.bq},"JupyterLab"),Qn.is_unity_3d&&y.createElement("div",{className:bn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),y.createElement("div",{className:"mt20 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:bn.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:bn.value},Qn.myshixuns_count)),y.createElement("div",null,y.createElement("span",{className:bn.text},"\u56F0\u96BE\u7B49\u7EA7"),y.createElement("span",{className:bn.value},Qn.level))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:bn.text},"\u5173\u5361\u6570"),y.createElement("span",{className:bn.value},Qn.challenges_count)),y.createElement("div",{className:bn.rate},y.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:Qn.score_info}),y.createElement("span",{className:bn.value,style:{color:"#FF9C00"}},"\xA0",Qn.score_info?`${Qn.score_info}\u5206`:"5\u5206"))))),!sr&&y.createElement("div",{className:bn.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&y.createElement($t.Z,null)))},et={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},Ye="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuh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hOKRyUYrBl4aG5mvKOWo6ojtRY+72x+z3+Lz8egOhrofOxhXpUd8+h+tc9oS7g9EAF0EYvwJLNJc6n/qQOW3bb0SVS3XhTyYK5LjUL6vlUXJNSaLixlOrSnHZ55MeSaU5fE1pjrEilPNOiqkMtSiSmc/1oNxbXDPJSFxp6P23AZgRx17vu/HCtAD5mo/5t3Rpp2p6aFHji4VBgdaIwd0SsFN2YlE/tZAEfIAuB848lRxbQUq9Plo0ts3hxp7+HY3ti33ANi19fbUvsor0GFoRZHOvk1Y6FIC7q5dSPzcw4Gv8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Lt=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,trackEventItems:Wa,loading:er,wrapClassName:Pr,imgClassName:ro})=>{const Qn=Math.floor((On-(rn-1)*ra)/rn);return y.createElement(ht.Z,{spinning:er},y.createElement("div",{className:Ze()(et.list,Vt)},!!Qt.length&&Qt.map((jr,uo)=>{const{name:Oo,id:ar,identifier:sr,power:Bo,cover_image_id:qr,pic:ct}=jr;return y.createElement("div",{className:Ze()(et.wrap,Pr),key:ar,style:{width:Qn,marginRight:(1+uo)%rn===0?0:ra+or,marginBottom:Ga}},y.createElement("a",{target:"_blank",href:`/shixuns/${sr}/challenges`,className:et.li,onClick:pt=>{pt.preventDefault(),Wa&&(0,st.L9)([Wa]),Bo&&(0,st.xg)(`/shixuns/${sr}/challenges`)}},y.createElement("div",{className:Ze()(et.img,ro)},y.createElement("img",{className:et.cover,src:qr?`${Ve.Z.API_SERVER}/api/attachments/${qr}`:`${Ve.Z.IMG_SERVER+ct}`}),jr.is_jupyter&&y.createElement("img",{className:et.sign,src:Ye}),jr.is_jupyter_lab&&y.createElement("img",{className:et.sign,src:De}),jr.is_unity_3d&&y.createElement("img",{className:et.sign,src:he})),y.createElement("div",{className:et.name},y.createElement(Ht.Z,{title:Oo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},y.createElement("span",{className:et.e},Oo||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),y.createElement("div",{className:et.tags},y.createElement(Ht.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),y.createElement("span",null,jr.challenges_count))),!!jr.myshixuns_count&&y.createElement(Ht.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},y.createElement("span",null,y.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),y.createElement("span",null,jr.myshixuns_count))),y.createElement(Ht.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},y.createElement("span",null,y.createElement("span",null,jr.level))),y.createElement("div",{className:et.rate},y.createElement(Kt.Z,{allowHalf:!0,disabled:!0,defaultValue:jr.score_info}),y.createElement("span",null,"\xA0",jr.score_info?`${jr.score_info}\u5206`:"5\u5206")))),!Bo&&y.createElement("div",{className:et.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Qt.length&&y.createElement($t.Z,null)))},Fe=ne(61584),be={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Pt=ne(79005),Je=ne(20345),ke=ne(77882),bt=ne(31081),hn=ne(75309),Tt=ne(71979),ln=ne(47558),tn=ne(42922),an=ne(66832),Te=ne(96593),at=ne(19664),Nt=ne(91833),ft=Object.defineProperty,lt=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,yn=(Vt,Qt,rn)=>Qt in Vt?ft(Vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Vt[Qt]=rn,Ln=(Vt,Qt)=>{for(var rn in Qt||(Qt={}))fn.call(Qt,rn)&&yn(Vt,rn,Qt[rn]);if(lt)for(var rn of lt(Qt))En.call(Qt,rn)&&yn(Vt,rn,Qt[rn]);return Vt};const ea=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pt,swimg:Je},{name:"101\u8BA1\u5212",ptimg:ke,swimg:bt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:hn,swimg:Tt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ln,swimg:tn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:an,swimg:Te},{name:"\u519B\u961F\u4E00\u6D41",ptimg:at,swimg:Nt}];var Yt=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,trackEventItems:Wa,loading:er,wrapClassName:Pr,imgClassName:ro,isArrow:Qn=!1,imgStyle:jr={}})=>{const uo=Math.floor((On-(rn-1)*ra)/rn),[Oo,ar]=(0,y.useState)(),[sr,Bo]=(0,y.useState)(),qr=pt=>ar(pt),ct=()=>ar(-1);return y.createElement(ht.Z,{spinning:er},y.createElement("div",{className:Ze()(be.list,Vt)},!!(Qt!=null&&Qt.length)&&(Qt==null?void 0:Qt.map((pt,Gt)=>{var sa;const{name:Ut,id:Sn,identifier:on,featured:wn,school_name:Mt,image_url:_n,excellent:oa,is_plan:na}=pt;return y.createElement("div",{key:Sn,className:Ze()(be.wrap,Pr),style:{width:uo,marginRight:(1+Gt)%rn===0?0:ra+or,marginBottom:Ga}},y.createElement("a",{target:"_blank",href:`/paths/${on}`,className:be.li,onClick:wr=>{wr.preventDefault(),Wa&&(0,st.L9)([Wa]),(0,st.xg)(`/paths/${on}`)}},y.createElement("img",{src:ne(39057),className:be.titleBg}),y.createElement("div",{className:be.name},y.createElement(Ht.Z,{title:Ut},y.createElement("span",{className:be.e,style:{color:Qn&&Oo===Gt?"#145DFF":"#000000"},onMouseEnter:()=>{qr(Gt)},onMouseLeave:ct},Ut))),y.createElement("div",{style:{padding:"14px",paddingBottom:0}},y.createElement("div",{className:Ze()(be.img,ro)},y.createElement("img",{className:be.cover,style:Ln({},jr),src:`${Ve.Z.IMG_SERVER+_n}`}),(sa=pt==null?void 0:pt.subject_tags)==null?void 0:sa.map((wr,Xa)=>{var co,hr;if(Xa===0){const Pa=(co=ea.find(Yn=>Yn.name==wr))==null?void 0:co.swimg;return y.createElement("img",{className:be.sign,src:Pa,style:{left:"-4px"}})}const Za=(hr=ea.find(Pa=>Pa.name==wr))==null?void 0:hr.ptimg;return y.createElement("img",{className:be.sign,src:Za,style:{left:`${48+52*(Xa-1)+2*Xa}px`}})}),y.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(pt==null?void 0:pt.excellent)&&y.createElement("div",{className:be.bq},"\u5F00\u653E\u8BFE\u7A0B"))),y.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},y.createElement("div",null,y.createElement("span",{className:be.text},"\u7AE0\u8282\u6570"),y.createElement("span",{className:be.value},pt.stages_count)),y.createElement("div",null,y.createElement("span",{className:be.text},"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:be.value},pt.members_count))))))})),!Qt.length&&y.createElement($t.Z,null)))},qt={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},In=ne(41867),en=ne(59301);const Sa=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Pt,swimg:Je},{name:"101\u8BA1\u5212",ptimg:ke,swimg:bt},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:hn,swimg:Tt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:ln,swimg:tn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:an,swimg:Te},{name:"\u519B\u961F\u4E00\u6D41",ptimg:at,swimg:Nt}];var Un=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,trackEventItems:Wa,loading:er,onRemove:Pr=()=>{},isCurrent:ro=!0,showAlias:Qn=!1,wrapClassName:jr,imgClassName:uo})=>{const Oo=Math.floor((On-(rn-1)*ra)/rn),ar=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(sr=>(window.ENV==="build"&&(sr.ptimg=`/react/build${sr.ptimg}`,sr.swimg=`/react/build${sr.swimg}`),sr));return en.createElement(ht.Z,{spinning:er},en.createElement("div",{className:Ze()(qt.list,Vt)},!!(Qt!=null&&Qt.length)&&(Qt==null?void 0:Qt.map((sr,Bo)=>{var qr;const{name:ct,id:pt,identifier:Gt,featured:sa,school_name:Ut,image_url:Sn,excellent:on,is_plan:wn}=sr;return en.createElement("div",{key:pt,className:Ze()(qt.wrap,jr),style:{width:Oo,marginRight:(1+Bo)%rn===0?0:ra+or,marginBottom:Ga}},en.createElement("a",{className:qt.li,onClick:Mt=>{Mt.preventDefault(),Mt.stopPropagation(),Wa&&(0,st.L9)([Wa]),(0,st.xg)(`/paths/${Gt}`)}},en.createElement("div",{className:Ze()(qt.img,uo)},en.createElement("img",{className:qt.cover,src:`${Ve.Z.IMG_SERVER+Sn}`}),ro&&(0,In.bg)()&&(sr==null?void 0:sr.studying)&&en.createElement("div",{className:`${qt.movebq} user-path-items`,onClick:Mt=>{Mt.stopPropagation(),Pr(sr)}},en.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),en.createElement("span",{className:"c-red"},"\u79FB\u9664")),(qr=sr==null?void 0:sr.subject_tags)==null?void 0:qr.map((Mt,_n)=>{var oa,na;if(_n===0){const Xa=(oa=ar.find(co=>co.name==Mt))==null?void 0:oa.swimg;return en.createElement("img",{className:qt.sign,src:Xa,style:{left:"-4px"}})}const wr=(na=ar.find(Xa=>Xa.name==Mt))==null?void 0:na.ptimg;return en.createElement("img",{className:qt.sign,src:wr,style:{left:`${48+52*(_n-1)+2*_n}px`}})}),en.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(sr==null?void 0:sr.excellent)&&en.createElement("div",{className:qt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),en.createElement("div",{className:qt.name},en.createElement(Ht.Z,{title:Qn&&(sr!=null&&sr.excellent_alias_name)?en.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ct}`,en.createElement("br",null),en.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${sr==null?void 0:sr.excellent_alias_name}`)):ct},en.createElement("span",{className:qt.e},Qn&&(sr==null?void 0:sr.excellent_alias_name)||ct))),en.createElement("div",{className:qt.tags},en.createElement("div",null,en.createElement(Ht.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},en.createElement("span",null,en.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),en.createElement("span",null,sr.stages_count))),en.createElement(Ht.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},en.createElement("span",null,en.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),en.createElement("span",null,sr.members_count)))))))})),!Qt.length&&en.createElement($t.Z,null)))},dn={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Aa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL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GQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",qe=ne(59301),Nn=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,trackEventItems:Wa,loading:er})=>{const Pr=(0,mt.useIntl)(),ro=Math.floor((On-(rn-1)*ra)/rn);return qe.createElement(ht.Z,{spinning:er},qe.createElement("div",{className:Ze()(dn.list,Vt)},!!Qt.length&&Qt.map((Qn,jr)=>{const{subject_identifier:uo,id:Oo,identifier:ar,power:sr}=Qn,Bo=Qn.is_public!=0&&Qn.is_public;return qe.createElement("div",{className:dn.wrap,key:Oo,style:{width:ro,marginRight:(1+jr)%rn===0?0:ra+or,marginBottom:Ga}},qe.createElement("a",{className:dn.li,onClick:qr=>{qr.preventDefault(),Wa&&(0,st.L9)([Wa]),(0,st.xg)(Qn.first_category_url)}},qe.createElement("div",{className:dn.top},qe.createElement(Ht.Z,{title:Qn.name},qe.createElement("div",{className:dn.name},Qn.name)),qe.createElement("img",{className:dn.img,src:Ve.Z.IMG_SERVER+"/images/"+Qn.avatar_url}),qe.createElement("div",{className:dn.text,title:Qn.creator},Qn.creator),uo&&qe.createElement("div",{className:dn.btns},qe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),qe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Bo&&qe.createElement("div",{className:dn.sign},Pr.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),qe.createElement("div",{className:dn.bottom},Qn.visits>0&&qe.createElement(Ht.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-liulanyan"}),qe.createElement("span",null,Qn.visits))),Qn.course_members_count>0&&qe.createElement(Ht.Z,{title:"\u6210\u5458",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-chengyuan"}),Qn.course_members_count)),Qn.tasks_count>0&&qe.createElement(Ht.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},qe.createElement("span",null,qe.createElement("i",{className:"iconfont icon-zuoye"}),Qn.tasks_count)),Qn.is_end?qe.createElement("div",{style:{color:"#6B758B"}},Pr.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):qe.createElement("div",{style:{color:"#00B187"}},Pr.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!Qn.is_accessible&&qe.createElement("div",{className:dn.lockWrap},qe.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),qe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&qe.createElement($t.Z,null)))},sn={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},zn="data:image/png;base64,iVBORw0KGgoAAAANSUhEUg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pB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Vn=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,wrapClassName:Wa,trackEventItems:er,loading:Pr})=>{const ro=Math.floor((On-(rn-1)*ra)/rn);return y.createElement(ht.Z,{spinning:Pr},y.createElement("div",{className:Ze()(sn.list,Vt)},!!Qt.length&&Qt.map((Qn,jr)=>{const{subject_identifier:uo,id:Oo,identifier:ar,power:sr}=Qn,Bo=Qn.is_public!=0&&Qn.is_public;return y.createElement("div",{className:Ze()(`${sn.wrap} ${Qn.is_accessible?"":sn.warpStyle}`,Wa),key:Oo,style:{width:ro,marginRight:(1+jr)%rn===0?0:ra+or,marginBottom:Ga}},y.createElement("a",{className:sn.li,onClick:qr=>{qr.preventDefault(),er&&(0,st.L9)([er]),(0,st.xg)(Qn.first_category_url)}},y.createElement("div",{className:sn.creator},y.createElement("img",{className:sn.img,src:Ve.Z.IMG_SERVER+"/images/"+Qn.avatar_url}),y.createElement("div",{className:sn.text,title:Qn.creator},Qn.creator)),y.createElement("div",{className:sn.top},y.createElement(Ht.Z,{title:Qn.name},y.createElement("div",{className:sn.name},Qn.name)),Bo&&y.createElement("div",{className:sn.sign},"\u516C\u5F00")),y.createElement("div",{className:sn.middle},y.createElement("div",{className:sn.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:sn.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:sn.value},(Qn==null?void 0:Qn.visits)||0)),y.createElement("div",null,y.createElement("span",{className:sn.text},"\u6210\u5458"),y.createElement("span",{className:sn.value},(Qn==null?void 0:Qn.course_members_count)||0))),y.createElement("div",{className:sn.row},y.createElement("div",null,y.createElement("span",{className:sn.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:sn.value},(Qn==null?void 0:Qn.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:sn.text},"\u72B6\u6001"),Qn.is_end?y.createElement("span",{className:sn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:sn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),uo&&y.createElement("div",{className:sn.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Qn.is_accessible&&y.createElement("div",{className:sn.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&y.createElement($t.Z,null)))},dt={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Ct="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQ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7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",mn=({className:Vt,dataSource:Qt=[],col:rn=4,right:ra,bottom:Ga=23,precision:or=0,wrapWidth:On=1200,wrapClassName:Wa,trackEventItems:er,loading:Pr})=>{const ro=Math.floor((On-(rn-1)*ra)/rn);return y.createElement(ht.Z,{spinning:Pr},y.createElement("div",{className:Ze()(dt.list,Vt)},!!Qt.length&&Qt.map((Qn,jr)=>{const{subject_identifier:uo,id:Oo,identifier:ar,power:sr}=Qn,Bo=Qn.is_public!=0&&Qn.is_public;return y.createElement("div",{className:Ze()(`${dt.wrap} ${Qn.is_accessible?"":dt.warpStyle}`,Wa),key:Oo,style:{width:ro,marginRight:(1+jr)%rn===0?0:ra+or,marginBottom:Ga}},y.createElement("a",{className:dt.li,onClick:qr=>{qr.preventDefault(),er&&(0,st.L9)([er]),(0,st.xg)(Qn.first_category_url)}},y.createElement("div",{className:dt.creator},y.createElement("img",{className:dt.img,src:Ve.Z.IMG_SERVER+"/images/"+Qn.avatar_url}),y.createElement("div",{className:dt.text,title:Qn.creator},Qn.creator)),y.createElement("div",{className:dt.top},y.createElement(Ht.Z,{title:Qn.name},y.createElement("div",{className:dt.name},Qn.name)),Bo&&y.createElement("div",{className:dt.sign})),y.createElement("div",{className:dt.middle},y.createElement("div",{className:dt.row,style:{marginBottom:6}},y.createElement("div",null,y.createElement("span",{className:dt.text},"\u8BBF\u95EE\u91CF"),y.createElement("span",{className:dt.value},(Qn==null?void 0:Qn.visits)||0)),y.createElement("div",null,y.createElement("span",{className:dt.text},"\u6210\u5458"),y.createElement("span",{className:dt.value},(Qn==null?void 0:Qn.course_members_count)||0))),y.createElement("div",{className:dt.row},y.createElement("div",null,y.createElement("span",{className:dt.text,style:{width:42}},"\u4F5C",y.createElement("span",{style:{marginLeft:14}},"\u4E1A")),y.createElement("span",{className:dt.value},(Qn==null?void 0:Qn.tasks_count)||0)),y.createElement("div",null,y.createElement("span",{className:dt.text},"\u72B6\u6001"),Qn.is_end?y.createElement("span",{className:dt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):y.createElement("span",{className:dt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),uo&&y.createElement("div",{className:dt.btns},y.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Qn.is_accessible&&y.createElement("div",{className:dt.lockWrap},y.createElement("img",{src:`${Ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),y.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Qt.length&&y.createElement($t.Z,null)))},An={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},$n=({dataSource:Vt=[],value:Qt,onChange:rn,className:ra,style:Ga={},tabBarExtraContent:or})=>y.createElement("div",{className:Ze()(An.tabs,ra),style:Ga},y.createElement("div",{className:An.tabsWrap},Vt.map((On,Wa)=>y.createElement("aside",{className:An.tab,onClick:()=>{rn(On.id),On.link&&mt.history.push(On.link)},key:Wa},y.createElement("div",{className:Qt===On.id?An.active:""},On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&y.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&y.createElement(Ht.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",y.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),y.createElement("div",{className:An.tabBar},or)),Kn={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},ma=({dataSource:Vt=[],value:Qt,onChange:rn,className:ra,style:Ga={},tabBarExtraContent:or})=>y.createElement("div",{className:Ze()(Kn.tabs,ra),style:Ga},y.createElement("div",{className:Kn.tabsWrap},Vt.map((On,Wa)=>y.createElement("aside",{className:Kn.tab,onClick:()=>{rn(On.id),On.link&&mt.history.push(On.link)},key:Wa},y.createElement("div",{className:Qt===On.id?Kn.active:""},On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&y.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&y.createElement(Ht.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",y.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),y.createElement("div",{className:Kn.tabBar},or)),Ha={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},ya=({dataSource:Vt=[],value:Qt,onChange:rn,className:ra,style:Ga={},tabBarExtraContent:or})=>y.createElement("div",{className:Ze()(Ha.tabs,ra),style:Ga},y.createElement("div",{className:Ha.tabsWrap},Vt.map((On,Wa)=>y.createElement("aside",{className:`${Ha.tab} ${Qt===On.id?Ha.active:""}`,onClick:()=>{rn(On.id),On.link&&mt.history.push(On.link)},key:Wa},y.createElement("div",null,On.name),(On==null?void 0:On.resetCount)==null&&(On==null?void 0:On.total)!==void 0&&y.createElement("span",null,"\uFF08",On==null?void 0:On.total,"\uFF09"),(On==null?void 0:On.resetCount)!==void 0&&(On==null?void 0:On.total)!==void 0&&y.createElement(Ht.Z,{title:(On==null?void 0:On.tip)!=null?On==null?void 0:On.tip:""},y.createElement("span",{style:{color:"#9096A3"}},"\uFF08",y.createElement("span",{style:{color:"#000"}},On==null?void 0:On.resetCount),"/",y.createElement("span",null,On==null?void 0:On.total),"\uFF09"))))),y.createElement("div",{className:Ha.tabBar},or)),dr=({className:Vt,style:Qt={},children:rn})=>y.createElement("div",{className:Ze()(Vt),style:Qt},rn),Wn={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},cn=ne(38854),Lr=ne(20834);const Qa=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var kr=({sortValue:Vt,dropValue:Qt,className:rn,onSort:ra,onDrop:Ga,dataSource:or=Qa})=>{var On;return y.createElement("div",{className:Ze()(Wn.orderWrap,rn)},y.createElement(cn.Z,{dropdownRender:()=>y.createElement(Lr.default,null,or.map((Wa,er)=>y.createElement(Lr.default.Item,{key:er,onClick:()=>Ga(Wa.id)},Wa.name)))},y.createElement("span",{className:Wn.orderTextWrap},(On=or.find(Wa=>Qt===Wa.id))==null?void 0:On.name)),y.createElement("span",{className:Wn.orderIconWrap},y.createElement("span",{className:Wn.orderAsc},y.createElement("i",{className:Vt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Wn.cursorPointer} ${Wn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Wn.cursorPointer}`,onClick:()=>ra(Vt==="asc"?"desc":"asc")})),y.createElement("span",{className:Wn.orderDesc},y.createElement("i",{className:Vt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Wn.cursorPointer} ${Wn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Wn.cursorPointer}`,onClick:()=>ra(Vt==="asc"?"desc":"asc")}))))},Fr={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Zr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ho=({sortValue:Vt,dropValue:Qt,className:rn,onSort:ra,onDrop:Ga,dataSource:or=Zr})=>{var On;return y.createElement("div",{className:Ze()(Fr.orderWrap,rn)},y.createElement(cn.Z,{dropdownRender:()=>y.createElement(Lr.default,null,or.map((Wa,er)=>y.createElement(Lr.default.Item,{key:er,onClick:()=>Ga(Wa.id)},Wa.name)))},y.createElement("span",{className:Fr.orderTextWrap},(On=or.find(Wa=>Qt===Wa.id))==null?void 0:On.name)),y.createElement("span",{className:Fr.orderIconWrap},y.createElement("span",{className:Fr.orderAsc},y.createElement("i",{className:Vt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Fr.cursorPointer} ${Fr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Fr.cursorPointer}`,onClick:()=>ra(Vt==="asc"?"desc":"asc")})),y.createElement("span",{className:Fr.orderDesc},y.createElement("i",{className:Vt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Fr.cursorPointer} ${Fr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Fr.cursorPointer}`,onClick:()=>ra(Vt==="asc"?"desc":"asc")}))))},Vo={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Hn=ne(3113),Jr=ne(2337),Kr=Object.defineProperty,Vr=Object.getOwnPropertySymbols,Ja=Object.prototype.hasOwnProperty,ta=Object.prototype.propertyIsEnumerable,Ma=(Vt,Qt,rn)=>Qt in Vt?Kr(Vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Vt[Qt]=rn,$a=(Vt,Qt)=>{for(var rn in Qt||(Qt={}))Ja.call(Qt,rn)&&Ma(Vt,rn,Qt[rn]);if(Vr)for(var rn of Vr(Qt))ta.call(Qt,rn)&&Ma(Vt,rn,Qt[rn]);return Vt},xa=(Vt,Qt)=>{var rn={};for(var ra in Vt)Ja.call(Vt,ra)&&Qt.indexOf(ra)<0&&(rn[ra]=Vt[ra]);if(Vt!=null&&Vr)for(var ra of Vr(Vt))Qt.indexOf(ra)<0&&ta.call(Vt,ra)&&(rn[ra]=Vt[ra]);return rn},br=(Vt,Qt,rn)=>new Promise((ra,Ga)=>{var or=er=>{try{Wa(rn.next(er))}catch(Pr){Ga(Pr)}},On=er=>{try{Wa(rn.throw(er))}catch(Pr){Ga(Pr)}},Wa=er=>er.done?ra(er.value):Promise.resolve(er.value).then(or,On);Wa((rn=rn.apply(Vt,Qt)).next())}),xo=Vt=>{var Qt=Vt,{className:rn,style:ra,children:Ga,loading:or=!1,openLoading:On,onClick:Wa=()=>{},size:er="middle",shape:Pr="round",theme:ro}=Qt,Qn=xa(Qt,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[jr,uo]=(0,y.useState)(!1),Oo=(0,y.useMemo)(()=>{switch(ro){case Jr.Fy.THEMEONE:return Vo.ThemeOne;case Jr.Fy.DEFAULT:default:return Vo.btn}},[ro]);return y.createElement(Hn.ZP,$a({onClick:(0,Ke.throttle)(ar=>br(void 0,null,function*(){On&&uo(!0);try{yield Wa(ar)}catch(sr){console.log("error",sr)}On&&uo(!1)}),2e3,{leading:!0,trailing:!1}),className:Ze()(Oo,Vo[`${er}-${Pr}`],rn),style:ra,size:er,shape:Pr,loading:jr||or},Qn),Ga)},ao={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},mi=({className:Vt,style:Qt,children:rn=null,onClick:ra,title:Ga})=>y.createElement("div",{className:Ze()(ao.head,Vt),style:Qt},y.createElement("span",{className:"primary-hover",onClick:ra},y.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),y.createElement("b",{title:Ga},Ga),y.createElement("div",{className:ao.node},rn)),ei={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Io=({confirmShow:Vt=!0,confirmTitle:Qt,confirmClick:rn,cancelShow:ra=!0,cancelTitle:Ga,cancelClick:or,className:On,style:Wa,confirmLoading:er=!1})=>y.createElement("div",{className:Ze()(ei.btns,On),style:Wa},Vt&&y.createElement(Hn.ZP,{loading:er,onClick:rn,type:"primary",className:ei.confirm},Qt),ra&&y.createElement(Hn.ZP,{onClick:or,className:ei.cancel},Ga)),ba={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},To=({className:Vt,style:Qt={},LeftContent:rn,children:ra,RightContent:Ga})=>y.createElement("div",{className:Ze()(ba.fixedBottom,Vt),style:Qt},y.createElement("div",{className:ba.wrap},y.createElement("div",{className:ba.left},rn),y.createElement("div",{className:ba.center},ra),y.createElement("div",{className:ba.right},Ga))),jo={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},ii=({className:Vt,style:Qt={},dataSource:rn=[]})=>y.createElement("div",{className:Ze()(jo.crumbs,Vt),style:Qt},rn.map((ra,Ga)=>Gamt.history.push(ra.path)},ra.name):y.createElement("span",null,ra.name),y.createElement("span",null,"\xA0",">","\xA0")):y.createElement("span",{key:Ga,style:{color:"#5F6368"}},ra.name))),ui=ne(31797),fi=Object.defineProperty,qo=Object.defineProperties,Ai=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,wi=Object.prototype.propertyIsEnumerable,Lo=(Vt,Qt,rn)=>Qt in Vt?fi(Vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Vt[Qt]=rn,Gi=(Vt,Qt)=>{for(var rn in Qt||(Qt={}))Bi.call(Qt,rn)&&Lo(Vt,rn,Qt[rn]);if(to)for(var rn of to(Qt))wi.call(Qt,rn)&&Lo(Vt,rn,Qt[rn]);return Vt},pi=(Vt,Qt)=>qo(Vt,Ai(Qt)),el=(Vt,Qt)=>{var rn={};for(var ra in Vt)Bi.call(Vt,ra)&&Qt.indexOf(ra)<0&&(rn[ra]=Vt[ra]);if(Vt!=null&&to)for(var ra of to(Vt))Qt.indexOf(ra)<0&&wi.call(Vt,ra)&&(rn[ra]=Vt[ra]);return rn};const{Countdown:Oi}=ui.default;var di=Vt=>{var Qt=Vt,{onChange:rn}=Qt,ra=el(Qt,["onChange"]);const[Ga,or]=(0,y.useState)(null);(0,y.useEffect)(()=>{typeof Ga=="number"&&Ga>=0&&rn(Ga)},[Ga]);const On=Wa=>{const er=Math.floor(Wa/1e3);or(er)};return y.createElement(Oi,pi(Gi({},ra),{onChange:On}))},rl={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},ol=({DataProps:Vt,className:Qt,style:rn={}})=>{var ra;return y.createElement("div",{className:Ze()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",rl.ClassRoomItem,Qt),style:rn,onClick:()=>{(0,st.xg)(Vt==null?void 0:Vt.first_category_url)}},y.createElement("div",{className:"flex flex-col item-center"},y.createElement("img",{src:`${(ra=Ve.Z)==null?void 0:ra.IMG_SERVER}/images/${Vt==null?void 0:Vt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Vt==null?void 0:Vt.subject_identifier)&&y.createElement("div",{className:"mt-40px"},y.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),y.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),y.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},y.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Vt!=null&&Vt.is_public)&&y.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),y.createElement("span",{className:Ze()("text-16px font-medium",rl.TitleDom)},Vt==null?void 0:Vt.name)),y.createElement("div",{className:"c-grey-333 font-medium"},Vt==null?void 0:Vt.creator),y.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Vt==null?void 0:Vt.course_members_count),y.createElement("div",{className:"c-grey-333 flex item-center justify-between"},y.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Vt==null?void 0:Vt.tasks_count),Vt!=null&&Vt.is_end?y.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):y.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},no=Object.defineProperty,Wi=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,ga=Object.prototype.propertyIsEnumerable,da=(Vt,Qt,rn)=>Qt in Vt?no(Vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Vt[Qt]=rn,wa=(Vt,Qt)=>{for(var rn in Qt||(Qt={}))Va.call(Qt,rn)&&da(Vt,rn,Qt[rn]);if(Wi)for(var rn of Wi(Qt))ga.call(Qt,rn)&&da(Vt,rn,Qt[rn]);return Vt},Gr=({DataProps:Vt=[],selectValue:Qt,onChange:rn,className:ra,style:Ga={},extra:or,classNameItem:On,styleItem:Wa={},barHidden:er})=>{const[Pr,ro]=(0,y.useState)();return(0,y.useEffect)(()=>{ro(Array.isArray(Qt)?Qt:[Qt])},[Qt]),y.createElement("div",{className:Ze()("flex px-20px py-10px gap-40px",ra),style:wa({borderBottom:"1px solid #D3F0FF"},Ga)},Vt==null?void 0:Vt.map(Qn=>y.createElement("div",{key:Qn==null?void 0:Qn.id,className:Ze()("flex item-center justify-center current c-grey-333 text-16 relative",On,Qn==null?void 0:Qn.className),style:wa(wa({color:Pr!=null&&Pr.includes(Qn==null?void 0:Qn.id)?"#1890FF":"",minWidth:88},Wa),(Qn==null?void 0:Qn.style)||{}),onClick:jr=>{rn==null||rn({domEvent:jr,item:Qn}),Qn!=null&&Qn.link&&mt.history.push(Qn==null?void 0:Qn.link)}},Qn==null?void 0:Qn.name,!er&&(Pr==null?void 0:Pr.includes(Qn==null?void 0:Qn.id))&&y.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),y.createElement("div",{className:"ml-auto"},or))},No=Object.defineProperty,Ao=Object.defineProperties,Yo=Object.getOwnPropertyDescriptors,Fa=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,$o=Object.prototype.propertyIsEnumerable,Di=(Vt,Qt,rn)=>Qt in Vt?No(Vt,Qt,{enumerable:!0,configurable:!0,writable:!0,value:rn}):Vt[Qt]=rn,vi=(Vt,Qt)=>{for(var rn in Qt||(Qt={}))Pi.call(Qt,rn)&&Di(Vt,rn,Qt[rn]);if(Fa)for(var rn of Fa(Qt))$o.call(Qt,rn)&&Di(Vt,rn,Qt[rn]);return Vt},tl=(Vt,Qt)=>Ao(Vt,Yo(Qt)),Ki=({value:Vt,onChange:Qt,onInputChange:rn,className:ra,style:Ga={},InputProps:or})=>{const[On,Wa]=(0,y.useState)(Vt);return y.createElement("div",{className:Ze()("flex item-center rounded-full px-10px py-2px",ra),style:vi({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},Ga)},y.createElement(Ne.default,tl(vi({bordered:!1},or),{onChange:er=>{Wa(er.target.value),rn==null||rn(encodeURIComponent(er.target.value))},onPressEnter:er=>{Qt==null||Qt({domEvent:er,item:{value:On}})}})),y.createElement("img",{className:"h-22px current",src:ne(25365),height:22,onClick:er=>{Qt==null||Qt({domEvent:er,item:{value:On}})}}))}},31103:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ue}});var y=ne(59301);function ue(Ce,Oe){const we=(0,y.useRef)();(0,y.useEffect)(()=>{we.current=Ce}),(0,y.useEffect)(()=>{function Ie(){we.current()}if(Oe!==null){let se=setInterval(Ie,Oe);return()=>clearInterval(se)}},[Oe])}},10129:function(At,jt,ne){"use strict";ne.d(jt,{h:function(){return y}});var y=(ue=>(ue[ue.NOMATCH=-1]="NOMATCH",ue[ue.OK=0]="OK",ue[ue.TIMEOUT=2]="TIMEOUT",ue[ue.PODFAILURE=3]="PODFAILURE",ue[ue.COMPILEFAILURE=4]="COMPILEFAILURE",ue[ue.EXECUTEFAILURE=5]="EXECUTEFAILURE",ue[ue.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",ue))(y||{})},67172:function(At,jt,ne){"use strict";ne.d(jt,{H7:function(){return E},MK:function(){return le},MU:function(){return je},X6:function(){return He},bM:function(){return Ke},fi:function(){return a},fu:function(){return Ze},n4:function(){return x},rX:function(){return Le},vl:function(){return b},zO:function(){return ze}});var y=ne(38147),ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ie=(z,te,re)=>te in z?ue(z,te,{enumerable:!0,configurable:!0,writable:!0,value:re}):z[te]=re,se=(z,te)=>{for(var re in te||(te={}))Oe.call(te,re)&&Ie(z,re,te[re]);if(Ce)for(var re of Ce(te))we.call(te,re)&&Ie(z,re,te[re]);return z};function Ze(z,te){return(0,y.U2)(`myproblems/${z}.json`,se({hidePopLogin:!0},te||{}))}function Ke(z,te){return(0,y.v_)(`myproblems/${z}/code_submit.json`,te)}function je(z,te){return(0,y.v_)(`myproblems/${z}/code_debug.json`,te)}function ze(z,te){return te.language&&(te.language=encodeURIComponent(te.language)),(0,y.U2)(`myproblems/${z}/submit_records.json`,te)}function He(z){return(0,y.U2)("myproblems/record_detail.json",{id:z})}function Le(z,te){return(0,y.U2)(`myproblems/${z}/result.json`,{mode:te})}function le(z,te){return(0,y.v_)(`myproblems/${z}/add_notes.json`,te)}function E(z,te){return(0,y.v_)(`myproblems/${z}/restore_initial_code.json`,te)}function a(z){return(0,y.v_)(`myproblems/${z}/sync_code.json`)}function x(z,te){return(0,y.v_)(`myproblems/${z}/update_code.json`,te)}function b(z,te){return(0,y.v_)(`discusses/${z}/plus.json`,te)}},26971:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return il}});var y=ne(59301),ue={flex_box_center:"flex_box_center___bZaL5",flex_space_between:"flex_space_between___oaJSq",flex_box_vertical_center:"flex_box_vertical_center____hsuP",flex_box_center_end:"flex_box_center_end___ZYbPQ",flex_box_column:"flex_box_column___nE_62",wrap:"wrap___ulhwR",left:"left___kyWln",title:"title___jsO1D",total:"total___GEhiU",list:"list___u9dBZ",name:"name___Wxggs",b:"b___Y15YO",r:"r___mKQoe",l:"l___uelFD",tag:"tag___Mpkbg",right:"right___mQ3dU",examName:"examName___Na1r8",t:"t___IgCWK",num:"num___CXI8j",topWarp:"topWarp___Kicpu",head:"head___jx3W8",so:"so___qYW7F",btn:"btn___EMJDz",content:"content___sHGsV",titleWrap:"titleWrap___I__GR",single:"single___K5iv9",analysis:"analysis___NoAuR",text:"text___xESW2",modalColumn:"modalColumn___I_tK_",modalRow:"modalRow___lyw_U",sup:"sup___HSz3Z",popover:"popover___kE8aI"},Ce=ne(78241),Oe=ne(6848),we=ne(3113),Ie=ne(43418),se=ne(5871),Ze=ne(8591),Ke=ne(92832),je=ne(28103),ze=ne(24905),He=ne(95237),Le=ne(43604),le=ne(58421),E=ne(60324),a=Object.defineProperty,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(Ge,nt,Et)=>nt in Ge?a(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,re=(Ge,nt)=>{for(var Et in nt||(nt={}))b.call(nt,Et)&&te(Ge,Et,nt[Et]);if(x)for(var Et of x(nt))z.call(nt,Et)&&te(Ge,Et,nt[Et]);return Ge};const ie=Ge=>React.createElement("svg",re({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ge),React.createElement("title",null,"\u7F16\u7EC4 6"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E4E6FD",width:34,height:34,rx:10}),React.createElement("g",{fillRule:"nonzero"},React.createElement("path",{d:"M13.808 11.448a.558.558 0 0 1 0 .788l-1.564 1.565a.558.558 0 1 1-.789-.79l1.564-1.563a.558.558 0 0 1 .79 0Zm9.882 2.462a.558.558 0 0 1-.789 0l-1.564-1.563a.558.558 0 1 1 .789-.789l1.564 1.564a.556.556 0 0 1 0 .788Z",fill:"#6678EB"}),React.createElement("path",{d:"M21.753 21.707a5.937 5.937 0 1 0-8.58.015l-.937.936a.558.558 0 1 0 .789.788l.995-.994a5.91 5.91 0 0 0 3.436 1.095c1.287 0 2.48-.41 3.452-1.106l.992.992a.558.558 0 1 0 .789-.789l-.936-.937Z",fill:"#6678EB"}),React.createElement("path",{d:"m20.858 18.95-3.024-1.745v-2.054a.558.558 0 1 0-1.117 0v2.351c0 .064.011.126.031.184a.551.551 0 0 0 .258.33l3.293 1.9a.557.557 0 0 0 .559-.966Z",fill:"#FFF"}))));var ge="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTRFNkZEIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0iTTEzLjgwOCAxMS40NDhhLjU1OC41NTggMCAwIDEgMCAuNzg4bC0xLjU2NCAxLjU2NWEuNTU4LjU1OCAwIDEgMS0uNzg5LS43OWwxLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDAgMSAuNzkgMFptOS44ODIgMi40NjJhLjU1OC41NTggMCAwIDEtLjc4OSAwbC0xLjU2NC0xLjU2M2EuNTU4LjU1OCAwIDEgMSAuNzg5LS43ODlsMS41NjQgMS41NjRhLjU1Ni41NTYgMCAwIDEgMCAuNzg4WiIgZmlsbD0iIzY2NzhFQiIvPjxwYXRoIGQ9Ik0yMS43NTMgMjEuNzA3YTUuOTM3IDUuOTM3IDAgMSAwLTguNTguMDE1bC0uOTM3LjkzNmEuNTU4LjU1OCAwIDEgMCAuNzg5Ljc4OGwuOTk1LS45OTRhNS45MSA1LjkxIDAgMCAwIDMuNDM2IDEuMDk1YzEuMjg3IDAgMi40OC0uNDEgMy40NTItMS4xMDZsLjk5Mi45OTJhLjU1OC41NTggMCAxIDAgLjc4OS0uNzg5bC0uOTM2LS45MzdaIiBmaWxsPSIjNjY3OEVCIi8+PHBhdGggZD0ibTIwLjg1OCAxOC45NS0zLjAyNC0xLjc0NXYtMi4wNTRhLjU1OC41NTggMCAxIDAtMS4xMTcgMHYyLjM1MWMwIC4wNjQuMDExLjEyNi4wMzEuMTg0YS41NTEuNTUxIDAgMCAwIC4yNTguMzNsMy4yOTMgMS45YS41NTcuNTU3IDAgMCAwIC41NTktLjk2NloiIGZpbGw9IiNGRkYiLz48L2c+PC9nPjwvc3ZnPg==",fe=ne(6339),ce=ne(65582),xe=ne(65862),ye=ne(38147),Ne=Object.defineProperty,pe=Object.getOwnPropertySymbols,Xe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,ut=(Ge,nt,Et)=>nt in Ge?Ne(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,Re=(Ge,nt)=>{for(var Et in nt||(nt={}))Xe.call(nt,Et)&&ut(Ge,Et,nt[Et]);if(pe)for(var Et of pe(nt))We.call(nt,Et)&&ut(Ge,Et,nt[Et]);return Ge};const _e=Ge=>React.createElement("svg",Re({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ge),React.createElement("title",null,"\u7F16\u7EC4 12"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{width:34,height:34,rx:10,fill:"#EAF3F4"}),React.createElement("path",{d:"M25.905 15.37a.775.775 0 0 0-.626-.529l-4.814-.7-2.152-4.362a.776.776 0 0 0-1.392 0l-2.153 4.363-4.814.699a.775.775 0 0 0-.43 1.323l3.484 3.396-.823 4.794a.777.777 0 0 0 1.126.818l4.306-2.264 4.305 2.264a.778.778 0 0 0 .817-.059.777.777 0 0 0 .31-.759l-.823-4.794 3.483-3.396a.777.777 0 0 0 .196-.795Z",fill:"#21C0A6",fillRule:"nonzero"})));var mt="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIgZmlsbD0iI0VBRjNGNCIvPjxwYXRoIGQ9Ik0yNS45MDUgMTUuMzdhLjc3NS43NzUgMCAwIDAtLjYyNi0uNTI5bC00LjgxNC0uNy0yLjE1Mi00LjM2MmEuNzc2Ljc3NiAwIDAgMC0xLjM5MiAwbC0yLjE1MyA0LjM2My00LjgxNC42OTlhLjc3NS43NzUgMCAwIDAtLjQzIDEuMzIzbDMuNDg0IDMuMzk2LS44MjMgNC43OTRhLjc3Ny43NzcgMCAwIDAgMS4xMjYuODE4bDQuMzA2LTIuMjY0IDQuMzA1IDIuMjY0YS43NzguNzc4IDAgMCAwIC44MTctLjA1OS43NzcuNzc3IDAgMCAwIC4zMS0uNzU5bC0uODIzLTQuNzk0IDMuNDgzLTMuMzk2YS43NzcuNzc3IDAgMCAwIC4xOTYtLjc5NVoiIGZpbGw9IiMyMUMwQTYiIGZpbGwtcnVsZT0ibm9uemVybyIvPjwvZz48L3N2Zz4=",Qe=Object.defineProperty,ot=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Ht=(Ge,nt,Et)=>nt in Ge?Qe(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,Kt=(Ge,nt)=>{for(var Et in nt||(nt={}))Wt.call(nt,Et)&&Ht(Ge,Et,nt[Et]);if(ot)for(var Et of ot(nt))ht.call(nt,Et)&&Ht(Ge,Et,nt[Et]);return Ge};const Ve=Ge=>React.createElement("svg",Kt({width:34,height:34,xmlns:"http://www.w3.org/2000/svg"},Ge),React.createElement("title",null,"\u9898\u76EE"),React.createElement("g",{fill:"none",fillRule:"evenodd"},React.createElement("rect",{fill:"#E7F3FF",width:34,height:34,rx:10}),React.createElement("g",{fill:"#4C6FFF",fillRule:"nonzero"},React.createElement("path",{d:"m23.719 13.325-4.098-3.94c-.097-.13-.225-.162-.355-.162-.129 0-.258.064-.387.161l-7.55 7.753c-.065.065-.098.162-.13.227l-1.032 5.427c-.033.194.032.323.16.484.13.13.227.162.389.162h.096l4.776-1.099c.097-.032.194-.064.258-.161l7.841-8.108c.194-.162.194-.517.033-.744h-.001Zm-8.1 8.044a.534.534 0 0 1-.386.162.56.56 0 0 1-.388-.162l-3-2.81c-.226-.194-.226-.517-.033-.743.194-.227.517-.227.743-.033l3 2.811c.259.226.291.55.065.776ZM17 22.92h6.844v1.055H17z"}))));var st="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cmVjdCBmaWxsPSIjRTdGM0ZGIiB3aWR0aD0iMzQiIGhlaWdodD0iMzQiIHJ4PSIxMCIvPjxnIGZpbGw9IiM0QzZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PHBhdGggZD0ibTIzLjcxOSAxMy4zMjUtNC4wOTgtMy45NGMtLjA5Ny0uMTMtLjIyNS0uMTYyLS4zNTUtLjE2Mi0uMTI5IDAtLjI1OC4wNjQtLjM4Ny4xNjFsLTcuNTUgNy43NTNjLS4wNjUuMDY1LS4wOTguMTYyLS4xMy4yMjdsLTEuMDMyIDUuNDI3Yy0uMDMzLjE5NC4wMzIuMzIzLjE2LjQ4NC4xMy4xMy4yMjcuMTYyLjM4OS4xNjJoLjA5Nmw0Ljc3Ni0xLjA5OWMuMDk3LS4wMzIuMTk0LS4wNjQuMjU4LS4xNjFsNy44NDEtOC4xMDhjLjE5NC0uMTYyLjE5NC0uNTE3LjAzMy0uNzQ0aC0uMDAxWm0tOC4xIDguMDQ0YS41MzQuNTM0IDAgMCAxLS4zODYuMTYyLjU2LjU2IDAgMCAxLS4zODgtLjE2MmwtMy0yLjgxYy0uMjI2LS4xOTQtLjIyNi0uNTE3LS4wMzMtLjc0My4xOTQtLjIyNy41MTctLjIyNy43NDMtLjAzM2wzIDIuODExYy4yNTkuMjI2LjI5MS41NS4wNjUuNzc2Wk0xNyAyMi45Mmg2Ljg0NHYxLjA1NUgxN3oiLz48L2c+PC9nPjwvc3ZnPg==",Rt=ne(70414),gn=ne(96565),wt=ne(97805),$t=ne(20633),Be={wrap:"wrap___OIoOI",modal:"modal___Z3hfU",titleWrap:"titleWrap___aK3oG",required:"required___NHoO7",title:"title___uxb1R",colorGray:"colorGray___O8YPg",choiceWrap:"choiceWrap___t51sb",answer:"answer___vsBnh",activeAnswer:"activeAnswer___AJN4p",deleteIcon:"deleteIcon___WvOJZ",addIcon:"addIcon___UyeIs",editorWrap:"editorWrap___uqcFU",htmlWrap:"htmlWrap___GcBNL",radio:"radio___e8qQ5",color333:"color333___PLzVK",color999:"color999___v3EY0",fold:"fold___OfvPe",head:"head___EejYX",collapseWrapper:"collapseWrapper___sQyVD",panelHeader:"panelHeader___Ivicf",open:"open___aEOQE",close:"close___z4P5H",inputBorder:"inputBorder___ix67O",keywordTag:"keywordTag___iGx08",scoreByBlankRadio:"scoreByBlankRadio___Kwu7q"},Jt=ne(59301),bn=Object.defineProperty,Ot=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,he=(Ge,nt,Et)=>nt in Ge?bn(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,tt=(Ge,nt)=>{for(var Et in nt||(nt={}))Ye.call(nt,Et)&&he(Ge,Et,nt[Et]);if(et)for(var Et of et(nt))De.call(nt,Et)&&he(Ge,Et,nt[Et]);return Ge},Lt=(Ge,nt)=>Ot(Ge,Zt(nt)),Fe=(Ge,nt)=>{var Et={};for(var Dt in Ge)Ye.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&et)for(var Dt of et(Ge))nt.indexOf(Dt)<0&&De.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const be=null,Pt=(Ge,nt)=>{var Et=Ge,{globalSetting:Dt,loading:Cn,dispatch:Tn,isEdit:aa,editData:Xn}=Et,jn=Fe(Et,["globalSetting","loading","dispatch","isEdit","editData"]);const vn=(0,ce.useIntl)(),[la,fa]=(0,y.useState)(""),[tr,Ir]=(0,y.useState)(""),[gr,Fn]=(0,y.useState)([]),[kn,qn]=(0,y.useState)(""),[va,Sr]=(0,y.useState)(),[Ta,ur]=(0,y.useState)(!1),[Dn,ca]=(0,y.useState)({}),[Da,ja]=(0,y.useState)([]);(0,y.useEffect)(()=>{!Xn||!aa||(fa(Xn==null?void 0:Xn.name),Ir(Xn==null?void 0:Xn.analysis),Sr(Xn==null?void 0:Xn.is_ordered),ca(Xn),ur(!0))},[Xn]),(0,y.useEffect)(()=>{if(!Ta)return;const Qr=Xn==null?void 0:Xn.standard_answer.map(po=>po==null?void 0:po.answer_text);Fn(Qr);const Wo=Xn==null?void 0:Xn.standard_answer.map(po=>po==null?void 0:po.score);ja(Wo),ur(!1)},[Ta]),(0,y.useImperativeHandle)(nt,()=>({onSave:$r,Clear:Po}));const $r=()=>{let Qr=[],Wo=!1;return la?(gr.forEach((po,hi)=>{Qr.push({position:hi+1,answer_text:[],score:Da[hi]}),po==null||po.forEach((Fi,Rl)=>{Qr[hi].answer_text.push(Fi),(!Fi||!(0,xe.eR)(Fi,1e4))&&(qn(`${hi}-${Rl}`),Ze.ZP.info(Fi?"\u7B54\u6848\u4E0D\u80FD\u8D85\u8FC710000\u5B57\u7B26":"\u7B54\u6848\uFF1A\u4E0D\u80FD\u4E3A\u7A7A"),Wo=!0)})}),Wo?!1:(Qr==null?void 0:Qr.length)>20?(Ze.ZP.warning("\u586B\u7A7A\u9898\u6807\u51C6\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A/\u4E0D\u80FD\u8D85\u8FC720\u4E2A\uFF01"),!1):{name:la,analysis:tr,standard_answers:Qr,is_ordered:va,downcase:Dn==null?void 0:Dn.downcase,no_space:Dn==null?void 0:Dn.no_space,use_blank_score:Dn==null?void 0:Dn.use_blank_score}):(Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1)},Po=()=>{fa(""),Ir(""),Fn([]),Sr(!1)},bi=(Qr,Wo,po)=>{const hi=gr.slice();if(Wo&&hi.splice(Qr,Wo),po)for(let Fi=0;Fi{qn("");let hi=gr.slice();hi[Qr][Wo]=po,Fn(hi)},Tr=Qr=>{let Wo=gr.slice();Wo[Qr]=[...Wo[Qr],""],Fn(Wo)},Ri=(Qr,Wo)=>{let po=gr.slice();if(!po[Qr][Wo]){po[Qr]=po[Qr].filter((hi,Fi)=>Fi!==Wo),Fn(po);return}Ie.default.confirm({centered:!0,okText:vn.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:vn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:vn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Be.modal,onOk:()=>{po[Qr]=po[Qr].filter((hi,Fi)=>Fi!==Wo),Fn(po)}})},Vi=Qr=>{Ie.default.confirm({centered:!0,okText:vn.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:vn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:vn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Be.modal,onOk:()=>{let Wo=gr.slice();Wo=gr.filter((po,hi)=>Qr!==hi),Fn(Wo)}})};return Jt.createElement("section",{className:Be.wrap},Jt.createElement("p",{className:Be.titleWrap},Jt.createElement("span",{className:Be.required},"*"),Jt.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Jt.createElement("div",null,Jt.createElement(wt.Z,{id:"completion-question-tittle",placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE",height:155,defaultValue:la,onChange:Qr=>fa(Qr),showNullButton:!0,onPlaceholderChange:bi})),Jt.createElement("div",{className:"mt20"},gr.map((Qr,Wo)=>Jt.createElement("div",{style:{display:"flex"}},Jt.createElement("div",{style:{flex:1}},Jt.createElement($t.Z,{key:Wo,answers:Qr,index:Wo,flex:1,is_md:!0,activeOptionErrorIndex:kn,onAnswerChange:Uo,addChildAnswer:Tr,deleteChildAnswer:Ri,deleteChildAnswermain:Vi})),Dn.use_blank_score&&Jt.createElement("div",{style:{display:"flex",alignItems:"center",width:"165px"}},Jt.createElement("span",{style:{color:"red",margin:"auto 5px auto 10px"}},"*"),"\u5206\u503C\uFF1A",Jt.createElement(se.Z,{style:{width:"100px"},size:"large",defaultValue:Da[Wo],onBlur:po=>{Da[Wo]=po.target.value,ja([...Da])}}))))),Jt.createElement("div",null,Jt.createElement(ze.default,{className:`${Be.color333} font14 mt20`,checked:Dn.use_blank_score,onChange:Qr=>ca(Lt(tt({},Dn),{use_blank_score:Qr.target.checked}))},"\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206"),Jt.createElement("span",{style:{color:"#999999",fontSize:"12px"}},"\uFF08\u9009\u4E2D\uFF0C\u5219\u9700\u8981\u8BBE\u7F6E\u6BCF\u7A7A\u5206\u503C\uFF0C\u5B66\u751F\u7B54\u6848\u5224\u5206\u65F6\u6309\u7A7A\u7ED9\u5206\uFF09")),Jt.createElement("div",null,Jt.createElement(ze.default,{className:`${Be.color333} font14 mt20`,checked:Dn.downcase,onChange:Qr=>ca(Lt(tt({},Dn),{downcase:Qr.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),Jt.createElement("div",null,Jt.createElement(ze.default,{className:`${Be.color333} font14 mt20`,checked:Dn.no_space,onChange:Qr=>ca(Lt(tt({},Dn),{no_space:Qr.target.checked}))},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),Jt.createElement("div",{className:"mt20"},(gr==null?void 0:gr.length)>1&&Jt.createElement("span",null,Jt.createElement(ze.default,{checked:va,onChange:Qr=>Sr(Qr.target.checked),className:`${Be.color333} font14`},"\u591A\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u6709\u987A\u5E8F\u8981\u6C42"),Jt.createElement("span",{className:`${Be.color999} font12`},"\uFF08\u9009\u4E2D\uFF0C\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u987A\u5E8F\u5FC5\u987B\u4E0E\u53C2\u8003\u7B54\u6848\u4E00\u81F4\uFF09"))),Jt.createElement("p",{className:Be.titleWrap},Jt.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Jt.createElement(gn.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:tr,onChange:Qr=>Ir(Qr)}))};var Je=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(Pt)),ke=ne(5112),bt=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,ln=(Ge,nt)=>{var Et={};for(var Dt in Ge)hn.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&bt)for(var Dt of bt(Ge))nt.indexOf(Dt)<0&&Tt.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const tn=null,an=(Ge,nt)=>{var Et=Ge,{globalSetting:Dt,loading:Cn,editData:Tn,dispatch:aa,onRef:Xn=()=>{},isEdit:jn}=Et,vn=ln(Et,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[la,fa]=(0,y.useState)(),[tr,Ir]=(0,y.useState)(""),[gr,Fn]=(0,y.useState)("");(0,y.useEffect)(()=>{if(!Tn||!jn)return;Ir(Tn==null?void 0:Tn.name),Fn(Tn==null?void 0:Tn.analysis);const va=Tn==null?void 0:Tn.choices.find(Sr=>Sr.is_answer);fa(va.choice_text==="\u6B63\u786E"?"0":"1")},[Tn]),(0,y.useImperativeHandle)(nt,()=>({onSave:kn,Clear:qn}));const kn=()=>tr?la?{name:tr,choices:[{choice_text:"\u6B63\u786E",is_answer:la==="0"?1:0},{choice_text:"\u9519\u8BEF",is_answer:la==="1"?1:0}],analysis:gr}:(Ze.ZP.info("\u8BF7\u5148\u70B9\u51FB\u9009\u62E9\u672C\u9009\u62E9\u9898\u7684\u6B63\u786E\u9009\u9879"),!1):(Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1),qn=()=>{Ir(""),Fn(""),fa("")};return y.createElement("section",{className:Be.wrap},y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),y.createElement(gn.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:tr,onChange:va=>Ir(va)}),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",y.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),y.createElement(ke.ZP.Group,{buttonStyle:"solid",value:la,onChange:va=>fa(va.target.value)},y.createElement(ke.ZP.Button,{value:"0",className:`${Be.radio} mr40`},"\u6B63\u786E"),y.createElement(ke.ZP.Button,{value:"1",className:Be.radio},"\u9519\u8BEF")),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),y.createElement(gn.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:gr,onChange:va=>Fn(va)}))};var Te=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(an)),at=Object.getOwnPropertySymbols,Nt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,lt=(Ge,nt)=>{var Et={};for(var Dt in Ge)Nt.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&at)for(var Dt of at(Ge))nt.indexOf(Dt)<0&&ft.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const fn=null,En=(Ge,nt)=>{var Et=Ge,{globalSetting:Dt,loading:Cn,editData:Tn,dispatch:aa,onRef:Xn=()=>{},isEdit:jn}=Et,vn=lt(Et,["globalSetting","loading","editData","dispatch","onRef","isEdit"]);const[la,fa]=(0,y.useState)([]);(0,y.useEffect)(()=>{var Fn;if(!Tn||!jn)return;const kn=(Fn=Tn==null?void 0:Tn.shixun)==null?void 0:Fn.challenges.map(qn=>({id:qn==null?void 0:qn.id,score:qn.score}));fa(kn)},[Tn]),(0,y.useImperativeHandle)(nt,()=>({onSave:tr,Clear:Ir}));const tr=()=>({challenges:[...la]}),Ir=()=>{fa([])};console.log("editData--",Tn);const gr=Fn=>{var kn,qn;return y.createElement("div",null,(qn=(kn=Fn==null?void 0:Fn.shixun)==null?void 0:kn.challenges)==null?void 0:qn.map((va,Sr)=>{var Ta;return y.createElement("div",{className:"c-grey-666 font14 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"15px"}},y.createElement("div",null,y.createElement("span",{className:"mr5"},"\u7B2C",Sr+1,"\u5173"),y.createElement(Oe.Z,{key:Sr,title:va==null?void 0:va.challenge_name},y.createElement("span",null,(0,xe.Pq)(va==null?void 0:va.challenge_name,44)))),y.createElement("p",{style:{marginBottom:0}},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u5206\u503C\uFF1A"),y.createElement(se.Z,{precision:1,min:1,max:100,className:Be.baseFormItem,style:{width:176},value:(Ta=la.find(ur=>ur.id===va.id))==null?void 0:Ta.score,onChange:ur=>{la.find(Dn=>Dn.id===va.id).score=ur,fa([...la])}})))}),y.createElement("div",{style:{clear:"both"}}))};return y.createElement("section",{className:Be.wrap},y.createElement(fe.Z,{style:{paddingRight:10},className:Be.titleHtml,value:`${Tn==null?void 0:Tn.position}\u3001${Tn==null?void 0:Tn.name}`}),y.createElement("p",{style:{marginBottom:"10px",marginTop:"25px"}},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u5173\u5361")),gr(Tn))};var yn=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(En)),Ln=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Yt=(Ge,nt)=>{var Et={};for(var Dt in Ge)ea.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&Ln)for(var Dt of Ln(Ge))nt.indexOf(Dt)<0&&Xt.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const qt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],In=(Ge,nt)=>{var Et=Ge,{editData:Dt,globalSetting:Cn,loading:Tn,dispatch:aa,onRef:Xn=()=>{},isEdit:jn}=Et,vn=Yt(Et,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const la=(0,ce.useIntl)(),[fa,tr]=(0,y.useState)([]),[Ir,gr]=(0,y.useState)(),[Fn,kn]=(0,y.useState)([]),[qn,va]=(0,y.useState)(""),[Sr,Ta]=(0,y.useState)("");(0,y.useEffect)(()=>{tr(["","","",""])},[]),(0,y.useEffect)(()=>{if(!Dt||!jn)return;va(Dt==null?void 0:Dt.name),Ta(Dt==null?void 0:Dt.analysis),tr(Dt==null?void 0:Dt.choices.map(Da=>Da.choice_text));const ca=[];Dt==null||Dt.choices.map((Da,ja)=>{Da.is_answer&&ca.push(ja)}),kn(ca)},[Dt]),(0,y.useImperativeHandle)(nt,()=>({onSave:ur,Clear:Dn}));const ur=()=>{if(!qn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const ca=fa.findIndex(ja=>!ja);if(ca>-1)return Ze.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${qt[ca]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Fn.length)return Ze.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;if(Fn.length<2)return Ze.ZP.info("\u591A\u9009\u9898\u6700\u5C0F\u6B63\u786E\u9009\u9879\u4E3A2\u4E2A"),!1;const Da=fa.map((ja,$r)=>({choice_text:ja,is_answer:Fn.includes($r)?1:0}));return{name:qn,choices:Da,analysis:Sr}},Dn=()=>{tr(["","","",""]),va(""),Ta(""),kn("")};return y.createElement("section",{className:Be.wrap},y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),y.createElement(gn.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:qn,onChange:ca=>va(ca)}),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",y.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),fa.map((ca,Da)=>y.createElement("div",{className:Be.choiceWrap,key:Da},y.createElement(Oe.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},y.createElement("div",{className:`${Be.answer} ${Fn.includes(Da)?Be.activeAnswer:""}`,onClick:()=>{Fn.includes(Da)?kn(Fn.filter(ja=>ja!==Da)):kn([...Fn,Da])}},qt[Da])),y.createElement("div",{className:Be.editorWrap},Ir===Da?y.createElement(gn.Z,{id:`single-question-option-${Da}`,watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:ca,onChange:ja=>{fa[Da]=ja,tr(fa)}}):y.createElement("div",{className:Be.htmlWrap,onClick:()=>gr(Da)},y.createElement(fe.Z,{value:ca}))),Da>1&&y.createElement(Oe.Z,{title:la.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},y.createElement("i",{className:`${Be.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{tr(fa.filter((ja,$r)=>$r!==Da)),Fn.includes(Da)?kn(Fn.filter(ja=>ja!==Da)):kn([...Fn,Da])}})),Da<7&&Da===fa.length-1&&y.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},y.createElement("i",{className:`${Be.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>tr([...fa,""])})))),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),y.createElement(gn.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Sr,onChange:ca=>Ta(ca)}))};var en=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(In)),Sa=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,dn=(Ge,nt)=>{var Et={};for(var Dt in Ge)Ca.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&Sa)for(var Dt of Sa(Ge))nt.indexOf(Dt)<0&&Un.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const Aa=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],qe=(Ge,nt)=>{var Et=Ge,{editData:Dt,globalSetting:Cn,loading:Tn,dispatch:aa,onRef:Xn=()=>{},isEdit:jn}=Et,vn=dn(Et,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const la=(0,ce.useIntl)(),[fa,tr]=(0,y.useState)([]),[Ir,gr]=(0,y.useState)(),[Fn,kn]=(0,y.useState)(),[qn,va]=(0,y.useState)(""),[Sr,Ta]=(0,y.useState)("");(0,y.useEffect)(()=>{tr(["","","",""])},[]),(0,y.useEffect)(()=>{if(!Dt||!jn)return;const ca=[],Da=[];Dt==null||Dt.choices.forEach((ja,$r)=>{ca.push(ja.choice_text),ja.is_answer&&Da.push($r)}),va(Dt==null?void 0:Dt.name),Ta(Dt==null?void 0:Dt.analysis),tr(ca),kn(Da)},[Dt]),(0,y.useImperativeHandle)(nt,()=>({onSave:ur,Clear:Dn}));const ur=()=>{if(!qn)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;const ca=fa.findIndex(ja=>!ja);if(ca>-1)return Ze.ZP.info(`\u8BF7\u5148\u8F93\u5165 ${Aa[ca]} \u9009\u9879\u7684\u5185\u5BB9`),!1;if(!Array.isArray(Fn))return Ze.ZP.info("\u8BF7\u8BBE\u7F6E\u672C\u9898\u7684\u6B63\u786E\u7B54\u6848\uFF0C\u70B9\u51FB\u9009\u9879A/B...\u5373\u53EF\u5B8C\u6210\u8BBE\u7F6E"),!1;const Da=fa.map((ja,$r)=>({choice_text:ja,is_answer:Fn.includes($r)?1:0}));return{name:qn,choices:Da,analysis:Sr}},Dn=()=>{tr(["","","",""]),va(""),Ta(""),kn("")};return y.createElement("section",{className:Be.wrap},y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),y.createElement(gn.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:qn,onChange:ca=>va(ca)}),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.required},"*"),y.createElement("span",{className:Be.title},"\u7B54\u6848\u9009\u9879\uFF1A",y.createElement("span",{className:Be.colorGray},"\u70B9\u51FB\u9009\u9879\u53EF\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))),fa.map((ca,Da)=>y.createElement("div",{className:Be.choiceWrap,key:Da},y.createElement(Oe.Z,{title:"\u70B9\u51FB\u8BBE\u7F6E\u4E3A\u6807\u51C6\u7B54\u6848",placement:"left"},y.createElement("div",{className:`${Be.answer} ${Fn!=null&&Fn.includes(Da)?Be.activeAnswer:""}`,onClick:()=>kn([Da])},Aa[Da])),y.createElement("div",{className:Be.editorWrap},Ir===Da?y.createElement(gn.Z,{id:`single-question-option-${Da}`,watch:!0,height:155,isFocus:!0,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",defaultValue:ca,onChange:ja=>{fa[Da]=ja,tr(fa)}}):y.createElement("div",{className:Be.htmlWrap,onClick:()=>gr(Da)},y.createElement(fe.Z,{value:ca}))),Da>1&&y.createElement(Oe.Z,{title:la.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},y.createElement("i",{className:`${Be.deleteIcon} iconfont icon-htmal5icon19`,onClick:()=>{tr(fa.filter((ja,$r)=>$r!==Da)),Da===Fn&&kn(null)}})),Da<7&&Da===fa.length-1&&y.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},y.createElement("i",{className:`${Be.addIcon} iconfont icon-roundaddfill ml6`,onClick:()=>tr([...fa,""])})))),y.createElement("p",{className:Be.titleWrap},y.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),y.createElement(gn.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:Sr,onChange:ca=>Ta(ca)}))};var pn=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(qe)),Nn=ne(12563),sn=ne(78673),zn=ne(61485),Gn=ne(59301),Vn=Object.defineProperty,dt=Object.defineProperties,Ct=Object.getOwnPropertyDescriptors,St=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,un=(Ge,nt,Et)=>nt in Ge?Vn(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,$n=(Ge,nt)=>{for(var Et in nt||(nt={}))mn.call(nt,Et)&&un(Ge,Et,nt[Et]);if(St)for(var Et of St(nt))An.call(nt,Et)&&un(Ge,Et,nt[Et]);return Ge},Kn=(Ge,nt)=>dt(Ge,Ct(nt)),Jn=(Ge,nt)=>{var Et={};for(var Dt in Ge)mn.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&St)for(var Dt of St(Ge))nt.indexOf(Dt)<0&&An.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et},ma=(Ge,nt,Et)=>new Promise((Dt,Cn)=>{var Tn=jn=>{try{Xn(Et.next(jn))}catch(vn){Cn(vn)}},aa=jn=>{try{Xn(Et.throw(jn))}catch(vn){Cn(vn)}},Xn=jn=>jn.done?Dt(jn.value):Promise.resolve(jn.value).then(Tn,aa);Xn((Et=Et.apply(Ge,nt)).next())});const Ha=Ge=>{if(!Ge)return!1;if(/^s*$/.test(Ge)||Ge.trim()===""){Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u5168\u4E3A\u7A7A\u683C");return}let nt=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Ge==="|"?(Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},Bn=({value:Ge=[],onClose:nt})=>Gn.createElement(Nn.default,{closable:!0,onClose:nt,className:Be.keywordTag},Gn.createElement("pre",{style:{margin:"0px",whiteSpace:"pre-wrap"}},Ge.join(" \u6216 "))),ya=(Ge,nt)=>{var Et=Ge,{editData:Dt,globalSetting:Cn,loading:Tn,dispatch:aa,onRef:Xn=()=>{},isEdit:jn}=Et,vn=Jn(Et,["editData","globalSetting","loading","dispatch","onRef","isEdit"]);const[la,fa]=(0,y.useState)(""),[tr,Ir]=(0,y.useState)(""),[gr,Fn]=(0,y.useState)(""),[kn,qn]=(0,y.useState)(""),[va]=Ce.default.useForm(),Sr=Ce.default.useWatch("use_keywords",va);(0,y.useEffect)(()=>{var ca;!Dt||!jn||(fa(Dt==null?void 0:Dt.name),Ir(Dt==null?void 0:Dt.analysis),Fn((ca=Dt==null?void 0:Dt.answer_texts)==null?void 0:ca[0]),va.setFieldsValue($n({},Dt)))},[Dt]),(0,y.useImperativeHandle)(nt,()=>({onSave:Ta,Clear:ur}));const Ta=()=>ma(void 0,null,function*(){if(!la)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield va.validateFields()}catch(Da){Ze.ZP.error(Da.errorFields[0].errors[0]);return}const ca=va.getFieldsValue();return console.log(ca,"values"),$n({name:la,answer_texts:[gr],analysis:tr},ca)}),ur=()=>{fa(""),Ir(""),Fn(""),va.resetFields()},Dn=Dt==null?void 0:Dt.score;return Gn.createElement("section",{className:Be.wrap},Gn.createElement("p",{className:Be.titleWrap},Gn.createElement("span",{className:Be.required},"*"),Gn.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Gn.createElement(gn.Z,{id:"single-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:la,onChange:ca=>fa(ca)}),Gn.createElement("p",{className:Be.titleWrap},Gn.createElement("span",{className:Be.title},"\u53C2\u8003\u7B54\u6848\uFF1A")),Gn.createElement(gn.Z,{id:"single-question-reference-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u53C2\u8003\u7B54\u6848",defaultValue:gr,onChange:ca=>Fn(ca)}),Gn.createElement("p",{className:Be.titleWrap},Gn.createElement("span",{className:Be.title},"\u9898\u76EE\u89E3\u6790\uFF1A")),Gn.createElement(gn.Z,{id:"single-question-answer",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u76EE\u89E3\u6790",defaultValue:tr,onChange:ca=>Ir(ca)}),Gn.createElement(Ce.default,{form:va,size:"large",onFinishFailed:ca=>ma(void 0,null,function*(){var Da,ja;Ze.ZP.error(ca.errorFields[0].errors[0]),va.scrollToField((ja=(Da=ca==null?void 0:ca.errorFields)==null?void 0:Da[0])==null?void 0:ja.name,{behavior:"smooth",block:"center"})})},Gn.createElement(He.Z,{align:"middle",className:"mb30 mt20"},Gn.createElement(Ce.default.Item,{noStyle:!0,name:"use_keywords",valuePropName:"checked"},Gn.createElement(sn.Z,null)),Gn.createElement(Le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),Gn.createElement(Le.Z,null,Gn.createElement(Oe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},Gn.createElement(zn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),Sr&&Gn.createElement(Ce.default.List,{name:"keywords",rules:[{validator(ca,Da){return Da!=null&&Da.length?(Da==null?void 0:Da.reduce(($r,Po)=>$r+Po.score,0))>parseFloat(Dn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD"))}}]},(ca,{add:Da,remove:ja})=>Gn.createElement(Gn.Fragment,null,Gn.createElement("div",{className:"mb10"},"\u5173\u952E\u8BCD"),Gn.createElement(He.Z,{align:"middle",className:"font14 mb30"},Gn.createElement(Le.Z,{flex:1},Gn.createElement(Ke.default,{value:kn,onChange:$r=>{qn($r.target.value)},maxLength:50,allowClear:!0,onPressEnter:$r=>{var Po,bi,Uo,Tr;const Ri=`${(Po=$r.target)==null?void 0:Po.value}`,Vi=(Uo=(bi=Ri==null?void 0:Ri.split("|"))==null?void 0:bi.filter(po=>!!po))==null?void 0:Uo.map(po=>po==null?void 0:po.trim()),Qr=va.getFieldValue("keywords"),Wo=((Tr=Qr==null?void 0:Qr.map(po=>po==null?void 0:po.keyword))==null?void 0:Tr.flat())||[];for(const po of Vi)if(Wo.includes(po)){Ze.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}Ha(Ri)&&(Da({keyword:Vi,score:1}),qn(""))},className:Be.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),Gn.createElement(Le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),ca.map($r=>{var Po=$r,{key:bi,name:Uo}=Po,Tr=Jn(Po,["key","name"]);return Gn.createElement(He.Z,{key:bi,style:{marginRight:148}},Gn.createElement(Le.Z,{flex:1},Gn.createElement(He.Z,{align:"middle",justify:"space-between"},Gn.createElement(Ce.default.Item,Kn($n({},Tr),{name:[Uo,"keyword"]}),Gn.createElement(Bn,{onClose:()=>ja(Uo)})),Gn.createElement(Ce.default.Item,Kn($n({},Tr),{name:[Uo,"score"],label:"\u5206\u503C",rules:[{required:!0}]}),Gn.createElement(se.Z,{min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))})))))};var Ya=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(ya)),dr=ne(36381),Wn={wrap:"wrap___Cc0gS",deleteIcon:"deleteIcon___ebwMv",keywordTag:"keywordTag___lUfL5",questionTitleEditorWrap:"questionTitleEditorWrap___u9UgK",choiceWrap:"choiceWrap___VHsr3",choiceIndex:"choiceIndex___rsj9r",judgementIndex:"judgementIndex___fMm6E",setAnswerBtn:"setAnswerBtn___krVC9",activeAnswer:"activeAnswer___WiYo2",activeJudgementAnswer:"activeJudgementAnswer___M6iww",actionWrapper:"actionWrapper___oKI8_",addIcon:"addIcon___eMbGP",inputBorder:"inputBorder___ob_6x",placeholder:"placeholder___Vkwr4",blankWrapper:"blankWrapper____MZQ5",blankInput:"blankInput___ephwY",blankInputNumberWrapper:"blankInputNumberWrapper___C1UJS",addBtn:"addBtn___qRBpJ",blankIndex:"blankIndex___QsKgf",baseInputWrapper:"baseInputWrapper___juqCB",collapseWrapper:"collapseWrapper___kAXJ0",panelHeader:"panelHeader___hLTSe",open:"open___wWDjf",close:"close___XPTJ0",hide:"hide___VytUy"},cn=ne(32134),Lr=ne(12893),Qa=Object.defineProperty,Or=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,Fr=Object.getOwnPropertySymbols,Zr=Object.prototype.hasOwnProperty,Zo=Object.prototype.propertyIsEnumerable,ho=(Ge,nt,Et)=>nt in Ge?Qa(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,Vo=(Ge,nt)=>{for(var Et in nt||(nt={}))Zr.call(nt,Et)&&ho(Ge,Et,nt[Et]);if(Fr)for(var Et of Fr(nt))Zo.call(nt,Et)&&ho(Ge,Et,nt[Et]);return Ge},Hn=(Ge,nt)=>Or(Ge,kr(nt)),Jr=(Ge,nt)=>{var Et={};for(var Dt in Ge)Zr.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&Fr)for(var Dt of Fr(Ge))nt.indexOf(Dt)<0&&Zo.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const Kr=Ge=>{var nt=Ge,{value:Et,onChange:Dt,scrollId:Cn}=nt,Tn=Jr(nt,["value","onChange","scrollId"]);return y.createElement("div",{id:Cn||""},y.createElement(gn.Z,Hn(Vo({},Tn),{defaultValue:Et,onChange:(aa,Xn)=>{Xn!=null&&Xn.length?Dt(aa,Xn):Dt(aa)}})))},Vr=({value:Ge,onChange:nt,placeholder:Et,height:Dt=140,isEdit:Cn})=>Cn?y.createElement(gn.Z,{watch:!0,isFocus:!0,height:Dt,placeholder:Et,defaultValue:Ge,onChange:nt}):y.createElement("div",{style:{cursor:"pointer"}},Ge?y.createElement(fe.Z,{className:Wn.inputBorder,value:Ge}):y.createElement("div",{className:`${Wn.inputBorder} ${Wn.placeholder}`},Et));var Ja=ne(59301),ta=Object.defineProperty,Ma=Object.defineProperties,$a=Object.getOwnPropertyDescriptors,xa=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,Xr=Object.prototype.propertyIsEnumerable,xo=(Ge,nt,Et)=>nt in Ge?ta(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,ao=(Ge,nt)=>{for(var Et in nt||(nt={}))br.call(nt,Et)&&xo(Ge,Et,nt[Et]);if(xa)for(var Et of xa(nt))Xr.call(nt,Et)&&xo(Ge,Et,nt[Et]);return Ge},Ro=(Ge,nt)=>Ma(Ge,$a(nt)),mi=(Ge,nt)=>{var Et={};for(var Dt in Ge)br.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&xa)for(var Dt of xa(Ge))nt.indexOf(Dt)<0&&Xr.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const ei=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],al=({value:Ge,onChange:nt,choiceTextKey:Et,answerKey:Dt,index:Cn,isEdit:Tn,setInputActive:aa,form:Xn,choiceOptionsPath:jn,allowChangeMode:vn,showAddIcon:la,addItem:fa,deleteItem:tr})=>{const Ir=(0,ce.useIntl)(),gr=(Ge==null?void 0:Ge[Dt])===!0,Fn=()=>{const qn=Xn.getFieldValue(jn);Xn.setFieldValue(jn,qn.map(va=>Ro(ao({},va),{[Dt]:!1})))},kn=()=>{gr?nt(Ro(ao({},Ge),{[Dt]:!1})):(vn||Fn(),nt(Ro(ao({},Ge),{[Dt]:!0})))};return Ja.createElement(He.Z,{className:Wn.choiceWrap,align:"middle",wrap:!1},Ja.createElement(Le.Z,{onClick:kn,className:`${Wn.choiceIndex} ${gr?Wn.activeAnswer:""}`},ei[Cn]),Ja.createElement(Le.Z,{flex:1,className:`${Wn.editorWrap} ml15`,onClick:aa},Ja.createElement(Vr,{height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9009\u9879",isEdit:Tn,value:Ge==null?void 0:Ge[Et],onChange:qn=>{nt(Ro(ao({},Ge),{[Et]:qn}))}})),Ja.createElement(Le.Z,{flex:"0 0 auto",className:"ml15"},Ja.createElement("div",{onClick:kn,className:`${Wn.setAnswerBtn} ${gr?Wn.activeAnswer:""}`},gr?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")),Ja.createElement(Le.Z,{className:Wn.actionWrapper},Ja.createElement(Oe.Z,{title:"\u65B0\u589E\u53C2\u8003\u7B54\u6848"},Ja.createElement(cn.Z,{className:Wn.addIcon,onClick:fa,style:{visibility:la?"visible":"hidden"}})),Ja.createElement(Oe.Z,{title:Ir.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},Ja.createElement(Lr.Z,{className:Wn.deleteIcon,onClick:tr,style:{visibility:Cn>1?"visible":"hidden"}}))))},Io=({questionTitlePlaceholder:Ge,titleKey:nt,choiceKey:Et,analysisKey:Dt,choiceTextKey:Cn,answerKey:Tn,choiceOptionsPath:aa,allowChangeMode:Xn=!0,form:jn,showAnalysis:vn=!0})=>{const[la,fa]=(0,y.useState)(),[tr,Ir]=(0,y.useState)(!1);return Ja.createElement("div",{className:Wn.wrap},Ja.createElement("div",{className:Wn.questionTitleEditorWrap},Ja.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:nt,labelCol:{span:24},rules:[{required:!0}]},Ja.createElement(Kr,{scrollId:Array.isArray(nt)?nt.join("_"):`${nt}`,watch:!0,height:140,placeholder:Ge}))),Ja.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),Ja.createElement(Ce.default.List,{name:Et,rules:[{validator(gr,Fn){const kn=Fn.some(va=>va[Tn]),qn=Fn.findIndex(va=>{var Sr;return((Sr=va[Cn])==null?void 0:Sr.length)<=0});return qn!==-1?Promise.reject(new Error(`\u8BF7\u5148\u8F93\u5165${ei[qn]}\u9009\u9879\u7684\u5185\u5BB9`)):kn?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},(gr,{add:Fn,remove:kn})=>Ja.createElement("div",{id:Array.isArray(aa)?aa.join("_"):`${aa}`},gr.map((qn,va)=>{var Sr=qn,{key:Ta,name:ur}=Sr,Dn=mi(Sr,["key","name"]);const ca=la===Ta,Da=()=>{fa(Ta)},ja=va<7&&va===gr.length-1,$r=()=>Fn({[Cn]:"",[Tn]:0}),Po=()=>kn(ur);return Ja.createElement(Ce.default.Item,Ro(ao({},Dn),{key:Ta,name:ur,noStyle:!0}),Ja.createElement(al,{choiceTextKey:Cn,answerKey:Tn,index:va,isEdit:ca,setInputActive:Da,form:jn,choiceOptionsPath:aa,allowChangeMode:Xn,showAddIcon:ja,addItem:$r,deleteItem:Po}))}),gr.length<8&&Ja.createElement("div",{className:`${Wn.addBtn} mb30`,onClick:()=>Fn({[Cn]:"",[Tn]:0})},"\u6DFB\u52A0\u9009\u9879"))),vn&&Ja.createElement("div",{onClick:()=>Ir(!0)},Ja.createElement(Ce.default.Item,{name:Dt,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},Ja.createElement(Vr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:tr}))))};var ba=ne(59301),Go=Object.defineProperty,To=Object.defineProperties,jo=Object.getOwnPropertyDescriptors,So=Object.getOwnPropertySymbols,ii=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,fi=(Ge,nt,Et)=>nt in Ge?Go(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,qo=(Ge,nt)=>{for(var Et in nt||(nt={}))ii.call(nt,Et)&&fi(Ge,Et,nt[Et]);if(So)for(var Et of So(nt))ui.call(nt,Et)&&fi(Ge,Et,nt[Et]);return Ge},Ai=(Ge,nt)=>To(Ge,jo(nt)),to=(Ge,nt)=>{var Et={};for(var Dt in Ge)ii.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&So)for(var Dt of So(Ge))nt.indexOf(Dt)<0&&ui.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const Bi=({value:Ge,onChange:nt})=>{const Et=(0,ce.useIntl)(),Dt=Tn=>{Ie.default.confirm({centered:!0,okText:Et.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:Et.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:Et.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u8981\u5220\u9664\u8FD9\u4E2A\u53C2\u8003\u7B54\u6848\u5417\uFF1F",className:Wn.modal,onOk:()=>{const aa=[...Ge];aa.splice(Tn,1),nt(aa)}})},Cn=()=>{const Tn=[...Ge];Tn.push(""),nt(Tn)};return ba.createElement(He.Z,{align:"middle",className:"ml20",gutter:[40,20]},Ge==null?void 0:Ge.map((Tn,aa)=>ba.createElement(Le.Z,{key:`${Tn}_${aa}`,className:Wn.blankWrapper},ba.createElement(Ke.default,{className:Wn.blankInput,defaultValue:Tn,maxLength:1e3,onBlur:Xn=>{const jn=[...Ge],vn=Xn.target.value.trim();jn[aa]=vn,nt(jn)}}),ba.createElement(Oe.Z,{title:Et.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},ba.createElement(Lr.Z,{className:Wn.deleteIcon,style:{marginLeft:15,visibility:aa>0?"visible":"hidden"},onClick:()=>Dt(aa)})))),ba.createElement(Le.Z,null,ba.createElement("div",{className:`${Wn.addBtn}`,onClick:()=>{Cn()}},"\u65B0\u589E\u7B54\u6848")))},wi=({value:Ge=!0,onChange:nt})=>ba.createElement(sn.Z,{checked:!Ge,onChange:Et=>{nt(!Et)}}),Lo="\u2581",Gi=({questionTitlePlaceholder:Ge,form:nt,name:Et,scoreByBlank:Dt="use_blank_score",answerKey:Cn,titleKey:Tn="name",analysisKey:aa="analysis",isOrdered:Xn="is_ordered"})=>{var jn,vn;const la=(0,ce.useIntl)(),[fa,tr]=(0,y.useState)(!1),Ir=(ur,Dn)=>{const ca=Dn.line;let Da=0;for(let $r=0;$r{const ja=ur.getRange(Dn.from,Dn.to);let $r=0;if(Dn.text.forEach(Po=>{$r+=Po.split(Lo).length-1}),Dn.origin!=="setValue"){if(ja&&ja.indexOf(Lo)!==-1){const Po=ja.split(Lo).length-1,bi=Ir(ur,Dn.from);if(console.log(`\u5220\u9664${Po}\u4E2A\uFF0C \u524D\u9762\u6709${bi}\u4E2A\uFF0C\u65B0\u589E${$r}\u4E2A`),Po>1){const Uo=Array.from({length:Po},(Tr,Ri)=>bi+Ri);Da(Uo)}else Da(bi)}else if($r>0){const Po=Ir(ur,Dn.from);console.log(`\u65B0\u589E${$r}\u4E2A\uFF0C\u4E4B\u524D\u6709${Po}\u4E2A`),ca($r,Po)}}},Fn=()=>{const ur=nt.getFieldValue(["sub_item_banks",...Cn]);nt.setFieldValue(["sub_item_banks",...Cn],ur==null?void 0:ur.map((Dn,ca)=>Ai(qo({},Dn),{position:ca+1})))},kn=(0,y.useRef)(),qn=(ur,Dn)=>{for(let ca=0;ca{va.current(ur),Fn()},Ta=(vn=(jn=nt.getFieldValue("sub_item_banks"))==null?void 0:jn[Cn==null?void 0:Cn[0]])==null?void 0:vn[Cn==null?void 0:Cn[1]];return ba.createElement("div",{className:Wn.wrap},ba.createElement("div",{className:Wn.questionTitleEditorWrap},ba.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Tn,labelCol:{span:24},rules:[{required:!0}]},ba.createElement(Kr,{scrollId:"name",watch:!0,height:140,placeholder:Ge,showNullButton:!0,onCMBeforeChange:(ur,Dn)=>{gr(ur,Dn,qn,Sr)}}))),ba.createElement(Ce.default.List,{name:Cn,rules:[{validator(ur,Dn){if((Dn==null?void 0:Dn.length)===0)return Promise.reject(new Error("\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"));for(const ca of Dn){const{answer_text:Da}=ca||{};if(Da!=null&&Da.some(ja=>(ja==null?void 0:ja.length)===0))return Promise.reject(new Error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"))}return Promise.resolve()}}]},(ur,{add:Dn,remove:ca},{errors:Da})=>(kn.current=Dn,va.current=ca,ba.createElement(ba.Fragment,null,ba.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}}),ur.map((ja,$r)=>{var Po=ja,{key:bi,name:Uo}=Po,Tr=to(Po,["key","name"]);return ba.createElement(He.Z,{className:"mb20",key:bi,align:"middle",wrap:!1},ba.createElement(Le.Z,{flex:"0 0 auto",className:`${Wn.blankIndex}`},"\u586B\u7A7A\u9879",$r+1),ba.createElement(Le.Z,{flex:1},ba.createElement(He.Z,{align:"top",justify:"space-between",wrap:!1},ba.createElement(Le.Z,null,ba.createElement(Ce.default.Item,Ai(qo({},Tr),{name:[Uo,"answer_text"],noStyle:!0}),ba.createElement(Bi,null))),(nt==null?void 0:nt.getFieldValue(["sub_item_banks",...Dt]))&&ba.createElement(Le.Z,{flex:"224px"},ba.createElement(Ce.default.Item,Ai(qo({},Tr),{name:[Uo,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Wn.blankInputNumberWrapper}),ba.createElement(se.Z,{className:Wn.blankInput,min:.1,max:100,style:{width:"100%"},placeholder:"\u6309\u7A7A\u7ED9\u5206\u8BF7\u8F93\u5165\u5206\u503C"})))),ba.createElement(Ce.default.Item,Ai(qo({},Tr),{name:[Uo,"position"],noStyle:!0}),ba.createElement(Ke.default,{type:"hidden"}))))})))),ba.createElement(He.Z,{align:"middle"},ba.createElement(Ce.default.Item,{name:[Et,"downcase"],valuePropName:"checked"},ba.createElement(sn.Z,null)),ba.createElement(Le.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u5B57\u6BCD\u5927\u5C0F\u5199")),ba.createElement(He.Z,{align:"middle"},ba.createElement(Ce.default.Item,{name:[Et,"no_space"],valuePropName:"checked"},ba.createElement(sn.Z,null)),ba.createElement(Le.Z,{className:"ml10"},"\u5224\u5206\u65F6\u5FFD\u7565\u7B54\u6848\u4E2D\u7684\u7A7A\u683C")),(Ta==null?void 0:Ta.length)>1&&ba.createElement(He.Z,{align:"middle",className:(Ta==null?void 0:Ta.length)>1?"mb30":`${Wn.hide}`},ba.createElement(Ce.default.Item,{name:Xn},ba.createElement(wi,null)),ba.createElement(Le.Z,{className:"ml10"},"\u5141\u8BB8\u5B66\u751F\u6BCF\u4E2A\u586B\u7A7A\u7684\u7B54\u6848\u4E0E\u6807\u51C6\u7B54\u6848\u7684\u987A\u5E8F\u4E0D\u4E00\u81F4")),ba.createElement("div",{onClick:()=>tr(!0)},ba.createElement(Ce.default.Item,{name:aa,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},ba.createElement(Vr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:fa}))))};var pi=Object.defineProperty,el=Object.defineProperties,Oi=Object.getOwnPropertyDescriptors,Yi=Object.getOwnPropertySymbols,di=Object.prototype.hasOwnProperty,rl=Object.prototype.propertyIsEnumerable,vl=(Ge,nt,Et)=>nt in Ge?pi(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,ol=(Ge,nt)=>{for(var Et in nt||(nt={}))di.call(nt,Et)&&vl(Ge,Et,nt[Et]);if(Yi)for(var Et of Yi(nt))rl.call(nt,Et)&&vl(Ge,Et,nt[Et]);return Ge},no=(Ge,nt)=>el(Ge,Oi(nt)),Wi=(Ge,nt)=>{var Et={};for(var Dt in Ge)di.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&Yi)for(var Dt of Yi(Ge))nt.indexOf(Dt)<0&&rl.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const Va={\u6B63\u786E:"T",\u9519\u8BEF:"F"},ga=({value:Ge,onChange:nt,form:Et,choiceKey:Dt})=>{const Cn=(Ge==null?void 0:Ge.is_answer)===!0,Tn=Ge==null?void 0:Ge.choice_text,aa=()=>{var Xn;const jn=(Xn=Et==null?void 0:Et.getFieldValue(["sub_item_banks",...Dt]))==null?void 0:Xn.map(vn=>({choice_text:vn==null?void 0:vn.choice_text,is_answer:!1}));Et==null||Et.setFieldValue(["sub_item_banks",...Dt],jn),nt(no(ol({},Ge),{is_answer:!0}))};return y.createElement(He.Z,{className:Wn.choiceWrap,align:"middle",wrap:!1},y.createElement(Le.Z,{onClick:aa,className:`${Wn.choiceIndex} ${Wn.judgementIndex} ${Cn?Wn.activeAnswer:""}`},Va[Tn]),y.createElement(Le.Z,{flex:1,className:`${Wn.editorWrap} ml15`},y.createElement("div",{className:`${Wn.inputBorder} ${Wn.placeholder} ${Cn?Wn.activeJudgementAnswer:""}`},Tn)),y.createElement(Le.Z,{flex:"0 0 auto",className:"ml15"},y.createElement("div",{onClick:aa,className:`${Wn.setAnswerBtn} ${Cn?Wn.activeAnswer:""}`},Cn?"\u6B63\u786E\u7B54\u6848":"\u8BBE\u4E3A\u7B54\u6848")))},da=({questionTitlePlaceholder:Ge,choiceKey:nt="choices",form:Et,titleKey:Dt="name",analysisKey:Cn="analysis"})=>{const[Tn,aa]=(0,y.useState)(!1);return y.createElement("div",{className:Wn.wrap},y.createElement("div",{className:Wn.questionTitleEditorWrap},y.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Dt,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Kr,{scrollId:"name",watch:!0,height:140,placeholder:Ge}))),y.createElement(Ce.default.Item,{label:"\u7B54\u6848\u9009\u9879",required:!0,labelCol:{span:24}},y.createElement(Ce.default.List,{name:nt,rules:[{validator(Xn,jn){return jn.some(la=>(la==null?void 0:la.is_answer)===!0)?Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u6B63\u786E\u7B54\u6848"))}}]},Xn=>y.createElement("div",{id:"choices"},Xn.map(jn=>{var vn=jn,{key:la,name:fa}=vn,tr=Wi(vn,["key","name"]);return y.createElement(Ce.default.Item,no(ol({},tr),{key:la,name:fa,noStyle:!0}),y.createElement(ga,{form:Et,choiceKey:nt}))})))),y.createElement("div",{onClick:()=>aa(!0)},y.createElement(Ce.default.Item,{name:Cn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Vr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:Tn}))))};var wa=Object.defineProperty,Nr=Object.defineProperties,Gr=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Yo=Object.prototype.propertyIsEnumerable,Fa=(Ge,nt,Et)=>nt in Ge?wa(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,Pi=(Ge,nt)=>{for(var Et in nt||(nt={}))Ao.call(nt,Et)&&Fa(Ge,Et,nt[Et]);if(No)for(var Et of No(nt))Yo.call(nt,Et)&&Fa(Ge,Et,nt[Et]);return Ge},$o=(Ge,nt)=>Nr(Ge,Gr(nt)),Di=(Ge,nt)=>{var Et={};for(var Dt in Ge)Ao.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&No)for(var Dt of No(Ge))nt.indexOf(Dt)<0&&Yo.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et};const vi=Ge=>{var nt=Ge,{value:Et,onChange:Dt}=nt,Cn=Di(nt,["value","onChange"]);const Tn=aa=>{Dt([aa])};return y.createElement(gn.Z,$o(Pi({},Cn),{defaultValue:Et==null?void 0:Et[0],onChange:Tn}))},tl=Ge=>{if(!Ge)return!1;let nt=new RegExp("[ `~!@#$^&*()={}':;,\\[\\].<>/?~\uFF01@#\uFFE5\u2026\u2026&*\uFF08\uFF09\u2014\u3010\u3011\u2018\uFF1B\uFF1A\u201D\u201C\u3002\uFF0C\u3001\uFF1F\u300C\u300D\u300E\u300F_\\+\\-\xB7%\u300A\u300B]|[\\\\/]");return Ge==="|"?(Ze.ZP.warning("\u5173\u952E\u8BCD\u4E0D\u80FD\u53EA\u8F93\u5165\u4E00\u4E2A\u201C|\u201D\u5B57\u7B26\uFF01"),!1):!0},nl=({value:Ge=[],onClose:nt})=>y.createElement(Nn.default,{closable:!0,onClose:nt,className:Wn.keywordTag},Ge==null?void 0:Ge.join(" \u6216 ")),Ki=({questionTitlePlaceholder:Ge,form:nt,showKeywords:Et,isMustKeyWords:Dt=Et,titleKey:Cn="name",analysisKey:Tn="analysis",answerTexts:aa="answer_texts",keywords:Xn="keywords",useKeywords:jn="use_keywords",indexs:vn})=>{const[la,fa]=(0,y.useState)(!1),[tr,Ir]=(0,y.useState)(""),gr=Ce.default.useWatch("sub_item_banks",nt),{use_keywords:Fn,score:kn}=(gr==null?void 0:gr[vn])||{};return console.log(Fn,kn,"itemValues"),y.createElement("div",{className:Wn.wrap},y.createElement("div",{className:Wn.questionTitleEditorWrap},y.createElement(Ce.default.Item,{label:"\u9898\u5E72",name:Cn,labelCol:{span:24},rules:[{required:!0}]},y.createElement(Kr,{scrollId:"name",watch:!0,height:140,placeholder:Ge}))),y.createElement(Ce.default.Item,{label:"\u53C2\u8003\u7B54\u6848",name:aa,labelCol:{span:24}},y.createElement(vi,{watch:!0,height:140,placeholder:"\u8BF7\u7F16\u8F91\u53C2\u8003\u7B54\u6848\uFF08\u975E\u5FC5\u586B\uFF09"})),Et&&!Dt&&y.createElement(Ce.default.Item,{hidden:!0,name:jn,valuePropName:"checked"},y.createElement(sn.Z,{defaultChecked:!0})),Et&&Dt&&y.createElement(He.Z,{align:"middle",className:"mb30"},y.createElement(Ce.default.Item,{name:jn,valuePropName:"checked"},y.createElement(sn.Z,null)),y.createElement(Le.Z,{className:"ml10"},"\u5F00\u542F\u5173\u952E\u8BCD\u81EA\u52A8\u5224\u5206"),y.createElement(Le.Z,null,y.createElement(Oe.Z,{placement:"right",title:"\u9009\u4E2D\u540E\uFF0C\u9700\u8981\u8BBE\u7F6E\u6BCF\u4E2A\u5173\u952E\u8BCD\u7684\u5206\u503C\uFF0C\u7CFB\u7EDF\u4F1A\u6839\u636E\u8BBE\u7F6E\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u81EA\u52A8\u5224\u5206\uFF1B \u6240\u6709\u5173\u952E\u8BCD\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u5C0F\u9898\u5206\u503C\u3002"},y.createElement(zn.Z,{style:{color:"#3061D0",marginLeft:6,cursor:"pointer"}})))),(Fn||!Dt)&&y.createElement(Ce.default.List,{name:Xn,rules:[{validator(qn,va){return Dt?va!=null&&va.length?(va==null?void 0:va.reduce((Ta,ur)=>Ta+ur.score,0))>parseFloat(kn)?Promise.reject(new Error("\u6240\u6709\u5173\u952E\u8BCD\u7684\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u5C0F\u4E8E\u7B49\u4E8E\u8BE5\u5C0F\u9898\u7684\u5206\u503C")):Promise.resolve():Promise.reject(new Error("\u8BF7\u8BBE\u7F6E\u5224\u5206\u5173\u952E\u8BCD")):Promise.resolve()}}]},(qn,{add:va,remove:Sr})=>y.createElement(y.Fragment,null,y.createElement("div",{className:`${Wn.title} mb10`},Dt?"\u5173\u952E\u8BCD":y.createElement("span",{style:{color:"#9096A3"}},"\u5224\u5206\u5173\u952E\u8BCD")),y.createElement(He.Z,{align:"middle",className:"font14 mb30"},y.createElement(Le.Z,{flex:1},y.createElement(Ke.default,{value:tr,onChange:Ta=>{Ir(Ta.target.value)},maxLength:50,allowClear:!0,onPressEnter:Ta=>{var ur,Dn,ca,Da;const ja=`${(ur=Ta.target)==null?void 0:ur.value}`,$r=(ca=(Dn=ja==null?void 0:ja.split("|"))==null?void 0:Dn.filter(Uo=>!!Uo))==null?void 0:ca.map(Uo=>Uo==null?void 0:Uo.trim()),Po=nt.getFieldValue(["sub_item_banks",...Xn]),bi=((Da=Po==null?void 0:Po.map(Uo=>Uo==null?void 0:Uo.keyword))==null?void 0:Da.flat())||[];for(const Uo of $r)if(bi.includes(Uo)){Ze.ZP.error("\u4E3A\u907F\u514D\u5224\u5206\u9519\u8BEF\uFF0C\u8BF7\u52FF\u8BBE\u7F6E\u76F8\u540C\u7684\u5173\u952E\u8BCD");return}tl(ja)&&(va({keyword:$r,score:1}),Ir(""))},className:Wn.inputBorder,placeholder:"\u652F\u6301\u8BBE\u7F6E\u591A\u4E2A\u5173\u952E\u8BCD\uFF1B\u5E76\u5217\u5173\u952E\u8BCD\uFF08\u6216\u7684\u5173\u7CFB\uFF09\u8BF7\u7528\u201C|\u201D\u5206\u9694\u5F00"})),y.createElement(Le.Z,{flex:"148px",style:{textAlign:"right",color:"#e99237"}},"\u201C\u56DE\u8F66\u952E\u201D\u4FDD\u5B58\u5173\u952E\u8BCD")),qn.map(Ta=>{var ur=Ta,{key:Dn,name:ca}=ur,Da=Di(ur,["key","name"]);return y.createElement(He.Z,{key:Dn,className:"mb20",style:{marginRight:148}},y.createElement(Le.Z,{flex:1},y.createElement(He.Z,{align:"middle",justify:"space-between"},y.createElement(Ce.default.Item,$o(Pi({},Da),{name:[ca,"keyword"]}),y.createElement(nl,{onClose:()=>Sr(ca)})),Dt&&y.createElement(Ce.default.Item,$o(Pi({},Da),{name:[ca,"score"],label:"\u5206\u503C",rules:[{required:!0}],className:Wn.blankInputNumberWrapper}),y.createElement(se.Z,{className:Wn.blankInput,min:.1,max:100,precision:1,style:{width:"100%"},placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u5206\u6570"})))))}))),y.createElement("div",{onClick:()=>fa(!0)},y.createElement(Ce.default.Item,{name:Tn,label:"\u9898\u76EE\u89E3\u6790",labelCol:{span:24}},y.createElement(Vr,{placeholder:"\u8BF7\u7F16\u8F91\u9898\u76EE\u89E3\u6790\uFF08\u975E\u5FC5\u586B\uFF09",isEdit:la}))))};var Vt=ne(59301),Qt=Object.defineProperty,rn=Object.defineProperties,ra=Object.getOwnPropertyDescriptors,Ga=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,On=Object.prototype.propertyIsEnumerable,Wa=(Ge,nt,Et)=>nt in Ge?Qt(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,er=(Ge,nt)=>{for(var Et in nt||(nt={}))or.call(nt,Et)&&Wa(Ge,Et,nt[Et]);if(Ga)for(var Et of Ga(nt))On.call(nt,Et)&&Wa(Ge,Et,nt[Et]);return Ge},Pr=(Ge,nt)=>rn(Ge,ra(nt)),ro=(Ge,nt)=>{var Et={};for(var Dt in Ge)or.call(Ge,Dt)&&nt.indexOf(Dt)<0&&(Et[Dt]=Ge[Dt]);if(Ge!=null&&Ga)for(var Dt of Ga(Ge))nt.indexOf(Dt)<0&&On.call(Ge,Dt)&&(Et[Dt]=Ge[Dt]);return Et},Qn=(Ge,nt,Et)=>new Promise((Dt,Cn)=>{var Tn=jn=>{try{Xn(Et.next(jn))}catch(vn){Cn(vn)}},aa=jn=>{try{Xn(Et.throw(jn))}catch(vn){Cn(vn)}},Xn=jn=>jn.done?Dt(jn.value):Promise.resolve(jn.value).then(Tn,aa);Xn((Et=Et.apply(Ge,nt)).next())});const{Panel:jr}=dr.default,uo=null,Oo=(Ge,nt)=>{var Et=Ge,{globalSetting:Dt,loading:Cn,dispatch:Tn,editData:aa,onRef:Xn=()=>{},isEdit:jn}=Et,vn=ro(Et,["globalSetting","loading","dispatch","editData","onRef","isEdit"]);const la=(0,ce.useIntl)(),[fa,tr]=(0,y.useState)(""),[Ir,gr]=(0,y.useState)([]),[Fn]=Ce.default.useForm();(0,y.useEffect)(()=>{!aa||!jn||(tr(aa==null?void 0:aa.name),gr(aa==null?void 0:aa.sub_item_banks),Fn.setFieldsValue(er({},aa)))},[aa]),(0,y.useEffect)(()=>{gr(Fn.getFieldValue("sub_item_banks"))},[Ce.default.useWatch("sub_item_banks",Fn)]),(0,y.useImperativeHandle)(nt,()=>({onSave:kn,Clear:qn}));const kn=()=>Qn(void 0,null,function*(){if(!fa)return Ze.ZP.info("\u8BF7\u60A8\u8F93\u5165\u9898\u5E72"),!1;try{yield Fn.validateFields()}catch(ca){return console.log(ca,"errInfo"),Ze.ZP.error(ca.errorFields[0].errors[0]),!1}const Dn=Ir.map(ca=>er({id:ca.id>1?ca.id:null},ca));return{name:fa,sub_item_banks:Dn}}),qn=()=>{tr(""),gr([])},va={single:la.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),multiple:la.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),judgement:la.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),completion:la.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),subjective:la.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),practical:la.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),program:la.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),bprogram:la.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),combination:la.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},Sr=({value:Dn})=>Vt.createElement("div",{style:{textAlign:"center",color:"#DF3065",margin:"0 5px"}},Dn),[Ta,ur]=(0,y.useState)();return Vt.createElement("section",{className:Be.wrap},Vt.createElement("p",{className:Be.titleWrap},Vt.createElement("span",{className:Be.required},"*"),Vt.createElement("span",{className:Be.title},"\u9898\u5E72\uFF1A")),Vt.createElement(gn.Z,{id:"combination-question-title",watch:!0,height:155,placeholder:"\u8BF7\u60A8\u8F93\u5165\u9898\u5E72",defaultValue:fa,onChange:Dn=>tr(Dn)}),Vt.createElement(Ce.default,{form:Fn,autoComplete:"off"},Vt.createElement(Ce.default.List,{name:"sub_item_banks",rules:[{validator(Dn,ca){return ca?Promise.resolve():Promise.reject(new Error("\u8BF7\u6DFB\u52A0\u5C0F\u9898"))}}]},(Dn,{add:ca,remove:Da})=>{const ja=Fn.getFieldValue("sub_item_banks");return Vt.createElement(Vt.Fragment,null,Vt.createElement(dr.default,{className:Dn.length>0?Be.collapseWrapper:"",bordered:!1,expandIcon:({isActive:$r})=>Vt.createElement("i",{className:`iconfont icon-weizhankai ${$r?Be.open:Be.close}`,style:{fontSize:14,transition:"all .2s"}})},Dn.map(($r,Po)=>{var bi=$r,{key:Uo,name:Tr}=bi,Ri=ro(bi,["key","name"]),Vi,Qr,Wo,po,hi,Fi,Rl,xl,$l,Tl,Vl,jl;return Vt.createElement(jr,{className:Be.panel,forceRender:!0,header:Vt.createElement("div",{className:Be.panelHeader},"\u7B2C",Po+1,"\u5C0F\u9898",Vt.createElement("span",null,"\uFF08",va[(Vi=ja==null?void 0:ja[Tr])==null?void 0:Vi.item_type],"\uFF09")),extra:Vt.createElement(He.Z,{align:"middle",onClick:yl=>yl.stopPropagation(),style:{display:"flex",alignItems:"center"}},((Qr=ja==null?void 0:ja[Tr])==null?void 0:Qr.item_type)=="completion"&&Vt.createElement(Ce.default.Item,Pr(er({},Ri),{name:[Tr,"score"],className:Be.blankInputNumberWrapper,style:{marginBottom:0}}),((Wo=ja==null?void 0:ja[Tr])==null?void 0:Wo.item_type)=="completion"&&Vt.createElement("div",{style:{display:"flex",alignItems:"center",color:"#191919"}},"\u5171",Vt.createElement(Sr,{value:(po=ja==null?void 0:ja[Tr])==null?void 0:po.score}),"\u5206")),((hi=ja==null?void 0:ja[Tr])==null?void 0:hi.item_type)=="completion"&&Vt.createElement(Vt.Fragment,null,Vt.createElement(ke.ZP.Group,{defaultValue:(Fi=ja==null?void 0:ja[Tr])==null?void 0:Fi.use_blank_score,className:Be.scoreByBlankRadio,style:{marginRight:10},optionType:"button",options:[{label:"\u6309\u7A7A\u7ED9\u5206",value:!0},{label:"\u6309\u9898\u7ED9\u5206",value:!1}],onChange:yl=>{var hl;console.log(Fn.getFieldsValue()),Fn==null||Fn.setFieldValue(["sub_item_banks",Tr,"use_blank_score"],(hl=yl==null?void 0:yl.target)==null?void 0:hl.value),ur(new Date)}}),Vt.createElement(Oe.Z,{overlayInnerStyle:{width:460},title:Vt.createElement("div",null,"\u6309\u7A7A\u7ED9\u5206\uFF1A\u9700\u8981\u5206\u522B\u8BBE\u7F6E\u6BCF\u4E2A\u586B\u7A7A\u9879\u7684\u5206\u503C\uFF0C\u586B\u7A7A\u9879\u7B54\u5BF9\u4E4B\u540E\u5219\u83B7\u5F97\u5BF9\u5E94\u7684\u5206\u503C\u3002",Vt.createElement("br",null),"\u6309\u9898\u7ED9\u5206\uFF1A\u7B54\u5BF9\u5168\u90E8\u586B\u7A7A\u9879\u4E4B\u540E\u624D\u80FD\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\u3002")},Vt.createElement("i",{className:"icon-tishixiaowenhao font18 c-3061d0"})))),key:Uo},Vt.createElement(Ce.default.Item,Pr(er({},Ri),{name:Tr}),(((Rl=ja==null?void 0:ja[Tr])==null?void 0:Rl.item_type)=="single"||((xl=ja==null?void 0:ja[Tr])==null?void 0:xl.item_type)=="multiple")&&Vt.createElement(Io,{questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9009\u62E9\u9898\u9898\u5E72\u5185\u5BB9",allowChangeMode:(($l=ja==null?void 0:ja[Tr])==null?void 0:$l.item_type)!="single",form:Fn,choiceKey:[Tr,"choices"],titleKey:[Tr,"name"],analysisKey:[Tr,"analysis"],choiceOptionsPath:["sub_item_banks",Tr,"choices"],choiceTextKey:"choice_text",answerKey:"is_answer"}),((Tl=ja==null?void 0:ja[Tr])==null?void 0:Tl.item_type)=="completion"&&Vt.createElement(Gi,{form:Fn,name:Tr,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:[Tr,"use_blank_score"],titleKey:[Tr,"name"],analysisKey:[Tr,"analysis"],isOrdered:[Tr,"is_ordered"],answerKey:[Tr,"standard_answer"],key:Ta}),((Vl=ja==null?void 0:ja[Tr])==null?void 0:Vl.item_type)=="judgement"&&Vt.createElement(da,{form:Fn,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u5224\u65AD\u9898\u9898\u5E72\u5185\u5BB9",titleKey:[Tr,"name"],analysisKey:[Tr,"analysis"],choiceKey:[Tr,"choices"]}),((jl=ja==null?void 0:ja[Tr])==null?void 0:jl.item_type)=="subjective"&&Vt.createElement(Ki,{showKeywords:!0,form:Fn,titleKey:[Tr,"name"],analysisKey:[Tr,"analysis"],answerTexts:[Tr,"answer_texts"],useKeywords:[Tr,"use_keywords"],keywords:[Tr,"keywords"],indexs:Tr,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u7B80\u7B54\u9898\u9898\u5E72\u5185\u5BB9"})))})))})))};var ar=(0,ce.connect)(({loading:Ge,globalSetting:nt})=>({globalSetting:nt,loading:Ge.effects}),null,null,{forwardRef:!0})((0,y.forwardRef)(Oo)),sr=ne(96935),Bo=ne(19842),qr=ne(57809),ct=ne(1710),pt={flex_box_center:"flex_box_center___xDdtW",flex_space_between:"flex_space_between___J4mFI",flex_box_vertical_center:"flex_box_vertical_center___hDYn6",flex_box_center_end:"flex_box_center_end___H7l1j",flex_box_column:"flex_box_column___TPd2T",questionInfo:"questionInfo___ABq66",label:"label___VQOr7",content:"content____HZ6z",leftPart:"leftPart___YB0y5",rightPart:"rightPart___UVMmS",dragItem:"dragItem___Hbx8k",blackText:"blackText___U4u33",greyText:"greyText___rWIL_",iconWrapper:"iconWrapper___I0kek",contentArea:"contentArea___hGC13",dragging:"dragging___z7VVY",hidden:"hidden___nWAxb",dragIcon:"dragIcon___j91TC",deleteIcon:"deleteIcon___cmCqc",disabled:"disabled___ZlKMj",challengeNameWrapper:"challengeNameWrapper___SpiRb",challengeName:"challengeName___lmQe2",shixunPreviewFooter:"shixunPreviewFooter___u0CzD",shixunInfoWrapper:"shixunInfoWrapper___HzLHD",shixunInfo:"shixunInfo___qaQlF",btnToDetail:"btnToDetail___scXqr",fixedBottom:"fixedBottom___wTBAR",cancelBtn:"cancelBtn___Km4Gi",confirmBtn:"confirmBtn___WrECz",previewBtn:"previewBtn____oGPS",setScoreModalTable:"setScoreModalTable___CjDlp",title:"title___cQWdZ",tipcontent:"tipcontent___A8tZ5",name:"name___CvfT9",tip:"tip___EvoCF",info:"info___y_ayi",img:"img___X9CNn"},Gt=ne(3918),sa=ne(63952),Ut=ne(33270),Sn=ne(61527),on=ne(2524),wn=ne(90463),_n=({open:Ge,onCancel:nt,onOk:Et})=>{const Dt=(0,ce.useIntl)(),Cn=(0,sa.g)(),[Tn,aa,Xn,jn]=(0,Sn.U)(Ut.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[vn,la]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Ge&&Xn({page:1,limit:10,type:0},!0).then(Fn=>{(Fn==null?void 0:Fn.shixuns_count)===0&&la(!0)})},[Ge]);const[fa,tr]=(0,y.useState)([]),[Ir,gr]=(0,y.useState)([]);return y.createElement(Ie.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:Ge,width:948,centered:!0,closable:!0,onCancel:nt,onOk:()=>Et(Ir),destroyOnClose:!0},y.createElement(He.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},y.createElement(Le.Z,null,y.createElement(Bo.Z,{style:{width:160},size:"large",placeholder:Dt.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),options:Cn,onChange:Fn=>{Xn({page:1,discipline_id:Fn==null?void 0:Fn[0],sub_discipline_id:Fn==null?void 0:Fn[1]})}}),y.createElement(qr.default,{className:"ml20",style:{width:118},size:"large",placeholder:Dt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:Fn=>Xn({page:1,diff:Fn})}),y.createElement(qr.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:Fn=>Xn({page:1,shixun_publish_status:Fn})})),y.createElement(Gt.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Fn=>{Xn({keyword:Fn,page:1})}})),vn?y.createElement("div",null,y.createElement(on.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,xe.xg)("/shixuns")})):y.createElement(ct.default,{loading:aa,rowKey:"id",columns:[{title:Dt.formatMessage({id:"paperlibrary.questionName",defaultMessage:"\u8BD5\u9898\u540D\u79F0"}),dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Fn,kn)=>y.createElement("div",{style:{display:"flex",alignItems:"center"}},y.createElement("div",{className:kn!=null&&kn.high_resources_consume?pt.title:"",title:Fn||"--"},y.createElement(fe.Z,{key:1,showLines:1,showTextOnly:!0,value:Fn||"--"})),(kn==null?void 0:kn.high_resources_consume)&&y.createElement(wn.Z,{type:"shixun",style:{marginLeft:10}}))},{title:Dt.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Fn,kn,qn)=>y.createElement("span",null,Fn||"- -")},{title:Dt.formatMessage({id:"paperlibrary.usageCount",defaultMessage:"\u4F7F\u7528\u6B21\u6570"}),dataIndex:"study_count"},{title:y.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",y.createElement(Oe.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},y.createElement(zn.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Fn,kn,qn)=>y.createElement("span",null,Fn||"- -")},{title:Dt.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),render(Fn,kn){const{title:qn,challenge_names:va,author_name:Sr,identifier:Ta,author_school_name:ur,study_count:Dn}=kn||{};return y.createElement("div",null,y.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{Ie.default.confirm({title:Dt.formatMessage({id:"paperlibrary.questionDetails",defaultMessage:"\u9898\u76EE\u8BE6\u60C5"}),closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:y.createElement("div",null,y.createElement(fe.Z,{value:qn,style:{marginBottom:18}}),y.createElement("div",{className:pt.challengeNameWrapper},va.map((ca,Da)=>y.createElement("div",{className:pt.challengeName,key:Da},"\u7B2C",(0,xe.EM)(Da+1),"\u9898\xA0",ca))),y.createElement(He.Z,{className:pt.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},y.createElement(Le.Z,{className:pt.shixunInfoWrapper},y.createElement("span",null,"\u521B\u5EFA\u8005"),y.createElement("span",{className:pt.shixunInfo},Sr.split("\u3001")[0]),y.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{className:pt.shixunInfo},ur),y.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:pt.shixunInfo},Dn)),y.createElement(we.ZP,{type:"primary",className:pt.btnToDetail,onClick:()=>(0,xe.xg)(`/shixuns/${Ta}/challenges?exercise=true`)},y.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},Dt.formatMessage({id:"paperlibrary.view",defaultMessage:"\u67E5\u770B"})),(kn==null?void 0:kn.shixun_tag_num)===1&&y.createElement("a",{target:"_blank",href:`/shixuns/${kn==null?void 0:kn.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:jn==null?void 0:jn.items,rowSelection:{type:"radio",selectedRowKeys:fa,preserveSelectedRowKeys:!0,getCheckboxProps:Fn=>({disabled:Fn.shixun_tag_num===1}),onChange(Fn,kn){var qn,va,Sr;console.log(Fn),tr(Fn);const Ta=[];for(const Dn of Ir)Fn.includes(Dn.id)&&Ta.push(Dn);const ur=Ta.map(Dn=>Dn.id);for(const Dn of kn)Dn&&Fn.includes(Dn.id)&&!ur.includes(Dn.id)&&Ta.push({id:Dn.id,difficulty:Dn.level,identifier:Dn.identifier,name:Dn.name,real_name:(qn=Dn==null?void 0:Dn.author_name)==null?void 0:qn.split("\u3001")[0],school_name:Dn.author_school_name,challenge_names:Dn.challenge_names,challenges:(va=Dn.challenge_names)==null?void 0:va.map((ca,Da)=>({subject:ca,id:Da,score:5})),score:((Sr=Dn.challenge_names)==null?void 0:Sr.length)*5,study_count:Dn.study_count,challenges_count:Dn.challenges_count});gr(Ta)}},pagination:{current:Tn.page,pageSize:Tn.limit,total:jn==null?void 0:jn.items_count,showTotal:Fn=>y.createElement("span",null,"\u5171\xA0",y.createElement("span",{style:{color:"#165DFF"}},Fn),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Fn,kn){Xn({page:Fn,limit:kn})},size:"default"},scroll:{y:400}}))},oa=ne(83028),na=ne(60979),wr=(Ge,nt,Et)=>new Promise((Dt,Cn)=>{var Tn=jn=>{try{Xn(Et.next(jn))}catch(vn){Cn(vn)}},aa=jn=>{try{Xn(Et.throw(jn))}catch(vn){Cn(vn)}},Xn=jn=>jn.done?Dt(jn.value):Promise.resolve(jn.value).then(Tn,aa);Xn((Et=Et.apply(Ge,nt)).next())}),co=({visible:Ge,getdata:nt,onCancel:Et,onRandomExchange:Dt,selectFromProblemSet:Cn,questionParams:Tn})=>{const aa=(0,ce.useIntl)(),[Xn,jn]=(0,y.useState)(!1),[vn,la]=(0,y.useState)(!1),[fa,tr]=(0,y.useState)({}),Ir=(0,ce.useParams)(),[gr,Fn]=(0,y.useState)(),kn=(qn,va)=>wr(void 0,null,function*(){la(!0);const Sr=yield(0,ye.ZP)(`/api/exercises/${Ir.categoryId}/toggle_random_question.json`,{method:"post",body:{question_id:Tn.id,item_bank_id:qn,shixuns_info:[{id:qn,is_copy:va!=1,is_use:va!=1}]}});la(!1),Sr!=null&&Sr.status||(Ze.ZP.info("\u6362\u9898\u6210\u529F"),Et(),nt())});return y.createElement(Ie.default,{title:"\u8BF7\u9009\u62E9\u66FF\u6362\u65B9\u5F0F",open:Ge,onCancel:Et,centered:!0,maskClosable:!0,footer:null},y.createElement(He.Z,{justify:"center",className:"pb20"},y.createElement(sr.Z,{onClick:Dt},"\u968F\u673A\u66F4\u6362"),(Tn==null?void 0:Tn.type)!=="PRACTICAL"&&y.createElement(we.ZP,{style:{marginLeft:24},onClick:Cn},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9"),(Tn==null?void 0:Tn.type)==="PRACTICAL"&&y.createElement(we.ZP,{style:{marginLeft:24},onClick:()=>{jn(!0)}},"\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9")),y.createElement(_n,{open:Xn,onCancel:()=>jn(!1),onOk:qn=>wr(void 0,null,function*(){if(console.log("----selectedRows",qn,Ir),(qn==null?void 0:qn.length)<=0){Ze.ZP.info("\u8BF7\u9009\u62E9\u5B9E\u8BAD");return}let va=qn==null?void 0:qn.map(Ta=>Ta==null?void 0:Ta.id),Sr=yield(0,na.Tr)({id:[...va],course_id:Ir.coursesId,type:"shixun"});(Sr==null?void 0:Sr.student_count)===0?kn(va==null?void 0:va[0],1):(Fn(va),tr(Sr)),jn(!1)})}),y.createElement(oa.Z,{resdata:fa,type:"shixun",okloading:vn,oktext:(fa==null?void 0:fa.can_copy_num)===0?aa.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}):"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:qn=>wr(void 0,null,function*(){kn(gr==null?void 0:gr[0],2)})}))},hr=ne(98408),Za=ne(24334),Pa=ne(88436),Yn=ne(25965),Cr=ne(2337),Dr=Object.defineProperty,Ur=Object.defineProperties,Eo=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable,Ra=(Ge,nt,Et)=>nt in Ge?Dr(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):Ge[nt]=Et,Wr=(Ge,nt)=>{for(var Et in nt||(nt={}))oo.call(nt,Et)&&Ra(Ge,Et,nt[Et]);if(xr)for(var Et of xr(nt))Ar.call(nt,Et)&&Ra(Ge,Et,nt[Et]);return Ge},fo=(Ge,nt)=>Ur(Ge,Eo(nt)),wo=(Ge,nt,Et)=>new Promise((Dt,Cn)=>{var Tn=jn=>{try{Xn(Et.next(jn))}catch(vn){Cn(vn)}},aa=jn=>{try{Xn(Et.throw(jn))}catch(vn){Cn(vn)}},Xn=jn=>jn.done?Dt(jn.value):Promise.resolve(jn.value).then(Tn,aa);Xn((Et=Et.apply(Ge,nt)).next())}),il=({data:Ge,submit:nt,goBack:Et,loading:Dt,onTypeScore:Cn,editPreview:Tn=!1,onSkipExamination:aa,selectValue:Xn,onExchange:jn,getdata:vn,handleMarkWrongQuestion:la})=>{var fa,tr,Ir,gr,Fn,kn,qn,va,Sr,Ta,ur;const Dn=(0,ce.useIntl)(),ca=(0,y.useRef)(),[Da,ja]=(0,y.useState)(null),[$r,Po]=(0,y.useState)(!1),[bi,Uo]=(0,y.useState)(!1),Tr=(0,y.useRef)(),[Ri]=Ce.default.useForm(),Vi=(0,ce.useParams)(),[Qr,Wo]=(0,y.useState)(!1);(0,y.useEffect)(()=>{Po(!0)},[]),(0,y.useEffect)(()=>{Tn||(0,xe.Dk)(Dn.formatMessage({id:"paperlibrary.examPreview",defaultMessage:"\u8BD5\u5377\u9884\u89C8"}))},[Tn]);const po=["\u5BB9\u6613",Dn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),Dn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),Dn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})],hi={SINGLE:Dn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),MULTIPLE:Dn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),JUDGMENT:Dn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),COMPLETION:Dn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),SUBJECTIVE:Dn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),PRACTICAL:Dn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),PROGRAM:Dn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),BPROGRAM:Dn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),COMBINATION:Dn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},Fi={single:Dn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),multiple:Dn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),judgement:Dn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),completion:Dn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),subjective:Dn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),practical:Dn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),program:Dn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),bprogram:Dn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),combination:Dn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"})},Rl=_t=>{var Ia;const me=[];return y.createElement(y.Fragment,null,y.createElement("aside",{className:ue.single},(Ia=_t==null?void 0:_t.choices)==null?void 0:Ia.map((ve,Pe)=>(ve.is_answer&&me.push(Cr.k4[Pe]),y.createElement("ul",{key:Pe},y.createElement("li",null,Cr.k4[Pe],"\u3001"),y.createElement("li",null,y.createElement(fe.Z,{value:ve.choice_text})))))),y.createElement("div",{className:ue.analysis},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",me.join(""),y.createElement("span",{className:"ml30"},Dn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),"\uFF1A",po[_t.difficulty])),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name)))))},xl=(_t,Ia)=>{var me;const ve=(me=_t==null?void 0:_t.standard_answer)==null?void 0:me.map((Pe,Ue)=>{var $e;return y.createElement("div",{key:Ue},`\u7B54\u6848\uFF08\u586B\u7A7A${Pe==null?void 0:Pe.position}\uFF09\uFF1A${($e=Pe==null?void 0:Pe.answer_text)==null?void 0:$e.join("\u3001")}`)});return y.createElement(y.Fragment,null,y.createElement("div",{className:ue.analysis},y.createElement("div",{style:{display:"flex"}},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),y.createElement("div",null,ve)),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),Ia?`${(Ia==null?void 0:Ia.discipline_name)||"--"}/${Ia==null?void 0:Ia.sub_discipline_name}`:`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name)))))},$l=_t=>{var Ia;const me=(Ia=_t==null?void 0:_t.standard_answer)==null?void 0:Ia.map((ve,Pe)=>y.createElement("div",{key:Pe},`\u7B54\u6848\uFF08\u586B\u7A7A${(ve==null?void 0:ve.position)||(ve==null?void 0:ve.exercise_choice_id)}\uFF09\uFF1A${ve==null?void 0:ve.answer_text}`));return y.createElement(y.Fragment,null,y.createElement("div",{className:ue.analysis},y.createElement("div",{style:{display:"flex"}},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A"),y.createElement("div",null,me)),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name)))))},Tl=(_t,Ia)=>{var me;return y.createElement("div",{className:ue.analysis},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",(me=_t==null?void 0:_t.answer_texts)==null?void 0:me[0]),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),Ia?`${(Ia==null?void 0:Ia.discipline_name)||"--"}/${Ia==null?void 0:Ia.sub_discipline_name}`:`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),Ia?Ia==null?void 0:Ia.tag_discipline_name:_t==null?void 0:_t.tag_discipline_name))))},Vl=_t=>{var Ia,me;return y.createElement("div",{className:ue.analysis},y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u9884\u671F\u8F93\u51FA:"),y.createElement(fe.Z,{value:(Ia=_t==null?void 0:_t.program_attr)==null?void 0:Ia.description})),y.createElement("div",{style:{marginTop:20}},"\u6B63\u786E\u7B54\u6848\uFF1A",((me=_t==null?void 0:_t.program_attr)==null?void 0:me.answer_text)||"--"),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:_t.analysis?_t.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name))))},jl=(_t,Ia)=>{var me;return y.createElement("div",null,(me=_t==null?void 0:_t.sub_item_banks)==null?void 0:me.map((ve,Pe)=>{var Ue,$e;const rt=[];return y.createElement(y.Fragment,null,y.createElement("div",{style:{marginLeft:25,fontSize:"16px",color:"#333",paddingTop:"15px"}},Ia+1+"."+(Pe+1),"\uFF08",hi[ve.item_type]||Fi[ve.item_type],"\uFF09",ve.name),(ve.item_type=="SINGLE"||ve.item_type=="MULTIPLE"||ve.item_type=="JUDGMENT"||ve.item_type=="single"||ve.item_type=="multiple"||ve.item_type=="judgement")&&y.createElement(y.Fragment,null,y.createElement("aside",{className:ue.single},(Ue=ve==null?void 0:ve.choices)==null?void 0:Ue.map((xt,zt)=>(xt.is_answer&&rt.push(Cr.k4[zt]),y.createElement("ul",{key:zt},y.createElement("li",null,Cr.k4[zt],"\u3001"),y.createElement("li",null,y.createElement(fe.Z,{value:xt.choice_text})))))),y.createElement("div",{className:ue.analysis},y.createElement("div",null,"\u6B63\u786E\u7B54\u6848\uFF1A",rt.join(""),y.createElement("span",{className:"ml30"},Dn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),"\uFF1A",po[ve.difficulty])),y.createElement("aside",null,y.createElement("span",{className:ue.text},"\u89E3\u6790:"),y.createElement(fe.Z,{value:ve.analysis?ve.analysis:"\u6682\u65E0\u89E3\u6790"})),y.createElement("ul",null,y.createElement("li",null,y.createElement("span",{style:{color:"#007AFF",marginRight:10}},Dn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"})+":"),`${(_t==null?void 0:_t.discipline_name)||"--"}/${_t==null?void 0:_t.sub_discipline_name}`),y.createElement(Oe.Z,{title:_t==null?void 0:_t.tag_discipline_name},y.createElement("li",{style:{maxWidth:"400px",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},y.createElement("span",{style:{color:"#5AB891",marginRight:10}},"\u77E5\u8BC6\u70B9:"),_t==null?void 0:_t.tag_discipline_name))))),(ve.item_type=="COMPLETION"||ve.item_type=="completion")&&xl(ve,_t),(ve.item_type=="SUBJECTIVE"||ve.item_type=="subjective")&&Tl(ve,_t),(($e=Ge==null?void 0:Ge.exam)==null?void 0:$e.exercise_status)===3&&y.createElement("div",{className:"flex gap-20px mt20"},y.createElement(Pa.Z,{state:ve==null?void 0:ve.is_wrong,onClick:()=>{la==null||la({value:fo(Wr({},ve),{question_id:ve==null?void 0:ve.id,question_score:ve==null?void 0:ve.score})})}}),ve.item_type=="single"&&y.createElement(we.ZP,{style:{color:"#3061D0"},onClick:()=>{Ql({value:ve})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848")))}))},yl=_t=>{var Ia,me,ve;return y.createElement("div",{style:{marginTop:"12px"}},(me=(Ia=_t==null?void 0:_t.shixun)==null?void 0:Ia.challenges)==null?void 0:me.map((Pe,Ue)=>y.createElement("div",{className:"c-grey-666 font14 mb10 ml25",style:{display:"flex",alignItems:"center",justifyContent:"space-between"}},y.createElement("div",null,y.createElement("span",{className:"mr5"},"\u7B2C",Ue+1,"\u5173"),y.createElement(Oe.Z,{key:Ue,title:Pe==null?void 0:Pe.challenge_name},y.createElement("span",null,(0,xe.Pq)(Pe==null?void 0:Pe.challenge_name,44)))),Tn&&y.createElement("div",null,"\u5206\u503C\uFF1A",Pe.score,"\u5206"))),y.createElement(ce.Link,{style:{float:"right"},target:"_blank",to:`/shixuns/${(ve=_t==null?void 0:_t.shixun)==null?void 0:ve.identifier}/challenges`},"\u5B9E\u8BAD\u8BE6\u60C5"),y.createElement("div",{style:{clear:"both"}}))},hl=_t=>{let Ia=_t.questions_score/_t.questions_count;Ie.default.confirm({icon:null,centered:!0,title:"\u5206\u6570\u8BBE\u7F6E",content:y.createElement("div",{className:ue.modalColumn},y.createElement("div",{className:ue.modalRow,style:{justifyContent:"flex-start"}},y.createElement("sup",{className:ue.sup},"*"),y.createElement("span",null,_t==null?void 0:_t.name,"\uFF1A"),y.createElement(se.Z,{min:0,precision:1,defaultValue:Ia,onChange:me=>{Ia=me}}),y.createElement("span",{className:"ml5"},"\u5206/\u9898"))),okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>wo(void 0,null,function*(){var me;if(!Ia)return Ze.ZP.warning("\u5206\u6570\u4E0D\u80FD\u4E3A\u7A7A\u6216\u4E3A0"),Promise.reject();const ve={type:_t==null?void 0:_t.type,score:Ia,scoreTotal:Number((me=Ia*_t.questions_count)==null?void 0:me.toFixed(1))};Cn(ve)})})},es=()=>{let _t="";Ie.default.confirm({icon:null,centered:!0,title:"\u4FDD\u5B58\u8BD5\u5377",content:y.createElement("div",{className:ue.modalColumn},y.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20"},y.createElement("img",{style:{marginRight:5},src:Rt.Z}),"\u4FDD\u5B58\u540E\u5355\u72EC\u751F\u6210\u4E00\u4EFD\u4EBA\u5DE5\u7EC4\u5377\u7C7B\u578B\u7684\u56FA\u5B9A\u8BD5\u5377\u3002"),y.createElement("div",{className:ue.modalRow,style:{marginTop:20}},y.createElement("sup",{className:ue.sup},"*"),y.createElement("span",{style:{flexShrink:0}},Dn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u8BD5\u5377\u540D\u79F0"}),"\uFF1A"),y.createElement(Ke.default,{placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",min:0,maxLength:60,defaultValue:_t,onChange:Ia=>{_t=Ia.target.value}}))),okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>wo(void 0,null,function*(){var Ia;if(!_t)return Ze.ZP.warning("\u8BD5\u5377\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),Promise.reject();const me=[],ve=[],Pe=[],Ue=[];(Ia=Ge==null?void 0:Ge.questionList)==null||Ia.forEach(rt=>{var xt;(xt=rt.questions)==null||xt.forEach(zt=>{let Ft=rt.questions_score/rt.questions_count;Ft=Ft&&Ft.toFixed(1),rt.type==="COMBINATION"&&Pe.push({id:zt.id,sub_item_bank_ids:zt.sub_item_banks.map(nn=>nn.id)}),rt.type==="PRACTICAL"?Ue.push(zt.id):(me.push(zt.id),ve.push(Ft))})}),console.log("-----",Pe),yield nt({item_bank_ids:me,item_bank_scores:ve,name:_t,combination_item_banks:Pe,shixun_ids:Ue})})})},Sl=(_t,Ia,me,ve)=>{var Pe;const Ue=`${location.pathname}${location.search}`,$e=(Pe=ve.questions)==null?void 0:Pe.map(rt=>rt==null?void 0:rt.id);if(Ue.includes("exercise"))Tr.current={id:_t,ids:$e,type:Ia,index:me},Uo(!0);else{let rt=Ie.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u8981\u66F4\u6362\u8BE5\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!0,keyboard:!1,okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>wo(void 0,null,function*(){rt.update({cancelButtonProps:{disabled:!0}}),yield jn({single_question_id:_t,seleted_item_bank_ids:$e},{type:Ia,index:me}),rt.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u8BD5\u9898")})})}},zl=_t=>{var Ia;const me=(Ia=_t.questions)==null?void 0:Ia.map(Ue=>Ue==null?void 0:Ue.id),ve=_t.name;let Pe=Ie.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:`\u786E\u8BA4\u66F4\u6362${ve}\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F`,cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>wo(void 0,null,function*(){Pe.update({cancelButtonProps:{disabled:!0}}),yield jn({seleted_item_bank_ids:me},{type:_t.type}),Pe.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success(`\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210${ve}\u8BD5\u9898`)})})},ts=()=>{let _t=Ie.default.confirm({icon:null,centered:!0,title:"\u6E29\u99A8\u63D0\u793A",content:"\u786E\u8BA4\u66F4\u6362\u9884\u89C8\u4E2D\u7684\u6240\u6709\u8BD5\u9898\u5417\uFF1F",cancelButtonProps:{disabled:!1},maskClosable:!1,keyboard:!1,okText:Dn.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onOk:()=>wo(void 0,null,function*(){_t.update({cancelButtonProps:{disabled:!0}}),yield jn(),_t.update({cancelButtonProps:{disabled:!1}}),Ze.ZP.success("\u5DF2\u91CD\u65B0\u968F\u673A\u751F\u6210\u6574\u5F20\u8BD5\u9898")})})},Al=_t=>{console.log(_t,"key"),aa(_t-1)},Ul=(_t,Ia)=>{var me,ve;if(Ia==="SINGLE")return y.createElement(y.Fragment,null,y.createElement(pn,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="MULTIPLE")return y.createElement(y.Fragment,null,y.createElement(en,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="JUDGMENT")return y.createElement(y.Fragment,null,y.createElement(Te,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="COMPLETION")return y.createElement(y.Fragment,null,y.createElement(Je,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="SUBJECTIVE")return y.createElement(y.Fragment,null,y.createElement(Ya,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="COMBINATION")return y.createElement(y.Fragment,null,y.createElement(ar,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null));if(Ia==="BPROGRAM")return y.createElement(y.Fragment,null,y.createElement(Ce.default,{form:Ri,style:{marginTop:20},onFinishFailed:Pe=>{var Ue,$e;Pe.errorFields[0].name.includes("standard_answers")?Ze.ZP.error("\u586B\u7A7A\u9879\u7B54\u6848\u4E0D\u80FD\u4E3A\u7A7A"):Ze.ZP.error(Pe.errorFields[0].errors[0]),Ri.scrollToField(($e=(Ue=Pe==null?void 0:Pe.errorFields)==null?void 0:Ue[0])==null?void 0:$e.name,{behavior:"smooth",block:"center"})},onFinish:Pe=>wo(void 0,null,function*(){var Ue;let $e=fo(Wr({question_score:_t.score},Pe),{question_type:8,hack:fo(Wr({},Pe.hack),{difficult:_t.program_attr.difficult}),hack_codes:fo(Wr({},Pe.hack_codes),{code:Za.Base64.encode((Ue=Pe.hack_codes)==null?void 0:Ue.code)})});Qr&&($e.is_cover=1);const rt=yield(0,ye.ZP)(`/api/exercise_questions/${_t.id}.json`,{method:"put",body:$e});(rt==null?void 0:rt.status)===0&&(Ze.ZP.success("\u7F16\u8F91\u6210\u529F"),Al(Xn+1)),ja(null)})},y.createElement(hr.tc,{form:Ri,questionTitlePlaceholder:"\u8BF7\u7F16\u8F91\u9898\u5E72\u5E76\u8BBE\u7F6E\u586B\u7A7A\u9879",scoreByBlank:!1,hackidentifier:(me=_t==null?void 0:_t.program_attr)==null?void 0:me.identifier,answerKey:"standard_answers"}),y.createElement(je.Z,null)));if(Ia==="PROGRAM"&&ce.history.push(`/problems/${(ve=_t==null?void 0:_t.program_attr)==null?void 0:ve.identifier}/edit?type=exercises&express_id=${Vi.categoryId}&question_id=${_t==null?void 0:_t.id}&score=${_t==null?void 0:_t.score}&callback_url=${location.pathname}&select=${Xn}&exercise=true`),Ia==="PRACTICAL")return y.createElement(y.Fragment,null,y.createElement(yn,{ref:ca,editData:_t,isEdit:!0}),y.createElement(je.Z,null))},ns=(_t,Ia)=>wo(void 0,null,function*(){var me,ve,Pe,Ue,$e,rt;const xt=yield(me=ca.current)==null?void 0:me.onSave();if(!xt)return;const zt=It=>{const Zn=It.map(Mn=>Mn.choice_text.trim().replace(/^\s+|\s+$/g,""));return new Set(Zn).size!==Zn.length},Ft={question_score:Ia.score,analysis:xt.analysis};if(_t==="SINGLE"||_t==="MULTIPLE"||_t==="JUDGMENT"){if(_t!=="JUDGMENT"&&zt(xt==null?void 0:xt.choices)){Ze.ZP.error("\u9009\u62E9\u9898\u9009\u9879\u5185\u5BB9\u4E0D\u80FD\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58");return}const It=[],Zn=[];Ft.question_type=_t==="JUDGMENT"?2:1,Ft.question_title=xt==null?void 0:xt.name,(ve=xt==null?void 0:xt.choices)==null||ve.forEach((Rn,Mn)=>{It.push(Rn.choice_text),Rn!=null&&Rn.is_answer&&Zn.push(Mn+1)}),Ft.question_choices=It,Ft.standard_answers=Zn}if(_t==="COMPLETION"){let It=(Pe=xt==null?void 0:xt.standard_answers)==null?void 0:Pe.map((Mn,pa)=>(Mn==null?void 0:Mn.score)<=0?pa+1:null).filter(Mn=>Mn!==null);if((It==null?void 0:It.length)>0)return Ze.ZP.warning(`\u7B2C${It.join("\u3001")}\u9879\u7684\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A`),!1;let Zn=(Ue=xt==null?void 0:xt.standard_answers)==null?void 0:Ue.reduce((Mn,pa)=>Mn+(Number(pa==null?void 0:pa.score)||0),0);if(parseFloat(Zn.toFixed(2))!=(Ft==null?void 0:Ft.question_score))return Ze.ZP.warning("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01"),!1;Ft.is_ordered=xt.is_ordered,Ft.question_title=xt==null?void 0:xt.name,Ft.use_blank_score=xt==null?void 0:xt.use_blank_score,Ft.question_type=3;const Rn=[];($e=xt==null?void 0:xt.standard_answers)==null||$e.forEach((Mn,pa)=>{Rn.push({choice_id:Mn.position,answer_text:Mn.answer_text,score:Mn.score})}),Ft.standard_answers=Rn,Ft.downcase=xt==null?void 0:xt.downcase,Ft.no_space=xt==null?void 0:xt.no_space}if(_t==="SUBJECTIVE"&&(console.log("editorData"),console.log(xt),Ft.question_title=xt==null?void 0:xt.name,Ft.question_type=4,Ft.answer_texts=xt==null?void 0:xt.answer_texts,Ft.use_keywords=xt==null?void 0:xt.use_keywords,Ft.keywords=xt==null?void 0:xt.keywords),_t==="COMBINATION"){Ft.question_title=xt==null?void 0:xt.name,Ft.question_type=7;try{Ft.sub_questions=(rt=xt==null?void 0:xt.sub_item_banks)==null?void 0:rt.map((It,Zn)=>{var Rn,Mn,pa;if((It==null?void 0:It.item_type)=="single"||(It==null?void 0:It.item_type)=="multiple"){if(zt(It==null?void 0:It.choices))throw new Error(`\u7B2C${Zn+1}\u5C0F\u9898\u9009\u9879\u5185\u5BB9\u91CD\u590D\uFF0C\u8BF7\u4FEE\u6539\u540E\u518D\u4FDD\u5B58`);const ua=[],Ea=[];return(Rn=It==null?void 0:It.choices)==null||Rn.forEach((ia,La)=>{ua.push(ia.choice_text),ia!=null&&ia.is_answer&&Ea.push(La+1)}),{id:It.id,question_id:It.id,question_title:It.name,difficulty:It.difficulty,question_type:(It==null?void 0:It.item_type)=="single"?0:(It==null?void 0:It.item_type)=="multiple"?1:2,question_choices:ua,standard_answers:Ea,analysis:It.analysis,question_score:It==null?void 0:It.score}}else if((It==null?void 0:It.item_type)=="completion"){let ua=(Mn=It==null?void 0:It.standard_answer)==null?void 0:Mn.reduce((ia,La)=>ia+(Number(La==null?void 0:La.score)||0),0);if(parseFloat(ua.toFixed(2))!=(It==null?void 0:It.score))throw new Error("\u5404\u586B\u7A7A\u9879\u5206\u503C\u4E4B\u548C\u5FC5\u987B\u7B49\u4E8E\u8BE5\u5C0F\u9898\u5206\u503C\uFF01");const Ea=[];return(pa=It==null?void 0:It.standard_answer)==null||pa.forEach((ia,La)=>{Ea.push({choice_id:ia.position,answer_text:ia.answer_text,score:ia.score})}),{id:It.id,question_id:It.id,is_ordered:It.is_ordered,question_title:It.name,difficulty:It.difficulty,question_type:3,standard_answers:Ea,use_blank_score:It.use_blank_score,analysis:It.analysis,downcase:It==null?void 0:It.downcase,no_space:It==null?void 0:It.no_space,question_score:It==null?void 0:It.score}}else if((It==null?void 0:It.item_type)=="subjective")return{id:It.id,question_id:It.id,question_title:It.name,question_type:4,difficulty:It.difficulty,answer_texts:It==null?void 0:It.answer_texts,analysis:It.analysis,question_score:It==null?void 0:It.score,use_keywords:It.use_keywords,keywords:It==null?void 0:It.keywords}})}catch(It){Ze.ZP.warning(It.message);return}delete Ft.analysis}let nn=!1;(Ia==null?void 0:Ia.is_my)===1&&(nn=yield new Promise((Zn,Rn)=>{Ie.default.confirm({title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u6B64\u9898\u76EE\u5DF2\u5B58\u5728\u4E8E\u8BD5\u9898\u5E93\uFF0C\u662F\u5426\u5C06\u4FEE\u6539\u540E\u7684\u9898\u76EE\u8986\u76D6\u8BD5\u9898\u5E93\u7684\u539F\u9898\uFF1F",okText:"\u8986\u76D6\u539F\u9898",cancelText:"\u4E0D\u8986\u76D6",keyboard:!1,onOk:()=>{Zn(!0)},onCancel:()=>{Zn(!1)}})})),nn&&(Ft.is_cover=1);const xn=_t!=="PRACTICAL"?yield(0,ye.ZP)(`/api/exercise_questions/${Ia.id}.json`,{method:"put",body:Ft}):yield(0,ye.ZP)(`/api/exercise_questions/${Ia.id}/update_shixun_score.json`,{method:"post",body:Wr({},xt)});(xn==null?void 0:xn.status)===0&&(Ze.ZP.success("\u7F16\u8F91\u6210\u529F"),Al(Xn+1),ja(null))}),ms=()=>wo(void 0,null,function*(){(0,ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u66F4\u65B0\u8BD5\u5377\uFF0C\u8BF7\u7A0D\u540E..."}}),(yield(0,ye.ZP)(`/api/exercises/${Vi.categoryId}/sync_random_question.json`,{method:"post"})).status===0&&(yield aa(Xn),Ze.ZP.success("\u66F4\u65B0\u6210\u529F")),(0,ce.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1}})}),Ql=({value:_t}={})=>{var Ia;const me=[];let ve=[];const Pe=(Ia=_t==null?void 0:_t.choices)==null?void 0:Ia.map(($e,rt)=>{var xt;const zt=rt+1;return $e!=null&&$e.is_answer&&(me.push(zt),ve.push(zt)),{value:zt,label:y.createElement(fe.Z,{className:"c-black font14",value:`${(xt=Cr.k4)==null?void 0:xt[rt]}. ${$e==null?void 0:$e.choice_text}`}),disabled:$e==null?void 0:$e.origin_standard_answer}}),Ue=Ie.default.confirm({centered:!0,icon:null,title:"\u589E\u8BBE\u6B63\u786E\u7B54\u6848",width:800,content:y.createElement(y.Fragment,null,"\u5F53\u524D\u8BD5\u9898\u7684\u6B63\u786E\u7B54\u6848\u4E3A ",me==null?void 0:me.map($e=>{var rt;return(rt=Cr.k4)==null?void 0:rt[$e-1]}),"\uFF0C\u8BF7\u9009\u62E9\u9700\u8981\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u7684\u9009\u9879\u3002",y.createElement("br",null),"\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u9009\u4E2D\u589E\u8BBE\u4E3A\u6B63\u786E\u7B54\u6848\u4EFB\u4E00\u9009\u9879\u7684\u5B66\u751F\u4E5F\u4F1A\u83B7\u5F97\u8BE5\u5C0F\u9898\u7684\u5206\u503C\uFF0C\u4F46\u4E0D\u4F1A\u4FEE\u6539\u5F53\u524D\u8BD5\u9898\u7684\u9898\u578B\u3002\u53D6\u6D88\u52FE\u9009\u63D0\u4EA4\u4E4B\u540E\uFF0C\u4E5F\u4F1A\u91CD\u65B0\u8BA1\u7B97\u5BF9\u5E94\u5B66\u751F\u7684\u5F97\u5206\u3002",y.createElement("br",null),y.createElement(ze.default.Group,{className:"flex-col mt20",options:Pe,defaultValue:ve,onChange:$e=>{ve=$e}})),onOk:()=>wo(void 0,null,function*(){const $e=yield(0,ye.ZP)(`/api/exercises/${Vi.categoryId}/questions/${_t==null?void 0:_t.id}/add_standard_answers.json`,{method:"put",body:{standard_answer:ve}});($e==null?void 0:$e.status)===0&&(Ze.ZP.success("\u4FEE\u6539\u6210\u529F"),Al(Xn+1))})})},Hl=(fa=Ge==null?void 0:Ge.questionList)==null?void 0:fa.reduce((_t,Ia)=>_t+Number(Ia.questions_score),0),ul=Tn&&((tr=Ge==null?void 0:Ge.exam)==null?void 0:tr.exercise_status)!==1;return y.createElement("section",{className:ue.wrap},y.createElement("div",{id:"id_left_preview",className:ue.left,onMouseEnter:_t=>{const Ia=document.getElementById("id_left_preview");Ia.style.overflowY="auto"},onMouseLeave:_t=>{const Ia=document.getElementById("id_left_preview");Ia.style.overflowY="hidden"}},y.createElement("div",{className:ue.title},y.createElement("div",{className:"body-overflow-initial"},y.createElement("b",null),y.createElement("span",null,"\u7B54\u9898\u5361"))),y.createElement("div",{className:ue.total},y.createElement("div",null,y.createElement("img",{src:mt}),y.createElement("span",null,"\u9898\u6570(\u9053)"),y.createElement("aside",null,Ge==null?void 0:Ge.all_questions_count)),y.createElement("div",{className:"mr30 ml30"},y.createElement("img",{src:st}),y.createElement("span",null,Dn.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"}),"(",Dn.formatMessage({id:"paperlibrary.point",defaultMessage:"\u5206"}),")"),y.createElement("aside",null,Hl&&Hl.toFixed(1))),y.createElement("div",null,y.createElement("img",{src:ge}),y.createElement("span",null,"\u65F6\u957F(",Dn.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"}),")"),y.createElement("aside",null,((Ir=Ge==null?void 0:Ge.exam)==null?void 0:Ir.time)===-1||((gr=Ge==null?void 0:Ge.exam)==null?void 0:gr.time)===null?"\u4E0D\u9650":(Fn=Ge==null?void 0:Ge.exam)==null?void 0:Fn.time))),(kn=Ge==null?void 0:Ge.questionList)==null?void 0:kn.map((_t,Ia)=>{var me;return y.createElement("div",{className:ue.list,key:Ia},y.createElement("div",{className:ue.name},y.createElement("b",null),y.createElement("span",null,_t.name)),y.createElement("aside",null,y.createElement("div",null,"\u5171",y.createElement("span",{className:ue.b},_t.questions_count),"\u9898 ",y.createElement("span",{className:ue.l},"|"),"\u5171",y.createElement("span",{className:ue.r},_t.questions_score),"\u5206"),y.createElement("div",{className:ue.answerSheet},(me=_t==null?void 0:_t.questions)==null?void 0:me.map((ve,Pe)=>y.createElement("div",{onClick:()=>{const Ue=`Anchor_${ve==null?void 0:ve.id}`;let $e=document.getElementById(Ue);$e&&setTimeout(()=>$e.scrollIntoView({block:"center",behavior:"smooth"}))},key:ve==null?void 0:ve.id,className:ue.tag},Pe+1)))))})),y.createElement("div",{className:ue.right},y.createElement("div",{className:ue.examName,id:"examName"},y.createElement("div",{className:ue.name},y.createElement(Oe.Z,{title:(qn=Ge==null?void 0:Ge.exam)==null?void 0:qn.name,getPopupContainer:_t=>_t.parentNode},y.createElement("span",{className:ue.t},(va=Ge==null?void 0:Ge.exam)==null?void 0:va.name))),Tn&&((Sr=Ge==null?void 0:Ge.exam)==null?void 0:Sr.exercise_status)===1&&y.createElement(Gt.op,{openLoading:!0,shape:"default",onClick:()=>{Ie.default.confirm({title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u786E\u8BA4\u6839\u636E\u6700\u65B0\u7684\u968F\u673A\u7EC4\u5377\u62BD\u9898\u89C4\u5219\u91CD\u65B0\u751F\u6210\u8BD5\u5377\u5417\uFF1F",onOk:()=>{ms()}})},type:"primary"},"\u66F4\u65B0\u8BD5\u5377"),!Tn&&y.createElement(we.ZP,{onClick:ts,type:"primary"},"\u968F\u673A\u66F4\u6362")),y.createElement("div",{className:ue.topWarp},(Ta=Ge==null?void 0:Ge.questionList)==null?void 0:Ta.map((_t,Ia)=>{var me,ve;return y.createElement(y.Fragment,{key:Ia},y.createElement("div",{className:ue.head,style:Ia===0?{border:0,marginTop:-16}:{}},y.createElement("div",{className:ue.name},y.createElement("b",null),y.createElement("span",null,_t.name)),y.createElement("div",{className:ue.so},"\u5171",y.createElement("span",{className:ue.b},_t.questions_count," "),"\u9898 ",_t.type==="COMBINATION"&&`\uFF08\u5305\u542B${(me=_t==null?void 0:_t.questions)==null?void 0:me.map(Pe=>{var Ue;return(Ue=Pe==null?void 0:Pe.sub_item_banks)==null?void 0:Ue.length}).reduce((Pe,Ue)=>Pe+Ue)}\u5C0F\u9898\uFF09`,y.createElement("span",{className:ue.l},"|"),"\u5171",y.createElement("span",{className:ue.r},_t.questions_score),"\u5206"),!Tn&&y.createElement("div",{className:ue.btn},y.createElement(we.ZP,{onClick:()=>{hl(_t)},type:"primary",ghost:!0,className:"mr20"},"\u8BBE\u7F6E\u5F97\u5206"),y.createElement(we.ZP,{onClick:()=>zl(_t),type:"primary",ghost:!0},"\u968F\u673A\u66F4\u6362"))),(ve=_t==null?void 0:_t.questions)==null?void 0:ve.map((Pe,Ue)=>{var $e,rt,xt,zt;return Da===(Pe==null?void 0:Pe.id)?y.createElement("div",{id:`Anchor_${Pe==null?void 0:Pe.id}`,className:ue.content,style:{padding:0,marginTop:24},key:Pe==null?void 0:Pe.id},y.createElement("div",{style:{float:"right",marginTop:`${(_t==null?void 0:_t.type)==="PRACTICAL"?"-2px":"-6px"}`}},y.createElement(we.ZP,{onClick:()=>ja(null),className:"mr20",type:"primary",ghost:!0},Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),y.createElement(we.ZP,{onClick:()=>{ns(_t==null?void 0:_t.type,Pe)},type:"primary"},"\u4FDD\u5B58")),Ul(Pe,_t.type)):y.createElement("div",{id:`Anchor_${Pe==null?void 0:Pe.id}`,className:ue.content,key:Pe==null?void 0:Pe.id},y.createElement("div",{className:ue.titleWrap},(Pe==null?void 0:Pe.item_type)==="bprogram"?y.createElement(fe.Z,{style:{paddingRight:10},value:Ue+1+"\u3001"+(($e=Pe==null?void 0:Pe.program_attr)==null?void 0:$e.description)}):y.createElement(fe.Z,{style:{paddingRight:10},className:ue.titleHtml,value:Ue+1+`\u3001${(Pe==null?void 0:Pe.item_type)==="combination"?"\uFF08\u9898\u5E72\uFF09":""}`+(Pe==null?void 0:Pe.name)}),Tn&&y.createElement(we.ZP,{onClick:()=>{var Ft,nn,xn;if(Da){Ze.ZP.warning("\u5148\u4FDD\u5B58\u6216\u53D6\u6D88\u5F53\u524D\u6B63\u5728\u7F16\u8F91\u7684\u8BD5\u9898");return}Ri.setFieldsValue({standard_answers:Pe==null?void 0:Pe.standard_answer,hack:Wr(Wr({},Pe),Pe==null?void 0:Pe.program_attr),hack_codes:fo(Wr({},Pe==null?void 0:Pe.program_attr),{code:Za.Base64.decode(((Ft=Pe==null?void 0:Pe.program_attr)==null?void 0:Ft.code)||"")}),hack_sets:Wr({},(nn=Pe==null?void 0:Pe.hack_sets)==null?void 0:nn[0])}),(Pe==null?void 0:Pe.item_type)=="program"?ce.history.push(`/problems/newedit/${(xn=Pe==null?void 0:Pe.program_attr)==null?void 0:xn.identifier}?type=exercises&express_id=${Vi.categoryId}&question_id=${Pe==null?void 0:Pe.id}&score=${Pe==null?void 0:Pe.score}&exercise=true&callback_url=/classrooms/${Vi.coursesId}/exercise/${Vi.categoryId}/detail?random=true`):ja(Pe==null?void 0:Pe.id)},type:"primary",style:{marginLeft:"auto"},ghost:!0},"\u7F16\u8F91"),!ul&&y.createElement(we.ZP,{disabled:ul,className:"ml20",onClick:()=>Sl(Pe==null?void 0:Pe.id,_t.type,Ue,_t),type:"primary",ghost:!0},"\u6362\u4E00\u9898")),(Pe==null?void 0:Pe.item_type)==="bprogram"&&y.createElement(fe.Z,{style:{paddingRight:10,paddingLeft:25},showProgramFill:!0,disabledFill:!0,className:ue.titleHtml,value:Za.Base64.decode(((rt=Pe==null?void 0:Pe.program_attr)==null?void 0:rt.code)||"")}),(_t.type==="SINGLE"||_t.type==="JUDGMENT"||_t.type==="MULTIPLE")&&Rl(Pe),_t.type==="COMPLETION"&&xl(Pe),_t.type==="SUBJECTIVE"&&Tl(Pe),_t.type==="PROGRAM"&&Vl(Pe),_t.type==="BPROGRAM"&&$l(Pe),_t.type==="COMBINATION"&&jl(Pe,Ue),_t.type==="PRACTICAL"&&yl(Pe),y.createElement(He.Z,{className:"mt20",wrap:!1,align:"middle",gutter:20},((xt=Ge==null?void 0:Ge.exam)==null?void 0:xt.exercise_status)===3&&!["PROGRAM","BPROGRAM","PRACTICAL","COMBINATION"].includes(_t.type)&&y.createElement(Le.Z,null,y.createElement(Pa.Z,{state:Pe==null?void 0:Pe.is_wrong,onClick:()=>{la==null||la({value:fo(Wr({},Pe),{question_id:Pe==null?void 0:Pe.id,question_score:Pe==null?void 0:Pe.score})})}})),["PROGRAM","BPROGRAM","PRACTICAL"].includes(_t.type)&&(Pe==null?void 0:Pe.show_resubmit)&&y.createElement(Le.Z,null,y.createElement(Yn.C,{dataSource:fo(Wr({},Pe),{question_id:Pe==null?void 0:Pe.id})})),((zt=Ge==null?void 0:Ge.exam)==null?void 0:zt.exercise_status)===3&&["SINGLE"].includes(_t.type)&&y.createElement(Le.Z,null,y.createElement(we.ZP,{style:{color:"#3061D0"},onClick:()=>{Ql({value:Pe})}},"\u589E\u8BBE\u6B63\u786E\u7B54\u6848"))))}))}))),Tn?y.createElement(Gt.vr,null,y.createElement(le.Z,{showTotal:xe.rU,total:(ur=Ge==null?void 0:Ge.exam)==null?void 0:ur.total_num,pageSize:1,current:Xn+1,showSizeChanger:!1,onChange:Al,showQuickJumper:!1,hideOnSinglePage:!1})):y.createElement(Gt.vr,{LeftContent:y.createElement(Gt.op,{onClick:Et,shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u8FD4\u56DE"),RightContent:y.createElement(He.Z,{align:"middle"},y.createElement(E.Z,{color:"#55575D",overlayClassName:ue.popover,open:$r,getPopupContainer:_t=>_t==null?void 0:_t.parentNode,content:"\u5982\u60A8\u5BF9\u6B64\u4EFD\u8BD5\u9898\u6EE1\u610F\uFF0C\u53EF\u5C06\u6B64\u4EFD\u8BD5\u9898\u4FDD\u5B58\u4E3A\u56FA\u5B9A\u8BD5\u5377"},y.createElement(Gt.op,{onMouseEnter:()=>Po(!0),onMouseLeave:()=>Po(!1),onClick:()=>wo(void 0,null,function*(){const _t=Number(Hl);[100,120,150].includes(_t)||(yield new Promise((Ia,me)=>{Ie.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:y.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",y.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},_t),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>wo(void 0,null,function*(){Ia("")}),onCancel:()=>{me()}})})),es()}),shape:"default",style:{height:38,background:"#fff",boxShadow:"none"}},"\u4FDD\u5B58")),y.createElement(Gt.op,{shape:"default",type:"primary",onClick:()=>wo(void 0,null,function*(){const _t=Number(Hl);[100,120,150].includes(_t)||(yield new Promise((Ia,me)=>{Ie.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:Dn.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:Dn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:y.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",y.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},_t),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>wo(void 0,null,function*(){Ia("")}),onCancel:()=>{me()}})})),nt()}),style:{height:38,marginLeft:20}},"\u63D0\u4EA4"))}),y.createElement(co,{visible:bi,questionParams:Tr.current,getdata:vn,onRandomExchange:()=>wo(void 0,null,function*(){const _t=Tr.current;yield jn({single_question_id:_t.id,seleted_item_bank_ids:_t.ids},{type:_t.type,index:_t.index}),Uo(!1)}),selectFromProblemSet:()=>{const _t=Tr.current,Ia=`${location.pathname}${location.search}`;Ia.includes("exercise")&&ce.history.push(`/paperlibrary/exchangequestion?type=exercise&qid=${_t.id}&qtype=${_t.type}&exerciseid=${Vi.categoryId}&from=${Ia}`)},onCancel:()=>{Uo(!1)}}))}},87261:function(At,jt,ne){"use strict";ne.r(jt),ne.d(jt,{default:function(){return qr}});var y=ne(59301),ue={wrapper:"wrapper___KtBVT",breadCrumbWrapper:"breadCrumbWrapper___k9tSB",baseInfo:"baseInfo____j5EY",radioBtnWrapper:"radioBtnWrapper___k9OCh",baseLineHeight:"baseLineHeight___O_QXK",radiogroup:"radiogroup___e2fW6",easy:"easy___WcUAp",medium:"medium___U_o3j",hard:"hard___dAXLS",formWrap:"formWrap___wt5tC",baseFormItem:"baseFormItem___zV64d",cascaderPopup:"cascaderPopup___qm63f",fixedBottom:"fixedBottom___liDZ4",cancelBtn:"cancelBtn___ZV9Mi",confirmBtn:"confirmBtn___DwH6m",previewBtn:"previewBtn___aLYCy",concat:"concat___ZuLMo"},Ce=ne(8591),Oe=ne(78241),we=ne(66104),Ie=ne(65582),se=ne(19471),Ze=ne(71418),Ke=ne(92832),je=ne(19842),ze=ne(5112),He=ne(95237),Le=ne(5871),le=ne(3113),E=ne(38147),a=Object.defineProperty,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,te=(ct,pt,Gt)=>pt in ct?a(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,re=(ct,pt)=>{for(var Gt in pt||(pt={}))b.call(pt,Gt)&&te(ct,Gt,pt[Gt]);if(x)for(var Gt of x(pt))z.call(pt,Gt)&&te(ct,Gt,pt[Gt]);return ct},ie=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())});function ge(ct){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${ct}/edit_random_exam_new.json`,{method:"get"})})}function fe(ct,pt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${ct}/update_random_exam.json`,{method:"post",body:pt})})}function ce(ct){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/create_random_exam.json",{method:"post",body:ct})})}function xe(ct){return ie(this,null,function*(){return(0,E.ZP)("/api/disciplines.json",{method:"get",params:ct})})}function ye(ct){return ie(this,null,function*(){return(0,E.ZP)("/api/item_banks/item_difficulty_count.json",{method:"get",params:ct})})}function Ne(ct,pt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${ct}/set_item_type_score.json`,{method:"post",body:pt})})}function pe(ct,pt){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${ct}/set_item_type_score.json`,{method:"post",body:pt})})}function Xe(ct,pt){return ie(this,null,function*(){return(0,E.ZP)(`/api/examination_banks/${ct}/delete_item_type.json`,{method:"post",body:pt})})}function We(ct,pt){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${ct}/delete_item_type.json`,{method:"post",body:pt})})}function ut(ct){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/preview_random_questions.json",{method:"post",body:ct})})}function Re(ct){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/toggle_random_questions.json",{method:"post",body:ct})})}function _e(ct){return ie(this,null,function*(){return(0,E.ZP)("/api/examination_banks/save_question_list.json",{method:"post",body:ct})})}function mt(ct){return ie(this,null,function*(){return(0,E.ZP)(`/api/exercises/${ct.categoryId}/edit.json`,{method:"get",params:re({},ct)})})}var Qe=(ct=>(ct.OnlyFileFolder="1",ct.OnlyKnowledge="2",ct.OnlyDifficulty="3",ct.FileFolderAndDiff="4",ct.FileFolderAndKnowledge="5",ct.KnowledgeAndDiff="6",ct.All="7",ct.Shixun="8",ct))(Qe||{}),ot=ne(89392),Wt=Object.defineProperty,ht=Object.defineProperties,Ht=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,Ve=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable,Rt=(ct,pt,Gt)=>pt in ct?Wt(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,gn=(ct,pt)=>{for(var Gt in pt||(pt={}))Ve.call(pt,Gt)&&Rt(ct,Gt,pt[Gt]);if(Kt)for(var Gt of Kt(pt))st.call(pt,Gt)&&Rt(ct,Gt,pt[Gt]);return ct},wt=(ct,pt)=>ht(ct,Ht(pt)),$t=(ct=>(ct[ct.FileFolder=1]="FileFolder",ct[ct.Difficulty=2]="Difficulty",ct[ct.Knowledge=3]="Knowledge",ct))($t||{});const Be=(0,y.createContext)(null),Jt={[Qe.OnlyFileFolder]:[1],[Qe.OnlyKnowledge]:[3],[Qe.OnlyDifficulty]:[2],[Qe.FileFolderAndDiff]:[1,2],[Qe.FileFolderAndKnowledge]:[1,3],[Qe.KnowledgeAndDiff]:[3,2],[Qe.All]:[3,2,1]},bn=(ct,pt)=>{if(ct.length!==pt.length)return!1;for(const Gt of pt)if(!ct.includes(Gt))return!1;return!0},Ot=ct=>{for(const[pt,Gt]of Object.entries(Jt))if(bn(ct,Gt))return pt},Zt={SINGLE:"\u5355\u9009\u9898",MULTIPLE:"\u591A\u9009\u9898",COMPLETION:"\u586B\u7A7A\u9898",JUDGMENT:"\u5224\u65AD\u9898",SUBJECTIVE:"\u7B80\u7B54\u9898",PROGRAM:"\u7F16\u7A0B\u9898",BPROGRAM:"\u7A0B\u5E8F\u586B\u7A7A\u9898",COMBINATION:"\u7EC4\u5408\u9898",PRACTICAL:"\u5B9E\u8BAD\u9898"},et={1:{label:"\u7B80\u5355",color:"#46B70E"},2:{label:"\u9002\u4E2D",color:"#165DFF"},3:{label:"\u56F0\u96BE",color:"#EE6F1A"}},Ye=ct=>ct&&parseFloat(ct.toFixed(1)),De=(ct,pt)=>{var Gt,sa,Ut;switch(pt.type){case"init":return pt.payload;case"updateBaseInfo":return wt(gn({},ct),{examination_bank:pt.payload});case"deleteQuestionType":{const{item_types:Sn}=ct,on=Sn.filter(wn=>wn.item_type!==pt.payload);return ct.examination_bank.question_count=Ye(on.reduce((wn,Mt)=>wn+Mt.item_bank_count,0)),ct.examination_bank.total_score=Ye(on.reduce((wn,Mt)=>wn+Mt.total_score,0)),wt(gn({},ct),{item_types:on})}case"setQuestionType":{const{item_types:Sn=[]}=ct,on=Sn.map(Mt=>Mt.item_type),wn=Sn.filter(Mt=>pt.payload.includes(Mt.item_type));for(const Mt of pt.payload)on.includes(Mt)||(Mt==="PRACTICAL"?wn.push({item_type:Mt,contents:[],item_banks:[],item_bank_count:0,item_bank_num:0,item_type_text:Zt[Mt],random_rule_type:Qe.Shixun,score:0,total_score:0}):wn.push({item_type:Mt,contents:[],item_bank_count:0,item_type_text:Zt[Mt],score:0,total_score:0}));return wt(gn({},ct),{item_types:wn})}case"updateItemTypes":return wt(gn({},ct),{item_types:pt.payload});case"deleteRule":{const Sn=(0,ot.cloneDeep)(ct),on=Sn.item_types.find(Mt=>Mt.item_type===pt.payload.itemType),wn=on.contents.find(Mt=>Mt.id===pt.payload.id&&Mt.is_share==pt.payload.is_share);return on.contents=on.contents.filter(Mt=>Mt!==wn),((Gt=on.contents)==null?void 0:Gt.length)===0&&(on.random_rule_type=[]),on.item_bank_count-=wn==null?void 0:wn.quanlity,Sn.examination_bank.question_count-=wn==null?void 0:wn.quanlity,on.total_score-=(wn==null?void 0:wn.quanlity)*on.score,Sn.examination_bank.total_score-=(wn==null?void 0:wn.quanlity)*on.score,on.total_score=Ye(on.total_score),Sn.examination_bank.total_score=Ye(Sn.examination_bank.total_score),Sn.contents=on.contents,Sn}case"changeQuestionNum":{const Sn=(0,ot.cloneDeep)(ct),on=Sn.item_types.find(na=>na.item_type===pt.payload.itemType),wn=(sa=on==null?void 0:on.contents)==null?void 0:sa.find(na=>na.id===pt.payload.id);if(pt.payload.itemType==="PRACTICAL")return pt.payload.num&&(Sn.examination_bank.question_count=Sn.examination_bank.question_count-on.item_bank_count+pt.payload.num,Sn.examination_bank.total_score=Ye(Sn.examination_bank.total_score-on.total_score+pt.payload.num*on.score)),pt.payload.score&&(Sn.examination_bank.total_score=Ye(Sn.examination_bank.total_score-on.total_score+pt.payload.num*on.score)),on.item_bank_count=pt.payload.num,on.total_score=Ye(on.item_bank_count*on.score),Sn;Sn.examination_bank.question_count=Sn.examination_bank.question_count-(wn==null?void 0:wn.quanlity)+pt.payload.num;const Mt=on.contents.find(na=>na.id===pt.payload.id&&na.teacher_group_id===pt.payload.teacher_group_id);Mt.quanlity=pt.payload.num;let _n=0,oa=0;for(const na of on.contents)_n+=na==null?void 0:na.quanlity,oa+=(na==null?void 0:na.quanlity)*on.score;return Sn.examination_bank.total_score=Ye(Sn.examination_bank.total_score-on.total_score+oa),on.item_bank_count=_n,on.total_score=Ye(oa),Sn}case"changeQuestionScore":{const Sn=(0,ot.cloneDeep)(ct),on=Sn.item_types.find(wn=>wn.item_type===pt.payload.itemType);return on.score=pt.payload.score,on.total_score=Ye(on.item_bank_count*on.score),Sn.examination_bank.total_score=Ye(Sn.item_types.reduce((wn,Mt)=>wn+Mt.total_score,0)),Sn}case"editRule":{const Sn=(0,ot.cloneDeep)(ct),on=Sn.item_types.find(wn=>wn.item_type===pt.payload.itemType);return on.contents=pt.payload.tableData.map(wn=>wt(gn({},wn),{item_type:pt.payload.itemType,random_rule_type:pt.payload.randomRuleType})),on.random_rule_type=pt.payload.randomRuleType,on.item_bank_count=on.contents.reduce((wn,Mt)=>wn+(Mt==null?void 0:Mt.quanlity),0),on.score=on.score||1,on.total_score=Ye(on.item_bank_count*on.score),Sn.examination_bank.question_count=Sn.item_types.reduce((wn,Mt)=>wn+Mt.item_bank_count,0),Sn.examination_bank.total_score=Ye(Sn.item_types.reduce((wn,Mt)=>wn+Mt.total_score,0)),Sn}case"addShixun":{const Sn=(0,ot.cloneDeep)(ct),on=Sn.item_types.find(wn=>wn.item_type==="PRACTICAL");return on.item_banks=pt.payload.shixunList,Sn.examination_bank.question_count=Sn.examination_bank.question_count+1,on.item_bank_num=on.item_banks.length,on.item_bank_count=on.item_bank_count||1,on.score=on.score||1,on.total_score=on.total_score||on.score*on.item_bank_count,Sn.examination_bank.total_score=(Ut=Sn==null?void 0:Sn.item_types)==null?void 0:Ut.map(wn=>wn.total_score).reduce((wn,Mt)=>wn+Mt),Sn}case"deleteShixunQuestion":{const Sn=(0,ot.cloneDeep)(ct),on=Sn.item_types.find(wn=>wn.item_type==="PRACTICAL");return on.item_banks=on.item_banks.filter(wn=>wn.id!==pt.payload.shixunId),on.item_bank_num-=1,on.item_bank_count>on.item_bank_num&&(on.item_bank_count-=1,on.total_score-=on.score,on.total_score=Ye(on.total_score)),Sn}}};var he=ne(24100),tt=Object.defineProperty,Lt=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,be=Object.getOwnPropertySymbols,Pt=Object.prototype.hasOwnProperty,Je=Object.prototype.propertyIsEnumerable,ke=(ct,pt,Gt)=>pt in ct?tt(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,bt=(ct,pt)=>{for(var Gt in pt||(pt={}))Pt.call(pt,Gt)&&ke(ct,Gt,pt[Gt]);if(be)for(var Gt of be(pt))Je.call(pt,Gt)&&ke(ct,Gt,pt[Gt]);return ct},hn=(ct,pt)=>Lt(ct,Fe(pt)),Tt=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())}),tn=({courseOptions:ct,setCurrentKey:pt,loading:Gt,form:sa})=>{const Ut=(0,Ie.useIntl)(),{data:Sn,disabled:on,dispatch:wn}=(0,y.useContext)(Be),Mt=(0,Ie.useParams)(),_n=(0,y.useRef)(!0),[oa,na]=(0,y.useState)(!1),wr=(0,y.useMemo)(()=>{var Xa,co,hr,Za,Pa;if(!ct.length||!Sn)return;const Yn=(Xa=Sn==null?void 0:Sn.examination_bank)==null?void 0:Xa.sub_discipline_id,Cr=((co=Sn==null?void 0:Sn.examination_bank)==null?void 0:co.time)===-1?void 0:_n.current?Mt.id?(hr=Sn==null?void 0:Sn.examination_bank)==null?void 0:hr.time:((Za=Sn==null?void 0:Sn.examination_bank)==null?void 0:Za.time)||60:(Pa=Sn==null?void 0:Sn.examination_bank)==null?void 0:Pa.time;_n.current=!1;let Dr=[];for(const Ur of ct)for(const Eo of Ur.children)Eo.value===Yn&&(Dr=[Ur.value,Eo.value]);return hn(bt({},Sn.examination_bank),{time:Cr,course:Dr})},[Sn,ct]);return(0,y.useEffect)(()=>{sa.setFieldsValue(bt({},wr))},[wr]),y.createElement(Ze.Z,{spinning:Gt,size:"large",style:{position:"fixed",maxHeight:"100vh"},className:"mt30"},y.createElement("div",{className:ue.formWrap},y.createElement(Oe.default,{form:sa,autoComplete:"off",colon:!1,labelCol:{span:4},wrapperCol:{span:20},initialValues:wr||{difficulty:2,time:60},onValuesChange:(Xa,co)=>{const{course:hr=[]}=co,Za=hn(bt({},co),{sub_discipline_id:hr[1]||0});wn({type:"updateBaseInfo",payload:Za})}},y.createElement(Oe.default.Item,{name:"name",label:Ut.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u8BD5\u5377\u540D\u79F0"}),className:ue.baseLineHeight,rules:[{required:!0,validator:(Xa,co)=>{var hr;return((hr=co==null?void 0:co.replaceAll(" ",""))==null?void 0:hr.length)>0?Promise.resolve():Promise.reject("\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0")}}]},y.createElement(Ke.default,{maxLength:60,className:ue.baseFormItem,placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u540D\u79F0",showCount:!0})),y.createElement(Oe.default.Item,{label:Ut.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),name:"course",className:ue.baseLineHeight},y.createElement(je.Z,{className:ue.baseFormItem,disabled:on,size:"large",allowClear:!1,placeholder:Ut.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),options:ct,dropdownMenuColumnStyle:{padding:"8px 12px",fontSize:14}})),y.createElement("div",{className:ue.concat},"\u6CA1\u6709\u5408\u9002\u7684\u65B9\u5411&\u8BFE\u7A0B\uFF1F",y.createElement("span",{onClick:()=>na(!0)},"\u8054\u7CFB\u6559\u7814\u52A9\u7406")),y.createElement(Oe.default.Item,{label:Ut.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),name:"difficulty",className:ue.radioBtnWrapper,rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u96BE\u5EA6"}]},y.createElement(ze.ZP.Group,{disabled:on,className:ue.radiogroup},y.createElement(ze.ZP.Button,{className:ue.easy,value:1},Ut.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"})),y.createElement(ze.ZP.Button,{className:ue.medium,value:2},Ut.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"})),y.createElement(ze.ZP.Button,{className:ue.hard,value:3},Ut.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})))),y.createElement(Oe.default.Item,{label:Ut.formatMessage({id:"paperlibrary.answerTime",defaultMessage:"\u7B54\u9898\u65F6\u957F"}),className:ue.baseLineHeight},y.createElement(He.Z,{align:"middle"},y.createElement(Oe.default.Item,{name:"time",noStyle:!0},y.createElement(Le.Z,{className:ue.baseFormItem,min:1,disabled:on,size:"large",max:9999,style:{width:220},placeholder:"\u8BF7\u586B\u5199\u7B54\u9898\u65F6\u957F"})),y.createElement("span",{style:{marginLeft:"10px",width:"40px",lineHeight:"46px",fontSize:14}},Ut.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"})))),y.createElement(Oe.default.Item,{label:Ut.formatMessage({id:"paperlibrary.examInstructions",defaultMessage:"\u8BD5\u5377\u987B\u77E5"}),name:"exam_notes"},y.createElement(Ke.default.TextArea,{rows:6,disabled:on,maxLength:65535,placeholder:Ut.formatMessage({id:"paperlibrary.enterExamInstructions",defaultMessage:"\u8BF7\u8F93\u5165\u8BD5\u5377\u987B\u77E5"})})))),y.createElement("div",{className:ue.fixedBottom},y.createElement(le.ZP,{className:`${ue.cancelBtn} mr5`,onClick:()=>{Mt.id||window.location.href.indexOf("randompaper")>-1?Ie.history.push("/paperlibrary"):Ie.history.push(`/classrooms/${Mt.coursesId}/exercise`)}},Ut.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),y.createElement(le.ZP,{className:`${ue.confirmBtn} ml15`,type:"primary",size:"large",onClick:()=>Tt(void 0,null,function*(){if(yield sa.validateFields(),!Mt.id&&!Mt.coursesId){const Xa=yield ce(Sn);Xa.status===0&&(Ie.history.replace(`/randompaper/edit/${Xa==null?void 0:Xa.examination_bank_id}?type=settings`),pt("settings"))}else pt("settings")})},Ut.formatMessage({id:"paperlibrary.nextStep",defaultMessage:"\u4E0B\u4E00\u6B65"}))),y.createElement(he.Z,{open:oa,onCancel:()=>{na(!1)}}))},an=ne(43418),Te=ne(43604),at={flex_box_center:"flex_box_center___NXYwj",flex_space_between:"flex_space_between___Oy2UZ",flex_box_vertical_center:"flex_box_vertical_center___ybBar",flex_box_center_end:"flex_box_center_end___yyQPf",flex_box_column:"flex_box_column____kuXY",questionInfo:"questionInfo___U9mnu",label:"label___PP7Ng",content:"content___PUXFl",leftPart:"leftPart___uoQeo",rightPart:"rightPart___mCG7H",dragItem:"dragItem___djmPG",blackText:"blackText___KqEaU",greyText:"greyText___VamKm",iconWrapper:"iconWrapper___o1C0y",contentArea:"contentArea___Fj7D0",dragging:"dragging___mX3Il",hidden:"hidden___KWDLK",dragIcon:"dragIcon___yPuB3",deleteIcon:"deleteIcon___go29y",disabled:"disabled___uSK9k",challengeNameWrapper:"challengeNameWrapper___DFjRy",challengeName:"challengeName___m7v0x",shixunPreviewFooter:"shixunPreviewFooter___iaciG",shixunInfoWrapper:"shixunInfoWrapper___aSihg",shixunInfo:"shixunInfo___WYBm1",btnToDetail:"btnToDetail___WVmtj",fixedBottom:"fixedBottom___oeMSX",cancelBtn:"cancelBtn___ac73V",confirmBtn:"confirmBtn___sYh2O",previewBtn:"previewBtn___c2uQz",setScoreModalTable:"setScoreModalTable___kPddX",title:"title___lP1E2",tipcontent:"tipcontent___tV6uE",name:"name___YLyPW",tip:"tip___FYIzt",info:"info___rSdr9",img:"img___ft7eS"},Nt=ne(2524),ft=ne(3918),lt=ne(24905),En=({open:ct,onCancel:pt,onOk:Gt})=>{const{data:sa,dispatch:Ut}=(0,y.useContext)(Be),Sn=(0,Ie.useIntl)(),on=[{label:Sn.formatMessage({id:"paperlibrary.examName",defaultMessage:"\u5355\u9009\u9898"}),value:"SINGLE"},{label:Sn.formatMessage({id:"paperlibrary.multipleChoiceQuestion",defaultMessage:"\u591A\u9009\u9898"}),value:"MULTIPLE"},{label:Sn.formatMessage({id:"paperlibrary.fillInTheBlankQuestion",defaultMessage:"\u586B\u7A7A\u9898"}),value:"COMPLETION"},{label:Sn.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),value:"JUDGMENT"},{label:Sn.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"}),value:"SUBJECTIVE"},{label:Sn.formatMessage({id:"paperlibrary.programmingQuestion",defaultMessage:"\u7F16\u7A0B\u9898"}),value:"PROGRAM"},{label:Sn.formatMessage({id:"paperlibrary.combinationQuestion",defaultMessage:"\u7EC4\u5408\u9898"}),value:"COMBINATION"},{label:Sn.formatMessage({id:"paperlibrary.practicalQuestion",defaultMessage:"\u5B9E\u8BAD\u9898"}),value:"PRACTICAL"},{label:Sn.formatMessage({id:"paperlibrary.programFillInTheBlankQuestion",defaultMessage:"\u7A0B\u5E8F\u586B\u7A7A\u9898"}),value:"BPROGRAM"}];(0,y.useEffect)(()=>{if(ct){const{item_types:_n}=sa||{};Mt(_n==null?void 0:_n.map(oa=>oa.item_type))}},[ct,sa]);const[wn,Mt]=(0,y.useState)([]);return y.createElement(an.default,{title:y.createElement("div",null,Sn.formatMessage({id:"paperlibrary.questionTypeSettings",defaultMessage:"\u9898\u578B\u8BBE\u7F6E"}),y.createElement("span",{className:"c-grey-333",style:{fontSize:14,fontWeight:400}},`\uFF08${Sn.formatMessage({id:"paperlibrary.addDeleteQuestionType",defaultMessage:"\u901A\u8FC7\u52FE\u9009\u53EF\u5BF9\u9898\u578B\u8FDB\u884C\u6DFB\u52A0/\u5220\u9664"})}\uFF09`)),closable:!0,centered:!0,open:ct,onCancel:pt,onOk:()=>Gt(wn)},y.createElement(lt.default.Group,{value:wn,onChange:_n=>Mt(_n)},y.createElement(He.Z,{gutter:[0,20]},on.map(_n=>y.createElement(Te.Z,{key:_n.value,span:6},y.createElement(lt.default,{value:_n.value},_n.label))))))},yn=ne(1710),Ln=Object.defineProperty,ea=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,qt=(ct,pt,Gt)=>pt in ct?Ln(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,In=(ct,pt)=>{for(var Gt in pt||(pt={}))Xt.call(pt,Gt)&&qt(ct,Gt,pt[Gt]);if(ea)for(var Gt of ea(pt))Yt.call(pt,Gt)&&qt(ct,Gt,pt[Gt]);return ct},Sa=({open:ct,onCancel:pt,onOk:Gt})=>{const sa=(0,Ie.useIntl)(),{data:Ut}=(0,y.useContext)(Be),[Sn,on]=(0,y.useState)();console.log("--xxx-",Sn),(0,y.useEffect)(()=>{ct&&on((0,ot.cloneDeep)(Ut))},[ct,Ut]);const wn=(0,y.useMemo)(()=>{var Mt;let _n;return _n=(Mt=Sn==null?void 0:Sn.item_types)==null?void 0:Mt.map(oa=>oa.total_score).reduce((oa,na)=>parseFloat(oa)+parseFloat(na)),_n==null?void 0:_n.toFixed(1)},[Sn]);return ct?y.createElement(an.default,{title:sa.formatMessage({id:"paperlibrary.batchSetScore",defaultMessage:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"}),open:ct,width:640,centered:!0,closable:!0,onCancel:pt,onOk:()=>{Gt(Sn)}},y.createElement("div",{className:"c-black mb20"},sa.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"}),y.createElement("span",{className:"ml10 c-light-primary"},wn)),y.createElement(yn.default,{columns:[{title:sa.formatMessage({id:"paperlibrary.questionTypeName",defaultMessage:"\u9898\u578B\u540D\u79F0"}),dataIndex:"item_type_text",width:130},{title:sa.formatMessage({id:"paperlibrary.totalSubQuestions",defaultMessage:"\u5C0F\u9898\u603B\u6570"}),dataIndex:"item_bank_count",width:130},{title:sa.formatMessage({id:"paperlibrary.questionTypeTotalScore",defaultMessage:"\u9898\u578B\u603B\u5206"}),dataIndex:"total_score",width:130},{title:sa.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),render(Mt,_n){const{score:oa,item_type:na}=_n;return y.createElement("div",{style:{color:"#9096A3"}},"\u6BCF",((_n==null?void 0:_n.item_type)==="PRACTICAL","\u9898"),y.createElement(Le.Z,{precision:1,size:"large",className:"ml10 mr10",min:.1,disabled:(_n==null?void 0:_n.item_bank_count)===0,max:100,onChange:wr=>{const Xa=Sn,co=Xa.item_types.find(Za=>Za.item_type===na);co.score=Number(wr);const hr=wr*co.item_bank_count;co.total_score=hr&&Number(hr.toFixed(1)),Xa.examination_bank.total_score=Xa.item_types.reduce((Za,Pa)=>Number(Za)+Number(Pa.total_score),0),on(In({},Xa))}}),"\u5206")}}],className:at.setScoreModalTable,dataSource:Sn==null?void 0:Sn.item_types,rowKey:"item_type",pagination:!1})):null},Ca=ne(99313),Un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LbDqOW1uF5vjpeK+YfEYQkCWYYZc4HQyxU+6Veqeme1Jpuc4t4CNFqdcY9g1yzbX2/WL+QCM9QLhzstl90/S1fUdg2FgWQT6EVLbNHpThjNhaa8Hz6e7DgcFVbPTxwNcrk9JgqH9bBkCWYDZPh7uNmWanuhVfhIVaIwOjUzeNfLZ141XPdbcpNX4F/ikyqlsA/6bwAAAABJRU5ErkJggg==",sn={ruleCheckBox:"ruleCheckBox___Onj2f",folderAreaWrapper:"folderAreaWrapper___ut2mr",folderAreaHeader:"folderAreaHeader___fOIDA",folderWrapper:"folderWrapper___IpJ50",folderIcon:"folderIcon___zBoRM",shareFolderIcon:"shareFolderIcon____5s3p",treeNodeItem:"treeNodeItem___quqla",treeNodeDifficulty:"treeNodeDifficulty___en0gk"},zn=ne(11517),Gn=Object.defineProperty,Vn=Object.defineProperties,dt=Object.getOwnPropertyDescriptors,Ct=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,An=(ct,pt,Gt)=>pt in ct?Gn(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,un=(ct,pt)=>{for(var Gt in pt||(pt={}))St.call(pt,Gt)&&An(ct,Gt,pt[Gt]);if(Ct)for(var Gt of Ct(pt))mn.call(pt,Gt)&&An(ct,Gt,pt[Gt]);return ct},$n=(ct,pt)=>Vn(ct,dt(pt)),Kn=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())});const Jn=(ct,pt,Gt)=>ct.map(sa=>sa.key===pt?un(un({},sa),Gt):sa.children?$n(un({},sa),{children:Jn(sa.children,pt,Gt)}):sa),ma={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3},Ha=(ct,pt,Gt,sa)=>pt.map(Ut=>{var Sn;const on=Ut==null?void 0:Ut.tag_disciplines.map(Mt=>{const _n=Mt==null?void 0:Mt.difficulty_count.map(oa=>({label:oa==null?void 0:oa.name,value:ma[oa.name]}));return{title:Ot(Gt)===Qe.All&&_n.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(Te.Z,null,`${Mt.name}\uFF08${Mt.child_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},ct.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}_${Mt.id}`,"diffValue"]},y.createElement(lt.default.Group,{style:{columnGap:12},options:_n})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}_${Mt.id}`,"diffNum"],initialValue:Mt==null?void 0:Mt.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}_${Mt.id}`,"extra"],initialValue:$n(un({},Ut),{type:sa})},y.createElement("input",{type:"hidden"})))):`${Mt.name}\uFF08${Mt.child_count}\uFF09`,key:`${Ut.id}_${Mt.id}`,name:Mt.name,parentName:Ut.name,item_banks_count:Mt.child_count,icon:null,isLeaf:!0,checkable:Ot(Gt)===Qe.FileFolderAndKnowledge,disableCheckbox:Mt.child_count===0}}),wn=Ut==null?void 0:Ut.difficulty_count.map(Mt=>({label:Mt==null?void 0:Mt.name,value:ma[Mt.name]}));return{title:Ot(Gt)===Qe.FileFolderAndDiff&&wn.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(Te.Z,null,`${Ut.name}\uFF08${Ut.item_banks_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},ct.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}`,"diffValue"]},y.createElement(lt.default.Group,{style:{columnGap:12},options:wn})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}`,"diffNum"],initialValue:Ut==null?void 0:Ut.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}`,"extra"],initialValue:$n(un({},Ut),{type:sa})},y.createElement("input",{type:"hidden"})))):`${Ut.name}\uFF08${Ut.item_banks_count}\uFF09`,key:`${Ut.id}`,name:Ut.name,item_banks_count:Ut.item_banks_count,icon:Mt=>Mt.expanded?sa==="0"?y.createElement("img",{src:qe,className:sn.folderIcon}):y.createElement("img",{src:pn,className:sn.shareFolderIcon}):sa==="0"?y.createElement("img",{src:Aa,className:sn.folderIcon}):y.createElement("img",{src:Nn,className:sn.shareFolderIcon}),isLeaf:!Ut.have_child&&!((Sn=Ut.tag_disciplines)!=null&&Sn.length),checkable:Ot(Gt)===Qe.OnlyFileFolder,disableCheckbox:Ut.item_banks_count===0,children:Ut.children.length?Ot(Gt)===Qe.All||Ot(Gt)===Qe.FileFolderAndKnowledge?[...Ha(ct,Ut.children,Gt,sa),...on]:Ha(ct,Ut.children,Gt,sa):[]}}),Bn=(ct,pt,Gt,sa)=>pt.map(Ut=>{var Sn;const on=Ut==null?void 0:Ut.tag_disciplines.map(Mt=>{console.log("tagItem:",Mt);const _n=Mt==null?void 0:Mt.difficulty_count.map(oa=>({label:oa==null?void 0:oa.name,value:ma[oa.name]}));return{title:Ot(Gt)===Qe.All&&_n.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(Te.Z,null,`${Mt.name}\uFF08${Mt.child_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},ct.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}_${Mt.id}`,"diffValue"]},y.createElement(lt.default.Group,{style:{columnGap:12},options:_n})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}_${Mt.id}`,"diffNum"],initialValue:Mt==null?void 0:Mt.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}_${Mt.id}`,"extra"],initialValue:$n(un({},Ut),{type:sa})},y.createElement("input",{type:"hidden"})))):`${Mt.name}\uFF08${Mt.child_count}\uFF09`,key:`${Ut.id}_${Mt.id}`,name:Mt.name,parentName:Ut.name,item_banks_count:Mt.child_count,icon:null,isLeaf:!0,checkable:Ot(Gt)===Qe.FileFolderAndKnowledge,disableCheckbox:Mt.child_count===0}}),wn=Ut==null?void 0:Ut.difficulty_count.map(Mt=>({label:Mt==null?void 0:Mt.name,value:ma[Mt.name]}));return{title:Ot(Gt)===Qe.FileFolderAndDiff&&wn.length>0?y.createElement(He.Z,{justify:"space-between"},y.createElement(Te.Z,null,`${Ut.name}\uFF08${Ut.item_banks_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},ct.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}`,"diffValue"]},y.createElement(lt.default.Group,{style:{columnGap:12},options:wn})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}`,"diffNum"],initialValue:Ut==null?void 0:Ut.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`${Ut.id}`,"extra"],initialValue:$n(un({},Ut),{type:sa})},y.createElement("input",{type:"hidden"})))):`${Ut.name}\uFF08${Ut.item_banks_count}\uFF09`,key:`${Ut.id}`,name:Ut.name,item_banks_count:Ut.item_banks_count,icon:Mt=>Mt.expanded?sa==="0"?y.createElement("img",{src:qe,className:sn.folderIcon}):y.createElement("img",{src:pn,className:sn.shareFolderIcon}):sa==="0"?y.createElement("img",{src:Aa,className:sn.folderIcon}):y.createElement("img",{src:Nn,className:sn.shareFolderIcon}),isLeaf:!Ut.have_child&&!((Sn=Ut.tag_disciplines)!=null&&Sn.length),checkable:Ot(Gt)===Qe.OnlyFileFolder,disableCheckbox:Ut.item_banks_count===0,children:[...Bn(ct,Ut.children,Gt,sa),...on]}});var Ya=({ruleValue:ct,defaultData:pt,setSelectData:Gt,currentItemType:sa,selectData:Ut})=>{const Sn=(0,Ie.useIntl)(),[on,wn]=(0,y.useState)("1"),[Mt,_n]=(0,y.useState)(!0),[oa]=Oe.default.useForm(),[na,wr]=(0,y.useState)([]),[Xa,co]=(0,y.useState)("all"),hr=(Cn,Tn,aa)=>{const{checkedNodes:Xn}=Tn;console.log("type:",aa,Xn,Ut),aa==="0"?(Pa(Cn),Ot(ct)===Qe.OnlyFileFolder?(Gt(jn=>$n(un({},jn),{my:Xn.map(vn=>({id:vn.key,group_id:vn.key,group_name:vn.name,item_bank_num:vn.item_banks_count,folderType:"0",quanlity:1}))})),Dt(Xn.reduce((jn,vn)=>jn+vn.item_banks_count,0))):(console.log(Xn),Gt(jn=>$n(un({},jn),{my:Xn.map(vn=>{const[la,fa]=vn.key.split("_");return{id:vn.key,tag_discipline_name:vn.name,group_id:la,tag_discipline_id:fa,folderType:"0",group_name:vn.parentName,item_bank_num:vn.item_banks_count,quanlity:1}})})),Dt(Xn.reduce((jn,vn)=>jn+vn.item_banks_count,0)))):(Cr(Cn),Ot(ct)===Qe.OnlyFileFolder?Gt(jn=>(console.log("pre:",jn),$n(un({},jn),{public:Xn.map(vn=>({id:vn.key==="0"?"00":vn.key,teacher_group_name:vn.name,teacher_group_id:vn.key,folderType:"3",item_bank_num:vn.item_banks_count,quanlity:1}))}))):Gt(jn=>$n(un({},jn),{public:Xn.map(vn=>{const[la,fa]=vn.key.split("_");return{id:vn.key==="0"?"00":vn.key,tag_discipline_name:vn.name,teacher_group_id:la,tag_discipline_id:fa,folderType:"3",teacher_group_name:vn.parentName,item_bank_num:vn.item_banks_count,quanlity:1}})})),Dt(Xn.reduce((jn,vn)=>jn+vn.item_banks_count,0)))},[Za,Pa]=(0,y.useState)([]),[Yn,Cr]=(0,y.useState)([]),[Dr,Ur]=(0,y.useState)([]),[Eo,xr]=(0,y.useState)([]),[oo,Ar]=(0,y.useState)([]),[Ra,Wr]=(0,y.useState)([]),[fo,wo]=(0,y.useState)(!1),[yi,il]=(0,y.useState)(!1);function Ge(){return Kn(this,null,function*(){let Cn=yield(0,E.ZP)("/api/teach_group_shares.json",{method:"get"});Cn&&wr(Cn==null?void 0:Cn.groups)})}(0,y.useEffect)(()=>{Ge()},[]);const nt=Cn=>Kn(void 0,null,function*(){var Tn,aa,Xn,jn,vn,la,fa,tr,Ir,gr,Fn,kn;Cn.type==="0"?wo(!0):il(!0);const qn=yield(0,zn.ex)(Cn);Cn.type==="0"?wo(!1):il(!1),Cn.type==="0"?Ar(qn):Wr(qn);const va=(Tn=qn.navigation[0])==null?void 0:Tn.difficulty_count.map(Ta=>({label:Ta==null?void 0:Ta.name,value:ma[Ta.name]})),Sr=(aa=qn.navigation[0])==null?void 0:aa.tag_disciplines.map(Ta=>{const ur=Ta==null?void 0:Ta.difficulty_count.map(Dn=>({label:Dn==null?void 0:Dn.name,value:ma[Dn.name]}));return{title:Ot(ct)===Qe.All&&ur.length>0?y.createElement(He.Z,{justify:"space-between",style:{color:"#232B40"}},y.createElement(Te.Z,null,`${Ta.name}\uFF08${Ta.child_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},Sn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`0_${Ta.id}`,"diffValue"]},y.createElement(lt.default.Group,{style:{columnGap:12},options:ur})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`0_${Ta.id}`,"diffNum"],initialValue:Ta==null?void 0:Ta.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:[`0_${Ta.id}`,"extra"],initialValue:{tag_discipline_name:Ta.name,name:"\u6839\u76EE\u5F55",type:Cn.type}},y.createElement("input",{type:"hidden"})))):y.createElement("span",{style:{color:"#232B40"}},Ta.name,"\uFF08",Ta.child_count,"\uFF09"),key:`0_${Ta.id}`,name:Ta.name,parentName:"\u6839\u76EE\u5F55",item_banks_count:Ta.child_count,icon:null,isLeaf:!0,checkable:Ot(ct)===Qe.FileFolderAndKnowledge,disableCheckbox:Ta.child_count===0}});if(Cn.type==="0"){const Ta=Ha(Sn,qn.data,ct,"0"),ur=Bn(Sn,qn.data,ct,"0");console.log("normalChildren2:",ur),Ur([{title:Ot(ct)===Qe.FileFolderAndDiff?y.createElement(He.Z,{justify:"space-between",style:{color:"#232B40"}},y.createElement(Te.Z,null,`\u6839\u76EE\u5F55\uFF08${(Xn=qn.navigation[0])==null?void 0:Xn.child_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},Sn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffValue"],initialValue:[]},y.createElement(lt.default.Group,{style:{columnGap:12},options:va})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffNum"],initialValue:(jn=qn.navigation[0])==null?void 0:jn.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","extra"],initialValue:{type:"0",group_id:"0",name:"\u6839\u76EE\u5F55"}},y.createElement("input",{type:"hidden"})))):y.createElement("span",{style:{color:"#232B40"}},`\u6839\u76EE\u5F55\uFF08${(vn=qn.navigation[0])==null?void 0:vn.child_count}\uFF09`),key:"0",name:"\u6839\u76EE\u5F55",item_banks_count:(la=qn.navigation[0])==null?void 0:la.child_count,disabled:!(((fa=qn.navigation[0])==null?void 0:fa.child_count)>0),checkable:Ot(ct)===Qe.OnlyFileFolder,icon:Dn=>Dn.expanded?y.createElement("img",{src:qe,className:sn.folderIcon}):y.createElement("img",{src:Aa,className:sn.folderIcon}),isLeaf:!1,children:Ot(ct)===Qe.OnlyFileFolder||Ot(ct)===Qe.FileFolderAndDiff?Ta:[...ur,...Sr]}])}else{const Ta=Ha(qn.data,ct,"3");xr([{title:Ot(ct)===Qe.FileFolderAndDiff?y.createElement(He.Z,{justify:"space-between"},y.createElement(Te.Z,null,`\u6839\u76EE\u5F55\uFF08${(tr=qn.navigation[0])==null?void 0:tr.child_count}\uFF09`),y.createElement(Te.Z,null,y.createElement("span",{className:"mr15",style:{color:"#666"}},Sn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffValue"]},y.createElement(lt.default.Group,{style:{columnGap:12},options:va})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","diffNum"],initialValue:(Ir=qn.navigation[0])==null?void 0:Ir.difficulty_count},y.createElement("input",{type:"hidden"})),y.createElement(Oe.default.Item,{noStyle:!0,name:["0","extra"],initialValue:{type:"3",group_id:"0",name:"\u6839\u76EE\u5F55"}},y.createElement("input",{type:"hidden"})))):y.createElement("span",{style:{color:"#232B40"}},`\u6839\u76EE\u5F55\uFF08${(gr=qn.navigation[0])==null?void 0:gr.child_count}\uFF09`),key:"0",name:"\u6839\u76EE\u5F55",item_banks_count:(Fn=qn.navigation[0])==null?void 0:Fn.child_count,checkable:Ot(ct)===Qe.OnlyFileFolder,icon:ur=>ur.expanded?y.createElement("img",{src:pn,className:sn.shareFolderIcon}):y.createElement("img",{src:Nn,className:sn.shareFolderIcon}),isLeaf:!1,disabled:!(((kn=qn.navigation[0])==null?void 0:kn.child_count)>0),children:Ot(ct)===Qe.OnlyFileFolder||Ot(ct)===Qe.FileFolderAndDiff?Ta:[...Ta,...Sr]}])}});(0,y.useEffect)(()=>{on==="1"?nt({type:"0",group_id:0,item_type:sa,show_children:!0}):on==="2"&&nt({type:"3",except_mine:!0,item_type:sa,show_children:!0,teach_group_id:Xa==="all"?"":Xa})},[ct,on,Xa]),(0,y.useEffect)(()=>{var Cn,Tn,aa,Xn,jn,vn,la,fa,tr,Ir,gr,Fn;console.log("selectData-active:",Ut,pt,on),on==="1"?(Pa((Cn=Ut==null?void 0:Ut.my)==null?void 0:Cn.map(kn=>kn.id)),Dt(((aa=(Tn=Ut==null?void 0:Ut.my)==null?void 0:Tn.reduce)==null?void 0:aa.call(Tn,(kn,qn)=>kn+qn.item_bank_num,0))||0)):on==="2"&&(Cr((Xn=Ut==null?void 0:Ut.public)==null?void 0:Xn.map(kn=>kn.id)),Dt(((vn=(jn=Ut==null?void 0:Ut.public)==null?void 0:jn.reduce)==null?void 0:vn.call(jn,(kn,qn)=>kn+qn.item_bank_num,0))||0)),Ot(ct)===Qe.All&&(on==="1"?(Pa((la=Ut==null?void 0:Ut.my)==null?void 0:la.map(kn=>kn.id)),Dt((Ut==null?void 0:Ut.filter(kn=>!kn.is_share).reduce((kn,qn)=>kn+qn.item_bank_num,0))||0),(fa=Ut==null?void 0:Ut.filter(kn=>!kn.is_share))==null||fa.forEach(kn=>{const qn=oa.getFieldValue([`${kn.group_id||0}_${kn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",qn),qn!=null&&qn.includes[kn.difficulty]||oa.setFieldValue([`${kn.group_id||0}_${kn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...qn,kn.difficulty])))})):on==="2"&&(Cr((tr=Ut==null?void 0:Ut.public)==null?void 0:tr.map(kn=>kn.id)),Dt((Ut==null?void 0:Ut.filter(kn=>!!kn.is_share).reduce((kn,qn)=>kn+qn.item_bank_num,0))||0),(Ir=Ut==null?void 0:Ut.filter(kn=>!!kn.is_share))==null||Ir.forEach(kn=>{const qn=oa.getFieldValue([`${kn.teacher_group_id||0}_${kn.tag_discipline_id}`,"diffValue"])||[];qn!=null&&qn.includes[kn.difficulty]||oa.setFieldValue([`${kn.teacher_group_id||0}_${kn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...qn,kn.difficulty])))}))),Ot(ct)===Qe.FileFolderAndDiff&&(oa.resetFields(),setTimeout(()=>{Gt(Ut)},300),on==="1"?(Dt((Ut==null?void 0:Ut.filter(kn=>!kn.is_share).reduce((kn,qn)=>kn+qn.item_bank_num,0))||0),(gr=Ut==null?void 0:Ut.filter(kn=>!kn.is_share))==null||gr.forEach(kn=>{const qn=oa.getFieldValue([`${kn.group_id}`,"diffValue"])||[];console.log("prev:",qn),qn!=null&&qn.includes[kn.difficulty]||oa.setFieldValue([`${kn.group_id}`,"diffValue"],Array.from(new Set([...qn,kn.difficulty])))})):(Dt((Ut==null?void 0:Ut.filter(kn=>!!kn.is_share).reduce((kn,qn)=>kn+qn.item_bank_num,0))||0),(Fn=Ut==null?void 0:Ut.filter(kn=>!!kn.is_share))==null||Fn.forEach(kn=>{const qn=oa.getFieldValue([`${kn.teacher_group_id}`,"diffValue"])||[];qn!=null&&qn.includes[kn.difficulty]||oa.setFieldValue([`${kn.teacher_group_id}`,"diffValue"],Array.from(new Set([...qn,kn.difficulty])))})))},[on]),console.log("1111111111:",Za,Yn),(0,y.useEffect)(()=>{setTimeout(()=>{var Cn,Tn,aa,Xn,jn;switch(Ot(ct)){case Qe.OnlyFileFolder:{const vn=[],la=[];for(const fa of Ut.my||[])vn.push(fa);for(const fa of Ut.public||[])la.push(fa);Pa(vn.map(fa=>`${fa.group_id}`)),Cr(la.map(fa=>`${fa.teacher_group_id}`)),Dt(on==="1"?vn.reduce((fa,tr)=>fa+tr.item_bank_num,0):la.reduce((fa,tr)=>fa+tr.item_bank_num,0));break}case Qe.FileFolderAndKnowledge:{const vn=[],la=[];for(const fa of(Ut==null?void 0:Ut.my)||[])vn.push(fa);for(const fa of(Ut==null?void 0:Ut.public)||[])la.push(fa);Dt((Cn=on==="1"?vn:la)==null?void 0:Cn.reduce((fa,tr)=>fa+tr.item_bank_num,0)),Pa(vn.map(fa=>`${fa.group_id}_${fa.tag_discipline_id}`)),Cr(la.map(fa=>`${fa.teacher_group_id}_${fa.tag_discipline_id}`));break}case Qe.All:{on==="1"?(Dt((Ut==null?void 0:Ut.filter(vn=>!vn.is_share).reduce((vn,la)=>vn+la.item_bank_num,0))||0),(Tn=Ut==null?void 0:Ut.filter(vn=>!vn.is_share))==null||Tn.forEach(vn=>{const la=oa.getFieldValue([`${vn.group_id||0}_${vn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",la,vn.difficulty,vn),la!=null&&la.includes[vn.difficulty]||oa.setFieldValue([`${vn.group_id||0}_${vn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...la,vn.difficulty])))})):(Dt((Ut==null?void 0:Ut.filter(vn=>!!vn.is_share).reduce((vn,la)=>vn+la.item_bank_num,0))||0),(aa=Ut==null?void 0:Ut.filter(vn=>!!vn.is_share))==null||aa.forEach(vn=>{const la=oa.getFieldValue([`${vn.group_id||0}_${vn.tag_discipline_id}`,"diffValue"])||[];console.log("prev:",la,vn.difficulty,vn),la!=null&&la.includes[vn.difficulty]||oa.setFieldValue([`${vn.group_id||0}_${vn.tag_discipline_id}`,"diffValue"],Array.from(new Set([...la,vn.difficulty])))}));break}case Qe.FileFolderAndDiff:{on==="1"?(Dt((Ut==null?void 0:Ut.filter(vn=>!vn.is_share).reduce((vn,la)=>vn+la.item_bank_num,0))||0),(Xn=Ut==null?void 0:Ut.filter(vn=>!vn.is_share))==null||Xn.forEach(vn=>{const la=oa.getFieldValue([`${vn.group_id}`,"diffValue"])||[];console.log("prev:",la,vn.difficulty),la!=null&&la.includes[vn.difficulty]||oa.setFieldValue([`${vn.group_id}`,"diffValue"],Array.from(new Set([...la,vn.difficulty])))})):(Dt((Ut==null?void 0:Ut.filter(vn=>!!vn.is_share).reduce((vn,la)=>vn+la.item_bank_num,0))||0),(jn=Ut==null?void 0:Ut.filter(vn=>!!vn.is_share))==null||jn.forEach(vn=>{const la=oa.getFieldValue([`${vn.group_id}`,"diffValue"])||[];la!=null&&la.includes[vn.difficulty]||oa.setFieldValue([`${vn.group_id}`,"diffValue"],Array.from(new Set([...la,vn.difficulty])))}));break}}},800)},[pt,ct,Dr,Eo]);const[Et,Dt]=(0,y.useState)(0);return y.createElement(Oe.default,{form:oa,onValuesChange:(Cn,Tn)=>Kn(void 0,null,function*(){var aa,Xn,jn,vn;console.log("onValuesChange:",Tn,Cn);let la=0;if(Ot(ct)===Qe.FileFolderAndDiff){const fa=yield oa.getFieldValue(),tr=[],Ir=[];for(const Fn of Object.keys(fa))if((Xn=(aa=fa[Fn])==null?void 0:aa.diffValue)!=null&&Xn.length&&Fn!=="null"&&Fn!==null){const kn=fa[Fn];tr.push(un({id:Fn},kn))}const gr={1:Sn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:Sn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:Sn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})};tr.map(Fn=>{var kn,qn,va,Sr,Ta;Fn.id==0&&(Fn.diffNum=on==="1"?(qn=(kn=oo==null?void 0:oo.navigation)==null?void 0:kn[0])==null?void 0:qn.difficulty_count:(Sr=(va=Ra==null?void 0:Ra.navigation)==null?void 0:va[0])==null?void 0:Sr.difficulty_count),(Ta=Fn==null?void 0:Fn.diffValue)==null||Ta.map(ur=>{var Dn,ca,Da,ja,$r;const Po={group_name:((Dn=Fn.extra)==null?void 0:Dn.name)||"",teacher_group_name:"",id:`${Fn.id}_${ur}`,group_id:Fn.id,difficulty:ur,item_bank_num:(ja=(Da=(ca=Fn.diffNum)==null?void 0:ca.filter(bi=>bi.name===gr[ur]))==null?void 0:Da[0])==null?void 0:ja.value};on==="2"&&(Po.is_share=!0,Po.teacher_group_id=Fn.id,Po.teacher_group_name=($r=Fn.extra)==null?void 0:$r.name),Ir.push(Po)})}),la=Ir.reduce((Fn,kn)=>Fn+kn.item_bank_num,0),Gt([...Ir,...Ut==null?void 0:Ut.filter(Fn=>on==="1"?Fn.is_share:!Fn.is_share)])}else if(Ot(ct)===Qe.All){const fa=[];for(const tr of Object.keys(Tn)){const{diffNum:Ir=[],diffValue:gr=[],extra:Fn={}}=Tn[tr];console.log("---",Fn);const[kn,qn]=tr.split("_");let va=(vn=(jn=Fn.tag_disciplines)==null?void 0:jn.filter(Sr=>parseInt(Sr.id)===parseInt(qn)))==null?void 0:vn[0];gr.forEach(Sr=>{var Ta;const ur={1:Sn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:Sn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:Sn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})},Dn=(Ta=Ir==null?void 0:Ir.find(Da=>Da.name===ur[Sr]))==null?void 0:Ta.value,ca={group_name:"",teacher_group_name:"",tag_discipline_name:(va==null?void 0:va.name)||Fn.tag_discipline_name,id:`${tr}_${Sr}`,group_id:kn,is_share:!!(va!=null&&va.is_share||(Fn==null?void 0:Fn.type)==="3"),tag_discipline_id:qn,difficulty:Sr,item_bank_num:Dn};la+=Dn,Fn.type==="0"?ca.group_name=Fn.name:ca.teacher_group_name=Fn.name,on==="2"&&(ca.is_share=!0,ca.teacher_group_id=Fn.id||0,ca.teacher_group_name=Fn.name),Dn>0&&fa.push(ca)})}Gt([...fa,...Ut==null?void 0:Ut.filter(tr=>on==="1"?tr.is_share:!tr.is_share)])}Dt(la)})},y.createElement(Ca.default,{destroyInactiveTabPane:!0,activeKey:on,onChange:Cn=>wn(Cn),style:{minHeight:260},tabBarExtraContent:{right:on==="2"&&(na==null?void 0:na.length)>0&&y.createElement(Un.default,{onChange:Cn=>{co(Cn)},value:Xa,style:{width:120}},y.createElement(Un.default.Option,{key:"all",value:"all"},"\u5168\u90E8"),na==null?void 0:na.map(Cn=>y.createElement(Un.default.Option,{key:Cn==null?void 0:Cn.group_id,value:Cn==null?void 0:Cn.group_id},Cn==null?void 0:Cn.name)))},items:[{key:"1",label:Sn.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}),children:(Dr==null?void 0:Dr.length)===0?y.createElement(Ze.Z,{spinning:fo},y.createElement(Nt.Z,{ButtonTwo:y.createElement("a",{target:"_blank",href:"/problemset"},Sn.formatMessage({id:"paperlibrary.goToQuestionBank",defaultMessage:"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898"}),">")})):y.createElement("div",{className:sn.folderAreaWrapper},y.createElement(He.Z,{justify:"space-between",align:"middle",className:sn.folderAreaHeader},y.createElement("span",null,"\u6587\u4EF6\u5939"),y.createElement("span",{className:"mr20"},Sn.formatMessage({id:"paperlibrary.selected",defaultMessage:"\u5DF2\u9009"}),y.createElement("span",{style:{color:"#3061D0"}}," ",Et," "),"\u9898")),y.createElement(Ze.Z,{spinning:fo},y.createElement("div",{style:{minHeight:200}},Dr.length>0&&y.createElement(dn.default,{checkable:!0,className:sn.folderWrapper,rootStyle:{paddingLeft:15,paddingRight:0,paddingTop:10},selectable:!1,onCheck:(Cn,Tn)=>hr(Cn,Tn,"0"),checkedKeys:Za,checkStrictly:!0,treeData:Dr,showIcon:!0,blockNode:!0,defaultExpandAll:!0}))))},{key:"2",label:Sn.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}),children:(Eo==null?void 0:Eo.length)===0?y.createElement(Ze.Z,{spinning:yi},y.createElement(Nt.Z,{ButtonTwo:y.createElement("a",{target:"_blank",href:"/problemset"},Sn.formatMessage({id:"paperlibrary.goToQuestionBank",defaultMessage:"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898"}),">")})):y.createElement("div",{className:sn.folderAreaWrapper},y.createElement(He.Z,{justify:"space-between",align:"middle",className:sn.folderAreaHeader},y.createElement("span",null,"\u6587\u4EF6\u5939"),y.createElement("span",{className:"mr20"},Sn.formatMessage({id:"paperlibrary.selected",defaultMessage:"\u5DF2\u9009"}),y.createElement("span",{style:{color:"#3061D0"}}," ",Et||0," "),"\u9898")),y.createElement(Ze.Z,{spinning:yi},y.createElement("div",{style:{minHeight:200}},(Eo==null?void 0:Eo.length)>0&&y.createElement(dn.default,{checkable:!0,className:sn.folderWrapper,selectable:!1,rootStyle:{paddingLeft:15,paddingRight:0,paddingTop:10},onCheck:(Cn,Tn)=>hr(Cn,Tn,"3"),checkedKeys:Yn,checkStrictly:!0,treeData:Eo,showIcon:!0,blockNode:!0,defaultExpandAll:!0}))))}]}))},dr=ne(3033),Wn=ne(61527),cn=Object.defineProperty,Lr=Object.defineProperties,Qa=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,kr=Object.prototype.hasOwnProperty,Fr=Object.prototype.propertyIsEnumerable,Zr=(ct,pt,Gt)=>pt in ct?cn(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,Zo=(ct,pt)=>{for(var Gt in pt||(pt={}))kr.call(pt,Gt)&&Zr(ct,Gt,pt[Gt]);if(Or)for(var Gt of Or(pt))Fr.call(pt,Gt)&&Zr(ct,Gt,pt[Gt]);return ct},ho=(ct,pt)=>Lr(ct,Qa(pt)),Vo=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())});const Hn={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3};var Kr=({ruleValue:ct,setSelectData:pt,currentItemType:Gt,defaultData:sa,isFirst:Ut})=>{const Sn=(0,Ie.useIntl)(),[on,wn]=(0,y.useState)([]),[Mt,_n,oa,na]=(0,Wn.U)(xe,{source:"question",page:1,per_page:10,group_id:0,keyword:"",group_type:0,clazz:"ItemBanksGroup",sub_discipline_id:void 0,item_type:Gt,show_children:!0});(0,y.useEffect)(()=>{Vo(void 0,null,function*(){const Yn=yield oa({},!0);wn((0,dr.L)(Yn.disciplines))})},[]),console.log(sa),(0,y.useEffect)(()=>{if(Ut)switch(Ot(ct)){case Qe.OnlyKnowledge:{Za(sa.map(Yn=>Yn.tag_discipline_id));break}case Qe.KnowledgeAndDiff:{const Yn=new Map;sa.forEach(Cr=>{Cr&&(Yn.has(Cr.tag_discipline_id)?Yn.set(Cr.tag_discipline_id,[...Yn.get(Cr.tag_discipline_id),Cr.difficulty]):Yn.set(Cr.tag_discipline_id,[Cr.difficulty]))});for(const[Cr,Dr]of Yn.entries())wr.setFieldValue([Cr,"diff"],Dr);break}}},[sa,ct,Ut]);const[wr]=Oe.default.useForm(),Xa=(0,y.useMemo)(()=>{const Yn=[];let Cr="",Dr="";const Ur={};for(const Eo of(na==null?void 0:na.disciplines)||[]){Cr=Eo.name;for(const xr of Eo.sub_disciplines){Dr=xr.name;for(const oo of xr.tag_disciplines){const Ar={sub_discipline_name:`${Cr}&${Dr}`,sub_discipline_id:xr.id,tag_discipline_name:oo.name,id:oo.id,item_bank_num:oo.total_count,difficulty_count:oo.difficulty_count,tag_discipline_id:oo.id};Yn.push(Ar)}}}return Yn},[na,sa]),co=[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",show:!0,render:(Yn,Cr)=>{const{item_bank_num:Dr}=Cr;return y.createElement("div",null,Yn,`(${Dr})`)}},{title:Sn.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),dataIndex:"sub_discipline_name",ellipsis:!0,show:!0},{title:Sn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),width:"35%",show:ct.includes($t.Difficulty),render:(Yn,Cr)=>{const{id:Dr,difficulty_count:Ur,total_count:Eo,sub_discipline_name:xr,tag_discipline_name:oo}=Cr;return y.createElement(y.Fragment,null,y.createElement(Oe.default.Item,{name:[Dr,"diff"],noStyle:!0},y.createElement(lt.default.Group,{style:{columnGap:12},options:Ur.map(Ar=>({label:Ar.name,value:Hn[Ar.name]}))})),y.createElement(Oe.default.Item,{name:[Dr,"extra"],initialValue:{difficulty_count:Ur,total_count:Eo,sub_discipline_name:xr,tag_discipline_name:oo},noStyle:!0},y.createElement("input",{type:"hidden"})))}}].filter(Yn=>Yn.show),[hr,Za]=(0,y.useState)([]),Pa=(0,y.useRef)(new Map);return y.createElement("div",{style:{marginTop:12}},y.createElement(He.Z,{className:"mb20",align:"middle",gutter:20},y.createElement(Te.Z,null,y.createElement(je.Z,{placeholder:Sn.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),size:"large",style:{width:240},options:on,onChange:Yn=>{oa({sub_discipline_id:Yn==null?void 0:Yn[1]})}})),y.createElement(Te.Z,null,y.createElement(ft.t7,{style:{width:300},placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9\u540D\u79F0\u8FDB\u884C\u641C\u7D22",value:Mt.keyword,onChange:Yn=>oa({keyword:Yn})}))),y.createElement(Oe.default,{form:wr,onValuesChange:(Yn,Cr)=>{var Dr;console.log(Cr),Pa.current.clear();for(const Ur of Object.keys(Cr)){const Eo={1:Sn.formatMessage({id:"paperlibrary.easy",defaultMessage:"\u7B80\u5355"}),2:Sn.formatMessage({id:"paperlibrary.medium",defaultMessage:"\u9002\u4E2D"}),3:Sn.formatMessage({id:"paperlibrary.hard",defaultMessage:"\u56F0\u96BE"})},xr=Cr[Ur],{difficulty_count:oo,total_count:Ar}=xr.extra||{};(Dr=xr==null?void 0:xr.diff)==null||Dr.forEach(Ra=>{var Wr;const fo=(Wr=oo==null?void 0:oo.find(yi=>yi.name===Eo[Ra]))==null?void 0:Wr.value,wo=ho(Zo({},xr.extra),{id:`${Ur}_${Ra}`,difficulty:Ra,item_bank_num:fo,tag_discipline_id:Ur});fo>0&&Pa.current.set(`${Ur}_${Ra}`,wo)})}pt([...Pa.current.values()])}},(Xa==null?void 0:Xa.length)===0?y.createElement(Nt.Z,{ButtonTwo:y.createElement("a",{target:"_blank",href:"/problemset"},Sn.formatMessage({id:"paperlibrary.goToQuestionBank",defaultMessage:"\u524D\u5F80\u9898\u5E93\uFF0C\u65B0\u589E\u66F4\u591A\u8BD5\u9898"}),">")}):y.createElement(yn.default,{rowSelection:Ot(ct)===Qe.OnlyKnowledge?{preserveSelectedRowKeys:!0,type:"checkbox",onChange(Yn,Cr){console.log("table-selectedRowKeys:",Yn,Cr),Za(Yn),pt(Cr)},getCheckboxProps:Yn=>({disabled:Yn.item_bank_num===0}),selectedRowKeys:hr}:void 0,columns:co,dataSource:Xa,loading:_n,scroll:{y:480},rowKey:"id",pagination:!1})))},Vr=Object.defineProperty,Ja=Object.defineProperties,ta=Object.getOwnPropertyDescriptors,Ma=Object.getOwnPropertySymbols,$a=Object.prototype.hasOwnProperty,xa=Object.prototype.propertyIsEnumerable,br=(ct,pt,Gt)=>pt in ct?Vr(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,Xr=(ct,pt)=>{for(var Gt in pt||(pt={}))$a.call(pt,Gt)&&br(ct,Gt,pt[Gt]);if(Ma)for(var Gt of Ma(pt))xa.call(pt,Gt)&&br(ct,Gt,pt[Gt]);return ct},xo=(ct,pt)=>Ja(ct,ta(pt)),ao=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())});const Ro={\u7B80\u5355:1,\u9002\u4E2D:2,\u56F0\u96BE:3};var ei=({open:ct,onCancel:pt,setVisibleModalType:Gt,currentItemType:sa})=>{var Ut;const Sn=(0,Ie.useIntl)(),{data:on,dispatch:wn}=(0,y.useContext)(Be),[Mt,_n]=(0,y.useState)([]),[oa,na]=(0,y.useState)(),wr=(Ut=on==null?void 0:on.item_types)==null?void 0:Ut.find(Dr=>Dr.item_type===sa);(0,y.useEffect)(()=>{var Dr,Ur,Eo;if(ct){const xr=(Dr=on==null?void 0:on.item_types)==null?void 0:Dr.find(oo=>oo.item_type===sa);if((xr==null?void 0:xr.random_rule_type)!==Qe.Shixun){const oo=Jt[xr==null?void 0:xr.random_rule_type]||[];_n(oo);const Ar=(Eo=(Ur=on==null?void 0:on.item_types)==null?void 0:Ur.find(Ra=>Ra.item_type===sa))==null?void 0:Eo.contents;switch(console.log("----xxx",Ot(oo)),Ot(oo)){case Qe.OnlyDifficulty:{Za(Ar.map(Ra=>Ra.difficulty));break}case Qe.OnlyFileFolder:{Za({my:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)!=="NaN"&&!Ra.teacher_group_id&&Ra.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)>=0)}),na({my:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)!=="NaN"&&!Ra.teacher_group_id&&Ra.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)>=0)});break}case Qe.FileFolderAndKnowledge:{Za({my:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)!=="NaN"&&!Ra.teacher_group_id&&Ra.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)>=0)}),na({my:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)!=="NaN"&&!Ra.teacher_group_id&&Ra.teacher_group_id!==0),public:Ar==null?void 0:Ar.filter(Ra=>parseInt(Ra.teacher_group_id)>=0)});break}case Qe.FileFolderAndDiff:{Za(Ar),na(Ar);break}case Qe.All:{Za(Ar),na(Ar);break}default:Za(Ar)}}}},[ct]);const[Xa,co]=(0,y.useState)([]);(0,y.useEffect)(()=>{ct&&ye({item_type:sa}).then(Dr=>{Dr.status===0&&co(Dr.data)})},[ct]),(0,y.useEffect)(()=>{console.log("selectData",oa)},[oa]);const[hr,Za]=(0,y.useState)(),[Pa,Yn]=(0,y.useState)(!0);console.log("isFirst:",Pa);const Cr=Dr=>{_n(Dr),na([]),Za([]),Yn(!1)};return y.createElement(an.default,{title:Sn.formatMessage({id:"paperlibrary.setQuestionRules",defaultMessage:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"}),width:948,closable:!0,centered:!0,open:ct,onCancel:pt,destroyOnClose:!0,onOk:()=>ao(void 0,null,function*(){var Dr,Ur,Eo,xr,oo,Ar,Ra;if(oa===void 0){Gt("");return}if(Object.prototype.toString.call(oa)==="[object Object]"&&!((Dr=oa.my)!=null&&Dr.length)&&!((Ur=oa.public)!=null&&Ur.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if(!Object.keys(oa).length&&!(oa!=null&&oa.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}const Wr=Ot(Mt);switch(Wr){case Qe.OnlyFileFolder:{wn({type:"editRule",payload:{itemType:sa,tableData:[...oa.my||[],...oa.public||[]],randomRuleType:Wr}});break}case Qe.OnlyDifficulty:{const fo=(xr=(Eo=on==null?void 0:on.item_types)==null?void 0:Eo.find(yi=>yi.item_type===sa))==null?void 0:xr.contents;let wo=[{},{value:(oo=Xa.find(yi=>yi.name==="\u7B80\u5355"))==null?void 0:oo.value},{value:(Ar=Xa.find(yi=>yi.name==="\u9002\u4E2D"))==null?void 0:Ar.value},{value:(Ra=Xa.find(yi=>yi.name==="\u56F0\u96BE"))==null?void 0:Ra.value}];wn({type:"editRule",payload:{itemType:sa,tableData:oa.map((yi,il)=>{var Ge,nt,Et,Dt;return{difficulty:yi,id:il,quanlity:((nt=(Ge=fo==null?void 0:fo.filter(Cn=>Cn.id===il))==null?void 0:Ge[0])==null?void 0:nt.quanlity)||1,item_bank_num:(Xa==null?void 0:Xa.length)===1?(Et=Xa[0])==null?void 0:Et.value:(Dt=wo==null?void 0:wo[yi])==null?void 0:Dt.value}}),randomRuleType:Wr}});break}case Qe.OnlyKnowledge:{wn({type:"editRule",payload:{itemType:sa,tableData:oa.map(fo=>xo(Xr({},fo),{quanlity:fo.quanlity||1})),randomRuleType:Wr}});break}case Qe.KnowledgeAndDiff:{wn({type:"editRule",payload:{itemType:sa,tableData:oa.map(fo=>xo(Xr({},fo),{quanlity:fo.quanlity||1})),randomRuleType:Wr}});break}case Qe.FileFolderAndDiff:{wn({type:"editRule",payload:{itemType:sa,tableData:oa.map(fo=>xo(Xr({},fo),{quanlity:fo.quanlity||1})),randomRuleType:Wr}});break}case Qe.FileFolderAndKnowledge:{wn({type:"editRule",payload:{itemType:sa,tableData:[...oa.my||[],...oa.public||[]],randomRuleType:Wr}});break}case Qe.All:{wn({type:"editRule",payload:{itemType:sa,tableData:oa.map(fo=>xo(Xr({},fo),{quanlity:fo.quanlity||1})),randomRuleType:Wr}});break}}Gt("")})},y.createElement(lt.default.Group,{className:`${sn.ruleCheckBox}`,style:{marginBottom:8},value:Mt,onChange:Dr=>{var Ur;Mt!=null&&Mt.length&&((Ur=wr==null?void 0:wr.contents)==null?void 0:Ur.length)>0?an.default.confirm({title:Sn.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:"\u5207\u6362\u89C4\u5219\u540E\uFF0C\u4E4B\u524D\u7684\u62BD\u9898\u914D\u7F6E\u5C06\u88AB\u6E05\u7A7A\uFF01",okText:"\u7ACB\u5373\u5207\u6362",cancelText:"\u6682\u4E0D\u5207\u6362",onOk:()=>Cr(Dr)}):Cr(Dr)},options:[{label:Sn.formatMessage({id:"paperlibrary.selectFromFolder",defaultMessage:"\u6307\u5B9A\u6587\u4EF6\u5939\u62BD\u9898"}),value:$t.FileFolder},{label:Sn.formatMessage({id:"paperlibrary.selectByDifficulty",defaultMessage:"\u6307\u5B9A\u96BE\u5EA6\u62BD\u9898"}),value:$t.Difficulty},{label:Sn.formatMessage({id:"paperlibrary.selectByKnowledgePoint",defaultMessage:"\u6307\u5B9A\u77E5\u8BC6\u70B9\u62BD\u9898"}),value:$t.Knowledge}]}),Mt.includes($t.FileFolder)?y.createElement(Ya,{defaultData:hr,selectData:oa,ruleValue:Mt,setSelectData:na,currentItemType:sa}):Mt.includes($t.Knowledge)?y.createElement(Kr,{defaultData:hr,isFirst:Pa,ruleValue:Mt,setSelectData:na,currentItemType:sa}):Mt.includes($t.Difficulty)?y.createElement("div",{style:{marginTop:12}},y.createElement("span",{className:"mr20",style:{color:"#666"}},Sn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),y.createElement(lt.default.Group,{style:{columnGap:12},options:Xa.map(Dr=>({label:Dr.name,value:Ro[Dr.name]})),value:oa||hr,onChange:Dr=>na(Dr)})):null)},Io=({open:ct,onCancel:pt,setVisibleModalType:Gt,currentItemType:sa})=>ct?y.createElement(ei,{open:ct,onCancel:pt,setVisibleModalType:Gt,currentItemType:sa}):null,ba=ne(6848),Go=ne(63952),To=ne(33270),jo=ne(6339),So=ne(65862),ii=ne(61485),ui=ne(90463),qo=({open:ct,onCancel:pt,onOk:Gt})=>{const sa=(0,Ie.useIntl)(),{data:Ut}=(0,y.useContext)(Be),Sn=(0,Go.g)(),[on,wn,Mt,_n]=(0,Wn.U)(To.Gm,{page:1,limit:10,keyword:"",diff:"",shixun_publish_status:"",discipline_id:"",sub_discipline_id:"",type:0,include_shixuns:!0,item_type:"SHIXUN"}),[oa,na]=(0,y.useState)(!1);(0,y.useEffect)(()=>{if(ct){Mt({page:1,limit:10,type:0},!0).then(Pa=>{(Pa==null?void 0:Pa.shixuns_count)===0&&na(!0)});const Za=Ut.item_types.find(Pa=>Pa.item_type==="PRACTICAL");Xa(Za.item_banks.map(Pa=>Pa.id)),hr(Za.item_banks)}},[ct,Ut]);const[wr,Xa]=(0,y.useState)([]),[co,hr]=(0,y.useState)([]);return y.createElement(an.default,{title:"\u9009\u62E9\u5B9E\u8BAD\u9898",open:ct,width:948,centered:!0,closable:!0,onCancel:pt,onOk:()=>Gt(co),destroyOnClose:!0},y.createElement(He.Z,{justify:"space-between",className:"mb20",style:{maxHeight:650}},y.createElement(Te.Z,null,y.createElement(je.Z,{style:{width:160},size:"large",placeholder:sa.formatMessage({id:"paperlibrary.selectDirectionAndCourse",defaultMessage:"\u8BF7\u9009\u62E9\u65B9\u5411&\u8BFE\u7A0B"}),options:Sn,onChange:Za=>{Mt({page:1,discipline_id:Za==null?void 0:Za[0],sub_discipline_id:Za==null?void 0:Za[1]})}}),y.createElement(Un.default,{className:"ml20",style:{width:118},size:"large",placeholder:sa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),allowClear:!0,options:[{label:"\u521D\u7EA7",value:1},{label:"\u4E2D\u7EA7",value:2},{label:"\u4E2D\u9AD8\u7EA7",value:3},{label:"\u9AD8\u7EA7",value:4}],onChange:Za=>Mt({page:1,diff:Za})}),y.createElement(Un.default,{className:"ml20",placeholder:"\u5168\u90E8\u72B6\u6001",style:{width:118},size:"large",allowClear:!0,options:[{label:"\u672A\u53D1\u5E03",value:"unpublish"},{label:"\u9759\u9ED8\u53D1\u5E03",value:"silent_publish"},{label:"\u516C\u5F00\u53D1\u5E03",value:"public_publish"}],onChange:Za=>Mt({page:1,shixun_publish_status:Za})})),y.createElement(ft.t7,{placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u641C\u7D22",style:{width:290},onChange:Za=>{Mt({keyword:Za,page:1})}})),oa?y.createElement("div",null,y.createElement(Nt.Z,{customText:"\u6682\u65E0\u6570\u636E",ButtonText:"\u524D\u5F80\u5B9E\u8DF5\u9879\u76EE\u5E93\uFF0C\u6DFB\u52A0\u66F4\u591A\u8BD5\u9898>",ButtonClick:()=>(0,So.xg)("/shixuns")})):y.createElement(yn.default,{loading:wn,rowKey:"id",columns:[{title:sa.formatMessage({id:"paperlibrary.questionName",defaultMessage:"\u8BD5\u9898\u540D\u79F0"}),dataIndex:"name",width:"30%",ellipsis:{showTitle:!0},render:(Za,Pa)=>y.createElement("div",{style:{display:"flex",alignItems:"center"}},y.createElement("div",{className:Pa!=null&&Pa.high_resources_consume?at.title:"",title:Za||"--"},y.createElement(jo.Z,{key:1,showLines:1,showTextOnly:!0,value:Za||"--"})),(Pa==null?void 0:Pa.high_resources_consume)&&y.createElement(ui.Z,{type:"shixun",style:{marginLeft:10}}))},{title:sa.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),dataIndex:"level"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(Za,Pa,Yn)=>y.createElement("span",null,Za||"- -")},{title:sa.formatMessage({id:"paperlibrary.usageCount",defaultMessage:"\u4F7F\u7528\u6B21\u6570"}),dataIndex:"study_count"},{title:y.createElement("span",null,"\u53D1\u5E03\u72B6\u6001 ",y.createElement(ba.Z,{title:"\u672A\u53D1\u5E03\u7684\u5B9E\u8DF5\u9879\u76EE\u4E0D\u80FD\u88AB\u9009\u7528"},y.createElement(ii.Z,null))),dataIndex:"shixun_tag_num_name",key:"shixun_tag_num_name",width:100,render:(Za,Pa,Yn)=>y.createElement("span",null,Za||"- -")},{title:sa.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),render(Za,Pa){const{title:Yn,challenge_names:Cr,author_name:Dr,identifier:Ur,author_school_name:Eo,study_count:xr}=Pa||{};return y.createElement("div",null,y.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{an.default.confirm({title:sa.formatMessage({id:"paperlibrary.questionDetails",defaultMessage:"\u9898\u76EE\u8BE6\u60C5"}),closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:y.createElement("div",null,y.createElement(jo.Z,{value:Yn,style:{marginBottom:18}}),y.createElement("div",{className:at.challengeNameWrapper},Cr.map((oo,Ar)=>y.createElement("div",{className:at.challengeName,key:Ar},"\u7B2C",(0,So.EM)(Ar+1),"\u9898\xA0",oo))),y.createElement(He.Z,{className:at.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},y.createElement(Te.Z,{className:at.shixunInfoWrapper},y.createElement("span",null,"\u521B\u5EFA\u8005"),y.createElement("span",{className:at.shixunInfo},Dr.split("\u3001")[0]),y.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{className:at.shixunInfo},Eo),y.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:at.shixunInfo},xr)),y.createElement(le.ZP,{type:"primary",className:at.btnToDetail,onClick:()=>(0,So.xg)(`/shixuns/${Ur}/challenges?exercise=true`)},y.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},sa.formatMessage({id:"paperlibrary.view",defaultMessage:"\u67E5\u770B"})),(Pa==null?void 0:Pa.shixun_tag_num)===1&&y.createElement("a",{target:"_blank",href:`/shixuns/${Pa==null?void 0:Pa.identifier}/challenges`,style:{marginLeft:10}},"\u53BB\u53D1\u5E03"))}}],dataSource:_n==null?void 0:_n.items,rowSelection:{selectedRowKeys:wr,preserveSelectedRowKeys:!0,getCheckboxProps:Za=>({disabled:Za.shixun_tag_num===1}),onChange(Za,Pa){var Yn,Cr,Dr;console.log(Za),Xa(Za);const Ur=[];for(const xr of co)Za.includes(xr.id)&&Ur.push(xr);const Eo=Ur.map(xr=>xr.id);for(const xr of Pa)xr&&Za.includes(xr.id)&&!Eo.includes(xr.id)&&Ur.push({id:xr.id,difficulty:xr.level,identifier:xr.identifier,name:xr.name,real_name:(Yn=xr==null?void 0:xr.author_name)==null?void 0:Yn.split("\u3001")[0],school_name:xr.author_school_name,challenge_names:xr.challenge_names,challenges:(Cr=xr.challenge_names)==null?void 0:Cr.map((oo,Ar)=>({subject:oo,id:Ar,score:5})),score:((Dr=xr.challenge_names)==null?void 0:Dr.length)*5,study_count:xr.study_count,challenges_count:xr.challenges_count});hr(Ur)}},pagination:{current:on.page,pageSize:on.limit,total:_n==null?void 0:_n.items_count,showTotal:Za=>y.createElement("span",null,"\u5171\xA0",y.createElement("span",{style:{color:"#165DFF"}},Za),"\xA0\u6761\u6570\u636E"),showQuickJumper:!0,onChange(Za,Pa){Mt({page:Za,limit:Pa})},size:"default"},scroll:{y:400}}))},Ai=ne(11414),to=ne(59301),Bi=Object.defineProperty,wi=Object.defineProperties,Lo=Object.getOwnPropertyDescriptors,Gi=Object.getOwnPropertySymbols,pi=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,Oi=(ct,pt,Gt)=>pt in ct?Bi(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,Yi=(ct,pt)=>{for(var Gt in pt||(pt={}))pi.call(pt,Gt)&&Oi(ct,Gt,pt[Gt]);if(Gi)for(var Gt of Gi(pt))el.call(pt,Gt)&&Oi(ct,Gt,pt[Gt]);return ct},di=(ct,pt)=>wi(ct,Lo(pt)),vl=({onDelete:ct,list:pt,onSelect:Gt})=>{const sa=(0,Ie.useIntl)(),[Ut,Sn]=(0,y.useState)(!1),{dispatch:on,disabled:wn}=(0,y.useContext)(Be),Mt=(Xa,co,hr)=>{const Za=Array.from(Xa),[Pa]=Za.splice(co,1);return Za.splice(hr,0,Pa),Za},[_n,oa]=(0,y.useState)(null),[na,wr]=(0,y.useState)(!1);return to.createElement(Ai.Z5,{onDragStart:()=>{wr(!0)},onDragEnd:Xa=>{if(wr(!1),!Xa.destination)return;const co=Mt(pt,Xa.source.index,Xa.destination.index);on({type:"updateItemTypes",payload:co})}},to.createElement(Ai.bK,{droppableId:"droppable"},(Xa,co)=>to.createElement("div",di(Yi({},Xa.droppableProps),{ref:Xa.innerRef}),to.createElement(Ze.Z,{spinning:Ut},pt.map((hr,Za)=>to.createElement(Ai._l,{key:Za,draggableId:Za.toString(),index:Za,isDragDisabled:_n!==hr.item_type},(Pa,Yn)=>to.createElement(He.Z,di(Yi(Yi({align:"middle",wrap:!1,ref:Pa.innerRef},Pa.draggableProps),Pa.dragHandleProps),{className:`${at.dragItem} ${na?at.dragging:""}`}),to.createElement(Te.Z,{className:at.contentArea,onClick:()=>{Gt(hr.item_type),(0,So.k3)()}},to.createElement("span",{className:at.blackText},(0,So.EM)(Za+1),"\u3001\u3010",hr.item_type_text,"\u3011"),to.createElement(ba.Z,{title:`\uFF08${hr.item_bank_count}\u5C0F\u9898\uFF0C\u5171${parseFloat(hr.total_score).toFixed(1)}\u5206\uFF09`},to.createElement("span",{className:at.greyText},`\uFF08${hr.item_bank_count}\u5C0F\u9898\uFF0C\u5171${parseFloat(hr.total_score).toFixed(1)}\u5206\uFF09`))),!wn&&to.createElement(to.Fragment,null,to.createElement(ba.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F",open:_n===hr.item_type&&!na},to.createElement("div",{style:{cursor:"grab"},className:`${at.iconWrapper} ${na?at.hidden:""}`,onMouseEnter:()=>{oa(hr.item_type)},onMouseLeave:()=>oa(null)},to.createElement("i",{className:`iconfont icon-tuodong1 ${at.dragIcon}`}))),to.createElement(ba.Z,{title:sa.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})},to.createElement("div",{className:`${at.iconWrapper} ${na?at.hidden:""}`,style:{cursor:"pointer"},onClick:()=>ct(hr.item_type)},to.createElement("i",{className:`iconfont icon-shanchu12 ${at.deleteIcon}`})))))))),Xa.placeholder)))},ol=ne(10777),no={flex_box_center:"flex_box_center___ppkzA",flex_space_between:"flex_space_between___Z1syx",flex_box_vertical_center:"flex_box_vertical_center___twJ9S",flex_box_center_end:"flex_box_center_end___uI0uW",flex_box_column:"flex_box_column___JRp7D",timelineWrapper:"timelineWrapper___LP9aM",title:"title___KUHj_",desc:"desc___ubc8E",titles:"titles___njkjf",questionDetailWrapper:"questionDetailWrapper___p4SFM",questionTitle:"questionTitle___JC9X6",questionScoreInfo:"questionScoreInfo___NgOJI",deleteIcon:"deleteIcon___oMVTN",deleteBtn:"deleteBtn___JUPEl",normalText:"normalText___FW9Y_",folderIcon:"folderIcon___gvacQ",challengeNameWrapper:"challengeNameWrapper___fG7Vv",challengeName:"challengeName___Ia1Xs",shixunPreviewFooter:"shixunPreviewFooter___rKsnN",shixunInfoWrapper:"shixunInfoWrapper___FEnDb",shixunInfo:"shixunInfo___TbrA2",btnToDetail:"btnToDetail___dqLQP",q_title:"q_title___qnv4p"},Wi=ne(73631),Va=ne(31328);const ga=(ct,pt,Gt,sa)=>{const Ut=(0,Ie.useIntl)(),Sn={[Qe.OnlyDifficulty]:[{title:Ut.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(on,wn){const{difficulty:Mt}=wn;return y.createElement("span",{style:{color:et[Mt].color}},et[Mt].label)}}],[Qe.OnlyKnowledge]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:Ut.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),dataIndex:"sub_discipline_name",width:180,ellipsis:{showTitle:!0},render(on,wn){return`${on}`}}],[Qe.OnlyFileFolder]:[{title:"\u6587\u4EF6\u5939",render(on,wn,Mt){const{group_name:_n,teacher_group_name:oa}=wn,na=_n||oa,wr=oa?Va:Wi;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:wr,className:no.folderIcon})," ",y.createElement(ba.Z,{title:na},y.createElement("span",{className:no.titles},na)))}},{title:Ut.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(on,wn){const{teacher_group_name:Mt}=wn;return y.createElement("span",null,Mt?Ut.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Ut.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}}],[Qe.KnowledgeAndDiff]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:{showTitle:!0}},{title:Ut.formatMessage({id:"paperlibrary.directionAndCourse",defaultMessage:"\u65B9\u5411&\u8BFE\u7A0B"}),width:180,dataIndex:"sub_discipline_name",ellipsis:{showTitle:!0}},{title:Ut.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(on,wn){const{difficulty:Mt}=wn;return y.createElement("span",{style:{color:et[Mt].color}},et[Mt].label)}}],[Qe.FileFolderAndKnowledge]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u6587\u4EF6\u5939",render(on,wn){const{group_name:Mt,teacher_group_name:_n}=wn,oa=Mt||_n,na=_n?Va:Wi;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:na,className:no.folderIcon})," ",y.createElement(ba.Z,{title:oa},y.createElement("span",{className:no.titles},oa)))}},{title:Ut.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(on,wn){const{teacher_group_name:Mt}=wn;return y.createElement("span",null,Mt?Ut.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Ut.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}}],[Qe.FileFolderAndDiff]:[{title:"\u6587\u4EF6\u5939",render(on,wn){const{group_name:Mt,teacher_group_name:_n}=wn,oa=Mt||_n,na=_n?Va:Wi;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:na,className:no.folderIcon})," ",y.createElement(ba.Z,{title:oa},y.createElement("span",{className:no.titles},oa)))}},{title:Ut.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(on,wn){const{teacher_group_name:Mt}=wn;return y.createElement("span",null,Mt?Ut.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Ut.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}},{title:Ut.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(on,wn){const{difficulty:Mt}=wn;return y.createElement("span",{style:{color:et[Mt].color}},et[Mt].label)}}],[Qe.All]:[{title:"\u77E5\u8BC6\u70B9",dataIndex:"tag_discipline_name",ellipsis:!0},{title:"\u6587\u4EF6\u5939",render(on,wn){const{group_name:Mt,teacher_group_name:_n,teacher_group_id:oa}=wn,na=Mt||_n,wr=oa||oa===0?Va:Wi;return y.createElement("div",{style:{display:"flex"}},y.createElement("img",{src:wr,className:no.folderIcon})," ",y.createElement(ba.Z,{title:na},y.createElement("span",{className:no.titles},na)))}},{title:Ut.formatMessage({id:"paperlibrary.type",defaultMessage:"\u7C7B\u578B"}),render(on,wn){const{teacher_group_id:Mt}=wn;return y.createElement("span",null,Mt||Mt===0?Ut.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):Ut.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"}))}},{title:Ut.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),key:"difficulty",render(on,wn){const{difficulty:Mt}=wn;return y.createElement("span",{style:{color:et[Mt].color}},et[Mt].label)}}],[Qe.Shixun]:[]};for(const on of Object.values(Sn))on.push({title:"\u62BD\u9898\u6570\u91CF",key:"quanlity",render(wn,Mt){const{item_bank_num:_n,quanlity:oa,id:na,teacher_group_id:wr}=Mt||{};return y.createElement(He.Z,{align:"middle"},y.createElement(Le.Z,{disabled:sa,min:1,max:_n,size:"large",precision:0,value:oa,onChange:Xa=>{pt({type:"changeQuestionNum",payload:{itemType:Gt,id:na,num:Xa,teacher_group_id:wr}})}}),y.createElement("span",{className:"ml10 font14",style:{color:"#333333"}},"/",_n))}},{title:Ut.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),key:"action",align:"right",render(wn,Mt){const{id:_n,is_share:oa}=Mt;return sa?y.createElement("span",{className:"cursorNotAllowed c-grey-999"},Ut.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})):y.createElement("span",{className:no.deleteBtn,onClick:()=>{pt({type:"deleteRule",payload:{itemType:Gt,id:_n,is_share:oa}})}},Ut.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"}))}});return Sn[ct]},da=({setVisibleModalType:ct})=>{var pt,Gt,sa,Ut;const Sn=(0,Ie.useIntl)(),{data:on,dispatch:wn,disabled:Mt}=(0,y.useContext)(Be),_n=(pt=on==null?void 0:on.item_types)==null?void 0:pt.find(oa=>oa.item_type==="PRACTICAL");return y.createElement(ol.Z,{className:no.timelineWrapper,items:[{children:y.createElement("div",{style:{transform:"translateY(-4px)"}},y.createElement(He.Z,{className:"mb20",align:"middle",justify:"space-between"},y.createElement(Te.Z,null,y.createElement("span",{className:no.title},Sn.formatMessage({id:"paperlibrary.selectFromQuestionBank",defaultMessage:"\u9898\u5E93\u9009\u9898"})),y.createElement("span",{className:no.desc},"\uFF08\u9700\u8981\u5148\u4ECE\u9898\u5E93\u4E2D\u9009\u62E9\u5B9E\u8BAD\u9898\uFF0C\u518D\u8BBE\u7F6E\u4ECE\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898\u7684\u6570\u91CF\uFF09")),!Mt&&y.createElement(ft.op,{style:{width:102},onClick:()=>ct("selectShixun")},"\u4ECE\u9898\u5E93\u9009\u62E9")),((Gt=_n==null?void 0:_n.item_banks)==null?void 0:Gt.length)===0?y.createElement(Nt.Z,{customText:"\u6682\u65E0\u5F85\u62BD\u8BD5\u9898\uFF0C\u8BF7\u5148\u4ECE\u9898\u5E93\u8FDB\u884C\u9009\u62E9\uFF5E"}):y.createElement(yn.default,{rowKey:"id",className:"mb10",columns:[{title:"\u5E8F\u53F7",width:60,render(oa,na,wr){return y.createElement("span",null,wr+1)}},{title:Sn.formatMessage({id:"paperlibrary.questionName",defaultMessage:"\u8BD5\u9898\u540D\u79F0"}),dataIndex:"name",width:"40%",ellipsis:{showTitle:!0},render:(oa,na)=>y.createElement("div",{style:{display:"flex",alignItems:"center"}},y.createElement("div",{className:na!=null&&na.high_resources_consume?no.q_title:"",title:oa||"--"},y.createElement(jo.Z,{key:1,showLines:1,showTextOnly:!0,value:oa})),(na==null?void 0:na.high_resources_consume)&&y.createElement(ui.Z,{type:"shixun",style:{marginLeft:10}}))},{title:Sn.formatMessage({id:"paperlibrary.usageCount",defaultMessage:"\u4F7F\u7528\u6B21\u6570"}),dataIndex:"study_count"},{title:"\u5173\u5361\u6570\u91CF",dataIndex:"challenges_count",key:"challenges_count",render:(oa,na,wr)=>y.createElement("span",null,oa||"- -")},{title:Sn.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"}),dataIndex:"difficulty"},{title:Sn.formatMessage({id:"paperlibrary.operation",defaultMessage:"\u64CD\u4F5C"}),align:"right",width:180,render(oa,na,wr){const{id:Xa,identifier:co,name:hr,challenge_names:Za=[],real_name:Pa,school_name:Yn,study_count:Cr,challenges:Dr=[]}=na||{};return y.createElement("div",null,y.createElement("span",{style:{color:"#165DFF",cursor:"pointer",marginLeft:20},onClick:()=>{an.default.confirm({title:Sn.formatMessage({id:"paperlibrary.questionDetails",defaultMessage:"\u9898\u76EE\u8BE6\u60C5"}),closable:!0,width:1e3,centered:!0,icon:null,footer:null,content:y.createElement("div",null,y.createElement(jo.Z,{value:hr,style:{marginBottom:18}}),y.createElement("div",{className:no.challengeNameWrapper},Dr==null?void 0:Dr.map((Ur,Eo)=>y.createElement("div",{className:no.challengeName,key:Eo},"\u7B2C",(0,So.EM)(Eo+1),"\u9898\xA0",Ur==null?void 0:Ur.subject))),y.createElement(He.Z,{className:no.shixunPreviewFooter,justify:"space-between",style:{alignItems:"center"}},y.createElement(Te.Z,{className:no.shixunInfoWrapper},y.createElement("span",null,"\u521B\u5EFA\u8005"),y.createElement("span",{className:no.shixunInfo},Pa),y.createElement("span",null,"\u6240\u5C5E\u5355\u4F4D"),y.createElement("span",{className:no.shixunInfo},Yn),y.createElement("span",null,"\u5B66\u4E60\u4EBA\u6570"),y.createElement("span",{className:no.shixunInfo},Cr)),y.createElement(le.ZP,{type:"primary",className:no.btnToDetail,onClick:()=>(0,So.xg)(`/shixuns/${co}/challenges?exercise=true`)},y.createElement("i",{className:"iconfont icon-shixunkecheng"}),"\u5B9E\u8BAD\u8BE6\u60C5")))})}},Sn.formatMessage({id:"paperlibrary.view",defaultMessage:"\u67E5\u770B"})),!Mt&&y.createElement("span",{onClick:()=>{wn({type:"deleteShixunQuestion",payload:{shixunId:Xa}})},className:`ml20 ${no.deleteBtn}`},Sn.formatMessage({id:"paperlibrary.delete",defaultMessage:"\u5220\u9664"})))}}],dataSource:(_n==null?void 0:_n.item_banks)||[],pagination:!1}))},{children:y.createElement(He.Z,{style:{transform:(sa=_n==null?void 0:_n.item_banks)!=null&&sa.length?"translateY(-8px)":"none"},align:"middle",justify:"space-between"},y.createElement("span",{className:no.title},"\u5DF2\u9009\u5B9E\u8BAD\u9898\u4E2D\u968F\u673A\u62BD\u9898"),!!((Ut=_n==null?void 0:_n.item_banks)!=null&&Ut.length)&&y.createElement(Te.Z,null,y.createElement(He.Z,{align:"middle"},y.createElement("span",{className:no.normalText},"\u62BD\u9898\u6570\u91CF"),y.createElement(Le.Z,{min:0,disabled:Mt,max:_n==null?void 0:_n.item_bank_num,size:"large",precision:0,className:"ml10 mr10",value:(_n==null?void 0:_n.item_bank_count)||1,onChange:oa=>wn({type:"changeQuestionNum",payload:{num:oa||1,itemType:"PRACTICAL"}})}),y.createElement("span",{className:`${no.normalText} mr30`},"/",_n==null?void 0:_n.item_bank_num),y.createElement("span",{className:no.normalText},"\u6BCF\u9898\u5206\u503C"),y.createElement(Le.Z,{disabled:Mt,min:0,max:100,precision:1,size:"large",precision:1,className:"ml10 mr10",value:_n==null?void 0:_n.score,onChange:oa=>wn({type:"changeQuestionScore",payload:{score:oa,itemType:"PRACTICAL"}})}),y.createElement("span",{className:no.normalText},"\u5206"))))}]})};var Nr=({setVisibleModalType:ct,currentItemType:pt,onDelete:Gt})=>{var sa,Ut;const Sn=(0,Ie.useIntl)(),on=(0,Ie.useParams)(),{data:wn,dispatch:Mt,disabled:_n}=(0,y.useContext)(Be),oa=((sa=wn==null?void 0:wn.item_types)==null?void 0:sa.findIndex(wr=>wr.item_type===pt))+1,na=(Ut=wn==null?void 0:wn.item_types)==null?void 0:Ut.find(wr=>wr.item_type===pt);return y.createElement("div",{className:no.questionDetailWrapper},y.createElement(He.Z,{justify:"space-between",align:"middle",className:"mb30"},y.createElement(Te.Z,null,y.createElement("span",{className:no.questionTitle},`${(0,So.EM)(oa)}\u3001${na==null?void 0:na.item_type_text}`),y.createElement("span",{className:no.questionScoreInfo},"\uFF08",y.createElement("span",{style:{color:"#3061D0"}},na==null?void 0:na.item_bank_count),"\u5C0F\u9898 ",y.createElement("span",null,"\uFF0C\u5171",y.createElement("span",{style:{color:"#3061D0"}},na==null?void 0:na.total_score),"\u5206"),"\uFF09")),!_n&&y.createElement("i",{className:`iconfont icon-shanchutimu ${no.deleteIcon}`,onClick:()=>Gt(pt)})),pt==="PRACTICAL"?y.createElement(da,{setVisibleModalType:ct}):y.createElement(y.Fragment,null,(na==null?void 0:na.contents.length)===0?y.createElement(Nt.Z,{styles:{margin:"70px auto 100px auto"},customText:y.createElement("span",null,"\u6682\u65E0\u62BD\u9898\u89C4\u5219\uFF0C\u652F\u6301",y.createElement("span",{style:{color:"#EA9741"}},"\u6307\u5B9A\u6587\u4EF6\u5939\u3001\u96BE\u5EA6\u3001\u77E5\u8BC6\u70B9"),"\u8FDB\u884C\u62BD\u9898\uFF5E"),ButtonTwo:(on==null?void 0:on.id)&&y.createElement(He.Z,{justify:"center",className:"mt30"},y.createElement(ft.op,{style:{width:136,marginTop:-10},onClick:()=>ct("rule")},Sn.formatMessage({id:"paperlibrary.setQuestionRules",defaultMessage:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"})))}):y.createElement(y.Fragment,null,y.createElement(He.Z,{justify:"space-between",align:"middle",className:"mb20"},y.createElement(Te.Z,null,y.createElement(He.Z,{align:"middle"},y.createElement("span",{className:`${no.normalText}`},"\u6BCF\u9898\u5206\u503C"),y.createElement(Le.Z,{disabled:_n,size:"large",className:"ml10 mr10",min:.1,max:100,value:na==null?void 0:na.score,precision:1,onChange:wr=>Mt({type:"changeQuestionScore",payload:{score:wr,itemType:pt}})}),y.createElement("span",{className:no.normalText},"\u5206"))),(on==null?void 0:on.id)&&y.createElement(ft.op,{onClick:()=>ct("rule")},Sn.formatMessage({id:"paperlibrary.setQuestionRules",defaultMessage:"\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219"}))),y.createElement(yn.default,{columns:ga(na==null?void 0:na.random_rule_type,Mt,pt,_n),dataSource:na==null?void 0:na.contents,pagination:!1,rowKey:"id"}))))},Gr=ne(96935),No=ne(87513),Ao=ne(41867),Yo=ne(32637),Fa=ne(59301),Pi=Object.defineProperty,$o=Object.defineProperties,Di=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,Ki=(ct,pt,Gt)=>pt in ct?Pi(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,Vt=(ct,pt)=>{for(var Gt in pt||(pt={}))tl.call(pt,Gt)&&Ki(ct,Gt,pt[Gt]);if(vi)for(var Gt of vi(pt))nl.call(pt,Gt)&&Ki(ct,Gt,pt[Gt]);return ct},Qt=(ct,pt)=>$o(ct,Di(pt)),rn=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())}),Ga=({})=>{var ct,pt,Gt,sa,Ut,Sn,on,wn,Mt,_n,oa,na,wr,Xa,co;const hr=(0,Ie.useIntl)(),[Za]=(0,Ie.useSearchParams)(),Pa=(0,Ie.useParams)(),{data:Yn,dispatch:Cr,setPreview:Dr,getData:Ur,handlePreview:Eo,disabled:xr}=(0,y.useContext)(Be),[oo,Ar]=(0,y.useState)(""),[Ra,Wr]=(0,y.useState)((pt=(ct=Yn==null?void 0:Yn.item_types)==null?void 0:ct[0])==null?void 0:pt.item_type),[fo,wo]=(0,y.useState)(!0),[yi,il]=(0,y.useState)(!1),Ge=(Cn,Tn)=>rn(void 0,null,function*(){var aa,Xn,jn,vn,la,fa,tr;const Ir=Yn.item_types.map(va=>va.item_type_text),gr=(aa=Yn==null?void 0:Yn.item_types)==null?void 0:aa.filter(va=>{var Sr,Ta;return((Sr=va.contents)==null?void 0:Sr.length)>0||((Ta=va==null?void 0:va.item_banks)==null?void 0:Ta.length)>0});if(Yn.sort_by_item_type=Ir,!((Xn=Yn.item_types)!=null&&Xn.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if((gr==null?void 0:gr.length)===0){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if(!Cn){const va=Number((jn=Yn==null?void 0:Yn.examination_bank)==null?void 0:jn.total_score);[100,120,150].includes(va)||(yield new Promise((Sr,Ta)=>{an.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:hr.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:hr.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Fa.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",Fa.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},va),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>rn(void 0,null,function*(){Sr("")}),onCancel:()=>{Ta()}})}))}let Fn=()=>rn(void 0,null,function*(){const va=(0,ot.cloneDeep)(Yn),{item_types:Sr}=va||{};va.item_types=Sr.filter(ur=>ur.item_type===Ra),(yield fe(Pa.id||Pa.categoryId,va)).status===0&&(Wr(Tn),Ce.ZP.success("\u4FDD\u5B58\u6210\u529F"),Cn||Ie.history.push("/paperlibrary"))}),kn=(la=(vn=Yn==null?void 0:Yn.item_types)==null?void 0:vn.filter(va=>va.item_type_text==="\u5B9E\u8BAD\u9898")[0])==null?void 0:la.item_banks,qn=0;kn==null||kn.map(va=>{va.high_resources_consume&&(qn=qn+1)}),console.log(qn),qn>0?an.default.info({centered:!0,icon:null,width:600,okText:"\u6211\u77E5\u9053\u4E86",title:hr.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Fa.createElement("div",null,Fa.createElement("div",{className:at.tipcontent},Fa.createElement("div",null,Fa.createElement("div",{className:at.name},"\u60A8\u597D\uFF01",(fa=(0,Ao.eY)())==null?void 0:fa.username,"\uFF08",(tr=(0,Ao.eY)())==null?void 0:tr.login,"\uFF09\uFF1A"),Fa.createElement("div",{className:at.tip},"\u5F53\u524D\u8BD5\u5377\u5305\u542B\u9AD8\u6D88\u8017\u7C7B\u578B\u7684\u5B9E\u9A8C\u3002",Fa.createElement("br",null),"\u6839\u636E\u5E73\u53F0\u4F7F\u7528\u89C4\u5219\uFF0C\u9700\u8981\u6388\u6743\u624D\u80FD\u4F7F\u7528\u3002\u53D1\u5E03\u8003\u8BD5\u524D\uFF0C\u8BF7\u5148\u8054\u7CFB\u5E73\u53F0\u7BA1\u7406\u5458\u83B7\u53D6\u6388\u6743\u7801\u3002"),Fa.createElement("div",{className:at.info},Fa.createElement("i",{className:"iconfont icon-xunifangzhenti1 mr10 font26"}),Fa.createElement("span",{className:"mr10",style:{color:"#6A7283"}},"\u9AD8\u6D88\u8017\u5B9E\u9A8C"),Fa.createElement("span",{style:{color:"#232B40"}},`${qn}\u4E2A`))),Fa.createElement("div",null,Fa.createElement("div",{className:at.img},Fa.createElement("img",{src:Yo,width:"124px",height:"124px"})),Fa.createElement("div",{className:"tc font14 mt10",style:{color:"#777A93"}},"\u626B\u4E00\u626B\uFF0C\u83B7\u53D6\u6388\u6743\u7801")))),onOk:()=>{Fn()}}):Fn()}),nt=(Cn,Tn,aa,Xn=!1)=>rn(void 0,null,function*(){console.log(Yn);const jn=Qt(Vt(Vt({},Yn.exercise),Pa),{exerciseId:Pa.categoryId,sort_by_item_type:Yn.sort_by_item_type,difficulty:Yn.examination_bank.difficulty,exam_notes:Yn.examination_bank.exam_notes,exercise_name:Yn.examination_bank.name,time:Yn.examination_bank.time,changed_item_type:Ra,item_types:Yn.item_types,changed_item_type:Ra,sub_discipline_id:Yn.examination_bank.sub_discipline_id});(!Cn||Tn===1)&&(jn.is_reset=1);const vn=yield(0,No.wy)(jn);return vn.status===0&&(Xn||Ce.ZP.success("\u4FEE\u6539\u6210\u529F "),Wr(aa),Cn||Ie.history.push(`/classrooms/${Pa.coursesId}/exercise/${Pa.categoryId}/detail?random=true`)),vn}),Et=Cn=>{an.default.confirm({title:hr.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),icon:null,centered:!0,closable:!0,content:Fa.createElement("div",null,"\u786E\u8BA4\u5220\u9664\u8BE5\u9898\u578B\uFF1F"),onOk:()=>rn(void 0,null,function*(){var Tn,aa,Xn,jn;if(Pa.id){if((yield Xe(Pa.id,{item_type:[Cn]})).status!==0)return}else{const vn=yield We(Pa.categoryId,{item_type:[Cn]});if(Ur(),vn.status!==0)return}if(Cr({type:"deleteQuestionType",payload:Cn}),Cn===Ra){const vn=De(Yn,{type:"deleteQuestionType",payload:Cn});Wr(vn.item_types.length?vn.item_types[0].item_type:(aa=(Tn=Yn==null?void 0:Yn.item_types)==null?void 0:Tn[0])==null?void 0:aa.item_type)}else Wr((jn=(Xn=Yn==null?void 0:Yn.item_types)==null?void 0:Xn[0])==null?void 0:jn.item_type)})})};(0,y.useEffect)(()=>{var Cn;(Cn=Yn==null?void 0:Yn.examination_bank)!=null&&Cn.name&&wo(!1),(0,So.Dk)(hr.formatMessage({id:"paperlibrary.randomPaperCreation",defaultMessage:"\u968F\u673A\u7EC4\u5377"}))},[(Gt=Yn==null?void 0:Yn.examination_bank)==null?void 0:Gt.name]);const Dt=()=>rn(void 0,null,function*(){var Cn;let Tn=yield nt(!0,1,Ra,!0);if((Tn==null?void 0:Tn.status)===0){const aa=yield(0,E.ZP)(`/api/exercises/${Pa==null?void 0:Pa.categoryId}/simulate_start_answer.json`,{method:"get",params:{coursesId:Pa==null?void 0:Pa.coursesId,categoryId:Pa==null?void 0:Pa.categoryId}});(aa==null?void 0:aa.status)!=-1&&window.open(`/classrooms/${Pa.coursesId}/exercise/${Pa.categoryId}/${(Cn=(0,Ao.eY)())==null?void 0:Cn.login}/initate_answer`)}});return Fa.createElement("div",{className:at.questionInfo},Fa.createElement("div",{className:"tc mb20"},Fa.createElement(se.VP,{defaultValue:(sa=Yn==null?void 0:Yn.examination_bank)==null?void 0:sa.name,onFinish:Cn=>rn(void 0,null,function*(){return Cr({type:"updateBaseInfo",payload:Qt(Vt({},Yn.examination_bank),{name:Cn})}),(0,No.wy)({exercise_name:Cn,exerciseId:Pa==null?void 0:Pa.categoryId}),!0})})),Fa.createElement(He.Z,{justify:"center",className:"mb20"},Fa.createElement(Te.Z,{className:"mr30"},Fa.createElement("span",{className:at.label},hr.formatMessage({id:"paperlibrary.answerTime",defaultMessage:"\u7B54\u9898\u65F6\u957F"})),Fa.createElement("span",null,((Ut=Yn==null?void 0:Yn.examination_bank)==null?void 0:Ut.time)===-1?"\u4E0D\u9650":((Sn=Yn==null?void 0:Yn.examination_bank)==null?void 0:Sn.time)||"\u4E0D\u9650")),Fa.createElement(Te.Z,{className:"mr30"},Fa.createElement("span",{className:at.label},hr.formatMessage({id:"paperlibrary.difficulty",defaultMessage:"\u96BE\u5EA6"})),Fa.createElement("span",null,(wn=et[`${(on=Yn==null?void 0:Yn.examination_bank)==null?void 0:on.difficulty}`])==null?void 0:wn.label)),Fa.createElement(Te.Z,{className:"mr30"},Fa.createElement("span",{className:at.label},"\u8BD5\u9898\u603B\u6570"),Fa.createElement("span",null,((Mt=Yn==null?void 0:Yn.examination_bank)==null?void 0:Mt.question_count)||0)),Fa.createElement(Te.Z,null,Fa.createElement("span",{className:at.label},hr.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"})),Fa.createElement("span",null,((oa=(_n=Yn==null?void 0:Yn.examination_bank)==null?void 0:_n.total_score)==null?void 0:oa.toFixed(1))||0))),Fa.createElement("div",{className:at.content,style:{border:((na=Yn==null?void 0:Yn.item_types)==null?void 0:na.length)<=0&&"none"}},((wr=Yn==null?void 0:Yn.item_types)==null?void 0:wr.length)>0?Fa.createElement(He.Z,{wrap:!1},Fa.createElement(Te.Z,{flex:"260px",className:at.leftPart},!xr&&Fa.createElement(He.Z,{className:"mb20"},Fa.createElement(ft.op,{style:{margin:"0 15px",borderRadius:2},onClick:()=>Ar("setScore")},hr.formatMessage({id:"paperlibrary.batchSetScore",defaultMessage:"\u6279\u91CF\u8BBE\u7F6E\u5206\u503C"})),(Pa==null?void 0:Pa.id)&&Fa.createElement(ft.op,{shape:"default",onClick:()=>Ar("questionType")},hr.formatMessage({id:"paperlibrary.addQuestionType",defaultMessage:"\u6DFB\u52A0\u9898\u578B"}))),Fa.createElement(vl,{list:Yn.item_types,onSelect:Cn=>rn(void 0,null,function*(){if(Cn===Ra)return;wo(!0);const Tn=Yn.item_types.find(aa=>aa.item_type===Ra);if(Ra!=="PRACTICAL"&&Tn.contents.length>0&&(Pa!=null&&Pa.id)){const aa=(0,ot.cloneDeep)(Yn),{item_types:Xn}=aa||{};aa.item_types=Xn.filter(jn=>jn.item_type===Ra);try{(yield fe(Pa.id||Pa.categoryId,aa)).status===0&&Wr(Cn)}catch(jn){}}else Pa.categoryId?nt(!0,2,Cn):Ge(!0,Cn);wo(!1)}),onDelete:Et})),Fa.createElement(Te.Z,{flex:1,className:at.rightPart},Fa.createElement(Ze.Z,{spinning:fo},Fa.createElement(Nr,{setVisibleModalType:Ar,currentItemType:Ra,onDelete:Et})))):Fa.createElement(Nt.Z,{customText:hr.formatMessage({id:"paperlibrary.setQuestionTypeFirst",defaultMessage:"\u8BF7\u5148\u8BBE\u7F6E\u8BD5\u5377\u9898\u578B"}),styles:{margin:"70px auto"},ButtonTwo:Fa.createElement(He.Z,{justify:"center",className:"mt20"},(Pa==null?void 0:Pa.id)&&Fa.createElement(ft.op,{style:{width:88},onClick:()=>Ar("questionType")},hr.formatMessage({id:"paperlibrary.addQuestionType",defaultMessage:"\u6DFB\u52A0\u9898\u578B"})))})),!!(Pa!=null&&Pa.id)&&Fa.createElement("div",{className:at.fixedBottom},Fa.createElement(Gr.Z,{className:`${at.previewBtn} mr20`,onClick:()=>rn(void 0,null,function*(){var Cn,Tn;const aa=(Cn=Yn==null?void 0:Yn.item_types)==null?void 0:Cn.filter(Xn=>{var jn,vn;return((jn=Xn.contents)==null?void 0:jn.length)>0||((vn=Xn==null?void 0:Xn.item_banks)==null?void 0:vn.length)>0});if(!((Tn=Yn.item_types)!=null&&Tn.length)){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}if((aa==null?void 0:aa.length)===0){Ce.ZP.warning("\u8BD5\u9898\u603B\u6570=0\uFF0C\u8BF7\u5148\u8BBE\u7F6E\u62BD\u9898\u89C4\u5219");return}yield Ge(!0,Ra),Eo()})},hr.formatMessage({id:"paperlibrary.examPreview",defaultMessage:"\u8BD5\u5377\u9884\u89C8"})),Fa.createElement(Gr.Z,{type:"primary",className:at.confirmBtn,onClick:()=>Ge()},Fa.createElement("i",{className:"iconfont icon-baocun1 mr5"}),"\u4FDD\u5B58\u8BD5\u5377")),!!(Pa!=null&&Pa.categoryId)&&Fa.createElement("div",{className:at.fixedBottom,style:{justifyContent:((Xa=Yn==null?void 0:Yn.exercise)==null?void 0:Xa.exercise_status)!==1?"end":"center"}},Fa.createElement(Gr.Z,{className:`${at.previewBtn} mr20`,onClick:()=>rn(void 0,null,function*(){var Cn,Tn;document.body.scrollIntoView(),Ie.history.push(`/classrooms/${Pa.coursesId}/exercise/${(Cn=Yn==null?void 0:Yn.exercise)==null?void 0:Cn.id}/detail?random=${(Tn=Yn==null?void 0:Yn.exercise)==null?void 0:Tn.is_random}`)})},"\u8FD4\u56DE"),((co=Yn==null?void 0:Yn.exercise)==null?void 0:co.exercise_status)===1&&Fa.createElement(Gr.Z,{className:`${at.previewBtn} mr20`,onClick:Dt},hr.formatMessage({id:"paperlibrary.mockExam",defaultMessage:"\u6A21\u62DF\u8003\u8BD5"})),(Yn==null?void 0:Yn.exercise.exercise_status)===1&&Fa.createElement(Gr.Z,{type:"primary",className:at.confirmBtn,onClick:()=>rn(void 0,null,function*(){var Cn;const Tn=Number((Cn=Yn==null?void 0:Yn.examination_bank)==null?void 0:Cn.total_score);[100,120,150].includes(Tn)||(yield new Promise((aa,Xn)=>{an.default.confirm({centered:!0,icon:null,okText:"\u4FDD\u5B58",cancelText:hr.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),title:hr.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:Fa.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",Fa.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},Tn),"\u5206\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u8FDB\u884C\u4FDD\u5B58\uFF1F"),onOk:()=>rn(void 0,null,function*(){aa("")}),onCancel:()=>{Xn()}})})),nt()})},"\u63D0\u4EA4")),Fa.createElement(En,{open:oo==="questionType",onCancel:()=>Ar(""),onOk:Cn=>rn(void 0,null,function*(){var Tn,aa;const Xn=[],jn=De(Yn,{type:"setQuestionType",payload:Cn}),vn=((Tn=jn==null?void 0:jn.item_types)==null?void 0:Tn.map(la=>la.item_type))||[];for(const la of((aa=Yn==null?void 0:Yn.item_types)==null?void 0:aa.map(fa=>fa.item_type))||[])vn.includes(la)||Xn.push(la);Pa.id&&Xn.length>0&&(yield Xe(Pa.id,{item_type:Xn})).status!==0||(Cr({type:"setQuestionType",payload:Cn}),Wr(Ra||jn.item_types[0].item_type),Ar(""))})}),Fa.createElement(Sa,{open:oo==="setScore",onCancel:()=>{Ar("")},onOk:Cn=>rn(void 0,null,function*(){console.log("---newData",Cn);const Tn=Cn.item_types.map(aa=>({item_type:aa.item_type,score:aa.score}));Pa.id?(yield Ne(Pa.id,{score_settings:Tn})).status===0&&Cr({type:"init",payload:Cn}):(yield pe(Pa.categoryId,{score_settings:Tn})).status===0&&Cr({type:"init",payload:Cn}),Ar("")})}),Fa.createElement(Io,{open:oo==="rule",onCancel:()=>Ar(""),currentItemType:Ra,setVisibleModalType:Ar}),Za.get("type")==="settings"&&Fa.createElement(qo,{open:oo==="selectShixun",onCancel:()=>Ar(""),onOk:Cn=>{if(console.log(Cn),(Cn==null?void 0:Cn.length)<=0){Ce.ZP.info("\u5B9E\u8BAD\u6570\u4E0D\u80FD\u4E3A0");return}Cr({type:"addShixun",payload:{shixunList:[...Cn]}}),Ar("")}}))},or=ne(26971),On=ne(59301),Wa=Object.defineProperty,er=Object.defineProperties,Pr=Object.getOwnPropertyDescriptors,ro=Object.getOwnPropertySymbols,Qn=Object.prototype.hasOwnProperty,jr=Object.prototype.propertyIsEnumerable,uo=(ct,pt,Gt)=>pt in ct?Wa(ct,pt,{enumerable:!0,configurable:!0,writable:!0,value:Gt}):ct[pt]=Gt,Oo=(ct,pt)=>{for(var Gt in pt||(pt={}))Qn.call(pt,Gt)&&uo(ct,Gt,pt[Gt]);if(ro)for(var Gt of ro(pt))jr.call(pt,Gt)&&uo(ct,Gt,pt[Gt]);return ct},ar=(ct,pt)=>er(ct,Pr(pt)),sr=(ct,pt,Gt)=>new Promise((sa,Ut)=>{var Sn=Mt=>{try{wn(Gt.next(Mt))}catch(_n){Ut(_n)}},on=Mt=>{try{wn(Gt.throw(Mt))}catch(_n){Ut(_n)}},wn=Mt=>Mt.done?sa(Mt.value):Promise.resolve(Mt.value).then(Sn,on);wn((Gt=Gt.apply(ct,pt)).next())}),qr=()=>{var ct,pt,Gt,sa;const Ut=(0,Ie.useIntl)(),[Sn,on]=(0,y.useState)("baseInfo"),wn=(0,Ie.useDispatch)();(0,y.useEffect)(()=>{wn({type:"globalSetting/footerToggle",payload:!1})},[]);const Mt=(0,Ie.useParams)(),_n=!!(Mt.id||Mt.categoryId),[oa]=(0,Ie.useSearchParams)();(0,y.useEffect)(()=>{oa.get("type")==="settings"&&on("settings")},[]);const[na,wr]=(0,y.useReducer)(De,null),[Xa,co]=(0,y.useState)(!1),hr=()=>sr(void 0,null,function*(){co(!0);let Ra;Mt.categoryId?Ra=yield mt(Mt):Ra=yield ge(Mt.id),co(!1),Ra.status===0&&wr({type:"init",payload:Ra})});(0,y.useEffect)(()=>{_n?hr():wr({type:"init",payload:{examination_bank:{difficulty:2}}})},[Mt]);const[Za,Pa]=(0,y.useState)(""),Yn=(Ra,Wr)=>sr(void 0,null,function*(){var fo,wo,yi,il;const Ge=(fo=na==null?void 0:na.item_types)==null?void 0:fo.filter(Dt=>{var Cn;return((Cn=Dt==null?void 0:Dt.item_type)==null?void 0:Cn.toUpperCase())===(Wr==null?void 0:Wr.type)}),nt={sort_by_item_type:na.sort_by_item_type,difficulty:na.examination_bank.difficulty,exam_notes:na.examination_bank.exam_notes,name:na.examination_bank.name,time:na.examination_bank.time,item_types:na.item_types};if(Ra!==void 0&&!(Ra!=null&&Ra.single_question_id)){nt.seleted_item_bank_ids=Ra==null?void 0:Ra.seleted_item_bank_ids,nt.item_types=Ge;const Dt=yield Re(nt);if((Dt==null?void 0:Dt.status)===0){let Cn=(0,ot.cloneDeep)(xr.data);Cn.questionList=(wo=Cn==null?void 0:Cn.questionList)==null?void 0:wo.map(Tn=>{var aa;return Tn.type===Wr.type?ar(Oo({},Tn),{questions:((aa=Dt==null?void 0:Dt.questions)==null?void 0:aa.questions)||[]}):Tn}),oo({show:!0,data:Cn})}return}if(Ra!==void 0&&(Ra!=null&&Ra.single_question_id)){nt.seleted_item_bank_ids=Ra==null?void 0:Ra.seleted_item_bank_ids,nt.single_question_id=Ra==null?void 0:Ra.single_question_id,nt.item_types=Ge;const Dt=yield Re(nt);if((Dt==null?void 0:Dt.status)===0){let Cn=(0,ot.cloneDeep)(xr.data);Cn.questionList=(yi=Cn==null?void 0:Cn.questionList)==null?void 0:yi.map(Tn=>{var aa,Xn;if(Tn.type===Wr.type){const jn=(0,ot.cloneDeep)(Tn==null?void 0:Tn.questions);return jn.splice(Wr.index,1,(Xn=(aa=Dt==null?void 0:Dt.questions)==null?void 0:aa.questions)==null?void 0:Xn[0]),console.log(Tn==null?void 0:Tn.questions,jn,Wr.index,"new_questions"),ar(Oo({},Tn),{questions:jn})}return Tn}),oo({show:!0,data:Cn})}return}const Et=yield ut(nt);if((Et==null?void 0:Et.status)===0){const Dt=(0,So.ad)(Et);let Cn=[];(il=na==null?void 0:na.item_types)==null||il.forEach(Tn=>{var aa;const Xn=(aa=Dt==null?void 0:Dt.questionList)==null?void 0:aa.find(jn=>Tn.item_type===jn.type);Cn.push(Xn)}),console.log(na,"sortList"),Cn=(0,ot.compact)(Cn),Dt.questionList=Cn,oo({show:!0,data:Dt}),Pa(new Date)}}),Cr=Ra=>{var Wr;let fo=(0,ot.cloneDeep)(xr.data);fo.questionList=(Wr=fo==null?void 0:fo.questionList)==null?void 0:Wr.map(wo=>wo.type===Ra.type?ar(Oo({},wo),{questions_score:Ra.scoreTotal}):wo),wr({type:"changeQuestionScore",payload:{score:Ra.score,itemType:Ra.type}}),oo({show:!0,data:fo})},Dr=Ra=>sr(void 0,null,function*(){const Wr={sort_by_item_type:na.sort_by_item_type,difficulty:na.examination_bank.difficulty,exam_notes:na.examination_bank.exam_notes,name:na.examination_bank.name,time:na.examination_bank.time,item_types:na.item_types,sub_discipline_id:na.examination_bank.sub_discipline_id};if(Ra){(yield _e(Oo(Oo({},Wr),Ra))).status===0&&Ce.ZP.success("\u4FDD\u5B58\u6210\u529F");return}(yield fe(Mt.id,Wr)).status===0&&(Ce.ZP.success("\u63D0\u4EA4\u6210\u529F"),Ie.history.push("/paperlibrary?defaultActiveKey=0"))}),Ur=(0,Go.g)(),[Eo]=Oe.default.useForm(),[xr,oo]=(0,y.useState)({show:!1,data:{}}),Ar=!!((ct=na==null?void 0:na.exercise)!=null&&ct.exercise_status)&&((pt=na==null?void 0:na.exercise)==null?void 0:pt.exercise_status)!==1;return On.createElement(Be.Provider,{value:{data:na,disabled:Ar,dispatch:wr,setPreview:oo,getData:hr,handlePreview:Yn}},xr.show?On.createElement(or.Z,{key:Za,data:xr.data,onExchange:Yn,onTypeScore:Cr,submit:Dr,goBack:()=>oo({show:!1,data:{}})}):On.createElement("div",{className:ue.wrapper},On.createElement("div",{className:"edu-container"},On.createElement(we.Z,{className:ue.breadCrumbWrapper,separator:">",items:Mt!=null&&Mt.categoryId?[{title:On.createElement(Ie.Link,{to:`/classrooms/${Mt.coursesId}/exercise`},(sa=(Gt=(0,Ao.eY)())==null?void 0:Gt.course)==null?void 0:sa.course_name)},{title:On.createElement(Ie.Link,{to:`/classrooms/${Mt.coursesId}/exercise`},"\u8BD5\u5377\u5217\u8868")},{title:"\u7F16\u8F91\u8BD5\u5377"}]:[{title:On.createElement(Ie.Link,{to:"/paperlibrary"},Ut.formatMessage({id:"paperlibrary.questionBank",defaultMessage:"\u8BD5\u5377\u5E93"}))},{title:Ut.formatMessage({id:"paperlibrary.randomPaperCreation",defaultMessage:"\u968F\u673A\u7EC4\u5377"})}]}),On.createElement(se.d4,{activeKey:Sn,tabs:[{key:"baseInfo",label:Ut.formatMessage({id:"paperlibrary.examBasicInfo",defaultMessage:"\u8BD5\u5377\u57FA\u7840\u4FE1\u606F"})},{key:"settings",label:Ut.formatMessage({id:"paperlibrary.paperConfiguration",defaultMessage:"\u7EC4\u5377\u914D\u7F6E"})}],onChange:Ra=>sr(void 0,null,function*(){if(Ra==="settings"&&(yield Eo.validateFields(),!_n)){const Wr=yield ce(na);Wr.status===0&&Ie.history.replace(`/randompaper/edit/${Wr==null?void 0:Wr.examination_bank_id}?type=settings`)}on(Ra)})}),Sn==="baseInfo"&&On.createElement(tn,{courseOptions:Ur,setCurrentKey:on,loading:Xa,form:Eo}),On.createElement("div",{style:{display:Sn==="settings"?"block":"none"}},na&&On.createElement(Ga,null)))))}},24100:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ze}});var y=ne(65582),ue=ne(43418),Ce={ul:"ul___TdfYY"},Oe=ne(32637),we=ne(59301),Ie=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Ke=(He,Le)=>{var le={};for(var E in He)se.call(He,E)&&Le.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&Ie)for(var E of Ie(He))Le.indexOf(E)<0&&Ze.call(He,E)&&(le[E]=He[E]);return le},ze=He=>{var Le=He,{open:le,onCancel:E}=Le,a=Ke(Le,["open","onCancel"]);const x=(0,y.useIntl)();return we.createElement(ue.default,{centered:!0,open:le,title:we.createElement("div",{style:{fontWeight:"bold"}},x.formatMessage({id:"paths.contactTeachingAssistant",defaultMessage:"\u8054\u7CFB\u6559\u7814\u52A9\u7406"})),width:"696px",onCancel:E,footer:null},we.createElement("div",null,we.createElement("div",{className:"tc"},we.createElement("img",{className:"mt10",src:Oe,width:"182px",height:"181px",style:{borderRadius:"2px",border:"1px solid #D8E3E9"}})),we.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16 mt10"},"\u514D\u8D39\u6559\u7814\u52A9\u7406"),we.createElement("div",{style:{color:"#191919",fontWeight:"bold"},className:"tc font16"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),we.createElement("div",{style:{color:"#333"},className:"pt30 font14"},we.createElement("ul",{className:Ce.ul},we.createElement("li",null,"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002"),we.createElement("li",null,"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),we.createElement("li",null,"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))))}},63952:function(At,jt,ne){"use strict";ne.d(jt,{g:function(){return we}});var y=ne(59301),ue=ne(29297),Ce=ne(3033),Oe=(Ie,se,Ze)=>new Promise((Ke,je)=>{var ze=le=>{try{Le(Ze.next(le))}catch(E){je(E)}},He=le=>{try{Le(Ze.throw(le))}catch(E){je(E)}},Le=le=>le.done?Ke(le.value):Promise.resolve(le.value).then(ze,He);Le((Ze=Ze.apply(Ie,se)).next())});const we=()=>{const[Ie,se]=(0,y.useState)([]);return(0,y.useEffect)(()=>{Oe(void 0,null,function*(){const Ke=yield(0,ue.d1)({source:"question"});Ke!=null&&Ke.disciplines&&se((0,Ce.L)(Ke==null?void 0:Ke.disciplines))})},[]),Ie}},61527:function(At,jt,ne){"use strict";ne.d(jt,{U:function(){return Ke}});var y=ne(59301),ue=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Oe=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ie=(je,ze,He)=>ze in je?ue(je,ze,{enumerable:!0,configurable:!0,writable:!0,value:He}):je[ze]=He,se=(je,ze)=>{for(var He in ze||(ze={}))Oe.call(ze,He)&&Ie(je,He,ze[He]);if(Ce)for(var He of Ce(ze))we.call(ze,He)&&Ie(je,He,ze[He]);return je},Ze=(je,ze,He)=>new Promise((Le,le)=>{var E=b=>{try{x(He.next(b))}catch(z){le(z)}},a=b=>{try{x(He.throw(b))}catch(z){le(z)}},x=b=>b.done?Le(b.value):Promise.resolve(b.value).then(E,a);x((He=He.apply(je,ze)).next())});function Ke(je,ze){const[He,Le]=(0,y.useState)(ze),[le,E]=(0,y.useState)(!1),[a,x]=(0,y.useState)();return[He,le,(z,te=!1)=>Ze(this,null,function*(){const re=te?ze:se(se({},He),z);E(!0),Le(re);const ie=yield je(re);return E(!1),x(ie),ie}),a]}},50371:function(At,jt){"use strict";function ne(){const y=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let ue=1;ue{const we=Ce[Oe];we!==void 0&&(y[Oe]=we)})}return y}jt.Z=ne},77578:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return y}});const y=ue=>ue?typeof ue=="function"?ue():ue:null},13845:function(At,jt,ne){"use strict";ne.d(jt,{F:function(){return y},Z:function(){return ue}});function y(Ce){return Ce!=null&&Ce===Ce.window}function ue(Ce,Oe){var we,Ie;if(typeof window=="undefined")return 0;const se=Oe?"scrollTop":"scrollLeft";let Ze=0;return y(Ce)?Ze=Ce[Oe?"pageYOffset":"pageXOffset"]:Ce instanceof Document?Ze=Ce.documentElement[se]:(Ce instanceof HTMLElement||Ce)&&(Ze=Ce[se]),Ce&&!y(Ce)&&typeof Ze!="number"&&(Ze=(Ie=((we=Ce.ownerDocument)!==null&&we!==void 0?we:Ce).documentElement)===null||Ie===void 0?void 0:Ie[se]),Ze}},56762:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ue}});var y=ne(59301);function ue(){const[,Ce]=y.useReducer(Oe=>Oe+1,0);return Ce}},68031:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Oe}});var y=ne(16089);function ue(we,Ie,se,Ze){const Ke=se-Ie;return we/=Ze/2,we<1?Ke/2*we*we*we+Ie:Ke/2*((we-=2)*we*we+2)+Ie}var Ce=ne(13845);function Oe(we){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:Ze,duration:Ke=450}=Ie,je=se(),ze=(0,Ce.Z)(je,!0),He=Date.now(),Le=()=>{const E=Date.now()-He,a=ue(E>Ke?Ke:E,ze,we,Ke);(0,Ce.F)(je)?je.scrollTo(window.pageXOffset,a):je instanceof Document||je.constructor.name==="HTMLDocument"?je.documentElement.scrollTop=a:je.scrollTop=a,E{let{children:_e}=Re;const{getPrefixCls:mt}=we.useContext(se.E_),Qe=mt("breadcrumb");return we.createElement("li",{className:`${Qe}-separator`,"aria-hidden":"true"},_e===""?_e:_e||"/")};je.__ANT_BREADCRUMB_SEPARATOR=!0;var ze=je,He=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Qe=Object.getOwnPropertySymbols(Re);ot_e[ot]||Qe)}function le(Re,_e,mt,Qe){if(mt==null)return null;const{className:ot,onClick:Wt}=_e,ht=He(_e,["className","onClick"]),Ht=Object.assign(Object.assign({},(0,Oe.Z)(ht,{data:!0,aria:!0})),{onClick:Wt});return Qe!==void 0?we.createElement("a",Object.assign({},Ht,{className:ue()(`${Re}-link`,ot),href:Qe}),mt):we.createElement("span",Object.assign({},Ht,{className:ue()(`${Re}-link`,ot)}),mt)}function E(Re,_e){return(Qe,ot,Wt,ht,Ht)=>{if(_e)return _e(Qe,ot,Wt,ht);const Kt=Le(Qe,ot);return le(Re,Qe,Kt,Ht)}}var a=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Qe=Object.getOwnPropertySymbols(Re);ot{const{prefixCls:_e,separator:mt="/",children:Qe,menu:ot,overlay:Wt,dropdownProps:ht,href:Ht}=Re,Ve=(st=>{if(ot||Wt){const Rt=Object.assign({},ht);if(ot){const gn=ot||{},{items:wt}=gn,$t=a(gn,["items"]);Rt.menu=Object.assign(Object.assign({},$t),{items:wt==null?void 0:wt.map((Be,Jt)=>{var{key:bn,title:Ot,label:Zt,path:et}=Be,Ye=a(Be,["key","title","label","path"]);let De=Zt!=null?Zt:Ot;return et&&(De=we.createElement("a",{href:`${Ht}${et}`},De)),Object.assign(Object.assign({},Ye),{key:bn!=null?bn:Jt,label:De})})})}else Wt&&(Rt.overlay=Wt);return we.createElement(Ke.Z,Object.assign({placement:"bottom"},Rt),we.createElement("span",{className:`${_e}-overlay-link`},st,we.createElement(Ze.Z,null)))}return st})(Qe);return Ve!=null?we.createElement(we.Fragment,null,we.createElement("li",null,Ve),mt&&we.createElement(ze,null,mt)):null},b=Re=>{const{prefixCls:_e,children:mt,href:Qe}=Re,ot=a(Re,["prefixCls","children","href"]),{getPrefixCls:Wt}=we.useContext(se.E_),ht=Wt("breadcrumb",_e);return we.createElement(x,Object.assign({},ot,{prefixCls:ht}),le(ht,ot,mt,Qe))};b.__ANT_BREADCRUMB_ITEM=!0;var z=b,te=ne(17313),re=ne(83116),ie=ne(37613);const ge=Re=>{const{componentCls:_e,iconCls:mt}=Re;return{[_e]:Object.assign(Object.assign({},(0,te.Wf)(Re)),{color:Re.itemColor,fontSize:Re.fontSize,[mt]:{fontSize:Re.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:Re.linkColor,transition:`color ${Re.motionDurationMid}`,padding:`0 ${Re.paddingXXS}px`,borderRadius:Re.borderRadiusSM,height:Re.lineHeight*Re.fontSize,display:"inline-block",marginInline:-Re.marginXXS,"&:hover":{color:Re.linkHoverColor,backgroundColor:Re.colorBgTextHover}},(0,te.Qy)(Re)),"li:last-child":{color:Re.lastItemColor},[`${_e}-separator`]:{marginInline:Re.separatorMargin,color:Re.separatorColor},[`${_e}-link`]:{[` > ${mt} + span, > ${mt} + a - `]:{marginInlineStart:Re.marginXXS}},[`${_e}-overlay-link`]:{borderRadius:Re.borderRadiusSM,height:Re.lineHeight*Re.fontSize,display:"inline-block",padding:`0 ${Re.paddingXXS}px`,marginInline:-Re.marginXXS,[`> ${mt}`]:{marginInlineStart:Re.marginXXS,fontSize:Re.fontSizeIcon},"&:hover":{color:Re.linkHoverColor,backgroundColor:Re.colorBgTextHover,a:{color:Re.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Re.componentCls}-rtl`]:{direction:"rtl"}})}};var fe=(0,re.Z)("Breadcrumb",Re=>{const _e=(0,ie.TS)(Re,{});return[ge(_e)]},Re=>({itemColor:Re.colorTextDescription,lastItemColor:Re.colorText,iconFontSize:Re.fontSize,linkColor:Re.colorTextDescription,linkHoverColor:Re.colorText,separatorColor:Re.colorTextDescription,separatorMargin:Re.marginXS})),ce=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Qe=Object.getOwnPropertySymbols(Re);at{var{breadcrumbName:ht}=Ht,zt=ce(Ht,["breadcrumbName"]);return Object.assign(Object.assign({},zt),{title:ht})})}),at}function ye(Re,_e){return(0,De.useMemo)(()=>Re||(_e?_e.map(xe):null),[Re,_e])}var Ne=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var at=0,Qe=Object.getOwnPropertySymbols(Re);at{if(_e===void 0)return _e;let mt=(_e||"").replace(/^\//,"");return Object.keys(Re).forEach(Qe=>{mt=mt.replace(`:${Qe}`,Re[Qe])}),mt},Xe=Re=>{const{prefixCls:_e,separator:mt="/",style:Qe,className:at,rootClassName:Ht,routes:ht,items:zt,children:Kt,itemRender:Ve,params:ut={}}=Re,Mt=Ne(Re,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:un,direction:Dt,breadcrumb:en}=De.useContext(se.E_);let Be;const Jt=un("breadcrumb",_e),[yn,Nt]=fe(Jt),Ot=ye(zt,ht),tt=E(Jt,Ve);if(Ot&&Ot.length>0){const he=[],et=zt||ht;Be=Ot.map((Lt,we)=>{const{path:be,key:Pt,type:Je,menu:Te,overlay:Ct,onClick:pn,className:Tt,separator:on,dropdownProps:an}=Lt,mn=pe(ut,be);mn!==void 0&&he.push(mn);const ke=Pt!=null?Pt:we;if(Je==="separator")return De.createElement(ze,{key:ke},on);const it={},Et=we===Ot.length-1;Te?it.menu=Te:Ct&&(it.overlay=Ct);let{href:vt}=Lt;return he.length&&mn!==void 0&&(vt=`#/${he.join("/")}`),De.createElement(x,Object.assign({key:ke},it,(0,Oe.Z)(Lt,{data:!0,aria:!0}),{className:Tt,dropdownProps:an,href:vt,separator:Et?"":mt,onClick:pn,prefixCls:Jt}),tt(Lt,ut,et,he,vt))})}else if(Kt){const he=(0,Ce.Z)(Kt).length;Be=(0,Ce.Z)(Kt).map((et,Lt)=>{if(!et)return et;const we=Lt===he-1;return(0,Ie.Tm)(et,{separator:we?"":mt,key:Lt})})}const Ye=ue()(Jt,en==null?void 0:en.className,{[`${Jt}-rtl`]:Dt==="rtl"},at,Ht,Nt),Fe=Object.assign(Object.assign({},en==null?void 0:en.style),Qe);return yn(De.createElement("nav",Object.assign({className:Ye,style:Fe},Mt),De.createElement("ol",null,Be)))};Xe.Item=z,Xe.Separator=ze;var We=Xe,dt=We},19842:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ba}});var y=ne(94480),ue=ne(59301),Ce=ne(33853),Oe=ne(58617),De=ne(38819),Ie=ne(92310),se=ne.n(Ie),Ze=ne(54476),Ke=ne(42978),je=ne(75931),ze=ne(77861),He=ne(17115),Le=ne(90782),le=ne(6089),E=ne(18929),a=ue.createContext(null),x=a,b=ne(76190),z=ne(20068),te=ne(33885),re="__rc_cascader_search_mark__",ie=function(cn,Nn,bn){var wn=bn.label;return Nn.some(function(zn){return String(zn[wn]).toLowerCase().includes(cn.toLowerCase())})},ge=function(cn,Nn,bn,wn){return Nn.map(function(zn){return zn[wn.label]}).join(" / ")},fe=function(qe,cn,Nn,bn,wn,zn){var Kn=wn.filter,ct=Kn===void 0?ie:Kn,At=wn.render,St=At===void 0?ge:At,dn=wn.limit,An=dn===void 0?50:dn,vn=wn.sort;return ue.useMemo(function(){var $n=[];if(!qe)return[];function Tn(_n,Pa){var za=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;_n.forEach(function(Bn){if(!(!vn&&An!==!1&&An>0&&$n.length>=An)){var Sa=[].concat((0,y.Z)(Pa),[Bn]),qa=Bn[Nn.children],cr=za||Bn.disabled;if((!qa||qa.length===0||zn)&&ct(qe,Sa,{label:Nn.label})){var Gn;$n.push((0,te.Z)((0,te.Z)({},Bn),{},(Gn={disabled:cr},(0,z.Z)(Gn,Nn.label,St(qe,Sa,bn,Nn)),(0,z.Z)(Gn,re,Sa),(0,z.Z)(Gn,Nn.children,void 0),Gn)))}qa&&Tn(Bn[Nn.children],Sa,cr)}})}return Tn(cn,[]),vn&&$n.sort(function(_n,Pa){return vn(_n[re],Pa[re],qe,Nn)}),An!==!1&&An>0?$n.slice(0,An):$n},[qe,cn,Nn,bn,St,zn,ct,vn,An])},ce="__RC_CASCADER_SPLIT__",xe="SHOW_PARENT",ye="SHOW_CHILD";function Ne(qe){return qe.join(ce)}function pe(qe){return qe.map(Ne)}function Xe(qe){return qe.split(ce)}function We(qe){var cn=qe||{},Nn=cn.label,bn=cn.value,wn=cn.children,zn=bn||"value";return{label:Nn||"label",value:zn,key:zn,children:wn||"children"}}function dt(qe,cn){var Nn,bn;return(Nn=qe.isLeaf)!==null&&Nn!==void 0?Nn:!((bn=qe[cn.children])!==null&&bn!==void 0&&bn.length)}function Re(qe){var cn=qe.parentElement;if(cn){var Nn=qe.offsetTop-cn.offsetTop;Nn-cn.scrollTop<0?cn.scrollTo({top:Nn}):Nn+qe.offsetHeight-cn.scrollTop>cn.offsetHeight&&cn.scrollTo({top:Nn+qe.offsetHeight-cn.offsetHeight})}}function _e(qe,cn){return qe.map(function(Nn){var bn;return(bn=Nn[re])===null||bn===void 0?void 0:bn.map(function(wn){return wn[cn.value]})})}function mt(qe,cn,Nn){var bn=new Set(qe),wn=cn();return qe.filter(function(zn){var Kn=wn[zn],ct=Kn?Kn.parent:null,At=Kn?Kn.children:null;return Kn&&Kn.node.disabled?!0:Nn===ye?!(At&&At.some(function(St){return St.key&&bn.has(St.key)})):!(ct&&!ct.node.disabled&&bn.has(ct.key))})}function Qe(qe,cn,Nn){for(var bn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,wn=cn,zn=[],Kn=function(){var St,dn,An,vn=qe[ct],$n=(St=wn)===null||St===void 0?void 0:St.findIndex(function(_n){var Pa=_n[Nn.value];return bn?String(Pa)===String(vn):Pa===vn}),Tn=$n!==-1?(dn=wn)===null||dn===void 0?void 0:dn[$n]:null;zn.push({value:(An=Tn==null?void 0:Tn[Nn.value])!==null&&An!==void 0?An:vn,index:$n,option:Tn}),wn=Tn==null?void 0:Tn[Nn.children]},ct=0;ct1){var sn=Tn.slice(0,-1);Bn(sn)}else St(!1)},cr=function(){var sn,Ir=((sn=Pa[_n])===null||sn===void 0?void 0:sn[Nn.children])||[],_a=Ir.find(function(Tr){return!Tr.disabled});if(_a){var Rr=[].concat((0,y.Z)(Tn),[_a[Nn.value]]);Bn(Rr)}};ue.useImperativeHandle(qe,function(){return{onKeyDown:function(sn){var Ir=sn.which;switch(Ir){case Jt.Z.UP:case Jt.Z.DOWN:{var _a=0;Ir===Jt.Z.UP?_a=-1:Ir===Jt.Z.DOWN&&(_a=1),_a!==0&&Sa(_a);break}case Jt.Z.LEFT:{if(At)break;An?cr():qa();break}case Jt.Z.RIGHT:{if(At)break;An?qa():cr();break}case Jt.Z.BACKSPACE:{At||qa();break}case Jt.Z.ENTER:{if(Tn.length){var Rr=Pa[_n],Tr=(Rr==null?void 0:Rr[re])||[];Tr.length?zn(Tr.map(function(wr){return wr[Nn.value]}),Tr[Tr.length-1]):zn(Tn,Pa[_n])}break}case Jt.Z.ESC:St(!1),dn&&sn.stopPropagation()}},onKeyUp:function(){}}})},Nt=ue.forwardRef(function(qe,cn){var Nn,bn,wn,zn,Kn=(0,ze.lk)(),ct=Kn.prefixCls,At=Kn.multiple,St=Kn.searchValue,dn=Kn.toggleOpen,An=Kn.notFoundContent,vn=Kn.direction,$n=Kn.open,Tn=ue.useRef(),_n=vn==="rtl",Pa=ue.useContext(x),za=Pa.options,Bn=Pa.values,Sa=Pa.halfValues,qa=Pa.fieldNames,cr=Pa.changeOnSelect,Gn=Pa.onSelect,sn=Pa.searchOptions,Ir=Pa.dropdownPrefixCls,_a=Pa.loadData,Rr=Pa.expandTrigger,Tr=Ir||ct,wr=ue.useState([]),Hr=(0,Ke.Z)(wr,2),Oo=Hr[0],ho=Hr[1],Qo=function(Oa){if(!(!_a||St)){var Eo=Qe(Oa,za,qa),wo=Eo.map(function(jo){var Si=jo.option;return Si}),_o=wo[wo.length-1];if(_o&&!dt(_o,qa)){var Zo=Ne(Oa);ho(function(jo){return[].concat((0,y.Z)(jo),[Zo])}),_a(wo)}}};ue.useEffect(function(){Oo.length&&Oo.forEach(function(Ro){var Oa=Xe(Ro),Eo=Qe(Oa,za,qa,!0).map(function(_o){var Zo=_o.option;return Zo}),wo=Eo[Eo.length-1];(!wo||wo[qa.children]||dt(wo,qa))&&ho(function(_o){return _o.filter(function(Zo){return Zo!==Ro})})})},[za,Oo,qa]);var kn=ue.useMemo(function(){return new Set(pe(Bn))},[Bn]),Vr=ue.useMemo(function(){return new Set(pe(Sa))},[Sa]),Ur=Be(),Wr=(0,Ke.Z)(Ur,2),Ja=Wr[0],na=Wr[1],ka=function(Oa){na(Oa),Qo(Oa)},$a=function(Oa){var Eo=Oa.disabled,wo=dt(Oa,qa);return!Eo&&(wo||cr||At)},Ca=function(Oa,Eo){var wo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Gn(Oa),!At&&(Eo||cr&&(Rr==="hover"||wo))&&dn(!1)},Br=ue.useMemo(function(){return St?sn:za},[St,sn,za]),no=ue.useMemo(function(){for(var Ro=[{options:Br}],Oa=Br,Eo=_e(Oa,qa),wo=function(){var Si=Ja[_o],ci=Oa.find(function(Oi,qo){return(Eo[qo]?Ne(Eo[qo]):Oi[qa.value])===Si}),ni=ci==null?void 0:ci[qa.children];if(!(ni!=null&&ni.length))return"break";Oa=ni,Ro.push({options:ni})},_o=0;_o":Oo,Qo=qe.loadingIcon,kn=qe.children,Vr=qe.dropdownMatchSelectWidth,Ur=Vr===void 0?!1:Vr,Wr=qe.showCheckedStrategy,Ja=Wr===void 0?xe:Wr,na=(0,je.Z)(qe,he),ka=(0,He.ZP)(Nn),$a=!!An,Ca=(0,E.Z)(Kn,{value:ct,postState:Lt}),Br=(0,Ke.Z)(Ca,2),no=Br[0],xo=Br[1],Qr=ue.useMemo(function(){return We(zn)},[JSON.stringify(zn)]),Mo=ue.useMemo(function(){return Bn||[]},[Bn]),fi=ht(Mo,Qr),ii=ue.useCallback(function(da){var ga=fi();return da.map(function(Fa){var Lr=ga[Fa].nodes;return Lr.map(function(_r){return _r[Qr.value]})})},[fi,Qr]),tl=(0,E.Z)("",{value:Tn,postState:function(ga){return ga||""}}),Ro=(0,Ke.Z)(tl,2),Oa=Ro[0],Eo=Ro[1],wo=function(ga,Fa){Eo(ga),Fa.source!=="blur"&&_n&&_n(ga)},_o=Ve(Pa),Zo=(0,Ke.Z)(_o,2),jo=Zo[0],Si=Zo[1],ci=fe(Oa,Mo,Qr,Sa||wn,Si,At),ni=zt(Mo,Qr),Oi=ue.useMemo(function(){var da=ni(no),ga=(0,Ke.Z)(da,2),Fa=ga[0],Lr=ga[1];if(!$a||!no.length)return[Fa,[],Lr];var _r=pe(Fa),Po=fi(),Lo=(0,Le.S)(_r,!0,Po),Go=Lo.checkedKeys,To=Lo.halfCheckedKeys;return[ii(Go),ii(To),Lr]},[$a,no,fi,ii,ni]),qo=(0,Ke.Z)(Oi,3),Do=qo[0],wi=qo[1],Io=qo[2],Qi=ue.useMemo(function(){var da=pe(Do),ga=mt(da,fi,Ja);return[].concat((0,y.Z)(Io),(0,y.Z)(ii(ga)))},[Do,fi,ii,Io,Ja]),pi=at(Qi,Mo,Qr,$a,dn),nl=(0,le.Z)(function(da){if(xo(da),St){var ga=Lt(da),Fa=ga.map(function(Po){return Qe(Po,Mo,Qr).map(function(Lo){return Lo.option})}),Lr=$a?ga:ga[0],_r=$a?Fa:Fa[0];St(Lr,_r)}}),Ri=(0,le.Z)(function(da){if((!$a||$n)&&Eo(""),!$a)nl(da);else{var ga=Ne(da),Fa=pe(Do),Lr=pe(wi),_r=Fa.includes(ga),Po=Io.some(function(rl){return Ne(rl)===ga}),Lo=Do,Go=Io;if(Po&&!_r)Go=Io.filter(function(rl){return Ne(rl)!==ga});else{var To=_r?Fa.filter(function(rl){return rl!==ga}):[].concat((0,y.Z)(Fa),[ga]),Ga=fi(),ti;if(_r){var Di=(0,Le.S)(To,{checked:!1,halfCheckedKeys:Lr},Ga);ti=Di.checkedKeys}else{var Ci=(0,Le.S)(To,!0,Ga);ti=Ci.checkedKeys}var Yi=mt(ti,fi,Ja);Lo=ii(Yi)}nl([].concat((0,y.Z)(Go),(0,y.Z)(Lo)))}}),al=function(ga,Fa){if(Fa.type==="clear"){nl([]);return}var Lr=Fa.values[0],_r=Lr.valueCells;Ri(_r)},gi=Gn!==void 0?Gn:cr,_i=Ir||sn,Pl=Tr||Rr,ol=function(ga){wr==null||wr(ga),Hr==null||Hr(ga)},il=ue.useMemo(function(){return{options:Mo,fieldNames:Qr,values:Do,halfValues:wi,changeOnSelect:At,onSelect:Ri,checkable:An,searchOptions:ci,dropdownPrefixCls:Sa,loadData:qa,expandTrigger:za,expandIcon:ho,loadingIcon:Qo,dropdownMenuColumnStyle:_a}},[Mo,Qr,Do,wi,At,Ri,An,ci,Sa,qa,za,ho,Qo,_a]),eo=!(Oa?ci:Mo).length,Ua=Oa&&Si.matchInputWidth||eo?{}:{minWidth:"auto"};return ue.createElement(x.Provider,{value:il},ue.createElement(ze.Ac,(0,Ze.Z)({},na,{ref:cn,id:ka,prefixCls:wn,autoClearSearchValue:$n,dropdownMatchSelectWidth:Ur,dropdownStyle:Ua,displayValues:pi,onDisplayValuesChange:al,mode:$a?"multiple":void 0,searchValue:Oa,onSearch:wo,showSearch:jo,OptionList:Ot,emptyOptions:eo,open:gi,dropdownClassName:_i,placement:Pl,onDropdownVisibleChange:ol,getRawInputElement:function(){return kn}})))});we.SHOW_PARENT=xe,we.SHOW_CHILD=ye;var be=we,Pt=be,Je=ne(2738),Te=ne(62892),Ct=ne(53487),pn=ne(19080),Tt=ne(36355),on=ne(93891),an=ne(1684),mn=ne(19716),ke=ne(32441),it=ne(14154),Et=ne(58582),vt=ne(84443),lt=ne(66339),tn=ne(33234),En=ne(98447),Cn=ne(17313),In=ne(74207),ra=ne(83116);const Xt=qe=>{const{prefixCls:cn,componentCls:Nn,antCls:bn}=qe,wn=`${Nn}-menu-item`,zn=` - &${wn}-expand ${wn}-expand-icon, - ${wn}-loading-icon - `;return[{[Nn]:{width:qe.controlWidth}},{[`${Nn}-dropdown`]:[(0,En.C2)(`${cn}-checkbox`,qe),{[`&${bn}-select-dropdown`]:{padding:0}},{[Nn]:{"&-checkbox":{top:0,marginInlineEnd:qe.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Nn}-menu-empty`]:{[`${Nn}-menu`]:{width:"100%",height:"auto",[wn]:{color:qe.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:qe.controlItemWidth,height:qe.dropdownHeight,margin:0,padding:qe.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${qe.lineWidth}px ${qe.lineType} ${qe.colorSplit}`},"&-item":Object.assign(Object.assign({},Cn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:qe.optionPadding,lineHeight:qe.lineHeight,cursor:"pointer",transition:`all ${qe.motionDurationMid}`,borderRadius:qe.borderRadiusSM,"&:hover":{background:qe.controlItemBgHover},"&-disabled":{color:qe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[zn]:{color:qe.colorTextDisabled}},[`&-active:not(${wn}-disabled)`]:{"&, &:hover":{fontWeight:qe.optionSelectedFontWeight,backgroundColor:qe.optionSelectedBg}},"&-content":{flex:"auto"},[zn]:{marginInlineStart:qe.paddingXXS,color:qe.colorTextDescription,fontSize:qe.fontSizeIcon},"&-keyword":{color:qe.colorHighlight}})}}}]},{[`${Nn}-dropdown-rtl`]:{direction:"rtl"}},(0,In.c)(qe)]};var Yt=(0,ra.Z)("Cascader",qe=>[Xt(qe)],qe=>{const cn=Math.round((qe.controlHeight-qe.fontSize*qe.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:qe.controlItemBgActive,optionSelectedFontWeight:qe.fontWeightStrong,optionPadding:`${cn}px ${qe.paddingSM}px`,menuPadding:qe.paddingXXS}}),qt=function(qe,cn){var Nn={};for(var bn in qe)Object.prototype.hasOwnProperty.call(qe,bn)&&cn.indexOf(bn)<0&&(Nn[bn]=qe[bn]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var wn=0,bn=Object.getOwnPropertySymbols(qe);wnAt===0?[ct]:[].concat((0,y.Z)(Kn),[cn,ct]),[]),wn=[];let zn=0;return bn.forEach((Kn,ct)=>{const At=zn+Kn.length;let St=qe.slice(zn,At);zn=At,ct%2===1&&(St=ue.createElement("span",{className:`${Nn}-menu-item-keyword`,key:`separator-${ct}`},St)),wn.push(St)}),wn}const ba=(qe,cn,Nn,bn)=>{const wn=[],zn=qe.toLowerCase();return cn.forEach((Kn,ct)=>{ct!==0&&wn.push(" / ");let At=Kn[bn.label];const St=typeof At;(St==="string"||St==="number")&&(At=ha(String(At),zn,Nn)),wn.push(At)}),wn},Xn=ue.forwardRef((qe,cn)=>{const{prefixCls:Nn,size:bn,disabled:wn,className:zn,rootClassName:Kn,multiple:ct,bordered:At=!0,transitionName:St,choiceTransitionName:dn="",popupClassName:An,dropdownClassName:vn,expandIcon:$n,placement:Tn,showSearch:_n,allowClear:Pa=!0,notFoundContent:za,direction:Bn,getPopupContainer:Sa,status:qa,showArrow:cr,builtinPlacements:Gn,style:sn}=qe,Ir=qt(qe,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),_a=(0,Je.Z)(Ir,["suffixIcon"]),{getPopupContainer:Rr,getPrefixCls:Tr,renderEmpty:wr,direction:Hr,popupOverflow:Oo,cascader:ho}=ue.useContext(Tt.E_),Qo=Bn||Hr,kn=Qo==="rtl",{status:Vr,hasFeedback:Ur,isFormItemInput:Wr,feedbackIcon:Ja}=ue.useContext(ke.aM),na=(0,pn.F)(Vr,qa),ka=za||(wr==null?void 0:wr("Cascader"))||ue.createElement(on.Z,{componentName:"Cascader"}),$a=Tr(),Ca=Tr("select",Nn),Br=Tr("cascader",Nn),[no,xo]=(0,it.Z)(Ca),[Qr]=Yt(Br),{compactSize:Mo,compactItemClassnames:fi}=(0,tn.ri)(Ca,Bn),ii=se()(An||vn,`${Br}-dropdown`,{[`${Br}-dropdown-rtl`]:Qo==="rtl"},Kn,xo),tl=ue.useMemo(()=>{if(!_n)return _n;let Io={render:ba};return typeof _n=="object"&&(Io=Object.assign(Object.assign({},Io),_n)),Io},[_n]),Ro=(0,mn.Z)(Io=>{var Qi;return(Qi=bn!=null?bn:Mo)!==null&&Qi!==void 0?Qi:Io}),Oa=ue.useContext(an.Z),Eo=wn!=null?wn:Oa;let wo=$n;$n||(wo=kn?ue.createElement(Ce.Z,null):ue.createElement(De.Z,null));const _o=ue.createElement("span",{className:`${Ca}-menu-item-loading-icon`},ue.createElement(Oe.Z,{spin:!0})),Zo=ue.useMemo(()=>ct?ue.createElement("span",{className:`${Br}-checkbox-inner`}):!1,[ct]),jo=(0,vt.Z)(qe.suffixIcon,cr),{suffixIcon:Si,removeIcon:ci,clearIcon:ni}=(0,lt.Z)(Object.assign(Object.assign({},qe),{hasFeedback:Ur,feedbackIcon:Ja,showSuffixIcon:jo,multiple:ct,prefixCls:Ca,componentName:"Cascader"})),Oi=ue.useMemo(()=>Tn!==void 0?Tn:kn?"bottomRight":"bottomLeft",[Tn,kn]),qo=(0,Et.Z)(Gn,Oo),Do=Pa===!0?{clearIcon:ni}:Pa,wi=ue.createElement(Pt,Object.assign({prefixCls:Ca,className:se()(!Nn&&Br,{[`${Ca}-lg`]:Ro==="large",[`${Ca}-sm`]:Ro==="small",[`${Ca}-rtl`]:kn,[`${Ca}-borderless`]:!At,[`${Ca}-in-form-item`]:Wr},(0,pn.Z)(Ca,na,Ur),fi,ho==null?void 0:ho.className,zn,Kn,xo),disabled:Eo,style:Object.assign(Object.assign({},ho==null?void 0:ho.style),sn)},_a,{builtinPlacements:qo,direction:Qo,placement:Oi,notFoundContent:ka,allowClear:Do,showSearch:tl,expandIcon:wo,suffixIcon:Si,removeIcon:ci,loadingIcon:_o,checkable:Zo,dropdownClassName:ii,dropdownPrefixCls:Nn||Br,choiceTransitionName:(0,Te.m)($a,"",dn),transitionName:(0,Te.m)($a,"slide-up",St),getPopupContainer:Sa||Rr,ref:cn}));return Qr(no(wi))}),ln=(0,Ct.Z)(Xn);Xn.SHOW_PARENT=$t,Xn.SHOW_CHILD=Ln,Xn._InternalPanelDoNotUseOrYouWillBeFired=ln;var Ba=Xn},24905:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return fe}});var y=ne(92310),ue=ne.n(y),Ce=ne(5630),Oe=ne(59301),De=ne(36355),Ie=ne(1684),se=ne(32441),Ke=Oe.createContext(null),je=ne(98447),ze=ne(14088),He=ne(4572),Le=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{var ye;const{prefixCls:Ne,className:pe,rootClassName:Xe,children:We,indeterminate:dt=!1,style:Re,onMouseEnter:_e,onMouseLeave:mt,skipGroup:Qe=!1,disabled:at}=ce,Ht=Le(ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ht,direction:zt,checkbox:Kt}=Oe.useContext(De.E_),Ve=Oe.useContext(Ke),{isFormItemInput:ut}=Oe.useContext(se.aM),Mt=Oe.useContext(Ie.Z),un=(ye=(Ve==null?void 0:Ve.disabled)||at)!==null&&ye!==void 0?ye:Mt,Dt=Oe.useRef(Ht.value);Oe.useEffect(()=>{Ve==null||Ve.registerValue(Ht.value)},[]),Oe.useEffect(()=>{if(!Qe)return Ht.value!==Dt.current&&(Ve==null||Ve.cancelValue(Dt.current),Ve==null||Ve.registerValue(Ht.value),Dt.current=Ht.value),()=>Ve==null?void 0:Ve.cancelValue(Ht.value)},[Ht.value]);const en=ht("checkbox",Ne),[Be,Jt]=(0,je.ZP)(en),yn=Object.assign({},Ht);Ve&&!Qe&&(yn.onChange=function(){Ht.onChange&&Ht.onChange.apply(Ht,arguments),Ve.toggleOption&&Ve.toggleOption({label:We,value:Ht.value})},yn.name=Ve.name,yn.checked=Ve.value.includes(Ht.value));const Nt=ue()(`${en}-wrapper`,{[`${en}-rtl`]:zt==="rtl",[`${en}-wrapper-checked`]:yn.checked,[`${en}-wrapper-disabled`]:un,[`${en}-wrapper-in-form-item`]:ut},Kt==null?void 0:Kt.className,pe,Xe,Jt),Ot=ue()({[`${en}-indeterminate`]:dt},He.A,Jt),tt=dt?"mixed":void 0;return Be(Oe.createElement(ze.Z,{component:"Checkbox",disabled:un},Oe.createElement("label",{className:Nt,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Re),onMouseEnter:_e,onMouseLeave:mt},Oe.createElement(Ce.Z,Object.assign({"aria-checked":tt},yn,{prefixCls:en,className:Ot,disabled:un,ref:xe})),We!==void 0&&Oe.createElement("span",null,We))))};var a=Oe.forwardRef(le),x=ne(94480),b=ne(2738),z=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{const{defaultValue:ye,children:Ne,options:pe=[],prefixCls:Xe,className:We,rootClassName:dt,style:Re,onChange:_e}=ce,mt=z(ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Qe,direction:at}=Oe.useContext(De.E_),[Ht,ht]=Oe.useState(mt.value||ye||[]),[zt,Kt]=Oe.useState([]);Oe.useEffect(()=>{"value"in mt&&ht(mt.value||[])},[mt.value]);const Ve=Oe.useMemo(()=>pe.map(Ye=>typeof Ye=="string"||typeof Ye=="number"?{label:Ye,value:Ye}:Ye),[pe]),ut=Ye=>{Kt(Fe=>Fe.filter(he=>he!==Ye))},Mt=Ye=>{Kt(Fe=>[].concat((0,x.Z)(Fe),[Ye]))},un=Ye=>{const Fe=Ht.indexOf(Ye.value),he=(0,x.Z)(Ht);Fe===-1?he.push(Ye.value):he.splice(Fe,1),"value"in mt||ht(he),_e==null||_e(he.filter(et=>zt.includes(et)).sort((et,Lt)=>{const we=Ve.findIndex(Pt=>Pt.value===et),be=Ve.findIndex(Pt=>Pt.value===Lt);return we-be}))},Dt=Qe("checkbox",Xe),en=`${Dt}-group`,[Be,Jt]=(0,je.ZP)(Dt),yn=(0,b.Z)(mt,["value","disabled"]),Nt=pe.length?Ve.map(Ye=>Oe.createElement(a,{prefixCls:Dt,key:Ye.value.toString(),disabled:"disabled"in Ye?Ye.disabled:mt.disabled,value:Ye.value,checked:Ht.includes(Ye.value),onChange:Ye.onChange,className:`${en}-item`,style:Ye.style,title:Ye.title},Ye.label)):Ne,Ot={toggleOption:un,value:Ht,disabled:mt.disabled,name:mt.name,registerValue:Mt,cancelValue:ut},tt=ue()(en,{[`${en}-rtl`]:at==="rtl"},We,dt,Jt);return Be(Oe.createElement("div",Object.assign({className:tt,style:Re},yn,{ref:xe}),Oe.createElement(Ke.Provider,{value:Ot},Nt)))},re=Oe.forwardRef(te);var ie=Oe.memo(re);const ge=a;ge.Group=ie,ge.__ANT_CHECKBOX=!0;var fe=ge},98447:function(Bt,Zt,ne){"use strict";ne.d(Zt,{C2:function(){return De}});var y=ne(17313),ue=ne(37613),Ce=ne(83116);const Oe=Ie=>{const{checkboxCls:se}=Ie,Ze=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,y.Wf)(Ie)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ie.marginXS,[`> ${Ie.antCls}-row`]:{flex:1}}),[Ze]:Object.assign(Object.assign({},(0,y.Wf)(Ie)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ze}`]:{marginInlineStart:0},[`&${Ze}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,y.Wf)(Ie)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ie.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,y.oN)(Ie))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ie.checkboxSize,height:Ie.checkboxSize,direction:"ltr",backgroundColor:Ie.colorBgContainer,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ie.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ie.checkboxSize/14*5,height:Ie.checkboxSize/14*8,border:`${Ie.lineWidthBold}px solid ${Ie.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ie.motionDurationFast} ${Ie.motionEaseInBack}, opacity ${Ie.motionDurationFast}`}},"& + span":{paddingInlineStart:Ie.paddingXS,paddingInlineEnd:Ie.paddingXS}})},{[` + `]:{marginInlineStart:Re.marginXXS}},[`${_e}-overlay-link`]:{borderRadius:Re.borderRadiusSM,height:Re.lineHeight*Re.fontSize,display:"inline-block",padding:`0 ${Re.paddingXXS}px`,marginInline:-Re.marginXXS,[`> ${mt}`]:{marginInlineStart:Re.marginXXS,fontSize:Re.fontSizeIcon},"&:hover":{color:Re.linkHoverColor,backgroundColor:Re.colorBgTextHover,a:{color:Re.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${Re.componentCls}-rtl`]:{direction:"rtl"}})}};var fe=(0,re.Z)("Breadcrumb",Re=>{const _e=(0,ie.TS)(Re,{});return[ge(_e)]},Re=>({itemColor:Re.colorTextDescription,lastItemColor:Re.colorText,iconFontSize:Re.fontSize,linkColor:Re.colorTextDescription,linkHoverColor:Re.colorText,separatorColor:Re.colorTextDescription,separatorMargin:Re.marginXS})),ce=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Qe=Object.getOwnPropertySymbols(Re);ot{var{breadcrumbName:ht}=Wt,Ht=ce(Wt,["breadcrumbName"]);return Object.assign(Object.assign({},Ht),{title:ht})})}),ot}function ye(Re,_e){return(0,we.useMemo)(()=>Re||(_e?_e.map(xe):null),[Re,_e])}var Ne=function(Re,_e){var mt={};for(var Qe in Re)Object.prototype.hasOwnProperty.call(Re,Qe)&&_e.indexOf(Qe)<0&&(mt[Qe]=Re[Qe]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,Qe=Object.getOwnPropertySymbols(Re);ot{if(_e===void 0)return _e;let mt=(_e||"").replace(/^\//,"");return Object.keys(Re).forEach(Qe=>{mt=mt.replace(`:${Qe}`,Re[Qe])}),mt},Xe=Re=>{const{prefixCls:_e,separator:mt="/",style:Qe,className:ot,rootClassName:Wt,routes:ht,items:Ht,children:Kt,itemRender:Ve,params:st={}}=Re,Rt=Ne(Re,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:gn,direction:wt,breadcrumb:$t}=we.useContext(se.E_);let Be;const Jt=gn("breadcrumb",_e),[bn,Ot]=fe(Jt),Zt=ye(Ht,ht),et=E(Jt,Ve);if(Zt&&Zt.length>0){const he=[],tt=Ht||ht;Be=Zt.map((Lt,Fe)=>{const{path:be,key:Pt,type:Je,menu:ke,overlay:bt,onClick:hn,className:Tt,separator:ln,dropdownProps:tn}=Lt,an=pe(st,be);an!==void 0&&he.push(an);const Te=Pt!=null?Pt:Fe;if(Je==="separator")return we.createElement(ze,{key:Te},ln);const at={},Nt=Fe===Zt.length-1;ke?at.menu=ke:bt&&(at.overlay=bt);let{href:ft}=Lt;return he.length&&an!==void 0&&(ft=`#/${he.join("/")}`),we.createElement(x,Object.assign({key:Te},at,(0,Oe.Z)(Lt,{data:!0,aria:!0}),{className:Tt,dropdownProps:tn,href:ft,separator:Nt?"":mt,onClick:hn,prefixCls:Jt}),et(Lt,st,tt,he,ft))})}else if(Kt){const he=(0,Ce.Z)(Kt).length;Be=(0,Ce.Z)(Kt).map((tt,Lt)=>{if(!tt)return tt;const Fe=Lt===he-1;return(0,Ie.Tm)(tt,{separator:Fe?"":mt,key:Lt})})}const Ye=ue()(Jt,$t==null?void 0:$t.className,{[`${Jt}-rtl`]:wt==="rtl"},ot,Wt,Ot),De=Object.assign(Object.assign({},$t==null?void 0:$t.style),Qe);return bn(we.createElement("nav",Object.assign({className:Ye,style:De},Rt),we.createElement("ol",null,Be)))};Xe.Item=z,Xe.Separator=ze;var We=Xe,ut=We},19842:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Aa}});var y=ne(94480),ue=ne(59301),Ce=ne(33853),Oe=ne(58617),we=ne(38819),Ie=ne(92310),se=ne.n(Ie),Ze=ne(54476),Ke=ne(42978),je=ne(75931),ze=ne(77861),He=ne(17115),Le=ne(90782),le=ne(6089),E=ne(18929),a=ue.createContext(null),x=a,b=ne(76190),z=ne(20068),te=ne(33885),re="__rc_cascader_search_mark__",ie=function(pn,Nn,sn){var zn=sn.label;return Nn.some(function(Gn){return String(Gn[zn]).toLowerCase().includes(pn.toLowerCase())})},ge=function(pn,Nn,sn,zn){return Nn.map(function(Gn){return Gn[zn.label]}).join(" / ")},fe=function(qe,pn,Nn,sn,zn,Gn){var Vn=zn.filter,dt=Vn===void 0?ie:Vn,Ct=zn.render,St=Ct===void 0?ge:Ct,mn=zn.limit,An=mn===void 0?50:mn,un=zn.sort;return ue.useMemo(function(){var $n=[];if(!qe)return[];function Kn(Jn,ma){var Ha=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Jn.forEach(function(Bn){if(!(!un&&An!==!1&&An>0&&$n.length>=An)){var ya=[].concat((0,y.Z)(ma),[Bn]),Ya=Bn[Nn.children],dr=Ha||Bn.disabled;if((!Ya||Ya.length===0||Gn)&&dt(qe,ya,{label:Nn.label})){var Wn;$n.push((0,te.Z)((0,te.Z)({},Bn),{},(Wn={disabled:dr},(0,z.Z)(Wn,Nn.label,St(qe,ya,sn,Nn)),(0,z.Z)(Wn,re,ya),(0,z.Z)(Wn,Nn.children,void 0),Wn)))}Ya&&Kn(Bn[Nn.children],ya,dr)}})}return Kn(pn,[]),un&&$n.sort(function(Jn,ma){return un(Jn[re],ma[re],qe,Nn)}),An!==!1&&An>0?$n.slice(0,An):$n},[qe,pn,Nn,sn,St,Gn,dt,un,An])},ce="__RC_CASCADER_SPLIT__",xe="SHOW_PARENT",ye="SHOW_CHILD";function Ne(qe){return qe.join(ce)}function pe(qe){return qe.map(Ne)}function Xe(qe){return qe.split(ce)}function We(qe){var pn=qe||{},Nn=pn.label,sn=pn.value,zn=pn.children,Gn=sn||"value";return{label:Nn||"label",value:Gn,key:Gn,children:zn||"children"}}function ut(qe,pn){var Nn,sn;return(Nn=qe.isLeaf)!==null&&Nn!==void 0?Nn:!((sn=qe[pn.children])!==null&&sn!==void 0&&sn.length)}function Re(qe){var pn=qe.parentElement;if(pn){var Nn=qe.offsetTop-pn.offsetTop;Nn-pn.scrollTop<0?pn.scrollTo({top:Nn}):Nn+qe.offsetHeight-pn.scrollTop>pn.offsetHeight&&pn.scrollTo({top:Nn+qe.offsetHeight-pn.offsetHeight})}}function _e(qe,pn){return qe.map(function(Nn){var sn;return(sn=Nn[re])===null||sn===void 0?void 0:sn.map(function(zn){return zn[pn.value]})})}function mt(qe,pn,Nn){var sn=new Set(qe),zn=pn();return qe.filter(function(Gn){var Vn=zn[Gn],dt=Vn?Vn.parent:null,Ct=Vn?Vn.children:null;return Vn&&Vn.node.disabled?!0:Nn===ye?!(Ct&&Ct.some(function(St){return St.key&&sn.has(St.key)})):!(dt&&!dt.node.disabled&&sn.has(dt.key))})}function Qe(qe,pn,Nn){for(var sn=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,zn=pn,Gn=[],Vn=function(){var St,mn,An,un=qe[dt],$n=(St=zn)===null||St===void 0?void 0:St.findIndex(function(Jn){var ma=Jn[Nn.value];return sn?String(ma)===String(un):ma===un}),Kn=$n!==-1?(mn=zn)===null||mn===void 0?void 0:mn[$n]:null;Gn.push({value:(An=Kn==null?void 0:Kn[Nn.value])!==null&&An!==void 0?An:un,index:$n,option:Kn}),zn=Kn==null?void 0:Kn[Nn.children]},dt=0;dt1){var cn=Kn.slice(0,-1);Bn(cn)}else St(!1)},dr=function(){var cn,Lr=((cn=ma[Jn])===null||cn===void 0?void 0:cn[Nn.children])||[],Qa=Lr.find(function(kr){return!kr.disabled});if(Qa){var Or=[].concat((0,y.Z)(Kn),[Qa[Nn.value]]);Bn(Or)}};ue.useImperativeHandle(qe,function(){return{onKeyDown:function(cn){var Lr=cn.which;switch(Lr){case Jt.Z.UP:case Jt.Z.DOWN:{var Qa=0;Lr===Jt.Z.UP?Qa=-1:Lr===Jt.Z.DOWN&&(Qa=1),Qa!==0&&ya(Qa);break}case Jt.Z.LEFT:{if(Ct)break;An?dr():Ya();break}case Jt.Z.RIGHT:{if(Ct)break;An?Ya():dr();break}case Jt.Z.BACKSPACE:{Ct||Ya();break}case Jt.Z.ENTER:{if(Kn.length){var Or=ma[Jn],kr=(Or==null?void 0:Or[re])||[];kr.length?Gn(kr.map(function(Fr){return Fr[Nn.value]}),kr[kr.length-1]):Gn(Kn,ma[Jn])}break}case Jt.Z.ESC:St(!1),mn&&cn.stopPropagation()}},onKeyUp:function(){}}})},Ot=ue.forwardRef(function(qe,pn){var Nn,sn,zn,Gn,Vn=(0,ze.lk)(),dt=Vn.prefixCls,Ct=Vn.multiple,St=Vn.searchValue,mn=Vn.toggleOpen,An=Vn.notFoundContent,un=Vn.direction,$n=Vn.open,Kn=ue.useRef(),Jn=un==="rtl",ma=ue.useContext(x),Ha=ma.options,Bn=ma.values,ya=ma.halfValues,Ya=ma.fieldNames,dr=ma.changeOnSelect,Wn=ma.onSelect,cn=ma.searchOptions,Lr=ma.dropdownPrefixCls,Qa=ma.loadData,Or=ma.expandTrigger,kr=Lr||dt,Fr=ue.useState([]),Zr=(0,Ke.Z)(Fr,2),Zo=Zr[0],ho=Zr[1],Vo=function(ba){if(!(!Qa||St)){var Go=Qe(ba,Ha,Ya),To=Go.map(function(ii){var ui=ii.option;return ui}),jo=To[To.length-1];if(jo&&!ut(jo,Ya)){var So=Ne(ba);ho(function(ii){return[].concat((0,y.Z)(ii),[So])}),Qa(To)}}};ue.useEffect(function(){Zo.length&&Zo.forEach(function(Io){var ba=Xe(Io),Go=Qe(ba,Ha,Ya,!0).map(function(jo){var So=jo.option;return So}),To=Go[Go.length-1];(!To||To[Ya.children]||ut(To,Ya))&&ho(function(jo){return jo.filter(function(So){return So!==Io})})})},[Ha,Zo,Ya]);var Hn=ue.useMemo(function(){return new Set(pe(Bn))},[Bn]),Jr=ue.useMemo(function(){return new Set(pe(ya))},[ya]),Kr=Be(),Vr=(0,Ke.Z)(Kr,2),Ja=Vr[0],ta=Vr[1],Ma=function(ba){ta(ba),Vo(ba)},$a=function(ba){var Go=ba.disabled,To=ut(ba,Ya);return!Go&&(To||dr||Ct)},xa=function(ba,Go){var To=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Wn(ba),!Ct&&(Go||dr&&(Or==="hover"||To))&&mn(!1)},br=ue.useMemo(function(){return St?cn:Ha},[St,cn,Ha]),Xr=ue.useMemo(function(){for(var Io=[{options:br}],ba=br,Go=_e(ba,Ya),To=function(){var ui=Ja[jo],fi=ba.find(function(Ai,to){return(Go[to]?Ne(Go[to]):Ai[Ya.value])===ui}),qo=fi==null?void 0:fi[Ya.children];if(!(qo!=null&&qo.length))return"break";ba=qo,Io.push({options:qo})},jo=0;jo":Zo,Vo=qe.loadingIcon,Hn=qe.children,Jr=qe.dropdownMatchSelectWidth,Kr=Jr===void 0?!1:Jr,Vr=qe.showCheckedStrategy,Ja=Vr===void 0?xe:Vr,ta=(0,je.Z)(qe,he),Ma=(0,He.ZP)(Nn),$a=!!An,xa=(0,E.Z)(Vn,{value:dt,postState:Lt}),br=(0,Ke.Z)(xa,2),Xr=br[0],xo=br[1],ao=ue.useMemo(function(){return We(Gn)},[JSON.stringify(Gn)]),Ro=ue.useMemo(function(){return Bn||[]},[Bn]),mi=ht(Ro,ao),ei=ue.useCallback(function(ga){var da=mi();return ga.map(function(wa){var Nr=da[wa].nodes;return Nr.map(function(Gr){return Gr[ao.value]})})},[mi,ao]),al=(0,E.Z)("",{value:Kn,postState:function(da){return da||""}}),Io=(0,Ke.Z)(al,2),ba=Io[0],Go=Io[1],To=function(da,wa){Go(da),wa.source!=="blur"&&Jn&&Jn(da)},jo=Ve(ma),So=(0,Ke.Z)(jo,2),ii=So[0],ui=So[1],fi=fe(ba,Ro,ao,ya||zn,ui,Ct),qo=Ht(Ro,ao),Ai=ue.useMemo(function(){var ga=qo(Xr),da=(0,Ke.Z)(ga,2),wa=da[0],Nr=da[1];if(!$a||!Xr.length)return[wa,[],Nr];var Gr=pe(wa),No=mi(),Ao=(0,Le.S)(Gr,!0,No),Yo=Ao.checkedKeys,Fa=Ao.halfCheckedKeys;return[ei(Yo),ei(Fa),Nr]},[$a,Xr,mi,ei,qo]),to=(0,Ke.Z)(Ai,3),Bi=to[0],wi=to[1],Lo=to[2],Gi=ue.useMemo(function(){var ga=pe(Bi),da=mt(ga,mi,Ja);return[].concat((0,y.Z)(Lo),(0,y.Z)(ei(da)))},[Bi,mi,ei,Lo,Ja]),pi=ot(Gi,Ro,ao,$a,mn),el=(0,le.Z)(function(ga){if(xo(ga),St){var da=Lt(ga),wa=da.map(function(No){return Qe(No,Ro,ao).map(function(Ao){return Ao.option})}),Nr=$a?da:da[0],Gr=$a?wa:wa[0];St(Nr,Gr)}}),Oi=(0,le.Z)(function(ga){if((!$a||$n)&&Go(""),!$a)el(ga);else{var da=Ne(ga),wa=pe(Bi),Nr=pe(wi),Gr=wa.includes(da),No=Lo.some(function(nl){return Ne(nl)===da}),Ao=Bi,Yo=Lo;if(No&&!Gr)Yo=Lo.filter(function(nl){return Ne(nl)!==da});else{var Fa=Gr?wa.filter(function(nl){return nl!==da}):[].concat((0,y.Z)(wa),[da]),Pi=mi(),$o;if(Gr){var Di=(0,Le.S)(Fa,{checked:!1,halfCheckedKeys:Nr},Pi);$o=Di.checkedKeys}else{var vi=(0,Le.S)(Fa,!0,Pi);$o=vi.checkedKeys}var tl=mt($o,mi,Ja);Ao=ei(tl)}el([].concat((0,y.Z)(Yo),(0,y.Z)(Ao)))}}),Yi=function(da,wa){if(wa.type==="clear"){el([]);return}var Nr=wa.values[0],Gr=Nr.valueCells;Oi(Gr)},di=Wn!==void 0?Wn:dr,rl=Lr||cn,vl=kr||Or,ol=function(da){Fr==null||Fr(da),Zr==null||Zr(da)},no=ue.useMemo(function(){return{options:Ro,fieldNames:ao,values:Bi,halfValues:wi,changeOnSelect:Ct,onSelect:Oi,checkable:An,searchOptions:fi,dropdownPrefixCls:ya,loadData:Ya,expandTrigger:Ha,expandIcon:ho,loadingIcon:Vo,dropdownMenuColumnStyle:Qa}},[Ro,ao,Bi,wi,Ct,Oi,An,fi,ya,Ya,Ha,ho,Vo,Qa]),Wi=!(ba?fi:Ro).length,Va=ba&&ui.matchInputWidth||Wi?{}:{minWidth:"auto"};return ue.createElement(x.Provider,{value:no},ue.createElement(ze.Ac,(0,Ze.Z)({},ta,{ref:pn,id:Ma,prefixCls:zn,autoClearSearchValue:$n,dropdownMatchSelectWidth:Kr,dropdownStyle:Va,displayValues:pi,onDisplayValuesChange:Yi,mode:$a?"multiple":void 0,searchValue:ba,onSearch:To,showSearch:ii,OptionList:Zt,emptyOptions:Wi,open:di,dropdownClassName:rl,placement:vl,onDropdownVisibleChange:ol,getRawInputElement:function(){return Hn}})))});Fe.SHOW_PARENT=xe,Fe.SHOW_CHILD=ye;var be=Fe,Pt=be,Je=ne(2738),ke=ne(62892),bt=ne(53487),hn=ne(19080),Tt=ne(36355),ln=ne(93891),tn=ne(1684),an=ne(19716),Te=ne(32441),at=ne(14154),Nt=ne(58582),ft=ne(84443),lt=ne(66339),fn=ne(33234),En=ne(98447),yn=ne(17313),Ln=ne(74207),ea=ne(83116);const Xt=qe=>{const{prefixCls:pn,componentCls:Nn,antCls:sn}=qe,zn=`${Nn}-menu-item`,Gn=` + &${zn}-expand ${zn}-expand-icon, + ${zn}-loading-icon + `;return[{[Nn]:{width:qe.controlWidth}},{[`${Nn}-dropdown`]:[(0,En.C2)(`${pn}-checkbox`,qe),{[`&${sn}-select-dropdown`]:{padding:0}},{[Nn]:{"&-checkbox":{top:0,marginInlineEnd:qe.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${Nn}-menu-empty`]:{[`${Nn}-menu`]:{width:"100%",height:"auto",[zn]:{color:qe.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:qe.controlItemWidth,height:qe.dropdownHeight,margin:0,padding:qe.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${qe.lineWidth}px ${qe.lineType} ${qe.colorSplit}`},"&-item":Object.assign(Object.assign({},yn.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:qe.optionPadding,lineHeight:qe.lineHeight,cursor:"pointer",transition:`all ${qe.motionDurationMid}`,borderRadius:qe.borderRadiusSM,"&:hover":{background:qe.controlItemBgHover},"&-disabled":{color:qe.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Gn]:{color:qe.colorTextDisabled}},[`&-active:not(${zn}-disabled)`]:{"&, &:hover":{fontWeight:qe.optionSelectedFontWeight,backgroundColor:qe.optionSelectedBg}},"&-content":{flex:"auto"},[Gn]:{marginInlineStart:qe.paddingXXS,color:qe.colorTextDescription,fontSize:qe.fontSizeIcon},"&-keyword":{color:qe.colorHighlight}})}}}]},{[`${Nn}-dropdown-rtl`]:{direction:"rtl"}},(0,Ln.c)(qe)]};var Yt=(0,ea.Z)("Cascader",qe=>[Xt(qe)],qe=>{const pn=Math.round((qe.controlHeight-qe.fontSize*qe.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:qe.controlItemBgActive,optionSelectedFontWeight:qe.fontWeightStrong,optionPadding:`${pn}px ${qe.paddingSM}px`,menuPadding:qe.paddingXXS}}),qt=function(qe,pn){var Nn={};for(var sn in qe)Object.prototype.hasOwnProperty.call(qe,sn)&&pn.indexOf(sn)<0&&(Nn[sn]=qe[sn]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var zn=0,sn=Object.getOwnPropertySymbols(qe);znCt===0?[dt]:[].concat((0,y.Z)(Vn),[pn,dt]),[]),zn=[];let Gn=0;return sn.forEach((Vn,dt)=>{const Ct=Gn+Vn.length;let St=qe.slice(Gn,Ct);Gn=Ct,dt%2===1&&(St=ue.createElement("span",{className:`${Nn}-menu-item-keyword`,key:`separator-${dt}`},St)),zn.push(St)}),zn}const Ca=(qe,pn,Nn,sn)=>{const zn=[],Gn=qe.toLowerCase();return pn.forEach((Vn,dt)=>{dt!==0&&zn.push(" / ");let Ct=Vn[sn.label];const St=typeof Ct;(St==="string"||St==="number")&&(Ct=Sa(String(Ct),Gn,Nn)),zn.push(Ct)}),zn},Un=ue.forwardRef((qe,pn)=>{const{prefixCls:Nn,size:sn,disabled:zn,className:Gn,rootClassName:Vn,multiple:dt,bordered:Ct=!0,transitionName:St,choiceTransitionName:mn="",popupClassName:An,dropdownClassName:un,expandIcon:$n,placement:Kn,showSearch:Jn,allowClear:ma=!0,notFoundContent:Ha,direction:Bn,getPopupContainer:ya,status:Ya,showArrow:dr,builtinPlacements:Wn,style:cn}=qe,Lr=qt(qe,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),Qa=(0,Je.Z)(Lr,["suffixIcon"]),{getPopupContainer:Or,getPrefixCls:kr,renderEmpty:Fr,direction:Zr,popupOverflow:Zo,cascader:ho}=ue.useContext(Tt.E_),Vo=Bn||Zr,Hn=Vo==="rtl",{status:Jr,hasFeedback:Kr,isFormItemInput:Vr,feedbackIcon:Ja}=ue.useContext(Te.aM),ta=(0,hn.F)(Jr,Ya),Ma=Ha||(Fr==null?void 0:Fr("Cascader"))||ue.createElement(ln.Z,{componentName:"Cascader"}),$a=kr(),xa=kr("select",Nn),br=kr("cascader",Nn),[Xr,xo]=(0,at.Z)(xa),[ao]=Yt(br),{compactSize:Ro,compactItemClassnames:mi}=(0,fn.ri)(xa,Bn),ei=se()(An||un,`${br}-dropdown`,{[`${br}-dropdown-rtl`]:Vo==="rtl"},Vn,xo),al=ue.useMemo(()=>{if(!Jn)return Jn;let Lo={render:Ca};return typeof Jn=="object"&&(Lo=Object.assign(Object.assign({},Lo),Jn)),Lo},[Jn]),Io=(0,an.Z)(Lo=>{var Gi;return(Gi=sn!=null?sn:Ro)!==null&&Gi!==void 0?Gi:Lo}),ba=ue.useContext(tn.Z),Go=zn!=null?zn:ba;let To=$n;$n||(To=Hn?ue.createElement(Ce.Z,null):ue.createElement(we.Z,null));const jo=ue.createElement("span",{className:`${xa}-menu-item-loading-icon`},ue.createElement(Oe.Z,{spin:!0})),So=ue.useMemo(()=>dt?ue.createElement("span",{className:`${br}-checkbox-inner`}):!1,[dt]),ii=(0,ft.Z)(qe.suffixIcon,dr),{suffixIcon:ui,removeIcon:fi,clearIcon:qo}=(0,lt.Z)(Object.assign(Object.assign({},qe),{hasFeedback:Kr,feedbackIcon:Ja,showSuffixIcon:ii,multiple:dt,prefixCls:xa,componentName:"Cascader"})),Ai=ue.useMemo(()=>Kn!==void 0?Kn:Hn?"bottomRight":"bottomLeft",[Kn,Hn]),to=(0,Nt.Z)(Wn,Zo),Bi=ma===!0?{clearIcon:qo}:ma,wi=ue.createElement(Pt,Object.assign({prefixCls:xa,className:se()(!Nn&&br,{[`${xa}-lg`]:Io==="large",[`${xa}-sm`]:Io==="small",[`${xa}-rtl`]:Hn,[`${xa}-borderless`]:!Ct,[`${xa}-in-form-item`]:Vr},(0,hn.Z)(xa,ta,Kr),mi,ho==null?void 0:ho.className,Gn,Vn,xo),disabled:Go,style:Object.assign(Object.assign({},ho==null?void 0:ho.style),cn)},Qa,{builtinPlacements:to,direction:Vo,placement:Ai,notFoundContent:Ma,allowClear:Bi,showSearch:al,expandIcon:To,suffixIcon:ui,removeIcon:fi,loadingIcon:jo,checkable:So,dropdownClassName:ei,dropdownPrefixCls:Nn||br,choiceTransitionName:(0,ke.m)($a,"",mn),transitionName:(0,ke.m)($a,"slide-up",St),getPopupContainer:ya||Or,ref:pn}));return ao(Xr(wi))}),dn=(0,bt.Z)(Un);Un.SHOW_PARENT=en,Un.SHOW_CHILD=In,Un._InternalPanelDoNotUseOrYouWillBeFired=dn;var Aa=Un},24905:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return fe}});var y=ne(92310),ue=ne.n(y),Ce=ne(5630),Oe=ne(59301),we=ne(36355),Ie=ne(1684),se=ne(32441),Ke=Oe.createContext(null),je=ne(98447),ze=ne(14088),He=ne(4572),Le=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{var ye;const{prefixCls:Ne,className:pe,rootClassName:Xe,children:We,indeterminate:ut=!1,style:Re,onMouseEnter:_e,onMouseLeave:mt,skipGroup:Qe=!1,disabled:ot}=ce,Wt=Le(ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ht,direction:Ht,checkbox:Kt}=Oe.useContext(we.E_),Ve=Oe.useContext(Ke),{isFormItemInput:st}=Oe.useContext(se.aM),Rt=Oe.useContext(Ie.Z),gn=(ye=(Ve==null?void 0:Ve.disabled)||ot)!==null&&ye!==void 0?ye:Rt,wt=Oe.useRef(Wt.value);Oe.useEffect(()=>{Ve==null||Ve.registerValue(Wt.value)},[]),Oe.useEffect(()=>{if(!Qe)return Wt.value!==wt.current&&(Ve==null||Ve.cancelValue(wt.current),Ve==null||Ve.registerValue(Wt.value),wt.current=Wt.value),()=>Ve==null?void 0:Ve.cancelValue(Wt.value)},[Wt.value]);const $t=ht("checkbox",Ne),[Be,Jt]=(0,je.ZP)($t),bn=Object.assign({},Wt);Ve&&!Qe&&(bn.onChange=function(){Wt.onChange&&Wt.onChange.apply(Wt,arguments),Ve.toggleOption&&Ve.toggleOption({label:We,value:Wt.value})},bn.name=Ve.name,bn.checked=Ve.value.includes(Wt.value));const Ot=ue()(`${$t}-wrapper`,{[`${$t}-rtl`]:Ht==="rtl",[`${$t}-wrapper-checked`]:bn.checked,[`${$t}-wrapper-disabled`]:gn,[`${$t}-wrapper-in-form-item`]:st},Kt==null?void 0:Kt.className,pe,Xe,Jt),Zt=ue()({[`${$t}-indeterminate`]:ut},He.A,Jt),et=ut?"mixed":void 0;return Be(Oe.createElement(ze.Z,{component:"Checkbox",disabled:gn},Oe.createElement("label",{className:Ot,style:Object.assign(Object.assign({},Kt==null?void 0:Kt.style),Re),onMouseEnter:_e,onMouseLeave:mt},Oe.createElement(Ce.Z,Object.assign({"aria-checked":et},bn,{prefixCls:$t,className:Zt,disabled:gn,ref:xe})),We!==void 0&&Oe.createElement("span",null,We))))};var a=Oe.forwardRef(le),x=ne(94480),b=ne(2738),z=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{const{defaultValue:ye,children:Ne,options:pe=[],prefixCls:Xe,className:We,rootClassName:ut,style:Re,onChange:_e}=ce,mt=z(ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Qe,direction:ot}=Oe.useContext(we.E_),[Wt,ht]=Oe.useState(mt.value||ye||[]),[Ht,Kt]=Oe.useState([]);Oe.useEffect(()=>{"value"in mt&&ht(mt.value||[])},[mt.value]);const Ve=Oe.useMemo(()=>pe.map(Ye=>typeof Ye=="string"||typeof Ye=="number"?{label:Ye,value:Ye}:Ye),[pe]),st=Ye=>{Kt(De=>De.filter(he=>he!==Ye))},Rt=Ye=>{Kt(De=>[].concat((0,x.Z)(De),[Ye]))},gn=Ye=>{const De=Wt.indexOf(Ye.value),he=(0,x.Z)(Wt);De===-1?he.push(Ye.value):he.splice(De,1),"value"in mt||ht(he),_e==null||_e(he.filter(tt=>Ht.includes(tt)).sort((tt,Lt)=>{const Fe=Ve.findIndex(Pt=>Pt.value===tt),be=Ve.findIndex(Pt=>Pt.value===Lt);return Fe-be}))},wt=Qe("checkbox",Xe),$t=`${wt}-group`,[Be,Jt]=(0,je.ZP)(wt),bn=(0,b.Z)(mt,["value","disabled"]),Ot=pe.length?Ve.map(Ye=>Oe.createElement(a,{prefixCls:wt,key:Ye.value.toString(),disabled:"disabled"in Ye?Ye.disabled:mt.disabled,value:Ye.value,checked:Wt.includes(Ye.value),onChange:Ye.onChange,className:`${$t}-item`,style:Ye.style,title:Ye.title},Ye.label)):Ne,Zt={toggleOption:gn,value:Wt,disabled:mt.disabled,name:mt.name,registerValue:Rt,cancelValue:st},et=ue()($t,{[`${$t}-rtl`]:ot==="rtl"},We,ut,Jt);return Be(Oe.createElement("div",Object.assign({className:et,style:Re},bn,{ref:xe}),Oe.createElement(Ke.Provider,{value:Zt},Ot)))},re=Oe.forwardRef(te);var ie=Oe.memo(re);const ge=a;ge.Group=ie,ge.__ANT_CHECKBOX=!0;var fe=ge},98447:function(At,jt,ne){"use strict";ne.d(jt,{C2:function(){return we}});var y=ne(17313),ue=ne(37613),Ce=ne(83116);const Oe=Ie=>{const{checkboxCls:se}=Ie,Ze=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,y.Wf)(Ie)),{display:"inline-flex",flexWrap:"wrap",columnGap:Ie.marginXS,[`> ${Ie.antCls}-row`]:{flex:1}}),[Ze]:Object.assign(Object.assign({},(0,y.Wf)(Ie)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Ze}`]:{marginInlineStart:0},[`&${Ze}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,y.Wf)(Ie)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Ie.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,y.oN)(Ie))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Ie.checkboxSize,height:Ie.checkboxSize,direction:"ltr",backgroundColor:Ie.colorBgContainer,border:`${Ie.lineWidth}px ${Ie.lineType} ${Ie.colorBorder}`,borderRadius:Ie.borderRadiusSM,borderCollapse:"separate",transition:`all ${Ie.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Ie.checkboxSize/14*5,height:Ie.checkboxSize/14*8,border:`${Ie.lineWidthBold}px solid ${Ie.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Ie.motionDurationFast} ${Ie.motionEaseInBack}, opacity ${Ie.motionDurationFast}`}},"& + span":{paddingInlineStart:Ie.paddingXS,paddingInlineEnd:Ie.paddingXS}})},{[` ${Ze}:not(${Ze}-disabled), ${se}:not(${se}-disabled) `]:{[`&:hover ${se}-inner`]:{borderColor:Ie.colorPrimary}},[`${Ze}:not(${Ze}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:Ie.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:Ie.colorPrimary,borderColor:Ie.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Ie.motionDurationMid} ${Ie.motionEaseOutBack} ${Ie.motionDurationFast}`}}},[` ${Ze}-checked:not(${Ze}-disabled), ${se}-checked:not(${se}-disabled) - `]:{[`&:hover ${se}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:Ie.colorBgContainer,borderColor:Ie.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ie.fontSizeLG/2,height:Ie.fontSizeLG/2,backgroundColor:Ie.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ze}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,"&:after":{borderColor:Ie.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ie.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:Ie.colorTextDisabled}}}]};function De(Ie,se){const Ze=(0,ue.TS)(se,{checkboxCls:`.${Ie}`,checkboxSize:se.controlInteractiveSize});return[Oe(Ze)]}Zt.ZP=(0,Ce.Z)("Checkbox",(Ie,se)=>{let{prefixCls:Ze}=se;return[De(Ze,Ie)]})},36381:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return yn}});var y=ne(38819),ue=ne(92310),Ce=ne.n(ue),Oe=ne(54476),De=ne(94480),Ie=ne(42978),se=ne(76190),Ze=ne(18929),Ke=ne(48736),je=ne(59301),ze=ne(75931),He=ne(11592),Le=ne(20068),le=ne(77900),E=ne(10228),a=je.forwardRef(function(Nt,Ot){var tt=Nt.prefixCls,Ye=Nt.forceRender,Fe=Nt.className,he=Nt.style,et=Nt.children,Lt=Nt.isActive,we=Nt.role,be=je.useState(Lt||Ye),Pt=(0,Ie.Z)(be,2),Je=Pt[0],Te=Pt[1];return je.useEffect(function(){(Ye||Lt)&&Te(!0)},[Ye,Lt]),Je?je.createElement("div",{ref:Ot,className:Ce()("".concat(tt,"-content"),(0,Le.Z)((0,Le.Z)({},"".concat(tt,"-content-active"),Lt),"".concat(tt,"-content-inactive"),!Lt),Fe),style:he,role:we},je.createElement("div",{className:"".concat(tt,"-content-box")},et)):null});a.displayName="PanelContent";var x=a,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=je.forwardRef(function(Nt,Ot){var tt=Nt.showArrow,Ye=tt===void 0?!0:tt,Fe=Nt.headerClass,he=Nt.isActive,et=Nt.onItemClick,Lt=Nt.forceRender,we=Nt.className,be=Nt.prefixCls,Pt=Nt.collapsible,Je=Nt.accordion,Te=Nt.panelKey,Ct=Nt.extra,pn=Nt.header,Tt=Nt.expandIcon,on=Nt.openMotion,an=Nt.destroyInactivePanel,mn=Nt.children,ke=(0,ze.Z)(Nt,b),it=Pt==="disabled",Et=Pt==="header",vt=Pt==="icon",lt=Ct!=null&&typeof Ct!="boolean",tn=function(){et==null||et(Te)},En=function(qt){(qt.key==="Enter"||qt.keyCode===E.Z.ENTER||qt.which===E.Z.ENTER)&&tn()},Cn=typeof Tt=="function"?Tt(Nt):je.createElement("i",{className:"arrow"});Cn&&(Cn=je.createElement("div",{className:"".concat(be,"-expand-icon"),onClick:["header","icon"].includes(Pt)?tn:void 0},Cn));var In=Ce()((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(be,"-item"),!0),"".concat(be,"-item-active"),he),"".concat(be,"-item-disabled"),it),we),ra=Ce()(Fe,(0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(be,"-header"),!0),"".concat(be,"-header-collapsible-only"),Et),"".concat(be,"-icon-collapsible-only"),vt)),Xt={className:ra,"aria-expanded":he,"aria-disabled":it,onKeyDown:En};return!Et&&!vt&&(Xt.onClick=tn,Xt.role=Je?"tab":"button",Xt.tabIndex=it?-1:0),je.createElement("div",(0,Oe.Z)({},ke,{ref:Ot,className:In}),je.createElement("div",Xt,Ye&&Cn,je.createElement("span",{className:"".concat(be,"-header-text"),onClick:Pt==="header"?tn:void 0},pn),lt&&je.createElement("div",{className:"".concat(be,"-extra")},Ct)),je.createElement(le.default,(0,Oe.Z)({visible:he,leavedClassName:"".concat(be,"-content-hidden")},on,{forceRender:Lt,removeOnLeave:an}),function(Yt,qt){var Ln=Yt.className,$t=Yt.style;return je.createElement(x,{ref:qt,prefixCls:be,className:Ln,style:$t,isActive:he,forceRender:Lt,role:Je?"tabpanel":void 0},mn)}))}),te=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ie=function(Ot,tt){var Ye=tt.prefixCls,Fe=tt.accordion,he=tt.collapsible,et=tt.destroyInactivePanel,Lt=tt.onItemClick,we=tt.activeKey,be=tt.openMotion,Pt=tt.expandIcon;return Ot.map(function(Je,Te){var Ct=Je.children,pn=Je.label,Tt=Je.key,on=Je.collapsible,an=Je.onItemClick,mn=Je.destroyInactivePanel,ke=(0,ze.Z)(Je,re),it=String(Tt!=null?Tt:Te),Et=on!=null?on:he,vt=mn!=null?mn:et,lt=function(Cn){Et!=="disabled"&&(Lt(Cn),an==null||an(Cn))},tn=!1;return Fe?tn=we[0]===it:tn=we.indexOf(it)>-1,je.createElement(te,(0,Oe.Z)({},ke,{prefixCls:Ye,key:it,panelKey:it,isActive:tn,accordion:Fe,openMotion:be,expandIcon:Pt,header:pn,collapsible:Et,onItemClick:lt,destroyInactivePanel:vt}),Ct)})},ge=function(Ot,tt,Ye){if(!Ot)return null;var Fe=Ye.prefixCls,he=Ye.accordion,et=Ye.collapsible,Lt=Ye.destroyInactivePanel,we=Ye.onItemClick,be=Ye.activeKey,Pt=Ye.openMotion,Je=Ye.expandIcon,Te=Ot.key||String(tt),Ct=Ot.props,pn=Ct.header,Tt=Ct.headerClass,on=Ct.destroyInactivePanel,an=Ct.collapsible,mn=Ct.onItemClick,ke=!1;he?ke=be[0]===Te:ke=be.indexOf(Te)>-1;var it=an!=null?an:et,Et=function(tn){it!=="disabled"&&(we(tn),mn==null||mn(tn))},vt={key:Te,panelKey:Te,header:pn,headerClass:Tt,isActive:ke,prefixCls:Fe,destroyInactivePanel:on!=null?on:Lt,openMotion:Pt,accordion:he,children:Ot.props.children,onItemClick:Et,expandIcon:Je,collapsible:it};return typeof Ot.type=="string"?Ot:(Object.keys(vt).forEach(function(lt){typeof vt[lt]=="undefined"&&delete vt[lt]}),je.cloneElement(Ot,vt))};function fe(Nt,Ot,tt){return Array.isArray(Nt)?ie(Nt,tt):(0,He.Z)(Ot).map(function(Ye,Fe){return ge(Ye,Fe,tt)})}var ce=fe,xe=ne(26112);function ye(Nt){var Ot=Nt;if(!Array.isArray(Ot)){var tt=(0,se.Z)(Ot);Ot=tt==="number"||tt==="string"?[Ot]:[]}return Ot.map(function(Ye){return String(Ye)})}var Ne=je.forwardRef(function(Nt,Ot){var tt=Nt.prefixCls,Ye=tt===void 0?"rc-collapse":tt,Fe=Nt.destroyInactivePanel,he=Fe===void 0?!1:Fe,et=Nt.style,Lt=Nt.accordion,we=Nt.className,be=Nt.children,Pt=Nt.collapsible,Je=Nt.openMotion,Te=Nt.expandIcon,Ct=Nt.activeKey,pn=Nt.defaultActiveKey,Tt=Nt.onChange,on=Nt.items,an=Ce()(Ye,we),mn=(0,Ze.Z)([],{value:Ct,onChange:function(En){return Tt==null?void 0:Tt(En)},defaultValue:pn,postState:ye}),ke=(0,Ie.Z)(mn,2),it=ke[0],Et=ke[1],vt=function(En){return Et(function(){if(Lt)return it[0]===En?[]:[En];var Cn=it.indexOf(En),In=Cn>-1;return In?it.filter(function(ra){return ra!==En}):[].concat((0,De.Z)(it),[En])})};(0,Ke.ZP)(!be,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var lt=ce(on,be,{prefixCls:Ye,accordion:Lt,openMotion:Je,expandIcon:Te,collapsible:Pt,destroyInactivePanel:he,onItemClick:vt,activeKey:it});return je.createElement("div",(0,Oe.Z)({ref:Ot,className:an,style:et,role:Lt?"tablist":void 0},(0,xe.Z)(Nt,{aria:!0,data:!0})),lt)}),pe=Object.assign(Ne,{Panel:te}),Xe=pe,We=pe.Panel,dt=ne(2738),Re=ne(62892),_e=ne(92343),mt=ne(36355),Qe=ne(19716),Ht=je.forwardRef((Nt,Ot)=>{const{getPrefixCls:tt}=je.useContext(mt.E_),{prefixCls:Ye,className:Fe,showArrow:he=!0}=Nt,et=tt("collapse",Ye),Lt=Ce()({[`${et}-no-arrow`]:!he},Fe);return je.createElement(Xe.Panel,Object.assign({ref:Ot},Nt,{prefixCls:et,className:Lt}))}),ht=ne(17313),zt=ne(8378),Kt=ne(83116),Ve=ne(37613);const ut=Nt=>{const{componentCls:Ot,contentBg:tt,padding:Ye,headerBg:Fe,headerPadding:he,collapseHeaderPaddingSM:et,collapseHeaderPaddingLG:Lt,collapsePanelBorderRadius:we,lineWidth:be,lineType:Pt,colorBorder:Je,colorText:Te,colorTextHeading:Ct,colorTextDisabled:pn,fontSize:Tt,fontSizeLG:on,lineHeight:an,marginSM:mn,paddingSM:ke,paddingLG:it,paddingXS:Et,motionDurationSlow:vt,fontSizeIcon:lt,contentPadding:tn}=Nt,En=`${be}px ${Pt} ${Je}`;return{[Ot]:Object.assign(Object.assign({},(0,ht.Wf)(Nt)),{backgroundColor:Fe,border:En,borderBottom:0,borderRadius:`${we}px`,"&-rtl":{direction:"rtl"},[`& > ${Ot}-item`]:{borderBottom:En,"&:last-child":{[` + `]:{[`&:hover ${se}-inner`]:{backgroundColor:Ie.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:Ie.colorBgContainer,borderColor:Ie.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Ie.fontSizeLG/2,height:Ie.fontSizeLG/2,backgroundColor:Ie.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Ze}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:Ie.colorBgContainerDisabled,borderColor:Ie.colorBorder,"&:after":{borderColor:Ie.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Ie.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:Ie.colorTextDisabled}}}]};function we(Ie,se){const Ze=(0,ue.TS)(se,{checkboxCls:`.${Ie}`,checkboxSize:se.controlInteractiveSize});return[Oe(Ze)]}jt.ZP=(0,Ce.Z)("Checkbox",(Ie,se)=>{let{prefixCls:Ze}=se;return[we(Ze,Ie)]})},36381:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return bn}});var y=ne(38819),ue=ne(92310),Ce=ne.n(ue),Oe=ne(54476),we=ne(94480),Ie=ne(42978),se=ne(76190),Ze=ne(18929),Ke=ne(48736),je=ne(59301),ze=ne(75931),He=ne(11592),Le=ne(20068),le=ne(77900),E=ne(10228),a=je.forwardRef(function(Ot,Zt){var et=Ot.prefixCls,Ye=Ot.forceRender,De=Ot.className,he=Ot.style,tt=Ot.children,Lt=Ot.isActive,Fe=Ot.role,be=je.useState(Lt||Ye),Pt=(0,Ie.Z)(be,2),Je=Pt[0],ke=Pt[1];return je.useEffect(function(){(Ye||Lt)&&ke(!0)},[Ye,Lt]),Je?je.createElement("div",{ref:Zt,className:Ce()("".concat(et,"-content"),(0,Le.Z)((0,Le.Z)({},"".concat(et,"-content-active"),Lt),"".concat(et,"-content-inactive"),!Lt),De),style:he,role:Fe},je.createElement("div",{className:"".concat(et,"-content-box")},tt)):null});a.displayName="PanelContent";var x=a,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],z=je.forwardRef(function(Ot,Zt){var et=Ot.showArrow,Ye=et===void 0?!0:et,De=Ot.headerClass,he=Ot.isActive,tt=Ot.onItemClick,Lt=Ot.forceRender,Fe=Ot.className,be=Ot.prefixCls,Pt=Ot.collapsible,Je=Ot.accordion,ke=Ot.panelKey,bt=Ot.extra,hn=Ot.header,Tt=Ot.expandIcon,ln=Ot.openMotion,tn=Ot.destroyInactivePanel,an=Ot.children,Te=(0,ze.Z)(Ot,b),at=Pt==="disabled",Nt=Pt==="header",ft=Pt==="icon",lt=bt!=null&&typeof bt!="boolean",fn=function(){tt==null||tt(ke)},En=function(qt){(qt.key==="Enter"||qt.keyCode===E.Z.ENTER||qt.which===E.Z.ENTER)&&fn()},yn=typeof Tt=="function"?Tt(Ot):je.createElement("i",{className:"arrow"});yn&&(yn=je.createElement("div",{className:"".concat(be,"-expand-icon"),onClick:["header","icon"].includes(Pt)?fn:void 0},yn));var Ln=Ce()((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(be,"-item"),!0),"".concat(be,"-item-active"),he),"".concat(be,"-item-disabled"),at),Fe),ea=Ce()(De,(0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(be,"-header"),!0),"".concat(be,"-header-collapsible-only"),Nt),"".concat(be,"-icon-collapsible-only"),ft)),Xt={className:ea,"aria-expanded":he,"aria-disabled":at,onKeyDown:En};return!Nt&&!ft&&(Xt.onClick=fn,Xt.role=Je?"tab":"button",Xt.tabIndex=at?-1:0),je.createElement("div",(0,Oe.Z)({},Te,{ref:Zt,className:Ln}),je.createElement("div",Xt,Ye&&yn,je.createElement("span",{className:"".concat(be,"-header-text"),onClick:Pt==="header"?fn:void 0},hn),lt&&je.createElement("div",{className:"".concat(be,"-extra")},bt)),je.createElement(le.default,(0,Oe.Z)({visible:he,leavedClassName:"".concat(be,"-content-hidden")},ln,{forceRender:Lt,removeOnLeave:tn}),function(Yt,qt){var In=Yt.className,en=Yt.style;return je.createElement(x,{ref:qt,prefixCls:be,className:In,style:en,isActive:he,forceRender:Lt,role:Je?"tabpanel":void 0},an)}))}),te=z,re=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],ie=function(Zt,et){var Ye=et.prefixCls,De=et.accordion,he=et.collapsible,tt=et.destroyInactivePanel,Lt=et.onItemClick,Fe=et.activeKey,be=et.openMotion,Pt=et.expandIcon;return Zt.map(function(Je,ke){var bt=Je.children,hn=Je.label,Tt=Je.key,ln=Je.collapsible,tn=Je.onItemClick,an=Je.destroyInactivePanel,Te=(0,ze.Z)(Je,re),at=String(Tt!=null?Tt:ke),Nt=ln!=null?ln:he,ft=an!=null?an:tt,lt=function(yn){Nt!=="disabled"&&(Lt(yn),tn==null||tn(yn))},fn=!1;return De?fn=Fe[0]===at:fn=Fe.indexOf(at)>-1,je.createElement(te,(0,Oe.Z)({},Te,{prefixCls:Ye,key:at,panelKey:at,isActive:fn,accordion:De,openMotion:be,expandIcon:Pt,header:hn,collapsible:Nt,onItemClick:lt,destroyInactivePanel:ft}),bt)})},ge=function(Zt,et,Ye){if(!Zt)return null;var De=Ye.prefixCls,he=Ye.accordion,tt=Ye.collapsible,Lt=Ye.destroyInactivePanel,Fe=Ye.onItemClick,be=Ye.activeKey,Pt=Ye.openMotion,Je=Ye.expandIcon,ke=Zt.key||String(et),bt=Zt.props,hn=bt.header,Tt=bt.headerClass,ln=bt.destroyInactivePanel,tn=bt.collapsible,an=bt.onItemClick,Te=!1;he?Te=be[0]===ke:Te=be.indexOf(ke)>-1;var at=tn!=null?tn:tt,Nt=function(fn){at!=="disabled"&&(Fe(fn),an==null||an(fn))},ft={key:ke,panelKey:ke,header:hn,headerClass:Tt,isActive:Te,prefixCls:De,destroyInactivePanel:ln!=null?ln:Lt,openMotion:Pt,accordion:he,children:Zt.props.children,onItemClick:Nt,expandIcon:Je,collapsible:at};return typeof Zt.type=="string"?Zt:(Object.keys(ft).forEach(function(lt){typeof ft[lt]=="undefined"&&delete ft[lt]}),je.cloneElement(Zt,ft))};function fe(Ot,Zt,et){return Array.isArray(Ot)?ie(Ot,et):(0,He.Z)(Zt).map(function(Ye,De){return ge(Ye,De,et)})}var ce=fe,xe=ne(26112);function ye(Ot){var Zt=Ot;if(!Array.isArray(Zt)){var et=(0,se.Z)(Zt);Zt=et==="number"||et==="string"?[Zt]:[]}return Zt.map(function(Ye){return String(Ye)})}var Ne=je.forwardRef(function(Ot,Zt){var et=Ot.prefixCls,Ye=et===void 0?"rc-collapse":et,De=Ot.destroyInactivePanel,he=De===void 0?!1:De,tt=Ot.style,Lt=Ot.accordion,Fe=Ot.className,be=Ot.children,Pt=Ot.collapsible,Je=Ot.openMotion,ke=Ot.expandIcon,bt=Ot.activeKey,hn=Ot.defaultActiveKey,Tt=Ot.onChange,ln=Ot.items,tn=Ce()(Ye,Fe),an=(0,Ze.Z)([],{value:bt,onChange:function(En){return Tt==null?void 0:Tt(En)},defaultValue:hn,postState:ye}),Te=(0,Ie.Z)(an,2),at=Te[0],Nt=Te[1],ft=function(En){return Nt(function(){if(Lt)return at[0]===En?[]:[En];var yn=at.indexOf(En),Ln=yn>-1;return Ln?at.filter(function(ea){return ea!==En}):[].concat((0,we.Z)(at),[En])})};(0,Ke.ZP)(!be,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var lt=ce(ln,be,{prefixCls:Ye,accordion:Lt,openMotion:Je,expandIcon:ke,collapsible:Pt,destroyInactivePanel:he,onItemClick:ft,activeKey:at});return je.createElement("div",(0,Oe.Z)({ref:Zt,className:tn,style:tt,role:Lt?"tablist":void 0},(0,xe.Z)(Ot,{aria:!0,data:!0})),lt)}),pe=Object.assign(Ne,{Panel:te}),Xe=pe,We=pe.Panel,ut=ne(2738),Re=ne(62892),_e=ne(92343),mt=ne(36355),Qe=ne(19716),Wt=je.forwardRef((Ot,Zt)=>{const{getPrefixCls:et}=je.useContext(mt.E_),{prefixCls:Ye,className:De,showArrow:he=!0}=Ot,tt=et("collapse",Ye),Lt=Ce()({[`${tt}-no-arrow`]:!he},De);return je.createElement(Xe.Panel,Object.assign({ref:Zt},Ot,{prefixCls:tt,className:Lt}))}),ht=ne(17313),Ht=ne(8378),Kt=ne(83116),Ve=ne(37613);const st=Ot=>{const{componentCls:Zt,contentBg:et,padding:Ye,headerBg:De,headerPadding:he,collapseHeaderPaddingSM:tt,collapseHeaderPaddingLG:Lt,collapsePanelBorderRadius:Fe,lineWidth:be,lineType:Pt,colorBorder:Je,colorText:ke,colorTextHeading:bt,colorTextDisabled:hn,fontSize:Tt,fontSizeLG:ln,lineHeight:tn,marginSM:an,paddingSM:Te,paddingLG:at,paddingXS:Nt,motionDurationSlow:ft,fontSizeIcon:lt,contentPadding:fn}=Ot,En=`${be}px ${Pt} ${Je}`;return{[Zt]:Object.assign(Object.assign({},(0,ht.Wf)(Ot)),{backgroundColor:De,border:En,borderBottom:0,borderRadius:`${Fe}px`,"&-rtl":{direction:"rtl"},[`& > ${Zt}-item`]:{borderBottom:En,"&:last-child":{[` &, - & > ${Ot}-header`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`> ${Ot}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:he,color:Ct,lineHeight:an,cursor:"pointer",transition:`all ${vt}, visibility 0s`,[`> ${Ot}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Ot}-expand-icon`]:{height:Tt*an,display:"flex",alignItems:"center",paddingInlineEnd:mn},[`${Ot}-arrow`]:Object.assign(Object.assign({},(0,ht.Ro)()),{fontSize:lt,svg:{transition:`transform ${vt}`}}),[`${Ot}-header-text`]:{marginInlineEnd:"auto"}},[`${Ot}-header-collapsible-only`]:{cursor:"default",[`${Ot}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Ot}-icon-collapsible-only`]:{cursor:"default",[`${Ot}-expand-icon`]:{cursor:"pointer"}}},[`${Ot}-content`]:{color:Te,backgroundColor:tt,borderTop:En,[`& > ${Ot}-content-box`]:{padding:tn},"&-hidden":{display:"none"}},"&-small":{[`> ${Ot}-item`]:{[`> ${Ot}-header`]:{padding:et,paddingInlineStart:Et,[`> ${Ot}-expand-icon`]:{marginInlineStart:ke-Et}},[`> ${Ot}-content > ${Ot}-content-box`]:{padding:ke}}},"&-large":{[`> ${Ot}-item`]:{fontSize:on,[`> ${Ot}-header`]:{padding:Lt,paddingInlineStart:Ye,[`> ${Ot}-expand-icon`]:{height:on*an,marginInlineStart:it-Ye}},[`> ${Ot}-content > ${Ot}-content-box`]:{padding:it}}},[`${Ot}-item:last-child`]:{[`> ${Ot}-content`]:{borderRadius:`0 0 ${we}px ${we}px`}},[`& ${Ot}-item-disabled > ${Ot}-header`]:{"\n &,\n & > .arrow\n ":{color:pn,cursor:"not-allowed"}},[`&${Ot}-icon-position-end`]:{[`& > ${Ot}-item`]:{[`> ${Ot}-header`]:{[`${Ot}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:mn}}}}})}},Mt=Nt=>{const{componentCls:Ot}=Nt,tt=`> ${Ot}-item > ${Ot}-header ${Ot}-arrow svg`;return{[`${Ot}-rtl`]:{[tt]:{transform:"rotate(180deg)"}}}},un=Nt=>{const{componentCls:Ot,headerBg:tt,paddingXXS:Ye,colorBorder:Fe}=Nt;return{[`${Ot}-borderless`]:{backgroundColor:tt,border:0,[`> ${Ot}-item`]:{borderBottom:`1px solid ${Fe}`},[` - > ${Ot}-item:last-child, - > ${Ot}-item:last-child ${Ot}-header - `]:{borderRadius:0},[`> ${Ot}-item:last-child`]:{borderBottom:0},[`> ${Ot}-item > ${Ot}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Ot}-item > ${Ot}-content > ${Ot}-content-box`]:{paddingTop:Ye}}}},Dt=Nt=>{const{componentCls:Ot,paddingSM:tt}=Nt;return{[`${Ot}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Ot}-item`]:{borderBottom:0,[`> ${Ot}-content`]:{backgroundColor:"transparent",border:0,[`> ${Ot}-content-box`]:{paddingBlock:tt}}}}}};var en=(0,Kt.Z)("Collapse",Nt=>{const Ot=(0,Ve.TS)(Nt,{collapseHeaderPaddingSM:`${Nt.paddingXS}px ${Nt.paddingSM}px`,collapseHeaderPaddingLG:`${Nt.padding}px ${Nt.paddingLG}px`,collapsePanelBorderRadius:Nt.borderRadiusLG});return[ut(Ot),un(Ot),Dt(Ot),Mt(Ot),(0,zt.Z)(Ot)]},Nt=>({headerPadding:`${Nt.paddingSM}px ${Nt.padding}px`,headerBg:Nt.colorFillAlter,contentPadding:`${Nt.padding}px 16px`,contentBg:Nt.colorBgContainer})),Jt=Object.assign(je.forwardRef((Nt,Ot)=>{const{getPrefixCls:tt,direction:Ye,collapse:Fe}=je.useContext(mt.E_),{prefixCls:he,className:et,rootClassName:Lt,style:we,bordered:be=!0,ghost:Pt,size:Je,expandIconPosition:Te="start",children:Ct,expandIcon:pn}=Nt,Tt=(0,Qe.Z)(En=>{var Cn;return(Cn=Je!=null?Je:En)!==null&&Cn!==void 0?Cn:"middle"}),on=tt("collapse",he),an=tt(),[mn,ke]=en(on),it=je.useMemo(()=>Te==="left"?"start":Te==="right"?"end":Te,[Te]),Et=function(){let En=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const Cn=pn?pn(En):je.createElement(y.Z,{rotate:En.isActive?90:void 0});return(0,_e.Tm)(Cn,()=>({className:Ce()(Cn.props.className,`${on}-arrow`)}))},vt=Ce()(`${on}-icon-position-${it}`,{[`${on}-borderless`]:!be,[`${on}-rtl`]:Ye==="rtl",[`${on}-ghost`]:!!Pt,[`${on}-${Tt}`]:Tt!=="middle"},Fe==null?void 0:Fe.className,et,Lt,ke),lt=Object.assign(Object.assign({},(0,Re.Z)(an)),{motionAppear:!1,leavedClassName:`${on}-content-hidden`}),tn=je.useMemo(()=>Ct?(0,He.Z)(Ct).map((En,Cn)=>{var In,ra;if(!((In=En.props)===null||In===void 0)&&In.disabled){const Xt=(ra=En.key)!==null&&ra!==void 0?ra:String(Cn),{disabled:Yt,collapsible:qt}=En.props,Ln=Object.assign(Object.assign({},(0,dt.Z)(En.props,["disabled"])),{key:Xt,collapsible:qt!=null?qt:Yt?"disabled":void 0});return(0,_e.Tm)(En,Ln)}return En}):null,[Ct]);return mn(je.createElement(Xe,Object.assign({ref:Ot,openMotion:lt},(0,dt.Z)(Nt,["rootClassName"]),{expandIcon:Et,prefixCls:on,className:vt,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),we)}),tn))}),{Panel:Ht}),yn=Jt},28103:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return He}});var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(36355),De=ne(17313),Ie=ne(83116),se=ne(37613);const Ze=Le=>{const{componentCls:le,sizePaddingEdgeHorizontal:E,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:z,verticalMarginInline:te}=Le;return{[le]:Object.assign(Object.assign({},(0,De.Wf)(Le)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Le.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${le}-with-text`]:{display:"flex",alignItems:"center",margin:`${Le.dividerHorizontalWithTextGutterMargin}px 0`,color:Le.colorTextHeading,fontWeight:500,fontSize:Le.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${le}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${le}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${le}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${le}-with-text${le}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${le}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${le}-with-text`]:{color:Le.colorText,fontWeight:"normal",fontSize:Le.fontSize},[`&-horizontal${le}-with-text-left${le}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${le}-inner-text`]:{paddingInlineStart:E}},[`&-horizontal${le}-with-text-right${le}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${le}-inner-text`]:{paddingInlineEnd:E}}})}};var Ke=(0,Ie.Z)("Divider",Le=>{const le=(0,se.TS)(Le,{dividerHorizontalWithTextGutterMargin:Le.margin,dividerHorizontalGutterMargin:Le.marginLG,sizePaddingEdgeHorizontal:0});return[Ze(le)]},Le=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Le.marginXS})),je=function(Le,le){var E={};for(var a in Le)Object.prototype.hasOwnProperty.call(Le,a)&&le.indexOf(a)<0&&(E[a]=Le[a]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Le);x{const{getPrefixCls:le,direction:E,divider:a}=Ce.useContext(Oe.E_),{prefixCls:x,type:b="horizontal",orientation:z="center",orientationMargin:te,className:re,rootClassName:ie,children:ge,dashed:fe,plain:ce,style:xe}=Le,ye=je(Le,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ne=le("divider",x),[pe,Xe]=Ke(Ne),We=z.length>0?`-${z}`:z,dt=!!ge,Re=z==="left"&&te!=null,_e=z==="right"&&te!=null,mt=ue()(Ne,a==null?void 0:a.className,Xe,`${Ne}-${b}`,{[`${Ne}-with-text`]:dt,[`${Ne}-with-text${We}`]:dt,[`${Ne}-dashed`]:!!fe,[`${Ne}-plain`]:!!ce,[`${Ne}-rtl`]:E==="rtl",[`${Ne}-no-default-orientation-margin-left`]:Re,[`${Ne}-no-default-orientation-margin-right`]:_e},re,ie),Qe=Ce.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),at=Object.assign(Object.assign({},Re&&{marginLeft:Qe}),_e&&{marginRight:Qe});return pe(Ce.createElement("div",Object.assign({className:mt,style:Object.assign(Object.assign({},a==null?void 0:a.style),xe)},ye,{role:"separator"}),ge&&b!=="vertical"&&Ce.createElement("span",{className:`${Ne}-inner-text`,style:at},ge)))}},91857:function(Bt,Zt,ne){"use strict";var y=ne(59301),ue=ne(38819),Ce=ne(92310),Oe=ne.n(Ce),De=ne(31561),Ie=ne(70425),se=ne(18929),Ze=ne(2738),Ke=ne(79676),je=ne(53487),ze=ne(92343),He=ne(36355),Le=ne(20834),le=ne(40875),E=ne(88088),a=ne(47211);const x=null,b=ie=>{const{menu:ge,arrow:fe,prefixCls:ce,children:xe,trigger:ye,disabled:Ne,dropdownRender:pe,getPopupContainer:Xe,overlayClassName:We,rootClassName:dt,open:Re,onOpenChange:_e,visible:mt,onVisibleChange:Qe,mouseEnterDelay:at=.15,mouseLeaveDelay:Ht=.1,autoAdjustOverflow:ht=!0,placement:zt="",overlay:Kt,transitionName:Ve}=ie,{getPopupContainer:ut,getPrefixCls:Mt,direction:un}=y.useContext(He.E_),Dt=y.useMemo(()=>{const Te=Mt();return Ve!==void 0?Ve:zt.includes("top")?`${Te}-slide-down`:`${Te}-slide-up`},[Mt,zt,Ve]),en=y.useMemo(()=>zt?zt.includes("Center")?zt.slice(0,zt.indexOf("Center")):zt:un==="rtl"?"bottomRight":"bottomLeft",[zt,un]),Be=Mt("dropdown",ce),[Jt,yn]=(0,a.Z)(Be),[,Nt]=(0,E.Z)(),Ot=y.Children.only(xe),tt=(0,ze.Tm)(Ot,{className:Oe()(`${Be}-trigger`,{[`${Be}-rtl`]:un==="rtl"},Ot.props.className),disabled:Ne}),Ye=Ne?[]:ye;let Fe;Ye&&Ye.includes("contextMenu")&&(Fe=!0);const[he,et]=(0,se.Z)(!1,{value:Re!=null?Re:mt}),Lt=(0,Ie.useEvent)(Te=>{_e==null||_e(Te),Qe==null||Qe(Te),et(Te)}),we=Oe()(We,dt,yn,{[`${Be}-rtl`]:un==="rtl"}),be=(0,Ke.Z)({arrowPointAtCenter:typeof fe=="object"&&fe.pointAtCenter,autoAdjustOverflow:ht,offset:Nt.marginXXS,arrowWidth:fe?Nt.sizePopupArrow:0,borderRadius:Nt.borderRadius}),Pt=y.useCallback(()=>{et(!1)},[]),Je=()=>{let Te;return ge!=null&&ge.items?Te=y.createElement(Le.default,Object.assign({},ge)):typeof Kt=="function"?Te=Kt():Te=Kt,pe&&(Te=pe(Te)),Te=y.Children.only(typeof Te=="string"?y.createElement("span",null,Te):Te),y.createElement(le.J,{prefixCls:`${Be}-menu`,expandIcon:y.createElement("span",{className:`${Be}-menu-submenu-arrow`},y.createElement(ue.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:Ct=>{let{mode:pn}=Ct}},Te)};return Jt(y.createElement(De.Z,Object.assign({alignPoint:Fe},(0,Ze.Z)(ie,["rootClassName"]),{mouseEnterDelay:at,mouseLeaveDelay:Ht,visible:he,builtinPlacements:be,arrow:!!fe,overlayClassName:we,prefixCls:Be,getPopupContainer:Xe||ut,transitionName:Dt,trigger:Ye,overlay:Je,placement:en,onVisibleChange:Lt}),tt))};function z(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,je.Z)(b,"dropdown",ie=>ie,z),re=ie=>y.createElement(te,Object.assign({},ie),y.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=re,Zt.Z=b},38854:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return E}});var y=ne(91857),ue=ne(92310),Ce=ne.n(ue),Oe=ne(59301),De=ne(18785),Ie=ne(3113),se=ne(36355),Ze=ne(81327),Ke=ne(33234),je=ne(47211),ze=function(a,x){var b={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(a);te{const{getPopupContainer:x,getPrefixCls:b,direction:z}=Oe.useContext(se.E_),{prefixCls:te,type:re="default",danger:ie,disabled:ge,loading:fe,onClick:ce,htmlType:xe,children:ye,className:Ne,menu:pe,arrow:Xe,autoFocus:We,overlay:dt,trigger:Re,align:_e,open:mt,onOpenChange:Qe,placement:at,getPopupContainer:Ht,href:ht,icon:zt=Oe.createElement(De.Z,null),title:Kt,buttonsRender:Ve=Je=>Je,mouseEnterDelay:ut,mouseLeaveDelay:Mt,overlayClassName:un,overlayStyle:Dt,destroyPopupOnHide:en,dropdownRender:Be}=a,Jt=ze(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),yn=b("dropdown",te),Nt=`${yn}-button`,[Ot,tt]=(0,je.Z)(yn),Ye={menu:pe,arrow:Xe,autoFocus:We,align:_e,disabled:ge,trigger:ge?[]:Re,onOpenChange:Qe,getPopupContainer:Ht||x,mouseEnterDelay:ut,mouseLeaveDelay:Mt,overlayClassName:un,overlayStyle:Dt,destroyPopupOnHide:en,dropdownRender:Be},{compactSize:Fe,compactItemClassnames:he}=(0,Ke.ri)(yn,z),et=Ce()(Nt,he,Ne,tt);"overlay"in a&&(Ye.overlay=dt),"open"in a&&(Ye.open=mt),"placement"in a?Ye.placement=at:Ye.placement=z==="rtl"?"bottomLeft":"bottomRight";const Lt=Oe.createElement(Ie.ZP,{type:re,danger:ie,disabled:ge,loading:fe,onClick:ce,htmlType:xe,href:ht,title:Kt},ye),we=Oe.createElement(Ie.ZP,{type:re,danger:ie,icon:zt}),[be,Pt]=Ve([Lt,we]);return Ot(Oe.createElement(Ze.Z.Compact,Object.assign({className:et,size:Fe,block:!0},Jt),be,Oe.createElement(y.Z,Object.assign({},Ye),Pt)))};He.__ANT_BUTTON=!0;var Le=He;const le=y.Z;le.Button=Le;var E=le},47211:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ze}});var y=ne(17313),ue=ne(13826),Ce=ne(92899),Oe=ne(29878),De=ne(19447),Ie=ne(83116),se=ne(37613),Ke=He=>{const{componentCls:Le,menuCls:le,colorError:E,colorTextLightSolid:a}=He,x=`${le}-item`;return{[`${Le}, ${Le}-menu-submenu`]:{[`${le} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const je=He=>{const{componentCls:Le,menuCls:le,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:re,fontSize:ie,dropdownEdgeChildPadding:ge,colorTextDisabled:fe,fontSizeIcon:ce,controlPaddingHorizontal:xe,colorBgElevated:ye}=He;return[{[Le]:Object.assign(Object.assign({},(0,y.Wf)(He)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:ce}},[`${Le}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:ce},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${Le}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Le}-placement-bottomLeft, + & > ${Zt}-header`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`> ${Zt}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:he,color:bt,lineHeight:tn,cursor:"pointer",transition:`all ${ft}, visibility 0s`,[`> ${Zt}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Zt}-expand-icon`]:{height:Tt*tn,display:"flex",alignItems:"center",paddingInlineEnd:an},[`${Zt}-arrow`]:Object.assign(Object.assign({},(0,ht.Ro)()),{fontSize:lt,svg:{transition:`transform ${ft}`}}),[`${Zt}-header-text`]:{marginInlineEnd:"auto"}},[`${Zt}-header-collapsible-only`]:{cursor:"default",[`${Zt}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Zt}-icon-collapsible-only`]:{cursor:"default",[`${Zt}-expand-icon`]:{cursor:"pointer"}}},[`${Zt}-content`]:{color:ke,backgroundColor:et,borderTop:En,[`& > ${Zt}-content-box`]:{padding:fn},"&-hidden":{display:"none"}},"&-small":{[`> ${Zt}-item`]:{[`> ${Zt}-header`]:{padding:tt,paddingInlineStart:Nt,[`> ${Zt}-expand-icon`]:{marginInlineStart:Te-Nt}},[`> ${Zt}-content > ${Zt}-content-box`]:{padding:Te}}},"&-large":{[`> ${Zt}-item`]:{fontSize:ln,[`> ${Zt}-header`]:{padding:Lt,paddingInlineStart:Ye,[`> ${Zt}-expand-icon`]:{height:ln*tn,marginInlineStart:at-Ye}},[`> ${Zt}-content > ${Zt}-content-box`]:{padding:at}}},[`${Zt}-item:last-child`]:{[`> ${Zt}-content`]:{borderRadius:`0 0 ${Fe}px ${Fe}px`}},[`& ${Zt}-item-disabled > ${Zt}-header`]:{"\n &,\n & > .arrow\n ":{color:hn,cursor:"not-allowed"}},[`&${Zt}-icon-position-end`]:{[`& > ${Zt}-item`]:{[`> ${Zt}-header`]:{[`${Zt}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:an}}}}})}},Rt=Ot=>{const{componentCls:Zt}=Ot,et=`> ${Zt}-item > ${Zt}-header ${Zt}-arrow svg`;return{[`${Zt}-rtl`]:{[et]:{transform:"rotate(180deg)"}}}},gn=Ot=>{const{componentCls:Zt,headerBg:et,paddingXXS:Ye,colorBorder:De}=Ot;return{[`${Zt}-borderless`]:{backgroundColor:et,border:0,[`> ${Zt}-item`]:{borderBottom:`1px solid ${De}`},[` + > ${Zt}-item:last-child, + > ${Zt}-item:last-child ${Zt}-header + `]:{borderRadius:0},[`> ${Zt}-item:last-child`]:{borderBottom:0},[`> ${Zt}-item > ${Zt}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Zt}-item > ${Zt}-content > ${Zt}-content-box`]:{paddingTop:Ye}}}},wt=Ot=>{const{componentCls:Zt,paddingSM:et}=Ot;return{[`${Zt}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Zt}-item`]:{borderBottom:0,[`> ${Zt}-content`]:{backgroundColor:"transparent",border:0,[`> ${Zt}-content-box`]:{paddingBlock:et}}}}}};var $t=(0,Kt.Z)("Collapse",Ot=>{const Zt=(0,Ve.TS)(Ot,{collapseHeaderPaddingSM:`${Ot.paddingXS}px ${Ot.paddingSM}px`,collapseHeaderPaddingLG:`${Ot.padding}px ${Ot.paddingLG}px`,collapsePanelBorderRadius:Ot.borderRadiusLG});return[st(Zt),gn(Zt),wt(Zt),Rt(Zt),(0,Ht.Z)(Zt)]},Ot=>({headerPadding:`${Ot.paddingSM}px ${Ot.padding}px`,headerBg:Ot.colorFillAlter,contentPadding:`${Ot.padding}px 16px`,contentBg:Ot.colorBgContainer})),Jt=Object.assign(je.forwardRef((Ot,Zt)=>{const{getPrefixCls:et,direction:Ye,collapse:De}=je.useContext(mt.E_),{prefixCls:he,className:tt,rootClassName:Lt,style:Fe,bordered:be=!0,ghost:Pt,size:Je,expandIconPosition:ke="start",children:bt,expandIcon:hn}=Ot,Tt=(0,Qe.Z)(En=>{var yn;return(yn=Je!=null?Je:En)!==null&&yn!==void 0?yn:"middle"}),ln=et("collapse",he),tn=et(),[an,Te]=$t(ln),at=je.useMemo(()=>ke==="left"?"start":ke==="right"?"end":ke,[ke]),Nt=function(){let En=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const yn=hn?hn(En):je.createElement(y.Z,{rotate:En.isActive?90:void 0});return(0,_e.Tm)(yn,()=>({className:Ce()(yn.props.className,`${ln}-arrow`)}))},ft=Ce()(`${ln}-icon-position-${at}`,{[`${ln}-borderless`]:!be,[`${ln}-rtl`]:Ye==="rtl",[`${ln}-ghost`]:!!Pt,[`${ln}-${Tt}`]:Tt!=="middle"},De==null?void 0:De.className,tt,Lt,Te),lt=Object.assign(Object.assign({},(0,Re.Z)(tn)),{motionAppear:!1,leavedClassName:`${ln}-content-hidden`}),fn=je.useMemo(()=>bt?(0,He.Z)(bt).map((En,yn)=>{var Ln,ea;if(!((Ln=En.props)===null||Ln===void 0)&&Ln.disabled){const Xt=(ea=En.key)!==null&&ea!==void 0?ea:String(yn),{disabled:Yt,collapsible:qt}=En.props,In=Object.assign(Object.assign({},(0,ut.Z)(En.props,["disabled"])),{key:Xt,collapsible:qt!=null?qt:Yt?"disabled":void 0});return(0,_e.Tm)(En,In)}return En}):null,[bt]);return an(je.createElement(Xe,Object.assign({ref:Zt,openMotion:lt},(0,ut.Z)(Ot,["rootClassName"]),{expandIcon:Nt,prefixCls:ln,className:ft,style:Object.assign(Object.assign({},De==null?void 0:De.style),Fe)}),fn))}),{Panel:Wt}),bn=Jt},28103:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return He}});var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(36355),we=ne(17313),Ie=ne(83116),se=ne(37613);const Ze=Le=>{const{componentCls:le,sizePaddingEdgeHorizontal:E,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:z,verticalMarginInline:te}=Le;return{[le]:Object.assign(Object.assign({},(0,we.Wf)(Le)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Le.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${le}-with-text`]:{display:"flex",alignItems:"center",margin:`${Le.dividerHorizontalWithTextGutterMargin}px 0`,color:Le.colorTextHeading,fontWeight:500,fontSize:Le.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${le}-with-text-left`]:{"&::before":{width:`${z*100}%`},"&::after":{width:`${100-z*100}%`}},[`&-horizontal${le}-with-text-right`]:{"&::before":{width:`${100-z*100}%`},"&::after":{width:`${z*100}%`}},[`${le}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${le}-with-text${le}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${le}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${le}-with-text`]:{color:Le.colorText,fontWeight:"normal",fontSize:Le.fontSize},[`&-horizontal${le}-with-text-left${le}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${le}-inner-text`]:{paddingInlineStart:E}},[`&-horizontal${le}-with-text-right${le}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${le}-inner-text`]:{paddingInlineEnd:E}}})}};var Ke=(0,Ie.Z)("Divider",Le=>{const le=(0,se.TS)(Le,{dividerHorizontalWithTextGutterMargin:Le.margin,dividerHorizontalGutterMargin:Le.marginLG,sizePaddingEdgeHorizontal:0});return[Ze(le)]},Le=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:Le.marginXS})),je=function(Le,le){var E={};for(var a in Le)Object.prototype.hasOwnProperty.call(Le,a)&&le.indexOf(a)<0&&(E[a]=Le[a]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Le);x{const{getPrefixCls:le,direction:E,divider:a}=Ce.useContext(Oe.E_),{prefixCls:x,type:b="horizontal",orientation:z="center",orientationMargin:te,className:re,rootClassName:ie,children:ge,dashed:fe,plain:ce,style:xe}=Le,ye=je(Le,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Ne=le("divider",x),[pe,Xe]=Ke(Ne),We=z.length>0?`-${z}`:z,ut=!!ge,Re=z==="left"&&te!=null,_e=z==="right"&&te!=null,mt=ue()(Ne,a==null?void 0:a.className,Xe,`${Ne}-${b}`,{[`${Ne}-with-text`]:ut,[`${Ne}-with-text${We}`]:ut,[`${Ne}-dashed`]:!!fe,[`${Ne}-plain`]:!!ce,[`${Ne}-rtl`]:E==="rtl",[`${Ne}-no-default-orientation-margin-left`]:Re,[`${Ne}-no-default-orientation-margin-right`]:_e},re,ie),Qe=Ce.useMemo(()=>typeof te=="number"?te:/^\d+$/.test(te)?Number(te):te,[te]),ot=Object.assign(Object.assign({},Re&&{marginLeft:Qe}),_e&&{marginRight:Qe});return pe(Ce.createElement("div",Object.assign({className:mt,style:Object.assign(Object.assign({},a==null?void 0:a.style),xe)},ye,{role:"separator"}),ge&&b!=="vertical"&&Ce.createElement("span",{className:`${Ne}-inner-text`,style:ot},ge)))}},91857:function(At,jt,ne){"use strict";var y=ne(59301),ue=ne(38819),Ce=ne(92310),Oe=ne.n(Ce),we=ne(31561),Ie=ne(70425),se=ne(18929),Ze=ne(2738),Ke=ne(79676),je=ne(53487),ze=ne(92343),He=ne(36355),Le=ne(20834),le=ne(40875),E=ne(88088),a=ne(47211);const x=null,b=ie=>{const{menu:ge,arrow:fe,prefixCls:ce,children:xe,trigger:ye,disabled:Ne,dropdownRender:pe,getPopupContainer:Xe,overlayClassName:We,rootClassName:ut,open:Re,onOpenChange:_e,visible:mt,onVisibleChange:Qe,mouseEnterDelay:ot=.15,mouseLeaveDelay:Wt=.1,autoAdjustOverflow:ht=!0,placement:Ht="",overlay:Kt,transitionName:Ve}=ie,{getPopupContainer:st,getPrefixCls:Rt,direction:gn}=y.useContext(He.E_),wt=y.useMemo(()=>{const ke=Rt();return Ve!==void 0?Ve:Ht.includes("top")?`${ke}-slide-down`:`${ke}-slide-up`},[Rt,Ht,Ve]),$t=y.useMemo(()=>Ht?Ht.includes("Center")?Ht.slice(0,Ht.indexOf("Center")):Ht:gn==="rtl"?"bottomRight":"bottomLeft",[Ht,gn]),Be=Rt("dropdown",ce),[Jt,bn]=(0,a.Z)(Be),[,Ot]=(0,E.Z)(),Zt=y.Children.only(xe),et=(0,ze.Tm)(Zt,{className:Oe()(`${Be}-trigger`,{[`${Be}-rtl`]:gn==="rtl"},Zt.props.className),disabled:Ne}),Ye=Ne?[]:ye;let De;Ye&&Ye.includes("contextMenu")&&(De=!0);const[he,tt]=(0,se.Z)(!1,{value:Re!=null?Re:mt}),Lt=(0,Ie.useEvent)(ke=>{_e==null||_e(ke),Qe==null||Qe(ke),tt(ke)}),Fe=Oe()(We,ut,bn,{[`${Be}-rtl`]:gn==="rtl"}),be=(0,Ke.Z)({arrowPointAtCenter:typeof fe=="object"&&fe.pointAtCenter,autoAdjustOverflow:ht,offset:Ot.marginXXS,arrowWidth:fe?Ot.sizePopupArrow:0,borderRadius:Ot.borderRadius}),Pt=y.useCallback(()=>{tt(!1)},[]),Je=()=>{let ke;return ge!=null&&ge.items?ke=y.createElement(Le.default,Object.assign({},ge)):typeof Kt=="function"?ke=Kt():ke=Kt,pe&&(ke=pe(ke)),ke=y.Children.only(typeof ke=="string"?y.createElement("span",null,ke):ke),y.createElement(le.J,{prefixCls:`${Be}-menu`,expandIcon:y.createElement("span",{className:`${Be}-menu-submenu-arrow`},y.createElement(ue.Z,{className:`${Be}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Pt,validator:bt=>{let{mode:hn}=bt}},ke)};return Jt(y.createElement(we.Z,Object.assign({alignPoint:De},(0,Ze.Z)(ie,["rootClassName"]),{mouseEnterDelay:ot,mouseLeaveDelay:Wt,visible:he,builtinPlacements:be,arrow:!!fe,overlayClassName:Fe,prefixCls:Be,getPopupContainer:Xe||st,transitionName:wt,trigger:Ye,overlay:Je,placement:$t,onVisibleChange:Lt}),et))};function z(ie){return Object.assign(Object.assign({},ie),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const te=(0,je.Z)(b,"dropdown",ie=>ie,z),re=ie=>y.createElement(te,Object.assign({},ie),y.createElement("span",null));b._InternalPanelDoNotUseOrYouWillBeFired=re,jt.Z=b},38854:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return E}});var y=ne(91857),ue=ne(92310),Ce=ne.n(ue),Oe=ne(59301),we=ne(18785),Ie=ne(3113),se=ne(36355),Ze=ne(81327),Ke=ne(33234),je=ne(47211),ze=function(a,x){var b={};for(var z in a)Object.prototype.hasOwnProperty.call(a,z)&&x.indexOf(z)<0&&(b[z]=a[z]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,z=Object.getOwnPropertySymbols(a);te{const{getPopupContainer:x,getPrefixCls:b,direction:z}=Oe.useContext(se.E_),{prefixCls:te,type:re="default",danger:ie,disabled:ge,loading:fe,onClick:ce,htmlType:xe,children:ye,className:Ne,menu:pe,arrow:Xe,autoFocus:We,overlay:ut,trigger:Re,align:_e,open:mt,onOpenChange:Qe,placement:ot,getPopupContainer:Wt,href:ht,icon:Ht=Oe.createElement(we.Z,null),title:Kt,buttonsRender:Ve=Je=>Je,mouseEnterDelay:st,mouseLeaveDelay:Rt,overlayClassName:gn,overlayStyle:wt,destroyPopupOnHide:$t,dropdownRender:Be}=a,Jt=ze(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),bn=b("dropdown",te),Ot=`${bn}-button`,[Zt,et]=(0,je.Z)(bn),Ye={menu:pe,arrow:Xe,autoFocus:We,align:_e,disabled:ge,trigger:ge?[]:Re,onOpenChange:Qe,getPopupContainer:Wt||x,mouseEnterDelay:st,mouseLeaveDelay:Rt,overlayClassName:gn,overlayStyle:wt,destroyPopupOnHide:$t,dropdownRender:Be},{compactSize:De,compactItemClassnames:he}=(0,Ke.ri)(bn,z),tt=Ce()(Ot,he,Ne,et);"overlay"in a&&(Ye.overlay=ut),"open"in a&&(Ye.open=mt),"placement"in a?Ye.placement=ot:Ye.placement=z==="rtl"?"bottomLeft":"bottomRight";const Lt=Oe.createElement(Ie.ZP,{type:re,danger:ie,disabled:ge,loading:fe,onClick:ce,htmlType:xe,href:ht,title:Kt},ye),Fe=Oe.createElement(Ie.ZP,{type:re,danger:ie,icon:Ht}),[be,Pt]=Ve([Lt,Fe]);return Zt(Oe.createElement(Ze.Z.Compact,Object.assign({className:tt,size:De,block:!0},Jt),be,Oe.createElement(y.Z,Object.assign({},Ye),Pt)))};He.__ANT_BUTTON=!0;var Le=He;const le=y.Z;le.Button=Le;var E=le},47211:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ze}});var y=ne(17313),ue=ne(13826),Ce=ne(92899),Oe=ne(29878),we=ne(19447),Ie=ne(83116),se=ne(37613),Ke=He=>{const{componentCls:Le,menuCls:le,colorError:E,colorTextLightSolid:a}=He,x=`${le}-item`;return{[`${Le}, ${Le}-menu-submenu`]:{[`${le} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:E,"&:hover":{color:a,backgroundColor:E}}}}}};const je=He=>{const{componentCls:Le,menuCls:le,zIndexPopup:E,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:z,motionDurationMid:te,dropdownPaddingVertical:re,fontSize:ie,dropdownEdgeChildPadding:ge,colorTextDisabled:fe,fontSizeIcon:ce,controlPaddingHorizontal:xe,colorBgElevated:ye}=He;return[{[Le]:Object.assign(Object.assign({},(0,y.Wf)(He)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${z}-down, & > ${b}-btn-icon > ${z}-down`]:{fontSize:ce}},[`${Le}-wrap`]:{position:"relative",[`${b}-btn > ${z}-down`]:{fontSize:ce},[`${z}-down::before`]:{transition:`transform ${te}`}},[`${Le}-wrap-open`]:{[`${z}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Le}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${Le}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${Le}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${Le}-placement-bottom, @@ -128,42 +128,42 @@ &${b}-slide-down-leave${b}-slide-down-leave-active${Le}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${Le}-placement-bottomRight`]:{animationName:ue.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-top, - &${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-topRight`]:{animationName:ue.ly}})},(0,De.ZP)(He,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Le} ${le}`]:{position:"relative",margin:0},[`${le}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Le}, ${Le}-menu-submenu`]:{[le]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:He.borderRadiusLG,outline:"none",boxShadow:He.boxShadowSecondary},(0,y.Qy)(He)),{[`${le}-item-group-title`]:{padding:`${re}px ${xe}px`,color:He.colorTextDescription,transition:`all ${te}`},[`${le}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${le}-item-icon`]:{minWidth:ie,marginInlineEnd:He.marginXS,fontSize:He.fontSizeSM},[`${le}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${le}-item, ${le}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${xe}px`,color:He.colorText,fontWeight:"normal",fontSize:ie,lineHeight:He.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:He.borderRadiusSM,"&:hover, &-active":{backgroundColor:He.controlItemBgHover}},(0,y.Qy)(He)),{"&-selected":{color:He.colorPrimary,backgroundColor:He.controlItemBgActive,"&:hover, &-active":{backgroundColor:He.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${He.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:He.colorSplit},[`${Le}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:He.paddingXS,[`${Le}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:He.colorTextDescription,fontSize:ce,fontStyle:"normal"}}}),[`${le}-item-group-list`]:{margin:`0 ${He.marginXS}px`,padding:0,listStyle:"none"},[`${le}-submenu-title`]:{paddingInlineEnd:xe+He.fontSizeSM},[`${le}-submenu-vertical`]:{position:"relative"},[`${le}-submenu${le}-submenu-disabled ${Le}-menu-submenu-title`]:{[`&, ${Le}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:ye,cursor:"not-allowed"}},[`${le}-submenu-selected ${Le}-menu-submenu-title`]:{color:He.colorPrimary}})}},[(0,ue.oN)(He,"slide-up"),(0,ue.oN)(He,"slide-down"),(0,Ce.Fm)(He,"move-up"),(0,Ce.Fm)(He,"move-down"),(0,Oe._y)(He,"zoom-big")]]};var ze=(0,Ie.Z)("Dropdown",(He,Le)=>{let{rootPrefixCls:le}=Le;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:te,componentCls:re,borderRadiusLG:ie}=He,ge=(x-b*z)/2,{dropdownArrowOffset:fe}=(0,De.fS)({contentRadius:ie}),ce=(0,se.TS)(He,{menuCls:`${re}-menu`,rootPrefixCls:le,dropdownArrowDistance:a/2+E,dropdownArrowOffset:fe,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[je(ce),Ke(ce)]},He=>({zIndexPopup:He.zIndexPopupBase+50}))},8628:function(Bt,Zt,ne){"use strict";var y=ne(59301),ue=ne(34280),Ce=ne(56762),Oe=ne(69507);function De(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,y.useRef)({}),Ze=(0,Ce.Z)(),Ke=(0,Oe.ZP)();return(0,ue.Z)(()=>{const je=Ke.subscribe(ze=>{se.current=ze,Ie&&Ze()});return()=>Ke.unsubscribe(je)},[]),se.current}Zt.Z=De},45818:function(Bt,Zt,ne){"use strict";ne.d(Zt,{D:function(){return te},Z:function(){return ge}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(ce,xe){return ue.createElement(De.Z,(0,y.Z)({},ce,{ref:xe,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(33853),je=ne(38819),ze=ne(92310),He=ne.n(ze),Le=ne(2738),E=fe=>!isNaN(parseFloat(fe))&&isFinite(fe),a=ne(36355),x=ne(84966),b=function(fe,ce){var xe={};for(var ye in fe)Object.prototype.hasOwnProperty.call(fe,ye)&&ce.indexOf(ye)<0&&(xe[ye]=fe[ye]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ye=Object.getOwnPropertySymbols(fe);Ne{let fe=0;return function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe+=1,`${ce}${fe}`}})();var ge=ue.forwardRef((fe,ce)=>{const{prefixCls:xe,className:ye,trigger:Ne,children:pe,defaultCollapsed:Xe=!1,theme:We="dark",style:dt={},collapsible:Re=!1,reverseArrow:_e=!1,width:mt=200,collapsedWidth:Qe=80,zeroWidthTriggerStyle:at,breakpoint:Ht,onCollapse:ht,onBreakpoint:zt}=fe,Kt=b(fe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ve}=(0,ue.useContext)(x.Gs),[ut,Mt]=(0,ue.useState)("collapsed"in fe?fe.collapsed:Xe),[un,Dt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{"collapsed"in fe&&Mt(fe.collapsed)},[fe.collapsed]);const en=(tt,Ye)=>{"collapsed"in fe||Mt(tt),ht==null||ht(tt,Ye)},Be=(0,ue.useRef)();Be.current=tt=>{Dt(tt.matches),zt==null||zt(tt.matches),ut!==tt.matches&&en(tt.matches,"responsive")},(0,ue.useEffect)(()=>{function tt(Fe){return Be.current(Fe)}let Ye;if(typeof window!="undefined"){const{matchMedia:Fe}=window;if(Fe&&Ht&&Ht in z){Ye=Fe(`(max-width: ${z[Ht]})`);try{Ye.addEventListener("change",tt)}catch(he){Ye.addListener(tt)}tt(Ye)}}return()=>{try{Ye==null||Ye.removeEventListener("change",tt)}catch(Fe){Ye==null||Ye.removeListener(tt)}}},[Ht]),(0,ue.useEffect)(()=>{const tt=re("ant-sider-");return Ve.addSider(tt),()=>Ve.removeSider(tt)},[]);const Jt=()=>{en(!ut,"clickTrigger")},{getPrefixCls:yn}=(0,ue.useContext)(a.E_),Nt=()=>{const tt=yn("layout-sider",xe),Ye=(0,Le.Z)(Kt,["collapsed"]),Fe=ut?Qe:mt,he=E(Fe)?`${Fe}px`:String(Fe),et=parseFloat(String(Qe||0))===0?ue.createElement("span",{onClick:Jt,className:He()(`${tt}-zero-width-trigger`,`${tt}-zero-width-trigger-${_e?"right":"left"}`),style:at},Ne||ue.createElement(Ze,null)):null,be={expanded:_e?ue.createElement(je.Z,null):ue.createElement(Ke.Z,null),collapsed:_e?ue.createElement(Ke.Z,null):ue.createElement(je.Z,null)}[ut?"collapsed":"expanded"],Pt=Ne!==null?et||ue.createElement("div",{className:`${tt}-trigger`,onClick:Jt,style:{width:he}},Ne||be):null,Je=Object.assign(Object.assign({},dt),{flex:`0 0 ${he}`,maxWidth:he,minWidth:he,width:he}),Te=He()(tt,`${tt}-${We}`,{[`${tt}-collapsed`]:!!ut,[`${tt}-has-trigger`]:Re&&Ne!==null&&!et,[`${tt}-below`]:!!un,[`${tt}-zero-width`]:parseFloat(he)===0},ye);return ue.createElement("aside",Object.assign({className:Te},Ye,{style:Je,ref:ce}),ue.createElement("div",{className:`${tt}-children`},pe),Re||un&&et?Pt:null)},Ot=ue.useMemo(()=>({siderCollapsed:ut}),[ut]);return ue.createElement(te.Provider,{value:Ot},Nt())})},84966:function(Bt,Zt,ne){"use strict";ne.d(Zt,{VY:function(){return te},$_:function(){return z},h4:function(){return b},Gs:function(){return Le},ZP:function(){return re}});var y=ne(94480),ue=ne(92310),Ce=ne.n(ue),Oe=ne(2738),De=ne(59301),Ie=ne(36355),se=ne(83116),Ke=ie=>{const{componentCls:ge,bodyBg:fe,lightSiderBg:ce,lightTriggerBg:xe,lightTriggerColor:ye}=ie;return{[`${ge}-sider-light`]:{background:ce,[`${ge}-sider-trigger`]:{color:ye,background:xe},[`${ge}-sider-zero-width-trigger`]:{color:ye,background:xe,border:`1px solid ${fe}`,borderInlineStart:0}}}};const je=ie=>{const{antCls:ge,componentCls:fe,colorText:ce,triggerColor:xe,footerBg:ye,triggerBg:Ne,headerHeight:pe,headerPadding:Xe,headerColor:We,footerPadding:dt,triggerHeight:Re,zeroTriggerHeight:_e,zeroTriggerWidth:mt,motionDurationMid:Qe,motionDurationSlow:at,fontSize:Ht,borderRadius:ht,bodyBg:zt,headerBg:Kt,siderBg:Ve}=ie;return{[fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:zt,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},[`${fe}-sider`]:{position:"relative",minWidth:0,background:Ve,transition:`all ${Qe}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Re},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Re,color:xe,lineHeight:`${Re}px`,textAlign:"center",background:Ne,cursor:"pointer",transition:`all ${Qe}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pe,insetInlineEnd:-mt,zIndex:1,width:mt,height:_e,color:xe,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ve,borderStartStartRadius:0,borderStartEndRadius:ht,borderEndEndRadius:ht,borderEndStartRadius:0,cursor:"pointer",transition:`background ${at} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${at}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-mt,borderStartStartRadius:ht,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ht}}}}},Ke(ie)),{"&-rtl":{direction:"rtl"}}),[`${fe}-header`]:{height:pe,padding:Xe,color:We,lineHeight:`${pe}px`,background:Kt,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:dt,color:ce,fontSize:Ht,background:ye},[`${fe}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,se.Z)("Layout",ie=>[je(ie)],ie=>{const{colorBgLayout:ge,controlHeight:fe,controlHeightLG:ce,colorText:xe,controlHeightSM:ye,marginXXS:Ne,colorTextLightSolid:pe,colorBgContainer:Xe}=ie,We=ce*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${We}px`,headerColor:xe,footerPadding:`${ye}px ${We}px`,footerBg:ge,siderBg:"#001529",triggerHeight:ce+Ne*2,triggerBg:"#002140",triggerColor:pe,zeroTriggerWidth:ce,zeroTriggerHeight:ce,lightSiderBg:Xe,lightTriggerBg:Xe,lightTriggerColor:xe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),He=function(ie,ge){var fe={};for(var ce in ie)Object.prototype.hasOwnProperty.call(ie,ce)&&ge.indexOf(ce)<0&&(fe[ce]=ie[ce]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ce=Object.getOwnPropertySymbols(ie);xenull,removeSider:()=>null}});function le(ie){let{suffixCls:ge,tagName:fe,displayName:ce}=ie;return xe=>De.forwardRef((Ne,pe)=>De.createElement(xe,Object.assign({ref:pe,suffixCls:ge,tagName:fe},Ne)))}const E=De.forwardRef((ie,ge)=>{const{prefixCls:fe,suffixCls:ce,className:xe,tagName:ye}=ie,Ne=He(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pe}=De.useContext(Ie.E_),Xe=pe("layout",fe),[We,dt]=ze(Xe),Re=ce?`${Xe}-${ce}`:Xe;return We(De.createElement(ye,Object.assign({className:Ce()(fe||Re,xe,dt),ref:ge},Ne)))}),a=De.forwardRef((ie,ge)=>{const{direction:fe}=De.useContext(Ie.E_),[ce,xe]=De.useState([]),{prefixCls:ye,className:Ne,rootClassName:pe,children:Xe,hasSider:We,tagName:dt,style:Re}=ie,_e=He(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),mt=(0,Oe.Z)(_e,["suffixCls"]),{getPrefixCls:Qe,layout:at}=De.useContext(Ie.E_),Ht=Qe("layout",ye),[ht,zt]=ze(Ht),Kt=Ce()(Ht,{[`${Ht}-has-sider`]:typeof We=="boolean"?We:ce.length>0,[`${Ht}-rtl`]:fe==="rtl"},at==null?void 0:at.className,Ne,pe,zt),Ve=De.useMemo(()=>({siderHook:{addSider:ut=>{xe(Mt=>[].concat((0,y.Z)(Mt),[ut]))},removeSider:ut=>{xe(Mt=>Mt.filter(un=>un!==ut))}}}),[]);return ht(De.createElement(Le.Provider,{value:Ve},De.createElement(dt,Object.assign({ref:ge,className:Kt,style:Object.assign(Object.assign({},at==null?void 0:at.style),Re)},mt),Xe)))}),x=le({tagName:"div",displayName:"Layout"})(a),b=le({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=le({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),te=le({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(Bt,Zt,ne){"use strict";ne.d(Zt,{J:function(){return Ie}});var y=ne(59301),ue=ne(33234),Ce=ne(70425),Oe=function(se,Ze){var Ke={};for(var je in se)Object.prototype.hasOwnProperty.call(se,je)&&Ze.indexOf(je)<0&&(Ke[je]=se[je]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,je=Object.getOwnPropertySymbols(se);ze{const{children:Ke}=se,je=Oe(se,["children"]),ze=y.useContext(De),He=y.useMemo(()=>Object.assign(Object.assign({},ze),je),[ze,je.prefixCls,je.mode,je.selectable]);return y.createElement(De.Provider,{value:He},y.createElement(ue.BR,null,(0,Ce.supportNodeRef)(Ke)?y.cloneElement(Ke,{ref:Ze}):Ke))});Zt.Z=De},20834:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return Ot}});var y=ne(15285),ue=ne(59301),Ce=ne(45818),Oe=ne(92310),De=ne.n(Oe),Ie=ne(36355),se=function(tt,Ye){var Fe={};for(var he in tt)Object.prototype.hasOwnProperty.call(tt,he)&&Ye.indexOf(he)<0&&(Fe[he]=tt[he]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,he=Object.getOwnPropertySymbols(tt);et{const{prefixCls:Ye,className:Fe,dashed:he}=tt,et=se(tt,["prefixCls","className","dashed"]),{getPrefixCls:Lt}=ue.useContext(Ie.E_),we=Lt("menu",Ye),be=De()({[`${we}-item-divider-dashed`]:!!he},Fe);return ue.createElement(y.iz,Object.assign({className:be},et))},je=ne(11592),ze=ne(2738),He=ne(6848),Le=ne(92343),E=(0,ue.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=tt=>{var Ye;const{className:Fe,children:he,icon:et,title:Lt,danger:we}=tt,{prefixCls:be,firstLevel:Pt,direction:Je,disableMenuItemTitleTooltip:Te,inlineCollapsed:Ct}=ue.useContext(E),pn=it=>{const Et=ue.createElement("span",{className:`${be}-title-content`},he);return(!et||(0,Le.l$)(he)&&he.type==="span")&&he&&it&&Pt&&typeof he=="string"?ue.createElement("div",{className:`${be}-inline-collapsed-noicon`},he.charAt(0)):Et},{siderCollapsed:Tt}=ue.useContext(Ce.D);let on=Lt;typeof Lt=="undefined"?on=Pt?he:"":Lt===!1&&(on="");const an={title:on};!Tt&&!Ct&&(an.title=null,an.open=!1);const mn=(0,je.Z)(he).length;let ke=ue.createElement(y.ck,Object.assign({},(0,ze.Z)(tt,["title","icon","danger"]),{className:De()({[`${be}-item-danger`]:we,[`${be}-item-only-child`]:(et?mn+1:mn)===1},Fe),title:typeof Lt=="string"?Lt:void 0}),(0,Le.Tm)(et,{className:De()((0,Le.l$)(et)?(Ye=et.props)===null||Ye===void 0?void 0:Ye.className:"",`${be}-item-icon`)}),pn(Ct));return Te||(ke=ue.createElement(He.Z,Object.assign({},an,{placement:Je==="rtl"?"left":"right",overlayClassName:`${be}-inline-collapsed-tooltip`}),ke)),ke},z=tt=>{var Ye;const{popupClassName:Fe,icon:he,title:et,theme:Lt}=tt,we=ue.useContext(E),{prefixCls:be,inlineCollapsed:Pt,theme:Je}=we,Te=(0,y.Xl)();let Ct;if(!he)Ct=Pt&&!Te.length&&et&&typeof et=="string"?ue.createElement("div",{className:`${be}-inline-collapsed-noicon`},et.charAt(0)):ue.createElement("span",{className:`${be}-title-content`},et);else{const Tt=(0,Le.l$)(et)&&et.type==="span";Ct=ue.createElement(ue.Fragment,null,(0,Le.Tm)(he,{className:De()((0,Le.l$)(he)?(Ye=he.props)===null||Ye===void 0?void 0:Ye.className:"",`${be}-item-icon`)}),Tt?et:ue.createElement("span",{className:`${be}-title-content`},et))}const pn=ue.useMemo(()=>Object.assign(Object.assign({},we),{firstLevel:!1}),[we]);return ue.createElement(E.Provider,{value:pn},ue.createElement(y.Wd,Object.assign({},(0,ze.Z)(tt,["icon"]),{title:Ct,popupClassName:De()(be,Fe,`${be}-${Lt||Je}`)})))},te=ne(18785),re=ne(70425),ie=ne(62892),ge=ne(40875),fe=function(tt,Ye){var Fe={};for(var he in tt)Object.prototype.hasOwnProperty.call(tt,he)&&Ye.indexOf(he)<0&&(Fe[he]=tt[he]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,he=Object.getOwnPropertySymbols(tt);et{if(Ye&&typeof Ye=="object"){const he=Ye,{label:et,children:Lt,key:we,type:be}=he,Pt=fe(he,["label","children","key","type"]),Je=we!=null?we:`tmp-${Fe}`;return Lt||be==="group"?be==="group"?ue.createElement(y.BW,Object.assign({key:Je},Pt,{title:et}),ce(Lt)):ue.createElement(z,Object.assign({key:Je},Pt,{title:et}),ce(Lt)):be==="divider"?ue.createElement(Ke,Object.assign({key:Je},Pt)):ue.createElement(x,Object.assign({key:Je},Pt),et)}return null}).filter(Ye=>Ye)}function xe(tt){return ue.useMemo(()=>tt&&ce(tt),[tt])}var ye=ne(64993),Ne=ne(17313),pe=ne(8378),Xe=ne(13826),We=ne(29878),dt=ne(83116),Re=ne(37613),mt=tt=>{const{componentCls:Ye,motionDurationSlow:Fe,horizontalLineHeight:he,colorSplit:et,lineWidth:Lt,lineType:we,itemPaddingInline:be}=tt;return{[`${Ye}-horizontal`]:{lineHeight:he,border:0,borderBottom:`${Lt}px ${we} ${et}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ye}-item, ${Ye}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:be},[`> ${Ye}-item:hover, + &${b}-slide-up-leave${b}-slide-up-leave-active${Le}-placement-topRight`]:{animationName:ue.ly}})},(0,we.ZP)(He,{colorBg:ye,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Le} ${le}`]:{position:"relative",margin:0},[`${le}-submenu-popup`]:{position:"absolute",zIndex:E,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Le}, ${Le}-menu-submenu`]:{[le]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:ye,backgroundClip:"padding-box",borderRadius:He.borderRadiusLG,outline:"none",boxShadow:He.boxShadowSecondary},(0,y.Qy)(He)),{[`${le}-item-group-title`]:{padding:`${re}px ${xe}px`,color:He.colorTextDescription,transition:`all ${te}`},[`${le}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${le}-item-icon`]:{minWidth:ie,marginInlineEnd:He.marginXS,fontSize:He.fontSizeSM},[`${le}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${le}-item, ${le}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${xe}px`,color:He.colorText,fontWeight:"normal",fontSize:ie,lineHeight:He.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:He.borderRadiusSM,"&:hover, &-active":{backgroundColor:He.controlItemBgHover}},(0,y.Qy)(He)),{"&-selected":{color:He.colorPrimary,backgroundColor:He.controlItemBgActive,"&:hover, &-active":{backgroundColor:He.controlItemBgActiveHover}},"&-disabled":{color:fe,cursor:"not-allowed","&:hover":{color:fe,backgroundColor:ye,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${He.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:He.colorSplit},[`${Le}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:He.paddingXS,[`${Le}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:He.colorTextDescription,fontSize:ce,fontStyle:"normal"}}}),[`${le}-item-group-list`]:{margin:`0 ${He.marginXS}px`,padding:0,listStyle:"none"},[`${le}-submenu-title`]:{paddingInlineEnd:xe+He.fontSizeSM},[`${le}-submenu-vertical`]:{position:"relative"},[`${le}-submenu${le}-submenu-disabled ${Le}-menu-submenu-title`]:{[`&, ${Le}-menu-submenu-arrow-icon`]:{color:fe,backgroundColor:ye,cursor:"not-allowed"}},[`${le}-submenu-selected ${Le}-menu-submenu-title`]:{color:He.colorPrimary}})}},[(0,ue.oN)(He,"slide-up"),(0,ue.oN)(He,"slide-down"),(0,Ce.Fm)(He,"move-up"),(0,Ce.Fm)(He,"move-down"),(0,Oe._y)(He,"zoom-big")]]};var ze=(0,Ie.Z)("Dropdown",(He,Le)=>{let{rootPrefixCls:le}=Le;const{marginXXS:E,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:z,paddingXXS:te,componentCls:re,borderRadiusLG:ie}=He,ge=(x-b*z)/2,{dropdownArrowOffset:fe}=(0,we.fS)({contentRadius:ie}),ce=(0,se.TS)(He,{menuCls:`${re}-menu`,rootPrefixCls:le,dropdownArrowDistance:a/2+E,dropdownArrowOffset:fe,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:te});return[je(ce),Ke(ce)]},He=>({zIndexPopup:He.zIndexPopupBase+50}))},8628:function(At,jt,ne){"use strict";var y=ne(59301),ue=ne(34280),Ce=ne(56762),Oe=ne(69507);function we(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,y.useRef)({}),Ze=(0,Ce.Z)(),Ke=(0,Oe.ZP)();return(0,ue.Z)(()=>{const je=Ke.subscribe(ze=>{se.current=ze,Ie&&Ze()});return()=>Ke.unsubscribe(je)},[]),se.current}jt.Z=we},45818:function(At,jt,ne){"use strict";ne.d(jt,{D:function(){return te},Z:function(){return ge}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(ce,xe){return ue.createElement(we.Z,(0,y.Z)({},ce,{ref:xe,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(33853),je=ne(38819),ze=ne(92310),He=ne.n(ze),Le=ne(2738),E=fe=>!isNaN(parseFloat(fe))&&isFinite(fe),a=ne(36355),x=ne(84966),b=function(fe,ce){var xe={};for(var ye in fe)Object.prototype.hasOwnProperty.call(fe,ye)&&ce.indexOf(ye)<0&&(xe[ye]=fe[ye]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ne=0,ye=Object.getOwnPropertySymbols(fe);Ne{let fe=0;return function(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe+=1,`${ce}${fe}`}})();var ge=ue.forwardRef((fe,ce)=>{const{prefixCls:xe,className:ye,trigger:Ne,children:pe,defaultCollapsed:Xe=!1,theme:We="dark",style:ut={},collapsible:Re=!1,reverseArrow:_e=!1,width:mt=200,collapsedWidth:Qe=80,zeroWidthTriggerStyle:ot,breakpoint:Wt,onCollapse:ht,onBreakpoint:Ht}=fe,Kt=b(fe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ve}=(0,ue.useContext)(x.Gs),[st,Rt]=(0,ue.useState)("collapsed"in fe?fe.collapsed:Xe),[gn,wt]=(0,ue.useState)(!1);(0,ue.useEffect)(()=>{"collapsed"in fe&&Rt(fe.collapsed)},[fe.collapsed]);const $t=(et,Ye)=>{"collapsed"in fe||Rt(et),ht==null||ht(et,Ye)},Be=(0,ue.useRef)();Be.current=et=>{wt(et.matches),Ht==null||Ht(et.matches),st!==et.matches&&$t(et.matches,"responsive")},(0,ue.useEffect)(()=>{function et(De){return Be.current(De)}let Ye;if(typeof window!="undefined"){const{matchMedia:De}=window;if(De&&Wt&&Wt in z){Ye=De(`(max-width: ${z[Wt]})`);try{Ye.addEventListener("change",et)}catch(he){Ye.addListener(et)}et(Ye)}}return()=>{try{Ye==null||Ye.removeEventListener("change",et)}catch(De){Ye==null||Ye.removeListener(et)}}},[Wt]),(0,ue.useEffect)(()=>{const et=re("ant-sider-");return Ve.addSider(et),()=>Ve.removeSider(et)},[]);const Jt=()=>{$t(!st,"clickTrigger")},{getPrefixCls:bn}=(0,ue.useContext)(a.E_),Ot=()=>{const et=bn("layout-sider",xe),Ye=(0,Le.Z)(Kt,["collapsed"]),De=st?Qe:mt,he=E(De)?`${De}px`:String(De),tt=parseFloat(String(Qe||0))===0?ue.createElement("span",{onClick:Jt,className:He()(`${et}-zero-width-trigger`,`${et}-zero-width-trigger-${_e?"right":"left"}`),style:ot},Ne||ue.createElement(Ze,null)):null,be={expanded:_e?ue.createElement(je.Z,null):ue.createElement(Ke.Z,null),collapsed:_e?ue.createElement(Ke.Z,null):ue.createElement(je.Z,null)}[st?"collapsed":"expanded"],Pt=Ne!==null?tt||ue.createElement("div",{className:`${et}-trigger`,onClick:Jt,style:{width:he}},Ne||be):null,Je=Object.assign(Object.assign({},ut),{flex:`0 0 ${he}`,maxWidth:he,minWidth:he,width:he}),ke=He()(et,`${et}-${We}`,{[`${et}-collapsed`]:!!st,[`${et}-has-trigger`]:Re&&Ne!==null&&!tt,[`${et}-below`]:!!gn,[`${et}-zero-width`]:parseFloat(he)===0},ye);return ue.createElement("aside",Object.assign({className:ke},Ye,{style:Je,ref:ce}),ue.createElement("div",{className:`${et}-children`},pe),Re||gn&&tt?Pt:null)},Zt=ue.useMemo(()=>({siderCollapsed:st}),[st]);return ue.createElement(te.Provider,{value:Zt},Ot())})},84966:function(At,jt,ne){"use strict";ne.d(jt,{VY:function(){return te},$_:function(){return z},h4:function(){return b},Gs:function(){return Le},ZP:function(){return re}});var y=ne(94480),ue=ne(92310),Ce=ne.n(ue),Oe=ne(2738),we=ne(59301),Ie=ne(36355),se=ne(83116),Ke=ie=>{const{componentCls:ge,bodyBg:fe,lightSiderBg:ce,lightTriggerBg:xe,lightTriggerColor:ye}=ie;return{[`${ge}-sider-light`]:{background:ce,[`${ge}-sider-trigger`]:{color:ye,background:xe},[`${ge}-sider-zero-width-trigger`]:{color:ye,background:xe,border:`1px solid ${fe}`,borderInlineStart:0}}}};const je=ie=>{const{antCls:ge,componentCls:fe,colorText:ce,triggerColor:xe,footerBg:ye,triggerBg:Ne,headerHeight:pe,headerPadding:Xe,headerColor:We,footerPadding:ut,triggerHeight:Re,zeroTriggerHeight:_e,zeroTriggerWidth:mt,motionDurationMid:Qe,motionDurationSlow:ot,fontSize:Wt,borderRadius:ht,bodyBg:Ht,headerBg:Kt,siderBg:Ve}=ie;return{[fe]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ht,"&, *":{boxSizing:"border-box"},[`&${fe}-has-sider`]:{flexDirection:"row",[`> ${fe}, > ${fe}-content`]:{width:0}},[`${fe}-header, &${fe}-footer`]:{flex:"0 0 auto"},[`${fe}-sider`]:{position:"relative",minWidth:0,background:Ve,transition:`all ${Qe}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Re},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Re,color:xe,lineHeight:`${Re}px`,textAlign:"center",background:Ne,cursor:"pointer",transition:`all ${Qe}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pe,insetInlineEnd:-mt,zIndex:1,width:mt,height:_e,color:xe,fontSize:ie.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ve,borderStartStartRadius:0,borderStartEndRadius:ht,borderEndEndRadius:ht,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ot} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ot}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-mt,borderStartStartRadius:ht,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ht}}}}},Ke(ie)),{"&-rtl":{direction:"rtl"}}),[`${fe}-header`]:{height:pe,padding:Xe,color:We,lineHeight:`${pe}px`,background:Kt,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${fe}-footer`]:{padding:ut,color:ce,fontSize:Wt,background:ye},[`${fe}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,se.Z)("Layout",ie=>[je(ie)],ie=>{const{colorBgLayout:ge,controlHeight:fe,controlHeightLG:ce,colorText:xe,controlHeightSM:ye,marginXXS:Ne,colorTextLightSolid:pe,colorBgContainer:Xe}=ie,We=ce*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:fe*2,headerPadding:`0 ${We}px`,headerColor:xe,footerPadding:`${ye}px ${We}px`,footerBg:ge,siderBg:"#001529",triggerHeight:ce+Ne*2,triggerBg:"#002140",triggerColor:pe,zeroTriggerWidth:ce,zeroTriggerHeight:ce,lightSiderBg:Xe,lightTriggerBg:Xe,lightTriggerColor:xe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),He=function(ie,ge){var fe={};for(var ce in ie)Object.prototype.hasOwnProperty.call(ie,ce)&&ge.indexOf(ce)<0&&(fe[ce]=ie[ce]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ce=Object.getOwnPropertySymbols(ie);xenull,removeSider:()=>null}});function le(ie){let{suffixCls:ge,tagName:fe,displayName:ce}=ie;return xe=>we.forwardRef((Ne,pe)=>we.createElement(xe,Object.assign({ref:pe,suffixCls:ge,tagName:fe},Ne)))}const E=we.forwardRef((ie,ge)=>{const{prefixCls:fe,suffixCls:ce,className:xe,tagName:ye}=ie,Ne=He(ie,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pe}=we.useContext(Ie.E_),Xe=pe("layout",fe),[We,ut]=ze(Xe),Re=ce?`${Xe}-${ce}`:Xe;return We(we.createElement(ye,Object.assign({className:Ce()(fe||Re,xe,ut),ref:ge},Ne)))}),a=we.forwardRef((ie,ge)=>{const{direction:fe}=we.useContext(Ie.E_),[ce,xe]=we.useState([]),{prefixCls:ye,className:Ne,rootClassName:pe,children:Xe,hasSider:We,tagName:ut,style:Re}=ie,_e=He(ie,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),mt=(0,Oe.Z)(_e,["suffixCls"]),{getPrefixCls:Qe,layout:ot}=we.useContext(Ie.E_),Wt=Qe("layout",ye),[ht,Ht]=ze(Wt),Kt=Ce()(Wt,{[`${Wt}-has-sider`]:typeof We=="boolean"?We:ce.length>0,[`${Wt}-rtl`]:fe==="rtl"},ot==null?void 0:ot.className,Ne,pe,Ht),Ve=we.useMemo(()=>({siderHook:{addSider:st=>{xe(Rt=>[].concat((0,y.Z)(Rt),[st]))},removeSider:st=>{xe(Rt=>Rt.filter(gn=>gn!==st))}}}),[]);return ht(we.createElement(Le.Provider,{value:Ve},we.createElement(ut,Object.assign({ref:ge,className:Kt,style:Object.assign(Object.assign({},ot==null?void 0:ot.style),Re)},mt),Xe)))}),x=le({tagName:"div",displayName:"Layout"})(a),b=le({suffixCls:"header",tagName:"header",displayName:"Header"})(E),z=le({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(E),te=le({suffixCls:"content",tagName:"main",displayName:"Content"})(E);var re=x},40875:function(At,jt,ne){"use strict";ne.d(jt,{J:function(){return Ie}});var y=ne(59301),ue=ne(33234),Ce=ne(70425),Oe=function(se,Ze){var Ke={};for(var je in se)Object.prototype.hasOwnProperty.call(se,je)&&Ze.indexOf(je)<0&&(Ke[je]=se[je]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,je=Object.getOwnPropertySymbols(se);ze{const{children:Ke}=se,je=Oe(se,["children"]),ze=y.useContext(we),He=y.useMemo(()=>Object.assign(Object.assign({},ze),je),[ze,je.prefixCls,je.mode,je.selectable]);return y.createElement(we.Provider,{value:He},y.createElement(ue.BR,null,(0,Ce.supportNodeRef)(Ke)?y.cloneElement(Ke,{ref:Ze}):Ke))});jt.Z=we},20834:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return Zt}});var y=ne(15285),ue=ne(59301),Ce=ne(45818),Oe=ne(92310),we=ne.n(Oe),Ie=ne(36355),se=function(et,Ye){var De={};for(var he in et)Object.prototype.hasOwnProperty.call(et,he)&&Ye.indexOf(he)<0&&(De[he]=et[he]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,he=Object.getOwnPropertySymbols(et);tt{const{prefixCls:Ye,className:De,dashed:he}=et,tt=se(et,["prefixCls","className","dashed"]),{getPrefixCls:Lt}=ue.useContext(Ie.E_),Fe=Lt("menu",Ye),be=we()({[`${Fe}-item-divider-dashed`]:!!he},De);return ue.createElement(y.iz,Object.assign({className:be},tt))},je=ne(11592),ze=ne(2738),He=ne(6848),Le=ne(92343),E=(0,ue.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=et=>{var Ye;const{className:De,children:he,icon:tt,title:Lt,danger:Fe}=et,{prefixCls:be,firstLevel:Pt,direction:Je,disableMenuItemTitleTooltip:ke,inlineCollapsed:bt}=ue.useContext(E),hn=at=>{const Nt=ue.createElement("span",{className:`${be}-title-content`},he);return(!tt||(0,Le.l$)(he)&&he.type==="span")&&he&&at&&Pt&&typeof he=="string"?ue.createElement("div",{className:`${be}-inline-collapsed-noicon`},he.charAt(0)):Nt},{siderCollapsed:Tt}=ue.useContext(Ce.D);let ln=Lt;typeof Lt=="undefined"?ln=Pt?he:"":Lt===!1&&(ln="");const tn={title:ln};!Tt&&!bt&&(tn.title=null,tn.open=!1);const an=(0,je.Z)(he).length;let Te=ue.createElement(y.ck,Object.assign({},(0,ze.Z)(et,["title","icon","danger"]),{className:we()({[`${be}-item-danger`]:Fe,[`${be}-item-only-child`]:(tt?an+1:an)===1},De),title:typeof Lt=="string"?Lt:void 0}),(0,Le.Tm)(tt,{className:we()((0,Le.l$)(tt)?(Ye=tt.props)===null||Ye===void 0?void 0:Ye.className:"",`${be}-item-icon`)}),hn(bt));return ke||(Te=ue.createElement(He.Z,Object.assign({},tn,{placement:Je==="rtl"?"left":"right",overlayClassName:`${be}-inline-collapsed-tooltip`}),Te)),Te},z=et=>{var Ye;const{popupClassName:De,icon:he,title:tt,theme:Lt}=et,Fe=ue.useContext(E),{prefixCls:be,inlineCollapsed:Pt,theme:Je}=Fe,ke=(0,y.Xl)();let bt;if(!he)bt=Pt&&!ke.length&&tt&&typeof tt=="string"?ue.createElement("div",{className:`${be}-inline-collapsed-noicon`},tt.charAt(0)):ue.createElement("span",{className:`${be}-title-content`},tt);else{const Tt=(0,Le.l$)(tt)&&tt.type==="span";bt=ue.createElement(ue.Fragment,null,(0,Le.Tm)(he,{className:we()((0,Le.l$)(he)?(Ye=he.props)===null||Ye===void 0?void 0:Ye.className:"",`${be}-item-icon`)}),Tt?tt:ue.createElement("span",{className:`${be}-title-content`},tt))}const hn=ue.useMemo(()=>Object.assign(Object.assign({},Fe),{firstLevel:!1}),[Fe]);return ue.createElement(E.Provider,{value:hn},ue.createElement(y.Wd,Object.assign({},(0,ze.Z)(et,["icon"]),{title:bt,popupClassName:we()(be,De,`${be}-${Lt||Je}`)})))},te=ne(18785),re=ne(70425),ie=ne(62892),ge=ne(40875),fe=function(et,Ye){var De={};for(var he in et)Object.prototype.hasOwnProperty.call(et,he)&&Ye.indexOf(he)<0&&(De[he]=et[he]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,he=Object.getOwnPropertySymbols(et);tt{if(Ye&&typeof Ye=="object"){const he=Ye,{label:tt,children:Lt,key:Fe,type:be}=he,Pt=fe(he,["label","children","key","type"]),Je=Fe!=null?Fe:`tmp-${De}`;return Lt||be==="group"?be==="group"?ue.createElement(y.BW,Object.assign({key:Je},Pt,{title:tt}),ce(Lt)):ue.createElement(z,Object.assign({key:Je},Pt,{title:tt}),ce(Lt)):be==="divider"?ue.createElement(Ke,Object.assign({key:Je},Pt)):ue.createElement(x,Object.assign({key:Je},Pt),tt)}return null}).filter(Ye=>Ye)}function xe(et){return ue.useMemo(()=>et&&ce(et),[et])}var ye=ne(64993),Ne=ne(17313),pe=ne(8378),Xe=ne(13826),We=ne(29878),ut=ne(83116),Re=ne(37613),mt=et=>{const{componentCls:Ye,motionDurationSlow:De,horizontalLineHeight:he,colorSplit:tt,lineWidth:Lt,lineType:Fe,itemPaddingInline:be}=et;return{[`${Ye}-horizontal`]:{lineHeight:he,border:0,borderBottom:`${Lt}px ${Fe} ${tt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ye}-item, ${Ye}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:be},[`> ${Ye}-item:hover, > ${Ye}-item-active, - > ${Ye}-submenu ${Ye}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ye}-item, ${Ye}-submenu-title`]:{transition:[`border-color ${Fe}`,`background ${Fe}`].join(",")},[`${Ye}-submenu-arrow`]:{display:"none"}}}},at=tt=>{let{componentCls:Ye,menuArrowOffset:Fe}=tt;return{[`${Ye}-rtl`]:{direction:"rtl"},[`${Ye}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ye}-rtl${Ye}-vertical, - ${Ye}-submenu-rtl ${Ye}-vertical`]:{[`${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(45deg) translateY(${Fe})`}}}}};const Ht=tt=>Object.assign({},(0,Ne.oN)(tt));var zt=(tt,Ye)=>{const{componentCls:Fe,itemColor:he,itemSelectedColor:et,groupTitleColor:Lt,itemBg:we,subMenuItemBg:be,itemSelectedBg:Pt,activeBarHeight:Je,activeBarWidth:Te,activeBarBorderWidth:Ct,motionDurationSlow:pn,motionEaseInOut:Tt,motionEaseOut:on,itemPaddingInline:an,motionDurationMid:mn,itemHoverColor:ke,lineType:it,colorSplit:Et,itemDisabledColor:vt,dangerItemColor:lt,dangerItemHoverColor:tn,dangerItemSelectedColor:En,dangerItemActiveBg:Cn,dangerItemSelectedBg:In,itemHoverBg:ra,itemActiveBg:Xt,menuSubMenuBg:Yt,horizontalItemSelectedColor:qt,horizontalItemSelectedBg:Ln,horizontalItemBorderRadius:$t,horizontalItemHoverBg:ha,popupBg:ba}=tt;return{[`${Fe}-${Ye}, ${Fe}-${Ye} > ${Fe}`]:{color:he,background:we,[`&${Fe}-root:focus-visible`]:Object.assign({},Ht(tt)),[`${Fe}-item-group-title`]:{color:Lt},[`${Fe}-submenu-selected`]:{[`> ${Fe}-submenu-title`]:{color:et}},[`${Fe}-item-disabled, ${Fe}-submenu-disabled`]:{color:`${vt} !important`},[`${Fe}-item:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{[`&:hover, > ${Fe}-submenu-title:hover`]:{color:ke}},[`&:not(${Fe}-horizontal)`]:{[`${Fe}-item:not(${Fe}-item-selected)`]:{"&:hover":{backgroundColor:ra},"&:active":{backgroundColor:Xt}},[`${Fe}-submenu-title`]:{"&:hover":{backgroundColor:ra},"&:active":{backgroundColor:Xt}}},[`${Fe}-item-danger`]:{color:lt,[`&${Fe}-item:hover`]:{[`&:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{color:tn}},[`&${Fe}-item:active`]:{background:Cn}},[`${Fe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Fe}-item-selected`]:{color:et,[`&${Fe}-item-danger`]:{color:En},"a, a:hover":{color:"inherit"}},[`& ${Fe}-item-selected`]:{backgroundColor:Pt,[`&${Fe}-item-danger`]:{backgroundColor:In}},[`${Fe}-item, ${Fe}-submenu-title`]:{[`&:not(${Fe}-item-disabled):focus-visible`]:Object.assign({},Ht(tt))},[`&${Fe}-submenu > ${Fe}`]:{backgroundColor:Yt},[`&${Fe}-popup > ${Fe}`]:{backgroundColor:ba},[`&${Fe}-horizontal`]:Object.assign(Object.assign({},Ye==="dark"?{borderBottom:0}:{}),{[`> ${Fe}-item, > ${Fe}-submenu`]:{top:Ct,marginTop:-Ct,marginBottom:0,borderRadius:$t,"&::after":{position:"absolute",insetInline:an,bottom:0,borderBottom:`${Je}px solid transparent`,transition:`border-color ${pn} ${Tt}`,content:'""'},"&:hover, &-active, &-open":{background:ha,"&::after":{borderBottomWidth:Je,borderBottomColor:qt}},"&-selected":{color:qt,backgroundColor:Ln,"&:hover":{backgroundColor:Ln},"&::after":{borderBottomWidth:Je,borderBottomColor:qt}}}}),[`&${Fe}-root`]:{[`&${Fe}-inline, &${Fe}-vertical`]:{borderInlineEnd:`${Ct}px ${it} ${Et}`}},[`&${Fe}-inline`]:{[`${Fe}-sub${Fe}-inline`]:{background:be},[`${Fe}-item, ${Fe}-submenu-title`]:Ct&&Te?{width:`calc(100% + ${Ct}px)`}:{},[`${Fe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Te}px solid ${et}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${mn} ${on}`,`opacity ${mn} ${on}`].join(","),content:'""'},[`&${Fe}-item-danger`]:{"&::after":{borderInlineEndColor:En}}},[`${Fe}-selected, ${Fe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${mn} ${Tt}`,`opacity ${mn} ${Tt}`].join(",")}}}}}};const Kt=tt=>{const{componentCls:Ye,itemHeight:Fe,itemMarginInline:he,padding:et,menuArrowSize:Lt,marginXS:we,itemMarginBlock:be}=tt,Pt=et+Lt+we;return{[`${Ye}-item`]:{position:"relative",overflow:"hidden"},[`${Ye}-item, ${Ye}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`,paddingInline:et,overflow:"hidden",textOverflow:"ellipsis",marginInline:he,marginBlock:be,width:`calc(100% - ${he*2}px)`},[`> ${Ye}-item, - > ${Ye}-submenu > ${Ye}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`},[`${Ye}-item-group-list ${Ye}-submenu-title, - ${Ye}-submenu-title`]:{paddingInlineEnd:Pt}}};var ut=tt=>{const{componentCls:Ye,iconCls:Fe,itemHeight:he,colorTextLightSolid:et,dropdownWidth:Lt,controlHeightLG:we,motionDurationMid:be,motionEaseOut:Pt,paddingXL:Je,itemMarginInline:Te,fontSizeLG:Ct,motionDurationSlow:pn,paddingXS:Tt,boxShadowSecondary:on,collapsedWidth:an,collapsedIconSize:mn}=tt,ke={height:he,lineHeight:`${he}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ye]:{"&-inline, &-vertical":Object.assign({[`&${Ye}-root`]:{boxShadow:"none"}},Kt(tt))},[`${Ye}-submenu-popup`]:{[`${Ye}-vertical`]:Object.assign(Object.assign({},Kt(tt)),{boxShadow:on})}},{[`${Ye}-submenu-popup ${Ye}-vertical${Ye}-sub`]:{minWidth:Lt,maxHeight:`calc(100vh - ${we*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ye}-inline`]:{width:"100%",[`&${Ye}-root`]:{[`${Ye}-item, ${Ye}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${pn}`,`background ${pn}`,`padding ${be} ${Pt}`].join(","),[`> ${Ye}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ye}-sub${Ye}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ye}-submenu > ${Ye}-submenu-title`]:ke,[`& ${Ye}-item-group-title`]:{paddingInlineStart:Je}},[`${Ye}-item`]:ke}},{[`${Ye}-inline-collapsed`]:{width:an,[`&${Ye}-root`]:{[`${Ye}-item, ${Ye}-submenu ${Ye}-submenu-title`]:{[`> ${Ye}-inline-collapsed-noicon`]:{fontSize:Ct,textAlign:"center"}}},[`> ${Ye}-item, + > ${Ye}-submenu ${Ye}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ye}-item, ${Ye}-submenu-title`]:{transition:[`border-color ${De}`,`background ${De}`].join(",")},[`${Ye}-submenu-arrow`]:{display:"none"}}}},ot=et=>{let{componentCls:Ye,menuArrowOffset:De}=et;return{[`${Ye}-rtl`]:{direction:"rtl"},[`${Ye}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ye}-rtl${Ye}-vertical, + ${Ye}-submenu-rtl ${Ye}-vertical`]:{[`${Ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${De})`},"&::after":{transform:`rotate(45deg) translateY(${De})`}}}}};const Wt=et=>Object.assign({},(0,Ne.oN)(et));var Ht=(et,Ye)=>{const{componentCls:De,itemColor:he,itemSelectedColor:tt,groupTitleColor:Lt,itemBg:Fe,subMenuItemBg:be,itemSelectedBg:Pt,activeBarHeight:Je,activeBarWidth:ke,activeBarBorderWidth:bt,motionDurationSlow:hn,motionEaseInOut:Tt,motionEaseOut:ln,itemPaddingInline:tn,motionDurationMid:an,itemHoverColor:Te,lineType:at,colorSplit:Nt,itemDisabledColor:ft,dangerItemColor:lt,dangerItemHoverColor:fn,dangerItemSelectedColor:En,dangerItemActiveBg:yn,dangerItemSelectedBg:Ln,itemHoverBg:ea,itemActiveBg:Xt,menuSubMenuBg:Yt,horizontalItemSelectedColor:qt,horizontalItemSelectedBg:In,horizontalItemBorderRadius:en,horizontalItemHoverBg:Sa,popupBg:Ca}=et;return{[`${De}-${Ye}, ${De}-${Ye} > ${De}`]:{color:he,background:Fe,[`&${De}-root:focus-visible`]:Object.assign({},Wt(et)),[`${De}-item-group-title`]:{color:Lt},[`${De}-submenu-selected`]:{[`> ${De}-submenu-title`]:{color:tt}},[`${De}-item-disabled, ${De}-submenu-disabled`]:{color:`${ft} !important`},[`${De}-item:not(${De}-item-selected):not(${De}-submenu-selected)`]:{[`&:hover, > ${De}-submenu-title:hover`]:{color:Te}},[`&:not(${De}-horizontal)`]:{[`${De}-item:not(${De}-item-selected)`]:{"&:hover":{backgroundColor:ea},"&:active":{backgroundColor:Xt}},[`${De}-submenu-title`]:{"&:hover":{backgroundColor:ea},"&:active":{backgroundColor:Xt}}},[`${De}-item-danger`]:{color:lt,[`&${De}-item:hover`]:{[`&:not(${De}-item-selected):not(${De}-submenu-selected)`]:{color:fn}},[`&${De}-item:active`]:{background:yn}},[`${De}-item a`]:{"&, &:hover":{color:"inherit"}},[`${De}-item-selected`]:{color:tt,[`&${De}-item-danger`]:{color:En},"a, a:hover":{color:"inherit"}},[`& ${De}-item-selected`]:{backgroundColor:Pt,[`&${De}-item-danger`]:{backgroundColor:Ln}},[`${De}-item, ${De}-submenu-title`]:{[`&:not(${De}-item-disabled):focus-visible`]:Object.assign({},Wt(et))},[`&${De}-submenu > ${De}`]:{backgroundColor:Yt},[`&${De}-popup > ${De}`]:{backgroundColor:Ca},[`&${De}-horizontal`]:Object.assign(Object.assign({},Ye==="dark"?{borderBottom:0}:{}),{[`> ${De}-item, > ${De}-submenu`]:{top:bt,marginTop:-bt,marginBottom:0,borderRadius:en,"&::after":{position:"absolute",insetInline:tn,bottom:0,borderBottom:`${Je}px solid transparent`,transition:`border-color ${hn} ${Tt}`,content:'""'},"&:hover, &-active, &-open":{background:Sa,"&::after":{borderBottomWidth:Je,borderBottomColor:qt}},"&-selected":{color:qt,backgroundColor:In,"&:hover":{backgroundColor:In},"&::after":{borderBottomWidth:Je,borderBottomColor:qt}}}}),[`&${De}-root`]:{[`&${De}-inline, &${De}-vertical`]:{borderInlineEnd:`${bt}px ${at} ${Nt}`}},[`&${De}-inline`]:{[`${De}-sub${De}-inline`]:{background:be},[`${De}-item, ${De}-submenu-title`]:bt&&ke?{width:`calc(100% + ${bt}px)`}:{},[`${De}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ke}px solid ${tt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${an} ${ln}`,`opacity ${an} ${ln}`].join(","),content:'""'},[`&${De}-item-danger`]:{"&::after":{borderInlineEndColor:En}}},[`${De}-selected, ${De}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${an} ${Tt}`,`opacity ${an} ${Tt}`].join(",")}}}}}};const Kt=et=>{const{componentCls:Ye,itemHeight:De,itemMarginInline:he,padding:tt,menuArrowSize:Lt,marginXS:Fe,itemMarginBlock:be}=et,Pt=tt+Lt+Fe;return{[`${Ye}-item`]:{position:"relative",overflow:"hidden"},[`${Ye}-item, ${Ye}-submenu-title`]:{height:De,lineHeight:`${De}px`,paddingInline:tt,overflow:"hidden",textOverflow:"ellipsis",marginInline:he,marginBlock:be,width:`calc(100% - ${he*2}px)`},[`> ${Ye}-item, + > ${Ye}-submenu > ${Ye}-submenu-title`]:{height:De,lineHeight:`${De}px`},[`${Ye}-item-group-list ${Ye}-submenu-title, + ${Ye}-submenu-title`]:{paddingInlineEnd:Pt}}};var st=et=>{const{componentCls:Ye,iconCls:De,itemHeight:he,colorTextLightSolid:tt,dropdownWidth:Lt,controlHeightLG:Fe,motionDurationMid:be,motionEaseOut:Pt,paddingXL:Je,itemMarginInline:ke,fontSizeLG:bt,motionDurationSlow:hn,paddingXS:Tt,boxShadowSecondary:ln,collapsedWidth:tn,collapsedIconSize:an}=et,Te={height:he,lineHeight:`${he}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ye]:{"&-inline, &-vertical":Object.assign({[`&${Ye}-root`]:{boxShadow:"none"}},Kt(et))},[`${Ye}-submenu-popup`]:{[`${Ye}-vertical`]:Object.assign(Object.assign({},Kt(et)),{boxShadow:ln})}},{[`${Ye}-submenu-popup ${Ye}-vertical${Ye}-sub`]:{minWidth:Lt,maxHeight:`calc(100vh - ${Fe*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ye}-inline`]:{width:"100%",[`&${Ye}-root`]:{[`${Ye}-item, ${Ye}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${hn}`,`background ${hn}`,`padding ${be} ${Pt}`].join(","),[`> ${Ye}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ye}-sub${Ye}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ye}-submenu > ${Ye}-submenu-title`]:Te,[`& ${Ye}-item-group-title`]:{paddingInlineStart:Je}},[`${Ye}-item`]:Te}},{[`${Ye}-inline-collapsed`]:{width:tn,[`&${Ye}-root`]:{[`${Ye}-item, ${Ye}-submenu ${Ye}-submenu-title`]:{[`> ${Ye}-inline-collapsed-noicon`]:{fontSize:bt,textAlign:"center"}}},[`> ${Ye}-item, > ${Ye}-item-group > ${Ye}-item-group-list > ${Ye}-item, > ${Ye}-item-group > ${Ye}-item-group-list > ${Ye}-submenu > ${Ye}-submenu-title, - > ${Ye}-submenu > ${Ye}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ct/2}px - ${Te}px)`,textOverflow:"clip",[` + > ${Ye}-submenu > ${Ye}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${bt/2}px - ${ke}px)`,textOverflow:"clip",[` ${Ye}-submenu-arrow, ${Ye}-submenu-expand-icon - `]:{opacity:0},[`${Ye}-item-icon, ${Fe}`]:{margin:0,fontSize:mn,lineHeight:`${he}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ye}-item-icon, ${Fe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ye}-item-icon, ${Fe}`]:{display:"none"},"a, a:hover":{color:et}},[`${Ye}-item-group-title`]:Object.assign(Object.assign({},Ne.vS),{paddingInline:Tt})}}]};const Mt=tt=>{const{componentCls:Ye,motionDurationSlow:Fe,motionDurationMid:he,motionEaseInOut:et,motionEaseOut:Lt,iconCls:we,iconSize:be,iconMarginInlineEnd:Pt}=tt;return{[`${Ye}-item, ${Ye}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Fe}`,`background ${Fe}`,`padding ${Fe} ${et}`].join(","),[`${Ye}-item-icon, ${we}`]:{minWidth:be,fontSize:be,transition:[`font-size ${he} ${Lt}`,`margin ${Fe} ${et}`,`color ${Fe}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${Fe} ${et}`,`margin ${Fe}`,`color ${Fe}`].join(",")}},[`${Ye}-item-icon`]:Object.assign({},(0,Ne.Ro)()),[`&${Ye}-item-only-child`]:{[`> ${we}, > ${Ye}-item-icon`]:{marginInlineEnd:0}}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ye}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},un=tt=>{const{componentCls:Ye,motionDurationSlow:Fe,motionEaseInOut:he,borderRadius:et,menuArrowSize:Lt,menuArrowOffset:we}=tt;return{[`${Ye}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:tt.margin,width:Lt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Fe} ${he}, opacity ${Fe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Lt*.6,height:Lt*.15,backgroundColor:"currentcolor",borderRadius:et,transition:[`background ${Fe} ${he}`,`transform ${Fe} ${he}`,`top ${Fe} ${he}`,`color ${Fe} ${he}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${we})`},"&::after":{transform:`rotate(-45deg) translateY(${we})`}}}}},Dt=tt=>{const{antCls:Ye,componentCls:Fe,fontSize:he,motionDurationSlow:et,motionDurationMid:Lt,motionEaseInOut:we,paddingXS:be,padding:Pt,colorSplit:Je,lineWidth:Te,zIndexPopup:Ct,borderRadiusLG:pn,subMenuItemBorderRadius:Tt,menuArrowSize:on,menuArrowOffset:an,lineType:mn,menuPanelMaskInset:ke,groupTitleLineHeight:it,groupTitleFontSize:Et}=tt;return[{"":{[`${Fe}`]:Object.assign(Object.assign({},(0,Ne.dF)()),{"&-hidden":{display:"none"}})},[`${Fe}-submenu-hidden`]:{display:"none"}},{[Fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(tt)),(0,Ne.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:he,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${et} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Fe}-item`]:{flex:"none"}},[`${Fe}-item, ${Fe}-submenu, ${Fe}-submenu-title`]:{borderRadius:tt.itemBorderRadius},[`${Fe}-item-group-title`]:{padding:`${be}px ${Pt}px`,fontSize:Et,lineHeight:it,transition:`all ${et}`},[`&-horizontal ${Fe}-submenu`]:{transition:[`border-color ${et} ${we}`,`background ${et} ${we}`].join(",")},[`${Fe}-submenu, ${Fe}-submenu-inline`]:{transition:[`border-color ${et} ${we}`,`background ${et} ${we}`,`padding ${Lt} ${we}`].join(",")},[`${Fe}-submenu ${Fe}-sub`]:{cursor:"initial",transition:[`background ${et} ${we}`,`padding ${et} ${we}`].join(",")},[`${Fe}-title-content`]:{transition:`color ${et}`},[`${Fe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Fe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Je,borderStyle:mn,borderWidth:0,borderTopWidth:Te,marginBlock:Te,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Mt(tt)),{[`${Fe}-item-group`]:{[`${Fe}-item-group-list`]:{margin:0,padding:0,[`${Fe}-item, ${Fe}-submenu-title`]:{paddingInline:`${he*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ct,borderRadius:pn,boxShadow:"none",transformOrigin:"0 0",[`&${Fe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ke}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ke},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:tt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:tt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:tt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:tt.paddingXS},[`> ${Fe}`]:Object.assign(Object.assign(Object.assign({borderRadius:pn},Mt(tt)),un(tt)),{[`${Fe}-item, ${Fe}-submenu > ${Fe}-submenu-title`]:{borderRadius:Tt},[`${Fe}-submenu-title::after`]:{transition:`transform ${et} ${we}`}})}}),un(tt)),{[`&-inline-collapsed ${Fe}-submenu-arrow, - &-inline ${Fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${an})`},"&::after":{transform:`rotate(45deg) translateX(-${an})`}},[`${Fe}-submenu-open${Fe}-submenu-inline > ${Fe}-submenu-title > ${Fe}-submenu-arrow`]:{transform:`translateY(-${on*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${an})`},"&::before":{transform:`rotate(45deg) translateX(${an})`}}})},{[`${Ye}-layout-header`]:{[Fe]:{lineHeight:"inherit"}}}]};var en=(tt,Ye)=>(0,dt.Z)("Menu",he=>{if(Ye===!1)return[];const{colorBgElevated:et,colorPrimary:Lt,colorTextLightSolid:we,controlHeightLG:be,fontSize:Pt,darkItemColor:Je,darkDangerItemColor:Te,darkItemBg:Ct,darkSubMenuItemBg:pn,darkItemSelectedColor:Tt,darkItemSelectedBg:on,darkDangerItemSelectedBg:an,darkItemHoverBg:mn,darkGroupTitleColor:ke,darkItemHoverColor:it,darkItemDisabledColor:Et,darkDangerItemHoverColor:vt,darkDangerItemSelectedColor:lt,darkDangerItemActiveBg:tn}=he,En=Pt/7*5,Cn=(0,Re.TS)(he,{menuArrowSize:En,menuHorizontalHeight:be*1.15,menuArrowOffset:`${En*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:et}),In=(0,Re.TS)(Cn,{itemColor:Je,itemHoverColor:it,groupTitleColor:ke,itemSelectedColor:Tt,itemBg:Ct,popupBg:Ct,subMenuItemBg:pn,itemActiveBg:"transparent",itemSelectedBg:on,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:mn,itemDisabledColor:Et,dangerItemColor:Te,dangerItemHoverColor:vt,dangerItemSelectedColor:lt,dangerItemActiveBg:tn,dangerItemSelectedBg:an,menuSubMenuBg:pn,horizontalItemSelectedColor:we,horizontalItemSelectedBg:Lt});return[Dt(Cn),mt(Cn),ut(Cn),zt(Cn,"light"),zt(In,"dark"),at(Cn),(0,pe.Z)(Cn),(0,Xe.oN)(Cn,"slide-up"),(0,Xe.oN)(Cn,"slide-down"),(0,We._y)(Cn,"zoom-big")]},he=>{const{colorPrimary:et,colorError:Lt,colorTextDisabled:we,colorErrorBg:be,colorText:Pt,colorTextDescription:Je,colorBgContainer:Te,colorFillAlter:Ct,colorFillContent:pn,lineWidth:Tt,lineWidthBold:on,controlItemBgActive:an,colorBgTextHover:mn,controlHeightLG:ke,lineHeight:it,colorBgElevated:Et,marginXXS:vt,padding:lt,fontSize:tn,controlHeightSM:En,fontSizeLG:Cn,colorTextLightSolid:In,colorErrorHover:ra}=he,Xt=new ye.C(In).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:he.zIndexPopupBase+50,radiusItem:he.borderRadiusLG,itemBorderRadius:he.borderRadiusLG,radiusSubMenuItem:he.borderRadiusSM,subMenuItemBorderRadius:he.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:et,horizontalItemHoverColor:et,colorGroupTitle:Je,groupTitleColor:Je,colorItemTextSelected:et,itemSelectedColor:et,colorItemTextSelectedHorizontal:et,horizontalItemSelectedColor:et,colorItemBg:Te,itemBg:Te,colorItemBgHover:mn,itemHoverBg:mn,colorItemBgActive:pn,itemActiveBg:an,colorSubItemBg:Ct,subMenuItemBg:Ct,colorItemBgSelected:an,itemSelectedBg:an,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:on,activeBarHeight:on,colorActiveBarBorderSize:Tt,activeBarBorderWidth:Tt,colorItemTextDisabled:we,itemDisabledColor:we,colorDangerItemText:Lt,dangerItemColor:Lt,colorDangerItemTextHover:Lt,dangerItemHoverColor:Lt,colorDangerItemTextSelected:Lt,dangerItemSelectedColor:Lt,colorDangerItemBgActive:be,dangerItemActiveBg:be,colorDangerItemBgSelected:be,dangerItemSelectedBg:be,itemMarginInline:he.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ke,groupTitleLineHeight:it,collapsedWidth:ke*2,popupBg:Et,itemMarginBlock:vt,itemPaddingInline:lt,horizontalLineHeight:`${ke*1.15}px`,iconSize:tn,iconMarginInlineEnd:En-tn,collapsedIconSize:Cn,groupTitleFontSize:tn,darkItemDisabledColor:new ye.C(In).setAlpha(.25).toRgbString(),darkItemColor:Xt,darkDangerItemColor:Lt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:In,darkItemSelectedBg:et,darkDangerItemSelectedBg:Lt,darkItemHoverBg:"transparent",darkGroupTitleColor:Xt,darkItemHoverColor:In,darkDangerItemHoverColor:ra,darkDangerItemSelectedColor:In,darkDangerItemActiveBg:Lt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(tt),Be=function(tt,Ye){var Fe={};for(var he in tt)Object.prototype.hasOwnProperty.call(tt,he)&&Ye.indexOf(he)<0&&(Fe[he]=tt[he]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,he=Object.getOwnPropertySymbols(tt);et{var Fe,he;const et=ue.useContext(ge.Z),Lt=et||{},{getPrefixCls:we,getPopupContainer:be,direction:Pt,menu:Je}=ue.useContext(Ie.E_),Te=we(),{prefixCls:Ct,className:pn,style:Tt,theme:on="light",expandIcon:an,_internalDisableMenuItemTitleTooltip:mn,inlineCollapsed:ke,siderCollapsed:it,items:Et,children:vt,rootClassName:lt,mode:tn,selectable:En,onClick:Cn,overflowedIndicatorPopupClassName:In}=tt,ra=Be(tt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Xt=(0,ze.Z)(ra,["collapsedWidth"]),Yt=xe(Et)||vt;(Fe=Lt.validator)===null||Fe===void 0||Fe.call(Lt,{mode:tn});const qt=(0,re.useEvent)(function(){var bn;Cn==null||Cn.apply(void 0,arguments),(bn=Lt.onClick)===null||bn===void 0||bn.call(Lt)}),Ln=Lt.mode||tn,$t=En!=null?En:Lt.selectable,ha=ue.useMemo(()=>it!==void 0?it:ke,[ke,it]),ba={horizontal:{motionName:`${Te}-slide-up`},inline:(0,ie.Z)(Te),other:{motionName:`${Te}-zoom-big`}},Xn=we("menu",Ct||Lt.prefixCls),[ln,Ba]=en(Xn,!et),qe=De()(`${Xn}-${on}`,Je==null?void 0:Je.className,pn);let cn;if(typeof an=="function")cn=an;else if(an===null||an===!1)cn=null;else if(Lt.expandIcon===null||Lt.expandIcon===!1)cn=null;else{const bn=an!=null?an:Lt.expandIcon;cn=(0,Le.Tm)(bn,{className:De()(`${Xn}-submenu-expand-icon`,(0,Le.l$)(bn)?(he=bn.props)===null||he===void 0?void 0:he.className:"")})}const Nn=ue.useMemo(()=>({prefixCls:Xn,inlineCollapsed:ha||!1,direction:Pt,firstLevel:!0,theme:on,mode:Ln,disableMenuItemTitleTooltip:mn}),[Xn,ha,Pt,mn,on]);return ln(ue.createElement(ge.Z.Provider,{value:null},ue.createElement(E.Provider,{value:Nn},ue.createElement(y.ZP,Object.assign({getPopupContainer:be,overflowedIndicator:ue.createElement(te.Z,null),overflowedIndicatorPopupClassName:De()(Xn,`${Xn}-${on}`,In),mode:Ln,selectable:$t,onClick:qt},Xt,{inlineCollapsed:ha,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),Tt),className:qe,prefixCls:Xn,direction:Pt,defaultMotions:ba,expandIcon:cn,ref:Ye,rootClassName:De()(lt,Ba)}),Yt))))});const Nt=(0,ue.forwardRef)((tt,Ye)=>{const Fe=(0,ue.useRef)(null),he=ue.useContext(Ce.D);return(0,ue.useImperativeHandle)(Ye,()=>({menu:Fe.current,focus:et=>{var Lt;(Lt=Fe.current)===null||Lt===void 0||Lt.focus(et)}})),ue.createElement(yn,Object.assign({ref:Fe},tt,he))});Nt.Item=x,Nt.SubMenu=z,Nt.Divider=Ke,Nt.ItemGroup=y.BW;var Ot=Nt},58421:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Lt}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Oe=Ce,De=ne(7657),Ie=function(be,Pt){return ue.createElement(De.Z,(0,y.Z)({},be,{ref:Pt,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(49198),je=ne(33853),ze=ne(38819),He=ne(92310),Le=ne.n(He),le=ne(20068),E=ne(33885),a=ne(67732),x=ne(83652),b=ne(42403),z=ne(158),te=ne(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=re,ge=ne(91735),fe=function(we){(0,b.Z)(Pt,we);var be=(0,z.Z)(Pt);function Pt(){var Je;(0,a.Z)(this,Pt);for(var Te=arguments.length,Ct=new Array(Te),pn=0;pn=0||Tt.relatedTarget.className.indexOf("".concat(ke,"-item"))>=0))&&mn(Je.getValidValue()))},Je.go=function(Tt){var on=Je.state.goInputText;on!==""&&(Tt.keyCode===ie.ENTER||Tt.type==="click")&&(Je.setState({goInputText:""}),Je.props.quickGo(Je.getValidValue()))},Je}return(0,x.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var Te=this.props,Ct=Te.pageSize,pn=Te.pageSizeOptions;return pn.some(function(Tt){return Tt.toString()===Ct.toString()})?pn:pn.concat([Ct.toString()]).sort(function(Tt,on){var an=Number.isNaN(Number(Tt))?0:Number(Tt),mn=Number.isNaN(Number(on))?0:Number(on);return an-mn})}},{key:"render",value:function(){var Te=this,Ct=this.props,pn=Ct.pageSize,Tt=Ct.locale,on=Ct.rootPrefixCls,an=Ct.changeSize,mn=Ct.quickGo,ke=Ct.goButton,it=Ct.selectComponentClass,Et=Ct.buildOptionText,vt=Ct.selectPrefixCls,lt=Ct.disabled,tn=this.state.goInputText,En="".concat(on,"-options"),Cn=it,In=null,ra=null,Xt=null;if(!an&&!mn)return null;var Yt=this.getPageSizeOptions();if(an&&Cn){var qt=Yt.map(function(Ln,$t){return ue.createElement(Cn.Option,{key:$t,value:Ln.toString()},(Et||Te.buildOptionText)(Ln))});In=ue.createElement(Cn,{disabled:lt,prefixCls:vt,showSearch:!1,className:"".concat(En,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(pn||Yt[0]).toString(),onChange:this.changeSize,getPopupContainer:function($t){return $t.parentNode},"aria-label":Tt.page_size,defaultOpen:!1},qt)}return mn&&(ke&&(Xt=typeof ke=="boolean"?ue.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:lt,className:"".concat(En,"-quick-jumper-button")},Tt.jump_to_confirm):ue.createElement("span",{onClick:this.go,onKeyUp:this.go},ke)),ra=ue.createElement("div",{className:"".concat(En,"-quick-jumper")},Tt.jump_to,ue.createElement("input",{disabled:lt,type:"text",value:tn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Tt.page}),Tt.page,Xt)),ue.createElement("li",{className:"".concat(En)},In,ra)}}]),Pt}(ue.Component);fe.defaultProps={pageSizeOptions:["10","20","50","100"]};var ce=fe,xe=function(be){var Pt,Je=be.rootPrefixCls,Te=be.page,Ct=be.active,pn=be.className,Tt=be.showTitle,on=be.onClick,an=be.onKeyPress,mn=be.itemRender,ke="".concat(Je,"-item"),it=Le()(ke,"".concat(ke,"-").concat(Te),(Pt={},(0,le.Z)(Pt,"".concat(ke,"-active"),Ct),(0,le.Z)(Pt,"".concat(ke,"-disabled"),!Te),(0,le.Z)(Pt,be.className,pn),Pt)),Et=function(){on(Te)},vt=function(En){an(En,on,Te)},lt=mn(Te,"page",ue.createElement("a",{rel:"nofollow"},Te));return lt?ue.createElement("li",{title:Tt?Te.toString():null,className:it,onClick:Et,onKeyPress:vt,tabIndex:0},lt):null},ye=xe;function Ne(){}function pe(we){var be=Number(we);return typeof be=="number"&&!Number.isNaN(be)&&isFinite(be)&&Math.floor(be)===be}var Xe=function(be,Pt,Je){return Je};function We(we,be,Pt){var Je=typeof we=="undefined"?be.pageSize:we;return Math.floor((Pt.total-1)/Je)+1}var dt=function(we){(0,b.Z)(Pt,we);var be=(0,z.Z)(Pt);function Pt(Je){var Te;(0,a.Z)(this,Pt),Te=be.call(this,Je),Te.paginationNode=ue.createRef(),Te.getJumpPrevPage=function(){return Math.max(1,Te.state.current-(Te.props.showLessItems?3:5))},Te.getJumpNextPage=function(){return Math.min(We(void 0,Te.state,Te.props),Te.state.current+(Te.props.showLessItems?3:5))},Te.getItemIcon=function(an,mn){var ke=Te.props.prefixCls,it=an||ue.createElement("button",{type:"button","aria-label":mn,className:"".concat(ke,"-item-link")});return typeof an=="function"&&(it=ue.createElement(an,(0,E.Z)({},Te.props))),it},Te.isValid=function(an){var mn=Te.props.total;return pe(an)&&an!==Te.state.current&&pe(mn)&&mn>0},Te.shouldDisplayQuickJumper=function(){var an=Te.props,mn=an.showQuickJumper,ke=an.total,it=Te.state.pageSize;return ke<=it?!1:mn},Te.handleKeyDown=function(an){(an.keyCode===ie.ARROW_UP||an.keyCode===ie.ARROW_DOWN)&&an.preventDefault()},Te.handleKeyUp=function(an){var mn=Te.getValidValue(an),ke=Te.state.currentInputValue;mn!==ke&&Te.setState({currentInputValue:mn}),an.keyCode===ie.ENTER?Te.handleChange(mn):an.keyCode===ie.ARROW_UP?Te.handleChange(mn-1):an.keyCode===ie.ARROW_DOWN&&Te.handleChange(mn+1)},Te.handleBlur=function(an){var mn=Te.getValidValue(an);Te.handleChange(mn)},Te.changePageSize=function(an){var mn=Te.state.current,ke=We(an,Te.state,Te.props);mn=mn>ke?ke:mn,ke===0&&(mn=Te.state.current),typeof an=="number"&&("pageSize"in Te.props||Te.setState({pageSize:an}),"current"in Te.props||Te.setState({current:mn,currentInputValue:mn})),Te.props.onShowSizeChange(mn,an),"onChange"in Te.props&&Te.props.onChange&&Te.props.onChange(mn,an)},Te.handleChange=function(an){var mn=Te.props,ke=mn.disabled,it=mn.onChange,Et=Te.state,vt=Et.pageSize,lt=Et.current,tn=Et.currentInputValue;if(Te.isValid(an)&&!ke){var En=We(void 0,Te.state,Te.props),Cn=an;return an>En?Cn=En:an<1&&(Cn=1),"current"in Te.props||Te.setState({current:Cn}),Cn!==tn&&Te.setState({currentInputValue:Cn}),it(Cn,vt),Cn}return lt},Te.prev=function(){Te.hasPrev()&&Te.handleChange(Te.state.current-1)},Te.next=function(){Te.hasNext()&&Te.handleChange(Te.state.current+1)},Te.jumpPrev=function(){Te.handleChange(Te.getJumpPrevPage())},Te.jumpNext=function(){Te.handleChange(Te.getJumpNextPage())},Te.hasPrev=function(){return Te.state.current>1},Te.hasNext=function(){return Te.state.current2?ke-2:0),Et=2;Et=pn?on=pn:on=Number(Ct),on}},{key:"getShowSizeChanger",value:function(){var Te=this.props,Ct=Te.showSizeChanger,pn=Te.total,Tt=Te.totalBoundaryShowSizeChanger;return typeof Ct!="undefined"?Ct:pn>Tt}},{key:"render",value:function(){var Te=this.props,Ct=Te.prefixCls,pn=Te.className,Tt=Te.style,on=Te.disabled,an=Te.hideOnSinglePage,mn=Te.total,ke=Te.locale,it=Te.showQuickJumper,Et=Te.showLessItems,vt=Te.showTitle,lt=Te.showTotal,tn=Te.simple,En=Te.itemRender,Cn=Te.showPrevNextJumpers,In=Te.jumpPrevIcon,ra=Te.jumpNextIcon,Xt=Te.selectComponentClass,Yt=Te.selectPrefixCls,qt=Te.pageSizeOptions,Ln=this.state,$t=Ln.current,ha=Ln.pageSize,ba=Ln.currentInputValue;if(an===!0&&mn<=ha)return null;var Xn=We(void 0,this.state,this.props),ln=[],Ba=null,qe=null,cn=null,Nn=null,bn=null,wn=it&&it.goButton,zn=Et?1:2,Kn=$t-1>0?$t-1:0,ct=$t+1mn?mn:$t*ha]));if(tn){wn&&(typeof wn=="boolean"?bn=ue.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ke.jump_to_confirm):bn=ue.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},wn),bn=ue.createElement("li",{title:vt?"".concat(ke.jump_to).concat($t,"/").concat(Xn):null,className:"".concat(Ct,"-simple-pager")},bn));var dn=this.renderPrev(Kn);return ue.createElement("ul",(0,y.Z)({className:Le()(Ct,"".concat(Ct,"-simple"),(0,le.Z)({},"".concat(Ct,"-disabled"),on),pn),style:Tt,ref:this.paginationNode},At),St,dn?ue.createElement("li",{title:vt?ke.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Le()("".concat(Ct,"-prev"),(0,le.Z)({},"".concat(Ct,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},dn):null,ue.createElement("li",{title:vt?"".concat($t,"/").concat(Xn):null,className:"".concat(Ct,"-simple-pager")},ue.createElement("input",{type:"text",value:ba,disabled:on,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ue.createElement("span",{className:"".concat(Ct,"-slash")},"/"),Xn),ue.createElement("li",{title:vt?ke.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Le()("".concat(Ct,"-next"),(0,le.Z)({},"".concat(Ct,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(ct)),bn)}if(Xn<=3+zn*2){var An={locale:ke,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:vt,itemRender:En};Xn||ln.push(ue.createElement(ye,(0,y.Z)({},An,{key:"noPager",page:1,className:"".concat(Ct,"-item-disabled")})));for(var vn=1;vn<=Xn;vn+=1){var $n=$t===vn;ln.push(ue.createElement(ye,(0,y.Z)({},An,{key:vn,page:vn,active:$n})))}}else{var Tn=Et?ke.prev_3:ke.prev_5,_n=Et?ke.next_3:ke.next_5,Pa=En(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(In,"prev page")),za=En(this.getJumpNextPage(),"jump-next",this.getItemIcon(ra,"next page"));Cn&&(Ba=Pa?ue.createElement("li",{title:vt?Tn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Le()("".concat(Ct,"-jump-prev"),(0,le.Z)({},"".concat(Ct,"-jump-prev-custom-icon"),!!In))},Pa):null,qe=za?ue.createElement("li",{title:vt?_n:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Le()("".concat(Ct,"-jump-next"),(0,le.Z)({},"".concat(Ct,"-jump-next-custom-icon"),!!ra))},za):null),Nn=ue.createElement(ye,{locale:ke,last:!0,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Xn,page:Xn,active:!1,showTitle:vt,itemRender:En}),cn=ue.createElement(ye,{locale:ke,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:vt,itemRender:En});var Bn=Math.max(1,$t-zn),Sa=Math.min($t+zn,Xn);$t-1<=zn&&(Sa=1+zn*2),Xn-$t<=zn&&(Bn=Xn-zn*2);for(var qa=Bn;qa<=Sa;qa+=1){var cr=$t===qa;ln.push(ue.createElement(ye,{locale:ke,rootPrefixCls:Ct,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:qa,page:qa,active:cr,showTitle:vt,itemRender:En}))}$t-1>=zn*2&&$t!==3&&(ln[0]=(0,ue.cloneElement)(ln[0],{className:"".concat(Ct,"-item-after-jump-prev")}),ln.unshift(Ba)),Xn-$t>=zn*2&&$t!==Xn-2&&(ln[ln.length-1]=(0,ue.cloneElement)(ln[ln.length-1],{className:"".concat(Ct,"-item-before-jump-next")}),ln.push(qe)),Bn!==1&&ln.unshift(cn),Sa!==Xn&&ln.push(Nn)}var Gn=!this.hasPrev()||!Xn,sn=!this.hasNext()||!Xn,Ir=this.renderPrev(Kn),_a=this.renderNext(ct);return ue.createElement("ul",(0,y.Z)({className:Le()(Ct,pn,(0,le.Z)({},"".concat(Ct,"-disabled"),on)),style:Tt,ref:this.paginationNode},At),St,Ir?ue.createElement("li",{title:vt?ke.prev_page:null,onClick:this.prev,tabIndex:Gn?null:0,onKeyPress:this.runIfEnterPrev,className:Le()("".concat(Ct,"-prev"),(0,le.Z)({},"".concat(Ct,"-disabled"),Gn)),"aria-disabled":Gn},Ir):null,ln,_a?ue.createElement("li",{title:vt?ke.next_page:null,onClick:this.next,tabIndex:sn?null:0,onKeyPress:this.runIfEnterNext,className:Le()("".concat(Ct,"-next"),(0,le.Z)({},"".concat(Ct,"-disabled"),sn)),"aria-disabled":sn},_a):null,ue.createElement(ce,{disabled:on,locale:ke,rootPrefixCls:Ct,selectComponentClass:Xt,selectPrefixCls:Yt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:$t,pageSize:ha,pageSizeOptions:qt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:wn}))}}],[{key:"getDerivedStateFromProps",value:function(Te,Ct){var pn={};if("current"in Te&&(pn.current=Te.current,Te.current!==Ct.current&&(pn.currentInputValue=pn.current)),"pageSize"in Te&&Te.pageSize!==Ct.pageSize){var Tt=Ct.current,on=We(Te.pageSize,Ct,Te);Tt=Tt>on?on:Tt,"current"in Te||(pn.current=Tt,pn.currentInputValue=Tt),pn.pageSize=Te.pageSize}return pn}}]),Pt}(ue.Component);dt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ne,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ne,locale:ge.Z,style:{},itemRender:Xe,totalBoundaryShowSizeChanger:50};var Re=dt,_e=ne(22075),mt=ne(36355),Qe=ne(19716),at=ne(8628),Ht=ne(9763),ht=ne(57809);const zt=we=>ue.createElement(ht.default,Object.assign({},we,{showSearch:!0,size:"small"})),Kt=we=>ue.createElement(ht.default,Object.assign({},we,{showSearch:!0,size:"middle"}));zt.Option=ht.default.Option,Kt.Option=ht.default.Option;var Ve=ne(9937),ut=ne(17313),Mt=ne(83116),un=ne(37613);const Dt=we=>{const{componentCls:be}=we;return{[`${be}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed"}}},[`&${be}-disabled`]:{cursor:"not-allowed",[`${be}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:we.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:we.colorBorder,backgroundColor:we.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:we.itemActiveBgDisabled},a:{color:we.itemActiveColorDisabled}}},[`${be}-item-link`]:{color:we.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${be}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${be}-simple-pager`]:{color:we.colorTextDisabled},[`${be}-jump-prev, ${be}-jump-next`]:{[`${be}-item-link-icon`]:{opacity:0},[`${be}-item-ellipsis`]:{opacity:1}}},[`&${be}-simple`]:{[`${be}-prev, ${be}-next`]:{[`&${be}-disabled ${be}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},en=we=>{const{componentCls:be}=we;return{[`&${be}-mini ${be}-total-text, &${be}-mini ${be}-simple-pager`]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`},[`&${be}-mini ${be}-item`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM-2}px`},[`&${be}-mini:not(${be}-disabled) ${be}-item:not(${be}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},[`&${be}-mini ${be}-prev, &${be}-mini ${be}-next`]:{minWidth:we.itemSizeSM,height:we.itemSizeSM,margin:0,lineHeight:`${we.itemSizeSM}px`},[`&${be}-mini:not(${be}-disabled)`]:{[`${be}-prev, ${be}-next`]:{[`&:hover ${be}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${be}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${be}-disabled:hover ${be}-item-link`]:{backgroundColor:"transparent"}}},[` + `]:{opacity:0},[`${Ye}-item-icon, ${De}`]:{margin:0,fontSize:an,lineHeight:`${he}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ye}-item-icon, ${De}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ye}-item-icon, ${De}`]:{display:"none"},"a, a:hover":{color:tt}},[`${Ye}-item-group-title`]:Object.assign(Object.assign({},Ne.vS),{paddingInline:Tt})}}]};const Rt=et=>{const{componentCls:Ye,motionDurationSlow:De,motionDurationMid:he,motionEaseInOut:tt,motionEaseOut:Lt,iconCls:Fe,iconSize:be,iconMarginInlineEnd:Pt}=et;return{[`${Ye}-item, ${Ye}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${De}`,`background ${De}`,`padding ${De} ${tt}`].join(","),[`${Ye}-item-icon, ${Fe}`]:{minWidth:be,fontSize:be,transition:[`font-size ${he} ${Lt}`,`margin ${De} ${tt}`,`color ${De}`].join(","),"+ span":{marginInlineStart:Pt,opacity:1,transition:[`opacity ${De} ${tt}`,`margin ${De}`,`color ${De}`].join(",")}},[`${Ye}-item-icon`]:Object.assign({},(0,Ne.Ro)()),[`&${Ye}-item-only-child`]:{[`> ${Fe}, > ${Ye}-item-icon`]:{marginInlineEnd:0}}},[`${Ye}-item-disabled, ${Ye}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ye}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},gn=et=>{const{componentCls:Ye,motionDurationSlow:De,motionEaseInOut:he,borderRadius:tt,menuArrowSize:Lt,menuArrowOffset:Fe}=et;return{[`${Ye}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:et.margin,width:Lt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${De} ${he}, opacity ${De}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Lt*.6,height:Lt*.15,backgroundColor:"currentcolor",borderRadius:tt,transition:[`background ${De} ${he}`,`transform ${De} ${he}`,`top ${De} ${he}`,`color ${De} ${he}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(-45deg) translateY(${Fe})`}}}}},wt=et=>{const{antCls:Ye,componentCls:De,fontSize:he,motionDurationSlow:tt,motionDurationMid:Lt,motionEaseInOut:Fe,paddingXS:be,padding:Pt,colorSplit:Je,lineWidth:ke,zIndexPopup:bt,borderRadiusLG:hn,subMenuItemBorderRadius:Tt,menuArrowSize:ln,menuArrowOffset:tn,lineType:an,menuPanelMaskInset:Te,groupTitleLineHeight:at,groupTitleFontSize:Nt}=et;return[{"":{[`${De}`]:Object.assign(Object.assign({},(0,Ne.dF)()),{"&-hidden":{display:"none"}})},[`${De}-submenu-hidden`]:{display:"none"}},{[De]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ne.Wf)(et)),(0,Ne.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:he,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${tt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${De}-item`]:{flex:"none"}},[`${De}-item, ${De}-submenu, ${De}-submenu-title`]:{borderRadius:et.itemBorderRadius},[`${De}-item-group-title`]:{padding:`${be}px ${Pt}px`,fontSize:Nt,lineHeight:at,transition:`all ${tt}`},[`&-horizontal ${De}-submenu`]:{transition:[`border-color ${tt} ${Fe}`,`background ${tt} ${Fe}`].join(",")},[`${De}-submenu, ${De}-submenu-inline`]:{transition:[`border-color ${tt} ${Fe}`,`background ${tt} ${Fe}`,`padding ${Lt} ${Fe}`].join(",")},[`${De}-submenu ${De}-sub`]:{cursor:"initial",transition:[`background ${tt} ${Fe}`,`padding ${tt} ${Fe}`].join(",")},[`${De}-title-content`]:{transition:`color ${tt}`},[`${De}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${De}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Je,borderStyle:an,borderWidth:0,borderTopWidth:ke,marginBlock:ke,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Rt(et)),{[`${De}-item-group`]:{[`${De}-item-group-list`]:{margin:0,padding:0,[`${De}-item, ${De}-submenu-title`]:{paddingInline:`${he*2}px ${Pt}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:bt,borderRadius:hn,boxShadow:"none",transformOrigin:"0 0",[`&${De}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Te}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Te},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:et.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:et.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:et.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:et.paddingXS},[`> ${De}`]:Object.assign(Object.assign(Object.assign({borderRadius:hn},Rt(et)),gn(et)),{[`${De}-item, ${De}-submenu > ${De}-submenu-title`]:{borderRadius:Tt},[`${De}-submenu-title::after`]:{transition:`transform ${tt} ${Fe}`}})}}),gn(et)),{[`&-inline-collapsed ${De}-submenu-arrow, + &-inline ${De}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${tn})`},"&::after":{transform:`rotate(45deg) translateX(-${tn})`}},[`${De}-submenu-open${De}-submenu-inline > ${De}-submenu-title > ${De}-submenu-arrow`]:{transform:`translateY(-${ln*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${tn})`},"&::before":{transform:`rotate(45deg) translateX(${tn})`}}})},{[`${Ye}-layout-header`]:{[De]:{lineHeight:"inherit"}}}]};var $t=(et,Ye)=>(0,ut.Z)("Menu",he=>{if(Ye===!1)return[];const{colorBgElevated:tt,colorPrimary:Lt,colorTextLightSolid:Fe,controlHeightLG:be,fontSize:Pt,darkItemColor:Je,darkDangerItemColor:ke,darkItemBg:bt,darkSubMenuItemBg:hn,darkItemSelectedColor:Tt,darkItemSelectedBg:ln,darkDangerItemSelectedBg:tn,darkItemHoverBg:an,darkGroupTitleColor:Te,darkItemHoverColor:at,darkItemDisabledColor:Nt,darkDangerItemHoverColor:ft,darkDangerItemSelectedColor:lt,darkDangerItemActiveBg:fn}=he,En=Pt/7*5,yn=(0,Re.TS)(he,{menuArrowSize:En,menuHorizontalHeight:be*1.15,menuArrowOffset:`${En*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:tt}),Ln=(0,Re.TS)(yn,{itemColor:Je,itemHoverColor:at,groupTitleColor:Te,itemSelectedColor:Tt,itemBg:bt,popupBg:bt,subMenuItemBg:hn,itemActiveBg:"transparent",itemSelectedBg:ln,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:an,itemDisabledColor:Nt,dangerItemColor:ke,dangerItemHoverColor:ft,dangerItemSelectedColor:lt,dangerItemActiveBg:fn,dangerItemSelectedBg:tn,menuSubMenuBg:hn,horizontalItemSelectedColor:Fe,horizontalItemSelectedBg:Lt});return[wt(yn),mt(yn),st(yn),Ht(yn,"light"),Ht(Ln,"dark"),ot(yn),(0,pe.Z)(yn),(0,Xe.oN)(yn,"slide-up"),(0,Xe.oN)(yn,"slide-down"),(0,We._y)(yn,"zoom-big")]},he=>{const{colorPrimary:tt,colorError:Lt,colorTextDisabled:Fe,colorErrorBg:be,colorText:Pt,colorTextDescription:Je,colorBgContainer:ke,colorFillAlter:bt,colorFillContent:hn,lineWidth:Tt,lineWidthBold:ln,controlItemBgActive:tn,colorBgTextHover:an,controlHeightLG:Te,lineHeight:at,colorBgElevated:Nt,marginXXS:ft,padding:lt,fontSize:fn,controlHeightSM:En,fontSizeLG:yn,colorTextLightSolid:Ln,colorErrorHover:ea}=he,Xt=new ye.C(Ln).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:he.zIndexPopupBase+50,radiusItem:he.borderRadiusLG,itemBorderRadius:he.borderRadiusLG,radiusSubMenuItem:he.borderRadiusSM,subMenuItemBorderRadius:he.borderRadiusSM,colorItemText:Pt,itemColor:Pt,colorItemTextHover:Pt,itemHoverColor:Pt,colorItemTextHoverHorizontal:tt,horizontalItemHoverColor:tt,colorGroupTitle:Je,groupTitleColor:Je,colorItemTextSelected:tt,itemSelectedColor:tt,colorItemTextSelectedHorizontal:tt,horizontalItemSelectedColor:tt,colorItemBg:ke,itemBg:ke,colorItemBgHover:an,itemHoverBg:an,colorItemBgActive:hn,itemActiveBg:tn,colorSubItemBg:bt,subMenuItemBg:bt,colorItemBgSelected:tn,itemSelectedBg:tn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:ln,activeBarHeight:ln,colorActiveBarBorderSize:Tt,activeBarBorderWidth:Tt,colorItemTextDisabled:Fe,itemDisabledColor:Fe,colorDangerItemText:Lt,dangerItemColor:Lt,colorDangerItemTextHover:Lt,dangerItemHoverColor:Lt,colorDangerItemTextSelected:Lt,dangerItemSelectedColor:Lt,colorDangerItemBgActive:be,dangerItemActiveBg:be,colorDangerItemBgSelected:be,dangerItemSelectedBg:be,itemMarginInline:he.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Te,groupTitleLineHeight:at,collapsedWidth:Te*2,popupBg:Nt,itemMarginBlock:ft,itemPaddingInline:lt,horizontalLineHeight:`${Te*1.15}px`,iconSize:fn,iconMarginInlineEnd:En-fn,collapsedIconSize:yn,groupTitleFontSize:fn,darkItemDisabledColor:new ye.C(Ln).setAlpha(.25).toRgbString(),darkItemColor:Xt,darkDangerItemColor:Lt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Ln,darkItemSelectedBg:tt,darkDangerItemSelectedBg:Lt,darkItemHoverBg:"transparent",darkGroupTitleColor:Xt,darkItemHoverColor:Ln,darkDangerItemHoverColor:ea,darkDangerItemSelectedColor:Ln,darkDangerItemActiveBg:Lt}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(et),Be=function(et,Ye){var De={};for(var he in et)Object.prototype.hasOwnProperty.call(et,he)&&Ye.indexOf(he)<0&&(De[he]=et[he]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,he=Object.getOwnPropertySymbols(et);tt{var De,he;const tt=ue.useContext(ge.Z),Lt=tt||{},{getPrefixCls:Fe,getPopupContainer:be,direction:Pt,menu:Je}=ue.useContext(Ie.E_),ke=Fe(),{prefixCls:bt,className:hn,style:Tt,theme:ln="light",expandIcon:tn,_internalDisableMenuItemTitleTooltip:an,inlineCollapsed:Te,siderCollapsed:at,items:Nt,children:ft,rootClassName:lt,mode:fn,selectable:En,onClick:yn,overflowedIndicatorPopupClassName:Ln}=et,ea=Be(et,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Xt=(0,ze.Z)(ea,["collapsedWidth"]),Yt=xe(Nt)||ft;(De=Lt.validator)===null||De===void 0||De.call(Lt,{mode:fn});const qt=(0,re.useEvent)(function(){var sn;yn==null||yn.apply(void 0,arguments),(sn=Lt.onClick)===null||sn===void 0||sn.call(Lt)}),In=Lt.mode||fn,en=En!=null?En:Lt.selectable,Sa=ue.useMemo(()=>at!==void 0?at:Te,[Te,at]),Ca={horizontal:{motionName:`${ke}-slide-up`},inline:(0,ie.Z)(ke),other:{motionName:`${ke}-zoom-big`}},Un=Fe("menu",bt||Lt.prefixCls),[dn,Aa]=$t(Un,!tt),qe=we()(`${Un}-${ln}`,Je==null?void 0:Je.className,hn);let pn;if(typeof tn=="function")pn=tn;else if(tn===null||tn===!1)pn=null;else if(Lt.expandIcon===null||Lt.expandIcon===!1)pn=null;else{const sn=tn!=null?tn:Lt.expandIcon;pn=(0,Le.Tm)(sn,{className:we()(`${Un}-submenu-expand-icon`,(0,Le.l$)(sn)?(he=sn.props)===null||he===void 0?void 0:he.className:"")})}const Nn=ue.useMemo(()=>({prefixCls:Un,inlineCollapsed:Sa||!1,direction:Pt,firstLevel:!0,theme:ln,mode:In,disableMenuItemTitleTooltip:an}),[Un,Sa,Pt,an,ln]);return dn(ue.createElement(ge.Z.Provider,{value:null},ue.createElement(E.Provider,{value:Nn},ue.createElement(y.ZP,Object.assign({getPopupContainer:be,overflowedIndicator:ue.createElement(te.Z,null),overflowedIndicatorPopupClassName:we()(Un,`${Un}-${ln}`,Ln),mode:In,selectable:en,onClick:qt},Xt,{inlineCollapsed:Sa,style:Object.assign(Object.assign({},Je==null?void 0:Je.style),Tt),className:qe,prefixCls:Un,direction:Pt,defaultMotions:Ca,expandIcon:pn,ref:Ye,rootClassName:we()(lt,Aa)}),Yt))))});const Ot=(0,ue.forwardRef)((et,Ye)=>{const De=(0,ue.useRef)(null),he=ue.useContext(Ce.D);return(0,ue.useImperativeHandle)(Ye,()=>({menu:De.current,focus:tt=>{var Lt;(Lt=De.current)===null||Lt===void 0||Lt.focus(tt)}})),ue.createElement(bn,Object.assign({ref:De},et,he))});Ot.Item=x,Ot.SubMenu=z,Ot.Divider=Ke,Ot.ItemGroup=y.BW;var Zt=Ot},58421:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Lt}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Oe=Ce,we=ne(7657),Ie=function(be,Pt){return ue.createElement(we.Z,(0,y.Z)({},be,{ref:Pt,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(49198),je=ne(33853),ze=ne(38819),He=ne(92310),Le=ne.n(He),le=ne(20068),E=ne(33885),a=ne(67732),x=ne(83652),b=ne(42403),z=ne(158),te=ne(26112),re={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ie=re,ge=ne(91735),fe=function(Fe){(0,b.Z)(Pt,Fe);var be=(0,z.Z)(Pt);function Pt(){var Je;(0,a.Z)(this,Pt);for(var ke=arguments.length,bt=new Array(ke),hn=0;hn=0||Tt.relatedTarget.className.indexOf("".concat(Te,"-item"))>=0))&&an(Je.getValidValue()))},Je.go=function(Tt){var ln=Je.state.goInputText;ln!==""&&(Tt.keyCode===ie.ENTER||Tt.type==="click")&&(Je.setState({goInputText:""}),Je.props.quickGo(Je.getValidValue()))},Je}return(0,x.Z)(Pt,[{key:"getPageSizeOptions",value:function(){var ke=this.props,bt=ke.pageSize,hn=ke.pageSizeOptions;return hn.some(function(Tt){return Tt.toString()===bt.toString()})?hn:hn.concat([bt.toString()]).sort(function(Tt,ln){var tn=Number.isNaN(Number(Tt))?0:Number(Tt),an=Number.isNaN(Number(ln))?0:Number(ln);return tn-an})}},{key:"render",value:function(){var ke=this,bt=this.props,hn=bt.pageSize,Tt=bt.locale,ln=bt.rootPrefixCls,tn=bt.changeSize,an=bt.quickGo,Te=bt.goButton,at=bt.selectComponentClass,Nt=bt.buildOptionText,ft=bt.selectPrefixCls,lt=bt.disabled,fn=this.state.goInputText,En="".concat(ln,"-options"),yn=at,Ln=null,ea=null,Xt=null;if(!tn&&!an)return null;var Yt=this.getPageSizeOptions();if(tn&&yn){var qt=Yt.map(function(In,en){return ue.createElement(yn.Option,{key:en,value:In.toString()},(Nt||ke.buildOptionText)(In))});Ln=ue.createElement(yn,{disabled:lt,prefixCls:ft,showSearch:!1,className:"".concat(En,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(hn||Yt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(en){return en.parentNode},"aria-label":Tt.page_size,defaultOpen:!1},qt)}return an&&(Te&&(Xt=typeof Te=="boolean"?ue.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:lt,className:"".concat(En,"-quick-jumper-button")},Tt.jump_to_confirm):ue.createElement("span",{onClick:this.go,onKeyUp:this.go},Te)),ea=ue.createElement("div",{className:"".concat(En,"-quick-jumper")},Tt.jump_to,ue.createElement("input",{disabled:lt,type:"text",value:fn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":Tt.page}),Tt.page,Xt)),ue.createElement("li",{className:"".concat(En)},Ln,ea)}}]),Pt}(ue.Component);fe.defaultProps={pageSizeOptions:["10","20","50","100"]};var ce=fe,xe=function(be){var Pt,Je=be.rootPrefixCls,ke=be.page,bt=be.active,hn=be.className,Tt=be.showTitle,ln=be.onClick,tn=be.onKeyPress,an=be.itemRender,Te="".concat(Je,"-item"),at=Le()(Te,"".concat(Te,"-").concat(ke),(Pt={},(0,le.Z)(Pt,"".concat(Te,"-active"),bt),(0,le.Z)(Pt,"".concat(Te,"-disabled"),!ke),(0,le.Z)(Pt,be.className,hn),Pt)),Nt=function(){ln(ke)},ft=function(En){tn(En,ln,ke)},lt=an(ke,"page",ue.createElement("a",{rel:"nofollow"},ke));return lt?ue.createElement("li",{title:Tt?ke.toString():null,className:at,onClick:Nt,onKeyPress:ft,tabIndex:0},lt):null},ye=xe;function Ne(){}function pe(Fe){var be=Number(Fe);return typeof be=="number"&&!Number.isNaN(be)&&isFinite(be)&&Math.floor(be)===be}var Xe=function(be,Pt,Je){return Je};function We(Fe,be,Pt){var Je=typeof Fe=="undefined"?be.pageSize:Fe;return Math.floor((Pt.total-1)/Je)+1}var ut=function(Fe){(0,b.Z)(Pt,Fe);var be=(0,z.Z)(Pt);function Pt(Je){var ke;(0,a.Z)(this,Pt),ke=be.call(this,Je),ke.paginationNode=ue.createRef(),ke.getJumpPrevPage=function(){return Math.max(1,ke.state.current-(ke.props.showLessItems?3:5))},ke.getJumpNextPage=function(){return Math.min(We(void 0,ke.state,ke.props),ke.state.current+(ke.props.showLessItems?3:5))},ke.getItemIcon=function(tn,an){var Te=ke.props.prefixCls,at=tn||ue.createElement("button",{type:"button","aria-label":an,className:"".concat(Te,"-item-link")});return typeof tn=="function"&&(at=ue.createElement(tn,(0,E.Z)({},ke.props))),at},ke.isValid=function(tn){var an=ke.props.total;return pe(tn)&&tn!==ke.state.current&&pe(an)&&an>0},ke.shouldDisplayQuickJumper=function(){var tn=ke.props,an=tn.showQuickJumper,Te=tn.total,at=ke.state.pageSize;return Te<=at?!1:an},ke.handleKeyDown=function(tn){(tn.keyCode===ie.ARROW_UP||tn.keyCode===ie.ARROW_DOWN)&&tn.preventDefault()},ke.handleKeyUp=function(tn){var an=ke.getValidValue(tn),Te=ke.state.currentInputValue;an!==Te&&ke.setState({currentInputValue:an}),tn.keyCode===ie.ENTER?ke.handleChange(an):tn.keyCode===ie.ARROW_UP?ke.handleChange(an-1):tn.keyCode===ie.ARROW_DOWN&&ke.handleChange(an+1)},ke.handleBlur=function(tn){var an=ke.getValidValue(tn);ke.handleChange(an)},ke.changePageSize=function(tn){var an=ke.state.current,Te=We(tn,ke.state,ke.props);an=an>Te?Te:an,Te===0&&(an=ke.state.current),typeof tn=="number"&&("pageSize"in ke.props||ke.setState({pageSize:tn}),"current"in ke.props||ke.setState({current:an,currentInputValue:an})),ke.props.onShowSizeChange(an,tn),"onChange"in ke.props&&ke.props.onChange&&ke.props.onChange(an,tn)},ke.handleChange=function(tn){var an=ke.props,Te=an.disabled,at=an.onChange,Nt=ke.state,ft=Nt.pageSize,lt=Nt.current,fn=Nt.currentInputValue;if(ke.isValid(tn)&&!Te){var En=We(void 0,ke.state,ke.props),yn=tn;return tn>En?yn=En:tn<1&&(yn=1),"current"in ke.props||ke.setState({current:yn}),yn!==fn&&ke.setState({currentInputValue:yn}),at(yn,ft),yn}return lt},ke.prev=function(){ke.hasPrev()&&ke.handleChange(ke.state.current-1)},ke.next=function(){ke.hasNext()&&ke.handleChange(ke.state.current+1)},ke.jumpPrev=function(){ke.handleChange(ke.getJumpPrevPage())},ke.jumpNext=function(){ke.handleChange(ke.getJumpNextPage())},ke.hasPrev=function(){return ke.state.current>1},ke.hasNext=function(){return ke.state.current2?Te-2:0),Nt=2;Nt=hn?ln=hn:ln=Number(bt),ln}},{key:"getShowSizeChanger",value:function(){var ke=this.props,bt=ke.showSizeChanger,hn=ke.total,Tt=ke.totalBoundaryShowSizeChanger;return typeof bt!="undefined"?bt:hn>Tt}},{key:"render",value:function(){var ke=this.props,bt=ke.prefixCls,hn=ke.className,Tt=ke.style,ln=ke.disabled,tn=ke.hideOnSinglePage,an=ke.total,Te=ke.locale,at=ke.showQuickJumper,Nt=ke.showLessItems,ft=ke.showTitle,lt=ke.showTotal,fn=ke.simple,En=ke.itemRender,yn=ke.showPrevNextJumpers,Ln=ke.jumpPrevIcon,ea=ke.jumpNextIcon,Xt=ke.selectComponentClass,Yt=ke.selectPrefixCls,qt=ke.pageSizeOptions,In=this.state,en=In.current,Sa=In.pageSize,Ca=In.currentInputValue;if(tn===!0&&an<=Sa)return null;var Un=We(void 0,this.state,this.props),dn=[],Aa=null,qe=null,pn=null,Nn=null,sn=null,zn=at&&at.goButton,Gn=Nt?1:2,Vn=en-1>0?en-1:0,dt=en+1an?an:en*Sa]));if(fn){zn&&(typeof zn=="boolean"?sn=ue.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Te.jump_to_confirm):sn=ue.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},zn),sn=ue.createElement("li",{title:ft?"".concat(Te.jump_to).concat(en,"/").concat(Un):null,className:"".concat(bt,"-simple-pager")},sn));var mn=this.renderPrev(Vn);return ue.createElement("ul",(0,y.Z)({className:Le()(bt,"".concat(bt,"-simple"),(0,le.Z)({},"".concat(bt,"-disabled"),ln),hn),style:Tt,ref:this.paginationNode},Ct),St,mn?ue.createElement("li",{title:ft?Te.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Le()("".concat(bt,"-prev"),(0,le.Z)({},"".concat(bt,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},mn):null,ue.createElement("li",{title:ft?"".concat(en,"/").concat(Un):null,className:"".concat(bt,"-simple-pager")},ue.createElement("input",{type:"text",value:Ca,disabled:ln,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),ue.createElement("span",{className:"".concat(bt,"-slash")},"/"),Un),ue.createElement("li",{title:ft?Te.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Le()("".concat(bt,"-next"),(0,le.Z)({},"".concat(bt,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(dt)),sn)}if(Un<=3+Gn*2){var An={locale:Te,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ft,itemRender:En};Un||dn.push(ue.createElement(ye,(0,y.Z)({},An,{key:"noPager",page:1,className:"".concat(bt,"-item-disabled")})));for(var un=1;un<=Un;un+=1){var $n=en===un;dn.push(ue.createElement(ye,(0,y.Z)({},An,{key:un,page:un,active:$n})))}}else{var Kn=Nt?Te.prev_3:Te.prev_5,Jn=Nt?Te.next_3:Te.next_5,ma=En(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Ln,"prev page")),Ha=En(this.getJumpNextPage(),"jump-next",this.getItemIcon(ea,"next page"));yn&&(Aa=ma?ue.createElement("li",{title:ft?Kn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:Le()("".concat(bt,"-jump-prev"),(0,le.Z)({},"".concat(bt,"-jump-prev-custom-icon"),!!Ln))},ma):null,qe=Ha?ue.createElement("li",{title:ft?Jn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Le()("".concat(bt,"-jump-next"),(0,le.Z)({},"".concat(bt,"-jump-next-custom-icon"),!!ea))},Ha):null),Nn=ue.createElement(ye,{locale:Te,last:!0,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Un,page:Un,active:!1,showTitle:ft,itemRender:En}),pn=ue.createElement(ye,{locale:Te,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ft,itemRender:En});var Bn=Math.max(1,en-Gn),ya=Math.min(en+Gn,Un);en-1<=Gn&&(ya=1+Gn*2),Un-en<=Gn&&(Bn=Un-Gn*2);for(var Ya=Bn;Ya<=ya;Ya+=1){var dr=en===Ya;dn.push(ue.createElement(ye,{locale:Te,rootPrefixCls:bt,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ya,page:Ya,active:dr,showTitle:ft,itemRender:En}))}en-1>=Gn*2&&en!==3&&(dn[0]=(0,ue.cloneElement)(dn[0],{className:"".concat(bt,"-item-after-jump-prev")}),dn.unshift(Aa)),Un-en>=Gn*2&&en!==Un-2&&(dn[dn.length-1]=(0,ue.cloneElement)(dn[dn.length-1],{className:"".concat(bt,"-item-before-jump-next")}),dn.push(qe)),Bn!==1&&dn.unshift(pn),ya!==Un&&dn.push(Nn)}var Wn=!this.hasPrev()||!Un,cn=!this.hasNext()||!Un,Lr=this.renderPrev(Vn),Qa=this.renderNext(dt);return ue.createElement("ul",(0,y.Z)({className:Le()(bt,hn,(0,le.Z)({},"".concat(bt,"-disabled"),ln)),style:Tt,ref:this.paginationNode},Ct),St,Lr?ue.createElement("li",{title:ft?Te.prev_page:null,onClick:this.prev,tabIndex:Wn?null:0,onKeyPress:this.runIfEnterPrev,className:Le()("".concat(bt,"-prev"),(0,le.Z)({},"".concat(bt,"-disabled"),Wn)),"aria-disabled":Wn},Lr):null,dn,Qa?ue.createElement("li",{title:ft?Te.next_page:null,onClick:this.next,tabIndex:cn?null:0,onKeyPress:this.runIfEnterNext,className:Le()("".concat(bt,"-next"),(0,le.Z)({},"".concat(bt,"-disabled"),cn)),"aria-disabled":cn},Qa):null,ue.createElement(ce,{disabled:ln,locale:Te,rootPrefixCls:bt,selectComponentClass:Xt,selectPrefixCls:Yt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:en,pageSize:Sa,pageSizeOptions:qt,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:zn}))}}],[{key:"getDerivedStateFromProps",value:function(ke,bt){var hn={};if("current"in ke&&(hn.current=ke.current,ke.current!==bt.current&&(hn.currentInputValue=hn.current)),"pageSize"in ke&&ke.pageSize!==bt.pageSize){var Tt=bt.current,ln=We(ke.pageSize,bt,ke);Tt=Tt>ln?ln:Tt,"current"in ke||(hn.current=Tt,hn.currentInputValue=Tt),hn.pageSize=ke.pageSize}return hn}}]),Pt}(ue.Component);ut.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:Ne,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:Ne,locale:ge.Z,style:{},itemRender:Xe,totalBoundaryShowSizeChanger:50};var Re=ut,_e=ne(22075),mt=ne(36355),Qe=ne(19716),ot=ne(8628),Wt=ne(9763),ht=ne(57809);const Ht=Fe=>ue.createElement(ht.default,Object.assign({},Fe,{showSearch:!0,size:"small"})),Kt=Fe=>ue.createElement(ht.default,Object.assign({},Fe,{showSearch:!0,size:"middle"}));Ht.Option=ht.default.Option,Kt.Option=ht.default.Option;var Ve=ne(9937),st=ne(17313),Rt=ne(83116),gn=ne(37613);const wt=Fe=>{const{componentCls:be}=Fe;return{[`${be}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${be}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${be}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed"}}},[`&${be}-disabled`]:{cursor:"not-allowed",[`${be}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Fe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Fe.colorBorder,backgroundColor:Fe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Fe.itemActiveBgDisabled},a:{color:Fe.itemActiveColorDisabled}}},[`${be}-item-link`]:{color:Fe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${be}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${be}-simple-pager`]:{color:Fe.colorTextDisabled},[`${be}-jump-prev, ${be}-jump-next`]:{[`${be}-item-link-icon`]:{opacity:0},[`${be}-item-ellipsis`]:{opacity:1}}},[`&${be}-simple`]:{[`${be}-prev, ${be}-next`]:{[`&${be}-disabled ${be}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},$t=Fe=>{const{componentCls:be}=Fe;return{[`&${be}-mini ${be}-total-text, &${be}-mini ${be}-simple-pager`]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`},[`&${be}-mini ${be}-item`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM-2}px`},[`&${be}-mini:not(${be}-disabled) ${be}-item:not(${be}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},[`&${be}-mini ${be}-prev, &${be}-mini ${be}-next`]:{minWidth:Fe.itemSizeSM,height:Fe.itemSizeSM,margin:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${be}-mini:not(${be}-disabled)`]:{[`${be}-prev, ${be}-next`]:{[`&:hover ${be}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${be}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${be}-disabled:hover ${be}-item-link`]:{backgroundColor:"transparent"}}},[` &${be}-mini ${be}-prev ${be}-item-link, &${be}-mini ${be}-next ${be}-item-link - `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}},[`&${be}-mini ${be}-jump-prev, &${be}-mini ${be}-jump-next`]:{height:we.itemSizeSM,marginInlineEnd:0,lineHeight:`${we.itemSizeSM}px`},[`&${be}-mini ${be}-options`]:{marginInlineStart:we.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:we.miniOptionsSizeChangerTop},"&-quick-jumper":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ve.x0)(we)),{width:we.paginationMiniQuickJumperInputWidth,height:we.controlHeightSM})}}}},Be=we=>{const{componentCls:be}=we;return{[` + `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}},[`&${be}-mini ${be}-jump-prev, &${be}-mini ${be}-jump-next`]:{height:Fe.itemSizeSM,marginInlineEnd:0,lineHeight:`${Fe.itemSizeSM}px`},[`&${be}-mini ${be}-options`]:{marginInlineStart:Fe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Fe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Ve.x0)(Fe)),{width:Fe.paginationMiniQuickJumperInputWidth,height:Fe.controlHeightSM})}}}},Be=Fe=>{const{componentCls:be}=Fe;return{[` &${be}-simple ${be}-prev, &${be}-simple ${be}-next - `]:{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`,verticalAlign:"top",[`${be}-item-link`]:{height:we.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive},"&::after":{height:we.itemSizeSM,lineHeight:`${we.itemSizeSM}px`}}},[`&${be}-simple ${be}-simple-pager`]:{display:"inline-block",height:we.itemSizeSM,marginInlineEnd:we.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:we.marginXS,padding:`0 ${we.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:we.itemInputBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,borderRadius:we.borderRadius,outline:"none",transition:`border-color ${we.motionDurationMid}`,color:"inherit","&:hover":{borderColor:we.colorPrimary},"&:focus":{borderColor:we.colorPrimaryHover,boxShadow:`${we.inputOutlineOffset}px 0 ${we.controlOutlineWidth}px ${we.controlOutline}`},"&[disabled]":{color:we.colorTextDisabled,backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,cursor:"not-allowed"}}}}},Jt=we=>{const{componentCls:be}=we;return{[`${be}-jump-prev, ${be}-jump-next`]:{outline:0,[`${be}-item-container`]:{position:"relative",[`${be}-item-link-icon`]:{color:we.colorPrimary,fontSize:we.fontSizeSM,opacity:0,transition:`all ${we.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${be}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:we.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:we.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:we.paginationEllipsisTextIndent,opacity:1,transition:`all ${we.motionDurationMid}`}},"&:hover":{[`${be}-item-link-icon`]:{opacity:1},[`${be}-item-ellipsis`]:{opacity:0}}},[` + `]:{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`,verticalAlign:"top",[`${be}-item-link`]:{height:Fe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive},"&::after":{height:Fe.itemSizeSM,lineHeight:`${Fe.itemSizeSM}px`}}},[`&${be}-simple ${be}-simple-pager`]:{display:"inline-block",height:Fe.itemSizeSM,marginInlineEnd:Fe.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Fe.marginXS,padding:`0 ${Fe.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Fe.itemInputBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,borderRadius:Fe.borderRadius,outline:"none",transition:`border-color ${Fe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Fe.colorPrimary},"&:focus":{borderColor:Fe.colorPrimaryHover,boxShadow:`${Fe.inputOutlineOffset}px 0 ${Fe.controlOutlineWidth}px ${Fe.controlOutline}`},"&[disabled]":{color:Fe.colorTextDisabled,backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,cursor:"not-allowed"}}}}},Jt=Fe=>{const{componentCls:be}=Fe;return{[`${be}-jump-prev, ${be}-jump-next`]:{outline:0,[`${be}-item-container`]:{position:"relative",[`${be}-item-link-icon`]:{color:Fe.colorPrimary,fontSize:Fe.fontSizeSM,opacity:0,transition:`all ${Fe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${be}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Fe.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Fe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Fe.paginationEllipsisTextIndent,opacity:1,transition:`all ${Fe.motionDurationMid}`}},"&:hover":{[`${be}-item-link-icon`]:{opacity:1},[`${be}-item-ellipsis`]:{opacity:0}}},[` ${be}-prev, ${be}-jump-prev, ${be}-jump-next - `]:{marginInlineEnd:we.marginXS},[` + `]:{marginInlineEnd:Fe.marginXS},[` ${be}-prev, ${be}-next, ${be}-jump-prev, ${be}-jump-next - `]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,color:we.colorText,fontFamily:we.fontFamily,lineHeight:`${we.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:we.borderRadius,cursor:"pointer",transition:`all ${we.motionDurationMid}`},[`${be}-prev, ${be}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:we.colorText,cursor:"pointer",userSelect:"none"},[`${be}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:we.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:"none",transition:`all ${we.motionDurationMid}`},[`&:hover ${be}-item-link`]:{backgroundColor:we.colorBgTextHover},[`&:active ${be}-item-link`]:{backgroundColor:we.colorBgTextActive},[`&${be}-disabled:hover`]:{[`${be}-item-link`]:{backgroundColor:"transparent"}}},[`${be}-slash`]:{marginInlineEnd:we.paginationSlashMarginInlineEnd,marginInlineStart:we.paginationSlashMarginInlineStart},[`${be}-options`]:{display:"inline-block",marginInlineStart:we.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:we.controlHeight,marginInlineStart:we.marginXS,lineHeight:`${we.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ve.ik)(we)),{width:we.controlHeightLG*1.25,height:we.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:we.marginXS,marginInlineEnd:we.marginXS})}}}},yn=we=>{const{componentCls:be}=we;return{[`${be}-item`]:{display:"inline-block",minWidth:we.itemSize,height:we.itemSize,marginInlineEnd:we.marginXS,fontFamily:we.fontFamily,lineHeight:`${we.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${we.lineWidth}px ${we.lineType} transparent`,borderRadius:we.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${we.paginationItemPaddingInline}px`,color:we.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${be}-item-active)`]:{"&:hover":{transition:`all ${we.motionDurationMid}`,backgroundColor:we.colorBgTextHover},"&:active":{backgroundColor:we.colorBgTextActive}},"&-active":{fontWeight:we.fontWeightStrong,backgroundColor:we.itemActiveBg,borderColor:we.colorPrimary,a:{color:we.colorPrimary},"&:hover":{borderColor:we.colorPrimaryHover},"&:hover a":{color:we.colorPrimaryHover}}}}},Nt=we=>{const{componentCls:be}=we;return{[be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(we)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${be}-total-text`]:{display:"inline-block",height:we.itemSize,marginInlineEnd:we.marginXS,lineHeight:`${we.itemSize-2}px`,verticalAlign:"middle"}}),yn(we)),Jt(we)),Be(we)),en(we)),Dt(we)),{[`@media only screen and (max-width: ${we.screenLG}px)`]:{[`${be}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${we.screenSM}px)`]:{[`${be}-options`]:{display:"none"}}}),[`&${we.componentCls}-rtl`]:{direction:"rtl"}}},Ot=we=>{const{componentCls:be}=we;return{[`${be}${be}-disabled:not(${be}-mini)`]:{"&, &:hover":{[`${be}-item-link`]:{borderColor:we.colorBorder}},"&:focus-visible":{[`${be}-item-link`]:{borderColor:we.colorBorder}},[`${be}-item, ${be}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,[`&:hover:not(${be}-item-active)`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,a:{color:we.colorTextDisabled}},[`&${be}-item-active`]:{backgroundColor:we.itemActiveBgDisabled}},[`${be}-prev, ${be}-next`]:{"&:hover button":{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder,color:we.colorTextDisabled},[`${be}-item-link`]:{backgroundColor:we.colorBgContainerDisabled,borderColor:we.colorBorder}}},[`${be}:not(${be}-mini)`]:{[`${be}-prev, ${be}-next`]:{"&:hover button":{borderColor:we.colorPrimaryHover,backgroundColor:we.itemBg},[`${be}-item-link`]:{backgroundColor:we.itemLinkBg,borderColor:we.colorBorder},[`&:hover ${be}-item-link`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,color:we.colorPrimary},[`&${be}-disabled`]:{[`${be}-item-link`]:{borderColor:we.colorBorder,color:we.colorTextDisabled}}},[`${be}-item`]:{backgroundColor:we.itemBg,border:`${we.lineWidth}px ${we.lineType} ${we.colorBorder}`,[`&:hover:not(${be}-item-active)`]:{borderColor:we.colorPrimary,backgroundColor:we.itemBg,a:{color:we.colorPrimary}},"&-active":{borderColor:we.colorPrimary}}}}},tt=we=>{const{componentCls:be}=we;return{[`${be}:not(${be}-disabled)`]:{[`${be}-item`]:Object.assign({},(0,ut.Qy)(we)),[`${be}-jump-prev, ${be}-jump-next`]:{"&:focus-visible":Object.assign({[`${be}-item-link-icon`]:{opacity:1},[`${be}-item-ellipsis`]:{opacity:0}},(0,ut.oN)(we))},[`${be}-prev, ${be}-next`]:{[`&:focus-visible ${be}-item-link`]:Object.assign({},(0,ut.oN)(we))}}}};var Ye=(0,Mt.Z)("Pagination",we=>{const be=(0,un.TS)(we,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:we.marginXXS/2,paginationMiniQuickJumperInputWidth:we.controlHeightLG*1.1,paginationItemPaddingInline:we.marginXXS*1.5,paginationEllipsisLetterSpacing:we.marginXXS/2,paginationSlashMarginInlineStart:we.marginXXS,paginationSlashMarginInlineEnd:we.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ve.e5)(we),(0,Ve.TM)(we));return[Nt(be),tt(be),we.wireframe&&Ot(be)]},we=>({itemBg:we.colorBgContainer,itemSize:we.controlHeight,itemSizeSM:we.controlHeightSM,itemActiveBg:we.colorBgContainer,itemLinkBg:we.colorBgContainer,itemActiveColorDisabled:we.colorTextDisabled,itemActiveBgDisabled:we.controlItemBgActiveDisabled,itemInputBg:we.colorBgContainer,miniOptionsSizeChangerTop:0})),Fe=function(we,be){var Pt={};for(var Je in we)Object.prototype.hasOwnProperty.call(we,Je)&&be.indexOf(Je)<0&&(Pt[Je]=we[Je]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Te=0,Je=Object.getOwnPropertySymbols(we);Te{const{prefixCls:be,selectPrefixCls:Pt,className:Je,rootClassName:Te,style:Ct,size:pn,locale:Tt,selectComponentClass:on,responsive:an,showSizeChanger:mn}=we,ke=Fe(we,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:it}=(0,at.Z)(an),{getPrefixCls:Et,direction:vt,pagination:lt={}}=ue.useContext(mt.E_),tn=Et("pagination",be),[En,Cn]=Ye(tn),In=mn!=null?mn:lt.showSizeChanger,ra=ue.useMemo(()=>{const Xn=ue.createElement("span",{className:`${tn}-item-ellipsis`},"\u2022\u2022\u2022"),ln=ue.createElement("button",{className:`${tn}-item-link`,type:"button",tabIndex:-1},vt==="rtl"?ue.createElement(ze.Z,null):ue.createElement(je.Z,null)),Ba=ue.createElement("button",{className:`${tn}-item-link`,type:"button",tabIndex:-1},vt==="rtl"?ue.createElement(je.Z,null):ue.createElement(ze.Z,null)),qe=ue.createElement("a",{className:`${tn}-item-link`},ue.createElement("div",{className:`${tn}-item-container`},vt==="rtl"?ue.createElement(Ke.Z,{className:`${tn}-item-link-icon`}):ue.createElement(Ze,{className:`${tn}-item-link-icon`}),Xn)),cn=ue.createElement("a",{className:`${tn}-item-link`},ue.createElement("div",{className:`${tn}-item-container`},vt==="rtl"?ue.createElement(Ze,{className:`${tn}-item-link-icon`}):ue.createElement(Ke.Z,{className:`${tn}-item-link-icon`}),Xn));return{prevIcon:ln,nextIcon:Ba,jumpPrevIcon:qe,jumpNextIcon:cn}},[vt,tn]),[Xt]=(0,Ht.Z)("Pagination",_e.Z),Yt=Object.assign(Object.assign({},Xt),Tt),qt=(0,Qe.Z)(pn),Ln=qt==="small"||!!(it&&!qt&&an),$t=Et("select",Pt),ha=Le()({[`${tn}-mini`]:Ln,[`${tn}-rtl`]:vt==="rtl"},lt==null?void 0:lt.className,Je,Te,Cn),ba=Object.assign(Object.assign({},lt==null?void 0:lt.style),Ct);return En(ue.createElement(Re,Object.assign({},ra,ke,{style:ba,prefixCls:tn,selectPrefixCls:$t,className:ha,selectComponentClass:on||(Ln?zt:Kt),locale:Yt,showSizeChanger:In})))},Lt=et},39722:function(Bt,Zt,ne){"use strict";ne.d(Zt,{t5:function(){return je}});var y=ne(92310),ue=ne.n(y),Ce=ne(55477),Oe=ne(59301),De=ne(36355),Ie=ne(77578),se=ne(17356),Ze=function(He,Le){var le={};for(var E in He)Object.prototype.hasOwnProperty.call(He,E)&&Le.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(He);a{if(!(!Le&&!le))return Oe.createElement(Oe.Fragment,null,Le&&Oe.createElement("div",{className:`${He}-title`},(0,Ie.Z)(Le)),Oe.createElement("div",{className:`${He}-inner-content`},(0,Ie.Z)(le)))},je=He=>{const{hashId:Le,prefixCls:le,className:E,style:a,placement:x="top",title:b,content:z,children:te}=He;return Oe.createElement("div",{className:ue()(Le,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Oe.createElement("div",{className:`${le}-arrow`}),Oe.createElement(Ce.G,Object.assign({},He,{className:Le,prefixCls:le}),te||Ke(le,b,z)))},ze=He=>{const{prefixCls:Le}=He,le=Ze(He,["prefixCls"]),{getPrefixCls:E}=Oe.useContext(De.E_),a=E("popover",Le),[x,b]=(0,se.Z)(a);return x(Oe.createElement(je,Object.assign({},le,{prefixCls:a,hashId:b})))};Zt.ZP=ze},60324:function(Bt,Zt,ne){"use strict";var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(77578),De=ne(62892),Ie=ne(36355),se=ne(6848),Ze=ne(39722),Ke=ne(17356),je=function(Le,le){var E={};for(var a in Le)Object.prototype.hasOwnProperty.call(Le,a)&&le.indexOf(a)<0&&(E[a]=Le[a]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Le);x{let{title:le,content:E,prefixCls:a}=Le;return Ce.createElement(Ce.Fragment,null,le&&Ce.createElement("div",{className:`${a}-title`},(0,Oe.Z)(le)),Ce.createElement("div",{className:`${a}-inner-content`},(0,Oe.Z)(E)))},He=Ce.forwardRef((Le,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:b,placement:z="top",trigger:te="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ie=.1,overlayStyle:ge={}}=Le,fe=je(Le,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ce}=Ce.useContext(Ie.E_),xe=ce("popover",E),[ye,Ne]=(0,Ke.Z)(xe),pe=ce(),Xe=ue()(b,Ne);return ye(Ce.createElement(se.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:re,mouseLeaveDelay:ie,overlayStyle:ge},fe,{prefixCls:xe,overlayClassName:Xe,ref:le,overlay:a||x?Ce.createElement(ze,{prefixCls:xe,title:a,content:x}):null,transitionName:(0,De.m)(pe,"zoom-big",fe.transitionName),"data-popover-inject":!0})))});He._InternalPanelDoNotUseOrYouWillBeFired=Ze.ZP,Zt.Z=He},17356:function(Bt,Zt,ne){"use strict";var y=ne(17313),ue=ne(29878),Ce=ne(19447),Oe=ne(33166),De=ne(83116),Ie=ne(37613);const se=je=>{const{componentCls:ze,popoverColor:He,minWidth:Le,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:re,popoverBg:ie}=je;return[{[ze]:Object.assign(Object.assign({},(0,y.Wf)(je)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ze}-content`]:{position:"relative"},[`${ze}-inner`]:{backgroundColor:ie,backgroundClip:"padding-box",borderRadius:b,boxShadow:a,padding:E},[`${ze}-title`]:{minWidth:Le,marginBottom:te,color:x,fontWeight:le},[`${ze}-inner-content`]:{color:He}})},(0,Ce.ZP)(je,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ze}-pure`]:{position:"relative",maxWidth:"none",margin:je.sizePopupArrow,display:"inline-block",[`${ze}-content`]:{display:"inline-block"}}}]},Ze=je=>{const{componentCls:ze}=je;return{[ze]:Oe.i.map(He=>{const Le=je[`${He}6`];return{[`&${ze}-${He}`]:{"--antd-arrow-background-color":Le,[`${ze}-inner`]:{backgroundColor:Le},[`${ze}-arrow`]:{background:"transparent"}}}})}},Ke=je=>{const{componentCls:ze,lineWidth:He,lineType:Le,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:b,padding:z}=je,te=a-Math.round(x*b),re=te/2,ie=te/2-He,ge=z;return{[ze]:{[`${ze}-inner`]:{padding:0},[`${ze}-title`]:{margin:0,padding:`${re}px ${ge}px ${ie}px`,borderBottom:`${He}px ${Le} ${le}`},[`${ze}-inner-content`]:{padding:`${E}px ${ge}px`}}}};Zt.Z=(0,De.Z)("Popover",je=>{const{colorBgElevated:ze,colorText:He,wireframe:Le}=je,le=(0,Ie.TS)(je,{popoverPadding:12,popoverBg:ze,popoverColor:He});return[se(le),Ze(le),Le&&Ke(le),(0,ue._y)(le,"zoom-big")]},je=>({width:177,minWidth:177,zIndexPopup:je.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return mn}});var y=ne(59301),ue=ne(29679),Ce=ne(40001),Oe=ne(19248),De=ne(99267),Ie=ne(92310),se=ne.n(Ie),Ze=ne(2738),Ke=ne(36355),je=ne(54476),ze=ne(33885),He=ne(75931),Le={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},le=function(){var it=(0,y.useRef)([]),Et=(0,y.useRef)(null);return(0,y.useEffect)(function(){var vt=Date.now(),lt=!1;it.current.forEach(function(tn){if(tn){lt=!0;var En=tn.style;En.transitionDuration=".3s, .3s, .3s, .06s",Et.current&&vt-Et.current<100&&(En.transitionDuration="0s, 0s")}}),lt&&(Et.current=Date.now())}),it.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(it){var Et=(0,ze.Z)((0,ze.Z)({},Le),it),vt=Et.className,lt=Et.percent,tn=Et.prefixCls,En=Et.strokeColor,Cn=Et.strokeLinecap,In=Et.strokeWidth,ra=Et.style,Xt=Et.trailColor,Yt=Et.trailWidth,qt=Et.transition,Ln=(0,He.Z)(Et,E);delete Ln.gapPosition;var $t=Array.isArray(lt)?lt:[lt],ha=Array.isArray(En)?En:[En],ba=le(),Xn=In/2,ln=100-In/2,Ba="M ".concat(Cn==="round"?Xn:0,",").concat(Xn,` - L `).concat(Cn==="round"?ln:100,",").concat(Xn),qe="0 0 100 ".concat(In),cn=0;return y.createElement("svg",(0,je.Z)({className:se()("".concat(tn,"-line"),vt),viewBox:qe,preserveAspectRatio:"none",style:ra},Ln),y.createElement("path",{className:"".concat(tn,"-line-trail"),d:Ba,strokeLinecap:Cn,stroke:Xt,strokeWidth:Yt||In,fillOpacity:"0"}),$t.map(function(Nn,bn){var wn=1;switch(Cn){case"round":wn=1-In/100;break;case"square":wn=1-In/2/100;break;default:wn=1;break}var zn={strokeDasharray:"".concat(Nn*wn,"px, 100px"),strokeDashoffset:"-".concat(cn,"px"),transition:qt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Kn=ha[bn]||ha[ha.length-1];return cn+=Nn,y.createElement("path",{key:bn,className:"".concat(tn,"-line-path"),d:Ba,strokeLinecap:Cn,stroke:Kn,strokeWidth:In,fillOpacity:"0",ref:function(At){ba[bn]=At},style:zn})}))},x=a,b=ne(76190),z=ne(42978),te=ne(47273),re=0,ie=(0,te.Z)();function ge(){var ke;return ie?(ke=re,re+=1):ke="TEST_OR_SSR",ke}var fe=function(ke){var it=y.useState(),Et=(0,z.Z)(it,2),vt=Et[0],lt=Et[1];return y.useEffect(function(){lt("rc_progress_".concat(ge()))},[]),ke||vt},ce=function(it){var Et=it.bg,vt=it.children;return y.createElement("div",{style:{width:"100%",height:"100%",background:Et}},vt)};function xe(ke,it){return Object.keys(ke).map(function(Et){var vt=parseFloat(Et),lt="".concat(Math.floor(vt*it),"%");return"".concat(ke[Et]," ").concat(lt)})}var ye=y.forwardRef(function(ke,it){var Et=ke.prefixCls,vt=ke.color,lt=ke.gradientId,tn=ke.radius,En=ke.style,Cn=ke.ptg,In=ke.strokeLinecap,ra=ke.strokeWidth,Xt=ke.size,Yt=ke.gapDegree,qt=vt&&(0,b.Z)(vt)==="object",Ln=qt?"#FFF":void 0,$t=Xt/2,ha=y.createElement("circle",{className:"".concat(Et,"-circle-path"),r:tn,cx:$t,cy:$t,stroke:Ln,strokeLinecap:In,strokeWidth:ra,opacity:Cn===0?0:1,style:En,ref:it});if(!qt)return ha;var ba="".concat(lt,"-conic"),Xn=Yt?"".concat(180+Yt/2,"deg"):"0deg",ln=xe(vt,(360-Yt)/360),Ba=xe(vt,1),qe="conic-gradient(from ".concat(Xn,", ").concat(ln.join(", "),")"),cn="linear-gradient(to ".concat(Yt?"bottom":"top",", ").concat(Ba.join(", "),")");return y.createElement(y.Fragment,null,y.createElement("mask",{id:ba},ha),y.createElement("foreignObject",{x:0,y:0,width:Xt,height:Xt,mask:"url(#".concat(ba,")")},y.createElement(ce,{bg:cn},y.createElement(ce,{bg:qe}))))}),Ne=ye,pe=100,Xe=function(it,Et,vt,lt,tn,En,Cn,In,ra,Xt){var Yt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,qt=vt/100*360*((360-En)/360),Ln=En===0?0:{bottom:0,top:180,left:90,right:-90}[Cn],$t=(100-lt)/100*Et;ra==="round"&<!==100&&($t+=Xt/2,$t>=Et&&($t=Et-.01));var ha=pe/2;return{stroke:typeof In=="string"?In:void 0,strokeDasharray:"".concat(Et,"px ").concat(it),strokeDashoffset:$t+Yt,transform:"rotate(".concat(tn+qt+Ln,"deg)"),transformOrigin:"".concat(ha,"px ").concat(ha,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function dt(ke){var it=ke!=null?ke:[];return Array.isArray(it)?it:[it]}var Re=function(it){var Et=(0,ze.Z)((0,ze.Z)({},Le),it),vt=Et.id,lt=Et.prefixCls,tn=Et.steps,En=Et.strokeWidth,Cn=Et.trailWidth,In=Et.gapDegree,ra=In===void 0?0:In,Xt=Et.gapPosition,Yt=Et.trailColor,qt=Et.strokeLinecap,Ln=Et.style,$t=Et.className,ha=Et.strokeColor,ba=Et.percent,Xn=(0,He.Z)(Et,We),ln=pe/2,Ba=fe(vt),qe="".concat(Ba,"-gradient"),cn=ln-En/2,Nn=Math.PI*2*cn,bn=ra>0?90+ra/2:-90,wn=Nn*((360-ra)/360),zn=(0,b.Z)(tn)==="object"?tn:{count:tn,space:2},Kn=zn.count,ct=zn.space,At=dt(ba),St=dt(ha),dn=St.find(function(za){return za&&(0,b.Z)(za)==="object"}),An=dn&&(0,b.Z)(dn)==="object",vn=An?"butt":qt,$n=Xe(Nn,wn,0,100,bn,ra,Xt,Yt,vn,En),Tn=le(),_n=function(){var Bn=0;return At.map(function(Sa,qa){var cr=St[qa]||St[St.length-1],Gn=Xe(Nn,wn,Bn,Sa,bn,ra,Xt,cr,vn,En);return Bn+=Sa,y.createElement(Ne,{key:qa,color:cr,ptg:Sa,radius:cn,prefixCls:lt,gradientId:qe,style:Gn,strokeLinecap:vn,strokeWidth:En,gapDegree:ra,ref:function(Ir){Tn[qa]=Ir},size:pe})}).reverse()},Pa=function(){var Bn=Math.round(Kn*(At[0]/100)),Sa=100/Kn,qa=0;return new Array(Kn).fill(null).map(function(cr,Gn){var sn=Gn<=Bn-1?St[0]:Yt,Ir=sn&&(0,b.Z)(sn)==="object"?"url(#".concat(qe,")"):void 0,_a=Xe(Nn,wn,qa,Sa,bn,ra,Xt,sn,"butt",En,ct);return qa+=(wn-_a.strokeDashoffset+ct)*100/wn,y.createElement("circle",{key:Gn,className:"".concat(lt,"-circle-path"),r:cn,cx:ln,cy:ln,stroke:Ir,strokeWidth:En,opacity:1,style:_a,ref:function(Tr){Tn[Gn]=Tr}})})};return y.createElement("svg",(0,je.Z)({className:se()("".concat(lt,"-circle"),$t),viewBox:"0 0 ".concat(pe," ").concat(pe),style:Ln,id:vt,role:"presentation"},Xn),!Kn&&y.createElement("circle",{className:"".concat(lt,"-circle-trail"),r:cn,cx:ln,cy:ln,stroke:Yt,strokeLinecap:vn,strokeWidth:Cn||En,style:$n}),Kn?Pa():_n())},_e=Re,mt={Line:x,Circle:_e},Qe=ne(6848),at=ne(30071);function Ht(ke){return!ke||ke<0?0:ke>100?100:ke}function ht(ke){let{success:it,successPercent:Et}=ke,vt=Et;return it&&"progress"in it&&(vt=it.progress),it&&"percent"in it&&(vt=it.percent),vt}const zt=ke=>{let{percent:it,success:Et,successPercent:vt}=ke;const lt=Ht(ht({success:Et,successPercent:vt}));return[lt,Ht(Ht(it)-lt)]},Kt=ke=>{let{success:it={},strokeColor:Et}=ke;const{strokeColor:vt}=it;return[vt||at.presetPrimaryColors.green,Et||null]},Ve=(ke,it,Et)=>{var vt,lt,tn,En;let Cn=-1,In=-1;if(it==="step"){const ra=Et.steps,Xt=Et.strokeWidth;typeof ke=="string"||typeof ke=="undefined"?(Cn=ke==="small"?2:14,In=Xt!=null?Xt:8):typeof ke=="number"?[Cn,In]=[ke,ke]:[Cn=14,In=8]=ke,Cn*=ra}else if(it==="line"){const ra=Et==null?void 0:Et.strokeWidth;typeof ke=="string"||typeof ke=="undefined"?In=ra||(ke==="small"?6:8):typeof ke=="number"?[Cn,In]=[ke,ke]:[Cn=-1,In=8]=ke}else(it==="circle"||it==="dashboard")&&(typeof ke=="string"||typeof ke=="undefined"?[Cn,In]=ke==="small"?[60,60]:[120,120]:typeof ke=="number"?[Cn,In]=[ke,ke]:(Cn=(lt=(vt=ke[0])!==null&&vt!==void 0?vt:ke[1])!==null&<!==void 0?lt:120,In=(En=(tn=ke[0])!==null&&tn!==void 0?tn:ke[1])!==null&&En!==void 0?En:120));return[Cn,In]},ut=3,Mt=ke=>ut/ke*100;var Dt=ke=>{const{prefixCls:it,trailColor:Et=null,strokeLinecap:vt="round",gapPosition:lt,gapDegree:tn,width:En=120,type:Cn,children:In,success:ra,size:Xt=En}=ke,[Yt,qt]=Ve(Xt,"circle");let{strokeWidth:Ln}=ke;Ln===void 0&&(Ln=Math.max(Mt(Yt),6));const $t={width:Yt,height:qt,fontSize:Yt*.15+6},ha=y.useMemo(()=>{if(tn||tn===0)return tn;if(Cn==="dashboard")return 75},[tn,Cn]),ba=lt||Cn==="dashboard"&&"bottom"||void 0,Xn=Object.prototype.toString.call(ke.strokeColor)==="[object Object]",ln=Kt({success:ra,strokeColor:ke.strokeColor}),Ba=se()(`${it}-inner`,{[`${it}-circle-gradient`]:Xn}),qe=y.createElement(_e,{percent:zt(ke),strokeWidth:Ln,trailWidth:Ln,strokeColor:ln,strokeLinecap:vt,trailColor:Et,prefixCls:it,gapDegree:ha,gapPosition:ba});return y.createElement("div",{className:Ba,style:$t},Yt<=20?y.createElement(Qe.Z,{title:In},y.createElement("span",null,qe)):y.createElement(y.Fragment,null,qe,In))},en=function(ke,it){var Et={};for(var vt in ke)Object.prototype.hasOwnProperty.call(ke,vt)&&it.indexOf(vt)<0&&(Et[vt]=ke[vt]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,vt=Object.getOwnPropertySymbols(ke);lt{let it=[];return Object.keys(ke).forEach(Et=>{const vt=parseFloat(Et.replace(/%/g,""));isNaN(vt)||it.push({key:vt,value:ke[Et]})}),it=it.sort((Et,vt)=>Et.key-vt.key),it.map(Et=>{let{key:vt,value:lt}=Et;return`${lt} ${vt}%`}).join(", ")},Jt=(ke,it)=>{const{from:Et=at.presetPrimaryColors.blue,to:vt=at.presetPrimaryColors.blue,direction:lt=it==="rtl"?"to left":"to right"}=ke,tn=en(ke,["from","to","direction"]);if(Object.keys(tn).length!==0){const En=Be(tn);return{backgroundImage:`linear-gradient(${lt}, ${En})`}}return{backgroundImage:`linear-gradient(${lt}, ${Et}, ${vt})`}};var Nt=ke=>{const{prefixCls:it,direction:Et,percent:vt,size:lt,strokeWidth:tn,strokeColor:En,strokeLinecap:Cn="round",children:In,trailColor:ra=null,success:Xt}=ke,Yt=En&&typeof En!="string"?Jt(En,Et):{backgroundColor:En},qt=Cn==="square"||Cn==="butt"?0:void 0,Ln={backgroundColor:ra||void 0,borderRadius:qt},$t=lt!=null?lt:[-1,tn||(lt==="small"?6:8)],[ha,ba]=Ve($t,"line",{strokeWidth:tn}),Xn=Object.assign({width:`${Ht(vt)}%`,height:ba,borderRadius:qt},Yt),ln=ht(ke),Ba={width:`${Ht(ln)}%`,height:ba,borderRadius:qt,backgroundColor:Xt==null?void 0:Xt.strokeColor},qe={width:ha<0?"100%":ha,height:ba};return y.createElement(y.Fragment,null,y.createElement("div",{className:`${it}-outer`,style:qe},y.createElement("div",{className:`${it}-inner`,style:Ln},y.createElement("div",{className:`${it}-bg`,style:Xn}),ln!==void 0?y.createElement("div",{className:`${it}-success-bg`,style:Ba}):null)),In)},tt=ke=>{const{size:it,steps:Et,percent:vt=0,strokeWidth:lt=8,strokeColor:tn,trailColor:En=null,prefixCls:Cn,children:In}=ke,ra=Math.round(Et*(vt/100)),Xt=it==="small"?2:14,Yt=it!=null?it:[Xt,lt],[qt,Ln]=Ve(Yt,"step",{steps:Et,strokeWidth:lt}),$t=qt/Et,ha=new Array(Et);for(let ba=0;ba{const it=ke?"100%":"-100%";return new Ye.Keyframes(`antProgress${ke?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${it}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${it}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},we=ke=>{const{componentCls:it,iconCls:Et}=ke;return{[it]:Object.assign(Object.assign({},(0,Fe.Wf)(ke)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ke.fontSize,marginInlineEnd:ke.marginXS,marginBottom:ke.marginXS},[`${it}-outer`]:{display:"inline-block",width:"100%"},[`&${it}-show-info`]:{[`${it}-outer`]:{marginInlineEnd:`calc(-2em - ${ke.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ke.paddingXS}px)`}},[`${it}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ke.remainingColor,borderRadius:ke.lineBorderRadius},[`${it}-inner:not(${it}-circle-gradient)`]:{[`${it}-circle-path`]:{stroke:ke.defaultColor}},[`${it}-success-bg, ${it}-bg`]:{position:"relative",backgroundColor:ke.defaultColor,borderRadius:ke.lineBorderRadius,transition:`all ${ke.motionDurationSlow} ${ke.motionEaseInOutCirc}`},[`${it}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ke.colorSuccess},[`${it}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ke.marginXS,color:ke.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Et]:{fontSize:ke.fontSize}},[`&${it}-status-active`]:{[`${it}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ke.colorBgContainer,borderRadius:ke.lineBorderRadius,opacity:0,animationName:Lt(),animationDuration:ke.progressActiveMotionDuration,animationTimingFunction:ke.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${it}-rtl${it}-status-active`]:{[`${it}-bg::before`]:{animationName:Lt(!0)}},[`&${it}-status-exception`]:{[`${it}-bg`]:{backgroundColor:ke.colorError},[`${it}-text`]:{color:ke.colorError}},[`&${it}-status-exception ${it}-inner:not(${it}-circle-gradient)`]:{[`${it}-circle-path`]:{stroke:ke.colorError}},[`&${it}-status-success`]:{[`${it}-bg`]:{backgroundColor:ke.colorSuccess},[`${it}-text`]:{color:ke.colorSuccess}},[`&${it}-status-success ${it}-inner:not(${it}-circle-gradient)`]:{[`${it}-circle-path`]:{stroke:ke.colorSuccess}}})}},be=ke=>{const{componentCls:it,iconCls:Et}=ke;return{[it]:{[`${it}-circle-trail`]:{stroke:ke.remainingColor},[`&${it}-circle ${it}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${it}-circle ${it}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ke.circleTextColor,fontSize:ke.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Et]:{fontSize:`${ke.fontSize/ke.fontSizeSM}em`}},[`${it}-circle&-status-exception`]:{[`${it}-text`]:{color:ke.colorError}},[`${it}-circle&-status-success`]:{[`${it}-text`]:{color:ke.colorSuccess}}},[`${it}-inline-circle`]:{lineHeight:1,[`${it}-inner`]:{verticalAlign:"bottom"}}}},Pt=ke=>{const{componentCls:it}=ke;return{[it]:{[`${it}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ke.progressStepMinWidth,marginInlineEnd:ke.progressStepMarginInlineEnd,backgroundColor:ke.remainingColor,transition:`all ${ke.motionDurationSlow}`,"&-active":{backgroundColor:ke.defaultColor}}}}}},Je=ke=>{const{componentCls:it,iconCls:Et}=ke;return{[it]:{[`${it}-small&-line, ${it}-small&-line ${it}-text ${Et}`]:{fontSize:ke.fontSizeSM}}}};var Te=(0,he.Z)("Progress",ke=>{const it=ke.marginXXS/2,Et=(0,et.TS)(ke,{progressStepMarginInlineEnd:it,progressStepMinWidth:it,progressActiveMotionDuration:"2.4s"});return[we(Et),be(Et),Pt(Et),Je(Et)]},ke=>({circleTextColor:ke.colorText,defaultColor:ke.colorInfo,remainingColor:ke.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ct=function(ke,it){var Et={};for(var vt in ke)Object.prototype.hasOwnProperty.call(ke,vt)&&it.indexOf(vt)<0&&(Et[vt]=ke[vt]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,vt=Object.getOwnPropertySymbols(ke);lt{const{prefixCls:Et,className:vt,rootClassName:lt,steps:tn,strokeColor:En,percent:Cn=0,size:In="default",showInfo:ra=!0,type:Xt="line",status:Yt,format:qt,style:Ln}=ke,$t=Ct(ke,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ha=y.useMemo(()=>{var At,St;const dn=ht(ke);return parseInt(dn!==void 0?(At=dn!=null?dn:0)===null||At===void 0?void 0:At.toString():(St=Cn!=null?Cn:0)===null||St===void 0?void 0:St.toString(),10)},[Cn,ke.success,ke.successPercent]),ba=y.useMemo(()=>!Tt.includes(Yt)&&ha>=100?"success":Yt||"normal",[Yt,ha]),{getPrefixCls:Xn,direction:ln,progress:Ba}=y.useContext(Ke.E_),qe=Xn("progress",Et),[cn,Nn]=Te(qe),bn=y.useMemo(()=>{if(!ra)return null;const At=ht(ke);let St;const dn=qt||(vn=>`${vn}%`),An=Xt==="line";return qt||ba!=="exception"&&ba!=="success"?St=dn(Ht(Cn),Ht(At)):ba==="exception"?St=An?y.createElement(Oe.Z,null):y.createElement(De.Z,null):ba==="success"&&(St=An?y.createElement(ue.Z,null):y.createElement(Ce.Z,null)),y.createElement("span",{className:`${qe}-text`,title:typeof St=="string"?St:void 0},St)},[ra,Cn,ha,ba,Xt,qe,qt]),wn=Array.isArray(En)?En[0]:En,zn=typeof En=="string"||Array.isArray(En)?En:void 0;let Kn;Xt==="line"?Kn=tn?y.createElement(tt,Object.assign({},ke,{strokeColor:zn,prefixCls:qe,steps:tn}),bn):y.createElement(Nt,Object.assign({},ke,{strokeColor:wn,prefixCls:qe,direction:ln}),bn):(Xt==="circle"||Xt==="dashboard")&&(Kn=y.createElement(Dt,Object.assign({},ke,{strokeColor:wn,prefixCls:qe,progressStatus:ba}),bn));const ct=se()(qe,`${qe}-status-${ba}`,`${qe}-${Xt==="dashboard"&&"circle"||tn&&"steps"||Xt}`,{[`${qe}-inline-circle`]:Xt==="circle"&&Ve(In,"circle")[0]<=20,[`${qe}-show-info`]:ra,[`${qe}-${In}`]:typeof In=="string",[`${qe}-rtl`]:ln==="rtl"},Ba==null?void 0:Ba.className,vt,lt,Nn);return cn(y.createElement("div",Object.assign({ref:it,style:Object.assign(Object.assign({},Ba==null?void 0:Ba.style),Ln),className:ct,role:"progressbar","aria-valuenow":ha},(0,Ze.Z)($t,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Kn))}),mn=an},13570:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ht}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Oe=Ce,De=ne(7657),Ie=function(zt,Kt){return ue.createElement(De.Z,(0,y.Z)({},zt,{ref:Kt,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(92310),je=ne.n(Ke),ze=ne(20068),He=ne(42978),Le=ne(75931),le=ne(18929),E=ne(10228),a=ne(26112);function x(ht,zt){var Kt=ht.disabled,Ve=ht.prefixCls,ut=ht.character,Mt=ht.characterRender,un=ht.index,Dt=ht.count,en=ht.value,Be=ht.allowHalf,Jt=ht.focused,yn=ht.onHover,Nt=ht.onClick,Ot=function(be){yn(be,un)},tt=function(be){Nt(be,un)},Ye=function(be){be.keyCode===E.Z.ENTER&&Nt(be,un)},Fe=un+1,he=new Set([Ve]);en===0&&un===0&&Jt?he.add("".concat(Ve,"-focused")):Be&&en+.5>=Fe&&enun?"true":"false","aria-posinset":un+1,"aria-setsize":Dt,tabIndex:Kt?-1:0},ue.createElement("div",{className:"".concat(Ve,"-first")},et),ue.createElement("div",{className:"".concat(Ve,"-second")},et)));return Mt&&(Lt=Mt(Lt,ht)),Lt}var b=ue.forwardRef(x);function z(){var ht=ue.useRef({});function zt(Ve){return ht.current[Ve]}function Kt(Ve){return function(ut){ht.current[Ve]=ut}}return[zt,Kt]}function te(ht){var zt=ht.pageXOffset,Kt="scrollLeft";if(typeof zt!="number"){var Ve=ht.document;zt=Ve.documentElement[Kt],typeof zt!="number"&&(zt=Ve.body[Kt])}return zt}function re(ht){var zt,Kt,Ve=ht.ownerDocument,ut=Ve.body,Mt=Ve&&Ve.documentElement,un=ht.getBoundingClientRect();return zt=un.left,Kt=un.top,zt-=Mt.clientLeft||ut.clientLeft||0,Kt-=Mt.clientTop||ut.clientTop||0,{left:zt,top:Kt}}function ie(ht){var zt=re(ht),Kt=ht.ownerDocument,Ve=Kt.defaultView||Kt.parentWindow;return zt.left+=te(Ve),zt.left}var ge=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function fe(ht,zt){var Kt,Ve=ht.prefixCls,ut=Ve===void 0?"rc-rate":Ve,Mt=ht.className,un=ht.defaultValue,Dt=ht.value,en=ht.count,Be=en===void 0?5:en,Jt=ht.allowHalf,yn=Jt===void 0?!1:Jt,Nt=ht.allowClear,Ot=Nt===void 0?!0:Nt,tt=ht.character,Ye=tt===void 0?"\u2605":tt,Fe=ht.characterRender,he=ht.disabled,et=ht.direction,Lt=et===void 0?"ltr":et,we=ht.tabIndex,be=we===void 0?0:we,Pt=ht.autoFocus,Je=ht.onHoverChange,Te=ht.onChange,Ct=ht.onFocus,pn=ht.onBlur,Tt=ht.onKeyDown,on=ht.onMouseLeave,an=(0,Le.Z)(ht,ge),mn=z(),ke=(0,He.Z)(mn,2),it=ke[0],Et=ke[1],vt=ue.useRef(null),lt=function(){if(!he){var vn;(vn=vt.current)===null||vn===void 0||vn.focus()}};ue.useImperativeHandle(zt,function(){return{focus:lt,blur:function(){if(!he){var vn;(vn=vt.current)===null||vn===void 0||vn.blur()}}}});var tn=(0,le.Z)(un||0,{value:Dt}),En=(0,He.Z)(tn,2),Cn=En[0],In=En[1],ra=(0,le.Z)(null),Xt=(0,He.Z)(ra,2),Yt=Xt[0],qt=Xt[1],Ln=function(vn,$n){var Tn=Lt==="rtl",_n=vn+1;if(yn){var Pa=it(vn),za=ie(Pa),Bn=Pa.clientWidth;(Tn&&$n-za>Bn/2||!Tn&&$n-za0&&!Tn||$n===E.Z.RIGHT&&_n>0&&Tn?(yn?_n-=.5:_n-=1,$t(_n),vn.preventDefault()):$n===E.Z.LEFT&&_n{const{componentCls:zt}=ht;return{[`${zt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ht.marginXS},"> div":{transition:`all ${ht.motionDurationMid}, outline 0s`,"&:hover":{transform:ht.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ht.lineWidth}px dashed ${ht.starColor}`,transform:ht.starHoverScale}},"&-first, &-second":{color:ht.starBg,transition:`all ${ht.motionDurationMid}`,userSelect:"none",[ht.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${zt}-star-first, &-half ${zt}-star-second`]:{opacity:1},[`&-half ${zt}-star-first, &-full ${zt}-star-second`]:{color:"inherit"}}}},Re=ht=>({[`&-rtl${ht.componentCls}`]:{direction:"rtl"}}),_e=ht=>{const{componentCls:zt}=ht;return{[zt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(ht)),{display:"inline-block",margin:0,padding:0,color:ht.starColor,fontSize:ht.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${zt} ${zt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),dt(ht)),{[`+ ${zt}-text`]:{display:"inline-block",marginInlineStart:ht.marginXS,fontSize:ht.fontSize}}),Re(ht))}};var mt=(0,Xe.Z)("Rate",ht=>{const zt=(0,We.TS)(ht,{});return[_e(zt)]},ht=>({starColor:ht.yellow6,starSize:ht.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ht.colorFillContent})),Qe=function(ht,zt){var Kt={};for(var Ve in ht)Object.prototype.hasOwnProperty.call(ht,Ve)&&zt.indexOf(Ve)<0&&(Kt[Ve]=ht[Ve]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Ve=Object.getOwnPropertySymbols(ht);ut{const{prefixCls:Kt,className:Ve,rootClassName:ut,style:Mt,tooltips:un,character:Dt=ue.createElement(Ze,null)}=ht,en=Qe(ht,["prefixCls","className","rootClassName","style","tooltips","character"]),Be=(he,et)=>{let{index:Lt}=et;return un?ue.createElement(Ne.Z,{title:un[Lt]},he):he},{getPrefixCls:Jt,direction:yn,rate:Nt}=ue.useContext(ye.E_),Ot=Jt("rate",Kt),[tt,Ye]=mt(Ot),Fe=Object.assign(Object.assign({},Nt==null?void 0:Nt.style),Mt);return tt(ue.createElement(xe,Object.assign({ref:zt,character:Dt,characterRender:Be},en,{className:je()(Ve,ut,Ye,Nt==null?void 0:Nt.className),style:Fe,prefixCls:Ot,direction:yn})))})},61621:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return Ye}});var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(36355),De=ne(2738),se=Fe=>{const{prefixCls:he,className:et,style:Lt,size:we,shape:be}=Fe,Pt=ue()({[`${he}-lg`]:we==="large",[`${he}-sm`]:we==="small"}),Je=ue()({[`${he}-circle`]:be==="circle",[`${he}-square`]:be==="square",[`${he}-round`]:be==="round"}),Te=Ce.useMemo(()=>typeof we=="number"?{width:we,height:we,lineHeight:`${we}px`}:{},[we]);return Ce.createElement("span",{className:ue()(he,Pt,Je,et),style:Object.assign(Object.assign({},Te),Lt)})},Ze=ne(36237),Ke=ne(83116),je=ne(37613);const ze=new Ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),He=Fe=>({height:Fe,lineHeight:`${Fe}px`}),Le=Fe=>Object.assign({width:Fe},He(Fe)),le=Fe=>({background:Fe.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ze,animationDuration:Fe.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=Fe=>Object.assign({width:Fe*5,minWidth:Fe*5},He(Fe)),a=Fe=>{const{skeletonAvatarCls:he,gradientFromColor:et,controlHeight:Lt,controlHeightLG:we,controlHeightSM:be}=Fe;return{[`${he}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:et},Le(Lt)),[`${he}${he}-circle`]:{borderRadius:"50%"},[`${he}${he}-lg`]:Object.assign({},Le(we)),[`${he}${he}-sm`]:Object.assign({},Le(be))}},x=Fe=>{const{controlHeight:he,borderRadiusSM:et,skeletonInputCls:Lt,controlHeightLG:we,controlHeightSM:be,gradientFromColor:Pt}=Fe;return{[`${Lt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:et},E(he)),[`${Lt}-lg`]:Object.assign({},E(we)),[`${Lt}-sm`]:Object.assign({},E(be))}},b=Fe=>Object.assign({width:Fe},He(Fe)),z=Fe=>{const{skeletonImageCls:he,imageSizeBase:et,gradientFromColor:Lt,borderRadiusSM:we}=Fe;return{[`${he}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Lt,borderRadius:we},b(et*2)),{[`${he}-path`]:{fill:"#bfbfbf"},[`${he}-svg`]:Object.assign(Object.assign({},b(et)),{maxWidth:et*4,maxHeight:et*4}),[`${he}-svg${he}-svg-circle`]:{borderRadius:"50%"}}),[`${he}${he}-circle`]:{borderRadius:"50%"}}},te=(Fe,he,et)=>{const{skeletonButtonCls:Lt}=Fe;return{[`${et}${Lt}-circle`]:{width:he,minWidth:he,borderRadius:"50%"},[`${et}${Lt}-round`]:{borderRadius:he}}},re=Fe=>Object.assign({width:Fe*2,minWidth:Fe*2},He(Fe)),ie=Fe=>{const{borderRadiusSM:he,skeletonButtonCls:et,controlHeight:Lt,controlHeightLG:we,controlHeightSM:be,gradientFromColor:Pt}=Fe;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${et}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:he,width:Lt*2,minWidth:Lt*2},re(Lt))},te(Fe,Lt,et)),{[`${et}-lg`]:Object.assign({},re(we))}),te(Fe,we,`${et}-lg`)),{[`${et}-sm`]:Object.assign({},re(be))}),te(Fe,be,`${et}-sm`))},ge=Fe=>{const{componentCls:he,skeletonAvatarCls:et,skeletonTitleCls:Lt,skeletonParagraphCls:we,skeletonButtonCls:be,skeletonInputCls:Pt,skeletonImageCls:Je,controlHeight:Te,controlHeightLG:Ct,controlHeightSM:pn,gradientFromColor:Tt,padding:on,marginSM:an,borderRadius:mn,titleHeight:ke,blockRadius:it,paragraphLiHeight:Et,controlHeightXS:vt,paragraphMarginTop:lt}=Fe;return{[`${he}`]:{display:"table",width:"100%",[`${he}-header`]:{display:"table-cell",paddingInlineEnd:on,verticalAlign:"top",[`${et}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Tt},Le(Te)),[`${et}-circle`]:{borderRadius:"50%"},[`${et}-lg`]:Object.assign({},Le(Ct)),[`${et}-sm`]:Object.assign({},Le(pn))},[`${he}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Lt}`]:{width:"100%",height:ke,background:Tt,borderRadius:it,[`+ ${we}`]:{marginBlockStart:pn}},[`${we}`]:{padding:0,"> li":{width:"100%",height:Et,listStyle:"none",background:Tt,borderRadius:it,"+ li":{marginBlockStart:vt}}},[`${we}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${he}-content`]:{[`${Lt}, ${we} > li`]:{borderRadius:mn}}},[`${he}-with-avatar ${he}-content`]:{[`${Lt}`]:{marginBlockStart:an,[`+ ${we}`]:{marginBlockStart:lt}}},[`${he}${he}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(Fe)),a(Fe)),x(Fe)),z(Fe)),[`${he}${he}-block`]:{width:"100%",[`${be}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${he}${he}-active`]:{[` + `]:{display:"inline-block",minWidth:Fe.itemSize,height:Fe.itemSize,color:Fe.colorText,fontFamily:Fe.fontFamily,lineHeight:`${Fe.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Fe.borderRadius,cursor:"pointer",transition:`all ${Fe.motionDurationMid}`},[`${be}-prev, ${be}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Fe.colorText,cursor:"pointer",userSelect:"none"},[`${be}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Fe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,borderRadius:Fe.borderRadius,outline:"none",transition:`all ${Fe.motionDurationMid}`},[`&:hover ${be}-item-link`]:{backgroundColor:Fe.colorBgTextHover},[`&:active ${be}-item-link`]:{backgroundColor:Fe.colorBgTextActive},[`&${be}-disabled:hover`]:{[`${be}-item-link`]:{backgroundColor:"transparent"}}},[`${be}-slash`]:{marginInlineEnd:Fe.paginationSlashMarginInlineEnd,marginInlineStart:Fe.paginationSlashMarginInlineStart},[`${be}-options`]:{display:"inline-block",marginInlineStart:Fe.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Fe.controlHeight,marginInlineStart:Fe.marginXS,lineHeight:`${Fe.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Ve.ik)(Fe)),{width:Fe.controlHeightLG*1.25,height:Fe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Fe.marginXS,marginInlineEnd:Fe.marginXS})}}}},bn=Fe=>{const{componentCls:be}=Fe;return{[`${be}-item`]:{display:"inline-block",minWidth:Fe.itemSize,height:Fe.itemSize,marginInlineEnd:Fe.marginXS,fontFamily:Fe.fontFamily,lineHeight:`${Fe.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Fe.lineWidth}px ${Fe.lineType} transparent`,borderRadius:Fe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Fe.paginationItemPaddingInline}px`,color:Fe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${be}-item-active)`]:{"&:hover":{transition:`all ${Fe.motionDurationMid}`,backgroundColor:Fe.colorBgTextHover},"&:active":{backgroundColor:Fe.colorBgTextActive}},"&-active":{fontWeight:Fe.fontWeightStrong,backgroundColor:Fe.itemActiveBg,borderColor:Fe.colorPrimary,a:{color:Fe.colorPrimary},"&:hover":{borderColor:Fe.colorPrimaryHover},"&:hover a":{color:Fe.colorPrimaryHover}}}}},Ot=Fe=>{const{componentCls:be}=Fe;return{[be]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,st.Wf)(Fe)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${be}-total-text`]:{display:"inline-block",height:Fe.itemSize,marginInlineEnd:Fe.marginXS,lineHeight:`${Fe.itemSize-2}px`,verticalAlign:"middle"}}),bn(Fe)),Jt(Fe)),Be(Fe)),$t(Fe)),wt(Fe)),{[`@media only screen and (max-width: ${Fe.screenLG}px)`]:{[`${be}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Fe.screenSM}px)`]:{[`${be}-options`]:{display:"none"}}}),[`&${Fe.componentCls}-rtl`]:{direction:"rtl"}}},Zt=Fe=>{const{componentCls:be}=Fe;return{[`${be}${be}-disabled:not(${be}-mini)`]:{"&, &:hover":{[`${be}-item-link`]:{borderColor:Fe.colorBorder}},"&:focus-visible":{[`${be}-item-link`]:{borderColor:Fe.colorBorder}},[`${be}-item, ${be}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,[`&:hover:not(${be}-item-active)`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,a:{color:Fe.colorTextDisabled}},[`&${be}-item-active`]:{backgroundColor:Fe.itemActiveBgDisabled}},[`${be}-prev, ${be}-next`]:{"&:hover button":{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder,color:Fe.colorTextDisabled},[`${be}-item-link`]:{backgroundColor:Fe.colorBgContainerDisabled,borderColor:Fe.colorBorder}}},[`${be}:not(${be}-mini)`]:{[`${be}-prev, ${be}-next`]:{"&:hover button":{borderColor:Fe.colorPrimaryHover,backgroundColor:Fe.itemBg},[`${be}-item-link`]:{backgroundColor:Fe.itemLinkBg,borderColor:Fe.colorBorder},[`&:hover ${be}-item-link`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,color:Fe.colorPrimary},[`&${be}-disabled`]:{[`${be}-item-link`]:{borderColor:Fe.colorBorder,color:Fe.colorTextDisabled}}},[`${be}-item`]:{backgroundColor:Fe.itemBg,border:`${Fe.lineWidth}px ${Fe.lineType} ${Fe.colorBorder}`,[`&:hover:not(${be}-item-active)`]:{borderColor:Fe.colorPrimary,backgroundColor:Fe.itemBg,a:{color:Fe.colorPrimary}},"&-active":{borderColor:Fe.colorPrimary}}}}},et=Fe=>{const{componentCls:be}=Fe;return{[`${be}:not(${be}-disabled)`]:{[`${be}-item`]:Object.assign({},(0,st.Qy)(Fe)),[`${be}-jump-prev, ${be}-jump-next`]:{"&:focus-visible":Object.assign({[`${be}-item-link-icon`]:{opacity:1},[`${be}-item-ellipsis`]:{opacity:0}},(0,st.oN)(Fe))},[`${be}-prev, ${be}-next`]:{[`&:focus-visible ${be}-item-link`]:Object.assign({},(0,st.oN)(Fe))}}}};var Ye=(0,Rt.Z)("Pagination",Fe=>{const be=(0,gn.TS)(Fe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Fe.marginXXS/2,paginationMiniQuickJumperInputWidth:Fe.controlHeightLG*1.1,paginationItemPaddingInline:Fe.marginXXS*1.5,paginationEllipsisLetterSpacing:Fe.marginXXS/2,paginationSlashMarginInlineStart:Fe.marginXXS,paginationSlashMarginInlineEnd:Fe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ve.e5)(Fe),(0,Ve.TM)(Fe));return[Ot(be),et(be),Fe.wireframe&&Zt(be)]},Fe=>({itemBg:Fe.colorBgContainer,itemSize:Fe.controlHeight,itemSizeSM:Fe.controlHeightSM,itemActiveBg:Fe.colorBgContainer,itemLinkBg:Fe.colorBgContainer,itemActiveColorDisabled:Fe.colorTextDisabled,itemActiveBgDisabled:Fe.controlItemBgActiveDisabled,itemInputBg:Fe.colorBgContainer,miniOptionsSizeChangerTop:0})),De=function(Fe,be){var Pt={};for(var Je in Fe)Object.prototype.hasOwnProperty.call(Fe,Je)&&be.indexOf(Je)<0&&(Pt[Je]=Fe[Je]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,Je=Object.getOwnPropertySymbols(Fe);ke{const{prefixCls:be,selectPrefixCls:Pt,className:Je,rootClassName:ke,style:bt,size:hn,locale:Tt,selectComponentClass:ln,responsive:tn,showSizeChanger:an}=Fe,Te=De(Fe,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:at}=(0,ot.Z)(tn),{getPrefixCls:Nt,direction:ft,pagination:lt={}}=ue.useContext(mt.E_),fn=Nt("pagination",be),[En,yn]=Ye(fn),Ln=an!=null?an:lt.showSizeChanger,ea=ue.useMemo(()=>{const Un=ue.createElement("span",{className:`${fn}-item-ellipsis`},"\u2022\u2022\u2022"),dn=ue.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},ft==="rtl"?ue.createElement(ze.Z,null):ue.createElement(je.Z,null)),Aa=ue.createElement("button",{className:`${fn}-item-link`,type:"button",tabIndex:-1},ft==="rtl"?ue.createElement(je.Z,null):ue.createElement(ze.Z,null)),qe=ue.createElement("a",{className:`${fn}-item-link`},ue.createElement("div",{className:`${fn}-item-container`},ft==="rtl"?ue.createElement(Ke.Z,{className:`${fn}-item-link-icon`}):ue.createElement(Ze,{className:`${fn}-item-link-icon`}),Un)),pn=ue.createElement("a",{className:`${fn}-item-link`},ue.createElement("div",{className:`${fn}-item-container`},ft==="rtl"?ue.createElement(Ze,{className:`${fn}-item-link-icon`}):ue.createElement(Ke.Z,{className:`${fn}-item-link-icon`}),Un));return{prevIcon:dn,nextIcon:Aa,jumpPrevIcon:qe,jumpNextIcon:pn}},[ft,fn]),[Xt]=(0,Wt.Z)("Pagination",_e.Z),Yt=Object.assign(Object.assign({},Xt),Tt),qt=(0,Qe.Z)(hn),In=qt==="small"||!!(at&&!qt&&tn),en=Nt("select",Pt),Sa=Le()({[`${fn}-mini`]:In,[`${fn}-rtl`]:ft==="rtl"},lt==null?void 0:lt.className,Je,ke,yn),Ca=Object.assign(Object.assign({},lt==null?void 0:lt.style),bt);return En(ue.createElement(Re,Object.assign({},ea,Te,{style:Ca,prefixCls:fn,selectPrefixCls:en,className:Sa,selectComponentClass:ln||(In?Ht:Kt),locale:Yt,showSizeChanger:Ln})))},Lt=tt},39722:function(At,jt,ne){"use strict";ne.d(jt,{t5:function(){return je}});var y=ne(92310),ue=ne.n(y),Ce=ne(55477),Oe=ne(59301),we=ne(36355),Ie=ne(77578),se=ne(17356),Ze=function(He,Le){var le={};for(var E in He)Object.prototype.hasOwnProperty.call(He,E)&&Le.indexOf(E)<0&&(le[E]=He[E]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,E=Object.getOwnPropertySymbols(He);a{if(!(!Le&&!le))return Oe.createElement(Oe.Fragment,null,Le&&Oe.createElement("div",{className:`${He}-title`},(0,Ie.Z)(Le)),Oe.createElement("div",{className:`${He}-inner-content`},(0,Ie.Z)(le)))},je=He=>{const{hashId:Le,prefixCls:le,className:E,style:a,placement:x="top",title:b,content:z,children:te}=He;return Oe.createElement("div",{className:ue()(Le,le,`${le}-pure`,`${le}-placement-${x}`,E),style:a},Oe.createElement("div",{className:`${le}-arrow`}),Oe.createElement(Ce.G,Object.assign({},He,{className:Le,prefixCls:le}),te||Ke(le,b,z)))},ze=He=>{const{prefixCls:Le}=He,le=Ze(He,["prefixCls"]),{getPrefixCls:E}=Oe.useContext(we.E_),a=E("popover",Le),[x,b]=(0,se.Z)(a);return x(Oe.createElement(je,Object.assign({},le,{prefixCls:a,hashId:b})))};jt.ZP=ze},60324:function(At,jt,ne){"use strict";var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(77578),we=ne(62892),Ie=ne(36355),se=ne(6848),Ze=ne(39722),Ke=ne(17356),je=function(Le,le){var E={};for(var a in Le)Object.prototype.hasOwnProperty.call(Le,a)&&le.indexOf(a)<0&&(E[a]=Le[a]);if(Le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(Le);x{let{title:le,content:E,prefixCls:a}=Le;return Ce.createElement(Ce.Fragment,null,le&&Ce.createElement("div",{className:`${a}-title`},(0,Oe.Z)(le)),Ce.createElement("div",{className:`${a}-inner-content`},(0,Oe.Z)(E)))},He=Ce.forwardRef((Le,le)=>{const{prefixCls:E,title:a,content:x,overlayClassName:b,placement:z="top",trigger:te="hover",mouseEnterDelay:re=.1,mouseLeaveDelay:ie=.1,overlayStyle:ge={}}=Le,fe=je(Le,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ce}=Ce.useContext(Ie.E_),xe=ce("popover",E),[ye,Ne]=(0,Ke.Z)(xe),pe=ce(),Xe=ue()(b,Ne);return ye(Ce.createElement(se.Z,Object.assign({placement:z,trigger:te,mouseEnterDelay:re,mouseLeaveDelay:ie,overlayStyle:ge},fe,{prefixCls:xe,overlayClassName:Xe,ref:le,overlay:a||x?Ce.createElement(ze,{prefixCls:xe,title:a,content:x}):null,transitionName:(0,we.m)(pe,"zoom-big",fe.transitionName),"data-popover-inject":!0})))});He._InternalPanelDoNotUseOrYouWillBeFired=Ze.ZP,jt.Z=He},17356:function(At,jt,ne){"use strict";var y=ne(17313),ue=ne(29878),Ce=ne(19447),Oe=ne(33166),we=ne(83116),Ie=ne(37613);const se=je=>{const{componentCls:ze,popoverColor:He,minWidth:Le,fontWeightStrong:le,popoverPadding:E,boxShadowSecondary:a,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:z,marginXS:te,colorBgElevated:re,popoverBg:ie}=je;return[{[ze]:Object.assign(Object.assign({},(0,y.Wf)(je)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:z,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":re,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ze}-content`]:{position:"relative"},[`${ze}-inner`]:{backgroundColor:ie,backgroundClip:"padding-box",borderRadius:b,boxShadow:a,padding:E},[`${ze}-title`]:{minWidth:Le,marginBottom:te,color:x,fontWeight:le},[`${ze}-inner-content`]:{color:He}})},(0,Ce.ZP)(je,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ze}-pure`]:{position:"relative",maxWidth:"none",margin:je.sizePopupArrow,display:"inline-block",[`${ze}-content`]:{display:"inline-block"}}}]},Ze=je=>{const{componentCls:ze}=je;return{[ze]:Oe.i.map(He=>{const Le=je[`${He}6`];return{[`&${ze}-${He}`]:{"--antd-arrow-background-color":Le,[`${ze}-inner`]:{backgroundColor:Le},[`${ze}-arrow`]:{background:"transparent"}}}})}},Ke=je=>{const{componentCls:ze,lineWidth:He,lineType:Le,colorSplit:le,paddingSM:E,controlHeight:a,fontSize:x,lineHeight:b,padding:z}=je,te=a-Math.round(x*b),re=te/2,ie=te/2-He,ge=z;return{[ze]:{[`${ze}-inner`]:{padding:0},[`${ze}-title`]:{margin:0,padding:`${re}px ${ge}px ${ie}px`,borderBottom:`${He}px ${Le} ${le}`},[`${ze}-inner-content`]:{padding:`${E}px ${ge}px`}}}};jt.Z=(0,we.Z)("Popover",je=>{const{colorBgElevated:ze,colorText:He,wireframe:Le}=je,le=(0,Ie.TS)(je,{popoverPadding:12,popoverBg:ze,popoverColor:He});return[se(le),Ze(le),Le&&Ke(le),(0,ue._y)(le,"zoom-big")]},je=>({width:177,minWidth:177,zIndexPopup:je.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},93948:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return an}});var y=ne(59301),ue=ne(29679),Ce=ne(40001),Oe=ne(19248),we=ne(99267),Ie=ne(92310),se=ne.n(Ie),Ze=ne(2738),Ke=ne(36355),je=ne(54476),ze=ne(33885),He=ne(75931),Le={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},le=function(){var at=(0,y.useRef)([]),Nt=(0,y.useRef)(null);return(0,y.useEffect)(function(){var ft=Date.now(),lt=!1;at.current.forEach(function(fn){if(fn){lt=!0;var En=fn.style;En.transitionDuration=".3s, .3s, .3s, .06s",Nt.current&&ft-Nt.current<100&&(En.transitionDuration="0s, 0s")}}),lt&&(Nt.current=Date.now())}),at.current},E=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(at){var Nt=(0,ze.Z)((0,ze.Z)({},Le),at),ft=Nt.className,lt=Nt.percent,fn=Nt.prefixCls,En=Nt.strokeColor,yn=Nt.strokeLinecap,Ln=Nt.strokeWidth,ea=Nt.style,Xt=Nt.trailColor,Yt=Nt.trailWidth,qt=Nt.transition,In=(0,He.Z)(Nt,E);delete In.gapPosition;var en=Array.isArray(lt)?lt:[lt],Sa=Array.isArray(En)?En:[En],Ca=le(),Un=Ln/2,dn=100-Ln/2,Aa="M ".concat(yn==="round"?Un:0,",").concat(Un,` + L `).concat(yn==="round"?dn:100,",").concat(Un),qe="0 0 100 ".concat(Ln),pn=0;return y.createElement("svg",(0,je.Z)({className:se()("".concat(fn,"-line"),ft),viewBox:qe,preserveAspectRatio:"none",style:ea},In),y.createElement("path",{className:"".concat(fn,"-line-trail"),d:Aa,strokeLinecap:yn,stroke:Xt,strokeWidth:Yt||Ln,fillOpacity:"0"}),en.map(function(Nn,sn){var zn=1;switch(yn){case"round":zn=1-Ln/100;break;case"square":zn=1-Ln/2/100;break;default:zn=1;break}var Gn={strokeDasharray:"".concat(Nn*zn,"px, 100px"),strokeDashoffset:"-".concat(pn,"px"),transition:qt||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Vn=Sa[sn]||Sa[Sa.length-1];return pn+=Nn,y.createElement("path",{key:sn,className:"".concat(fn,"-line-path"),d:Aa,strokeLinecap:yn,stroke:Vn,strokeWidth:Ln,fillOpacity:"0",ref:function(Ct){Ca[sn]=Ct},style:Gn})}))},x=a,b=ne(76190),z=ne(42978),te=ne(47273),re=0,ie=(0,te.Z)();function ge(){var Te;return ie?(Te=re,re+=1):Te="TEST_OR_SSR",Te}var fe=function(Te){var at=y.useState(),Nt=(0,z.Z)(at,2),ft=Nt[0],lt=Nt[1];return y.useEffect(function(){lt("rc_progress_".concat(ge()))},[]),Te||ft},ce=function(at){var Nt=at.bg,ft=at.children;return y.createElement("div",{style:{width:"100%",height:"100%",background:Nt}},ft)};function xe(Te,at){return Object.keys(Te).map(function(Nt){var ft=parseFloat(Nt),lt="".concat(Math.floor(ft*at),"%");return"".concat(Te[Nt]," ").concat(lt)})}var ye=y.forwardRef(function(Te,at){var Nt=Te.prefixCls,ft=Te.color,lt=Te.gradientId,fn=Te.radius,En=Te.style,yn=Te.ptg,Ln=Te.strokeLinecap,ea=Te.strokeWidth,Xt=Te.size,Yt=Te.gapDegree,qt=ft&&(0,b.Z)(ft)==="object",In=qt?"#FFF":void 0,en=Xt/2,Sa=y.createElement("circle",{className:"".concat(Nt,"-circle-path"),r:fn,cx:en,cy:en,stroke:In,strokeLinecap:Ln,strokeWidth:ea,opacity:yn===0?0:1,style:En,ref:at});if(!qt)return Sa;var Ca="".concat(lt,"-conic"),Un=Yt?"".concat(180+Yt/2,"deg"):"0deg",dn=xe(ft,(360-Yt)/360),Aa=xe(ft,1),qe="conic-gradient(from ".concat(Un,", ").concat(dn.join(", "),")"),pn="linear-gradient(to ".concat(Yt?"bottom":"top",", ").concat(Aa.join(", "),")");return y.createElement(y.Fragment,null,y.createElement("mask",{id:Ca},Sa),y.createElement("foreignObject",{x:0,y:0,width:Xt,height:Xt,mask:"url(#".concat(Ca,")")},y.createElement(ce,{bg:pn},y.createElement(ce,{bg:qe}))))}),Ne=ye,pe=100,Xe=function(at,Nt,ft,lt,fn,En,yn,Ln,ea,Xt){var Yt=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,qt=ft/100*360*((360-En)/360),In=En===0?0:{bottom:0,top:180,left:90,right:-90}[yn],en=(100-lt)/100*Nt;ea==="round"&<!==100&&(en+=Xt/2,en>=Nt&&(en=Nt-.01));var Sa=pe/2;return{stroke:typeof Ln=="string"?Ln:void 0,strokeDasharray:"".concat(Nt,"px ").concat(at),strokeDashoffset:en+Yt,transform:"rotate(".concat(fn+qt+In,"deg)"),transformOrigin:"".concat(Sa,"px ").concat(Sa,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},We=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function ut(Te){var at=Te!=null?Te:[];return Array.isArray(at)?at:[at]}var Re=function(at){var Nt=(0,ze.Z)((0,ze.Z)({},Le),at),ft=Nt.id,lt=Nt.prefixCls,fn=Nt.steps,En=Nt.strokeWidth,yn=Nt.trailWidth,Ln=Nt.gapDegree,ea=Ln===void 0?0:Ln,Xt=Nt.gapPosition,Yt=Nt.trailColor,qt=Nt.strokeLinecap,In=Nt.style,en=Nt.className,Sa=Nt.strokeColor,Ca=Nt.percent,Un=(0,He.Z)(Nt,We),dn=pe/2,Aa=fe(ft),qe="".concat(Aa,"-gradient"),pn=dn-En/2,Nn=Math.PI*2*pn,sn=ea>0?90+ea/2:-90,zn=Nn*((360-ea)/360),Gn=(0,b.Z)(fn)==="object"?fn:{count:fn,space:2},Vn=Gn.count,dt=Gn.space,Ct=ut(Ca),St=ut(Sa),mn=St.find(function(Ha){return Ha&&(0,b.Z)(Ha)==="object"}),An=mn&&(0,b.Z)(mn)==="object",un=An?"butt":qt,$n=Xe(Nn,zn,0,100,sn,ea,Xt,Yt,un,En),Kn=le(),Jn=function(){var Bn=0;return Ct.map(function(ya,Ya){var dr=St[Ya]||St[St.length-1],Wn=Xe(Nn,zn,Bn,ya,sn,ea,Xt,dr,un,En);return Bn+=ya,y.createElement(Ne,{key:Ya,color:dr,ptg:ya,radius:pn,prefixCls:lt,gradientId:qe,style:Wn,strokeLinecap:un,strokeWidth:En,gapDegree:ea,ref:function(Lr){Kn[Ya]=Lr},size:pe})}).reverse()},ma=function(){var Bn=Math.round(Vn*(Ct[0]/100)),ya=100/Vn,Ya=0;return new Array(Vn).fill(null).map(function(dr,Wn){var cn=Wn<=Bn-1?St[0]:Yt,Lr=cn&&(0,b.Z)(cn)==="object"?"url(#".concat(qe,")"):void 0,Qa=Xe(Nn,zn,Ya,ya,sn,ea,Xt,cn,"butt",En,dt);return Ya+=(zn-Qa.strokeDashoffset+dt)*100/zn,y.createElement("circle",{key:Wn,className:"".concat(lt,"-circle-path"),r:pn,cx:dn,cy:dn,stroke:Lr,strokeWidth:En,opacity:1,style:Qa,ref:function(kr){Kn[Wn]=kr}})})};return y.createElement("svg",(0,je.Z)({className:se()("".concat(lt,"-circle"),en),viewBox:"0 0 ".concat(pe," ").concat(pe),style:In,id:ft,role:"presentation"},Un),!Vn&&y.createElement("circle",{className:"".concat(lt,"-circle-trail"),r:pn,cx:dn,cy:dn,stroke:Yt,strokeLinecap:un,strokeWidth:yn||En,style:$n}),Vn?ma():Jn())},_e=Re,mt={Line:x,Circle:_e},Qe=ne(6848),ot=ne(30071);function Wt(Te){return!Te||Te<0?0:Te>100?100:Te}function ht(Te){let{success:at,successPercent:Nt}=Te,ft=Nt;return at&&"progress"in at&&(ft=at.progress),at&&"percent"in at&&(ft=at.percent),ft}const Ht=Te=>{let{percent:at,success:Nt,successPercent:ft}=Te;const lt=Wt(ht({success:Nt,successPercent:ft}));return[lt,Wt(Wt(at)-lt)]},Kt=Te=>{let{success:at={},strokeColor:Nt}=Te;const{strokeColor:ft}=at;return[ft||ot.presetPrimaryColors.green,Nt||null]},Ve=(Te,at,Nt)=>{var ft,lt,fn,En;let yn=-1,Ln=-1;if(at==="step"){const ea=Nt.steps,Xt=Nt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?(yn=Te==="small"?2:14,Ln=Xt!=null?Xt:8):typeof Te=="number"?[yn,Ln]=[Te,Te]:[yn=14,Ln=8]=Te,yn*=ea}else if(at==="line"){const ea=Nt==null?void 0:Nt.strokeWidth;typeof Te=="string"||typeof Te=="undefined"?Ln=ea||(Te==="small"?6:8):typeof Te=="number"?[yn,Ln]=[Te,Te]:[yn=-1,Ln=8]=Te}else(at==="circle"||at==="dashboard")&&(typeof Te=="string"||typeof Te=="undefined"?[yn,Ln]=Te==="small"?[60,60]:[120,120]:typeof Te=="number"?[yn,Ln]=[Te,Te]:(yn=(lt=(ft=Te[0])!==null&&ft!==void 0?ft:Te[1])!==null&<!==void 0?lt:120,Ln=(En=(fn=Te[0])!==null&&fn!==void 0?fn:Te[1])!==null&&En!==void 0?En:120));return[yn,Ln]},st=3,Rt=Te=>st/Te*100;var wt=Te=>{const{prefixCls:at,trailColor:Nt=null,strokeLinecap:ft="round",gapPosition:lt,gapDegree:fn,width:En=120,type:yn,children:Ln,success:ea,size:Xt=En}=Te,[Yt,qt]=Ve(Xt,"circle");let{strokeWidth:In}=Te;In===void 0&&(In=Math.max(Rt(Yt),6));const en={width:Yt,height:qt,fontSize:Yt*.15+6},Sa=y.useMemo(()=>{if(fn||fn===0)return fn;if(yn==="dashboard")return 75},[fn,yn]),Ca=lt||yn==="dashboard"&&"bottom"||void 0,Un=Object.prototype.toString.call(Te.strokeColor)==="[object Object]",dn=Kt({success:ea,strokeColor:Te.strokeColor}),Aa=se()(`${at}-inner`,{[`${at}-circle-gradient`]:Un}),qe=y.createElement(_e,{percent:Ht(Te),strokeWidth:In,trailWidth:In,strokeColor:dn,strokeLinecap:ft,trailColor:Nt,prefixCls:at,gapDegree:Sa,gapPosition:Ca});return y.createElement("div",{className:Aa,style:en},Yt<=20?y.createElement(Qe.Z,{title:Ln},y.createElement("span",null,qe)):y.createElement(y.Fragment,null,qe,Ln))},$t=function(Te,at){var Nt={};for(var ft in Te)Object.prototype.hasOwnProperty.call(Te,ft)&&at.indexOf(ft)<0&&(Nt[ft]=Te[ft]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,ft=Object.getOwnPropertySymbols(Te);lt{let at=[];return Object.keys(Te).forEach(Nt=>{const ft=parseFloat(Nt.replace(/%/g,""));isNaN(ft)||at.push({key:ft,value:Te[Nt]})}),at=at.sort((Nt,ft)=>Nt.key-ft.key),at.map(Nt=>{let{key:ft,value:lt}=Nt;return`${lt} ${ft}%`}).join(", ")},Jt=(Te,at)=>{const{from:Nt=ot.presetPrimaryColors.blue,to:ft=ot.presetPrimaryColors.blue,direction:lt=at==="rtl"?"to left":"to right"}=Te,fn=$t(Te,["from","to","direction"]);if(Object.keys(fn).length!==0){const En=Be(fn);return{backgroundImage:`linear-gradient(${lt}, ${En})`}}return{backgroundImage:`linear-gradient(${lt}, ${Nt}, ${ft})`}};var Ot=Te=>{const{prefixCls:at,direction:Nt,percent:ft,size:lt,strokeWidth:fn,strokeColor:En,strokeLinecap:yn="round",children:Ln,trailColor:ea=null,success:Xt}=Te,Yt=En&&typeof En!="string"?Jt(En,Nt):{backgroundColor:En},qt=yn==="square"||yn==="butt"?0:void 0,In={backgroundColor:ea||void 0,borderRadius:qt},en=lt!=null?lt:[-1,fn||(lt==="small"?6:8)],[Sa,Ca]=Ve(en,"line",{strokeWidth:fn}),Un=Object.assign({width:`${Wt(ft)}%`,height:Ca,borderRadius:qt},Yt),dn=ht(Te),Aa={width:`${Wt(dn)}%`,height:Ca,borderRadius:qt,backgroundColor:Xt==null?void 0:Xt.strokeColor},qe={width:Sa<0?"100%":Sa,height:Ca};return y.createElement(y.Fragment,null,y.createElement("div",{className:`${at}-outer`,style:qe},y.createElement("div",{className:`${at}-inner`,style:In},y.createElement("div",{className:`${at}-bg`,style:Un}),dn!==void 0?y.createElement("div",{className:`${at}-success-bg`,style:Aa}):null)),Ln)},et=Te=>{const{size:at,steps:Nt,percent:ft=0,strokeWidth:lt=8,strokeColor:fn,trailColor:En=null,prefixCls:yn,children:Ln}=Te,ea=Math.round(Nt*(ft/100)),Xt=at==="small"?2:14,Yt=at!=null?at:[Xt,lt],[qt,In]=Ve(Yt,"step",{steps:Nt,strokeWidth:lt}),en=qt/Nt,Sa=new Array(Nt);for(let Ca=0;Ca{const at=Te?"100%":"-100%";return new Ye.Keyframes(`antProgress${Te?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${at}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${at}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Fe=Te=>{const{componentCls:at,iconCls:Nt}=Te;return{[at]:Object.assign(Object.assign({},(0,De.Wf)(Te)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Te.fontSize,marginInlineEnd:Te.marginXS,marginBottom:Te.marginXS},[`${at}-outer`]:{display:"inline-block",width:"100%"},[`&${at}-show-info`]:{[`${at}-outer`]:{marginInlineEnd:`calc(-2em - ${Te.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Te.paddingXS}px)`}},[`${at}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Te.remainingColor,borderRadius:Te.lineBorderRadius},[`${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:Te.defaultColor}},[`${at}-success-bg, ${at}-bg`]:{position:"relative",backgroundColor:Te.defaultColor,borderRadius:Te.lineBorderRadius,transition:`all ${Te.motionDurationSlow} ${Te.motionEaseInOutCirc}`},[`${at}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Te.colorSuccess},[`${at}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Te.marginXS,color:Te.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Nt]:{fontSize:Te.fontSize}},[`&${at}-status-active`]:{[`${at}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Te.colorBgContainer,borderRadius:Te.lineBorderRadius,opacity:0,animationName:Lt(),animationDuration:Te.progressActiveMotionDuration,animationTimingFunction:Te.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${at}-rtl${at}-status-active`]:{[`${at}-bg::before`]:{animationName:Lt(!0)}},[`&${at}-status-exception`]:{[`${at}-bg`]:{backgroundColor:Te.colorError},[`${at}-text`]:{color:Te.colorError}},[`&${at}-status-exception ${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:Te.colorError}},[`&${at}-status-success`]:{[`${at}-bg`]:{backgroundColor:Te.colorSuccess},[`${at}-text`]:{color:Te.colorSuccess}},[`&${at}-status-success ${at}-inner:not(${at}-circle-gradient)`]:{[`${at}-circle-path`]:{stroke:Te.colorSuccess}}})}},be=Te=>{const{componentCls:at,iconCls:Nt}=Te;return{[at]:{[`${at}-circle-trail`]:{stroke:Te.remainingColor},[`&${at}-circle ${at}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${at}-circle ${at}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Te.circleTextColor,fontSize:Te.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Nt]:{fontSize:`${Te.fontSize/Te.fontSizeSM}em`}},[`${at}-circle&-status-exception`]:{[`${at}-text`]:{color:Te.colorError}},[`${at}-circle&-status-success`]:{[`${at}-text`]:{color:Te.colorSuccess}}},[`${at}-inline-circle`]:{lineHeight:1,[`${at}-inner`]:{verticalAlign:"bottom"}}}},Pt=Te=>{const{componentCls:at}=Te;return{[at]:{[`${at}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Te.progressStepMinWidth,marginInlineEnd:Te.progressStepMarginInlineEnd,backgroundColor:Te.remainingColor,transition:`all ${Te.motionDurationSlow}`,"&-active":{backgroundColor:Te.defaultColor}}}}}},Je=Te=>{const{componentCls:at,iconCls:Nt}=Te;return{[at]:{[`${at}-small&-line, ${at}-small&-line ${at}-text ${Nt}`]:{fontSize:Te.fontSizeSM}}}};var ke=(0,he.Z)("Progress",Te=>{const at=Te.marginXXS/2,Nt=(0,tt.TS)(Te,{progressStepMarginInlineEnd:at,progressStepMinWidth:at,progressActiveMotionDuration:"2.4s"});return[Fe(Nt),be(Nt),Pt(Nt),Je(Nt)]},Te=>({circleTextColor:Te.colorText,defaultColor:Te.colorInfo,remainingColor:Te.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),bt=function(Te,at){var Nt={};for(var ft in Te)Object.prototype.hasOwnProperty.call(Te,ft)&&at.indexOf(ft)<0&&(Nt[ft]=Te[ft]);if(Te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,ft=Object.getOwnPropertySymbols(Te);lt{const{prefixCls:Nt,className:ft,rootClassName:lt,steps:fn,strokeColor:En,percent:yn=0,size:Ln="default",showInfo:ea=!0,type:Xt="line",status:Yt,format:qt,style:In}=Te,en=bt(Te,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Sa=y.useMemo(()=>{var Ct,St;const mn=ht(Te);return parseInt(mn!==void 0?(Ct=mn!=null?mn:0)===null||Ct===void 0?void 0:Ct.toString():(St=yn!=null?yn:0)===null||St===void 0?void 0:St.toString(),10)},[yn,Te.success,Te.successPercent]),Ca=y.useMemo(()=>!Tt.includes(Yt)&&Sa>=100?"success":Yt||"normal",[Yt,Sa]),{getPrefixCls:Un,direction:dn,progress:Aa}=y.useContext(Ke.E_),qe=Un("progress",Nt),[pn,Nn]=ke(qe),sn=y.useMemo(()=>{if(!ea)return null;const Ct=ht(Te);let St;const mn=qt||(un=>`${un}%`),An=Xt==="line";return qt||Ca!=="exception"&&Ca!=="success"?St=mn(Wt(yn),Wt(Ct)):Ca==="exception"?St=An?y.createElement(Oe.Z,null):y.createElement(we.Z,null):Ca==="success"&&(St=An?y.createElement(ue.Z,null):y.createElement(Ce.Z,null)),y.createElement("span",{className:`${qe}-text`,title:typeof St=="string"?St:void 0},St)},[ea,yn,Sa,Ca,Xt,qe,qt]),zn=Array.isArray(En)?En[0]:En,Gn=typeof En=="string"||Array.isArray(En)?En:void 0;let Vn;Xt==="line"?Vn=fn?y.createElement(et,Object.assign({},Te,{strokeColor:Gn,prefixCls:qe,steps:fn}),sn):y.createElement(Ot,Object.assign({},Te,{strokeColor:zn,prefixCls:qe,direction:dn}),sn):(Xt==="circle"||Xt==="dashboard")&&(Vn=y.createElement(wt,Object.assign({},Te,{strokeColor:zn,prefixCls:qe,progressStatus:Ca}),sn));const dt=se()(qe,`${qe}-status-${Ca}`,`${qe}-${Xt==="dashboard"&&"circle"||fn&&"steps"||Xt}`,{[`${qe}-inline-circle`]:Xt==="circle"&&Ve(Ln,"circle")[0]<=20,[`${qe}-show-info`]:ea,[`${qe}-${Ln}`]:typeof Ln=="string",[`${qe}-rtl`]:dn==="rtl"},Aa==null?void 0:Aa.className,ft,lt,Nn);return pn(y.createElement("div",Object.assign({ref:at,style:Object.assign(Object.assign({},Aa==null?void 0:Aa.style),In),className:dt,role:"progressbar","aria-valuenow":Sa},(0,Ze.Z)(en,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Vn))}),an=tn},13570:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Wt}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Oe=Ce,we=ne(7657),Ie=function(Ht,Kt){return ue.createElement(we.Z,(0,y.Z)({},Ht,{ref:Kt,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(92310),je=ne.n(Ke),ze=ne(20068),He=ne(42978),Le=ne(75931),le=ne(18929),E=ne(10228),a=ne(26112);function x(ht,Ht){var Kt=ht.disabled,Ve=ht.prefixCls,st=ht.character,Rt=ht.characterRender,gn=ht.index,wt=ht.count,$t=ht.value,Be=ht.allowHalf,Jt=ht.focused,bn=ht.onHover,Ot=ht.onClick,Zt=function(be){bn(be,gn)},et=function(be){Ot(be,gn)},Ye=function(be){be.keyCode===E.Z.ENTER&&Ot(be,gn)},De=gn+1,he=new Set([Ve]);$t===0&&gn===0&&Jt?he.add("".concat(Ve,"-focused")):Be&&$t+.5>=De&&$tgn?"true":"false","aria-posinset":gn+1,"aria-setsize":wt,tabIndex:Kt?-1:0},ue.createElement("div",{className:"".concat(Ve,"-first")},tt),ue.createElement("div",{className:"".concat(Ve,"-second")},tt)));return Rt&&(Lt=Rt(Lt,ht)),Lt}var b=ue.forwardRef(x);function z(){var ht=ue.useRef({});function Ht(Ve){return ht.current[Ve]}function Kt(Ve){return function(st){ht.current[Ve]=st}}return[Ht,Kt]}function te(ht){var Ht=ht.pageXOffset,Kt="scrollLeft";if(typeof Ht!="number"){var Ve=ht.document;Ht=Ve.documentElement[Kt],typeof Ht!="number"&&(Ht=Ve.body[Kt])}return Ht}function re(ht){var Ht,Kt,Ve=ht.ownerDocument,st=Ve.body,Rt=Ve&&Ve.documentElement,gn=ht.getBoundingClientRect();return Ht=gn.left,Kt=gn.top,Ht-=Rt.clientLeft||st.clientLeft||0,Kt-=Rt.clientTop||st.clientTop||0,{left:Ht,top:Kt}}function ie(ht){var Ht=re(ht),Kt=ht.ownerDocument,Ve=Kt.defaultView||Kt.parentWindow;return Ht.left+=te(Ve),Ht.left}var ge=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function fe(ht,Ht){var Kt,Ve=ht.prefixCls,st=Ve===void 0?"rc-rate":Ve,Rt=ht.className,gn=ht.defaultValue,wt=ht.value,$t=ht.count,Be=$t===void 0?5:$t,Jt=ht.allowHalf,bn=Jt===void 0?!1:Jt,Ot=ht.allowClear,Zt=Ot===void 0?!0:Ot,et=ht.character,Ye=et===void 0?"\u2605":et,De=ht.characterRender,he=ht.disabled,tt=ht.direction,Lt=tt===void 0?"ltr":tt,Fe=ht.tabIndex,be=Fe===void 0?0:Fe,Pt=ht.autoFocus,Je=ht.onHoverChange,ke=ht.onChange,bt=ht.onFocus,hn=ht.onBlur,Tt=ht.onKeyDown,ln=ht.onMouseLeave,tn=(0,Le.Z)(ht,ge),an=z(),Te=(0,He.Z)(an,2),at=Te[0],Nt=Te[1],ft=ue.useRef(null),lt=function(){if(!he){var un;(un=ft.current)===null||un===void 0||un.focus()}};ue.useImperativeHandle(Ht,function(){return{focus:lt,blur:function(){if(!he){var un;(un=ft.current)===null||un===void 0||un.blur()}}}});var fn=(0,le.Z)(gn||0,{value:wt}),En=(0,He.Z)(fn,2),yn=En[0],Ln=En[1],ea=(0,le.Z)(null),Xt=(0,He.Z)(ea,2),Yt=Xt[0],qt=Xt[1],In=function(un,$n){var Kn=Lt==="rtl",Jn=un+1;if(bn){var ma=at(un),Ha=ie(ma),Bn=ma.clientWidth;(Kn&&$n-Ha>Bn/2||!Kn&&$n-Ha0&&!Kn||$n===E.Z.RIGHT&&Jn>0&&Kn?(bn?Jn-=.5:Jn-=1,en(Jn),un.preventDefault()):$n===E.Z.LEFT&&Jn{const{componentCls:Ht}=ht;return{[`${Ht}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ht.marginXS},"> div":{transition:`all ${ht.motionDurationMid}, outline 0s`,"&:hover":{transform:ht.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${ht.lineWidth}px dashed ${ht.starColor}`,transform:ht.starHoverScale}},"&-first, &-second":{color:ht.starBg,transition:`all ${ht.motionDurationMid}`,userSelect:"none",[ht.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ht}-star-first, &-half ${Ht}-star-second`]:{opacity:1},[`&-half ${Ht}-star-first, &-full ${Ht}-star-second`]:{color:"inherit"}}}},Re=ht=>({[`&-rtl${ht.componentCls}`]:{direction:"rtl"}}),_e=ht=>{const{componentCls:Ht}=ht;return{[Ht]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,pe.Wf)(ht)),{display:"inline-block",margin:0,padding:0,color:ht.starColor,fontSize:ht.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Ht} ${Ht}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),ut(ht)),{[`+ ${Ht}-text`]:{display:"inline-block",marginInlineStart:ht.marginXS,fontSize:ht.fontSize}}),Re(ht))}};var mt=(0,Xe.Z)("Rate",ht=>{const Ht=(0,We.TS)(ht,{});return[_e(Ht)]},ht=>({starColor:ht.yellow6,starSize:ht.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ht.colorFillContent})),Qe=function(ht,Ht){var Kt={};for(var Ve in ht)Object.prototype.hasOwnProperty.call(ht,Ve)&&Ht.indexOf(Ve)<0&&(Kt[Ve]=ht[Ve]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Ve=Object.getOwnPropertySymbols(ht);st{const{prefixCls:Kt,className:Ve,rootClassName:st,style:Rt,tooltips:gn,character:wt=ue.createElement(Ze,null)}=ht,$t=Qe(ht,["prefixCls","className","rootClassName","style","tooltips","character"]),Be=(he,tt)=>{let{index:Lt}=tt;return gn?ue.createElement(Ne.Z,{title:gn[Lt]},he):he},{getPrefixCls:Jt,direction:bn,rate:Ot}=ue.useContext(ye.E_),Zt=Jt("rate",Kt),[et,Ye]=mt(Zt),De=Object.assign(Object.assign({},Ot==null?void 0:Ot.style),Rt);return et(ue.createElement(xe,Object.assign({ref:Ht,character:wt,characterRender:Be},$t,{className:je()(Ve,st,Ye,Ot==null?void 0:Ot.className),style:De,prefixCls:Zt,direction:bn})))})},61621:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return Ye}});var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(36355),we=ne(2738),se=De=>{const{prefixCls:he,className:tt,style:Lt,size:Fe,shape:be}=De,Pt=ue()({[`${he}-lg`]:Fe==="large",[`${he}-sm`]:Fe==="small"}),Je=ue()({[`${he}-circle`]:be==="circle",[`${he}-square`]:be==="square",[`${he}-round`]:be==="round"}),ke=Ce.useMemo(()=>typeof Fe=="number"?{width:Fe,height:Fe,lineHeight:`${Fe}px`}:{},[Fe]);return Ce.createElement("span",{className:ue()(he,Pt,Je,tt),style:Object.assign(Object.assign({},ke),Lt)})},Ze=ne(36237),Ke=ne(83116),je=ne(37613);const ze=new Ze.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),He=De=>({height:De,lineHeight:`${De}px`}),Le=De=>Object.assign({width:De},He(De)),le=De=>({background:De.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ze,animationDuration:De.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),E=De=>Object.assign({width:De*5,minWidth:De*5},He(De)),a=De=>{const{skeletonAvatarCls:he,gradientFromColor:tt,controlHeight:Lt,controlHeightLG:Fe,controlHeightSM:be}=De;return{[`${he}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:tt},Le(Lt)),[`${he}${he}-circle`]:{borderRadius:"50%"},[`${he}${he}-lg`]:Object.assign({},Le(Fe)),[`${he}${he}-sm`]:Object.assign({},Le(be))}},x=De=>{const{controlHeight:he,borderRadiusSM:tt,skeletonInputCls:Lt,controlHeightLG:Fe,controlHeightSM:be,gradientFromColor:Pt}=De;return{[`${Lt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:tt},E(he)),[`${Lt}-lg`]:Object.assign({},E(Fe)),[`${Lt}-sm`]:Object.assign({},E(be))}},b=De=>Object.assign({width:De},He(De)),z=De=>{const{skeletonImageCls:he,imageSizeBase:tt,gradientFromColor:Lt,borderRadiusSM:Fe}=De;return{[`${he}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Lt,borderRadius:Fe},b(tt*2)),{[`${he}-path`]:{fill:"#bfbfbf"},[`${he}-svg`]:Object.assign(Object.assign({},b(tt)),{maxWidth:tt*4,maxHeight:tt*4}),[`${he}-svg${he}-svg-circle`]:{borderRadius:"50%"}}),[`${he}${he}-circle`]:{borderRadius:"50%"}}},te=(De,he,tt)=>{const{skeletonButtonCls:Lt}=De;return{[`${tt}${Lt}-circle`]:{width:he,minWidth:he,borderRadius:"50%"},[`${tt}${Lt}-round`]:{borderRadius:he}}},re=De=>Object.assign({width:De*2,minWidth:De*2},He(De)),ie=De=>{const{borderRadiusSM:he,skeletonButtonCls:tt,controlHeight:Lt,controlHeightLG:Fe,controlHeightSM:be,gradientFromColor:Pt}=De;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${tt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Pt,borderRadius:he,width:Lt*2,minWidth:Lt*2},re(Lt))},te(De,Lt,tt)),{[`${tt}-lg`]:Object.assign({},re(Fe))}),te(De,Fe,`${tt}-lg`)),{[`${tt}-sm`]:Object.assign({},re(be))}),te(De,be,`${tt}-sm`))},ge=De=>{const{componentCls:he,skeletonAvatarCls:tt,skeletonTitleCls:Lt,skeletonParagraphCls:Fe,skeletonButtonCls:be,skeletonInputCls:Pt,skeletonImageCls:Je,controlHeight:ke,controlHeightLG:bt,controlHeightSM:hn,gradientFromColor:Tt,padding:ln,marginSM:tn,borderRadius:an,titleHeight:Te,blockRadius:at,paragraphLiHeight:Nt,controlHeightXS:ft,paragraphMarginTop:lt}=De;return{[`${he}`]:{display:"table",width:"100%",[`${he}-header`]:{display:"table-cell",paddingInlineEnd:ln,verticalAlign:"top",[`${tt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Tt},Le(ke)),[`${tt}-circle`]:{borderRadius:"50%"},[`${tt}-lg`]:Object.assign({},Le(bt)),[`${tt}-sm`]:Object.assign({},Le(hn))},[`${he}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Lt}`]:{width:"100%",height:Te,background:Tt,borderRadius:at,[`+ ${Fe}`]:{marginBlockStart:hn}},[`${Fe}`]:{padding:0,"> li":{width:"100%",height:Nt,listStyle:"none",background:Tt,borderRadius:at,"+ li":{marginBlockStart:ft}}},[`${Fe}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${he}-content`]:{[`${Lt}, ${Fe} > li`]:{borderRadius:an}}},[`${he}-with-avatar ${he}-content`]:{[`${Lt}`]:{marginBlockStart:tn,[`+ ${Fe}`]:{marginBlockStart:lt}}},[`${he}${he}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},ie(De)),a(De)),x(De)),z(De)),[`${he}${he}-block`]:{width:"100%",[`${be}`]:{width:"100%"},[`${Pt}`]:{width:"100%"}},[`${he}${he}-active`]:{[` ${Lt}, - ${we} > li, - ${et}, + ${Fe} > li, + ${tt}, ${be}, ${Pt}, ${Je} - `]:Object.assign({},le(Fe))}}};var fe=(0,Ke.Z)("Skeleton",Fe=>{const{componentCls:he}=Fe,et=(0,je.TS)(Fe,{skeletonAvatarCls:`${he}-avatar`,skeletonTitleCls:`${he}-title`,skeletonParagraphCls:`${he}-paragraph`,skeletonButtonCls:`${he}-button`,skeletonInputCls:`${he}-input`,skeletonImageCls:`${he}-image`,imageSizeBase:Fe.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Fe.gradientFromColor} 25%, ${Fe.gradientToColor} 37%, ${Fe.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(et)]},Fe=>{const{colorFillContent:he,colorFill:et}=Fe,Lt=he,we=et;return{color:Lt,colorGradientEnd:we,gradientFromColor:Lt,gradientToColor:we,titleHeight:Fe.controlHeight/2,blockRadius:Fe.borderRadiusSM,paragraphMarginTop:Fe.marginLG+Fe.marginXXS,paragraphLiHeight:Fe.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),xe=Fe=>{const{prefixCls:he,className:et,rootClassName:Lt,active:we,shape:be="circle",size:Pt="default"}=Fe,{getPrefixCls:Je}=Ce.useContext(Oe.E_),Te=Je("skeleton",he),[Ct,pn]=fe(Te),Tt=(0,De.Z)(Fe,["prefixCls","className"]),on=ue()(Te,`${Te}-element`,{[`${Te}-active`]:we},et,Lt,pn);return Ct(Ce.createElement("div",{className:on},Ce.createElement(se,Object.assign({prefixCls:`${Te}-avatar`,shape:be,size:Pt},Tt))))},Ne=Fe=>{const{prefixCls:he,className:et,rootClassName:Lt,active:we,block:be=!1,size:Pt="default"}=Fe,{getPrefixCls:Je}=Ce.useContext(Oe.E_),Te=Je("skeleton",he),[Ct,pn]=fe(Te),Tt=(0,De.Z)(Fe,["prefixCls"]),on=ue()(Te,`${Te}-element`,{[`${Te}-active`]:we,[`${Te}-block`]:be},et,Lt,pn);return Ct(Ce.createElement("div",{className:on},Ce.createElement(se,Object.assign({prefixCls:`${Te}-button`,size:Pt},Tt))))};const pe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var We=Fe=>{const{prefixCls:he,className:et,rootClassName:Lt,style:we,active:be}=Fe,{getPrefixCls:Pt}=Ce.useContext(Oe.E_),Je=Pt("skeleton",he),[Te,Ct]=fe(Je),pn=ue()(Je,`${Je}-element`,{[`${Je}-active`]:be},et,Lt,Ct);return Te(Ce.createElement("div",{className:pn},Ce.createElement("div",{className:ue()(`${Je}-image`,et),style:we},Ce.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Je}-image-svg`},Ce.createElement("path",{d:pe,className:`${Je}-image-path`})))))},Re=Fe=>{const{prefixCls:he,className:et,rootClassName:Lt,active:we,block:be,size:Pt="default"}=Fe,{getPrefixCls:Je}=Ce.useContext(Oe.E_),Te=Je("skeleton",he),[Ct,pn]=fe(Te),Tt=(0,De.Z)(Fe,["prefixCls"]),on=ue()(Te,`${Te}-element`,{[`${Te}-active`]:we,[`${Te}-block`]:be},et,Lt,pn);return Ct(Ce.createElement("div",{className:on},Ce.createElement(se,Object.assign({prefixCls:`${Te}-input`,size:Pt},Tt))))},_e=ne(54476),mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Qe=mt,at=ne(7657),Ht=function(he,et){return Ce.createElement(at.Z,(0,_e.Z)({},he,{ref:et,icon:Qe}))},ht=Ce.forwardRef(Ht),zt=ht,Ve=Fe=>{const{prefixCls:he,className:et,rootClassName:Lt,style:we,active:be,children:Pt}=Fe,{getPrefixCls:Je}=Ce.useContext(Oe.E_),Te=Je("skeleton",he),[Ct,pn]=fe(Te),Tt=ue()(Te,`${Te}-element`,{[`${Te}-active`]:be},pn,et,Lt),on=Pt!=null?Pt:Ce.createElement(zt,null);return Ct(Ce.createElement("div",{className:Tt},Ce.createElement("div",{className:ue()(`${Te}-image`,et),style:we},on)))},ut=ne(94480),un=Fe=>{const he=Je=>{const{width:Te,rows:Ct=2}=Fe;if(Array.isArray(Te))return Te[Je];if(Ct-1===Je)return Te},{prefixCls:et,className:Lt,style:we,rows:be}=Fe,Pt=(0,ut.Z)(Array(be)).map((Je,Te)=>Ce.createElement("li",{key:Te,style:{width:he(Te)}}));return Ce.createElement("ul",{className:ue()(et,Lt),style:we},Pt)},en=Fe=>{let{prefixCls:he,className:et,width:Lt,style:we}=Fe;return Ce.createElement("h3",{className:ue()(he,et),style:Object.assign({width:Lt},we)})};function Be(Fe){return Fe&&typeof Fe=="object"?Fe:{}}function Jt(Fe,he){return Fe&&!he?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function yn(Fe,he){return!Fe&&he?{width:"38%"}:Fe&&he?{width:"50%"}:{}}function Nt(Fe,he){const et={};return(!Fe||!he)&&(et.width="61%"),!Fe&&he?et.rows=3:et.rows=2,et}const Ot=Fe=>{const{prefixCls:he,loading:et,className:Lt,rootClassName:we,style:be,children:Pt,avatar:Je=!1,title:Te=!0,paragraph:Ct=!0,active:pn,round:Tt}=Fe,{getPrefixCls:on,direction:an,skeleton:mn}=Ce.useContext(Oe.E_),ke=on("skeleton",he),[it,Et]=fe(ke);if(et||!("loading"in Fe)){const vt=!!Je,lt=!!Te,tn=!!Ct;let En;if(vt){const ra=Object.assign(Object.assign({prefixCls:`${ke}-avatar`},Jt(lt,tn)),Be(Je));En=Ce.createElement("div",{className:`${ke}-header`},Ce.createElement(se,Object.assign({},ra)))}let Cn;if(lt||tn){let ra;if(lt){const Yt=Object.assign(Object.assign({prefixCls:`${ke}-title`},yn(vt,tn)),Be(Te));ra=Ce.createElement(en,Object.assign({},Yt))}let Xt;if(tn){const Yt=Object.assign(Object.assign({prefixCls:`${ke}-paragraph`},Nt(vt,lt)),Be(Ct));Xt=Ce.createElement(un,Object.assign({},Yt))}Cn=Ce.createElement("div",{className:`${ke}-content`},ra,Xt)}const In=ue()(ke,{[`${ke}-with-avatar`]:vt,[`${ke}-active`]:pn,[`${ke}-rtl`]:an==="rtl",[`${ke}-round`]:Tt},mn==null?void 0:mn.className,Lt,we,Et);return it(Ce.createElement("div",{className:In,style:Object.assign(Object.assign({},mn==null?void 0:mn.style),be)},En,Cn))}return typeof Pt!="undefined"?Pt:null};Ot.Button=Ne,Ot.Avatar=xe,Ot.Input=Re,Ot.Image=We,Ot.Node=Ve;var tt=Ot,Ye=tt},31797:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return fe}});var y=ne(59301),ue=ne(56762),Ce=ne(92343),Oe=ne(92310),De=ne.n(Oe),Ie=ne(36355),se=ne(61621),Ke=ce=>{const{value:xe,formatter:ye,precision:Ne,decimalSeparator:pe,groupSeparator:Xe="",prefixCls:We}=ce;let dt;if(typeof ye=="function")dt=ye(xe);else{const Re=String(xe),_e=Re.match(/^(-?)(\d*)(\.(\d+))?$/);if(!_e||Re==="-")dt=Re;else{const mt=_e[1];let Qe=_e[2]||"0",at=_e[4]||"";Qe=Qe.replace(/\B(?=(\d{3})+(?!\d))/g,Xe),typeof Ne=="number"&&(at=at.padEnd(Ne,"0").slice(0,Ne>0?Ne:0)),at&&(at=`${pe}${at}`),dt=[y.createElement("span",{key:"int",className:`${We}-content-value-int`},mt,Qe),at&&y.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},at)]}}return y.createElement("span",{className:`${We}-content-value`},dt)},je=ne(17313),ze=ne(83116),He=ne(37613);const Le=ce=>{const{componentCls:xe,marginXXS:ye,padding:Ne,colorTextDescription:pe,titleFontSize:Xe,colorTextHeading:We,contentFontSize:dt,fontFamily:Re}=ce;return{[`${xe}`]:Object.assign(Object.assign({},(0,je.Wf)(ce)),{[`${xe}-title`]:{marginBottom:ye,color:pe,fontSize:Xe},[`${xe}-skeleton`]:{paddingTop:Ne},[`${xe}-content`]:{color:We,fontSize:dt,fontFamily:Re,[`${xe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${xe}-content-prefix, ${xe}-content-suffix`]:{display:"inline-block"},[`${xe}-content-prefix`]:{marginInlineEnd:ye},[`${xe}-content-suffix`]:{marginInlineStart:ye}}})}};var le=(0,ze.Z)("Statistic",ce=>{const xe=(0,He.TS)(ce,{});return[Le(xe)]},ce=>{const{fontSizeHeading3:xe,fontSize:ye}=ce;return{titleFontSize:ye,contentFontSize:xe}}),a=ce=>{const{prefixCls:xe,className:ye,rootClassName:Ne,style:pe,valueStyle:Xe,value:We=0,title:dt,valueRender:Re,prefix:_e,suffix:mt,loading:Qe=!1,onMouseEnter:at,onMouseLeave:Ht,decimalSeparator:ht=".",groupSeparator:zt=","}=ce,{getPrefixCls:Kt,direction:Ve,statistic:ut}=y.useContext(Ie.E_),Mt=Kt("statistic",xe),[un,Dt]=le(Mt),en=y.createElement(Ke,Object.assign({decimalSeparator:ht,groupSeparator:zt,prefixCls:Mt},ce,{value:We})),Be=De()(Mt,{[`${Mt}-rtl`]:Ve==="rtl"},ut==null?void 0:ut.className,ye,Ne,Dt);return un(y.createElement("div",{className:Be,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),pe),onMouseEnter:at,onMouseLeave:Ht},dt&&y.createElement("div",{className:`${Mt}-title`},dt),y.createElement(se.Z,{paragraph:!1,loading:Qe,className:`${Mt}-skeleton`},y.createElement("div",{style:Xe,className:`${Mt}-content`},_e&&y.createElement("span",{className:`${Mt}-content-prefix`},_e),Re?Re(en):en,mt&&y.createElement("span",{className:`${Mt}-content-suffix`},mt)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(ce,xe){let ye=ce;const Ne=/\[[^\]]*]/g,pe=(xe.match(Ne)||[]).map(Re=>Re.slice(1,-1)),Xe=xe.replace(Ne,"[]"),We=x.reduce((Re,_e)=>{let[mt,Qe]=_e;if(Re.includes(mt)){const at=Math.floor(ye/Qe);return ye-=at*Qe,Re.replace(new RegExp(`${mt}+`,"g"),Ht=>{const ht=Ht.length;return at.toString().padStart(ht,"0")})}return Re},Xe);let dt=0;return We.replace(Ne,()=>{const Re=pe[dt];return dt+=1,Re})}function z(ce,xe){const{format:ye=""}=xe,Ne=new Date(ce).getTime(),pe=Date.now(),Xe=Math.max(Ne-pe,0);return b(Xe,ye)}const te=1e3/30;function re(ce){return new Date(ce).getTime()}const ie=ce=>{const{value:xe,format:ye="HH:mm:ss",onChange:Ne,onFinish:pe}=ce,Xe=(0,ue.Z)(),We=y.useRef(null),dt=()=>{pe==null||pe(),We.current&&(clearInterval(We.current),We.current=null)},Re=()=>{const Qe=re(xe);Qe>=Date.now()&&(We.current=setInterval(()=>{Xe(),Ne==null||Ne(Qe-Date.now()),Qe(Re(),()=>{We.current&&(clearInterval(We.current),We.current=null)}),[xe]);const _e=(Qe,at)=>z(Qe,Object.assign(Object.assign({},at),{format:ye})),mt=Qe=>(0,Ce.Tm)(Qe,{title:void 0});return y.createElement(a,Object.assign({},ce,{valueRender:mt,formatter:_e}))};var ge=y.memo(ie);a.Countdown=ge;var fe=a},15969:function(Bt,Zt,ne){"use strict";ne.d(Zt,{N:function(){return y}});const y=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},1710:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return Ia}});var y={},ue="rc-table-internal-hook",Ce=ne(42978),Oe=ne(6089),De=ne(34280),Ie=ne(13697),se=ne(59301),Ze=ne(4676);function Ke(me){var ve=se.createContext(void 0),Pe=function($e){var nt=$e.value,xt=$e.children,jt=se.useRef(nt);jt.current=nt;var wt=se.useState(function(){return{getValue:function(){return jt.current},listeners:new Set}}),rn=(0,Ce.Z)(wt,1),xn=rn[0];return(0,De.Z)(function(){(0,Ze.unstable_batchedUpdates)(function(){xn.listeners.forEach(function(It){It(nt)})})},[nt]),se.createElement(ve.Provider,{value:xn},xt)};return{Context:ve,Provider:Pe,defaultValue:me}}function je(me,ve){var Pe=(0,Oe.Z)(typeof ve=="function"?ve:function(It){if(ve===void 0)return It;if(!Array.isArray(ve))return It[ve];var Rn={};return ve.forEach(function(Mn){Rn[Mn]=It[Mn]}),Rn}),Ue=se.useContext(me==null?void 0:me.Context),$e=Ue||{},nt=$e.listeners,xt=$e.getValue,jt=se.useRef();jt.current=Pe(Ue?xt():me==null?void 0:me.defaultValue);var wt=se.useState({}),rn=(0,Ce.Z)(wt,2),xn=rn[1];return(0,De.Z)(function(){if(!Ue)return;function It(Rn){var Mn=Pe(Rn);(0,Ie.Z)(jt.current,Mn,!0)||xn({})}return nt.add(It),function(){nt.delete(It)}},[Ue]),jt.current}var ze=ne(54476),He=ne(8654);function Le(){var me=se.createContext(null);function ve(){return se.useContext(me)}function Pe($e,nt){var xt=(0,He.Yr)($e),jt=function(rn,xn){var It=xt?{ref:xn}:{},Rn=se.useRef(0),Mn=se.useRef(rn),On=ve();return On!==null?se.createElement($e,(0,ze.Z)({},rn,It)):((!nt||nt(Mn.current,rn))&&(Rn.current+=1),Mn.current=rn,se.createElement(me.Provider,{value:Rn.current},se.createElement($e,(0,ze.Z)({},rn,It))))};return xt?se.forwardRef(jt):jt}function Ue($e,nt){var xt=(0,He.Yr)($e),jt=function(rn,xn){var It=xt?{ref:xn}:{};return ve(),se.createElement($e,(0,ze.Z)({},rn,It))};return xt?se.memo(se.forwardRef(jt),nt):se.memo(jt,nt)}return{makeImmutable:Pe,responseImmutable:Ue,useImmutableMark:ve}}var le=Le(),E=le.makeImmutable,a=le.responseImmutable,x=le.useImmutableMark,b=Le(),z=b.makeImmutable,te=b.responseImmutable,re=b.useImmutableMark,ie=Ke(),ge=ie;function fe(me,ve){var Pe=se.useRef(0);Pe.current+=1;var Ue=se.useRef(me),$e=[];Object.keys(me||{}).map(function(xt){var jt;(me==null?void 0:me[xt])!==((jt=Ue.current)===null||jt===void 0?void 0:jt[xt])&&$e.push(xt)}),Ue.current=me;var nt=se.useRef([]);return $e.length&&(nt.current=$e),se.useDebugValue(Pe.current),se.useDebugValue(nt.current.join(", ")),ve&&console.log("".concat(ve,":"),Pe.current,nt.current),Pe.current}var ce=null,xe=se.memo(function(){var me=fe();return se.createElement("h1",null,"Render Times: ",me)});xe.displayName="RenderBlock";var ye=ne(76190),Ne=ne(33885),pe=ne(20068),Xe=ne(92310),We=ne.n(Xe),dt=ne(80547),Re=ne(97938),_e=ne(48736),mt=se.createContext({renderWithProps:!1}),Qe=mt,at="RC_TABLE_KEY";function Ht(me){return me==null?[]:Array.isArray(me)?me:[me]}function ht(me){var ve=[],Pe={};return me.forEach(function(Ue){for(var $e=Ue||{},nt=$e.key,xt=$e.dataIndex,jt=nt||Ht(xt).join("-")||at;Pe[jt];)jt="".concat(jt,"_next");Pe[jt]=!0,ve.push(jt)}),ve}function zt(me){return me!=null}function Kt(me){return me&&(0,ye.Z)(me)==="object"&&!Array.isArray(me)&&!se.isValidElement(me)}function Ve(me,ve,Pe,Ue,$e,nt){var xt=se.useContext(Qe),jt=re(),wt=(0,dt.Z)(function(){if(zt(Ue))return[Ue];var rn=ve==null||ve===""?[]:Array.isArray(ve)?ve:[ve],xn=(0,Re.Z)(me,rn),It=xn,Rn=void 0;if($e){var Mn=$e(xn,me,Pe);Kt(Mn)?(It=Mn.children,Rn=Mn.props,xt.renderWithProps=!0):It=Mn}return[It,Rn]},[jt,me,Ue,ve,$e,Pe],function(rn,xn){if(nt){var It=(0,Ce.Z)(rn,2),Rn=It[1],Mn=(0,Ce.Z)(xn,2),On=Mn[1];return nt(On,Rn)}return xt.renderWithProps?!0:!(0,Ie.Z)(rn,xn,!0)});return wt}function ut(me,ve,Pe,Ue){var $e=me+ve-1;return me<=Ue&&$e>=Pe}function Mt(me,ve){return je(ge,function(Pe){var Ue=ut(me,ve||1,Pe.hoverStartRow,Pe.hoverEndRow);return[Ue,Pe.onHover]})}var un=function(ve){var Pe=ve.ellipsis,Ue=ve.rowType,$e=ve.children,nt,xt=Pe===!0?{showTitle:!0}:Pe;return xt&&(xt.showTitle||Ue==="header")&&(typeof $e=="string"||typeof $e=="number"?nt=$e.toString():se.isValidElement($e)&&typeof $e.props.children=="string"&&(nt=$e.props.children)),nt};function Dt(me){var ve,Pe,Ue,$e,nt,xt,jt,wt,rn=me.component,xn=me.children,It=me.ellipsis,Rn=me.scope,Mn=me.prefixCls,On=me.className,ma=me.align,ua=me.record,va=me.render,la=me.dataIndex,La=me.renderIndex,lr=me.shouldCellUpdate,mr=me.index,Ya=me.rowType,Fr=me.colSpan,jr=me.rowSpan,ja=me.fixLeft,Xa=me.fixRight,Ha=me.firstFixLeft,Na=me.lastFixLeft,Va=me.firstFixRight,xr=me.lastFixRight,Jr=me.appendNode,Or=me.additionalProps,Sr=Or===void 0?{}:Or,Xr=me.isSticky,ao="".concat(Mn,"-cell"),Jo=je(ge,["supportSticky","allColumnsFixedLeft"]),Ao=Jo.supportSticky,ui=Jo.allColumnsFixedLeft,Uo=Ve(ua,la,La,xn,va,lr),zr=(0,Ce.Z)(Uo,2),vi=zr[0],yo=zr[1],ai={},$o=typeof ja=="number"&&Ao,Ki=typeof Xa=="number"&&Ao;$o&&(ai.position="sticky",ai.left=ja),Ki&&(ai.position="sticky",ai.right=Xa);var yr=(ve=(Pe=(Ue=yo==null?void 0:yo.colSpan)!==null&&Ue!==void 0?Ue:Sr.colSpan)!==null&&Pe!==void 0?Pe:Fr)!==null&&ve!==void 0?ve:1,Er=($e=(nt=(xt=yo==null?void 0:yo.rowSpan)!==null&&xt!==void 0?xt:Sr.rowSpan)!==null&&nt!==void 0?nt:jr)!==null&&$e!==void 0?$e:1,vr=Mt(mr,Er),or=(0,Ce.Z)(vr,2),Fo=or[0],rr=or[1],Mr=function(bi){var Vi;ua&&rr(mr,mr+Er-1),Sr==null||(Vi=Sr.onMouseEnter)===null||Vi===void 0||Vi.call(Sr,bi)},vo=function(bi){var Vi;ua&&rr(-1,-1),Sr==null||(Vi=Sr.onMouseLeave)===null||Vi===void 0||Vi.call(Sr,bi)};if(yr===0||Er===0)return null;var uo=(jt=Sr.title)!==null&&jt!==void 0?jt:un({rowType:Ya,ellipsis:It,children:vi}),Ii=We()(ao,On,(wt={},(0,pe.Z)(wt,"".concat(ao,"-fix-left"),$o&&Ao),(0,pe.Z)(wt,"".concat(ao,"-fix-left-first"),Ha&&Ao),(0,pe.Z)(wt,"".concat(ao,"-fix-left-last"),Na&&Ao),(0,pe.Z)(wt,"".concat(ao,"-fix-left-all"),Na&&ui&&Ao),(0,pe.Z)(wt,"".concat(ao,"-fix-right"),Ki&&Ao),(0,pe.Z)(wt,"".concat(ao,"-fix-right-first"),Va&&Ao),(0,pe.Z)(wt,"".concat(ao,"-fix-right-last"),xr&&Ao),(0,pe.Z)(wt,"".concat(ao,"-ellipsis"),It),(0,pe.Z)(wt,"".concat(ao,"-with-append"),Jr),(0,pe.Z)(wt,"".concat(ao,"-fix-sticky"),($o||Ki)&&Xr&&Ao),(0,pe.Z)(wt,"".concat(ao,"-row-hover"),!yo&&Fo),wt),Sr.className,yo==null?void 0:yo.className),Li={};ma&&(Li.textAlign=ma);var ll=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},ai),Sr.style),Li),yo==null?void 0:yo.style),yi=vi;return(0,ye.Z)(yi)==="object"&&!Array.isArray(yi)&&!se.isValidElement(yi)&&(yi=null),It&&(Na||Va)&&(yi=se.createElement("span",{className:"".concat(ao,"-content")},yi)),se.createElement(rn,(0,ze.Z)({},yo,Sr,{className:Ii,style:ll,title:uo,scope:Rn,onMouseEnter:Mr,onMouseLeave:vo,colSpan:yr!==1?yr:null,rowSpan:Er!==1?Er:null}),Jr,yi)}var en=se.memo(Dt);function Be(me,ve,Pe,Ue,$e,nt){var xt=Pe[me]||{},jt=Pe[ve]||{},wt,rn;xt.fixed==="left"?wt=Ue.left[$e==="rtl"?ve:me]:jt.fixed==="right"&&(rn=Ue.right[$e==="rtl"?me:ve]);var xn=!1,It=!1,Rn=!1,Mn=!1,On=Pe[ve+1],ma=Pe[me-1],ua=!(nt!=null&&nt.children);if($e==="rtl"){if(wt!==void 0){var va=ma&&ma.fixed==="left";Mn=!va&&ua}else if(rn!==void 0){var la=On&&On.fixed==="right";Rn=!la&&ua}}else if(wt!==void 0){var La=On&&On.fixed==="left";xn=!La&&ua}else if(rn!==void 0){var lr=ma&&ma.fixed==="right";It=!lr&&ua}return{fixLeft:wt,fixRight:rn,lastFixLeft:xn,firstFixRight:It,lastFixRight:Rn,firstFixLeft:Mn,isSticky:Ue.isSticky}}var Jt=se.createContext({}),yn=Jt;function Nt(me){var ve=me.className,Pe=me.index,Ue=me.children,$e=me.colSpan,nt=$e===void 0?1:$e,xt=me.rowSpan,jt=me.align,wt=je(ge,["prefixCls","direction"]),rn=wt.prefixCls,xn=wt.direction,It=se.useContext(yn),Rn=It.scrollColumnIndex,Mn=It.stickyOffsets,On=It.flattenColumns,ma=It.columns,ua=Pe+nt-1,va=ua+1===Rn?nt+1:nt,la=Be(Pe,Pe+va-1,On,Mn,xn,ma==null?void 0:ma[Pe]);return se.createElement(en,(0,ze.Z)({className:ve,index:Pe,component:"td",prefixCls:rn,record:null,dataIndex:null,align:jt,colSpan:va,rowSpan:xt,render:function(){return Ue}},la))}var Ot=ne(75931),tt=["children"];function Ye(me){var ve=me.children,Pe=(0,Ot.Z)(me,tt);return se.createElement("tr",Pe,ve)}function Fe(me){var ve=me.children;return ve}Fe.Row=Ye,Fe.Cell=Nt;var he=Fe;function et(me){var ve=me.children,Pe=me.stickyOffsets,Ue=me.flattenColumns,$e=me.columns,nt=je(ge,"prefixCls"),xt=Ue.length-1,jt=Ue[xt],wt=se.useMemo(function(){return{stickyOffsets:Pe,flattenColumns:Ue,scrollColumnIndex:jt!=null&&jt.scrollbar?xt:null,columns:$e}},[jt,Ue,xt,Pe,$e]);return se.createElement(yn.Provider,{value:wt},se.createElement("tfoot",{className:"".concat(nt,"-summary")},ve))}var Lt=te(et),we=he,be=ne(70425),Pt=ne(29301),Je=ne(29194),Te=ne(3465),Ct=ne(75152),pn=ne(26112);function Tt(me,ve,Pe,Ue,$e,nt,xt){me.push({record:ve,indent:Pe,index:xt});var jt=nt(ve),wt=$e==null?void 0:$e.has(jt);if(ve&&Array.isArray(ve[Ue])&&wt)for(var rn=0;rn1?Ha-1:0),Va=1;Va=0;jt-=1){var wt=ve[jt],rn=Pe&&Pe[jt],xn=rn&&rn[ra];if(wt||xn||xt){var It=xn||{},Rn=It.columnType,Mn=(0,Ot.Z)(It,Yt);$e.unshift(se.createElement("col",(0,ze.Z)({key:jt,style:{width:wt}},Mn))),xt=!0}}return se.createElement("colgroup",null,$e)}var Ln=qt,$t=ne(94480),ha=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ba(me,ve){return(0,se.useMemo)(function(){for(var Pe=[],Ue=0;Ue1?"colgroup":"col":null,ellipsis:ua.ellipsis,align:ua.align,component:ua.title?nt:xt,prefixCls:xn,key:Mn[ma]},va,{additionalProps:la,rowType:"header"}))}))}Ba.displayName="HeaderRow";var qe=Ba;function cn(me){var ve=[];function Pe(xt,jt){var wt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ve[wt]=ve[wt]||[];var rn=jt,xn=xt.filter(Boolean).map(function(It){var Rn={key:It.key,className:It.className||"",children:It.title,column:It,colStart:rn},Mn=1,On=It.children;return On&&On.length>0&&(Mn=Pe(On,rn,wt+1).reduce(function(ma,ua){return ma+ua},0),Rn.hasSubColumns=!0),"colSpan"in It&&(Mn=It.colSpan),"rowSpan"in It&&(Rn.rowSpan=It.rowSpan),Rn.colSpan=Mn,Rn.colEnd=Rn.colStart+Mn-1,ve[wt].push(Rn),rn+=Mn,Mn});return xn}Pe(me,0);for(var Ue=ve.length,$e=function(jt){ve[jt].forEach(function(wt){!("rowSpan"in wt)&&!wt.hasSubColumns&&(wt.rowSpan=Ue-jt)})},nt=0;nt1&&arguments[1]!==void 0?arguments[1]:"";return typeof ve=="number"?ve:ve.endsWith("%")?me*parseFloat(ve)/100:null}function Kn(me,ve){return se.useMemo(function(){if(ve&&ve>0){var Pe=0,Ue=0;me.forEach(function(rn){var xn=zn(ve,rn.width);xn?Pe+=xn:Ue+=1});var $e=ve-Pe,nt=Ue,xt=$e/Ue,jt=0,wt=me.map(function(rn){var xn=(0,Ne.Z)({},rn),It=zn(ve,xn.width);if(It)xn.width=It;else{var Rn=Math.floor(xt);xn.width=nt===1?$e:Rn,$e-=Rn,nt-=1}return jt+=xn.width,xn});return[wt,jt]}return[me,ve]},[me,ve])}var ct=["children"],At=["fixed"];function St(me){return(0,wn.Z)(me).filter(function(ve){return se.isValidElement(ve)}).map(function(ve){var Pe=ve.key,Ue=ve.props,$e=Ue.children,nt=(0,Ot.Z)(Ue,ct),xt=(0,Ne.Z)({key:Pe},nt);return $e&&(xt.children=St($e)),xt})}function dn(me){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return me.filter(function(Pe){return Pe&&(0,ye.Z)(Pe)==="object"}).reduce(function(Pe,Ue,$e){var nt=Ue.fixed,xt=nt===!0?"left":nt,jt="".concat(ve,"-").concat($e),wt=Ue.children;return wt&&wt.length>0?[].concat((0,$t.Z)(Pe),(0,$t.Z)(dn(wt,jt).map(function(rn){return(0,Ne.Z)({fixed:xt},rn)}))):[].concat((0,$t.Z)(Pe),[(0,Ne.Z)((0,Ne.Z)({key:jt},Ue),{},{fixed:xt})])},[])}function An(me){for(var ve=!0,Pe=0;Pe=0;nt-=1){var xt=me[nt];if($e&&xt.fixed!=="right")$e=!1;else if(!$e&&xt.fixed==="right"){warning(!1,"Index ".concat(nt+1," of `columns` missing `fixed='right'` prop."));break}}}function vn(me){return me.map(function(ve){var Pe=ve.fixed,Ue=(0,Ot.Z)(ve,At),$e=Pe;return Pe==="left"?$e="right":Pe==="right"&&($e="left"),(0,Ne.Z)({fixed:$e},Ue)})}function $n(me,ve){var Pe=me.prefixCls,Ue=me.columns,$e=me.children,nt=me.expandable,xt=me.expandedKeys,jt=me.columnTitle,wt=me.getRowKey,rn=me.onTriggerExpand,xn=me.expandIcon,It=me.rowExpandable,Rn=me.expandIconColumnIndex,Mn=me.direction,On=me.expandRowByClick,ma=me.columnWidth,ua=me.fixed,va=me.scrollWidth,la=se.useMemo(function(){return Ue||St($e)},[Ue,$e]),La=se.useMemo(function(){if(nt){var Xa,Ha=la.slice();if(!Ha.includes(y)){var Na=Rn||0;Na>=0&&Ha.splice(Na,0,y)}var Va=Ha.indexOf(y);Ha=Ha.filter(function(Sr,Xr){return Sr!==y||Xr===Va});var xr=la[Va],Jr;(ua==="left"||ua)&&!Rn?Jr="left":(ua==="right"||ua)&&Rn===la.length?Jr="right":Jr=xr?xr.fixed:null;var Or=(Xa={},(0,pe.Z)(Xa,ra,{className:"".concat(Pe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,pe.Z)(Xa,"title",jt),(0,pe.Z)(Xa,"fixed",Jr),(0,pe.Z)(Xa,"className","".concat(Pe,"-row-expand-icon-cell")),(0,pe.Z)(Xa,"width",ma),(0,pe.Z)(Xa,"render",function(Xr,ao,Jo){var Ao=wt(ao,Jo),ui=xt.has(Ao),Uo=It?It(ao):!0,zr=xn({prefixCls:Pe,expanded:ui,expandable:Uo,record:ao,onExpand:rn});return On?se.createElement("span",{onClick:function(yo){return yo.stopPropagation()}},zr):zr}),Xa);return Ha.map(function(Sr){return Sr===y?Or:Sr})}return la.filter(function(Sr){return Sr!==y})},[nt,la,wt,xt,xn,Mn]),lr=se.useMemo(function(){var Xa=La;return ve&&(Xa=ve(Xa)),Xa.length||(Xa=[{render:function(){return null}}]),Xa},[ve,La,Mn]),mr=se.useMemo(function(){return Mn==="rtl"?vn(dn(lr)):dn(lr)},[lr,Mn,va]),Ya=Kn(mr,va),Fr=(0,Ce.Z)(Ya,2),jr=Fr[0],ja=Fr[1];return[lr,jr,ja]}var Tn=$n;function _n(me){var ve,Pe=me.prefixCls,Ue=me.record,$e=me.onExpand,nt=me.expanded,xt=me.expandable,jt="".concat(Pe,"-row-expand-icon");if(!xt)return se.createElement("span",{className:We()(jt,"".concat(Pe,"-row-spaced"))});var wt=function(xn){$e(Ue,xn),xn.stopPropagation()};return se.createElement("span",{className:We()(jt,(ve={},(0,pe.Z)(ve,"".concat(Pe,"-row-expanded"),nt),(0,pe.Z)(ve,"".concat(Pe,"-row-collapsed"),!nt),ve)),onClick:wt})}function Pa(me,ve,Pe){var Ue=[];function $e(nt){(nt||[]).forEach(function(xt,jt){Ue.push(ve(xt,jt)),$e(xt[Pe])})}return $e(me),Ue}function za(me,ve,Pe){var Ue=Xt(me),$e=Ue.expandIcon,nt=Ue.expandedRowKeys,xt=Ue.defaultExpandedRowKeys,jt=Ue.defaultExpandAllRows,wt=Ue.expandedRowRender,rn=Ue.onExpand,xn=Ue.onExpandedRowsChange,It=Ue.childrenColumnName,Rn=$e||_n,Mn=It||"children",On=se.useMemo(function(){return wt?"row":me.expandable&&me.internalHooks===ue&&me.expandable.__PARENT_RENDER_ICON__||ve.some(function(mr){return mr&&(0,ye.Z)(mr)==="object"&&mr[Mn]})?"nest":!1},[!!wt,ve]),ma=se.useState(function(){return xt||(jt?Pa(ve,Pe,Mn):[])}),ua=(0,Ce.Z)(ma,2),va=ua[0],la=ua[1],La=se.useMemo(function(){return new Set(nt||va||[])},[nt,va]),lr=se.useCallback(function(mr){var Ya=Pe(mr,ve.indexOf(mr)),Fr,jr=La.has(Ya);jr?(La.delete(Ya),Fr=(0,$t.Z)(La)):Fr=[].concat((0,$t.Z)(La),[Ya]),la(Fr),rn&&rn(!jr,mr),xn&&xn(Fr)},[Pe,La,ve,rn,xn]);return[Ue,On,La,Rn,Mn,lr]}function Bn(me,ve,Pe,Ue){var $e=me.map(function(nt,xt){return Be(xt,xt,me,ve,Pe,Ue==null?void 0:Ue[xt])});return(0,dt.Z)(function(){return $e},[$e],function(nt,xt){return!(0,Ie.Z)(nt,xt)})}function Sa(me){var ve=(0,se.useRef)(me),Pe=(0,se.useState)({}),Ue=(0,Ce.Z)(Pe,2),$e=Ue[1],nt=(0,se.useRef)(null),xt=(0,se.useRef)([]);function jt(wt){xt.current.push(wt);var rn=Promise.resolve();nt.current=rn,rn.then(function(){if(nt.current===rn){var xn=xt.current,It=ve.current;xt.current=[],xn.forEach(function(Rn){ve.current=Rn(ve.current)}),nt.current=null,It!==ve.current&&$e({})}})}return(0,se.useEffect)(function(){return function(){nt.current=null}},[]),[ve.current,jt]}function qa(me){var ve=(0,se.useRef)(me||null),Pe=(0,se.useRef)();function Ue(){window.clearTimeout(Pe.current)}function $e(xt){ve.current=xt,Ue(),Pe.current=window.setTimeout(function(){ve.current=null,Pe.current=void 0},100)}function nt(){return ve.current}return(0,se.useEffect)(function(){return Ue},[]),[$e,nt]}function cr(){var me=se.useState(-1),ve=(0,Ce.Z)(me,2),Pe=ve[0],Ue=ve[1],$e=se.useState(-1),nt=(0,Ce.Z)($e,2),xt=nt[0],jt=nt[1],wt=se.useCallback(function(rn,xn){Ue(rn),jt(xn)},[]);return[Pe,xt,wt]}var Gn=ne(47273),sn=(0,Gn.Z)()?window:null;function Ir(me,ve){var Pe=(0,ye.Z)(me)==="object"?me:{},Ue=Pe.offsetHeader,$e=Ue===void 0?0:Ue,nt=Pe.offsetSummary,xt=nt===void 0?0:nt,jt=Pe.offsetScroll,wt=jt===void 0?0:jt,rn=Pe.getContainer,xn=rn===void 0?function(){return sn}:rn,It=xn()||sn;return se.useMemo(function(){var Rn=!!me;return{isSticky:Rn,stickyClassName:Rn?"".concat(ve,"-sticky-holder"):"",offsetHeader:$e,offsetSummary:xt,offsetScroll:wt,container:It}},[wt,$e,xt,ve,It])}function _a(me,ve,Pe){var Ue=(0,se.useMemo)(function(){for(var $e=[],nt=[],xt=0,jt=0,wt=0;wt=It&&(Sr=It-Rn),xt({scrollLeft:Sr/It*(xn+2)}),la.current.x=Va.pageX},Xa=function(){if(nt.current){var Va=(0,Oo.os)(nt.current).top,xr=Va+nt.current.offsetHeight,Jr=wt===window?document.documentElement.scrollTop+window.innerHeight:(0,Oo.os)(wt).top+wt.clientHeight;xr-(0,Ct.Z)()<=Jr||Va>=Jr-jt?va(function(Or){return(0,Ne.Z)((0,Ne.Z)({},Or),{},{isHiddenScrollBar:!0})}):va(function(Or){return(0,Ne.Z)((0,Ne.Z)({},Or),{},{isHiddenScrollBar:!1})})}},Ha=function(Va){va(function(xr){return(0,Ne.Z)((0,Ne.Z)({},xr),{},{scrollLeft:Va/xn*It||0})})};return se.useImperativeHandle(Pe,function(){return{setScrollLeft:Ha}}),se.useEffect(function(){var Na=(0,Hr.Z)(document.body,"mouseup",Fr,!1),Va=(0,Hr.Z)(document.body,"mousemove",ja,!1);return Xa(),function(){Na.remove(),Va.remove()}},[Rn,mr]),se.useEffect(function(){var Na=(0,Hr.Z)(wt,"scroll",Xa,!1),Va=(0,Hr.Z)(window,"resize",Xa,!1);return function(){Na.remove(),Va.remove()}},[wt]),se.useEffect(function(){ua.isHiddenScrollBar||va(function(Na){var Va=nt.current;return Va?(0,Ne.Z)((0,Ne.Z)({},Na),{},{scrollLeft:Va.scrollLeft/Va.scrollWidth*Va.clientWidth}):Na})},[ua.isHiddenScrollBar]),xn<=It||!Rn||ua.isHiddenScrollBar?null:se.createElement("div",{style:{height:(0,Ct.Z)(),width:It,bottom:jt},className:"".concat(rn,"-sticky-scroll")},se.createElement("div",{onMouseDown:jr,ref:Mn,className:We()("".concat(rn,"-sticky-scroll-bar"),(0,pe.Z)({},"".concat(rn,"-sticky-scroll-bar-active"),mr)),style:{width:"".concat(Rn,"px"),transform:"translate3d(".concat(ua.scrollLeft,"px, 0, 0)")}}))},Qo=se.forwardRef(ho);function kn(me){return null}var Vr=kn;function Ur(me){return null}var Wr=Ur,Ja="rc-table",na=[],ka={};function $a(){return"No Data"}function Ca(me){var ve,Pe=(0,Ne.Z)({rowKey:"key",prefixCls:Ja,emptyText:$a},me),Ue=Pe.prefixCls,$e=Pe.className,nt=Pe.rowClassName,xt=Pe.style,jt=Pe.data,wt=Pe.rowKey,rn=Pe.scroll,xn=Pe.tableLayout,It=Pe.direction,Rn=Pe.title,Mn=Pe.footer,On=Pe.summary,ma=Pe.caption,ua=Pe.id,va=Pe.showHeader,la=Pe.components,La=Pe.emptyText,lr=Pe.onRow,mr=Pe.onHeaderRow,Ya=Pe.internalHooks,Fr=Pe.transformColumns,jr=Pe.internalRefs,ja=Pe.tailor,Xa=Pe.sticky,Ha=jt||na,Na=!!Ha.length,Va=Ya===ue,xr=se.useCallback(function(Co,oi){return(0,Re.Z)(la,Co)||oi},[la]),Jr=se.useMemo(function(){return typeof wt=="function"?wt:function(Co){var oi=Co&&Co[wt];return oi}},[wt]),Or=xr(["body"]),Sr=cr(),Xr=(0,Ce.Z)(Sr,3),ao=Xr[0],Jo=Xr[1],Ao=Xr[2],ui=za(Pe,Ha,Jr),Uo=(0,Ce.Z)(ui,6),zr=Uo[0],vi=Uo[1],yo=Uo[2],ai=Uo[3],$o=Uo[4],Ki=Uo[5],yr=rn==null?void 0:rn.x,Er=se.useState(0),vr=(0,Ce.Z)(Er,2),or=vr[0],Fo=vr[1],rr=Tn((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},Pe),zr),{},{expandable:!!zr.expandedRowRender,columnTitle:zr.columnTitle,expandedKeys:yo,getRowKey:Jr,onTriggerExpand:Ki,expandIcon:ai,expandIconColumnIndex:zr.expandIconColumnIndex,direction:It,scrollWidth:Va&&ja&&typeof yr=="number"?yr:null}),Va?Fr:null),Mr=(0,Ce.Z)(rr,3),vo=Mr[0],uo=Mr[1],Ii=Mr[2],Li=Ii!=null?Ii:yr,ll=se.useMemo(function(){return{columns:vo,flattenColumns:uo}},[vo,uo]),yi=se.useRef(),dl=se.useRef(),bi=se.useRef(),Vi=se.useRef(),kl=se.useRef(),ko=se.useState(!1),zo=(0,Ce.Z)(ko,2),Xo=zo[0],li=zo[1],hi=se.useState(!1),ro=(0,Ce.Z)(hi,2),ki=ro[0],Zi=ro[1],Mi=Sa(new Map),Sl=(0,Ce.Z)(Mi,2),ml=Sl[0],ji=Sl[1],fl=ht(uo),sl=fl.map(function(Co){return ml.get(Co)}),Xi=se.useMemo(function(){return sl},[sl.join("_")]),zi=Rr(Xi,uo.length,It),di=rn&&zt(rn.y),ri=rn&&zt(Li)||!!zr.fixed,El=ri&&uo.some(function(Co){var oi=Co.fixed;return oi}),Zl=se.useRef(),Bl=Ir(Xa,Ue),cl=Bl.isSticky,Fl=Bl.offsetHeader,fs=Bl.offsetSummary,bo=Bl.offsetScroll,ei=Bl.stickyClassName,Ni=Bl.container,si=se.useMemo(function(){return On==null?void 0:On(Ha)},[On,Ha]),Hi=(di||cl)&&se.isValidElement(si)&&si.type===he&&si.props.fixed,Gi,qi,bl;di&&(qi={overflowY:"scroll",maxHeight:rn.y}),ri&&(Gi={overflowX:"auto"},di||(qi={overflowY:"hidden"}),bl={width:Li===!0?"auto":Li,minWidth:"100%"});var _l=se.useCallback(function(Co,oi){(0,Je.Z)(yi.current)&&ji(function(gl){if(gl.get(Co)!==oi){var wl=new Map(gl);return wl.set(Co,oi),wl}return gl})},[]),Qs=qa(null),ws=(0,Ce.Z)(Qs,2),Ds=ws[0],Is=ws[1];function as(Co,oi){oi&&(typeof oi=="function"?oi(Co):oi.scrollLeft!==Co&&(oi.scrollLeft=Co,oi.scrollLeft!==Co&&setTimeout(function(){oi.scrollLeft=Co},0)))}var Yl=(0,Oe.Z)(function(Co){var oi=Co.currentTarget,gl=Co.scrollLeft,wl=It==="rtl",Dl=typeof gl=="number"?gl:oi.scrollLeft,cs=oi||ka;if(!Is()||Is()===cs){var Ps;Ds(cs),as(Dl,dl.current),as(Dl,bi.current),as(Dl,kl.current),as(Dl,(Ps=Zl.current)===null||Ps===void 0?void 0:Ps.setScrollLeft)}var ys=oi||dl.current;if(ys){var bs=ys.scrollWidth,Cs=ys.clientWidth;if(bs===Cs){li(!1),Zi(!1);return}wl?(li(-Dl0)):(li(Dl>0),Zi(Dl1?ma-Va:0,Jr=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},Fr),wt),{},{flex:"0 0 ".concat(Va,"px"),width:"".concat(Va,"px"),marginRight:xr,pointerEvents:"auto"}),Or=se.useMemo(function(){return xn?Ha<=1:ja===0||Ha===0||Ha>1},[Ha,ja,xn]);Or?Jr.visibility="hidden":xn&&(Jr.height=It==null?void 0:It(Ha));var Sr=Or?function(){return null}:Rn,Xr={};return(Ha===0||ja===0)&&(Xr.rowSpan=1,Xr.colSpan=1),se.createElement(en,(0,ze.Z)({className:We()(On,rn),ellipsis:Pe.ellipsis,align:Pe.align,scope:Pe.rowScope,component:"div",prefixCls:ve.prefixCls,key:La,record:jt,index:nt,renderIndex:xt,dataIndex:Mn,render:Sr,shouldCellUpdate:Pe.shouldCellUpdate},lr,{appendNode:mr,additionalProps:(0,Ne.Z)((0,Ne.Z)({},Ya),{},{style:Jr},Xr)}))}var Ro=tl,Oa=["data","index","className","rowKey","style","extra","getHeight"],Eo=se.forwardRef(function(me,ve){var Pe=me.data,Ue=me.index,$e=me.className,nt=me.rowKey,xt=me.style,jt=me.extra,wt=me.getHeight,rn=(0,Ot.Z)(me,Oa),xn=Pe.record,It=Pe.indent,Rn=Pe.index,Mn=je(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),On=Mn.scrollX,ma=Mn.flattenColumns,ua=Mn.prefixCls,va=Mn.fixColumn,la=Mn.componentWidth,La=ke(xn,nt,Ue,It),lr=La.rowSupportExpand,mr=La.expanded,Ya=La.rowProps,Fr=La.expandedRowRender,jr=La.expandedRowClassName,ja;if(lr&&mr){var Xa=Fr(xn,Ue,It+1,mr),Ha=jr==null?void 0:jr(xn,Ue,It),Na={};va&&(Na={style:(0,pe.Z)({},"--virtual-width","".concat(la,"px"))});var Va="".concat(ua,"-expanded-row-cell");ja=se.createElement("div",{className:We()("".concat(ua,"-expanded-row"),"".concat(ua,"-expanded-row-level-").concat(It+1),Ha)},se.createElement(en,{component:"div",prefixCls:ua,className:We()(Va,(0,pe.Z)({},"".concat(Va,"-fixed"),va)),additionalProps:Na},Xa))}var xr=(0,Ne.Z)((0,Ne.Z)({},xt),{},{width:On});jt&&(xr.position="absolute",xr.pointerEvents="none");var Jr=se.createElement("div",(0,ze.Z)({},Ya,rn,{ref:lr?null:ve,className:We()($e,"".concat(ua,"-row"),Ya==null?void 0:Ya.className,(0,pe.Z)({},"".concat(ua,"-row-extra"),jt)),style:(0,Ne.Z)((0,Ne.Z)({},xr),Ya==null?void 0:Ya.style)}),ma.map(function(Or,Sr){return se.createElement(Ro,{key:Sr,rowInfo:La,column:Or,colIndex:Sr,indent:It,index:Ue,renderIndex:Rn,record:xn,inverse:jt,getHeight:wt})}));return lr?se.createElement("div",{ref:ve},Jr,ja):Jr}),wo=te(Eo),_o=wo,Zo=se.forwardRef(function(me,ve){var Pe=me.data,Ue=me.onScroll,$e=je(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),nt=$e.flattenColumns,xt=$e.onColumnResize,jt=$e.getRowKey,wt=$e.expandedKeys,rn=$e.prefixCls,xn=$e.childrenColumnName,It=$e.emptyNode,Rn=$e.scrollX,Mn=je(Mo),On=Mn.scrollY,ma=Mn.listItemHeight,ua=se.useRef(),va=on(Pe,xn,wt,jt),la=se.useMemo(function(){var ja=0;return nt.map(function(Xa){var Ha=Xa.width,Na=Xa.key;return ja+=Ha,[Na,Ha,ja]})},[nt]),La=se.useMemo(function(){return la.map(function(ja){return ja[2]})},[la]);se.useEffect(function(){la.forEach(function(ja){var Xa=(0,Ce.Z)(ja,2),Ha=Xa[0],Na=Xa[1];xt(Ha,Na)})},[la]),se.useImperativeHandle(ve,function(){var ja={};return Object.defineProperty(ja,"scrollLeft",{get:function(){var Ha;return((Ha=ua.current)===null||Ha===void 0?void 0:Ha.getScrollInfo().x)||0},set:function(Ha){var Na;(Na=ua.current)===null||Na===void 0||Na.scrollTo({left:Ha})}}),ja});var lr=function(Xa,Ha){var Na,Va=(Na=va[Ha])===null||Na===void 0?void 0:Na.record,xr=Xa.onCell;if(xr){var Jr,Or=xr(Va,Ha);return(Jr=Or==null?void 0:Or.rowSpan)!==null&&Jr!==void 0?Jr:1}return 1},mr=function(Xa){var Ha=Xa.start,Na=Xa.end,Va=Xa.getSize,xr=Xa.offsetY;if(Na<0)return null;for(var Jr=nt.filter(function(yr){return lr(yr,Ha)===0}),Or=Ha,Sr=function(Er){if(Jr=Jr.filter(function(vr){return lr(vr,Er)===0}),!Jr.length)return Or=Er,"break"},Xr=Ha;Xr>=0;Xr-=1){var ao=Sr(Xr);if(ao==="break")break}for(var Jo=nt.filter(function(yr){return lr(yr,Na)!==1}),Ao=Na,ui=function(Er){if(Jo=Jo.filter(function(vr){return lr(vr,Er)!==1}),!Jo.length)return Ao=Math.max(Er-1,Na),"break"},Uo=Na;Uo1})&&vi.push(Er)},ai=Or;ai<=Ao;ai+=1)var $o=yo(ai);var Ki=vi.map(function(yr){var Er=va[yr],vr=jt(Er.record,yr),or=function(Mr){var vo=yr+Mr-1,uo=jt(va[vo].record,vo),Ii=Va(vr,uo);return Ii.bottom-Ii.top},Fo=Va(vr);return se.createElement(_o,{key:yr,data:Er,rowKey:vr,index:yr,style:{top:-xr+Fo.top},extra:!0,getHeight:or})});return Ki},Ya=se.useMemo(function(){return{columnsOffset:La}},[La]),Fr="".concat(rn,"-tbody"),jr;return va.length?jr=se.createElement(Qr.Z,{fullHeight:!1,ref:ua,className:We()(Fr,"".concat(Fr,"-virtual")),height:On,itemHeight:ma||24,data:va,itemKey:function(Xa){return jt(Xa.record)},scrollWidth:Rn,onVirtualScroll:function(Xa){var Ha=Xa.x;Ue({scrollLeft:Ha})},extraRender:mr},function(ja,Xa,Ha){var Na=jt(ja.record,Xa);return se.createElement(_o,(0,ze.Z)({data:ja,rowKey:Na,index:Xa},Ha))}):jr=se.createElement("div",{className:We()("".concat(rn,"-placeholder"))},se.createElement(en,{component:"div",prefixCls:rn},It)),se.createElement(fi.Provider,{value:Ya},jr)}),jo=te(Zo),Si=jo,ci=function(ve,Pe){var Ue=Pe.ref,$e=Pe.onScroll;return se.createElement(Si,{ref:Ue,data:ve,onScroll:$e})},ni=100;function Oi(me){var ve=me.columns,Pe=me.scroll,Ue=me.prefixCls,$e=Ue===void 0?Ja:Ue,nt=me.className,xt=me.listItemHeight,jt=Pe||{},wt=jt.x,rn=jt.y;typeof wt!="number"&&(wt=((ve||[]).length+1)*ni),typeof rn!="number"&&(rn=500);var xn=se.useMemo(function(){return{scrollY:rn,listItemHeight:xt}},[rn,xt]);return se.createElement(Mo.Provider,{value:xn},se.createElement(xo,(0,ze.Z)({},me,{className:We()(nt,"".concat($e,"-virtual")),scroll:(0,Ne.Z)((0,Ne.Z)({},Pe),{},{x:wt}),components:{body:ci},columns:ve,internalHooks:ue,tailor:!0})))}function qo(me){return z(Oi,me)}var Do=qo(),wi=null;function Io(me){return null}var Qi=Io;function pi(me){return null}var nl=pi,Ri=ne(2738),al=ne(68031),gi=ne(36355),_i=ne(93891),Pl=ne(19716),ol=ne(8628),il=ne(31724),eo=ne(58421),Ua=ne(71418),da=ne(88088);function ga(me){return function(Pe){let{prefixCls:Ue,onExpand:$e,record:nt,expanded:xt,expandable:jt}=Pe;const wt=`${Ue}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:rn=>{$e(nt,rn),rn.stopPropagation()},className:We()(wt,{[`${wt}-spaced`]:!jt,[`${wt}-expanded`]:jt&&xt,[`${wt}-collapsed`]:jt&&!xt}),"aria-label":xt?me.collapse:me.expand,"aria-expanded":xt})}}var Fa=ga;function Lr(me,ve){return"key"in me&&me.key!==void 0&&me.key!==null?me.key:me.dataIndex?Array.isArray(me.dataIndex)?me.dataIndex.join("."):me.dataIndex:ve}function _r(me,ve){return ve?`${ve}-${me}`:`${me}`}function Po(me,ve){return typeof me=="function"?me(ve):me}function Lo(me,ve){const Pe=Po(me,ve);return Object.prototype.toString.call(Pe)==="[object Object]"?"":Pe}var Go={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},To=Go,Ga=ne(7657),ti=function(ve,Pe){return se.createElement(Ga.Z,(0,ze.Z)({},ve,{ref:Pe,icon:To}))},Di=se.forwardRef(ti),Ci=Di,Yi=ne(56762);function rl(me){const ve=se.useRef(me),Pe=(0,Yi.Z)();return[()=>ve.current,Ue=>{ve.current=Ue,Pe()}]}var Ji=ne(3113),Ut=ne(24905),Qt=ne(38854),hn=ne(64165),Un=ne(20834),Wa=ne(40875),ir=ne(5112),Zn=ne(17574),Ma=ne(47472),er=ne(92832);function Cr(me){let{value:ve,onChange:Pe,filterSearch:Ue,tablePrefixCls:$e,locale:nt}=me;return Ue?se.createElement("div",{className:`${$e}-filter-dropdown-search`},se.createElement(er.default,{prefix:se.createElement(Ma.Z,null),placeholder:nt.filterSearchPlaceholder,onChange:Pe,value:ve,htmlSize:1,className:`${$e}-filter-dropdown-search-input`})):null}var io=Cr,Qn=ne(10228);const Zr=me=>{const{keyCode:ve}=me;ve===Qn.Z.ENTER&&me.stopPropagation()};var Wo=se.forwardRef((me,ve)=>se.createElement("div",{className:me.className,onClick:Pe=>Pe.stopPropagation(),onKeyDown:Zr,ref:ve},me.children));function nr(me){let ve=[];return(me||[]).forEach(Pe=>{let{value:Ue,children:$e}=Pe;ve.push(Ue),$e&&(ve=[].concat((0,$t.Z)(ve),(0,$t.Z)(nr($e))))}),ve}function gr(me){return me.some(ve=>{let{children:Pe}=ve;return Pe})}function lo(me,ve){return typeof ve=="string"||typeof ve=="number"?ve==null?void 0:ve.toString().toLowerCase().includes(me.trim().toLowerCase()):!1}function to(me){let{filters:ve,prefixCls:Pe,filteredKeys:Ue,filterMultiple:$e,searchValue:nt,filterSearch:xt}=me;return ve.map((jt,wt)=>{const rn=String(jt.value);if(jt.children)return{key:rn||wt,label:jt.text,popupClassName:`${Pe}-dropdown-submenu`,children:to({filters:jt.children,prefixCls:Pe,filteredKeys:Ue,filterMultiple:$e,searchValue:nt,filterSearch:xt})};const xn=$e?Ut.default:ir.ZP,It={key:jt.value!==void 0?rn:wt,label:se.createElement(se.Fragment,null,se.createElement(xn,{checked:Ue.includes(rn)}),se.createElement("span",null,jt.text))};return nt.trim()?typeof xt=="function"?xt(nt,jt)?It:null:lo(nt,jt.text)?It:null:It})}function Yo(me){var ve,Pe;const{tablePrefixCls:Ue,prefixCls:$e,column:nt,dropdownPrefixCls:xt,columnKey:jt,filterMultiple:wt,filterMode:rn="menu",filterSearch:xn=!1,filterState:It,triggerFilter:Rn,locale:Mn,children:On,getPopupContainer:ma}=me,{filterDropdownOpen:ua,onFilterDropdownOpenChange:va,filterResetToDefaultFilteredValue:la,defaultFilteredValue:La,filterDropdownVisible:lr,onFilterDropdownVisibleChange:mr}=nt,[Ya,Fr]=se.useState(!1),jr=!!(It&&(!((ve=It.filteredKeys)===null||ve===void 0)&&ve.length||It.forceFiltered)),ja=rr=>{Fr(rr),va==null||va(rr),mr==null||mr(rr)},Xa=(Pe=ua!=null?ua:lr)!==null&&Pe!==void 0?Pe:Ya,Ha=It==null?void 0:It.filteredKeys,[Na,Va]=rl(Ha||[]),xr=rr=>{let{selectedKeys:Mr}=rr;Va(Mr)},Jr=(rr,Mr)=>{let{node:vo,checked:uo}=Mr;xr(wt?{selectedKeys:rr}:{selectedKeys:uo&&vo.key?[vo.key]:[]})};se.useEffect(()=>{Ya&&xr({selectedKeys:Ha||[]})},[Ha]);const[Or,Sr]=se.useState([]),Xr=rr=>{Sr(rr)},[ao,Jo]=se.useState(""),Ao=rr=>{const{value:Mr}=rr.target;Jo(Mr)};se.useEffect(()=>{Ya||Jo("")},[Ya]);const ui=rr=>{const Mr=rr&&rr.length?rr:null;if(Mr===null&&(!It||!It.filteredKeys)||(0,Ie.Z)(Mr,It==null?void 0:It.filteredKeys,!0))return null;Rn({column:nt,key:jt,filteredKeys:Mr})},Uo=()=>{ja(!1),ui(Na())},zr=function(){let{confirm:rr,closeDropdown:Mr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};rr&&ui([]),Mr&&ja(!1),Jo(""),Va(la?(La||[]).map(vo=>String(vo)):[])},vi=function(){let{closeDropdown:rr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};rr&&ja(!1),ui(Na())},yo=rr=>{rr&&Ha!==void 0&&Va(Ha||[]),ja(rr),!rr&&!nt.filterDropdown&&Uo()},ai=We()({[`${xt}-menu-without-submenu`]:!gr(nt.filters||[])}),$o=rr=>{if(rr.target.checked){const Mr=nr(nt==null?void 0:nt.filters).map(vo=>String(vo));Va(Mr)}else Va([])},Ki=rr=>{let{filters:Mr}=rr;return(Mr||[]).map((vo,uo)=>{const Ii=String(vo.value),Li={title:vo.text,key:vo.value!==void 0?Ii:uo};return vo.children&&(Li.children=Ki({filters:vo.children})),Li})},yr=rr=>{var Mr;return Object.assign(Object.assign({},rr),{text:rr.title,value:rr.key,children:((Mr=rr.children)===null||Mr===void 0?void 0:Mr.map(vo=>yr(vo)))||[]})};let Er;if(typeof nt.filterDropdown=="function")Er=nt.filterDropdown({prefixCls:`${xt}-custom`,setSelectedKeys:rr=>xr({selectedKeys:rr}),selectedKeys:Na(),confirm:vi,clearFilters:zr,filters:nt.filters,visible:Xa,close:()=>{ja(!1)}});else if(nt.filterDropdown)Er=nt.filterDropdown;else{const rr=Na()||[],Mr=()=>(nt.filters||[]).length===0?se.createElement(hn.Z,{image:hn.Z.PRESENTED_IMAGE_SIMPLE,description:Mn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):rn==="tree"?se.createElement(se.Fragment,null,se.createElement(io,{filterSearch:xn,value:ao,onChange:Ao,tablePrefixCls:Ue,locale:Mn}),se.createElement("div",{className:`${Ue}-filter-dropdown-tree`},wt?se.createElement(Ut.default,{checked:rr.length===nr(nt.filters).length,indeterminate:rr.length>0&&rr.lengthtypeof xn=="function"?xn(ao,yr(uo)):lo(ao,uo.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(io,{filterSearch:xn,value:ao,onChange:Ao,tablePrefixCls:Ue,locale:Mn}),se.createElement(Un.default,{selectable:!0,multiple:wt,prefixCls:`${xt}-menu`,className:ai,onSelect:xr,onDeselect:xr,selectedKeys:rr,getPopupContainer:ma,openKeys:Or,onOpenChange:Xr,items:to({filters:nt.filters||[],filterSearch:xn,prefixCls:$e,filteredKeys:Na(),filterMultiple:wt,searchValue:ao})})),vo=()=>la?(0,Ie.Z)((La||[]).map(uo=>String(uo)),rr,!0):rr.length===0;Er=se.createElement(se.Fragment,null,Mr(),se.createElement("div",{className:`${$e}-dropdown-btns`},se.createElement(Ji.ZP,{type:"link",size:"small",disabled:vo(),onClick:()=>zr()},Mn.filterReset),se.createElement(Ji.ZP,{type:"primary",size:"small",onClick:Uo},Mn.filterConfirm)))}nt.filterDropdown&&(Er=se.createElement(Wa.J,{selectable:void 0},Er));const vr=()=>se.createElement(Wo,{className:`${$e}-dropdown`},Er);let or;typeof nt.filterIcon=="function"?or=nt.filterIcon(jr):nt.filterIcon?or=nt.filterIcon:or=se.createElement(Ci,null);const{direction:Fo}=se.useContext(gi.E_);return se.createElement("div",{className:`${$e}-column`},se.createElement("span",{className:`${Ue}-column-title`},On),se.createElement(Qt.Z,{dropdownRender:vr,trigger:["click"],open:Xa,onOpenChange:yo,getPopupContainer:ma,placement:Fo==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:We()(`${$e}-trigger`,{active:jr}),onClick:rr=>{rr.stopPropagation()}},or)))}var st=Yo;function yt(me,ve,Pe){let Ue=[];return(me||[]).forEach(($e,nt)=>{var xt;const jt=_r(nt,Pe);if($e.filters||"filterDropdown"in $e||"onFilter"in $e)if("filteredValue"in $e){let wt=$e.filteredValue;"filterDropdown"in $e||(wt=(xt=wt==null?void 0:wt.map(String))!==null&&xt!==void 0?xt:wt),Ue.push({column:$e,key:Lr($e,jt),filteredKeys:wt,forceFiltered:$e.filtered})}else Ue.push({column:$e,key:Lr($e,jt),filteredKeys:ve&&$e.defaultFilteredValue?$e.defaultFilteredValue:void 0,forceFiltered:$e.filtered});"children"in $e&&(Ue=[].concat((0,$t.Z)(Ue),(0,$t.Z)(yt($e.children,ve,jt))))}),Ue}function Wt(me,ve,Pe,Ue,$e,nt,xt,jt){return Pe.map((wt,rn)=>{const xn=_r(rn,jt),{filterMultiple:It=!0,filterMode:Rn,filterSearch:Mn}=wt;let On=wt;if(On.filters||On.filterDropdown){const ma=Lr(On,xn),ua=Ue.find(va=>{let{key:la}=va;return ma===la});On=Object.assign(Object.assign({},On),{title:va=>se.createElement(st,{tablePrefixCls:me,prefixCls:`${me}-filter`,dropdownPrefixCls:ve,column:On,columnKey:ma,filterState:ua,filterMultiple:It,filterMode:Rn,filterSearch:Mn,triggerFilter:nt,locale:$e,getPopupContainer:xt},Po(wt.title,va))})}return"children"in On&&(On=Object.assign(Object.assign({},On),{children:Wt(me,ve,On.children,Ue,$e,nt,xt,xn)})),On})}function fa(me){const ve={};return me.forEach(Pe=>{let{key:Ue,filteredKeys:$e,column:nt}=Pe;const{filters:xt,filterDropdown:jt}=nt;if(jt)ve[Ue]=$e||null;else if(Array.isArray($e)){const wt=nr(xt);ve[Ue]=wt.filter(rn=>$e.includes(String(rn)))}else ve[Ue]=null}),ve}function Vt(me,ve){return ve.reduce((Pe,Ue)=>{const{column:{onFilter:$e,filters:nt},filteredKeys:xt}=Ue;return $e&&xt&&xt.length?Pe.filter(jt=>xt.some(wt=>{const rn=nr(nt),xn=rn.findIndex(Rn=>String(Rn)===String(wt)),It=xn!==-1?rn[xn]:wt;return $e(It,jt)})):Pe},me)}const fn=me=>me.flatMap(ve=>"children"in ve?[ve].concat((0,$t.Z)(fn(ve.children||[]))):[ve]);function gn(me){let{prefixCls:ve,dropdownPrefixCls:Pe,mergedColumns:Ue,onFilterChange:$e,getPopupContainer:nt,locale:xt}=me;const jt=se.useMemo(()=>fn(Ue||[]),[Ue]),[wt,rn]=se.useState(()=>yt(jt,!0)),xn=se.useMemo(()=>{const On=yt(jt,!1);if(On.length===0)return On;let ma=!0,ua=!0;if(On.forEach(va=>{let{filteredKeys:la}=va;la!==void 0?ma=!1:ua=!1}),ma){const va=(jt||[]).map((la,La)=>Lr(la,_r(La)));return wt.filter(la=>{let{key:La}=la;return va.includes(La)}).map(la=>{const La=jt[va.findIndex(lr=>lr===la.key)];return Object.assign(Object.assign({},la),{column:Object.assign(Object.assign({},la.column),La),forceFiltered:La.filtered})})}return On},[jt,wt]),It=se.useMemo(()=>fa(xn),[xn]),Rn=On=>{const ma=xn.filter(ua=>{let{key:va}=ua;return va!==On.key});ma.push(On),rn(ma),$e(fa(ma),ma)};return[On=>Wt(ve,Pe,On,xn,xt,Rn,nt),xn,It]}var Fn=gn;function Rt(me,ve,Pe){const Ue=se.useRef({});function $e(nt){if(!Ue.current||Ue.current.data!==me||Ue.current.childrenColumnName!==ve||Ue.current.getRowKey!==Pe){let jt=function(wt){wt.forEach((rn,xn)=>{const It=Pe(rn,xn);xt.set(It,rn),rn&&typeof rn=="object"&&ve in rn&&jt(rn[ve]||[])})};const xt=new Map;jt(me),Ue.current={data:me,childrenColumnName:ve,kvMap:xt,getRowKey:Pe}}return Ue.current.kvMap.get(nt)}return[$e]}var ea=ne(50371),oa=function(me,ve){var Pe={};for(var Ue in me)Object.prototype.hasOwnProperty.call(me,Ue)&&ve.indexOf(Ue)<0&&(Pe[Ue]=me[Ue]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ue=Object.getOwnPropertySymbols(me);$e{const nt=me[$e];typeof nt!="function"&&(Pe[$e]=nt)}),Pe}function br(me,ve,Pe){const Ue=Pe&&typeof Pe=="object"?Pe:{},{total:$e=0}=Ue,nt=oa(Ue,["total"]),[xt,jt]=(0,se.useState)(()=>({current:"defaultCurrent"in nt?nt.defaultCurrent:1,pageSize:"defaultPageSize"in nt?nt.defaultPageSize:ta})),wt=(0,ea.Z)(xt,nt,{total:$e>0?$e:me}),rn=Math.ceil(($e||me)/wt.pageSize);wt.current>rn&&(wt.current=rn||1);const xn=(Rn,Mn)=>{jt({current:Rn!=null?Rn:1,pageSize:Mn||wt.pageSize})},It=(Rn,Mn)=>{var On;Pe&&((On=Pe.onChange)===null||On===void 0||On.call(Pe,Rn,Mn)),xn(Rn,Mn),ve(Rn,Mn||(wt==null?void 0:wt.pageSize))};return Pe===!1?[{},()=>{}]:[Object.assign(Object.assign({},wt),{onChange:It}),xn]}var So=br,ar=ne(84105),Ka=ne(35654),xa=ne(90782),Yn=ne(71430),Nr=ne(18929);const hr={},mo="SELECT_ALL",fo="SELECT_INVERT",Dr="SELECT_NONE",so=[],Ar=(me,ve)=>{let Pe=[];return(ve||[]).forEach(Ue=>{Pe.push(Ue),Ue&&typeof Ue=="object"&&me in Ue&&(Pe=[].concat((0,$t.Z)(Pe),(0,$t.Z)(Ar(me,Ue[me]))))}),Pe};var Kr=(me,ve)=>{const{preserveSelectedRowKeys:Pe,selectedRowKeys:Ue,defaultSelectedRowKeys:$e,getCheckboxProps:nt,onChange:xt,onSelect:jt,onSelectAll:wt,onSelectInvert:rn,onSelectNone:xn,onSelectMultiple:It,columnWidth:Rn,type:Mn,selections:On,fixed:ma,renderCell:ua,hideSelectAll:va,checkStrictly:la=!0}=ve||{},{prefixCls:La,data:lr,pageData:mr,getRecordByKey:Ya,getRowKey:Fr,expandType:jr,childrenColumnName:ja,locale:Xa,getPopupContainer:Ha}=me,[Na,Va]=(0,Nr.Z)(Ue||$e||so,{value:Ue}),xr=se.useRef(new Map),Jr=(0,se.useCallback)(yr=>{if(Pe){const Er=new Map;yr.forEach(vr=>{let or=Ya(vr);!or&&xr.current.has(vr)&&(or=xr.current.get(vr)),Er.set(vr,or)}),xr.current=Er}},[Ya,Pe]);se.useEffect(()=>{Jr(Na)},[Na]);const{keyEntities:Or}=(0,se.useMemo)(()=>{if(la)return{keyEntities:null};let yr=lr;if(Pe){const Er=new Set(lr.map((or,Fo)=>Fr(or,Fo))),vr=Array.from(xr.current).reduce((or,Fo)=>{let[rr,Mr]=Fo;return Er.has(rr)?or:or.concat(Mr)},[]);yr=[].concat((0,$t.Z)(yr),(0,$t.Z)(vr))}return(0,Yn.I8)(yr,{externalGetKey:Fr,childrenPropName:ja})},[lr,Fr,la,ja,Pe]),Sr=(0,se.useMemo)(()=>Ar(ja,mr),[ja,mr]),Xr=(0,se.useMemo)(()=>{const yr=new Map;return Sr.forEach((Er,vr)=>{const or=Fr(Er,vr),Fo=(nt?nt(Er):null)||{};yr.set(or,Fo)}),yr},[Sr,Fr,nt]),ao=(0,se.useCallback)(yr=>{var Er;return!!(!((Er=Xr.get(Fr(yr)))===null||Er===void 0)&&Er.disabled)},[Xr,Fr]),[Jo,Ao]=(0,se.useMemo)(()=>{if(la)return[Na||[],[]];const{checkedKeys:yr,halfCheckedKeys:Er}=(0,xa.S)(Na,!0,Or,ao);return[yr||[],Er]},[Na,la,Or,ao]),ui=(0,se.useMemo)(()=>{const yr=Mn==="radio"?Jo.slice(0,1):Jo;return new Set(yr)},[Jo,Mn]),Uo=(0,se.useMemo)(()=>Mn==="radio"?new Set:new Set(Ao),[Ao,Mn]),[zr,vi]=(0,se.useState)(null);se.useEffect(()=>{ve||Va(so)},[!!ve]);const yo=(0,se.useCallback)((yr,Er)=>{let vr,or;Jr(yr),Pe?(vr=yr,or=yr.map(Fo=>xr.current.get(Fo))):(vr=[],or=[],yr.forEach(Fo=>{const rr=Ya(Fo);rr!==void 0&&(vr.push(Fo),or.push(rr))})),Va(vr),xt==null||xt(vr,or,{type:Er})},[Va,Ya,xt,Pe]),ai=(0,se.useCallback)((yr,Er,vr,or)=>{if(jt){const Fo=vr.map(rr=>Ya(rr));jt(Ya(yr),Er,Fo,or)}yo(vr,"single")},[jt,Ya,yo]),$o=(0,se.useMemo)(()=>!On||va?null:(On===!0?[mo,fo,Dr]:On).map(Er=>Er===mo?{key:"all",text:Xa.selectionAll,onSelect(){yo(lr.map((vr,or)=>Fr(vr,or)).filter(vr=>{const or=Xr.get(vr);return!(or!=null&&or.disabled)||ui.has(vr)}),"all")}}:Er===fo?{key:"invert",text:Xa.selectInvert,onSelect(){const vr=new Set(ui);mr.forEach((Fo,rr)=>{const Mr=Fr(Fo,rr),vo=Xr.get(Mr);vo!=null&&vo.disabled||(vr.has(Mr)?vr.delete(Mr):vr.add(Mr))});const or=Array.from(vr);rn&&rn(or),yo(or,"invert")}}:Er===Dr?{key:"none",text:Xa.selectNone,onSelect(){xn==null||xn(),yo(Array.from(ui).filter(vr=>{const or=Xr.get(vr);return or==null?void 0:or.disabled}),"none")}}:Er).map(Er=>Object.assign(Object.assign({},Er),{onSelect:function(){for(var vr,or,Fo=arguments.length,rr=new Array(Fo),Mr=0;Mr{var Er;if(!ve)return yr.filter(ko=>ko!==hr);let vr=(0,$t.Z)(yr);const or=new Set(ui),Fo=Sr.map(Fr).filter(ko=>!Xr.get(ko).disabled),rr=Fo.every(ko=>or.has(ko)),Mr=Fo.some(ko=>or.has(ko)),vo=()=>{const ko=[];rr?Fo.forEach(Xo=>{or.delete(Xo),ko.push(Xo)}):Fo.forEach(Xo=>{or.has(Xo)||(or.add(Xo),ko.push(Xo))});const zo=Array.from(or);wt==null||wt(!rr,zo.map(Xo=>Ya(Xo)),ko.map(Xo=>Ya(Xo))),yo(zo,"all"),vi(null)};let uo;if(Mn!=="radio"){let ko;if($o){const ro={getPopupContainer:Ha,items:$o.map((ki,Zi)=>{const{key:Mi,text:Sl,onSelect:ml}=ki;return{key:Mi!=null?Mi:Zi,onClick:()=>{ml==null||ml(Fo)},label:Sl}})};ko=se.createElement("div",{className:`${La}-selection-extra`},se.createElement(Qt.Z,{menu:ro,getPopupContainer:Ha},se.createElement("span",null,se.createElement(ar.Z,null))))}const zo=Sr.map((ro,ki)=>{const Zi=Fr(ro,ki),Mi=Xr.get(Zi)||{};return Object.assign({checked:or.has(Zi)},Mi)}).filter(ro=>{let{disabled:ki}=ro;return ki}),Xo=!!zo.length&&zo.length===Sr.length,li=Xo&&zo.every(ro=>{let{checked:ki}=ro;return ki}),hi=Xo&&zo.some(ro=>{let{checked:ki}=ro;return ki});uo=!va&&se.createElement("div",{className:`${La}-selection`},se.createElement(Ut.default,{checked:Xo?li:!!Sr.length&&rr,indeterminate:Xo?!li&&hi:!rr&&Mr,onChange:vo,disabled:Sr.length===0||Xo,"aria-label":ko?"Custom selection":"Select all",skipGroup:!0}),ko)}let Ii;Mn==="radio"?Ii=(ko,zo,Xo)=>{const li=Fr(zo,Xo),hi=or.has(li);return{node:se.createElement(ir.ZP,Object.assign({},Xr.get(li),{checked:hi,onClick:ro=>ro.stopPropagation(),onChange:ro=>{or.has(li)||ai(li,!0,[li],ro.nativeEvent)}})),checked:hi}}:Ii=(ko,zo,Xo)=>{var li;const hi=Fr(zo,Xo),ro=or.has(hi),ki=Uo.has(hi),Zi=Xr.get(hi);let Mi;return jr==="nest"?Mi=ki:Mi=(li=Zi==null?void 0:Zi.indeterminate)!==null&&li!==void 0?li:ki,{node:se.createElement(Ut.default,Object.assign({},Zi,{indeterminate:Mi,checked:ro,skipGroup:!0,onClick:Sl=>Sl.stopPropagation(),onChange:Sl=>{let{nativeEvent:ml}=Sl;const{shiftKey:ji}=ml;let fl=-1,sl=-1;if(ji&&la){const Xi=new Set([zr,hi]);Fo.some((zi,di)=>{if(Xi.has(zi))if(fl===-1)fl=di;else return sl=di,!0;return!1})}if(sl!==-1&&fl!==sl&&la){const Xi=Fo.slice(fl,sl+1),zi=[];ro?Xi.forEach(ri=>{or.has(ri)&&(zi.push(ri),or.delete(ri))}):Xi.forEach(ri=>{or.has(ri)||(zi.push(ri),or.add(ri))});const di=Array.from(or);It==null||It(!ro,di.map(ri=>Ya(ri)),zi.map(ri=>Ya(ri))),yo(di,"multiple")}else{const Xi=Jo;if(la){const zi=ro?(0,Ka._5)(Xi,hi):(0,Ka.L0)(Xi,hi);ai(hi,!ro,zi,ml)}else{const zi=(0,xa.S)([].concat((0,$t.Z)(Xi),[hi]),!0,Or,ao),{checkedKeys:di,halfCheckedKeys:ri}=zi;let El=di;if(ro){const Zl=new Set(di);Zl.delete(hi),El=(0,xa.S)(Array.from(Zl),{checked:!1,halfCheckedKeys:ri},Or,ao).checkedKeys}ai(hi,!ro,El,ml)}}vi(ro?null:hi)}})),checked:ro}};const Li=(ko,zo,Xo)=>{const{node:li,checked:hi}=Ii(ko,zo,Xo);return ua?ua(hi,zo,Xo,li):li};if(!vr.includes(hr))if(vr.findIndex(ko=>{var zo;return((zo=ko[ra])===null||zo===void 0?void 0:zo.columnType)==="EXPAND_COLUMN"})===0){const[ko,...zo]=vr;vr=[ko,hr].concat((0,$t.Z)(zo))}else vr=[hr].concat((0,$t.Z)(vr));const ll=vr.indexOf(hr);vr=vr.filter((ko,zo)=>ko!==hr||zo===ll);const yi=vr[ll-1],dl=vr[ll+1];let bi=ma;bi===void 0&&((dl==null?void 0:dl.fixed)!==void 0?bi=dl.fixed:(yi==null?void 0:yi.fixed)!==void 0&&(bi=yi.fixed)),bi&&yi&&((Er=yi[ra])===null||Er===void 0?void 0:Er.columnType)==="EXPAND_COLUMN"&&yi.fixed===void 0&&(yi.fixed=bi);const Vi=We()(`${La}-selection-col`,{[`${La}-selection-col-with-dropdown`]:On&&Mn==="checkbox"}),kl={fixed:bi,width:Rn,className:`${La}-selection-column`,title:ve.columnTitle||uo,render:Li,onCell:ve.onCell,[ra]:{className:Vi}};return vr.map(ko=>ko===hr?kl:ko)},[Fr,Sr,ve,Jo,ui,Uo,Rn,$o,jr,zr,Xr,It,ai,ao]),ui]},Gr=ne(89489),xi=ne(59477),Ei=ne(6848);const Ge="ascend",ot="descend";function ft(me){return typeof me.sorter=="object"&&typeof me.sorter.multiple=="number"?me.sorter.multiple:!1}function Gt(me){return typeof me=="function"?me:me&&typeof me=="object"&&me.compare?me.compare:!1}function Ea(me,ve){return ve?me[me.indexOf(ve)+1]:me[0]}function nn(me,ve,Pe){let Ue=[];function $e(nt,xt){Ue.push({column:nt,key:Lr(nt,xt),multiplePriority:ft(nt),sortOrder:nt.sortOrder})}return(me||[]).forEach((nt,xt)=>{const jt=_r(xt,Pe);nt.children?("sortOrder"in nt&&$e(nt,jt),Ue=[].concat((0,$t.Z)(Ue),(0,$t.Z)(nn(nt.children,ve,jt)))):nt.sorter&&("sortOrder"in nt?$e(nt,jt):ve&&nt.defaultSortOrder&&Ue.push({column:nt,key:Lr(nt,jt),multiplePriority:ft(nt),sortOrder:nt.defaultSortOrder}))}),Ue}function qn(me,ve,Pe,Ue,$e,nt,xt,jt){return(ve||[]).map((wt,rn)=>{const xn=_r(rn,jt);let It=wt;if(It.sorter){const Rn=It.sortDirections||$e,Mn=It.showSorterTooltip===void 0?xt:It.showSorterTooltip,On=Lr(It,xn),ma=Pe.find(jr=>{let{key:ja}=jr;return ja===On}),ua=ma?ma.sortOrder:null,va=Ea(Rn,ua);let la;if(wt.sortIcon)la=wt.sortIcon({sortOrder:ua});else{const jr=Rn.includes(Ge)&&se.createElement(xi.Z,{className:We()(`${me}-column-sorter-up`,{active:ua===Ge})}),ja=Rn.includes(ot)&&se.createElement(Gr.Z,{className:We()(`${me}-column-sorter-down`,{active:ua===ot})});la=se.createElement("span",{className:We()(`${me}-column-sorter`,{[`${me}-column-sorter-full`]:!!(jr&&ja)})},se.createElement("span",{className:`${me}-column-sorter-inner`,"aria-hidden":"true"},jr,ja))}const{cancelSort:La,triggerAsc:lr,triggerDesc:mr}=nt||{};let Ya=La;va===ot?Ya=mr:va===Ge&&(Ya=lr);const Fr=typeof Mn=="object"?Mn:{title:Ya};It=Object.assign(Object.assign({},It),{className:We()(It.className,{[`${me}-column-sort`]:ua}),title:jr=>{const ja=se.createElement("div",{className:`${me}-column-sorters`},se.createElement("span",{className:`${me}-column-title`},Po(wt.title,jr)),la);return Mn?se.createElement(Ei.Z,Object.assign({},Fr),ja):ja},onHeaderCell:jr=>{const ja=wt.onHeaderCell&&wt.onHeaderCell(jr)||{},Xa=ja.onClick,Ha=ja.onKeyDown;ja.onClick=xr=>{Ue({column:wt,key:On,sortOrder:va,multiplePriority:ft(wt)}),Xa==null||Xa(xr)},ja.onKeyDown=xr=>{xr.keyCode===Qn.Z.ENTER&&(Ue({column:wt,key:On,sortOrder:va,multiplePriority:ft(wt)}),Ha==null||Ha(xr))};const Na=Lo(wt.title,{}),Va=Na==null?void 0:Na.toString();return ua?ja["aria-sort"]=ua==="ascend"?"ascending":"descending":ja["aria-label"]=Va||"",ja.className=We()(ja.className,`${me}-column-has-sorters`),ja.tabIndex=0,wt.ellipsis&&(ja.title=(Na!=null?Na:"").toString()),ja}})}return"children"in It&&(It=Object.assign(Object.assign({},It),{children:qn(me,It.children,Pe,Ue,$e,nt,xt,xn)})),It})}function Vn(me){const{column:ve,sortOrder:Pe}=me;return{column:ve,order:Pe,field:ve.dataIndex,columnKey:ve.key}}function Wn(me){const ve=me.filter(Pe=>{let{sortOrder:Ue}=Pe;return Ue}).map(Vn);return ve.length===0&&me.length?Object.assign(Object.assign({},Vn(me[me.length-1])),{column:void 0}):ve.length<=1?ve[0]||{}:ve}function ia(me,ve,Pe){const Ue=ve.slice().sort((xt,jt)=>jt.multiplePriority-xt.multiplePriority),$e=me.slice(),nt=Ue.filter(xt=>{let{column:{sorter:jt},sortOrder:wt}=xt;return Gt(jt)&&wt});return nt.length?$e.sort((xt,jt)=>{for(let wt=0;wt{const jt=xt[Pe];return jt?Object.assign(Object.assign({},xt),{[Pe]:ia(jt,ve,Pe)}):xt}):$e}function Sn(me){let{prefixCls:ve,mergedColumns:Pe,onSorterChange:Ue,sortDirections:$e,tableLocale:nt,showSorterTooltip:xt}=me;const[jt,wt]=se.useState(nn(Pe,!0)),rn=se.useMemo(()=>{let On=!0;const ma=nn(Pe,!1);if(!ma.length)return jt;const ua=[];function va(La){On?ua.push(La):ua.push(Object.assign(Object.assign({},La),{sortOrder:null}))}let la=null;return ma.forEach(La=>{la===null?(va(La),La.sortOrder&&(La.multiplePriority===!1?On=!1:la=!0)):(la&&La.multiplePriority!==!1||(On=!1),va(La))}),ua},[Pe,jt]),xn=se.useMemo(()=>{const On=rn.map(ma=>{let{column:ua,sortOrder:va}=ma;return{column:ua,order:va}});return{sortColumns:On,sortColumn:On[0]&&On[0].column,sortOrder:On[0]&&On[0].order}},[rn]);function It(On){let ma;On.multiplePriority===!1||!rn.length||rn[0].multiplePriority===!1?ma=[On]:ma=[].concat((0,$t.Z)(rn.filter(ua=>{let{key:va}=ua;return va!==On.key})),[On]),wt(ma),Ue(Wn(ma),ma)}return[On=>qn(ve,On,rn,It,$e,nt,xt),rn,xn,()=>Wn(rn)]}function aa(me,ve){return me.map(Pe=>{const Ue=Object.assign({},Pe);return Ue.title=Po(Pe.title,ve),"children"in Ue&&(Ue.children=aa(Ue.children,ve)),Ue})}function Da(me){return[se.useCallback(Pe=>aa(Pe,me),[me])]}var pr=Br((me,ve)=>{const{_renderTimes:Pe}=me,{_renderTimes:Ue}=ve;return Pe!==Ue}),ur=qo((me,ve)=>{const{_renderTimes:Pe}=me,{_renderTimes:Ue}=ve;return Pe!==Ue}),Jn=ne(64993),ca=ne(17313),jn=ne(83116),Hn=ne(37613),dr=me=>{const{componentCls:ve}=me,Pe=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,Ue=($e,nt,xt)=>({[`&${ve}-${$e}`]:{[`> ${ve}-container`]:{[`> ${ve}-content, > ${ve}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`-${nt}px -${xt+me.lineWidth}px`}}}}}});return{[`${ve}-wrapper`]:{[`${ve}${ve}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ve}-title`]:{border:Pe,borderBottom:0},[`> ${ve}-container`]:{borderInlineStart:Pe,borderTop:Pe,[` + `]:Object.assign({},le(De))}}};var fe=(0,Ke.Z)("Skeleton",De=>{const{componentCls:he}=De,tt=(0,je.TS)(De,{skeletonAvatarCls:`${he}-avatar`,skeletonTitleCls:`${he}-title`,skeletonParagraphCls:`${he}-paragraph`,skeletonButtonCls:`${he}-button`,skeletonInputCls:`${he}-input`,skeletonImageCls:`${he}-image`,imageSizeBase:De.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${De.gradientFromColor} 25%, ${De.gradientToColor} 37%, ${De.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(tt)]},De=>{const{colorFillContent:he,colorFill:tt}=De,Lt=he,Fe=tt;return{color:Lt,colorGradientEnd:Fe,gradientFromColor:Lt,gradientToColor:Fe,titleHeight:De.controlHeight/2,blockRadius:De.borderRadiusSM,paragraphMarginTop:De.marginLG+De.marginXXS,paragraphLiHeight:De.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),xe=De=>{const{prefixCls:he,className:tt,rootClassName:Lt,active:Fe,shape:be="circle",size:Pt="default"}=De,{getPrefixCls:Je}=Ce.useContext(Oe.E_),ke=Je("skeleton",he),[bt,hn]=fe(ke),Tt=(0,we.Z)(De,["prefixCls","className"]),ln=ue()(ke,`${ke}-element`,{[`${ke}-active`]:Fe},tt,Lt,hn);return bt(Ce.createElement("div",{className:ln},Ce.createElement(se,Object.assign({prefixCls:`${ke}-avatar`,shape:be,size:Pt},Tt))))},Ne=De=>{const{prefixCls:he,className:tt,rootClassName:Lt,active:Fe,block:be=!1,size:Pt="default"}=De,{getPrefixCls:Je}=Ce.useContext(Oe.E_),ke=Je("skeleton",he),[bt,hn]=fe(ke),Tt=(0,we.Z)(De,["prefixCls"]),ln=ue()(ke,`${ke}-element`,{[`${ke}-active`]:Fe,[`${ke}-block`]:be},tt,Lt,hn);return bt(Ce.createElement("div",{className:ln},Ce.createElement(se,Object.assign({prefixCls:`${ke}-button`,size:Pt},Tt))))};const pe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var We=De=>{const{prefixCls:he,className:tt,rootClassName:Lt,style:Fe,active:be}=De,{getPrefixCls:Pt}=Ce.useContext(Oe.E_),Je=Pt("skeleton",he),[ke,bt]=fe(Je),hn=ue()(Je,`${Je}-element`,{[`${Je}-active`]:be},tt,Lt,bt);return ke(Ce.createElement("div",{className:hn},Ce.createElement("div",{className:ue()(`${Je}-image`,tt),style:Fe},Ce.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Je}-image-svg`},Ce.createElement("path",{d:pe,className:`${Je}-image-path`})))))},Re=De=>{const{prefixCls:he,className:tt,rootClassName:Lt,active:Fe,block:be,size:Pt="default"}=De,{getPrefixCls:Je}=Ce.useContext(Oe.E_),ke=Je("skeleton",he),[bt,hn]=fe(ke),Tt=(0,we.Z)(De,["prefixCls"]),ln=ue()(ke,`${ke}-element`,{[`${ke}-active`]:Fe,[`${ke}-block`]:be},tt,Lt,hn);return bt(Ce.createElement("div",{className:ln},Ce.createElement(se,Object.assign({prefixCls:`${ke}-input`,size:Pt},Tt))))},_e=ne(54476),mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Qe=mt,ot=ne(7657),Wt=function(he,tt){return Ce.createElement(ot.Z,(0,_e.Z)({},he,{ref:tt,icon:Qe}))},ht=Ce.forwardRef(Wt),Ht=ht,Ve=De=>{const{prefixCls:he,className:tt,rootClassName:Lt,style:Fe,active:be,children:Pt}=De,{getPrefixCls:Je}=Ce.useContext(Oe.E_),ke=Je("skeleton",he),[bt,hn]=fe(ke),Tt=ue()(ke,`${ke}-element`,{[`${ke}-active`]:be},hn,tt,Lt),ln=Pt!=null?Pt:Ce.createElement(Ht,null);return bt(Ce.createElement("div",{className:Tt},Ce.createElement("div",{className:ue()(`${ke}-image`,tt),style:Fe},ln)))},st=ne(94480),gn=De=>{const he=Je=>{const{width:ke,rows:bt=2}=De;if(Array.isArray(ke))return ke[Je];if(bt-1===Je)return ke},{prefixCls:tt,className:Lt,style:Fe,rows:be}=De,Pt=(0,st.Z)(Array(be)).map((Je,ke)=>Ce.createElement("li",{key:ke,style:{width:he(ke)}}));return Ce.createElement("ul",{className:ue()(tt,Lt),style:Fe},Pt)},$t=De=>{let{prefixCls:he,className:tt,width:Lt,style:Fe}=De;return Ce.createElement("h3",{className:ue()(he,tt),style:Object.assign({width:Lt},Fe)})};function Be(De){return De&&typeof De=="object"?De:{}}function Jt(De,he){return De&&!he?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function bn(De,he){return!De&&he?{width:"38%"}:De&&he?{width:"50%"}:{}}function Ot(De,he){const tt={};return(!De||!he)&&(tt.width="61%"),!De&&he?tt.rows=3:tt.rows=2,tt}const Zt=De=>{const{prefixCls:he,loading:tt,className:Lt,rootClassName:Fe,style:be,children:Pt,avatar:Je=!1,title:ke=!0,paragraph:bt=!0,active:hn,round:Tt}=De,{getPrefixCls:ln,direction:tn,skeleton:an}=Ce.useContext(Oe.E_),Te=ln("skeleton",he),[at,Nt]=fe(Te);if(tt||!("loading"in De)){const ft=!!Je,lt=!!ke,fn=!!bt;let En;if(ft){const ea=Object.assign(Object.assign({prefixCls:`${Te}-avatar`},Jt(lt,fn)),Be(Je));En=Ce.createElement("div",{className:`${Te}-header`},Ce.createElement(se,Object.assign({},ea)))}let yn;if(lt||fn){let ea;if(lt){const Yt=Object.assign(Object.assign({prefixCls:`${Te}-title`},bn(ft,fn)),Be(ke));ea=Ce.createElement($t,Object.assign({},Yt))}let Xt;if(fn){const Yt=Object.assign(Object.assign({prefixCls:`${Te}-paragraph`},Ot(ft,lt)),Be(bt));Xt=Ce.createElement(gn,Object.assign({},Yt))}yn=Ce.createElement("div",{className:`${Te}-content`},ea,Xt)}const Ln=ue()(Te,{[`${Te}-with-avatar`]:ft,[`${Te}-active`]:hn,[`${Te}-rtl`]:tn==="rtl",[`${Te}-round`]:Tt},an==null?void 0:an.className,Lt,Fe,Nt);return at(Ce.createElement("div",{className:Ln,style:Object.assign(Object.assign({},an==null?void 0:an.style),be)},En,yn))}return typeof Pt!="undefined"?Pt:null};Zt.Button=Ne,Zt.Avatar=xe,Zt.Input=Re,Zt.Image=We,Zt.Node=Ve;var et=Zt,Ye=et},31797:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return fe}});var y=ne(59301),ue=ne(56762),Ce=ne(92343),Oe=ne(92310),we=ne.n(Oe),Ie=ne(36355),se=ne(61621),Ke=ce=>{const{value:xe,formatter:ye,precision:Ne,decimalSeparator:pe,groupSeparator:Xe="",prefixCls:We}=ce;let ut;if(typeof ye=="function")ut=ye(xe);else{const Re=String(xe),_e=Re.match(/^(-?)(\d*)(\.(\d+))?$/);if(!_e||Re==="-")ut=Re;else{const mt=_e[1];let Qe=_e[2]||"0",ot=_e[4]||"";Qe=Qe.replace(/\B(?=(\d{3})+(?!\d))/g,Xe),typeof Ne=="number"&&(ot=ot.padEnd(Ne,"0").slice(0,Ne>0?Ne:0)),ot&&(ot=`${pe}${ot}`),ut=[y.createElement("span",{key:"int",className:`${We}-content-value-int`},mt,Qe),ot&&y.createElement("span",{key:"decimal",className:`${We}-content-value-decimal`},ot)]}}return y.createElement("span",{className:`${We}-content-value`},ut)},je=ne(17313),ze=ne(83116),He=ne(37613);const Le=ce=>{const{componentCls:xe,marginXXS:ye,padding:Ne,colorTextDescription:pe,titleFontSize:Xe,colorTextHeading:We,contentFontSize:ut,fontFamily:Re}=ce;return{[`${xe}`]:Object.assign(Object.assign({},(0,je.Wf)(ce)),{[`${xe}-title`]:{marginBottom:ye,color:pe,fontSize:Xe},[`${xe}-skeleton`]:{paddingTop:Ne},[`${xe}-content`]:{color:We,fontSize:ut,fontFamily:Re,[`${xe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${xe}-content-prefix, ${xe}-content-suffix`]:{display:"inline-block"},[`${xe}-content-prefix`]:{marginInlineEnd:ye},[`${xe}-content-suffix`]:{marginInlineStart:ye}}})}};var le=(0,ze.Z)("Statistic",ce=>{const xe=(0,He.TS)(ce,{});return[Le(xe)]},ce=>{const{fontSizeHeading3:xe,fontSize:ye}=ce;return{titleFontSize:ye,contentFontSize:xe}}),a=ce=>{const{prefixCls:xe,className:ye,rootClassName:Ne,style:pe,valueStyle:Xe,value:We=0,title:ut,valueRender:Re,prefix:_e,suffix:mt,loading:Qe=!1,onMouseEnter:ot,onMouseLeave:Wt,decimalSeparator:ht=".",groupSeparator:Ht=","}=ce,{getPrefixCls:Kt,direction:Ve,statistic:st}=y.useContext(Ie.E_),Rt=Kt("statistic",xe),[gn,wt]=le(Rt),$t=y.createElement(Ke,Object.assign({decimalSeparator:ht,groupSeparator:Ht,prefixCls:Rt},ce,{value:We})),Be=we()(Rt,{[`${Rt}-rtl`]:Ve==="rtl"},st==null?void 0:st.className,ye,Ne,wt);return gn(y.createElement("div",{className:Be,style:Object.assign(Object.assign({},st==null?void 0:st.style),pe),onMouseEnter:ot,onMouseLeave:Wt},ut&&y.createElement("div",{className:`${Rt}-title`},ut),y.createElement(se.Z,{paragraph:!1,loading:Qe,className:`${Rt}-skeleton`},y.createElement("div",{style:Xe,className:`${Rt}-content`},_e&&y.createElement("span",{className:`${Rt}-content-prefix`},_e),Re?Re($t):$t,mt&&y.createElement("span",{className:`${Rt}-content-suffix`},mt)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(ce,xe){let ye=ce;const Ne=/\[[^\]]*]/g,pe=(xe.match(Ne)||[]).map(Re=>Re.slice(1,-1)),Xe=xe.replace(Ne,"[]"),We=x.reduce((Re,_e)=>{let[mt,Qe]=_e;if(Re.includes(mt)){const ot=Math.floor(ye/Qe);return ye-=ot*Qe,Re.replace(new RegExp(`${mt}+`,"g"),Wt=>{const ht=Wt.length;return ot.toString().padStart(ht,"0")})}return Re},Xe);let ut=0;return We.replace(Ne,()=>{const Re=pe[ut];return ut+=1,Re})}function z(ce,xe){const{format:ye=""}=xe,Ne=new Date(ce).getTime(),pe=Date.now(),Xe=Math.max(Ne-pe,0);return b(Xe,ye)}const te=1e3/30;function re(ce){return new Date(ce).getTime()}const ie=ce=>{const{value:xe,format:ye="HH:mm:ss",onChange:Ne,onFinish:pe}=ce,Xe=(0,ue.Z)(),We=y.useRef(null),ut=()=>{pe==null||pe(),We.current&&(clearInterval(We.current),We.current=null)},Re=()=>{const Qe=re(xe);Qe>=Date.now()&&(We.current=setInterval(()=>{Xe(),Ne==null||Ne(Qe-Date.now()),Qe(Re(),()=>{We.current&&(clearInterval(We.current),We.current=null)}),[xe]);const _e=(Qe,ot)=>z(Qe,Object.assign(Object.assign({},ot),{format:ye})),mt=Qe=>(0,Ce.Tm)(Qe,{title:void 0});return y.createElement(a,Object.assign({},ce,{valueRender:mt,formatter:_e}))};var ge=y.memo(ie);a.Countdown=ge;var fe=a},15969:function(At,jt,ne){"use strict";ne.d(jt,{N:function(){return y}});const y=ue=>({color:ue.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${ue.motionDurationSlow}`,"&:focus, &:hover":{color:ue.colorLinkHover},"&:active":{color:ue.colorLinkActive}})},1710:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return Ia}});var y={},ue="rc-table-internal-hook",Ce=ne(42978),Oe=ne(6089),we=ne(34280),Ie=ne(13697),se=ne(59301),Ze=ne(4676);function Ke(me){var ve=se.createContext(void 0),Pe=function($e){var rt=$e.value,xt=$e.children,zt=se.useRef(rt);zt.current=rt;var Ft=se.useState(function(){return{getValue:function(){return zt.current},listeners:new Set}}),nn=(0,Ce.Z)(Ft,1),xn=nn[0];return(0,we.Z)(function(){(0,Ze.unstable_batchedUpdates)(function(){xn.listeners.forEach(function(It){It(rt)})})},[rt]),se.createElement(ve.Provider,{value:xn},xt)};return{Context:ve,Provider:Pe,defaultValue:me}}function je(me,ve){var Pe=(0,Oe.Z)(typeof ve=="function"?ve:function(It){if(ve===void 0)return It;if(!Array.isArray(ve))return It[ve];var Zn={};return ve.forEach(function(Rn){Zn[Rn]=It[Rn]}),Zn}),Ue=se.useContext(me==null?void 0:me.Context),$e=Ue||{},rt=$e.listeners,xt=$e.getValue,zt=se.useRef();zt.current=Pe(Ue?xt():me==null?void 0:me.defaultValue);var Ft=se.useState({}),nn=(0,Ce.Z)(Ft,2),xn=nn[1];return(0,we.Z)(function(){if(!Ue)return;function It(Zn){var Rn=Pe(Zn);(0,Ie.Z)(zt.current,Rn,!0)||xn({})}return rt.add(It),function(){rt.delete(It)}},[Ue]),zt.current}var ze=ne(54476),He=ne(8654);function Le(){var me=se.createContext(null);function ve(){return se.useContext(me)}function Pe($e,rt){var xt=(0,He.Yr)($e),zt=function(nn,xn){var It=xt?{ref:xn}:{},Zn=se.useRef(0),Rn=se.useRef(nn),Mn=ve();return Mn!==null?se.createElement($e,(0,ze.Z)({},nn,It)):((!rt||rt(Rn.current,nn))&&(Zn.current+=1),Rn.current=nn,se.createElement(me.Provider,{value:Zn.current},se.createElement($e,(0,ze.Z)({},nn,It))))};return xt?se.forwardRef(zt):zt}function Ue($e,rt){var xt=(0,He.Yr)($e),zt=function(nn,xn){var It=xt?{ref:xn}:{};return ve(),se.createElement($e,(0,ze.Z)({},nn,It))};return xt?se.memo(se.forwardRef(zt),rt):se.memo(zt,rt)}return{makeImmutable:Pe,responseImmutable:Ue,useImmutableMark:ve}}var le=Le(),E=le.makeImmutable,a=le.responseImmutable,x=le.useImmutableMark,b=Le(),z=b.makeImmutable,te=b.responseImmutable,re=b.useImmutableMark,ie=Ke(),ge=ie;function fe(me,ve){var Pe=se.useRef(0);Pe.current+=1;var Ue=se.useRef(me),$e=[];Object.keys(me||{}).map(function(xt){var zt;(me==null?void 0:me[xt])!==((zt=Ue.current)===null||zt===void 0?void 0:zt[xt])&&$e.push(xt)}),Ue.current=me;var rt=se.useRef([]);return $e.length&&(rt.current=$e),se.useDebugValue(Pe.current),se.useDebugValue(rt.current.join(", ")),ve&&console.log("".concat(ve,":"),Pe.current,rt.current),Pe.current}var ce=null,xe=se.memo(function(){var me=fe();return se.createElement("h1",null,"Render Times: ",me)});xe.displayName="RenderBlock";var ye=ne(76190),Ne=ne(33885),pe=ne(20068),Xe=ne(92310),We=ne.n(Xe),ut=ne(80547),Re=ne(97938),_e=ne(48736),mt=se.createContext({renderWithProps:!1}),Qe=mt,ot="RC_TABLE_KEY";function Wt(me){return me==null?[]:Array.isArray(me)?me:[me]}function ht(me){var ve=[],Pe={};return me.forEach(function(Ue){for(var $e=Ue||{},rt=$e.key,xt=$e.dataIndex,zt=rt||Wt(xt).join("-")||ot;Pe[zt];)zt="".concat(zt,"_next");Pe[zt]=!0,ve.push(zt)}),ve}function Ht(me){return me!=null}function Kt(me){return me&&(0,ye.Z)(me)==="object"&&!Array.isArray(me)&&!se.isValidElement(me)}function Ve(me,ve,Pe,Ue,$e,rt){var xt=se.useContext(Qe),zt=re(),Ft=(0,ut.Z)(function(){if(Ht(Ue))return[Ue];var nn=ve==null||ve===""?[]:Array.isArray(ve)?ve:[ve],xn=(0,Re.Z)(me,nn),It=xn,Zn=void 0;if($e){var Rn=$e(xn,me,Pe);Kt(Rn)?(It=Rn.children,Zn=Rn.props,xt.renderWithProps=!0):It=Rn}return[It,Zn]},[zt,me,Ue,ve,$e,Pe],function(nn,xn){if(rt){var It=(0,Ce.Z)(nn,2),Zn=It[1],Rn=(0,Ce.Z)(xn,2),Mn=Rn[1];return rt(Mn,Zn)}return xt.renderWithProps?!0:!(0,Ie.Z)(nn,xn,!0)});return Ft}function st(me,ve,Pe,Ue){var $e=me+ve-1;return me<=Ue&&$e>=Pe}function Rt(me,ve){return je(ge,function(Pe){var Ue=st(me,ve||1,Pe.hoverStartRow,Pe.hoverEndRow);return[Ue,Pe.onHover]})}var gn=function(ve){var Pe=ve.ellipsis,Ue=ve.rowType,$e=ve.children,rt,xt=Pe===!0?{showTitle:!0}:Pe;return xt&&(xt.showTitle||Ue==="header")&&(typeof $e=="string"||typeof $e=="number"?rt=$e.toString():se.isValidElement($e)&&typeof $e.props.children=="string"&&(rt=$e.props.children)),rt};function wt(me){var ve,Pe,Ue,$e,rt,xt,zt,Ft,nn=me.component,xn=me.children,It=me.ellipsis,Zn=me.scope,Rn=me.prefixCls,Mn=me.className,pa=me.align,ua=me.record,Ea=me.render,ia=me.dataIndex,La=me.renderIndex,ir=me.shouldCellUpdate,cr=me.index,_a=me.rowType,Br=me.colSpan,zr=me.rowSpan,ka=me.fixLeft,qa=me.fixRight,za=me.firstFixLeft,Na=me.lastFixLeft,Ka=me.firstFixRight,yr=me.lastFixRight,_r=me.appendNode,Mr=me.additionalProps,fr=Mr===void 0?{}:Mr,Yr=me.isSticky,io="".concat(Rn,"-cell"),Qo=je(ge,["supportSticky","allColumnsFixedLeft"]),Fo=Qo.supportSticky,li=Qo.allColumnsFixedLeft,Ko=Ve(ua,ia,La,xn,Ea,ir),Hr=(0,Ce.Z)(Ko,2),ci=Hr[0],yo=Hr[1],ti={},Jo=typeof ka=="number"&&Fo,Ui=typeof qa=="number"&&Fo;Jo&&(ti.position="sticky",ti.left=ka),Ui&&(ti.position="sticky",ti.right=qa);var Er=(ve=(Pe=(Ue=yo==null?void 0:yo.colSpan)!==null&&Ue!==void 0?Ue:fr.colSpan)!==null&&Pe!==void 0?Pe:Br)!==null&&ve!==void 0?ve:1,pr=($e=(rt=(xt=yo==null?void 0:yo.rowSpan)!==null&&xt!==void 0?xt:fr.rowSpan)!==null&&rt!==void 0?rt:zr)!==null&&$e!==void 0?$e:1,mr=Rt(cr,pr),rr=(0,Ce.Z)(mr,2),Do=rr[0],nr=rr[1],Rr=function(Ei){var Qi;ua&&nr(cr,cr+pr-1),fr==null||(Qi=fr.onMouseEnter)===null||Qi===void 0||Qi.call(fr,Ei)},vo=function(Ei){var Qi;ua&&nr(-1,-1),fr==null||(Qi=fr.onMouseLeave)===null||Qi===void 0||Qi.call(fr,Ei)};if(Er===0||pr===0)return null;var mo=(zt=fr.title)!==null&&zt!==void 0?zt:gn({rowType:_a,ellipsis:It,children:ci}),Ii=We()(io,Mn,(Ft={},(0,pe.Z)(Ft,"".concat(io,"-fix-left"),Jo&&Fo),(0,pe.Z)(Ft,"".concat(io,"-fix-left-first"),za&&Fo),(0,pe.Z)(Ft,"".concat(io,"-fix-left-last"),Na&&Fo),(0,pe.Z)(Ft,"".concat(io,"-fix-left-all"),Na&&li&&Fo),(0,pe.Z)(Ft,"".concat(io,"-fix-right"),Ui&&Fo),(0,pe.Z)(Ft,"".concat(io,"-fix-right-first"),Ka&&Fo),(0,pe.Z)(Ft,"".concat(io,"-fix-right-last"),yr&&Fo),(0,pe.Z)(Ft,"".concat(io,"-ellipsis"),It),(0,pe.Z)(Ft,"".concat(io,"-with-append"),_r),(0,pe.Z)(Ft,"".concat(io,"-fix-sticky"),(Jo||Ui)&&Yr&&Fo),(0,pe.Z)(Ft,"".concat(io,"-row-hover"),!yo&&Do),Ft),fr.className,yo==null?void 0:yo.className),Li={};pa&&(Li.textAlign=pa);var ll=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},ti),fr.style),Li),yo==null?void 0:yo.style),Si=ci;return(0,ye.Z)(Si)==="object"&&!Array.isArray(Si)&&!se.isValidElement(Si)&&(Si=null),It&&(Na||Ka)&&(Si=se.createElement("span",{className:"".concat(io,"-content")},Si)),se.createElement(nn,(0,ze.Z)({},yo,fr,{className:Ii,style:ll,title:mo,scope:Zn,onMouseEnter:Rr,onMouseLeave:vo,colSpan:Er!==1?Er:null,rowSpan:pr!==1?pr:null}),_r,Si)}var $t=se.memo(wt);function Be(me,ve,Pe,Ue,$e,rt){var xt=Pe[me]||{},zt=Pe[ve]||{},Ft,nn;xt.fixed==="left"?Ft=Ue.left[$e==="rtl"?ve:me]:zt.fixed==="right"&&(nn=Ue.right[$e==="rtl"?me:ve]);var xn=!1,It=!1,Zn=!1,Rn=!1,Mn=Pe[ve+1],pa=Pe[me-1],ua=!(rt!=null&&rt.children);if($e==="rtl"){if(Ft!==void 0){var Ea=pa&&pa.fixed==="left";Rn=!Ea&&ua}else if(nn!==void 0){var ia=Mn&&Mn.fixed==="right";Zn=!ia&&ua}}else if(Ft!==void 0){var La=Mn&&Mn.fixed==="left";xn=!La&&ua}else if(nn!==void 0){var ir=pa&&pa.fixed==="right";It=!ir&&ua}return{fixLeft:Ft,fixRight:nn,lastFixLeft:xn,firstFixRight:It,lastFixRight:Zn,firstFixLeft:Rn,isSticky:Ue.isSticky}}var Jt=se.createContext({}),bn=Jt;function Ot(me){var ve=me.className,Pe=me.index,Ue=me.children,$e=me.colSpan,rt=$e===void 0?1:$e,xt=me.rowSpan,zt=me.align,Ft=je(ge,["prefixCls","direction"]),nn=Ft.prefixCls,xn=Ft.direction,It=se.useContext(bn),Zn=It.scrollColumnIndex,Rn=It.stickyOffsets,Mn=It.flattenColumns,pa=It.columns,ua=Pe+rt-1,Ea=ua+1===Zn?rt+1:rt,ia=Be(Pe,Pe+Ea-1,Mn,Rn,xn,pa==null?void 0:pa[Pe]);return se.createElement($t,(0,ze.Z)({className:ve,index:Pe,component:"td",prefixCls:nn,record:null,dataIndex:null,align:zt,colSpan:Ea,rowSpan:xt,render:function(){return Ue}},ia))}var Zt=ne(75931),et=["children"];function Ye(me){var ve=me.children,Pe=(0,Zt.Z)(me,et);return se.createElement("tr",Pe,ve)}function De(me){var ve=me.children;return ve}De.Row=Ye,De.Cell=Ot;var he=De;function tt(me){var ve=me.children,Pe=me.stickyOffsets,Ue=me.flattenColumns,$e=me.columns,rt=je(ge,"prefixCls"),xt=Ue.length-1,zt=Ue[xt],Ft=se.useMemo(function(){return{stickyOffsets:Pe,flattenColumns:Ue,scrollColumnIndex:zt!=null&&zt.scrollbar?xt:null,columns:$e}},[zt,Ue,xt,Pe,$e]);return se.createElement(bn.Provider,{value:Ft},se.createElement("tfoot",{className:"".concat(rt,"-summary")},ve))}var Lt=te(tt),Fe=he,be=ne(70425),Pt=ne(29301),Je=ne(29194),ke=ne(3465),bt=ne(75152),hn=ne(26112);function Tt(me,ve,Pe,Ue,$e,rt,xt){me.push({record:ve,indent:Pe,index:xt});var zt=rt(ve),Ft=$e==null?void 0:$e.has(zt);if(ve&&Array.isArray(ve[Ue])&&Ft)for(var nn=0;nn1?za-1:0),Ka=1;Ka=0;zt-=1){var Ft=ve[zt],nn=Pe&&Pe[zt],xn=nn&&nn[ea];if(Ft||xn||xt){var It=xn||{},Zn=It.columnType,Rn=(0,Zt.Z)(It,Yt);$e.unshift(se.createElement("col",(0,ze.Z)({key:zt,style:{width:Ft}},Rn))),xt=!0}}return se.createElement("colgroup",null,$e)}var In=qt,en=ne(94480),Sa=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function Ca(me,ve){return(0,se.useMemo)(function(){for(var Pe=[],Ue=0;Ue1?"colgroup":"col":null,ellipsis:ua.ellipsis,align:ua.align,component:ua.title?rt:xt,prefixCls:xn,key:Rn[pa]},Ea,{additionalProps:ia,rowType:"header"}))}))}Aa.displayName="HeaderRow";var qe=Aa;function pn(me){var ve=[];function Pe(xt,zt){var Ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ve[Ft]=ve[Ft]||[];var nn=zt,xn=xt.filter(Boolean).map(function(It){var Zn={key:It.key,className:It.className||"",children:It.title,column:It,colStart:nn},Rn=1,Mn=It.children;return Mn&&Mn.length>0&&(Rn=Pe(Mn,nn,Ft+1).reduce(function(pa,ua){return pa+ua},0),Zn.hasSubColumns=!0),"colSpan"in It&&(Rn=It.colSpan),"rowSpan"in It&&(Zn.rowSpan=It.rowSpan),Zn.colSpan=Rn,Zn.colEnd=Zn.colStart+Rn-1,ve[Ft].push(Zn),nn+=Rn,Rn});return xn}Pe(me,0);for(var Ue=ve.length,$e=function(zt){ve[zt].forEach(function(Ft){!("rowSpan"in Ft)&&!Ft.hasSubColumns&&(Ft.rowSpan=Ue-zt)})},rt=0;rt1&&arguments[1]!==void 0?arguments[1]:"";return typeof ve=="number"?ve:ve.endsWith("%")?me*parseFloat(ve)/100:null}function Vn(me,ve){return se.useMemo(function(){if(ve&&ve>0){var Pe=0,Ue=0;me.forEach(function(nn){var xn=Gn(ve,nn.width);xn?Pe+=xn:Ue+=1});var $e=ve-Pe,rt=Ue,xt=$e/Ue,zt=0,Ft=me.map(function(nn){var xn=(0,Ne.Z)({},nn),It=Gn(ve,xn.width);if(It)xn.width=It;else{var Zn=Math.floor(xt);xn.width=rt===1?$e:Zn,$e-=Zn,rt-=1}return zt+=xn.width,xn});return[Ft,zt]}return[me,ve]},[me,ve])}var dt=["children"],Ct=["fixed"];function St(me){return(0,zn.Z)(me).filter(function(ve){return se.isValidElement(ve)}).map(function(ve){var Pe=ve.key,Ue=ve.props,$e=Ue.children,rt=(0,Zt.Z)(Ue,dt),xt=(0,Ne.Z)({key:Pe},rt);return $e&&(xt.children=St($e)),xt})}function mn(me){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return me.filter(function(Pe){return Pe&&(0,ye.Z)(Pe)==="object"}).reduce(function(Pe,Ue,$e){var rt=Ue.fixed,xt=rt===!0?"left":rt,zt="".concat(ve,"-").concat($e),Ft=Ue.children;return Ft&&Ft.length>0?[].concat((0,en.Z)(Pe),(0,en.Z)(mn(Ft,zt).map(function(nn){return(0,Ne.Z)({fixed:xt},nn)}))):[].concat((0,en.Z)(Pe),[(0,Ne.Z)((0,Ne.Z)({key:zt},Ue),{},{fixed:xt})])},[])}function An(me){for(var ve=!0,Pe=0;Pe=0;rt-=1){var xt=me[rt];if($e&&xt.fixed!=="right")$e=!1;else if(!$e&&xt.fixed==="right"){warning(!1,"Index ".concat(rt+1," of `columns` missing `fixed='right'` prop."));break}}}function un(me){return me.map(function(ve){var Pe=ve.fixed,Ue=(0,Zt.Z)(ve,Ct),$e=Pe;return Pe==="left"?$e="right":Pe==="right"&&($e="left"),(0,Ne.Z)({fixed:$e},Ue)})}function $n(me,ve){var Pe=me.prefixCls,Ue=me.columns,$e=me.children,rt=me.expandable,xt=me.expandedKeys,zt=me.columnTitle,Ft=me.getRowKey,nn=me.onTriggerExpand,xn=me.expandIcon,It=me.rowExpandable,Zn=me.expandIconColumnIndex,Rn=me.direction,Mn=me.expandRowByClick,pa=me.columnWidth,ua=me.fixed,Ea=me.scrollWidth,ia=se.useMemo(function(){return Ue||St($e)},[Ue,$e]),La=se.useMemo(function(){if(rt){var qa,za=ia.slice();if(!za.includes(y)){var Na=Zn||0;Na>=0&&za.splice(Na,0,y)}var Ka=za.indexOf(y);za=za.filter(function(fr,Yr){return fr!==y||Yr===Ka});var yr=ia[Ka],_r;(ua==="left"||ua)&&!Zn?_r="left":(ua==="right"||ua)&&Zn===ia.length?_r="right":_r=yr?yr.fixed:null;var Mr=(qa={},(0,pe.Z)(qa,ea,{className:"".concat(Pe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,pe.Z)(qa,"title",zt),(0,pe.Z)(qa,"fixed",_r),(0,pe.Z)(qa,"className","".concat(Pe,"-row-expand-icon-cell")),(0,pe.Z)(qa,"width",pa),(0,pe.Z)(qa,"render",function(Yr,io,Qo){var Fo=Ft(io,Qo),li=xt.has(Fo),Ko=It?It(io):!0,Hr=xn({prefixCls:Pe,expanded:li,expandable:Ko,record:io,onExpand:nn});return Mn?se.createElement("span",{onClick:function(yo){return yo.stopPropagation()}},Hr):Hr}),qa);return za.map(function(fr){return fr===y?Mr:fr})}return ia.filter(function(fr){return fr!==y})},[rt,ia,Ft,xt,xn,Rn]),ir=se.useMemo(function(){var qa=La;return ve&&(qa=ve(qa)),qa.length||(qa=[{render:function(){return null}}]),qa},[ve,La,Rn]),cr=se.useMemo(function(){return Rn==="rtl"?un(mn(ir)):mn(ir)},[ir,Rn,Ea]),_a=Vn(cr,Ea),Br=(0,Ce.Z)(_a,2),zr=Br[0],ka=Br[1];return[ir,zr,ka]}var Kn=$n;function Jn(me){var ve,Pe=me.prefixCls,Ue=me.record,$e=me.onExpand,rt=me.expanded,xt=me.expandable,zt="".concat(Pe,"-row-expand-icon");if(!xt)return se.createElement("span",{className:We()(zt,"".concat(Pe,"-row-spaced"))});var Ft=function(xn){$e(Ue,xn),xn.stopPropagation()};return se.createElement("span",{className:We()(zt,(ve={},(0,pe.Z)(ve,"".concat(Pe,"-row-expanded"),rt),(0,pe.Z)(ve,"".concat(Pe,"-row-collapsed"),!rt),ve)),onClick:Ft})}function ma(me,ve,Pe){var Ue=[];function $e(rt){(rt||[]).forEach(function(xt,zt){Ue.push(ve(xt,zt)),$e(xt[Pe])})}return $e(me),Ue}function Ha(me,ve,Pe){var Ue=Xt(me),$e=Ue.expandIcon,rt=Ue.expandedRowKeys,xt=Ue.defaultExpandedRowKeys,zt=Ue.defaultExpandAllRows,Ft=Ue.expandedRowRender,nn=Ue.onExpand,xn=Ue.onExpandedRowsChange,It=Ue.childrenColumnName,Zn=$e||Jn,Rn=It||"children",Mn=se.useMemo(function(){return Ft?"row":me.expandable&&me.internalHooks===ue&&me.expandable.__PARENT_RENDER_ICON__||ve.some(function(cr){return cr&&(0,ye.Z)(cr)==="object"&&cr[Rn]})?"nest":!1},[!!Ft,ve]),pa=se.useState(function(){return xt||(zt?ma(ve,Pe,Rn):[])}),ua=(0,Ce.Z)(pa,2),Ea=ua[0],ia=ua[1],La=se.useMemo(function(){return new Set(rt||Ea||[])},[rt,Ea]),ir=se.useCallback(function(cr){var _a=Pe(cr,ve.indexOf(cr)),Br,zr=La.has(_a);zr?(La.delete(_a),Br=(0,en.Z)(La)):Br=[].concat((0,en.Z)(La),[_a]),ia(Br),nn&&nn(!zr,cr),xn&&xn(Br)},[Pe,La,ve,nn,xn]);return[Ue,Mn,La,Zn,Rn,ir]}function Bn(me,ve,Pe,Ue){var $e=me.map(function(rt,xt){return Be(xt,xt,me,ve,Pe,Ue==null?void 0:Ue[xt])});return(0,ut.Z)(function(){return $e},[$e],function(rt,xt){return!(0,Ie.Z)(rt,xt)})}function ya(me){var ve=(0,se.useRef)(me),Pe=(0,se.useState)({}),Ue=(0,Ce.Z)(Pe,2),$e=Ue[1],rt=(0,se.useRef)(null),xt=(0,se.useRef)([]);function zt(Ft){xt.current.push(Ft);var nn=Promise.resolve();rt.current=nn,nn.then(function(){if(rt.current===nn){var xn=xt.current,It=ve.current;xt.current=[],xn.forEach(function(Zn){ve.current=Zn(ve.current)}),rt.current=null,It!==ve.current&&$e({})}})}return(0,se.useEffect)(function(){return function(){rt.current=null}},[]),[ve.current,zt]}function Ya(me){var ve=(0,se.useRef)(me||null),Pe=(0,se.useRef)();function Ue(){window.clearTimeout(Pe.current)}function $e(xt){ve.current=xt,Ue(),Pe.current=window.setTimeout(function(){ve.current=null,Pe.current=void 0},100)}function rt(){return ve.current}return(0,se.useEffect)(function(){return Ue},[]),[$e,rt]}function dr(){var me=se.useState(-1),ve=(0,Ce.Z)(me,2),Pe=ve[0],Ue=ve[1],$e=se.useState(-1),rt=(0,Ce.Z)($e,2),xt=rt[0],zt=rt[1],Ft=se.useCallback(function(nn,xn){Ue(nn),zt(xn)},[]);return[Pe,xt,Ft]}var Wn=ne(47273),cn=(0,Wn.Z)()?window:null;function Lr(me,ve){var Pe=(0,ye.Z)(me)==="object"?me:{},Ue=Pe.offsetHeader,$e=Ue===void 0?0:Ue,rt=Pe.offsetSummary,xt=rt===void 0?0:rt,zt=Pe.offsetScroll,Ft=zt===void 0?0:zt,nn=Pe.getContainer,xn=nn===void 0?function(){return cn}:nn,It=xn()||cn;return se.useMemo(function(){var Zn=!!me;return{isSticky:Zn,stickyClassName:Zn?"".concat(ve,"-sticky-holder"):"",offsetHeader:$e,offsetSummary:xt,offsetScroll:Ft,container:It}},[Ft,$e,xt,ve,It])}function Qa(me,ve,Pe){var Ue=(0,se.useMemo)(function(){for(var $e=[],rt=[],xt=0,zt=0,Ft=0;Ft=It&&(fr=It-Zn),xt({scrollLeft:fr/It*(xn+2)}),ia.current.x=Ka.pageX},qa=function(){if(rt.current){var Ka=(0,Zo.os)(rt.current).top,yr=Ka+rt.current.offsetHeight,_r=Ft===window?document.documentElement.scrollTop+window.innerHeight:(0,Zo.os)(Ft).top+Ft.clientHeight;yr-(0,bt.Z)()<=_r||Ka>=_r-zt?Ea(function(Mr){return(0,Ne.Z)((0,Ne.Z)({},Mr),{},{isHiddenScrollBar:!0})}):Ea(function(Mr){return(0,Ne.Z)((0,Ne.Z)({},Mr),{},{isHiddenScrollBar:!1})})}},za=function(Ka){Ea(function(yr){return(0,Ne.Z)((0,Ne.Z)({},yr),{},{scrollLeft:Ka/xn*It||0})})};return se.useImperativeHandle(Pe,function(){return{setScrollLeft:za}}),se.useEffect(function(){var Na=(0,Zr.Z)(document.body,"mouseup",Br,!1),Ka=(0,Zr.Z)(document.body,"mousemove",ka,!1);return qa(),function(){Na.remove(),Ka.remove()}},[Zn,cr]),se.useEffect(function(){var Na=(0,Zr.Z)(Ft,"scroll",qa,!1),Ka=(0,Zr.Z)(window,"resize",qa,!1);return function(){Na.remove(),Ka.remove()}},[Ft]),se.useEffect(function(){ua.isHiddenScrollBar||Ea(function(Na){var Ka=rt.current;return Ka?(0,Ne.Z)((0,Ne.Z)({},Na),{},{scrollLeft:Ka.scrollLeft/Ka.scrollWidth*Ka.clientWidth}):Na})},[ua.isHiddenScrollBar]),xn<=It||!Zn||ua.isHiddenScrollBar?null:se.createElement("div",{style:{height:(0,bt.Z)(),width:It,bottom:zt},className:"".concat(nn,"-sticky-scroll")},se.createElement("div",{onMouseDown:zr,ref:Rn,className:We()("".concat(nn,"-sticky-scroll-bar"),(0,pe.Z)({},"".concat(nn,"-sticky-scroll-bar-active"),cr)),style:{width:"".concat(Zn,"px"),transform:"translate3d(".concat(ua.scrollLeft,"px, 0, 0)")}}))},Vo=se.forwardRef(ho);function Hn(me){return null}var Jr=Hn;function Kr(me){return null}var Vr=Kr,Ja="rc-table",ta=[],Ma={};function $a(){return"No Data"}function xa(me){var ve,Pe=(0,Ne.Z)({rowKey:"key",prefixCls:Ja,emptyText:$a},me),Ue=Pe.prefixCls,$e=Pe.className,rt=Pe.rowClassName,xt=Pe.style,zt=Pe.data,Ft=Pe.rowKey,nn=Pe.scroll,xn=Pe.tableLayout,It=Pe.direction,Zn=Pe.title,Rn=Pe.footer,Mn=Pe.summary,pa=Pe.caption,ua=Pe.id,Ea=Pe.showHeader,ia=Pe.components,La=Pe.emptyText,ir=Pe.onRow,cr=Pe.onHeaderRow,_a=Pe.internalHooks,Br=Pe.transformColumns,zr=Pe.internalRefs,ka=Pe.tailor,qa=Pe.sticky,za=zt||ta,Na=!!za.length,Ka=_a===ue,yr=se.useCallback(function(Co,ai){return(0,Re.Z)(ia,Co)||ai},[ia]),_r=se.useMemo(function(){return typeof Ft=="function"?Ft:function(Co){var ai=Co&&Co[Ft];return ai}},[Ft]),Mr=yr(["body"]),fr=dr(),Yr=(0,Ce.Z)(fr,3),io=Yr[0],Qo=Yr[1],Fo=Yr[2],li=Ha(Pe,za,_r),Ko=(0,Ce.Z)(li,6),Hr=Ko[0],ci=Ko[1],yo=Ko[2],ti=Ko[3],Jo=Ko[4],Ui=Ko[5],Er=nn==null?void 0:nn.x,pr=se.useState(0),mr=(0,Ce.Z)(pr,2),rr=mr[0],Do=mr[1],nr=Kn((0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},Pe),Hr),{},{expandable:!!Hr.expandedRowRender,columnTitle:Hr.columnTitle,expandedKeys:yo,getRowKey:_r,onTriggerExpand:Ui,expandIcon:ti,expandIconColumnIndex:Hr.expandIconColumnIndex,direction:It,scrollWidth:Ka&&ka&&typeof Er=="number"?Er:null}),Ka?Br:null),Rr=(0,Ce.Z)(nr,3),vo=Rr[0],mo=Rr[1],Ii=Rr[2],Li=Ii!=null?Ii:Er,ll=se.useMemo(function(){return{columns:vo,flattenColumns:mo}},[vo,mo]),Si=se.useRef(),dl=se.useRef(),Ei=se.useRef(),Qi=se.useRef(),kl=se.useRef(),ko=se.useState(!1),zo=(0,Ce.Z)(ko,2),_o=zo[0],ri=zo[1],gi=se.useState(!1),lo=(0,Ce.Z)(gi,2),Ti=lo[0],ki=lo[1],Mi=ya(new Map),El=(0,Ce.Z)(Mi,2),ml=El[0],Zi=El[1],fl=ht(mo),sl=fl.map(function(Co){return ml.get(Co)}),Ji=se.useMemo(function(){return sl},[sl.join("_")]),ji=Or(Ji,mo.length,It),si=nn&&Ht(nn.y),ni=nn&&Ht(Li)||!!Hr.fixed,Pl=ni&&mo.some(function(Co){var ai=Co.fixed;return ai}),Zl=se.useRef(),Bl=Lr(qa,Ue),cl=Bl.isSticky,Fl=Bl.offsetHeader,fs=Bl.offsetSummary,bo=Bl.offsetScroll,Xo=Bl.stickyClassName,Ni=Bl.container,oi=se.useMemo(function(){return Mn==null?void 0:Mn(za)},[Mn,za]),zi=(si||cl)&&se.isValidElement(oi)&&oi.type===he&&oi.props.fixed,Hi,Xi,bl;si&&(Xi={overflowY:"scroll",maxHeight:nn.y}),ni&&(Hi={overflowX:"auto"},si||(Xi={overflowY:"hidden"}),bl={width:Li===!0?"auto":Li,minWidth:"100%"});var _l=se.useCallback(function(Co,ai){(0,Je.Z)(Si.current)&&Zi(function(gl){if(gl.get(Co)!==ai){var wl=new Map(gl);return wl.set(Co,ai),wl}return gl})},[]),Qs=Ya(null),ws=(0,Ce.Z)(Qs,2),Ds=ws[0],Is=ws[1];function as(Co,ai){ai&&(typeof ai=="function"?ai(Co):ai.scrollLeft!==Co&&(ai.scrollLeft=Co,ai.scrollLeft!==Co&&setTimeout(function(){ai.scrollLeft=Co},0)))}var Yl=(0,Oe.Z)(function(Co){var ai=Co.currentTarget,gl=Co.scrollLeft,wl=It==="rtl",Dl=typeof gl=="number"?gl:ai.scrollLeft,cs=ai||Ma;if(!Is()||Is()===cs){var Ps;Ds(cs),as(Dl,dl.current),as(Dl,Ei.current),as(Dl,kl.current),as(Dl,(Ps=Zl.current)===null||Ps===void 0?void 0:Ps.setScrollLeft)}var ys=ai||dl.current;if(ys){var bs=ys.scrollWidth,Cs=ys.clientWidth;if(bs===Cs){ri(!1),ki(!1);return}wl?(ri(-Dl0)):(ri(Dl>0),ki(Dl1?pa-Ka:0,_r=(0,Ne.Z)((0,Ne.Z)((0,Ne.Z)({},Br),Ft),{},{flex:"0 0 ".concat(Ka,"px"),width:"".concat(Ka,"px"),marginRight:yr,pointerEvents:"auto"}),Mr=se.useMemo(function(){return xn?za<=1:ka===0||za===0||za>1},[za,ka,xn]);Mr?_r.visibility="hidden":xn&&(_r.height=It==null?void 0:It(za));var fr=Mr?function(){return null}:Zn,Yr={};return(za===0||ka===0)&&(Yr.rowSpan=1,Yr.colSpan=1),se.createElement($t,(0,ze.Z)({className:We()(Mn,nn),ellipsis:Pe.ellipsis,align:Pe.align,scope:Pe.rowScope,component:"div",prefixCls:ve.prefixCls,key:La,record:zt,index:rt,renderIndex:xt,dataIndex:Rn,render:fr,shouldCellUpdate:Pe.shouldCellUpdate},ir,{appendNode:cr,additionalProps:(0,Ne.Z)((0,Ne.Z)({},_a),{},{style:_r},Yr)}))}var Io=al,ba=["data","index","className","rowKey","style","extra","getHeight"],Go=se.forwardRef(function(me,ve){var Pe=me.data,Ue=me.index,$e=me.className,rt=me.rowKey,xt=me.style,zt=me.extra,Ft=me.getHeight,nn=(0,Zt.Z)(me,ba),xn=Pe.record,It=Pe.indent,Zn=Pe.index,Rn=je(ge,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Mn=Rn.scrollX,pa=Rn.flattenColumns,ua=Rn.prefixCls,Ea=Rn.fixColumn,ia=Rn.componentWidth,La=Te(xn,rt,Ue,It),ir=La.rowSupportExpand,cr=La.expanded,_a=La.rowProps,Br=La.expandedRowRender,zr=La.expandedRowClassName,ka;if(ir&&cr){var qa=Br(xn,Ue,It+1,cr),za=zr==null?void 0:zr(xn,Ue,It),Na={};Ea&&(Na={style:(0,pe.Z)({},"--virtual-width","".concat(ia,"px"))});var Ka="".concat(ua,"-expanded-row-cell");ka=se.createElement("div",{className:We()("".concat(ua,"-expanded-row"),"".concat(ua,"-expanded-row-level-").concat(It+1),za)},se.createElement($t,{component:"div",prefixCls:ua,className:We()(Ka,(0,pe.Z)({},"".concat(Ka,"-fixed"),Ea)),additionalProps:Na},qa))}var yr=(0,Ne.Z)((0,Ne.Z)({},xt),{},{width:Mn});zt&&(yr.position="absolute",yr.pointerEvents="none");var _r=se.createElement("div",(0,ze.Z)({},_a,nn,{ref:ir?null:ve,className:We()($e,"".concat(ua,"-row"),_a==null?void 0:_a.className,(0,pe.Z)({},"".concat(ua,"-row-extra"),zt)),style:(0,Ne.Z)((0,Ne.Z)({},yr),_a==null?void 0:_a.style)}),pa.map(function(Mr,fr){return se.createElement(Io,{key:fr,rowInfo:La,column:Mr,colIndex:fr,indent:It,index:Ue,renderIndex:Zn,record:xn,inverse:zt,getHeight:Ft})}));return ir?se.createElement("div",{ref:ve},_r,ka):_r}),To=te(Go),jo=To,So=se.forwardRef(function(me,ve){var Pe=me.data,Ue=me.onScroll,$e=je(ge,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),rt=$e.flattenColumns,xt=$e.onColumnResize,zt=$e.getRowKey,Ft=$e.expandedKeys,nn=$e.prefixCls,xn=$e.childrenColumnName,It=$e.emptyNode,Zn=$e.scrollX,Rn=je(Ro),Mn=Rn.scrollY,pa=Rn.listItemHeight,ua=se.useRef(),Ea=ln(Pe,xn,Ft,zt),ia=se.useMemo(function(){var ka=0;return rt.map(function(qa){var za=qa.width,Na=qa.key;return ka+=za,[Na,za,ka]})},[rt]),La=se.useMemo(function(){return ia.map(function(ka){return ka[2]})},[ia]);se.useEffect(function(){ia.forEach(function(ka){var qa=(0,Ce.Z)(ka,2),za=qa[0],Na=qa[1];xt(za,Na)})},[ia]),se.useImperativeHandle(ve,function(){var ka={};return Object.defineProperty(ka,"scrollLeft",{get:function(){var za;return((za=ua.current)===null||za===void 0?void 0:za.getScrollInfo().x)||0},set:function(za){var Na;(Na=ua.current)===null||Na===void 0||Na.scrollTo({left:za})}}),ka});var ir=function(qa,za){var Na,Ka=(Na=Ea[za])===null||Na===void 0?void 0:Na.record,yr=qa.onCell;if(yr){var _r,Mr=yr(Ka,za);return(_r=Mr==null?void 0:Mr.rowSpan)!==null&&_r!==void 0?_r:1}return 1},cr=function(qa){var za=qa.start,Na=qa.end,Ka=qa.getSize,yr=qa.offsetY;if(Na<0)return null;for(var _r=rt.filter(function(Er){return ir(Er,za)===0}),Mr=za,fr=function(pr){if(_r=_r.filter(function(mr){return ir(mr,pr)===0}),!_r.length)return Mr=pr,"break"},Yr=za;Yr>=0;Yr-=1){var io=fr(Yr);if(io==="break")break}for(var Qo=rt.filter(function(Er){return ir(Er,Na)!==1}),Fo=Na,li=function(pr){if(Qo=Qo.filter(function(mr){return ir(mr,pr)!==1}),!Qo.length)return Fo=Math.max(pr-1,Na),"break"},Ko=Na;Ko1})&&ci.push(pr)},ti=Mr;ti<=Fo;ti+=1)var Jo=yo(ti);var Ui=ci.map(function(Er){var pr=Ea[Er],mr=zt(pr.record,Er),rr=function(Rr){var vo=Er+Rr-1,mo=zt(Ea[vo].record,vo),Ii=Ka(mr,mo);return Ii.bottom-Ii.top},Do=Ka(mr);return se.createElement(jo,{key:Er,data:pr,rowKey:mr,index:Er,style:{top:-yr+Do.top},extra:!0,getHeight:rr})});return Ui},_a=se.useMemo(function(){return{columnsOffset:La}},[La]),Br="".concat(nn,"-tbody"),zr;return Ea.length?zr=se.createElement(ao.Z,{fullHeight:!1,ref:ua,className:We()(Br,"".concat(Br,"-virtual")),height:Mn,itemHeight:pa||24,data:Ea,itemKey:function(qa){return zt(qa.record)},scrollWidth:Zn,onVirtualScroll:function(qa){var za=qa.x;Ue({scrollLeft:za})},extraRender:cr},function(ka,qa,za){var Na=zt(ka.record,qa);return se.createElement(jo,(0,ze.Z)({data:ka,rowKey:Na,index:qa},za))}):zr=se.createElement("div",{className:We()("".concat(nn,"-placeholder"))},se.createElement($t,{component:"div",prefixCls:nn},It)),se.createElement(mi.Provider,{value:_a},zr)}),ii=te(So),ui=ii,fi=function(ve,Pe){var Ue=Pe.ref,$e=Pe.onScroll;return se.createElement(ui,{ref:Ue,data:ve,onScroll:$e})},qo=100;function Ai(me){var ve=me.columns,Pe=me.scroll,Ue=me.prefixCls,$e=Ue===void 0?Ja:Ue,rt=me.className,xt=me.listItemHeight,zt=Pe||{},Ft=zt.x,nn=zt.y;typeof Ft!="number"&&(Ft=((ve||[]).length+1)*qo),typeof nn!="number"&&(nn=500);var xn=se.useMemo(function(){return{scrollY:nn,listItemHeight:xt}},[nn,xt]);return se.createElement(Ro.Provider,{value:xn},se.createElement(xo,(0,ze.Z)({},me,{className:We()(rt,"".concat($e,"-virtual")),scroll:(0,Ne.Z)((0,Ne.Z)({},Pe),{},{x:Ft}),components:{body:fi},columns:ve,internalHooks:ue,tailor:!0})))}function to(me){return z(Ai,me)}var Bi=to(),wi=null;function Lo(me){return null}var Gi=Lo;function pi(me){return null}var el=pi,Oi=ne(2738),Yi=ne(68031),di=ne(36355),rl=ne(93891),vl=ne(19716),ol=ne(8628),no=ne(31724),Wi=ne(58421),Va=ne(71418),ga=ne(88088);function da(me){return function(Pe){let{prefixCls:Ue,onExpand:$e,record:rt,expanded:xt,expandable:zt}=Pe;const Ft=`${Ue}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:nn=>{$e(rt,nn),nn.stopPropagation()},className:We()(Ft,{[`${Ft}-spaced`]:!zt,[`${Ft}-expanded`]:zt&&xt,[`${Ft}-collapsed`]:zt&&!xt}),"aria-label":xt?me.collapse:me.expand,"aria-expanded":xt})}}var wa=da;function Nr(me,ve){return"key"in me&&me.key!==void 0&&me.key!==null?me.key:me.dataIndex?Array.isArray(me.dataIndex)?me.dataIndex.join("."):me.dataIndex:ve}function Gr(me,ve){return ve?`${ve}-${me}`:`${me}`}function No(me,ve){return typeof me=="function"?me(ve):me}function Ao(me,ve){const Pe=No(me,ve);return Object.prototype.toString.call(Pe)==="[object Object]"?"":Pe}var Yo={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Fa=Yo,Pi=ne(7657),$o=function(ve,Pe){return se.createElement(Pi.Z,(0,ze.Z)({},ve,{ref:Pe,icon:Fa}))},Di=se.forwardRef($o),vi=Di,tl=ne(56762);function nl(me){const ve=se.useRef(me),Pe=(0,tl.Z)();return[()=>ve.current,Ue=>{ve.current=Ue,Pe()}]}var Ki=ne(3113),Vt=ne(24905),Qt=ne(38854),rn=ne(64165),ra=ne(20834),Ga=ne(40875),or=ne(5112),On=ne(17574),Wa=ne(47472),er=ne(92832);function Pr(me){let{value:ve,onChange:Pe,filterSearch:Ue,tablePrefixCls:$e,locale:rt}=me;return Ue?se.createElement("div",{className:`${$e}-filter-dropdown-search`},se.createElement(er.default,{prefix:se.createElement(Wa.Z,null),placeholder:rt.filterSearchPlaceholder,onChange:Pe,value:ve,htmlSize:1,className:`${$e}-filter-dropdown-search-input`})):null}var ro=Pr,Qn=ne(10228);const jr=me=>{const{keyCode:ve}=me;ve===Qn.Z.ENTER&&me.stopPropagation()};var Oo=se.forwardRef((me,ve)=>se.createElement("div",{className:me.className,onClick:Pe=>Pe.stopPropagation(),onKeyDown:jr,ref:ve},me.children));function ar(me){let ve=[];return(me||[]).forEach(Pe=>{let{value:Ue,children:$e}=Pe;ve.push(Ue),$e&&(ve=[].concat((0,en.Z)(ve),(0,en.Z)(ar($e))))}),ve}function sr(me){return me.some(ve=>{let{children:Pe}=ve;return Pe})}function Bo(me,ve){return typeof ve=="string"||typeof ve=="number"?ve==null?void 0:ve.toString().toLowerCase().includes(me.trim().toLowerCase()):!1}function qr(me){let{filters:ve,prefixCls:Pe,filteredKeys:Ue,filterMultiple:$e,searchValue:rt,filterSearch:xt}=me;return ve.map((zt,Ft)=>{const nn=String(zt.value);if(zt.children)return{key:nn||Ft,label:zt.text,popupClassName:`${Pe}-dropdown-submenu`,children:qr({filters:zt.children,prefixCls:Pe,filteredKeys:Ue,filterMultiple:$e,searchValue:rt,filterSearch:xt})};const xn=$e?Vt.default:or.ZP,It={key:zt.value!==void 0?nn:Ft,label:se.createElement(se.Fragment,null,se.createElement(xn,{checked:Ue.includes(nn)}),se.createElement("span",null,zt.text))};return rt.trim()?typeof xt=="function"?xt(rt,zt)?It:null:Bo(rt,zt.text)?It:null:It})}function ct(me){var ve,Pe;const{tablePrefixCls:Ue,prefixCls:$e,column:rt,dropdownPrefixCls:xt,columnKey:zt,filterMultiple:Ft,filterMode:nn="menu",filterSearch:xn=!1,filterState:It,triggerFilter:Zn,locale:Rn,children:Mn,getPopupContainer:pa}=me,{filterDropdownOpen:ua,onFilterDropdownOpenChange:Ea,filterResetToDefaultFilteredValue:ia,defaultFilteredValue:La,filterDropdownVisible:ir,onFilterDropdownVisibleChange:cr}=rt,[_a,Br]=se.useState(!1),zr=!!(It&&(!((ve=It.filteredKeys)===null||ve===void 0)&&ve.length||It.forceFiltered)),ka=nr=>{Br(nr),Ea==null||Ea(nr),cr==null||cr(nr)},qa=(Pe=ua!=null?ua:ir)!==null&&Pe!==void 0?Pe:_a,za=It==null?void 0:It.filteredKeys,[Na,Ka]=nl(za||[]),yr=nr=>{let{selectedKeys:Rr}=nr;Ka(Rr)},_r=(nr,Rr)=>{let{node:vo,checked:mo}=Rr;yr(Ft?{selectedKeys:nr}:{selectedKeys:mo&&vo.key?[vo.key]:[]})};se.useEffect(()=>{_a&&yr({selectedKeys:za||[]})},[za]);const[Mr,fr]=se.useState([]),Yr=nr=>{fr(nr)},[io,Qo]=se.useState(""),Fo=nr=>{const{value:Rr}=nr.target;Qo(Rr)};se.useEffect(()=>{_a||Qo("")},[_a]);const li=nr=>{const Rr=nr&&nr.length?nr:null;if(Rr===null&&(!It||!It.filteredKeys)||(0,Ie.Z)(Rr,It==null?void 0:It.filteredKeys,!0))return null;Zn({column:rt,key:zt,filteredKeys:Rr})},Ko=()=>{ka(!1),li(Na())},Hr=function(){let{confirm:nr,closeDropdown:Rr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};nr&&li([]),Rr&&ka(!1),Qo(""),Ka(ia?(La||[]).map(vo=>String(vo)):[])},ci=function(){let{closeDropdown:nr}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};nr&&ka(!1),li(Na())},yo=nr=>{nr&&za!==void 0&&Ka(za||[]),ka(nr),!nr&&!rt.filterDropdown&&Ko()},ti=We()({[`${xt}-menu-without-submenu`]:!sr(rt.filters||[])}),Jo=nr=>{if(nr.target.checked){const Rr=ar(rt==null?void 0:rt.filters).map(vo=>String(vo));Ka(Rr)}else Ka([])},Ui=nr=>{let{filters:Rr}=nr;return(Rr||[]).map((vo,mo)=>{const Ii=String(vo.value),Li={title:vo.text,key:vo.value!==void 0?Ii:mo};return vo.children&&(Li.children=Ui({filters:vo.children})),Li})},Er=nr=>{var Rr;return Object.assign(Object.assign({},nr),{text:nr.title,value:nr.key,children:((Rr=nr.children)===null||Rr===void 0?void 0:Rr.map(vo=>Er(vo)))||[]})};let pr;if(typeof rt.filterDropdown=="function")pr=rt.filterDropdown({prefixCls:`${xt}-custom`,setSelectedKeys:nr=>yr({selectedKeys:nr}),selectedKeys:Na(),confirm:ci,clearFilters:Hr,filters:rt.filters,visible:qa,close:()=>{ka(!1)}});else if(rt.filterDropdown)pr=rt.filterDropdown;else{const nr=Na()||[],Rr=()=>(rt.filters||[]).length===0?se.createElement(rn.Z,{image:rn.Z.PRESENTED_IMAGE_SIMPLE,description:Rn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):nn==="tree"?se.createElement(se.Fragment,null,se.createElement(ro,{filterSearch:xn,value:io,onChange:Fo,tablePrefixCls:Ue,locale:Rn}),se.createElement("div",{className:`${Ue}-filter-dropdown-tree`},Ft?se.createElement(Vt.default,{checked:nr.length===ar(rt.filters).length,indeterminate:nr.length>0&&nr.lengthtypeof xn=="function"?xn(io,Er(mo)):Bo(io,mo.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(ro,{filterSearch:xn,value:io,onChange:Fo,tablePrefixCls:Ue,locale:Rn}),se.createElement(ra.default,{selectable:!0,multiple:Ft,prefixCls:`${xt}-menu`,className:ti,onSelect:yr,onDeselect:yr,selectedKeys:nr,getPopupContainer:pa,openKeys:Mr,onOpenChange:Yr,items:qr({filters:rt.filters||[],filterSearch:xn,prefixCls:$e,filteredKeys:Na(),filterMultiple:Ft,searchValue:io})})),vo=()=>ia?(0,Ie.Z)((La||[]).map(mo=>String(mo)),nr,!0):nr.length===0;pr=se.createElement(se.Fragment,null,Rr(),se.createElement("div",{className:`${$e}-dropdown-btns`},se.createElement(Ki.ZP,{type:"link",size:"small",disabled:vo(),onClick:()=>Hr()},Rn.filterReset),se.createElement(Ki.ZP,{type:"primary",size:"small",onClick:Ko},Rn.filterConfirm)))}rt.filterDropdown&&(pr=se.createElement(Ga.J,{selectable:void 0},pr));const mr=()=>se.createElement(Oo,{className:`${$e}-dropdown`},pr);let rr;typeof rt.filterIcon=="function"?rr=rt.filterIcon(zr):rt.filterIcon?rr=rt.filterIcon:rr=se.createElement(vi,null);const{direction:Do}=se.useContext(di.E_);return se.createElement("div",{className:`${$e}-column`},se.createElement("span",{className:`${Ue}-column-title`},Mn),se.createElement(Qt.Z,{dropdownRender:mr,trigger:["click"],open:qa,onOpenChange:yo,getPopupContainer:pa,placement:Do==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:We()(`${$e}-trigger`,{active:zr}),onClick:nr=>{nr.stopPropagation()}},rr)))}var pt=ct;function Gt(me,ve,Pe){let Ue=[];return(me||[]).forEach(($e,rt)=>{var xt;const zt=Gr(rt,Pe);if($e.filters||"filterDropdown"in $e||"onFilter"in $e)if("filteredValue"in $e){let Ft=$e.filteredValue;"filterDropdown"in $e||(Ft=(xt=Ft==null?void 0:Ft.map(String))!==null&&xt!==void 0?xt:Ft),Ue.push({column:$e,key:Nr($e,zt),filteredKeys:Ft,forceFiltered:$e.filtered})}else Ue.push({column:$e,key:Nr($e,zt),filteredKeys:ve&&$e.defaultFilteredValue?$e.defaultFilteredValue:void 0,forceFiltered:$e.filtered});"children"in $e&&(Ue=[].concat((0,en.Z)(Ue),(0,en.Z)(Gt($e.children,ve,zt))))}),Ue}function sa(me,ve,Pe,Ue,$e,rt,xt,zt){return Pe.map((Ft,nn)=>{const xn=Gr(nn,zt),{filterMultiple:It=!0,filterMode:Zn,filterSearch:Rn}=Ft;let Mn=Ft;if(Mn.filters||Mn.filterDropdown){const pa=Nr(Mn,xn),ua=Ue.find(Ea=>{let{key:ia}=Ea;return pa===ia});Mn=Object.assign(Object.assign({},Mn),{title:Ea=>se.createElement(pt,{tablePrefixCls:me,prefixCls:`${me}-filter`,dropdownPrefixCls:ve,column:Mn,columnKey:pa,filterState:ua,filterMultiple:It,filterMode:Zn,filterSearch:Rn,triggerFilter:rt,locale:$e,getPopupContainer:xt},No(Ft.title,Ea))})}return"children"in Mn&&(Mn=Object.assign(Object.assign({},Mn),{children:sa(me,ve,Mn.children,Ue,$e,rt,xt,xn)})),Mn})}function Ut(me){const ve={};return me.forEach(Pe=>{let{key:Ue,filteredKeys:$e,column:rt}=Pe;const{filters:xt,filterDropdown:zt}=rt;if(zt)ve[Ue]=$e||null;else if(Array.isArray($e)){const Ft=ar(xt);ve[Ue]=Ft.filter(nn=>$e.includes(String(nn)))}else ve[Ue]=null}),ve}function Sn(me,ve){return ve.reduce((Pe,Ue)=>{const{column:{onFilter:$e,filters:rt},filteredKeys:xt}=Ue;return $e&&xt&&xt.length?Pe.filter(zt=>xt.some(Ft=>{const nn=ar(rt),xn=nn.findIndex(Zn=>String(Zn)===String(Ft)),It=xn!==-1?nn[xn]:Ft;return $e(It,zt)})):Pe},me)}const on=me=>me.flatMap(ve=>"children"in ve?[ve].concat((0,en.Z)(on(ve.children||[]))):[ve]);function wn(me){let{prefixCls:ve,dropdownPrefixCls:Pe,mergedColumns:Ue,onFilterChange:$e,getPopupContainer:rt,locale:xt}=me;const zt=se.useMemo(()=>on(Ue||[]),[Ue]),[Ft,nn]=se.useState(()=>Gt(zt,!0)),xn=se.useMemo(()=>{const Mn=Gt(zt,!1);if(Mn.length===0)return Mn;let pa=!0,ua=!0;if(Mn.forEach(Ea=>{let{filteredKeys:ia}=Ea;ia!==void 0?pa=!1:ua=!1}),pa){const Ea=(zt||[]).map((ia,La)=>Nr(ia,Gr(La)));return Ft.filter(ia=>{let{key:La}=ia;return Ea.includes(La)}).map(ia=>{const La=zt[Ea.findIndex(ir=>ir===ia.key)];return Object.assign(Object.assign({},ia),{column:Object.assign(Object.assign({},ia.column),La),forceFiltered:La.filtered})})}return Mn},[zt,Ft]),It=se.useMemo(()=>Ut(xn),[xn]),Zn=Mn=>{const pa=xn.filter(ua=>{let{key:Ea}=ua;return Ea!==Mn.key});pa.push(Mn),nn(pa),$e(Ut(pa),pa)};return[Mn=>sa(ve,Pe,Mn,xn,xt,Zn,rt),xn,It]}var Mt=wn;function _n(me,ve,Pe){const Ue=se.useRef({});function $e(rt){if(!Ue.current||Ue.current.data!==me||Ue.current.childrenColumnName!==ve||Ue.current.getRowKey!==Pe){let zt=function(Ft){Ft.forEach((nn,xn)=>{const It=Pe(nn,xn);xt.set(It,nn),nn&&typeof nn=="object"&&ve in nn&&zt(nn[ve]||[])})};const xt=new Map;zt(me),Ue.current={data:me,childrenColumnName:ve,kvMap:xt,getRowKey:Pe}}return Ue.current.kvMap.get(rt)}return[$e]}var oa=ne(50371),na=function(me,ve){var Pe={};for(var Ue in me)Object.prototype.hasOwnProperty.call(me,Ue)&&ve.indexOf(Ue)<0&&(Pe[Ue]=me[Ue]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $e=0,Ue=Object.getOwnPropertySymbols(me);$e{const rt=me[$e];typeof rt!="function"&&(Pe[$e]=rt)}),Pe}function co(me,ve,Pe){const Ue=Pe&&typeof Pe=="object"?Pe:{},{total:$e=0}=Ue,rt=na(Ue,["total"]),[xt,zt]=(0,se.useState)(()=>({current:"defaultCurrent"in rt?rt.defaultCurrent:1,pageSize:"defaultPageSize"in rt?rt.defaultPageSize:wr})),Ft=(0,oa.Z)(xt,rt,{total:$e>0?$e:me}),nn=Math.ceil(($e||me)/Ft.pageSize);Ft.current>nn&&(Ft.current=nn||1);const xn=(Zn,Rn)=>{zt({current:Zn!=null?Zn:1,pageSize:Rn||Ft.pageSize})},It=(Zn,Rn)=>{var Mn;Pe&&((Mn=Pe.onChange)===null||Mn===void 0||Mn.call(Pe,Zn,Rn)),xn(Zn,Rn),ve(Zn,Rn||(Ft==null?void 0:Ft.pageSize))};return Pe===!1?[{},()=>{}]:[Object.assign(Object.assign({},Ft),{onChange:It}),xn]}var hr=co,Za=ne(84105),Pa=ne(35654),Yn=ne(90782),Cr=ne(71430),Dr=ne(18929);const Ur={},Eo="SELECT_ALL",xr="SELECT_INVERT",oo="SELECT_NONE",Ar=[],Ra=(me,ve)=>{let Pe=[];return(ve||[]).forEach(Ue=>{Pe.push(Ue),Ue&&typeof Ue=="object"&&me in Ue&&(Pe=[].concat((0,en.Z)(Pe),(0,en.Z)(Ra(me,Ue[me]))))}),Pe};var fo=(me,ve)=>{const{preserveSelectedRowKeys:Pe,selectedRowKeys:Ue,defaultSelectedRowKeys:$e,getCheckboxProps:rt,onChange:xt,onSelect:zt,onSelectAll:Ft,onSelectInvert:nn,onSelectNone:xn,onSelectMultiple:It,columnWidth:Zn,type:Rn,selections:Mn,fixed:pa,renderCell:ua,hideSelectAll:Ea,checkStrictly:ia=!0}=ve||{},{prefixCls:La,data:ir,pageData:cr,getRecordByKey:_a,getRowKey:Br,expandType:zr,childrenColumnName:ka,locale:qa,getPopupContainer:za}=me,[Na,Ka]=(0,Dr.Z)(Ue||$e||Ar,{value:Ue}),yr=se.useRef(new Map),_r=(0,se.useCallback)(Er=>{if(Pe){const pr=new Map;Er.forEach(mr=>{let rr=_a(mr);!rr&&yr.current.has(mr)&&(rr=yr.current.get(mr)),pr.set(mr,rr)}),yr.current=pr}},[_a,Pe]);se.useEffect(()=>{_r(Na)},[Na]);const{keyEntities:Mr}=(0,se.useMemo)(()=>{if(ia)return{keyEntities:null};let Er=ir;if(Pe){const pr=new Set(ir.map((rr,Do)=>Br(rr,Do))),mr=Array.from(yr.current).reduce((rr,Do)=>{let[nr,Rr]=Do;return pr.has(nr)?rr:rr.concat(Rr)},[]);Er=[].concat((0,en.Z)(Er),(0,en.Z)(mr))}return(0,Cr.I8)(Er,{externalGetKey:Br,childrenPropName:ka})},[ir,Br,ia,ka,Pe]),fr=(0,se.useMemo)(()=>Ra(ka,cr),[ka,cr]),Yr=(0,se.useMemo)(()=>{const Er=new Map;return fr.forEach((pr,mr)=>{const rr=Br(pr,mr),Do=(rt?rt(pr):null)||{};Er.set(rr,Do)}),Er},[fr,Br,rt]),io=(0,se.useCallback)(Er=>{var pr;return!!(!((pr=Yr.get(Br(Er)))===null||pr===void 0)&&pr.disabled)},[Yr,Br]),[Qo,Fo]=(0,se.useMemo)(()=>{if(ia)return[Na||[],[]];const{checkedKeys:Er,halfCheckedKeys:pr}=(0,Yn.S)(Na,!0,Mr,io);return[Er||[],pr]},[Na,ia,Mr,io]),li=(0,se.useMemo)(()=>{const Er=Rn==="radio"?Qo.slice(0,1):Qo;return new Set(Er)},[Qo,Rn]),Ko=(0,se.useMemo)(()=>Rn==="radio"?new Set:new Set(Fo),[Fo,Rn]),[Hr,ci]=(0,se.useState)(null);se.useEffect(()=>{ve||Ka(Ar)},[!!ve]);const yo=(0,se.useCallback)((Er,pr)=>{let mr,rr;_r(Er),Pe?(mr=Er,rr=Er.map(Do=>yr.current.get(Do))):(mr=[],rr=[],Er.forEach(Do=>{const nr=_a(Do);nr!==void 0&&(mr.push(Do),rr.push(nr))})),Ka(mr),xt==null||xt(mr,rr,{type:pr})},[Ka,_a,xt,Pe]),ti=(0,se.useCallback)((Er,pr,mr,rr)=>{if(zt){const Do=mr.map(nr=>_a(nr));zt(_a(Er),pr,Do,rr)}yo(mr,"single")},[zt,_a,yo]),Jo=(0,se.useMemo)(()=>!Mn||Ea?null:(Mn===!0?[Eo,xr,oo]:Mn).map(pr=>pr===Eo?{key:"all",text:qa.selectionAll,onSelect(){yo(ir.map((mr,rr)=>Br(mr,rr)).filter(mr=>{const rr=Yr.get(mr);return!(rr!=null&&rr.disabled)||li.has(mr)}),"all")}}:pr===xr?{key:"invert",text:qa.selectInvert,onSelect(){const mr=new Set(li);cr.forEach((Do,nr)=>{const Rr=Br(Do,nr),vo=Yr.get(Rr);vo!=null&&vo.disabled||(mr.has(Rr)?mr.delete(Rr):mr.add(Rr))});const rr=Array.from(mr);nn&&nn(rr),yo(rr,"invert")}}:pr===oo?{key:"none",text:qa.selectNone,onSelect(){xn==null||xn(),yo(Array.from(li).filter(mr=>{const rr=Yr.get(mr);return rr==null?void 0:rr.disabled}),"none")}}:pr).map(pr=>Object.assign(Object.assign({},pr),{onSelect:function(){for(var mr,rr,Do=arguments.length,nr=new Array(Do),Rr=0;Rr{var pr;if(!ve)return Er.filter(ko=>ko!==Ur);let mr=(0,en.Z)(Er);const rr=new Set(li),Do=fr.map(Br).filter(ko=>!Yr.get(ko).disabled),nr=Do.every(ko=>rr.has(ko)),Rr=Do.some(ko=>rr.has(ko)),vo=()=>{const ko=[];nr?Do.forEach(_o=>{rr.delete(_o),ko.push(_o)}):Do.forEach(_o=>{rr.has(_o)||(rr.add(_o),ko.push(_o))});const zo=Array.from(rr);Ft==null||Ft(!nr,zo.map(_o=>_a(_o)),ko.map(_o=>_a(_o))),yo(zo,"all"),ci(null)};let mo;if(Rn!=="radio"){let ko;if(Jo){const lo={getPopupContainer:za,items:Jo.map((Ti,ki)=>{const{key:Mi,text:El,onSelect:ml}=Ti;return{key:Mi!=null?Mi:ki,onClick:()=>{ml==null||ml(Do)},label:El}})};ko=se.createElement("div",{className:`${La}-selection-extra`},se.createElement(Qt.Z,{menu:lo,getPopupContainer:za},se.createElement("span",null,se.createElement(Za.Z,null))))}const zo=fr.map((lo,Ti)=>{const ki=Br(lo,Ti),Mi=Yr.get(ki)||{};return Object.assign({checked:rr.has(ki)},Mi)}).filter(lo=>{let{disabled:Ti}=lo;return Ti}),_o=!!zo.length&&zo.length===fr.length,ri=_o&&zo.every(lo=>{let{checked:Ti}=lo;return Ti}),gi=_o&&zo.some(lo=>{let{checked:Ti}=lo;return Ti});mo=!Ea&&se.createElement("div",{className:`${La}-selection`},se.createElement(Vt.default,{checked:_o?ri:!!fr.length&&nr,indeterminate:_o?!ri&&gi:!nr&&Rr,onChange:vo,disabled:fr.length===0||_o,"aria-label":ko?"Custom selection":"Select all",skipGroup:!0}),ko)}let Ii;Rn==="radio"?Ii=(ko,zo,_o)=>{const ri=Br(zo,_o),gi=rr.has(ri);return{node:se.createElement(or.ZP,Object.assign({},Yr.get(ri),{checked:gi,onClick:lo=>lo.stopPropagation(),onChange:lo=>{rr.has(ri)||ti(ri,!0,[ri],lo.nativeEvent)}})),checked:gi}}:Ii=(ko,zo,_o)=>{var ri;const gi=Br(zo,_o),lo=rr.has(gi),Ti=Ko.has(gi),ki=Yr.get(gi);let Mi;return zr==="nest"?Mi=Ti:Mi=(ri=ki==null?void 0:ki.indeterminate)!==null&&ri!==void 0?ri:Ti,{node:se.createElement(Vt.default,Object.assign({},ki,{indeterminate:Mi,checked:lo,skipGroup:!0,onClick:El=>El.stopPropagation(),onChange:El=>{let{nativeEvent:ml}=El;const{shiftKey:Zi}=ml;let fl=-1,sl=-1;if(Zi&&ia){const Ji=new Set([Hr,gi]);Do.some((ji,si)=>{if(Ji.has(ji))if(fl===-1)fl=si;else return sl=si,!0;return!1})}if(sl!==-1&&fl!==sl&&ia){const Ji=Do.slice(fl,sl+1),ji=[];lo?Ji.forEach(ni=>{rr.has(ni)&&(ji.push(ni),rr.delete(ni))}):Ji.forEach(ni=>{rr.has(ni)||(ji.push(ni),rr.add(ni))});const si=Array.from(rr);It==null||It(!lo,si.map(ni=>_a(ni)),ji.map(ni=>_a(ni))),yo(si,"multiple")}else{const Ji=Qo;if(ia){const ji=lo?(0,Pa._5)(Ji,gi):(0,Pa.L0)(Ji,gi);ti(gi,!lo,ji,ml)}else{const ji=(0,Yn.S)([].concat((0,en.Z)(Ji),[gi]),!0,Mr,io),{checkedKeys:si,halfCheckedKeys:ni}=ji;let Pl=si;if(lo){const Zl=new Set(si);Zl.delete(gi),Pl=(0,Yn.S)(Array.from(Zl),{checked:!1,halfCheckedKeys:ni},Mr,io).checkedKeys}ti(gi,!lo,Pl,ml)}}ci(lo?null:gi)}})),checked:lo}};const Li=(ko,zo,_o)=>{const{node:ri,checked:gi}=Ii(ko,zo,_o);return ua?ua(gi,zo,_o,ri):ri};if(!mr.includes(Ur))if(mr.findIndex(ko=>{var zo;return((zo=ko[ea])===null||zo===void 0?void 0:zo.columnType)==="EXPAND_COLUMN"})===0){const[ko,...zo]=mr;mr=[ko,Ur].concat((0,en.Z)(zo))}else mr=[Ur].concat((0,en.Z)(mr));const ll=mr.indexOf(Ur);mr=mr.filter((ko,zo)=>ko!==Ur||zo===ll);const Si=mr[ll-1],dl=mr[ll+1];let Ei=pa;Ei===void 0&&((dl==null?void 0:dl.fixed)!==void 0?Ei=dl.fixed:(Si==null?void 0:Si.fixed)!==void 0&&(Ei=Si.fixed)),Ei&&Si&&((pr=Si[ea])===null||pr===void 0?void 0:pr.columnType)==="EXPAND_COLUMN"&&Si.fixed===void 0&&(Si.fixed=Ei);const Qi=We()(`${La}-selection-col`,{[`${La}-selection-col-with-dropdown`]:Mn&&Rn==="checkbox"}),kl={fixed:Ei,width:Zn,className:`${La}-selection-column`,title:ve.columnTitle||mo,render:Li,onCell:ve.onCell,[ea]:{className:Qi}};return mr.map(ko=>ko===Ur?kl:ko)},[Br,fr,ve,Qo,li,Ko,Zn,Jo,zr,Hr,Yr,It,ti,io]),li]},wo=ne(89489),yi=ne(59477),il=ne(6848);const Ge="ascend",nt="descend";function Et(me){return typeof me.sorter=="object"&&typeof me.sorter.multiple=="number"?me.sorter.multiple:!1}function Dt(me){return typeof me=="function"?me:me&&typeof me=="object"&&me.compare?me.compare:!1}function Cn(me,ve){return ve?me[me.indexOf(ve)+1]:me[0]}function Tn(me,ve,Pe){let Ue=[];function $e(rt,xt){Ue.push({column:rt,key:Nr(rt,xt),multiplePriority:Et(rt),sortOrder:rt.sortOrder})}return(me||[]).forEach((rt,xt)=>{const zt=Gr(xt,Pe);rt.children?("sortOrder"in rt&&$e(rt,zt),Ue=[].concat((0,en.Z)(Ue),(0,en.Z)(Tn(rt.children,ve,zt)))):rt.sorter&&("sortOrder"in rt?$e(rt,zt):ve&&rt.defaultSortOrder&&Ue.push({column:rt,key:Nr(rt,zt),multiplePriority:Et(rt),sortOrder:rt.defaultSortOrder}))}),Ue}function aa(me,ve,Pe,Ue,$e,rt,xt,zt){return(ve||[]).map((Ft,nn)=>{const xn=Gr(nn,zt);let It=Ft;if(It.sorter){const Zn=It.sortDirections||$e,Rn=It.showSorterTooltip===void 0?xt:It.showSorterTooltip,Mn=Nr(It,xn),pa=Pe.find(zr=>{let{key:ka}=zr;return ka===Mn}),ua=pa?pa.sortOrder:null,Ea=Cn(Zn,ua);let ia;if(Ft.sortIcon)ia=Ft.sortIcon({sortOrder:ua});else{const zr=Zn.includes(Ge)&&se.createElement(yi.Z,{className:We()(`${me}-column-sorter-up`,{active:ua===Ge})}),ka=Zn.includes(nt)&&se.createElement(wo.Z,{className:We()(`${me}-column-sorter-down`,{active:ua===nt})});ia=se.createElement("span",{className:We()(`${me}-column-sorter`,{[`${me}-column-sorter-full`]:!!(zr&&ka)})},se.createElement("span",{className:`${me}-column-sorter-inner`,"aria-hidden":"true"},zr,ka))}const{cancelSort:La,triggerAsc:ir,triggerDesc:cr}=rt||{};let _a=La;Ea===nt?_a=cr:Ea===Ge&&(_a=ir);const Br=typeof Rn=="object"?Rn:{title:_a};It=Object.assign(Object.assign({},It),{className:We()(It.className,{[`${me}-column-sort`]:ua}),title:zr=>{const ka=se.createElement("div",{className:`${me}-column-sorters`},se.createElement("span",{className:`${me}-column-title`},No(Ft.title,zr)),ia);return Rn?se.createElement(il.Z,Object.assign({},Br),ka):ka},onHeaderCell:zr=>{const ka=Ft.onHeaderCell&&Ft.onHeaderCell(zr)||{},qa=ka.onClick,za=ka.onKeyDown;ka.onClick=yr=>{Ue({column:Ft,key:Mn,sortOrder:Ea,multiplePriority:Et(Ft)}),qa==null||qa(yr)},ka.onKeyDown=yr=>{yr.keyCode===Qn.Z.ENTER&&(Ue({column:Ft,key:Mn,sortOrder:Ea,multiplePriority:Et(Ft)}),za==null||za(yr))};const Na=Ao(Ft.title,{}),Ka=Na==null?void 0:Na.toString();return ua?ka["aria-sort"]=ua==="ascend"?"ascending":"descending":ka["aria-label"]=Ka||"",ka.className=We()(ka.className,`${me}-column-has-sorters`),ka.tabIndex=0,Ft.ellipsis&&(ka.title=(Na!=null?Na:"").toString()),ka}})}return"children"in It&&(It=Object.assign(Object.assign({},It),{children:aa(me,It.children,Pe,Ue,$e,rt,xt,xn)})),It})}function Xn(me){const{column:ve,sortOrder:Pe}=me;return{column:ve,order:Pe,field:ve.dataIndex,columnKey:ve.key}}function jn(me){const ve=me.filter(Pe=>{let{sortOrder:Ue}=Pe;return Ue}).map(Xn);return ve.length===0&&me.length?Object.assign(Object.assign({},Xn(me[me.length-1])),{column:void 0}):ve.length<=1?ve[0]||{}:ve}function vn(me,ve,Pe){const Ue=ve.slice().sort((xt,zt)=>zt.multiplePriority-xt.multiplePriority),$e=me.slice(),rt=Ue.filter(xt=>{let{column:{sorter:zt},sortOrder:Ft}=xt;return Dt(zt)&&Ft});return rt.length?$e.sort((xt,zt)=>{for(let Ft=0;Ft{const zt=xt[Pe];return zt?Object.assign(Object.assign({},xt),{[Pe]:vn(zt,ve,Pe)}):xt}):$e}function la(me){let{prefixCls:ve,mergedColumns:Pe,onSorterChange:Ue,sortDirections:$e,tableLocale:rt,showSorterTooltip:xt}=me;const[zt,Ft]=se.useState(Tn(Pe,!0)),nn=se.useMemo(()=>{let Mn=!0;const pa=Tn(Pe,!1);if(!pa.length)return zt;const ua=[];function Ea(La){Mn?ua.push(La):ua.push(Object.assign(Object.assign({},La),{sortOrder:null}))}let ia=null;return pa.forEach(La=>{ia===null?(Ea(La),La.sortOrder&&(La.multiplePriority===!1?Mn=!1:ia=!0)):(ia&&La.multiplePriority!==!1||(Mn=!1),Ea(La))}),ua},[Pe,zt]),xn=se.useMemo(()=>{const Mn=nn.map(pa=>{let{column:ua,sortOrder:Ea}=pa;return{column:ua,order:Ea}});return{sortColumns:Mn,sortColumn:Mn[0]&&Mn[0].column,sortOrder:Mn[0]&&Mn[0].order}},[nn]);function It(Mn){let pa;Mn.multiplePriority===!1||!nn.length||nn[0].multiplePriority===!1?pa=[Mn]:pa=[].concat((0,en.Z)(nn.filter(ua=>{let{key:Ea}=ua;return Ea!==Mn.key})),[Mn]),Ft(pa),Ue(jn(pa),pa)}return[Mn=>aa(ve,Mn,nn,It,$e,rt,xt),nn,xn,()=>jn(nn)]}function fa(me,ve){return me.map(Pe=>{const Ue=Object.assign({},Pe);return Ue.title=No(Pe.title,ve),"children"in Ue&&(Ue.children=fa(Ue.children,ve)),Ue})}function tr(me){return[se.useCallback(Pe=>fa(Pe,me),[me])]}var Ir=br((me,ve)=>{const{_renderTimes:Pe}=me,{_renderTimes:Ue}=ve;return Pe!==Ue}),gr=to((me,ve)=>{const{_renderTimes:Pe}=me,{_renderTimes:Ue}=ve;return Pe!==Ue}),Fn=ne(64993),kn=ne(17313),qn=ne(83116),va=ne(37613),Ta=me=>{const{componentCls:ve}=me,Pe=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,Ue=($e,rt,xt)=>({[`&${ve}-${$e}`]:{[`> ${ve}-container`]:{[`> ${ve}-content, > ${ve}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`-${rt}px -${xt+me.lineWidth}px`}}}}}});return{[`${ve}-wrapper`]:{[`${ve}${ve}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ve}-title`]:{border:Pe,borderBottom:0},[`> ${ve}-container`]:{borderInlineStart:Pe,borderTop:Pe,[` > ${ve}-content, > ${ve}-header, > ${ve}-body, @@ -171,28 +171,28 @@ `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Pe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Pe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ve}-cell-fix-right-first::after`]:{borderInlineEnd:Pe}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ve}-expanded-row-fixed`]:{margin:`-${me.tablePaddingVertical}px -${me.tablePaddingHorizontal+me.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:me.lineWidth,bottom:0,borderInlineEnd:Pe,content:'""'}}}}}},[`&${ve}-scroll-horizontal`]:{[`> ${ve}-container > ${ve}-body`]:{"> table > tbody":{[` > tr${ve}-expanded-row, > tr${ve}-placeholder - `]:{"> th, > td":{borderInlineEnd:0}}}}}},Ue("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle)),Ue("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall)),{[`> ${ve}-footer`]:{border:Pe,borderTop:0}}),[`${ve}-cell`]:{[`${ve}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${me.lineWidth}px 0 ${me.lineWidth}px ${me.tableHeaderBg}`}},[`${ve}-bordered ${ve}-cell-scrollbar`]:{borderInlineEnd:Pe}}}},Dn=me=>{const{componentCls:ve}=me;return{[`${ve}-wrapper`]:{[`${ve}-cell-ellipsis`]:Object.assign(Object.assign({},ca.vS),{wordBreak:"keep-all",[` + `]:{"> th, > td":{borderInlineEnd:0}}}}}},Ue("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle)),Ue("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall)),{[`> ${ve}-footer`]:{border:Pe,borderTop:0}}),[`${ve}-cell`]:{[`${ve}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${me.lineWidth}px 0 ${me.lineWidth}px ${me.tableHeaderBg}`}},[`${ve}-bordered ${ve}-cell-scrollbar`]:{borderInlineEnd:Pe}}}},Dn=me=>{const{componentCls:ve}=me;return{[`${ve}-wrapper`]:{[`${ve}-cell-ellipsis`]:Object.assign(Object.assign({},kn.vS),{wordBreak:"keep-all",[` &${ve}-cell-fix-left-last, &${ve}-cell-fix-right-first - `]:{overflow:"visible",[`${ve}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ve}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ya=me=>{const{componentCls:ve}=me;return{[`${ve}-wrapper`]:{[`${ve}-tbody > tr${ve}-placeholder`]:{textAlign:"center",color:me.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:me.colorBgContainer}}}}},Za=ne(15969),Bo=me=>{const{componentCls:ve,antCls:Pe,controlInteractiveSize:Ue,motionDurationSlow:$e,lineWidth:nt,paddingXS:xt,lineType:jt,tableBorderColor:wt,tableExpandIconBg:rn,tableExpandColumnWidth:xn,borderRadius:It,fontSize:Rn,fontSizeSM:Mn,lineHeight:On,tablePaddingVertical:ma,tablePaddingHorizontal:ua,tableExpandedRowBg:va,paddingXXS:la}=me,La=Ue/2-nt,lr=La*2+nt*3,mr=`${nt}px ${jt} ${wt}`,Ya=la-nt;return{[`${ve}-wrapper`]:{[`${ve}-expand-icon-col`]:{width:xn},[`${ve}-row-expand-icon-cell`]:{textAlign:"center",[`${ve}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ve}-row-indent`]:{height:1,float:"left"},[`${ve}-row-expand-icon`]:Object.assign(Object.assign({},(0,Za.N)(me)),{position:"relative",float:"left",boxSizing:"border-box",width:lr,height:lr,padding:0,color:"inherit",lineHeight:`${lr}px`,background:rn,border:mr,borderRadius:It,transform:`scale(${Ue/lr})`,transition:`all ${$e}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${$e} ease-out`,content:'""'},"&::before":{top:La,insetInlineEnd:Ya,insetInlineStart:Ya,height:nt},"&::after":{top:Ya,bottom:Ya,insetInlineStart:La,width:nt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ve}-row-indent + ${ve}-row-expand-icon`]:{marginTop:(Rn*On-nt*3)/2-Math.ceil((Mn*1.4-nt*3)/2),marginInlineEnd:xt},[`tr${ve}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:va}},[`${Pe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ve}-expanded-row-fixed`]:{position:"relative",margin:`-${ma}px -${ua}px`,padding:`${ma}px ${ua}px`}}}},Ko=me=>{const{componentCls:ve,antCls:Pe,iconCls:Ue,tableFilterDropdownWidth:$e,tableFilterDropdownSearchWidth:nt,paddingXXS:xt,paddingXS:jt,colorText:wt,lineWidth:rn,lineType:xn,tableBorderColor:It,tableHeaderIconColor:Rn,fontSizeSM:Mn,tablePaddingHorizontal:On,borderRadius:ma,motionDurationSlow:ua,colorTextDescription:va,colorPrimary:la,tableHeaderFilterActiveBg:La,colorTextDisabled:lr,tableFilterDropdownBg:mr,tableFilterDropdownHeight:Ya,controlItemBgHover:Fr,controlItemBgActive:jr,boxShadowSecondary:ja,filterDropdownMenuBg:Xa}=me,Ha=`${Pe}-dropdown`,Na=`${ve}-filter-dropdown`,Va=`${Pe}-tree`,xr=`${rn}px ${xn} ${It}`;return[{[`${ve}-wrapper`]:{[`${ve}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ve}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-xt,marginInline:`${xt}px ${-On/2}px`,padding:`0 ${xt}px`,color:Rn,fontSize:Mn,borderRadius:ma,cursor:"pointer",transition:`all ${ua}`,"&:hover":{color:va,background:La},"&.active":{color:la}}}},{[`${Pe}-dropdown`]:{[Na]:Object.assign(Object.assign({},(0,ca.Wf)(me)),{minWidth:$e,backgroundColor:mr,borderRadius:ma,boxShadow:ja,overflow:"hidden",[`${Ha}-menu`]:{maxHeight:Ya,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Xa,"&:empty::after":{display:"block",padding:`${jt}px 0`,color:lr,fontSize:Mn,textAlign:"center",content:'"Not Found"'}},[`${Na}-tree`]:{paddingBlock:`${jt}px 0`,paddingInline:jt,[Va]:{padding:0},[`${Va}-treenode ${Va}-node-content-wrapper:hover`]:{backgroundColor:Fr},[`${Va}-treenode-checkbox-checked ${Va}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:jr}}},[`${Na}-search`]:{padding:jt,borderBottom:xr,"&-input":{input:{minWidth:nt},[Ue]:{color:lr}}},[`${Na}-checkall`]:{width:"100%",marginBottom:xt,marginInlineStart:xt},[`${Na}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${jt-rn}px ${jt}px`,overflow:"hidden",borderTop:xr}})}},{[`${Pe}-dropdown ${Na}, ${Na}-submenu`]:{[`${Pe}-checkbox-wrapper + span`]:{paddingInlineStart:jt,color:wt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ti=me=>{const{componentCls:ve,lineWidth:Pe,colorSplit:Ue,motionDurationSlow:$e,zIndexTableFixed:nt,tableBg:xt,zIndexTableSticky:jt}=me,wt=Ue;return{[`${ve}-wrapper`]:{[` + `]:{overflow:"visible",[`${ve}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ve}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Da=me=>{const{componentCls:ve}=me;return{[`${ve}-wrapper`]:{[`${ve}-tbody > tr${ve}-placeholder`]:{textAlign:"center",color:me.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:me.colorBgContainer}}}}},ja=ne(15969),Po=me=>{const{componentCls:ve,antCls:Pe,controlInteractiveSize:Ue,motionDurationSlow:$e,lineWidth:rt,paddingXS:xt,lineType:zt,tableBorderColor:Ft,tableExpandIconBg:nn,tableExpandColumnWidth:xn,borderRadius:It,fontSize:Zn,fontSizeSM:Rn,lineHeight:Mn,tablePaddingVertical:pa,tablePaddingHorizontal:ua,tableExpandedRowBg:Ea,paddingXXS:ia}=me,La=Ue/2-rt,ir=La*2+rt*3,cr=`${rt}px ${zt} ${Ft}`,_a=ia-rt;return{[`${ve}-wrapper`]:{[`${ve}-expand-icon-col`]:{width:xn},[`${ve}-row-expand-icon-cell`]:{textAlign:"center",[`${ve}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ve}-row-indent`]:{height:1,float:"left"},[`${ve}-row-expand-icon`]:Object.assign(Object.assign({},(0,ja.N)(me)),{position:"relative",float:"left",boxSizing:"border-box",width:ir,height:ir,padding:0,color:"inherit",lineHeight:`${ir}px`,background:nn,border:cr,borderRadius:It,transform:`scale(${Ue/ir})`,transition:`all ${$e}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${$e} ease-out`,content:'""'},"&::before":{top:La,insetInlineEnd:_a,insetInlineStart:_a,height:rt},"&::after":{top:_a,bottom:_a,insetInlineStart:La,width:rt,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ve}-row-indent + ${ve}-row-expand-icon`]:{marginTop:(Zn*Mn-rt*3)/2-Math.ceil((Rn*1.4-rt*3)/2),marginInlineEnd:xt},[`tr${ve}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Ea}},[`${Pe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ve}-expanded-row-fixed`]:{position:"relative",margin:`-${pa}px -${ua}px`,padding:`${pa}px ${ua}px`}}}},Uo=me=>{const{componentCls:ve,antCls:Pe,iconCls:Ue,tableFilterDropdownWidth:$e,tableFilterDropdownSearchWidth:rt,paddingXXS:xt,paddingXS:zt,colorText:Ft,lineWidth:nn,lineType:xn,tableBorderColor:It,tableHeaderIconColor:Zn,fontSizeSM:Rn,tablePaddingHorizontal:Mn,borderRadius:pa,motionDurationSlow:ua,colorTextDescription:Ea,colorPrimary:ia,tableHeaderFilterActiveBg:La,colorTextDisabled:ir,tableFilterDropdownBg:cr,tableFilterDropdownHeight:_a,controlItemBgHover:Br,controlItemBgActive:zr,boxShadowSecondary:ka,filterDropdownMenuBg:qa}=me,za=`${Pe}-dropdown`,Na=`${ve}-filter-dropdown`,Ka=`${Pe}-tree`,yr=`${nn}px ${xn} ${It}`;return[{[`${ve}-wrapper`]:{[`${ve}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ve}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-xt,marginInline:`${xt}px ${-Mn/2}px`,padding:`0 ${xt}px`,color:Zn,fontSize:Rn,borderRadius:pa,cursor:"pointer",transition:`all ${ua}`,"&:hover":{color:Ea,background:La},"&.active":{color:ia}}}},{[`${Pe}-dropdown`]:{[Na]:Object.assign(Object.assign({},(0,kn.Wf)(me)),{minWidth:$e,backgroundColor:cr,borderRadius:pa,boxShadow:ka,overflow:"hidden",[`${za}-menu`]:{maxHeight:_a,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:qa,"&:empty::after":{display:"block",padding:`${zt}px 0`,color:ir,fontSize:Rn,textAlign:"center",content:'"Not Found"'}},[`${Na}-tree`]:{paddingBlock:`${zt}px 0`,paddingInline:zt,[Ka]:{padding:0},[`${Ka}-treenode ${Ka}-node-content-wrapper:hover`]:{backgroundColor:Br},[`${Ka}-treenode-checkbox-checked ${Ka}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:zr}}},[`${Na}-search`]:{padding:zt,borderBottom:yr,"&-input":{input:{minWidth:rt},[Ue]:{color:ir}}},[`${Na}-checkall`]:{width:"100%",marginBottom:xt,marginInlineStart:xt},[`${Na}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${zt-nn}px ${zt}px`,overflow:"hidden",borderTop:yr}})}},{[`${Pe}-dropdown ${Na}, ${Na}-submenu`]:{[`${Pe}-checkbox-wrapper + span`]:{paddingInlineStart:zt,color:Ft},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Ri=me=>{const{componentCls:ve,lineWidth:Pe,colorSplit:Ue,motionDurationSlow:$e,zIndexTableFixed:rt,tableBg:xt,zIndexTableSticky:zt}=me,Ft=Ue;return{[`${ve}-wrapper`]:{[` ${ve}-cell-fix-left, ${ve}-cell-fix-right - `]:{position:"sticky !important",zIndex:nt,background:xt},[` + `]:{position:"sticky !important",zIndex:rt,background:xt},[` ${ve}-cell-fix-left-first::after, ${ve}-cell-fix-left-last::after `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Pe,width:30,transform:"translateX(100%)",transition:`box-shadow ${$e}`,content:'""',pointerEvents:"none"},[`${ve}-cell-fix-left-all::after`]:{display:"none"},[` ${ve}-cell-fix-right-first::after, ${ve}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:-Pe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${$e}`,content:'""',pointerEvents:"none"},[`${ve}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:jt+1,width:30,transition:`box-shadow ${$e}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ve}-ping-left`]:{[`&:not(${ve}-has-fix-left) ${ve}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${wt}`}},[` + `]:{position:"absolute",top:0,bottom:-Pe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${$e}`,content:'""',pointerEvents:"none"},[`${ve}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:zt+1,width:30,transition:`box-shadow ${$e}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ve}-ping-left`]:{[`&:not(${ve}-has-fix-left) ${ve}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${Ft}`}},[` ${ve}-cell-fix-left-first::after, ${ve}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${wt}`},[`${ve}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ve}-ping-right`]:{[`&:not(${ve}-has-fix-right) ${ve}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${wt}`}},[` + `]:{boxShadow:`inset 10px 0 8px -8px ${Ft}`},[`${ve}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ve}-ping-right`]:{[`&:not(${ve}-has-fix-right) ${ve}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${Ft}`}},[` ${ve}-cell-fix-right-first::after, ${ve}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${wt}`}}}}},Yr=me=>{const{componentCls:ve,antCls:Pe}=me;return{[`${ve}-wrapper`]:{[`${ve}-pagination${Pe}-pagination`]:{margin:`${me.margin}px 0`},[`${ve}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:me.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},po=me=>{const{componentCls:ve,tableRadius:Pe}=me;return{[`${ve}-wrapper`]:{[ve]:{[`${ve}-title, ${ve}-header`]:{borderRadius:`${Pe}px ${Pe}px 0 0`},[`${ve}-title + ${ve}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ve}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Pe,borderStartEndRadius:Pe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Pe},"> *:last-child":{borderStartEndRadius:Pe}}},"&-footer":{borderRadius:`0 0 ${Pe}px ${Pe}px`}}}}},Fi=me=>{const{componentCls:ve}=me;return{[`${ve}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ve}-pagination-left`]:{justifyContent:"flex-end"},[`${ve}-pagination-right`]:{justifyContent:"flex-start"},[`${ve}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ve}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ve}-row-indent`]:{float:"right"}}}}},xl=me=>{const{componentCls:ve,antCls:Pe,iconCls:Ue,fontSizeIcon:$e,padding:nt,paddingXS:xt,tableHeaderIconColor:jt,tableHeaderIconColorHover:wt,tableSelectionColumnWidth:rn}=me;return{[`${ve}-wrapper`]:{[`${ve}-selection-col`]:{width:rn,[`&${ve}-selection-col-with-dropdown`]:{width:rn+$e+nt/4}},[`${ve}-bordered ${ve}-selection-col`]:{width:rn+xt*2,[`&${ve}-selection-col-with-dropdown`]:{width:rn+$e+nt/4+xt*2}},[` + `]:{boxShadow:`inset -10px 0 8px -8px ${Ft}`}}}}},Qr=me=>{const{componentCls:ve,antCls:Pe}=me;return{[`${ve}-wrapper`]:{[`${ve}-pagination${Pe}-pagination`]:{margin:`${me.margin}px 0`},[`${ve}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:me.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},po=me=>{const{componentCls:ve,tableRadius:Pe}=me;return{[`${ve}-wrapper`]:{[ve]:{[`${ve}-title, ${ve}-header`]:{borderRadius:`${Pe}px ${Pe}px 0 0`},[`${ve}-title + ${ve}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ve}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:Pe,borderStartEndRadius:Pe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Pe},"> *:last-child":{borderStartEndRadius:Pe}}},"&-footer":{borderRadius:`0 0 ${Pe}px ${Pe}px`}}}}},Fi=me=>{const{componentCls:ve}=me;return{[`${ve}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ve}-pagination-left`]:{justifyContent:"flex-end"},[`${ve}-pagination-right`]:{justifyContent:"flex-start"},[`${ve}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ve}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ve}-row-indent`]:{float:"right"}}}}},xl=me=>{const{componentCls:ve,antCls:Pe,iconCls:Ue,fontSizeIcon:$e,padding:rt,paddingXS:xt,tableHeaderIconColor:zt,tableHeaderIconColorHover:Ft,tableSelectionColumnWidth:nn}=me;return{[`${ve}-wrapper`]:{[`${ve}-selection-col`]:{width:nn,[`&${ve}-selection-col-with-dropdown`]:{width:nn+$e+rt/4}},[`${ve}-bordered ${ve}-selection-col`]:{width:nn+xt*2,[`&${ve}-selection-col-with-dropdown`]:{width:nn+$e+rt/4+xt*2}},[` table tr th${ve}-selection-column, table tr td${ve}-selection-column - `]:{paddingInlineEnd:me.paddingXS,paddingInlineStart:me.paddingXS,textAlign:"center",[`${Pe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ve}-selection-column${ve}-cell-fix-left`]:{zIndex:me.zIndexTableFixed+1},[`table tr th${ve}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ve}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ve}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${me.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${me.tablePaddingHorizontal/4}px`,[Ue]:{color:jt,fontSize:$e,verticalAlign:"baseline","&:hover":{color:wt}}}}}},Tl=me=>{const{componentCls:ve}=me,Pe=(Ue,$e,nt,xt)=>({[`${ve}${ve}-${Ue}`]:{fontSize:xt,[` + `]:{paddingInlineEnd:me.paddingXS,paddingInlineStart:me.paddingXS,textAlign:"center",[`${Pe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ve}-selection-column${ve}-cell-fix-left`]:{zIndex:me.zIndexTableFixed+1},[`table tr th${ve}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ve}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ve}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${me.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${me.tablePaddingHorizontal/4}px`,[Ue]:{color:zt,fontSize:$e,verticalAlign:"baseline","&:hover":{color:Ft}}}}}},Tl=me=>{const{componentCls:ve}=me,Pe=(Ue,$e,rt,xt)=>({[`${ve}${ve}-${Ue}`]:{fontSize:xt,[` ${ve}-title, ${ve}-footer, ${ve}-cell, @@ -201,25 +201,25 @@ ${ve}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{padding:`${$e}px ${nt}px`},[`${ve}-filter-trigger`]:{marginInlineEnd:`-${nt/2}px`},[`${ve}-expanded-row-fixed`]:{margin:`-${$e}px -${nt}px`},[`${ve}-tbody`]:{[`${ve}-wrapper:only-child ${ve}`]:{marginBlock:`-${$e}px`,marginInline:`${me.tableExpandColumnWidth-nt}px -${nt}px`}},[`${ve}-selection-column`]:{paddingInlineStart:`${nt/4}px`}}});return{[`${ve}-wrapper`]:Object.assign(Object.assign({},Pe("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle,me.tableFontSizeMiddle)),Pe("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall,me.tableFontSizeSmall))}},jl=me=>{const{componentCls:ve,marginXXS:Pe,fontSizeIcon:Ue,tableHeaderIconColor:$e,tableHeaderIconColorHover:nt}=me;return{[`${ve}-wrapper`]:{[`${ve}-thead th${ve}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${me.motionDurationSlow}`,"&:hover":{background:me.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:me.colorPrimary},[` + `]:{padding:`${$e}px ${rt}px`},[`${ve}-filter-trigger`]:{marginInlineEnd:`-${rt/2}px`},[`${ve}-expanded-row-fixed`]:{margin:`-${$e}px -${rt}px`},[`${ve}-tbody`]:{[`${ve}-wrapper:only-child ${ve}`]:{marginBlock:`-${$e}px`,marginInline:`${me.tableExpandColumnWidth-rt}px -${rt}px`}},[`${ve}-selection-column`]:{paddingInlineStart:`${rt/4}px`}}});return{[`${ve}-wrapper`]:Object.assign(Object.assign({},Pe("middle",me.tablePaddingVerticalMiddle,me.tablePaddingHorizontalMiddle,me.tableFontSizeMiddle)),Pe("small",me.tablePaddingVerticalSmall,me.tablePaddingHorizontalSmall,me.tableFontSizeSmall))}},jl=me=>{const{componentCls:ve,marginXXS:Pe,fontSizeIcon:Ue,tableHeaderIconColor:$e,tableHeaderIconColorHover:rt}=me;return{[`${ve}-wrapper`]:{[`${ve}-thead th${ve}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${me.motionDurationSlow}`,"&:hover":{background:me.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:me.colorPrimary},[` &${ve}-cell-fix-left:hover, &${ve}-cell-fix-right:hover - `]:{background:me.tableFixedHeaderSortActiveBg}},[`${ve}-thead th${ve}-column-sort`]:{background:me.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ve}-column-sort`]:{background:me.tableBodySortBg},[`${ve}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ve}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ve}-column-sorter`]:{marginInlineStart:Pe,color:$e,fontSize:0,transition:`color ${me.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ue,"&.active":{color:me.colorPrimary}},[`${ve}-column-sorter-up + ${ve}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ve}-column-sorters:hover ${ve}-column-sorter`]:{color:nt}}}},vl=me=>{const{componentCls:ve,opacityLoading:Pe,tableScrollThumbBg:Ue,tableScrollThumbBgHover:$e,tableScrollThumbSize:nt,tableScrollBg:xt,zIndexTableSticky:jt,stickyScrollBarBorderRadius:wt}=me,rn=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`;return{[`${ve}-wrapper`]:{[`${ve}-sticky`]:{"&-holder":{position:"sticky",zIndex:jt,background:me.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${nt}px !important`,zIndex:jt,display:"flex",alignItems:"center",background:xt,borderTop:rn,opacity:Pe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:nt,backgroundColor:Ue,borderRadius:wt,transition:`all ${me.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:$e}}}}}}},hl=me=>{const{componentCls:ve,lineWidth:Pe,tableBorderColor:Ue}=me,$e=`${Pe}px ${me.lineType} ${Ue}`;return{[`${ve}-wrapper`]:{[`${ve}-summary`]:{position:"relative",zIndex:me.zIndexTableFixed,background:me.tableBg,"> tr":{"> th, > td":{borderBottom:$e}}},[`div${ve}-summary`]:{boxShadow:`0 -${Pe}px 0 ${Ue}`}}}},ts=me=>{const{componentCls:ve}=me,Pe=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,Ue=`${ve}-expanded-row-cell`;return{[`${ve}-wrapper`]:{[`${ve}-tbody-virtual`]:{[`${ve}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ve}-cell`]:{borderBottom:Pe},[`${ve}-expanded-row`]:{[`${Ue}${Ue}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${me.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ve}-bordered`]:{[`${ve}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Pe,position:"absolute"},[`${ve}-cell`]:{borderInlineEnd:Pe,[`&${ve}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-me.lineWidth,borderInlineStart:Pe}}}}}}};const Al=me=>{const{componentCls:ve,fontWeightStrong:Pe,tablePaddingVertical:Ue,tablePaddingHorizontal:$e,lineWidth:nt,lineType:xt,tableBorderColor:jt,tableFontSize:wt,tableBg:rn,tableRadius:xn,tableHeaderTextColor:It,motionDurationMid:Rn,tableHeaderBg:Mn,tableHeaderCellSplitColor:On,tableRowHoverBg:ma,tableSelectedRowBg:ua,tableSelectedRowHoverBg:va,tableFooterTextColor:la,tableFooterBg:La,paddingContentVerticalLG:lr}=me,mr=`${nt}px ${xt} ${jt}`;return{[`${ve}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,ca.dF)()),{[ve]:Object.assign(Object.assign({},(0,ca.Wf)(me)),{fontSize:wt,background:rn,borderRadius:`${xn}px ${xn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${xn}px ${xn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:me.tableFixedHeaderSortActiveBg}},[`${ve}-thead th${ve}-column-sort`]:{background:me.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ve}-column-sort`]:{background:me.tableBodySortBg},[`${ve}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ve}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ve}-column-sorter`]:{marginInlineStart:Pe,color:$e,fontSize:0,transition:`color ${me.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ue,"&.active":{color:me.colorPrimary}},[`${ve}-column-sorter-up + ${ve}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ve}-column-sorters:hover ${ve}-column-sorter`]:{color:rt}}}},hl=me=>{const{componentCls:ve,opacityLoading:Pe,tableScrollThumbBg:Ue,tableScrollThumbBgHover:$e,tableScrollThumbSize:rt,tableScrollBg:xt,zIndexTableSticky:zt,stickyScrollBarBorderRadius:Ft}=me,nn=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`;return{[`${ve}-wrapper`]:{[`${ve}-sticky`]:{"&-holder":{position:"sticky",zIndex:zt,background:me.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${rt}px !important`,zIndex:zt,display:"flex",alignItems:"center",background:xt,borderTop:nn,opacity:Pe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:rt,backgroundColor:Ue,borderRadius:Ft,transition:`all ${me.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:$e}}}}}}},Sl=me=>{const{componentCls:ve,lineWidth:Pe,tableBorderColor:Ue}=me,$e=`${Pe}px ${me.lineType} ${Ue}`;return{[`${ve}-wrapper`]:{[`${ve}-summary`]:{position:"relative",zIndex:me.zIndexTableFixed,background:me.tableBg,"> tr":{"> th, > td":{borderBottom:$e}}},[`div${ve}-summary`]:{boxShadow:`0 -${Pe}px 0 ${Ue}`}}}},ts=me=>{const{componentCls:ve}=me,Pe=`${me.lineWidth}px ${me.lineType} ${me.tableBorderColor}`,Ue=`${ve}-expanded-row-cell`;return{[`${ve}-wrapper`]:{[`${ve}-tbody-virtual`]:{[`${ve}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ve}-cell`]:{borderBottom:Pe},[`${ve}-expanded-row`]:{[`${Ue}${Ue}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${me.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ve}-bordered`]:{[`${ve}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Pe,position:"absolute"},[`${ve}-cell`]:{borderInlineEnd:Pe,[`&${ve}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-me.lineWidth,borderInlineStart:Pe}}}}}}};const Al=me=>{const{componentCls:ve,fontWeightStrong:Pe,tablePaddingVertical:Ue,tablePaddingHorizontal:$e,lineWidth:rt,lineType:xt,tableBorderColor:zt,tableFontSize:Ft,tableBg:nn,tableRadius:xn,tableHeaderTextColor:It,motionDurationMid:Zn,tableHeaderBg:Rn,tableHeaderCellSplitColor:Mn,tableRowHoverBg:pa,tableSelectedRowBg:ua,tableSelectedRowHoverBg:Ea,tableFooterTextColor:ia,tableFooterBg:La,paddingContentVerticalLG:ir}=me,cr=`${rt}px ${xt} ${zt}`;return{[`${ve}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,kn.dF)()),{[ve]:Object.assign(Object.assign({},(0,kn.Wf)(me)),{fontSize:Ft,background:nn,borderRadius:`${xn}px ${xn}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${xn}px ${xn}px 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${ve}-cell, ${ve}-thead > tr > th, ${ve}-tbody > tr > th, ${ve}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${lr}px ${$e}px`,overflowWrap:"break-word"},[`${ve}-title`]:{padding:`${Ue}px ${$e}px`},[`${ve}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:It,fontWeight:Pe,textAlign:"start",background:Mn,borderBottom:mr,transition:`background ${Rn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ve}-selection-column):not(${ve}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:On,transform:"translateY(-50%)",transition:`background-color ${Rn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ve}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Rn}, border-color ${Rn}`,borderBottom:mr,[` + `]:{position:"relative",padding:`${ir}px ${$e}px`,overflowWrap:"break-word"},[`${ve}-title`]:{padding:`${Ue}px ${$e}px`},[`${ve}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:It,fontWeight:Pe,textAlign:"start",background:Rn,borderBottom:cr,transition:`background ${Zn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ve}-selection-column):not(${ve}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Mn,transform:"translateY(-50%)",transition:`background-color ${Zn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ve}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Zn}, border-color ${Zn}`,borderBottom:cr,[` > ${ve}-wrapper:only-child, > ${ve}-expanded-row-fixed > ${ve}-wrapper:only-child - `]:{[ve]:{marginBlock:`-${Ue}px`,marginInline:`${me.tableExpandColumnWidth-$e}px -${$e}px`,[`${ve}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:It,fontWeight:Pe,textAlign:"start",background:Mn,borderBottom:mr,transition:`background ${Rn} ease`},[` + `]:{[ve]:{marginBlock:`-${Ue}px`,marginInline:`${me.tableExpandColumnWidth-$e}px -${$e}px`,[`${ve}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:It,fontWeight:Pe,textAlign:"start",background:Rn,borderBottom:cr,transition:`background ${Zn} ease`},[` &${ve}-row:hover > th, &${ve}-row:hover > td, > th${ve}-cell-row-hover, > td${ve}-cell-row-hover - `]:{background:ma},[`&${ve}-row-selected`]:{"> th, > td":{background:ua},"&:hover > th, &:hover > td":{background:va}}}},[`${ve}-footer`]:{padding:`${Ue}px ${$e}px`,color:la,background:La}})}};var Ul=(0,jn.Z)("Table",me=>{const{colorTextHeading:ve,colorSplit:Pe,colorIcon:Ue,colorIconHover:$e,opacityLoading:nt,colorBgContainer:xt,controlInteractiveSize:jt,headerBg:wt,headerColor:rn,headerSortActiveBg:xn,headerSortHoverBg:It,bodySortBg:Rn,rowHoverBg:Mn,rowSelectedBg:On,rowSelectedHoverBg:ma,rowExpandedBg:ua,cellPaddingBlock:va,cellPaddingInline:la,cellPaddingBlockMD:La,cellPaddingInlineMD:lr,cellPaddingBlockSM:mr,cellPaddingInlineSM:Ya,borderColor:Fr,footerBg:jr,footerColor:ja,headerBorderRadius:Xa,cellFontSize:Ha,cellFontSizeMD:Na,cellFontSizeSM:Va,headerSplitColor:xr,fixedHeaderSortActiveBg:Jr,headerFilterHoverBg:Or,filterDropdownBg:Sr,expandIconBg:Xr,selectionColumnWidth:ao,stickyScrollBarBg:Jo}=me,Ao=new Jn.C(Ue),ui=new Jn.C($e),Uo=2,zr=(0,Hn.TS)(me,{tableFontSize:Ha,tableBg:xt,tableRadius:Xa,tablePaddingVertical:va,tablePaddingHorizontal:la,tablePaddingVerticalMiddle:La,tablePaddingHorizontalMiddle:lr,tablePaddingVerticalSmall:mr,tablePaddingHorizontalSmall:Ya,tableBorderColor:Fr,tableHeaderTextColor:rn,tableHeaderBg:wt,tableFooterTextColor:ja,tableFooterBg:jr,tableHeaderCellSplitColor:xr,tableHeaderSortBg:xn,tableHeaderSortHoverBg:It,tableHeaderIconColor:Ao.clone().setAlpha(Ao.getAlpha()*nt).toRgbString(),tableHeaderIconColorHover:ui.clone().setAlpha(ui.getAlpha()*nt).toRgbString(),tableBodySortBg:Rn,tableFixedHeaderSortActiveBg:Jr,tableHeaderFilterActiveBg:Or,tableFilterDropdownBg:Sr,tableRowHoverBg:Mn,tableSelectedRowBg:On,tableSelectedRowHoverBg:ma,zIndexTableFixed:Uo,zIndexTableSticky:Uo+1,tableFontSizeMiddle:Na,tableFontSizeSmall:Va,tableSelectionColumnWidth:ao,tableExpandIconBg:Xr,tableExpandColumnWidth:jt+2*me.padding,tableExpandedRowBg:ua,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Jo,tableScrollThumbBgHover:ve,tableScrollBg:Pe});return[Al(zr),Yr(zr),hl(zr),jl(zr),Ko(zr),dr(zr),po(zr),Bo(zr),hl(zr),ya(zr),xl(zr),Ti(zr),vl(zr),Dn(zr),Tl(zr),Fi(zr),ts(zr)]},me=>{const{colorFillAlter:ve,colorBgContainer:Pe,colorTextHeading:Ue,colorFillSecondary:$e,colorFillContent:nt,controlItemBgActive:xt,controlItemBgActiveHover:jt,padding:wt,paddingSM:rn,paddingXS:xn,colorBorderSecondary:It,borderRadiusLG:Rn,fontSize:Mn,controlHeight:On,colorTextPlaceholder:ma}=me,ua=new Jn.C($e).onBackground(Pe).toHexShortString(),va=new Jn.C(nt).onBackground(Pe).toHexShortString(),la=new Jn.C(ve).onBackground(Pe).toHexShortString();return{headerBg:la,headerColor:Ue,headerSortActiveBg:ua,headerSortHoverBg:va,bodySortBg:la,rowHoverBg:la,rowSelectedBg:xt,rowSelectedHoverBg:jt,rowExpandedBg:ve,cellPaddingBlock:wt,cellPaddingInline:wt,cellPaddingBlockMD:rn,cellPaddingInlineMD:xn,cellPaddingBlockSM:xn,cellPaddingInlineSM:xn,borderColor:It,headerBorderRadius:Rn,footerBg:la,footerColor:Ue,cellFontSize:Mn,cellFontSizeMD:Mn,cellFontSizeSM:Mn,headerSplitColor:It,fixedHeaderSortActiveBg:ua,headerFilterHoverBg:nt,filterDropdownMenuBg:Pe,filterDropdownBg:Pe,expandIconBg:Pe,selectionColumnWidth:On,stickyScrollBarBg:ma,stickyScrollBarBorderRadius:100}});const ns=[],ms=(me,ve)=>{const{prefixCls:Pe,className:Ue,rootClassName:$e,style:nt,size:xt,bordered:jt,dropdownPrefixCls:wt,dataSource:rn,pagination:xn,rowSelection:It,rowKey:Rn="key",rowClassName:Mn,columns:On,children:ma,childrenColumnName:ua,onChange:va,getPopupContainer:la,loading:La,expandIcon:lr,expandable:mr,expandedRowRender:Ya,expandIconColumnIndex:Fr,indentSize:jr,scroll:ja,sortDirections:Xa,locale:Ha,showSorterTooltip:Na=!0,virtual:Va}=me,xr=se.useMemo(()=>On||St(ma),[On,ma]),Jr=se.useMemo(()=>xr.some(bo=>bo.responsive),[xr]),Or=(0,ol.Z)(Jr),Sr=se.useMemo(()=>{const bo=new Set(Object.keys(Or).filter(ei=>Or[ei]));return xr.filter(ei=>!ei.responsive||ei.responsive.some(Ni=>bo.has(Ni)))},[xr,Or]),Xr=(0,Ri.Z)(me,["className","style","columns"]),{locale:ao=il.Z,direction:Jo,table:Ao,renderEmpty:ui,getPrefixCls:Uo,getPopupContainer:zr}=se.useContext(gi.E_),vi=(0,Pl.Z)(xt),yo=Object.assign(Object.assign({},ao.Table),Ha),ai=rn||ns,$o=Uo("table",Pe),Ki=Uo("dropdown",wt),yr=Object.assign({childrenColumnName:ua,expandIconColumnIndex:Fr},mr),{childrenColumnName:Er="children"}=yr,vr=se.useMemo(()=>ai.some(bo=>bo==null?void 0:bo[Er])?"nest":Ya||mr&&mr.expandedRowRender?"row":null,[ai]),or={body:se.useRef()},Fo=se.useMemo(()=>typeof Rn=="function"?Rn:bo=>bo==null?void 0:bo[Rn],[Rn]),[rr]=Rt(ai,Er,Fo),Mr={},vo=function(bo,ei){let Ni=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var si,Hi,Gi;const qi=Object.assign(Object.assign({},Mr),bo);Ni&&((si=Mr.resetPagination)===null||si===void 0||si.call(Mr),!((Hi=qi.pagination)===null||Hi===void 0)&&Hi.current&&(qi.pagination.current=1),xn&&xn.onChange&&xn.onChange(1,(Gi=qi.pagination)===null||Gi===void 0?void 0:Gi.pageSize)),ja&&ja.scrollToFirstRowOnChange!==!1&&or.body.current&&(0,al.Z)(0,{getContainer:()=>or.body.current}),va==null||va(qi.pagination,qi.filters,qi.sorter,{currentDataSource:Vt(ia(ai,qi.sorterStates,Er),qi.filterStates),action:ei})},uo=(bo,ei)=>{vo({sorter:bo,sorterStates:ei},"sort",!1)},[Ii,Li,ll,yi]=Sn({prefixCls:$o,mergedColumns:Sr,onSorterChange:uo,sortDirections:Xa||["ascend","descend"],tableLocale:yo,showSorterTooltip:Na}),dl=se.useMemo(()=>ia(ai,Li,Er),[ai,Li]);Mr.sorter=yi(),Mr.sorterStates=Li;const bi=(bo,ei)=>{vo({filters:bo,filterStates:ei},"filter",!0)},[Vi,kl,ko]=Fn({prefixCls:$o,locale:yo,dropdownPrefixCls:Ki,mergedColumns:Sr,onFilterChange:bi,getPopupContainer:la||zr}),zo=Vt(dl,kl);Mr.filters=ko,Mr.filterStates=kl;const Xo=se.useMemo(()=>{const bo={};return Object.keys(ko).forEach(ei=>{ko[ei]!==null&&(bo[ei]=ko[ei])}),Object.assign(Object.assign({},ll),{filters:bo})},[ll,ko]),[li]=Da(Xo),hi=(bo,ei)=>{vo({pagination:Object.assign(Object.assign({},Mr.pagination),{current:bo,pageSize:ei})},"paginate")},[ro,ki]=So(zo.length,hi,xn);Mr.pagination=xn===!1?{}:fr(ro,xn),Mr.resetPagination=ki;const Zi=se.useMemo(()=>{if(xn===!1||!ro.pageSize)return zo;const{current:bo=1,total:ei,pageSize:Ni=ta}=ro;return zo.lengthNi?zo.slice((bo-1)*Ni,bo*Ni):zo:zo.slice((bo-1)*Ni,bo*Ni)},[!!xn,zo,ro&&ro.current,ro&&ro.pageSize,ro&&ro.total]),[Mi,Sl]=Kr({prefixCls:$o,data:zo,pageData:Zi,getRowKey:Fo,getRecordByKey:rr,expandType:vr,childrenColumnName:Er,locale:yo,getPopupContainer:la||zr},It),ml=(bo,ei,Ni)=>{let si;return typeof Mn=="function"?si=We()(Mn(bo,ei,Ni)):si=We()(Mn),We()({[`${$o}-row-selected`]:Sl.has(Fo(bo,ei))},si)};yr.__PARENT_RENDER_ICON__=yr.expandIcon,yr.expandIcon=yr.expandIcon||lr||Fa(yo),vr==="nest"&&yr.expandIconColumnIndex===void 0?yr.expandIconColumnIndex=It?1:0:yr.expandIconColumnIndex>0&&It&&(yr.expandIconColumnIndex-=1),typeof yr.indentSize!="number"&&(yr.indentSize=typeof jr=="number"?jr:15);const ji=se.useCallback(bo=>li(Mi(Vi(Ii(bo)))),[Ii,Vi,Mi]);let fl,sl;if(xn!==!1&&(ro!=null&&ro.total)){let bo;ro.size?bo=ro.size:bo=vi==="small"||vi==="middle"?"small":void 0;const ei=Hi=>se.createElement(eo.Z,Object.assign({},ro,{className:We()(`${$o}-pagination ${$o}-pagination-${Hi}`,ro.className),size:bo})),Ni=Jo==="rtl"?"left":"right",{position:si}=ro;if(si!==null&&Array.isArray(si)){const Hi=si.find(bl=>bl.includes("top")),Gi=si.find(bl=>bl.includes("bottom")),qi=si.every(bl=>`${bl}`=="none");!Hi&&!Gi&&!qi&&(sl=ei(Ni)),Hi&&(fl=ei(Hi.toLowerCase().replace("top",""))),Gi&&(sl=ei(Gi.toLowerCase().replace("bottom","")))}else sl=ei(Ni)}let Xi;typeof La=="boolean"?Xi={spinning:La}:typeof La=="object"&&(Xi=Object.assign({spinning:!0},La));const[zi,di]=Ul($o),[,ri]=(0,da.Z)(),El=We()(`${$o}-wrapper`,Ao==null?void 0:Ao.className,{[`${$o}-wrapper-rtl`]:Jo==="rtl"},Ue,$e,di),Zl=Object.assign(Object.assign({},Ao==null?void 0:Ao.style),nt),Bl=Ha&&Ha.emptyText||(ui==null?void 0:ui("Table"))||se.createElement(_i.Z,{componentName:"Table"}),cl=Va?ur:pr,Fl={},fs=se.useMemo(()=>{const{fontSize:bo,lineHeight:ei,padding:Ni,paddingXS:si,paddingSM:Hi}=ri,Gi=Math.floor(bo*ei);switch(vi){case"large":return Ni*2+Gi;case"small":return si*2+Gi;default:return Hi*2+Gi}},[ri,vi]);return Va&&(Fl.listItemHeight=fs),zi(se.createElement("div",{ref:ve,className:El,style:Zl},se.createElement(Ua.Z,Object.assign({spinning:!1},Xi),fl,se.createElement(cl,Object.assign({},Fl,Xr,{columns:Sr,direction:Jo,expandable:yr,prefixCls:$o,className:We()({[`${$o}-middle`]:vi==="middle",[`${$o}-small`]:vi==="small",[`${$o}-bordered`]:jt,[`${$o}-empty`]:ai.length===0}),data:Zi,rowKey:Fo,rowClassName:ml,emptyText:Bl,internalHooks:ue,internalRefs:or,transformColumns:ji})),sl)))};var Ql=se.forwardRef(ms);const Hl=(me,ve)=>{const Pe=se.useRef(0);return Pe.current+=1,se.createElement(Ql,Object.assign({},me,{ref:ve,_renderTimes:Pe.current}))},ul=se.forwardRef(Hl);ul.SELECTION_COLUMN=hr,ul.EXPAND_COLUMN=y,ul.SELECTION_ALL=mo,ul.SELECTION_INVERT=fo,ul.SELECTION_NONE=Dr,ul.Column=Qi,ul.ColumnGroup=nl,ul.Summary=we;var _t=ul,Ia=_t},12563:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return Ne}});var y=ne(59301),ue=ne(99267),Ce=ne(92310),Oe=ne.n(Ce),De=ne(36785),Ie=ne(47729),se=ne(14088),Ze=ne(36355),Ke=ne(17313),je=ne(37613),ze=ne(83116);const He=pe=>{const{paddingXXS:Xe,lineWidth:We,tagPaddingHorizontal:dt,componentCls:Re}=pe,_e=dt-We,mt=Xe-We;return{[Re]:Object.assign(Object.assign({},(0,Ke.Wf)(pe)),{display:"inline-block",height:"auto",marginInlineEnd:pe.marginXS,paddingInline:_e,fontSize:pe.tagFontSize,lineHeight:pe.tagLineHeight,whiteSpace:"nowrap",background:pe.defaultBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,borderRadius:pe.borderRadiusSM,opacity:1,transition:`all ${pe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Re}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:pe.defaultColor},[`${Re}-close-icon`]:{marginInlineStart:mt,color:pe.colorTextDescription,fontSize:pe.tagIconSize,cursor:"pointer",transition:`all ${pe.motionDurationMid}`,"&:hover":{color:pe.colorTextHeading}},[`&${Re}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${pe.iconCls}-close, ${pe.iconCls}-close:hover`]:{color:pe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Re}-checkable-checked):hover`]:{color:pe.colorPrimary,backgroundColor:pe.colorFillSecondary},"&:active, &-checked":{color:pe.colorTextLightSolid},"&-checked":{backgroundColor:pe.colorPrimary,"&:hover":{backgroundColor:pe.colorPrimaryHover}},"&:active":{backgroundColor:pe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${pe.iconCls} + span, > span + ${pe.iconCls}`]:{marginInlineStart:_e}}),[`${Re}-borderless`]:{borderColor:"transparent",background:pe.tagBorderlessBg}}},Le=pe=>{const{lineWidth:Xe,fontSizeIcon:We}=pe,dt=pe.fontSizeSM,Re=`${pe.lineHeightSM*dt}px`;return(0,je.TS)(pe,{tagFontSize:dt,tagLineHeight:Re,tagIconSize:We-2*Xe,tagPaddingHorizontal:8,tagBorderlessBg:pe.colorFillTertiary})},le=pe=>({defaultBg:pe.colorFillQuaternary,defaultColor:pe.colorText});var E=(0,ze.Z)("Tag",pe=>{const Xe=Le(pe);return He(Xe)},le),a=function(pe,Xe){var We={};for(var dt in pe)Object.prototype.hasOwnProperty.call(pe,dt)&&Xe.indexOf(dt)<0&&(We[dt]=pe[dt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,dt=Object.getOwnPropertySymbols(pe);Re{const{prefixCls:Xe,style:We,className:dt,checked:Re,onChange:_e,onClick:mt}=pe,Qe=a(pe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:at,tag:Ht}=y.useContext(Ze.E_),ht=Mt=>{_e==null||_e(!Re),mt==null||mt(Mt)},zt=at("tag",Xe),[Kt,Ve]=E(zt),ut=Oe()(zt,`${zt}-checkable`,{[`${zt}-checkable-checked`]:Re},Ht==null?void 0:Ht.className,dt,Ve);return Kt(y.createElement("span",Object.assign({},Qe,{style:Object.assign(Object.assign({},We),Ht==null?void 0:Ht.style),className:ut,onClick:ht})))},z=ne(45157);const te=pe=>(0,z.Z)(pe,(Xe,We)=>{let{textColor:dt,lightBorderColor:Re,lightColor:_e,darkColor:mt}=We;return{[`${pe.componentCls}-${Xe}`]:{color:dt,background:_e,borderColor:Re,"&-inverse":{color:pe.colorTextLightSolid,background:mt,borderColor:mt},[`&${pe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,ze.b)(["Tag","preset"],pe=>{const Xe=Le(pe);return te(Xe)},le);function ie(pe){return typeof pe!="string"?pe:pe.charAt(0).toUpperCase()+pe.slice(1)}const ge=(pe,Xe,We)=>{const dt=ie(We);return{[`${pe.componentCls}-${Xe}`]:{color:pe[`color${We}`],background:pe[`color${dt}Bg`],borderColor:pe[`color${dt}Border`],[`&${pe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var fe=(0,ze.b)(["Tag","status"],pe=>{const Xe=Le(pe);return[ge(Xe,"success","Success"),ge(Xe,"processing","Info"),ge(Xe,"error","Error"),ge(Xe,"warning","Warning")]},le),ce=function(pe,Xe){var We={};for(var dt in pe)Object.prototype.hasOwnProperty.call(pe,dt)&&Xe.indexOf(dt)<0&&(We[dt]=pe[dt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,dt=Object.getOwnPropertySymbols(pe);Re{const{prefixCls:We,className:dt,rootClassName:Re,style:_e,children:mt,icon:Qe,color:at,onClose:Ht,closeIcon:ht,closable:zt,bordered:Kt=!0}=pe,Ve=ce(pe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ut,direction:Mt,tag:un}=y.useContext(Ze.E_),[Dt,en]=y.useState(!0);y.useEffect(()=>{"visible"in Ve&&en(Ve.visible)},[Ve.visible]);const Be=(0,De.o2)(at),Jt=(0,De.yT)(at),yn=Be||Jt,Nt=Object.assign(Object.assign({backgroundColor:at&&!yn?at:void 0},un==null?void 0:un.style),_e),Ot=ut("tag",We),[tt,Ye]=E(Ot),Fe=Oe()(Ot,un==null?void 0:un.className,{[`${Ot}-${at}`]:yn,[`${Ot}-has-color`]:at&&!yn,[`${Ot}-hidden`]:!Dt,[`${Ot}-rtl`]:Mt==="rtl",[`${Ot}-borderless`]:!Kt},dt,Re,Ye),he=Je=>{Je.stopPropagation(),Ht==null||Ht(Je),!Je.defaultPrevented&&en(!1)},[,et]=(0,Ie.Z)(zt,ht,Je=>Je===null?y.createElement(ue.Z,{className:`${Ot}-close-icon`,onClick:he}):y.createElement("span",{className:`${Ot}-close-icon`,onClick:he},Je),null,!1),Lt=typeof Ve.onClick=="function"||mt&&mt.type==="a",we=Qe||null,be=we?y.createElement(y.Fragment,null,we,mt&&y.createElement("span",null,mt)):mt,Pt=y.createElement("span",Object.assign({},Ve,{ref:Xe,className:Fe,style:Nt}),be,et,Be&&y.createElement(re,{key:"preset",prefixCls:Ot}),Jt&&y.createElement(fe,{key:"status",prefixCls:Ot}));return tt(Lt?y.createElement(se.Z,{component:"Tag"},Pt):Pt)},ye=y.forwardRef(xe);ye.CheckableTag=b;var Ne=ye},10777:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return fe}});var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(36355),De=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{var{prefixCls:xe,className:ye,color:Ne="blue",dot:pe,pending:Xe=!1,position:We,label:dt,children:Re}=ce,_e=De(ce,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:mt}=Ce.useContext(Oe.E_),Qe=mt("timeline",xe),at=ue()(`${Qe}-item`,{[`${Qe}-item-pending`]:Xe},ye),Ht=/blue|red|green|gray/.test(Ne||"")?void 0:Ne,ht=ue()(`${Qe}-item-head`,{[`${Qe}-item-head-custom`]:!!pe,[`${Qe}-item-head-${Ne}`]:!Ht});return Ce.createElement("li",Object.assign({},_e,{className:at}),dt&&Ce.createElement("div",{className:`${Qe}-item-label`},dt),Ce.createElement("div",{className:`${Qe}-item-tail`}),Ce.createElement("div",{className:ht,style:{borderColor:Ht,color:Ht}},pe),Ce.createElement("div",{className:`${Qe}-item-content`},Re))},Ze=ne(94480),Ke=ne(58617),je=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{var{prefixCls:xe,className:ye,pending:Ne=!1,children:pe,items:Xe,rootClassName:We,reverse:dt=!1,direction:Re,hashId:_e,pendingDot:mt,mode:Qe=""}=ce,at=je(ce,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const Ht=(Dt,en)=>Qe==="alternate"?Dt==="right"?`${xe}-item-right`:Dt==="left"?`${xe}-item-left`:en%2===0?`${xe}-item-left`:`${xe}-item-right`:Qe==="left"?`${xe}-item-left`:Qe==="right"?`${xe}-item-right`:Dt==="right"?`${xe}-item-right`:"",ht=(0,Ze.Z)(Xe||[]),zt=typeof Ne=="boolean"?null:Ne;Ne&&ht.push({pending:!!Ne,dot:mt||Ce.createElement(Ke.Z,null),children:zt}),dt&&ht.reverse();const Kt=ht.length,Ve=`${xe}-item-last`,ut=ht.filter(Dt=>!!Dt).map((Dt,en)=>{var Be;const Jt=en===Kt-2?Ve:"",yn=en===Kt-1?Ve:"",{className:Nt}=Dt,Ot=je(Dt,["className"]);return Ce.createElement(se,Object.assign({},Ot,{className:ue()([Nt,!dt&&Ne?Jt:yn,Ht((Be=Dt==null?void 0:Dt.position)!==null&&Be!==void 0?Be:"",en)]),key:(Dt==null?void 0:Dt.key)||en}))}),Mt=ht.some(Dt=>!!(Dt!=null&&Dt.label)),un=ue()(xe,{[`${xe}-pending`]:!!Ne,[`${xe}-reverse`]:!!dt,[`${xe}-${Qe}`]:!!Qe&&!Mt,[`${xe}-label`]:Mt,[`${xe}-rtl`]:Re==="rtl"},ye,We,_e);return Ce.createElement("ul",Object.assign({},at,{className:un}),ut)},Le=ne(11592);function le(ce,xe){return ce&&Array.isArray(ce)?ce:(0,Le.Z)(xe).map(ye=>{var Ne,pe;return Object.assign({children:(pe=(Ne=ye==null?void 0:ye.props)===null||Ne===void 0?void 0:Ne.children)!==null&&pe!==void 0?pe:""},ye.props)})}var E=le,a=ne(17313),x=ne(83116),b=ne(37613);const z=ce=>{const{componentCls:xe}=ce;return{[xe]:Object.assign(Object.assign({},(0,a.Wf)(ce)),{margin:0,padding:0,listStyle:"none",[`${xe}-item`]:{position:"relative",margin:0,paddingBottom:ce.itemPaddingBottom,fontSize:ce.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:ce.itemHeadSize,insetInlineStart:(ce.itemHeadSize-ce.tailWidth)/2,height:`calc(100% - ${ce.itemHeadSize}px)`,borderInlineStart:`${ce.tailWidth}px ${ce.lineType} ${ce.tailColor}`},"&-pending":{[`${xe}-item-head`]:{fontSize:ce.fontSizeSM,backgroundColor:"transparent"},[`${xe}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:ce.itemHeadSize,height:ce.itemHeadSize,backgroundColor:ce.dotBg,border:`${ce.dotBorderWidth}px ${ce.lineType} transparent`,borderRadius:"50%","&-blue":{color:ce.colorPrimary,borderColor:ce.colorPrimary},"&-red":{color:ce.colorError,borderColor:ce.colorError},"&-green":{color:ce.colorSuccess,borderColor:ce.colorSuccess},"&-gray":{color:ce.colorTextDisabled,borderColor:ce.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:ce.itemHeadSize/2,insetInlineStart:ce.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:ce.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(ce.fontSize*ce.lineHeight-ce.fontSize)+ce.lineWidth,marginInlineStart:ce.margin+ce.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${xe}-item-tail`]:{display:"none"},[`> ${xe}-item-content`]:{minHeight:ce.controlHeightLG*1.2}}},[`&${xe}-alternate, + `]:{background:pa},[`&${ve}-row-selected`]:{"> th, > td":{background:ua},"&:hover > th, &:hover > td":{background:Ea}}}},[`${ve}-footer`]:{padding:`${Ue}px ${$e}px`,color:ia,background:La}})}};var Ul=(0,qn.Z)("Table",me=>{const{colorTextHeading:ve,colorSplit:Pe,colorIcon:Ue,colorIconHover:$e,opacityLoading:rt,colorBgContainer:xt,controlInteractiveSize:zt,headerBg:Ft,headerColor:nn,headerSortActiveBg:xn,headerSortHoverBg:It,bodySortBg:Zn,rowHoverBg:Rn,rowSelectedBg:Mn,rowSelectedHoverBg:pa,rowExpandedBg:ua,cellPaddingBlock:Ea,cellPaddingInline:ia,cellPaddingBlockMD:La,cellPaddingInlineMD:ir,cellPaddingBlockSM:cr,cellPaddingInlineSM:_a,borderColor:Br,footerBg:zr,footerColor:ka,headerBorderRadius:qa,cellFontSize:za,cellFontSizeMD:Na,cellFontSizeSM:Ka,headerSplitColor:yr,fixedHeaderSortActiveBg:_r,headerFilterHoverBg:Mr,filterDropdownBg:fr,expandIconBg:Yr,selectionColumnWidth:io,stickyScrollBarBg:Qo}=me,Fo=new Fn.C(Ue),li=new Fn.C($e),Ko=2,Hr=(0,va.TS)(me,{tableFontSize:za,tableBg:xt,tableRadius:qa,tablePaddingVertical:Ea,tablePaddingHorizontal:ia,tablePaddingVerticalMiddle:La,tablePaddingHorizontalMiddle:ir,tablePaddingVerticalSmall:cr,tablePaddingHorizontalSmall:_a,tableBorderColor:Br,tableHeaderTextColor:nn,tableHeaderBg:Ft,tableFooterTextColor:ka,tableFooterBg:zr,tableHeaderCellSplitColor:yr,tableHeaderSortBg:xn,tableHeaderSortHoverBg:It,tableHeaderIconColor:Fo.clone().setAlpha(Fo.getAlpha()*rt).toRgbString(),tableHeaderIconColorHover:li.clone().setAlpha(li.getAlpha()*rt).toRgbString(),tableBodySortBg:Zn,tableFixedHeaderSortActiveBg:_r,tableHeaderFilterActiveBg:Mr,tableFilterDropdownBg:fr,tableRowHoverBg:Rn,tableSelectedRowBg:Mn,tableSelectedRowHoverBg:pa,zIndexTableFixed:Ko,zIndexTableSticky:Ko+1,tableFontSizeMiddle:Na,tableFontSizeSmall:Ka,tableSelectionColumnWidth:io,tableExpandIconBg:Yr,tableExpandColumnWidth:zt+2*me.padding,tableExpandedRowBg:ua,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Qo,tableScrollThumbBgHover:ve,tableScrollBg:Pe});return[Al(Hr),Qr(Hr),Sl(Hr),jl(Hr),Uo(Hr),Ta(Hr),po(Hr),Po(Hr),Sl(Hr),Da(Hr),xl(Hr),Ri(Hr),hl(Hr),Dn(Hr),Tl(Hr),Fi(Hr),ts(Hr)]},me=>{const{colorFillAlter:ve,colorBgContainer:Pe,colorTextHeading:Ue,colorFillSecondary:$e,colorFillContent:rt,controlItemBgActive:xt,controlItemBgActiveHover:zt,padding:Ft,paddingSM:nn,paddingXS:xn,colorBorderSecondary:It,borderRadiusLG:Zn,fontSize:Rn,controlHeight:Mn,colorTextPlaceholder:pa}=me,ua=new Fn.C($e).onBackground(Pe).toHexShortString(),Ea=new Fn.C(rt).onBackground(Pe).toHexShortString(),ia=new Fn.C(ve).onBackground(Pe).toHexShortString();return{headerBg:ia,headerColor:Ue,headerSortActiveBg:ua,headerSortHoverBg:Ea,bodySortBg:ia,rowHoverBg:ia,rowSelectedBg:xt,rowSelectedHoverBg:zt,rowExpandedBg:ve,cellPaddingBlock:Ft,cellPaddingInline:Ft,cellPaddingBlockMD:nn,cellPaddingInlineMD:xn,cellPaddingBlockSM:xn,cellPaddingInlineSM:xn,borderColor:It,headerBorderRadius:Zn,footerBg:ia,footerColor:Ue,cellFontSize:Rn,cellFontSizeMD:Rn,cellFontSizeSM:Rn,headerSplitColor:It,fixedHeaderSortActiveBg:ua,headerFilterHoverBg:rt,filterDropdownMenuBg:Pe,filterDropdownBg:Pe,expandIconBg:Pe,selectionColumnWidth:Mn,stickyScrollBarBg:pa,stickyScrollBarBorderRadius:100}});const ns=[],ms=(me,ve)=>{const{prefixCls:Pe,className:Ue,rootClassName:$e,style:rt,size:xt,bordered:zt,dropdownPrefixCls:Ft,dataSource:nn,pagination:xn,rowSelection:It,rowKey:Zn="key",rowClassName:Rn,columns:Mn,children:pa,childrenColumnName:ua,onChange:Ea,getPopupContainer:ia,loading:La,expandIcon:ir,expandable:cr,expandedRowRender:_a,expandIconColumnIndex:Br,indentSize:zr,scroll:ka,sortDirections:qa,locale:za,showSorterTooltip:Na=!0,virtual:Ka}=me,yr=se.useMemo(()=>Mn||St(pa),[Mn,pa]),_r=se.useMemo(()=>yr.some(bo=>bo.responsive),[yr]),Mr=(0,ol.Z)(_r),fr=se.useMemo(()=>{const bo=new Set(Object.keys(Mr).filter(Xo=>Mr[Xo]));return yr.filter(Xo=>!Xo.responsive||Xo.responsive.some(Ni=>bo.has(Ni)))},[yr,Mr]),Yr=(0,Oi.Z)(me,["className","style","columns"]),{locale:io=no.Z,direction:Qo,table:Fo,renderEmpty:li,getPrefixCls:Ko,getPopupContainer:Hr}=se.useContext(di.E_),ci=(0,vl.Z)(xt),yo=Object.assign(Object.assign({},io.Table),za),ti=nn||ns,Jo=Ko("table",Pe),Ui=Ko("dropdown",Ft),Er=Object.assign({childrenColumnName:ua,expandIconColumnIndex:Br},cr),{childrenColumnName:pr="children"}=Er,mr=se.useMemo(()=>ti.some(bo=>bo==null?void 0:bo[pr])?"nest":_a||cr&&cr.expandedRowRender?"row":null,[ti]),rr={body:se.useRef()},Do=se.useMemo(()=>typeof Zn=="function"?Zn:bo=>bo==null?void 0:bo[Zn],[Zn]),[nr]=_n(ti,pr,Do),Rr={},vo=function(bo,Xo){let Ni=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var oi,zi,Hi;const Xi=Object.assign(Object.assign({},Rr),bo);Ni&&((oi=Rr.resetPagination)===null||oi===void 0||oi.call(Rr),!((zi=Xi.pagination)===null||zi===void 0)&&zi.current&&(Xi.pagination.current=1),xn&&xn.onChange&&xn.onChange(1,(Hi=Xi.pagination)===null||Hi===void 0?void 0:Hi.pageSize)),ka&&ka.scrollToFirstRowOnChange!==!1&&rr.body.current&&(0,Yi.Z)(0,{getContainer:()=>rr.body.current}),Ea==null||Ea(Xi.pagination,Xi.filters,Xi.sorter,{currentDataSource:Sn(vn(ti,Xi.sorterStates,pr),Xi.filterStates),action:Xo})},mo=(bo,Xo)=>{vo({sorter:bo,sorterStates:Xo},"sort",!1)},[Ii,Li,ll,Si]=la({prefixCls:Jo,mergedColumns:fr,onSorterChange:mo,sortDirections:qa||["ascend","descend"],tableLocale:yo,showSorterTooltip:Na}),dl=se.useMemo(()=>vn(ti,Li,pr),[ti,Li]);Rr.sorter=Si(),Rr.sorterStates=Li;const Ei=(bo,Xo)=>{vo({filters:bo,filterStates:Xo},"filter",!0)},[Qi,kl,ko]=Mt({prefixCls:Jo,locale:yo,dropdownPrefixCls:Ui,mergedColumns:fr,onFilterChange:Ei,getPopupContainer:ia||Hr}),zo=Sn(dl,kl);Rr.filters=ko,Rr.filterStates=kl;const _o=se.useMemo(()=>{const bo={};return Object.keys(ko).forEach(Xo=>{ko[Xo]!==null&&(bo[Xo]=ko[Xo])}),Object.assign(Object.assign({},ll),{filters:bo})},[ll,ko]),[ri]=tr(_o),gi=(bo,Xo)=>{vo({pagination:Object.assign(Object.assign({},Rr.pagination),{current:bo,pageSize:Xo})},"paginate")},[lo,Ti]=hr(zo.length,gi,xn);Rr.pagination=xn===!1?{}:Xa(lo,xn),Rr.resetPagination=Ti;const ki=se.useMemo(()=>{if(xn===!1||!lo.pageSize)return zo;const{current:bo=1,total:Xo,pageSize:Ni=wr}=lo;return zo.lengthNi?zo.slice((bo-1)*Ni,bo*Ni):zo:zo.slice((bo-1)*Ni,bo*Ni)},[!!xn,zo,lo&&lo.current,lo&&lo.pageSize,lo&&lo.total]),[Mi,El]=fo({prefixCls:Jo,data:zo,pageData:ki,getRowKey:Do,getRecordByKey:nr,expandType:mr,childrenColumnName:pr,locale:yo,getPopupContainer:ia||Hr},It),ml=(bo,Xo,Ni)=>{let oi;return typeof Rn=="function"?oi=We()(Rn(bo,Xo,Ni)):oi=We()(Rn),We()({[`${Jo}-row-selected`]:El.has(Do(bo,Xo))},oi)};Er.__PARENT_RENDER_ICON__=Er.expandIcon,Er.expandIcon=Er.expandIcon||ir||wa(yo),mr==="nest"&&Er.expandIconColumnIndex===void 0?Er.expandIconColumnIndex=It?1:0:Er.expandIconColumnIndex>0&&It&&(Er.expandIconColumnIndex-=1),typeof Er.indentSize!="number"&&(Er.indentSize=typeof zr=="number"?zr:15);const Zi=se.useCallback(bo=>ri(Mi(Qi(Ii(bo)))),[Ii,Qi,Mi]);let fl,sl;if(xn!==!1&&(lo!=null&&lo.total)){let bo;lo.size?bo=lo.size:bo=ci==="small"||ci==="middle"?"small":void 0;const Xo=zi=>se.createElement(Wi.Z,Object.assign({},lo,{className:We()(`${Jo}-pagination ${Jo}-pagination-${zi}`,lo.className),size:bo})),Ni=Qo==="rtl"?"left":"right",{position:oi}=lo;if(oi!==null&&Array.isArray(oi)){const zi=oi.find(bl=>bl.includes("top")),Hi=oi.find(bl=>bl.includes("bottom")),Xi=oi.every(bl=>`${bl}`=="none");!zi&&!Hi&&!Xi&&(sl=Xo(Ni)),zi&&(fl=Xo(zi.toLowerCase().replace("top",""))),Hi&&(sl=Xo(Hi.toLowerCase().replace("bottom","")))}else sl=Xo(Ni)}let Ji;typeof La=="boolean"?Ji={spinning:La}:typeof La=="object"&&(Ji=Object.assign({spinning:!0},La));const[ji,si]=Ul(Jo),[,ni]=(0,ga.Z)(),Pl=We()(`${Jo}-wrapper`,Fo==null?void 0:Fo.className,{[`${Jo}-wrapper-rtl`]:Qo==="rtl"},Ue,$e,si),Zl=Object.assign(Object.assign({},Fo==null?void 0:Fo.style),rt),Bl=za&&za.emptyText||(li==null?void 0:li("Table"))||se.createElement(rl.Z,{componentName:"Table"}),cl=Ka?gr:Ir,Fl={},fs=se.useMemo(()=>{const{fontSize:bo,lineHeight:Xo,padding:Ni,paddingXS:oi,paddingSM:zi}=ni,Hi=Math.floor(bo*Xo);switch(ci){case"large":return Ni*2+Hi;case"small":return oi*2+Hi;default:return zi*2+Hi}},[ni,ci]);return Ka&&(Fl.listItemHeight=fs),ji(se.createElement("div",{ref:ve,className:Pl,style:Zl},se.createElement(Va.Z,Object.assign({spinning:!1},Ji),fl,se.createElement(cl,Object.assign({},Fl,Yr,{columns:fr,direction:Qo,expandable:Er,prefixCls:Jo,className:We()({[`${Jo}-middle`]:ci==="middle",[`${Jo}-small`]:ci==="small",[`${Jo}-bordered`]:zt,[`${Jo}-empty`]:ti.length===0}),data:ki,rowKey:Do,rowClassName:ml,emptyText:Bl,internalHooks:ue,internalRefs:rr,transformColumns:Zi})),sl)))};var Ql=se.forwardRef(ms);const Hl=(me,ve)=>{const Pe=se.useRef(0);return Pe.current+=1,se.createElement(Ql,Object.assign({},me,{ref:ve,_renderTimes:Pe.current}))},ul=se.forwardRef(Hl);ul.SELECTION_COLUMN=Ur,ul.EXPAND_COLUMN=y,ul.SELECTION_ALL=Eo,ul.SELECTION_INVERT=xr,ul.SELECTION_NONE=oo,ul.Column=Gi,ul.ColumnGroup=el,ul.Summary=Fe;var _t=ul,Ia=_t},12563:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return Ne}});var y=ne(59301),ue=ne(99267),Ce=ne(92310),Oe=ne.n(Ce),we=ne(36785),Ie=ne(47729),se=ne(14088),Ze=ne(36355),Ke=ne(17313),je=ne(37613),ze=ne(83116);const He=pe=>{const{paddingXXS:Xe,lineWidth:We,tagPaddingHorizontal:ut,componentCls:Re}=pe,_e=ut-We,mt=Xe-We;return{[Re]:Object.assign(Object.assign({},(0,Ke.Wf)(pe)),{display:"inline-block",height:"auto",marginInlineEnd:pe.marginXS,paddingInline:_e,fontSize:pe.tagFontSize,lineHeight:pe.tagLineHeight,whiteSpace:"nowrap",background:pe.defaultBg,border:`${pe.lineWidth}px ${pe.lineType} ${pe.colorBorder}`,borderRadius:pe.borderRadiusSM,opacity:1,transition:`all ${pe.motionDurationMid}`,textAlign:"start",position:"relative",[`&${Re}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:pe.defaultColor},[`${Re}-close-icon`]:{marginInlineStart:mt,color:pe.colorTextDescription,fontSize:pe.tagIconSize,cursor:"pointer",transition:`all ${pe.motionDurationMid}`,"&:hover":{color:pe.colorTextHeading}},[`&${Re}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${pe.iconCls}-close, ${pe.iconCls}-close:hover`]:{color:pe.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${Re}-checkable-checked):hover`]:{color:pe.colorPrimary,backgroundColor:pe.colorFillSecondary},"&:active, &-checked":{color:pe.colorTextLightSolid},"&-checked":{backgroundColor:pe.colorPrimary,"&:hover":{backgroundColor:pe.colorPrimaryHover}},"&:active":{backgroundColor:pe.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${pe.iconCls} + span, > span + ${pe.iconCls}`]:{marginInlineStart:_e}}),[`${Re}-borderless`]:{borderColor:"transparent",background:pe.tagBorderlessBg}}},Le=pe=>{const{lineWidth:Xe,fontSizeIcon:We}=pe,ut=pe.fontSizeSM,Re=`${pe.lineHeightSM*ut}px`;return(0,je.TS)(pe,{tagFontSize:ut,tagLineHeight:Re,tagIconSize:We-2*Xe,tagPaddingHorizontal:8,tagBorderlessBg:pe.colorFillTertiary})},le=pe=>({defaultBg:pe.colorFillQuaternary,defaultColor:pe.colorText});var E=(0,ze.Z)("Tag",pe=>{const Xe=Le(pe);return He(Xe)},le),a=function(pe,Xe){var We={};for(var ut in pe)Object.prototype.hasOwnProperty.call(pe,ut)&&Xe.indexOf(ut)<0&&(We[ut]=pe[ut]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ut=Object.getOwnPropertySymbols(pe);Re{const{prefixCls:Xe,style:We,className:ut,checked:Re,onChange:_e,onClick:mt}=pe,Qe=a(pe,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:ot,tag:Wt}=y.useContext(Ze.E_),ht=Rt=>{_e==null||_e(!Re),mt==null||mt(Rt)},Ht=ot("tag",Xe),[Kt,Ve]=E(Ht),st=Oe()(Ht,`${Ht}-checkable`,{[`${Ht}-checkable-checked`]:Re},Wt==null?void 0:Wt.className,ut,Ve);return Kt(y.createElement("span",Object.assign({},Qe,{style:Object.assign(Object.assign({},We),Wt==null?void 0:Wt.style),className:st,onClick:ht})))},z=ne(45157);const te=pe=>(0,z.Z)(pe,(Xe,We)=>{let{textColor:ut,lightBorderColor:Re,lightColor:_e,darkColor:mt}=We;return{[`${pe.componentCls}-${Xe}`]:{color:ut,background:_e,borderColor:Re,"&-inverse":{color:pe.colorTextLightSolid,background:mt,borderColor:mt},[`&${pe.componentCls}-borderless`]:{borderColor:"transparent"}}}});var re=(0,ze.b)(["Tag","preset"],pe=>{const Xe=Le(pe);return te(Xe)},le);function ie(pe){return typeof pe!="string"?pe:pe.charAt(0).toUpperCase()+pe.slice(1)}const ge=(pe,Xe,We)=>{const ut=ie(We);return{[`${pe.componentCls}-${Xe}`]:{color:pe[`color${We}`],background:pe[`color${ut}Bg`],borderColor:pe[`color${ut}Border`],[`&${pe.componentCls}-borderless`]:{borderColor:"transparent"}}}};var fe=(0,ze.b)(["Tag","status"],pe=>{const Xe=Le(pe);return[ge(Xe,"success","Success"),ge(Xe,"processing","Info"),ge(Xe,"error","Error"),ge(Xe,"warning","Warning")]},le),ce=function(pe,Xe){var We={};for(var ut in pe)Object.prototype.hasOwnProperty.call(pe,ut)&&Xe.indexOf(ut)<0&&(We[ut]=pe[ut]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,ut=Object.getOwnPropertySymbols(pe);Re{const{prefixCls:We,className:ut,rootClassName:Re,style:_e,children:mt,icon:Qe,color:ot,onClose:Wt,closeIcon:ht,closable:Ht,bordered:Kt=!0}=pe,Ve=ce(pe,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:st,direction:Rt,tag:gn}=y.useContext(Ze.E_),[wt,$t]=y.useState(!0);y.useEffect(()=>{"visible"in Ve&&$t(Ve.visible)},[Ve.visible]);const Be=(0,we.o2)(ot),Jt=(0,we.yT)(ot),bn=Be||Jt,Ot=Object.assign(Object.assign({backgroundColor:ot&&!bn?ot:void 0},gn==null?void 0:gn.style),_e),Zt=st("tag",We),[et,Ye]=E(Zt),De=Oe()(Zt,gn==null?void 0:gn.className,{[`${Zt}-${ot}`]:bn,[`${Zt}-has-color`]:ot&&!bn,[`${Zt}-hidden`]:!wt,[`${Zt}-rtl`]:Rt==="rtl",[`${Zt}-borderless`]:!Kt},ut,Re,Ye),he=Je=>{Je.stopPropagation(),Wt==null||Wt(Je),!Je.defaultPrevented&&$t(!1)},[,tt]=(0,Ie.Z)(Ht,ht,Je=>Je===null?y.createElement(ue.Z,{className:`${Zt}-close-icon`,onClick:he}):y.createElement("span",{className:`${Zt}-close-icon`,onClick:he},Je),null,!1),Lt=typeof Ve.onClick=="function"||mt&&mt.type==="a",Fe=Qe||null,be=Fe?y.createElement(y.Fragment,null,Fe,mt&&y.createElement("span",null,mt)):mt,Pt=y.createElement("span",Object.assign({},Ve,{ref:Xe,className:De,style:Ot}),be,tt,Be&&y.createElement(re,{key:"preset",prefixCls:Zt}),Jt&&y.createElement(fe,{key:"status",prefixCls:Zt}));return et(Lt?y.createElement(se.Z,{component:"Tag"},Pt):Pt)},ye=y.forwardRef(xe);ye.CheckableTag=b;var Ne=ye},10777:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return fe}});var y=ne(92310),ue=ne.n(y),Ce=ne(59301),Oe=ne(36355),we=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{var{prefixCls:xe,className:ye,color:Ne="blue",dot:pe,pending:Xe=!1,position:We,label:ut,children:Re}=ce,_e=we(ce,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:mt}=Ce.useContext(Oe.E_),Qe=mt("timeline",xe),ot=ue()(`${Qe}-item`,{[`${Qe}-item-pending`]:Xe},ye),Wt=/blue|red|green|gray/.test(Ne||"")?void 0:Ne,ht=ue()(`${Qe}-item-head`,{[`${Qe}-item-head-custom`]:!!pe,[`${Qe}-item-head-${Ne}`]:!Wt});return Ce.createElement("li",Object.assign({},_e,{className:ot}),ut&&Ce.createElement("div",{className:`${Qe}-item-label`},ut),Ce.createElement("div",{className:`${Qe}-item-tail`}),Ce.createElement("div",{className:ht,style:{borderColor:Wt,color:Wt}},pe),Ce.createElement("div",{className:`${Qe}-item-content`},Re))},Ze=ne(94480),Ke=ne(58617),je=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{var{prefixCls:xe,className:ye,pending:Ne=!1,children:pe,items:Xe,rootClassName:We,reverse:ut=!1,direction:Re,hashId:_e,pendingDot:mt,mode:Qe=""}=ce,ot=je(ce,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const Wt=(wt,$t)=>Qe==="alternate"?wt==="right"?`${xe}-item-right`:wt==="left"?`${xe}-item-left`:$t%2===0?`${xe}-item-left`:`${xe}-item-right`:Qe==="left"?`${xe}-item-left`:Qe==="right"?`${xe}-item-right`:wt==="right"?`${xe}-item-right`:"",ht=(0,Ze.Z)(Xe||[]),Ht=typeof Ne=="boolean"?null:Ne;Ne&&ht.push({pending:!!Ne,dot:mt||Ce.createElement(Ke.Z,null),children:Ht}),ut&&ht.reverse();const Kt=ht.length,Ve=`${xe}-item-last`,st=ht.filter(wt=>!!wt).map((wt,$t)=>{var Be;const Jt=$t===Kt-2?Ve:"",bn=$t===Kt-1?Ve:"",{className:Ot}=wt,Zt=je(wt,["className"]);return Ce.createElement(se,Object.assign({},Zt,{className:ue()([Ot,!ut&&Ne?Jt:bn,Wt((Be=wt==null?void 0:wt.position)!==null&&Be!==void 0?Be:"",$t)]),key:(wt==null?void 0:wt.key)||$t}))}),Rt=ht.some(wt=>!!(wt!=null&&wt.label)),gn=ue()(xe,{[`${xe}-pending`]:!!Ne,[`${xe}-reverse`]:!!ut,[`${xe}-${Qe}`]:!!Qe&&!Rt,[`${xe}-label`]:Rt,[`${xe}-rtl`]:Re==="rtl"},ye,We,_e);return Ce.createElement("ul",Object.assign({},ot,{className:gn}),st)},Le=ne(11592);function le(ce,xe){return ce&&Array.isArray(ce)?ce:(0,Le.Z)(xe).map(ye=>{var Ne,pe;return Object.assign({children:(pe=(Ne=ye==null?void 0:ye.props)===null||Ne===void 0?void 0:Ne.children)!==null&&pe!==void 0?pe:""},ye.props)})}var E=le,a=ne(17313),x=ne(83116),b=ne(37613);const z=ce=>{const{componentCls:xe}=ce;return{[xe]:Object.assign(Object.assign({},(0,a.Wf)(ce)),{margin:0,padding:0,listStyle:"none",[`${xe}-item`]:{position:"relative",margin:0,paddingBottom:ce.itemPaddingBottom,fontSize:ce.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:ce.itemHeadSize,insetInlineStart:(ce.itemHeadSize-ce.tailWidth)/2,height:`calc(100% - ${ce.itemHeadSize}px)`,borderInlineStart:`${ce.tailWidth}px ${ce.lineType} ${ce.tailColor}`},"&-pending":{[`${xe}-item-head`]:{fontSize:ce.fontSizeSM,backgroundColor:"transparent"},[`${xe}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:ce.itemHeadSize,height:ce.itemHeadSize,backgroundColor:ce.dotBg,border:`${ce.dotBorderWidth}px ${ce.lineType} transparent`,borderRadius:"50%","&-blue":{color:ce.colorPrimary,borderColor:ce.colorPrimary},"&-red":{color:ce.colorError,borderColor:ce.colorError},"&-green":{color:ce.colorSuccess,borderColor:ce.colorSuccess},"&-gray":{color:ce.colorTextDisabled,borderColor:ce.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:ce.itemHeadSize/2,insetInlineStart:ce.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:ce.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(ce.fontSize*ce.lineHeight-ce.fontSize)+ce.lineWidth,marginInlineStart:ce.margin+ce.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${xe}-item-tail`]:{display:"none"},[`> ${xe}-item-content`]:{minHeight:ce.controlHeightLG*1.2}}},[`&${xe}-alternate, &${xe}-right, &${xe}-label`]:{[`${xe}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${ce.marginXXS}px`,"&-custom":{marginInlineStart:ce.tailWidth/2}},"&-left":{[`${xe}-item-content`]:{insetInlineStart:`calc(50% - ${ce.marginXXS}px)`,width:`calc(50% - ${ce.marginSM}px)`,textAlign:"start"}},"&-right":{[`${xe}-item-content`]:{width:`calc(50% - ${ce.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${xe}-right`]:{[`${xe}-item-right`]:{[`${xe}-item-tail, ${xe}-item-head, @@ -227,23 +227,23 @@ ${xe}-item-last ${xe}-item-tail`]:{display:"block",height:`calc(100% - ${ce.margin}px)`,borderInlineStart:`${ce.tailWidth}px dotted ${ce.tailColor}`},[`&${xe}-reverse ${xe}-item-last - ${xe}-item-tail`]:{display:"none"},[`&${xe}-reverse ${xe}-item-pending`]:{[`${xe}-item-tail`]:{insetBlockStart:ce.margin,display:"block",height:`calc(100% - ${ce.margin}px)`,borderInlineStart:`${ce.tailWidth}px dotted ${ce.tailColor}`},[`${xe}-item-content`]:{minHeight:ce.controlHeightLG*1.2}},[`&${xe}-label`]:{[`${xe}-item-label`]:{position:"absolute",insetBlockStart:-(ce.fontSize*ce.lineHeight-ce.fontSize)+ce.tailWidth,width:`calc(50% - ${ce.marginSM}px)`,textAlign:"end"},[`${xe}-item-right`]:{[`${xe}-item-label`]:{insetInlineStart:`calc(50% + ${ce.marginSM}px)`,width:`calc(50% - ${ce.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${xe}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var te=(0,x.Z)("Timeline",ce=>{const xe=(0,b.TS)(ce,{itemHeadSize:10,customHeadPaddingVertical:ce.paddingXXS,paddingInlineEnd:2});return[z(xe)]},ce=>({tailColor:ce.colorSplit,tailWidth:ce.lineWidthBold,dotBorderWidth:ce.wireframe?ce.lineWidthBold:ce.lineWidth*3,dotBg:ce.colorBgContainer,itemPaddingBottom:ce.padding*1.25})),re=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{const{getPrefixCls:xe,direction:ye,timeline:Ne}=Ce.useContext(Oe.E_),{prefixCls:pe,children:Xe,items:We,className:dt,style:Re}=ce,_e=re(ce,["prefixCls","children","items","className","style"]),mt=xe("timeline",pe),[Qe,at]=te(mt),Ht=E(We,Xe);return Qe(Ce.createElement(He,Object.assign({},_e,{className:ue()(Ne==null?void 0:Ne.className,dt),style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),Re),prefixCls:mt,direction:ye,items:Ht,hashId:at})))};ie.Item=se;var ge=ie,fe=ge},17574:function(Bt,Zt,ne){"use strict";ne.d(Zt,{default:function(){return at}});var y=ne(60091),ue=ne(94480),Ce=ne(52671),Oe=ne(8657),De=ne(54476),Ie=ne(59301),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Ze=se,Ke=ne(7657),je=function(ht,zt){return Ie.createElement(Ke.Z,(0,De.Z)({},ht,{ref:zt,icon:Ze}))},ze=Ie.forwardRef(je),He=ze,Le=ne(92310),le=ne.n(Le),E=ne(35654),a=ne(71430),x=ne(36355),b=ne(56082),z=ne(62892),te=ne(20648);const re=4;function ie(Ht){const{dropPosition:ht,dropLevelOffset:zt,prefixCls:Kt,indent:Ve,direction:ut="ltr"}=Ht,Mt=ut==="ltr"?"left":"right",un=ut==="ltr"?"right":"left",Dt={[Mt]:-zt*Ve+re,[un]:0};switch(ht){case-1:Dt.top=-3;break;case 1:Dt.bottom=-3;break;default:Dt.bottom=-3,Dt[Mt]=Ve+re;break}return Ie.createElement("div",{style:Dt,className:`${Kt}-drop-indicator`})}var ge=ne(71997),ce=Ie.forwardRef((Ht,ht)=>{const{getPrefixCls:zt,direction:Kt,virtual:Ve,tree:ut}=Ie.useContext(x.E_),{prefixCls:Mt,className:un,showIcon:Dt=!1,showLine:en,switcherIcon:Be,blockNode:Jt=!1,children:yn,checkable:Nt=!1,selectable:Ot=!0,draggable:tt,motion:Ye,style:Fe}=Ht,he=zt("tree",Mt),et=zt(),Lt=Ye!=null?Ye:Object.assign(Object.assign({},(0,z.Z)(et)),{motionAppear:!1}),we=Object.assign(Object.assign({},Ht),{checkable:Nt,selectable:Ot,showIcon:Dt,motion:Lt,blockNode:Jt,showLine:!!en,dropIndicatorRender:ie}),[be,Pt]=(0,te.ZP)(he),Je=Ie.useMemo(()=>{if(!tt)return!1;let Ct={};switch(typeof tt){case"function":Ct.nodeDraggable=tt;break;case"object":Ct=Object.assign({},tt);break;default:break}return Ct.icon!==!1&&(Ct.icon=Ct.icon||Ie.createElement(b.Z,null)),Ct},[tt]),Te=Ct=>Ie.createElement(ge.Z,{prefixCls:he,switcherIcon:Be,treeNodeProps:Ct,showLine:en});return be(Ie.createElement(y.Z,Object.assign({itemHeight:20,ref:ht,virtual:Ve},we,{style:Object.assign(Object.assign({},ut==null?void 0:ut.style),Fe),prefixCls:he,className:le()({[`${he}-icon-hide`]:!Dt,[`${he}-block-node`]:Jt,[`${he}-unselectable`]:!Ot,[`${he}-rtl`]:Kt==="rtl"},ut==null?void 0:ut.className,un,Pt),direction:Kt,checkable:Nt&&Ie.createElement("span",{className:`${he}-checkbox-inner`}),selectable:Ot,switcherIcon:Te,draggable:Je}),yn))}),xe;(function(Ht){Ht[Ht.None=0]="None",Ht[Ht.Start=1]="Start",Ht[Ht.End=2]="End"})(xe||(xe={}));function ye(Ht,ht){function zt(Kt){const{key:Ve,children:ut}=Kt;ht(Ve,Kt)!==!1&&ye(ut||[],ht)}Ht.forEach(zt)}function Ne(Ht){let{treeData:ht,expandedKeys:zt,startKey:Kt,endKey:Ve}=Ht;const ut=[];let Mt=xe.None;if(Kt&&Kt===Ve)return[Kt];if(!Kt||!Ve)return[];function un(Dt){return Dt===Kt||Dt===Ve}return ye(ht,Dt=>{if(Mt===xe.End)return!1;if(un(Dt)){if(ut.push(Dt),Mt===xe.None)Mt=xe.Start;else if(Mt===xe.Start)return Mt=xe.End,!1}else Mt===xe.Start&&ut.push(Dt);return zt.includes(Dt)}),ut}function pe(Ht,ht){const zt=(0,ue.Z)(ht),Kt=[];return ye(Ht,(Ve,ut)=>{const Mt=zt.indexOf(Ve);return Mt!==-1&&(Kt.push(ut),zt.splice(Mt,1)),!!zt.length}),Kt}var Xe=function(Ht,ht){var zt={};for(var Kt in Ht)Object.prototype.hasOwnProperty.call(Ht,Kt)&&ht.indexOf(Kt)<0&&(zt[Kt]=Ht[Kt]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Kt=Object.getOwnPropertySymbols(Ht);Ve{var{defaultExpandAll:zt,defaultExpandParent:Kt,defaultExpandedKeys:Ve}=Ht,ut=Xe(Ht,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Mt=Ie.useRef(),un=Ie.useRef(),Dt=()=>{const{keyEntities:Je}=(0,a.I8)(dt(ut));let Te;return zt?Te=Object.keys(Je):Kt?Te=(0,E.r7)(ut.expandedKeys||Ve||[],Je):Te=ut.expandedKeys||Ve,Te},[en,Be]=Ie.useState(ut.selectedKeys||ut.defaultSelectedKeys||[]),[Jt,yn]=Ie.useState(()=>Dt());Ie.useEffect(()=>{"selectedKeys"in ut&&Be(ut.selectedKeys)},[ut.selectedKeys]),Ie.useEffect(()=>{"expandedKeys"in ut&&yn(ut.expandedKeys)},[ut.expandedKeys]);const Nt=(Je,Te)=>{var Ct;return"expandedKeys"in ut||yn(Je),(Ct=ut.onExpand)===null||Ct===void 0?void 0:Ct.call(ut,Je,Te)},Ot=(Je,Te)=>{var Ct;const{multiple:pn}=ut,{node:Tt,nativeEvent:on}=Te,{key:an=""}=Tt,mn=dt(ut),ke=Object.assign(Object.assign({},Te),{selected:!0}),it=(on==null?void 0:on.ctrlKey)||(on==null?void 0:on.metaKey),Et=on==null?void 0:on.shiftKey;let vt;pn&&it?(vt=Je,Mt.current=an,un.current=vt,ke.selectedNodes=pe(mn,vt)):pn&&Et?(vt=Array.from(new Set([].concat((0,ue.Z)(un.current||[]),(0,ue.Z)(Ne({treeData:mn,expandedKeys:Jt,startKey:an,endKey:Mt.current}))))),ke.selectedNodes=pe(mn,vt)):(vt=[an],Mt.current=an,un.current=vt,ke.selectedNodes=pe(mn,vt)),(Ct=ut.onSelect)===null||Ct===void 0||Ct.call(ut,vt,ke),"selectedKeys"in ut||Be(vt)},{getPrefixCls:tt,direction:Ye}=Ie.useContext(x.E_),{prefixCls:Fe,className:he,showIcon:et=!0,expandAction:Lt="click"}=ut,we=Xe(ut,["prefixCls","className","showIcon","expandAction"]),be=tt("tree",Fe),Pt=le()(`${be}-directory`,{[`${be}-directory-rtl`]:Ye==="rtl"},he);return Ie.createElement(ce,Object.assign({icon:We,ref:ht,blockNode:!0},we,{showIcon:et,expandAction:Lt,prefixCls:be,className:Pt,expandedKeys:Jt,selectedKeys:en,onSelect:Ot,onExpand:Nt}))};var mt=Ie.forwardRef(Re);const Qe=ce;Qe.DirectoryTree=mt,Qe.TreeNode=y.O;var at=Qe},20648:function(Bt,Zt,ne){"use strict";ne.d(Zt,{TM:function(){return Le},Yk:function(){return He}});var y=ne(36237),ue=ne(98447),Ce=ne(17313),Oe=ne(8378),De=ne(37613),Ie=ne(83116);const se=new y.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ze=(le,E)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),Ke=(le,E)=>({[`.${le}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),je=(le,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:re}=E,ie=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ce.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Ce.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:se,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Ce.oN)(E)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Ze(le,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},Ke(le,E)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ze=le=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=le;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${le.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},He=(le,E)=>{const a=`.${le}`,x=`${a}-treenode`,b=E.paddingXS/2,z=(0,De.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[je(le,z),ze(z)]},Le=le=>{const{controlHeightSM:E}=le;return{titleHeight:E,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};Zt.ZP=(0,Ie.Z)("Tree",(le,E)=>{let{prefixCls:a}=E;return[{[le.componentCls]:(0,ue.C2)(`${a}-checkbox`,le)},He(a,le),(0,Oe.Z)(le)]},le=>{const{colorTextLightSolid:E,colorPrimary:a}=le;return Object.assign(Object.assign({},Le(le)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return x}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Oe=Ce,De=ne(7657),Ie=function(z,te){return ue.createElement(De.Z,(0,y.Z)({},z,{ref:te,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(52671),je=ne(58617),ze=ne(15075),He=ne(43531),Le=ne(92310),le=ne.n(Le),E=ne(92343),x=b=>{const{prefixCls:z,switcherIcon:te,treeNodeProps:re,showLine:ie}=b,{isLeaf:ge,expanded:fe,loading:ce}=re;if(ce)return ue.createElement(je.Z,{className:`${z}-switcher-loading-icon`});let xe;if(ie&&typeof ie=="object"&&(xe=ie.showLeafIcon),ge){if(!ie)return null;if(typeof xe!="boolean"&&xe){const pe=typeof xe=="function"?xe(re):xe,Xe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(pe)?(0,E.Tm)(pe,{className:le()(pe.props.className||"",Xe)}):pe}return xe?ue.createElement(Ke.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const ye=`${z}-switcher-icon`,Ne=typeof te=="function"?te(re):te;return(0,E.l$)(Ne)?(0,E.Tm)(Ne,{className:le()(Ne.props.className||"",ye)}):Ne!==void 0?Ne:ie?fe?ue.createElement(ze.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(He.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(Ze,{className:ye})}},24334:function(Bt,Zt,ne){var y,ue;(function(Ce,Oe){Bt.exports=Oe(Ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ne.g!="undefined"?ne.g:this,function(Ce){"use strict";Ce=Ce||{};var Oe=Ce.Base64,De="2.6.4",Ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(We){for(var dt={},Re=0,_e=We.length;Re<_e;Re++)dt[We.charAt(Re)]=Re;return dt}(Ie),Ze=String.fromCharCode,Ke=function(We){if(We.length<2){var dt=We.charCodeAt(0);return dt<128?We:dt<2048?Ze(192|dt>>>6)+Ze(128|dt&63):Ze(224|dt>>>12&15)+Ze(128|dt>>>6&63)+Ze(128|dt&63)}else{var dt=65536+(We.charCodeAt(0)-55296)*1024+(We.charCodeAt(1)-56320);return Ze(240|dt>>>18&7)+Ze(128|dt>>>12&63)+Ze(128|dt>>>6&63)+Ze(128|dt&63)}},je=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(We){return We.replace(je,Ke)},He=function(We){var dt=[0,2,1][We.length%3],Re=We.charCodeAt(0)<<16|(We.length>1?We.charCodeAt(1):0)<<8|(We.length>2?We.charCodeAt(2):0),_e=[Ie.charAt(Re>>>18),Ie.charAt(Re>>>12&63),dt>=2?"=":Ie.charAt(Re>>>6&63),dt>=1?"=":Ie.charAt(Re&63)];return _e.join("")},Le=Ce.btoa&&typeof Ce.btoa=="function"?function(We){return Ce.btoa(We)}:function(We){if(We.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return We.replace(/[\s\S]{1,3}/g,He)},le=function(We){return Le(ze(String(We)))},E=function(We){return We.replace(/[+\/]/g,function(dt){return dt=="+"?"-":"_"}).replace(/=/g,"")},a=function(We,dt){return dt?E(le(We)):le(We)},x=function(We){return a(We,!0)},b;Ce.Uint8Array&&(b=function(We,dt){for(var Re="",_e=0,mt=We.length;_e>>18)+Ie.charAt(ht>>>12&63)+(typeof at!="undefined"?Ie.charAt(ht>>>6&63):"=")+(typeof Ht!="undefined"?Ie.charAt(ht&63):"=")}return dt?E(Re):Re});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(We){switch(We.length){case 4:var dt=(7&We.charCodeAt(0))<<18|(63&We.charCodeAt(1))<<12|(63&We.charCodeAt(2))<<6|63&We.charCodeAt(3),Re=dt-65536;return Ze((Re>>>10)+55296)+Ze((Re&1023)+56320);case 3:return Ze((15&We.charCodeAt(0))<<12|(63&We.charCodeAt(1))<<6|63&We.charCodeAt(2));default:return Ze((31&We.charCodeAt(0))<<6|63&We.charCodeAt(1))}},re=function(We){return We.replace(z,te)},ie=function(We){var dt=We.length,Re=dt%4,_e=(dt>0?se[We.charAt(0)]<<18:0)|(dt>1?se[We.charAt(1)]<<12:0)|(dt>2?se[We.charAt(2)]<<6:0)|(dt>3?se[We.charAt(3)]:0),mt=[Ze(_e>>>16),Ze(_e>>>8&255),Ze(_e&255)];return mt.length-=[0,0,2,1][Re],mt.join("")},ge=Ce.atob&&typeof Ce.atob=="function"?function(We){return Ce.atob(We)}:function(We){return We.replace(/\S{1,4}/g,ie)},fe=function(We){return ge(String(We).replace(/[^A-Za-z0-9\+\/]/g,""))},ce=function(We){return re(ge(We))},xe=function(We){return String(We).replace(/[-_]/g,function(dt){return dt=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(We){return ce(xe(We))},Ne;Ce.Uint8Array&&(Ne=function(We){return Uint8Array.from(fe(xe(We)),function(dt){return dt.charCodeAt(0)})});var pe=function(){var We=Ce.Base64;return Ce.Base64=Oe,We};if(Ce.Base64={VERSION:De,atob:fe,btoa:Le,fromBase64:ye,toBase64:a,utob:ze,encode:a,encodeURI:x,btou:re,decode:ye,noConflict:pe,fromUint8Array:b,toUint8Array:Ne},typeof Object.defineProperty=="function"){var Xe=function(We){return{value:We,enumerable:!1,writable:!0,configurable:!0}};Ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Xe(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",Xe(function(We){return a(this,We)})),Object.defineProperty(String.prototype,"toBase64URI",Xe(function(){return a(this,!0)}))}}return Ce.Meteor&&(Base64=Ce.Base64),Bt.exports?Bt.exports.Base64=Ce.Base64:(y=[],ue=function(){return Ce.Base64}.apply(Zt,y),ue!==void 0&&(Bt.exports=ue)),{Base64:Ce.Base64}})},39417:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ce}});var y=ne(54476),ue=ne(20068),Ce=ne(75931),Oe=ne(33885),De=ne(67732),Ie=ne(83652),se=ne(31226),Ze=ne(42403),Ke=ne(158),je=ne(92310),ze=ne.n(je),He=ne(26112),Le=ne(59301),le=ne(39378),E=function(ye){for(var Ne=ye.prefixCls,pe=ye.level,Xe=ye.isStart,We=ye.isEnd,dt="".concat(Ne,"-indent-unit"),Re=[],_e=0;_e0&&arguments[0]!==void 0?arguments[0]:[],Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Fe=tt.length,he=Ye.length;if(Math.abs(Fe-he)!==1)return{add:!1,key:null};function et(Lt,we){var be=new Map;Lt.forEach(function(Je){be.set(Je,!0)});var Pt=we.filter(function(Je){return!be.has(Je)});return Pt.length===1?Pt[0]:null}return Fe ").concat(Ye);return Ye}var Mt=a.forwardRef(function(tt,Ye){var Fe=tt.prefixCls,he=tt.data,et=tt.selectable,Lt=tt.checkable,we=tt.expandedKeys,be=tt.selectedKeys,Pt=tt.checkedKeys,Je=tt.loadedKeys,Te=tt.loadingKeys,Ct=tt.halfCheckedKeys,pn=tt.keyEntities,Tt=tt.disabled,on=tt.dragging,an=tt.dragOverNodeKey,mn=tt.dropPosition,ke=tt.motion,it=tt.height,Et=tt.itemHeight,vt=tt.virtual,lt=tt.focusable,tn=tt.activeItem,En=tt.focused,Cn=tt.tabIndex,In=tt.onKeyDown,ra=tt.onFocus,Xt=tt.onBlur,Yt=tt.onActiveChange,qt=tt.onListChangeStart,Ln=tt.onListChangeEnd,$t=(0,re.Z)(tt,_e),ha=a.useRef(null),ba=a.useRef(null);a.useImperativeHandle(Ye,function(){return{scrollTo:function(Gn){ha.current.scrollTo(Gn)},getIndentWidth:function(){return ba.current.offsetWidth}}});var Xn=a.useState(we),ln=(0,te.Z)(Xn,2),Ba=ln[0],qe=ln[1],cn=a.useState(he),Nn=(0,te.Z)(cn,2),bn=Nn[0],wn=Nn[1],zn=a.useState(he),Kn=(0,te.Z)(zn,2),ct=Kn[0],At=Kn[1],St=a.useState([]),dn=(0,te.Z)(St,2),An=dn[0],vn=dn[1],$n=a.useState(null),Tn=(0,te.Z)($n,2),_n=Tn[0],Pa=Tn[1],za=a.useRef(he);za.current=he;function Bn(){var cr=za.current;wn(cr),At(cr),vn([]),Pa(null),Ln()}(0,ie.Z)(function(){qe(we);var cr=dt(Ba,we);if(cr.key!==null)if(cr.add){var Gn=bn.findIndex(function(wr){var Hr=wr.key;return Hr===cr.key}),sn=Kt(Re(bn,he,cr.key),vt,it,Et),Ir=bn.slice();Ir.splice(Gn+1,0,zt),At(Ir),vn(sn),Pa("show")}else{var _a=he.findIndex(function(wr){var Hr=wr.key;return Hr===cr.key}),Rr=Kt(Re(he,bn,cr.key),vt,it,Et),Tr=he.slice();Tr.splice(_a+1,0,zt),At(Tr),vn(Rr),Pa("hide")}else bn!==he&&(wn(he),At(he))},[we,he]),a.useEffect(function(){on||Bn()},[on]);var Sa=ke?ct:he,qa={expandedKeys:we,selectedKeys:be,loadedKeys:Je,loadingKeys:Te,checkedKeys:Pt,halfCheckedKeys:Ct,dragOverNodeKey:an,dropPosition:mn,keyEntities:pn};return a.createElement(a.Fragment,null,En&&tn&&a.createElement("span",{style:mt,"aria-live":"assertive"},ut(tn)),a.createElement("div",null,a.createElement("input",{style:mt,disabled:lt===!1||Tt,tabIndex:lt!==!1?Cn:null,onKeyDown:In,onFocus:ra,onBlur:Xt,value:"",onChange:Qe,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(Fe,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(Fe,"-indent")},a.createElement("div",{ref:ba,className:"".concat(Fe,"-indent-unit")}))),a.createElement(ge.Z,(0,y.Z)({},$t,{data:Sa,itemKey:Ve,height:it,fullHeight:!1,virtual:vt,itemHeight:Et,prefixCls:"".concat(Fe,"-list"),ref:ha,onVisibleChange:function(Gn,sn){var Ir=new Set(Gn),_a=sn.filter(function(Rr){return!Ir.has(Rr)});_a.some(function(Rr){return Ve(Rr)===at})&&Bn()}}),function(cr){var Gn=cr.pos,sn=(0,y.Z)({},(z(cr.data),cr.data)),Ir=cr.title,_a=cr.key,Rr=cr.isStart,Tr=cr.isEnd,wr=(0,ye.km)(_a,Gn);delete sn.key,delete sn.children;var Hr=(0,ye.H8)(wr,qa);return a.createElement(We,(0,y.Z)({},sn,Hr,{title:Ir,active:!!tn&&_a===tn.key,pos:Gn,data:cr.data,isStart:Rr,isEnd:Tr,motion:ke,motionNodes:_a===at?An:null,motionType:_n,onMotionStart:qt,onMotionEnd:Bn,treeNodeRequiredProps:qa,onMouseMove:function(){Yt(null)}}))}))});Mt.displayName="NodeList";var un=Mt,Dt=ne(35654),en=ne(90782),Be=ne(67841),Jt=10,yn=function(tt){(0,Ke.Z)(Fe,tt);var Ye=(0,je.Z)(Fe);function Fe(){var he;(0,Ie.Z)(this,Fe);for(var et=arguments.length,Lt=new Array(et),we=0;we2&&arguments[2]!==void 0?arguments[2]:!1,Ct=he.state,pn=Ct.dragChildrenKeys,Tt=Ct.dropPosition,on=Ct.dropTargetKey,an=Ct.dropTargetPos,mn=Ct.dropAllowed;if(mn){var ke=he.props.onDrop;if(he.setState({dragOverNodeKey:null}),he.cleanDragState(),on!==null){var it=(0,Oe.Z)((0,Oe.Z)({},(0,ye.H8)(on,he.getTreeNodeRequiredProps())),{},{active:((Je=he.getActiveItem())===null||Je===void 0?void 0:Je.key)===on,data:(0,Be.Z)(he.state.keyEntities,on).node}),Et=pn.indexOf(on)!==-1;(0,E.ZP)(!Et,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var vt=(0,Dt.yx)(an),lt={event:be,node:(0,ye.F)(it),dragNode:he.dragNode?(0,ye.F)(he.dragNode.props):null,dragNodesKeys:[he.dragNode.props.eventKey].concat(pn),dropToGap:Tt!==0,dropPosition:Tt+Number(vt[vt.length-1])};Te||ke==null||ke(lt),he.dragNode=null}}},he.cleanDragState=function(){var be=he.state.draggingNodeKey;be!==null&&he.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),he.dragStartMousePosition=null,he.currentMouseOverDroppableNodeKey=null},he.triggerExpandActionExpand=function(be,Pt){var Je=he.state,Te=Je.expandedKeys,Ct=Je.flattenNodes,pn=Pt.expanded,Tt=Pt.key,on=Pt.isLeaf;if(!(on||be.shiftKey||be.metaKey||be.ctrlKey)){var an=Ct.filter(function(ke){return ke.key===Tt})[0],mn=(0,ye.F)((0,Oe.Z)((0,Oe.Z)({},(0,ye.H8)(Tt,he.getTreeNodeRequiredProps())),{},{data:an.data}));he.setExpandedKeys(pn?(0,Dt._5)(Te,Tt):(0,Dt.L0)(Te,Tt)),he.onNodeExpand(be,mn)}},he.onNodeClick=function(be,Pt){var Je=he.props,Te=Je.onClick,Ct=Je.expandAction;Ct==="click"&&he.triggerExpandActionExpand(be,Pt),Te==null||Te(be,Pt)},he.onNodeDoubleClick=function(be,Pt){var Je=he.props,Te=Je.onDoubleClick,Ct=Je.expandAction;Ct==="doubleClick"&&he.triggerExpandActionExpand(be,Pt),Te==null||Te(be,Pt)},he.onNodeSelect=function(be,Pt){var Je=he.state.selectedKeys,Te=he.state,Ct=Te.keyEntities,pn=Te.fieldNames,Tt=he.props,on=Tt.onSelect,an=Tt.multiple,mn=Pt.selected,ke=Pt[pn.key],it=!mn;it?an?Je=(0,Dt.L0)(Je,ke):Je=[ke]:Je=(0,Dt._5)(Je,ke);var Et=Je.map(function(vt){var lt=(0,Be.Z)(Ct,vt);return lt?lt.node:null}).filter(function(vt){return vt});he.setUncontrolledState({selectedKeys:Je}),on==null||on(Je,{event:"select",selected:it,node:Pt,selectedNodes:Et,nativeEvent:be.nativeEvent})},he.onNodeCheck=function(be,Pt,Je){var Te=he.state,Ct=Te.keyEntities,pn=Te.checkedKeys,Tt=Te.halfCheckedKeys,on=he.props,an=on.checkStrictly,mn=on.onCheck,ke=Pt.key,it,Et={event:"check",node:Pt,checked:Je,nativeEvent:be.nativeEvent};if(an){var vt=Je?(0,Dt.L0)(pn,ke):(0,Dt._5)(pn,ke),lt=(0,Dt._5)(Tt,ke);it={checked:vt,halfChecked:lt},Et.checkedNodes=vt.map(function(Xt){return(0,Be.Z)(Ct,Xt)}).filter(function(Xt){return Xt}).map(function(Xt){return Xt.node}),he.setUncontrolledState({checkedKeys:vt})}else{var tn=(0,en.S)([].concat((0,De.Z)(pn),[ke]),!0,Ct),En=tn.checkedKeys,Cn=tn.halfCheckedKeys;if(!Je){var In=new Set(En);In.delete(ke);var ra=(0,en.S)(Array.from(In),{checked:!1,halfCheckedKeys:Cn},Ct);En=ra.checkedKeys,Cn=ra.halfCheckedKeys}it=En,Et.checkedNodes=[],Et.checkedNodesPositions=[],Et.halfCheckedKeys=Cn,En.forEach(function(Xt){var Yt=(0,Be.Z)(Ct,Xt);if(Yt){var qt=Yt.node,Ln=Yt.pos;Et.checkedNodes.push(qt),Et.checkedNodesPositions.push({node:qt,pos:Ln})}}),he.setUncontrolledState({checkedKeys:En},!1,{halfCheckedKeys:Cn})}mn==null||mn(it,Et)},he.onNodeLoad=function(be){var Pt=be.key,Je=new Promise(function(Te,Ct){he.setState(function(pn){var Tt=pn.loadedKeys,on=Tt===void 0?[]:Tt,an=pn.loadingKeys,mn=an===void 0?[]:an,ke=he.props,it=ke.loadData,Et=ke.onLoad;if(!it||on.indexOf(Pt)!==-1||mn.indexOf(Pt)!==-1)return null;var vt=it(be);return vt.then(function(){var lt=he.state.loadedKeys,tn=(0,Dt.L0)(lt,Pt);Et==null||Et(tn,{event:"load",node:be}),he.setUncontrolledState({loadedKeys:tn}),he.setState(function(En){return{loadingKeys:(0,Dt._5)(En.loadingKeys,Pt)}}),Te()}).catch(function(lt){if(he.setState(function(En){return{loadingKeys:(0,Dt._5)(En.loadingKeys,Pt)}}),he.loadingRetryTimes[Pt]=(he.loadingRetryTimes[Pt]||0)+1,he.loadingRetryTimes[Pt]>=Jt){var tn=he.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),he.setUncontrolledState({loadedKeys:(0,Dt.L0)(tn,Pt)}),Te()}Ct(lt)}),{loadingKeys:(0,Dt.L0)(mn,Pt)}})});return Je.catch(function(){}),Je},he.onNodeMouseEnter=function(be,Pt){var Je=he.props.onMouseEnter;Je==null||Je({event:be,node:Pt})},he.onNodeMouseLeave=function(be,Pt){var Je=he.props.onMouseLeave;Je==null||Je({event:be,node:Pt})},he.onNodeContextMenu=function(be,Pt){var Je=he.props.onRightClick;Je&&(be.preventDefault(),Je({event:be,node:Pt}))},he.onFocus=function(){var be=he.props.onFocus;he.setState({focused:!0});for(var Pt=arguments.length,Je=new Array(Pt),Te=0;Te1&&arguments[1]!==void 0?arguments[1]:!1,Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!he.destroyed){var Te=!1,Ct=!0,pn={};Object.keys(be).forEach(function(Tt){if(Tt in he.props){Ct=!1;return}Te=!0,pn[Tt]=be[Tt]}),Te&&(!Pt||Ct)&&he.setState((0,Oe.Z)((0,Oe.Z)({},pn),Je))}},he.scrollTo=function(be){he.listRef.current.scrollTo(be)},he}return(0,se.Z)(Fe,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var et=this.props.activeKey;et!==void 0&&et!==this.state.activeKey&&(this.setState({activeKey:et}),et!==null&&this.scrollTo({key:et}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var et,Lt=this.state,we=Lt.focused,be=Lt.flattenNodes,Pt=Lt.keyEntities,Je=Lt.draggingNodeKey,Te=Lt.activeKey,Ct=Lt.dropLevelOffset,pn=Lt.dropContainerKey,Tt=Lt.dropTargetKey,on=Lt.dropPosition,an=Lt.dragOverNodeKey,mn=Lt.indent,ke=this.props,it=ke.prefixCls,Et=ke.className,vt=ke.style,lt=ke.showLine,tn=ke.focusable,En=ke.tabIndex,Cn=En===void 0?0:En,In=ke.selectable,ra=ke.showIcon,Xt=ke.icon,Yt=ke.switcherIcon,qt=ke.draggable,Ln=ke.checkable,$t=ke.checkStrictly,ha=ke.disabled,ba=ke.motion,Xn=ke.loadData,ln=ke.filterTreeNode,Ba=ke.height,qe=ke.itemHeight,cn=ke.virtual,Nn=ke.titleRender,bn=ke.dropIndicatorRender,wn=ke.onContextMenu,zn=ke.onScroll,Kn=ke.direction,ct=ke.rootClassName,At=ke.rootStyle,St=(0,le.Z)(this.props,{aria:!0,data:!0}),dn;return qt&&((0,Ce.Z)(qt)==="object"?dn=qt:typeof qt=="function"?dn={nodeDraggable:qt}:dn={}),a.createElement(x.k.Provider,{value:{prefixCls:it,selectable:In,showIcon:ra,icon:Xt,switcherIcon:Yt,draggable:dn,draggingNodeKey:Je,checkable:Ln,checkStrictly:$t,disabled:ha,keyEntities:Pt,dropLevelOffset:Ct,dropContainerKey:pn,dropTargetKey:Tt,dropPosition:on,dragOverNodeKey:an,indent:mn,direction:Kn,dropIndicatorRender:bn,loadData:Xn,filterTreeNode:ln,titleRender:Nn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:He()(it,Et,ct,(et={},(0,ue.Z)(et,"".concat(it,"-show-line"),lt),(0,ue.Z)(et,"".concat(it,"-focused"),we),(0,ue.Z)(et,"".concat(it,"-active-focused"),Te!==null),et)),style:At},a.createElement(un,(0,y.Z)({ref:this.listRef,prefixCls:it,style:vt,data:be,disabled:ha,selectable:In,checkable:!!Ln,motion:ba,dragging:Je!==null,height:Ba,itemHeight:qe,virtual:cn,focusable:tn,focused:we,tabIndex:Cn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:wn,onScroll:zn},this.getTreeNodeRequiredProps(),St))))}}],[{key:"getDerivedStateFromProps",value:function(et,Lt){var we=Lt.prevProps,be={prevProps:et};function Pt(tn){return!we&&tn in et||we&&we[tn]!==et[tn]}var Je,Te=Lt.fieldNames;if(Pt("fieldNames")&&(Te=(0,ye.w$)(et.fieldNames),be.fieldNames=Te),Pt("treeData")?Je=et.treeData:Pt("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Je=(0,ye.zn)(et.children)),Je){be.treeData=Je;var Ct=(0,ye.I8)(Je,{fieldNames:Te});be.keyEntities=(0,Oe.Z)((0,ue.Z)({},at,ht),Ct.keyEntities)}var pn=be.keyEntities||Lt.keyEntities;if(Pt("expandedKeys")||we&&Pt("autoExpandParent"))be.expandedKeys=et.autoExpandParent||!we&&et.defaultExpandParent?(0,Dt.r7)(et.expandedKeys,pn):et.expandedKeys;else if(!we&&et.defaultExpandAll){var Tt=(0,Oe.Z)({},pn);delete Tt[at],be.expandedKeys=Object.keys(Tt).map(function(tn){return Tt[tn].key})}else!we&&et.defaultExpandedKeys&&(be.expandedKeys=et.autoExpandParent||et.defaultExpandParent?(0,Dt.r7)(et.defaultExpandedKeys,pn):et.defaultExpandedKeys);if(be.expandedKeys||delete be.expandedKeys,Je||be.expandedKeys){var on=(0,ye.oH)(Je||Lt.treeData,be.expandedKeys||Lt.expandedKeys,Te);be.flattenNodes=on}if(et.selectable&&(Pt("selectedKeys")?be.selectedKeys=(0,Dt.BT)(et.selectedKeys,et):!we&&et.defaultSelectedKeys&&(be.selectedKeys=(0,Dt.BT)(et.defaultSelectedKeys,et))),et.checkable){var an;if(Pt("checkedKeys")?an=(0,Dt.E6)(et.checkedKeys)||{}:!we&&et.defaultCheckedKeys?an=(0,Dt.E6)(et.defaultCheckedKeys)||{}:Je&&(an=(0,Dt.E6)(et.checkedKeys)||{checkedKeys:Lt.checkedKeys,halfCheckedKeys:Lt.halfCheckedKeys}),an){var mn=an,ke=mn.checkedKeys,it=ke===void 0?[]:ke,Et=mn.halfCheckedKeys,vt=Et===void 0?[]:Et;if(!et.checkStrictly){var lt=(0,en.S)(it,!0,pn);it=lt.checkedKeys,vt=lt.halfCheckedKeys}be.checkedKeys=it,be.halfCheckedKeys=vt}}return Pt("loadedKeys")&&(be.loadedKeys=et.loadedKeys),be}}]),Fe}(a.Component);yn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},yn.TreeNode=ce.Z;var Nt=yn,Ot=Nt},35654:function(Bt,Zt,ne){"use strict";ne.d(Zt,{BT:function(){return a},E6:function(){return z},L0:function(){return je},OM:function(){return E},_5:function(){return Ke},r7:function(){return te},wA:function(){return He},yx:function(){return ze}});var y=ne(94480),ue=ne(76190),Ce=ne(48736),Oe=ne(59301),De=ne(39417),Ie=ne(67841),se=ne(71430),Ze=null;function Ke(re,ie){if(!re)return[];var ge=re.slice(),fe=ge.indexOf(ie);return fe>=0&&ge.splice(fe,1),ge}function je(re,ie){var ge=(re||[]).slice();return ge.indexOf(ie)===-1&&ge.push(ie),ge}function ze(re){return re.split("-")}function He(re,ie){var ge=[],fe=(0,Ie.Z)(ie,re);function ce(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];xe.forEach(function(ye){var Ne=ye.key,pe=ye.children;ge.push(Ne),ce(pe)})}return ce(fe.children),ge}function Le(re){if(re.parent){var ie=ze(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=ze(re.pos);return Number(ie[ie.length-1])===0}function E(re,ie,ge,fe,ce,xe,ye,Ne,pe,Xe){var We,dt=re.clientX,Re=re.clientY,_e=re.target.getBoundingClientRect(),mt=_e.top,Qe=_e.height,at=(Xe==="rtl"?-1:1)*(((ce==null?void 0:ce.x)||0)-dt),Ht=(at-12)/fe,ht=(0,Ie.Z)(Ne,ge.props.eventKey);if(Re-1.5?xe({dragNode:Jt,dropNode:yn,dropPosition:1})?Dt=1:Nt=!1:xe({dragNode:Jt,dropNode:yn,dropPosition:0})?Dt=0:xe({dragNode:Jt,dropNode:yn,dropPosition:1})?Dt=1:Nt=!1:xe({dragNode:Jt,dropNode:yn,dropPosition:1})?Dt=1:Nt=!1,{dropPosition:Dt,dropLevelOffset:en,dropTargetKey:ht.key,dropTargetPos:ht.pos,dragOverNodeKey:un,dropContainerKey:Dt===0?null:((We=ht.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:Nt}}function a(re,ie){if(re){var ge=ie.multiple;return ge?re.slice():re.length?[re[0]]:re}}var x=function(ie){return ie};function b(re,ie){if(!re)return[];var ge=ie||{},fe=ge.processProps,ce=fe===void 0?x:fe,xe=Array.isArray(re)?re:[re];return xe.map(function(ye){var Ne=ye.children,pe=_objectWithoutProperties(ye,Ze),Xe=b(Ne,ie);return React.createElement(TreeNode,_extends({key:pe.key},ce(pe)),Xe)})}function z(re){if(!re)return null;var ie;if(Array.isArray(re))ie={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ue.Z)(re)==="object")ie={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function te(re,ie){var ge=new Set;function fe(ce){if(!ge.has(ce)){var xe=(0,Ie.Z)(ie,ce);if(xe){ge.add(ce);var ye=xe.parent,Ne=xe.node;Ne.disabled||ye&&fe(ye.key)}}}return(re||[]).forEach(function(ce){fe(ce)}),(0,y.Z)(ge)}},90782:function(Bt,Zt,ne){"use strict";ne.d(Zt,{S:function(){return se}});var y=ne(48736),ue=ne(67841);function Ce(Ze,Ke){var je=new Set;return Ze.forEach(function(ze){Ke.has(ze)||je.add(ze)}),je}function Oe(Ze){var Ke=Ze||{},je=Ke.disabled,ze=Ke.disableCheckbox,He=Ke.checkable;return!!(je||ze)||He===!1}function De(Ze,Ke,je,ze){for(var He=new Set(Ze),Le=new Set,le=0;le<=je;le+=1){var E=Ke.get(le)||new Set;E.forEach(function(z){var te=z.key,re=z.node,ie=z.children,ge=ie===void 0?[]:ie;He.has(te)&&!ze(re)&&ge.filter(function(fe){return!ze(fe.node)}).forEach(function(fe){He.add(fe.key)})})}for(var a=new Set,x=je;x>=0;x-=1){var b=Ke.get(x)||new Set;b.forEach(function(z){var te=z.parent,re=z.node;if(!(ze(re)||!z.parent||a.has(z.parent.key))){if(ze(z.parent.node)){a.add(te.key);return}var ie=!0,ge=!1;(te.children||[]).filter(function(fe){return!ze(fe.node)}).forEach(function(fe){var ce=fe.key,xe=He.has(ce);ie&&!xe&&(ie=!1),!ge&&(xe||Le.has(ce))&&(ge=!0)}),ie&&He.add(te.key),ge&&Le.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(He),halfCheckedKeys:Array.from(Ce(Le,He))}}function Ie(Ze,Ke,je,ze,He){for(var Le=new Set(Ze),le=new Set(Ke),E=0;E<=ze;E+=1){var a=je.get(E)||new Set;a.forEach(function(te){var re=te.key,ie=te.node,ge=te.children,fe=ge===void 0?[]:ge;!Le.has(re)&&!le.has(re)&&!He(ie)&&fe.filter(function(ce){return!He(ce.node)}).forEach(function(ce){Le.delete(ce.key)})})}le=new Set;for(var x=new Set,b=ze;b>=0;b-=1){var z=je.get(b)||new Set;z.forEach(function(te){var re=te.parent,ie=te.node;if(!(He(ie)||!te.parent||x.has(te.parent.key))){if(He(te.parent.node)){x.add(re.key);return}var ge=!0,fe=!1;(re.children||[]).filter(function(ce){return!He(ce.node)}).forEach(function(ce){var xe=ce.key,ye=Le.has(xe);ge&&!ye&&(ge=!1),!fe&&(ye||le.has(xe))&&(fe=!0)}),ge||Le.delete(re.key),fe&&le.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Le),halfCheckedKeys:Array.from(Ce(le,Le))}}function se(Ze,Ke,je,ze){var He=[],Le;ze?Le=ze:Le=Oe;var le=new Set(Ze.filter(function(b){var z=!!(0,ue.Z)(je,b);return z||He.push(b),z})),E=new Map,a=0;Object.keys(je).forEach(function(b){var z=je[b],te=z.level,re=E.get(te);re||(re=new Set,E.set(te,re)),re.add(z),a=Math.max(a,te)}),(0,y.ZP)(!He.length,"Tree missing follow keys: ".concat(He.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return Ke===!0?x=De(le,E,a,Le):x=Ie(le,Ke.halfCheckedKeys,E,a,Le),x}},67841:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return y}});function y(ue,Ce){return ue[Ce]}},71430:function(Bt,Zt,ne){"use strict";ne.d(Zt,{F:function(){return te},H8:function(){return z},I8:function(){return b},km:function(){return He},oH:function(){return a},w$:function(){return Le},zn:function(){return E}});var y=ne(76190),ue=ne(94480),Ce=ne(33885),Oe=ne(75931),De=ne(11592),Ie=ne(2738),se=ne(48736),Ze=ne(67841),Ke=["children"];function je(re,ie){return"".concat(re,"-").concat(ie)}function ze(re){return re&&re.type&&re.type.isTreeNode}function He(re,ie){return re!=null?re:ie}function Le(re){var ie=re||{},ge=ie.title,fe=ie._title,ce=ie.key,xe=ie.children,ye=ge||"title";return{title:ye,_title:fe||[ye],key:ce||"key",children:xe||"children"}}function le(re,ie){var ge=new Map;function fe(ce){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ce||[]).forEach(function(ye){var Ne=ye[ie.key],pe=ye[ie.children];warning(Ne!=null,"Tree node must have a certain key: [".concat(xe).concat(Ne,"]"));var Xe=String(Ne);warning(!ge.has(Xe)||Ne===null||Ne===void 0,"Same 'key' exist in the Tree: ".concat(Xe)),ge.set(Xe,!0),fe(pe,"".concat(xe).concat(Xe," > "))})}fe(re)}function E(re){function ie(ge){var fe=(0,De.Z)(ge);return fe.map(function(ce){if(!ze(ce))return(0,se.ZP)(!ce,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=ce.key,ye=ce.props,Ne=ye.children,pe=(0,Oe.Z)(ye,Ke),Xe=(0,Ce.Z)({key:xe},pe),We=ie(Ne);return We.length&&(Xe.children=We),Xe}).filter(function(ce){return ce})}return ie(re)}function a(re,ie,ge){var fe=Le(ge),ce=fe._title,xe=fe.key,ye=fe.children,Ne=new Set(ie===!0?[]:ie),pe=[];function Xe(We){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return We.map(function(Re,_e){for(var mt=je(dt?dt.pos:"0",_e),Qe=He(Re[xe],mt),at,Ht=0;Ht1&&arguments[1]!==void 0?arguments[1]:{},ge=ie.initWrapper,fe=ie.processEntity,ce=ie.onProcessFinished,xe=ie.externalGetKey,ye=ie.childrenPropName,Ne=ie.fieldNames,pe=arguments.length>2?arguments[2]:void 0,Xe=xe||pe,We={},dt={},Re={posEntities:We,keyEntities:dt};return ge&&(Re=ge(Re)||Re),x(re,function(_e){var mt=_e.node,Qe=_e.index,at=_e.pos,Ht=_e.key,ht=_e.parentPos,zt=_e.level,Kt=_e.nodes,Ve={node:mt,nodes:Kt,index:Qe,key:Ht,pos:at,level:zt},ut=He(Ht,at);We[at]=Ve,dt[ut]=Ve,Ve.parent=We[ht],Ve.parent&&(Ve.parent.children=Ve.parent.children||[],Ve.parent.children.push(Ve)),fe&&fe(Ve,Re)},{externalGetKey:Xe,childrenPropName:ye,fieldNames:Ne}),ce&&ce(Re),Re}function z(re,ie){var ge=ie.expandedKeys,fe=ie.selectedKeys,ce=ie.loadedKeys,xe=ie.loadingKeys,ye=ie.checkedKeys,Ne=ie.halfCheckedKeys,pe=ie.dragOverNodeKey,Xe=ie.dropPosition,We=ie.keyEntities,dt=(0,Ze.Z)(We,re),Re={eventKey:re,expanded:ge.indexOf(re)!==-1,selected:fe.indexOf(re)!==-1,loaded:ce.indexOf(re)!==-1,loading:xe.indexOf(re)!==-1,checked:ye.indexOf(re)!==-1,halfChecked:Ne.indexOf(re)!==-1,pos:String(dt?dt.pos:""),dragOver:pe===re&&Xe===0,dragOverGapTop:pe===re&&Xe===-1,dragOverGapBottom:pe===re&&Xe===1};return Re}function te(re){var ie=re.data,ge=re.expanded,fe=re.selected,ce=re.checked,xe=re.loaded,ye=re.loading,Ne=re.halfChecked,pe=re.dragOver,Xe=re.dragOverGapTop,We=re.dragOverGapBottom,dt=re.pos,Re=re.active,_e=re.eventKey,mt=(0,Ce.Z)((0,Ce.Z)({},ie),{},{expanded:ge,selected:fe,checked:ce,loaded:xe,loading:ye,halfChecked:Ne,dragOver:pe,dragOverGapTop:Xe,dragOverGapBottom:We,pos:dt,active:Re,key:_e});return"props"in mt||Object.defineProperty(mt,"props",{get:function(){return(0,se.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),mt}},8224:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z:function(){return ue}});var y=ne(4676);function ue(Ce,Oe,De,Ie){var se=y.unstable_batchedUpdates?function(Ke){y.unstable_batchedUpdates(De,Ke)}:De;return Ce!=null&&Ce.addEventListener&&Ce.addEventListener(Oe,se,Ie),{remove:function(){Ce!=null&&Ce.removeEventListener&&Ce.removeEventListener(Oe,se,Ie)}}}},55468:function(Bt,Zt,ne){"use strict";ne.d(Zt,{g1:function(){return ze},os:function(){return Le}});var y=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Ce={cssFloat:1,styleFloat:1,float:1};function Oe(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function De(le,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return le.offsetHeight;if(E==="width")return le.offsetWidth}return E in ue||(ue[E]=y.test(E)),ue[E]?parseFloat(a)||0:a}function Ie(le,E){var a=arguments.length,x=Oe(le);return E=Ce[E]?"cssFloat"in le.style?"cssFloat":"styleFloat":E,a===1?x:De(le,E,x[E]||le.style[E])}function se(le,E,a){var x=arguments.length;if(E=Ce[E]?"cssFloat"in le.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&y.test(E)&&(a="".concat(a,"px")),le.style[E]=a,a;for(var b in E)E.hasOwnProperty(b)&&se(le,b,E[b]);return Oe(le)}function Ze(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function Ke(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function je(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:E}}function ze(){var le=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:le,height:E}}function He(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Le(le){var E=le.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},3465:function(Bt,Zt,ne){"use strict";ne.d(Zt,{G:function(){return Oe}});var y=ne(47273),ue=function(Ie){if((0,y.Z)()&&window.document.documentElement){var se=Array.isArray(Ie)?Ie:[Ie],Ze=window.document.documentElement;return se.some(function(Ke){return Ke in Ze.style})}return!1},Ce=function(Ie,se){if(!ue(Ie))return!1;var Ze=document.createElement("div"),Ke=Ze.style[Ie];return Ze.style[Ie]=se,Ze.style[Ie]!==Ke};function Oe(De,Ie){return!Array.isArray(De)&&Ie!==void 0?Ce(De,Ie):ue(De)}},11414:function(Bt,Zt,ne){"use strict";ne.d(Zt,{Z5:function(){return qu},_l:function(){return Hd},bK:function(){return wu}});var y=ne(59301),ue=ne(18773);function Ce(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Oe=ne(54476),De=ne(59781),Ie=y.createContext(null),se=null;function Ze(ee){ee()}var Ke=Ze,je=function(ae){return Ke=ae},ze=function(){return Ke};function He(){var ee=ze(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ee(function(){for(var Se=ae;Se;)Se.callback(),Se=Se.next})},get:function(){for(var Se=[],Ee=ae;Ee;)Se.push(Ee),Ee=Ee.next;return Se},subscribe:function(Se){var Ee=!0,Ae=oe={callback:Se,next:null,prev:oe};return Ae.prev?Ae.prev.next=Ae:ae=Ae,function(){!Ee||ae===null||(Ee=!1,Ae.next?Ae.next.prev=Ae.prev:oe=Ae.prev,Ae.prev?Ae.prev.next=Ae.next:ae=Ae.next)}}}}var Le={notify:function(){},get:function(){return[]}};function le(ee,ae){var oe,de=Le;function Se(gt){return rt(),de.subscribe(gt)}function Ee(){de.notify()}function Ae(){bt.onStateChange&&bt.onStateChange()}function Me(){return!!oe}function rt(){oe||(oe=ae?ae.addNestedSub(Ae):ee.subscribe(Ae),de=He())}function Ft(){oe&&(oe(),oe=void 0,de.clear(),de=Le)}var bt={addNestedSub:Se,notifyNestedSubs:Ee,handleChangeWrapper:Ae,isSubscribed:Me,trySubscribe:rt,tryUnsubscribe:Ft,getListeners:function(){return de}};return bt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect;function a(ee){var ae=ee.store,oe=ee.context,de=ee.children,Se=(0,y.useMemo)(function(){var Me=le(ae);return{store:ae,subscription:Me}},[ae]),Ee=(0,y.useMemo)(function(){return ae.getState()},[ae]);E(function(){var Me=Se.subscription;return Me.onStateChange=Me.notifyNestedSubs,Me.trySubscribe(),Ee!==ae.getState()&&Me.notifyNestedSubs(),function(){Me.tryUnsubscribe(),Me.onStateChange=null}},[Se,Ee]);var Ae=oe||Ie;return y.createElement(Ae.Provider,{value:Se},de)}var x=a,b=ne(85377),z=ne(94266),te=ne.n(z),re=ne(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ge=["reactReduxForwardedRef"],fe=[],ce=[null,null],xe=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function ye(ee,ae){var oe=ee[1];return[ae.payload,oe+1]}function Ne(ee,ae,oe){E(function(){return ee.apply(void 0,ae)},oe)}function pe(ee,ae,oe,de,Se,Ee,Ae){ee.current=de,ae.current=Se,oe.current=!1,Ee.current&&(Ee.current=null,Ae())}function Xe(ee,ae,oe,de,Se,Ee,Ae,Me,rt,Ft){if(ee){var bt=!1,gt=null,pt=function(){if(!bt){var pa=ae.getState(),Aa,Ra;try{Aa=de(pa,Se.current)}catch(Qa){Ra=Qa,gt=Qa}Ra||(gt=null),Aa===Ee.current?Ae.current||rt():(Ee.current=Aa,Me.current=Aa,Ae.current=!0,Ft({type:"STORE_UPDATED",payload:{error:Ra}}))}};oe.onStateChange=pt,oe.trySubscribe(),pt();var kt=function(){if(bt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,gt)throw gt};return kt}}var We=function(){return[null,0]};function dt(ee,ae){ae===void 0&&(ae={});var oe=ae,de=oe.getDisplayName,Se=de===void 0?function($r){return"ConnectAdvanced("+$r+")"}:de,Ee=oe.methodName,Ae=Ee===void 0?"connectAdvanced":Ee,Me=oe.renderCountProp,rt=Me===void 0?void 0:Me,Ft=oe.shouldHandleStateChanges,bt=Ft===void 0?!0:Ft,gt=oe.storeKey,pt=gt===void 0?"store":gt,kt=oe.withRef,Pn=kt===void 0?!1:kt,pa=oe.forwardRef,Aa=pa===void 0?!1:pa,Ra=oe.context,Qa=Ra===void 0?Ie:Ra,sr=(0,b.Z)(oe,ie);if(0)var Pr;var oo=Qa;return function(No){var Ai=No.displayName||No.name||"Component",Ho=Se(Ai),Bi=(0,Oe.Z)({},sr,{getDisplayName:Se,methodName:Ae,renderCountProp:rt,shouldHandleStateChanges:bt,storeKey:pt,displayName:Ho,wrappedComponentName:Ai,WrappedComponent:No}),Ui=sr.pure;function $i(el){return ee(el.dispatch,Bi)}var Il=Ui?y.useMemo:function(el){return el()};function Cl(el){var Wl=(0,y.useMemo)(function(){var Fs=el.reactReduxForwardedRef,du=(0,b.Z)(el,ge);return[el.context,Fs,du]},[el]),Nl=Wl[0],As=Wl[1],Xl=Wl[2],Kl=(0,y.useMemo)(function(){return Nl&&Nl.Consumer&&(0,re.isContextConsumer)(y.createElement(Nl.Consumer,null))?Nl:oo},[Nl,oo]),Ol=(0,y.useContext)(Kl),ql=!!el.store&&!!el.store.getState&&!!el.store.dispatch,Hs=!!Ol&&!!Ol.store,Ml=ql?el.store:Ol.store,Bs=(0,y.useMemo)(function(){return $i(Ml)},[Ml]),Gs=(0,y.useMemo)(function(){if(!bt)return ce;var Fs=le(Ml,ql?null:Ol.subscription),du=Fs.notifyNestedSubs.bind(Fs);return[Fs,du]},[Ml,ql,Ol]),gs=Gs[0],Ws=Gs[1],Ks=(0,y.useMemo)(function(){return ql?Ol:(0,Oe.Z)({},Ol,{subscription:gs})},[ql,Ol,gs]),Du=(0,y.useReducer)(ye,fe,We),Qd=Du[0],Vs=Qd[0],_d=Du[1];if(Vs&&Vs.error)throw Vs.error;var Iu=(0,y.useRef)(),lu=(0,y.useRef)(Xl),Us=(0,y.useRef)(),Lu=(0,y.useRef)(!1),su=Il(function(){return Us.current&&Xl===lu.current?Us.current:Bs(Ml.getState(),Xl)},[Ml,Vs,Xl]);Ne(pe,[lu,Iu,Lu,Xl,su,Us,Ws]),Ne(Xe,[bt,Ml,gs,Bs,lu,Iu,Lu,Us,Ws,_d],[Ml,gs,Bs]);var uu=(0,y.useMemo)(function(){return y.createElement(No,(0,Oe.Z)({},su,{ref:As}))},[As,No,su]),Yd=(0,y.useMemo)(function(){return bt?y.createElement(Kl.Provider,{value:Ks},uu):uu},[Kl,uu,Ks]);return Yd}var pl=Ui?y.memo(Cl):Cl;if(pl.WrappedComponent=No,pl.displayName=Cl.displayName=Ho,Aa){var Ll=y.forwardRef(function(Wl,Nl){return y.createElement(pl,(0,Oe.Z)({},Wl,{reactReduxForwardedRef:Nl}))});return Ll.displayName=Ho,Ll.WrappedComponent=No,te()(Ll,No)}return te()(pl,No)}}function Re(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function _e(ee,ae){if(Re(ee,ae))return!0;if(typeof ee!="object"||ee===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ee),de=Object.keys(ae);if(oe.length!==de.length)return!1;for(var Se=0;Se=0;de--){var Se=ae[de](ee);if(Se)return Se}return function(Ee,Ae){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+Ae.wrappedComponentName+".")}}function et(ee,ae){return ee===ae}function Lt(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,de=oe===void 0?dt:oe,Se=ae.mapStateToPropsFactories,Ee=Se===void 0?un:Se,Ae=ae.mapDispatchToPropsFactories,Me=Ae===void 0?Ve:Ae,rt=ae.mergePropsFactories,Ft=rt===void 0?yn:rt,bt=ae.selectorFactory,gt=bt===void 0?Ye:bt;return function(kt,Pn,pa,Aa){Aa===void 0&&(Aa={});var Ra=Aa,Qa=Ra.pure,sr=Qa===void 0?!0:Qa,Pr=Ra.areStatesEqual,oo=Pr===void 0?et:Pr,$r=Ra.areOwnPropsEqual,No=$r===void 0?_e:$r,Ai=Ra.areStatePropsEqual,Ho=Ai===void 0?_e:Ai,Bi=Ra.areMergedPropsEqual,Ui=Bi===void 0?_e:Bi,$i=(0,b.Z)(Ra,Fe),Il=he(kt,Ee,"mapStateToProps"),Cl=he(Pn,Me,"mapDispatchToProps"),pl=he(pa,Ft,"mergeProps");return de(gt,(0,Oe.Z)({methodName:"connect",getDisplayName:function(el){return"Connect("+el+")"},shouldHandleStateChanges:!!kt,initMapStateToProps:Il,initMapDispatchToProps:Cl,initMergeProps:pl,pure:sr,areStatesEqual:oo,areOwnPropsEqual:No,areStatePropsEqual:Ho,areMergedPropsEqual:Ui},$i))}}var we=Lt();function be(){var ee=useContext(ReactReduxContext);return ee}function Pt(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ae(),Se=de.store;return Se}}var Je=null;function Te(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ae();return de.dispatch}}var Ct=null,pn=function(ae,oe){return ae===oe};function Tt(ee,ae,oe,de){var Se=useReducer(function(Pn){return Pn+1},0),Ee=Se[1],Ae=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Me=useRef(),rt=useRef(),Ft=useRef(),bt=useRef(),gt=oe.getState(),pt;try{if(ee!==rt.current||gt!==Ft.current||Me.current){var kt=ee(gt);bt.current===void 0||!ae(kt,bt.current)?pt=kt:pt=bt.current}else pt=bt.current}catch(Pn){throw Me.current&&(Pn.message+=` + ${xe}-item-tail`]:{display:"none"},[`&${xe}-reverse ${xe}-item-pending`]:{[`${xe}-item-tail`]:{insetBlockStart:ce.margin,display:"block",height:`calc(100% - ${ce.margin}px)`,borderInlineStart:`${ce.tailWidth}px dotted ${ce.tailColor}`},[`${xe}-item-content`]:{minHeight:ce.controlHeightLG*1.2}},[`&${xe}-label`]:{[`${xe}-item-label`]:{position:"absolute",insetBlockStart:-(ce.fontSize*ce.lineHeight-ce.fontSize)+ce.tailWidth,width:`calc(50% - ${ce.marginSM}px)`,textAlign:"end"},[`${xe}-item-right`]:{[`${xe}-item-label`]:{insetInlineStart:`calc(50% + ${ce.marginSM}px)`,width:`calc(50% - ${ce.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${xe}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var te=(0,x.Z)("Timeline",ce=>{const xe=(0,b.TS)(ce,{itemHeadSize:10,customHeadPaddingVertical:ce.paddingXXS,paddingInlineEnd:2});return[z(xe)]},ce=>({tailColor:ce.colorSplit,tailWidth:ce.lineWidthBold,dotBorderWidth:ce.wireframe?ce.lineWidthBold:ce.lineWidth*3,dotBg:ce.colorBgContainer,itemPaddingBottom:ce.padding*1.25})),re=function(ce,xe){var ye={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&xe.indexOf(Ne)<0&&(ye[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ne=Object.getOwnPropertySymbols(ce);pe{const{getPrefixCls:xe,direction:ye,timeline:Ne}=Ce.useContext(Oe.E_),{prefixCls:pe,children:Xe,items:We,className:ut,style:Re}=ce,_e=re(ce,["prefixCls","children","items","className","style"]),mt=xe("timeline",pe),[Qe,ot]=te(mt),Wt=E(We,Xe);return Qe(Ce.createElement(He,Object.assign({},_e,{className:ue()(Ne==null?void 0:Ne.className,ut),style:Object.assign(Object.assign({},Ne==null?void 0:Ne.style),Re),prefixCls:mt,direction:ye,items:Wt,hashId:ot})))};ie.Item=se;var ge=ie,fe=ge},17574:function(At,jt,ne){"use strict";ne.d(jt,{default:function(){return ot}});var y=ne(60091),ue=ne(94480),Ce=ne(52671),Oe=ne(8657),we=ne(54476),Ie=ne(59301),se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Ze=se,Ke=ne(7657),je=function(ht,Ht){return Ie.createElement(Ke.Z,(0,we.Z)({},ht,{ref:Ht,icon:Ze}))},ze=Ie.forwardRef(je),He=ze,Le=ne(92310),le=ne.n(Le),E=ne(35654),a=ne(71430),x=ne(36355),b=ne(56082),z=ne(62892),te=ne(20648);const re=4;function ie(Wt){const{dropPosition:ht,dropLevelOffset:Ht,prefixCls:Kt,indent:Ve,direction:st="ltr"}=Wt,Rt=st==="ltr"?"left":"right",gn=st==="ltr"?"right":"left",wt={[Rt]:-Ht*Ve+re,[gn]:0};switch(ht){case-1:wt.top=-3;break;case 1:wt.bottom=-3;break;default:wt.bottom=-3,wt[Rt]=Ve+re;break}return Ie.createElement("div",{style:wt,className:`${Kt}-drop-indicator`})}var ge=ne(71997),ce=Ie.forwardRef((Wt,ht)=>{const{getPrefixCls:Ht,direction:Kt,virtual:Ve,tree:st}=Ie.useContext(x.E_),{prefixCls:Rt,className:gn,showIcon:wt=!1,showLine:$t,switcherIcon:Be,blockNode:Jt=!1,children:bn,checkable:Ot=!1,selectable:Zt=!0,draggable:et,motion:Ye,style:De}=Wt,he=Ht("tree",Rt),tt=Ht(),Lt=Ye!=null?Ye:Object.assign(Object.assign({},(0,z.Z)(tt)),{motionAppear:!1}),Fe=Object.assign(Object.assign({},Wt),{checkable:Ot,selectable:Zt,showIcon:wt,motion:Lt,blockNode:Jt,showLine:!!$t,dropIndicatorRender:ie}),[be,Pt]=(0,te.ZP)(he),Je=Ie.useMemo(()=>{if(!et)return!1;let bt={};switch(typeof et){case"function":bt.nodeDraggable=et;break;case"object":bt=Object.assign({},et);break;default:break}return bt.icon!==!1&&(bt.icon=bt.icon||Ie.createElement(b.Z,null)),bt},[et]),ke=bt=>Ie.createElement(ge.Z,{prefixCls:he,switcherIcon:Be,treeNodeProps:bt,showLine:$t});return be(Ie.createElement(y.Z,Object.assign({itemHeight:20,ref:ht,virtual:Ve},Fe,{style:Object.assign(Object.assign({},st==null?void 0:st.style),De),prefixCls:he,className:le()({[`${he}-icon-hide`]:!wt,[`${he}-block-node`]:Jt,[`${he}-unselectable`]:!Zt,[`${he}-rtl`]:Kt==="rtl"},st==null?void 0:st.className,gn,Pt),direction:Kt,checkable:Ot&&Ie.createElement("span",{className:`${he}-checkbox-inner`}),selectable:Zt,switcherIcon:ke,draggable:Je}),bn))}),xe;(function(Wt){Wt[Wt.None=0]="None",Wt[Wt.Start=1]="Start",Wt[Wt.End=2]="End"})(xe||(xe={}));function ye(Wt,ht){function Ht(Kt){const{key:Ve,children:st}=Kt;ht(Ve,Kt)!==!1&&ye(st||[],ht)}Wt.forEach(Ht)}function Ne(Wt){let{treeData:ht,expandedKeys:Ht,startKey:Kt,endKey:Ve}=Wt;const st=[];let Rt=xe.None;if(Kt&&Kt===Ve)return[Kt];if(!Kt||!Ve)return[];function gn(wt){return wt===Kt||wt===Ve}return ye(ht,wt=>{if(Rt===xe.End)return!1;if(gn(wt)){if(st.push(wt),Rt===xe.None)Rt=xe.Start;else if(Rt===xe.Start)return Rt=xe.End,!1}else Rt===xe.Start&&st.push(wt);return Ht.includes(wt)}),st}function pe(Wt,ht){const Ht=(0,ue.Z)(ht),Kt=[];return ye(Wt,(Ve,st)=>{const Rt=Ht.indexOf(Ve);return Rt!==-1&&(Kt.push(st),Ht.splice(Rt,1)),!!Ht.length}),Kt}var Xe=function(Wt,ht){var Ht={};for(var Kt in Wt)Object.prototype.hasOwnProperty.call(Wt,Kt)&&ht.indexOf(Kt)<0&&(Ht[Kt]=Wt[Kt]);if(Wt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,Kt=Object.getOwnPropertySymbols(Wt);Ve{var{defaultExpandAll:Ht,defaultExpandParent:Kt,defaultExpandedKeys:Ve}=Wt,st=Xe(Wt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Rt=Ie.useRef(),gn=Ie.useRef(),wt=()=>{const{keyEntities:Je}=(0,a.I8)(ut(st));let ke;return Ht?ke=Object.keys(Je):Kt?ke=(0,E.r7)(st.expandedKeys||Ve||[],Je):ke=st.expandedKeys||Ve,ke},[$t,Be]=Ie.useState(st.selectedKeys||st.defaultSelectedKeys||[]),[Jt,bn]=Ie.useState(()=>wt());Ie.useEffect(()=>{"selectedKeys"in st&&Be(st.selectedKeys)},[st.selectedKeys]),Ie.useEffect(()=>{"expandedKeys"in st&&bn(st.expandedKeys)},[st.expandedKeys]);const Ot=(Je,ke)=>{var bt;return"expandedKeys"in st||bn(Je),(bt=st.onExpand)===null||bt===void 0?void 0:bt.call(st,Je,ke)},Zt=(Je,ke)=>{var bt;const{multiple:hn}=st,{node:Tt,nativeEvent:ln}=ke,{key:tn=""}=Tt,an=ut(st),Te=Object.assign(Object.assign({},ke),{selected:!0}),at=(ln==null?void 0:ln.ctrlKey)||(ln==null?void 0:ln.metaKey),Nt=ln==null?void 0:ln.shiftKey;let ft;hn&&at?(ft=Je,Rt.current=tn,gn.current=ft,Te.selectedNodes=pe(an,ft)):hn&&Nt?(ft=Array.from(new Set([].concat((0,ue.Z)(gn.current||[]),(0,ue.Z)(Ne({treeData:an,expandedKeys:Jt,startKey:tn,endKey:Rt.current}))))),Te.selectedNodes=pe(an,ft)):(ft=[tn],Rt.current=tn,gn.current=ft,Te.selectedNodes=pe(an,ft)),(bt=st.onSelect)===null||bt===void 0||bt.call(st,ft,Te),"selectedKeys"in st||Be(ft)},{getPrefixCls:et,direction:Ye}=Ie.useContext(x.E_),{prefixCls:De,className:he,showIcon:tt=!0,expandAction:Lt="click"}=st,Fe=Xe(st,["prefixCls","className","showIcon","expandAction"]),be=et("tree",De),Pt=le()(`${be}-directory`,{[`${be}-directory-rtl`]:Ye==="rtl"},he);return Ie.createElement(ce,Object.assign({icon:We,ref:ht,blockNode:!0},Fe,{showIcon:tt,expandAction:Lt,prefixCls:be,className:Pt,expandedKeys:Jt,selectedKeys:$t,onSelect:Zt,onExpand:Ot}))};var mt=Ie.forwardRef(Re);const Qe=ce;Qe.DirectoryTree=mt,Qe.TreeNode=y.O;var ot=Qe},20648:function(At,jt,ne){"use strict";ne.d(jt,{TM:function(){return Le},Yk:function(){return He}});var y=ne(36237),ue=ne(98447),Ce=ne(17313),Oe=ne(8378),we=ne(37613),Ie=ne(83116);const se=new y.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Ze=(le,E)=>({[`.${le}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${E.motionDurationSlow}`}}}),Ke=(le,E)=>({[`.${le}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:E.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${E.lineWidthBold}px solid ${E.colorPrimary}`,borderRadius:"50%",content:'""'}}}),je=(le,E)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:z,nodeSelectedBg:te,nodeHoverBg:re}=E,ie=E.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ce.Wf)(E)),{background:E.colorBgContainer,borderRadius:E.borderRadius,transition:`background-color ${E.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Ce.oN)(E)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${E.colorPrimary}`,opacity:0,animationName:se,animationDuration:E.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:E.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Ce.oN)(E)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:z,lineHeight:`${z}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${E.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:z}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Ze(le,E)),{position:"relative",flex:"none",alignSelf:"stretch",width:z,margin:0,lineHeight:`${z}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:E.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z/2*.8,height:z/2,borderBottom:`1px solid ${E.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:ie},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:z,margin:0,padding:`0 ${E.paddingXS/2}px`,color:"inherit",lineHeight:`${z}px`,background:"transparent",borderRadius:E.borderRadius,cursor:"pointer",transition:`all ${E.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:te},[`${a}-iconEle`]:{display:"inline-block",width:z,height:z,lineHeight:`${z}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${z}px`,userSelect:"none"},Ke(le,E)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${E.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z/2,bottom:-b,borderInlineEnd:`1px solid ${E.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${z/2}px !important`}}}}})}},ze=le=>{const{treeCls:E,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:z}=le;return{[`${E}${E}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${le.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:le.controlItemBgHover}},"> *":{zIndex:1},[`${E}-switcher`]:{transition:`color ${le.motionDurationMid}`},[`${E}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${E}-node-selected`]:{color:z,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${E}-switcher`]:{color:z},[`${E}-node-content-wrapper`]:{color:z,background:"transparent"}}}}}},He=(le,E)=>{const a=`.${le}`,x=`${a}-treenode`,b=E.paddingXS/2,z=(0,we.TS)(E,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[je(le,z),ze(z)]},Le=le=>{const{controlHeightSM:E}=le;return{titleHeight:E,nodeHoverBg:le.controlItemBgHover,nodeSelectedBg:le.controlItemBgActive}};jt.ZP=(0,Ie.Z)("Tree",(le,E)=>{let{prefixCls:a}=E;return[{[le.componentCls]:(0,ue.C2)(`${a}-checkbox`,le)},He(a,le),(0,Oe.Z)(le)]},le=>{const{colorTextLightSolid:E,colorPrimary:a}=le;return Object.assign(Object.assign({},Le(le)),{directoryNodeSelectedColor:E,directoryNodeSelectedBg:a})})},71997:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return x}});var y=ne(54476),ue=ne(59301),Ce={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Oe=Ce,we=ne(7657),Ie=function(z,te){return ue.createElement(we.Z,(0,y.Z)({},z,{ref:te,icon:Oe}))},se=ue.forwardRef(Ie),Ze=se,Ke=ne(52671),je=ne(58617),ze=ne(15075),He=ne(43531),Le=ne(92310),le=ne.n(Le),E=ne(92343),x=b=>{const{prefixCls:z,switcherIcon:te,treeNodeProps:re,showLine:ie}=b,{isLeaf:ge,expanded:fe,loading:ce}=re;if(ce)return ue.createElement(je.Z,{className:`${z}-switcher-loading-icon`});let xe;if(ie&&typeof ie=="object"&&(xe=ie.showLeafIcon),ge){if(!ie)return null;if(typeof xe!="boolean"&&xe){const pe=typeof xe=="function"?xe(re):xe,Xe=`${z}-switcher-line-custom-icon`;return(0,E.l$)(pe)?(0,E.Tm)(pe,{className:le()(pe.props.className||"",Xe)}):pe}return xe?ue.createElement(Ke.Z,{className:`${z}-switcher-line-icon`}):ue.createElement("span",{className:`${z}-switcher-leaf-line`})}const ye=`${z}-switcher-icon`,Ne=typeof te=="function"?te(re):te;return(0,E.l$)(Ne)?(0,E.Tm)(Ne,{className:le()(Ne.props.className||"",ye)}):Ne!==void 0?Ne:ie?fe?ue.createElement(ze.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(He.Z,{className:`${z}-switcher-line-icon`}):ue.createElement(Ze,{className:ye})}},24334:function(At,jt,ne){var y,ue;(function(Ce,Oe){At.exports=Oe(Ce)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ne.g!="undefined"?ne.g:this,function(Ce){"use strict";Ce=Ce||{};var Oe=Ce.Base64,we="2.6.4",Ie="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=function(We){for(var ut={},Re=0,_e=We.length;Re<_e;Re++)ut[We.charAt(Re)]=Re;return ut}(Ie),Ze=String.fromCharCode,Ke=function(We){if(We.length<2){var ut=We.charCodeAt(0);return ut<128?We:ut<2048?Ze(192|ut>>>6)+Ze(128|ut&63):Ze(224|ut>>>12&15)+Ze(128|ut>>>6&63)+Ze(128|ut&63)}else{var ut=65536+(We.charCodeAt(0)-55296)*1024+(We.charCodeAt(1)-56320);return Ze(240|ut>>>18&7)+Ze(128|ut>>>12&63)+Ze(128|ut>>>6&63)+Ze(128|ut&63)}},je=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ze=function(We){return We.replace(je,Ke)},He=function(We){var ut=[0,2,1][We.length%3],Re=We.charCodeAt(0)<<16|(We.length>1?We.charCodeAt(1):0)<<8|(We.length>2?We.charCodeAt(2):0),_e=[Ie.charAt(Re>>>18),Ie.charAt(Re>>>12&63),ut>=2?"=":Ie.charAt(Re>>>6&63),ut>=1?"=":Ie.charAt(Re&63)];return _e.join("")},Le=Ce.btoa&&typeof Ce.btoa=="function"?function(We){return Ce.btoa(We)}:function(We){if(We.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return We.replace(/[\s\S]{1,3}/g,He)},le=function(We){return Le(ze(String(We)))},E=function(We){return We.replace(/[+\/]/g,function(ut){return ut=="+"?"-":"_"}).replace(/=/g,"")},a=function(We,ut){return ut?E(le(We)):le(We)},x=function(We){return a(We,!0)},b;Ce.Uint8Array&&(b=function(We,ut){for(var Re="",_e=0,mt=We.length;_e>>18)+Ie.charAt(ht>>>12&63)+(typeof ot!="undefined"?Ie.charAt(ht>>>6&63):"=")+(typeof Wt!="undefined"?Ie.charAt(ht&63):"=")}return ut?E(Re):Re});var z=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,te=function(We){switch(We.length){case 4:var ut=(7&We.charCodeAt(0))<<18|(63&We.charCodeAt(1))<<12|(63&We.charCodeAt(2))<<6|63&We.charCodeAt(3),Re=ut-65536;return Ze((Re>>>10)+55296)+Ze((Re&1023)+56320);case 3:return Ze((15&We.charCodeAt(0))<<12|(63&We.charCodeAt(1))<<6|63&We.charCodeAt(2));default:return Ze((31&We.charCodeAt(0))<<6|63&We.charCodeAt(1))}},re=function(We){return We.replace(z,te)},ie=function(We){var ut=We.length,Re=ut%4,_e=(ut>0?se[We.charAt(0)]<<18:0)|(ut>1?se[We.charAt(1)]<<12:0)|(ut>2?se[We.charAt(2)]<<6:0)|(ut>3?se[We.charAt(3)]:0),mt=[Ze(_e>>>16),Ze(_e>>>8&255),Ze(_e&255)];return mt.length-=[0,0,2,1][Re],mt.join("")},ge=Ce.atob&&typeof Ce.atob=="function"?function(We){return Ce.atob(We)}:function(We){return We.replace(/\S{1,4}/g,ie)},fe=function(We){return ge(String(We).replace(/[^A-Za-z0-9\+\/]/g,""))},ce=function(We){return re(ge(We))},xe=function(We){return String(We).replace(/[-_]/g,function(ut){return ut=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ye=function(We){return ce(xe(We))},Ne;Ce.Uint8Array&&(Ne=function(We){return Uint8Array.from(fe(xe(We)),function(ut){return ut.charCodeAt(0)})});var pe=function(){var We=Ce.Base64;return Ce.Base64=Oe,We};if(Ce.Base64={VERSION:we,atob:fe,btoa:Le,fromBase64:ye,toBase64:a,utob:ze,encode:a,encodeURI:x,btou:re,decode:ye,noConflict:pe,fromUint8Array:b,toUint8Array:Ne},typeof Object.defineProperty=="function"){var Xe=function(We){return{value:We,enumerable:!1,writable:!0,configurable:!0}};Ce.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Xe(function(){return ye(this)})),Object.defineProperty(String.prototype,"toBase64",Xe(function(We){return a(this,We)})),Object.defineProperty(String.prototype,"toBase64URI",Xe(function(){return a(this,!0)}))}}return Ce.Meteor&&(Base64=Ce.Base64),At.exports?At.exports.Base64=Ce.Base64:(y=[],ue=function(){return Ce.Base64}.apply(jt,y),ue!==void 0&&(At.exports=ue)),{Base64:Ce.Base64}})},39417:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ce}});var y=ne(54476),ue=ne(20068),Ce=ne(75931),Oe=ne(33885),we=ne(67732),Ie=ne(83652),se=ne(31226),Ze=ne(42403),Ke=ne(158),je=ne(92310),ze=ne.n(je),He=ne(26112),Le=ne(59301),le=ne(39378),E=function(ye){for(var Ne=ye.prefixCls,pe=ye.level,Xe=ye.isStart,We=ye.isEnd,ut="".concat(Ne,"-indent-unit"),Re=[],_e=0;_e0&&arguments[0]!==void 0?arguments[0]:[],Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],De=et.length,he=Ye.length;if(Math.abs(De-he)!==1)return{add:!1,key:null};function tt(Lt,Fe){var be=new Map;Lt.forEach(function(Je){be.set(Je,!0)});var Pt=Fe.filter(function(Je){return!be.has(Je)});return Pt.length===1?Pt[0]:null}return De ").concat(Ye);return Ye}var Rt=a.forwardRef(function(et,Ye){var De=et.prefixCls,he=et.data,tt=et.selectable,Lt=et.checkable,Fe=et.expandedKeys,be=et.selectedKeys,Pt=et.checkedKeys,Je=et.loadedKeys,ke=et.loadingKeys,bt=et.halfCheckedKeys,hn=et.keyEntities,Tt=et.disabled,ln=et.dragging,tn=et.dragOverNodeKey,an=et.dropPosition,Te=et.motion,at=et.height,Nt=et.itemHeight,ft=et.virtual,lt=et.focusable,fn=et.activeItem,En=et.focused,yn=et.tabIndex,Ln=et.onKeyDown,ea=et.onFocus,Xt=et.onBlur,Yt=et.onActiveChange,qt=et.onListChangeStart,In=et.onListChangeEnd,en=(0,re.Z)(et,_e),Sa=a.useRef(null),Ca=a.useRef(null);a.useImperativeHandle(Ye,function(){return{scrollTo:function(Wn){Sa.current.scrollTo(Wn)},getIndentWidth:function(){return Ca.current.offsetWidth}}});var Un=a.useState(Fe),dn=(0,te.Z)(Un,2),Aa=dn[0],qe=dn[1],pn=a.useState(he),Nn=(0,te.Z)(pn,2),sn=Nn[0],zn=Nn[1],Gn=a.useState(he),Vn=(0,te.Z)(Gn,2),dt=Vn[0],Ct=Vn[1],St=a.useState([]),mn=(0,te.Z)(St,2),An=mn[0],un=mn[1],$n=a.useState(null),Kn=(0,te.Z)($n,2),Jn=Kn[0],ma=Kn[1],Ha=a.useRef(he);Ha.current=he;function Bn(){var dr=Ha.current;zn(dr),Ct(dr),un([]),ma(null),In()}(0,ie.Z)(function(){qe(Fe);var dr=ut(Aa,Fe);if(dr.key!==null)if(dr.add){var Wn=sn.findIndex(function(Fr){var Zr=Fr.key;return Zr===dr.key}),cn=Kt(Re(sn,he,dr.key),ft,at,Nt),Lr=sn.slice();Lr.splice(Wn+1,0,Ht),Ct(Lr),un(cn),ma("show")}else{var Qa=he.findIndex(function(Fr){var Zr=Fr.key;return Zr===dr.key}),Or=Kt(Re(he,sn,dr.key),ft,at,Nt),kr=he.slice();kr.splice(Qa+1,0,Ht),Ct(kr),un(Or),ma("hide")}else sn!==he&&(zn(he),Ct(he))},[Fe,he]),a.useEffect(function(){ln||Bn()},[ln]);var ya=Te?dt:he,Ya={expandedKeys:Fe,selectedKeys:be,loadedKeys:Je,loadingKeys:ke,checkedKeys:Pt,halfCheckedKeys:bt,dragOverNodeKey:tn,dropPosition:an,keyEntities:hn};return a.createElement(a.Fragment,null,En&&fn&&a.createElement("span",{style:mt,"aria-live":"assertive"},st(fn)),a.createElement("div",null,a.createElement("input",{style:mt,disabled:lt===!1||Tt,tabIndex:lt!==!1?yn:null,onKeyDown:Ln,onFocus:ea,onBlur:Xt,value:"",onChange:Qe,"aria-label":"for screen reader"})),a.createElement("div",{className:"".concat(De,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},a.createElement("div",{className:"".concat(De,"-indent")},a.createElement("div",{ref:Ca,className:"".concat(De,"-indent-unit")}))),a.createElement(ge.Z,(0,y.Z)({},en,{data:ya,itemKey:Ve,height:at,fullHeight:!1,virtual:ft,itemHeight:Nt,prefixCls:"".concat(De,"-list"),ref:Sa,onVisibleChange:function(Wn,cn){var Lr=new Set(Wn),Qa=cn.filter(function(Or){return!Lr.has(Or)});Qa.some(function(Or){return Ve(Or)===ot})&&Bn()}}),function(dr){var Wn=dr.pos,cn=(0,y.Z)({},(z(dr.data),dr.data)),Lr=dr.title,Qa=dr.key,Or=dr.isStart,kr=dr.isEnd,Fr=(0,ye.km)(Qa,Wn);delete cn.key,delete cn.children;var Zr=(0,ye.H8)(Fr,Ya);return a.createElement(We,(0,y.Z)({},cn,Zr,{title:Lr,active:!!fn&&Qa===fn.key,pos:Wn,data:dr.data,isStart:Or,isEnd:kr,motion:Te,motionNodes:Qa===ot?An:null,motionType:Jn,onMotionStart:qt,onMotionEnd:Bn,treeNodeRequiredProps:Ya,onMouseMove:function(){Yt(null)}}))}))});Rt.displayName="NodeList";var gn=Rt,wt=ne(35654),$t=ne(90782),Be=ne(67841),Jt=10,bn=function(et){(0,Ke.Z)(De,et);var Ye=(0,je.Z)(De);function De(){var he;(0,Ie.Z)(this,De);for(var tt=arguments.length,Lt=new Array(tt),Fe=0;Fe2&&arguments[2]!==void 0?arguments[2]:!1,bt=he.state,hn=bt.dragChildrenKeys,Tt=bt.dropPosition,ln=bt.dropTargetKey,tn=bt.dropTargetPos,an=bt.dropAllowed;if(an){var Te=he.props.onDrop;if(he.setState({dragOverNodeKey:null}),he.cleanDragState(),ln!==null){var at=(0,Oe.Z)((0,Oe.Z)({},(0,ye.H8)(ln,he.getTreeNodeRequiredProps())),{},{active:((Je=he.getActiveItem())===null||Je===void 0?void 0:Je.key)===ln,data:(0,Be.Z)(he.state.keyEntities,ln).node}),Nt=hn.indexOf(ln)!==-1;(0,E.ZP)(!Nt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ft=(0,wt.yx)(tn),lt={event:be,node:(0,ye.F)(at),dragNode:he.dragNode?(0,ye.F)(he.dragNode.props):null,dragNodesKeys:[he.dragNode.props.eventKey].concat(hn),dropToGap:Tt!==0,dropPosition:Tt+Number(ft[ft.length-1])};ke||Te==null||Te(lt),he.dragNode=null}}},he.cleanDragState=function(){var be=he.state.draggingNodeKey;be!==null&&he.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),he.dragStartMousePosition=null,he.currentMouseOverDroppableNodeKey=null},he.triggerExpandActionExpand=function(be,Pt){var Je=he.state,ke=Je.expandedKeys,bt=Je.flattenNodes,hn=Pt.expanded,Tt=Pt.key,ln=Pt.isLeaf;if(!(ln||be.shiftKey||be.metaKey||be.ctrlKey)){var tn=bt.filter(function(Te){return Te.key===Tt})[0],an=(0,ye.F)((0,Oe.Z)((0,Oe.Z)({},(0,ye.H8)(Tt,he.getTreeNodeRequiredProps())),{},{data:tn.data}));he.setExpandedKeys(hn?(0,wt._5)(ke,Tt):(0,wt.L0)(ke,Tt)),he.onNodeExpand(be,an)}},he.onNodeClick=function(be,Pt){var Je=he.props,ke=Je.onClick,bt=Je.expandAction;bt==="click"&&he.triggerExpandActionExpand(be,Pt),ke==null||ke(be,Pt)},he.onNodeDoubleClick=function(be,Pt){var Je=he.props,ke=Je.onDoubleClick,bt=Je.expandAction;bt==="doubleClick"&&he.triggerExpandActionExpand(be,Pt),ke==null||ke(be,Pt)},he.onNodeSelect=function(be,Pt){var Je=he.state.selectedKeys,ke=he.state,bt=ke.keyEntities,hn=ke.fieldNames,Tt=he.props,ln=Tt.onSelect,tn=Tt.multiple,an=Pt.selected,Te=Pt[hn.key],at=!an;at?tn?Je=(0,wt.L0)(Je,Te):Je=[Te]:Je=(0,wt._5)(Je,Te);var Nt=Je.map(function(ft){var lt=(0,Be.Z)(bt,ft);return lt?lt.node:null}).filter(function(ft){return ft});he.setUncontrolledState({selectedKeys:Je}),ln==null||ln(Je,{event:"select",selected:at,node:Pt,selectedNodes:Nt,nativeEvent:be.nativeEvent})},he.onNodeCheck=function(be,Pt,Je){var ke=he.state,bt=ke.keyEntities,hn=ke.checkedKeys,Tt=ke.halfCheckedKeys,ln=he.props,tn=ln.checkStrictly,an=ln.onCheck,Te=Pt.key,at,Nt={event:"check",node:Pt,checked:Je,nativeEvent:be.nativeEvent};if(tn){var ft=Je?(0,wt.L0)(hn,Te):(0,wt._5)(hn,Te),lt=(0,wt._5)(Tt,Te);at={checked:ft,halfChecked:lt},Nt.checkedNodes=ft.map(function(Xt){return(0,Be.Z)(bt,Xt)}).filter(function(Xt){return Xt}).map(function(Xt){return Xt.node}),he.setUncontrolledState({checkedKeys:ft})}else{var fn=(0,$t.S)([].concat((0,we.Z)(hn),[Te]),!0,bt),En=fn.checkedKeys,yn=fn.halfCheckedKeys;if(!Je){var Ln=new Set(En);Ln.delete(Te);var ea=(0,$t.S)(Array.from(Ln),{checked:!1,halfCheckedKeys:yn},bt);En=ea.checkedKeys,yn=ea.halfCheckedKeys}at=En,Nt.checkedNodes=[],Nt.checkedNodesPositions=[],Nt.halfCheckedKeys=yn,En.forEach(function(Xt){var Yt=(0,Be.Z)(bt,Xt);if(Yt){var qt=Yt.node,In=Yt.pos;Nt.checkedNodes.push(qt),Nt.checkedNodesPositions.push({node:qt,pos:In})}}),he.setUncontrolledState({checkedKeys:En},!1,{halfCheckedKeys:yn})}an==null||an(at,Nt)},he.onNodeLoad=function(be){var Pt=be.key,Je=new Promise(function(ke,bt){he.setState(function(hn){var Tt=hn.loadedKeys,ln=Tt===void 0?[]:Tt,tn=hn.loadingKeys,an=tn===void 0?[]:tn,Te=he.props,at=Te.loadData,Nt=Te.onLoad;if(!at||ln.indexOf(Pt)!==-1||an.indexOf(Pt)!==-1)return null;var ft=at(be);return ft.then(function(){var lt=he.state.loadedKeys,fn=(0,wt.L0)(lt,Pt);Nt==null||Nt(fn,{event:"load",node:be}),he.setUncontrolledState({loadedKeys:fn}),he.setState(function(En){return{loadingKeys:(0,wt._5)(En.loadingKeys,Pt)}}),ke()}).catch(function(lt){if(he.setState(function(En){return{loadingKeys:(0,wt._5)(En.loadingKeys,Pt)}}),he.loadingRetryTimes[Pt]=(he.loadingRetryTimes[Pt]||0)+1,he.loadingRetryTimes[Pt]>=Jt){var fn=he.state.loadedKeys;(0,E.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),he.setUncontrolledState({loadedKeys:(0,wt.L0)(fn,Pt)}),ke()}bt(lt)}),{loadingKeys:(0,wt.L0)(an,Pt)}})});return Je.catch(function(){}),Je},he.onNodeMouseEnter=function(be,Pt){var Je=he.props.onMouseEnter;Je==null||Je({event:be,node:Pt})},he.onNodeMouseLeave=function(be,Pt){var Je=he.props.onMouseLeave;Je==null||Je({event:be,node:Pt})},he.onNodeContextMenu=function(be,Pt){var Je=he.props.onRightClick;Je&&(be.preventDefault(),Je({event:be,node:Pt}))},he.onFocus=function(){var be=he.props.onFocus;he.setState({focused:!0});for(var Pt=arguments.length,Je=new Array(Pt),ke=0;ke1&&arguments[1]!==void 0?arguments[1]:!1,Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!he.destroyed){var ke=!1,bt=!0,hn={};Object.keys(be).forEach(function(Tt){if(Tt in he.props){bt=!1;return}ke=!0,hn[Tt]=be[Tt]}),ke&&(!Pt||bt)&&he.setState((0,Oe.Z)((0,Oe.Z)({},hn),Je))}},he.scrollTo=function(be){he.listRef.current.scrollTo(be)},he}return(0,se.Z)(De,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var tt=this.props.activeKey;tt!==void 0&&tt!==this.state.activeKey&&(this.setState({activeKey:tt}),tt!==null&&this.scrollTo({key:tt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var tt,Lt=this.state,Fe=Lt.focused,be=Lt.flattenNodes,Pt=Lt.keyEntities,Je=Lt.draggingNodeKey,ke=Lt.activeKey,bt=Lt.dropLevelOffset,hn=Lt.dropContainerKey,Tt=Lt.dropTargetKey,ln=Lt.dropPosition,tn=Lt.dragOverNodeKey,an=Lt.indent,Te=this.props,at=Te.prefixCls,Nt=Te.className,ft=Te.style,lt=Te.showLine,fn=Te.focusable,En=Te.tabIndex,yn=En===void 0?0:En,Ln=Te.selectable,ea=Te.showIcon,Xt=Te.icon,Yt=Te.switcherIcon,qt=Te.draggable,In=Te.checkable,en=Te.checkStrictly,Sa=Te.disabled,Ca=Te.motion,Un=Te.loadData,dn=Te.filterTreeNode,Aa=Te.height,qe=Te.itemHeight,pn=Te.virtual,Nn=Te.titleRender,sn=Te.dropIndicatorRender,zn=Te.onContextMenu,Gn=Te.onScroll,Vn=Te.direction,dt=Te.rootClassName,Ct=Te.rootStyle,St=(0,le.Z)(this.props,{aria:!0,data:!0}),mn;return qt&&((0,Ce.Z)(qt)==="object"?mn=qt:typeof qt=="function"?mn={nodeDraggable:qt}:mn={}),a.createElement(x.k.Provider,{value:{prefixCls:at,selectable:Ln,showIcon:ea,icon:Xt,switcherIcon:Yt,draggable:mn,draggingNodeKey:Je,checkable:In,checkStrictly:en,disabled:Sa,keyEntities:Pt,dropLevelOffset:bt,dropContainerKey:hn,dropTargetKey:Tt,dropPosition:ln,dragOverNodeKey:tn,indent:an,direction:Vn,dropIndicatorRender:sn,loadData:Un,filterTreeNode:dn,titleRender:Nn,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},a.createElement("div",{role:"tree",className:He()(at,Nt,dt,(tt={},(0,ue.Z)(tt,"".concat(at,"-show-line"),lt),(0,ue.Z)(tt,"".concat(at,"-focused"),Fe),(0,ue.Z)(tt,"".concat(at,"-active-focused"),ke!==null),tt)),style:Ct},a.createElement(gn,(0,y.Z)({ref:this.listRef,prefixCls:at,style:ft,data:be,disabled:Sa,selectable:Ln,checkable:!!In,motion:Ca,dragging:Je!==null,height:Aa,itemHeight:qe,virtual:pn,focusable:fn,focused:Fe,tabIndex:yn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:zn,onScroll:Gn},this.getTreeNodeRequiredProps(),St))))}}],[{key:"getDerivedStateFromProps",value:function(tt,Lt){var Fe=Lt.prevProps,be={prevProps:tt};function Pt(fn){return!Fe&&fn in tt||Fe&&Fe[fn]!==tt[fn]}var Je,ke=Lt.fieldNames;if(Pt("fieldNames")&&(ke=(0,ye.w$)(tt.fieldNames),be.fieldNames=ke),Pt("treeData")?Je=tt.treeData:Pt("children")&&((0,E.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Je=(0,ye.zn)(tt.children)),Je){be.treeData=Je;var bt=(0,ye.I8)(Je,{fieldNames:ke});be.keyEntities=(0,Oe.Z)((0,ue.Z)({},ot,ht),bt.keyEntities)}var hn=be.keyEntities||Lt.keyEntities;if(Pt("expandedKeys")||Fe&&Pt("autoExpandParent"))be.expandedKeys=tt.autoExpandParent||!Fe&&tt.defaultExpandParent?(0,wt.r7)(tt.expandedKeys,hn):tt.expandedKeys;else if(!Fe&&tt.defaultExpandAll){var Tt=(0,Oe.Z)({},hn);delete Tt[ot],be.expandedKeys=Object.keys(Tt).map(function(fn){return Tt[fn].key})}else!Fe&&tt.defaultExpandedKeys&&(be.expandedKeys=tt.autoExpandParent||tt.defaultExpandParent?(0,wt.r7)(tt.defaultExpandedKeys,hn):tt.defaultExpandedKeys);if(be.expandedKeys||delete be.expandedKeys,Je||be.expandedKeys){var ln=(0,ye.oH)(Je||Lt.treeData,be.expandedKeys||Lt.expandedKeys,ke);be.flattenNodes=ln}if(tt.selectable&&(Pt("selectedKeys")?be.selectedKeys=(0,wt.BT)(tt.selectedKeys,tt):!Fe&&tt.defaultSelectedKeys&&(be.selectedKeys=(0,wt.BT)(tt.defaultSelectedKeys,tt))),tt.checkable){var tn;if(Pt("checkedKeys")?tn=(0,wt.E6)(tt.checkedKeys)||{}:!Fe&&tt.defaultCheckedKeys?tn=(0,wt.E6)(tt.defaultCheckedKeys)||{}:Je&&(tn=(0,wt.E6)(tt.checkedKeys)||{checkedKeys:Lt.checkedKeys,halfCheckedKeys:Lt.halfCheckedKeys}),tn){var an=tn,Te=an.checkedKeys,at=Te===void 0?[]:Te,Nt=an.halfCheckedKeys,ft=Nt===void 0?[]:Nt;if(!tt.checkStrictly){var lt=(0,$t.S)(at,!0,hn);at=lt.checkedKeys,ft=lt.halfCheckedKeys}be.checkedKeys=at,be.halfCheckedKeys=ft}}return Pt("loadedKeys")&&(be.loadedKeys=tt.loadedKeys),be}}]),De}(a.Component);bn.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:b,allowDrop:function(){return!0},expandAction:!1},bn.TreeNode=ce.Z;var Ot=bn,Zt=Ot},35654:function(At,jt,ne){"use strict";ne.d(jt,{BT:function(){return a},E6:function(){return z},L0:function(){return je},OM:function(){return E},_5:function(){return Ke},r7:function(){return te},wA:function(){return He},yx:function(){return ze}});var y=ne(94480),ue=ne(76190),Ce=ne(48736),Oe=ne(59301),we=ne(39417),Ie=ne(67841),se=ne(71430),Ze=null;function Ke(re,ie){if(!re)return[];var ge=re.slice(),fe=ge.indexOf(ie);return fe>=0&&ge.splice(fe,1),ge}function je(re,ie){var ge=(re||[]).slice();return ge.indexOf(ie)===-1&&ge.push(ie),ge}function ze(re){return re.split("-")}function He(re,ie){var ge=[],fe=(0,Ie.Z)(ie,re);function ce(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];xe.forEach(function(ye){var Ne=ye.key,pe=ye.children;ge.push(Ne),ce(pe)})}return ce(fe.children),ge}function Le(re){if(re.parent){var ie=ze(re.pos);return Number(ie[ie.length-1])===re.parent.children.length-1}return!1}function le(re){var ie=ze(re.pos);return Number(ie[ie.length-1])===0}function E(re,ie,ge,fe,ce,xe,ye,Ne,pe,Xe){var We,ut=re.clientX,Re=re.clientY,_e=re.target.getBoundingClientRect(),mt=_e.top,Qe=_e.height,ot=(Xe==="rtl"?-1:1)*(((ce==null?void 0:ce.x)||0)-ut),Wt=(ot-12)/fe,ht=(0,Ie.Z)(Ne,ge.props.eventKey);if(Re-1.5?xe({dragNode:Jt,dropNode:bn,dropPosition:1})?wt=1:Ot=!1:xe({dragNode:Jt,dropNode:bn,dropPosition:0})?wt=0:xe({dragNode:Jt,dropNode:bn,dropPosition:1})?wt=1:Ot=!1:xe({dragNode:Jt,dropNode:bn,dropPosition:1})?wt=1:Ot=!1,{dropPosition:wt,dropLevelOffset:$t,dropTargetKey:ht.key,dropTargetPos:ht.pos,dragOverNodeKey:gn,dropContainerKey:wt===0?null:((We=ht.parent)===null||We===void 0?void 0:We.key)||null,dropAllowed:Ot}}function a(re,ie){if(re){var ge=ie.multiple;return ge?re.slice():re.length?[re[0]]:re}}var x=function(ie){return ie};function b(re,ie){if(!re)return[];var ge=ie||{},fe=ge.processProps,ce=fe===void 0?x:fe,xe=Array.isArray(re)?re:[re];return xe.map(function(ye){var Ne=ye.children,pe=_objectWithoutProperties(ye,Ze),Xe=b(Ne,ie);return React.createElement(TreeNode,_extends({key:pe.key},ce(pe)),Xe)})}function z(re){if(!re)return null;var ie;if(Array.isArray(re))ie={checkedKeys:re,halfCheckedKeys:void 0};else if((0,ue.Z)(re)==="object")ie={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Ce.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return ie}function te(re,ie){var ge=new Set;function fe(ce){if(!ge.has(ce)){var xe=(0,Ie.Z)(ie,ce);if(xe){ge.add(ce);var ye=xe.parent,Ne=xe.node;Ne.disabled||ye&&fe(ye.key)}}}return(re||[]).forEach(function(ce){fe(ce)}),(0,y.Z)(ge)}},90782:function(At,jt,ne){"use strict";ne.d(jt,{S:function(){return se}});var y=ne(48736),ue=ne(67841);function Ce(Ze,Ke){var je=new Set;return Ze.forEach(function(ze){Ke.has(ze)||je.add(ze)}),je}function Oe(Ze){var Ke=Ze||{},je=Ke.disabled,ze=Ke.disableCheckbox,He=Ke.checkable;return!!(je||ze)||He===!1}function we(Ze,Ke,je,ze){for(var He=new Set(Ze),Le=new Set,le=0;le<=je;le+=1){var E=Ke.get(le)||new Set;E.forEach(function(z){var te=z.key,re=z.node,ie=z.children,ge=ie===void 0?[]:ie;He.has(te)&&!ze(re)&&ge.filter(function(fe){return!ze(fe.node)}).forEach(function(fe){He.add(fe.key)})})}for(var a=new Set,x=je;x>=0;x-=1){var b=Ke.get(x)||new Set;b.forEach(function(z){var te=z.parent,re=z.node;if(!(ze(re)||!z.parent||a.has(z.parent.key))){if(ze(z.parent.node)){a.add(te.key);return}var ie=!0,ge=!1;(te.children||[]).filter(function(fe){return!ze(fe.node)}).forEach(function(fe){var ce=fe.key,xe=He.has(ce);ie&&!xe&&(ie=!1),!ge&&(xe||Le.has(ce))&&(ge=!0)}),ie&&He.add(te.key),ge&&Le.add(te.key),a.add(te.key)}})}return{checkedKeys:Array.from(He),halfCheckedKeys:Array.from(Ce(Le,He))}}function Ie(Ze,Ke,je,ze,He){for(var Le=new Set(Ze),le=new Set(Ke),E=0;E<=ze;E+=1){var a=je.get(E)||new Set;a.forEach(function(te){var re=te.key,ie=te.node,ge=te.children,fe=ge===void 0?[]:ge;!Le.has(re)&&!le.has(re)&&!He(ie)&&fe.filter(function(ce){return!He(ce.node)}).forEach(function(ce){Le.delete(ce.key)})})}le=new Set;for(var x=new Set,b=ze;b>=0;b-=1){var z=je.get(b)||new Set;z.forEach(function(te){var re=te.parent,ie=te.node;if(!(He(ie)||!te.parent||x.has(te.parent.key))){if(He(te.parent.node)){x.add(re.key);return}var ge=!0,fe=!1;(re.children||[]).filter(function(ce){return!He(ce.node)}).forEach(function(ce){var xe=ce.key,ye=Le.has(xe);ge&&!ye&&(ge=!1),!fe&&(ye||le.has(xe))&&(fe=!0)}),ge||Le.delete(re.key),fe&&le.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(Le),halfCheckedKeys:Array.from(Ce(le,Le))}}function se(Ze,Ke,je,ze){var He=[],Le;ze?Le=ze:Le=Oe;var le=new Set(Ze.filter(function(b){var z=!!(0,ue.Z)(je,b);return z||He.push(b),z})),E=new Map,a=0;Object.keys(je).forEach(function(b){var z=je[b],te=z.level,re=E.get(te);re||(re=new Set,E.set(te,re)),re.add(z),a=Math.max(a,te)}),(0,y.ZP)(!He.length,"Tree missing follow keys: ".concat(He.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return Ke===!0?x=we(le,E,a,Le):x=Ie(le,Ke.halfCheckedKeys,E,a,Le),x}},67841:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return y}});function y(ue,Ce){return ue[Ce]}},71430:function(At,jt,ne){"use strict";ne.d(jt,{F:function(){return te},H8:function(){return z},I8:function(){return b},km:function(){return He},oH:function(){return a},w$:function(){return Le},zn:function(){return E}});var y=ne(76190),ue=ne(94480),Ce=ne(33885),Oe=ne(75931),we=ne(11592),Ie=ne(2738),se=ne(48736),Ze=ne(67841),Ke=["children"];function je(re,ie){return"".concat(re,"-").concat(ie)}function ze(re){return re&&re.type&&re.type.isTreeNode}function He(re,ie){return re!=null?re:ie}function Le(re){var ie=re||{},ge=ie.title,fe=ie._title,ce=ie.key,xe=ie.children,ye=ge||"title";return{title:ye,_title:fe||[ye],key:ce||"key",children:xe||"children"}}function le(re,ie){var ge=new Map;function fe(ce){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(ce||[]).forEach(function(ye){var Ne=ye[ie.key],pe=ye[ie.children];warning(Ne!=null,"Tree node must have a certain key: [".concat(xe).concat(Ne,"]"));var Xe=String(Ne);warning(!ge.has(Xe)||Ne===null||Ne===void 0,"Same 'key' exist in the Tree: ".concat(Xe)),ge.set(Xe,!0),fe(pe,"".concat(xe).concat(Xe," > "))})}fe(re)}function E(re){function ie(ge){var fe=(0,we.Z)(ge);return fe.map(function(ce){if(!ze(ce))return(0,se.ZP)(!ce,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=ce.key,ye=ce.props,Ne=ye.children,pe=(0,Oe.Z)(ye,Ke),Xe=(0,Ce.Z)({key:xe},pe),We=ie(Ne);return We.length&&(Xe.children=We),Xe}).filter(function(ce){return ce})}return ie(re)}function a(re,ie,ge){var fe=Le(ge),ce=fe._title,xe=fe.key,ye=fe.children,Ne=new Set(ie===!0?[]:ie),pe=[];function Xe(We){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return We.map(function(Re,_e){for(var mt=je(ut?ut.pos:"0",_e),Qe=He(Re[xe],mt),ot,Wt=0;Wt1&&arguments[1]!==void 0?arguments[1]:{},ge=ie.initWrapper,fe=ie.processEntity,ce=ie.onProcessFinished,xe=ie.externalGetKey,ye=ie.childrenPropName,Ne=ie.fieldNames,pe=arguments.length>2?arguments[2]:void 0,Xe=xe||pe,We={},ut={},Re={posEntities:We,keyEntities:ut};return ge&&(Re=ge(Re)||Re),x(re,function(_e){var mt=_e.node,Qe=_e.index,ot=_e.pos,Wt=_e.key,ht=_e.parentPos,Ht=_e.level,Kt=_e.nodes,Ve={node:mt,nodes:Kt,index:Qe,key:Wt,pos:ot,level:Ht},st=He(Wt,ot);We[ot]=Ve,ut[st]=Ve,Ve.parent=We[ht],Ve.parent&&(Ve.parent.children=Ve.parent.children||[],Ve.parent.children.push(Ve)),fe&&fe(Ve,Re)},{externalGetKey:Xe,childrenPropName:ye,fieldNames:Ne}),ce&&ce(Re),Re}function z(re,ie){var ge=ie.expandedKeys,fe=ie.selectedKeys,ce=ie.loadedKeys,xe=ie.loadingKeys,ye=ie.checkedKeys,Ne=ie.halfCheckedKeys,pe=ie.dragOverNodeKey,Xe=ie.dropPosition,We=ie.keyEntities,ut=(0,Ze.Z)(We,re),Re={eventKey:re,expanded:ge.indexOf(re)!==-1,selected:fe.indexOf(re)!==-1,loaded:ce.indexOf(re)!==-1,loading:xe.indexOf(re)!==-1,checked:ye.indexOf(re)!==-1,halfChecked:Ne.indexOf(re)!==-1,pos:String(ut?ut.pos:""),dragOver:pe===re&&Xe===0,dragOverGapTop:pe===re&&Xe===-1,dragOverGapBottom:pe===re&&Xe===1};return Re}function te(re){var ie=re.data,ge=re.expanded,fe=re.selected,ce=re.checked,xe=re.loaded,ye=re.loading,Ne=re.halfChecked,pe=re.dragOver,Xe=re.dragOverGapTop,We=re.dragOverGapBottom,ut=re.pos,Re=re.active,_e=re.eventKey,mt=(0,Ce.Z)((0,Ce.Z)({},ie),{},{expanded:ge,selected:fe,checked:ce,loaded:xe,loading:ye,halfChecked:Ne,dragOver:pe,dragOverGapTop:Xe,dragOverGapBottom:We,pos:ut,active:Re,key:_e});return"props"in mt||Object.defineProperty(mt,"props",{get:function(){return(0,se.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),re}}),mt}},8224:function(At,jt,ne){"use strict";ne.d(jt,{Z:function(){return ue}});var y=ne(4676);function ue(Ce,Oe,we,Ie){var se=y.unstable_batchedUpdates?function(Ke){y.unstable_batchedUpdates(we,Ke)}:we;return Ce!=null&&Ce.addEventListener&&Ce.addEventListener(Oe,se,Ie),{remove:function(){Ce!=null&&Ce.removeEventListener&&Ce.removeEventListener(Oe,se,Ie)}}}},55468:function(At,jt,ne){"use strict";ne.d(jt,{g1:function(){return ze},os:function(){return Le}});var y=/margin|padding|width|height|max|min|offset/,ue={left:!0,top:!0},Ce={cssFloat:1,styleFloat:1,float:1};function Oe(le){return le.nodeType===1?le.ownerDocument.defaultView.getComputedStyle(le,null):{}}function we(le,E,a){if(E=E.toLowerCase(),a==="auto"){if(E==="height")return le.offsetHeight;if(E==="width")return le.offsetWidth}return E in ue||(ue[E]=y.test(E)),ue[E]?parseFloat(a)||0:a}function Ie(le,E){var a=arguments.length,x=Oe(le);return E=Ce[E]?"cssFloat"in le.style?"cssFloat":"styleFloat":E,a===1?x:we(le,E,x[E]||le.style[E])}function se(le,E,a){var x=arguments.length;if(E=Ce[E]?"cssFloat"in le.style?"cssFloat":"styleFloat":E,x===3)return typeof a=="number"&&y.test(E)&&(a="".concat(a,"px")),le.style[E]=a,a;for(var b in E)E.hasOwnProperty(b)&&se(le,b,E[b]);return Oe(le)}function Ze(le){return le===document.body?document.documentElement.clientWidth:le.offsetWidth}function Ke(le){return le===document.body?window.innerHeight||document.documentElement.clientHeight:le.offsetHeight}function je(){var le=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),E=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:le,height:E}}function ze(){var le=document.documentElement.clientWidth,E=window.innerHeight||document.documentElement.clientHeight;return{width:le,height:E}}function He(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function Le(le){var E=le.getBoundingClientRect(),a=document.documentElement;return{left:E.left+(window.pageXOffset||a.scrollLeft)-(a.clientLeft||document.body.clientLeft||0),top:E.top+(window.pageYOffset||a.scrollTop)-(a.clientTop||document.body.clientTop||0)}}},3465:function(At,jt,ne){"use strict";ne.d(jt,{G:function(){return Oe}});var y=ne(47273),ue=function(Ie){if((0,y.Z)()&&window.document.documentElement){var se=Array.isArray(Ie)?Ie:[Ie],Ze=window.document.documentElement;return se.some(function(Ke){return Ke in Ze.style})}return!1},Ce=function(Ie,se){if(!ue(Ie))return!1;var Ze=document.createElement("div"),Ke=Ze.style[Ie];return Ze.style[Ie]=se,Ze.style[Ie]!==Ke};function Oe(we,Ie){return!Array.isArray(we)&&Ie!==void 0?Ce(we,Ie):ue(we)}},11414:function(At,jt,ne){"use strict";ne.d(jt,{Z5:function(){return qu},_l:function(){return Hd},bK:function(){return wu}});var y=ne(59301),ue=ne(18773);function Ce(ee,ae){ee.prototype=Object.create(ae.prototype),ee.prototype.constructor=ee,(0,ue.Z)(ee,ae)}var Oe=ne(54476),we=ne(59781),Ie=y.createContext(null),se=null;function Ze(ee){ee()}var Ke=Ze,je=function(ae){return Ke=ae},ze=function(){return Ke};function He(){var ee=ze(),ae=null,oe=null;return{clear:function(){ae=null,oe=null},notify:function(){ee(function(){for(var Se=ae;Se;)Se.callback(),Se=Se.next})},get:function(){for(var Se=[],Ee=ae;Ee;)Se.push(Ee),Ee=Ee.next;return Se},subscribe:function(Se){var Ee=!0,Ae=oe={callback:Se,next:null,prev:oe};return Ae.prev?Ae.prev.next=Ae:ae=Ae,function(){!Ee||ae===null||(Ee=!1,Ae.next?Ae.next.prev=Ae.prev:oe=Ae.prev,Ae.prev?Ae.prev.next=Ae.next:ae=Ae.next)}}}}var Le={notify:function(){},get:function(){return[]}};function le(ee,ae){var oe,de=Le;function Se(gt){return it(),de.subscribe(gt)}function Ee(){de.notify()}function Ae(){yt.onStateChange&&yt.onStateChange()}function Me(){return!!oe}function it(){oe||(oe=ae?ae.addNestedSub(Ae):ee.subscribe(Ae),de=He())}function Bt(){oe&&(oe(),oe=void 0,de.clear(),de=Le)}var yt={addNestedSub:Se,notifyNestedSubs:Ee,handleChangeWrapper:Ae,isSubscribed:Me,trySubscribe:it,tryUnsubscribe:Bt,getListeners:function(){return de}};return yt}var E=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect;function a(ee){var ae=ee.store,oe=ee.context,de=ee.children,Se=(0,y.useMemo)(function(){var Me=le(ae);return{store:ae,subscription:Me}},[ae]),Ee=(0,y.useMemo)(function(){return ae.getState()},[ae]);E(function(){var Me=Se.subscription;return Me.onStateChange=Me.notifyNestedSubs,Me.trySubscribe(),Ee!==ae.getState()&&Me.notifyNestedSubs(),function(){Me.tryUnsubscribe(),Me.onStateChange=null}},[Se,Ee]);var Ae=oe||Ie;return y.createElement(Ae.Provider,{value:Se},de)}var x=a,b=ne(85377),z=ne(94266),te=ne.n(z),re=ne(53410),ie=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],ge=["reactReduxForwardedRef"],fe=[],ce=[null,null],xe=function(ae){try{return JSON.stringify(ae)}catch(oe){return String(ae)}};function ye(ee,ae){var oe=ee[1];return[ae.payload,oe+1]}function Ne(ee,ae,oe){E(function(){return ee.apply(void 0,ae)},oe)}function pe(ee,ae,oe,de,Se,Ee,Ae){ee.current=de,ae.current=Se,oe.current=!1,Ee.current&&(Ee.current=null,Ae())}function Xe(ee,ae,oe,de,Se,Ee,Ae,Me,it,Bt){if(ee){var yt=!1,gt=null,vt=function(){if(!yt){var ha=ae.getState(),Ba,Oa;try{Ba=de(ha,Se.current)}catch(Ua){Oa=Ua,gt=Ua}Oa||(gt=null),Ba===Ee.current?Ae.current||it():(Ee.current=Ba,Me.current=Ba,Ae.current=!0,Bt({type:"STORE_UPDATED",payload:{error:Oa}}))}};oe.onStateChange=vt,oe.trySubscribe(),vt();var kt=function(){if(yt=!0,oe.tryUnsubscribe(),oe.onStateChange=null,gt)throw gt};return kt}}var We=function(){return[null,0]};function ut(ee,ae){ae===void 0&&(ae={});var oe=ae,de=oe.getDisplayName,Se=de===void 0?function(eo){return"ConnectAdvanced("+eo+")"}:de,Ee=oe.methodName,Ae=Ee===void 0?"connectAdvanced":Ee,Me=oe.renderCountProp,it=Me===void 0?void 0:Me,Bt=oe.shouldHandleStateChanges,yt=Bt===void 0?!0:Bt,gt=oe.storeKey,vt=gt===void 0?"store":gt,kt=oe.withRef,Pn=kt===void 0?!1:kt,ha=oe.forwardRef,Ba=ha===void 0?!1:ha,Oa=oe.context,Ua=Oa===void 0?Ie:Oa,lr=(0,b.Z)(oe,ie);if(0)var vr;var so=Ua;return function(Mo){var Ci=Mo.displayName||Mo.name||"Component",Ho=Se(Ci),xi=(0,Oe.Z)({},lr,{getDisplayName:Se,methodName:Ae,renderCountProp:it,shouldHandleStateChanges:yt,storeKey:vt,displayName:Ho,wrappedComponentName:Ci,WrappedComponent:Mo}),_i=lr.pure;function qi($i){return ee($i.dispatch,xi)}var Il=_i?y.useMemo:function($i){return $i()};function Cl($i){var Wl=(0,y.useMemo)(function(){var Fs=$i.reactReduxForwardedRef,du=(0,b.Z)($i,ge);return[$i.context,Fs,du]},[$i]),Nl=Wl[0],As=Wl[1],Xl=Wl[2],Kl=(0,y.useMemo)(function(){return Nl&&Nl.Consumer&&(0,re.isContextConsumer)(y.createElement(Nl.Consumer,null))?Nl:so},[Nl,so]),Ol=(0,y.useContext)(Kl),ql=!!$i.store&&!!$i.store.getState&&!!$i.store.dispatch,Hs=!!Ol&&!!Ol.store,Ml=ql?$i.store:Ol.store,Bs=(0,y.useMemo)(function(){return qi(Ml)},[Ml]),Gs=(0,y.useMemo)(function(){if(!yt)return ce;var Fs=le(Ml,ql?null:Ol.subscription),du=Fs.notifyNestedSubs.bind(Fs);return[Fs,du]},[Ml,ql,Ol]),gs=Gs[0],Ws=Gs[1],Ks=(0,y.useMemo)(function(){return ql?Ol:(0,Oe.Z)({},Ol,{subscription:gs})},[ql,Ol,gs]),Du=(0,y.useReducer)(ye,fe,We),Qd=Du[0],Vs=Qd[0],_d=Du[1];if(Vs&&Vs.error)throw Vs.error;var Iu=(0,y.useRef)(),lu=(0,y.useRef)(Xl),Us=(0,y.useRef)(),Lu=(0,y.useRef)(!1),su=Il(function(){return Us.current&&Xl===lu.current?Us.current:Bs(Ml.getState(),Xl)},[Ml,Vs,Xl]);Ne(pe,[lu,Iu,Lu,Xl,su,Us,Ws]),Ne(Xe,[yt,Ml,gs,Bs,lu,Iu,Lu,Us,Ws,_d],[Ml,gs,Bs]);var uu=(0,y.useMemo)(function(){return y.createElement(Mo,(0,Oe.Z)({},su,{ref:As}))},[As,Mo,su]),Yd=(0,y.useMemo)(function(){return yt?y.createElement(Kl.Provider,{value:Ks},uu):uu},[Kl,uu,Ks]);return Yd}var pl=_i?y.memo(Cl):Cl;if(pl.WrappedComponent=Mo,pl.displayName=Cl.displayName=Ho,Ba){var Ll=y.forwardRef(function(Wl,Nl){return y.createElement(pl,(0,Oe.Z)({},Wl,{reactReduxForwardedRef:Nl}))});return Ll.displayName=Ho,Ll.WrappedComponent=Mo,te()(Ll,Mo)}return te()(pl,Mo)}}function Re(ee,ae){return ee===ae?ee!==0||ae!==0||1/ee===1/ae:ee!==ee&&ae!==ae}function _e(ee,ae){if(Re(ee,ae))return!0;if(typeof ee!="object"||ee===null||typeof ae!="object"||ae===null)return!1;var oe=Object.keys(ee),de=Object.keys(ae);if(oe.length!==de.length)return!1;for(var Se=0;Se=0;de--){var Se=ae[de](ee);if(Se)return Se}return function(Ee,Ae){throw new Error("Invalid value of type "+typeof ee+" for "+oe+" argument when connecting component "+Ae.wrappedComponentName+".")}}function tt(ee,ae){return ee===ae}function Lt(ee){var ae=ee===void 0?{}:ee,oe=ae.connectHOC,de=oe===void 0?ut:oe,Se=ae.mapStateToPropsFactories,Ee=Se===void 0?gn:Se,Ae=ae.mapDispatchToPropsFactories,Me=Ae===void 0?Ve:Ae,it=ae.mergePropsFactories,Bt=it===void 0?bn:it,yt=ae.selectorFactory,gt=yt===void 0?Ye:yt;return function(kt,Pn,ha,Ba){Ba===void 0&&(Ba={});var Oa=Ba,Ua=Oa.pure,lr=Ua===void 0?!0:Ua,vr=Oa.areStatesEqual,so=vr===void 0?tt:vr,eo=Oa.areOwnPropsEqual,Mo=eo===void 0?_e:eo,Ci=Oa.areStatePropsEqual,Ho=Ci===void 0?_e:Ci,xi=Oa.areMergedPropsEqual,_i=xi===void 0?_e:xi,qi=(0,b.Z)(Oa,De),Il=he(kt,Ee,"mapStateToProps"),Cl=he(Pn,Me,"mapDispatchToProps"),pl=he(ha,Bt,"mergeProps");return de(gt,(0,Oe.Z)({methodName:"connect",getDisplayName:function($i){return"Connect("+$i+")"},shouldHandleStateChanges:!!kt,initMapStateToProps:Il,initMapDispatchToProps:Cl,initMergeProps:pl,pure:lr,areStatesEqual:so,areOwnPropsEqual:Mo,areStatePropsEqual:Ho,areMergedPropsEqual:_i},qi))}}var Fe=Lt();function be(){var ee=useContext(ReactReduxContext);return ee}function Pt(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(){var de=ae(),Se=de.store;return Se}}var Je=null;function ke(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultStore:createStoreHook(ee);return function(){var de=ae();return de.dispatch}}var bt=null,hn=function(ae,oe){return ae===oe};function Tt(ee,ae,oe,de){var Se=useReducer(function(Pn){return Pn+1},0),Ee=Se[1],Ae=useMemo(function(){return createSubscription(oe,de)},[oe,de]),Me=useRef(),it=useRef(),Bt=useRef(),yt=useRef(),gt=oe.getState(),vt;try{if(ee!==it.current||gt!==Bt.current||Me.current){var kt=ee(gt);yt.current===void 0||!ae(kt,yt.current)?vt=kt:vt=yt.current}else vt=yt.current}catch(Pn){throw Me.current&&(Pn.message+=` The error may be correlated with this previous error: `+Me.current.stack+` -`),Pn}return useIsomorphicLayoutEffect(function(){rt.current=ee,Ft.current=gt,bt.current=pt,Me.current=void 0}),useIsomorphicLayoutEffect(function(){function Pn(){try{var pa=oe.getState();if(pa===Ft.current)return;var Aa=rt.current(pa);if(ae(Aa,bt.current))return;bt.current=Aa,Ft.current=pa}catch(Ra){Me.current=Ra}Ee()}return Ae.onStateChange=Pn,Ae.trySubscribe(),Pn(),function(){return Ae.tryUnsubscribe()}},[oe,Ae]),pt}function on(ee){ee===void 0&&(ee=ReactReduxContext);var ae=ee===ReactReduxContext?useDefaultReduxContext:function(){return useContext(ee)};return function(de,Se){Se===void 0&&(Se=pn);var Ee=ae(),Ae=Ee.store,Me=Ee.subscription,rt=Tt(de,Se,Ae,Me);return useDebugValue(rt),rt}}var an=null,mn=ne(4676);je(mn.unstable_batchedUpdates);function ke(ee,ae){if(ee.length!==ae.length)return!1;for(var oe=0;oe");return de.callbacks},de.setCallbacks=function(Me){de.callbacks=Me},de}var oe=ae.prototype;return oe.componentDidMount=function(){this.unbind=Sa(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(Se){if(Se instanceof Gn){this.setState({});return}throw Se},oe.render=function(){return this.props.children(this.setCallbacks)},ae}(y.Component),_a=` +`)},un=function(ae){return[An(ae),"color: #00C584; font-size: 1.2em; font-weight: bold;","line-height: 1.5","color: #723874;"]},$n="__react-beautiful-dnd-disable-dev-warnings";function Kn(ee,ae){var oe;dt||typeof window!="undefined"&&window[$n]||(oe=console)[ee].apply(oe,un(ae))}var Jn=Kn.bind(null,"warn"),ma=Kn.bind(null,"error");function Ha(){}function Bn(ee,ae){return(0,Oe.Z)({},ee,{},ae)}function ya(ee,ae,oe){var de=ae.map(function(Se){var Ee=Bn(oe,Se.options);return ee.addEventListener(Se.eventName,Se.fn,Ee),function(){ee.removeEventListener(Se.eventName,Se.fn,Ee)}});return function(){de.forEach(function(Ee){Ee()})}}var Ya=!0,dr="Invariant failed";function Wn(ee){this.message=ee}Wn.prototype.toString=function(){return this.message};function cn(ee,ae){if(!ee)throw Ya?new Wn(dr):new Wn(dr+": "+(ae||""))}var Lr=function(ee){Ce(ae,ee);function ae(){for(var de,Se=arguments.length,Ee=new Array(Se),Ae=0;Ae");return de.callbacks},de.setCallbacks=function(Me){de.callbacks=Me},de}var oe=ae.prototype;return oe.componentDidMount=function(){this.unbind=ya(window,[{eventName:"error",fn:this.onWindowError}])},oe.componentWillUnmount=function(){this.unbind()},oe.componentDidCatch=function(Se){if(Se instanceof Wn){this.setState({});return}throw Se},oe.render=function(){return this.props.children(this.setCallbacks)},ae}(y.Component),Qa=` Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key -`,Rr=function(ae){return ae+1},Tr=function(ae){return` - You have lifted an item in position `+Rr(ae.source.index)+` -`},wr=function(ae,oe){var de=ae.droppableId===oe.droppableId,Se=Rr(ae.index),Ee=Rr(oe.index);return de?` +`,Or=function(ae){return ae+1},kr=function(ae){return` + You have lifted an item in position `+Or(ae.source.index)+` +`},Fr=function(ae,oe){var de=ae.droppableId===oe.droppableId,Se=Or(ae.index),Ee=Or(oe.index);return de?` You have moved the item from position `+Se+` to position `+Ee+` `:` @@ -251,38 +251,38 @@ The error may be correlated with this previous error: in list `+ae.droppableId+` to list `+oe.droppableId+` in position `+Ee+` - `},Hr=function(ae,oe,de){var Se=oe.droppableId===de.droppableId;return Se?` + `},Zr=function(ae,oe,de){var Se=oe.droppableId===de.droppableId;return Se?` The item `+ae+` has been combined with `+de.draggableId:` The item `+ae+` in list `+oe.droppableId+` has been combined with `+de.draggableId+` in list `+de.droppableId+` - `},Oo=function(ae){var oe=ae.destination;if(oe)return wr(ae.source,oe);var de=ae.combine;return de?Hr(ae.draggableId,ae.source,de):"You are over an area that cannot be dropped on"},ho=function(ae){return` + `},Zo=function(ae){var oe=ae.destination;if(oe)return Fr(ae.source,oe);var de=ae.combine;return de?Zr(ae.draggableId,ae.source,de):"You are over an area that cannot be dropped on"},ho=function(ae){return` The item has returned to its starting position - of `+Rr(ae.index)+` -`},Qo=function(ae){if(ae.reason==="CANCEL")return` + of `+Or(ae.index)+` +`},Vo=function(ae){if(ae.reason==="CANCEL")return` Movement cancelled. `+ho(ae.source)+` `;var oe=ae.destination,de=ae.combine;return oe?` You have dropped the item. - `+wr(ae.source,oe)+` + `+Fr(ae.source,oe)+` `:de?` You have dropped the item. - `+Hr(ae.draggableId,ae.source,de)+` + `+Zr(ae.draggableId,ae.source,de)+` `:` The item has been dropped while not over a drop area. `+ho(ae.source)+` - `},kn={dragHandleUsageInstructions:_a,onDragStart:Tr,onDragUpdate:Oo,onDragEnd:Qo},Vr={x:0,y:0},Ur=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Wr=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},Ja=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},na=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},ka=function(ae,oe,de){var Se;return de===void 0&&(de=0),Se={},Se[ae]=oe,Se[ae==="x"?"y":"x"]=de,Se},$a=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},Ca=function(ae,oe){return Math.min.apply(Math,oe.map(function(de){return $a(ae,de)}))},Br=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},no=function(ee,ae){var oe=In({top:Math.max(ae.top,ee.top),right:Math.min(ae.right,ee.right),bottom:Math.min(ae.bottom,ee.bottom),left:Math.max(ae.left,ee.left)});return oe.width<=0||oe.height<=0?null:oe},xo=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},Qr=function(ae){return[{x:ae.left,y:ae.top},{x:ae.right,y:ae.top},{x:ae.left,y:ae.bottom},{x:ae.right,y:ae.bottom}]},Mo={top:0,right:0,bottom:0,left:0},fi=function(ae,oe){return oe?xo(ae,oe.scroll.diff.displacement):ae},ii=function(ae,oe,de){if(de&&de.increasedBy){var Se;return(0,Oe.Z)({},ae,(Se={},Se[oe.end]=ae[oe.end]+de.increasedBy[oe.line],Se))}return ae},tl=function(ae,oe){return oe&&oe.shouldClipSubject?no(oe.pageMarginBox,ae):In(ae)},Ro=function(ee){var ae=ee.page,oe=ee.withPlaceholder,de=ee.axis,Se=ee.frame,Ee=fi(ae.marginBox,Se),Ae=ii(Ee,de,oe),Me=tl(Ae,Se);return{page:ae,withPlaceholder:oe,active:Me}},Oa=function(ee,ae){ee.frame||sn(!1);var oe=ee.frame,de=Wr(ae,oe.scroll.initial),Se=na(de),Ee=(0,Oe.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:de,displacement:Se},max:oe.scroll.max}}),Ae=Ro({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Ee}),Me=(0,Oe.Z)({},ee,{frame:Ee,subject:Ae});return Me};function Eo(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function wo(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ae){return ee[ae]})}function _o(ee,ae){if(ee.findIndex)return ee.findIndex(ae);for(var oe=0;oeee.bottom,Ft=de.leftee.right,bt=rt&&Ft;if(bt)return!0;var gt=rt&&Ae||Ft&&Ee;return gt}},Pl=function(ee){var ae=gi(ee.top,ee.bottom),oe=gi(ee.left,ee.right);return function(de){var Se=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);return Se}},ol={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},il={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},eo=function(ee){return function(ae){var oe=gi(ae.top,ae.bottom),de=gi(ae.left,ae.right);return function(Se){return ee===ol?oe(Se.top)&&oe(Se.bottom):de(Se.left)&&de(Se.right)}}},Ua=function(ae,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Vr;return xo(ae,de)},da=function(ae,oe,de){return oe.subject.active?de(oe.subject.active)(ae):!1},ga=function(ae,oe,de){return de(oe)(ae)},Fa=function(ae){var oe=ae.target,de=ae.destination,Se=ae.viewport,Ee=ae.withDroppableDisplacement,Ae=ae.isVisibleThroughFrameFn,Me=Ee?Ua(oe,de):oe;return da(Me,de,Ae)&&ga(Me,Se,Ae)},Lr=function(ae){return Fa((0,Oe.Z)({},ae,{isVisibleThroughFrameFn:_i}))},_r=function(ae){return Fa((0,Oe.Z)({},ae,{isVisibleThroughFrameFn:Pl}))},Po=function(ae){return Fa((0,Oe.Z)({},ae,{isVisibleThroughFrameFn:eo(ae.destination.axis)}))},Lo=function(ae,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Se=oe.invisible,Ee=oe.visible;if(Se[ae])return!1;var Ae=Ee[ae];return Ae?Ae.shouldAnimate:!0};function Go(ee,ae){var oe=ee.page.marginBox,de={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return In(ra(oe,de))}function To(ee){var ae=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Se=ee.viewport,Ee=ee.forceShouldAnimate,Ae=ee.last;return ae.reduce(function(rt,Ft){var bt=Go(Ft,de),gt=Ft.descriptor.id;rt.all.push(gt);var pt=Lr({target:bt,destination:oe,viewport:Se,withDroppableDisplacement:!0});if(!pt)return rt.invisible[Ft.descriptor.id]=!0,rt;var kt=Lo(gt,Ae,Ee),Pn={draggableId:gt,shouldAnimate:kt};return rt.visible[gt]=Pn,rt},{all:[],visible:{},invisible:{}})}function Ga(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function ti(ee){var ae=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Se=ee.destination,Ee=Ga(ae,{inHomeList:oe});return{displaced:Ri,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Se.descriptor.id,index:Ee}}}}function Di(ee){var ae=ee.draggable,oe=ee.insideDestination,de=ee.destination,Se=ee.viewport,Ee=ee.displacedBy,Ae=ee.last,Me=ee.index,rt=ee.forceShouldAnimate,Ft=pi(ae,de);if(Me==null)return ti({insideDestination:oe,inHomeList:Ft,displacedBy:Ee,destination:de});var bt=Zo(oe,function(pa){return pa.descriptor.index===Me});if(!bt)return ti({insideDestination:oe,inHomeList:Ft,displacedBy:Ee,destination:de});var gt=Io(ae,oe),pt=oe.indexOf(bt),kt=gt.slice(pt),Pn=To({afterDragging:kt,destination:de,displacedBy:Ee,last:Ae,viewport:Se.frame,forceShouldAnimate:rt});return{displaced:Pn,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Me}}}}function Ci(ee,ae){return!!ae.effected[ee]}var Yi=function(ee){var ae=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Se=ee.combine,Ee=ee.afterCritical;if(!oe.isCombineEnabled)return null;var Ae=Se.draggableId,Me=de[Ae],rt=Me.descriptor.index,Ft=Ci(Ae,Ee);return Ft?ae?rt:rt-1:ae?rt+1:rt},rl=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Se=ee.location;if(!de.length)return null;var Ee=Se.index,Ae=ae?Ee+1:Ee-1,Me=de[0].descriptor.index,rt=de[de.length-1].descriptor.index,Ft=oe?rt:rt+1;return AeFt?null:Ae},Ji=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Se=ee.draggables,Ee=ee.destination,Ae=ee.insideDestination,Me=ee.previousImpact,rt=ee.viewport,Ft=ee.afterCritical,bt=Me.at;if(bt||sn(!1),bt.type==="REORDER"){var gt=rl({isMovingForward:ae,isInHomeList:oe,location:bt.destination,insideDestination:Ae});return gt==null?null:Di({draggable:de,insideDestination:Ae,destination:Ee,viewport:rt,last:Me.displaced,displacedBy:Me.displacedBy,index:gt})}var pt=Yi({isMovingForward:ae,destination:Ee,displaced:Me.displaced,draggables:Se,combine:bt.combine,afterCritical:Ft});return pt==null?null:Di({draggable:de,insideDestination:Ae,destination:Ee,viewport:rt,last:Me.displaced,displacedBy:Me.displacedBy,index:pt})},Ut=function(ee){var ae=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Se=ee.displacedBy,Ee=!!(ae.visible[de]||ae.invisible[de]);return Ci(de,oe)?Ee?Vr:na(Se.point):Ee?Se.point:Vr},Qt=function(ee){var ae=ee.afterCritical,oe=ee.impact,de=ee.draggables,Se=wi(oe);Se||sn(!1);var Ee=Se.draggableId,Ae=de[Ee].page.borderBox.center,Me=Ut({displaced:oe.displaced,afterCritical:ae,combineWith:Ee,displacedBy:oe.displacedBy});return Ur(Ae,Me)},hn=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},Un=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Wa=function(ae,oe,de){return oe[ae.crossAxisStart]+de.margin[ae.crossAxisStart]+de.borderBox[ae.crossAxisSize]/2},ir=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Se=ae.isMoving;return ka(oe.line,de.marginBox[oe.end]+hn(oe,Se),Wa(oe,de.marginBox,Se))},Zn=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Se=ae.isMoving;return ka(oe.line,de.marginBox[oe.start]-Un(oe,Se),Wa(oe,de.marginBox,Se))},Ma=function(ae){var oe=ae.axis,de=ae.moveInto,Se=ae.isMoving;return ka(oe.line,de.contentBox[oe.start]+hn(oe,Se),Wa(oe,de.contentBox,Se))},er=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.draggables,Se=ee.droppable,Ee=ee.afterCritical,Ae=qo(Se.descriptor.id,de),Me=oe.page,rt=Se.axis;if(!Ae.length)return Ma({axis:rt,moveInto:Se.page,isMoving:Me});var Ft=ae.displaced,bt=ae.displacedBy,gt=Ft.all[0];if(gt){var pt=de[gt];if(Ci(gt,Ee))return Zn({axis:rt,moveRelativeTo:pt.page,isMoving:Me});var kt=ba(pt.page,bt.point);return Zn({axis:rt,moveRelativeTo:kt,isMoving:Me})}var Pn=Ae[Ae.length-1];if(Pn.descriptor.id===oe.descriptor.id)return Me.borderBox.center;if(Ci(Pn.descriptor.id,Ee)){var pa=ba(Pn.page,na(Ee.displacedBy.point));return ir({axis:rt,moveRelativeTo:pa,isMoving:Me})}return ir({axis:rt,moveRelativeTo:Pn.page,isMoving:Me})},Cr=function(ee,ae){var oe=ee.frame;return oe?Ur(ae,oe.scroll.diff.displacement):ae},io=function(ae){var oe=ae.impact,de=ae.draggable,Se=ae.droppable,Ee=ae.draggables,Ae=ae.afterCritical,Me=de.page.borderBox.center,rt=oe.at;return!Se||!rt?Me:rt.type==="REORDER"?er({impact:oe,draggable:de,draggables:Ee,droppable:Se,afterCritical:Ae}):Qt({impact:oe,draggables:Ee,afterCritical:Ae})},Qn=function(ee){var ae=io(ee),oe=ee.droppable,de=oe?Cr(oe,ae):ae;return de},Zr=function(ee,ae){var oe=Wr(ae,ee.scroll.initial),de=na(oe),Se=In({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),Ee={frame:Se,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:de}}};return Ee};function co(ee,ae){return ee.map(function(oe){return ae[oe]})}function Wo(ee,ae){for(var oe=0;oe1?bt.sort(function(gt,pt){return st(gt)[Me.start]-st(pt)[Me.start]})[0]:Ft.sort(function(gt,pt){var kt=Ca(oe,Qr(st(gt))),Pn=Ca(oe,Qr(st(pt)));return kt!==Pn?kt-Pn:st(gt)[Me.start]-st(pt)[Me.start]})[0]},Wt=function(ae,oe){var de=ae.page.borderBox.center;return Ci(ae.descriptor.id,oe)?Wr(de,oe.displacedBy.point):de},fa=function(ae,oe){var de=ae.page.borderBox;return Ci(ae.descriptor.id,oe)?xo(de,na(oe.displacedBy.point)):de},Vt=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Se=ee.insideDestination,Ee=ee.afterCritical,Ae=Se.filter(function(Me){return _r({target:fa(Me,Ee),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Me,rt){var Ft=$a(ae,Cr(de,Wt(Me,Ee))),bt=$a(ae,Cr(de,Wt(rt,Ee)));return Ftae.left&&ee.topae.top}function Yn(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,Se=oe.page.borderBox.center,Ee=de.map(function(Ae){var Me=Ae.axis,rt=ka(Ae.axis.line,ae.center[Me.line],Ae.page.borderBox.center[Me.crossAxisLine]);return{id:Ae.descriptor.id,distance:$a(Se,rt)}}).sort(function(Ae,Me){return Me.distance-Ae.distance});return Ee[0]?Ee[0].id:null}function Nr(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,Se=ni(de).filter(function(Ee){if(!Ee.isEnabled)return!1;var Ae=Ee.subject.active;if(!Ae||!xa(ae,Ae))return!1;if(Ka(Ae)(ae.center))return!0;var Me=Ee.axis,rt=Ae.center[Me.crossAxisLine],Ft=ae[Me.crossAxisStart],bt=ae[Me.crossAxisEnd],gt=gi(Ae[Me.crossAxisStart],Ae[Me.crossAxisEnd]),pt=gt(Ft),kt=gt(bt);return!pt&&!kt?!0:pt?Ftrt});return Se.length?Se.length===1?Se[0].descriptor.id:Yn({pageBorderBox:ae,draggable:oe,candidates:Se}):null}var hr=function(ae,oe){return In(xo(ae,oe))},mo=function(ee,ae){var oe=ee.frame;return oe?hr(ae,oe.scroll.diff.value):ae};function fo(ee){var ae=ee.displaced,oe=ee.id;return!!(ae.visible[oe]||ae.invisible[oe])}function Dr(ee){var ae=ee.draggable,oe=ee.closest,de=ee.inHomeList;return oe?de&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var so=function(ee){var ae=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,de=ee.destination,Se=ee.insideDestination,Ee=ee.last,Ae=ee.viewport,Me=ee.afterCritical,rt=de.axis,Ft=fn(de.axis,oe.displaceBy),bt=Ft.value,gt=ae[rt.start],pt=ae[rt.end],kt=Io(oe,Se),Pn=Zo(kt,function(Aa){var Ra=Aa.descriptor.id,Qa=Aa.page.borderBox.center[rt.line],sr=Ci(Ra,Me),Pr=fo({displaced:Ee,id:Ra});return sr?Pr?pt<=Qa:gtRa[Me.start]+sr&>Ra[Me.start]-Ft+sr&&btRa[Me.start]+Ft+sr&>Ra[Me.start]+sr&&bt=Ql)return ns;var Ee=Se/Ql,Ae=Ul+ms*Ee,Me=de==="CANCEL"?Ae*Hl:Ae;return Number(Me.toFixed(2))},_t=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.dimensions,Se=ee.viewport,Ee=ee.afterCritical,Ae=de.draggables,Me=de.droppables,rt=fr(ae),Ft=rt?Me[rt]:null,bt=Me[oe.descriptor.droppableId],gt=Gt({impact:ae,draggable:oe,draggables:Ae,afterCritical:Ee,droppable:Ft||bt,viewport:Se}),pt=Wr(gt,oe.client.borderBox.center);return pt},Ia=function(ee){var ae=ee.draggables,oe=ee.reason,de=ee.lastImpact,Se=ee.home,Ee=ee.viewport,Ae=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Me=ft({draggables:ae,impact:Ae,destination:Se,viewport:Ee,forceShouldAnimate:!0});return{impact:Me,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var rt=(0,Oe.Z)({},de,{displaced:Ri});return{impact:rt,didDropInsideDroppable:!0}},me=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(de){return function(Se){if(Se.type!=="DROP"){de(Se);return}var Ee=ae(),Ae=Se.payload.reason;if(Ee.phase==="COLLECTING"){oe(Rl({reason:Ae}));return}if(Ee.phase!=="IDLE"){var Me=Ee.phase==="DROP_PENDING"&&Ee.isWaiting;Me&&sn(!1),Ee.phase==="DRAGGING"||Ee.phase==="DROP_PENDING"||sn(!1);var rt=Ee.critical,Ft=Ee.dimensions,bt=Ft.draggables[Ee.critical.draggable.id],gt=Ia({reason:Ae,lastImpact:Ee.impact,afterCritical:Ee.afterCritical,onLiftImpact:Ee.onLiftImpact,home:Ee.dimensions.droppables[Ee.critical.droppable.id],viewport:Ee.viewport,draggables:Ee.dimensions.draggables}),pt=gt.impact,kt=gt.didDropInsideDroppable,Pn=kt?Do(pt):null,pa=kt?wi(pt):null,Aa={index:rt.draggable.index,droppableId:rt.droppable.id},Ra={draggableId:bt.descriptor.id,type:bt.descriptor.type,source:Aa,reason:Ae,mode:Ee.movementMode,destination:Pn,combine:pa},Qa=_t({impact:pt,draggable:bt,dimensions:Ft,viewport:Ee.viewport,afterCritical:Ee.afterCritical}),sr={critical:Ee.critical,afterCritical:Ee.afterCritical,result:Ra,impact:pt},Pr=!Ja(Ee.current.client.offset,Qa)||!!Ra.combine;if(!Pr){oe(Pi({completed:sr}));return}var oo=ul({current:Ee.current.client.offset,destination:Qa,reason:Ae}),$r={newHomeClientOffset:Qa,dropDuration:oo,completed:sr};oe(po($r))}}}},ve=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Pe(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function Ue(ee){var ae=ee.onWindowScroll;function oe(){ae(ve())}var de=Kn(oe),Se=Pe(de),Ee=za;function Ae(){return Ee!==za}function Me(){Ae()&&sn(!1),Ee=Sa(window,[Se])}function rt(){Ae()||sn(!1),de.cancel(),Ee(),Ee=za}return{start:Me,stop:rt,isActive:Ae}}var $e=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},nt=function(ee){var ae=Ue({onWindowScroll:function(de){ee.dispatch(mi({newScroll:de}))}});return function(oe){return function(de){!ae.isActive()&&de.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&$e(de)&&ae.stop(),oe(de)}}},xt=function(ee){var ae=!1,oe=!1,de=setTimeout(function(){oe=!0}),Se=function(Ae){ae||oe||(ae=!0,ee(Ae),clearTimeout(de))};return Se.wasCalled=function(){return ae},Se},jt=function(){var ee=[],ae=function(Ee){var Ae=_o(ee,function(Ft){return Ft.timerId===Ee});Ae===-1&&sn(!1);var Me=ee.splice(Ae,1),rt=Me[0];rt.callback()},oe=function(Ee){var Ae=setTimeout(function(){return ae(Ae)}),Me={timerId:Ae,callback:Ee};ee.push(Me)},de=function(){if(ee.length){var Ee=[].concat(ee);ee.length=0,Ee.forEach(function(Ae){clearTimeout(Ae.timerId),Ae.callback()})}};return{add:oe,flush:de}},wt=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},rn=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},xn=function(ae,oe){if(ae===oe)return!0;var de=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,Se=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return de&&Se},It=function(ae,oe){Wn(),oe(),ia()},Rn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},Mn=function(ae,oe,de,Se){if(!ae){de(Se(oe));return}var Ee=xt(de),Ae={announce:Ee};ae(oe,Ae),Ee.wasCalled()||de(Se(oe))},On=function(ee,ae){var oe=jt(),de=null,Se=function(pt,kt){de&&sn(!1),It("onBeforeCapture",function(){var Pn=ee().onBeforeCapture;if(Pn){var pa={draggableId:pt,mode:kt};Pn(pa)}})},Ee=function(pt,kt){de&&sn(!1),It("onBeforeDragStart",function(){var Pn=ee().onBeforeDragStart;Pn&&Pn(Rn(pt,kt))})},Ae=function(pt,kt){de&&sn(!1);var Pn=Rn(pt,kt);de={mode:kt,lastCritical:pt,lastLocation:Pn.source,lastCombine:null},oe.add(function(){It("onDragStart",function(){return Mn(ee().onDragStart,Pn,ae,kn.onDragStart)})})},Me=function(pt,kt){var Pn=Do(kt),pa=wi(kt);de||sn(!1);var Aa=!xn(pt,de.lastCritical);Aa&&(de.lastCritical=pt);var Ra=!wt(de.lastLocation,Pn);Ra&&(de.lastLocation=Pn);var Qa=!rn(de.lastCombine,pa);if(Qa&&(de.lastCombine=pa),!(!Aa&&!Ra&&!Qa)){var sr=(0,Oe.Z)({},Rn(pt,de.mode),{combine:pa,destination:Pn});oe.add(function(){It("onDragUpdate",function(){return Mn(ee().onDragUpdate,sr,ae,kn.onDragUpdate)})})}},rt=function(){de||sn(!1),oe.flush()},Ft=function(pt){de||sn(!1),de=null,It("onDragEnd",function(){return Mn(ee().onDragEnd,pt,ae,kn.onDragEnd)})},bt=function(){if(de){var pt=(0,Oe.Z)({},Rn(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Ft(pt)}};return{beforeCapture:Se,beforeStart:Ee,start:Ae,update:Me,flush:rt,drop:Ft,abort:bt}},ma=function(ee,ae){var oe=On(ee,ae);return function(de){return function(Se){return function(Ee){if(Ee.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Ee.payload.draggableId,Ee.payload.movementMode);return}if(Ee.type==="INITIAL_PUBLISH"){var Ae=Ee.payload.critical;oe.beforeStart(Ae,Ee.payload.movementMode),Se(Ee),oe.start(Ae,Ee.payload.movementMode);return}if(Ee.type==="DROP_COMPLETE"){var Me=Ee.payload.completed.result;oe.flush(),Se(Ee),oe.drop(Me);return}if(Se(Ee),Ee.type==="FLUSH"){oe.abort();return}var rt=de.getState();rt.phase==="DRAGGING"&&oe.update(rt.critical,rt.impact)}}}},ua=function(ee){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&sn(!1),ee.dispatch(Pi({completed:de.completed}))}}},va=function(ee){var ae=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(Se){return function(Ee){if((Ee.type==="FLUSH"||Ee.type==="DROP_COMPLETE"||Ee.type==="DROP_ANIMATION_FINISHED")&&de(),Se(Ee),Ee.type==="DROP_ANIMATE"){var Ae={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var rt=ee.getState();rt.phase==="DROP_ANIMATING"&&ee.dispatch(xl())}};oe=requestAnimationFrame(function(){oe=null,ae=Sa(window,[Ae])})}}}},la=function(ee){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ae(oe)}}}},La=function(ee){var ae=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ae=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ae){if(de.type==="FLUSH"){ae=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ae=!1;var Se=de.payload.completed.result;Se.combine&&ee.tryShiftRecord(Se.draggableId,Se.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},lr=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},mr=function(ee){return function(ae){return function(oe){return function(de){if(lr(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Se=ae.getState();Se.phase!=="DRAGGING"&&sn(!1),ee.start(Se);return}oe(de),ee.scroll(ae.getState())}}}},Ya=function(ee){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(Fi({reason:de.reason})))}}}},Fr=De.qC,jr=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Se=ee.getResponders,Ee=ee.announce,Ae=ee.autoScroller;return(0,De.MT)(Hn,Fr((0,De.md)(jl(de),la(ae),Vl(ae),me,ua,va,Ya,mr(Ae),nt,La(oe),ma(Se,Ee))))},ja=function(){return{additions:{},removals:{},modified:{}}};function Xa(ee){var ae=ee.registry,oe=ee.callbacks,de=ja(),Se=null,Ee=function(){Se||(oe.collectionStarting(),Se=requestAnimationFrame(function(){Se=null,Wn();var bt=de,gt=bt.additions,pt=bt.removals,kt=bt.modified,Pn=Object.keys(gt).map(function(Ra){return ae.draggable.getById(Ra).getDimension(Vr)}).sort(function(Ra,Qa){return Ra.descriptor.index-Qa.descriptor.index}),pa=Object.keys(kt).map(function(Ra){var Qa=ae.droppable.getById(Ra),sr=Qa.callbacks.getScrollWhileDragging();return{droppableId:Ra,scroll:sr}}),Aa={additions:Pn,removals:Object.keys(pt),modified:pa};de=ja(),ia(),oe.publish(Aa)}))},Ae=function(bt){var gt=bt.descriptor.id;de.additions[gt]=bt,de.modified[bt.descriptor.droppableId]=!0,de.removals[gt]&&delete de.removals[gt],Ee()},Me=function(bt){var gt=bt.descriptor;de.removals[gt.id]=!0,de.modified[gt.droppableId]=!0,de.additions[gt.id]&&delete de.additions[gt.id],Ee()},rt=function(){Se&&(cancelAnimationFrame(Se),Se=null,de=ja())};return{add:Ae,remove:Me,stop:rt}}var Ha=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Se=ee.width,Ee=Wr({x:oe,y:ae},{x:Se,y:de}),Ae={x:Math.max(0,Ee.x),y:Math.max(0,Ee.y)};return Ae},Na=function(){var ee=document.documentElement;return ee||sn(!1),ee},Va=function(){var ee=Na(),ae=Ha({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},xr=function(){var ee=ve(),ae=Va(),oe=ee.y,de=ee.x,Se=Na(),Ee=Se.clientWidth,Ae=Se.clientHeight,Me=de+Ee,rt=oe+Ae,Ft=In({top:oe,left:de,right:Me,bottom:rt}),bt={frame:Ft,scroll:{initial:ee,current:ee,max:ae,diff:{value:Vr,displacement:Vr}}};return bt},Jr=function(ee){var ae=ee.critical,oe=ee.scrollOptions,de=ee.registry;Wn();var Se=xr(),Ee=Se.scroll.current,Ae=ae.droppable,Me=de.droppable.getAllByType(Ae.type).map(function(gt){return gt.callbacks.getDimensionAndWatchScroll(Ee,oe)}),rt=de.draggable.getAllByType(ae.draggable.type).map(function(gt){return gt.getDimension(Ee)}),Ft={draggables:ci(rt),droppables:Si(Me)};ia();var bt={dimensions:Ft,critical:ae,viewport:Se};return bt};function Or(ee,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var Sr=function(ee,ae){var oe=null,de=Xa({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),Se=function(kt,Pn){ee.droppable.exists(kt)||sn(!1),oe&&ae.updateDroppableIsEnabled({id:kt,isEnabled:Pn})},Ee=function(kt,Pn){oe&&(ee.droppable.exists(kt)||sn(!1),ae.updateDroppableIsCombineEnabled({id:kt,isCombineEnabled:Pn}))},Ae=function(kt,Pn){oe&&(ee.droppable.exists(kt)||sn(!1),ae.updateDroppableScroll({id:kt,newScroll:Pn}))},Me=function(kt,Pn){oe&&ee.droppable.getById(kt).callbacks.scroll(Pn)},rt=function(){if(oe){de.stop();var kt=oe.critical.droppable;ee.droppable.getAllByType(kt.type).forEach(function(Pn){return Pn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Ft=function(kt){oe||sn(!1);var Pn=oe.critical.draggable;kt.type==="ADDITION"&&Or(ee,Pn,kt.value)&&de.add(kt.value),kt.type==="REMOVAL"&&Or(ee,Pn,kt.value)&&de.remove(kt.value)},bt=function(kt){oe&&sn(!1);var Pn=ee.draggable.getById(kt.draggableId),pa=ee.droppable.getById(Pn.descriptor.droppableId),Aa={draggable:Pn.descriptor,droppable:pa.descriptor},Ra=ee.subscribe(Ft);return oe={critical:Aa,unsubscribe:Ra},Jr({critical:Aa,registry:ee,scrollOptions:kt.scrollOptions})},gt={updateDroppableIsEnabled:Se,updateDroppableIsCombineEnabled:Ee,scrollDroppable:Me,updateDroppableScroll:Ae,startPublishing:bt,stopPublishing:rt};return gt},Xr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},ao=function(ee){window.scrollBy(ee.x,ee.y)},Jo=wn(function(ee){return ni(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Ao=function(ae,oe){var de=Zo(Jo(oe),function(Se){return Se.frame||sn(!1),Ka(Se.frame.pageMarginBox)(ae)});return de},ui=function(ee){var ae=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var Se=de[oe];return Se.frame?Se:null}var Ee=Ao(ae,de);return Ee},Uo={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},zr=function(ee,ae){var oe=ee[ae.size]*Uo.startFromPercentage,de=ee[ae.size]*Uo.maxScrollAtPercentage,Se={startScrollingFrom:oe,maxScrollValueAt:de};return Se},vi=function(ee){var ae=ee.startOfRange,oe=ee.endOfRange,de=ee.current,Se=oe-ae;if(Se===0)return 0;var Ee=de-ae,Ae=Ee/Se;return Ae},yo=1,ai=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return Uo.maxPixelScroll;if(ee===ae.startScrollingFrom)return yo;var oe=vi({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),de=1-oe,Se=Uo.maxPixelScroll*Uo.ease(de);return Math.ceil(Se)},$o=Uo.durationDampening.accelerateAt,Ki=Uo.durationDampening.stopDampeningAt,yr=function(ee,ae){var oe=ae,de=Ki,Se=Date.now(),Ee=Se-oe;if(Ee>=Ki)return ee;if(Ee<$o)return yo;var Ae=vi({startOfRange:$o,endOfRange:de,current:Ee}),Me=ee*Uo.ease(Ae);return Math.ceil(Me)},Er=function(ee){var ae=ee.distanceToEdge,oe=ee.thresholds,de=ee.dragStartTime,Se=ee.shouldUseTimeDampening,Ee=ai(ae,oe);return Ee===0?0:Se?Math.max(yr(Ee,de),yo):Ee},vr=function(ee){var ae=ee.container,oe=ee.distanceToEdges,de=ee.dragStartTime,Se=ee.axis,Ee=ee.shouldUseTimeDampening,Ae=zr(ae,Se),Me=oe[Se.end]ae.height,Ee=oe.width>ae.width;return!Ee&&!Se?de:Ee&&Se?null:{x:Ee?0:de.x,y:Se?0:de.y}},Fo=Br(function(ee){return ee===0?0:ee}),rr=function(ee){var ae=ee.dragStartTime,oe=ee.container,de=ee.subject,Se=ee.center,Ee=ee.shouldUseTimeDampening,Ae={top:Se.y-oe.top,right:oe.right-Se.x,bottom:oe.bottom-Se.y,left:Se.x-oe.left},Me=vr({container:oe,distanceToEdges:Ae,dragStartTime:ae,axis:ol,shouldUseTimeDampening:Ee}),rt=vr({container:oe,distanceToEdges:Ae,dragStartTime:ae,axis:il,shouldUseTimeDampening:Ee}),Ft=Fo({x:rt,y:Me});if(Ja(Ft,Vr))return null;var bt=or({container:oe,subject:de,proposedScroll:Ft});return bt?Ja(bt,Vr)?null:bt:null},Mr=Br(function(ee){return ee===0?0:ee>0?1:-1}),vo=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ae){var oe=ae.current,de=ae.max,Se=ae.change,Ee=Ur(oe,Se),Ae={x:ee(Ee.x,de.x),y:ee(Ee.y,de.y)};return Ja(Ae,Vr)?null:Ae}}(),uo=function(ae){var oe=ae.max,de=ae.current,Se=ae.change,Ee={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},Ae=Mr(Se),Me=vo({max:Ee,current:de,change:Ae});return!Me||Ae.x!==0&&Me.x===0||Ae.y!==0&&Me.y===0},Ii=function(ae,oe){return uo({current:ae.scroll.current,max:ae.scroll.max,change:oe})},Li=function(ae,oe){if(!Ii(ae,oe))return null;var de=ae.scroll.max,Se=ae.scroll.current;return vo({current:Se,max:de,change:oe})},ll=function(ae,oe){var de=ae.frame;return de?uo({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},yi=function(ae,oe){var de=ae.frame;return!de||!ll(ae,oe)?null:vo({current:de.scroll.current,max:de.scroll.max,change:oe})},dl=function(ee){var ae=ee.viewport,oe=ee.subject,de=ee.center,Se=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,Ae=rr({dragStartTime:Se,container:ae.frame,subject:oe,center:de,shouldUseTimeDampening:Ee});return Ae&&Ii(ae,Ae)?Ae:null},bi=function(ee){var ae=ee.droppable,oe=ee.subject,de=ee.center,Se=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,Ae=ae.frame;if(!Ae)return null;var Me=rr({dragStartTime:Se,container:Ae.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:Ee});return Me&&ll(ae,Me)?Me:null},Vi=function(ee){var ae=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Se=ee.scrollWindow,Ee=ee.scrollDroppable,Ae=ae.current.page.borderBoxCenter,Me=ae.dimensions.draggables[ae.critical.draggable.id],rt=Me.page.marginBox;if(ae.isWindowScrollAllowed){var Ft=ae.viewport,bt=dl({dragStartTime:oe,viewport:Ft,subject:rt,center:Ae,shouldUseTimeDampening:de});if(bt){Se(bt);return}}var gt=ui({center:Ae,destination:fr(ae.impact),droppables:ae.dimensions.droppables});if(gt){var pt=bi({dragStartTime:oe,droppable:gt,subject:rt,center:Ae,shouldUseTimeDampening:de});pt&&Ee(gt.descriptor.id,pt)}},kl=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,de=Kn(ae),Se=Kn(oe),Ee=null,Ae=function(bt){Ee||sn(!1);var gt=Ee,pt=gt.shouldUseTimeDampening,kt=gt.dragStartTime;Vi({state:bt,scrollWindow:de,scrollDroppable:Se,dragStartTime:kt,shouldUseTimeDampening:pt})},Me=function(bt){Wn(),Ee&&sn(!1);var gt=Date.now(),pt=!1,kt=function(){pt=!0};Vi({state:bt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:kt,scrollDroppable:kt}),Ee={dragStartTime:gt,shouldUseTimeDampening:pt},ia(),pt&&Ae(bt)},rt=function(){Ee&&(de.cancel(),Se.cancel(),Ee=null)};return{start:Me,stop:rt,scroll:Ae}},ko=function(ee){var ae=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Se=function(Ft,bt){var gt=Ur(Ft.current.client.selection,bt);ae({client:gt})},Ee=function(Ft,bt){if(!ll(Ft,bt))return bt;var gt=yi(Ft,bt);if(!gt)return oe(Ft.descriptor.id,bt),null;var pt=Wr(bt,gt);oe(Ft.descriptor.id,pt);var kt=Wr(bt,pt);return kt},Ae=function(Ft,bt,gt){if(!Ft||!Ii(bt,gt))return gt;var pt=Li(bt,gt);if(!pt)return de(gt),null;var kt=Wr(gt,pt);de(kt);var Pn=Wr(gt,kt);return Pn},Me=function(Ft){var bt=Ft.scrollJumpRequest;if(bt){var gt=fr(Ft.impact);gt||sn(!1);var pt=Ee(Ft.dimensions.droppables[gt],bt);if(pt){var kt=Ft.viewport,Pn=Ae(Ft.isWindowScrollAllowed,kt,pt);Pn&&Se(Ft,Pn)}}};return Me},zo=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Se=kl({scrollWindow:oe,scrollDroppable:ae}),Ee=ko({move:de,scrollWindow:oe,scrollDroppable:ae}),Ae=function(Ft){if(Ft.phase==="DRAGGING"){if(Ft.movementMode==="FLUID"){Se.scroll(Ft);return}Ft.scrollJumpRequest&&Ee(Ft)}},Me={scroll:Ae,start:Se.start,stop:Se.stop};return Me},Xo="data-rbd",li=function(){var ee=Xo+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),hi=function(){var ee=Xo+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),ro=function(){var ee=Xo+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),ki={contextId:Xo+"-scroll-container-context-id"},Zi=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},Mi=function(ae,oe){return ae.map(function(de){var Se=de.styles[oe];return Se?de.selector+" { "+Se+" }":""}).join(" ")},Sl="pointer-events: none;",ml=function(ee){var ae=Zi(ee),oe=function(){var Me=` + `},Hn={dragHandleUsageInstructions:Qa,onDragStart:kr,onDragUpdate:Zo,onDragEnd:Vo},Jr={x:0,y:0},Kr=function(ae,oe){return{x:ae.x+oe.x,y:ae.y+oe.y}},Vr=function(ae,oe){return{x:ae.x-oe.x,y:ae.y-oe.y}},Ja=function(ae,oe){return ae.x===oe.x&&ae.y===oe.y},ta=function(ae){return{x:ae.x!==0?-ae.x:0,y:ae.y!==0?-ae.y:0}},Ma=function(ae,oe,de){var Se;return de===void 0&&(de=0),Se={},Se[ae]=oe,Se[ae==="x"?"y":"x"]=de,Se},$a=function(ae,oe){return Math.sqrt(Math.pow(oe.x-ae.x,2)+Math.pow(oe.y-ae.y,2))},xa=function(ae,oe){return Math.min.apply(Math,oe.map(function(de){return $a(ae,de)}))},br=function(ae){return function(oe){return{x:ae(oe.x),y:ae(oe.y)}}},Xr=function(ee,ae){var oe=Ln({top:Math.max(ae.top,ee.top),right:Math.min(ae.right,ee.right),bottom:Math.min(ae.bottom,ee.bottom),left:Math.max(ae.left,ee.left)});return oe.width<=0||oe.height<=0?null:oe},xo=function(ae,oe){return{top:ae.top+oe.y,left:ae.left+oe.x,bottom:ae.bottom+oe.y,right:ae.right+oe.x}},ao=function(ae){return[{x:ae.left,y:ae.top},{x:ae.right,y:ae.top},{x:ae.left,y:ae.bottom},{x:ae.right,y:ae.bottom}]},Ro={top:0,right:0,bottom:0,left:0},mi=function(ae,oe){return oe?xo(ae,oe.scroll.diff.displacement):ae},ei=function(ae,oe,de){if(de&&de.increasedBy){var Se;return(0,Oe.Z)({},ae,(Se={},Se[oe.end]=ae[oe.end]+de.increasedBy[oe.line],Se))}return ae},al=function(ae,oe){return oe&&oe.shouldClipSubject?Xr(oe.pageMarginBox,ae):Ln(ae)},Io=function(ee){var ae=ee.page,oe=ee.withPlaceholder,de=ee.axis,Se=ee.frame,Ee=mi(ae.marginBox,Se),Ae=ei(Ee,de,oe),Me=al(Ae,Se);return{page:ae,withPlaceholder:oe,active:Me}},ba=function(ee,ae){ee.frame||cn(!1);var oe=ee.frame,de=Vr(ae,oe.scroll.initial),Se=ta(de),Ee=(0,Oe.Z)({},oe,{scroll:{initial:oe.scroll.initial,current:ae,diff:{value:de,displacement:Se},max:oe.scroll.max}}),Ae=Io({page:ee.subject.page,withPlaceholder:ee.subject.withPlaceholder,axis:ee.axis,frame:Ee}),Me=(0,Oe.Z)({},ee,{frame:Ee,subject:Ae});return Me};function Go(ee){return Number.isInteger?Number.isInteger(ee):typeof ee=="number"&&isFinite(ee)&&Math.floor(ee)===ee}function To(ee){return Object.values?Object.values(ee):Object.keys(ee).map(function(ae){return ee[ae]})}function jo(ee,ae){if(ee.findIndex)return ee.findIndex(ae);for(var oe=0;oeee.bottom,Bt=de.leftee.right,yt=it&&Bt;if(yt)return!0;var gt=it&&Ae||Bt&&Ee;return gt}},vl=function(ee){var ae=di(ee.top,ee.bottom),oe=di(ee.left,ee.right);return function(de){var Se=ae(de.top)&&ae(de.bottom)&&oe(de.left)&&oe(de.right);return Se}},ol={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},no={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Wi=function(ee){return function(ae){var oe=di(ae.top,ae.bottom),de=di(ae.left,ae.right);return function(Se){return ee===ol?oe(Se.top)&&oe(Se.bottom):de(Se.left)&&de(Se.right)}}},Va=function(ae,oe){var de=oe.frame?oe.frame.scroll.diff.displacement:Jr;return xo(ae,de)},ga=function(ae,oe,de){return oe.subject.active?de(oe.subject.active)(ae):!1},da=function(ae,oe,de){return de(oe)(ae)},wa=function(ae){var oe=ae.target,de=ae.destination,Se=ae.viewport,Ee=ae.withDroppableDisplacement,Ae=ae.isVisibleThroughFrameFn,Me=Ee?Va(oe,de):oe;return ga(Me,de,Ae)&&da(Me,Se,Ae)},Nr=function(ae){return wa((0,Oe.Z)({},ae,{isVisibleThroughFrameFn:rl}))},Gr=function(ae){return wa((0,Oe.Z)({},ae,{isVisibleThroughFrameFn:vl}))},No=function(ae){return wa((0,Oe.Z)({},ae,{isVisibleThroughFrameFn:Wi(ae.destination.axis)}))},Ao=function(ae,oe,de){if(typeof de=="boolean")return de;if(!oe)return!0;var Se=oe.invisible,Ee=oe.visible;if(Se[ae])return!1;var Ae=Ee[ae];return Ae?Ae.shouldAnimate:!0};function Yo(ee,ae){var oe=ee.page.marginBox,de={top:ae.point.y,right:0,bottom:0,left:ae.point.x};return Ln(ea(oe,de))}function Fa(ee){var ae=ee.afterDragging,oe=ee.destination,de=ee.displacedBy,Se=ee.viewport,Ee=ee.forceShouldAnimate,Ae=ee.last;return ae.reduce(function(it,Bt){var yt=Yo(Bt,de),gt=Bt.descriptor.id;it.all.push(gt);var vt=Nr({target:yt,destination:oe,viewport:Se,withDroppableDisplacement:!0});if(!vt)return it.invisible[Bt.descriptor.id]=!0,it;var kt=Ao(gt,Ae,Ee),Pn={draggableId:gt,shouldAnimate:kt};return it.visible[gt]=Pn,it},{all:[],visible:{},invisible:{}})}function Pi(ee,ae){if(!ee.length)return 0;var oe=ee[ee.length-1].descriptor.index;return ae.inHomeList?oe:oe+1}function $o(ee){var ae=ee.insideDestination,oe=ee.inHomeList,de=ee.displacedBy,Se=ee.destination,Ee=Pi(ae,{inHomeList:oe});return{displaced:Oi,displacedBy:de,at:{type:"REORDER",destination:{droppableId:Se.descriptor.id,index:Ee}}}}function Di(ee){var ae=ee.draggable,oe=ee.insideDestination,de=ee.destination,Se=ee.viewport,Ee=ee.displacedBy,Ae=ee.last,Me=ee.index,it=ee.forceShouldAnimate,Bt=pi(ae,de);if(Me==null)return $o({insideDestination:oe,inHomeList:Bt,displacedBy:Ee,destination:de});var yt=So(oe,function(ha){return ha.descriptor.index===Me});if(!yt)return $o({insideDestination:oe,inHomeList:Bt,displacedBy:Ee,destination:de});var gt=Lo(ae,oe),vt=oe.indexOf(yt),kt=gt.slice(vt),Pn=Fa({afterDragging:kt,destination:de,displacedBy:Ee,last:Ae,viewport:Se.frame,forceShouldAnimate:it});return{displaced:Pn,displacedBy:Ee,at:{type:"REORDER",destination:{droppableId:de.descriptor.id,index:Me}}}}function vi(ee,ae){return!!ae.effected[ee]}var tl=function(ee){var ae=ee.isMovingForward,oe=ee.destination,de=ee.draggables,Se=ee.combine,Ee=ee.afterCritical;if(!oe.isCombineEnabled)return null;var Ae=Se.draggableId,Me=de[Ae],it=Me.descriptor.index,Bt=vi(Ae,Ee);return Bt?ae?it:it-1:ae?it+1:it},nl=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.insideDestination,Se=ee.location;if(!de.length)return null;var Ee=Se.index,Ae=ae?Ee+1:Ee-1,Me=de[0].descriptor.index,it=de[de.length-1].descriptor.index,Bt=oe?it:it+1;return AeBt?null:Ae},Ki=function(ee){var ae=ee.isMovingForward,oe=ee.isInHomeList,de=ee.draggable,Se=ee.draggables,Ee=ee.destination,Ae=ee.insideDestination,Me=ee.previousImpact,it=ee.viewport,Bt=ee.afterCritical,yt=Me.at;if(yt||cn(!1),yt.type==="REORDER"){var gt=nl({isMovingForward:ae,isInHomeList:oe,location:yt.destination,insideDestination:Ae});return gt==null?null:Di({draggable:de,insideDestination:Ae,destination:Ee,viewport:it,last:Me.displaced,displacedBy:Me.displacedBy,index:gt})}var vt=tl({isMovingForward:ae,destination:Ee,displaced:Me.displaced,draggables:Se,combine:yt.combine,afterCritical:Bt});return vt==null?null:Di({draggable:de,insideDestination:Ae,destination:Ee,viewport:it,last:Me.displaced,displacedBy:Me.displacedBy,index:vt})},Vt=function(ee){var ae=ee.displaced,oe=ee.afterCritical,de=ee.combineWith,Se=ee.displacedBy,Ee=!!(ae.visible[de]||ae.invisible[de]);return vi(de,oe)?Ee?Jr:ta(Se.point):Ee?Se.point:Jr},Qt=function(ee){var ae=ee.afterCritical,oe=ee.impact,de=ee.draggables,Se=wi(oe);Se||cn(!1);var Ee=Se.draggableId,Ae=de[Ee].page.borderBox.center,Me=Vt({displaced:oe.displaced,afterCritical:ae,combineWith:Ee,displacedBy:oe.displacedBy});return Kr(Ae,Me)},rn=function(ae,oe){return oe.margin[ae.start]+oe.borderBox[ae.size]/2},ra=function(ae,oe){return oe.margin[ae.end]+oe.borderBox[ae.size]/2},Ga=function(ae,oe,de){return oe[ae.crossAxisStart]+de.margin[ae.crossAxisStart]+de.borderBox[ae.crossAxisSize]/2},or=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Se=ae.isMoving;return Ma(oe.line,de.marginBox[oe.end]+rn(oe,Se),Ga(oe,de.marginBox,Se))},On=function(ae){var oe=ae.axis,de=ae.moveRelativeTo,Se=ae.isMoving;return Ma(oe.line,de.marginBox[oe.start]-ra(oe,Se),Ga(oe,de.marginBox,Se))},Wa=function(ae){var oe=ae.axis,de=ae.moveInto,Se=ae.isMoving;return Ma(oe.line,de.contentBox[oe.start]+rn(oe,Se),Ga(oe,de.contentBox,Se))},er=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.draggables,Se=ee.droppable,Ee=ee.afterCritical,Ae=to(Se.descriptor.id,de),Me=oe.page,it=Se.axis;if(!Ae.length)return Wa({axis:it,moveInto:Se.page,isMoving:Me});var Bt=ae.displaced,yt=ae.displacedBy,gt=Bt.all[0];if(gt){var vt=de[gt];if(vi(gt,Ee))return On({axis:it,moveRelativeTo:vt.page,isMoving:Me});var kt=Ca(vt.page,yt.point);return On({axis:it,moveRelativeTo:kt,isMoving:Me})}var Pn=Ae[Ae.length-1];if(Pn.descriptor.id===oe.descriptor.id)return Me.borderBox.center;if(vi(Pn.descriptor.id,Ee)){var ha=Ca(Pn.page,ta(Ee.displacedBy.point));return or({axis:it,moveRelativeTo:ha,isMoving:Me})}return or({axis:it,moveRelativeTo:Pn.page,isMoving:Me})},Pr=function(ee,ae){var oe=ee.frame;return oe?Kr(ae,oe.scroll.diff.displacement):ae},ro=function(ae){var oe=ae.impact,de=ae.draggable,Se=ae.droppable,Ee=ae.draggables,Ae=ae.afterCritical,Me=de.page.borderBox.center,it=oe.at;return!Se||!it?Me:it.type==="REORDER"?er({impact:oe,draggable:de,draggables:Ee,droppable:Se,afterCritical:Ae}):Qt({impact:oe,draggables:Ee,afterCritical:Ae})},Qn=function(ee){var ae=ro(ee),oe=ee.droppable,de=oe?Pr(oe,ae):ae;return de},jr=function(ee,ae){var oe=Vr(ae,ee.scroll.initial),de=ta(oe),Se=Ln({top:ae.y,bottom:ae.y+ee.frame.height,left:ae.x,right:ae.x+ee.frame.width}),Ee={frame:Se,scroll:{initial:ee.scroll.initial,max:ee.scroll.max,current:ae,diff:{value:oe,displacement:de}}};return Ee};function uo(ee,ae){return ee.map(function(oe){return ae[oe]})}function Oo(ee,ae){for(var oe=0;oe1?yt.sort(function(gt,vt){return pt(gt)[Me.start]-pt(vt)[Me.start]})[0]:Bt.sort(function(gt,vt){var kt=xa(oe,ao(pt(gt))),Pn=xa(oe,ao(pt(vt)));return kt!==Pn?kt-Pn:pt(gt)[Me.start]-pt(vt)[Me.start]})[0]},sa=function(ae,oe){var de=ae.page.borderBox.center;return vi(ae.descriptor.id,oe)?Vr(de,oe.displacedBy.point):de},Ut=function(ae,oe){var de=ae.page.borderBox;return vi(ae.descriptor.id,oe)?xo(de,ta(oe.displacedBy.point)):de},Sn=function(ee){var ae=ee.pageBorderBoxCenter,oe=ee.viewport,de=ee.destination,Se=ee.insideDestination,Ee=ee.afterCritical,Ae=Se.filter(function(Me){return Gr({target:Ut(Me,Ee),destination:de,viewport:oe.frame,withDroppableDisplacement:!0})}).sort(function(Me,it){var Bt=$a(ae,Pr(de,sa(Me,Ee))),yt=$a(ae,Pr(de,sa(it,Ee)));return Btae.left&&ee.topae.top}function Cr(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.candidates,Se=oe.page.borderBox.center,Ee=de.map(function(Ae){var Me=Ae.axis,it=Ma(Ae.axis.line,ae.center[Me.line],Ae.page.borderBox.center[Me.crossAxisLine]);return{id:Ae.descriptor.id,distance:$a(Se,it)}}).sort(function(Ae,Me){return Me.distance-Ae.distance});return Ee[0]?Ee[0].id:null}function Dr(ee){var ae=ee.pageBorderBox,oe=ee.draggable,de=ee.droppables,Se=qo(de).filter(function(Ee){if(!Ee.isEnabled)return!1;var Ae=Ee.subject.active;if(!Ae||!Yn(ae,Ae))return!1;if(Pa(Ae)(ae.center))return!0;var Me=Ee.axis,it=Ae.center[Me.crossAxisLine],Bt=ae[Me.crossAxisStart],yt=ae[Me.crossAxisEnd],gt=di(Ae[Me.crossAxisStart],Ae[Me.crossAxisEnd]),vt=gt(Bt),kt=gt(yt);return!vt&&!kt?!0:vt?Btit});return Se.length?Se.length===1?Se[0].descriptor.id:Cr({pageBorderBox:ae,draggable:oe,candidates:Se}):null}var Ur=function(ae,oe){return Ln(xo(ae,oe))},Eo=function(ee,ae){var oe=ee.frame;return oe?Ur(ae,oe.scroll.diff.value):ae};function xr(ee){var ae=ee.displaced,oe=ee.id;return!!(ae.visible[oe]||ae.invisible[oe])}function oo(ee){var ae=ee.draggable,oe=ee.closest,de=ee.inHomeList;return oe?de&&oe.descriptor.index>ae.descriptor.index?oe.descriptor.index-1:oe.descriptor.index:null}var Ar=function(ee){var ae=ee.pageBorderBoxWithDroppableScroll,oe=ee.draggable,de=ee.destination,Se=ee.insideDestination,Ee=ee.last,Ae=ee.viewport,Me=ee.afterCritical,it=de.axis,Bt=on(de.axis,oe.displaceBy),yt=Bt.value,gt=ae[it.start],vt=ae[it.end],kt=Lo(oe,Se),Pn=So(kt,function(Ba){var Oa=Ba.descriptor.id,Ua=Ba.page.borderBox.center[it.line],lr=vi(Oa,Me),vr=xr({displaced:Ee,id:Oa});return lr?vr?vt<=Ua:gtOa[Me.start]+lr&>Oa[Me.start]-Bt+lr&&ytOa[Me.start]+Bt+lr&>Oa[Me.start]+lr&&yt=Ql)return ns;var Ee=Se/Ql,Ae=Ul+ms*Ee,Me=de==="CANCEL"?Ae*Hl:Ae;return Number(Me.toFixed(2))},_t=function(ee){var ae=ee.impact,oe=ee.draggable,de=ee.dimensions,Se=ee.viewport,Ee=ee.afterCritical,Ae=de.draggables,Me=de.droppables,it=Xa(ae),Bt=it?Me[it]:null,yt=Me[oe.descriptor.droppableId],gt=Dt({impact:ae,draggable:oe,draggables:Ae,afterCritical:Ee,droppable:Bt||yt,viewport:Se}),vt=Vr(gt,oe.client.borderBox.center);return vt},Ia=function(ee){var ae=ee.draggables,oe=ee.reason,de=ee.lastImpact,Se=ee.home,Ee=ee.viewport,Ae=ee.onLiftImpact;if(!de.at||oe!=="DROP"){var Me=Et({draggables:ae,impact:Ae,destination:Se,viewport:Ee,forceShouldAnimate:!0});return{impact:Me,didDropInsideDroppable:!1}}if(de.at.type==="REORDER")return{impact:de,didDropInsideDroppable:!0};var it=(0,Oe.Z)({},de,{displaced:Oi});return{impact:it,didDropInsideDroppable:!0}},me=function(ee){var ae=ee.getState,oe=ee.dispatch;return function(de){return function(Se){if(Se.type!=="DROP"){de(Se);return}var Ee=ae(),Ae=Se.payload.reason;if(Ee.phase==="COLLECTING"){oe(Rl({reason:Ae}));return}if(Ee.phase!=="IDLE"){var Me=Ee.phase==="DROP_PENDING"&&Ee.isWaiting;Me&&cn(!1),Ee.phase==="DRAGGING"||Ee.phase==="DROP_PENDING"||cn(!1);var it=Ee.critical,Bt=Ee.dimensions,yt=Bt.draggables[Ee.critical.draggable.id],gt=Ia({reason:Ae,lastImpact:Ee.impact,afterCritical:Ee.afterCritical,onLiftImpact:Ee.onLiftImpact,home:Ee.dimensions.droppables[Ee.critical.droppable.id],viewport:Ee.viewport,draggables:Ee.dimensions.draggables}),vt=gt.impact,kt=gt.didDropInsideDroppable,Pn=kt?Bi(vt):null,ha=kt?wi(vt):null,Ba={index:it.draggable.index,droppableId:it.droppable.id},Oa={draggableId:yt.descriptor.id,type:yt.descriptor.type,source:Ba,reason:Ae,mode:Ee.movementMode,destination:Pn,combine:ha},Ua=_t({impact:vt,draggable:yt,dimensions:Bt,viewport:Ee.viewport,afterCritical:Ee.afterCritical}),lr={critical:Ee.critical,afterCritical:Ee.afterCritical,result:Oa,impact:vt},vr=!Ja(Ee.current.client.offset,Ua)||!!Oa.combine;if(!vr){oe(hi({completed:lr}));return}var so=ul({current:Ee.current.client.offset,destination:Ua,reason:Ae}),eo={newHomeClientOffset:Ua,dropDuration:so,completed:lr};oe(po(eo))}}}},ve=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Pe(ee){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(oe){oe.target!==window&&oe.target!==window.document||ee()}}}function Ue(ee){var ae=ee.onWindowScroll;function oe(){ae(ve())}var de=Vn(oe),Se=Pe(de),Ee=Ha;function Ae(){return Ee!==Ha}function Me(){Ae()&&cn(!1),Ee=ya(window,[Se])}function it(){Ae()||cn(!1),de.cancel(),Ee(),Ee=Ha}return{start:Me,stop:it,isActive:Ae}}var $e=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},rt=function(ee){var ae=Ue({onWindowScroll:function(de){ee.dispatch(bi({newScroll:de}))}});return function(oe){return function(de){!ae.isActive()&&de.type==="INITIAL_PUBLISH"&&ae.start(),ae.isActive()&&$e(de)&&ae.stop(),oe(de)}}},xt=function(ee){var ae=!1,oe=!1,de=setTimeout(function(){oe=!0}),Se=function(Ae){ae||oe||(ae=!0,ee(Ae),clearTimeout(de))};return Se.wasCalled=function(){return ae},Se},zt=function(){var ee=[],ae=function(Ee){var Ae=jo(ee,function(Bt){return Bt.timerId===Ee});Ae===-1&&cn(!1);var Me=ee.splice(Ae,1),it=Me[0];it.callback()},oe=function(Ee){var Ae=setTimeout(function(){return ae(Ae)}),Me={timerId:Ae,callback:Ee};ee.push(Me)},de=function(){if(ee.length){var Ee=[].concat(ee);ee.length=0,Ee.forEach(function(Ae){clearTimeout(Ae.timerId),Ae.callback()})}};return{add:oe,flush:de}},Ft=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.droppableId===oe.droppableId&&ae.index===oe.index},nn=function(ae,oe){return ae==null&&oe==null?!0:ae==null||oe==null?!1:ae.draggableId===oe.draggableId&&ae.droppableId===oe.droppableId},xn=function(ae,oe){if(ae===oe)return!0;var de=ae.draggable.id===oe.draggable.id&&ae.draggable.droppableId===oe.draggable.droppableId&&ae.draggable.type===oe.draggable.type&&ae.draggable.index===oe.draggable.index,Se=ae.droppable.id===oe.droppable.id&&ae.droppable.type===oe.droppable.type;return de&&Se},It=function(ae,oe){jn(),oe(),vn()},Zn=function(ae,oe){return{draggableId:ae.draggable.id,type:ae.droppable.type,source:{droppableId:ae.droppable.id,index:ae.draggable.index},mode:oe}},Rn=function(ae,oe,de,Se){if(!ae){de(Se(oe));return}var Ee=xt(de),Ae={announce:Ee};ae(oe,Ae),Ee.wasCalled()||de(Se(oe))},Mn=function(ee,ae){var oe=zt(),de=null,Se=function(vt,kt){de&&cn(!1),It("onBeforeCapture",function(){var Pn=ee().onBeforeCapture;if(Pn){var ha={draggableId:vt,mode:kt};Pn(ha)}})},Ee=function(vt,kt){de&&cn(!1),It("onBeforeDragStart",function(){var Pn=ee().onBeforeDragStart;Pn&&Pn(Zn(vt,kt))})},Ae=function(vt,kt){de&&cn(!1);var Pn=Zn(vt,kt);de={mode:kt,lastCritical:vt,lastLocation:Pn.source,lastCombine:null},oe.add(function(){It("onDragStart",function(){return Rn(ee().onDragStart,Pn,ae,Hn.onDragStart)})})},Me=function(vt,kt){var Pn=Bi(kt),ha=wi(kt);de||cn(!1);var Ba=!xn(vt,de.lastCritical);Ba&&(de.lastCritical=vt);var Oa=!Ft(de.lastLocation,Pn);Oa&&(de.lastLocation=Pn);var Ua=!nn(de.lastCombine,ha);if(Ua&&(de.lastCombine=ha),!(!Ba&&!Oa&&!Ua)){var lr=(0,Oe.Z)({},Zn(vt,de.mode),{combine:ha,destination:Pn});oe.add(function(){It("onDragUpdate",function(){return Rn(ee().onDragUpdate,lr,ae,Hn.onDragUpdate)})})}},it=function(){de||cn(!1),oe.flush()},Bt=function(vt){de||cn(!1),de=null,It("onDragEnd",function(){return Rn(ee().onDragEnd,vt,ae,Hn.onDragEnd)})},yt=function(){if(de){var vt=(0,Oe.Z)({},Zn(de.lastCritical,de.mode),{combine:null,destination:null,reason:"CANCEL"});Bt(vt)}};return{beforeCapture:Se,beforeStart:Ee,start:Ae,update:Me,flush:it,drop:Bt,abort:yt}},pa=function(ee,ae){var oe=Mn(ee,ae);return function(de){return function(Se){return function(Ee){if(Ee.type==="BEFORE_INITIAL_CAPTURE"){oe.beforeCapture(Ee.payload.draggableId,Ee.payload.movementMode);return}if(Ee.type==="INITIAL_PUBLISH"){var Ae=Ee.payload.critical;oe.beforeStart(Ae,Ee.payload.movementMode),Se(Ee),oe.start(Ae,Ee.payload.movementMode);return}if(Ee.type==="DROP_COMPLETE"){var Me=Ee.payload.completed.result;oe.flush(),Se(Ee),oe.drop(Me);return}if(Se(Ee),Ee.type==="FLUSH"){oe.abort();return}var it=de.getState();it.phase==="DRAGGING"&&oe.update(it.critical,it.impact)}}}},ua=function(ee){return function(ae){return function(oe){if(oe.type!=="DROP_ANIMATION_FINISHED"){ae(oe);return}var de=ee.getState();de.phase!=="DROP_ANIMATING"&&cn(!1),ee.dispatch(hi({completed:de.completed}))}}},Ea=function(ee){var ae=null,oe=null;function de(){oe&&(cancelAnimationFrame(oe),oe=null),ae&&(ae(),ae=null)}return function(Se){return function(Ee){if((Ee.type==="FLUSH"||Ee.type==="DROP_COMPLETE"||Ee.type==="DROP_ANIMATION_FINISHED")&&de(),Se(Ee),Ee.type==="DROP_ANIMATE"){var Ae={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var it=ee.getState();it.phase==="DROP_ANIMATING"&&ee.dispatch(xl())}};oe=requestAnimationFrame(function(){oe=null,ae=ya(window,[Ae])})}}}},ia=function(ee){return function(){return function(ae){return function(oe){(oe.type==="DROP_COMPLETE"||oe.type==="FLUSH"||oe.type==="DROP_ANIMATE")&&ee.stopPublishing(),ae(oe)}}}},La=function(ee){var ae=!1;return function(){return function(oe){return function(de){if(de.type==="INITIAL_PUBLISH"){ae=!0,ee.tryRecordFocus(de.payload.critical.draggable.id),oe(de),ee.tryRestoreFocusRecorded();return}if(oe(de),!!ae){if(de.type==="FLUSH"){ae=!1,ee.tryRestoreFocusRecorded();return}if(de.type==="DROP_COMPLETE"){ae=!1;var Se=de.payload.completed.result;Se.combine&&ee.tryShiftRecord(Se.draggableId,Se.combine.draggableId),ee.tryRestoreFocusRecorded()}}}}}},ir=function(ae){return ae.type==="DROP_COMPLETE"||ae.type==="DROP_ANIMATE"||ae.type==="FLUSH"},cr=function(ee){return function(ae){return function(oe){return function(de){if(ir(de)){ee.stop(),oe(de);return}if(de.type==="INITIAL_PUBLISH"){oe(de);var Se=ae.getState();Se.phase!=="DRAGGING"&&cn(!1),ee.start(Se);return}oe(de),ee.scroll(ae.getState())}}}},_a=function(ee){return function(ae){return function(oe){if(ae(oe),oe.type==="PUBLISH_WHILE_DRAGGING"){var de=ee.getState();de.phase==="DROP_PENDING"&&(de.isWaiting||ee.dispatch(Fi({reason:de.reason})))}}}},Br=we.qC,zr=function(ee){var ae=ee.dimensionMarshal,oe=ee.focusMarshal,de=ee.styleMarshal,Se=ee.getResponders,Ee=ee.announce,Ae=ee.autoScroller;return(0,we.MT)(va,Br((0,we.md)(jl(de),ia(ae),Vl(ae),me,ua,Ea,_a,cr(Ae),rt,La(oe),pa(Se,Ee))))},ka=function(){return{additions:{},removals:{},modified:{}}};function qa(ee){var ae=ee.registry,oe=ee.callbacks,de=ka(),Se=null,Ee=function(){Se||(oe.collectionStarting(),Se=requestAnimationFrame(function(){Se=null,jn();var yt=de,gt=yt.additions,vt=yt.removals,kt=yt.modified,Pn=Object.keys(gt).map(function(Oa){return ae.draggable.getById(Oa).getDimension(Jr)}).sort(function(Oa,Ua){return Oa.descriptor.index-Ua.descriptor.index}),ha=Object.keys(kt).map(function(Oa){var Ua=ae.droppable.getById(Oa),lr=Ua.callbacks.getScrollWhileDragging();return{droppableId:Oa,scroll:lr}}),Ba={additions:Pn,removals:Object.keys(vt),modified:ha};de=ka(),vn(),oe.publish(Ba)}))},Ae=function(yt){var gt=yt.descriptor.id;de.additions[gt]=yt,de.modified[yt.descriptor.droppableId]=!0,de.removals[gt]&&delete de.removals[gt],Ee()},Me=function(yt){var gt=yt.descriptor;de.removals[gt.id]=!0,de.modified[gt.droppableId]=!0,de.additions[gt.id]&&delete de.additions[gt.id],Ee()},it=function(){Se&&(cancelAnimationFrame(Se),Se=null,de=ka())};return{add:Ae,remove:Me,stop:it}}var za=function(ee){var ae=ee.scrollHeight,oe=ee.scrollWidth,de=ee.height,Se=ee.width,Ee=Vr({x:oe,y:ae},{x:Se,y:de}),Ae={x:Math.max(0,Ee.x),y:Math.max(0,Ee.y)};return Ae},Na=function(){var ee=document.documentElement;return ee||cn(!1),ee},Ka=function(){var ee=Na(),ae=za({scrollHeight:ee.scrollHeight,scrollWidth:ee.scrollWidth,width:ee.clientWidth,height:ee.clientHeight});return ae},yr=function(){var ee=ve(),ae=Ka(),oe=ee.y,de=ee.x,Se=Na(),Ee=Se.clientWidth,Ae=Se.clientHeight,Me=de+Ee,it=oe+Ae,Bt=Ln({top:oe,left:de,right:Me,bottom:it}),yt={frame:Bt,scroll:{initial:ee,current:ee,max:ae,diff:{value:Jr,displacement:Jr}}};return yt},_r=function(ee){var ae=ee.critical,oe=ee.scrollOptions,de=ee.registry;jn();var Se=yr(),Ee=Se.scroll.current,Ae=ae.droppable,Me=de.droppable.getAllByType(Ae.type).map(function(gt){return gt.callbacks.getDimensionAndWatchScroll(Ee,oe)}),it=de.draggable.getAllByType(ae.draggable.type).map(function(gt){return gt.getDimension(Ee)}),Bt={draggables:fi(it),droppables:ui(Me)};vn();var yt={dimensions:Bt,critical:ae,viewport:Se};return yt};function Mr(ee,ae,oe){if(oe.descriptor.id===ae.id||oe.descriptor.type!==ae.type)return!1;var de=ee.droppable.getById(oe.descriptor.droppableId);return de.descriptor.mode==="virtual"}var fr=function(ee,ae){var oe=null,de=qa({callbacks:{publish:ae.publishWhileDragging,collectionStarting:ae.collectionStarting},registry:ee}),Se=function(kt,Pn){ee.droppable.exists(kt)||cn(!1),oe&&ae.updateDroppableIsEnabled({id:kt,isEnabled:Pn})},Ee=function(kt,Pn){oe&&(ee.droppable.exists(kt)||cn(!1),ae.updateDroppableIsCombineEnabled({id:kt,isCombineEnabled:Pn}))},Ae=function(kt,Pn){oe&&(ee.droppable.exists(kt)||cn(!1),ae.updateDroppableScroll({id:kt,newScroll:Pn}))},Me=function(kt,Pn){oe&&ee.droppable.getById(kt).callbacks.scroll(Pn)},it=function(){if(oe){de.stop();var kt=oe.critical.droppable;ee.droppable.getAllByType(kt.type).forEach(function(Pn){return Pn.callbacks.dragStopped()}),oe.unsubscribe(),oe=null}},Bt=function(kt){oe||cn(!1);var Pn=oe.critical.draggable;kt.type==="ADDITION"&&Mr(ee,Pn,kt.value)&&de.add(kt.value),kt.type==="REMOVAL"&&Mr(ee,Pn,kt.value)&&de.remove(kt.value)},yt=function(kt){oe&&cn(!1);var Pn=ee.draggable.getById(kt.draggableId),ha=ee.droppable.getById(Pn.descriptor.droppableId),Ba={draggable:Pn.descriptor,droppable:ha.descriptor},Oa=ee.subscribe(Bt);return oe={critical:Ba,unsubscribe:Oa},_r({critical:Ba,registry:ee,scrollOptions:kt.scrollOptions})},gt={updateDroppableIsEnabled:Se,updateDroppableIsCombineEnabled:Ee,scrollDroppable:Me,updateDroppableScroll:Ae,startPublishing:yt,stopPublishing:it};return gt},Yr=function(ee,ae){return ee.phase==="IDLE"?!0:ee.phase!=="DROP_ANIMATING"||ee.completed.result.draggableId===ae?!1:ee.completed.result.reason==="DROP"},io=function(ee){window.scrollBy(ee.x,ee.y)},Qo=zn(function(ee){return qo(ee).filter(function(ae){return!(!ae.isEnabled||!ae.frame)})}),Fo=function(ae,oe){var de=So(Qo(oe),function(Se){return Se.frame||cn(!1),Pa(Se.frame.pageMarginBox)(ae)});return de},li=function(ee){var ae=ee.center,oe=ee.destination,de=ee.droppables;if(oe){var Se=de[oe];return Se.frame?Se:null}var Ee=Fo(ae,de);return Ee},Ko={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(ae){return Math.pow(ae,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},Hr=function(ee,ae){var oe=ee[ae.size]*Ko.startFromPercentage,de=ee[ae.size]*Ko.maxScrollAtPercentage,Se={startScrollingFrom:oe,maxScrollValueAt:de};return Se},ci=function(ee){var ae=ee.startOfRange,oe=ee.endOfRange,de=ee.current,Se=oe-ae;if(Se===0)return 0;var Ee=de-ae,Ae=Ee/Se;return Ae},yo=1,ti=function(ee,ae){if(ee>ae.startScrollingFrom)return 0;if(ee<=ae.maxScrollValueAt)return Ko.maxPixelScroll;if(ee===ae.startScrollingFrom)return yo;var oe=ci({startOfRange:ae.maxScrollValueAt,endOfRange:ae.startScrollingFrom,current:ee}),de=1-oe,Se=Ko.maxPixelScroll*Ko.ease(de);return Math.ceil(Se)},Jo=Ko.durationDampening.accelerateAt,Ui=Ko.durationDampening.stopDampeningAt,Er=function(ee,ae){var oe=ae,de=Ui,Se=Date.now(),Ee=Se-oe;if(Ee>=Ui)return ee;if(Eeae.height,Ee=oe.width>ae.width;return!Ee&&!Se?de:Ee&&Se?null:{x:Ee?0:de.x,y:Se?0:de.y}},Do=br(function(ee){return ee===0?0:ee}),nr=function(ee){var ae=ee.dragStartTime,oe=ee.container,de=ee.subject,Se=ee.center,Ee=ee.shouldUseTimeDampening,Ae={top:Se.y-oe.top,right:oe.right-Se.x,bottom:oe.bottom-Se.y,left:Se.x-oe.left},Me=mr({container:oe,distanceToEdges:Ae,dragStartTime:ae,axis:ol,shouldUseTimeDampening:Ee}),it=mr({container:oe,distanceToEdges:Ae,dragStartTime:ae,axis:no,shouldUseTimeDampening:Ee}),Bt=Do({x:it,y:Me});if(Ja(Bt,Jr))return null;var yt=rr({container:oe,subject:de,proposedScroll:Bt});return yt?Ja(yt,Jr)?null:yt:null},Rr=br(function(ee){return ee===0?0:ee>0?1:-1}),vo=function(){var ee=function(oe,de){return oe<0?oe:oe>de?oe-de:0};return function(ae){var oe=ae.current,de=ae.max,Se=ae.change,Ee=Kr(oe,Se),Ae={x:ee(Ee.x,de.x),y:ee(Ee.y,de.y)};return Ja(Ae,Jr)?null:Ae}}(),mo=function(ae){var oe=ae.max,de=ae.current,Se=ae.change,Ee={x:Math.max(de.x,oe.x),y:Math.max(de.y,oe.y)},Ae=Rr(Se),Me=vo({max:Ee,current:de,change:Ae});return!Me||Ae.x!==0&&Me.x===0||Ae.y!==0&&Me.y===0},Ii=function(ae,oe){return mo({current:ae.scroll.current,max:ae.scroll.max,change:oe})},Li=function(ae,oe){if(!Ii(ae,oe))return null;var de=ae.scroll.max,Se=ae.scroll.current;return vo({current:Se,max:de,change:oe})},ll=function(ae,oe){var de=ae.frame;return de?mo({current:de.scroll.current,max:de.scroll.max,change:oe}):!1},Si=function(ae,oe){var de=ae.frame;return!de||!ll(ae,oe)?null:vo({current:de.scroll.current,max:de.scroll.max,change:oe})},dl=function(ee){var ae=ee.viewport,oe=ee.subject,de=ee.center,Se=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,Ae=nr({dragStartTime:Se,container:ae.frame,subject:oe,center:de,shouldUseTimeDampening:Ee});return Ae&&Ii(ae,Ae)?Ae:null},Ei=function(ee){var ae=ee.droppable,oe=ee.subject,de=ee.center,Se=ee.dragStartTime,Ee=ee.shouldUseTimeDampening,Ae=ae.frame;if(!Ae)return null;var Me=nr({dragStartTime:Se,container:Ae.pageMarginBox,subject:oe,center:de,shouldUseTimeDampening:Ee});return Me&&ll(ae,Me)?Me:null},Qi=function(ee){var ae=ee.state,oe=ee.dragStartTime,de=ee.shouldUseTimeDampening,Se=ee.scrollWindow,Ee=ee.scrollDroppable,Ae=ae.current.page.borderBoxCenter,Me=ae.dimensions.draggables[ae.critical.draggable.id],it=Me.page.marginBox;if(ae.isWindowScrollAllowed){var Bt=ae.viewport,yt=dl({dragStartTime:oe,viewport:Bt,subject:it,center:Ae,shouldUseTimeDampening:de});if(yt){Se(yt);return}}var gt=li({center:Ae,destination:Xa(ae.impact),droppables:ae.dimensions.droppables});if(gt){var vt=Ei({dragStartTime:oe,droppable:gt,subject:it,center:Ae,shouldUseTimeDampening:de});vt&&Ee(gt.descriptor.id,vt)}},kl=function(ee){var ae=ee.scrollWindow,oe=ee.scrollDroppable,de=Vn(ae),Se=Vn(oe),Ee=null,Ae=function(yt){Ee||cn(!1);var gt=Ee,vt=gt.shouldUseTimeDampening,kt=gt.dragStartTime;Qi({state:yt,scrollWindow:de,scrollDroppable:Se,dragStartTime:kt,shouldUseTimeDampening:vt})},Me=function(yt){jn(),Ee&&cn(!1);var gt=Date.now(),vt=!1,kt=function(){vt=!0};Qi({state:yt,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:kt,scrollDroppable:kt}),Ee={dragStartTime:gt,shouldUseTimeDampening:vt},vn(),vt&&Ae(yt)},it=function(){Ee&&(de.cancel(),Se.cancel(),Ee=null)};return{start:Me,stop:it,scroll:Ae}},ko=function(ee){var ae=ee.move,oe=ee.scrollDroppable,de=ee.scrollWindow,Se=function(Bt,yt){var gt=Kr(Bt.current.client.selection,yt);ae({client:gt})},Ee=function(Bt,yt){if(!ll(Bt,yt))return yt;var gt=Si(Bt,yt);if(!gt)return oe(Bt.descriptor.id,yt),null;var vt=Vr(yt,gt);oe(Bt.descriptor.id,vt);var kt=Vr(yt,vt);return kt},Ae=function(Bt,yt,gt){if(!Bt||!Ii(yt,gt))return gt;var vt=Li(yt,gt);if(!vt)return de(gt),null;var kt=Vr(gt,vt);de(kt);var Pn=Vr(gt,kt);return Pn},Me=function(Bt){var yt=Bt.scrollJumpRequest;if(yt){var gt=Xa(Bt.impact);gt||cn(!1);var vt=Ee(Bt.dimensions.droppables[gt],yt);if(vt){var kt=Bt.viewport,Pn=Ae(Bt.isWindowScrollAllowed,kt,vt);Pn&&Se(Bt,Pn)}}};return Me},zo=function(ee){var ae=ee.scrollDroppable,oe=ee.scrollWindow,de=ee.move,Se=kl({scrollWindow:oe,scrollDroppable:ae}),Ee=ko({move:de,scrollWindow:oe,scrollDroppable:ae}),Ae=function(Bt){if(Bt.phase==="DRAGGING"){if(Bt.movementMode==="FLUID"){Se.scroll(Bt);return}Bt.scrollJumpRequest&&Ee(Bt)}},Me={scroll:Ae,start:Se.start,stop:Se.stop};return Me},_o="data-rbd",ri=function(){var ee=_o+"-drag-handle";return{base:ee,draggableId:ee+"-draggable-id",contextId:ee+"-context-id"}}(),gi=function(){var ee=_o+"-draggable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),lo=function(){var ee=_o+"-droppable";return{base:ee,contextId:ee+"-context-id",id:ee+"-id"}}(),Ti={contextId:_o+"-scroll-container-context-id"},ki=function(ae){return function(oe){return"["+oe+'="'+ae+'"]'}},Mi=function(ae,oe){return ae.map(function(de){var Se=de.styles[oe];return Se?de.selector+" { "+Se+" }":""}).join(" ")},El="pointer-events: none;",ml=function(ee){var ae=ki(ee),oe=function(){var Me=` cursor: -webkit-grab; cursor: grab; - `;return{selector:ae(li.contextId),styles:{always:` + `;return{selector:ae(ri.contextId),styles:{always:` -webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(0,0,0,0); touch-action: manipulation; - `,resting:Me,dragging:Sl,dropAnimating:Me}}}(),de=function(){var Me=` + `,resting:Me,dragging:El,dropAnimating:Me}}}(),de=function(){var Me=` transition: `+zl.outOfTheWay+`; - `;return{selector:ae(hi.contextId),styles:{dragging:Me,dropAnimating:Me,userCancel:Me}}}(),Se={selector:ae(ro.contextId),styles:{always:"overflow-anchor: none;"}},Ee={selector:"body",styles:{dragging:` + `;return{selector:ae(gi.contextId),styles:{dragging:Me,dropAnimating:Me,userCancel:Me}}}(),Se={selector:ae(lo.contextId),styles:{always:"overflow-anchor: none;"}},Ee={selector:"body",styles:{dragging:` cursor: grabbing; cursor: -webkit-grabbing; user-select: none; @@ -290,9 +290,9 @@ The error may be correlated with this previous error: -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},Ae=[de,oe,Se,Ee];return{always:Mi(Ae,"always"),resting:Mi(Ae,"resting"),dragging:Mi(Ae,"dragging"),dropAnimating:Mi(Ae,"dropAnimating"),userCancel:Mi(Ae,"userCancel")}},ji=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,fl=function(){var ae=document.querySelector("head");return ae||sn(!1),ae},sl=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function Xi(ee,ae){var oe=vt(function(){return ml(ee)},[ee]),de=(0,y.useRef)(null),Se=(0,y.useRef)(null),Ee=lt(wn(function(gt){var pt=Se.current;pt||sn(!1),pt.textContent=gt}),[]),Ae=lt(function(gt){var pt=de.current;pt||sn(!1),pt.textContent=gt},[]);ji(function(){!de.current&&!Se.current||sn(!1);var gt=sl(ae),pt=sl(ae);return de.current=gt,Se.current=pt,gt.setAttribute(Xo+"-always",ee),pt.setAttribute(Xo+"-dynamic",ee),fl().appendChild(gt),fl().appendChild(pt),Ae(oe.always),Ee(oe.resting),function(){var kt=function(pa){var Aa=pa.current;Aa||sn(!1),fl().removeChild(Aa),pa.current=null};kt(de),kt(Se)}},[ae,Ae,Ee,oe.always,oe.resting,ee]);var Me=lt(function(){return Ee(oe.dragging)},[Ee,oe.dragging]),rt=lt(function(gt){if(gt==="DROP"){Ee(oe.dropAnimating);return}Ee(oe.userCancel)},[Ee,oe.dropAnimating,oe.userCancel]),Ft=lt(function(){Se.current&&Ee(oe.resting)},[Ee,oe.resting]),bt=vt(function(){return{dragging:Me,dropping:rt,resting:Ft}},[Me,rt,Ft]);return bt}var zi=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function di(ee){return ee instanceof zi(ee).HTMLElement}function ri(ee,ae){var oe="["+li.contextId+'="'+ee+'"]',de=jo(document.querySelectorAll(oe));if(!de.length)return null;var Se=Zo(de,function(Ee){return Ee.getAttribute(li.draggableId)===ae});return!Se||!di(Se)?null:Se}function El(ee){var ae=(0,y.useRef)({}),oe=(0,y.useRef)(null),de=(0,y.useRef)(null),Se=(0,y.useRef)(!1),Ee=lt(function(pt,kt){var Pn={id:pt,focus:kt};return ae.current[pt]=Pn,function(){var Aa=ae.current,Ra=Aa[pt];Ra!==Pn&&delete Aa[pt]}},[]),Ae=lt(function(pt){var kt=ri(ee,pt);kt&&kt!==document.activeElement&&kt.focus()},[ee]),Me=lt(function(pt,kt){oe.current===pt&&(oe.current=kt)},[]),rt=lt(function(){de.current||Se.current&&(de.current=requestAnimationFrame(function(){de.current=null;var pt=oe.current;pt&&Ae(pt)}))},[Ae]),Ft=lt(function(pt){oe.current=null;var kt=document.activeElement;kt&&kt.getAttribute(li.draggableId)===pt&&(oe.current=pt)},[]);ji(function(){return Se.current=!0,function(){Se.current=!1;var pt=de.current;pt&&cancelAnimationFrame(pt)}},[]);var bt=vt(function(){return{register:Ee,tryRecordFocus:Ft,tryRestoreFocusRecorded:rt,tryShiftRecord:Me}},[Ee,Ft,rt,Me]);return bt}function Zl(){var ee={draggables:{},droppables:{}},ae=[];function oe(gt){return ae.push(gt),function(){var kt=ae.indexOf(gt);kt!==-1&&ae.splice(kt,1)}}function de(gt){ae.length&&ae.forEach(function(pt){return pt(gt)})}function Se(gt){return ee.draggables[gt]||null}function Ee(gt){var pt=Se(gt);return pt||sn(!1),pt}var Ae={register:function(pt){ee.draggables[pt.descriptor.id]=pt,de({type:"ADDITION",value:pt})},update:function(pt,kt){var Pn=ee.draggables[kt.descriptor.id];Pn&&Pn.uniqueId===pt.uniqueId&&(delete ee.draggables[kt.descriptor.id],ee.draggables[pt.descriptor.id]=pt)},unregister:function(pt){var kt=pt.descriptor.id,Pn=Se(kt);Pn&&pt.uniqueId===Pn.uniqueId&&(delete ee.draggables[kt],de({type:"REMOVAL",value:pt}))},getById:Ee,findById:Se,exists:function(pt){return!!Se(pt)},getAllByType:function(pt){return wo(ee.draggables).filter(function(kt){return kt.descriptor.type===pt})}};function Me(gt){return ee.droppables[gt]||null}function rt(gt){var pt=Me(gt);return pt||sn(!1),pt}var Ft={register:function(pt){ee.droppables[pt.descriptor.id]=pt},unregister:function(pt){var kt=Me(pt.descriptor.id);kt&&pt.uniqueId===kt.uniqueId&&delete ee.droppables[pt.descriptor.id]},getById:rt,findById:Me,exists:function(pt){return!!Me(pt)},getAllByType:function(pt){return wo(ee.droppables).filter(function(kt){return kt.descriptor.type===pt})}};function bt(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:Ae,droppable:Ft,subscribe:oe,clean:bt}}function Bl(){var ee=vt(Zl,[]);return(0,y.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var cl=y.createContext(null),Fl=function(){var ee=document.body;return ee||sn(!1),ee},fs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},bo=function(ae){return"rbd-announcement-"+ae};function ei(ee){var ae=vt(function(){return bo(ee)},[ee]),oe=(0,y.useRef)(null);(0,y.useEffect)(function(){var Ee=document.createElement("div");return oe.current=Ee,Ee.id=ae,Ee.setAttribute("aria-live","assertive"),Ee.setAttribute("aria-atomic","true"),(0,Oe.Z)(Ee.style,fs),Fl().appendChild(Ee),function(){setTimeout(function(){var rt=Fl();rt.contains(Ee)&&rt.removeChild(Ee),Ee===oe.current&&(oe.current=null)})}},[ae]);var de=lt(function(Se){var Ee=oe.current;if(Ee){Ee.textContent=Se;return}},[]);return de}var Ni=0,si={separator:"::"};function Hi(){Ni=0}function Gi(ee,ae){return ae===void 0&&(ae=si),vt(function(){return""+ee+ae.separator+Ni++},[ae.separator,ee])}function qi(ee){var ae=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function bl(ee){var ae=ee.contextId,oe=ee.text,de=Gi("hidden-text",{separator:"-"}),Se=vt(function(){return qi({contextId:ae,uniqueId:de})},[de,ae]);return(0,y.useEffect)(function(){var Ae=document.createElement("div");return Ae.id=Se,Ae.textContent=oe,Ae.style.display="none",Fl().appendChild(Ae),function(){var rt=Fl();rt.contains(Ae)&&rt.removeChild(Ae)}},[Se,oe]),Se}var _l=y.createContext(null),Qs={react:"^16.8.5","react-dom":"^16.8.5"},ws=/(\d+)\.(\d+)\.(\d+)/,Ds=function(ae){var oe=ws.exec(ae);oe==null&&sn(!1);var de=Number(oe[1]),Se=Number(oe[2]),Ee=Number(oe[3]);return{major:de,minor:Se,patch:Ee,raw:ae}},Is=function(ae,oe){return oe.major>ae.major?!0:oe.majorae.minor?!0:oe.minor=ae.patch},as=function(ee,ae){var oe=Ds(ee),de=Ds(ae);Is(oe,de)},Yl=` + `}},Ae=[de,oe,Se,Ee];return{always:Mi(Ae,"always"),resting:Mi(Ae,"resting"),dragging:Mi(Ae,"dragging"),dropAnimating:Mi(Ae,"dropAnimating"),userCancel:Mi(Ae,"userCancel")}},Zi=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?y.useLayoutEffect:y.useEffect,fl=function(){var ae=document.querySelector("head");return ae||cn(!1),ae},sl=function(ae){var oe=document.createElement("style");return ae&&oe.setAttribute("nonce",ae),oe.type="text/css",oe};function Ji(ee,ae){var oe=ft(function(){return ml(ee)},[ee]),de=(0,y.useRef)(null),Se=(0,y.useRef)(null),Ee=lt(zn(function(gt){var vt=Se.current;vt||cn(!1),vt.textContent=gt}),[]),Ae=lt(function(gt){var vt=de.current;vt||cn(!1),vt.textContent=gt},[]);Zi(function(){!de.current&&!Se.current||cn(!1);var gt=sl(ae),vt=sl(ae);return de.current=gt,Se.current=vt,gt.setAttribute(_o+"-always",ee),vt.setAttribute(_o+"-dynamic",ee),fl().appendChild(gt),fl().appendChild(vt),Ae(oe.always),Ee(oe.resting),function(){var kt=function(ha){var Ba=ha.current;Ba||cn(!1),fl().removeChild(Ba),ha.current=null};kt(de),kt(Se)}},[ae,Ae,Ee,oe.always,oe.resting,ee]);var Me=lt(function(){return Ee(oe.dragging)},[Ee,oe.dragging]),it=lt(function(gt){if(gt==="DROP"){Ee(oe.dropAnimating);return}Ee(oe.userCancel)},[Ee,oe.dropAnimating,oe.userCancel]),Bt=lt(function(){Se.current&&Ee(oe.resting)},[Ee,oe.resting]),yt=ft(function(){return{dragging:Me,dropping:it,resting:Bt}},[Me,it,Bt]);return yt}var ji=function(ee){return ee&&ee.ownerDocument?ee.ownerDocument.defaultView:window};function si(ee){return ee instanceof ji(ee).HTMLElement}function ni(ee,ae){var oe="["+ri.contextId+'="'+ee+'"]',de=ii(document.querySelectorAll(oe));if(!de.length)return null;var Se=So(de,function(Ee){return Ee.getAttribute(ri.draggableId)===ae});return!Se||!si(Se)?null:Se}function Pl(ee){var ae=(0,y.useRef)({}),oe=(0,y.useRef)(null),de=(0,y.useRef)(null),Se=(0,y.useRef)(!1),Ee=lt(function(vt,kt){var Pn={id:vt,focus:kt};return ae.current[vt]=Pn,function(){var Ba=ae.current,Oa=Ba[vt];Oa!==Pn&&delete Ba[vt]}},[]),Ae=lt(function(vt){var kt=ni(ee,vt);kt&&kt!==document.activeElement&&kt.focus()},[ee]),Me=lt(function(vt,kt){oe.current===vt&&(oe.current=kt)},[]),it=lt(function(){de.current||Se.current&&(de.current=requestAnimationFrame(function(){de.current=null;var vt=oe.current;vt&&Ae(vt)}))},[Ae]),Bt=lt(function(vt){oe.current=null;var kt=document.activeElement;kt&&kt.getAttribute(ri.draggableId)===vt&&(oe.current=vt)},[]);Zi(function(){return Se.current=!0,function(){Se.current=!1;var vt=de.current;vt&&cancelAnimationFrame(vt)}},[]);var yt=ft(function(){return{register:Ee,tryRecordFocus:Bt,tryRestoreFocusRecorded:it,tryShiftRecord:Me}},[Ee,Bt,it,Me]);return yt}function Zl(){var ee={draggables:{},droppables:{}},ae=[];function oe(gt){return ae.push(gt),function(){var kt=ae.indexOf(gt);kt!==-1&&ae.splice(kt,1)}}function de(gt){ae.length&&ae.forEach(function(vt){return vt(gt)})}function Se(gt){return ee.draggables[gt]||null}function Ee(gt){var vt=Se(gt);return vt||cn(!1),vt}var Ae={register:function(vt){ee.draggables[vt.descriptor.id]=vt,de({type:"ADDITION",value:vt})},update:function(vt,kt){var Pn=ee.draggables[kt.descriptor.id];Pn&&Pn.uniqueId===vt.uniqueId&&(delete ee.draggables[kt.descriptor.id],ee.draggables[vt.descriptor.id]=vt)},unregister:function(vt){var kt=vt.descriptor.id,Pn=Se(kt);Pn&&vt.uniqueId===Pn.uniqueId&&(delete ee.draggables[kt],de({type:"REMOVAL",value:vt}))},getById:Ee,findById:Se,exists:function(vt){return!!Se(vt)},getAllByType:function(vt){return To(ee.draggables).filter(function(kt){return kt.descriptor.type===vt})}};function Me(gt){return ee.droppables[gt]||null}function it(gt){var vt=Me(gt);return vt||cn(!1),vt}var Bt={register:function(vt){ee.droppables[vt.descriptor.id]=vt},unregister:function(vt){var kt=Me(vt.descriptor.id);kt&&vt.uniqueId===kt.uniqueId&&delete ee.droppables[vt.descriptor.id]},getById:it,findById:Me,exists:function(vt){return!!Me(vt)},getAllByType:function(vt){return To(ee.droppables).filter(function(kt){return kt.descriptor.type===vt})}};function yt(){ee.draggables={},ee.droppables={},ae.length=0}return{draggable:Ae,droppable:Bt,subscribe:oe,clean:yt}}function Bl(){var ee=ft(Zl,[]);return(0,y.useEffect)(function(){return function(){requestAnimationFrame(ee.clean)}},[ee]),ee}var cl=y.createContext(null),Fl=function(){var ee=document.body;return ee||cn(!1),ee},fs={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},bo=function(ae){return"rbd-announcement-"+ae};function Xo(ee){var ae=ft(function(){return bo(ee)},[ee]),oe=(0,y.useRef)(null);(0,y.useEffect)(function(){var Ee=document.createElement("div");return oe.current=Ee,Ee.id=ae,Ee.setAttribute("aria-live","assertive"),Ee.setAttribute("aria-atomic","true"),(0,Oe.Z)(Ee.style,fs),Fl().appendChild(Ee),function(){setTimeout(function(){var it=Fl();it.contains(Ee)&&it.removeChild(Ee),Ee===oe.current&&(oe.current=null)})}},[ae]);var de=lt(function(Se){var Ee=oe.current;if(Ee){Ee.textContent=Se;return}},[]);return de}var Ni=0,oi={separator:"::"};function zi(){Ni=0}function Hi(ee,ae){return ae===void 0&&(ae=oi),ft(function(){return""+ee+ae.separator+Ni++},[ae.separator,ee])}function Xi(ee){var ae=ee.contextId,oe=ee.uniqueId;return"rbd-hidden-text-"+ae+"-"+oe}function bl(ee){var ae=ee.contextId,oe=ee.text,de=Hi("hidden-text",{separator:"-"}),Se=ft(function(){return Xi({contextId:ae,uniqueId:de})},[de,ae]);return(0,y.useEffect)(function(){var Ae=document.createElement("div");return Ae.id=Se,Ae.textContent=oe,Ae.style.display="none",Fl().appendChild(Ae),function(){var it=Fl();it.contains(Ae)&&it.removeChild(Ae)}},[Se,oe]),Se}var _l=y.createContext(null),Qs={react:"^16.8.5","react-dom":"^16.8.5"},ws=/(\d+)\.(\d+)\.(\d+)/,Ds=function(ae){var oe=ws.exec(ae);oe==null&&cn(!1);var de=Number(oe[1]),Se=Number(oe[2]),Ee=Number(oe[3]);return{major:de,minor:Se,patch:Ee,raw:ae}},Is=function(ae,oe){return oe.major>ae.major?!0:oe.majorae.minor?!0:oe.minor=ae.patch},as=function(ee,ae){var oe=Ds(ee),de=Ds(ae);Is(oe,de)},Yl=` We expect a html5 doctype: This is to ensure consistent browser layout and measurement More information: https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/guides/doctype.md -`,Ls=function(ee){var ae=ee.doctype;ae&&(ae.name.toLowerCase(),ae.publicId)};function cu(ee){}function Gl(ee,ae){}function _s(){Gl(function(){as(Qs.react,y.version),Ls(document)},[])}function rs(ee){var ae=(0,y.useRef)(ee);return(0,y.useEffect)(function(){ae.current=ee}),ae}function os(){var ee=null;function ae(){return!!ee}function oe(Ae){return Ae===ee}function de(Ae){ee&&sn(!1);var Me={abandon:Ae};return ee=Me,Me}function Se(){ee||sn(!1),ee=null}function Ee(){ee&&(ee.abandon(),Se())}return{isClaimed:ae,isActive:oe,claim:de,release:Se,tryAbandon:Ee}}var Ns=9,Ys=13,is=27,ps=32,Js=33,Xs=34,qs=35,Os=36,ls=37,vs=38,hs=39,Ms=40,Jl,Rs=(Jl={},Jl[Ys]=!0,Jl[Ns]=!0,Jl),Ss=function(ee){Rs[ee.keyCode]&&ee.preventDefault()},ss=function(){var ee="visibilitychange";if(typeof document=="undefined")return ee;var ae=[ee,"ms"+ee,"webkit"+ee,"moz"+ee,"o"+ee],oe=Zo(ae,function(de){return"on"+de in document});return oe||ee}(),Es=0,us=5;function Ts(ee,ae){return Math.abs(ae.x-ee.x)>=us||Math.abs(ae.y-ee.y)>=us}var ds={type:"IDLE"};function ks(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase,Se=ee.setPhase;return[{eventName:"mousemove",fn:function(Ae){var Me=Ae.button,rt=Ae.clientX,Ft=Ae.clientY;if(Me===Es){var bt={x:rt,y:Ft},gt=de();if(gt.type==="DRAGGING"){Ae.preventDefault(),gt.actions.move(bt);return}gt.type!=="PENDING"&&sn(!1);var pt=gt.point;if(Ts(pt,bt)){Ae.preventDefault();var kt=gt.actions.fluidLift(bt);Se({type:"DRAGGING",actions:kt})}}}},{eventName:"mouseup",fn:function(Ae){var Me=de();if(Me.type!=="DRAGGING"){ae();return}Ae.preventDefault(),Me.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Ae){de().type==="DRAGGING"&&Ae.preventDefault(),ae()}},{eventName:"keydown",fn:function(Ae){var Me=de();if(Me.type==="PENDING"){ae();return}if(Ae.keyCode===is){Ae.preventDefault(),ae();return}Ss(Ae)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Ae){var Me=de();if(Me.type==="IDLE"&&sn(!1),Me.actions.shouldRespectForcePress()){ae();return}Ae.preventDefault()}},{eventName:ss,fn:ae}]}function $s(ee){var ae=(0,y.useRef)(ds),oe=(0,y.useRef)(za),de=vt(function(){return{eventName:"mousedown",fn:function(gt){if(!gt.defaultPrevented&>.button===Es&&!(gt.ctrlKey||gt.metaKey||gt.shiftKey||gt.altKey)){var pt=ee.findClosestDraggableId(gt);if(pt){var kt=ee.tryGetLock(pt,Ae,{sourceEvent:gt});if(kt){gt.preventDefault();var Pn={x:gt.clientX,y:gt.clientY};oe.current(),Ft(kt,Pn)}}}}}},[ee]),Se=vt(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(gt){if(!gt.defaultPrevented){var pt=ee.findClosestDraggableId(gt);if(pt){var kt=ee.findOptionsForDraggable(pt);kt&&(kt.shouldRespectForcePress||ee.canGetLock(pt)&>.preventDefault())}}}}},[ee]),Ee=lt(function(){var gt={passive:!1,capture:!0};oe.current=Sa(window,[Se,de],gt)},[Se,de]),Ae=lt(function(){var bt=ae.current;bt.type!=="IDLE"&&(ae.current=ds,oe.current(),Ee())},[Ee]),Me=lt(function(){var bt=ae.current;Ae(),bt.type==="DRAGGING"&&bt.actions.cancel({shouldBlockNextClick:!0}),bt.type==="PENDING"&&bt.actions.abort()},[Ae]),rt=lt(function(){var gt={capture:!0,passive:!1},pt=ks({cancel:Me,completed:Ae,getPhase:function(){return ae.current},setPhase:function(Pn){ae.current=Pn}});oe.current=Sa(window,pt,gt)},[Me,Ae]),Ft=lt(function(gt,pt){ae.current.type!=="IDLE"&&sn(!1),ae.current={type:"PENDING",point:pt,actions:gt},rt()},[rt]);ji(function(){return Ee(),function(){oe.current()}},[Ee])}var Co;function oi(){}var gl=(Co={},Co[Xs]=!0,Co[Js]=!0,Co[Os]=!0,Co[qs]=!0,Co);function wl(ee,ae){function oe(){ae(),ee.cancel()}function de(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(Ee){if(Ee.keyCode===is){Ee.preventDefault(),oe();return}if(Ee.keyCode===ps){Ee.preventDefault(),de();return}if(Ee.keyCode===Ms){Ee.preventDefault(),ee.moveDown();return}if(Ee.keyCode===vs){Ee.preventDefault(),ee.moveUp();return}if(Ee.keyCode===hs){Ee.preventDefault(),ee.moveRight();return}if(Ee.keyCode===ls){Ee.preventDefault(),ee.moveLeft();return}if(gl[Ee.keyCode]){Ee.preventDefault();return}Ss(Ee)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:ss,fn:oe}]}function Dl(ee){var ae=(0,y.useRef)(oi),oe=vt(function(){return{eventName:"keydown",fn:function(Ee){if(Ee.defaultPrevented||Ee.keyCode!==ps)return;var Ae=ee.findClosestDraggableId(Ee);if(!Ae)return;var Me=ee.tryGetLock(Ae,bt,{sourceEvent:Ee});if(!Me)return;Ee.preventDefault();var rt=!0,Ft=Me.snapLift();ae.current();function bt(){rt||sn(!1),rt=!1,ae.current(),de()}ae.current=Sa(window,wl(Ft,bt),{capture:!0,passive:!1})}}},[ee]),de=lt(function(){var Ee={passive:!1,capture:!0};ae.current=Sa(window,[oe],Ee)},[oe]);ji(function(){return de(),function(){ae.current()}},[de])}var cs={type:"IDLE"},Ps=120,ys=.15;function bs(ee){var ae=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(Se){Se.preventDefault()}},{eventName:"keydown",fn:function(Se){if(oe().type!=="DRAGGING"){ae();return}Se.keyCode===is&&Se.preventDefault(),ae()}},{eventName:ss,fn:ae}]}function Cs(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ee){var Ae=de();if(Ae.type!=="DRAGGING"){ae();return}Ae.hasMoved=!0;var Me=Ee.touches[0],rt=Me.clientX,Ft=Me.clientY,bt={x:rt,y:Ft};Ee.preventDefault(),Ae.actions.move(bt)}},{eventName:"touchend",fn:function(Ee){var Ae=de();if(Ae.type!=="DRAGGING"){ae();return}Ee.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Ee){if(de().type!=="DRAGGING"){ae();return}Ee.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ee){var Ae=de();Ae.type==="IDLE"&&sn(!1);var Me=Ee.touches[0];if(Me){var rt=Me.force>=ys;if(rt){var Ft=Ae.actions.shouldRespectForcePress();if(Ae.type==="PENDING"){Ft&&ae();return}if(Ft){if(Ae.hasMoved){Ee.preventDefault();return}ae();return}Ee.preventDefault()}}}},{eventName:ss,fn:ae}]}function Nu(ee){var ae=(0,y.useRef)(cs),oe=(0,y.useRef)(za),de=lt(function(){return ae.current},[]),Se=lt(function(kt){ae.current=kt},[]),Ee=vt(function(){return{eventName:"touchstart",fn:function(kt){if(!kt.defaultPrevented){var Pn=ee.findClosestDraggableId(kt);if(Pn){var pa=ee.tryGetLock(Pn,Me,{sourceEvent:kt});if(pa){var Aa=kt.touches[0],Ra=Aa.clientX,Qa=Aa.clientY,sr={x:Ra,y:Qa};oe.current(),gt(pa,sr)}}}}}},[ee]),Ae=lt(function(){var kt={capture:!0,passive:!1};oe.current=Sa(window,[Ee],kt)},[Ee]),Me=lt(function(){var pt=ae.current;pt.type!=="IDLE"&&(pt.type==="PENDING"&&clearTimeout(pt.longPressTimerId),Se(cs),oe.current(),Ae())},[Ae,Se]),rt=lt(function(){var pt=ae.current;Me(),pt.type==="DRAGGING"&&pt.actions.cancel({shouldBlockNextClick:!0}),pt.type==="PENDING"&&pt.actions.abort()},[Me]),Ft=lt(function(){var kt={capture:!0,passive:!1},Pn={cancel:rt,completed:Me,getPhase:de},pa=Sa(window,Cs(Pn),kt),Aa=Sa(window,bs(Pn),kt);oe.current=function(){pa(),Aa()}},[rt,de,Me]),bt=lt(function(){var kt=de();kt.type!=="PENDING"&&sn(!1);var Pn=kt.actions.fluidLift(kt.point);Se({type:"DRAGGING",actions:Pn,hasMoved:!1})},[de,Se]),gt=lt(function(kt,Pn){de().type!=="IDLE"&&sn(!1);var pa=setTimeout(bt,Ps);Se({type:"PENDING",point:Pn,actions:kt,longPressTimerId:pa}),Ft()},[Ft,de,Se,bt]);ji(function(){return Ae(),function(){oe.current();var Pn=de();Pn.type==="PENDING"&&(clearTimeout(Pn.longPressTimerId),Se(cs))}},[de,Ae,Se]),ji(function(){var kt=Sa(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return kt},[])}function Ou(ee){}var Mu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function gu(ee,ae){if(ae==null)return!1;var oe=!!Mu[ae.tagName.toLowerCase()];if(oe)return!0;var de=ae.getAttribute("contenteditable");return de==="true"||de===""?!0:ae===ee?!1:gu(ee,ae.parentElement)}function Ru(ee,ae){var oe=ae.target;return di(oe)?gu(ee,oe):!1}var Tu=function(ee){return In(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof zi(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=Zo(ae,function(de){return de in Element.prototype});return oe||ee}();function mu(ee,ae){return ee==null?null:ee[Zu](ae)?ee:mu(ee.parentElement,ae)}function ju(ee,ae){return ee.closest?ee.closest(ae):mu(ee,ae)}function zu(ee){return"["+li.contextId+'="'+ee+'"]'}function Hu(ee,ae){var oe=ae.target;if(!ku(oe))return null;var de=zu(ee),Se=ju(oe,de);return!Se||!di(Se)?null:Se}function Gu(ee,ae){var oe=Hu(ee,ae);return oe?oe.getAttribute(li.draggableId):null}function Wu(ee,ae){var oe="["+hi.contextId+'="'+ee+'"]',de=jo(document.querySelectorAll(oe)),Se=Zo(de,function(Ee){return Ee.getAttribute(hi.id)===ae});return!Se||!di(Se)?null:Se}function Ku(ee){ee.preventDefault()}function Zs(ee){var ae=ee.expected,oe=ee.phase,de=ee.isLockActive,Se=ee.shouldWarn;return!(!de()||ae!==oe)}function fu(ee){var ae=ee.lockAPI,oe=ee.store,de=ee.registry,Se=ee.draggableId;if(ae.isClaimed())return!1;var Ee=de.draggable.findById(Se);return!(!Ee||!Ee.options.isEnabled||!Xr(oe.getState(),Se))}function Vu(ee){var ae=ee.lockAPI,oe=ee.contextId,de=ee.store,Se=ee.registry,Ee=ee.draggableId,Ae=ee.forceSensorStop,Me=ee.sourceEvent,rt=fu({lockAPI:ae,store:de,registry:Se,draggableId:Ee});if(!rt)return null;var Ft=Se.draggable.getById(Ee),bt=Wu(oe,Ft.descriptor.id);if(!bt||Me&&!Ft.options.canDragInteractiveElements&&Ru(bt,Me))return null;var gt=ae.claim(Ae||za),pt="PRE_DRAG";function kt(){return Ft.options.shouldRespectForcePress}function Pn(){return ae.isActive(gt)}function pa($r,No){Zs({expected:$r,phase:pt,isLockActive:Pn,shouldWarn:!0})&&de.dispatch(No())}var Aa=pa.bind(null,"DRAGGING");function Ra($r){function No(){ae.release(),pt="COMPLETED"}pt!=="PRE_DRAG"&&(No(),pt!=="PRE_DRAG"&&sn(!1)),de.dispatch(dr($r.liftActionArgs)),pt="DRAGGING";function Ai(Ho,Bi){if(Bi===void 0&&(Bi={shouldBlockNextClick:!1}),$r.cleanup(),Bi.shouldBlockNextClick){var Ui=Sa(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(Ui)}No(),de.dispatch(Fi({reason:Ho}))}return(0,Oe.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:pt,isLockActive:Pn,shouldWarn:!1})},shouldRespectForcePress:kt,drop:function(Bi){return Ai("DROP",Bi)},cancel:function(Bi){return Ai("CANCEL",Bi)}},$r.actions)}function Qa($r){var No=Kn(function(Ho){Aa(function(){return Bo({client:Ho})})}),Ai=Ra({liftActionArgs:{id:Ee,clientSelection:$r,movementMode:"FLUID"},cleanup:function(){return No.cancel()},actions:{move:No}});return(0,Oe.Z)({},Ai,{move:No})}function sr(){var $r={moveUp:function(){return Aa(kr)},moveRight:function(){return Aa(Wi)},moveDown:function(){return Aa(Ti)},moveLeft:function(){return Aa(Yr)}};return Ra({liftActionArgs:{id:Ee,clientSelection:Tu(bt),movementMode:"SNAP"},cleanup:za,actions:$r})}function Pr(){var $r=Zs({expected:"PRE_DRAG",phase:pt,isLockActive:Pn,shouldWarn:!0});$r&&ae.release()}var oo={isActive:function(){return Zs({expected:"PRE_DRAG",phase:pt,isLockActive:Pn,shouldWarn:!1})},shouldRespectForcePress:kt,fluidLift:Qa,snapLift:sr,abort:Pr};return oo}var Uu=[$s,Dl,Nu];function Qu(ee){var ae=ee.contextId,oe=ee.store,de=ee.registry,Se=ee.customSensors,Ee=ee.enableDefaultSensors,Ae=[].concat(Ee?Uu:[],Se||[]),Me=(0,y.useState)(function(){return os()})[0],rt=lt(function(Qa,sr){Qa.isDragging&&!sr.isDragging&&Me.tryAbandon()},[Me]);ji(function(){var Qa=oe.getState(),sr=oe.subscribe(function(){var Pr=oe.getState();rt(Qa,Pr),Qa=Pr});return sr},[Me,oe,rt]),ji(function(){return Me.tryAbandon},[Me.tryAbandon]);var Ft=lt(function(Ra){return fu({lockAPI:Me,registry:de,store:oe,draggableId:Ra})},[Me,de,oe]),bt=lt(function(Ra,Qa,sr){return Vu({lockAPI:Me,registry:de,contextId:ae,store:oe,draggableId:Ra,forceSensorStop:Qa,sourceEvent:sr&&sr.sourceEvent?sr.sourceEvent:null})},[ae,Me,de,oe]),gt=lt(function(Ra){return Gu(ae,Ra)},[ae]),pt=lt(function(Ra){var Qa=de.draggable.findById(Ra);return Qa?Qa.options:null},[de.draggable]),kt=lt(function(){Me.isClaimed()&&(Me.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Vo()))},[Me,oe]),Pn=lt(Me.isClaimed,[Me]),pa=vt(function(){return{canGetLock:Ft,tryGetLock:bt,findClosestDraggableId:gt,findOptionsForDraggable:pt,tryReleaseLock:kt,isLockClaimed:Pn}},[Ft,bt,gt,pt,kt,Pn]);Ou(Ae);for(var Aa=0;Aa=us||Math.abs(ae.y-ee.y)>=us}var ds={type:"IDLE"};function ks(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase,Se=ee.setPhase;return[{eventName:"mousemove",fn:function(Ae){var Me=Ae.button,it=Ae.clientX,Bt=Ae.clientY;if(Me===Es){var yt={x:it,y:Bt},gt=de();if(gt.type==="DRAGGING"){Ae.preventDefault(),gt.actions.move(yt);return}gt.type!=="PENDING"&&cn(!1);var vt=gt.point;if(Ts(vt,yt)){Ae.preventDefault();var kt=gt.actions.fluidLift(yt);Se({type:"DRAGGING",actions:kt})}}}},{eventName:"mouseup",fn:function(Ae){var Me=de();if(Me.type!=="DRAGGING"){ae();return}Ae.preventDefault(),Me.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"mousedown",fn:function(Ae){de().type==="DRAGGING"&&Ae.preventDefault(),ae()}},{eventName:"keydown",fn:function(Ae){var Me=de();if(Me.type==="PENDING"){ae();return}if(Ae.keyCode===is){Ae.preventDefault(),ae();return}Ss(Ae)}},{eventName:"resize",fn:ae},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){de().type==="PENDING"&&ae()}},{eventName:"webkitmouseforcedown",fn:function(Ae){var Me=de();if(Me.type==="IDLE"&&cn(!1),Me.actions.shouldRespectForcePress()){ae();return}Ae.preventDefault()}},{eventName:ss,fn:ae}]}function $s(ee){var ae=(0,y.useRef)(ds),oe=(0,y.useRef)(Ha),de=ft(function(){return{eventName:"mousedown",fn:function(gt){if(!gt.defaultPrevented&>.button===Es&&!(gt.ctrlKey||gt.metaKey||gt.shiftKey||gt.altKey)){var vt=ee.findClosestDraggableId(gt);if(vt){var kt=ee.tryGetLock(vt,Ae,{sourceEvent:gt});if(kt){gt.preventDefault();var Pn={x:gt.clientX,y:gt.clientY};oe.current(),Bt(kt,Pn)}}}}}},[ee]),Se=ft(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(gt){if(!gt.defaultPrevented){var vt=ee.findClosestDraggableId(gt);if(vt){var kt=ee.findOptionsForDraggable(vt);kt&&(kt.shouldRespectForcePress||ee.canGetLock(vt)&>.preventDefault())}}}}},[ee]),Ee=lt(function(){var gt={passive:!1,capture:!0};oe.current=ya(window,[Se,de],gt)},[Se,de]),Ae=lt(function(){var yt=ae.current;yt.type!=="IDLE"&&(ae.current=ds,oe.current(),Ee())},[Ee]),Me=lt(function(){var yt=ae.current;Ae(),yt.type==="DRAGGING"&&yt.actions.cancel({shouldBlockNextClick:!0}),yt.type==="PENDING"&&yt.actions.abort()},[Ae]),it=lt(function(){var gt={capture:!0,passive:!1},vt=ks({cancel:Me,completed:Ae,getPhase:function(){return ae.current},setPhase:function(Pn){ae.current=Pn}});oe.current=ya(window,vt,gt)},[Me,Ae]),Bt=lt(function(gt,vt){ae.current.type!=="IDLE"&&cn(!1),ae.current={type:"PENDING",point:vt,actions:gt},it()},[it]);Zi(function(){return Ee(),function(){oe.current()}},[Ee])}var Co;function ai(){}var gl=(Co={},Co[Xs]=!0,Co[Js]=!0,Co[Os]=!0,Co[qs]=!0,Co);function wl(ee,ae){function oe(){ae(),ee.cancel()}function de(){ae(),ee.drop()}return[{eventName:"keydown",fn:function(Ee){if(Ee.keyCode===is){Ee.preventDefault(),oe();return}if(Ee.keyCode===ps){Ee.preventDefault(),de();return}if(Ee.keyCode===Ms){Ee.preventDefault(),ee.moveDown();return}if(Ee.keyCode===vs){Ee.preventDefault(),ee.moveUp();return}if(Ee.keyCode===hs){Ee.preventDefault(),ee.moveRight();return}if(Ee.keyCode===ls){Ee.preventDefault(),ee.moveLeft();return}if(gl[Ee.keyCode]){Ee.preventDefault();return}Ss(Ee)}},{eventName:"mousedown",fn:oe},{eventName:"mouseup",fn:oe},{eventName:"click",fn:oe},{eventName:"touchstart",fn:oe},{eventName:"resize",fn:oe},{eventName:"wheel",fn:oe,options:{passive:!0}},{eventName:ss,fn:oe}]}function Dl(ee){var ae=(0,y.useRef)(ai),oe=ft(function(){return{eventName:"keydown",fn:function(Ee){if(Ee.defaultPrevented||Ee.keyCode!==ps)return;var Ae=ee.findClosestDraggableId(Ee);if(!Ae)return;var Me=ee.tryGetLock(Ae,yt,{sourceEvent:Ee});if(!Me)return;Ee.preventDefault();var it=!0,Bt=Me.snapLift();ae.current();function yt(){it||cn(!1),it=!1,ae.current(),de()}ae.current=ya(window,wl(Bt,yt),{capture:!0,passive:!1})}}},[ee]),de=lt(function(){var Ee={passive:!1,capture:!0};ae.current=ya(window,[oe],Ee)},[oe]);Zi(function(){return de(),function(){ae.current()}},[de])}var cs={type:"IDLE"},Ps=120,ys=.15;function bs(ee){var ae=ee.cancel,oe=ee.getPhase;return[{eventName:"orientationchange",fn:ae},{eventName:"resize",fn:ae},{eventName:"contextmenu",fn:function(Se){Se.preventDefault()}},{eventName:"keydown",fn:function(Se){if(oe().type!=="DRAGGING"){ae();return}Se.keyCode===is&&Se.preventDefault(),ae()}},{eventName:ss,fn:ae}]}function Cs(ee){var ae=ee.cancel,oe=ee.completed,de=ee.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(Ee){var Ae=de();if(Ae.type!=="DRAGGING"){ae();return}Ae.hasMoved=!0;var Me=Ee.touches[0],it=Me.clientX,Bt=Me.clientY,yt={x:it,y:Bt};Ee.preventDefault(),Ae.actions.move(yt)}},{eventName:"touchend",fn:function(Ee){var Ae=de();if(Ae.type!=="DRAGGING"){ae();return}Ee.preventDefault(),Ae.actions.drop({shouldBlockNextClick:!0}),oe()}},{eventName:"touchcancel",fn:function(Ee){if(de().type!=="DRAGGING"){ae();return}Ee.preventDefault(),ae()}},{eventName:"touchforcechange",fn:function(Ee){var Ae=de();Ae.type==="IDLE"&&cn(!1);var Me=Ee.touches[0];if(Me){var it=Me.force>=ys;if(it){var Bt=Ae.actions.shouldRespectForcePress();if(Ae.type==="PENDING"){Bt&&ae();return}if(Bt){if(Ae.hasMoved){Ee.preventDefault();return}ae();return}Ee.preventDefault()}}}},{eventName:ss,fn:ae}]}function Nu(ee){var ae=(0,y.useRef)(cs),oe=(0,y.useRef)(Ha),de=lt(function(){return ae.current},[]),Se=lt(function(kt){ae.current=kt},[]),Ee=ft(function(){return{eventName:"touchstart",fn:function(kt){if(!kt.defaultPrevented){var Pn=ee.findClosestDraggableId(kt);if(Pn){var ha=ee.tryGetLock(Pn,Me,{sourceEvent:kt});if(ha){var Ba=kt.touches[0],Oa=Ba.clientX,Ua=Ba.clientY,lr={x:Oa,y:Ua};oe.current(),gt(ha,lr)}}}}}},[ee]),Ae=lt(function(){var kt={capture:!0,passive:!1};oe.current=ya(window,[Ee],kt)},[Ee]),Me=lt(function(){var vt=ae.current;vt.type!=="IDLE"&&(vt.type==="PENDING"&&clearTimeout(vt.longPressTimerId),Se(cs),oe.current(),Ae())},[Ae,Se]),it=lt(function(){var vt=ae.current;Me(),vt.type==="DRAGGING"&&vt.actions.cancel({shouldBlockNextClick:!0}),vt.type==="PENDING"&&vt.actions.abort()},[Me]),Bt=lt(function(){var kt={capture:!0,passive:!1},Pn={cancel:it,completed:Me,getPhase:de},ha=ya(window,Cs(Pn),kt),Ba=ya(window,bs(Pn),kt);oe.current=function(){ha(),Ba()}},[it,de,Me]),yt=lt(function(){var kt=de();kt.type!=="PENDING"&&cn(!1);var Pn=kt.actions.fluidLift(kt.point);Se({type:"DRAGGING",actions:Pn,hasMoved:!1})},[de,Se]),gt=lt(function(kt,Pn){de().type!=="IDLE"&&cn(!1);var ha=setTimeout(yt,Ps);Se({type:"PENDING",point:Pn,actions:kt,longPressTimerId:ha}),Bt()},[Bt,de,Se,yt]);Zi(function(){return Ae(),function(){oe.current();var Pn=de();Pn.type==="PENDING"&&(clearTimeout(Pn.longPressTimerId),Se(cs))}},[de,Ae,Se]),Zi(function(){var kt=ya(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return kt},[])}function Ou(ee){}var Mu={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function gu(ee,ae){if(ae==null)return!1;var oe=!!Mu[ae.tagName.toLowerCase()];if(oe)return!0;var de=ae.getAttribute("contenteditable");return de==="true"||de===""?!0:ae===ee?!1:gu(ee,ae.parentElement)}function Ru(ee,ae){var oe=ae.target;return si(oe)?gu(ee,oe):!1}var Tu=function(ee){return Ln(ee.getBoundingClientRect()).center};function ku(ee){return ee instanceof ji(ee).Element}var Zu=function(){var ee="matches";if(typeof document=="undefined")return ee;var ae=[ee,"msMatchesSelector","webkitMatchesSelector"],oe=So(ae,function(de){return de in Element.prototype});return oe||ee}();function mu(ee,ae){return ee==null?null:ee[Zu](ae)?ee:mu(ee.parentElement,ae)}function ju(ee,ae){return ee.closest?ee.closest(ae):mu(ee,ae)}function zu(ee){return"["+ri.contextId+'="'+ee+'"]'}function Hu(ee,ae){var oe=ae.target;if(!ku(oe))return null;var de=zu(ee),Se=ju(oe,de);return!Se||!si(Se)?null:Se}function Gu(ee,ae){var oe=Hu(ee,ae);return oe?oe.getAttribute(ri.draggableId):null}function Wu(ee,ae){var oe="["+gi.contextId+'="'+ee+'"]',de=ii(document.querySelectorAll(oe)),Se=So(de,function(Ee){return Ee.getAttribute(gi.id)===ae});return!Se||!si(Se)?null:Se}function Ku(ee){ee.preventDefault()}function Zs(ee){var ae=ee.expected,oe=ee.phase,de=ee.isLockActive,Se=ee.shouldWarn;return!(!de()||ae!==oe)}function fu(ee){var ae=ee.lockAPI,oe=ee.store,de=ee.registry,Se=ee.draggableId;if(ae.isClaimed())return!1;var Ee=de.draggable.findById(Se);return!(!Ee||!Ee.options.isEnabled||!Yr(oe.getState(),Se))}function Vu(ee){var ae=ee.lockAPI,oe=ee.contextId,de=ee.store,Se=ee.registry,Ee=ee.draggableId,Ae=ee.forceSensorStop,Me=ee.sourceEvent,it=fu({lockAPI:ae,store:de,registry:Se,draggableId:Ee});if(!it)return null;var Bt=Se.draggable.getById(Ee),yt=Wu(oe,Bt.descriptor.id);if(!yt||Me&&!Bt.options.canDragInteractiveElements&&Ru(yt,Me))return null;var gt=ae.claim(Ae||Ha),vt="PRE_DRAG";function kt(){return Bt.options.shouldRespectForcePress}function Pn(){return ae.isActive(gt)}function ha(eo,Mo){Zs({expected:eo,phase:vt,isLockActive:Pn,shouldWarn:!0})&&de.dispatch(Mo())}var Ba=ha.bind(null,"DRAGGING");function Oa(eo){function Mo(){ae.release(),vt="COMPLETED"}vt!=="PRE_DRAG"&&(Mo(),vt!=="PRE_DRAG"&&cn(!1)),de.dispatch(Ta(eo.liftActionArgs)),vt="DRAGGING";function Ci(Ho,xi){if(xi===void 0&&(xi={shouldBlockNextClick:!1}),eo.cleanup(),xi.shouldBlockNextClick){var _i=ya(window,[{eventName:"click",fn:Ku,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(_i)}Mo(),de.dispatch(Fi({reason:Ho}))}return(0,Oe.Z)({isActive:function(){return Zs({expected:"DRAGGING",phase:vt,isLockActive:Pn,shouldWarn:!1})},shouldRespectForcePress:kt,drop:function(xi){return Ci("DROP",xi)},cancel:function(xi){return Ci("CANCEL",xi)}},eo.actions)}function Ua(eo){var Mo=Vn(function(Ho){Ba(function(){return Po({client:Ho})})}),Ci=Oa({liftActionArgs:{id:Ee,clientSelection:eo,movementMode:"FLUID"},cleanup:function(){return Mo.cancel()},actions:{move:Mo}});return(0,Oe.Z)({},Ci,{move:Mo})}function lr(){var eo={moveUp:function(){return Ba(Tr)},moveRight:function(){return Ba(Vi)},moveDown:function(){return Ba(Ri)},moveLeft:function(){return Ba(Qr)}};return Oa({liftActionArgs:{id:Ee,clientSelection:Tu(yt),movementMode:"SNAP"},cleanup:Ha,actions:eo})}function vr(){var eo=Zs({expected:"PRE_DRAG",phase:vt,isLockActive:Pn,shouldWarn:!0});eo&&ae.release()}var so={isActive:function(){return Zs({expected:"PRE_DRAG",phase:vt,isLockActive:Pn,shouldWarn:!1})},shouldRespectForcePress:kt,fluidLift:Ua,snapLift:lr,abort:vr};return so}var Uu=[$s,Dl,Nu];function Qu(ee){var ae=ee.contextId,oe=ee.store,de=ee.registry,Se=ee.customSensors,Ee=ee.enableDefaultSensors,Ae=[].concat(Ee?Uu:[],Se||[]),Me=(0,y.useState)(function(){return os()})[0],it=lt(function(Ua,lr){Ua.isDragging&&!lr.isDragging&&Me.tryAbandon()},[Me]);Zi(function(){var Ua=oe.getState(),lr=oe.subscribe(function(){var vr=oe.getState();it(Ua,vr),Ua=vr});return lr},[Me,oe,it]),Zi(function(){return Me.tryAbandon},[Me.tryAbandon]);var Bt=lt(function(Oa){return fu({lockAPI:Me,registry:de,store:oe,draggableId:Oa})},[Me,de,oe]),yt=lt(function(Oa,Ua,lr){return Vu({lockAPI:Me,registry:de,contextId:ae,store:oe,draggableId:Oa,forceSensorStop:Ua,sourceEvent:lr&&lr.sourceEvent?lr.sourceEvent:null})},[ae,Me,de,oe]),gt=lt(function(Oa){return Gu(ae,Oa)},[ae]),vt=lt(function(Oa){var Ua=de.draggable.findById(Oa);return Ua?Ua.options:null},[de.draggable]),kt=lt(function(){Me.isClaimed()&&(Me.tryAbandon(),oe.getState().phase!=="IDLE"&&oe.dispatch(Wo()))},[Me,oe]),Pn=lt(Me.isClaimed,[Me]),ha=ft(function(){return{canGetLock:Bt,tryGetLock:yt,findClosestDraggableId:gt,findOptionsForDraggable:vt,tryReleaseLock:kt,isLockClaimed:Pn}},[Bt,yt,gt,vt,kt,Pn]);Ou(Ae);for(var Ba=0;Ba{T.current.setValue(T.current.getValue()+" "+J.value+" ")},se=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:F.createElement(Ae.Z,{className:S.Z.lists,gutter:[10,10]},L.map((J,G)=>F.createElement(P.Z,{flex:"110px",className:S.Z.item},F.createElement("div",null,F.createElement(W.Z,{value:`$$${J.value}$$`}),J.name),F.createElement("div",{className:S.Z.children},J.children.map((K,le)=>F.createElement("div",{key:le},F.createElement("h1",null,K.name),F.createElement(Ae.Z,{gutter:[10,10]},K.data.map((me,Oe)=>F.createElement(P.Z,{key:Oe,onClick:()=>R(me),className:S.Z.diamond},F.createElement(W.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:F.createElement(Ae.Z,{className:S.Z.lists,gutter:[10,10]},q.map((J,G)=>F.createElement(P.Z,{flex:"110px",className:S.Z.item},F.createElement("div",null,F.createElement(W.Z,{value:"`$$"+J.value+"$$`"}),J.name),F.createElement("div",{className:S.Z.children},J.children.map((K,le)=>F.createElement("div",{key:le},K.name&&F.createElement("h1",null,K.name),F.createElement(Ae.Z,{gutter:[10,10]},K.data.map((me,Oe)=>F.createElement(P.Z,{key:Oe,onClick:()=>R(me),className:S.Z.diamond},F.createElement(W.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ne=()=>{var J=document.createElement("div");J.innerHTML=T.current.getValue();var G=J.innerText;return $&&$(G),G};return(0,pe.useImperativeHandle)(O,()=>({getData:ne})),F.createElement("div",{className:S.Z.mathWrap},F.createElement(Ne.default,{defaultActiveKey:"1",items:se}),F.createElement("math-field",{locale:"zh_cn",className:S.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:T,style:{width:800,marginTop:30,fontSize:18}},M||""),_&&F.createElement("div",{className:S.Z.button},F.createElement(te.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=v},83028:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return g}});var pe=C(59301),Ae={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},P=C(43418),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",W=(F,v,$)=>new Promise((_,M)=>{var O=q=>{try{L($.next(q))}catch(R){M(R)}},T=q=>{try{L($.throw(q))}catch(R){M(R)}},L=q=>q.done?_(q.value):Promise.resolve(q.value).then(O,T);L(($=$.apply(F,v)).next())}),g=({type:F,resdata:v,onok:$,oktext:_,okloading:M})=>{const[O,T]=(0,pe.useState)(!1),{can_copy_list:L,can_copy_num:q,challenge_type:R,course_data_list:se,no_copy_list:ne,no_copy_num:J,no_use_list:G,no_use_num:K,repeat_shixun_num:le,student_count:me,total_num:Oe,use_num:Ce}=v;let Ue=q>0||F==="exercise";(0,pe.useEffect)(()=>{(v==null?void 0:v.student_count)>0&&T(!0)},[v]),console.log("---11",M),(0,pe.useEffect)(()=>{M||T(!1)},[M]);const ee=()=>{if(F==="exercise"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(F==="exercise"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="shixun"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="shixun"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="subject"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="subject"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",pe.createElement("span",{className:Ae.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",pe.createElement("span",{className:Ae.orangeColor},Ce)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="exercisepush")return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(F==="shixunpush"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="shixunpush"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},de=()=>{if(F==="exercise"||F==="subject"||F==="exercisepush"||F==="shixunpush")return pe.createElement("div",{style:{marginTop:20}},J>0&&pe.createElement("div",null,pe.createElement("span",{className:Ae.flex},pe.createElement("img",{src:te,style:{width:14}}),pe.createElement("span",{className:Ae.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),pe.createElement("div",{className:Ae.statusbody},F==="exercise"&&pe.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(F==="subject"||F==="exercisepush")&&pe.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ue&&pe.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),F==="shixunpush"&&pe.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ue&&pe.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),pe.createElement("div",null,ne==null?void 0:ne.map((D,Ye)=>pe.createElement("a",{href:`/shixuns/${D.identifier}/challenges`,target:"_blank"},"\u300A",D==null?void 0:D.name,"\u300B",Ye+1!==J&&"\u3001"))))),q>0&&pe.createElement("div",{style:{marginTop:20}},pe.createElement("span",{className:Ae.flex},pe.createElement("img",{src:Ne,style:{width:14}}),pe.createElement("span",{className:Ae.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),pe.createElement("div",{className:Ae.statusbody},F==="exercise"&&pe.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(F==="subject"||F==="exercisepush")&&pe.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),F==="shixunpush"&&pe.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),pe.createElement("div",null,L==null?void 0:L.map((D,Ye)=>pe.createElement("a",{href:`/shixuns/${D.identifier}/challenges`,target:"_blank"},"\u300A",D==null?void 0:D.name,"\u300B",Ye+1!==q&&"\u3001"))))));if(F==="shixun")return pe.createElement("div",{style:{marginTop:20}},q>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return pe.createElement(P.default,{open:O,onCancel:()=>{T(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ue&&"none"}},zIndex:1003,confirmLoading:M,okText:Ue?_:"\u6211\u77E5\u9053\u4E86",onOk:()=>W(void 0,null,function*(){Ue?yield $([...L,...G]):T(!1)})},pe.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ee(),de()))}},33276:function(dn,Ut,C){"use strict";var pe=C(59301),Ae=C(43418),P=C(1710);const Ne=({dataSource:te,visible:W,onClose:S=()=>{},onSuccess:g=()=>{},text:F,okText:v})=>{var $;return pe.createElement(Ae.default,{centered:!0,destroyOnClose:!0,open:!!W,title:"\u63D0\u793A",width:"600px",okText:v,cancelText:"\u53D6\u6D88",onCancel:S,onOk:g},W==="single"&&pe.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",pe.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},($=te==null?void 0:te[0])==null?void 0:$.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",F),W==="multiple"&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",F),pe.createElement(P.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:te,scroll:(te==null?void 0:te.length)>7?{y:300}:{},pagination:!1})))};Ut.Z=Ne},48595:function(dn,Ut,C){"use strict";C.d(Ut,{B:function(){return F},F:function(){return g}});var pe=C(44164),Ae=C.n(pe),P=C(86129),Ne=C.n(P),te=(v,$,_)=>new Promise((M,O)=>{var T=R=>{try{q(_.next(R))}catch(se){O(se)}},L=R=>{try{q(_.throw(R))}catch(se){O(se)}},q=R=>R.done?M(R.value):Promise.resolve(R.value).then(T,L);q((_=_.apply(v,$)).next())});const W=()=>{document.body.scrollIntoView()},S=()=>{document.querySelectorAll("canvas").forEach(v=>{(!v.clientWidth||!v.clientHeight)&&v.remove()})},g=(v,$)=>te(void 0,null,function*(){W(),S();const _={margin:[0,1,0,0],image:{type:"png",quality:.95},html2canvas:{letterRendering:!0,useCORS:!0,allowTaint:!1,width:810},jsPDF:{unit:"in",format:"letter",orientation:"portrait"}};let M=Ae()();for(let T=0;Tte(void 0,null,function*(){Tte(void 0,null,function*(){W(),S();const _={margin:[0,0],html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};let M=Ae()();for(let O=0;Ote(void 0,null,function*(){OEt in qe?D(qe,Et,{enumerable:!0,configurable:!0,writable:!0,value:kt}):qe[Et]=kt,ve=(qe,Et)=>{for(var kt in Et||(Et={}))ke.call(Et,kt)&&Te(qe,kt,Et[kt]);if(Ye)for(var kt of Ye(Et))xe.call(Et,kt)&&Te(qe,kt,Et[kt]);return qe},De=(qe,Et,kt)=>new Promise((Ot,sr)=>{var rr=V=>{try{lr(kt.next(V))}catch(dt){sr(dt)}},br=V=>{try{lr(kt.throw(V))}catch(dt){sr(dt)}},lr=V=>V.done?Ot(V.value):Promise.resolve(V.value).then(rr,br);lr((kt=kt.apply(qe,Et)).next())});const{TextArea:he}=P.default,Se={0:"\u5355\u9009\u9898",1:"\u591A\u9009\u9898",2:intl.formatMessage({id:"paperlibrary.trueFalseQuestion",defaultMessage:"\u5224\u65AD\u9898"}),3:"\u586B\u7A7A\u9898",4:intl.formatMessage({id:"paperlibrary.shortAnswerQuestion",defaultMessage:"\u7B80\u7B54\u9898"})},Xe=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],et=({newExercisePaper:qe,isExportBlank:Et=!1,paperlibrary:kt,user:Ot,globalSetting:sr,loading:rr,dispatch:br})=>{var lr,V,dt,I,p,f,x,Y,Be,H,ie,Qe,ye;const be=(0,Ae.useIntl)(),ze=(0,Ae.useLocation)(),gt=(0,Ae.useParams)(),[fe]=(0,Ae.useSearchParams)(),[at,rt]=(0,pe.useState)(),Le=(0,pe.useRef)(),[Fe,ct]=(0,pe.useState)(),[Tt,Pt]=(0,pe.useState)(),[Yt,Fr]=(0,pe.useState)([]),[Lr,Or]=(0,pe.useState)(!1),[kr,yr]=(0,pe.useState)(""),[ur,Kr]=(0,pe.useState)(!1),[fn,Un]=(0,pe.useState)(!1),hn=fe.get("isIntelligentAssistant");(0,pe.useEffect)(()=>(br({type:"globalSetting/footerToggle",payload:!1}),()=>{br({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,pe.useEffect)(()=>{Le.current=gt==null?void 0:gt.id,rt(fe.get("defaultActiveKey")||"0"),xn(),Qi(),Dn()},[gt==null?void 0:gt.id]),(0,pe.useEffect)(()=>{var _e;if((_e=qe.exerciseExportHeadData)!=null&&_e.title){const Me=qe.exerciseExportHeadData;ct(ve({},Me||{}));const{table:Ie}=Me||{};let Nt,Mt;(Ie!=null&&Ie.total_singles_scores||Ie!=null&&Ie.total_doubles_scores||Ie!=null&&Ie.total_nulls_scores||Ie!=null&&Ie.total_judges_scores||Ie!=null&&Ie.total_pros_scores||Ie!=null&&Ie.total_shixuns_scores||Ie!=null&&Ie.total_mains_scores||Ie!=null&&Ie.total_combination_scores||Ie!=null&&Ie.total_bpros_scores)&&(Nt=Number(Ie==null?void 0:Ie.total_singles_scores)+Number(Ie==null?void 0:Ie.total_doubles_scores)+Number(Ie==null?void 0:Ie.total_nulls_scores)+Number(Ie==null?void 0:Ie.total_judges_scores)+Number(Ie==null?void 0:Ie.total_pros_scores)+Number(Ie==null?void 0:Ie.total_shixuns_scores)+Number(Ie==null?void 0:Ie.total_mains_scores)+Number(Ie==null?void 0:Ie.total_combination_scores)+Number(Ie==null?void 0:Ie.total_bpros_scores)),(Ie!=null&&Ie.singles_scores||Ie!=null&&Ie.doubles_scores||Ie!=null&&Ie.nulls_scores||Ie!=null&&Ie.judges_scores||Ie!=null&&Ie.pros_scores||Ie!=null&&Ie.bpros_scores||Ie!=null&&Ie.shixuns_scores||Ie!=null&&Ie.mains_scores||Ie!=null&&Ie.combination_scores)&&(Mt=Number(Ie==null?void 0:Ie.singles_scores)+Number(Ie==null?void 0:Ie.doubles_scores)+Number(Ie==null?void 0:Ie.nulls_scores)+Number(Ie==null?void 0:Ie.judges_scores)+Number(Ie==null?void 0:Ie.pros_scores)+Number(Ie==null?void 0:Ie.bpros_scores)+Number(Ie==null?void 0:Ie.shixuns_scores)+Number(Ie==null?void 0:Ie.mains_scores)+Number(Ie==null?void 0:Ie.combination_scores));const Sr=[{key:"1",name:"\u5E94\u5F97\u5206",singles_score:Ie==null?void 0:Ie.total_singles_scores,doubles_score:Ie==null?void 0:Ie.total_doubles_scores,nulls_score:Ie==null?void 0:Ie.total_nulls_scores,judges_score:Ie==null?void 0:Ie.total_judges_scores,pros_score:Ie==null?void 0:Ie.total_pros_scores,bpros_score:Ie==null?void 0:Ie.total_bpros_scores,shixuns_score:Ie==null?void 0:Ie.total_shixuns_scores,mains_score:Ie==null?void 0:Ie.total_mains_scores,combinations_score:Ie==null?void 0:Ie.total_combination_scores,total_score:Nt},{key:"2",name:"\u5B9E\u5F97\u5206",singles_score:Ie==null?void 0:Ie.singles_scores,doubles_score:Ie==null?void 0:Ie.doubles_scores,nulls_score:Ie==null?void 0:Ie.nulls_scores,judges_score:Ie==null?void 0:Ie.judges_scores,pros_score:Ie==null?void 0:Ie.pros_scores,bpros_score:Ie==null?void 0:Ie.bpros_scores,shixuns_score:Ie==null?void 0:Ie.shixuns_scores,mains_score:Ie==null?void 0:Ie.mains_scores,combinations_score:Ie==null?void 0:Ie.combination_scores,total_score:Mt},{key:"3",name:"\u8BC4\u5377\u4EBA"}],nr=[{key:"1",name:"\u5E94\u5F97\u5206",singles_score:Ie==null?void 0:Ie.total_singles_scores,doubles_score:Ie==null?void 0:Ie.total_doubles_scores,nulls_score:Ie==null?void 0:Ie.total_nulls_scores,judges_score:Ie==null?void 0:Ie.total_judges_scores,pros_score:Ie==null?void 0:Ie.total_pros_scores,bpros_score:Ie==null?void 0:Ie.total_bpros_scores,shixuns_score:Ie==null?void 0:Ie.total_shixuns_scores,mains_score:Ie==null?void 0:Ie.total_mains_scores,combinations_score:Ie==null?void 0:Ie.combination_scores,total_score:Nt},{key:"2",name:"\u5B9E\u5F97\u5206"},{key:"3",name:"\u8BC4\u5377\u4EBA"}];Pt([...Et?nr:Sr])}},[qe.exerciseExportHeadData]);const Dn=()=>De(void 0,null,function*(){var _e;const Me=yield(0,se.cV)({id:gt.id});Me.status==0&&Fr(Me.data),yield Qi(),fe.get("exportPDF")&&((_e=kt.paperData)!=null&&_e.questionList)&&(Ne.ZP.info("\u6B63\u5728\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377pdf"),(0,R.F)(Zi.current.children,be.formatMessage({id:"paperlibrary.exportPaper",defaultMessage:"\u5BFC\u51FA\u8BD5\u5377"})))}),Qi=()=>De(void 0,null,function*(){const _e=yield(0,se.Dq)(gt.id);ct(_e||{});const{table:Me}=_e||{};let Ie,Nt;(Me!=null&&Me.total_singles_scores||Me!=null&&Me.total_doubles_scores||Me!=null&&Me.total_nulls_scores||Me!=null&&Me.total_judges_scores||Me!=null&&Me.total_pros_scores||Me!=null&&Me.total_shixuns_scores||Me!=null&&Me.total_mains_scores||Me!=null&&Me.total_combination_scores||Me!=null&&Me.total_bpros_scores)&&(Ie=Number(Me==null?void 0:Me.total_singles_scores)+Number(Me==null?void 0:Me.total_doubles_scores)+Number(Me==null?void 0:Me.total_nulls_scores)+Number(Me==null?void 0:Me.total_judges_scores)+Number(Me==null?void 0:Me.total_pros_scores)+Number(Me==null?void 0:Me.total_shixuns_scores)+Number(Me==null?void 0:Me.total_mains_scores)+Number(Me==null?void 0:Me.total_combination_scores)+Number(Me==null?void 0:Me.total_bpros_scores)),(Me!=null&&Me.singles_scores||Me!=null&&Me.doubles_scores||Me!=null&&Me.nulls_scores||Me!=null&&Me.judges_scores||Me!=null&&Me.pros_scores||Me!=null&&Me.bpros_scores||Me!=null&&Me.shixuns_scores||Me!=null&&Me.mains_scores||Me!=null&&Me.combinations_score)&&(Nt=Number(Me==null?void 0:Me.singles_scores)+Number(Me==null?void 0:Me.doubles_scores)+Number(Me==null?void 0:Me.nulls_scores)+Number(Me==null?void 0:Me.judges_scores)+Number(Me==null?void 0:Me.pros_scores)+Number(Me==null?void 0:Me.bpros_scores)+Number(Me==null?void 0:Me.shixuns_scores)+Number(Me==null?void 0:Me.mains_scores)+Number(Me==null?void 0:Me.combinations_score));const Mt=[{key:"1",name:"\u5E94\u5F97\u5206",singles_score:Me==null?void 0:Me.total_singles_scores,doubles_score:Me==null?void 0:Me.total_doubles_scores,nulls_score:Me==null?void 0:Me.total_nulls_scores,judges_score:Me==null?void 0:Me.total_judges_scores,pros_score:Me==null?void 0:Me.total_pros_scores,bpros_score:Me==null?void 0:Me.total_bpros_scores,shixuns_score:Me==null?void 0:Me.total_shixuns_scores,combinations_score:Me==null?void 0:Me.total_combination_scores,mains_score:Me==null?void 0:Me.total_mains_scores,total_score:Ie},{key:"2",name:"\u5B9E\u5F97\u5206",singles_score:Me==null?void 0:Me.singles_scores,doubles_score:Me==null?void 0:Me.doubles_scores,nulls_score:Me==null?void 0:Me.nulls_scores,judges_score:Me==null?void 0:Me.judges_scores,pros_score:Me==null?void 0:Me.pros_scores,bpros_score:Me==null?void 0:Me.bpros_scores,shixuns_score:Me==null?void 0:Me.shixuns_scores,mains_score:Me==null?void 0:Me.mains_scores,combinations_score:Me==null?void 0:Me.combination_scores,total_score:Nt},{key:"3",name:"\u8BC4\u5377\u4EBA"}];return Pt(Et?[{key:"1",name:"\u5E94\u5F97\u5206"},{key:"2",name:"\u5B9E\u5F97\u5206"},{key:"3",name:"\u8BC4\u5377\u4EBA"}]:Mt),_e}),Pr=[{width:"9%",title:be.formatMessage({id:"paperlibrary.questionType",defaultMessage:"\u9898\u578B"}),align:"center",dataIndex:"name",render:_e=>de.createElement("a",null,_e)},{width:"9%",title:((lr=Yt.find(_e=>_e.value==ne.fw[0].nameType))==null?void 0:lr.name)||ne.fw[0].name,align:"center",dataIndex:"singles_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((V=Yt.find(_e=>_e.value==ne.fw[1].nameType))==null?void 0:V.name)||ne.fw[1].name,align:"center",dataIndex:"doubles_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((dt=Yt.find(_e=>_e.value==ne.fw[3].nameType))==null?void 0:dt.name)||ne.fw[3].name,align:"center",dataIndex:"nulls_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((I=Yt.find(_e=>_e.value==ne.fw[2].nameType))==null?void 0:I.name)||ne.fw[2].name,align:"center",dataIndex:"judges_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((p=Yt.find(_e=>_e.value==ne.fw[6].nameType))==null?void 0:p.name)||ne.fw[6].name,align:"center",dataIndex:"pros_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((f=Yt.find(_e=>_e.value==ne.fw[5].nameType))==null?void 0:f.name)||ne.fw[5].name,align:"center",dataIndex:"shixuns_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((x=Yt.find(_e=>_e.value==ne.fw[4].nameType))==null?void 0:x.name)||ne.fw[4].name,align:"center",dataIndex:"mains_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((Y=Yt.find(_e=>_e.value==ne.fw[7].nameType))==null?void 0:Y.name)||ne.fw[7].name,align:"center",dataIndex:"combinations_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"10%",title:((Be=Yt.find(_e=>_e.value==ne.fw[8].nameType))==null?void 0:Be.name)||ne.fw[8].name,align:"center",dataIndex:"bpros_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:be.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"}),align:"center",dataIndex:"total_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e?parseFloat(_e).toFixed(1):"")}],xn=_e=>{br({type:"paperlibrary/getPaperData",payload:ve({id:Le.current},_e)})},Ei=(_e,Me)=>De(void 0,null,function*(){if(!_e.destination||!_e.source)return;const Ie=Me.questions[_e.source.index].id,Nt=_e.destination.index+1;(yield br({type:"paperlibrary/adjustPosition",payload:{id:Le.current,itemId:Ie,position:Nt}})).status!==-1&&xn()}),di=()=>{var _e,Me,Ie,Nt;br({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:Le.current,data:{is_random:!1},dataSource:[{name:(Me=(_e=kt.paperData)==null?void 0:_e.exam)==null?void 0:Me.name,total_score:(Nt=(Ie=kt.paperData)==null?void 0:Ie.exam)==null?void 0:Nt.all_score}],type:"single"}}})},Zi=(0,pe.useRef)(),[_i,ji]=(0,pe.useState)(!0),qa=()=>De(void 0,null,function*(){ji(!1),yr(""),Or(!0)}),Ki=()=>De(void 0,null,function*(){ji(!0),yr(""),Or(!0)}),ti=()=>De(void 0,null,function*(){var _e;Kr(!0);const Me=yield(0,K.Mb)({categoryId:Le.current});Kr(!1),Me!=null&&Me.exercise_id&&(0,G.xg)(`/classrooms/coursesId/exercise/${Me.exercise_id}/${(_e=Ot.userInfo)==null?void 0:_e.login}/initate_answer`)}),gi=(_e,Me,Ie)=>{var Nt,Mt,Sr,nr,Dr,Hr,an,jr,Rr,en,wn,on,Nn,Kn,fi,On,Xn,Vt,Xt,er,fr;return de.createElement(de.Fragment,null,!Ie&&de.createElement("div",{style:{display:"flex"},className:L.programTitle},de.createElement("span",{style:{flexShrink:0},className:"font18"},Me+1,"."),de.createElement(le.Z,{style:{maxWidth:1100},value:_e.name||(_e==null?void 0:_e.shixun_name)}),de.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",(_e==null?void 0:_e.question_type)===7?`\u5171${_e==null?void 0:_e.sub_count}\u5C0F\u9898`:""," ",_e.score,"\u5206\uFF09")),(_e==null?void 0:_e.question_type)===8&&de.createElement(le.Z,{showProgramFill:!0,disabledFill:!0,value:me.Base64.decode(((Nt=_e==null?void 0:_e.program_attr)==null?void 0:Nt.code)||"")}),(_e==null?void 0:_e.question_type)===5&&de.createElement("div",null,(Mt=_e==null?void 0:_e.examination_bank_shixun_challenges)==null?void 0:Mt.map((Rt,Jt)=>de.createElement("div",null,de.createElement("div",{key:Jt,style:{background:"#F0F7FD",color:"#3061D0",fontSize:18,padding:10,marginBottom:10}},de.createElement("i",{className:"iconfont icon-renwuguanka1",style:{marginRight:5}}),"\u7B2C",Jt+1,"\u5173 ",de.createElement("span",{className:"ml10"},Rt.challenge_name))))),(_e==null?void 0:_e.question_type)===6&&de.createElement("div",null,de.createElement("div",{style:{fontWeight:600,marginTop:4}},"\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00\uFF1A",(nr=(Sr=_e==null?void 0:_e.program_attr)==null?void 0:Sr.languages)==null?void 0:nr.join("/")),((Hr=(Dr=kt==null?void 0:kt.paperData)==null?void 0:Dr.exam)==null?void 0:Hr.show_hack_sets)&&de.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},de.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},de.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),de.createElement(te.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Rt,Jt,ar)=>ar+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Rt,Jt,ar)=>de.createElement(W.Z,{title:de.createElement("pre",null,Rt)},de.createElement("div",{className:L.divname},Rt))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Rt,Jt,ar)=>de.createElement(W.Z,{title:de.createElement("pre",null,Rt)}," ",de.createElement("div",{className:L.divname},Rt))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(an=_e==null?void 0:_e.program_attr)==null?void 0:an.hack_sets})),((Rr=(jr=kt==null?void 0:kt.paperData)==null?void 0:jr.exam)==null?void 0:Rr.show_hack_description)&&de.createElement("div",null,de.createElement(le.Z,{className:L.content,value:((en=_e==null?void 0:_e.program_attr)==null?void 0:en.description)||"- -"}))),_e.question_type===Oe.c.Single&&de.createElement(de.Fragment,null,(wn=_e.choices)==null?void 0:wn.map(function(Rt,Jt){return de.createElement(S.Z,{key:Jt},de.createElement(g.Z,{flex:"1"},de.createElement("div",{style:{display:"flex"}},de.createElement("div",{style:{lineHeight:"24px",flexShrink:0}},Xe[Jt]),de.createElement(le.Z,{value:Rt.choice_text||""}))))})),_e.question_type===Oe.c.Multiple&&de.createElement(de.Fragment,null,(on=_e.choices)==null?void 0:on.map(function(Rt,Jt){return de.createElement(S.Z,{key:Jt},de.createElement(g.Z,{flex:"1"},de.createElement("div",{style:{display:"flex"}},de.createElement("div",{style:{lineHeight:"24px",flexShrink:0}},Xe[Jt]),de.createElement(le.Z,{value:Rt.choice_text||""}))))})),_e.question_type===Oe.c.Judge&&de.createElement("div",{className:L.flexRow},(Nn=_e.choices)==null?void 0:Nn.map(function(Rt,Jt){return de.createElement(S.Z,{key:Jt},de.createElement(g.Z,{flex:"25px"},de.createElement("div",{style:{width:25,overflow:"hidden"}},de.createElement(F.ZP,{disabled:!0,style:{width:25,marginLeft:Jt===1&&10}}))),de.createElement(g.Z,{flex:"1",style:{marginLeft:Jt===1&&10}},Rt.choice_text))})),_e.question_type===Oe.c.Combine&&de.createElement(de.Fragment,null,(Kn=_e.sub_questions)==null?void 0:Kn.map(function(Rt,Jt){return de.createElement("div",{style:{marginLeft:10}},de.createElement("div",{style:{display:"flex"},className:L.programTitle},de.createElement("span",{style:{flexShrink:0},className:"font18"},Me+1,".",Jt+1),de.createElement(le.Z,{value:Rt.name||(Rt==null?void 0:Rt.shixun_name)}),de.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Rt.score,"\u5206\uFF09")),gi(Rt,Jt,!0))})),_i&&de.createElement("div",{style:{marginTop:10}},(_e==null?void 0:_e.question_type)<3&&(_e==null?void 0:_e.standard_answer_show)&&de.createElement("span",{className:"font16 "},"\u6B63\u786E\u7B54\u6848\uFF1A",_e==null?void 0:_e.standard_answer_show),!!((fi=_e==null?void 0:_e.standard_answer)!=null&&fi.length)&&_i&&(_e==null?void 0:_e.question_type)===3&&de.createElement("div",null,(On=_e==null?void 0:_e.standard_answer)==null?void 0:On.map((Rt,Jt)=>de.createElement("div",null,de.createElement("span",null,"\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A",Jt+1,"\uFF09:"),de.createElement("div",null,Rt.answer_text.map(function(ar,Nr){return de.createElement(g.Z,{span:24,key:Nr},(Rt==null?void 0:Rt.model)===1?de.createElement(he,{autoSize:!0,disabled:!0,value:ar}):de.createElement(Ce.Z,{value:ar,disabled:!0}))}))))),!!((Xn=_e==null?void 0:_e.standard_answer)!=null&&Xn.length)&&_i&&(_e==null?void 0:_e.question_type)===8&&de.createElement("div",null,(Vt=_e==null?void 0:_e.standard_answer)==null?void 0:Vt.map((Rt,Jt)=>de.createElement("div",null,de.createElement("span",null,"\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A",Jt+1,"\uFF09:"),de.createElement("div",null,de.createElement(he,{autoSize:!0,disabled:!0,value:(Rt==null?void 0:Rt.answer_text)||""}))))),!!((Xt=_e==null?void 0:_e.answer_texts)!=null&&Xt.length)&&(_e==null?void 0:_e.question_type)===4&&de.createElement("div",null,de.createElement("p",{className:"mt10 mb0"},"\u53C2\u8003\u7B54\u6848\uFF1A"),de.createElement("div",{style:{border:"1px solid #eee",background:"#f5f5f5",borderRadius:4,padding:5}},de.createElement(le.Z,{value:(er=_e==null?void 0:_e.answer_texts)==null?void 0:er[0]}))),(_e==null?void 0:_e.question_type)===6&&de.createElement("div",null,de.createElement("p",{className:"mt10 mb0"},"\u53C2\u8003\u7B54\u6848\uFF1A",!(_e!=null&&_e.answer_text)&&"\u6682\u65E0"),(_e==null?void 0:_e.answer_text)&&de.createElement("div",{style:{border:"1px solid #eee",background:"#f5f5f5",borderRadius:4,padding:5}},de.createElement(le.Z,{value:_e==null?void 0:_e.answer_text}))),(_e==null?void 0:_e.question_type)<=4&&((_e==null?void 0:_e.standard_answer_show)||((fr=_e==null?void 0:_e.standard_answer)==null?void 0:fr.length)>0)&&de.createElement(S.Z,{style:{marginTop:14}},de.createElement("span",{className:"font16 "},"\u89E3\u6790\uFF1A"),de.createElement(le.Z,{className:L.renderHtml,value:(_e==null?void 0:_e.analysis)||"\u6682\u65E0\u89E3\u6790"}))),!Ie&&de.createElement(v.Z,null))},yi=(0,pe.useCallback)(()=>{var _e,Me;return de.createElement("div",null,de.createElement("div",{className:L.titleForExport},(Me=(_e=kt.paperData)==null?void 0:_e.exam)==null?void 0:Me.name),de.createElement("div",{style:{textAlign:"center",fontSize:"15px"}},"\u5171:\u3010",Fe==null?void 0:Fe.large_counts,"\u5927\u9898\u3011\u3010",Fe==null?void 0:Fe.total_count,"\u5C0F\u9898\u3011\u3010 \u6EE1\u5206",Fe==null?void 0:Fe.score,"\u5206\u3011 \u8003\u8BD5\u65F6\u95F4\uFF1A\u3010",(Fe==null?void 0:Fe.time)>-1?`${Fe==null?void 0:Fe.time}${be.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"})}`:"\u4E0D\u9650","\u3011"),!!(Fe!=null&&Fe.exercise_description)&&de.createElement("pre",{style:{fontSize:14,marginBottom:30,marginTop:20,textAlign:"left",color:"#3A3A3A"}},de.createElement("b",null,be.formatMessage({id:"paperlibrary.examInstructions",defaultMessage:"\u8BD5\u5377\u987B\u77E5"}),"\uFF1A"),Fe==null?void 0:Fe.exercise_description),de.createElement(te.default,{style:{margin:"20px auto"},className:L.table,columns:Pr,dataSource:[...Tt||[]],bordered:!0,pagination:!1}))},[kt.paperData]),$e=()=>De(void 0,null,function*(){const _e=yield(0,ee.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:gt==null?void 0:gt.id}});(_e==null?void 0:_e.status)===0&&Ae.history.replace("/paperlibrary")});return de.createElement("section",{className:L.bg},de.createElement($.Z,{spinning:rr["paperlibrary/getPaperData"]},de.createElement(S.Z,{className:"pt20",justify:"space-between"},de.createElement(_.Z,{separator:">"},de.createElement(_.Z.Item,{href:"/paperlibrary"},be.formatMessage({id:"paperlibrary.questionBank",defaultMessage:"\u8BD5\u5377\u5E93"})),de.createElement(_.Z.Item,{href:`/paperlibrary?defaultActiveKey=${at}`},at==="1"?be.formatMessage({id:"paperlibrary.publish",defaultMessage:"\u516C\u5F00"}):at==="2"?be.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):be.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"})),de.createElement(_.Z.Item,null,"\u8BD5\u5377\u8BE6\u60C5")),de.createElement("div",{className:L.btnWrapper},!hn&&de.createElement(M.ZP,{onClick:di,className:L.btn,icon:de.createElement("i",{className:"iconfont icon-fasongtongzhi font14"})},be.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"})),de.createElement(M.ZP,{onClick:()=>Ae.history.push(`/paperlibrary/add/${Le.current}?type=2${hn?"&isIntelligentAssistant=true":""}`),className:L.btn,icon:de.createElement("i",{className:"iconfont icon-bianji10 font14"})},"\u7F16\u8F91\u8BD5\u5377"),de.createElement(M.ZP,{loading:ur,onClick:ti,className:L.btn,icon:de.createElement("i",{className:"iconfont icon-monikaoshi2 font14"})},be.formatMessage({id:"paperlibrary.mockExam",defaultMessage:"\u6A21\u62DF\u8003\u8BD5"})),!hn&&de.createElement(O.Z,{menu:{items:[{key:"1",label:de.createElement("div",{onClick:Ki},be.formatMessage({id:"paperlibrary.exportBlankExamWithAnswers",defaultMessage:"\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377+\u7B54\u6848"}))},{key:"2",label:de.createElement("div",{onClick:qa},be.formatMessage({id:"paperlibrary.exportBlankExam",defaultMessage:"\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377"}))}]}},de.createElement(M.ZP,{type:"primary",icon:de.createElement("i",{className:"iconfont icon-daochu1 font14"})},"\u5BFC\u51FA")),hn&&de.createElement(Ue.Z,{onClick:$e,type:"primary",icon:de.createElement("i",{className:"iconfont icon-baocun1 font14"})},"\u4FDD\u5B58\u8BD5\u5377"))),de.createElement("div",{className:`${L.wrap} pt20 pb20`,ref:Zi,id:"paperDomRef"},!((ie=(H=kt.paperData)==null?void 0:H.questionList)!=null&&ie.length)&&yi(),(ye=(Qe=kt.paperData)==null?void 0:Qe.questionList)==null?void 0:ye.map((_e,Me)=>{var Ie;return de.createElement(de.Fragment,null,(Ie=_e.questions)==null?void 0:Ie.map((Nt,Mt)=>{const Sr=Math.floor(Mt/10);return Mt%10===0?de.createElement("div",{className:"abc",key:`group-${Sr}`},Me===0&&Mt===0&&yi(),Mt===0&&de.createElement("div",null,de.createElement("span",{className:"font16 c-light-primary"},_e.number,"\u3001",_e.name),de.createElement("span",{className:"c-grey-999"},"\uFF08\u5171",_e.questions_count,"\u9898\uFF0C",(_e==null?void 0:_e.question_type)===7?`\u5305\u542B${_e==null?void 0:_e.sub_count}\u5C0F\u9898\uFF1B`:"","\u5171",_e.questions_score,"\u5206\uFF09")),_e.questions.slice(Mt,Mt+10).map((nr,Dr)=>de.createElement("div",{key:nr.id},gi(nr,Mt+Dr)))):null}))}))),de.createElement(q.Z,null),de.createElement(T.default,{width:450,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:Lr,onCancel:()=>{if(fn){Ne.ZP.info("\u5BFC\u51FA\u4E2D\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3");return}Or(!1)},okButtonProps:{loading:fn},onOk:()=>De(void 0,null,function*(){var _e,Me;if(Un(!0),kr==""){Un(!1),Ne.ZP.info("\u8BF7\u9009\u62E9\u4E00\u79CD\u5BFC\u51FA\u683C\u5F0F");return}else kr=="pdf"?yield(0,R.F)(Zi.current.children,(Me=(_e=kt.paperData)==null?void 0:_e.exam)==null?void 0:Me.name):kr=="word"&&(0,J.ON)({id:Le.current,middle_export:1,export_type:_i?1:0});Un(!1),Or(!1)})},de.createElement("div",{className:L.export_type_modal},de.createElement("div",{className:L.export_type_modal_con},de.createElement("div",{className:L.type_item},de.createElement("div",{className:`${L.img_warp} ${kr=="pdf"?L.img_warp_active:""}`,onClick:()=>yr("pdf")},de.createElement("img",{src:C(45614),width:70,height:70})),be.formatMessage({id:"paperlibrary.pdfFormat",defaultMessage:"pdf\u683C\u5F0F"})),de.createElement("div",{className:L.type_item},de.createElement("div",{className:`${L.img_warp} ${kr=="word"?L.img_warp_active:""}`,onClick:()=>yr("word")},de.createElement("img",{src:C(38347),width:70,height:70})),be.formatMessage({id:"paperlibrary.wordFormat",defaultMessage:"word\u683C\u5F0F"}))))))};var je=(0,Ae.connect)(({paperlibrary:qe,user:Et,loading:kt,globalSetting:Ot,newExercisePaper:sr})=>({paperlibrary:qe,user:Et,globalSetting:Ot,loading:kt.effects,newExercisePaper:sr}))(et)},74609:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Se}});var pe=C(59301),Ae=C(65582),P=C(92832),Ne=C(8591),te=C(43418),W=C(5871),S=C(61621),g=C(1710),F=C(3113),v=C(70414),$=Object.defineProperty,_=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,T=(Xe,et,je)=>et in Xe?$(Xe,et,{enumerable:!0,configurable:!0,writable:!0,value:je}):Xe[et]=je,L=(Xe,et)=>{for(var je in et||(et={}))M.call(et,je)&&T(Xe,je,et[je]);if(_)for(var je of _(et))O.call(et,je)&&T(Xe,je,et[je]);return Xe};const q=Xe=>React.createElement("svg",L({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",fill:"#68C79F",fillRule:"nonzero"}));var R="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",se={flex_box_center:"flex_box_center___LsrKL",flex_space_between:"flex_space_between___sZBht",flex_box_vertical_center:"flex_box_vertical_center___QNt7D",flex_box_center_end:"flex_box_center_end___S9zs3",flex_box_column:"flex_box_column___Y5tcm",title:"title___t4qlt",tip:"tip___MtKbx",radioWrap:"radioWrap___fp3kY",row:"row___IoDN5",radio:"radio___vuEDI",colorFF0000:"colorFF0000____5DYm",pagination:"pagination___bvqCI",modalColumn:"modalColumn___szBPb",modalRow:"modalRow___mtd9M",sup:"sup___JDuYL",search:"search___wNY_F",bottom:"bottom___HvFhF",yes:"yes___xmznh",no:"no___vEJlu"},ne=C(65862),J={sendToClass:"sendToClass___le_BX"},G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AAACeCAYAAABn7wuoAAAgAElEQVR4Xu19CXQcx3nmV90zwOAGCBAgeN8ST0k8JFkWLVGyfMqJN7EVO4eP2Ov1Rkle7mSz2fVq3yZ2Nptdx95sNo6zvvISW5aP+PmQLVuSL52ULIo6KJHiJZ7gAeLGzHTVv++vrmrU9MwAM8CAuKbf4+Ngpru6u+qrv/7j+/8SqB5zugeIyD/ZjzXLm3FOCDEwp1/mCj28uEL3qd5mGnqAiLyLw9md54a9jZs7/O8LIc5Nw23mXZNV0M/RISWiGgA7+jNYN5qVorPB/6kQ4ugcfZ0r+thV0F/R7q7MzYiokQEvgZX7zwDXdAM+MAjgG0IIVZm7zN9WqqCfY2PLEj4AdgtgDSSwr0diV7fPbyF94EtV0E88oFXQT9xHs+aMV4nqlgPXAFgrAe/ikEQqCTTURKD/ihAiM2seeJY+SBX0s3Rg4o/FRiuA10iW8OZ4+ozEtk4fSY15kA88K4Q4MNlXOnWJVi5bJE5M9vq5cl0V9HNkpIhoSwa41gf0mEkAPf1AZwPgh6AHBTiZTIqHy30lVpmePY01K1qxYVGD+Ga518+186ugnwMjRkRLJXADgAb7uKf6w0/Lms0MABAEOJdKiQfKeSUi4hZ2Hrggu9c0QzbW+I8IIV4tp425dm4V9LN8xIiIgX6TBLrcRz0zFP7VnRr7lgjnksnSQU9ErWwUBxKdvaNStKd8qvHxvBDimVneLVN6vCrop9R903sxEfH4XCuBzTBqjVZtpMTFIaAtFenzkJAg4FKt7z8khBiZ6MkM4K8XwOIz/RBZKbGy2Yfy8VIS2CeEoInamKu/V0E/zsgRUR2ADgDJ+GlPngPWN48EfefqetasEaPTAQAiWi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MQ5dgkHk1iac2LHT8xnJYS4ajXOZwX0Md2fn4FBz9WTWQ3ajTm979Ucg+DVe1z2wHDK3hkAzG+/OF2GaamvMOugz2P8NhrQc9U1NoBZBeI9bSvJ6qWO7uycz2oLS21mO/K/+wB8HwBzYtgoZUN1Vo+yAn0BI3gJAHZ/MvBXmP/ZDVo5yqsHWDfnlDyW5KyX//Bq6OeT6YKyB71jBLOk5wnQaaK+bA9w1YZKVtdkRn56rhkA8Br70I0kPyeEYIpAWR9zBvTxXiQilvbM+GT1h12hTHfmSg48OXgi8P9z9v3KCDWsrnCQiOm7rK6wJGdvC285z6pKUA4qSyn9Ne9AQURcoY3pEJzswt4gnhi8IrChPO/et5TBLvJcGxw6YkDOQH+FA0ZCCPa8zPlj3oPA5PlymiMnwPDBK8EGQ5FgliivFPO+H/IglSU4S2/OMmLXIafXWSP0ihCCE6vn5fH/AynvqKbJosiLAAAAAElFTkSuQmCC",me=({createState:Xe,refreshLoading:et,onRefresh:je=()=>{},onCreate:qe=()=>{}})=>pe.createElement("div",{className:J.sendToClass},Xe?pe.createElement(pe.Fragment,null,pe.createElement("img",{src:G,alt:"\u7A7A"}),pe.createElement("div",null,"\u60A8\u8FD8\u6CA1\u6709\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF0C\u65E0\u6CD5\u5C06\u8BD5\u5377\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u3002"),pe.createElement(F.ZP,{onClick:qe,type:"primary",ghost:!0},"\u7ACB\u5373\u521B\u5EFA")):pe.createElement(pe.Fragment,null,pe.createElement("img",{src:K,alt:"\u7A7A"}),pe.createElement("div",null,"\u5DF2\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF1F\u8BF7\u5237\u65B0\u5217\u8868"),pe.createElement(F.ZP,{loading:et,onClick:je,type:"primary",ghost:!0},"\u7ACB\u5373\u5237\u65B0"))),Oe=C(60979),Ce=C(96935),Ue=C(89392),ee=C(83028),de=C(33276),D=C(59301),Ye=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Te=(Xe,et)=>{var je={};for(var qe in Xe)ke.call(Xe,qe)&&et.indexOf(qe)<0&&(je[qe]=Xe[qe]);if(Xe!=null&&Ye)for(var qe of Ye(Xe))et.indexOf(qe)<0&&xe.call(Xe,qe)&&(je[qe]=Xe[qe]);return je},ve=(Xe,et,je)=>new Promise((qe,Et)=>{var kt=rr=>{try{sr(je.next(rr))}catch(br){Et(br)}},Ot=rr=>{try{sr(je.throw(rr))}catch(br){Et(br)}},sr=rr=>rr.done?qe(rr.value):Promise.resolve(rr.value).then(kt,Ot);sr((je=je.apply(Xe,et)).next())});const De=P.default.Search,he=Xe=>{var et=Xe,{paperlibrary:je,globalSetting:qe,loading:Et,dispatch:kt}=et,Ot=Te(et,["paperlibrary","globalSetting","loading","dispatch"]),sr,rr,br,lr;const V=(0,Ae.useIntl)(),[dt,I]=(0,pe.useState)(""),[p,f]=(0,pe.useState)([]),[x,Y]=(0,pe.useState)([]),[Be,H]=(0,pe.useState)(!1),[ie,Qe]=(0,pe.useState)(!0),[ye,be]=(0,pe.useState)(!0),[ze,gt]=(0,pe.useState)(!0),[fe,at]=(0,pe.useState)(!1),[rt,Le]=(0,pe.useState)(!1),Fe=(br=(rr=(sr=je.actionTabs)==null?void 0:sr.params)==null?void 0:rr.data)==null?void 0:br.is_random,[ct,Tt]=(0,pe.useState)(!1),[Pt,Yt]=(0,pe.useState)({}),[Fr,Lr]=(0,pe.useState)(!1),[Or,kr]=(0,pe.useState)(!1),[yr,ur]=(0,pe.useState)([]);(0,pe.useEffect)(()=>{var xn;if(je.actionTabs.key==="Paperlibrary-SendToClass"){const{dataSource:Ei=[],type:di}=((xn=je.actionTabs)==null?void 0:xn.params)||{},Zi=Ei.filter(_i=>![100,120,150].includes(_i.total_score));Zi.length?(kr(di),ur(Zi)):Lr(!0)}},[(lr=je==null?void 0:je.actionTabs)==null?void 0:lr.key]),(0,pe.useEffect)(()=>{fn()},[]);const Kr=()=>{Y([]),I(""),fn(!0),Lr(!1),kr(!1),kt({type:"paperlibrary/setActionTabs",payload:{}})},fn=xn=>ve(void 0,null,function*(){be(!0);const Ei=yield kt({type:"paperlibrary/getCourseList",payload:{search:xn?"":dt}});Ei&&(f((Ei==null?void 0:Ei.courses)||[]),Qe(!0),at(!1)),be(!1),gt(!1)}),Un=xn=>{const Ei=parseInt(xn);return(0,Ue.isNaN)(Ei)?"":Ei},hn=()=>ve(void 0,null,function*(){var xn,Ei,di,Zi,_i,ji,qa;if(!x.length){Ne.ZP.info("\u60A8\u9700\u8981\u9009\u62E9\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),H(!0);return}const Ki=yield kt({type:"paperlibrary/postExistCourse",payload:{course_id:Fe?x==null?void 0:x[0]:x,examination_bank_ids:((Ei=(xn=je.actionTabs)==null?void 0:xn.params)==null?void 0:Ei.examination_bank_ids)||((Zi=(di=je.actionTabs)==null?void 0:di.params)==null?void 0:Zi.id)}}),ti=()=>ve(void 0,null,function*(){var gi,yi,$e,_e,Me,Ie;Le(!0);let Nt=yield(0,Oe.Tr)({id:(yi=(gi=je.actionTabs)==null?void 0:gi.params)==null?void 0:yi.id,course_id:Fe?x==null?void 0:x[0]:x,type:(_e=($e=je.actionTabs)==null?void 0:$e.params)!=null&&_e.isBatch?"batch_examination_bank":"examination_bank",examination_bank_ids:(Ie=(Me=je.actionTabs)==null?void 0:Me.params)==null?void 0:Ie.examination_bank_ids});Le(!1),(Nt==null?void 0:Nt.student_count)===0?yield Dn([]):Yt(Nt),yield new Promise(Mt=>setTimeout(()=>Mt(),1e3))});if(Ki.status==0&&((_i=Ki.data)==null?void 0:_i.count)>0){te.default.confirm({icon:null,title:V.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),centered:!0,width:596,content:D.createElement("div",{style:{userSelect:"none"}},"\u5F53\u524D\u6559\u5B66\u8BFE\u5802\u4E2D\u5DF2\u5B58\u5728\u8BD5\u5377",(qa=(ji=Ki.data)==null?void 0:ji.list)==null?void 0:qa.map((gi,yi)=>{var $e;return D.createElement(D.Fragment,null,D.createElement("span",{style:{color:"#FA6400"}},"\u300A",gi==null?void 0:gi.name,"\u300B"),yi!==(($e=Ki.data)==null?void 0:$e.count)-1&&D.createElement("span",null,"\u3001"))}),"\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u9700\u8981\u91CD\u590D\u53D1\u9001\uFF1F"),onOk:()=>ve(void 0,null,function*(){yield ti()})}),yield new Promise(gi=>setTimeout(()=>gi(),1e3));return}yield ti()}),Dn=xn=>ve(void 0,null,function*(){var Ei,di,Zi,_i,ji,qa;if(!Fe){Tt(!0);const yi=yield kt({type:(di=(Ei=je.actionTabs)==null?void 0:Ei.params)!=null&&di.isBatch?"paperlibrary/postBatchSendToCourse":"paperlibrary/sendToClass",payload:{course_id:Fe?x==null?void 0:x[0]:x,id:(_i=(Zi=je.actionTabs)==null?void 0:Zi.params)==null?void 0:_i.id,examination_bank_ids:(qa=(ji=je.actionTabs)==null?void 0:ji.params)==null?void 0:qa.examination_bank_ids,shixuns_info:xn.map($e=>({shixun_id:$e.id,is_copy:$e.is_copy,is_use:$e.is_use,course_id:$e.course_id}))}});Tt(!1),yi&&yi.status===0&&(Lr(!1),kt({type:"paperlibrary/setActionTabs",payload:{}}),Y([]),te.default.confirm({title:V.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",width:480,centered:!0,closable:!0,onOk:()=>{window.location.href=`${yi.data[0].first_category_url}`},content:D.createElement("p",null,"\u8BD5\u5377\u53D1\u9001\u6210\u529F\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u524D\u5F80\u6559\u5B66\u8BFE\u5802\u8FDB\u884C\u53D1\u5E03\uFF1F")}),Ne.ZP.success("\u53D1\u9001\u6210\u529F"));return}Tt(!0),setTimeout(()=>{Tt(!1)},500);const Ki=p.find(yi=>yi.course_id===(x==null?void 0:x[0]));let ti=1,gi=te.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:D.createElement("div",{className:se.modalColumn},D.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},D.createElement("img",{style:{marginRight:5},src:v.Z}),"\u968F\u673A\u7EC4\u5377\u7C7B\u578B\u7684\u8BD5\u5377\u6309\u7167\u51FA\u5377\u6570\u91CF\u5BF9\u6307\u5B9A\u8BFE\u5802\u751F\u6210\u4E0D\u91CD\u590D\u7684\u8BD5\u5377\u3002"),D.createElement("div",{style:{paddingLeft:18}},V.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),": ",Ki==null?void 0:Ki.course_name),D.createElement("div",{style:{paddingLeft:9},className:se.modalRow},D.createElement("sup",{className:se.sup},"*"),D.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),D.createElement(W.Z,{parser:Un,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:ti,onChange:yi=>{ti=yi;const $e=document.getElementById("model_error");ti<1||ti>50?$e.style.display="block":$e.style.display="none"}})),D.createElement("div",{style:{display:"none",marginLeft:115},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:V.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:V.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onCancel:Kr,onOk:()=>ve(void 0,null,function*(){var yi,$e;if(ti<1||ti>50){const Me=document.getElementById("model_error");return Me.style.display="block",Promise.reject()}gi.update({cancelButtonProps:{disabled:!0}});const _e=yield kt({type:"paperlibrary/sendToClass",payload:{course_id:x==null?void 0:x[0],id:($e=(yi=je.actionTabs)==null?void 0:yi.params)==null?void 0:$e.id,num:ti,shixuns_info:xn.map(Me=>({shixun_id:Me.id,is_copy:Me.is_copy,is_use:Me.is_use}))}});gi.update({cancelButtonProps:{disabled:!1}}),_e&&_e.status===0&&(te.default.destroyAll(),te.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,title:V.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:D.createElement("div",{className:se.modalColumn},D.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},D.createElement("img",{style:{marginRight:5},src:R}),"\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01")),okText:"\u524D\u5F80\u8BFE\u5802",cancelText:"\u8FD4\u56DE\u8BD5\u5377\u5E93",onCancel:()=>{Kr()},onOk:()=>{Kr(),setTimeout(()=>{var Me,Ie;const Nt=(Ie=(Me=_e==null?void 0:_e.first_category_url)==null?void 0:Me.split("/"))==null?void 0:Ie[2];(0,ne.xg)(`/classrooms/${Nt}/exercise`)},1e3)}}))})})}),Qi=()=>ve(void 0,null,function*(){at(!0),yield fn()}),Pr=[{title:V.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),dataIndex:"course_name",ellipsis:!0},{title:V.formatMessage({id:"paperlibrary.groupCount",defaultMessage:"\u5206\u73ED\u6570\u91CF"}),dataIndex:"course_group_count",width:90,ellipsis:!0},{title:V.formatMessage({id:"paperlibrary.studentCount",defaultMessage:"\u5B66\u5458\u4EBA\u6570"}),dataIndex:"course_member_count",width:90,ellipsis:!0}];return D.createElement("div",null,D.createElement(te.default,{centered:!0,keyboard:!1,closable:!1,open:Fr,title:V.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"}),maskClosable:!1,okText:V.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:V.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),confirmLoading:Et["paperlibrary/sendToClass"]||rt||!!Et["paperlibrary/postExistCourse"],width:752,footer:!1,onOk:hn,destroyOnClose:!0,onCancel:Kr},D.createElement("div",{className:se.wrap},D.createElement("div",{className:"mb10"},D.createElement(De,{placeholder:V.formatMessage({id:"paperlibrary.searchByClassName",defaultMessage:"\u8F93\u51FA\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22"}),value:dt,className:se.search,onChange:xn=>{I(xn.target.value),xn.target.value||fn(!0)},onSearch:xn=>{I(xn),fn(),Y([])}})),D.createElement(S.Z,{loading:ze},p.length?D.createElement("div",{className:se.radioWrap},D.createElement(g.default,{bordered:!1,scroll:(p==null?void 0:p.length)<=7?{}:{y:350},loading:ye,rowKey:"course_id",pagination:!1,dataSource:p,columns:Pr,onRow:xn=>({onClick:Ei=>{if(Fe)Y([xn==null?void 0:xn.course_id]);else{if(!Fe&&!x.includes(xn.course_id)&&x.length>0)return;x!=null&&x.includes(xn==null?void 0:xn.course_id)?Y(x==null?void 0:x.filter(di=>di!==(xn==null?void 0:xn.course_id))):Y([...x,xn==null?void 0:xn.course_id])}}}),rowSelection:{type:"radio",hideSelectAll:!0,selectedRowKeys:x,onChange:xn=>{Y(xn),H(!1)}}})):!dt&&!ye&&D.createElement(me,{createState:ie,refreshLoading:fe,onRefresh:Qi,onCreate:()=>{Qe(!1),(0,ne.xg)("/classrooms/new")}})),Be&&D.createElement("div",{className:se.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"),D.createElement("div",{className:se.bottom,style:{display:"flex",alignItems:"center"}},D.createElement("div",{style:{flex:1}},D.createElement("div",{className:se.title},D.createElement("img",{src:v.Z,style:{objectFit:"contain"}}),V.formatMessage({id:"paperlibrary.selectedPaperSentToClass",defaultMessage:"\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802\u5E76\u4E3A\u73ED\u7EA7\u5B66\u5458\u751F\u6210\u8003\u8BD5\u8BD5\u5377"}))),D.createElement("div",null,D.createElement(F.ZP,{onClick:Kr,className:se.no,style:{marginRight:20}},V.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),D.createElement(Ce.Z,{onClick:hn,className:se.yes},V.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"})))))),D.createElement(ee.Z,{resdata:Pt,type:"exercise",okloading:ct,oktext:(Pt==null?void 0:Pt.can_copy_num)===0?V.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}):"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:xn=>{Dn(xn)}}),D.createElement(de.Z,{text:"\u662F\u5426\u7EE7\u7EED\u53D1\u9001\u5230\u6559\u5B66\u8BFE\u5802\u4E2D\uFF1F",okText:"\u786E\u8BA4\u53D1\u9001",visible:Or,dataSource:yr,onSuccess:()=>{kr(!1),Lr(!0)},onClose:Kr}))};var Se=(0,Ae.connect)(({paperlibrary:Xe,loading:et,globalSetting:je})=>({paperlibrary:Xe,globalSetting:je,loading:et.effects}))(he)},40743:function(dn,Ut,C){"use strict";C.d(Ut,{c:function(){return Ae}});var pe=(P=>(P.FirstPage="firstPage",P.PrevPage="prevPage",P.NextPage="nextPage",P))(pe||{}),Ae=(P=>(P[P.Single=0]="Single",P[P.Multiple=1]="Multiple",P[P.Judge=2]="Judge",P[P.Fill=3]="Fill",P[P.Subjective=4]="Subjective",P[P.Shixun=5]="Shixun",P[P.Program=6]="Program",P[P.Combine=7]="Combine",P))(Ae||{})},84454:function(dn,Ut,C){"use strict";C.d(Ut,{AD:function(){return Ye},BA:function(){return dt},D9:function(){return he},Hp:function(){return K},IM:function(){return Xe},Iy:function(){return le},KM:function(){return V},KU:function(){return Et},MJ:function(){return me},Ne:function(){return Se},ON:function(){return Ot},Uj:function(){return br},VY:function(){return qe},YO:function(){return rr},YX:function(){return sr},Zn:function(){return T},_g:function(){return ne},_k:function(){return ve},c6:function(){return de},cr:function(){return L},eV:function(){return D},fi:function(){return q},gh:function(){return Ue},hS:function(){return et},iA:function(){return R},j6:function(){return J},je:function(){return Te},jj:function(){return G},kS:function(){return kt},o6:function(){return ee},pO:function(){return lr},rQ:function(){return ke},sA:function(){return Ce},xm:function(){return De},xo:function(){return je},y8:function(){return xe},yd:function(){return se}});var pe=C(33270),Ae=C(65582),P=C(65862),Ne=C(8591),te=C(74128),W=Object.defineProperty,S=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,v=(I,p,f)=>p in I?W(I,p,{enumerable:!0,configurable:!0,writable:!0,value:f}):I[p]=f,$=(I,p)=>{for(var f in p||(p={}))g.call(p,f)&&v(I,f,p[f]);if(S)for(var f of S(p))F.call(p,f)&&v(I,f,p[f]);return I},_=(I,p,f)=>new Promise((x,Y)=>{var Be=Qe=>{try{ie(f.next(Qe))}catch(ye){Y(ye)}},H=Qe=>{try{ie(f.throw(Qe))}catch(ye){Y(ye)}},ie=Qe=>Qe.done?x(Qe.value):Promise.resolve(Qe.value).then(Be,H);ie((f=f.apply(I,p)).next())});const M=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},O=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},T=I=>_(void 0,null,function*(){M(),(yield(0,pe.YR)($({},I))).status===0&&(yield(0,P.QH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/export_couser_info.json`,query:I}))),O()}),L=I=>_(void 0,null,function*(){const p=yield(0,pe.yS)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_member_act_score`);else{if(p.status===-2)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_member_act_score`))}}),q=I=>_(void 0,null,function*(){const p=yield(0,pe.W0)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_score`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_score`))}}),R=I=>_(void 0,null,function*(){const p=yield(0,pe.Nl)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`))}}),se=I=>_(void 0,null,function*(){const p=yield(0,pe.IU)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/export_star_user`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/export_star_user`))}}),ne=I=>_(void 0,null,function*(){const p=yield(0,pe.td)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`);else{if(p.status===-2)return p;if(p.status===-3)(0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`);else if(p.status===-4)return p}}),J=I=>_(void 0,null,function*(){const p=yield(0,pe.QX)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_homework`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_homework`))}}),G=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.o_)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),K=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.ZL)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),le=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.aP)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),me=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.vV)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),Oe=I=>_(void 0,null,function*(){M(),(yield exportCourseWorkListAppendix($({},I))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${I.categoryId}/works_list.zip`,query:I}))),O()}),Ce=I=>_(void 0,null,function*(){M(),yield(0,P.QH)("",te.Z.API_SERVER+`/api/polls/${I.categoryId}/commit_result.xlsx`),O()}),Ue=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/attendances/export_xlsx_data.xlsx`,query:I}))}),ee=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/video_study_statics.xlsx`,query:I}))}),de=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/export_video_study.xlsx`,query:I}))}),D=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/export_course_students_info.xlsx`,query:I}))}),Ye=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/school_manages/students.xlsx",query:I}))}),ke=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/item_banks/export.xlsx",query:I}))}),xe=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:I}))}),Te=I=>_(void 0,null,function*(){const p=yield(0,pe.Uy)($({},I));p.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/exercise_score,export_exercise_users`)):p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/exercise_score,export_exercise_users`))}),ve=I=>_(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/export_records/${I.id}.xlsx`,query:I}))}),De=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:I}))}),he=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I==null?void 0:I.coursesId}/${I.menuKey}_statistic.xlsx?${I.checkedList.map(p=>`course_group_id[]=${p}`).join("&")}`,query:I}))}),Se=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/ec_years/${I==null?void 0:I.ec_year_id}/ec_training_objectives.xlsx`,query:I}))}),Xe=I=>_(void 0,null,function*(){yield(0,P.FH)(I==null?void 0:I.name,(0,P.NY)({url:te.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:I}))}),et=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/ec_years/${I==null?void 0:I.ec_year_id}/ec_courses.xlsx`,query:I}))}),je=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/ec_years/${I==null?void 0:I.ec_year_id}/ec_graduation_requirements.xlsx`,query:I}))}),qe=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:I}))}),Et=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/exercises/${I.categoryId}/rank_list.xlsx`,query:I}))}),kt=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:I}))}),Ot=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/examination_banks/${I.id}.json`,query:I}))}),sr=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/exercises/${I.categoryId}.json`,query:I}))}),rr=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/polls/${I==null?void 0:I.id}/commit_result.json`,query:I}))}),br=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/paths/get_task_pass.json",query:I}))}),lr=(I,p)=>_(void 0,null,function*(){yield(0,P.FH)(p||"",(0,P.NY)({url:te.Z.API_SERVER+`/api/exercises/${I==null?void 0:I.exercise_id}/consult_exercise.json`,query:I}))}),V=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/competitions/${I==null?void 0:I.identifier}/competition_commit_records/member_works.xlsx`,query:I}))}),dt=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I==null?void 0:I.coursesId}/group_homeworks/import_group_template.xlsx`,query:I}))})},50371:function(dn,Ut){"use strict";function C(){const pe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ae=1;Ae{const te=P[Ne];te!==void 0&&(pe[Ne]=te)})}return pe}Ut.Z=C},13845:function(dn,Ut,C){"use strict";C.d(Ut,{F:function(){return pe},Z:function(){return Ae}});function pe(P){return P!=null&&P===P.window}function Ae(P,Ne){var te,W;if(typeof window=="undefined")return 0;const S=Ne?"scrollTop":"scrollLeft";let g=0;return pe(P)?g=P[Ne?"pageYOffset":"pageXOffset"]:P instanceof Document?g=P.documentElement[S]:(P instanceof HTMLElement||P)&&(g=P[S]),P&&!pe(P)&&typeof g!="number"&&(g=(W=((te=P.ownerDocument)!==null&&te!==void 0?te:P).documentElement)===null||W===void 0?void 0:W[S]),g}},56762:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Ae}});var pe=C(59301);function Ae(){const[,P]=pe.useReducer(Ne=>Ne+1,0);return P}},68031:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Ne}});var pe=C(16089);function Ae(te,W,S,g){const F=S-W;return te/=g/2,te<1?F/2*te*te*te+W:F/2*((te-=2)*te*te+2)+W}var P=C(13845);function Ne(te){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:S=()=>window,callback:g,duration:F=450}=W,v=S(),$=(0,P.Z)(v,!0),_=Date.now(),M=()=>{const T=Date.now()-_,L=Ae(T>F?F:T,$,te,F);(0,P.F)(v)?v.scrollTo(window.pageXOffset,L):v instanceof Document||v.constructor.name==="HTMLDocument"?v.documentElement.scrollTop=L:v.scrollTop=L,TS||W},66104:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Ye}});var pe=C(92310),Ae=C.n(pe),P=C(11592),Ne=C(26112),te=C(59301),W=C(92343),S=C(36355),g=C(84105),F=C(91857);const v=ke=>{let{children:xe}=ke;const{getPrefixCls:Te}=te.useContext(S.E_),ve=Te("breadcrumb");return te.createElement("li",{className:`${ve}-separator`,"aria-hidden":"true"},xe===""?xe:xe||"/")};v.__ANT_BREADCRUMB_SEPARATOR=!0;var $=v,_=function(ke,xe){var Te={};for(var ve in ke)Object.prototype.hasOwnProperty.call(ke,ve)&&xe.indexOf(ve)<0&&(Te[ve]=ke[ve]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ve=Object.getOwnPropertySymbols(ke);Dexe[De]||ve)}function O(ke,xe,Te,ve){if(Te==null)return null;const{className:De,onClick:he}=xe,Se=_(xe,["className","onClick"]),Xe=Object.assign(Object.assign({},(0,Ne.Z)(Se,{data:!0,aria:!0})),{onClick:he});return ve!==void 0?te.createElement("a",Object.assign({},Xe,{className:Ae()(`${ke}-link`,De),href:ve}),Te):te.createElement("span",Object.assign({},Xe,{className:Ae()(`${ke}-link`,De)}),Te)}function T(ke,xe){return(ve,De,he,Se,Xe)=>{if(xe)return xe(ve,De,he,Se);const et=M(ve,De);return O(ke,ve,et,Xe)}}var L=function(ke,xe){var Te={};for(var ve in ke)Object.prototype.hasOwnProperty.call(ke,ve)&&xe.indexOf(ve)<0&&(Te[ve]=ke[ve]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ve=Object.getOwnPropertySymbols(ke);De{const{prefixCls:xe,separator:Te="/",children:ve,menu:De,overlay:he,dropdownProps:Se,href:Xe}=ke,je=(qe=>{if(De||he){const Et=Object.assign({},Se);if(De){const kt=De||{},{items:Ot}=kt,sr=L(kt,["items"]);Et.menu=Object.assign(Object.assign({},sr),{items:Ot==null?void 0:Ot.map((rr,br)=>{var{key:lr,title:V,label:dt,path:I}=rr,p=L(rr,["key","title","label","path"]);let f=dt!=null?dt:V;return I&&(f=te.createElement("a",{href:`${Xe}${I}`},f)),Object.assign(Object.assign({},p),{key:lr!=null?lr:br,label:f})})})}else he&&(Et.overlay=he);return te.createElement(F.Z,Object.assign({placement:"bottom"},Et),te.createElement("span",{className:`${xe}-overlay-link`},qe,te.createElement(g.Z,null)))}return qe})(ve);return je!=null?te.createElement(te.Fragment,null,te.createElement("li",null,je),Te&&te.createElement($,null,Te)):null},R=ke=>{const{prefixCls:xe,children:Te,href:ve}=ke,De=L(ke,["prefixCls","children","href"]),{getPrefixCls:he}=te.useContext(S.E_),Se=he("breadcrumb",xe);return te.createElement(q,Object.assign({},De,{prefixCls:Se}),O(Se,De,Te,ve))};R.__ANT_BREADCRUMB_ITEM=!0;var se=R,ne=C(17313),J=C(83116),G=C(37613);const K=ke=>{const{componentCls:xe,iconCls:Te}=ke;return{[xe]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{color:ke.itemColor,fontSize:ke.fontSize,[Te]:{fontSize:ke.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ke.linkColor,transition:`color ${ke.motionDurationMid}`,padding:`0 ${ke.paddingXXS}px`,borderRadius:ke.borderRadiusSM,height:ke.lineHeight*ke.fontSize,display:"inline-block",marginInline:-ke.marginXXS,"&:hover":{color:ke.linkHoverColor,backgroundColor:ke.colorBgTextHover}},(0,ne.Qy)(ke)),"li:last-child":{color:ke.lastItemColor},[`${xe}-separator`]:{marginInline:ke.separatorMargin,color:ke.separatorColor},[`${xe}-link`]:{[` +\\end{array}`}]}]}],R=J=>{T.current.setValue(T.current.getValue()+" "+J.value+" ")},se=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:F.createElement(Ae.Z,{className:S.Z.lists,gutter:[10,10]},L.map((J,G)=>F.createElement(P.Z,{flex:"110px",className:S.Z.item},F.createElement("div",null,F.createElement(W.Z,{value:`$$${J.value}$$`}),J.name),F.createElement("div",{className:S.Z.children},J.children.map((K,le)=>F.createElement("div",{key:le},F.createElement("h1",null,K.name),F.createElement(Ae.Z,{gutter:[10,10]},K.data.map((me,Oe)=>F.createElement(P.Z,{key:Oe,onClick:()=>R(me),className:S.Z.diamond},F.createElement(W.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:F.createElement(Ae.Z,{className:S.Z.lists,gutter:[10,10]},q.map((J,G)=>F.createElement(P.Z,{flex:"110px",className:S.Z.item},F.createElement("div",null,F.createElement(W.Z,{value:"`$$"+J.value+"$$`"}),J.name),F.createElement("div",{className:S.Z.children},J.children.map((K,le)=>F.createElement("div",{key:le},K.name&&F.createElement("h1",null,K.name),F.createElement(Ae.Z,{gutter:[10,10]},K.data.map((me,Oe)=>F.createElement(P.Z,{key:Oe,onClick:()=>R(me),className:S.Z.diamond},F.createElement(W.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],ne=()=>{var J=document.createElement("div");J.innerHTML=T.current.getValue();var G=J.innerText;return $&&$(G),G};return(0,pe.useImperativeHandle)(O,()=>({getData:ne})),F.createElement("div",{className:S.Z.mathWrap},F.createElement(Ne.default,{defaultActiveKey:"1",items:se}),F.createElement("math-field",{locale:"zh_cn",className:S.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:T,style:{width:800,marginTop:30,fontSize:18}},M||""),_&&F.createElement("div",{className:S.Z.button},F.createElement(te.ZP,{size:"large",onClick:ne,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ut.Z=v},83028:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return g}});var pe=C(59301),Ae={flex_box_center:"flex_box_center___rQJfc",flex_space_between:"flex_space_between___MDW24",flex_box_vertical_center:"flex_box_vertical_center___RZbAv",flex_box_center_end:"flex_box_center_end___ILhJA",flex_box_column:"flex_box_column___Fmij7",orangeColor:"orangeColor___U5vU6",redColor:"redColor___qYa6X",statustitle:"statustitle___pTBLm",statusbody:"statusbody___qUPQx",flex:"flex___VtL45"},P=C(43418),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAPCAYAAADUFP50AAAAAXNSR0IArs4c6QAAAUFJREFUOE+V0ktKw1AUxvH/rVqIxT4wkgwEUSmK4APRBfiYCKU7cOZEBOkadAMZiwhuwJETBQciFRTtwJkPBLW2BRGrRanU9kpN2sSYiGaWc/PjuznnCN2Qh8AkPo+AzXxKLLiPhW7ICtDqB4GzQkqM/huGFZgZcDCBBDaaicsTMKbZH2xfwdY5/ICAEGSasC0AwRYblj+gKkENwfy4WS9V4LHsgsk49EZteJKHdBa6w7AybdZzr3D64ILxGKjtNrx9gfsSRBSYtf6xZh1/u+qQClrIhtdFuHmGvhisJcz65RPsZl2Jc/3QE7FhpgDHuT80x2+O9cR1K/GiCDt3rkQ/+Ns43gDFD0YVmHIuQGOOmiGTARhxwkGd1cZ7Vwd0OppWr3911StpcV++Iwn67q/kyBMuHchErcqwFxT1XZXsfQJqo2zI6kdI4QAAAABJRU5ErkJggg==",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAW1JREFUOE+dkj1IQmEUht9z/blp4VQEjS39eW+oSCFCpFCI4BiKFGWWQUSrCjVVg+lQNJZQDZGNTm1B4NTibS3n2lo0wuqEN8i/a0HfeN7v+d73nO+QJEcKAJzQPAwCnSpKNtoqkyRHqgDrtUFAb6Rnedx43KgT6O5P0GQijFiNLe/Sy3/B8g+YTIRRrb5jP32JYNADr8eOldU0RJEqVlm8r1kyuA/AIEB10OWy4vBgA4ryCIdjCJlMDmfn1zAY6EmyGY/UrAwrgGATWKsn4mGEQl4Uiw+YX9hT73aZiEcl8eMbZAGA0AT6/ZPY3Ykiny/A55tA7uoGqdQFBD2VbDbDugoSTTEj3gTGYgG8Vt7UeG63hNkZJ7a2s+gw1XqPnf5REKhkt4kxNakO08ycbOtRC/7FcakCwNTJ0WwmDI+1LUCZZDkSYGa5Eewf0G0KAnprNYtFQHdPbZhNS1cmLafF5bUTJsyBSVMHPm+/ADTrfrtCH68WAAAAAElFTkSuQmCC",W=(F,v,$)=>new Promise((_,M)=>{var O=q=>{try{L($.next(q))}catch(R){M(R)}},T=q=>{try{L($.throw(q))}catch(R){M(R)}},L=q=>q.done?_(q.value):Promise.resolve(q.value).then(O,T);L(($=$.apply(F,v)).next())}),g=({type:F,resdata:v,onok:$,oktext:_,okloading:M})=>{const[O,T]=(0,pe.useState)(!1),{can_copy_list:L,can_copy_num:q,challenge_type:R,course_data_list:se,no_copy_list:ne,no_copy_num:J,no_use_list:G,no_use_num:K,repeat_shixun_num:le,student_count:me,total_num:Oe,use_num:Ce}=v;let Ue=q>0||F==="exercise";(0,pe.useEffect)(()=>{(v==null?void 0:v.student_count)>0&&T(!0)},[v]),console.log("---11",M),(0,pe.useEffect)(()=>{M||T(!1)},[M]);const ee=()=>{if(F==="exercise"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u4F5C\u7B54\u5DF2\u6311\u6218\u8FC7\u7684\u5B9E\u8BAD\u9898\u3002"));if(F==="exercise"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="shixun"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="shixun"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7\u8BE5\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="subject"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="subject"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709 ",pe.createElement("span",{className:Ae.orangeColor},me)," \u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u6311\u6218\u8FC7\u5176\u4E2D\u7684 ",pe.createElement("span",{className:Ae.orangeColor},Ce)," \u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u9001\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="exercisepush")return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u5176\u4ED6\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u8BD5\u5377\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE \uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u5728\u5F53\u524D\u8003\u8BD5\u4E2D\u8FDB\u884C\u4F5C\u7B54\u3002"));if(F==="shixunpush"&&R===1)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8003\u8BD5\u4E2D\u6311\u6218\u8FC7\u5176\u4E2D\u7684",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"));if(F==="shixunpush"&&R===2)return pe.createElement(pe.Fragment,null,"\u8BFE\u5802\u5185\u6709",pe.createElement("span",{className:Ae.orangeColor},me),"\u540D\u5B66\u751F\u5DF2\u5728\u8BFE\u5802\u5B9E\u9A8C\u4E2D\u6311\u6218\u8FC7",pe.createElement("span",{className:Ae.orangeColor},Ce),"\u4E2A\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E14\u4F5C\u4E1A\u5DF2\u5F00\u542F\u201C\u4F5C\u4E1A\u622A\u6B62\u540E\u4E0D\u5141\u8BB8\u5B66\u751F\u7F16\u8F91\u4EE3\u7801\u201D\u8BBE\u7F6E\u9879\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u91CD\u590D\u53D1\u5E03\u4F1A\u5BFC\u81F4\u8FD9\u90E8\u5206\u5B66\u751F\u65E0\u6CD5\u518D\u63D0\u4EA4\u4F5C\u4E1A\u3002"))},de=()=>{if(F==="exercise"||F==="subject"||F==="exercisepush"||F==="shixunpush")return pe.createElement("div",{style:{marginTop:20}},J>0&&pe.createElement("div",null,pe.createElement("span",{className:Ae.flex},pe.createElement("img",{src:te,style:{width:14}}),pe.createElement("span",{className:Ae.statustitle},"\u4E0D\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),pe.createElement("div",{className:Ae.statusbody},F==="exercise"&&pe.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",pe.createElement("span",{className:Ae.redColor},"\u4EE5\u4E0B\u8BD5\u9898\u5C06\u4E0D\u4F1A\u88AB\u53D1\u9001\u81F3\u8BFE\u5802\u4E2D\u3002"),"\u60A8\u4E5F\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),(F==="subject"||F==="exercisepush")&&pe.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ue&&pe.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),F==="shixunpush"&&pe.createElement("div",{style:{marginBottom:15}},"\u6CA1\u6709\u590D\u5236\u6743\u9650\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C",Ue&&pe.createElement("span",{className:Ae.redColor},"\u4E00\u952E\u590D\u5236\u4E0D\u4F1A\u590D\u5236\u6B64\u90E8\u5206\u9879\u76EE\u3002"),"\u5EFA\u8BAE\u60A8\u91CD\u65B0\u9009\u62E9\u5B9E\u8DF5\u9879\u76EE\u518D\u53D1\u5E03\u4F5C\u4E1A\uFF0C\u4E5F\u53EF\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002"),pe.createElement("div",null,ne==null?void 0:ne.map((D,Ye)=>pe.createElement("a",{href:`/shixuns/${D.identifier}/challenges`,target:"_blank"},"\u300A",D==null?void 0:D.name,"\u300B",Ye+1!==J&&"\u3001"))))),q>0&&pe.createElement("div",{style:{marginTop:20}},pe.createElement("span",{className:Ae.flex},pe.createElement("img",{src:Ne,style:{width:14}}),pe.createElement("span",{className:Ae.statustitle},"\u652F\u6301\u590D\u5236\u7684\u5B9E\u8DF5\u9879\u76EE")),pe.createElement("div",{className:Ae.statusbody},F==="exercise"&&pe.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u8BD5\u5377\u4E2D\u7684\u539F\u8BD5\u9898\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),(F==="subject"||F==="exercisepush")&&pe.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),F==="shixunpush"&&pe.createElement("div",{style:{marginBottom:15}},"\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362\u8BD5\u9898\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\u66FF\u6362\u5F53\u524D\u4F5C\u4E1A\u4E2D\u7684\u5B9E\u8DF5\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002"),pe.createElement("div",null,L==null?void 0:L.map((D,Ye)=>pe.createElement("a",{href:`/shixuns/${D.identifier}/challenges`,target:"_blank"},"\u300A",D==null?void 0:D.name,"\u300B",Ye+1!==q&&"\u3001"))))));if(F==="shixun")return pe.createElement("div",{style:{marginTop:20}},q>0?"\u8BE5\u9879\u76EE\u652F\u6301\u590D\u5236\uFF0C\u5EFA\u8BAE\u60A8\u4E00\u952E\u590D\u5236\u5E76\u53D1\u9001\uFF08\u5C06\u590D\u5236\u5E76\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9879\u76EE\uFF0C\u4E0D\u4F1A\u590D\u5236\u5B66\u751F\u7684\u6311\u6218\u8BB0\u5F55\uFF0C\u65B0\u7684\u9879\u76EE\u652F\u6301\u8FDB\u884C\u7F16\u8F91\u5E76\u4E0E\u539F\u9879\u76EE\u4FE1\u606F\u4E92\u4E0D\u5F71\u54CD\uFF09\u3002":"\u8BE5\u9879\u76EE\u4E0D\u652F\u6301\u590D\u5236\uFF0C\u60A8\u53EF\u4EE5\u8054\u7CFB\u9879\u76EE\u521B\u5EFA\u8005\u5F00\u542F\u590D\u5236\u6743\u9650\u6216\u8005\u8054\u7CFB\u5E73\u53F0\u6559\u7814\u52A9\u7406\u8FDB\u884C\u534F\u52A9\u3002")};return pe.createElement(P.default,{open:O,onCancel:()=>{T(!1)},cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",width:700,centered:!0,cancelButtonProps:{style:{display:!Ue&&"none"}},zIndex:1003,confirmLoading:M,okText:Ue?_:"\u6211\u77E5\u9053\u4E86",onOk:()=>W(void 0,null,function*(){Ue?yield $([...L,...G]):T(!1)})},pe.createElement("div",{style:{maxHeight:600,overflow:"auto"}},ee(),de()))}},33276:function(dn,Ut,C){"use strict";var pe=C(59301),Ae=C(43418),P=C(1710);const Ne=({dataSource:te,visible:W,onClose:S=()=>{},onSuccess:g=()=>{},text:F,okText:v})=>{var $;return pe.createElement(Ae.default,{centered:!0,destroyOnClose:!0,open:!!W,title:"\u63D0\u793A",width:"600px",okText:v,cancelText:"\u53D6\u6D88",onCancel:S,onOk:g},W==="single"&&pe.createElement("div",{className:"c-grey-333"},"\u5F53\u524D\u8BD5\u5377\u603B\u5206\u4E3A",pe.createElement("span",{style:{color:"#FA6400",margin:"0 5px"}},($=te==null?void 0:te[0])==null?void 0:$.total_score),"\u5206\uFF0C\u8BF7\u786E\u8BA4",F),W==="multiple"&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"c-grey-333 mb10"},"\u4EE5\u4E0B\u8BD5\u5377\u603B\u5206\u5F02\u5E38\uFF0C\u8BF7\u786E\u8BA4",F),pe.createElement(P.default,{columns:[{title:"\u8BD5\u5377\u540D\u79F0",dataIndex:"name",ellipsis:!0},{title:"\u603B\u5206",width:90,dataIndex:"total_score"}],dataSource:te,scroll:(te==null?void 0:te.length)>7?{y:300}:{},pagination:!1})))};Ut.Z=Ne},48595:function(dn,Ut,C){"use strict";C.d(Ut,{B:function(){return F},F:function(){return g}});var pe=C(44164),Ae=C.n(pe),P=C(86129),Ne=C.n(P),te=(v,$,_)=>new Promise((M,O)=>{var T=R=>{try{q(_.next(R))}catch(se){O(se)}},L=R=>{try{q(_.throw(R))}catch(se){O(se)}},q=R=>R.done?M(R.value):Promise.resolve(R.value).then(T,L);q((_=_.apply(v,$)).next())});const W=()=>{document.body.scrollIntoView()},S=()=>{document.querySelectorAll("canvas").forEach(v=>{(!v.clientWidth||!v.clientHeight)&&v.remove()})},g=(v,$)=>te(void 0,null,function*(){W(),S();const _={margin:[0,1,0,0],image:{type:"png",quality:.95},html2canvas:{letterRendering:!0,useCORS:!0,allowTaint:!1,width:810},jsPDF:{unit:"in",format:"letter",orientation:"portrait"}};let M=Ae()();for(let T=0;Tte(void 0,null,function*(){Tte(void 0,null,function*(){W(),S();const _={margin:[0,0],html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};let M=Ae()();for(let O=0;Ote(void 0,null,function*(){OEt in qe?D(qe,Et,{enumerable:!0,configurable:!0,writable:!0,value:kt}):qe[Et]=kt,ve=(qe,Et)=>{for(var kt in Et||(Et={}))ke.call(Et,kt)&&Te(qe,kt,Et[kt]);if(Ye)for(var kt of Ye(Et))xe.call(Et,kt)&&Te(qe,kt,Et[kt]);return qe},De=(qe,Et,kt)=>new Promise((Ot,sr)=>{var rr=V=>{try{lr(kt.next(V))}catch(dt){sr(dt)}},br=V=>{try{lr(kt.throw(V))}catch(dt){sr(dt)}},lr=V=>V.done?Ot(V.value):Promise.resolve(V.value).then(rr,br);lr((kt=kt.apply(qe,Et)).next())});const{TextArea:he}=P.default,Se={0:"\u5355\u9009\u9898",1:"\u591A\u9009\u9898",2:"\u5224\u65AD\u9898",3:"\u586B\u7A7A\u9898",4:"\u7B80\u7B54\u9898"},Xe=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],et=({newExercisePaper:qe,isExportBlank:Et=!1,paperlibrary:kt,user:Ot,globalSetting:sr,loading:rr,dispatch:br})=>{var lr,V,dt,I,p,f,x,Y,Be,H,ie,Qe,ye;const be=(0,Ae.useIntl)(),ze=(0,Ae.useLocation)(),gt=(0,Ae.useParams)(),[fe]=(0,Ae.useSearchParams)(),[at,rt]=(0,pe.useState)(),Le=(0,pe.useRef)(),[Fe,ct]=(0,pe.useState)(),[Tt,Pt]=(0,pe.useState)(),[Yt,Fr]=(0,pe.useState)([]),[Lr,Or]=(0,pe.useState)(!1),[kr,yr]=(0,pe.useState)(""),[ur,Kr]=(0,pe.useState)(!1),[fn,Un]=(0,pe.useState)(!1),hn=fe.get("isIntelligentAssistant");(0,pe.useEffect)(()=>(br({type:"globalSetting/footerToggle",payload:!1}),()=>{br({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,pe.useEffect)(()=>{Le.current=gt==null?void 0:gt.id,rt(fe.get("defaultActiveKey")||"0"),xn(),Qi(),Dn()},[gt==null?void 0:gt.id]),(0,pe.useEffect)(()=>{var _e;if((_e=qe.exerciseExportHeadData)!=null&&_e.title){const Me=qe.exerciseExportHeadData;ct(ve({},Me||{}));const{table:Ie}=Me||{};let Nt,Mt;(Ie!=null&&Ie.total_singles_scores||Ie!=null&&Ie.total_doubles_scores||Ie!=null&&Ie.total_nulls_scores||Ie!=null&&Ie.total_judges_scores||Ie!=null&&Ie.total_pros_scores||Ie!=null&&Ie.total_shixuns_scores||Ie!=null&&Ie.total_mains_scores||Ie!=null&&Ie.total_combination_scores||Ie!=null&&Ie.total_bpros_scores)&&(Nt=Number(Ie==null?void 0:Ie.total_singles_scores)+Number(Ie==null?void 0:Ie.total_doubles_scores)+Number(Ie==null?void 0:Ie.total_nulls_scores)+Number(Ie==null?void 0:Ie.total_judges_scores)+Number(Ie==null?void 0:Ie.total_pros_scores)+Number(Ie==null?void 0:Ie.total_shixuns_scores)+Number(Ie==null?void 0:Ie.total_mains_scores)+Number(Ie==null?void 0:Ie.total_combination_scores)+Number(Ie==null?void 0:Ie.total_bpros_scores)),(Ie!=null&&Ie.singles_scores||Ie!=null&&Ie.doubles_scores||Ie!=null&&Ie.nulls_scores||Ie!=null&&Ie.judges_scores||Ie!=null&&Ie.pros_scores||Ie!=null&&Ie.bpros_scores||Ie!=null&&Ie.shixuns_scores||Ie!=null&&Ie.mains_scores||Ie!=null&&Ie.combination_scores)&&(Mt=Number(Ie==null?void 0:Ie.singles_scores)+Number(Ie==null?void 0:Ie.doubles_scores)+Number(Ie==null?void 0:Ie.nulls_scores)+Number(Ie==null?void 0:Ie.judges_scores)+Number(Ie==null?void 0:Ie.pros_scores)+Number(Ie==null?void 0:Ie.bpros_scores)+Number(Ie==null?void 0:Ie.shixuns_scores)+Number(Ie==null?void 0:Ie.mains_scores)+Number(Ie==null?void 0:Ie.combination_scores));const Sr=[{key:"1",name:"\u5E94\u5F97\u5206",singles_score:Ie==null?void 0:Ie.total_singles_scores,doubles_score:Ie==null?void 0:Ie.total_doubles_scores,nulls_score:Ie==null?void 0:Ie.total_nulls_scores,judges_score:Ie==null?void 0:Ie.total_judges_scores,pros_score:Ie==null?void 0:Ie.total_pros_scores,bpros_score:Ie==null?void 0:Ie.total_bpros_scores,shixuns_score:Ie==null?void 0:Ie.total_shixuns_scores,mains_score:Ie==null?void 0:Ie.total_mains_scores,combinations_score:Ie==null?void 0:Ie.total_combination_scores,total_score:Nt},{key:"2",name:"\u5B9E\u5F97\u5206",singles_score:Ie==null?void 0:Ie.singles_scores,doubles_score:Ie==null?void 0:Ie.doubles_scores,nulls_score:Ie==null?void 0:Ie.nulls_scores,judges_score:Ie==null?void 0:Ie.judges_scores,pros_score:Ie==null?void 0:Ie.pros_scores,bpros_score:Ie==null?void 0:Ie.bpros_scores,shixuns_score:Ie==null?void 0:Ie.shixuns_scores,mains_score:Ie==null?void 0:Ie.mains_scores,combinations_score:Ie==null?void 0:Ie.combination_scores,total_score:Mt},{key:"3",name:"\u8BC4\u5377\u4EBA"}],nr=[{key:"1",name:"\u5E94\u5F97\u5206",singles_score:Ie==null?void 0:Ie.total_singles_scores,doubles_score:Ie==null?void 0:Ie.total_doubles_scores,nulls_score:Ie==null?void 0:Ie.total_nulls_scores,judges_score:Ie==null?void 0:Ie.total_judges_scores,pros_score:Ie==null?void 0:Ie.total_pros_scores,bpros_score:Ie==null?void 0:Ie.total_bpros_scores,shixuns_score:Ie==null?void 0:Ie.total_shixuns_scores,mains_score:Ie==null?void 0:Ie.total_mains_scores,combinations_score:Ie==null?void 0:Ie.combination_scores,total_score:Nt},{key:"2",name:"\u5B9E\u5F97\u5206"},{key:"3",name:"\u8BC4\u5377\u4EBA"}];Pt([...Et?nr:Sr])}},[qe.exerciseExportHeadData]);const Dn=()=>De(void 0,null,function*(){var _e;const Me=yield(0,se.cV)({id:gt.id});Me.status==0&&Fr(Me.data),yield Qi(),fe.get("exportPDF")&&((_e=kt.paperData)!=null&&_e.questionList)&&(Ne.ZP.info("\u6B63\u5728\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377pdf"),(0,R.F)(Zi.current.children,be.formatMessage({id:"paperlibrary.exportPaper",defaultMessage:"\u5BFC\u51FA\u8BD5\u5377"})))}),Qi=()=>De(void 0,null,function*(){const _e=yield(0,se.Dq)(gt.id);ct(_e||{});const{table:Me}=_e||{};let Ie,Nt;(Me!=null&&Me.total_singles_scores||Me!=null&&Me.total_doubles_scores||Me!=null&&Me.total_nulls_scores||Me!=null&&Me.total_judges_scores||Me!=null&&Me.total_pros_scores||Me!=null&&Me.total_shixuns_scores||Me!=null&&Me.total_mains_scores||Me!=null&&Me.total_combination_scores||Me!=null&&Me.total_bpros_scores)&&(Ie=Number(Me==null?void 0:Me.total_singles_scores)+Number(Me==null?void 0:Me.total_doubles_scores)+Number(Me==null?void 0:Me.total_nulls_scores)+Number(Me==null?void 0:Me.total_judges_scores)+Number(Me==null?void 0:Me.total_pros_scores)+Number(Me==null?void 0:Me.total_shixuns_scores)+Number(Me==null?void 0:Me.total_mains_scores)+Number(Me==null?void 0:Me.total_combination_scores)+Number(Me==null?void 0:Me.total_bpros_scores)),(Me!=null&&Me.singles_scores||Me!=null&&Me.doubles_scores||Me!=null&&Me.nulls_scores||Me!=null&&Me.judges_scores||Me!=null&&Me.pros_scores||Me!=null&&Me.bpros_scores||Me!=null&&Me.shixuns_scores||Me!=null&&Me.mains_scores||Me!=null&&Me.combinations_score)&&(Nt=Number(Me==null?void 0:Me.singles_scores)+Number(Me==null?void 0:Me.doubles_scores)+Number(Me==null?void 0:Me.nulls_scores)+Number(Me==null?void 0:Me.judges_scores)+Number(Me==null?void 0:Me.pros_scores)+Number(Me==null?void 0:Me.bpros_scores)+Number(Me==null?void 0:Me.shixuns_scores)+Number(Me==null?void 0:Me.mains_scores)+Number(Me==null?void 0:Me.combinations_score));const Mt=[{key:"1",name:"\u5E94\u5F97\u5206",singles_score:Me==null?void 0:Me.total_singles_scores,doubles_score:Me==null?void 0:Me.total_doubles_scores,nulls_score:Me==null?void 0:Me.total_nulls_scores,judges_score:Me==null?void 0:Me.total_judges_scores,pros_score:Me==null?void 0:Me.total_pros_scores,bpros_score:Me==null?void 0:Me.total_bpros_scores,shixuns_score:Me==null?void 0:Me.total_shixuns_scores,combinations_score:Me==null?void 0:Me.total_combination_scores,mains_score:Me==null?void 0:Me.total_mains_scores,total_score:Ie},{key:"2",name:"\u5B9E\u5F97\u5206",singles_score:Me==null?void 0:Me.singles_scores,doubles_score:Me==null?void 0:Me.doubles_scores,nulls_score:Me==null?void 0:Me.nulls_scores,judges_score:Me==null?void 0:Me.judges_scores,pros_score:Me==null?void 0:Me.pros_scores,bpros_score:Me==null?void 0:Me.bpros_scores,shixuns_score:Me==null?void 0:Me.shixuns_scores,mains_score:Me==null?void 0:Me.mains_scores,combinations_score:Me==null?void 0:Me.combination_scores,total_score:Nt},{key:"3",name:"\u8BC4\u5377\u4EBA"}];return Pt(Et?[{key:"1",name:"\u5E94\u5F97\u5206"},{key:"2",name:"\u5B9E\u5F97\u5206"},{key:"3",name:"\u8BC4\u5377\u4EBA"}]:Mt),_e}),Pr=[{width:"9%",title:be.formatMessage({id:"paperlibrary.questionType",defaultMessage:"\u9898\u578B"}),align:"center",dataIndex:"name",render:_e=>de.createElement("a",null,_e)},{width:"9%",title:((lr=Yt.find(_e=>_e.value==ne.fw[0].nameType))==null?void 0:lr.name)||ne.fw[0].name,align:"center",dataIndex:"singles_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((V=Yt.find(_e=>_e.value==ne.fw[1].nameType))==null?void 0:V.name)||ne.fw[1].name,align:"center",dataIndex:"doubles_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((dt=Yt.find(_e=>_e.value==ne.fw[3].nameType))==null?void 0:dt.name)||ne.fw[3].name,align:"center",dataIndex:"nulls_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((I=Yt.find(_e=>_e.value==ne.fw[2].nameType))==null?void 0:I.name)||ne.fw[2].name,align:"center",dataIndex:"judges_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((p=Yt.find(_e=>_e.value==ne.fw[6].nameType))==null?void 0:p.name)||ne.fw[6].name,align:"center",dataIndex:"pros_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((f=Yt.find(_e=>_e.value==ne.fw[5].nameType))==null?void 0:f.name)||ne.fw[5].name,align:"center",dataIndex:"shixuns_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((x=Yt.find(_e=>_e.value==ne.fw[4].nameType))==null?void 0:x.name)||ne.fw[4].name,align:"center",dataIndex:"mains_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:((Y=Yt.find(_e=>_e.value==ne.fw[7].nameType))==null?void 0:Y.name)||ne.fw[7].name,align:"center",dataIndex:"combinations_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"10%",title:((Be=Yt.find(_e=>_e.value==ne.fw[8].nameType))==null?void 0:Be.name)||ne.fw[8].name,align:"center",dataIndex:"bpros_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e)},{width:"9%",title:be.formatMessage({id:"paperlibrary.totalScore",defaultMessage:"\u603B\u5206"}),align:"center",dataIndex:"total_score",render:_e=>de.createElement("a",null,_e==="0.0"?0:_e?parseFloat(_e).toFixed(1):"")}],xn=_e=>{br({type:"paperlibrary/getPaperData",payload:ve({id:Le.current},_e)})},Ei=(_e,Me)=>De(void 0,null,function*(){if(!_e.destination||!_e.source)return;const Ie=Me.questions[_e.source.index].id,Nt=_e.destination.index+1;(yield br({type:"paperlibrary/adjustPosition",payload:{id:Le.current,itemId:Ie,position:Nt}})).status!==-1&&xn()}),di=()=>{var _e,Me,Ie,Nt;br({type:"paperlibrary/setActionTabs",payload:{key:"Paperlibrary-SendToClass",params:{id:Le.current,data:{is_random:!1},dataSource:[{name:(Me=(_e=kt.paperData)==null?void 0:_e.exam)==null?void 0:Me.name,total_score:(Nt=(Ie=kt.paperData)==null?void 0:Ie.exam)==null?void 0:Nt.all_score}],type:"single"}}})},Zi=(0,pe.useRef)(),[_i,ji]=(0,pe.useState)(!0),qa=()=>De(void 0,null,function*(){ji(!1),yr(""),Or(!0)}),Ki=()=>De(void 0,null,function*(){ji(!0),yr(""),Or(!0)}),ti=()=>De(void 0,null,function*(){var _e;Kr(!0);const Me=yield(0,K.Mb)({categoryId:Le.current});Kr(!1),Me!=null&&Me.exercise_id&&(0,G.xg)(`/classrooms/coursesId/exercise/${Me.exercise_id}/${(_e=Ot.userInfo)==null?void 0:_e.login}/initate_answer`)}),gi=(_e,Me,Ie)=>{var Nt,Mt,Sr,nr,Dr,Hr,an,jr,Rr,en,wn,on,Nn,Kn,fi,On,Xn,Vt,Xt,er,fr;return de.createElement(de.Fragment,null,!Ie&&de.createElement("div",{style:{display:"flex"},className:L.programTitle},de.createElement("span",{style:{flexShrink:0},className:"font18"},Me+1,"."),de.createElement(le.Z,{style:{maxWidth:1100},value:_e.name||(_e==null?void 0:_e.shixun_name)}),de.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",(_e==null?void 0:_e.question_type)===7?`\u5171${_e==null?void 0:_e.sub_count}\u5C0F\u9898`:""," ",_e.score,"\u5206\uFF09")),(_e==null?void 0:_e.question_type)===8&&de.createElement(le.Z,{showProgramFill:!0,disabledFill:!0,value:me.Base64.decode(((Nt=_e==null?void 0:_e.program_attr)==null?void 0:Nt.code)||"")}),(_e==null?void 0:_e.question_type)===5&&de.createElement("div",null,(Mt=_e==null?void 0:_e.examination_bank_shixun_challenges)==null?void 0:Mt.map((Rt,Jt)=>de.createElement("div",null,de.createElement("div",{key:Jt,style:{background:"#F0F7FD",color:"#3061D0",fontSize:18,padding:10,marginBottom:10}},de.createElement("i",{className:"iconfont icon-renwuguanka1",style:{marginRight:5}}),"\u7B2C",Jt+1,"\u5173 ",de.createElement("span",{className:"ml10"},Rt.challenge_name))))),(_e==null?void 0:_e.question_type)===6&&de.createElement("div",null,de.createElement("div",{style:{fontWeight:600,marginTop:4}},"\u5141\u8BB8\u7F16\u7A0B\u7684\u8BED\u8A00\uFF1A",(nr=(Sr=_e==null?void 0:_e.program_attr)==null?void 0:Sr.languages)==null?void 0:nr.join("/")),((Hr=(Dr=kt==null?void 0:kt.paperData)==null?void 0:Dr.exam)==null?void 0:Hr.show_hack_sets)&&de.createElement("div",{style:{marginBottom:10,border:"1px solid #F1F4F9"}},de.createElement("p",{style:{padding:"0px 10px",height:40,lineHeight:"40px",background:"#F1F4F9",color:"#3061D0"}},de.createElement("i",{className:"iconfont icon-ceshiyongli"})," \u6D4B\u8BD5\u7528\u4F8B\uFF1A"),de.createElement(te.default,{style:{margin:10},columns:[{title:"\u5E8F\u53F7",dataIndex:"name",key:"name",width:"10%",render:(Rt,Jt,ar)=>ar+1},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u5165",dataIndex:"input",key:"input",width:"40%",render:(Rt,Jt,ar)=>de.createElement(W.Z,{title:de.createElement("pre",null,Rt)},de.createElement("div",{className:L.divname},Rt))},{title:"\u6D4B\u8BD5\u7528\u4F8B\u8F93\u51FA",dataIndex:"output",key:"output",width:"40%",render:(Rt,Jt,ar)=>de.createElement(W.Z,{title:de.createElement("pre",null,Rt)}," ",de.createElement("div",{className:L.divname},Rt))},{title:"\u662F\u5426\u53EF\u89C1",dataIndex:"visibility_cn",key:"visibility_cn",width:"10%"}],pagination:!1,dataSource:(an=_e==null?void 0:_e.program_attr)==null?void 0:an.hack_sets})),((Rr=(jr=kt==null?void 0:kt.paperData)==null?void 0:jr.exam)==null?void 0:Rr.show_hack_description)&&de.createElement("div",null,de.createElement(le.Z,{className:L.content,value:((en=_e==null?void 0:_e.program_attr)==null?void 0:en.description)||"- -"}))),_e.question_type===Oe.c.Single&&de.createElement(de.Fragment,null,(wn=_e.choices)==null?void 0:wn.map(function(Rt,Jt){return de.createElement(S.Z,{key:Jt},de.createElement(g.Z,{flex:"1"},de.createElement("div",{style:{display:"flex"}},de.createElement("div",{style:{lineHeight:"24px",flexShrink:0}},Xe[Jt]),de.createElement(le.Z,{value:Rt.choice_text||""}))))})),_e.question_type===Oe.c.Multiple&&de.createElement(de.Fragment,null,(on=_e.choices)==null?void 0:on.map(function(Rt,Jt){return de.createElement(S.Z,{key:Jt},de.createElement(g.Z,{flex:"1"},de.createElement("div",{style:{display:"flex"}},de.createElement("div",{style:{lineHeight:"24px",flexShrink:0}},Xe[Jt]),de.createElement(le.Z,{value:Rt.choice_text||""}))))})),_e.question_type===Oe.c.Judge&&de.createElement("div",{className:L.flexRow},(Nn=_e.choices)==null?void 0:Nn.map(function(Rt,Jt){return de.createElement(S.Z,{key:Jt},de.createElement(g.Z,{flex:"25px"},de.createElement("div",{style:{width:25,overflow:"hidden"}},de.createElement(F.ZP,{disabled:!0,style:{width:25,marginLeft:Jt===1&&10}}))),de.createElement(g.Z,{flex:"1",style:{marginLeft:Jt===1&&10}},Rt.choice_text))})),_e.question_type===Oe.c.Combine&&de.createElement(de.Fragment,null,(Kn=_e.sub_questions)==null?void 0:Kn.map(function(Rt,Jt){return de.createElement("div",{style:{marginLeft:10}},de.createElement("div",{style:{display:"flex"},className:L.programTitle},de.createElement("span",{style:{flexShrink:0},className:"font18"},Me+1,".",Jt+1),de.createElement(le.Z,{value:Rt.name||(Rt==null?void 0:Rt.shixun_name)}),de.createElement("span",{style:{flexShrink:0},className:"font16"},"\uFF08",Rt.score,"\u5206\uFF09")),gi(Rt,Jt,!0))})),_i&&de.createElement("div",{style:{marginTop:10}},(_e==null?void 0:_e.question_type)<3&&(_e==null?void 0:_e.standard_answer_show)&&de.createElement("span",{className:"font16 "},"\u6B63\u786E\u7B54\u6848\uFF1A",_e==null?void 0:_e.standard_answer_show),!!((fi=_e==null?void 0:_e.standard_answer)!=null&&fi.length)&&_i&&(_e==null?void 0:_e.question_type)===3&&de.createElement("div",null,(On=_e==null?void 0:_e.standard_answer)==null?void 0:On.map((Rt,Jt)=>de.createElement("div",null,de.createElement("span",null,"\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A",Jt+1,"\uFF09:"),de.createElement("div",null,Rt.answer_text.map(function(ar,Nr){return de.createElement(g.Z,{span:24,key:Nr},(Rt==null?void 0:Rt.model)===1?de.createElement(he,{autoSize:!0,disabled:!0,value:ar}):de.createElement(Ce.Z,{value:ar,disabled:!0}))}))))),!!((Xn=_e==null?void 0:_e.standard_answer)!=null&&Xn.length)&&_i&&(_e==null?void 0:_e.question_type)===8&&de.createElement("div",null,(Vt=_e==null?void 0:_e.standard_answer)==null?void 0:Vt.map((Rt,Jt)=>de.createElement("div",null,de.createElement("span",null,"\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A",Jt+1,"\uFF09:"),de.createElement("div",null,de.createElement(he,{autoSize:!0,disabled:!0,value:(Rt==null?void 0:Rt.answer_text)||""}))))),!!((Xt=_e==null?void 0:_e.answer_texts)!=null&&Xt.length)&&(_e==null?void 0:_e.question_type)===4&&de.createElement("div",null,de.createElement("p",{className:"mt10 mb0"},"\u53C2\u8003\u7B54\u6848\uFF1A"),de.createElement("div",{style:{border:"1px solid #eee",background:"#f5f5f5",borderRadius:4,padding:5}},de.createElement(le.Z,{value:(er=_e==null?void 0:_e.answer_texts)==null?void 0:er[0]}))),(_e==null?void 0:_e.question_type)===6&&de.createElement("div",null,de.createElement("p",{className:"mt10 mb0"},"\u53C2\u8003\u7B54\u6848\uFF1A",!(_e!=null&&_e.answer_text)&&"\u6682\u65E0"),(_e==null?void 0:_e.answer_text)&&de.createElement("div",{style:{border:"1px solid #eee",background:"#f5f5f5",borderRadius:4,padding:5}},de.createElement(le.Z,{value:_e==null?void 0:_e.answer_text}))),(_e==null?void 0:_e.question_type)<=4&&((_e==null?void 0:_e.standard_answer_show)||((fr=_e==null?void 0:_e.standard_answer)==null?void 0:fr.length)>0)&&de.createElement(S.Z,{style:{marginTop:14}},de.createElement("span",{className:"font16 "},"\u89E3\u6790\uFF1A"),de.createElement(le.Z,{className:L.renderHtml,value:(_e==null?void 0:_e.analysis)||"\u6682\u65E0\u89E3\u6790"}))),!Ie&&de.createElement(v.Z,null))},yi=(0,pe.useCallback)(()=>{var _e,Me;return de.createElement("div",null,de.createElement("div",{className:L.titleForExport},(Me=(_e=kt.paperData)==null?void 0:_e.exam)==null?void 0:Me.name),de.createElement("div",{style:{textAlign:"center",fontSize:"15px"}},"\u5171:\u3010",Fe==null?void 0:Fe.large_counts,"\u5927\u9898\u3011\u3010",Fe==null?void 0:Fe.total_count,"\u5C0F\u9898\u3011\u3010 \u6EE1\u5206",Fe==null?void 0:Fe.score,"\u5206\u3011 \u8003\u8BD5\u65F6\u95F4\uFF1A\u3010",(Fe==null?void 0:Fe.time)>-1?`${Fe==null?void 0:Fe.time}${be.formatMessage({id:"paperlibrary.minute",defaultMessage:"\u5206\u949F"})}`:"\u4E0D\u9650","\u3011"),!!(Fe!=null&&Fe.exercise_description)&&de.createElement("pre",{style:{fontSize:14,marginBottom:30,marginTop:20,textAlign:"left",color:"#3A3A3A"}},de.createElement("b",null,be.formatMessage({id:"paperlibrary.examInstructions",defaultMessage:"\u8BD5\u5377\u987B\u77E5"}),"\uFF1A"),Fe==null?void 0:Fe.exercise_description),de.createElement(te.default,{style:{margin:"20px auto"},className:L.table,columns:Pr,dataSource:[...Tt||[]],bordered:!0,pagination:!1}))},[kt.paperData]),$e=()=>De(void 0,null,function*(){const _e=yield(0,ee.ZP)("/api/intelligent_imports/save_recognize_papers.json",{method:"post",body:{examination_bank_id:gt==null?void 0:gt.id}});(_e==null?void 0:_e.status)===0&&Ae.history.replace("/paperlibrary")});return de.createElement("section",{className:L.bg},de.createElement($.Z,{spinning:rr["paperlibrary/getPaperData"]},de.createElement(S.Z,{className:"pt20",justify:"space-between"},de.createElement(_.Z,{separator:">"},de.createElement(_.Z.Item,{href:"/paperlibrary"},be.formatMessage({id:"paperlibrary.questionBank",defaultMessage:"\u8BD5\u5377\u5E93"})),de.createElement(_.Z.Item,{href:`/paperlibrary?defaultActiveKey=${at}`},at==="1"?be.formatMessage({id:"paperlibrary.publish",defaultMessage:"\u516C\u5F00"}):at==="2"?be.formatMessage({id:"paperlibrary.teamShare",defaultMessage:"\u56E2\u961F\u5171\u4EAB"}):be.formatMessage({id:"paperlibrary.myCreated",defaultMessage:"\u6211\u521B\u5EFA\u7684"})),de.createElement(_.Z.Item,null,"\u8BD5\u5377\u8BE6\u60C5")),de.createElement("div",{className:L.btnWrapper},!hn&&de.createElement(M.ZP,{onClick:di,className:L.btn,icon:de.createElement("i",{className:"iconfont icon-fasongtongzhi font14"})},be.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"})),de.createElement(M.ZP,{onClick:()=>Ae.history.push(`/paperlibrary/add/${Le.current}?type=2${hn?"&isIntelligentAssistant=true":""}`),className:L.btn,icon:de.createElement("i",{className:"iconfont icon-bianji10 font14"})},"\u7F16\u8F91\u8BD5\u5377"),de.createElement(M.ZP,{loading:ur,onClick:ti,className:L.btn,icon:de.createElement("i",{className:"iconfont icon-monikaoshi2 font14"})},be.formatMessage({id:"paperlibrary.mockExam",defaultMessage:"\u6A21\u62DF\u8003\u8BD5"})),!hn&&de.createElement(O.Z,{menu:{items:[{key:"1",label:de.createElement("div",{onClick:Ki},be.formatMessage({id:"paperlibrary.exportBlankExamWithAnswers",defaultMessage:"\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377+\u7B54\u6848"}))},{key:"2",label:de.createElement("div",{onClick:qa},be.formatMessage({id:"paperlibrary.exportBlankExam",defaultMessage:"\u5BFC\u51FA\u7A7A\u767D\u8BD5\u5377"}))}]}},de.createElement(M.ZP,{type:"primary",icon:de.createElement("i",{className:"iconfont icon-daochu1 font14"})},"\u5BFC\u51FA")),hn&&de.createElement(Ue.Z,{onClick:$e,type:"primary",icon:de.createElement("i",{className:"iconfont icon-baocun1 font14"})},"\u4FDD\u5B58\u8BD5\u5377"))),de.createElement("div",{className:`${L.wrap} pt20 pb20`,ref:Zi,id:"paperDomRef"},!((ie=(H=kt.paperData)==null?void 0:H.questionList)!=null&&ie.length)&&yi(),(ye=(Qe=kt.paperData)==null?void 0:Qe.questionList)==null?void 0:ye.map((_e,Me)=>{var Ie;return de.createElement(de.Fragment,null,(Ie=_e.questions)==null?void 0:Ie.map((Nt,Mt)=>{const Sr=Math.floor(Mt/10);return Mt%10===0?de.createElement("div",{className:"abc",key:`group-${Sr}`},Me===0&&Mt===0&&yi(),Mt===0&&de.createElement("div",null,de.createElement("span",{className:"font16 c-light-primary"},_e.number,"\u3001",_e.name),de.createElement("span",{className:"c-grey-999"},"\uFF08\u5171",_e.questions_count,"\u9898\uFF0C",(_e==null?void 0:_e.question_type)===7?`\u5305\u542B${_e==null?void 0:_e.sub_count}\u5C0F\u9898\uFF1B`:"","\u5171",_e.questions_score,"\u5206\uFF09")),_e.questions.slice(Mt,Mt+10).map((nr,Dr)=>de.createElement("div",{key:nr.id},gi(nr,Mt+Dr)))):null}))}))),de.createElement(q.Z,null),de.createElement(T.default,{width:450,title:"\u8BF7\u9009\u62E9\u9700\u8981\u5BFC\u51FA\u7684\u683C\u5F0F",open:Lr,onCancel:()=>{if(fn){Ne.ZP.info("\u5BFC\u51FA\u4E2D\u8BF7\u52FF\u5173\u95ED\u7A97\u53E3");return}Or(!1)},okButtonProps:{loading:fn},onOk:()=>De(void 0,null,function*(){var _e,Me;if(Un(!0),kr==""){Un(!1),Ne.ZP.info("\u8BF7\u9009\u62E9\u4E00\u79CD\u5BFC\u51FA\u683C\u5F0F");return}else kr=="pdf"?yield(0,R.F)(Zi.current.children,(Me=(_e=kt.paperData)==null?void 0:_e.exam)==null?void 0:Me.name):kr=="word"&&(0,J.ON)({id:Le.current,middle_export:1,export_type:_i?1:0});Un(!1),Or(!1)})},de.createElement("div",{className:L.export_type_modal},de.createElement("div",{className:L.export_type_modal_con},de.createElement("div",{className:L.type_item},de.createElement("div",{className:`${L.img_warp} ${kr=="pdf"?L.img_warp_active:""}`,onClick:()=>yr("pdf")},de.createElement("img",{src:C(45614),width:70,height:70})),be.formatMessage({id:"paperlibrary.pdfFormat",defaultMessage:"pdf\u683C\u5F0F"})),de.createElement("div",{className:L.type_item},de.createElement("div",{className:`${L.img_warp} ${kr=="word"?L.img_warp_active:""}`,onClick:()=>yr("word")},de.createElement("img",{src:C(38347),width:70,height:70})),be.formatMessage({id:"paperlibrary.wordFormat",defaultMessage:"word\u683C\u5F0F"}))))))};var je=(0,Ae.connect)(({paperlibrary:qe,user:Et,loading:kt,globalSetting:Ot,newExercisePaper:sr})=>({paperlibrary:qe,user:Et,globalSetting:Ot,loading:kt.effects,newExercisePaper:sr}))(et)},74609:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Se}});var pe=C(59301),Ae=C(65582),P=C(92832),Ne=C(8591),te=C(43418),W=C(5871),S=C(61621),g=C(1710),F=C(3113),v=C(70414),$=Object.defineProperty,_=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,O=Object.prototype.propertyIsEnumerable,T=(Xe,et,je)=>et in Xe?$(Xe,et,{enumerable:!0,configurable:!0,writable:!0,value:je}):Xe[et]=je,L=(Xe,et)=>{for(var je in et||(et={}))M.call(et,je)&&T(Xe,je,et[je]);if(_)for(var je of _(et))O.call(et,je)&&T(Xe,je,et[je]);return Xe};const q=Xe=>React.createElement("svg",L({width:14,height:14,xmlns:"http://www.w3.org/2000/svg"},Xe),React.createElement("title",null,"\u9009\u62E9\u5907\u4EFD 2"),React.createElement("path",{d:"M6.74 0a6.74 6.74 0 1 0 0 13.48A6.74 6.74 0 0 0 6.74 0Zm3.636 5.017L5.817 9.576c-.09.09-.246.08-.348-.023l-.306-.305L3.12 7.204a.263.263 0 0 1 0-.372l.557-.557a.262.262 0 0 1 .372 0l1.605 1.606 3.794-3.793c.09-.09.246-.08.348.022l.557.557c.103.103.113.259.023.349Z",fill:"#68C79F",fillRule:"nonzero"}));var R="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYuNzQgMGE2Ljc0IDYuNzQgMCAxIDAgMCAxMy40OEE2Ljc0IDYuNzQgMCAwIDAgNi43NCAwWm0zLjYzNiA1LjAxN0w1LjgxNyA5LjU3NmMtLjA5LjA5LS4yNDYuMDgtLjM0OC0uMDIzbC0uMzA2LS4zMDVMMy4xMiA3LjIwNGEuMjYzLjI2MyAwIDAgMSAwLS4zNzJsLjU1Ny0uNTU3YS4yNjIuMjYyIDAgMCAxIC4zNzIgMGwxLjYwNSAxLjYwNiAzLjc5NC0zLjc5M2MuMDktLjA5LjI0Ni0uMDguMzQ4LjAyMmwuNTU3LjU1N2MuMTAzLjEwMy4xMTMuMjU5LjAyMy4zNDlaIiBmaWxsPSIjNjhDNzlGIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=",se={flex_box_center:"flex_box_center___LsrKL",flex_space_between:"flex_space_between___sZBht",flex_box_vertical_center:"flex_box_vertical_center___QNt7D",flex_box_center_end:"flex_box_center_end___S9zs3",flex_box_column:"flex_box_column___Y5tcm",title:"title___t4qlt",tip:"tip___MtKbx",radioWrap:"radioWrap___fp3kY",row:"row___IoDN5",radio:"radio___vuEDI",colorFF0000:"colorFF0000____5DYm",pagination:"pagination___bvqCI",modalColumn:"modalColumn___szBPb",modalRow:"modalRow___mtd9M",sup:"sup___JDuYL",search:"search___wNY_F",bottom:"bottom___HvFhF",yes:"yes___xmznh",no:"no___vEJlu"},ne=C(65862),J={sendToClass:"sendToClass___le_BX"},G="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAL0AAACeCAYAAABn7wuoAAAgAElEQVR4Xu19CXQcx3nmV90zwOAGCBAgeN8ST0k8JFkWLVGyfMqJN7EVO4eP2Ov1Rkle7mSz2fVq3yZ2Nptdx95sNo6zvvISW5aP+PmQLVuSL52ULIo6KJHiJZ7gAeLGzHTVv++vrmrU9MwAM8CAuKbf4+Ngpru6u+qrv/7j+/8SqB5zugeIyD/ZjzXLm3FOCDEwp1/mCj28uEL3qd5mGnqAiLyLw9md54a9jZs7/O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IafXWSP0ihCCE6vn5fH/AynvqKbJosiLAAAAAElFTkSuQmCC",me=({createState:Xe,refreshLoading:et,onRefresh:je=()=>{},onCreate:qe=()=>{}})=>pe.createElement("div",{className:J.sendToClass},Xe?pe.createElement(pe.Fragment,null,pe.createElement("img",{src:G,alt:"\u7A7A"}),pe.createElement("div",null,"\u60A8\u8FD8\u6CA1\u6709\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF0C\u65E0\u6CD5\u5C06\u8BD5\u5377\u53D1\u9001\u81F3\u6559\u5B66\u8BFE\u5802\u3002"),pe.createElement(F.ZP,{onClick:qe,type:"primary",ghost:!0},"\u7ACB\u5373\u521B\u5EFA")):pe.createElement(pe.Fragment,null,pe.createElement("img",{src:K,alt:"\u7A7A"}),pe.createElement("div",null,"\u5DF2\u521B\u5EFA\u6559\u5B66\u8BFE\u5802\uFF1F\u8BF7\u5237\u65B0\u5217\u8868"),pe.createElement(F.ZP,{loading:et,onClick:je,type:"primary",ghost:!0},"\u7ACB\u5373\u5237\u65B0"))),Oe=C(60979),Ce=C(96935),Ue=C(89392),ee=C(83028),de=C(33276),D=C(59301),Ye=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable,Te=(Xe,et)=>{var je={};for(var qe in Xe)ke.call(Xe,qe)&&et.indexOf(qe)<0&&(je[qe]=Xe[qe]);if(Xe!=null&&Ye)for(var qe of Ye(Xe))et.indexOf(qe)<0&&xe.call(Xe,qe)&&(je[qe]=Xe[qe]);return je},ve=(Xe,et,je)=>new Promise((qe,Et)=>{var kt=rr=>{try{sr(je.next(rr))}catch(br){Et(br)}},Ot=rr=>{try{sr(je.throw(rr))}catch(br){Et(br)}},sr=rr=>rr.done?qe(rr.value):Promise.resolve(rr.value).then(kt,Ot);sr((je=je.apply(Xe,et)).next())});const De=P.default.Search,he=Xe=>{var et=Xe,{paperlibrary:je,globalSetting:qe,loading:Et,dispatch:kt}=et,Ot=Te(et,["paperlibrary","globalSetting","loading","dispatch"]),sr,rr,br,lr;const V=(0,Ae.useIntl)(),[dt,I]=(0,pe.useState)(""),[p,f]=(0,pe.useState)([]),[x,Y]=(0,pe.useState)([]),[Be,H]=(0,pe.useState)(!1),[ie,Qe]=(0,pe.useState)(!0),[ye,be]=(0,pe.useState)(!0),[ze,gt]=(0,pe.useState)(!0),[fe,at]=(0,pe.useState)(!1),[rt,Le]=(0,pe.useState)(!1),Fe=(br=(rr=(sr=je.actionTabs)==null?void 0:sr.params)==null?void 0:rr.data)==null?void 0:br.is_random,[ct,Tt]=(0,pe.useState)(!1),[Pt,Yt]=(0,pe.useState)({}),[Fr,Lr]=(0,pe.useState)(!1),[Or,kr]=(0,pe.useState)(!1),[yr,ur]=(0,pe.useState)([]);(0,pe.useEffect)(()=>{var xn;if(je.actionTabs.key==="Paperlibrary-SendToClass"){const{dataSource:Ei=[],type:di}=((xn=je.actionTabs)==null?void 0:xn.params)||{},Zi=Ei.filter(_i=>![100,120,150].includes(_i.total_score));Zi.length?(kr(di),ur(Zi)):Lr(!0)}},[(lr=je==null?void 0:je.actionTabs)==null?void 0:lr.key]),(0,pe.useEffect)(()=>{fn()},[]);const Kr=()=>{Y([]),I(""),fn(!0),Lr(!1),kr(!1),kt({type:"paperlibrary/setActionTabs",payload:{}})},fn=xn=>ve(void 0,null,function*(){be(!0);const Ei=yield kt({type:"paperlibrary/getCourseList",payload:{search:xn?"":dt}});Ei&&(f((Ei==null?void 0:Ei.courses)||[]),Qe(!0),at(!1)),be(!1),gt(!1)}),Un=xn=>{const Ei=parseInt(xn);return(0,Ue.isNaN)(Ei)?"":Ei},hn=()=>ve(void 0,null,function*(){var xn,Ei,di,Zi,_i,ji,qa;if(!x.length){Ne.ZP.info("\u60A8\u9700\u8981\u9009\u62E9\u8BFE\u5802\uFF0C\u624D\u80FD\u53D1\u9001"),H(!0);return}const Ki=yield kt({type:"paperlibrary/postExistCourse",payload:{course_id:Fe?x==null?void 0:x[0]:x,examination_bank_ids:((Ei=(xn=je.actionTabs)==null?void 0:xn.params)==null?void 0:Ei.examination_bank_ids)||((Zi=(di=je.actionTabs)==null?void 0:di.params)==null?void 0:Zi.id)}}),ti=()=>ve(void 0,null,function*(){var gi,yi,$e,_e,Me,Ie;Le(!0);let Nt=yield(0,Oe.Tr)({id:(yi=(gi=je.actionTabs)==null?void 0:gi.params)==null?void 0:yi.id,course_id:Fe?x==null?void 0:x[0]:x,type:(_e=($e=je.actionTabs)==null?void 0:$e.params)!=null&&_e.isBatch?"batch_examination_bank":"examination_bank",examination_bank_ids:(Ie=(Me=je.actionTabs)==null?void 0:Me.params)==null?void 0:Ie.examination_bank_ids});Le(!1),(Nt==null?void 0:Nt.student_count)===0?yield Dn([]):Yt(Nt),yield new Promise(Mt=>setTimeout(()=>Mt(),1e3))});if(Ki.status==0&&((_i=Ki.data)==null?void 0:_i.count)>0){te.default.confirm({icon:null,title:V.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),centered:!0,width:596,content:D.createElement("div",{style:{userSelect:"none"}},"\u5F53\u524D\u6559\u5B66\u8BFE\u5802\u4E2D\u5DF2\u5B58\u5728\u8BD5\u5377",(qa=(ji=Ki.data)==null?void 0:ji.list)==null?void 0:qa.map((gi,yi)=>{var $e;return D.createElement(D.Fragment,null,D.createElement("span",{style:{color:"#FA6400"}},"\u300A",gi==null?void 0:gi.name,"\u300B"),yi!==(($e=Ki.data)==null?void 0:$e.count)-1&&D.createElement("span",null,"\u3001"))}),"\uFF0C\u8BF7\u786E\u5B9A\u662F\u5426\u9700\u8981\u91CD\u590D\u53D1\u9001\uFF1F"),onOk:()=>ve(void 0,null,function*(){yield ti()})}),yield new Promise(gi=>setTimeout(()=>gi(),1e3));return}yield ti()}),Dn=xn=>ve(void 0,null,function*(){var Ei,di,Zi,_i,ji,qa;if(!Fe){Tt(!0);const yi=yield kt({type:(di=(Ei=je.actionTabs)==null?void 0:Ei.params)!=null&&di.isBatch?"paperlibrary/postBatchSendToCourse":"paperlibrary/sendToClass",payload:{course_id:Fe?x==null?void 0:x[0]:x,id:(_i=(Zi=je.actionTabs)==null?void 0:Zi.params)==null?void 0:_i.id,examination_bank_ids:(qa=(ji=je.actionTabs)==null?void 0:ji.params)==null?void 0:qa.examination_bank_ids,shixuns_info:xn.map($e=>({shixun_id:$e.id,is_copy:$e.is_copy,is_use:$e.is_use,course_id:$e.course_id}))}});Tt(!1),yi&&yi.status===0&&(Lr(!1),kt({type:"paperlibrary/setActionTabs",payload:{}}),Y([]),te.default.confirm({title:V.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),okText:"\u7ACB\u5373\u524D\u5F80",cancelText:"\u7A0D\u540E\u518D\u8BF4",width:480,centered:!0,closable:!0,onOk:()=>{window.location.href=`${yi.data[0].first_category_url}`},content:D.createElement("p",null,"\u8BD5\u5377\u53D1\u9001\u6210\u529F\uFF01\u76EE\u524D\u5904\u4E8E\u672A\u53D1\u5E03\u72B6\u6001\uFF0C\u662F\u5426\u524D\u5F80\u6559\u5B66\u8BFE\u5802\u8FDB\u884C\u53D1\u5E03\uFF1F")}),Ne.ZP.success("\u53D1\u9001\u6210\u529F"));return}Tt(!0),setTimeout(()=>{Tt(!1)},500);const Ki=p.find(yi=>yi.course_id===(x==null?void 0:x[0]));let ti=1,gi=te.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,maskClosable:!1,keyboard:!1,cancelButtonProps:{disabled:!1},title:"\u914D\u7F6E\u51FA\u5377\u6570\u91CF",content:D.createElement("div",{className:se.modalColumn},D.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},D.createElement("img",{style:{marginRight:5},src:v.Z}),"\u968F\u673A\u7EC4\u5377\u7C7B\u578B\u7684\u8BD5\u5377\u6309\u7167\u51FA\u5377\u6570\u91CF\u5BF9\u6307\u5B9A\u8BFE\u5802\u751F\u6210\u4E0D\u91CD\u590D\u7684\u8BD5\u5377\u3002"),D.createElement("div",{style:{paddingLeft:18}},V.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),": ",Ki==null?void 0:Ki.course_name),D.createElement("div",{style:{paddingLeft:9},className:se.modalRow},D.createElement("sup",{className:se.sup},"*"),D.createElement("span",{style:{flexShrink:0}},"\u968F\u673A\u51FA\u5377\u6570\u91CF\uFF1A"),D.createElement(W.Z,{parser:Un,style:{width:120},placeholder:"\u8BF7\u8F93\u5165\u8BD5\u5377\u6570\u91CF",min:1,defaultValue:ti,onChange:yi=>{ti=yi;const $e=document.getElementById("model_error");ti<1||ti>50?$e.style.display="block":$e.style.display="none"}})),D.createElement("div",{style:{display:"none",marginLeft:115},id:"model_error",className:"c-red"},"\u8BF7\u8F93\u51651-50\u4E4B\u95F4\u7684\u6574\u6570")),okText:V.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"}),cancelText:V.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),onCancel:Kr,onOk:()=>ve(void 0,null,function*(){var yi,$e;if(ti<1||ti>50){const Me=document.getElementById("model_error");return Me.style.display="block",Promise.reject()}gi.update({cancelButtonProps:{disabled:!0}});const _e=yield kt({type:"paperlibrary/sendToClass",payload:{course_id:x==null?void 0:x[0],id:($e=(yi=je.actionTabs)==null?void 0:yi.params)==null?void 0:$e.id,num:ti,shixuns_info:xn.map(Me=>({shixun_id:Me.id,is_copy:Me.is_copy,is_use:Me.is_use}))}});gi.update({cancelButtonProps:{disabled:!1}}),_e&&_e.status===0&&(te.default.destroyAll(),te.default.confirm({icon:null,className:"custom-modal-divider",centered:!0,width:500,title:V.formatMessage({id:"paperlibrary.tip",defaultMessage:"\u63D0\u793A"}),content:D.createElement("div",{className:se.modalColumn},D.createElement("div",{style:{color:"#676A6C",display:"flex",alignItems:"center"},className:"font14 mt20 mb10"},D.createElement("img",{style:{marginRight:5},src:R}),"\u751F\u6210\u8BD5\u5377\u6210\u529F\uFF0C\u524D\u5F80\u8BFE\u5802\u53BB\u67E5\u770B\u5427\uFF01")),okText:"\u524D\u5F80\u8BFE\u5802",cancelText:"\u8FD4\u56DE\u8BD5\u5377\u5E93",onCancel:()=>{Kr()},onOk:()=>{Kr(),setTimeout(()=>{var Me,Ie;const Nt=(Ie=(Me=_e==null?void 0:_e.first_category_url)==null?void 0:Me.split("/"))==null?void 0:Ie[2];(0,ne.xg)(`/classrooms/${Nt}/exercise`)},1e3)}}))})})}),Qi=()=>ve(void 0,null,function*(){at(!0),yield fn()}),Pr=[{title:V.formatMessage({id:"paperlibrary.className",defaultMessage:"\u8BFE\u5802\u540D\u79F0"}),dataIndex:"course_name",ellipsis:!0},{title:V.formatMessage({id:"paperlibrary.groupCount",defaultMessage:"\u5206\u73ED\u6570\u91CF"}),dataIndex:"course_group_count",width:90,ellipsis:!0},{title:V.formatMessage({id:"paperlibrary.studentCount",defaultMessage:"\u5B66\u5458\u4EBA\u6570"}),dataIndex:"course_member_count",width:90,ellipsis:!0}];return D.createElement("div",null,D.createElement(te.default,{centered:!0,keyboard:!1,closable:!1,open:Fr,title:V.formatMessage({id:"paperlibrary.sendToClassroom",defaultMessage:"\u53D1\u9001\u81F3\u8BFE\u5802"}),maskClosable:!1,okText:V.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}),cancelText:V.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"}),confirmLoading:Et["paperlibrary/sendToClass"]||rt||!!Et["paperlibrary/postExistCourse"],width:752,footer:!1,onOk:hn,destroyOnClose:!0,onCancel:Kr},D.createElement("div",{className:se.wrap},D.createElement("div",{className:"mb10"},D.createElement(De,{placeholder:V.formatMessage({id:"paperlibrary.searchByClassName",defaultMessage:"\u8F93\u51FA\u8BFE\u5802\u540D\u79F0\u7684\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22"}),value:dt,className:se.search,onChange:xn=>{I(xn.target.value),xn.target.value||fn(!0)},onSearch:xn=>{I(xn),fn(),Y([])}})),D.createElement(S.Z,{loading:ze},p.length?D.createElement("div",{className:se.radioWrap},D.createElement(g.default,{bordered:!1,scroll:(p==null?void 0:p.length)<=7?{}:{y:350},loading:ye,rowKey:"course_id",pagination:!1,dataSource:p,columns:Pr,onRow:xn=>({onClick:Ei=>{if(Fe)Y([xn==null?void 0:xn.course_id]);else{if(!Fe&&!x.includes(xn.course_id)&&x.length>0)return;x!=null&&x.includes(xn==null?void 0:xn.course_id)?Y(x==null?void 0:x.filter(di=>di!==(xn==null?void 0:xn.course_id))):Y([...x,xn==null?void 0:xn.course_id])}}}),rowSelection:{type:"radio",hideSelectAll:!0,selectedRowKeys:x,onChange:xn=>{Y(xn),H(!1)}}})):!dt&&!ye&&D.createElement(me,{createState:ie,refreshLoading:fe,onRefresh:Qi,onCreate:()=>{Qe(!1),(0,ne.xg)("/classrooms/new")}})),Be&&D.createElement("div",{className:se.colorFF0000},"\u8BF7\u5148\u9009\u62E9\u8BFE\u5802"),D.createElement("div",{className:se.bottom,style:{display:"flex",alignItems:"center"}},D.createElement("div",{style:{flex:1}},D.createElement("div",{className:se.title},D.createElement("img",{src:v.Z,style:{objectFit:"contain"}}),V.formatMessage({id:"paperlibrary.selectedPaperSentToClass",defaultMessage:"\u9009\u62E9\u7684\u8BD5\u5377\u5C06\u4F1A\u53D1\u9001\u5230\u6307\u5B9A\u8BFE\u5802\u5E76\u4E3A\u73ED\u7EA7\u5B66\u5458\u751F\u6210\u8003\u8BD5\u8BD5\u5377"}))),D.createElement("div",null,D.createElement(F.ZP,{onClick:Kr,className:se.no,style:{marginRight:20}},V.formatMessage({id:"paperlibrary.cancel",defaultMessage:"\u53D6\u6D88"})),D.createElement(Ce.Z,{onClick:hn,className:se.yes},V.formatMessage({id:"paperlibrary.confirm1",defaultMessage:"\u786E\u8BA4"})))))),D.createElement(ee.Z,{resdata:Pt,type:"exercise",okloading:ct,oktext:(Pt==null?void 0:Pt.can_copy_num)===0?V.formatMessage({id:"paperlibrary.confirm",defaultMessage:"\u786E\u5B9A"}):"\u4E00\u952E\u590D\u5236\u5E76\u66FF\u6362",onok:xn=>{Dn(xn)}}),D.createElement(de.Z,{text:"\u662F\u5426\u7EE7\u7EED\u53D1\u9001\u5230\u6559\u5B66\u8BFE\u5802\u4E2D\uFF1F",okText:"\u786E\u8BA4\u53D1\u9001",visible:Or,dataSource:yr,onSuccess:()=>{kr(!1),Lr(!0)},onClose:Kr}))};var Se=(0,Ae.connect)(({paperlibrary:Xe,loading:et,globalSetting:je})=>({paperlibrary:Xe,globalSetting:je,loading:et.effects}))(he)},40743:function(dn,Ut,C){"use strict";C.d(Ut,{c:function(){return Ae}});var pe=(P=>(P.FirstPage="firstPage",P.PrevPage="prevPage",P.NextPage="nextPage",P))(pe||{}),Ae=(P=>(P[P.Single=0]="Single",P[P.Multiple=1]="Multiple",P[P.Judge=2]="Judge",P[P.Fill=3]="Fill",P[P.Subjective=4]="Subjective",P[P.Shixun=5]="Shixun",P[P.Program=6]="Program",P[P.Combine=7]="Combine",P))(Ae||{})},84454:function(dn,Ut,C){"use strict";C.d(Ut,{AD:function(){return Ye},BA:function(){return dt},D9:function(){return he},Hp:function(){return K},IM:function(){return Xe},Iy:function(){return le},KM:function(){return V},KU:function(){return Et},MJ:function(){return me},Ne:function(){return Se},ON:function(){return Ot},Uj:function(){return br},VY:function(){return qe},YO:function(){return rr},YX:function(){return sr},Zn:function(){return T},_g:function(){return ne},_k:function(){return ve},c6:function(){return de},cr:function(){return L},eV:function(){return D},fi:function(){return q},gh:function(){return Ue},hS:function(){return et},iA:function(){return R},j6:function(){return J},je:function(){return Te},jj:function(){return G},kS:function(){return kt},o6:function(){return ee},pO:function(){return lr},rQ:function(){return ke},sA:function(){return Ce},xm:function(){return De},xo:function(){return je},y8:function(){return xe},yd:function(){return se}});var pe=C(33270),Ae=C(65582),P=C(65862),Ne=C(8591),te=C(74128),W=Object.defineProperty,S=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,v=(I,p,f)=>p in I?W(I,p,{enumerable:!0,configurable:!0,writable:!0,value:f}):I[p]=f,$=(I,p)=>{for(var f in p||(p={}))g.call(p,f)&&v(I,f,p[f]);if(S)for(var f of S(p))F.call(p,f)&&v(I,f,p[f]);return I},_=(I,p,f)=>new Promise((x,Y)=>{var Be=Qe=>{try{ie(f.next(Qe))}catch(ye){Y(ye)}},H=Qe=>{try{ie(f.throw(Qe))}catch(ye){Y(ye)}},ie=Qe=>Qe.done?x(Qe.value):Promise.resolve(Qe.value).then(Be,H);ie((f=f.apply(I,p)).next())});const M=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},O=()=>{(0,Ae.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},T=I=>_(void 0,null,function*(){M(),(yield(0,pe.YR)($({},I))).status===0&&(yield(0,P.QH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/export_couser_info.json`,query:I}))),O()}),L=I=>_(void 0,null,function*(){const p=yield(0,pe.yS)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_member_act_score`);else{if(p.status===-2)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_member_act_score`))}}),q=I=>_(void 0,null,function*(){const p=yield(0,pe.W0)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_score`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_score`))}}),R=I=>_(void 0,null,function*(){const p=yield(0,pe.Nl)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`))}}),se=I=>_(void 0,null,function*(){const p=yield(0,pe.IU)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/export_star_user`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/export_star_user`))}}),ne=I=>_(void 0,null,function*(){const p=yield(0,pe.td)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`);else{if(p.status===-2)return p;if(p.status===-3)(0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_exercise_and_other`);else if(p.status===-4)return p}}),J=I=>_(void 0,null,function*(){const p=yield(0,pe.QX)($({},I));if(p.status===0)Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_homework`);else{if(p.status===-4)return p;p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/course_total_homework`))}}),G=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.o_)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),K=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.ZL)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),le=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.aP)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),me=(I,p)=>_(void 0,null,function*(){const f=yield(0,pe.vV)($({},I));f.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`)):f.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/${p}`))}),Oe=I=>_(void 0,null,function*(){M(),(yield exportCourseWorkListAppendix($({},I))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${I.categoryId}/works_list.zip`,query:I}))),O()}),Ce=I=>_(void 0,null,function*(){M(),yield(0,P.QH)("",te.Z.API_SERVER+`/api/polls/${I.categoryId}/commit_result.xlsx`),O()}),Ue=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/attendances/export_xlsx_data.xlsx`,query:I}))}),ee=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/video_study_statics.xlsx`,query:I}))}),de=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/export_video_study.xlsx`,query:I}))}),D=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I.coursesId}/export_course_students_info.xlsx`,query:I}))}),Ye=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/school_manages/students.xlsx",query:I}))}),ke=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/item_banks/export.xlsx",query:I}))}),xe=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:I}))}),Te=I=>_(void 0,null,function*(){const p=yield(0,pe.Uy)($({},I));p.status===0?(Ne.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/exercise_score,export_exercise_users`)):p.status===-3&&((0,Ae.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Ae.history.push(`/classrooms/${I.coursesId}/exportlist/exercise_score,export_exercise_users`))}),ve=I=>_(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/export_records/${I.id}.xlsx`,query:I}))}),De=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:I}))}),he=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I==null?void 0:I.coursesId}/${I.menuKey}_statistic.xlsx?${I.checkedList.map(p=>`course_group_id[]=${p}`).join("&")}`,query:I}))}),Se=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/ec_years/${I==null?void 0:I.ec_year_id}/ec_training_objectives.xlsx`,query:I}))}),Xe=I=>_(void 0,null,function*(){yield(0,P.FH)(I==null?void 0:I.name,(0,P.NY)({url:te.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:I}))}),et=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/ec_years/${I==null?void 0:I.ec_year_id}/ec_courses.xlsx`,query:I}))}),je=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/ec_years/${I==null?void 0:I.ec_year_id}/ec_graduation_requirements.xlsx`,query:I}))}),qe=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:I}))}),Et=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/exercises/${I.categoryId}/rank_list.xlsx`,query:I}))}),kt=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:I}))}),Ot=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/examination_banks/${I.id}.json`,query:I}))}),sr=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/exercises/${I.categoryId}.json`,query:I}))}),rr=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/polls/${I==null?void 0:I.id}/commit_result.json`,query:I}))}),br=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+"/api/paths/get_task_pass.json",query:I}))}),lr=(I,p)=>_(void 0,null,function*(){yield(0,P.FH)(p||"",(0,P.NY)({url:te.Z.API_SERVER+`/api/exercises/${I==null?void 0:I.exercise_id}/consult_exercise.json`,query:I}))}),V=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/competitions/${I==null?void 0:I.identifier}/competition_commit_records/member_works.xlsx`,query:I}))}),dt=I=>_(void 0,null,function*(){yield(0,P.FH)("",(0,P.NY)({url:te.Z.API_SERVER+`/api/courses/${I==null?void 0:I.coursesId}/group_homeworks/import_group_template.xlsx`,query:I}))})},50371:function(dn,Ut){"use strict";function C(){const pe=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Ae=1;Ae{const te=P[Ne];te!==void 0&&(pe[Ne]=te)})}return pe}Ut.Z=C},13845:function(dn,Ut,C){"use strict";C.d(Ut,{F:function(){return pe},Z:function(){return Ae}});function pe(P){return P!=null&&P===P.window}function Ae(P,Ne){var te,W;if(typeof window=="undefined")return 0;const S=Ne?"scrollTop":"scrollLeft";let g=0;return pe(P)?g=P[Ne?"pageYOffset":"pageXOffset"]:P instanceof Document?g=P.documentElement[S]:(P instanceof HTMLElement||P)&&(g=P[S]),P&&!pe(P)&&typeof g!="number"&&(g=(W=((te=P.ownerDocument)!==null&&te!==void 0?te:P).documentElement)===null||W===void 0?void 0:W[S]),g}},56762:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Ae}});var pe=C(59301);function Ae(){const[,P]=pe.useReducer(Ne=>Ne+1,0);return P}},68031:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Ne}});var pe=C(16089);function Ae(te,W,S,g){const F=S-W;return te/=g/2,te<1?F/2*te*te*te+W:F/2*((te-=2)*te*te+2)+W}var P=C(13845);function Ne(te){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:S=()=>window,callback:g,duration:F=450}=W,v=S(),$=(0,P.Z)(v,!0),_=Date.now(),M=()=>{const T=Date.now()-_,L=Ae(T>F?F:T,$,te,F);(0,P.F)(v)?v.scrollTo(window.pageXOffset,L):v instanceof Document||v.constructor.name==="HTMLDocument"?v.documentElement.scrollTop=L:v.scrollTop=L,TS||W},66104:function(dn,Ut,C){"use strict";C.d(Ut,{Z:function(){return Ye}});var pe=C(92310),Ae=C.n(pe),P=C(11592),Ne=C(26112),te=C(59301),W=C(92343),S=C(36355),g=C(84105),F=C(91857);const v=ke=>{let{children:xe}=ke;const{getPrefixCls:Te}=te.useContext(S.E_),ve=Te("breadcrumb");return te.createElement("li",{className:`${ve}-separator`,"aria-hidden":"true"},xe===""?xe:xe||"/")};v.__ANT_BREADCRUMB_SEPARATOR=!0;var $=v,_=function(ke,xe){var Te={};for(var ve in ke)Object.prototype.hasOwnProperty.call(ke,ve)&&xe.indexOf(ve)<0&&(Te[ve]=ke[ve]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ve=Object.getOwnPropertySymbols(ke);Dexe[De]||ve)}function O(ke,xe,Te,ve){if(Te==null)return null;const{className:De,onClick:he}=xe,Se=_(xe,["className","onClick"]),Xe=Object.assign(Object.assign({},(0,Ne.Z)(Se,{data:!0,aria:!0})),{onClick:he});return ve!==void 0?te.createElement("a",Object.assign({},Xe,{className:Ae()(`${ke}-link`,De),href:ve}),Te):te.createElement("span",Object.assign({},Xe,{className:Ae()(`${ke}-link`,De)}),Te)}function T(ke,xe){return(ve,De,he,Se,Xe)=>{if(xe)return xe(ve,De,he,Se);const et=M(ve,De);return O(ke,ve,et,Xe)}}var L=function(ke,xe){var Te={};for(var ve in ke)Object.prototype.hasOwnProperty.call(ke,ve)&&xe.indexOf(ve)<0&&(Te[ve]=ke[ve]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ve=Object.getOwnPropertySymbols(ke);De{const{prefixCls:xe,separator:Te="/",children:ve,menu:De,overlay:he,dropdownProps:Se,href:Xe}=ke,je=(qe=>{if(De||he){const Et=Object.assign({},Se);if(De){const kt=De||{},{items:Ot}=kt,sr=L(kt,["items"]);Et.menu=Object.assign(Object.assign({},sr),{items:Ot==null?void 0:Ot.map((rr,br)=>{var{key:lr,title:V,label:dt,path:I}=rr,p=L(rr,["key","title","label","path"]);let f=dt!=null?dt:V;return I&&(f=te.createElement("a",{href:`${Xe}${I}`},f)),Object.assign(Object.assign({},p),{key:lr!=null?lr:br,label:f})})})}else he&&(Et.overlay=he);return te.createElement(F.Z,Object.assign({placement:"bottom"},Et),te.createElement("span",{className:`${xe}-overlay-link`},qe,te.createElement(g.Z,null)))}return qe})(ve);return je!=null?te.createElement(te.Fragment,null,te.createElement("li",null,je),Te&&te.createElement($,null,Te)):null},R=ke=>{const{prefixCls:xe,children:Te,href:ve}=ke,De=L(ke,["prefixCls","children","href"]),{getPrefixCls:he}=te.useContext(S.E_),Se=he("breadcrumb",xe);return te.createElement(q,Object.assign({},De,{prefixCls:Se}),O(Se,De,Te,ve))};R.__ANT_BREADCRUMB_ITEM=!0;var se=R,ne=C(17313),J=C(83116),G=C(37613);const K=ke=>{const{componentCls:xe,iconCls:Te}=ke;return{[xe]:Object.assign(Object.assign({},(0,ne.Wf)(ke)),{color:ke.itemColor,fontSize:ke.fontSize,[Te]:{fontSize:ke.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ke.linkColor,transition:`color ${ke.motionDurationMid}`,padding:`0 ${ke.paddingXXS}px`,borderRadius:ke.borderRadiusSM,height:ke.lineHeight*ke.fontSize,display:"inline-block",marginInline:-ke.marginXXS,"&:hover":{color:ke.linkHoverColor,backgroundColor:ke.colorBgTextHover}},(0,ne.Qy)(ke)),"li:last-child":{color:ke.lastItemColor},[`${xe}-separator`]:{marginInline:ke.separatorMargin,color:ke.separatorColor},[`${xe}-link`]:{[` > ${Te} + span, > ${Te} + a `]:{marginInlineStart:ke.marginXXS}},[`${xe}-overlay-link`]:{borderRadius:ke.borderRadiusSM,height:ke.lineHeight*ke.fontSize,display:"inline-block",padding:`0 ${ke.paddingXXS}px`,marginInline:-ke.marginXXS,[`> ${Te}`]:{marginInlineStart:ke.marginXXS,fontSize:ke.fontSizeIcon},"&:hover":{color:ke.linkHoverColor,backgroundColor:ke.colorBgTextHover,a:{color:ke.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ke.componentCls}-rtl`]:{direction:"rtl"}})}};var le=(0,J.Z)("Breadcrumb",ke=>{const xe=(0,G.TS)(ke,{});return[K(xe)]},ke=>({itemColor:ke.colorTextDescription,lastItemColor:ke.colorText,iconFontSize:ke.fontSize,linkColor:ke.colorTextDescription,linkHoverColor:ke.colorText,separatorColor:ke.colorTextDescription,separatorMargin:ke.marginXS})),me=function(ke,xe){var Te={};for(var ve in ke)Object.prototype.hasOwnProperty.call(ke,ve)&&xe.indexOf(ve)<0&&(Te[ve]=ke[ve]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ve=Object.getOwnPropertySymbols(ke);De{var{breadcrumbName:Se}=he,Xe=me(he,["breadcrumbName"]);return Object.assign(Object.assign({},Xe),{title:Se})})}),De}function Ce(ke,xe){return(0,te.useMemo)(()=>ke||(xe?xe.map(Oe):null),[ke,xe])}var Ue=function(ke,xe){var Te={};for(var ve in ke)Object.prototype.hasOwnProperty.call(ke,ve)&&xe.indexOf(ve)<0&&(Te[ve]=ke[ve]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var De=0,ve=Object.getOwnPropertySymbols(ke);De{if(xe===void 0)return xe;let Te=(xe||"").replace(/^\//,"");return Object.keys(ke).forEach(ve=>{Te=Te.replace(`:${ve}`,ke[ve])}),Te},de=ke=>{const{prefixCls:xe,separator:Te="/",style:ve,className:De,rootClassName:he,routes:Se,items:Xe,children:et,itemRender:je,params:qe={}}=ke,Et=Ue(ke,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:kt,direction:Ot,breadcrumb:sr}=te.useContext(S.E_);let rr;const br=kt("breadcrumb",xe),[lr,V]=le(br),dt=Ce(Xe,Se),I=T(br,je);if(dt&&dt.length>0){const x=[],Y=Xe||Se;rr=dt.map((Be,H)=>{const{path:ie,key:Qe,type:ye,menu:be,overlay:ze,onClick:gt,className:fe,separator:at,dropdownProps:rt}=Be,Le=ee(qe,ie);Le!==void 0&&x.push(Le);const Fe=Qe!=null?Qe:H;if(ye==="separator")return te.createElement($,{key:Fe},at);const ct={},Tt=H===dt.length-1;be?ct.menu=be:ze&&(ct.overlay=ze);let{href:Pt}=Be;return x.length&&Le!==void 0&&(Pt=`#/${x.join("/")}`),te.createElement(q,Object.assign({key:Fe},ct,(0,Ne.Z)(Be,{data:!0,aria:!0}),{className:fe,dropdownProps:rt,href:Pt,separator:Tt?"":Te,onClick:gt,prefixCls:br}),I(Be,qe,Y,x,Pt))})}else if(et){const x=(0,P.Z)(et).length;rr=(0,P.Z)(et).map((Y,Be)=>{if(!Y)return Y;const H=Be===x-1;return(0,W.Tm)(Y,{separator:H?"":Te,key:Be})})}const p=Ae()(br,sr==null?void 0:sr.className,{[`${br}-rtl`]:Ot==="rtl"},De,he,V),f=Object.assign(Object.assign({},sr==null?void 0:sr.style),ve);return lr(te.createElement("nav",Object.assign({className:p,style:f},Et),te.createElement("ol",null,rr)))};de.Item=se,de.Separator=$;var D=de,Ye=D},24905:function(dn,Ut,C){"use strict";C.d(Ut,{default:function(){return le}});var pe=C(92310),Ae=C.n(pe),P=C(5630),Ne=C(59301),te=C(36355),W=C(1684),S=C(32441),F=Ne.createContext(null),v=C(98447),$=C(14088),_=C(4572),M=function(me,Oe){var Ce={};for(var Ue in me)Object.prototype.hasOwnProperty.call(me,Ue)&&Oe.indexOf(Ue)<0&&(Ce[Ue]=me[Ue]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,Ue=Object.getOwnPropertySymbols(me);ee{var Ce;const{prefixCls:Ue,className:ee,rootClassName:de,children:D,indeterminate:Ye=!1,style:ke,onMouseEnter:xe,onMouseLeave:Te,skipGroup:ve=!1,disabled:De}=me,he=M(me,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Se,direction:Xe,checkbox:et}=Ne.useContext(te.E_),je=Ne.useContext(F),{isFormItemInput:qe}=Ne.useContext(S.aM),Et=Ne.useContext(W.Z),kt=(Ce=(je==null?void 0:je.disabled)||De)!==null&&Ce!==void 0?Ce:Et,Ot=Ne.useRef(he.value);Ne.useEffect(()=>{je==null||je.registerValue(he.value)},[]),Ne.useEffect(()=>{if(!ve)return he.value!==Ot.current&&(je==null||je.cancelValue(Ot.current),je==null||je.registerValue(he.value),Ot.current=he.value),()=>je==null?void 0:je.cancelValue(he.value)},[he.value]);const sr=Se("checkbox",Ue),[rr,br]=(0,v.ZP)(sr),lr=Object.assign({},he);je&&!ve&&(lr.onChange=function(){he.onChange&&he.onChange.apply(he,arguments),je.toggleOption&&je.toggleOption({label:D,value:he.value})},lr.name=je.name,lr.checked=je.value.includes(he.value));const V=Ae()(`${sr}-wrapper`,{[`${sr}-rtl`]:Xe==="rtl",[`${sr}-wrapper-checked`]:lr.checked,[`${sr}-wrapper-disabled`]:kt,[`${sr}-wrapper-in-form-item`]:qe},et==null?void 0:et.className,ee,de,br),dt=Ae()({[`${sr}-indeterminate`]:Ye},_.A,br),I=Ye?"mixed":void 0;return rr(Ne.createElement($.Z,{component:"Checkbox",disabled:kt},Ne.createElement("label",{className:V,style:Object.assign(Object.assign({},et==null?void 0:et.style),ke),onMouseEnter:xe,onMouseLeave:Te},Ne.createElement(P.Z,Object.assign({"aria-checked":I},lr,{prefixCls:sr,className:dt,disabled:kt,ref:Oe})),D!==void 0&&Ne.createElement("span",null,D))))};var L=Ne.forwardRef(O),q=C(94480),R=C(2738),se=function(me,Oe){var Ce={};for(var Ue in me)Object.prototype.hasOwnProperty.call(me,Ue)&&Oe.indexOf(Ue)<0&&(Ce[Ue]=me[Ue]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,Ue=Object.getOwnPropertySymbols(me);ee{const{defaultValue:Ce,children:Ue,options:ee=[],prefixCls:de,className:D,rootClassName:Ye,style:ke,onChange:xe}=me,Te=se(me,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ve,direction:De}=Ne.useContext(te.E_),[he,Se]=Ne.useState(Te.value||Ce||[]),[Xe,et]=Ne.useState([]);Ne.useEffect(()=>{"value"in Te&&Se(Te.value||[])},[Te.value]);const je=Ne.useMemo(()=>ee.map(p=>typeof p=="string"||typeof p=="number"?{label:p,value:p}:p),[ee]),qe=p=>{et(f=>f.filter(x=>x!==p))},Et=p=>{et(f=>[].concat((0,q.Z)(f),[p]))},kt=p=>{const f=he.indexOf(p.value),x=(0,q.Z)(he);f===-1?x.push(p.value):x.splice(f,1),"value"in Te||Se(x),xe==null||xe(x.filter(Y=>Xe.includes(Y)).sort((Y,Be)=>{const H=je.findIndex(Qe=>Qe.value===Y),ie=je.findIndex(Qe=>Qe.value===Be);return H-ie}))},Ot=ve("checkbox",de),sr=`${Ot}-group`,[rr,br]=(0,v.ZP)(Ot),lr=(0,R.Z)(Te,["value","disabled"]),V=ee.length?je.map(p=>Ne.createElement(L,{prefixCls:Ot,key:p.value.toString(),disabled:"disabled"in p?p.disabled:Te.disabled,value:p.value,checked:he.includes(p.value),onChange:p.onChange,className:`${sr}-item`,style:p.style,title:p.title},p.label)):Ue,dt={toggleOption:kt,value:he,disabled:Te.disabled,name:Te.name,registerValue:Et,cancelValue:qe},I=Ae()(sr,{[`${sr}-rtl`]:De==="rtl"},D,Ye,br);return rr(Ne.createElement("div",Object.assign({className:I,style:ke},lr,{ref:Oe}),Ne.createElement(F.Provider,{value:dt},V)))},J=Ne.forwardRef(ne);var G=Ne.memo(J);const K=L;K.Group=G,K.__ANT_CHECKBOX=!0;var le=K},98447:function(dn,Ut,C){"use strict";C.d(Ut,{C2:function(){return te}});var pe=C(17313),Ae=C(37613),P=C(83116);const Ne=W=>{const{checkboxCls:S}=W,g=`${S}-wrapper`;return[{[`${S}-group`]:Object.assign(Object.assign({},(0,pe.Wf)(W)),{display:"inline-flex",flexWrap:"wrap",columnGap:W.marginXS,[`> ${W.antCls}-row`]:{flex:1}}),[g]:Object.assign(Object.assign({},(0,pe.Wf)(W)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${g}`]:{marginInlineStart:0},[`&${g}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[S]:Object.assign(Object.assign({},(0,pe.Wf)(W)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:W.borderRadiusSM,alignSelf:"center",[`${S}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${S}-inner`]:Object.assign({},(0,pe.oN)(W))},[`${S}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:W.checkboxSize,height:W.checkboxSize,direction:"ltr",backgroundColor:W.colorBgContainer,border:`${W.lineWidth}px ${W.lineType} ${W.colorBorder}`,borderRadius:W.borderRadiusSM,borderCollapse:"separate",transition:`all ${W.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:W.checkboxSize/14*5,height:W.checkboxSize/14*8,border:`${W.lineWidthBold}px solid ${W.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${W.motionDurationFast} ${W.motionEaseInBack}, opacity ${W.motionDurationFast}`}},"& + span":{paddingInlineStart:W.paddingXS,paddingInlineEnd:W.paddingXS}})},{[` diff --git a/umi.7af20bef.js b/umi.39ef55b5.js similarity index 99% rename from umi.7af20bef.js rename to umi.39ef55b5.js index 01b714f8b1..633f79e98a 100644 --- a/umi.7af20bef.js +++ b/umi.39ef55b5.js @@ -1480,6 +1480,6 @@ Schedule: ${X.map(ot=>Oa(ot))} pos: ${this.timelinePos}`),le.length&&this.log(`R `).split(` `),V=[],le=t?G4(t.baseTime,t.timescale):0;let pe="00:00.000",Ee=0,ke=0,Re,ot=!0;U.oncue=function(it){const Kt=r[a];let Jt=r.ccOffset;const ru=(Ee-le)/9e4;if(Kt!=null&&Kt.new&&(ke!==void 0?Jt=r.ccOffset=Kt.start:Fs(r,a,ru)),ru){if(!t){Re=new Error("Missing initPTS for VTT MPEGTS");return}Jt=ru-r.presentationOffset}const bu=it.endTime-it.startTime,Nu=$4((it.startTime+Jt-ke)*9e4,v*9e4)/9e4;it.startTime=Math.max(Nu,0),it.endTime=Math.max(Nu+bu,0);const or=it.text.trim();it.text=decodeURIComponent(encodeURIComponent(or)),it.id||(it.id=ol(it.startTime,it.endTime,or)),it.endTime>0&&V.push(it)},U.onparsingerror=function(it){Re=it},U.onflush=function(){if(Re){w(Re);return}b(V)},X.forEach(it=>{if(ot)if(ea(it,"X-TIMESTAMP-MAP=")){ot=!1,it.slice(16).split(",").forEach(Kt=>{ea(Kt,"LOCAL:")?pe=Kt.slice(6):ea(Kt,"MPEGTS:")&&(Ee=parseInt(Kt.slice(7)))});try{ke=xl(pe)/1e3}catch(Kt){Re=Kt}return}else it===""&&(ot=!1);U.parse(it+` `)}),U.flush()}const ta="stpp.ttml.im1t",Dl=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Cl=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,ll={left:"start",center:"center",right:"end",start:"start",end:"end"};function zo(P,t,r,a){const v=ft(new Uint8Array(P),["mdat"]);if(v.length===0){a(new Error("Could not parse IMSC1 mdat"));return}const b=v.map(U=>ee(U)),w=Ea(t.baseTime,1,t.timescale);try{b.forEach(U=>r(Rl(U,w)))}catch(U){a(U)}}function Rl(P,t){const v=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!v)throw new Error("Invalid ttml");const b={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},w=Object.keys(b).reduce((pe,Ee)=>(pe[Ee]=v.getAttribute(`ttp:${Ee}`)||b[Ee],pe),{}),U=v.getAttribute("xml:space")!=="preserve",X=zl(Wo(v,"styling","style")),V=zl(Wo(v,"layout","region")),le=Wo(v,"body","[begin]");return[].map.call(le,pe=>{const Ee=Vl(pe,U);if(!Ee||!pe.hasAttribute("begin"))return null;const ke=cl(pe.getAttribute("begin"),w),Re=cl(pe.getAttribute("dur"),w);let ot=cl(pe.getAttribute("end"),w);if(ke===null)throw Wl(pe);if(ot===null){if(Re===null)throw Wl(pe);ot=ke+Re}const it=new Al(ke-t,ot-t,Ee);it.id=ol(it.startTime,it.endTime,it.text);const Kt=V[pe.getAttribute("region")],Jt=X[pe.getAttribute("style")],ru=Ll(Kt,Jt,X),{textAlign:bu}=ru;if(bu){const Nu=ll[bu];Nu&&(it.lineAlign=Nu),it.align=bu}return y(it,ru),it}).filter(pe=>pe!==null)}function Wo(P,t,r){const a=P.getElementsByTagName(t)[0];return a?[].slice.call(a.querySelectorAll(r)):[]}function zl(P){return P.reduce((t,r)=>{const a=r.getAttribute("xml:id");return a&&(t[a]=r),t},{})}function Vl(P,t){return[].slice.call(P.childNodes).reduce((r,a,v)=>{var b;return a.nodeName==="br"&&v?r+` -`:(b=a.childNodes)!=null&&b.length?Vl(a,t):t?r+a.textContent.trim().replace(/\s+/g," "):r+a.textContent},"")}function Ll(P,t,r){const a="http://www.w3.org/ns/ttml#styling";let v=null;const b=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],w=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return w&&r.hasOwnProperty(w)&&(v=r[w]),b.reduce((U,X)=>{const V=Yl(t,a,X)||Yl(P,a,X)||Yl(v,a,X);return V&&(U[X]=V),U},{})}function Yl(P,t,r){return P&&P.hasAttributeNS(t,r)?P.getAttributeNS(t,r):null}function Wl(P){return new Error(`Could not parse ttml timestamp ${P}`)}function cl(P,t){if(!P)return null;let r=Ol(P);return r===null&&(Dl.test(P)?r=rc(P,t):Cl.test(P)&&(r=Hl(P,t))),r}function rc(P,t){const r=Dl.exec(P),a=(r[4]|0)+(r[5]|0)/t.subFrameRate;return(r[1]|0)*3600+(r[2]|0)*60+(r[3]|0)+a/t.frameRate}function Hl(P,t){const r=Cl.exec(P),a=Number(r[1]);switch(r[2]){case"h":return a*3600;case"m":return a*60;case"ms":return a*1e3;case"f":return a/t.frameRate;case"t":return a/t.tickRate}return a}class Ml{constructor(t,r){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=r}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,r,a){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=r,this.screen=a,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class nc{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=_(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ml(this,"textTrack1"),r=new Ml(this,"textTrack2"),a=new Ml(this,"textTrack3"),v=new Ml(this,"textTrack4");this.cea608Parser1=new Es(1,t,r),this.cea608Parser2=new Es(3,a,v)}addCues(t,r,a,v,b){let w=!1;for(let U=b.length;U--;){const X=b[U],V=Zl(X[0],X[1],r,a);if(V>=0&&(X[0]=Math.min(X[0],r),X[1]=Math.max(X[1],a),w=!0,V/(a-r)>.5))return}if(w||b.push([r,a]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,r,a,v)}else{const U=this.Cues.newCue(null,r,a,v);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:r,id:a,initPTS:v,timescale:b,trackId:w}){const{unparsedVttFrags:U}=this;a===o.MAIN&&(this.initPTS[r.cc]={baseTime:v,timescale:b,trackId:w}),U.length&&(this.unparsedVttFrags=[],U.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(s.FRAG_LOADED,X):this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,r){const{media:a}=this;if(a)for(let v=0;v{si(v[b]),delete v[b]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=_(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const r=t.textTracks;if(r)for(let a=0;ab.textCodec===ta);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Ko(this.tracks,a)){this.tracks=a;return}if(this.textTracks=[],this.tracks=a,this.config.renderTextTracksNatively){const w=this.media,U=w?qs(w.textTracks):null;if(this.tracks.forEach((X,V)=>{let le;if(U){let pe=null;for(let Ee=0;EeV!==null).map(V=>V.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const w=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:w})}}}onManifestLoaded(t,r){this.config.enableCEA708Captions&&r.captions&&r.captions.forEach(a=>{const v=/(?:CC|SERVICE)([1-4])/.exec(a.instreamId);if(!v)return;const b=`textTrack${v[1]}`,w=this.captionsProperties[b];w&&(w.label=a.name,a.lang&&(w.languageCode=a.lang),w.media=a)})}closedCaptionsForLevel(t){const r=this.hls.levels[t.level];return r==null?void 0:r.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,r){if(this.enabled&&r.frag.type===o.MAIN){var a,v;const{cea608Parser1:b,cea608Parser2:w,lastSn:U}=this,{cc:X,sn:V}=r.frag,le=(a=(v=r.part)==null?void 0:v.index)!=null?a:-1;b&&w&&(V!==U+1||V===U&&le!==this.lastPartIndex+1||X!==this.lastCc)&&(b.reset(),w.reset()),this.lastCc=X,this.lastSn=V,this.lastPartIndex=le}}onFragLoaded(t,r){const{frag:a,payload:v}=r;if(a.type===o.SUBTITLE)if(v.byteLength){const b=a.decryptdata,w="stats"in r;if(b==null||!b.encrypted||w){const U=this.tracks[a.level],X=this.vttCCs;X[a.cc]||(X[a.cc]={start:a.start,prevCC:this.prevCC,new:!0},this.prevCC=a.cc),U&&U.textCodec===ta?this._parseIMSC1(a,v):this._parseVTTs(r)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:a,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,r){const a=this.hls;zo(r,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),a.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{a.logger.log(`Failed to parse IMSC1: ${v}`),a.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var r;const{frag:a,payload:v}=t,{initPTS:b,unparsedVttFrags:w}=this,U=b.length-1;if(!b[a.cc]&&U===-1){w.push(t);return}const X=this.hls,V=(r=a.initSegment)!=null&&r.data?Zt(a.initSegment.data,new Uint8Array(v)).buffer:v;Uo(V,this.initPTS[a.cc],this.vttCCs,a.cc,a.start,le=>{this._appendCues(le,a.level),X.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:a})},le=>{const pe=le.message==="Missing initPTS for VTT MPEGTS";pe?w.push(t):this._fallbackToIMSC1(a,v),X.logger.log(`Failed to parse VTT cue: ${le}`),!(pe&&U>a.cc)&&X.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:a,error:le})})}_fallbackToIMSC1(t,r){const a=this.tracks[t.level];a.textCodec||zo(r,this.initPTS[t.cc],()=>{a.textCodec=ta,this._parseIMSC1(t,r)},()=>{a.textCodec="wvtt"})}_appendCues(t,r){const a=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[r];if(!v||v.mode==="disabled")return;t.forEach(b=>z4(v,b))}else{const v=this.tracks[r];if(!v)return;const b=v.default?"default":"subtitles"+r;a.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:b})}}onFragDecrypted(t,r){const{frag:a}=r;a.type===o.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,r)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,r){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:a,samples:v}=r;if(!(a.type===o.MAIN&&this.closedCaptionsForLevel(a)==="NONE"))for(let b=0;bB4(U[X],r,a))}if(this.config.renderTextTracksNatively&&r===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(X=>B4(U[X],r,v))}}}extractCea608Data(t){const r=[[],[]],a=t[0]&31;let v=2;for(let b=0;b=16?X--:X++;const ke=as(V.trim()),Re=ol(t,r,ke);P!=null&&(pe=P.cues)!=null&&pe.getCueById(Re)||(w=new le(t,r,ke),w.id=Re,w.line=Ee+1,w.align="left",w.position=10+Math.min(80,Math.floor(X*8/32)*10),v.push(w))}return P&&v.length&&(v.sort((Ee,ke)=>Ee.line==="auto"||ke.line==="auto"?0:Ee.line>8&&ke.line>8?ke.line-Ee.line:Ee.line-ke.line),v.forEach(Ee=>z4(P,Ee))),v}};function _e(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Ie=/(\d+)-(\d+)\/(\d+)/;class rt{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||pr,this.controller=new self.AbortController,this.stats=new j}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,r,a){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const b=Mt(t,this.controller.signal),w=t.responseType==="arraybuffer",U=w?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:V}=r.loadPolicy;this.context=t,this.config=r,this.callbacks=a,this.request=this.fetchSetup(t,b),self.clearTimeout(this.requestTimeout),r.timeout=X&&u(X)?X:V,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},r.timeout),(n4(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const ke=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),r.timeout=V,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},V-(ke-v.loading.start)),!pe.ok){const{status:ot,statusText:it}=pe;throw new Nn(it||"fetch, bad network response",ot,pe)}v.loading.first=ke,v.total=Su(pe.headers)||v.total;const Re=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Re&&u(r.highWaterMark)?this.loadProgressively(pe,v,t,r.highWaterMark,Re):w?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,ke;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const ot=pe[U];ot&&(v.loaded=v.total=ot);const it={url:Re.url,data:pe,code:Re.status},Kt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Kt&&!u(r.highWaterMark)&&Kt(v,t,pe,Re),(ke=this.callbacks)==null||ke.onSuccess(it,v,t,Re)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const ke=pe&&pe.code||0,Re=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:ke,text:Re},t,pe?pe.details:null,v)})}getCacheAge(){let t=null;if(this.response){const r=this.response.headers.get("age");t=r?parseFloat(r):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,r,a,v=0,b){const w=new Eu,U=t.body.getReader(),X=()=>U.read().then(V=>{if(V.done)return w.dataLength&&b(r,a,w.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const le=V.value,pe=le.length;return r.loaded+=pe,pe=v&&b(r,a,w.flush().buffer,t)):b(r,a,le.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Mt(P,t){const r={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&r.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),r}function ou(P){const t=Ie.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Su(P){const t=P.get("Content-Range");if(t){const a=ou(t);if(u(a))return a}const r=P.get("Content-Length");if(r)return parseInt(r)}function pr(P,t){return new self.Request(P.url,t)}class Nn extends Error{constructor(t,r,a){super(t),this.code=void 0,this.details=void 0,this.code=r,this.details=a}}const K0=/^age:\s*[\d.]+\s*$/im;class $r{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new j,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,r,a){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=r,this.callbacks=a,this.loadInternal()}loadInternal(){const{config:t,context:r}=this;if(!t||!r)return;const a=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const b=this.xhrSetup;b?Promise.resolve().then(()=>{if(!(this.loader!==a||this.stats.aborted))return b(a,r.url)}).catch(w=>{if(!(this.loader!==a||this.stats.aborted))return a.open("GET",r.url,!0),b(a,r.url)}).then(()=>{this.loader!==a||this.stats.aborted||this.openAndSendXhr(a,r,t)}).catch(w=>{var U;(U=this.callbacks)==null||U.onError({code:a.status,text:w.message},r,a,v)}):this.openAndSendXhr(a,r,t)}openAndSendXhr(t,r,a){t.readyState||t.open("GET",r.url,!0);const v=r.headers,{maxTimeToFirstByteMs:b,maxLoadTimeMs:w}=a.loadPolicy;if(v)for(const U in v)t.setRequestHeader(U,v[U]);r.rangeEnd&&t.setRequestHeader("Range","bytes="+r.rangeStart+"-"+(r.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=r.responseType,self.clearTimeout(this.requestTimeout),a.timeout=b&&u(b)?b:w,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),a.timeout),t.send()}readystatechange(){const{context:t,loader:r,stats:a}=this;if(!t||!r)return;const v=r.readyState,b=this.config;if(!a.aborted&&v>=2&&(a.loading.first===0&&(a.loading.first=Math.max(self.performance.now(),a.loading.start),b.timeout!==b.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),b.timeout=b.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),b.loadPolicy.maxLoadTimeMs-(a.loading.first-a.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),r.onreadystatechange=null,r.onprogress=null;const V=r.status,le=r.responseType==="text"?r.responseText:null;if(V>=200&&V<300){const Re=le!=null?le:r.response;if(Re!=null){var w,U;a.loading.end=Math.max(self.performance.now(),a.loading.first);const ot=r.responseType==="arraybuffer"?Re.byteLength:Re.length;a.loaded=a.total=ot,a.bwEstimate=a.total*8e3/(a.loading.end-a.loading.first);const it=(w=this.callbacks)==null?void 0:w.onProgress;it&&it(a,t,Re,r);const Kt={url:r.responseURL,data:Re,code:V};(U=this.callbacks)==null||U.onSuccess(Kt,a,t,r);return}}const pe=b.loadPolicy.errorRetry,Ee=a.retry,ke={url:t.url,data:void 0,code:V};if(lr(pe,Ee,!1,ke))this.retry(pe);else{var X;G.error(`${V} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:V,text:r.statusText},t,r,a)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,r=this.stats.retry;if(lr(t,r,!0))this.retry(t);else{var a;G.warn(`timeout while loading ${(a=this.context)==null?void 0:a.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:r,stats:a}=this;this.retryDelay=Yr(t,a.retry),a.retry++,G.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${r==null?void 0:r.url}, retrying ${a.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const r=this.stats;r.loaded=t.loaded,t.lengthComputable&&(r.total=t.total)}getCacheAge(){let t=null;if(this.loader&&K0.test(this.loader.getAllResponseHeaders())){const r=this.loader.getResponseHeader("age");t=r?parseFloat(r):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const g0={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},V0=E(E({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:$r,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Je,bufferController:s4,capLevelController:As,errorController:Qr,fpsController:mi,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:ha,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:g0},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},N0()),{},{subtitleStreamController:Cs,subtitleTrackController:Mo,timelineController:nc,audioStreamController:$o,audioTrackController:Ss,emeController:Pe,cmcdController:El,contentSteeringController:T,interstitialsController:bl});function N0(){return{cueHandler:z,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function Qu(P,t,r){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const a=Mu(P),v=["manifest","level","frag"],b=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(w=>{const U=`${w==="level"?"playlist":w}LoadPolicy`,X=t[U]===void 0,V=[];b.forEach(le=>{const pe=`${w}Loading${le}`,Ee=t[pe];if(Ee!==void 0&&X){V.push(pe);const ke=a[U].default;switch(t[U]={default:ke},le){case"TimeOut":ke.maxLoadTimeMs=Ee,ke.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":ke.errorRetry.maxNumRetry=Ee,ke.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":ke.errorRetry.retryDelayMs=Ee,ke.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":ke.errorRetry.maxRetryDelayMs=Ee,ke.timeoutRetry.maxRetryDelayMs=Ee;break}}}),V.length&&r.warn(`hls.js config: "${V.join('", "')}" setting(s) are deprecated, use "${U}": ${n0(t[U])}`)}),E(E({},a),t)}function Mu(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Mu):Object.keys(P).reduce((t,r)=>(t[r]=Mu(P[r]),t),{}):P}function $u(P,t){const r=P.loader;r!==rt&&r!==$r?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):_e()&&(P.loader=rt,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Tr=2,Nr=.1,J0=.05,Xn=100;class ei extends Hr{constructor(t,r){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var a;(a=this.media)!=null&&a.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var a;this.ended=((a=this.media)==null?void 0:a.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=r,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,r){this.setInterval(Xn),this.mediaSource=r.mediaSource;const a=this.media=r.media;$0(a,"playing",this.onMediaPlaying),$0(a,"waiting",this.onMediaWaiting),$0(a,"ended",this.onMediaEnded)}onMediaDetaching(t,r){this.clearInterval();const{media:a}=this;a&&(ci(a,"playing",this.onMediaPlaying),ci(a,"waiting",this.onMediaWaiting),ci(a,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,r){this.buffered=r.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const r=this.media.currentTime;this.poll(r,this.lastCurrentTime),this.lastCurrentTime=r}poll(t,r){var a,v;const b=(a=this.hls)==null?void 0:a.config;if(!b)return;const w=this.media;if(!w)return;const{seeking:U}=w,X=this.seeking&&!U,V=!this.seeking&&U,le=w.paused&&!U||w.ended||w.playbackRate===0;if(this.seeking=U,t!==r){r&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,b.nudgeOnVideoHole&&!le&&t>r&&this.nudgeOnVideoHole(t,r)),this.waiting===0&&this.stallResolved(t);return}if(V||X){X&&this.stallResolved(t);return}if(le){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&w.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!sr.getBuffered(w).length){this.nudgeRetry=0;return}const pe=sr.bufferInfo(w,t,0),Ee=pe.nextStart||0,ke=this.fragmentTracker;if(U&&ke&&this.hls){const or=vi(this.hls.inFlightFragments,t),ju=pe.len>Tr,er=!Ee||or||Ee-t>Tr&&!ke.getPartialFragment(t);if(ju||er)return;this.moved=!1}const Re=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ke){if(!(pe.len>0)&&!Ee)return;const ju=Math.max(Ee,pe.start||0)-t,Ju=!!(Re!=null&&Re.live)?Re.targetduration*2:Tr,zu=Ns(t,ke);if(ju>0&&(ju<=Ju||zu)){w.paused||this._trySkipBufferHole(zu);return}}const ot=b.detectStallWithCurrentTimeMs,it=self.performance.now(),Kt=this.waiting;let Jt=this.stalled;if(Jt===null)if(Kt>0&&it-Kt=ot||Kt)&&this.hls){var bu;if(((bu=this.mediaSource)==null?void 0:bu.readyState)==="ended"&&!(Re!=null&&Re.live)&&Math.abs(t-((Re==null?void 0:Re.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Nu=sr.bufferInfo(w,t,b.maxBufferHole);this._tryFixBufferStall(Nu,ru,t)}stallResolved(t){const r=this.stalled;if(r&&this.hls&&(this.stalled=null,this.stallReported)){const a=self.performance.now()-r;this.log(`playback not stuck anymore @${t}, after ${Math.round(a)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,r){var a;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(a=this.buffered.audio)!=null&&a.length&&v&&v.length>1&&t>v.end(0)){const b=sr.bufferedInfo(sr.timeRangesToArray(this.buffered.audio),t,0);if(b.len>1&&r>=b.start){const w=sr.timeRangesToArray(v),U=sr.bufferedInfo(w,r,0).bufferedIndex;if(U>-1&&UU)&&le-V<1&&t-V<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${V} -> ${le} buffered index: ${X}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Ns(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const ke=sr.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:d.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:ke.len,bufferInfo:ke})}}}}}_tryFixBufferStall(t,r,a){var v,b;const{fragmentTracker:w,media:U}=this,X=(v=this.hls)==null?void 0:v.config;if(!U||!w||!X)return;const V=(b=this.hls)==null?void 0:b.latestLevelDetails,le=Ns(a,w);if((le||V!=null&&V.live&&a1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-aX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,r){const a=this.fragmentTracker,v=t.nextStart;if(a&&v){const b=a.getFragAtPos(r,o.MAIN),w=a.getFragAtPos(v,o.MAIN);if(b&&w)return w.sn-b.sn<2}return!1}_reportStall(t){const{hls:r,media:a,stallReported:v,stalled:b}=this;if(!v&&b!==null&&a&&r){this.stallReported=!0;const w=new Error(`Playback stalling at @${a.currentTime} due to low buffer (${n0(t)})`);this.warn(w.message),r.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:d.BUFFER_STALLED_ERROR,fatal:!1,error:w,buffer:t.len,bufferInfo:t,stalled:{start:b}})}}_trySkipBufferHole(t){var r;const{fragmentTracker:a,media:v}=this,b=(r=this.hls)==null?void 0:r.config;if(!v||!a||!b)return 0;const w=v.currentTime,U=sr.bufferInfo(v,w,0),X=w0&&U.len<1&&v.readyState<3,Ee=X-w;if(Ee>0&&(le||pe)){if(Ee>b.maxBufferHole){let Re=!1;if(w===0){const ot=a.getAppendedFrag(0,o.MAIN);ot&&X{const P=ac();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Ac{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,r){var a;this.media=r.media,((a=r.overrides)==null?void 0:a.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const r=(t=this.hls)==null?void 0:t.latestLevelDetails;r&&this.updateDateRangeCues(r)}onMediaDetaching(t,r){this.media=null,!r.transferMedia&&(this.id3Track&&(this.removeCues&&si(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const r=this.getID3Track(t.textTracks);return r.mode="hidden",r}getID3Track(t){if(this.media){for(let r=0;rJl&&(pe=Jl),pe-le<=0&&(pe=le+ic);for(let ke=0;kele.type===ln.audioId3&&X:v==="video"?V=le=>le.type===ln.emsg&&U:V=le=>le.type===ln.audioId3&&X||le.type===ln.emsg&&U,B4(b,r,a,V)}}onLevelUpdated(t,{details:r}){this.updateDateRangeCues(r,!0)}onLevelPtsUpdated(t,r){Math.abs(r.drift)>.01&&this.updateDateRangeCues(r.details)}updateDateRangeCues(t,r){if(!this.hls||!this.media)return;const{assetPlayerId:a,timelineOffset:v,enableDateRangeMetadataCues:b,interstitialsController:w}=this.hls.config;if(!b)return;const U=ac();if(a&&v&&!w){const{fragmentStart:ot,fragmentEnd:it}=t;let Kt=this.assetCue;Kt?(Kt.startTime=ot,Kt.endTime=it):U&&(Kt=this.assetCue=sc(U,ot,it,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Kt&&(Kt.id=a,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Kt),Kt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:V}=t,le=Object.keys(V);let pe=this.dateRangeCuesAppended;if(X&&r){var Ee;if((Ee=X.cues)!=null&&Ee.length){const ot=Object.keys(pe).filter(it=>!le.includes(it));for(let it=ot.length;it--;){var ke;const Kt=ot[it],Jt=(ke=pe[Kt])==null?void 0:ke.cues;delete pe[Kt],Jt&&Object.keys(Jt).forEach(ru=>{const bu=Jt[ru];if(bu){bu.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(bu)}catch(Nu){}}})}}else pe=this.dateRangeCuesAppended={}}const Re=t.fragments[t.fragments.length-1];if(!(le.length===0||!u(Re==null?void 0:Re.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ot=0;ot{if(wn!==Kt.id){const u0=V[wn];if(u0.class===Kt.class&&u0.startDate>Kt.startDate&&(!Ir||Kt.startDate.01&&(wn.startTime=Jt,wn.endTime=or);else if(U){let u0=Kt.attr[Ir];W4(Ir)&&(u0=K(u0));const r0=sc(U,Jt,or,{key:Ir,data:u0},ln.dateRange);r0&&(r0.id=it,this.id3Track.addCue(r0),bu[Ir]=r0,w&&(Ir==="X-ASSET-LIST"||Ir==="X-ASSET-URL")&&r0.addEventListener("enter",this.onEventCueEnter))}}pe[it]={cues:bu,dateRange:Kt,durationKnown:Nu}}}}}class xc{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:r}=this,a=this.levelDetails;if(!r||!a)return;this.currentTime=r.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:b,maxLiveSyncPlaybackRate:w}=this.config;if(!b||w===1||!a.live)return;const U=this.targetLatency;if(U===null)return;const X=v-U,V=Math.min(this.maxLatency,U+a.targetduration);if(X.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,w)),Ee=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,ke=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(r,ke)}else r.playbackRate!==1&&r.playbackRate!==0&&this.changeMediaPlaybackRate(r,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const r=this.levelDetails;return r?t.liveMaxLatencyDurationCount*r.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:r,partHoldBack:a,targetduration:v}=t,{liveSyncDuration:b,liveSyncDurationCount:w,lowLatencyMode:U}=this.config,X=this.hls.userConfig;let V=U&&a||r;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||V===0)&&(V=b!==void 0?b:w*v);const le=v;return V+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,le)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),r=this.targetLatency;if(t===null||r===null)return null;const a=this.levelDetails;if(a===null)return null;const v=a.edge,b=t-r-this.edgeStalled,w=v-a.totalduration,U=v-(this.config.lowLatencyMode&&a.partTarget||a.targetduration);return Math.min(Math.max(w,b),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const r=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-r,0)}get forwardBufferLength(){const{media:t}=this,r=this.levelDetails;if(!t||!r)return 0;const a=t.buffered.length;return(a?t.buffered.end(a-1):r.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,r){this.media=r.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:r}){r.advanced&&this.onTimeupdate(),!r.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,r){var a;r.details===d.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(a=this.levelDetails)!=null&&a.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,r){var a,v;t.playbackRate!==r&&((a=this.hls)==null||a.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${r}`),t.playbackRate=r)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Dc extends _4{constructor(t,r){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=r,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(r=>{r.loadError=0,r.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,r){this.resetLevels()}onManifestLoaded(t,r){const a=this.hls.config.preferManagedMediaSource,v=[],b={},w={};let U=!1,X=!1,V=!1;r.levels.forEach(le=>{const pe=le.attrs;let{audioCodec:Ee,videoCodec:ke}=le;Ee&&(le.audioCodec=Ee=_t(Ee,a)||void 0),ke&&(ke=le.videoCodec=Iu(ke));const{width:Re,height:ot,unknownCodecs:it}=le,Kt=(it==null?void 0:it.length)||0;if(U||(U=!!(Re&&ot)),X||(X=!!ke),V||(V=!!Ee),Kt||Ee&&!this.isAudioSupported(Ee)||ke&&!this.isVideoSupported(ke)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:Jt,"FRAME-RATE":ru,"HDCP-LEVEL":bu,"PATHWAY-ID":Nu,RESOLUTION:or,"VIDEO-RANGE":ju}=pe,Ju=`${`${Nu||"."}-`}${le.bitrate}-${or}-${ru}-${Jt}-${ju}-${bu}`;if(b[Ju])if(b[Ju].uri!==le.url&&!le.attrs["PATHWAY-ID"]){const zu=w[Ju]+=1;le.attrs["PATHWAY-ID"]=new Array(zu+1).join(".");const Ir=this.createLevel(le);b[Ju]=Ir,v.push(Ir)}else b[Ju].addGroupId("audio",pe.AUDIO),b[Ju].addGroupId("text",pe.SUBTITLES);else{const zu=this.createLevel(le);b[Ju]=zu,w[Ju]=1,v.push(zu)}}),this.filterAndSortMediaOptions(v,r,U,X,V)}createLevel(t){const r=new Gn(t),a=t.supplemental;if(a!=null&&a.videoCodec&&!this.isVideoSupported(a.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${a.videoCodec}"`);this.log(v.message),r.supportedResult=Dt(v,[])}return r}isAudioSupported(t){return De(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return De(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,r,a,v,b){var w;let U=[],X=[],V=t;const le=((w=r.stats)==null?void 0:w.parsing)||{};if((a||v)&&b&&(V=V.filter(({videoCodec:Jt,videoRange:ru,width:bu,height:Nu})=>(!!Jt||!!(bu&&Nu))&&Rn(ru))),V.length===0){Promise.resolve().then(()=>{if(this.hls){let Jt="no level with compatible codecs found in manifest",ru=Jt;r.levels.length&&(ru=`one or more CODECS in variant not supported: ${n0(r.levels.map(Nu=>Nu.attrs.CODECS).filter((Nu,or,ju)=>ju.indexOf(Nu)===or))}`,this.warn(ru),Jt+=` (${ru})`);const bu=new Error(Jt);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:d.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:r.url,error:bu,reason:ru})}}),le.end=performance.now();return}r.audioTracks&&(U=r.audioTracks.filter(Jt=>!Jt.audioCodec||this.isAudioSupported(Jt.audioCodec)),fc(U)),r.subtitles&&(X=r.subtitles,fc(X));const pe=V.slice(0);V.sort((Jt,ru)=>{if(Jt.attrs["HDCP-LEVEL"]!==ru.attrs["HDCP-LEVEL"])return(Jt.attrs["HDCP-LEVEL"]||"")>(ru.attrs["HDCP-LEVEL"]||"")?1:-1;if(a&&Jt.height!==ru.height)return Jt.height-ru.height;if(Jt.frameRate!==ru.frameRate)return Jt.frameRate-ru.frameRate;if(Jt.videoRange!==ru.videoRange)return Xr.indexOf(Jt.videoRange)-Xr.indexOf(ru.videoRange);if(Jt.videoCodec!==ru.videoCodec){const bu=Ae(Jt.videoCodec),Nu=Ae(ru.videoCodec);if(bu!==Nu)return Nu-bu}if(Jt.uri===ru.uri&&Jt.codecSet!==ru.codecSet){const bu=ht(Jt.codecSet),Nu=ht(ru.codecSet);if(bu!==Nu)return Nu-bu}return Jt.averageBitrate!==ru.averageBitrate?Jt.averageBitrate-ru.averageBitrate:0});let Ee=pe[0];if(this.steering&&(V=this.steering.filterParsedLevels(V),V.length!==pe.length)){for(let Jt=0;Jtbu&&bu===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Nu)}break}const Re=b&&!v,ot=this.hls.config,it=!!(ot.audioStreamController&&ot.audioTrackController),Kt={levels:V,audioTracks:U,subtitleTracks:X,sessionData:r.sessionData,sessionKeys:r.sessionKeys,firstLevel:this._firstLevel,stats:r.stats,audio:b,video:v,altAudio:it&&!Re&&U.some(Jt=>!!Jt.url)};le.end=performance.now(),this.hls.trigger(s.MANIFEST_PARSED,Kt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const r=this._levels;if(r.length===0)return;if(t<0||t>=r.length){const le=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:d.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:le,reason:le.message}),pe)return;t=Math.min(t,r.length-1)}const a=this.currentLevelIndex,v=this.currentLevel,b=v?v.attrs["PATHWAY-ID"]:void 0,w=r[t],U=w.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=w,a===t&&v&&b===U)return;this.log(`Switching to level ${t} (${w.height?w.height+"p ":""}${w.videoRange?w.videoRange+" ":""}${w.codecSet?w.codecSet+" ":""}@${w.bitrate})${U?" with Pathway "+U:""} from level ${a}${b?" with Pathway "+b:""}`);const X={level:t,attrs:w.attrs,details:w.details,bitrate:w.bitrate,averageBitrate:w.averageBitrate,maxBitrate:w.maxBitrate,realBitrate:w.realBitrate,width:w.width,height:w.height,codecSet:w.codecSet,audioCodec:w.audioCodec,videoCodec:w.videoCodec,audioGroups:w.audioGroups,subtitleGroups:w.subtitleGroups,loaded:w.loaded,loadError:w.loadError,fragmentError:w.fragmentError,name:w.name,id:w.id,uri:w.uri,url:w.url,urlId:0,audioGroupIds:w.audioGroupIds,textGroupIds:w.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,X);const V=w.details;if(!V||V.live){const le=this.switchParams(w.uri,v==null?void 0:v.details,V);this.loadPlaylist(le)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const r=this.steering.pathways(),a=t.filter(v=>r.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${r}`);return}this.steering.pathwayPriority=a}}onError(t,r){r.fatal||!r.context||r.context.type===h.LEVEL&&r.context.level===this.level&&this.checkRetry(r)}onFragBuffered(t,{frag:r}){if(r!==void 0&&r.type===o.MAIN){const a=r.elementaryStreams;if(!Object.keys(a).some(b=>!!a[b]))return;const v=this._levels[r.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,r){var a;const{level:v,details:b}=r,w=r.levelInfo;if(!w){var U;this.warn(`Invalid level index ${v}`),(U=r.deliveryDirectives)!=null&&U.skip&&(b.deltaUpdateFailed=!0);return}if(w===this.currentLevel||r.withoutMultiVariant){w.fragmentError===0&&(w.loadError=0);let X=w.details;X===r.details&&X.advanced&&(X=void 0),this.playlistLoaded(v,r,X)}else(a=r.deliveryDirectives)!=null&&a.skip&&(b.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,r){super.loadingPlaylist(t,r);const a=this.getUrlWithDirectives(t.uri,r),v=this.currentLevelIndex,b=t.attrs["PATHWAY-ID"],w=t.details,U=w==null?void 0:w.age;this.log(`Loading level index ${v}${(r==null?void 0:r.msn)!==void 0?" at sn "+r.msn+" part "+r.part:""}${b?" Pathway "+b:""}${U&&w.live?" age "+U.toFixed(1)+(w.type?" "+w.type||0:""):""} ${a}`),this.hls.trigger(s.LEVEL_LOADING,{url:a,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:r||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var r;if(this._levels.length===1)return;const a=this._levels.filter((b,w)=>w!==t?!0:(this.steering&&this.steering.removeLevel(b),b===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,b.details&&b.details.fragments.forEach(U=>U.level=-1)),!1));di(a),this._levels=a,this.currentLevelIndex>-1&&(r=this.currentLevel)!=null&&r.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=a.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(s.LEVELS_UPDATED,{levels:a})}onLevelsUpdated(t,{levels:r}){this._levels=r}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:r,maxHdcpLevel:a}=this.hls;this._maxAutoLevel!==r&&(this._maxAutoLevel=r,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:r,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:a}))}}function fc(P){const t={};P.forEach(r=>{const a=r.groupId||"";r.id=t[a]=t[a]||0,t[a]++})}function hc(){return self.SourceBuffer||self.WebKitSourceBuffer}function pc(){if(!ae())return!1;const t=hc();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Cc(){if(!pc())return!1;const P=ae();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(Ue(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(Ue(t,"audio"))))}function Fc(){var P;const t=hc();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const mc=100;class vc extends Lt{constructor(t,r,a){super(t,r,a,"stream-controller",o.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,b=v?v.currentTime:null;if(b===null||!u(b)||(this.log(`Media seeked to ${b.toFixed(3)}`),!this.getBufferedFrag(b)))return;const w=this.getFwdBufferInfoAtPos(v,b,o.MAIN,0);if(w===null||w.len===0){this.warn(`Main forward buffer length at ${b} on "seeked" event ${w?w.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,r){if(this.levels){const{lastCurrentTime:a,hls:v}=this;if(this.stopLoad(),this.setInterval(mc),this.level=-1,!this.startFragRequested){let b=v.startLevel;b===-1&&(v.config.testBandwidth&&this.levels.length>1?(b=0,this.bitrateTest=!0):b=v.firstAutoLevel),v.nextLoadLevel=b,this.level=v.loadLevel,this._hasEnoughToStart=!!r}a>0&&t===-1&&!r&&(this.log(`Override startPosition with lastCurrentTime @${a.toFixed(3)}`),t=a),this.state=Te.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=r?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Te.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Te.WAITING_LEVEL:{const{levels:t,level:r}=this,a=t==null?void 0:t[r],v=a==null?void 0:a.details;if(v&&(!v.live||this.levelLastLoaded===a&&!this.waitForLive(a))){if(this.waitForCdnTuneIn(v))break;this.state=Te.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Te.IDLE;break}break}case Te.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Te.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:r,levels:a,media:v}=this;if(r===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const b=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(a!=null&&a[b]))return;const w=a[b],U=this.getMainFwdBufferInfo();if(U===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(U,X)){const ot={};this.altAudio===2&&(ot.type="video"),this.hls.trigger(s.BUFFER_EOS,ot),this.state=Te.ENDED;return}if(!this.buffering)return;t.loadLevel!==b&&t.manualLevel===-1&&this.log(`Adapting to level ${b} from level ${this.level}`),this.level=t.nextLoadLevel=b;const V=w.details;if(!V||this.state===Te.WAITING_LEVEL||this.waitForLive(w)){this.level=b,this.state=Te.WAITING_LEVEL,this.startFragRequested=!1;return}const le=U.len,pe=this.getMaxBufferLength(w.maxBitrate);if(le>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:U.end;let ke=this.getNextFragment(Ee,V);if(this.couldBacktrack&&!this.fragPrevious&&ke&&Fe(ke)&&this.fragmentTracker.getState(ke)!==Dr.OK){var Re;const it=((Re=this.backtrackFragment)!=null?Re:ke).sn-V.startSN,Kt=V.fragments[it-1];Kt&&ke.cc===Kt.cc&&(ke=Kt,this.fragmentTracker.removeFragment(Kt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(ke&&this.isLoopLoading(ke,Ee)){if(!ke.gap){const it=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Kt=(it===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Kt&&this.afterBufferFlushed(Kt,it,o.MAIN)}ke=this.getNextFragmentLoopLoading(ke,V,U,o.MAIN,pe)}ke&&(ke.initSegment&&!ke.initSegment.data&&!this.bitrateTest&&(ke=ke.initSegment),this.loadFragment(ke,w,Ee))}loadFragment(t,r,a){const v=this.fragmentTracker.getState(t);v===Dr.NOT_LOADED||v===Dr.PARTIAL?Fe(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,r)):super.loadFragment(t,r,a):this._loadInitSegment(t,r):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,o.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:r}=this;if(r!=null&&r.readyState){let a;const v=this.getAppendedFrag(r.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const b=this.getLevelDetails();if(b!=null&&b.live){const U=this.getMainFwdBufferInfo();if(!U||U.len=w-r.maxFragLookUpTolerance&&b<=U;if(v!==null&&a.duration>v&&(b{this.hls&&this.hls.trigger(s.AUDIO_TRACK_SWITCHED,r)}),a.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}a.trigger(s.AUDIO_TRACK_SWITCHED,r)}}onAudioTrackSwitched(t,r){const a=nt(r.url,this.hls);if(a){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=a?2:0,this.tick()}onBufferCreated(t,r){const a=r.tracks;let v,b,w=!1;for(const U in a){const X=a[U];if(X.id==="main"){if(b=U,v=X,U==="video"){const V=a[U];V&&(this.videoBuffer=V.buffer)}}else w=!0}w&&v?(this.log(`Alternate track found, use ${b}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,r){const{frag:a,part:v}=r,b=a.type===o.MAIN;if(b){if(this.fragContextChanged(a)){this.warn(`Fragment ${a.sn}${v?" p: "+v.index:""} of level ${a.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Te.PARSED&&(this.state=Te.IDLE);return}const U=v?v.stats:a.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Fe(a)&&(this.fragPrevious=a),this.fragBufferedComplete(a,v)}const w=this.media;w&&(!this._hasEnoughToStart&&sr.getBuffered(w).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),b&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,r){var a;if(r.fatal){this.state=Te.ERROR;return}switch(r.details){case d.FRAG_GAP:case d.FRAG_PARSING_ERROR:case d.FRAG_DECRYPT_ERROR:case d.FRAG_LOAD_ERROR:case d.FRAG_LOAD_TIMEOUT:case d.KEY_LOAD_ERROR:case d.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(o.MAIN,r);break;case d.LEVEL_LOAD_ERROR:case d.LEVEL_LOAD_TIMEOUT:case d.LEVEL_PARSING_ERROR:!r.levelRetry&&this.state===Te.WAITING_LEVEL&&((a=r.context)==null?void 0:a.type)===h.LEVEL&&(this.state=Te.IDLE);break;case d.BUFFER_ADD_CODEC_ERROR:case d.BUFFER_APPEND_ERROR:if(r.parent!=="main")return;this.reduceLengthAndFlushBuffer(r)&&this.resetLoadingState();break;case d.BUFFER_FULL_ERROR:if(r.parent!=="main")return;this.reduceLengthAndFlushBuffer(r)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case d.INTERNAL_EXCEPTION:this.recoverWorkerError(r);break}}onFragLoadEmergencyAborted(){this.state=Te.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:r}){if(r!==ie.AUDIO||!this.altAudio){const a=(r===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;a&&(this.afterBufferFlushed(a,r,o.MAIN),this.tick())}}onLevelsUpdated(t,r){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=r.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const r=t.currentTime;let a=this.startPosition;if(a>=0&&r0&&(X{const{hls:v}=this,b=a==null?void 0:a.frag;if(!b||this.fragContextChanged(b))return;r.fragmentError=0,this.state=Te.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const w=b.stats;w.parsing.start=w.parsing.end=w.buffering.start=w.buffering.end=self.performance.now(),v.trigger(s.FRAG_LOADED,a),b.bitrateTest=!1}).catch(a=>{this.state===Te.STOPPED||this.state===Te.ERROR||(this.warn(a),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const r=this.playlistType,{hls:a}=this,{remuxResult:v,chunkMeta:b}=t,w=this.getCurrentContext(b);if(!w){this.resetWhenMissingContext(b);return}const{frag:U,part:X,level:V}=w,{video:le,text:pe,id3:Ee,initSegment:ke}=v,{details:Re}=V,ot=this.altAudio?void 0:v.audio;if(this.fragContextChanged(U)){this.fragmentTracker.removeFragment(U);return}if(this.state=Te.PARSING,ke){const it=ke.tracks;if(it){const bu=U.initSegment||U;if(this.unhandledEncryptionError(ke,U))return;this._bufferInitSegment(V,it,bu,b),a.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:bu,id:r,tracks:it})}const Kt=ke.initPTS,Jt=ke.timescale,ru=this.initPTS[U.cc];if(u(Kt)&&(!ru||ru.baseTime!==Kt||ru.timescale!==Jt)){const bu=ke.trackId;this.initPTS[U.cc]={baseTime:Kt,timescale:Jt,trackId:bu},a.trigger(s.INIT_PTS_FOUND,{frag:U,id:r,initPTS:Kt,timescale:Jt,trackId:bu})}}if(le&&Re){ot&&le.type==="audiovideo"&&this.logMuxedErr(U);const it=Re.fragments[U.sn-1-Re.startSN],Kt=U.sn===Re.startSN,Jt=!it||U.cc>it.cc;if(v.independent!==!1){const{startPTS:ru,endPTS:bu,startDTS:Nu,endDTS:or}=le;if(X)X.elementaryStreams[le.type]={startPTS:ru,endPTS:bu,startDTS:Nu,endDTS:or};else if(le.firstKeyFrame&&le.independent&&b.id===1&&!Jt&&(this.couldBacktrack=!0),le.dropped&&le.independent){const ju=this.getMainFwdBufferInfo(),er=(ju?ju.end:this.getLoadPosition())+this.config.maxBufferHole,Ju=le.firstKeyFramePTS?le.firstKeyFramePTS:ru;if(!Kt&&erTr&&(U.gap=!0);U.setElementaryStreamInfo(le.type,ru,bu,Nu,or),this.backtrackFragment&&(this.backtrackFragment=U),this.bufferFragmentData(le,U,X,b,Kt||Jt)}else if(Kt||Jt)U.gap=!0;else{this.backtrack(U);return}}if(ot){const{startPTS:it,endPTS:Kt,startDTS:Jt,endDTS:ru}=ot;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:it,endPTS:Kt,startDTS:Jt,endDTS:ru}),U.setElementaryStreamInfo(ie.AUDIO,it,Kt,Jt,ru),this.bufferFragmentData(ot,U,X,b)}if(Re&&Ee!=null&&Ee.samples.length){const it={id:r,frag:U,details:Re,samples:Ee.samples};a.trigger(s.FRAG_PARSING_METADATA,it)}if(Re&&pe){const it={id:r,frag:U,details:Re,samples:pe.samples};a.trigger(s.FRAG_PARSING_USERDATA,it)}}logMuxedErr(t){this.warn(`${Fe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,r,a,v){if(this.state!==Te.PARSING)return;this.audioOnly=!!r.audio&&!r.video,this.altAudio&&!this.audioOnly&&(delete r.audio,r.audiovideo&&this.logMuxedErr(a));const{audio:b,video:w,audiovideo:U}=r;if(b){const V=t.audioCodec;let le=Yu(b.codec,V);le==="mp4a"&&(le="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){le&&(le.indexOf("mp4a.40.5")!==-1?le="mp4a.40.2":le="mp4a.40.5");const Ee=b.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(le="mp4a.40.5")}le&&le.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&b.container!=="audio/mpeg"&&(le="mp4a.40.2",this.log(`Android: force audio codec to ${le}`)),V&&V!==le&&this.log(`Swapping manifest audio codec "${V}" for "${le}"`),b.levelCodec=le,b.id=o.MAIN,this.log(`Init audio buffer, container:${b.container}, codecs[selected/level/parsed]=[${le||""}/${V||""}/${b.codec}]`),delete r.audiovideo}if(w){w.levelCodec=t.videoCodec,w.id=o.MAIN;const V=w.codec;if((V==null?void 0:V.length)===4)switch(V){case"hvc1":case"hev1":w.codec="hvc1.1.6.L120.90";break;case"av01":w.codec="av01.0.04M.08";break;case"avc1":w.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${w.container}, codecs[level/parsed]=[${t.videoCodec||""}/${V}]${w.codec!==V?" parsed-corrected="+w.codec:""}${w.supplemental?" supplemental="+w.supplemental:""}`),delete r.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete r.video,delete r.audio);const X=Object.keys(r);if(X.length){if(this.hls.trigger(s.BUFFER_CODECS,r),!this.hls)return;X.forEach(V=>{const pe=r[V].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:V,data:pe,frag:a,part:null,chunkMeta:v,parent:a.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,o.MAIN)}get maxBufferLength(){const{levels:t,level:r}=this,a=t==null?void 0:t[r];return a?this.getMaxBufferLength(a.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Te.IDLE}checkFragmentChanged(){const t=this.media;let r=null;if(t&&t.readyState>1&&t.seeking===!1){const a=t.currentTime;if(sr.isBuffered(t,a)?r=this.getAppendedFrag(a):sr.isBuffered(t,a+.1)&&(r=this.getAppendedFrag(a+.1)),r){this.backtrackFragment=null;const v=this.fragPlaying,b=r.level;(!v||r.sn!==v.sn||v.level!==b)&&(this.fragPlaying=r,this.hls.trigger(s.FRAG_CHANGED,{frag:r}),(!v||v.level!==b)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:b}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const r=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return u(r)?this.getAppendedFrag(r):null}get currentProgramDateTime(){var t;const r=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(u(r)){const a=this.getLevelDetails(),v=this.currentFrag||(a?su(null,a.fragments,r):null);if(v){const b=v.programDateTime;if(b!==null){const w=b+(r-v.start)*1e3;return new Date(w)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class wc extends O{constructor(t,r){super("key-loader",r),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const a in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[a].loader;if(v){var r;if(t&&t!==((r=v.context)==null?void 0:r.frag.type))return;v.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[t];(r.mediaKeySessionContext||r.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[t].loader;r&&r.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,r=d.KEY_LOAD_ERROR,a,v,b){return new qu({type:c.NETWORK_ERROR,details:r,fatal:!1,frag:t,response:b,error:a,networkDetails:v})}loadClear(t,r,a){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(r.length)for(let v=0,b=r.length;v{if(!this.emeController)return;w.setKeyFormat(U);const X=D4(U);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const v=c4(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(r=>this.loadInternal(t,r)):this.loadInternal(t)}loadInternal(t,r){var a,v;r&&t.setKeyFormat(r);const b=t.decryptdata;if(!b){const V=new Error(r?`Expected frag.decryptdata to be defined after setting format ${r}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,d.KEY_LOAD_ERROR,V))}const w=b.uri;if(!w)return Promise.reject(this.createKeyLoadError(t,d.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${w}"`)));const U=oc(b);let X=this.keyIdToKeyInfo[U];if((a=X)!=null&&a.decryptdata.key)return b.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(v=X)!=null&&v.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(le=>{const{keyInfo:pe}=le;return b.key=pe.decryptdata.key,{frag:t,keyInfo:pe}})}switch(this.log(`${this.keyIdToKeyInfo[U]?"Rel":"L"}oading${b.keyId?" keyId: "+q(b.keyId):""} URI: ${b.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[U]={decryptdata:b,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},b.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return b.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,t);default:return Promise.reject(this.createKeyLoadError(t,d.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${b.method}"`)))}}loadKeyEME(t,r){const a={frag:r,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var v;if(!t.decryptdata.keyId&&(v=r.initSegment)!=null&&v.data){const w=mt(r.initSegment.data);if(w.length){const U=w[0];U.some(X=>X!==0)&&(this.log(`Using keyId found in init segment ${q(U)}`),t.decryptdata.keyId=U,O4.setKeyIdForUri(t.decryptdata.uri,U))}}const b=this.emeController.loadKey(a);return(t.keyLoadPromise=b.then(w=>(t.mediaKeySessionContext=w,a))).catch(w=>{throw t.keyLoadPromise=null,"data"in w&&(w.data.frag=r),w})}return Promise.resolve(a)}loadKeyHTTP(t,r){const a=this.config,v=a.loader,b=new v(a);return r.keyLoader=t.loader=b,t.keyLoadPromise=new Promise((w,U)=>{const X={keyInfo:t,frag:r,responseType:"arraybuffer",url:t.decryptdata.uri},V=a.keyLoadPolicy.default,le={loadPolicy:V,timeout:V.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,ke,Re,ot)=>{const{frag:it,keyInfo:Kt}=Re,Jt=oc(Kt.decryptdata);if(!it.decryptdata||Kt!==this.keyIdToKeyInfo[Jt])return U(this.createKeyLoadError(it,d.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ot));Kt.decryptdata.key=it.decryptdata.key=new Uint8Array(Ee.data),it.keyLoader=null,Kt.loader=null,w({frag:it,keyInfo:Kt})},onError:(Ee,ke,Re,ot)=>{this.resetLoader(ke),U(this.createKeyLoadError(r,d.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Re,E({url:X.url,data:void 0},Ee)))},onTimeout:(Ee,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(r,d.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(Ee,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(r,d.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};b.load(X,le,pe)})}resetLoader(t){const{frag:r,keyInfo:a,url:v}=t,b=a.loader;r.keyLoader===b&&(r.keyLoader=null,a.loader=null);const w=oc(a.decryptdata)||v;delete this.keyIdToKeyInfo[w],b&&b.destroy()}}function oc(P){if(P.keyFormat!==ui.FAIRPLAY){const t=P.keyId;if(t)return q(t)}return P.uri}function gc(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function lc(P,t){let r=P.url;return(r===void 0||r.indexOf("data:")===0)&&(r=t.url),r}class ec{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const r=this.hls.config,a=r.pLoader,v=r.loader,b=a||v,w=new b(r);return this.loaders[t.type]=w,w}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const r=this.loaders[t];r&&r.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,r){const{url:a}=r;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:a,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,r){const{id:a,level:v,pathwayId:b,url:w,deliveryDirectives:U,levelInfo:X}=r;this.load({id:a,level:v,pathwayId:b,responseType:"text",type:h.LEVEL,url:w,deliveryDirectives:U,levelOrTrack:X})}onAudioTrackLoading(t,r){const{id:a,groupId:v,url:b,deliveryDirectives:w,track:U}=r;this.load({id:a,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:b,deliveryDirectives:w,levelOrTrack:U})}onSubtitleTrackLoading(t,r){const{id:a,groupId:v,url:b,deliveryDirectives:w,track:U}=r;this.load({id:a,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:b,deliveryDirectives:w,levelOrTrack:U})}onLevelsUpdated(t,r){const a=this.loaders[h.LEVEL];if(a){const v=a.context;v&&!r.levels.some(b=>b===v.levelOrTrack)&&(a.abort(),delete this.loaders[h.LEVEL])}}load(t){var r;const a=this.hls.config;let v=this.getInternalLoader(t);if(v){const V=this.hls.logger,le=v.context;if(le&&le.levelOrTrack===t.levelOrTrack&&(le.url===t.url||le.deliveryDirectives&&!t.deliveryDirectives)){le.url===t.url?V.log(`[playlist-loader]: ignore ${t.url} ongoing request`):V.log(`[playlist-loader]: ignore ${t.url} in favor of ${le.url}`);return}V.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let b;if(t.type===h.MANIFEST?b=a.manifestLoadPolicy.default:b=y({},a.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),u((r=t.deliveryDirectives)==null?void 0:r.part)){let V;if(t.type===h.LEVEL&&t.level!==null?V=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?V=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(V=this.hls.subtitleTracks[t.id].details),V){const le=V.partTarget,pe=V.targetduration;if(le&&pe){const Ee=Math.max(le*3,pe*.8)*1e3;b=y({},b,{maxTimeToFirstByteMs:Math.min(Ee,b.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,b.maxTimeToFirstByteMs)})}}}const w=b.errorRetry||b.timeoutRetry||{},U={loadPolicy:b,timeout:b.maxLoadTimeMs,maxRetry:w.maxNumRetry||0,retryDelay:w.retryDelayMs||0,maxRetryDelay:w.maxRetryDelayMs||0},X={onSuccess:(V,le,pe,Ee)=>{const ke=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Re=V.data;le.parsing.start=performance.now(),N4.isMediaPlaylist(Re)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(V,le,pe,Ee||null,ke):this.handleMasterPlaylist(V,le,pe,Ee)},onError:(V,le,pe,Ee)=>{this.handleNetworkError(le,pe,!1,V,Ee)},onTimeout:(V,le,pe)=>{this.handleNetworkError(le,pe,!0,void 0,V)}};v.load(t,U,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:r},forceStartLoad:a}=this.hls;(t||a)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${r}`),this.hls.startLoad(r))}handleMasterPlaylist(t,r,a,v){const b=this.hls,w=t.data,U=lc(t,a),X=N4.parseMasterPlaylist(w,U);if(X.playlistParsingError){r.parsing.end=performance.now(),this.handleManifestParsingError(t,a,X.playlistParsingError,v,r);return}const{contentSteering:V,levels:le,sessionData:pe,sessionKeys:Ee,startTimeOffset:ke,variableList:Re}=X;this.variableList=Re,le.forEach(Jt=>{const{unknownCodecs:ru}=Jt;if(ru){const{preferManagedMediaSource:bu}=this.hls.config;let{audioCodec:Nu,videoCodec:or}=Jt;for(let ju=ru.length;ju--;){const er=ru[ju];De(er,"audio",bu)?(Jt.audioCodec=Nu=Nu?`${Nu},${er}`:er,jt.audio[Nu.substring(0,4)]=2,ru.splice(ju,1)):De(er,"video",bu)&&(Jt.videoCodec=or=or?`${or},${er}`:er,jt.video[or.substring(0,4)]=2,ru.splice(ju,1))}}});const{AUDIO:ot=[],SUBTITLES:it,"CLOSED-CAPTIONS":Kt}=N4.parseMasterPlaylistMedia(w,U,X);ot.length&&!ot.some(ru=>!ru.url)&&le[0].audioCodec&&!le[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ot.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new $n({}),bitrate:0,url:""})),b.trigger(s.MANIFEST_LOADED,{levels:le,audioTracks:ot,subtitles:it,captions:Kt,contentSteering:V,url:U,stats:r,networkDetails:v,sessionData:pe,sessionKeys:Ee,startTimeOffset:ke,variableList:Re})}handleTrackOrLevelPlaylist(t,r,a,v,b){const w=this.hls,{id:U,level:X,type:V}=a,le=lc(t,a),pe=u(X)?X:u(U)?U:0,Ee=gc(a),ke=N4.parseLevelPlaylist(t.data,le,pe,Ee,0,this.variableList);if(V===h.MANIFEST){const Re={attrs:new $n({}),bitrate:0,details:ke,name:"",url:le};ke.requestScheduled=r.loading.start+bn(ke,0),w.trigger(s.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:le,stats:r,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}r.parsing.end=performance.now(),a.levelDetails=ke,this.handlePlaylistLoaded(ke,t,r,a,v,b)}handleManifestParsingError(t,r,a,v,b){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:d.MANIFEST_PARSING_ERROR,fatal:r.type===h.MANIFEST,url:t.url,err:a,error:a,reason:a.message,response:t,context:r,networkDetails:v,stats:b})}handleNetworkError(t,r,a=!1,v,b){let w=`A network ${a?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?w+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(w+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(w);this.hls.logger.warn(`[playlist-loader]: ${w}`);let X=d.UNKNOWN,V=!1;const le=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=a?d.MANIFEST_LOAD_TIMEOUT:d.MANIFEST_LOAD_ERROR,V=!0;break;case h.LEVEL:X=a?d.LEVEL_LOAD_TIMEOUT:d.LEVEL_LOAD_ERROR,V=!1;break;case h.AUDIO_TRACK:X=a?d.AUDIO_TRACK_LOAD_TIMEOUT:d.AUDIO_TRACK_LOAD_ERROR,V=!1;break;case h.SUBTITLE_TRACK:X=a?d.SUBTITLE_TRACK_LOAD_TIMEOUT:d.SUBTITLE_LOAD_ERROR,V=!1;break}le&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:X,fatal:V,url:t.url,loader:le,context:t,error:U,networkDetails:r,stats:b};if(v){const Ee=(r==null?void 0:r.url)||t.url;pe.response=E({url:Ee,data:void 0},v)}this.hls.trigger(s.ERROR,pe)}handlePlaylistLoaded(t,r,a,v,b,w){const U=this.hls,{type:X,level:V,levelOrTrack:le,id:pe,groupId:Ee,deliveryDirectives:ke}=v,Re=lc(r,v),ot=gc(v);let it=typeof v.level=="number"&&ot===o.MAIN?V:void 0;const Kt=t.playlistParsingError;if(Kt){if(this.hls.logger.warn(`${Kt} ${t.url}`),!U.config.ignorePlaylistParsingErrors){U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:d.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:Kt,reason:Kt.message,response:r,context:v,level:it,parent:ot,networkDetails:b,stats:a});return}t.playlistParsingError=null}if(!t.fragments.length){const Jt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:d.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:Jt,reason:Jt.message,response:r,context:v,level:it,parent:ot,networkDetails:b,stats:a});return}switch(t.live&&w&&(w.getCacheAge&&(t.ageHeader=w.getCacheAge()||0),(!w.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(it){if(!le)it=0;else if(le!==U.levels[it]){const Jt=U.levels.indexOf(le);Jt>-1&&(it=Jt)}}U.trigger(s.LEVEL_LOADED,{details:t,levelInfo:le||U.levels[0],level:it||0,id:pe||0,stats:a,networkDetails:b,deliveryDirectives:ke,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:le,id:pe||0,groupId:Ee||"",stats:a,networkDetails:b,deliveryDirectives:ke});break;case h.SUBTITLE_TRACK:U.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:le,id:pe||0,groupId:Ee||"",stats:a,networkDetails:b,deliveryDirectives:ke});break}}}class wl{static get version(){return en}static isMSESupported(){return pc()}static isSupported(){return Cc()}static getMediaSource(){return ae()}static get Events(){return s}static get MetadataSchema(){return ln}static get ErrorTypes(){return c}static get ErrorDetails(){return d}static get DefaultConfig(){return wl.defaultConfig?wl.defaultConfig:V0}static set DefaultConfig(t){wl.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Tu,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const r=this.logger=$(t.debug||!1,"Hls instance",t.assetPlayerId),a=this.config=Qu(wl.DefaultConfig,t,r);this.userConfig=t,a.progressive&&$u(a,r);const{abrController:v,bufferController:b,capLevelController:w,errorController:U,fpsController:X}=a,V=new U(this),le=this.abrController=new v(this),pe=new z0(this),Ee=a.interstitialsController,ke=Ee?this.interstitialsController=new Ee(this,wl):null,Re=this.bufferController=new b(this,pe),ot=this.capLevelController=new w(this),it=new X(this),Kt=new ec(this),Jt=a.contentSteeringController,ru=Jt?new Jt(this):null,bu=this.levelController=new Dc(this,ru),Nu=new Ac(this),or=new wc(this.config,this.logger),ju=this.streamController=new vc(this,pe,or),er=this.gapController=new ei(this,pe);ot.setStreamController(ju),it.setStreamController(ju);const Ju=[Kt,bu,ju];ke&&Ju.splice(1,0,ke),ru&&Ju.splice(1,0,ru),this.networkControllers=Ju;const zu=[le,Re,er,ot,it,Nu,pe];this.audioTrackController=this.createController(a.audioTrackController,Ju);const Ir=a.audioStreamController;Ir&&Ju.push(this.audioStreamController=new Ir(this,pe,or)),this.subtitleTrackController=this.createController(a.subtitleTrackController,Ju);const wn=a.subtitleStreamController;wn&&Ju.push(this.subtititleStreamController=new wn(this,pe,or)),this.createController(a.timelineController,zu),or.emeController=this.emeController=this.createController(a.emeController,zu),this.cmcdController=this.createController(a.cmcdController,zu),this.latencyController=this.createController(xc,zu),this.coreComponents=zu,Ju.push(V);const u0=V.onErrorOut;typeof u0=="function"&&this.on(s.ERROR,u0,V),this.on(s.MANIFEST_LOADED,Kt.onManifestLoaded,Kt)}createController(t,r){if(t){const a=new t(this);return r&&r.push(a),a}return null}on(t,r,a=this){this._emitter.on(t,r,a)}once(t,r,a=this){this._emitter.once(t,r,a)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,r,a=this,v){this._emitter.off(t,r,a,v)}listeners(t){return this._emitter.listeners(t)}emit(t,r,a){return this._emitter.emit(t,r,a)}trigger(t,r){if(this.config.debug)return this.emit(t,t,r);try{return this.emit(t,t,r)}catch(a){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+a.message+'". Here is a stacktrace:',a),!this.triggeringException){this.triggeringException=!0;const v=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:d.INTERNAL_EXCEPTION,fatal:v,event:t,error:a}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(r=>r.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(r=>r.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const b=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:d.ATTACH_MEDIA_ERROR,fatal:!0,error:b});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const r="media"in t,a=r?t.media:t,v=r?t:{media:a};this._media=a,this.trigger(s.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const r=this.media,a=this._url,v=this._url=W.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),r&&a&&(a!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(r)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,r){this.logger.log(`startLoad(${t+(r?", ":"")})`),this.started=!0,this.resumeBuffering();for(let a=0;a{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,r=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),r&&this.startLoad(r))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ul()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const r=!!t;r!==this.config.capLevelToPlayerSize&&(r?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=r)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Lu(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:r}}=this;if(!t)return 0;const a=t.length;for(let v=0;v=r)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:r,maxHdcpLevel:a}=this;let v;if(r===-1&&t!=null&&t.length?v=t.length-1:v=r,a)for(let b=v;b--;){const w=t[b].attrs["HDCP-LEVEL"];if(w&&w<=a)return b}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var r;return((r=this.audioTrackController)==null?void 0:r.setAudioOption(t))||null}setSubtitleOption(t){var r;return((r=this.subtitleTrackController)==null?void 0:r.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const r=this.audioTrackController;r&&(r.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const r=this.subtitleTrackController;r&&(r.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const r=this.subtitleTrackController;r&&(r.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,r=this.allAudioTracks){const a=k0(r);return cu(t,a,navigator.mediaCapabilities)}}wl.defaultConfig=void 0},53280:function(f,g,e){"use strict";e.d(g,{D:function(){return n}});function u(l,c,d){var s=d||{},h=s.noTrailing,o=h===void 0?!1:h,i=s.noLeading,B=i===void 0?!1:i,p=s.debounceMode,y=p===void 0?void 0:p,m,E=!1,x=0;function I(){m&&clearTimeout(m)}function O(S){var R=S||{},M=R.upcomingOnly,N=M===void 0?!1:M;I(),E=!N}function D(){for(var S=arguments.length,R=new Array(S),M=0;Ml?B?(x=Date.now(),o||(m=setTimeout(y?G:$,l))):$():o!==!0&&(m=setTimeout(y?G:$,y===void 0?l-Y:l))}return D.cancel=O,D}function n(l,c,d){var s=d||{},h=s.atBegin,o=h===void 0?!1:h;return u(l,c,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(f){var g=__webpack_module_cache__[f];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[f]={id:f,loaded:!1,exports:{}};return __webpack_modules__[f].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(f){var g=f&&f.__esModule?function(){return f.default}:function(){return f};return __webpack_require__.d(g,{a:g}),g}}(),function(){var f=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,u){if(u&1&&(e=this(e)),u&8||typeof e=="object"&&e&&(u&4&&e.__esModule||u&16&&typeof e.then=="function"))return e;var n=Object.create(null);__webpack_require__.r(n);var l={};g=g||[null,f({}),f([]),f(f)];for(var c=u&2&&e;typeof c=="object"&&!~g.indexOf(c);c=f(c))Object.getOwnPropertyNames(c).forEach(function(d){l[d]=function(){return e[d]}});return l.default=function(){return e},__webpack_require__.d(n,l),n}}(),function(){__webpack_require__.d=function(f,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(f,e)&&Object.defineProperty(f,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(f){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](f,g),g},[]))}}(),function(){__webpack_require__.u=function(f){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[f]||f)+"."+{26:"3c20da09",67:"3a92a2f0",109:"1a05552f",119:"efb6a7ff",195:"80b5fc68",201:"45704231",264:"c20841fd",292:"92f3b883",316:"1f60ada6",337:"08ae0f03",354:"d4d139cf",479:"208723fa",485:"9713ca9c",508:"2c0aa633",518:"9fc1b07d",532:"93363364",533:"ca5e79ef",547:"7044d2ce",556:"76171681",559:"bb8ab840",570:"a7a9594a",576:"5aa442dc",629:"44a1d9a5",643:"e8f97739",671:"4a609b8d",680:"0fae6afb",700:"928ce675",737:"8128afec",741:"ac5fd360",799:"21477f87",879:"3b8e0a3b",895:"eb9e9471",900:"25923fe3",906:"85ba4c51",910:"e1bdbdc0",921:"a28c361e",928:"9fc8fdd0",981:"24da50c7",1006:"fe894cef",1043:"78a4c871",1045:"d69d8988",1048:"f8d9b2b9",1070:"6d411e43",1077:"f5977d39",1144:"c90eccaf",1154:"8cb80842",1211:"cf16c1a7",1253:"0fac4e22",1257:"b934c3a5",1274:"5f6ea65a",1276:"aa37a179",1343:"2444ee5e",1423:"5857729c",1427:"01a2997a",1450:"bd73007c",1461:"34b8e317",1462:"fcf08abc",1470:"7b14d3ca",1475:"2f8eace0",1477:"719113f7",1482:"427c7d03",1512:"8acaff44",1520:"f7681a05",1545:"18e97b06",1578:"deb53d62",1581:"11854ad4",1582:"5a09ae02",1646:"e6e27b60",1651:"6e31398f",1657:"5e2f0a08",1660:"4647fdda",1674:"b83ffd43",1678:"5f694a4f",1713:"c5aab97c",1717:"deaaa72a",1727:"c74dd938",1750:"b9876391",1754:"f89c134d",1783:"4cbca12f",1798:"8b8fb57a",1799:"474e2c81",1831:"87f55c5d",1836:"b7f9905f",1855:"fbdd023d",1880:"6c71b85f",1897:"168005a4",1939:"2b08640b",1953:"ea3b1fae",1962:"6a03cea2",1993:"42328600",2011:"59d51f98",2045:"4fea722d",2099:"501baadc",2102:"8be60a94",2130:"c8aae616",2141:"92c67c76",2203:"af483bc4",2216:"9a74ea6d",2240:"8cee454c",2249:"f4830452",2281:"ccd5234c",2300:"83840044",2303:"29454668",2307:"7e010f3c",2338:"dd298bf1",2339:"4d140a58",2386:"192e235c",2396:"492c13a2",2404:"0cb608ad",2412:"c8c2ae6b",2425:"7be4da98",2443:"9b404669",2460:"d013417e",2476:"2102648c",2494:"ceb762c3",2501:"d1388c61",2538:"de4a3723",2539:"c3e2efc7",2548:"0b12947c",2570:"4831a8a2",2594:"e87d3761",2603:"3d71472c",2659:"f810c64c",2707:"28440b84",2763:"8a2dc9c2",2806:"622a81bb",2819:"9c00c57e",2823:"29bd2909",2829:"526d744a",2837:"54a82605",2862:"fdcc6c7b",2865:"c2e6c572",2884:"22184abc",2969:"ab3357d7",3006:"9976d75c",3086:"206d752a",3133:"9bf3f89c",3141:"6166275f",3157:"04a4f8b2",3183:"ace2a4c2",3198:"8e655451",3212:"98f8721d",3247:"6ca41d2a",3260:"296a2a34",3276:"ead63289",3317:"6f11bca9",3391:"cf5d2d93",3433:"31a3eabf",3442:"383fe951",3447:"54b5dd1f",3451:"901f282b",3509:"53aefe1f",3550:"3dc83156",3581:"73dd7752",3585:"1442bb2d",3668:"c7902d96",3697:"481a10d9",3747:"115f532c",3754:"632a2854",3777:"d5b0f2f1",3784:"581f99c7",3805:"9dbcb95e",3831:"e9f5a6aa",3861:"cf2f3073",3862:"7cc7474a",3873:"7e450447",3885:"f87f7f15",3910:"622aa34b",3951:"16328d92",3987:"5cecd51b",4014:"27a8e97c",4017:"00f1e140",4030:"b57c54ad",4048:"c8710bcc",4056:"6eaa189d",4058:"a6ef0500",4078:"005cea4a",4088:"236723f3",4093:"829a6afc",4105:"6f842feb",4144:"afff194d",4164:"e066f06e",4216:"1d1e0cc4",4217:"e6f2f505",4227:"67b7b457",4259:"14fbd765",4264:"766d6d47",4297:"6aaa5a94",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f07362e4",4492:"ed4497b5",4496:"11e9fce8",4498:"867ad28e",4504:"54a576f9",4514:"8e37600d",4520:"e9efd903",4546:"1e3cbc52",4565:"cd70a302",4572:"d5dd3128",4599:"61def4cb",4610:"939e8f04",4621:"230d4ce6",4628:"ece2c60c",4662:"60be8207",4685:"c33f1528",4715:"6d9cae98",4736:"e3d6d660",4741:"d5fcb4b9",4757:"1aabc0b6",4766:"93d0b6de",4770:"b9e3af36",4790:"619413e4",4795:"669854b6",4797:"a24e92db",4800:"c6566bd2",4850:"1edda4b7",4889:"6fc32f5c",4928:"bc72045a",4973:"8235bc1d",4994:"fd15a834",5022:"2e3d7afe",5043:"4fbe7ab3",5048:"b4171cb3",5060:"85dafcc6",5096:"030f6525",5111:"6c03ca16",5117:"d188516a",5125:"da19f44d",5148:"fae5a666",5165:"5ed57d06",5176:"2025b09b",5177:"17f15e52",5179:"6b940689",5186:"c6806e91",5230:"924ace48",5238:"f9c526aa",5290:"5dabcdc2",5297:"75653a62",5307:"c5a956f3",5319:"ec1276b4",5321:"1163c84e",5330:"5c5f9647",5335:"aa198ec3",5354:"7ae70604",5357:"a1bb98e3",5359:"3aa1bcb9",5382:"f37639e4",5402:"349c9049",5416:"454536b7",5434:"38b302a6",5466:"e8023173",5494:"d89549c4",5518:"fd639215",5549:"4f0f0ed3",5572:"5e3b67fe",5573:"c7099e7f",5624:"6d19384c",5631:"e00d3d36",5650:"6f385d09",5679:"4a090bef",5694:"ef7644ae",5705:"9e2bd49b",5729:"17c6258e",5764:"e0d7e586",5775:"34436628",5776:"9b89eb62",5786:"7612e65f",5798:"0f132a9a",5800:"05bf81c0",5816:"416e3b4a",5876:"5eded409",5888:"3ae1b23e",5891:"16ece524",5894:"6a949259",5902:"66c18def",5915:"d10b71f1",5972:"eaf74ddc",5992:"cde87b43",6029:"b794cc03",6034:"8551e0f9",6045:"d268f87f",6047:"3ce45acd",6063:"30ce560d",6069:"daf8f1b6",6080:"cfb0ee28",6126:"99519171",6127:"151b319c",6170:"0026c6ec",6185:"f4302ca2",6205:"690c3c38",6265:"199b9678",6270:"ae8220d1",6282:"5c37eaae",6328:"dafc3148",6366:"8c28e7b2",6378:"7f3a946a",6393:"9f635763",6411:"3b971528",6434:"78f87f16",6442:"1048e8f4",6444:"672ab86a",6451:"ff445d8e",6452:"88b21d5e",6531:"1e4cd45d",6583:"e84eb630",6587:"73574cb0",6634:"4fb90111",6637:"3b3414e3",6651:"c2b680ab",6682:"082197dd",6685:"055c500c",6729:"0b41b38d",6741:"5d247065",6774:"59d4d618",6776:"087f071e",6784:"3acc08be",6788:"85a3e650",6789:"52195b05",6796:"7c9f6fcb",6820:"e7a7a304",6840:"1acb7e6a",6882:"30049a3e",6904:"f9a0b70f",6913:"f1b2279f",6963:"b960cb04",6985:"6abb4311",7043:"9897481c",7045:"c9ab44f8",7058:"cd756ab4",7062:"a164e1ce",7084:"46ccce72",7099:"db9622f5",7156:"e7466006",7178:"d6dfdd98",7182:"8b56c91b",7224:"fd58f5b4",7242:"4d2c95ed",7260:"c46786a5",7289:"8258091f",7322:"dc0431ed",7323:"b4038ca3",7329:"2e802240",7333:"a86d1864",7365:"1005464f",7395:"d41ab7bb",7402:"ce643a69",7460:"9344387b",7477:"64485d34",7482:"e344cce0",7527:"87d91d1c",7545:"df768620",7560:"9d24b63d",7573:"97f85034",7589:"76db6c31",7591:"c8233ce9",7614:"387b7cdc",7622:"9f04ac47",7686:"4fcec9f9",7706:"c2a79e40",7806:"449cecde",7835:"6c0b158f",7855:"52f0d6f7",7857:"76c74c9c",7883:"dd8ba97d",7884:"2c67fcc7",7901:"26ee847b",7922:"91a14ceb",7964:"29aed9a1",8062:"1d3ec49a",8072:"6be9ec41",8085:"043c1832",8089:"d536b13a",8115:"88e3b5af",8143:"be25a871",8145:"b4381629",8155:"c66fae3a",8161:"83c5fa9a",8217:"a8322a39",8229:"7b6b357c",8237:"65ddc546",8241:"6f63d140",8286:"b0a6e0fd",8302:"55794970",8332:"4a53a552",8340:"e8cec028",8350:"07df8a75",8365:"3ec1f7ce",8398:"9651baf5",8431:"0175da24",8435:"29ffda57",8447:"8f1ba394",8458:"76ceb040",8479:"7e755932",8517:"43660dc2",8552:"db9fb358",8561:"333e8ec9",8563:"0cb8cf20",8579:"4b76f1e8",8639:"21c350a0",8665:"5005d459",8688:"9051227d",8689:"ea27df30",8723:"5cf35dde",8737:"ce7dad23",8776:"0ad26240",8787:"efeb726a",8807:"b4bf116f",8823:"fd8fbe12",8827:"87bbf36f",8842:"9f25a3e2",8866:"5cde51bf",8882:"a7b6ac49",8885:"3e1e7b49",8898:"d002bcd8",8909:"414b305a",8920:"7f82440c",8963:"790aecdd",8965:"5106fa53",8999:"2d156215",9039:"d5104cfc",9076:"e4c10d9f",9104:"bbcb2345",9205:"d9408f37",9219:"4b82b5a9",9252:"0d791a59",9260:"cf5f8140",9366:"1a31fd23",9391:"b5561486",9404:"9fcc3d3e",9406:"d0600188",9416:"e550a6f8",9417:"66c183bb",9449:"17dee3dd",9487:"3468c4bd",9489:"5057250a",9507:"74486ea9",9511:"cddfd480",9554:"ed358e7b",9559:"f794af19",9647:"f0f07cbe",9649:"8e8b40b4",9674:"db0dbaf4",9677:"e65c2fe2",9695:"d608c77c",9715:"a06286ed",9716:"6f060582",9724:"2f674bad",9785:"664d7a02",9788:"c5c1684f",9814:"704c1fe2",9891:"60f02702",9895:"b8e31ff2",9906:"cb6d3e25",9921:"4f3b23d6",9922:"76457cd6",9928:"5989f5e0",9944:"cfd5eb4d",9950:"74f6dfb2",9968:"17466785"}[f]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(f){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[f]||f)+"."+{26:"91ed81ab",67:"e3d38d20",109:"1a7fc455",119:"0cc71034",195:"f769a2d5",201:"485c1365",264:"5fd9b3fc",292:"6606dfd5",337:"b8a90018",479:"bba9e475",485:"d63578fe",508:"82593858",518:"333855a6",532:"a09abdd6",533:"1aafb83c",547:"5581debc",556:"04b76b9e",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"3e008095",737:"98eb2f74",799:"bca8871b",879:"edebf581",895:"ad846737",900:"ff3ab102",906:"831f1c01",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"5313cd30",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"66a07f9e",1257:"156e8f74",1276:"bbc6eeec",1343:"5eed418c",1423:"5c4a76fc",1427:"22016b87",1450:"1edcc2ed",1461:"da497c45",1470:"183c9793",1475:"c965e527",1477:"63b15587",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"ce1fb1d8",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"55e4f704",1657:"b60513e3",1674:"fdbc1e05",1678:"0b445f86",1713:"66b47ae4",1717:"10201060",1727:"41895eef",1754:"263823b9",1783:"7a21883d",1798:"cacd2a12",1831:"74ad0b7c",1836:"5f0d3f7f",1855:"b92cccb4",1880:"ace3ee6a",1897:"982f171f",1939:"9edbcb6f",1953:"a3ad760b",1962:"84e145fa",1993:"7cc7cf77",2045:"dcfad42d",2099:"bf3fcf7a",2102:"ec61f9f0",2130:"50dfcc51",2141:"5eb2f330",2203:"1af06e49",2216:"6acb758a",2240:"e7cce869",2281:"9db2c457",2303:"c5cd1882",2307:"b2c54321",2338:"aaf98900",2339:"f7913f4f",2396:"bd9b4f77",2404:"08d36549",2412:"009d1fcb",2425:"47b23ee4",2443:"33936585",2460:"03cdfb68",2476:"cf85a190",2501:"2441982c",2539:"8ec286b4",2548:"75182034",2570:"42abe00c",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"e33d6e5a",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"96747ece",2865:"6ef3cf6b",2884:"e4a93731",3006:"7fce4e74",3086:"d0ebac07",3141:"5e5e4c2f",3157:"b3478235",3183:"b2253f40",3212:"ad1521c1",3247:"50105eb7",3260:"8e0d65fb",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"9bf21937",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"f46d27eb",3585:"5f288e7b",3668:"efca073d",3747:"9fe873ee",3784:"c81d4a51",3831:"e18a5aa2",3873:"aecf5064",3910:"658d457f",3951:"9b11b034",4030:"d0b7bd58",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"5cd9f235",4105:"7f9d4513",4144:"f10aa199",4164:"f16cd35e",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"27082f64",4449:"e68d8d58",4492:"6d7afab9",4496:"77babddd",4498:"ef907484",4504:"bd40e960",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"4fecde0c",4610:"687005a6",4621:"47b96e8f",4662:"82def4d7",4715:"ae95fa4d",4736:"a51a09a9",4741:"6d7ba6f6",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"910f69b0",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"11a38b68",5125:"57501e4a",5148:"572faeac",5165:"3f82ab1b",5176:"9c49e7fa",5177:"4c237473",5179:"699b44a8",5186:"312ee878",5230:"94dfecf3",5238:"68f49dc4",5297:"5426028f",5307:"4195a245",5319:"34217c3f",5330:"6e93d25e",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"6020d931",5402:"6b06b33c",5466:"c09ae45d",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"b754187c",5650:"f8f63f4b",5694:"77ca16cb",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"790daf68",5786:"37a81eaa",5798:"ce1cf7da",5800:"f05382af",5816:"494c814d",5888:"193a7f8f",5891:"b9a46704",5894:"4faa35bb",5915:"bc9c3e69",5972:"79479731",5992:"419f5d2f",6029:"2451f838",6063:"f85d9e56",6069:"6b81b8a6",6080:"13de064b",6127:"f31505a8",6185:"d9c205a6",6205:"6eef461f",6265:"b6b7cbc3",6270:"5496b206",6282:"0a46d402",6328:"de2b9d62",6366:"079fc2d8",6434:"23effd91",6444:"fd46d237",6451:"949d91e5",6452:"50a6d310",6583:"d8052752",6587:"9c49e7fa",6634:"5c3c2ecd",6637:"cd627031",6651:"b07fe216",6682:"c0a18d4d",6685:"ad2a7bde",6729:"aea3b7f5",6741:"b838eb14",6776:"af91f915",6784:"1affe817",6789:"185ce46c",6796:"15902a1a",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7043:"25478869",7045:"48f6fc4c",7058:"6e461c3d",7062:"5282c3e5",7099:"15159102",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"74a55b34",7322:"f372c040",7323:"3e11a2bc",7329:"7a4ac9fe",7395:"ff574c5d",7402:"3e65fd99",7460:"dedd2038",7477:"9e6bb67b",7482:"c37a3f01",7527:"a4765b7e",7545:"77965f6e",7560:"d82e43ca",7589:"666efe80",7614:"de9ee12f",7622:"fe4790f3",7806:"80b7b1d6",7835:"abd0d81c",7855:"711d3be3",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"505c3349",7922:"372a3625",8062:"8e384b9f",8072:"540f746b",8085:"3cfec1d7",8115:"51647157",8143:"f33d8a25",8145:"89ef939a",8155:"d345abd7",8217:"f0f958ba",8237:"61bca2d4",8241:"a7cd5360",8286:"4ca6c6b1",8332:"a10509a3",8398:"2f4a56af",8431:"289b326c",8435:"3a170931",8447:"0ae0fe33",8458:"1528fe4c",8479:"63a9d2a4",8517:"cccfddad",8552:"debdee43",8563:"ddbd95eb",8579:"f63b043d",8665:"c52575bc",8688:"c044db56",8689:"52d74979",8723:"3e358029",8787:"121de108",8823:"9b2f4e16",8827:"3aeb4a40",8866:"ff81efbd",8882:"f3e42f72",8885:"de905169",8965:"f169309d",8999:"448aa22f",9039:"e59f0028",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"87658c28",9416:"7ffdab01",9449:"9d75c671",9487:"a73f5679",9489:"ee2bb5b7",9507:"1138f0da",9511:"52ae4834",9647:"36898856",9649:"00fb4211",9674:"16483a2c",9677:"67a9d264",9695:"e2a53983",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"4c57e46b",9891:"512a9301",9906:"0c113c87",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[f]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(f){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(f){return f=Object.create(f),f.children||(f.children=[]),Object.defineProperty(f,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+f.id)}}),f}}(),function(){__webpack_require__.o=function(f,g){return Object.prototype.hasOwnProperty.call(f,g)}}(),function(){var f={};__webpack_require__.l=function(g,e,u,n){if(f[g]){f[g].push(e);return}var l,c;if(u!==void 0)for(var d=document.getElementsByTagName("script"),s=0;s{const V=Yl(t,a,X)||Yl(P,a,X)||Yl(v,a,X);return V&&(U[X]=V),U},{})}function Yl(P,t,r){return P&&P.hasAttributeNS(t,r)?P.getAttributeNS(t,r):null}function Wl(P){return new Error(`Could not parse ttml timestamp ${P}`)}function cl(P,t){if(!P)return null;let r=Ol(P);return r===null&&(Dl.test(P)?r=rc(P,t):Cl.test(P)&&(r=Hl(P,t))),r}function rc(P,t){const r=Dl.exec(P),a=(r[4]|0)+(r[5]|0)/t.subFrameRate;return(r[1]|0)*3600+(r[2]|0)*60+(r[3]|0)+a/t.frameRate}function Hl(P,t){const r=Cl.exec(P),a=Number(r[1]);switch(r[2]){case"h":return a*3600;case"m":return a*60;case"ms":return a*1e3;case"f":return a/t.frameRate;case"t":return a/t.tickRate}return a}class Ml{constructor(t,r){this.timelineController=void 0,this.cueRanges=[],this.trackName=void 0,this.startTime=null,this.endTime=null,this.screen=null,this.timelineController=t,this.trackName=r}dispatchCue(){this.startTime!==null&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen,this.cueRanges),this.startTime=null)}newCue(t,r,a){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=r,this.screen=a,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class nc{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=_(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(s.FRAG_LOADING,this.onFragLoading,this),t.on(s.FRAG_LOADED,this.onFragLoaded,this),t.on(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(s.FRAG_LOADING,this.onFragLoading,this),t.off(s.FRAG_LOADED,this.onFragLoaded,this),t.off(s.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(s.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(s.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(s.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Ml(this,"textTrack1"),r=new Ml(this,"textTrack2"),a=new Ml(this,"textTrack3"),v=new Ml(this,"textTrack4");this.cea608Parser1=new Es(1,t,r),this.cea608Parser2=new Es(3,a,v)}addCues(t,r,a,v,b){let w=!1;for(let U=b.length;U--;){const X=b[U],V=Zl(X[0],X[1],r,a);if(V>=0&&(X[0]=Math.min(X[0],r),X[1]=Math.max(X[1],a),w=!0,V/(a-r)>.5))return}if(w||b.push([r,a]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,r,a,v)}else{const U=this.Cues.newCue(null,r,a,v);this.hls.trigger(s.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:r,id:a,initPTS:v,timescale:b,trackId:w}){const{unparsedVttFrags:U}=this;a===o.MAIN&&(this.initPTS[r.cc]={baseTime:v,timescale:b,trackId:w}),U.length&&(this.unparsedVttFrags=[],U.forEach(X=>{this.initPTS[X.frag.cc]?this.onFragLoaded(s.FRAG_LOADED,X):this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:X.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,r){const{media:a}=this;if(a)for(let v=0;v{si(v[b]),delete v[b]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=_(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const r=t.textTracks;if(r)for(let a=0;ab.textCodec===ta);if(this.config.enableWebVTT||v&&this.config.enableIMSC1){if(Ko(this.tracks,a)){this.tracks=a;return}if(this.textTracks=[],this.tracks=a,this.config.renderTextTracksNatively){const w=this.media,U=w?qs(w.textTracks):null;if(this.tracks.forEach((X,V)=>{let le;if(U){let pe=null;for(let Ee=0;EeV!==null).map(V=>V.label);X.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${X.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const w=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(s.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:w})}}}onManifestLoaded(t,r){this.config.enableCEA708Captions&&r.captions&&r.captions.forEach(a=>{const v=/(?:CC|SERVICE)([1-4])/.exec(a.instreamId);if(!v)return;const b=`textTrack${v[1]}`,w=this.captionsProperties[b];w&&(w.label=a.name,a.lang&&(w.languageCode=a.lang),w.media=a)})}closedCaptionsForLevel(t){const r=this.hls.levels[t.level];return r==null?void 0:r.attrs["CLOSED-CAPTIONS"]}onFragLoading(t,r){if(this.enabled&&r.frag.type===o.MAIN){var a,v;const{cea608Parser1:b,cea608Parser2:w,lastSn:U}=this,{cc:X,sn:V}=r.frag,le=(a=(v=r.part)==null?void 0:v.index)!=null?a:-1;b&&w&&(V!==U+1||V===U&&le!==this.lastPartIndex+1||X!==this.lastCc)&&(b.reset(),w.reset()),this.lastCc=X,this.lastSn=V,this.lastPartIndex=le}}onFragLoaded(t,r){const{frag:a,payload:v}=r;if(a.type===o.SUBTITLE)if(v.byteLength){const b=a.decryptdata,w="stats"in r;if(b==null||!b.encrypted||w){const U=this.tracks[a.level],X=this.vttCCs;X[a.cc]||(X[a.cc]={start:a.start,prevCC:this.prevCC,new:!0},this.prevCC=a.cc),U&&U.textCodec===ta?this._parseIMSC1(a,v):this._parseVTTs(r)}}else this.hls.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:a,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,r){const a=this.hls;zo(r,this.initPTS[t.cc],v=>{this._appendCues(v,t.level),a.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},v=>{a.logger.log(`Failed to parse IMSC1: ${v}`),a.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:v})})}_parseVTTs(t){var r;const{frag:a,payload:v}=t,{initPTS:b,unparsedVttFrags:w}=this,U=b.length-1;if(!b[a.cc]&&U===-1){w.push(t);return}const X=this.hls,V=(r=a.initSegment)!=null&&r.data?Zt(a.initSegment.data,new Uint8Array(v)).buffer:v;Uo(V,this.initPTS[a.cc],this.vttCCs,a.cc,a.start,le=>{this._appendCues(le,a.level),X.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:a})},le=>{const pe=le.message==="Missing initPTS for VTT MPEGTS";pe?w.push(t):this._fallbackToIMSC1(a,v),X.logger.log(`Failed to parse VTT cue: ${le}`),!(pe&&U>a.cc)&&X.trigger(s.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:a,error:le})})}_fallbackToIMSC1(t,r){const a=this.tracks[t.level];a.textCodec||zo(r,this.initPTS[t.cc],()=>{a.textCodec=ta,this._parseIMSC1(t,r)},()=>{a.textCodec="wvtt"})}_appendCues(t,r){const a=this.hls;if(this.config.renderTextTracksNatively){const v=this.textTracks[r];if(!v||v.mode==="disabled")return;t.forEach(b=>z4(v,b))}else{const v=this.tracks[r];if(!v)return;const b=v.default?"default":"subtitles"+r;a.trigger(s.CUES_PARSED,{type:"subtitles",cues:t,track:b})}}onFragDecrypted(t,r){const{frag:a}=r;a.type===o.SUBTITLE&&this.onFragLoaded(s.FRAG_LOADED,r)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,r){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:a,samples:v}=r;if(!(a.type===o.MAIN&&this.closedCaptionsForLevel(a)==="NONE"))for(let b=0;bB4(U[X],r,a))}if(this.config.renderTextTracksNatively&&r===0&&v!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(X=>B4(U[X],r,v))}}}extractCea608Data(t){const r=[[],[]],a=t[0]&31;let v=2;for(let b=0;b=16?X--:X++;const ke=as(V.trim()),Re=ol(t,r,ke);P!=null&&(pe=P.cues)!=null&&pe.getCueById(Re)||(w=new le(t,r,ke),w.id=Re,w.line=Ee+1,w.align="left",w.position=10+Math.min(80,Math.floor(X*8/32)*10),v.push(w))}return P&&v.length&&(v.sort((Ee,ke)=>Ee.line==="auto"||ke.line==="auto"?0:Ee.line>8&&ke.line>8?ke.line-Ee.line:Ee.line-ke.line),v.forEach(Ee=>z4(P,Ee))),v}};function _e(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Ie=/(\d+)-(\d+)\/(\d+)/;class rt{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||pr,this.controller=new self.AbortController,this.stats=new j}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,r,a){const v=this.stats;if(v.loading.start)throw new Error("Loader can only be used once.");v.loading.start=self.performance.now();const b=Mt(t,this.controller.signal),w=t.responseType==="arraybuffer",U=w?"byteLength":"length",{maxTimeToFirstByteMs:X,maxLoadTimeMs:V}=r.loadPolicy;this.context=t,this.config=r,this.callbacks=a,this.request=this.fetchSetup(t,b),self.clearTimeout(this.requestTimeout),r.timeout=X&&u(X)?X:V,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},r.timeout),(n4(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(pe=>{var Ee;this.response=this.loader=pe;const ke=Math.max(self.performance.now(),v.loading.start);if(self.clearTimeout(this.requestTimeout),r.timeout=V,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(v,t,this.response))},V-(ke-v.loading.start)),!pe.ok){const{status:ot,statusText:it}=pe;throw new Nn(it||"fetch, bad network response",ot,pe)}v.loading.first=ke,v.total=Su(pe.headers)||v.total;const Re=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Re&&u(r.highWaterMark)?this.loadProgressively(pe,v,t,r.highWaterMark,Re):w?pe.arrayBuffer():t.responseType==="json"?pe.json():pe.text()}).then(pe=>{var Ee,ke;const Re=this.response;if(!Re)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),v.loading.end=Math.max(self.performance.now(),v.loading.first);const ot=pe[U];ot&&(v.loaded=v.total=ot);const it={url:Re.url,data:pe,code:Re.status},Kt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Kt&&!u(r.highWaterMark)&&Kt(v,t,pe,Re),(ke=this.callbacks)==null||ke.onSuccess(it,v,t,Re)}).catch(pe=>{var Ee;if(self.clearTimeout(this.requestTimeout),v.aborted)return;const ke=pe&&pe.code||0,Re=pe?pe.message:null;(Ee=this.callbacks)==null||Ee.onError({code:ke,text:Re},t,pe?pe.details:null,v)})}getCacheAge(){let t=null;if(this.response){const r=this.response.headers.get("age");t=r?parseFloat(r):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,r,a,v=0,b){const w=new Eu,U=t.body.getReader(),X=()=>U.read().then(V=>{if(V.done)return w.dataLength&&b(r,a,w.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const le=V.value,pe=le.length;return r.loaded+=pe,pe=v&&b(r,a,w.flush().buffer,t)):b(r,a,le.buffer,t),X()}).catch(()=>Promise.reject());return X()}}function Mt(P,t){const r={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&r.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),r}function ou(P){const t=Ie.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Su(P){const t=P.get("Content-Range");if(t){const a=ou(t);if(u(a))return a}const r=P.get("Content-Length");if(r)return parseInt(r)}function pr(P,t){return new self.Request(P.url,t)}class Nn extends Error{constructor(t,r,a){super(t),this.code=void 0,this.details=void 0,this.code=r,this.details=a}}const K0=/^age:\s*[\d.]+\s*$/im;class $r{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new j,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,r,a){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=r,this.callbacks=a,this.loadInternal()}loadInternal(){const{config:t,context:r}=this;if(!t||!r)return;const a=this.loader=new self.XMLHttpRequest,v=this.stats;v.loading.first=0,v.loaded=0,v.aborted=!1;const b=this.xhrSetup;b?Promise.resolve().then(()=>{if(!(this.loader!==a||this.stats.aborted))return b(a,r.url)}).catch(w=>{if(!(this.loader!==a||this.stats.aborted))return a.open("GET",r.url,!0),b(a,r.url)}).then(()=>{this.loader!==a||this.stats.aborted||this.openAndSendXhr(a,r,t)}).catch(w=>{var U;(U=this.callbacks)==null||U.onError({code:a.status,text:w.message},r,a,v)}):this.openAndSendXhr(a,r,t)}openAndSendXhr(t,r,a){t.readyState||t.open("GET",r.url,!0);const v=r.headers,{maxTimeToFirstByteMs:b,maxLoadTimeMs:w}=a.loadPolicy;if(v)for(const U in v)t.setRequestHeader(U,v[U]);r.rangeEnd&&t.setRequestHeader("Range","bytes="+r.rangeStart+"-"+(r.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=r.responseType,self.clearTimeout(this.requestTimeout),a.timeout=b&&u(b)?b:w,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),a.timeout),t.send()}readystatechange(){const{context:t,loader:r,stats:a}=this;if(!t||!r)return;const v=r.readyState,b=this.config;if(!a.aborted&&v>=2&&(a.loading.first===0&&(a.loading.first=Math.max(self.performance.now(),a.loading.start),b.timeout!==b.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),b.timeout=b.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),b.loadPolicy.maxLoadTimeMs-(a.loading.first-a.loading.start)))),v===4)){self.clearTimeout(this.requestTimeout),r.onreadystatechange=null,r.onprogress=null;const V=r.status,le=r.responseType==="text"?r.responseText:null;if(V>=200&&V<300){const Re=le!=null?le:r.response;if(Re!=null){var w,U;a.loading.end=Math.max(self.performance.now(),a.loading.first);const ot=r.responseType==="arraybuffer"?Re.byteLength:Re.length;a.loaded=a.total=ot,a.bwEstimate=a.total*8e3/(a.loading.end-a.loading.first);const it=(w=this.callbacks)==null?void 0:w.onProgress;it&&it(a,t,Re,r);const Kt={url:r.responseURL,data:Re,code:V};(U=this.callbacks)==null||U.onSuccess(Kt,a,t,r);return}}const pe=b.loadPolicy.errorRetry,Ee=a.retry,ke={url:t.url,data:void 0,code:V};if(lr(pe,Ee,!1,ke))this.retry(pe);else{var X;G.error(`${V} while loading ${t.url}`),(X=this.callbacks)==null||X.onError({code:V,text:r.statusText},t,r,a)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,r=this.stats.retry;if(lr(t,r,!0))this.retry(t);else{var a;G.warn(`timeout while loading ${(a=this.context)==null?void 0:a.url}`);const v=this.callbacks;v&&(this.abortInternal(),v.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:r,stats:a}=this;this.retryDelay=Yr(t,a.retry),a.retry++,G.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${r==null?void 0:r.url}, retrying ${a.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const r=this.stats;r.loaded=t.loaded,t.lengthComputable&&(r.total=t.total)}getCacheAge(){let t=null;if(this.loader&&K0.test(this.loader.getAllResponseHeaders())){const r=this.loader.getResponseHeader("age");t=r?parseFloat(r):null}return t}getResponseHeader(t){return this.loader&&new RegExp(`^${t}:\\s*[\\d.]+\\s*$`,"im").test(this.loader.getAllResponseHeaders())?this.loader.getResponseHeader(t):null}}const g0={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},V0=E(E({autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,ignoreDevicePixelRatio:!1,maxDevicePixelRatio:Number.POSITIVE_INFINITY,preferManagedMediaSource:!0,initialLiveManifestSize:1,maxBufferLength:30,backBufferLength:1/0,frontBufferFlushThreshold:1/0,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",liveSyncDurationCount:3,liveSyncOnStallIncrease:1,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,maxLiveSyncPlaybackRate:1,liveDurationInfinity:!1,liveBackBufferLength:null,maxMaxBufferLength:600,enableWorker:!0,workerPath:null,enableSoftwareAES:!0,startLevel:void 0,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,ignorePlaylistParsingErrors:!1,loader:$r,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:Je,bufferController:s4,capLevelController:As,errorController:Qr,fpsController:mi,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrEwmaDefaultEstimateMax:5e6,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,drmSystems:{},drmSystemOptions:{},requestMediaKeySystemAccessFunc:ha,requireKeySystemAccessOnStart:!1,testBandwidth:!0,progressive:!1,lowLatencyMode:!0,cmcd:void 0,enableDateRangeMetadataCues:!0,enableEmsgMetadataCues:!0,enableEmsgKLVMetadata:!1,enableID3MetadataCues:!0,enableInterstitialPlayback:!0,interstitialAppendInPlace:!0,interstitialLiveLookAhead:10,useMediaCapabilities:!0,preserveManualLevelOnError:!1,certLoadPolicy:{default:g0},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},N0()),{},{subtitleStreamController:Cs,subtitleTrackController:Mo,timelineController:nc,audioStreamController:$o,audioTrackController:Ss,emeController:Pe,cmcdController:El,contentSteeringController:T,interstitialsController:bl});function N0(){return{cueHandler:z,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function Qu(P,t,r){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const a=Mu(P),v=["manifest","level","frag"],b=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return v.forEach(w=>{const U=`${w==="level"?"playlist":w}LoadPolicy`,X=t[U]===void 0,V=[];b.forEach(le=>{const pe=`${w}Loading${le}`,Ee=t[pe];if(Ee!==void 0&&X){V.push(pe);const ke=a[U].default;switch(t[U]={default:ke},le){case"TimeOut":ke.maxLoadTimeMs=Ee,ke.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":ke.errorRetry.maxNumRetry=Ee,ke.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":ke.errorRetry.retryDelayMs=Ee,ke.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":ke.errorRetry.maxRetryDelayMs=Ee,ke.timeoutRetry.maxRetryDelayMs=Ee;break}}}),V.length&&r.warn(`hls.js config: "${V.join('", "')}" setting(s) are deprecated, use "${U}": ${n0(t[U])}`)}),E(E({},a),t)}function Mu(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(Mu):Object.keys(P).reduce((t,r)=>(t[r]=Mu(P[r]),t),{}):P}function $u(P,t){const r=P.loader;r!==rt&&r!==$r?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):_e()&&(P.loader=rt,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Tr=2,Nr=.1,J0=.05,Xn=100;class ei extends Hr{constructor(t,r){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var a;(a=this.media)!=null&&a.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var a;this.ended=((a=this.media)==null?void 0:a.currentTime)||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=r,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,r){this.setInterval(Xn),this.mediaSource=r.mediaSource;const a=this.media=r.media;$0(a,"playing",this.onMediaPlaying),$0(a,"waiting",this.onMediaWaiting),$0(a,"ended",this.onMediaEnded)}onMediaDetaching(t,r){this.clearInterval();const{media:a}=this;a&&(ci(a,"playing",this.onMediaPlaying),ci(a,"waiting",this.onMediaWaiting),ci(a,"ended",this.onMediaEnded),this.media=null),this.mediaSource=void 0}onBufferAppended(t,r){this.buffered=r.timeRanges}get hasBuffered(){return Object.keys(this.buffered).length>0}tick(){var t;if(!((t=this.media)!=null&&t.readyState)||!this.hasBuffered)return;const r=this.media.currentTime;this.poll(r,this.lastCurrentTime),this.lastCurrentTime=r}poll(t,r){var a,v;const b=(a=this.hls)==null?void 0:a.config;if(!b)return;const w=this.media;if(!w)return;const{seeking:U}=w,X=this.seeking&&!U,V=!this.seeking&&U,le=w.paused&&!U||w.ended||w.playbackRate===0;if(this.seeking=U,t!==r){r&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,b.nudgeOnVideoHole&&!le&&t>r&&this.nudgeOnVideoHole(t,r)),this.waiting===0&&this.stallResolved(t);return}if(V||X){X&&this.stallResolved(t);return}if(le){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&w.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!1}));return}if(!sr.getBuffered(w).length){this.nudgeRetry=0;return}const pe=sr.bufferInfo(w,t,0),Ee=pe.nextStart||0,ke=this.fragmentTracker;if(U&&ke&&this.hls){const or=vi(this.hls.inFlightFragments,t),ju=pe.len>Tr,er=!Ee||or||Ee-t>Tr&&!ke.getPartialFragment(t);if(ju||er)return;this.moved=!1}const Re=(v=this.hls)==null?void 0:v.latestLevelDetails;if(!this.moved&&this.stalled!==null&&ke){if(!(pe.len>0)&&!Ee)return;const ju=Math.max(Ee,pe.start||0)-t,Ju=!!(Re!=null&&Re.live)?Re.targetduration*2:Tr,zu=Ns(t,ke);if(ju>0&&(ju<=Ju||zu)){w.paused||this._trySkipBufferHole(zu);return}}const ot=b.detectStallWithCurrentTimeMs,it=self.performance.now(),Kt=this.waiting;let Jt=this.stalled;if(Jt===null)if(Kt>0&&it-Kt=ot||Kt)&&this.hls){var bu;if(((bu=this.mediaSource)==null?void 0:bu.readyState)==="ended"&&!(Re!=null&&Re.live)&&Math.abs(t-((Re==null?void 0:Re.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(s.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(pe),!this.media||!this.hls)return}const Nu=sr.bufferInfo(w,t,b.maxBufferHole);this._tryFixBufferStall(Nu,ru,t)}stallResolved(t){const r=this.stalled;if(r&&this.hls&&(this.stalled=null,this.stallReported)){const a=self.performance.now()-r;this.log(`playback not stuck anymore @${t}, after ${Math.round(a)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(s.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,r){var a;const v=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(a=this.buffered.audio)!=null&&a.length&&v&&v.length>1&&t>v.end(0)){const b=sr.bufferedInfo(sr.timeRangesToArray(this.buffered.audio),t,0);if(b.len>1&&r>=b.start){const w=sr.timeRangesToArray(v),U=sr.bufferedInfo(w,r,0).bufferedIndex;if(U>-1&&UU)&&le-V<1&&t-V<2){const pe=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${V} -> ${le} buffered index: ${X}`);this.warn(pe.message),this.media.currentTime+=1e-6;let Ee=Ns(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const ke=sr.bufferInfo(this.media,t,0);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:d.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:pe,reason:pe.message,frag:Ee,buffer:ke.len,bufferInfo:ke})}}}}}_tryFixBufferStall(t,r,a){var v,b;const{fragmentTracker:w,media:U}=this,X=(v=this.hls)==null?void 0:v.config;if(!U||!w||!X)return;const V=(b=this.hls)==null?void 0:b.latestLevelDetails,le=Ns(a,w);if((le||V!=null&&V.live&&a1&&t.len>X.maxBufferHole||t.nextStart&&(t.nextStart-aX.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,r){const a=this.fragmentTracker,v=t.nextStart;if(a&&v){const b=a.getFragAtPos(r,o.MAIN),w=a.getFragAtPos(v,o.MAIN);if(b&&w)return w.sn-b.sn<2}return!1}_reportStall(t){const{hls:r,media:a,stallReported:v,stalled:b}=this;if(!v&&b!==null&&a&&r){this.stallReported=!0;const w=new Error(`Playback stalling at @${a.currentTime} due to low buffer (${n0(t)})`);this.warn(w.message),r.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:d.BUFFER_STALLED_ERROR,fatal:!1,error:w,buffer:t.len,bufferInfo:t,stalled:{start:b}})}}_trySkipBufferHole(t){var r;const{fragmentTracker:a,media:v}=this,b=(r=this.hls)==null?void 0:r.config;if(!v||!a||!b)return 0;const w=v.currentTime,U=sr.bufferInfo(v,w,0),X=w0&&U.len<1&&v.readyState<3,Ee=X-w;if(Ee>0&&(le||pe)){if(Ee>b.maxBufferHole){let Re=!1;if(w===0){const ot=a.getAppendedFrag(0,o.MAIN);ot&&X{const P=ac();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Ac{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(s.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(s.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,r){var a;this.media=r.media,((a=r.overrides)==null?void 0:a.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const r=(t=this.hls)==null?void 0:t.latestLevelDetails;r&&this.updateDateRangeCues(r)}onMediaDetaching(t,r){this.media=null,!r.transferMedia&&(this.id3Track&&(this.removeCues&&si(this.id3Track,this.onEventCueEnter),this.id3Track=null),this.dateRangeCuesAppended={})}onManifestLoading(){this.dateRangeCuesAppended={}}createTrack(t){const r=this.getID3Track(t.textTracks);return r.mode="hidden",r}getID3Track(t){if(this.media){for(let r=0;rJl&&(pe=Jl),pe-le<=0&&(pe=le+ic);for(let ke=0;kele.type===ln.audioId3&&X:v==="video"?V=le=>le.type===ln.emsg&&U:V=le=>le.type===ln.audioId3&&X||le.type===ln.emsg&&U,B4(b,r,a,V)}}onLevelUpdated(t,{details:r}){this.updateDateRangeCues(r,!0)}onLevelPtsUpdated(t,r){Math.abs(r.drift)>.01&&this.updateDateRangeCues(r.details)}updateDateRangeCues(t,r){if(!this.hls||!this.media)return;const{assetPlayerId:a,timelineOffset:v,enableDateRangeMetadataCues:b,interstitialsController:w}=this.hls.config;if(!b)return;const U=ac();if(a&&v&&!w){const{fragmentStart:ot,fragmentEnd:it}=t;let Kt=this.assetCue;Kt?(Kt.startTime=ot,Kt.endTime=it):U&&(Kt=this.assetCue=sc(U,ot,it,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Kt&&(Kt.id=a,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Kt),Kt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:X}=this,{dateRanges:V}=t,le=Object.keys(V);let pe=this.dateRangeCuesAppended;if(X&&r){var Ee;if((Ee=X.cues)!=null&&Ee.length){const ot=Object.keys(pe).filter(it=>!le.includes(it));for(let it=ot.length;it--;){var ke;const Kt=ot[it],Jt=(ke=pe[Kt])==null?void 0:ke.cues;delete pe[Kt],Jt&&Object.keys(Jt).forEach(ru=>{const bu=Jt[ru];if(bu){bu.removeEventListener("enter",this.onEventCueEnter);try{X.removeCue(bu)}catch(Nu){}}})}}else pe=this.dateRangeCuesAppended={}}const Re=t.fragments[t.fragments.length-1];if(!(le.length===0||!u(Re==null?void 0:Re.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ot=0;ot{if(wn!==Kt.id){const u0=V[wn];if(u0.class===Kt.class&&u0.startDate>Kt.startDate&&(!Ir||Kt.startDate.01&&(wn.startTime=Jt,wn.endTime=or);else if(U){let u0=Kt.attr[Ir];W4(Ir)&&(u0=K(u0));const r0=sc(U,Jt,or,{key:Ir,data:u0},ln.dateRange);r0&&(r0.id=it,this.id3Track.addCue(r0),bu[Ir]=r0,w&&(Ir==="X-ASSET-LIST"||Ir==="X-ASSET-URL")&&r0.addEventListener("enter",this.onEventCueEnter))}}pe[it]={cues:bu,dateRange:Kt,durationKnown:Nu}}}}}class xc{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:r}=this,a=this.levelDetails;if(!r||!a)return;this.currentTime=r.currentTime;const v=this.computeLatency();if(v===null)return;this._latency=v;const{lowLatencyMode:b,maxLiveSyncPlaybackRate:w}=this.config;if(!b||w===1||!a.live)return;const U=this.targetLatency;if(U===null)return;const X=v-U,V=Math.min(this.maxLatency,U+a.targetduration);if(X.05&&this.forwardBufferLength>1){const pe=Math.min(2,Math.max(1,w)),Ee=Math.round(2/(1+Math.exp(-.75*X-this.edgeStalled))*20)/20,ke=Math.min(pe,Math.max(1,Ee));this.changeMediaPlaybackRate(r,ke)}else r.playbackRate!==1&&r.playbackRate!==0&&this.changeMediaPlaybackRate(r,1)},this.hls=t,this.config=t.config,this.registerListeners()}get levelDetails(){var t;return((t=this.hls)==null?void 0:t.latestLevelDetails)||null}get latency(){return this._latency||0}get maxLatency(){const{config:t}=this;if(t.liveMaxLatencyDuration!==void 0)return t.liveMaxLatencyDuration;const r=this.levelDetails;return r?t.liveMaxLatencyDurationCount*r.targetduration:0}get targetLatency(){const t=this.levelDetails;if(t===null||this.hls===null)return null;const{holdBack:r,partHoldBack:a,targetduration:v}=t,{liveSyncDuration:b,liveSyncDurationCount:w,lowLatencyMode:U}=this.config,X=this.hls.userConfig;let V=U&&a||r;(this._targetLatencyUpdated||X.liveSyncDuration||X.liveSyncDurationCount||V===0)&&(V=b!==void 0?b:w*v);const le=v;return V+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,le)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),r=this.targetLatency;if(t===null||r===null)return null;const a=this.levelDetails;if(a===null)return null;const v=a.edge,b=t-r-this.edgeStalled,w=v-a.totalduration,U=v-(this.config.lowLatencyMode&&a.partTarget||a.targetduration);return Math.min(Math.max(w,b),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const r=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-r,0)}get forwardBufferLength(){const{media:t}=this,r=this.levelDetails;if(!t||!r)return 0;const a=t.buffered.length;return(a?t.buffered.end(a-1):r.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(s.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(s.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(s.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(s.ERROR,this.onError,this))}onMediaAttached(t,r){this.media=r.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:r}){r.advanced&&this.onTimeupdate(),!r.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,r){var a;r.details===d.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(a=this.levelDetails)!=null&&a.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,r){var a,v;t.playbackRate!==r&&((a=this.hls)==null||a.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(v=this.targetLatency)==null?void 0:v.toFixed(3)}, forwardBufferLength=${this.forwardBufferLength.toFixed(3)}: adjusting playback rate from ${t.playbackRate} to ${r}`),t.playbackRate=r)}estimateLiveEdge(){const t=this.levelDetails;return t===null?null:t.edge+t.age}computeLatency(){const t=this.estimateLiveEdge();return t===null?null:t-this.currentTime}}class Dc extends _4{constructor(t,r){super(t,"level-controller"),this._levels=[],this._firstLevel=-1,this._maxAutoLevel=-1,this._startLevel=void 0,this.currentLevel=null,this.currentLevelIndex=-1,this.manualLevelIndex=-1,this.steering=void 0,this.onParsedComplete=void 0,this.steering=r,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this),t.on(s.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this),t.off(s.ERROR,this.onError,this)}destroy(){this._unregisterListeners(),this.steering=null,this.resetLevels(),super.destroy()}stopLoad(){this._levels.forEach(r=>{r.loadError=0,r.fragmentError=0}),super.stopLoad()}resetLevels(){this._startLevel=void 0,this.manualLevelIndex=-1,this.currentLevelIndex=-1,this.currentLevel=null,this._levels=[],this._maxAutoLevel=-1}onManifestLoading(t,r){this.resetLevels()}onManifestLoaded(t,r){const a=this.hls.config.preferManagedMediaSource,v=[],b={},w={};let U=!1,X=!1,V=!1;r.levels.forEach(le=>{const pe=le.attrs;let{audioCodec:Ee,videoCodec:ke}=le;Ee&&(le.audioCodec=Ee=_t(Ee,a)||void 0),ke&&(ke=le.videoCodec=Iu(ke));const{width:Re,height:ot,unknownCodecs:it}=le,Kt=(it==null?void 0:it.length)||0;if(U||(U=!!(Re&&ot)),X||(X=!!ke),V||(V=!!Ee),Kt||Ee&&!this.isAudioSupported(Ee)||ke&&!this.isVideoSupported(ke)){this.log(`Some or all CODECS not supported "${pe.CODECS}"`);return}const{CODECS:Jt,"FRAME-RATE":ru,"HDCP-LEVEL":bu,"PATHWAY-ID":Nu,RESOLUTION:or,"VIDEO-RANGE":ju}=pe,Ju=`${`${Nu||"."}-`}${le.bitrate}-${or}-${ru}-${Jt}-${ju}-${bu}`;if(b[Ju])if(b[Ju].uri!==le.url&&!le.attrs["PATHWAY-ID"]){const zu=w[Ju]+=1;le.attrs["PATHWAY-ID"]=new Array(zu+1).join(".");const Ir=this.createLevel(le);b[Ju]=Ir,v.push(Ir)}else b[Ju].addGroupId("audio",pe.AUDIO),b[Ju].addGroupId("text",pe.SUBTITLES);else{const zu=this.createLevel(le);b[Ju]=zu,w[Ju]=1,v.push(zu)}}),this.filterAndSortMediaOptions(v,r,U,X,V)}createLevel(t){const r=new Gn(t),a=t.supplemental;if(a!=null&&a.videoCodec&&!this.isVideoSupported(a.videoCodec)){const v=new Error(`SUPPLEMENTAL-CODECS not supported "${a.videoCodec}"`);this.log(v.message),r.supportedResult=Dt(v,[])}return r}isAudioSupported(t){return De(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return De(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,r,a,v,b){var w;let U=[],X=[],V=t;const le=((w=r.stats)==null?void 0:w.parsing)||{};if((a||v)&&b&&(V=V.filter(({videoCodec:Jt,videoRange:ru,width:bu,height:Nu})=>(!!Jt||!!(bu&&Nu))&&Rn(ru))),V.length===0){Promise.resolve().then(()=>{if(this.hls){let Jt="no level with compatible codecs found in manifest",ru=Jt;r.levels.length&&(ru=`one or more CODECS in variant not supported: ${n0(r.levels.map(Nu=>Nu.attrs.CODECS).filter((Nu,or,ju)=>ju.indexOf(Nu)===or))}`,this.warn(ru),Jt+=` (${ru})`);const bu=new Error(Jt);this.hls.trigger(s.ERROR,{type:c.MEDIA_ERROR,details:d.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:r.url,error:bu,reason:ru})}}),le.end=performance.now();return}r.audioTracks&&(U=r.audioTracks.filter(Jt=>!Jt.audioCodec||this.isAudioSupported(Jt.audioCodec)),fc(U)),r.subtitles&&(X=r.subtitles,fc(X));const pe=V.slice(0);V.sort((Jt,ru)=>{if(Jt.attrs["HDCP-LEVEL"]!==ru.attrs["HDCP-LEVEL"])return(Jt.attrs["HDCP-LEVEL"]||"")>(ru.attrs["HDCP-LEVEL"]||"")?1:-1;if(a&&Jt.height!==ru.height)return Jt.height-ru.height;if(Jt.frameRate!==ru.frameRate)return Jt.frameRate-ru.frameRate;if(Jt.videoRange!==ru.videoRange)return Xr.indexOf(Jt.videoRange)-Xr.indexOf(ru.videoRange);if(Jt.videoCodec!==ru.videoCodec){const bu=Ae(Jt.videoCodec),Nu=Ae(ru.videoCodec);if(bu!==Nu)return Nu-bu}if(Jt.uri===ru.uri&&Jt.codecSet!==ru.codecSet){const bu=ht(Jt.codecSet),Nu=ht(ru.codecSet);if(bu!==Nu)return Nu-bu}return Jt.averageBitrate!==ru.averageBitrate?Jt.averageBitrate-ru.averageBitrate:0});let Ee=pe[0];if(this.steering&&(V=this.steering.filterParsedLevels(V),V.length!==pe.length)){for(let Jt=0;Jtbu&&bu===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=Nu)}break}const Re=b&&!v,ot=this.hls.config,it=!!(ot.audioStreamController&&ot.audioTrackController),Kt={levels:V,audioTracks:U,subtitleTracks:X,sessionData:r.sessionData,sessionKeys:r.sessionKeys,firstLevel:this._firstLevel,stats:r.stats,audio:b,video:v,altAudio:it&&!Re&&U.some(Jt=>!!Jt.url)};le.end=performance.now(),this.hls.trigger(s.MANIFEST_PARSED,Kt)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const r=this._levels;if(r.length===0)return;if(t<0||t>=r.length){const le=new Error("invalid level idx"),pe=t<0;if(this.hls.trigger(s.ERROR,{type:c.OTHER_ERROR,details:d.LEVEL_SWITCH_ERROR,level:t,fatal:pe,error:le,reason:le.message}),pe)return;t=Math.min(t,r.length-1)}const a=this.currentLevelIndex,v=this.currentLevel,b=v?v.attrs["PATHWAY-ID"]:void 0,w=r[t],U=w.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=w,a===t&&v&&b===U)return;this.log(`Switching to level ${t} (${w.height?w.height+"p ":""}${w.videoRange?w.videoRange+" ":""}${w.codecSet?w.codecSet+" ":""}@${w.bitrate})${U?" with Pathway "+U:""} from level ${a}${b?" with Pathway "+b:""}`);const X={level:t,attrs:w.attrs,details:w.details,bitrate:w.bitrate,averageBitrate:w.averageBitrate,maxBitrate:w.maxBitrate,realBitrate:w.realBitrate,width:w.width,height:w.height,codecSet:w.codecSet,audioCodec:w.audioCodec,videoCodec:w.videoCodec,audioGroups:w.audioGroups,subtitleGroups:w.subtitleGroups,loaded:w.loaded,loadError:w.loadError,fragmentError:w.fragmentError,name:w.name,id:w.id,uri:w.uri,url:w.url,urlId:0,audioGroupIds:w.audioGroupIds,textGroupIds:w.textGroupIds};this.hls.trigger(s.LEVEL_SWITCHING,X);const V=w.details;if(!V||V.live){const le=this.switchParams(w.uri,v==null?void 0:v.details,V);this.loadPlaylist(le)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const r=this.steering.pathways(),a=t.filter(v=>r.indexOf(v)!==-1);if(t.length<1){this.warn(`pathwayPriority ${t} should contain at least one pathway from list: ${r}`);return}this.steering.pathwayPriority=a}}onError(t,r){r.fatal||!r.context||r.context.type===h.LEVEL&&r.context.level===this.level&&this.checkRetry(r)}onFragBuffered(t,{frag:r}){if(r!==void 0&&r.type===o.MAIN){const a=r.elementaryStreams;if(!Object.keys(a).some(b=>!!a[b]))return;const v=this._levels[r.level];v!=null&&v.loadError&&(this.log(`Resetting level error count of ${v.loadError} on frag buffered`),v.loadError=0)}}onLevelLoaded(t,r){var a;const{level:v,details:b}=r,w=r.levelInfo;if(!w){var U;this.warn(`Invalid level index ${v}`),(U=r.deliveryDirectives)!=null&&U.skip&&(b.deltaUpdateFailed=!0);return}if(w===this.currentLevel||r.withoutMultiVariant){w.fragmentError===0&&(w.loadError=0);let X=w.details;X===r.details&&X.advanced&&(X=void 0),this.playlistLoaded(v,r,X)}else(a=r.deliveryDirectives)!=null&&a.skip&&(b.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,r){super.loadingPlaylist(t,r);const a=this.getUrlWithDirectives(t.uri,r),v=this.currentLevelIndex,b=t.attrs["PATHWAY-ID"],w=t.details,U=w==null?void 0:w.age;this.log(`Loading level index ${v}${(r==null?void 0:r.msn)!==void 0?" at sn "+r.msn+" part "+r.part:""}${b?" Pathway "+b:""}${U&&w.live?" age "+U.toFixed(1)+(w.type?" "+w.type||0:""):""} ${a}`),this.hls.trigger(s.LEVEL_LOADING,{url:a,level:v,levelInfo:t,pathwayId:t.attrs["PATHWAY-ID"],id:0,deliveryDirectives:r||null})}get nextLoadLevel(){return this.manualLevelIndex!==-1?this.manualLevelIndex:this.hls.nextAutoLevel}set nextLoadLevel(t){this.level=t,this.manualLevelIndex===-1&&(this.hls.nextAutoLevel=t)}removeLevel(t){var r;if(this._levels.length===1)return;const a=this._levels.filter((b,w)=>w!==t?!0:(this.steering&&this.steering.removeLevel(b),b===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,b.details&&b.details.fragments.forEach(U=>U.level=-1)),!1));di(a),this._levels=a,this.currentLevelIndex>-1&&(r=this.currentLevel)!=null&&r.details&&(this.currentLevelIndex=this.currentLevel.details.fragments[0].level),this.manualLevelIndex>-1&&(this.manualLevelIndex=this.currentLevelIndex);const v=a.length-1;this._firstLevel=Math.min(this._firstLevel,v),this._startLevel&&(this._startLevel=Math.min(this._startLevel,v)),this.hls.trigger(s.LEVELS_UPDATED,{levels:a})}onLevelsUpdated(t,{levels:r}){this._levels=r}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:r,maxHdcpLevel:a}=this.hls;this._maxAutoLevel!==r&&(this._maxAutoLevel=r,this.hls.trigger(s.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:r,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:a}))}}function fc(P){const t={};P.forEach(r=>{const a=r.groupId||"";r.id=t[a]=t[a]||0,t[a]++})}function hc(){return self.SourceBuffer||self.WebKitSourceBuffer}function pc(){if(!ae())return!1;const t=hc();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Cc(){if(!pc())return!1;const P=ae();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(Ue(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(Ue(t,"audio"))))}function Fc(){var P;const t=hc();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const mc=100;class vc extends Lt{constructor(t,r,a){super(t,r,a,"stream-controller",o.MAIN),this.audioCodecSwap=!1,this.level=-1,this._forceStartLoad=!1,this._hasEnoughToStart=!1,this.altAudio=0,this.audioOnly=!1,this.fragPlaying=null,this.fragLastKbps=0,this.couldBacktrack=!1,this.backtrackFragment=null,this.audioCodecSwitch=!1,this.videoBuffer=null,this.onMediaPlaying=()=>{this.tick()},this.onMediaSeeked=()=>{const v=this.media,b=v?v.currentTime:null;if(b===null||!u(b)||(this.log(`Media seeked to ${b.toFixed(3)}`),!this.getBufferedFrag(b)))return;const w=this.getFwdBufferInfoAtPos(v,b,o.MAIN,0);if(w===null||w.len===0){this.warn(`Main forward buffer length at ${b} on "seeked" event ${w?w.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(s.MANIFEST_PARSED,this.onManifestParsed,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.LEVEL_LOADED,this.onLevelLoaded,this),t.on(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(s.BUFFER_CREATED,this.onBufferCreated,this),t.on(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(s.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(s.MANIFEST_PARSED,this.onManifestParsed,this),t.off(s.LEVEL_LOADED,this.onLevelLoaded,this),t.off(s.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(s.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(s.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(s.BUFFER_CREATED,this.onBufferCreated,this),t.off(s.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(s.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,r){if(this.levels){const{lastCurrentTime:a,hls:v}=this;if(this.stopLoad(),this.setInterval(mc),this.level=-1,!this.startFragRequested){let b=v.startLevel;b===-1&&(v.config.testBandwidth&&this.levels.length>1?(b=0,this.bitrateTest=!0):b=v.firstAutoLevel),v.nextLoadLevel=b,this.level=v.loadLevel,this._hasEnoughToStart=!!r}a>0&&t===-1&&!r&&(this.log(`Override startPosition with lastCurrentTime @${a.toFixed(3)}`),t=a),this.state=Te.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=r?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Te.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Te.WAITING_LEVEL:{const{levels:t,level:r}=this,a=t==null?void 0:t[r],v=a==null?void 0:a.details;if(v&&(!v.live||this.levelLastLoaded===a&&!this.waitForLive(a))){if(this.waitForCdnTuneIn(v))break;this.state=Te.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Te.IDLE;break}break}case Te.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Te.IDLE&&this.doTickIdle(),this.onTickEnd()}onTickEnd(){var t;super.onTickEnd(),(t=this.media)!=null&&t.readyState&&this.media.seeking===!1&&(this.lastCurrentTime=this.media.currentTime),this.checkFragmentChanged()}doTickIdle(){const{hls:t,levelLastLoaded:r,levels:a,media:v}=this;if(r===null||!v&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const b=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(a!=null&&a[b]))return;const w=a[b],U=this.getMainFwdBufferInfo();if(U===null)return;const X=this.getLevelDetails();if(X&&this._streamEnded(U,X)){const ot={};this.altAudio===2&&(ot.type="video"),this.hls.trigger(s.BUFFER_EOS,ot),this.state=Te.ENDED;return}if(!this.buffering)return;t.loadLevel!==b&&t.manualLevel===-1&&this.log(`Adapting to level ${b} from level ${this.level}`),this.level=t.nextLoadLevel=b;const V=w.details;if(!V||this.state===Te.WAITING_LEVEL||this.waitForLive(w)){this.level=b,this.state=Te.WAITING_LEVEL,this.startFragRequested=!1;return}const le=U.len,pe=this.getMaxBufferLength(w.maxBitrate);if(le>=pe)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:U.end;let ke=this.getNextFragment(Ee,V);if(this.couldBacktrack&&!this.fragPrevious&&ke&&Fe(ke)&&this.fragmentTracker.getState(ke)!==Dr.OK){var Re;const it=((Re=this.backtrackFragment)!=null?Re:ke).sn-V.startSN,Kt=V.fragments[it-1];Kt&&ke.cc===Kt.cc&&(ke=Kt,this.fragmentTracker.removeFragment(Kt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(ke&&this.isLoopLoading(ke,Ee)){if(!ke.gap){const it=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Kt=(it===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Kt&&this.afterBufferFlushed(Kt,it,o.MAIN)}ke=this.getNextFragmentLoopLoading(ke,V,U,o.MAIN,pe)}ke&&(ke.initSegment&&!ke.initSegment.data&&!this.bitrateTest&&(ke=ke.initSegment),this.loadFragment(ke,w,Ee))}loadFragment(t,r,a){const v=this.fragmentTracker.getState(t);v===Dr.NOT_LOADED||v===Dr.PARTIAL?Fe(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,r)):super.loadFragment(t,r,a):this._loadInitSegment(t,r):this.clearTrackerIfNeeded(t)}getBufferedFrag(t){return this.fragmentTracker.getBufferedFrag(t,o.MAIN)}followingBufferedFrag(t){return t?this.getBufferedFrag(t.end+.5):null}immediateLevelSwitch(){this.abortCurrentFrag(),this.flushMainBuffer(0,Number.POSITIVE_INFINITY)}nextLevelSwitch(){const{levels:t,media:r}=this;if(r!=null&&r.readyState){let a;const v=this.getAppendedFrag(r.currentTime);v&&v.start>1&&this.flushMainBuffer(0,v.start-1);const b=this.getLevelDetails();if(b!=null&&b.live){const U=this.getMainFwdBufferInfo();if(!U||U.len=w-r.maxFragLookUpTolerance&&b<=U;if(v!==null&&a.duration>v&&(b{this.hls&&this.hls.trigger(s.AUDIO_TRACK_SWITCHED,r)}),a.trigger(s.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}a.trigger(s.AUDIO_TRACK_SWITCHED,r)}}onAudioTrackSwitched(t,r){const a=nt(r.url,this.hls);if(a){const v=this.videoBuffer;v&&this.mediaBuffer!==v&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=v)}this.altAudio=a?2:0,this.tick()}onBufferCreated(t,r){const a=r.tracks;let v,b,w=!1;for(const U in a){const X=a[U];if(X.id==="main"){if(b=U,v=X,U==="video"){const V=a[U];V&&(this.videoBuffer=V.buffer)}}else w=!0}w&&v?(this.log(`Alternate track found, use ${b}.buffered to schedule main fragment loading`),this.mediaBuffer=v.buffer):this.mediaBuffer=this.media}onFragBuffered(t,r){const{frag:a,part:v}=r,b=a.type===o.MAIN;if(b){if(this.fragContextChanged(a)){this.warn(`Fragment ${a.sn}${v?" p: "+v.index:""} of level ${a.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Te.PARSED&&(this.state=Te.IDLE);return}const U=v?v.stats:a.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),Fe(a)&&(this.fragPrevious=a),this.fragBufferedComplete(a,v)}const w=this.media;w&&(!this._hasEnoughToStart&&sr.getBuffered(w).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),b&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,r){var a;if(r.fatal){this.state=Te.ERROR;return}switch(r.details){case d.FRAG_GAP:case d.FRAG_PARSING_ERROR:case d.FRAG_DECRYPT_ERROR:case d.FRAG_LOAD_ERROR:case d.FRAG_LOAD_TIMEOUT:case d.KEY_LOAD_ERROR:case d.KEY_LOAD_TIMEOUT:this.onFragmentOrKeyLoadError(o.MAIN,r);break;case d.LEVEL_LOAD_ERROR:case d.LEVEL_LOAD_TIMEOUT:case d.LEVEL_PARSING_ERROR:!r.levelRetry&&this.state===Te.WAITING_LEVEL&&((a=r.context)==null?void 0:a.type)===h.LEVEL&&(this.state=Te.IDLE);break;case d.BUFFER_ADD_CODEC_ERROR:case d.BUFFER_APPEND_ERROR:if(r.parent!=="main")return;this.reduceLengthAndFlushBuffer(r)&&this.resetLoadingState();break;case d.BUFFER_FULL_ERROR:if(r.parent!=="main")return;this.reduceLengthAndFlushBuffer(r)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case d.INTERNAL_EXCEPTION:this.recoverWorkerError(r);break}}onFragLoadEmergencyAborted(){this.state=Te.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:r}){if(r!==ie.AUDIO||!this.altAudio){const a=(r===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;a&&(this.afterBufferFlushed(a,r,o.MAIN),this.tick())}}onLevelsUpdated(t,r){this.level>-1&&this.fragCurrent&&(this.level=this.fragCurrent.level,this.level===-1&&this.resetWhenMissingContext(this.fragCurrent)),this.levels=r.levels}swapAudioCodec(){this.audioCodecSwap=!this.audioCodecSwap}seekToStartPos(){const{media:t}=this;if(!t)return;const r=t.currentTime;let a=this.startPosition;if(a>=0&&r0&&(X{const{hls:v}=this,b=a==null?void 0:a.frag;if(!b||this.fragContextChanged(b))return;r.fragmentError=0,this.state=Te.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const w=b.stats;w.parsing.start=w.parsing.end=w.buffering.start=w.buffering.end=self.performance.now(),v.trigger(s.FRAG_LOADED,a),b.bitrateTest=!1}).catch(a=>{this.state===Te.STOPPED||this.state===Te.ERROR||(this.warn(a),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const r=this.playlistType,{hls:a}=this,{remuxResult:v,chunkMeta:b}=t,w=this.getCurrentContext(b);if(!w){this.resetWhenMissingContext(b);return}const{frag:U,part:X,level:V}=w,{video:le,text:pe,id3:Ee,initSegment:ke}=v,{details:Re}=V,ot=this.altAudio?void 0:v.audio;if(this.fragContextChanged(U)){this.fragmentTracker.removeFragment(U);return}if(this.state=Te.PARSING,ke){const it=ke.tracks;if(it){const bu=U.initSegment||U;if(this.unhandledEncryptionError(ke,U))return;this._bufferInitSegment(V,it,bu,b),a.trigger(s.FRAG_PARSING_INIT_SEGMENT,{frag:bu,id:r,tracks:it})}const Kt=ke.initPTS,Jt=ke.timescale,ru=this.initPTS[U.cc];if(u(Kt)&&(!ru||ru.baseTime!==Kt||ru.timescale!==Jt)){const bu=ke.trackId;this.initPTS[U.cc]={baseTime:Kt,timescale:Jt,trackId:bu},a.trigger(s.INIT_PTS_FOUND,{frag:U,id:r,initPTS:Kt,timescale:Jt,trackId:bu})}}if(le&&Re){ot&&le.type==="audiovideo"&&this.logMuxedErr(U);const it=Re.fragments[U.sn-1-Re.startSN],Kt=U.sn===Re.startSN,Jt=!it||U.cc>it.cc;if(v.independent!==!1){const{startPTS:ru,endPTS:bu,startDTS:Nu,endDTS:or}=le;if(X)X.elementaryStreams[le.type]={startPTS:ru,endPTS:bu,startDTS:Nu,endDTS:or};else if(le.firstKeyFrame&&le.independent&&b.id===1&&!Jt&&(this.couldBacktrack=!0),le.dropped&&le.independent){const ju=this.getMainFwdBufferInfo(),er=(ju?ju.end:this.getLoadPosition())+this.config.maxBufferHole,Ju=le.firstKeyFramePTS?le.firstKeyFramePTS:ru;if(!Kt&&erTr&&(U.gap=!0);U.setElementaryStreamInfo(le.type,ru,bu,Nu,or),this.backtrackFragment&&(this.backtrackFragment=U),this.bufferFragmentData(le,U,X,b,Kt||Jt)}else if(Kt||Jt)U.gap=!0;else{this.backtrack(U);return}}if(ot){const{startPTS:it,endPTS:Kt,startDTS:Jt,endDTS:ru}=ot;X&&(X.elementaryStreams[ie.AUDIO]={startPTS:it,endPTS:Kt,startDTS:Jt,endDTS:ru}),U.setElementaryStreamInfo(ie.AUDIO,it,Kt,Jt,ru),this.bufferFragmentData(ot,U,X,b)}if(Re&&Ee!=null&&Ee.samples.length){const it={id:r,frag:U,details:Re,samples:Ee.samples};a.trigger(s.FRAG_PARSING_METADATA,it)}if(Re&&pe){const it={id:r,frag:U,details:Re,samples:pe.samples};a.trigger(s.FRAG_PARSING_USERDATA,it)}}logMuxedErr(t){this.warn(`${Fe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,r,a,v){if(this.state!==Te.PARSING)return;this.audioOnly=!!r.audio&&!r.video,this.altAudio&&!this.audioOnly&&(delete r.audio,r.audiovideo&&this.logMuxedErr(a));const{audio:b,video:w,audiovideo:U}=r;if(b){const V=t.audioCodec;let le=Yu(b.codec,V);le==="mp4a"&&(le="mp4a.40.5");const pe=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){le&&(le.indexOf("mp4a.40.5")!==-1?le="mp4a.40.2":le="mp4a.40.5");const Ee=b.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&pe.indexOf("firefox")===-1&&(le="mp4a.40.5")}le&&le.indexOf("mp4a.40.5")!==-1&&pe.indexOf("android")!==-1&&b.container!=="audio/mpeg"&&(le="mp4a.40.2",this.log(`Android: force audio codec to ${le}`)),V&&V!==le&&this.log(`Swapping manifest audio codec "${V}" for "${le}"`),b.levelCodec=le,b.id=o.MAIN,this.log(`Init audio buffer, container:${b.container}, codecs[selected/level/parsed]=[${le||""}/${V||""}/${b.codec}]`),delete r.audiovideo}if(w){w.levelCodec=t.videoCodec,w.id=o.MAIN;const V=w.codec;if((V==null?void 0:V.length)===4)switch(V){case"hvc1":case"hev1":w.codec="hvc1.1.6.L120.90";break;case"av01":w.codec="av01.0.04M.08";break;case"avc1":w.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${w.container}, codecs[level/parsed]=[${t.videoCodec||""}/${V}]${w.codec!==V?" parsed-corrected="+w.codec:""}${w.supplemental?" supplemental="+w.supplemental:""}`),delete r.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete r.video,delete r.audio);const X=Object.keys(r);if(X.length){if(this.hls.trigger(s.BUFFER_CODECS,r),!this.hls)return;X.forEach(V=>{const pe=r[V].initSegment;pe!=null&&pe.byteLength&&this.hls.trigger(s.BUFFER_APPENDING,{type:V,data:pe,frag:a,part:null,chunkMeta:v,parent:a.type})})}this.tickImmediate()}getMainFwdBufferInfo(){const t=this.mediaBuffer&&this.altAudio===2?this.mediaBuffer:this.media;return this.getFwdBufferInfo(t,o.MAIN)}get maxBufferLength(){const{levels:t,level:r}=this,a=t==null?void 0:t[r];return a?this.getMaxBufferLength(a.maxBitrate):this.config.maxBufferLength}backtrack(t){this.couldBacktrack=!0,this.backtrackFragment=t,this.resetTransmuxer(),this.flushBufferGap(t),this.fragmentTracker.removeFragment(t),this.fragPrevious=null,this.nextLoadPosition=t.start,this.state=Te.IDLE}checkFragmentChanged(){const t=this.media;let r=null;if(t&&t.readyState>1&&t.seeking===!1){const a=t.currentTime;if(sr.isBuffered(t,a)?r=this.getAppendedFrag(a):sr.isBuffered(t,a+.1)&&(r=this.getAppendedFrag(a+.1)),r){this.backtrackFragment=null;const v=this.fragPlaying,b=r.level;(!v||r.sn!==v.sn||v.level!==b)&&(this.fragPlaying=r,this.hls.trigger(s.FRAG_CHANGED,{frag:r}),(!v||v.level!==b)&&this.hls.trigger(s.LEVEL_SWITCHED,{level:b}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const r=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return u(r)?this.getAppendedFrag(r):null}get currentProgramDateTime(){var t;const r=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(u(r)){const a=this.getLevelDetails(),v=this.currentFrag||(a?su(null,a.fragments,r):null);if(v){const b=v.programDateTime;if(b!==null){const w=b+(r-v.start)*1e3;return new Date(w)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class wc extends O{constructor(t,r){super("key-loader",r),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const a in this.keyIdToKeyInfo){const v=this.keyIdToKeyInfo[a].loader;if(v){var r;if(t&&t!==((r=v.context)==null?void 0:r.frag.type))return;v.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[t];(r.mediaKeySessionContext||r.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const r=this.keyIdToKeyInfo[t].loader;r&&r.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,r=d.KEY_LOAD_ERROR,a,v,b){return new qu({type:c.NETWORK_ERROR,details:r,fatal:!1,frag:t,response:b,error:a,networkDetails:v})}loadClear(t,r,a){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(r.length)for(let v=0,b=r.length;v{if(!this.emeController)return;w.setKeyFormat(U);const X=D4(U);if(X)return this.emeController.getKeySystemAccess([X])})}if(this.config.requireKeySystemAccessOnStart){const v=c4(this.config);if(v.length)return this.emeController.getKeySystemAccess(v)}}return null}load(t){return!t.decryptdata&&t.encrypted&&this.emeController&&this.config.emeEnabled?this.emeController.selectKeySystemFormat(t).then(r=>this.loadInternal(t,r)):this.loadInternal(t)}loadInternal(t,r){var a,v;r&&t.setKeyFormat(r);const b=t.decryptdata;if(!b){const V=new Error(r?`Expected frag.decryptdata to be defined after setting format ${r}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,d.KEY_LOAD_ERROR,V))}const w=b.uri;if(!w)return Promise.reject(this.createKeyLoadError(t,d.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${w}"`)));const U=oc(b);let X=this.keyIdToKeyInfo[U];if((a=X)!=null&&a.decryptdata.key)return b.key=X.decryptdata.key,Promise.resolve({frag:t,keyInfo:X});if(this.emeController&&(v=X)!=null&&v.keyLoadPromise)switch(this.emeController.getKeyStatus(X.decryptdata)){case"usable":case"usable-in-future":return X.keyLoadPromise.then(le=>{const{keyInfo:pe}=le;return b.key=pe.decryptdata.key,{frag:t,keyInfo:pe}})}switch(this.log(`${this.keyIdToKeyInfo[U]?"Rel":"L"}oading${b.keyId?" keyId: "+q(b.keyId):""} URI: ${b.uri} from ${t.type} ${t.level}`),X=this.keyIdToKeyInfo[U]={decryptdata:b,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},b.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return b.keyFormat==="identity"?this.loadKeyHTTP(X,t):this.loadKeyEME(X,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(X,t);default:return Promise.reject(this.createKeyLoadError(t,d.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${b.method}"`)))}}loadKeyEME(t,r){const a={frag:r,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var v;if(!t.decryptdata.keyId&&(v=r.initSegment)!=null&&v.data){const w=mt(r.initSegment.data);if(w.length){const U=w[0];U.some(X=>X!==0)&&(this.log(`Using keyId found in init segment ${q(U)}`),t.decryptdata.keyId=U,O4.setKeyIdForUri(t.decryptdata.uri,U))}}const b=this.emeController.loadKey(a);return(t.keyLoadPromise=b.then(w=>(t.mediaKeySessionContext=w,a))).catch(w=>{throw t.keyLoadPromise=null,"data"in w&&(w.data.frag=r),w})}return Promise.resolve(a)}loadKeyHTTP(t,r){const a=this.config,v=a.loader,b=new v(a);return r.keyLoader=t.loader=b,t.keyLoadPromise=new Promise((w,U)=>{const X={keyInfo:t,frag:r,responseType:"arraybuffer",url:t.decryptdata.uri},V=a.keyLoadPolicy.default,le={loadPolicy:V,timeout:V.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},pe={onSuccess:(Ee,ke,Re,ot)=>{const{frag:it,keyInfo:Kt}=Re,Jt=oc(Kt.decryptdata);if(!it.decryptdata||Kt!==this.keyIdToKeyInfo[Jt])return U(this.createKeyLoadError(it,d.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ot));Kt.decryptdata.key=it.decryptdata.key=new Uint8Array(Ee.data),it.keyLoader=null,Kt.loader=null,w({frag:it,keyInfo:Kt})},onError:(Ee,ke,Re,ot)=>{this.resetLoader(ke),U(this.createKeyLoadError(r,d.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Re,E({url:X.url,data:void 0},Ee)))},onTimeout:(Ee,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(r,d.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Re))},onAbort:(Ee,ke,Re)=>{this.resetLoader(ke),U(this.createKeyLoadError(r,d.INTERNAL_ABORTED,new Error("key loading aborted"),Re))}};b.load(X,le,pe)})}resetLoader(t){const{frag:r,keyInfo:a,url:v}=t,b=a.loader;r.keyLoader===b&&(r.keyLoader=null,a.loader=null);const w=oc(a.decryptdata)||v;delete this.keyIdToKeyInfo[w],b&&b.destroy()}}function oc(P){if(P.keyFormat!==ui.FAIRPLAY){const t=P.keyId;if(t)return q(t)}return P.uri}function gc(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return o.AUDIO;case h.SUBTITLE_TRACK:return o.SUBTITLE;default:return o.MAIN}}function lc(P,t){let r=P.url;return(r===void 0||r.indexOf("data:")===0)&&(r=t.url),r}class ec{constructor(t){this.hls=void 0,this.loaders=Object.create(null),this.variableList=null,this.onManifestLoaded=this.checkAutostartLoad,this.hls=t,this.registerListeners()}startLoad(t){}stopLoad(){this.destroyInternalLoaders()}registerListeners(){const{hls:t}=this;t.on(s.MANIFEST_LOADING,this.onManifestLoading,this),t.on(s.LEVEL_LOADING,this.onLevelLoading,this),t.on(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(s.MANIFEST_LOADING,this.onManifestLoading,this),t.off(s.LEVEL_LOADING,this.onLevelLoading,this),t.off(s.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(s.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(s.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const r=this.hls.config,a=r.pLoader,v=r.loader,b=a||v,w=new b(r);return this.loaders[t.type]=w,w}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const r=this.loaders[t];r&&r.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,r){const{url:a}=r;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:a,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,r){const{id:a,level:v,pathwayId:b,url:w,deliveryDirectives:U,levelInfo:X}=r;this.load({id:a,level:v,pathwayId:b,responseType:"text",type:h.LEVEL,url:w,deliveryDirectives:U,levelOrTrack:X})}onAudioTrackLoading(t,r){const{id:a,groupId:v,url:b,deliveryDirectives:w,track:U}=r;this.load({id:a,groupId:v,level:null,responseType:"text",type:h.AUDIO_TRACK,url:b,deliveryDirectives:w,levelOrTrack:U})}onSubtitleTrackLoading(t,r){const{id:a,groupId:v,url:b,deliveryDirectives:w,track:U}=r;this.load({id:a,groupId:v,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:b,deliveryDirectives:w,levelOrTrack:U})}onLevelsUpdated(t,r){const a=this.loaders[h.LEVEL];if(a){const v=a.context;v&&!r.levels.some(b=>b===v.levelOrTrack)&&(a.abort(),delete this.loaders[h.LEVEL])}}load(t){var r;const a=this.hls.config;let v=this.getInternalLoader(t);if(v){const V=this.hls.logger,le=v.context;if(le&&le.levelOrTrack===t.levelOrTrack&&(le.url===t.url||le.deliveryDirectives&&!t.deliveryDirectives)){le.url===t.url?V.log(`[playlist-loader]: ignore ${t.url} ongoing request`):V.log(`[playlist-loader]: ignore ${t.url} in favor of ${le.url}`);return}V.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),v.abort()}let b;if(t.type===h.MANIFEST?b=a.manifestLoadPolicy.default:b=y({},a.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),v=this.createInternalLoader(t),u((r=t.deliveryDirectives)==null?void 0:r.part)){let V;if(t.type===h.LEVEL&&t.level!==null?V=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?V=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(V=this.hls.subtitleTracks[t.id].details),V){const le=V.partTarget,pe=V.targetduration;if(le&&pe){const Ee=Math.max(le*3,pe*.8)*1e3;b=y({},b,{maxTimeToFirstByteMs:Math.min(Ee,b.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,b.maxTimeToFirstByteMs)})}}}const w=b.errorRetry||b.timeoutRetry||{},U={loadPolicy:b,timeout:b.maxLoadTimeMs,maxRetry:w.maxNumRetry||0,retryDelay:w.retryDelayMs||0,maxRetryDelay:w.maxRetryDelayMs||0},X={onSuccess:(V,le,pe,Ee)=>{const ke=this.getInternalLoader(pe);this.resetInternalLoader(pe.type);const Re=V.data;le.parsing.start=performance.now(),N4.isMediaPlaylist(Re)||pe.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(V,le,pe,Ee||null,ke):this.handleMasterPlaylist(V,le,pe,Ee)},onError:(V,le,pe,Ee)=>{this.handleNetworkError(le,pe,!1,V,Ee)},onTimeout:(V,le,pe)=>{this.handleNetworkError(le,pe,!0,void 0,V)}};v.load(t,U,X)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:r},forceStartLoad:a}=this.hls;(t||a)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${r}`),this.hls.startLoad(r))}handleMasterPlaylist(t,r,a,v){const b=this.hls,w=t.data,U=lc(t,a),X=N4.parseMasterPlaylist(w,U);if(X.playlistParsingError){r.parsing.end=performance.now(),this.handleManifestParsingError(t,a,X.playlistParsingError,v,r);return}const{contentSteering:V,levels:le,sessionData:pe,sessionKeys:Ee,startTimeOffset:ke,variableList:Re}=X;this.variableList=Re,le.forEach(Jt=>{const{unknownCodecs:ru}=Jt;if(ru){const{preferManagedMediaSource:bu}=this.hls.config;let{audioCodec:Nu,videoCodec:or}=Jt;for(let ju=ru.length;ju--;){const er=ru[ju];De(er,"audio",bu)?(Jt.audioCodec=Nu=Nu?`${Nu},${er}`:er,jt.audio[Nu.substring(0,4)]=2,ru.splice(ju,1)):De(er,"video",bu)&&(Jt.videoCodec=or=or?`${or},${er}`:er,jt.video[or.substring(0,4)]=2,ru.splice(ju,1))}}});const{AUDIO:ot=[],SUBTITLES:it,"CLOSED-CAPTIONS":Kt}=N4.parseMasterPlaylistMedia(w,U,X);ot.length&&!ot.some(ru=>!ru.url)&&le[0].audioCodec&&!le[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ot.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new $n({}),bitrate:0,url:""})),b.trigger(s.MANIFEST_LOADED,{levels:le,audioTracks:ot,subtitles:it,captions:Kt,contentSteering:V,url:U,stats:r,networkDetails:v,sessionData:pe,sessionKeys:Ee,startTimeOffset:ke,variableList:Re})}handleTrackOrLevelPlaylist(t,r,a,v,b){const w=this.hls,{id:U,level:X,type:V}=a,le=lc(t,a),pe=u(X)?X:u(U)?U:0,Ee=gc(a),ke=N4.parseLevelPlaylist(t.data,le,pe,Ee,0,this.variableList);if(V===h.MANIFEST){const Re={attrs:new $n({}),bitrate:0,details:ke,name:"",url:le};ke.requestScheduled=r.loading.start+bn(ke,0),w.trigger(s.MANIFEST_LOADED,{levels:[Re],audioTracks:[],url:le,stats:r,networkDetails:v,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}r.parsing.end=performance.now(),a.levelDetails=ke,this.handlePlaylistLoaded(ke,t,r,a,v,b)}handleManifestParsingError(t,r,a,v,b){this.hls.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:d.MANIFEST_PARSING_ERROR,fatal:r.type===h.MANIFEST,url:t.url,err:a,error:a,reason:a.message,response:t,context:r,networkDetails:v,stats:b})}handleNetworkError(t,r,a=!1,v,b){let w=`A network ${a?"timeout":"error"+(v?" (status "+v.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?w+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(w+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(w);this.hls.logger.warn(`[playlist-loader]: ${w}`);let X=d.UNKNOWN,V=!1;const le=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:X=a?d.MANIFEST_LOAD_TIMEOUT:d.MANIFEST_LOAD_ERROR,V=!0;break;case h.LEVEL:X=a?d.LEVEL_LOAD_TIMEOUT:d.LEVEL_LOAD_ERROR,V=!1;break;case h.AUDIO_TRACK:X=a?d.AUDIO_TRACK_LOAD_TIMEOUT:d.AUDIO_TRACK_LOAD_ERROR,V=!1;break;case h.SUBTITLE_TRACK:X=a?d.SUBTITLE_TRACK_LOAD_TIMEOUT:d.SUBTITLE_LOAD_ERROR,V=!1;break}le&&this.resetInternalLoader(t.type);const pe={type:c.NETWORK_ERROR,details:X,fatal:V,url:t.url,loader:le,context:t,error:U,networkDetails:r,stats:b};if(v){const Ee=(r==null?void 0:r.url)||t.url;pe.response=E({url:Ee,data:void 0},v)}this.hls.trigger(s.ERROR,pe)}handlePlaylistLoaded(t,r,a,v,b,w){const U=this.hls,{type:X,level:V,levelOrTrack:le,id:pe,groupId:Ee,deliveryDirectives:ke}=v,Re=lc(r,v),ot=gc(v);let it=typeof v.level=="number"&&ot===o.MAIN?V:void 0;const Kt=t.playlistParsingError;if(Kt){if(this.hls.logger.warn(`${Kt} ${t.url}`),!U.config.ignorePlaylistParsingErrors){U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:d.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:Kt,reason:Kt.message,response:r,context:v,level:it,parent:ot,networkDetails:b,stats:a});return}t.playlistParsingError=null}if(!t.fragments.length){const Jt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(s.ERROR,{type:c.NETWORK_ERROR,details:d.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:Jt,reason:Jt.message,response:r,context:v,level:it,parent:ot,networkDetails:b,stats:a});return}switch(t.live&&w&&(w.getCacheAge&&(t.ageHeader=w.getCacheAge()||0),(!w.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),X){case h.MANIFEST:case h.LEVEL:if(it){if(!le)it=0;else if(le!==U.levels[it]){const Jt=U.levels.indexOf(le);Jt>-1&&(it=Jt)}}U.trigger(s.LEVEL_LOADED,{details:t,levelInfo:le||U.levels[0],level:it||0,id:pe||0,stats:a,networkDetails:b,deliveryDirectives:ke,withoutMultiVariant:X===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(s.AUDIO_TRACK_LOADED,{details:t,track:le,id:pe||0,groupId:Ee||"",stats:a,networkDetails:b,deliveryDirectives:ke});break;case h.SUBTITLE_TRACK:U.trigger(s.SUBTITLE_TRACK_LOADED,{details:t,track:le,id:pe||0,groupId:Ee||"",stats:a,networkDetails:b,deliveryDirectives:ke});break}}}class wl{static get version(){return en}static isMSESupported(){return pc()}static isSupported(){return Cc()}static getMediaSource(){return ae()}static get Events(){return s}static get MetadataSchema(){return ln}static get ErrorTypes(){return c}static get ErrorDetails(){return d}static get DefaultConfig(){return wl.defaultConfig?wl.defaultConfig:V0}static set DefaultConfig(t){wl.defaultConfig=t}constructor(t={}){this.config=void 0,this.userConfig=void 0,this.logger=void 0,this.coreComponents=void 0,this.networkControllers=void 0,this._emitter=new Tu,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const r=this.logger=$(t.debug||!1,"Hls instance",t.assetPlayerId),a=this.config=Qu(wl.DefaultConfig,t,r);this.userConfig=t,a.progressive&&$u(a,r);const{abrController:v,bufferController:b,capLevelController:w,errorController:U,fpsController:X}=a,V=new U(this),le=this.abrController=new v(this),pe=new z0(this),Ee=a.interstitialsController,ke=Ee?this.interstitialsController=new Ee(this,wl):null,Re=this.bufferController=new b(this,pe),ot=this.capLevelController=new w(this),it=new X(this),Kt=new ec(this),Jt=a.contentSteeringController,ru=Jt?new Jt(this):null,bu=this.levelController=new Dc(this,ru),Nu=new Ac(this),or=new wc(this.config,this.logger),ju=this.streamController=new vc(this,pe,or),er=this.gapController=new ei(this,pe);ot.setStreamController(ju),it.setStreamController(ju);const Ju=[Kt,bu,ju];ke&&Ju.splice(1,0,ke),ru&&Ju.splice(1,0,ru),this.networkControllers=Ju;const zu=[le,Re,er,ot,it,Nu,pe];this.audioTrackController=this.createController(a.audioTrackController,Ju);const Ir=a.audioStreamController;Ir&&Ju.push(this.audioStreamController=new Ir(this,pe,or)),this.subtitleTrackController=this.createController(a.subtitleTrackController,Ju);const wn=a.subtitleStreamController;wn&&Ju.push(this.subtititleStreamController=new wn(this,pe,or)),this.createController(a.timelineController,zu),or.emeController=this.emeController=this.createController(a.emeController,zu),this.cmcdController=this.createController(a.cmcdController,zu),this.latencyController=this.createController(xc,zu),this.coreComponents=zu,Ju.push(V);const u0=V.onErrorOut;typeof u0=="function"&&this.on(s.ERROR,u0,V),this.on(s.MANIFEST_LOADED,Kt.onManifestLoaded,Kt)}createController(t,r){if(t){const a=new t(this);return r&&r.push(a),a}return null}on(t,r,a=this){this._emitter.on(t,r,a)}once(t,r,a=this){this._emitter.once(t,r,a)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,r,a=this,v){this._emitter.off(t,r,a,v)}listeners(t){return this._emitter.listeners(t)}emit(t,r,a){return this._emitter.emit(t,r,a)}trigger(t,r){if(this.config.debug)return this.emit(t,t,r);try{return this.emit(t,t,r)}catch(a){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+a.message+'". Here is a stacktrace:',a),!this.triggeringException){this.triggeringException=!0;const v=t===s.ERROR;this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:d.INTERNAL_EXCEPTION,fatal:v,event:t,error:a}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(s.DESTROYING,void 0),this.detachMedia(),this.removeAllListeners(),this._autoLevelCapping=-1,this._url=null,this.networkControllers.forEach(r=>r.destroy()),this.networkControllers.length=0,this.coreComponents.forEach(r=>r.destroy()),this.coreComponents.length=0;const t=this.config;t.xhrSetup=t.fetchSetup=void 0,this.userConfig=null}attachMedia(t){if(!t||"media"in t&&!t.media){const b=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(s.ERROR,{type:c.OTHER_ERROR,details:d.ATTACH_MEDIA_ERROR,fatal:!0,error:b});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const r="media"in t,a=r?t.media:t,v=r?t:{media:a};this._media=a,this.trigger(s.MEDIA_ATTACHING,v)}detachMedia(){this.logger.log("detachMedia"),this.trigger(s.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(s.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const r=this.media,a=this._url,v=this._url=W.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${v}`),r&&a&&(a!==v||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(r)),this.trigger(s.MANIFEST_LOADING,{url:t})}get url(){return this._url}get hasEnoughToStart(){return this.streamController.hasEnoughToStart}get startPosition(){return this.streamController.startPositionValue}startLoad(t=-1,r){this.logger.log(`startLoad(${t+(r?", ":"")})`),this.started=!0,this.resumeBuffering();for(let a=0;a{t.resumeBuffering&&t.resumeBuffering()}))}pauseBuffering(){this.bufferingEnabled&&(this.logger.log("pause buffering"),this.networkControllers.forEach(t=>{t.pauseBuffering&&t.pauseBuffering()}))}get inFlightFragments(){const t={[o.MAIN]:this.streamController.inFlightFrag};return this.audioStreamController&&(t[o.AUDIO]=this.audioStreamController.inFlightFrag),this.subtititleStreamController&&(t[o.SUBTITLE]=this.subtititleStreamController.inFlightFrag),t}swapAudioCodec(){this.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()}recoverMediaError(){this.logger.log("recoverMediaError");const t=this._media,r=t==null?void 0:t.currentTime;this.detachMedia(),t&&(this.attachMedia(t),r&&this.startLoad(r))}removeLevel(t){this.levelController.removeLevel(t)}get sessionId(){let t=this._sessionId;return t||(t=this._sessionId=ul()),t}get levels(){const t=this.levelController.levels;return t||[]}get latestLevelDetails(){return this.streamController.getLevelDetails()||null}get loadLevelObj(){return this.levelController.loadLevelObj}get currentLevel(){return this.streamController.currentLevel}set currentLevel(t){this.logger.log(`set currentLevel:${t}`),this.levelController.manualLevel=t,this.streamController.immediateLevelSwitch()}get nextLevel(){return this.streamController.nextLevel}set nextLevel(t){this.logger.log(`set nextLevel:${t}`),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}get loadLevel(){return this.levelController.level}set loadLevel(t){this.logger.log(`set loadLevel:${t}`),this.levelController.manualLevel=t}get nextLoadLevel(){return this.levelController.nextLoadLevel}set nextLoadLevel(t){this.levelController.nextLoadLevel=t}get firstLevel(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)}set firstLevel(t){this.logger.log(`set firstLevel:${t}`),this.levelController.firstLevel=t}get startLevel(){const t=this.levelController.startLevel;return t===-1&&this.abrController.forcedAutoLevel>-1?this.abrController.forcedAutoLevel:t}set startLevel(t){this.logger.log(`set startLevel:${t}`),t!==-1&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}get capLevelToPlayerSize(){return this.config.capLevelToPlayerSize}set capLevelToPlayerSize(t){const r=!!t;r!==this.config.capLevelToPlayerSize&&(r?this.capLevelController.startCapping():(this.capLevelController.stopCapping(),this.autoLevelCapping=-1,this.streamController.nextLevelSwitch()),this.config.capLevelToPlayerSize=r)}get autoLevelCapping(){return this._autoLevelCapping}get bandwidthEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimate():NaN}set bandwidthEstimate(t){this.abrController.resetEstimator(t)}get abrEwmaDefaultEstimate(){const{bwEstimator:t}=this.abrController;return t?t.defaultEstimate:NaN}get ttfbEstimate(){const{bwEstimator:t}=this.abrController;return t?t.getEstimateTTFB():NaN}set autoLevelCapping(t){this._autoLevelCapping!==t&&(this.logger.log(`set autoLevelCapping:${t}`),this._autoLevelCapping=t,this.levelController.checkMaxAutoUpdated())}get maxHdcpLevel(){return this._maxHdcpLevel}set maxHdcpLevel(t){Lu(t)&&this._maxHdcpLevel!==t&&(this._maxHdcpLevel=t,this.levelController.checkMaxAutoUpdated())}get autoLevelEnabled(){return this.levelController.manualLevel===-1}get manualLevel(){return this.levelController.manualLevel}get minAutoLevel(){const{levels:t,config:{minAutoBitrate:r}}=this;if(!t)return 0;const a=t.length;for(let v=0;v=r)return v;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:r,maxHdcpLevel:a}=this;let v;if(r===-1&&t!=null&&t.length?v=t.length-1:v=r,a)for(let b=v;b--;){const w=t[b].attrs["HDCP-LEVEL"];if(w&&w<=a)return b}return v}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var r;return((r=this.audioTrackController)==null?void 0:r.setAudioOption(t))||null}setSubtitleOption(t){var r;return((r=this.subtitleTrackController)==null?void 0:r.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const r=this.audioTrackController;r&&(r.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const r=this.subtitleTrackController;r&&(r.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const r=this.subtitleTrackController;r&&(r.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,r=this.allAudioTracks){const a=k0(r);return cu(t,a,navigator.mediaCapabilities)}}wl.defaultConfig=void 0},53280:function(f,g,e){"use strict";e.d(g,{D:function(){return n}});function u(l,c,d){var s=d||{},h=s.noTrailing,o=h===void 0?!1:h,i=s.noLeading,B=i===void 0?!1:i,p=s.debounceMode,y=p===void 0?void 0:p,m,E=!1,x=0;function I(){m&&clearTimeout(m)}function O(S){var R=S||{},M=R.upcomingOnly,N=M===void 0?!1:M;I(),E=!N}function D(){for(var S=arguments.length,R=new Array(S),M=0;Ml?B?(x=Date.now(),o||(m=setTimeout(y?G:$,l))):$():o!==!0&&(m=setTimeout(y?G:$,y===void 0?l-Y:l))}return D.cancel=O,D}function n(l,c,d){var s=d||{},h=s.atBegin,o=h===void 0?!1:h;return u(l,c,{debounceMode:o!==!1})}}},__webpack_module_cache__={};function __webpack_require__(f){var g=__webpack_module_cache__[f];if(g!==void 0)return g.exports;var e=__webpack_module_cache__[f]={id:f,loaded:!1,exports:{}};return __webpack_modules__[f].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.m=__webpack_modules__,function(){__webpack_require__.amdO={}}(),function(){__webpack_require__.n=function(f){var g=f&&f.__esModule?function(){return f.default}:function(){return f};return __webpack_require__.d(g,{a:g}),g}}(),function(){var f=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},g;__webpack_require__.t=function(e,u){if(u&1&&(e=this(e)),u&8||typeof e=="object"&&e&&(u&4&&e.__esModule||u&16&&typeof e.then=="function"))return e;var n=Object.create(null);__webpack_require__.r(n);var l={};g=g||[null,f({}),f([]),f(f)];for(var c=u&2&&e;typeof c=="object"&&!~g.indexOf(c);c=f(c))Object.getOwnPropertyNames(c).forEach(function(d){l[d]=function(){return e[d]}});return l.default=function(){return e},__webpack_require__.d(n,l),n}}(),function(){__webpack_require__.d=function(f,g){for(var e in g)__webpack_require__.o(g,e)&&!__webpack_require__.o(f,e)&&Object.defineProperty(f,e,{enumerable:!0,get:g[e]})}}(),function(){__webpack_require__.f={},__webpack_require__.e=function(f){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(g,e){return __webpack_require__.f[e](f,g),g},[]))}}(),function(){__webpack_require__.u=function(f){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[f]||f)+"."+{26:"3c20da09",67:"3a92a2f0",109:"1a05552f",119:"efb6a7ff",195:"80b5fc68",201:"45704231",264:"c20841fd",292:"92f3b883",316:"1f60ada6",337:"08ae0f03",354:"d4d139cf",479:"208723fa",485:"9713ca9c",508:"2c0aa633",518:"9fc1b07d",532:"93363364",533:"ca5e79ef",547:"7044d2ce",556:"76171681",559:"bb8ab840",570:"a7a9594a",576:"5aa442dc",629:"44a1d9a5",643:"e8f97739",671:"4a609b8d",680:"0fae6afb",700:"928ce675",737:"8128afec",741:"ac5fd360",799:"21477f87",879:"3b8e0a3b",895:"eb9e9471",900:"25923fe3",906:"85ba4c51",910:"e1bdbdc0",921:"a28c361e",928:"9fc8fdd0",981:"24da50c7",1006:"fe894cef",1043:"78a4c871",1045:"d69d8988",1048:"f8d9b2b9",1070:"6d411e43",1077:"f5977d39",1144:"c90eccaf",1154:"8cb80842",1211:"cf16c1a7",1253:"0fac4e22",1257:"b934c3a5",1274:"5f6ea65a",1276:"aa37a179",1343:"2444ee5e",1423:"5857729c",1427:"01a2997a",1450:"bd73007c",1461:"34b8e317",1462:"fcf08abc",1470:"7b14d3ca",1475:"2f8eace0",1477:"719113f7",1482:"427c7d03",1512:"8acaff44",1520:"f7681a05",1545:"18e97b06",1578:"deb53d62",1581:"11854ad4",1582:"5a09ae02",1646:"e6e27b60",1651:"6e31398f",1657:"5e2f0a08",1660:"4647fdda",1674:"b83ffd43",1678:"5f694a4f",1713:"c5aab97c",1717:"deaaa72a",1727:"c74dd938",1750:"b9876391",1754:"f89c134d",1783:"4cbca12f",1798:"8b8fb57a",1799:"474e2c81",1831:"87f55c5d",1836:"b7f9905f",1855:"fbdd023d",1880:"6c71b85f",1897:"168005a4",1939:"2b08640b",1953:"ea3b1fae",1962:"6a03cea2",1993:"42328600",2011:"59d51f98",2045:"4fea722d",2099:"501baadc",2102:"8be60a94",2130:"c8aae616",2141:"92c67c76",2203:"af483bc4",2216:"9a74ea6d",2240:"8cee454c",2249:"f4830452",2281:"ccd5234c",2300:"83840044",2303:"29454668",2307:"7e010f3c",2338:"dd298bf1",2339:"4d140a58",2386:"192e235c",2396:"492c13a2",2404:"0cb608ad",2412:"c8c2ae6b",2425:"7be4da98",2443:"9b404669",2460:"d013417e",2476:"2102648c",2494:"ceb762c3",2501:"d1388c61",2538:"de4a3723",2539:"c3e2efc7",2548:"0b12947c",2570:"4831a8a2",2594:"e87d3761",2603:"3d71472c",2659:"f810c64c",2707:"28440b84",2763:"8a2dc9c2",2806:"622a81bb",2819:"9c00c57e",2823:"29bd2909",2829:"526d744a",2837:"54a82605",2862:"fdcc6c7b",2865:"c2e6c572",2884:"22184abc",2969:"ab3357d7",3006:"9976d75c",3086:"206d752a",3133:"9bf3f89c",3141:"6166275f",3157:"04a4f8b2",3183:"ace2a4c2",3198:"8e655451",3212:"98f8721d",3247:"aa3f8877",3260:"296a2a34",3276:"ead63289",3317:"6f11bca9",3391:"cf5d2d93",3433:"31a3eabf",3442:"383fe951",3447:"54b5dd1f",3451:"901f282b",3509:"53aefe1f",3550:"3dc83156",3581:"73dd7752",3585:"1442bb2d",3668:"c7902d96",3697:"481a10d9",3747:"115f532c",3754:"632a2854",3777:"d5b0f2f1",3784:"ad32d2a4",3805:"9dbcb95e",3831:"e9f5a6aa",3861:"cf2f3073",3862:"7cc7474a",3873:"7e450447",3885:"f87f7f15",3910:"622aa34b",3951:"16328d92",3987:"5cecd51b",4014:"27a8e97c",4017:"00f1e140",4030:"b57c54ad",4048:"c8710bcc",4056:"6eaa189d",4058:"a6ef0500",4078:"005cea4a",4088:"236723f3",4093:"829a6afc",4105:"6f842feb",4144:"afff194d",4164:"e066f06e",4216:"1d1e0cc4",4217:"e6f2f505",4227:"67b7b457",4259:"14fbd765",4264:"766d6d47",4297:"6aaa5a94",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"f07362e4",4492:"ed4497b5",4496:"11e9fce8",4498:"867ad28e",4504:"54a576f9",4514:"8e37600d",4520:"e9efd903",4546:"1e3cbc52",4565:"cd70a302",4572:"d5dd3128",4599:"61def4cb",4610:"939e8f04",4621:"230d4ce6",4628:"ece2c60c",4662:"60be8207",4685:"c33f1528",4715:"6d9cae98",4736:"e3d6d660",4741:"d5fcb4b9",4757:"1aabc0b6",4766:"93d0b6de",4770:"b9e3af36",4790:"619413e4",4795:"669854b6",4797:"a24e92db",4800:"c6566bd2",4850:"1edda4b7",4889:"6fc32f5c",4928:"bc72045a",4973:"8235bc1d",4994:"fd15a834",5022:"2e3d7afe",5043:"4fbe7ab3",5048:"b4171cb3",5060:"85dafcc6",5096:"030f6525",5111:"6c03ca16",5117:"d188516a",5125:"da19f44d",5148:"fae5a666",5165:"5ed57d06",5176:"2025b09b",5177:"17f15e52",5179:"6b940689",5186:"c6806e91",5230:"924ace48",5238:"f9c526aa",5290:"5dabcdc2",5297:"75653a62",5307:"c5a956f3",5319:"ec1276b4",5321:"1163c84e",5330:"5c5f9647",5335:"aa198ec3",5354:"7ae70604",5357:"a1bb98e3",5359:"3aa1bcb9",5382:"f37639e4",5402:"349c9049",5416:"454536b7",5434:"38b302a6",5466:"e8023173",5494:"d89549c4",5518:"fd639215",5549:"4f0f0ed3",5572:"5e3b67fe",5573:"c7099e7f",5624:"6d19384c",5631:"e00d3d36",5650:"6f385d09",5679:"4a090bef",5694:"ef7644ae",5705:"9e2bd49b",5729:"17c6258e",5764:"e0d7e586",5775:"34436628",5776:"9b89eb62",5786:"7612e65f",5798:"0f132a9a",5800:"05bf81c0",5816:"75439ef9",5876:"5eded409",5888:"3ae1b23e",5891:"16ece524",5894:"6a949259",5902:"66c18def",5915:"d10b71f1",5972:"eaf74ddc",5992:"cde87b43",6029:"b794cc03",6034:"8551e0f9",6045:"d268f87f",6047:"3ce45acd",6063:"30ce560d",6069:"daf8f1b6",6080:"cfb0ee28",6126:"99519171",6127:"151b319c",6170:"0026c6ec",6185:"f4302ca2",6205:"690c3c38",6265:"199b9678",6270:"ae8220d1",6282:"5c37eaae",6328:"dafc3148",6366:"8c28e7b2",6378:"7f3a946a",6393:"9f635763",6411:"3b971528",6434:"78f87f16",6442:"1048e8f4",6444:"672ab86a",6451:"ff445d8e",6452:"88b21d5e",6531:"1e4cd45d",6583:"e84eb630",6587:"73574cb0",6634:"4fb90111",6637:"3b3414e3",6651:"c2b680ab",6682:"082197dd",6685:"055c500c",6729:"0b41b38d",6741:"5d247065",6774:"59d4d618",6776:"087f071e",6784:"3acc08be",6788:"85a3e650",6789:"52195b05",6796:"7c9f6fcb",6820:"e7a7a304",6840:"1acb7e6a",6882:"30049a3e",6904:"f9a0b70f",6913:"f1b2279f",6963:"b960cb04",6985:"6abb4311",7043:"9897481c",7045:"c9ab44f8",7058:"cd756ab4",7062:"a164e1ce",7084:"46ccce72",7099:"db9622f5",7156:"e7466006",7178:"d6dfdd98",7182:"8b56c91b",7224:"fd58f5b4",7242:"4d2c95ed",7260:"c46786a5",7289:"8258091f",7322:"dc0431ed",7323:"b4038ca3",7329:"2e802240",7333:"a86d1864",7365:"1005464f",7395:"d41ab7bb",7402:"ce643a69",7460:"9344387b",7477:"64485d34",7482:"e344cce0",7527:"87d91d1c",7545:"df768620",7560:"9d24b63d",7573:"97f85034",7589:"76db6c31",7591:"c8233ce9",7614:"387b7cdc",7622:"9f04ac47",7686:"4fcec9f9",7706:"c2a79e40",7806:"449cecde",7835:"6c0b158f",7855:"52f0d6f7",7857:"76c74c9c",7883:"dd8ba97d",7884:"2c67fcc7",7901:"26ee847b",7922:"91a14ceb",7964:"29aed9a1",8062:"1d3ec49a",8072:"6be9ec41",8085:"043c1832",8089:"d536b13a",8115:"88e3b5af",8143:"be25a871",8145:"b4381629",8155:"c66fae3a",8161:"83c5fa9a",8217:"a8322a39",8229:"7b6b357c",8237:"65ddc546",8241:"6f63d140",8286:"b0a6e0fd",8302:"55794970",8332:"4a53a552",8340:"e8cec028",8350:"07df8a75",8365:"3ec1f7ce",8398:"9651baf5",8431:"0175da24",8435:"29ffda57",8447:"8f1ba394",8458:"76ceb040",8479:"7e755932",8517:"43660dc2",8552:"db9fb358",8561:"333e8ec9",8563:"0cb8cf20",8579:"4b76f1e8",8639:"21c350a0",8665:"5005d459",8688:"9051227d",8689:"ea27df30",8723:"5cf35dde",8737:"ce7dad23",8776:"0ad26240",8787:"efeb726a",8807:"b4bf116f",8823:"fd8fbe12",8827:"87bbf36f",8842:"9f25a3e2",8866:"5cde51bf",8882:"a7b6ac49",8885:"3e1e7b49",8898:"d002bcd8",8909:"414b305a",8920:"7f82440c",8963:"790aecdd",8965:"5106fa53",8999:"2d156215",9039:"d5104cfc",9076:"e4c10d9f",9104:"bbcb2345",9205:"d9408f37",9219:"4b82b5a9",9252:"0d791a59",9260:"cf5f8140",9366:"1a31fd23",9391:"b5561486",9404:"9fcc3d3e",9406:"d0600188",9416:"e550a6f8",9417:"66c183bb",9449:"17dee3dd",9487:"3468c4bd",9489:"5057250a",9507:"74486ea9",9511:"cddfd480",9554:"ed358e7b",9559:"f794af19",9647:"f0f07cbe",9649:"8e8b40b4",9674:"db0dbaf4",9677:"e65c2fe2",9695:"d608c77c",9715:"a06286ed",9716:"6f060582",9724:"2f674bad",9785:"664d7a02",9788:"c5c1684f",9814:"704c1fe2",9891:"60f02702",9895:"b8e31ff2",9906:"cb6d3e25",9921:"4f3b23d6",9922:"76457cd6",9928:"5989f5e0",9944:"cfd5eb4d",9950:"74f6dfb2",9968:"17466785"}[f]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(f){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1077:"p__User__ThemeTwoLogin__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1477:"p__Classrooms__ThemeChange__Assistant",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1651:"p__Paths__ThemeChange__Statistics",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1678:"p__Classrooms__ThemeChange__Attachment",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4297:"p__Classrooms__ThemeChange__Polls",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5307:"p__Shixuns__ThemeChange__New",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6080:"p__Paths__ThemeChange__New",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6205:"p__Classrooms__ThemeChange__VideoUpload",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6451:"p__Shixuns__Detail__RankingList__ThemeChange__index",6452:"p__Innovation__PublicDataSet__index",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7289:"p__tasks__ThemeChange__index",7322:"layouts__ThemeChange__ShixunDetail",7323:"p__Classrooms__ThemeChange__New",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7883:"p__Classrooms__Lists__Exercise__WrongAnswer__index",7884:"p__Shixuns__Exports__index",7901:"p__Guidance__ThemeChange",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[f]||f)+"."+{26:"91ed81ab",67:"e3d38d20",109:"1a7fc455",119:"0cc71034",195:"f769a2d5",201:"485c1365",264:"5fd9b3fc",292:"6606dfd5",337:"b8a90018",479:"bba9e475",485:"d63578fe",508:"82593858",518:"333855a6",532:"a09abdd6",533:"1aafb83c",547:"5581debc",556:"04b76b9e",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"3e008095",737:"98eb2f74",799:"bca8871b",879:"edebf581",895:"ad846737",900:"ff3ab102",906:"831f1c01",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"5313cd30",1048:"dafc3f4f",1070:"e67e9e01",1077:"4749f7c5",1211:"bdb8faab",1253:"66a07f9e",1257:"156e8f74",1276:"bbc6eeec",1343:"5eed418c",1423:"5c4a76fc",1427:"22016b87",1450:"1edcc2ed",1461:"da497c45",1470:"183c9793",1475:"c965e527",1477:"63b15587",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"ce1fb1d8",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1651:"55e4f704",1657:"b60513e3",1674:"fdbc1e05",1678:"0b445f86",1713:"66b47ae4",1717:"10201060",1727:"41895eef",1754:"263823b9",1783:"7a21883d",1798:"cacd2a12",1831:"74ad0b7c",1836:"5f0d3f7f",1855:"b92cccb4",1880:"ace3ee6a",1897:"982f171f",1939:"9edbcb6f",1953:"a3ad760b",1962:"84e145fa",1993:"7cc7cf77",2045:"dcfad42d",2099:"bf3fcf7a",2102:"ec61f9f0",2130:"50dfcc51",2141:"5eb2f330",2203:"1af06e49",2216:"6acb758a",2240:"e7cce869",2281:"9db2c457",2303:"c5cd1882",2307:"b2c54321",2338:"aaf98900",2339:"f7913f4f",2396:"bd9b4f77",2404:"08d36549",2412:"009d1fcb",2425:"47b23ee4",2443:"33936585",2460:"03cdfb68",2476:"cf85a190",2501:"2441982c",2539:"8ec286b4",2548:"75182034",2570:"42abe00c",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"e33d6e5a",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"96747ece",2865:"6ef3cf6b",2884:"e4a93731",3006:"7fce4e74",3086:"d0ebac07",3141:"5e5e4c2f",3157:"b3478235",3183:"b2253f40",3212:"ad1521c1",3247:"50105eb7",3260:"8e0d65fb",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"9bf21937",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"f46d27eb",3585:"5f288e7b",3668:"efca073d",3747:"9fe873ee",3784:"c81d4a51",3831:"e18a5aa2",3873:"aecf5064",3910:"658d457f",3951:"9b11b034",4030:"d0b7bd58",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"5cd9f235",4105:"7f9d4513",4144:"f10aa199",4164:"f16cd35e",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"27082f64",4449:"e68d8d58",4492:"6d7afab9",4496:"77babddd",4498:"ef907484",4504:"bd40e960",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"4fecde0c",4610:"687005a6",4621:"47b96e8f",4662:"82def4d7",4715:"ae95fa4d",4736:"a51a09a9",4741:"6d7ba6f6",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"910f69b0",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"11a38b68",5125:"57501e4a",5148:"572faeac",5165:"3f82ab1b",5176:"9c49e7fa",5177:"4c237473",5179:"699b44a8",5186:"312ee878",5230:"94dfecf3",5238:"68f49dc4",5297:"5426028f",5307:"4195a245",5319:"34217c3f",5330:"6e93d25e",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"6020d931",5402:"6b06b33c",5466:"c09ae45d",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"b754187c",5650:"f8f63f4b",5694:"77ca16cb",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"790daf68",5786:"37a81eaa",5798:"ce1cf7da",5800:"f05382af",5816:"494c814d",5888:"193a7f8f",5891:"b9a46704",5894:"4faa35bb",5915:"bc9c3e69",5972:"79479731",5992:"419f5d2f",6029:"2451f838",6063:"f85d9e56",6069:"6b81b8a6",6080:"13de064b",6127:"f31505a8",6185:"d9c205a6",6205:"6eef461f",6265:"b6b7cbc3",6270:"5496b206",6282:"0a46d402",6328:"de2b9d62",6366:"079fc2d8",6434:"23effd91",6444:"fd46d237",6451:"949d91e5",6452:"50a6d310",6583:"d8052752",6587:"9c49e7fa",6634:"5c3c2ecd",6637:"cd627031",6651:"b07fe216",6682:"c0a18d4d",6685:"ad2a7bde",6729:"aea3b7f5",6741:"b838eb14",6776:"af91f915",6784:"1affe817",6789:"185ce46c",6796:"15902a1a",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7043:"25478869",7045:"48f6fc4c",7058:"6e461c3d",7062:"5282c3e5",7099:"15159102",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7289:"74a55b34",7322:"f372c040",7323:"3e11a2bc",7329:"7a4ac9fe",7395:"ff574c5d",7402:"3e65fd99",7460:"dedd2038",7477:"9e6bb67b",7482:"c37a3f01",7527:"a4765b7e",7545:"77965f6e",7560:"d82e43ca",7589:"666efe80",7614:"de9ee12f",7622:"fe4790f3",7806:"80b7b1d6",7835:"abd0d81c",7855:"711d3be3",7857:"13a29416",7883:"93cf27b2",7884:"1ca6cde0",7901:"505c3349",7922:"372a3625",8062:"8e384b9f",8072:"540f746b",8085:"3cfec1d7",8115:"51647157",8143:"f33d8a25",8145:"89ef939a",8155:"d345abd7",8217:"f0f958ba",8237:"61bca2d4",8241:"a7cd5360",8286:"4ca6c6b1",8332:"a10509a3",8398:"2f4a56af",8431:"289b326c",8435:"3a170931",8447:"0ae0fe33",8458:"1528fe4c",8479:"63a9d2a4",8517:"cccfddad",8552:"debdee43",8563:"ddbd95eb",8579:"f63b043d",8665:"c52575bc",8688:"c044db56",8689:"52d74979",8723:"3e358029",8787:"121de108",8823:"9b2f4e16",8827:"3aeb4a40",8866:"ff81efbd",8882:"f3e42f72",8885:"de905169",8965:"f169309d",8999:"448aa22f",9039:"e59f0028",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"87658c28",9416:"7ffdab01",9449:"9d75c671",9487:"a73f5679",9489:"ee2bb5b7",9507:"1138f0da",9511:"52ae4834",9647:"36898856",9649:"00fb4211",9674:"16483a2c",9677:"67a9d264",9695:"e2a53983",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"4c57e46b",9891:"512a9301",9906:"0c113c87",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[f]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(f){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(f){return f=Object.create(f),f.children||(f.children=[]),Object.defineProperty(f,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+f.id)}}),f}}(),function(){__webpack_require__.o=function(f,g){return Object.prototype.hasOwnProperty.call(f,g)}}(),function(){var f={};__webpack_require__.l=function(g,e,u,n){if(f[g]){f[g].push(e);return}var l,c;if(u!==void 0)for(var d=document.getElementsByTagName("script"),s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return Rr.endsWith("/")?Rr:"".concat(Rr,"/")}var fo=__webpack_require__(38127),ho=__webpack_require__(38329),us=__webpack_require__(8616),rs=["content"],Pa=["content"],_l=/^(http:|https:)?\/\//;function po(Rr){return _l.test(Rr)||Rr.startsWith("/")&&!Rr.startsWith("/*")||Rr.startsWith("./")||Rr.startsWith("../")}var ba=function(){return He.createElement("noscript",{dangerouslySetInnerHTML:{__html:"Enable JavaScript to run this app."}})},gs=function(un){var t0,W0=un.loaderData,f0=un.htmlPageOpts,w0=un.manifest,D0=(w0==null||(t0=w0.assets)===null||t0===void 0?void 0:t0["umi.css"])||"";return He.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(W0||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(f0||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(D0,"'")}})};function Ia(Rr){var un=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Rr=="string")return po(Rr)?(0,p4.Z)({src:Rr},un):{content:Rr};if((0,us.Z)(Rr)==="object")return(0,p4.Z)((0,p4.Z)({},Rr),un);throw new Error("Invalid script type: ".concat((0,us.Z)(Rr)))}function Ul(Rr){return po(Rr)?{type:"link",href:Rr}:{type:"style",content:Rr}}var Jo=function(un){var t0,W0,f0,w0,D0,Oi,h0=un.htmlPageOpts;return He.createElement(He.Fragment,null,(h0==null?void 0:h0.title)&&He.createElement("title",null,h0.title),h0==null||(t0=h0.favicons)===null||t0===void 0?void 0:t0.map(function(Li,Ya){return He.createElement("link",{key:Ya,rel:"shortcut icon",href:Li})}),(h0==null?void 0:h0.description)&&He.createElement("meta",{name:"description",content:h0.description}),(h0==null||(W0=h0.keywords)===null||W0===void 0?void 0:W0.length)&&He.createElement("meta",{name:"keywords",content:h0.keywords.join(",")}),h0==null||(f0=h0.metas)===null||f0===void 0?void 0:f0.map(function(Li){return He.createElement("meta",{key:Li.name,name:Li.name,content:Li.content})}),h0==null||(w0=h0.links)===null||w0===void 0?void 0:w0.map(function(Li,Ya){return He.createElement("link",(0,ho.Z)({key:Ya},Li))}),h0==null||(D0=h0.styles)===null||D0===void 0?void 0:D0.map(function(Li,Ya){var is=Ul(Li),Es=is.type,Qa=is.href,Ms=is.content;if(Es==="link")return He.createElement("link",{key:Ya,rel:"stylesheet",href:Qa});if(Es==="style")return He.createElement("style",{key:Ya},Ms)}),h0==null||(Oi=h0.headScripts)===null||Oi===void 0?void 0:Oi.map(function(Li,Ya){var is=Ia(Li),Es=is.content,Qa=(0,fo.Z)(is,rs);return He.createElement("script",(0,ho.Z)({dangerouslySetInnerHTML:{__html:Es},key:Ya},Qa))}))};function U4(Rr){var un,t0=Rr.children,W0=Rr.loaderData,f0=Rr.manifest,w0=Rr.htmlPageOpts,D0=Rr.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Oi=Rr.mountElementId;if(D0!=null&&D0.pureHtml)return He.createElement("html",null,He.createElement("head",null,He.createElement(Jo,{htmlPageOpts:w0})),He.createElement("body",null,He.createElement(ba,null),He.createElement("div",{id:Oi},t0),He.createElement(gs,{manifest:f0,loaderData:W0,htmlPageOpts:w0})));if(D0!=null&&D0.pureApp)return He.createElement(He.Fragment,null,t0);var h0=typeof window=="undefined"?f0==null?void 0:f0.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return He.createElement("html",{suppressHydrationWarning:!0,lang:(w0==null?void 0:w0.lang)||"en"},He.createElement("head",null,He.createElement("meta",{charSet:"utf-8"}),He.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),h0&&He.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:h0}),He.createElement(Jo,{htmlPageOpts:w0})),He.createElement("body",null,He.createElement(ba,null),He.createElement("div",{id:Oi},t0),He.createElement(gs,{manifest:f0,loaderData:W0,htmlPageOpts:w0}),w0==null||(un=w0.scripts)===null||un===void 0?void 0:un.map(function(Li,Ya){var is=Ia(Li),Es=is.content,Qa=(0,fo.Z)(is,Pa);return He.createElement("script",(0,ho.Z)({dangerouslySetInnerHTML:{__html:Es},key:Ya},Qa))})))}var Os=He.createContext(void 0);function Oo(){return He.useContext(Os)}var mo=["redirect"];function vo(Rr){var un=Rr.routesById,t0=Rr.parentId,W0=Rr.routeComponents,f0=Rr.useStream,w0=f0===void 0?!0:f0;return Object.keys(un).filter(function(D0){return un[D0].parentId===t0}).map(function(D0){var Oi=_o((0,p4.Z)((0,p4.Z)({route:un[D0],routeComponent:W0[D0],loadingComponent:Rr.loadingComponent,reactRouter5Compat:Rr.reactRouter5Compat},Rr.reactRouter5Compat&&{hasChildren:Object.keys(un).filter(function(Li){return un[Li].parentId===D0}).length>0}),{},{useStream:w0})),h0=vo({routesById:un,routeComponents:W0,parentId:Oi.id,loadingComponent:Rr.loadingComponent,reactRouter5Compat:Rr.reactRouter5Compat,useStream:w0});return h0.length>0&&(Oi.children=h0,Oi.routes=h0),Oi})}function go(Rr){var un=(0,Ba.UO)(),t0=(0,Ba.Gn)(Rr.to,un),W0=(0,co.T$)(),f0=(0,Ba.TH)();if(W0!=null&&W0.keepQuery){var w0=f0.search+f0.hash;t0+=w0}var D0=(0,p4.Z)((0,p4.Z)({},Rr),{},{to:t0});return He.createElement(Ba.Fg,(0,ho.Z)({replace:!0},D0))}function _o(Rr){var un=Rr.route,t0=Rr.useStream,W0=t0===void 0?!0:t0,f0=un.redirect,w0=(0,fo.Z)(un,mo),D0=Rr.reactRouter5Compat?ko:Qs;return(0,p4.Z)({element:f0?He.createElement(go,{to:f0}):He.createElement(Os.Provider,{value:{route:Rr.route}},He.createElement(D0,{loader:He.memo(Rr.routeComponent),loadingComponent:Rr.loadingComponent||Il,hasChildren:Rr.hasChildren,useStream:W0}))},w0)}function Il(){return He.createElement("div",null)}function ko(Rr){var un=Oo(),t0=un.route,W0=(0,co.Ov)(),f0=W0.history,w0=W0.clientRoutes,D0=(0,Ba.UO)(),Oi={params:D0,isExact:!0,path:t0.path,url:f0.location.pathname},h0=Rr.loader,Li={location:f0.location,match:Oi,history:f0,params:D0,route:t0,routes:w0};return Rr.useStream?He.createElement(He.Suspense,{fallback:He.createElement(Rr.loadingComponent,null)},He.createElement(h0,Li,Rr.hasChildren&&He.createElement(Ba.j3,null))):He.createElement(h0,Li,Rr.hasChildren&&He.createElement(Ba.j3,null))}function Qs(Rr){var un=Rr.loader;return Rr.useStream?He.createElement(He.Suspense,{fallback:He.createElement(Rr.loadingComponent,null)},He.createElement(un,null)):He.createElement(un,null)}var Xs=null;function yl(){return Xs}function el(Rr){var un=Rr.history,t0=He.useState({action:un.action,location:un.location}),W0=(0,Ta.Z)(t0,2),f0=W0[0],w0=W0[1];return(0,He.useLayoutEffect)(function(){return un.listen(w0)},[un]),(0,He.useLayoutEffect)(function(){function D0(Oi){Rr.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Rr.routes,clientRoutes:Rr.clientRoutes,location:Oi.location,action:Oi.action,basename:Rr.basename,isFirst:!!Oi.isFirst}})}return D0({location:f0.location,action:f0.action,isFirst:!0}),un.listen(D0)},[un,Rr.routes,Rr.clientRoutes]),He.createElement(Ba.F0,{navigator:un,location:f0.location,basename:Rr.basename},Rr.children)}function ns(){var Rr=(0,co.Ov)(),un=Rr.clientRoutes;return(0,Ba.V$)(un)}var yo=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Eo=function(un,t0){var W0=un.basename||"/",f0=vo({routesById:un.routes,routeComponents:un.routeComponents,loadingComponent:un.loadingComponent,reactRouter5Compat:un.reactRouter5Compat,useStream:un.useStream});un.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:f0}});for(var w0=He.createElement(el,{basename:W0,pluginManager:un.pluginManager,routes:un.routes,clientRoutes:f0,history:un.history},t0),D0=0,Oi=yo;D0new Promise((W0,f0)=>{var w0=h0=>{try{Oi(t0.next(h0))}catch(Li){f0(Li)}},D0=h0=>{try{Oi(t0.throw(h0))}catch(Li){f0(Li)}},Oi=h0=>h0.done?W0(h0.value):Promise.resolve(h0.value).then(w0,D0);Oi((t0=t0.apply(Rr,un)).next())});function El(){return Lo(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercise/:categoryId/wrongAnswer/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"82"},83:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"83"},84:{path:"/classrooms/guidance",parentId:"19",id:"84"},85:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"98"},99:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"99"},100:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"100"},101:{path:"/classrooms/",parentId:"19",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"101",id:"102"},103:{path:"/classrooms/:coursesId/shixun_homework",parentId:"101",id:"103"},104:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"101",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"105"},106:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"101",id:"106"},107:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"101",id:"107"},108:{path:"/classrooms/:coursesId/exercise",parentId:"101",id:"108"},109:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"101",id:"109"},110:{path:"/classrooms/:coursesId/poll",parentId:"101",id:"110"},111:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"101",id:"111"},112:{path:"/classrooms/:coursesId/common_homework",parentId:"101",id:"112"},113:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"101",id:"113"},114:{path:"/classrooms/:coursesId/group_homework",parentId:"101",id:"114"},115:{path:"/classrooms/:coursesId/teachers",parentId:"101",id:"115"},116:{path:"/classrooms/:coursesId/students",parentId:"101",id:"116"},117:{path:"/classrooms/:coursesId/assistant",parentId:"101",id:"117"},118:{path:"/classrooms/:coursesId/program_homework",parentId:"101",id:"118"},119:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"101",id:"119"},120:{path:"/classrooms/:coursesId/engineering",parentId:"101",id:"120"},121:{path:"/classrooms/:coursesId/learning_path",parentId:"101",id:"121"},122:{path:"/classrooms/:coursesId/resource_recommend",parentId:"101",id:"122"},123:{path:"/classrooms/:coursesId/attendance",parentId:"101",id:"123"},124:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"101",id:"124"},125:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"101",id:"125"},126:{path:"/classrooms/:coursesId/announcement",parentId:"101",id:"126"},127:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"101",id:"127"},128:{path:"/classrooms/:coursesId/online_learning",parentId:"101",id:"128"},129:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"101",id:"129"},130:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"101",id:"130"},131:{path:"/classrooms/:coursesId/attachment",parentId:"101",id:"131"},132:{path:"/classrooms/:coursesId/video",parentId:"101",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"101",id:"133"},134:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"101",id:"134"},135:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"101",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"101",id:"136"},137:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"101",id:"137"},138:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"101",id:"138"},139:{path:"/classrooms/:coursesId/live_video",parentId:"101",id:"139"},140:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"101",id:"140"},141:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"101",id:"141"},142:{path:"/classrooms/:coursesId/board",parentId:"101",id:"142"},143:{path:"/classrooms/:coursesId/course_group",parentId:"101",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"101",id:"144"},145:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"101",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"101",id:"146"},147:{path:"/classrooms/:coursesId/not_course_group",parentId:"101",id:"147"},148:{path:"/classrooms/:coursesId/statistics/",parentId:"101",id:"148"},149:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"101",id:"149"},150:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"101",id:"150"},151:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"101",id:"151"},152:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"101",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"101",id:"153"},154:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"101",id:"154"},155:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"101",id:"155"},156:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"101",id:"156"},157:{path:"/classrooms/:coursesId",parentId:"101",id:"157"},158:{path:"/classrooms/:coursesId/template",parentId:"101",id:"158"},159:{path:"/competitions",parentId:"1",id:"159"},160:{path:"/competitions/index",parentId:"159",id:"160"},161:{path:"/competitions/:identifier/list",parentId:"159",id:"161"},162:{path:"/competitions/exports",parentId:"159",id:"162"},163:{path:"/competitions",parentId:"159",id:"163"},164:{path:"/competitions/:identifier",parentId:"159",id:"164"},165:{path:"/competitions/index/:identifier",parentId:"159",id:"165"},166:{path:"/competitions/:identifier/detail/enroll",parentId:"159",id:"166"},167:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"159",id:"167"},168:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"159",id:"168"},169:{path:"/competitions/detail/:identifier",parentId:"159",id:"169"},170:{path:"/forums",parentId:"1",id:"170"},171:{path:"/forums",parentId:"170",id:"171"},172:{path:"/forums/categories/:memoType",parentId:"170",id:"172"},173:{path:"/forums/new",parentId:"170",id:"173"},174:{path:"/forums/:memoId/edit",parentId:"170",id:"174"},175:{path:"/forums/:memoId",parentId:"170",id:"175"},176:{path:"/problemset",parentId:"1",id:"176"},177:{path:"/problemset",parentId:"176",id:"177"},178:{path:"/problemset/newitem",parentId:"176",id:"178"},179:{path:"/problemset/:type/:id",parentId:"176",id:"179"},180:{path:"/problemset/preview",parentId:"176",id:"180"},181:{path:"/problemset/preview_new",parentId:"176",id:"181"},182:{path:"/problemset/preview_select",parentId:"176",id:"182"},183:{path:"/shixuns",parentId:"1",id:"183"},184:{path:"/shixuns",parentId:"183",id:"184"},185:{path:"/shixuns/exports",parentId:"183",id:"185"},186:{path:"/shixuns/new",parentId:"183",id:"186"},187:{path:"/shixuns/new/CreateImg",parentId:"183",id:"187"},188:{path:"/shixuns/new/:id/imagepreview",parentId:"183",id:"188"},189:{path:"/shixuns/:id/Merge",parentId:"183",id:"189"},190:{path:"/shixuns/:id/Split",parentId:"183",id:"190"},191:{path:"/shixuns/:id/edit",parentId:"183",id:"191"},192:{path:"shixuns/:id/edit/warehouse",parentId:"191",id:"192"},193:{path:"/shixuns/:id/edit/newquestion",parentId:"191",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"191",id:"194"},195:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"191",id:"195"},196:{path:"/shixuns/:id/edit/new",parentId:"191",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"191",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"191",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"191",id:"199"},200:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"191",id:"200"},201:{path:"/shixuns/:id",parentId:"183",id:"201"},202:{path:"/shixuns/:id/challenges",parentId:"201",id:"202"},203:{path:"/shixuns/:id/repository",parentId:"201",id:"203"},204:{path:"/shixuns/:id/secret_repository",parentId:"201",id:"204"},205:{path:"/shixuns/:id/collaborators",parentId:"201",id:"205"},206:{path:"/shixuns/:id/dataset",parentId:"201",id:"206"},207:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"201",id:"207"},208:{path:"/shixuns/:id/shixun_discuss",parentId:"201",id:"208"},209:{path:"/shixuns/:id/ranking_list",parentId:"201",id:"209"},210:{path:"/shixuns/:id/settings",parentId:"201",id:"210"},211:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"201",id:"211"},212:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"201",id:"212"},213:{path:"/shixuns/:id/repository/upload_file",parentId:"201",id:"213"},214:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"201",id:"214"},215:{path:"/shixuns/:id/repository/add_file",parentId:"201",id:"215"},216:{path:"/shixuns/:id/secret_repository/add_file",parentId:"201",id:"216"},217:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"217"},218:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"201",id:"218"},219:{path:"/shixuns/:id/audit_situation",parentId:"201",id:"219"},220:{path:"/shixuns/:id/fork_list",parentId:"201",id:"220"},221:{path:"/shixuns/:id/skill_tags",parentId:"201",id:"221"},222:{path:"/users",parentId:"1",id:"222"},223:{path:"/users/:username/videos/protocol",parentId:"222",id:"223"},224:{path:"/users/:username/videos/resourceProtocol",parentId:"222",id:"224"},225:{path:"/users/:username/videos/success",parentId:"222",id:"225"},226:{path:"/users/:username/topicbank/:topicstype",parentId:"222",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"222",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"222",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"222",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"222",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"222",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"222",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"222",id:"233"},234:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"222",id:"234"},235:{path:"/users/:username/experiment-img/add",parentId:"222",id:"235"},236:{path:"/users/:username",parentId:"222",id:"236"},237:{path:"/users/:username",parentId:"236",id:"237"},238:{path:"/users/:username/baseInfo/edit",parentId:"236",id:"238"},239:{path:"/users/:username/baseInfo",parentId:"236",id:"239"},240:{path:"/users/:username/realNameCertification",parentId:"236",id:"240"},241:{path:"/users/:username/careerCertification",parentId:"236",id:"241"},242:{path:"/users/:username/classrooms",parentId:"236",id:"242"},243:{path:"/users/:username/shixuns",parentId:"236",id:"243"},244:{path:"/users/:username/dataSet",parentId:"236",id:"244"},245:{path:"/users/:username/userPortrait",parentId:"236",id:"245"},246:{path:"/users/:username/learningPath",parentId:"236",id:"246"},247:{path:"/users/:username/teach-group",parentId:"236",id:"247"},248:{path:"/users/:username/competitions",parentId:"236",id:"248"},249:{path:"/users/:username/experiment-img",parentId:"236",id:"249"},250:{path:"/users/:username/experiment-img/:experid/detail",parentId:"236",id:"250"},251:{path:"/users/:username/certificate",parentId:"236",id:"251"},252:{path:"/users/:username/otherResources",parentId:"236",id:"252"},253:{path:"/users/:username/classmanagement",parentId:"236",id:"253"},254:{path:"/users/:username/classmanagement/:couserid",parentId:"236",id:"254"},255:{path:"/users/:username/paths",parentId:"236",id:"255"},256:{path:"/users/:username/projects",parentId:"236",id:"256"},257:{path:"/users/:username/videos",parentId:"236",id:"257"},258:{path:"/users/:username/videos/upload",parentId:"236",id:"258"},259:{path:"/users/:username/topics/:topicstype",parentId:"236",id:"259"},260:{path:"/users/:username/vspaces",parentId:"236",id:"260"},261:{path:"/users/:username/resourcesCenter",parentId:"236",id:"261"},262:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"236",id:"262"},263:{path:"/users/:username/resourceGuarantee",parentId:"236",id:"263"},264:{path:"/users/:username/resourceAllocation",parentId:"236",id:"264"},265:{parentId:"1",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems",parentId:"266",id:"267"},268:{path:"/problems/batchAdd",parentId:"266",id:"268"},269:{path:"/problems/newcreate",parentId:"265",id:"269"},270:{path:"/problems/newedit/:id",exact:!0,parentId:"265",id:"270"},271:{path:"/problems/:id/edit",exact:!0,parentId:"265",id:"271"},272:{path:"/problems/new",exact:!0,parentId:"265",id:"272"},273:{path:"/problems/:id/oj/:save_identifier",parentId:"265",id:"273"},274:{path:"/problems/:id/record-detail/:submitId",parentId:"265",id:"274"},275:{path:"/problems/add",parentId:"265",id:"275"},276:{path:"/problems/:id/ojedit",parentId:"265",id:"276"},277:{path:"/engineering",parentId:"1",id:"277"},278:{path:"/engineering",parentId:"277",id:"278"},279:{path:"/engineering/teacherList",parentId:"278",id:"279"},280:{path:"/engineering/studentList",parentId:"278",id:"280"},281:{path:"/engineering/training/program",parentId:"278",id:"281"},282:{path:"/engineering/training/program/add",parentId:"278",id:"282"},283:{path:"/engineering/training/program/edit",parentId:"278",id:"283"},284:{path:"/engineering/training/objectives",parentId:"278",id:"284"},285:{path:"/engineering/graduated/index",parentId:"278",id:"285"},286:{path:"/engineering/graduated/matrix",parentId:"278",id:"286"},287:{path:"/engineering/course/list",parentId:"278",id:"287"},288:{path:"/engineering/course/setting",parentId:"278",id:"288"},289:{path:"/engineering/course/matrix",parentId:"278",id:"289"},290:{path:"/engineering/navigation",parentId:"278",id:"290"},291:{path:"/engineering/evaluate/course",parentId:"278",id:"291"},292:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"278",id:"292"},293:{path:"/engineering/evaluate/norm",parentId:"278",id:"293"},294:{path:"/engineering/evaluate/document",parentId:"278",id:"294"},295:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"278",id:"295"},296:{path:"/engineering/*",redirect:"/404",parentId:"278",id:"296"},297:{path:"/innovation",parentId:"1",id:"297"},298:{path:"/innovation/tasks/:taskId",parentId:"297",id:"298"},299:{path:"/innovation",parentId:"297",id:"299"},300:{path:"/innovation/project",parentId:"299",id:"300"},301:{path:"/innovation/dataset",parentId:"299",id:"301"},302:{path:"/innovation/mirror",parentId:"299",id:"302"},303:{path:"/innovation/my-project",parentId:"299",id:"303"},304:{path:"/innovation/my-dataset",parentId:"299",id:"304"},305:{path:"/innovation/my-mirror",parentId:"299",id:"305"},306:{path:"/innovation/project/create",parentId:"299",id:"306"},307:{path:"/innovation/project/edit/:id",parentId:"299",id:"307"},308:{path:"/innovation/project/detail/:taskId",parentId:"299",id:"308"},309:{path:"/tasks",parentId:"1",id:"309"},310:{path:"/tasks/:taskId",exact:!0,parentId:"309",id:"310"},311:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"309",id:"311"},312:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"309",id:"312"},313:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"309",id:"313"},314:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"309",id:"314"},315:{path:"/myproblems",parentId:"1",id:"315"},316:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"315",id:"316"},317:{path:"/myproblems/:id",exact:!0,parentId:"315",id:"317"},318:{path:"/account",parentId:"1",id:"318"},319:{path:"/account",parentId:"318",id:"319"},320:{path:"/account/profile",parentId:"319",id:"320"},321:{path:"/account/profile/edit",parentId:"319",id:"321"},322:{path:"/account/certification",parentId:"319",id:"322"},323:{path:"/account/secure",parentId:"319",id:"323"},324:{path:"/account/binding",parentId:"319",id:"324"},325:{path:"/account/Results",parentId:"319",id:"325"},326:{path:"/ch",parentId:"1",id:"326"},327:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"326",id:"327"},328:{path:"/ch/rest/",exact:!0,parentId:"326",id:"328"},329:{path:"/ch/rest/:id",exact:!0,parentId:"326",id:"329"},330:{path:"/order",parentId:"1",id:"330"},331:{path:"/order",parentId:"330",id:"331"},332:{path:"/order/invoice",parentId:"330",id:"332"},333:{path:"/order/records",parentId:"330",id:"333"},334:{path:"/order/apply",parentId:"330",id:"334"},335:{path:"/order/view",parentId:"330",id:"335"},336:{path:"/order/:courseId/information",parentId:"330",id:"336"},337:{path:"/order/:courseId/pay",parentId:"330",id:"337"},338:{path:"/order/:orderNum/result",parentId:"330",id:"338"},339:{path:"/messages",parentId:"1",id:"339"},340:{path:"/messages/:userId/user_tidings",parentId:"339",id:"340"},341:{path:"/messages/:userId/private_messages",parentId:"339",id:"341"},342:{path:"/messages/:userId/message_detail",parentId:"339",id:"342"},343:{path:"/vtrs",parentId:"1",id:"343"},344:{path:"/vtrs/:virtual_spacesId",parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"344",id:"345"},346:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"344",id:"346"},347:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"344",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"344",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"344",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"344",id:"350"},351:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"344",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey",parentId:"344",id:"352"},353:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"344",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"344",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"344",id:"355"},356:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"344",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material",parentId:"344",id:"357"},358:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"344",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"344",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"344",id:"360"},361:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"344",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"344",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"344",id:"363"},364:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"344",id:"364"},365:{path:"/vtrs/:virtual_spacesId/settings",parentId:"344",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources",parentId:"344",id:"366"},367:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"344",id:"367"},368:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"344",id:"368"},369:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"344",id:"369"},370:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"344",id:"370"},371:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"344",id:"371"},372:{path:"/vtrs/:virtual_spacesId/*",parentId:"344",id:"372"},373:{path:"/101",parentId:"1",id:"373"},374:{path:"/101/:virtual_spacesId",parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId",exact:!0,parentId:"374",id:"375"},376:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"374",id:"376"},377:{path:"/101/:virtual_spacesId/experiment",parentId:"374",id:"377"},378:{path:"/101/:virtual_spacesId/announcement",parentId:"374",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/add",parentId:"374",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"374",id:"380"},381:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"374",id:"381"},382:{path:"/101/:virtual_spacesId/survey",parentId:"374",id:"382"},383:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"374",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge",parentId:"374",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"374",id:"385"},386:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"374",id:"386"},387:{path:"/101/:virtual_spacesId/material",parentId:"374",id:"387"},388:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"374",id:"388"},389:{path:"/101/:virtual_spacesId/lesson",parentId:"374",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"374",id:"390"},391:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"374",id:"391"},392:{path:"/101/:virtual_spacesId/discussion",parentId:"374",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"374",id:"393"},394:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"374",id:"394"},395:{path:"/101/:virtual_spacesId/settings",parentId:"374",id:"395"},396:{path:"/101/:virtual_spacesId/resources",parentId:"374",id:"396"},397:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"374",id:"397"},398:{path:"/101/:virtual_spacesId/Plan",parentId:"374",id:"398"},399:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"374",id:"399"},400:{path:"/101/:virtual_spacesId/digtal",parentId:"374",id:"400"},401:{path:"/101/:virtual_spacesId/homepage",parentId:"374",id:"401"},402:{path:"/101/:virtual_spacesId/*",parentId:"374",id:"402"},403:{path:"/administration",parentId:"1",id:"403"},404:{path:"/administration",parentId:"403",id:"404"},405:{path:"/administration/college",parentId:"404",id:"405"},406:{path:"/administration/student",parentId:"404",id:"406"},407:{path:"/administration/student/:studentId/edit",parentId:"404",id:"407"},408:{path:"/administration/profession",parentId:"404",id:"408"},409:{path:"/graduations",parentId:"1",id:"409"},410:{path:"/graduations",exact:!0,parentId:"409",id:"410"},411:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"409",id:"411"},412:{path:"/graduations/:id",parentId:"409",id:"412"},413:{path:"/graduations/:id/index",parentId:"412",id:"413"},414:{path:"/graduations/:id/topics",parentId:"412",id:"414"},415:{path:"/graduations/:id/student_selection",parentId:"412",id:"415"},416:{path:"/graduations/:id/tasks",parentId:"412",id:"416"},417:{path:"/graduations/:id/opening_report",parentId:"412",id:"417"},418:{path:"/graduations/:id/midterm_report",parentId:"412",id:"418"},419:{path:"/graduations/:id/thesis",parentId:"412",id:"419"},420:{path:"/graduations/:id/final_defense",parentId:"412",id:"420"},421:{path:"/graduations/:id/final_thesis",parentId:"412",id:"421"},422:{path:"/graduations/:id/settings",parentId:"412",id:"422"},423:{path:"/graduations/:id/teachers",parentId:"412",id:"423"},424:{path:"/graduations/:id/students",parentId:"412",id:"424"},425:{path:"/graduations/:id/archives",parentId:"412",id:"425"},426:{path:"/graduations/:id/grading_summary",parentId:"412",id:"426"},427:{path:"/dataset",parentId:"1",id:"427"},428:{path:"/dataset",exact:!0,parentId:"427",id:"428"},429:{path:"/dataset/:id/detail",exact:!0,parentId:"427",id:"429"},430:{path:"/knowledgegraph",parentId:"1",id:"430"},431:{path:"/knowledgegraph/:pathId",parentId:"430",id:"431"},432:{path:"/knowledgegraph/:pathId/statistics",parentId:"430",id:"432"},433:{path:"/newlogin",parentId:"1",id:"433"},434:{path:"/onlinenum",parentId:"1",id:"434"},435:{path:"/onlinenum",parentId:"434",id:"435"},436:{path:"/shixuncontext",parentId:"1",id:"436"},437:{path:"/shixuncontext",parentId:"436",id:"437"},438:{path:"/shixuncontext/:Id/detail",parentId:"436",id:"438"},439:{path:"/educoder-demo",exact:!0,parentId:"1",id:"439"},440:{path:"/training",parentId:"1",id:"440"},441:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"440",id:"441"},442:{path:"/largeScreen",exact:!0,parentId:"1",id:"442"},443:{path:"/quality",parentId:"1",id:"443"},444:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"443",id:"444"},445:{path:"/otherlogin",exact:!0,parentId:"1",id:"445"},446:{path:"/otherloginqq",exact:!0,parentId:"1",id:"446"},447:{path:"/otherloginstart",exact:!0,parentId:"1",id:"447"},448:{path:"/pathsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"449"},450:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"450"},451:{path:"/login",parentId:"1",id:"451"},452:{path:"/login",parentId:"451",id:"452"},453:{path:"/user",parentId:"1",id:"453"},454:{path:"/user/login",parentId:"453",id:"454"},455:{path:"/user/register",parentId:"453",id:"455"},456:{path:"/user/reset-password",parentId:"453",id:"456"},457:{path:"/colleges",parentId:"1",id:"457"},458:{path:"/colleges/:id/statistics",parentId:"457",id:"458"},459:{path:"/help",parentId:"1",id:"459"},460:{path:"/help/:id",parentId:"459",id:"460"},461:{path:"/video",parentId:"1",id:"461"},462:{path:"/video/:videoId",parentId:"461",id:"462"},463:{path:"/terminal",parentId:"1",id:"463"},464:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"464"},465:{path:"/statsDashboard",parentId:"1",id:"465"},466:{path:"/",parentId:"1",id:"466"},467:{path:"/",exact:!0,parentId:"466",id:"467"},468:{path:"/api/*",exact:!0,parentId:"466",id:"468"},469:{path:"/search",exact:!0,parentId:"466",id:"469"},470:{path:"/moop_cases",exact:!0,parentId:"466",id:"470"},471:{path:"/moop_cases/new",exact:!0,parentId:"466",id:"471"},472:{path:"/moop_cases/:caseId",exact:!0,parentId:"466",id:"472"},473:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"466",id:"473"},474:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"466",id:"474"},475:{path:"/randompaper",exact:!0,parentId:"466",id:"475"},476:{path:"/randompaper/edit/:id",exact:!0,parentId:"466",id:"476"},477:{path:"/randompaper/detail/:id",exact:!0,parentId:"466",id:"477"},478:{path:"/403",parentId:"466",id:"478"},479:{path:"/500",parentId:"466",id:"479"},480:{path:"/404",parentId:"466",id:"480"},481:{path:"/download",parentId:"466",id:"481"},482:{path:"/iwce",parentId:"466",id:"482"},483:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"466",id:"483"},484:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"466",id:"484"},485:{path:"/Activities",parentId:"466",id:"485"},486:{path:"/iwce/:itemname",parentId:"466",id:"486"},487:{path:"/hpc-course",parentId:"466",id:"487"},488:{path:"/user_agents",parentId:"466",id:"488"},489:{path:"/three",parentId:"466",id:"489"},490:{path:"/introduction",parentId:"466",id:"490"},491:{path:"/chatgpt",parentId:"466",id:"491"},492:{path:"/*",parentId:"466",id:"492"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:He.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),2:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),3:He.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(2099)]).then(__webpack_require__.bind(__webpack_require__,68807))),4:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),5:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,41332))),6:He.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,79778))),7:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),8:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,34115))),9:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),10:He.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,87434))),11:He.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,92873))),12:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,43809))),13:He.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,44959))),14:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,69154))),15:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1651)]).then(__webpack_require__.bind(__webpack_require__,7721))),16:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6080)]).then(__webpack_require__.bind(__webpack_require__,43809))),17:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),18:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),19:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),20:He.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,28916))),21:He.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,29251))),22:He.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,77287))),23:He.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,41216))),24:He.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,9140))),25:He.lazy(()=>__webpack_require__.e(7323).then(__webpack_require__.bind(__webpack_require__,9140))),26:He.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),27:He.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,85668))),28:He.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,10660))),29:He.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,54193))),30:He.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,99590))),31:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,12868))),32:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,19990))),33:He.lazy(()=>Promise.all([__webpack_require__.e(2763),__webpack_require__.e(2303)]).then(__webpack_require__.bind(__webpack_require__,26733))),34:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,57993))),35:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,75126))),36:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,34246))),37:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,27880))),38:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,65852))),39:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68466))),40:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,66835))),41:He.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,97835))),42:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,74782))),43:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),44:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8807),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,1810))),45:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8807),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,99573))),46:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7883)]).then(__webpack_require__.bind(__webpack_require__,38072))),47:He.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,12258))),48:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),49:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,74768))),50:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,16439))),51:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,16439))),52:He.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,31333))),53:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,91813))),54:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,91813))),55:He.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,82643))),56:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,59372))),57:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31618))),58:He.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),59:He.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,63084))),60:He.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),61:He.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,4573))),62:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,35507))),63:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,43867))),64:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,8180))),65:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,82999))),66:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,18379))),67:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,69911))),68:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,9324))),69:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,80800))),70:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,66206))),71:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,4793))),72:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,98519))),73:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,70970))),74:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,91235))),75:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,88244))),76:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,1952))),77:He.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,12116))),78:He.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,48862))),79:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,6047))),80:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,61571))),81:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,12899))),82:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,31191))),83:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,31698))),84:He.lazy(()=>__webpack_require__.e(7901).then(__webpack_require__.bind(__webpack_require__,44959))),85:He.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,52783))),86:He.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,50826))),87:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,94322))),88:He.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,9684))),89:He.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,34158))),90:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),91:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,64023))),92:He.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,13178))),93:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,90907))),94:He.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,69735))),95:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,90880))),96:He.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,15454))),97:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,622))),98:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,23891))),99:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,20149))),100:He.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,36858))),101:He.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,34558))),102:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,89869))),103:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,89869))),104:He.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,71903))),105:He.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),106:He.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,30383))),107:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,93711))),108:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,93711))),109:He.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,41066))),110:He.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,41066))),111:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,94280))),112:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,94280))),113:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,77684))),114:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,77684))),115:He.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,49906))),116:He.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,75789))),117:He.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,58514))),118:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,5727))),119:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(910),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,5727))),120:He.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,81914))),121:He.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,47318))),122:He.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,42786))),123:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6393),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,14939))),124:He.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,59364))),125:He.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,68502))),126:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,61805))),127:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,61805))),128:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),129:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,97630))),130:He.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,8772))),131:He.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,8772))),132:He.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,92261))),133:He.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,92261))),134:He.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,49271))),135:He.lazy(()=>__webpack_require__.e(6205).then(__webpack_require__.bind(__webpack_require__,89191))),136:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,26658))),137:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,82042))),138:He.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,96557))),139:He.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,96557))),140:He.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,84943))),141:He.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,77638))),142:He.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,77638))),143:He.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,10672))),144:He.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,10672))),145:He.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,74735))),146:He.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),147:He.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,75949))),148:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),149:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,62783))),150:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,88860))),151:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,96640))),152:He.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,44475))),153:He.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,38753))),154:He.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,48907))),155:He.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,38159))),156:He.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,81844))),157:He.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,49499))),158:He.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,52576))),159:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),160:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8229),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),161:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8229),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),162:He.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,25969))),163:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8229),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,47058))),164:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),165:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,68661))),166:He.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,87019))),167:He.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,80070))),168:He.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,57754))),169:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6840),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,18064))),170:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),171:He.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,6880))),172:He.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,46713))),173:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),174:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,75034))),175:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,7018))),176:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),177:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,37892))),178:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),179:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,41891))),180:He.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,9488))),181:He.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,68724))),182:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(9219),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,30592))),183:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),184:He.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,84868))),185:He.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,92439))),186:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5307)]).then(__webpack_require__.bind(__webpack_require__,66325))),187:He.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,90232))),188:He.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,96345))),189:He.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,62538))),190:He.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,88252))),191:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(6442),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,19375))),192:He.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,19243))),193:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,4415))),194:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),195:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,73443))),196:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),197:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2763),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,27798))),198:He.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,17509))),199:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,39995))),200:He.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,56869))),201:He.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,88480))),202:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,58257))),203:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,94242))),204:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,94242))),205:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,69032))),206:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,57703))),207:He.lazy(()=>Promise.all([__webpack_require__.e(6442),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,41666))),208:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,24405))),209:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6451)]).then(__webpack_require__.bind(__webpack_require__,75829))),210:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,39723))),211:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,24718))),212:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,24718))),213:He.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,45641))),214:He.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,45641))),215:He.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,90587))),216:He.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,90587))),217:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),218:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,12460))),219:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,98613))),220:He.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,84379))),221:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,35486))),222:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),223:He.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,11448))),224:He.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,14055))),225:He.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,57229))),226:He.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,87828))),227:He.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),228:He.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,74985))),229:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,15925))),230:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,4160))),231:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,35924))),232:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,33842))),233:He.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,34440))),234:He.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,35305))),235:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,1654))),236:He.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,71059))),237:He.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26030))),238:He.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,57730))),239:He.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,26211))),240:He.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,89983))),241:He.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,43311))),242:He.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,39633))),243:He.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,84339))),244:He.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,28893))),245:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,24764))),246:He.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,15467))),247:He.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,88739))),248:He.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,49227))),249:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,9407))),250:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,39069))),251:He.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,80105))),252:He.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,67433))),253:He.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,82034))),254:He.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,36922))),255:He.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,83743))),256:He.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,79261))),257:He.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,51405))),258:He.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,66229))),259:He.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,77830))),260:He.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,2494))),261:He.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,29449))),262:He.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,49123))),263:He.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,21605))),264:He.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,22922))),265:He.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),266:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),267:He.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,80613))),268:He.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,3733))),269:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),270:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,69427))),271:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),272:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,84805))),273:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,20620))),274:He.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,16764))),275:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),276:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,16040))),277:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),278:He.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,20444))),279:He.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,78505))),280:He.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,96176))),281:He.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,12810))),282:He.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,32034))),283:He.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,87578))),284:He.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,92012))),285:He.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,2661))),286:He.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,2905))),287:He.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,38392))),288:He.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,3233))),289:He.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,14172))),290:He.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,39352))),291:He.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,855))),292:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,21263))),293:He.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,63357))),294:He.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,38164))),295:He.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,22388))),296:He.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),297:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),298:He.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,47028))),299:He.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,94570))),300:He.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,15421))),301:He.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,7432))),302:He.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,39788))),303:He.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,53392))),304:He.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,42555))),305:He.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,6170))),306:He.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),307:He.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,55263))),308:He.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,49423))),309:He.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),310:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),311:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),312:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),313:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40605))),314:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(2763),__webpack_require__.e(7289)]).then(__webpack_require__.bind(__webpack_require__,72426))),315:He.lazy(()=>__webpack_require__.e(6985).then(__webpack_require__.bind(__webpack_require__,26985))),316:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,28475))),317:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,56918))),318:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),319:He.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,60862))),320:He.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,45356))),321:He.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,76202))),322:He.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,22473))),323:He.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,74058))),324:He.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,53575))),325:He.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,3668))),326:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),327:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,23144))),328:He.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),329:He.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,49366))),330:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),331:He.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,99048))),332:He.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,328))),333:He.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,88025))),334:He.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,50722))),335:He.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,27460))),336:He.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,81582))),337:He.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,2431))),338:He.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,72918))),339:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),340:He.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,34154))),341:He.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,85551))),342:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,24411))),343:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),344:He.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),345:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),346:He.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,99182))),347:He.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,91162))),348:He.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),349:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),350:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),351:He.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),352:He.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),353:He.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),354:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,12721))),355:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),356:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),357:He.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),358:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),359:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),360:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),361:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),362:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),363:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),364:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),365:He.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,18784))),366:He.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,24661))),367:He.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),368:He.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,38492))),369:He.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),370:He.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,70853))),371:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),372:He.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),373:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),374:He.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,82603))),375:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),376:He.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,99182))),377:He.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,91162))),378:He.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,72452))),379:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),380:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,78572))),381:He.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,93726))),382:He.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,4234))),383:He.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,96652))),384:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,12721))),385:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),386:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,18457))),387:He.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,32833))),388:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,28092))),389:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,51829))),390:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),391:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,90337))),392:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,5135))),393:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),394:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,63506))),395:He.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,18784))),396:He.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,24661))),397:He.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,95111))),398:He.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,38492))),399:He.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,97154))),400:He.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,70853))),401:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,58868))),402:He.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,81183))),403:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),404:He.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,47317))),405:He.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,21484))),406:He.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,86315))),407:He.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,35153))),408:He.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,97137))),409:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),410:He.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,5202))),411:He.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,2016))),412:He.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,8306))),413:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,52889))),414:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,85434))),415:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,57858))),416:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,65334))),417:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),418:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),419:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),420:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),421:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,59035))),422:He.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,31765))),423:He.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),424:He.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,80415))),425:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,4282))),426:He.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,81285))),427:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),428:He.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,94163))),429:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,17734))),430:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),431:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,61559))),432:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,32624))),433:He.lazy(()=>__webpack_require__.e(1077).then(__webpack_require__.bind(__webpack_require__,53044))),434:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),435:He.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,89288))),436:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),437:He.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,91185))),438:He.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,39066))),439:He.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,4255))),440:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),441:He.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,20807))),442:He.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,24693))),443:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),444:He.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,20146))),445:He.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,95513))),446:He.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,62465))),447:He.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,54895))),448:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,27307))),449:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,14781))),450:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,63601))),451:He.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,32040))),452:He.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),453:He.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,85978))),454:He.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,11881))),455:He.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,81221))),456:He.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,75827))),457:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),458:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,7868))),459:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),460:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,28432))),461:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),462:He.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,90131))),463:He.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,75499))),464:He.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,53198))),465:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,98787))),466:He.lazy(()=>__webpack_require__.e(7062).then(__webpack_require__.bind(__webpack_require__,4336))),467:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8229),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,77251))),468:He.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,89609))),469:He.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,74897))),470:He.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,55700))),471:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),472:He.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,75243))),473:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,99198))),474:He.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,3766))),475:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),476:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,87261))),477:He.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,49026))),478:He.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,40085))),479:He.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,58234))),480:He.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),481:He.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,65077))),482:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),483:He.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,73980))),484:He.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6393),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,57984))),485:He.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,83741))),486:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),487:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,19730))),488:He.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,75413))),489:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,4147))),490:He.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,28637))),491:He.lazy(()=>Promise.all([__webpack_require__.e(9724),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,10998))),492:He.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,64770))),"@@/global-layout":He.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,73258)))}}})}var F=__webpack_require__(7240),T=__webpack_require__(26243),k=__webpack_require__(71418),ge=__webpack_require__(41977),Pe=()=>He.createElement(k.Z,{size:"middle",className:ge.Z.loading}),ur=__webpack_require__(65582),Sr=__webpack_require__(66649),ar=__webpack_require__.n(Sr),Zn=__webpack_require__(91392),mi=__webpack_require__.n(Zn),X0=__webpack_require__(73100),z4=__webpack_require__.n(X0),si=__webpack_require__(14805),B4=__webpack_require__.n(si),zi=__webpack_require__(13477),tl=__webpack_require__.n(zi),qs=__webpack_require__(64796),Mo=__webpack_require__.n(qs),ul=__webpack_require__(9007),Va=__webpack_require__.n(ul),kn=__webpack_require__(58626),xs=__webpack_require__.n(kn),No=__webpack_require__(9084),J4=__webpack_require__.n(No),o4=__webpack_require__(5116),yi=__webpack_require__.n(o4),_s=__webpack_require__(50991),Js=__webpack_require__.n(_s),ys=__webpack_require__(39050),ks=__webpack_require__.n(ys),Ds=__webpack_require__(1554),Bl=__webpack_require__.n(Ds),Oa=__webpack_require__(59697),Rs=__webpack_require__.n(Oa);ar().extend(z4()),ar().extend(B4()),ar().extend(tl()),ar().extend(Mo()),ar().extend(Va()),ar().extend(xs()),ar().extend(J4()),ar().extend(yi()),ar().extend(Js()),ar().extend(ks()),ar().extend(Bl()),ar().extend(Rs()),ar().extend(mi());var rl=Object.defineProperty,Ls=Object.getOwnPropertySymbols,bl=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,Cs=(Rr,un,t0)=>un in Rr?rl(Rr,un,{enumerable:!0,configurable:!0,writable:!0,value:t0}):Rr[un]=t0,eo=(Rr,un)=>{for(var t0 in un||(un={}))bl.call(un,t0)&&Cs(Rr,t0,un[t0]);if(Ls)for(var t0 of Ls(un))ka.call(un,t0)&&Cs(Rr,t0,un[t0]);return Rr},jo=(Rr,un,t0)=>new Promise((W0,f0)=>{var w0=h0=>{try{Oi(t0.next(h0))}catch(Li){f0(Li)}},D0=h0=>{try{Oi(t0.throw(h0))}catch(Li){f0(Li)}},Oi=h0=>h0.done?W0(h0.value):Promise.resolve(h0.value).then(w0,D0);Oi((t0=t0.apply(Rr,un)).next())});const ja="/react/build/",Aa=!1;function xa(){return jo(this,null,function*(){const Rr=(0,F.gD)(),{routes:un,routeComponents:t0}=yield El(Rr);yield Rr.applyPlugins({key:"patchRoutes",type:ur.ApplyPluginsType.event,args:{routes:un,routeComponents:t0}});const W0=Rr.applyPlugins({key:"modifyContextOpts",type:ur.ApplyPluginsType.modify,initialValue:{}}),f0=W0.basename||"/",w0=W0.historyType||"browser",D0=(0,T.fi)(eo({type:w0,basename:f0},W0.historyOpts));return Rr.applyPlugins({key:"render",type:ur.ApplyPluginsType.compose,initialValue(){const Oi={useStream:!0,routes:un,routeComponents:t0,pluginManager:Rr,mountElementId:"root",rootElement:W0.rootElement||document.getElementById("root"),loadingComponent:Pe,publicPath:ja,runtimePublicPath:Aa,history:D0,historyType:w0,basename:f0,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:W0.callback},h0=Rr.applyPlugins({key:"modifyClientRenderOpts",type:ur.ApplyPluginsType.modify,initialValue:Oi});return Ro(h0)}})()})}xa(),typeof window!="undefined"&&(window.g_umi={version:"4.5.3"})})()})();